Package all of Xorg/X11/XCB (#1740)

* Updates to Mesa and other Xorg packages

* Add packages for all Xorg Protocol extensions

* Add packages for first half of Xorg libraries

* Add packages for remaining Xorg libraries

* Add packages for all Xorg utilities

* Add packages for Xorg documentation tools

* Add build deps to Xorg protocol headers

* Add packages for XCB

* Add build deps to Xorg libraries

* Add build deps to Xorg utilities

* Add packages for Xorg fonts and font-related utilities

* Change font deptype from build to default

I wasn't sure which deptype was appropriate at first since none of
the packages are actually linked together. I initially chose the
build deptype for this reason. However, the font packages don't
install into their own prefix. They install into font-config. If
font-config is a build dependency, that means you can uninstall it
without uninstalling the font packages, which wouldn't make sense
since they install into font-config. So I switched them back to
the default deptype.

* Minor formatting changes to ncview

* Add half-way done xorg-server package

* Add packages for Xorg test suites, not yet tested!

* Add packages for Xorg data

* Add first quarter of Xorg apps

* Add more packages for Xorg apps

* Add dependencies to mesa

* Remove comments from mesa package

* Flake8

* Add more packages for Xorg apps

* Add more packages for Xorg apps

* Add more packages for Xorg apps

* Add more packages for Xorg apps

* Add more packages for Xorg apps

* Add package for Sublime Text

* Add packages for remaining Xorg apps

* Revisit testing packages, add missing dependencies

* Add dependencies, clean up FIXMEs
This commit is contained in:
Adam J. Stewart
2016-10-11 11:42:20 -05:00
committed by Todd Gamblin
parent b42dbc01fe
commit 6dc8bbcb3a
263 changed files with 12272 additions and 110 deletions

View File

@@ -31,17 +31,21 @@ class Libxcb(Package):
access to the protocol, improved threading support, and
extensibility."""
homepage = "http://xcb.freedesktop.org/"
url = "http://xcb.freedesktop.org/dist/libxcb-1.11.tar.gz"
homepage = "https://xcb.freedesktop.org/"
url = "https://xcb.freedesktop.org/dist/libxcb-1.11.tar.gz"
version('1.12', '95eee7c28798e16ba5443f188b27a476')
version('1.11', '1698dd837d7e6e94d029dbe8b3a82deb')
version('1.11.1', '118623c15a96b08622603a71d8789bf3')
depends_on("python", type='build')
depends_on("xcb-proto")
depends_on("pkg-config", type='build')
depends_on("libpthread-stubs")
depends_on('libxau')
depends_on('libpthread-stubs')
depends_on('libxau@0.99.2:')
depends_on('libxdmcp')
depends_on('xcb-proto', type='build')
depends_on('python@2:2.8', type='build')
depends_on('pkg-config@0.9.0:', type='build')
depends_on('util-macros', type='build')
def patch(self):
filter_file(
@@ -50,9 +54,8 @@ def patch(self):
'src/xcb.h')
def install(self, spec, prefix):
env['PKG_CONFIG_PATH'] = env[
'PKG_CONFIG_PATH'] + ':/usr/lib64/pkgconfig'
configure("--prefix=%s" % prefix)
configure('--prefix={0}'.format(prefix))
make()
make("install")
make('check')
make('install')