Commits

Stan Seibert committed 8913d11

Remove X11 dependencies from ROOT. (I may regret this later.)

  • Participants
  • Parent commits a28e3d5

Comments (0)

Files changed (7)

     author='Stan Seibert',
     author_email='stan@mtrr.org',
     shrinkwrap_installer=installer,
-    shrinkwrap_requires=['fftw','x11','xext','xft','xpm'],
+    shrinkwrap_requires=['fftw'],
     cmdclass={'install': ShrinkwrapInstall},
 )

x11.py

-try:
-    from shrinkwrap.install import ShrinkwrapInstall
-except ImportError:
-    import subprocess; subprocess.check_call('pip install -b $VIRTUAL_ENV/build/build-shrinkwrap shrinkwrap', shell=True)
-    from shrinkwrap.install import ShrinkwrapInstall
-import os
-from setuptools import setup
-
-
-version = '1.5.0'
-source_url = 'http://xorg.freedesktop.org/releases/individual/lib/libX11-%s.tar.gz' % version
-
-
-def installer(inst):
-    inst.download_and_unpack_tarball(source_url)
-
-    x11_dir = 'libX11-' + version
-    os.chdir(x11_dir)
-    inst.shell('PKG_CONFIG_PATH=%s ./configure --prefix=%s ' % (os.path.join(inst.virtualenv,'lib','pkgconfig'), inst.virtualenv))
-    inst.make(extra_opts=['install'])
-
-
-setup(
-    name='x11',
-    version=version,
-    author='Andy Mastbaum',
-    author_email='mastbaum@hep.upenn.edu',
-    shrinkwrap_installer=installer,
-    shrinkwrap_requires=['xproto'],
-    cmdclass={'install': ShrinkwrapInstall},
-)

xext.py

-try:
-    from shrinkwrap.install import ShrinkwrapInstall
-except ImportError:
-    import subprocess; subprocess.check_call('pip install -b $VIRTUAL_ENV/build/build-shrinkwrap shrinkwrap', shell=True)
-    from shrinkwrap.install import ShrinkwrapInstall
-import os
-from setuptools import setup
-
-
-version = '1.3.1'
-source_url = 'http://xorg.freedesktop.org/releases/individual/lib/libXext-%s.tar.gz' % version
-
-
-def installer(inst):
-    inst.download_and_unpack_tarball(source_url)
-
-    xext_dir = 'libXext-' + version
-    os.chdir(xext_dir)
-    inst.shell('PKG_CONFIG_PATH=%s ./configure --prefix=%s ' % (os.path.join(inst.virtualenv,'lib','pkgconfig'), inst.virtualenv))
-    inst.make(extra_opts=['install'])
-
-
-setup(
-    name='xext',
-    version=version,
-    author='Andy Mastbaum',
-    author_email='mastbaum@hep.upenn.edu',
-    shrinkwrap_installer=installer,
-    shrinkwrap_requires=['xextproto'],
-    cmdclass={'install': ShrinkwrapInstall},
-)

xextproto.py

-try:
-    from shrinkwrap.install import ShrinkwrapInstall
-except ImportError:
-    import subprocess; subprocess.check_call('pip install -b $VIRTUAL_ENV/build/build-shrinkwrap shrinkwrap', shell=True)
-    from shrinkwrap.install import ShrinkwrapInstall
-from setuptools import setup
-
-
-version = '7.2.1'
-
-setup(
-    name='xextproto',
-    version=version,
-    author='Andy Mastbaum',
-    author_email='mastbaum@hep.upenn.edu',
-    shrinkwrap_installer='autoconf',
-    shrinkwrap_source_url='http://xorg.freedesktop.org/releases/individual/proto/xextproto-%s.tar.gz' % version,
-    cmdclass={'install': ShrinkwrapInstall},
-)

xft.py

-try:
-    from shrinkwrap.install import ShrinkwrapInstall
-except ImportError:
-    import subprocess; subprocess.check_call('pip install -b $VIRTUAL_ENV/build/build-shrinkwrap shrinkwrap', shell=True)
-    from shrinkwrap.install import ShrinkwrapInstall
-from setuptools import setup
-
-
-version = '2.3.1'
-
-setup(
-    name='xft',
-    version=version,
-    author='Andy Mastbaum',
-    author_email='mastbaum@hep.upenn.edu',
-    shrinkwrap_installer='autoconf',
-    shrinkwrap_source_url='http://xorg.freedesktop.org/archive/individual/lib/libXft-%s.tar.gz' % version,
-    cmdclass={'install': ShrinkwrapInstall},
-)

xpm.py

-try:
-    from shrinkwrap.install import ShrinkwrapInstall
-except ImportError:
-    import subprocess; subprocess.check_call('pip install -b $VIRTUAL_ENV/build/build-shrinkwrap shrinkwrap', shell=True)
-    from shrinkwrap.install import ShrinkwrapInstall
-from setuptools import setup
-
-
-version = '3.5.10'
-
-setup(
-    name='xpm',
-    version=version,
-    author='Andy Mastbaum',
-    author_email='mastbaum@hep.upenn.edu',
-    shrinkwrap_installer='autoconf',
-    shrinkwrap_source_url='http://xorg.freedesktop.org/archive/individual/lib/libXpm-%s.tar.gz' % version,
-    shrinkwrap_requires=['gettext'],
-    cmdclass={'install': ShrinkwrapInstall},
-)

xproto.py

-try:
-    from shrinkwrap.install import ShrinkwrapInstall
-except ImportError:
-    import subprocess; subprocess.check_call('pip install -b $VIRTUAL_ENV/build/build-shrinkwrap shrinkwrap', shell=True)
-    from shrinkwrap.install import ShrinkwrapInstall
-from setuptools import setup
-
-
-version = '7.0.23'
-
-setup(
-    name='xproto',
-    version=version,
-    author='Andy Mastbaum',
-    author_email='mastbaum@hep.upenn.edu',
-    shrinkwrap_installer='autoconf',
-    shrinkwrap_source_url='http://xorg.freedesktop.org/releases/individual/proto/xproto-%s.tar.gz' % version,
-    cmdclass={'install': ShrinkwrapInstall},
-)