summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-04-30 17:06:00 +0200
committerLudovic Courtès <ludo@gnu.org>2013-04-30 17:06:00 +0200
commit0734a9a8131525d6da2e7bf802402dc0350eda98 (patch)
treef43bef210f6513b12c14ee9494bb47e4f80e99d0
parente0fbbc889d724678e9e310432ad3a3fb8345cf9a (diff)
parent01155b1808b17f0a4f54388261ab0c6f5fee2f1b (diff)
Merge branch 'core-updates'
-rw-r--r--Makefile.am10
-rw-r--r--doc/guix.texi22
-rw-r--r--gnu/packages/autotools.scm4
-rw-r--r--gnu/packages/avahi.scm14
-rw-r--r--gnu/packages/base.scm96
-rw-r--r--gnu/packages/bootstrap.scm11
-rw-r--r--gnu/packages/cross-base.scm244
-rw-r--r--gnu/packages/curl.scm13
-rw-r--r--gnu/packages/dwm.scm86
-rw-r--r--gnu/packages/emacs.scm36
-rw-r--r--gnu/packages/fontutils.scm14
-rw-r--r--gnu/packages/gawk.scm6
-rw-r--r--gnu/packages/gcc.scm40
-rw-r--r--gnu/packages/ghostscript.scm42
-rw-r--r--gnu/packages/glib.scm56
-rw-r--r--gnu/packages/guile.scm23
-rw-r--r--gnu/packages/lesstif.scm50
-rw-r--r--gnu/packages/linux.scm25
-rw-r--r--gnu/packages/make-bootstrap.scm5
-rw-r--r--gnu/packages/multiprecision.scm15
-rw-r--r--gnu/packages/openldap.scm16
-rw-r--r--gnu/packages/patches/gcc-cross-environment-variables.patch24
-rw-r--r--gnu/packages/patches/python-fix-dbm.patch20
-rw-r--r--gnu/packages/patches/xpdf-constchar.patch15
-rw-r--r--gnu/packages/pdf.scm70
-rw-r--r--gnu/packages/perl.scm3
-rw-r--r--gnu/packages/pkg-config.scm5
-rw-r--r--gnu/packages/python.scm4
-rw-r--r--gnu/packages/ratpoison.scm71
-rw-r--r--gnu/packages/texlive.scm4
-rw-r--r--gnu/packages/wget.scm7
-rw-r--r--gnu/packages/xml.scm31
-rw-r--r--gnu/packages/xorg.scm4869
-rw-r--r--guix/build-system/cmake.scm6
-rw-r--r--guix/build-system/gnu.scm45
-rw-r--r--guix/build-system/perl.scm8
-rw-r--r--guix/build-system/trivial.scm6
-rw-r--r--guix/build/gnu-build-system.scm44
-rw-r--r--guix/build/perl-build-system.scm4
-rw-r--r--guix/build/utils.scm143
-rw-r--r--guix/download.scm3
-rw-r--r--guix/packages.scm49
-rw-r--r--guix/scripts/package.scm66
-rw-r--r--guix/utils.scm28
-rw-r--r--tests/builders.scm15
-rw-r--r--tests/guix-package.sh8
-rw-r--r--tests/packages.scm36
-rw-r--r--tests/utils.scm10
48 files changed, 6153 insertions, 269 deletions
diff --git a/Makefile.am b/Makefile.am
index 7a1cae6a8ce..43f8c3fb823 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -81,10 +81,12 @@ MODULES = \
81 gnu/packages/compression.scm \ 81 gnu/packages/compression.scm \
82 gnu/packages/cpio.scm \ 82 gnu/packages/cpio.scm \
83 gnu/packages/cppi.scm \ 83 gnu/packages/cppi.scm \
84 gnu/packages/cross-base.scm \
84 gnu/packages/curl.scm \ 85 gnu/packages/curl.scm \
85 gnu/packages/cyrus-sasl.scm \ 86 gnu/packages/cyrus-sasl.scm \
86 gnu/packages/dejagnu.scm \ 87 gnu/packages/dejagnu.scm \
87 gnu/packages/ddrescue.scm \ 88 gnu/packages/ddrescue.scm \
89 gnu/packages/dwm.scm \
88 gnu/packages/ed.scm \ 90 gnu/packages/ed.scm \
89 gnu/packages/emacs.scm \ 91 gnu/packages/emacs.scm \
90 gnu/packages/fdisk.scm \ 92 gnu/packages/fdisk.scm \
@@ -114,6 +116,7 @@ MODULES = \
114 gnu/packages/irssi.scm \ 116 gnu/packages/irssi.scm \
115 gnu/packages/ld-wrapper.scm \ 117 gnu/packages/ld-wrapper.scm \
116 gnu/packages/less.scm \ 118 gnu/packages/less.scm \
119 gnu/packages/lesstif.scm \
117 gnu/packages/libapr.scm \ 120 gnu/packages/libapr.scm \
118 gnu/packages/libdaemon.scm \ 121 gnu/packages/libdaemon.scm \
119 gnu/packages/libevent.scm \ 122 gnu/packages/libevent.scm \
@@ -158,6 +161,7 @@ MODULES = \
158 gnu/packages/pth.scm \ 161 gnu/packages/pth.scm \
159 gnu/packages/python.scm \ 162 gnu/packages/python.scm \
160 gnu/packages/qemu.scm \ 163 gnu/packages/qemu.scm \
164 gnu/packages/ratpoison.scm \
161 gnu/packages/readline.scm \ 165 gnu/packages/readline.scm \
162 gnu/packages/recutils.scm \ 166 gnu/packages/recutils.scm \
163 gnu/packages/rsync.scm \ 167 gnu/packages/rsync.scm \
@@ -184,6 +188,7 @@ MODULES = \
184 gnu/packages/wget.scm \ 188 gnu/packages/wget.scm \
185 gnu/packages/which.scm \ 189 gnu/packages/which.scm \
186 gnu/packages/xml.scm \ 190 gnu/packages/xml.scm \
191 gnu/packages/xorg.scm \
187 gnu/packages/zile.scm \ 192 gnu/packages/zile.scm \
188 gnu/packages/zip.scm \ 193 gnu/packages/zip.scm \
189 gnu/system/vm.scm 194 gnu/system/vm.scm
@@ -209,6 +214,7 @@ dist_patch_DATA = \
209 gnu/packages/patches/flac-fix-memcmp-not-declared.patch \ 214 gnu/packages/patches/flac-fix-memcmp-not-declared.patch \
210 gnu/packages/patches/flex-bison-tests.patch \ 215 gnu/packages/patches/flex-bison-tests.patch \
211 gnu/packages/patches/gawk-shell.patch \ 216 gnu/packages/patches/gawk-shell.patch \
217 gnu/packages/patches/gcc-cross-environment-variables.patch \
212 gnu/packages/patches/gettext-gets-undeclared.patch \ 218 gnu/packages/patches/gettext-gets-undeclared.patch \
213 gnu/packages/patches/glib-tests-desktop.patch \ 219 gnu/packages/patches/glib-tests-desktop.patch \
214 gnu/packages/patches/glib-tests-homedir.patch \ 220 gnu/packages/patches/glib-tests-homedir.patch \
@@ -233,6 +239,7 @@ dist_patch_DATA = \
233 gnu/packages/patches/make-impure-dirs.patch \ 239 gnu/packages/patches/make-impure-dirs.patch \
234 gnu/packages/patches/mcron-install.patch \ 240 gnu/packages/patches/mcron-install.patch \
235 gnu/packages/patches/perl-no-sys-dirs.patch \ 241 gnu/packages/patches/perl-no-sys-dirs.patch \
242 gnu/packages/patches/python-fix-dbm.patch \
236 gnu/packages/patches/procps-make-3.82.patch \ 243 gnu/packages/patches/procps-make-3.82.patch \
237 gnu/packages/patches/qemu-multiple-smb-shares.patch \ 244 gnu/packages/patches/qemu-multiple-smb-shares.patch \
238 gnu/packages/patches/readline-link-ncurses.patch \ 245 gnu/packages/patches/readline-link-ncurses.patch \
@@ -240,7 +247,8 @@ dist_patch_DATA = \
240 gnu/packages/patches/tcsh-fix-autotest.patch \ 247 gnu/packages/patches/tcsh-fix-autotest.patch \
241 gnu/packages/patches/teckit-cstdio.patch \ 248 gnu/packages/patches/teckit-cstdio.patch \
242 gnu/packages/patches/vpnc-script.patch \ 249 gnu/packages/patches/vpnc-script.patch \
243 gnu/packages/patches/w3m-fix-compile.patch 250 gnu/packages/patches/w3m-fix-compile.patch \
251 gnu/packages/patches/xpdf-constchar.patch
244 252
245bootstrapdir = $(guilemoduledir)/gnu/packages/bootstrap 253bootstrapdir = $(guilemoduledir)/gnu/packages/bootstrap
246bootstrap_x86_64_linuxdir = $(bootstrapdir)/x86_64-linux 254bootstrap_x86_64_linuxdir = $(bootstrapdir)/x86_64-linux
diff --git a/doc/guix.texi b/doc/guix.texi
index e23eab0f81e..d571de95a0e 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -517,8 +517,13 @@ Thus, when installing MPC, the MPFR and GMP libraries also get installed
517in the profile; removing MPC also removes MPFR and GMP---unless they had 517in the profile; removing MPC also removes MPFR and GMP---unless they had
518also been explicitly installed independently. 518also been explicitly installed independently.
519 519
520Besides, packages sometime rely on the definition of environment
521variables for their search paths (see explanation of
522@code{--search-paths} below.) Any missing or possibly incorrect
523environment variable definitions are reported here.
524
520@c XXX: keep me up-to-date 525@c XXX: keep me up-to-date
521Besides, when installing a GNU package, the tool reports the 526Finally, when installing a GNU package, the tool reports the
522availability of a newer upstream version. In the future, it may provide 527availability of a newer upstream version. In the future, it may provide
523the option of installing directly from the upstream version, even if 528the option of installing directly from the upstream version, even if
524that version is not yet in the distribution. 529that version is not yet in the distribution.
@@ -566,6 +571,21 @@ Installing, removing, or upgrading packages from a generation that has
566been rolled back to overwrites previous future generations. Thus, the 571been rolled back to overwrites previous future generations. Thus, the
567history of a profile's generations is always linear. 572history of a profile's generations is always linear.
568 573
574@item --search-paths
575@cindex search paths
576Report environment variable definitions, in Bash syntax, that may be
577needed in order to use the set of installed packages. These environment
578variables are used to specify @dfn{search paths} for files used by some
579of the installed packages.
580
581For example, GCC needs the @code{CPATH} and @code{LIBRARY_PATH}
582environment variables to be defined so it can look for headers and
583libraries in the user's profile (@pxref{Environment Variables,,, gcc,
584Using the GNU Compiler Collection (GCC)}). If GCC and, say, the C
585library are installed in the profile, then @code{--search-paths} will
586suggest setting these variables to @code{@var{profile}/include} and
587@code{@var{profile}/lib}, respectively.
588
569@item --profile=@var{profile} 589@item --profile=@var{profile}
570@itemx -p @var{profile} 590@itemx -p @var{profile}
571Use @var{profile} instead of the user's default profile. 591Use @var{profile} instead of the user's default profile.
diff --git a/gnu/packages/autotools.scm b/gnu/packages/autotools.scm
index 4af6d2a6cfb..3634338777f 100644
--- a/gnu/packages/autotools.scm
+++ b/gnu/packages/autotools.scm
@@ -148,6 +148,10 @@ exec ~a --no-auto-compile \"$0\" \"$@\"
148 ("perl" ,perl) 148 ("perl" ,perl)
149 ("patch/skip-amhello" 149 ("patch/skip-amhello"
150 ,(search-patch "automake-skip-amhello-tests.patch")))) 150 ,(search-patch "automake-skip-amhello-tests.patch"))))
151 (native-search-paths
152 (list (search-path-specification
153 (variable "ACLOCAL_PATH")
154 (directories '("share/aclocal")))))
151 (arguments 155 (arguments
152 '(#:patches (list (assoc-ref %build-inputs "patch/skip-amhello")) 156 '(#:patches (list (assoc-ref %build-inputs "patch/skip-amhello"))
153 #:modules ((guix build gnu-build-system) 157 #:modules ((guix build gnu-build-system)
diff --git a/gnu/packages/avahi.scm b/gnu/packages/avahi.scm
index f7ce9083513..fbdc0e2834e 100644
--- a/gnu/packages/avahi.scm
+++ b/gnu/packages/avahi.scm
@@ -48,19 +48,7 @@
48 "--disable-xmltoman" 48 "--disable-xmltoman"
49 "--enable-tests" 49 "--enable-tests"
50 "--disable-qt3" "--disable-qt4" 50 "--disable-qt3" "--disable-qt4"
51 "--disable-gtk" "--disable-gtk3") 51 "--disable-gtk" "--disable-gtk3")))
52 #:phases (alist-cons-before
53 'configure 'set-perl-path
54 (lambda* (#:key inputs #:allow-other-keys)
55 ;; FIXME: Remove this phase when proper support for search
56 ;; paths is available.
57 (let ((xml-parser (assoc-ref inputs
58 "intltool/perl-xml-parser")))
59 (setenv "PERL5LIB"
60 (string-append xml-parser
61 "/lib/perl5/site_perl"))
62 #t))
63 %standard-phases)))
64 (inputs 52 (inputs
65 `(("expat" ,expat) 53 `(("expat" ,expat)
66 ("glib" ,glib) 54 ("glib" ,glib)
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index 3597e6fad18..34c4db98f9f 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -90,14 +90,14 @@ lines.")
90(define-public sed 90(define-public sed
91 (package 91 (package
92 (name "sed") 92 (name "sed")
93 (version "4.2.1") 93 (version "4.2.2")
94 (source (origin 94 (source (origin
95 (method url-fetch) 95 (method url-fetch)
96 (uri (string-append "mirror://gnu/sed/sed-" version 96 (uri (string-append "mirror://gnu/sed/sed-" version
97 ".tar.bz2")) 97 ".tar.bz2"))
98 (sha256 98 (sha256
99 (base32 99 (base32
100 "13wlsb4sf5d5a82xjhxqmdvrrn36rmw5f0pl9qyb9zkvldnb7hra")))) 100 "1myvrmh99jsvk7v3d7crm0gcrq51hmmm1r2kjyyci152in1x2j7h"))))
101 (build-system gnu-build-system) 101 (build-system gnu-build-system)
102 (synopsis "Stream editor") 102 (synopsis "Stream editor")
103 (arguments 103 (arguments
@@ -153,14 +153,14 @@ files (as archives).")
153(define-public patch 153(define-public patch
154 (package 154 (package
155 (name "patch") 155 (name "patch")
156 (version "2.6.1") 156 (version "2.7.1")
157 (source (origin 157 (source (origin
158 (method url-fetch) 158 (method url-fetch)
159 (uri (string-append "mirror://gnu/patch/patch-" 159 (uri (string-append "mirror://gnu/patch/patch-"
160 version ".tar.xz")) 160 version ".tar.xz"))
161 (sha256 161 (sha256
162 (base32 162 (base32
163 "18012gxs9wc96izskp1q7bclrwns6rdmkn4jj31c8jbyfz6l5npq")))) 163 "1sqckf560pzwgniy00vcpdv2c9c11s4cmhlm14yqgg8avd3bl94i"))))
164 (build-system gnu-build-system) 164 (build-system gnu-build-system)
165 (native-inputs '()) ; FIXME: needs `ed' for the tests 165 (native-inputs '()) ; FIXME: needs `ed' for the tests
166 (arguments 166 (arguments
@@ -179,18 +179,15 @@ producing patched versions.")
179(define-public diffutils 179(define-public diffutils
180 (package 180 (package
181 (name "diffutils") 181 (name "diffutils")
182 (version "3.2") 182 (version "3.3")
183 (source (origin 183 (source (origin
184 (method url-fetch) 184 (method url-fetch)
185 (uri (string-append "mirror://gnu/diffutils/diffutils-" 185 (uri (string-append "mirror://gnu/diffutils/diffutils-"
186 version ".tar.xz")) 186 version ".tar.xz"))
187 (sha256 187 (sha256
188 (base32 188 (base32
189 "0jci0wv68025xd0s0rq4s5qxpx56dd9d730lka63qpzk1rfvfkxb")))) 189 "1761vymxbp4wb5rzjvabhdkskk95pghnn67464byvzb5mfl8jpm2"))))
190 (build-system gnu-build-system) 190 (build-system gnu-build-system)
191 (inputs `(("patch/gets"
192 ,(search-patch "diffutils-gets-undeclared.patch"))))
193 (arguments `(#:patches (list (assoc-ref %build-inputs "patch/gets"))))
194 (synopsis "Comparing and merging files") 191 (synopsis "Comparing and merging files")
195 (description 192 (description
196 "GNU Diffutils is a package of several programs related to finding 193 "GNU Diffutils is a package of several programs related to finding
@@ -264,14 +261,14 @@ The tools supplied with this package are:
264(define-public coreutils 261(define-public coreutils
265 (package 262 (package
266 (name "coreutils") 263 (name "coreutils")
267 (version "8.20") 264 (version "8.21")
268 (source (origin 265 (source (origin
269 (method url-fetch) 266 (method url-fetch)
270 (uri (string-append "mirror://gnu/coreutils/coreutils-" 267 (uri (string-append "mirror://gnu/coreutils/coreutils-"
271 version ".tar.xz")) 268 version ".tar.xz"))
272 (sha256 269 (sha256
273 (base32 270 (base32
274 "1cly97xdy3v4nbbx631k43smqw0nnpn651kkprs0yyl2cj3pkjyv")))) 271 "064f512185iysqqcvhnhaf3bfmzrvcgs7n405qsyp99zmfyl9amd"))))
275 (build-system gnu-build-system) 272 (build-system gnu-build-system)
276 (inputs `(("acl" ,acl) 273 (inputs `(("acl" ,acl)
277 ("gmp" ,gmp) 274 ("gmp" ,gmp)
@@ -340,14 +337,14 @@ that it is possible to use Make to build and install the program.")
340(define-public binutils 337(define-public binutils
341 (package 338 (package
342 (name "binutils") 339 (name "binutils")
343 (version "2.22") 340 (version "2.23.2")
344 (source (origin 341 (source (origin
345 (method url-fetch) 342 (method url-fetch)
346 (uri (string-append "mirror://gnu/binutils/binutils-" 343 (uri (string-append "mirror://gnu/binutils/binutils-"
347 version ".tar.bz2")) 344 version ".tar.bz2"))
348 (sha256 345 (sha256
349 (base32 346 (base32
350 "1a9w66v5dwvbnawshjwqcgz7km6kw6ihkzp6sswv9ycc3knzhykc")))) 347 "15qhbkz3r266xaa52slh857qn3abw7rb2x2jnhpfrafpzrb4x4gy"))))
351 (build-system gnu-build-system) 348 (build-system gnu-build-system)
352 349
353 ;; Split Binutils in several outputs, mostly to avoid collisions in 350 ;; Split Binutils in several outputs, mostly to avoid collisions in
@@ -365,7 +362,11 @@ that it is possible to use Make to build and install the program.")
365 "LDFLAGS=-static-libgcc" 362 "LDFLAGS=-static-libgcc"
366 363
367 ;; Don't search under /usr/lib & co. 364 ;; Don't search under /usr/lib & co.
368 "--with-lib-path=/no-ld-lib-path"))) 365 "--with-lib-path=/no-ld-lib-path"
366
367 ;; Glibc 2.17 has a "comparison of unsigned
368 ;; expression >= 0 is always true" in wchar.h.
369 "--disable-werror")))
369 370
370 (synopsis "Binary utilities: bfd gas gprof ld") 371 (synopsis "Binary utilities: bfd gas gprof ld")
371 (description 372 (description
@@ -375,17 +376,6 @@ BFD (Binary File Descriptor) library, `gprof', `nm', `strip', etc.")
375 (license gpl3+) 376 (license gpl3+)
376 (home-page "http://www.gnu.org/software/binutils/"))) 377 (home-page "http://www.gnu.org/software/binutils/")))
377 378
378(define-public binutils-2.23
379 (package (inherit binutils)
380 (version "2.23.2")
381 (source (origin
382 (method url-fetch)
383 (uri (string-append "mirror://gnu/binutils/binutils-"
384 version ".tar.bz2"))
385 (sha256
386 (base32
387 "15qhbkz3r266xaa52slh857qn3abw7rb2x2jnhpfrafpzrb4x4gy"))))))
388
389(define-public glibc 379(define-public glibc
390 (package 380 (package
391 (name "glibc") 381 (name "glibc")
@@ -403,13 +393,28 @@ BFD (Binary File Descriptor) library, `gprof', `nm', `strip', etc.")
403 ;; users should automatically pull Linux headers as well. 393 ;; users should automatically pull Linux headers as well.
404 (propagated-inputs `(("linux-headers" ,linux-libre-headers))) 394 (propagated-inputs `(("linux-headers" ,linux-libre-headers)))
405 395
396 ;; Store the locales separately (~100 MiB). Note that "out" retains a
397 ;; reference to them anyway, so there's no space savings here.
398 ;; TODO: Eventually we may want to add a $LOCALE_ARCHIVE search path like
399 ;; Nixpkgs does.
400 (outputs '("out" "locales"))
401
406 (arguments 402 (arguments
407 `(#:out-of-source? #t 403 `(#:out-of-source? #t
408 #:patches (list (assoc-ref %build-inputs "patch/ld.so.cache")) 404 #:patches (list (assoc-ref %build-inputs "patch/ld.so.cache"))
409 #:configure-flags 405 #:configure-flags
410 (list "--enable-add-ons" 406 (list "--enable-add-ons"
411 "--sysconfdir=/etc" 407 "--sysconfdir=/etc"
412 "--localedir=/var/run/current-system/sw/lib/locale" ; XXX 408 (string-append "--localedir=" (assoc-ref %outputs "locales")
409 "/share/locale")
410
411 ;; `--localedir' is not honored, so work around it.
412 ;; See <http://sourceware.org/ml/libc-alpha/2013-03/msg00093.html>.
413 (string-append "libc_cv_localedir="
414 (assoc-ref %outputs "locales")
415 "/share/locale")
416
417
413 (string-append "--with-headers=" 418 (string-append "--with-headers="
414 (assoc-ref %build-inputs "linux-headers") 419 (assoc-ref %build-inputs "linux-headers")
415 "/include") 420 "/include")
@@ -475,7 +480,12 @@ BFD (Binary File Descriptor) library, `gprof', `nm', `strip', etc.")
475 (substitute* "libio/iopopen.c" 480 (substitute* "libio/iopopen.c"
476 (("/bin/sh") 481 (("/bin/sh")
477 (string-append out "/bin/bash"))))) 482 (string-append out "/bin/bash")))))
478 %standard-phases))) 483 (alist-cons-after
484 'install 'install-locales
485 (lambda _
486 (zero? (system* "make" "localedata/install-locales")))
487 %standard-phases))))
488
479 (inputs `(("patch/ld.so.cache" 489 (inputs `(("patch/ld.so.cache"
480 ,(search-patch "glibc-no-ld-so-cache.patch")) 490 ,(search-patch "glibc-no-ld-so-cache.patch"))
481 ("static-bash" ,(static-package bash-light)))) 491 ("static-bash" ,(static-package bash-light))))
@@ -578,7 +588,8 @@ identifier SYSTEM."
578 #:implicit-inputs? #f 588 #:implicit-inputs? #f
579 ,@(substitute-keyword-arguments (package-arguments binutils) 589 ,@(substitute-keyword-arguments (package-arguments binutils)
580 ((#:configure-flags cf) 590 ((#:configure-flags cf)
581 `(list ,(string-append "--target=" (boot-triplet))))))) 591 `(cons ,(string-append "--target=" (boot-triplet))
592 ,cf)))))
582 (inputs %boot0-inputs)))) 593 (inputs %boot0-inputs))))
583 594
584(define gcc-boot0 595(define gcc-boot0
@@ -940,35 +951,6 @@ store.")
940 ,@(fold alist-delete (package-inputs ld-wrapper-boot3) 951 ,@(fold alist-delete (package-inputs ld-wrapper-boot3)
941 '("guile" "bash")))))) 952 '("guile" "bash"))))))
942 953
943(define-public ld-wrapper-2.23 ; TODO: remove when Binutils is updated
944 (package (inherit ld-wrapper)
945 (inputs `(("binutils" ,binutils-2.23)
946 ,@(alist-delete "binutils" (package-inputs ld-wrapper))))))
947
948(define-public gcc-4.8
949 ;; FIXME: Move to gcc.scm when Binutils is updated.
950 (package (inherit gcc-4.7)
951 (version "4.8.0")
952 (source (origin
953 (method url-fetch)
954 (uri (string-append "mirror://gnu/gcc/gcc-"
955 version "/gcc-" version ".tar.bz2"))
956 (sha256
957 (base32
958 "0b6cp9d1sas3vq6dj3zrgd134p9b569fqhbixb9cl7mp698zwdxh"))))
959 (inputs `(("gmp" ,gmp)
960 ("mpfr" ,mpfr)
961 ("mpc" ,mpc)
962 ("isl" ,isl)
963 ("cloog" ,cloog)
964 ("zlib" ,(@ (gnu packages compression) zlib))
965
966 ;; With ld from Binutils 2.22, we get the following error while
967 ;; linking gcov:
968 ;; ld: gcov: hidden symbol `__deregister_frame_info' in /nix/store/47myfniw4x7kfc601d7q1yvz5mixlr00-gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/libgcc_eh.a(unwind-dw2-fde-dip.o) is referenced by DSO
969 ;; See <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57015>.
970 ("ld-wrapper" ,ld-wrapper-2.23)))))
971
972(define-public %final-inputs 954(define-public %final-inputs
973 ;; Final derivations used as implicit inputs by `gnu-build-system'. 955 ;; Final derivations used as implicit inputs by `gnu-build-system'.
974 (let ((finalize (cut package-with-explicit-inputs <> %boot4-inputs 956 (let ((finalize (cut package-with-explicit-inputs <> %boot4-inputs
diff --git a/gnu/packages/bootstrap.scm b/gnu/packages/bootstrap.scm
index ffe1ec6528e..eaad45a741f 100644
--- a/gnu/packages/bootstrap.scm
+++ b/gnu/packages/bootstrap.scm
@@ -135,6 +135,7 @@ check whether everything is alright."
135 "Return the name of Glibc's dynamic linker for SYSTEM." 135 "Return the name of Glibc's dynamic linker for SYSTEM."
136 (cond ((string=? system "x86_64-linux") "/lib/ld-linux-x86-64.so.2") 136 (cond ((string=? system "x86_64-linux") "/lib/ld-linux-x86-64.so.2")
137 ((string=? system "i686-linux") "/lib/ld-linux.so.2") 137 ((string=? system "i686-linux") "/lib/ld-linux.so.2")
138 ((string=? system "mips64el-linux") "/lib/ld.so.1")
138 (else (error "dynamic linker name not known for this system" 139 (else (error "dynamic linker name not known for this system"
139 system)))) 140 system))))
140 141
@@ -153,7 +154,8 @@ check whether everything is alright."
153 (let ((raw (build-system 154 (let ((raw (build-system
154 (name "raw") 155 (name "raw")
155 (description "Raw build system with direct store access") 156 (description "Raw build system with direct store access")
156 (build (lambda* (store name source inputs #:key outputs system) 157 (build (lambda* (store name source inputs
158 #:key outputs system search-paths)
157 (define (->store file) 159 (define (->store file)
158 (add-to-store store file #t "sha256" 160 (add-to-store store file #t "sha256"
159 (or (search-bootstrap-binary file 161 (or (search-bootstrap-binary file
@@ -351,6 +353,13 @@ exec ~a/bin/.gcc-wrapped -B~a/lib \
351 ("i686-linux" 353 ("i686-linux"
352 (base32 354 (base32
353 "06wqs0xxnpw3hn0xjb4c9cs0899p1xwkcysa2rvzhvpra0c5vsg2"))))))))) 355 "06wqs0xxnpw3hn0xjb4c9cs0899p1xwkcysa2rvzhvpra0c5vsg2")))))))))
356 (native-search-paths
357 (list (search-path-specification
358 (variable "CPATH")
359 (directories '("include")))
360 (search-path-specification
361 (variable "LIBRARY_PATH")
362 (directories '("lib" "lib64")))))
354 (synopsis "Bootstrap binaries of the GNU Compiler Collection") 363 (synopsis "Bootstrap binaries of the GNU Compiler Collection")
355 (description #f) 364 (description #f)
356 (home-page #f) 365 (home-page #f)
diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm
new file mode 100644
index 00000000000..55670fad967
--- /dev/null
+++ b/gnu/packages/cross-base.scm
@@ -0,0 +1,244 @@
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org>
3;;;
4;;; This file is part of GNU Guix.
5;;;
6;;; GNU Guix is free software; you can redistribute it and/or modify it
7;;; under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 3 of the License, or (at
9;;; your option) any later version.
10;;;
11;;; GNU Guix is distributed in the hope that it will be useful, but
12;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
18
19(define-module (gnu packages cross-base)
20 #:use-module (guix licenses)
21 #:use-module (gnu packages)
22 #:use-module (gnu packages gcc)
23 #:use-module (gnu packages base)
24 #:use-module (gnu packages linux)
25 #:use-module (guix packages)
26 #:use-module (guix download)
27 #:use-module (guix utils)
28 #:use-module (guix build-system gnu)
29 #:use-module (guix build-system trivial)
30 #:use-module (srfi srfi-1)
31 #:use-module (srfi srfi-26)
32 #:use-module (ice-9 match))
33
34(define (cross p target)
35 (package (inherit p)
36 (location (source-properties->location (current-source-location)))
37 (name (string-append (package-name p) "-cross-" target))
38 (arguments
39 (substitute-keyword-arguments (package-arguments p)
40 ((#:configure-flags flags)
41 `(cons ,(string-append "--target=" target)
42 ,flags))))))
43
44(define cross-binutils
45 (cut cross binutils <>))
46
47(define* (cross-gcc target
48 #:optional (xbinutils (cross-binutils target)) libc)
49 "Return a cross-compiler for TARGET, where TARGET is a GNU triplet. Use
50XBINUTILS as the associated cross-Binutils. If LIBC is false, then build a
51GCC that does not target a libc; otherwise, target that libc."
52 (define args
53 ;; Get the arguments as if we were building for TARGET. In particular, we
54 ;; want `glibc-dynamic-linker' to return the right thing.
55 (parameterize ((%current-system (gnu-triplet->nix-system target)))
56 (package-arguments gcc-4.7)))
57
58 (package (inherit gcc-4.7)
59 (name (string-append "gcc-cross-"
60 (if libc "" "sans-libc-")
61 target))
62 (arguments
63 `(#:implicit-inputs? #f
64 #:modules ((guix build gnu-build-system)
65 (guix build utils)
66 (ice-9 regex)
67 (srfi srfi-1)
68 (srfi srfi-26))
69 #:patches (list (assoc-ref %build-inputs "patch/cross-env-vars"))
70
71 ,@(substitute-keyword-arguments args
72 ((#:configure-flags flags)
73 `(append (list ,(string-append "--target=" target)
74 ,@(if libc
75 '()
76 `( ;; Disable features not needed at this stage.
77 "--disable-shared" "--enable-static"
78
79 ;; Disable C++ because libstdc++'s
80 ;; configure script otherwise fails with
81 ;; "Link tests are not allowed after
82 ;; GCC_NO_EXECUTABLES."
83 "--enable-languages=c"
84
85 "--disable-threads" ; libgcc, would need libc
86 "--disable-libmudflap"
87 "--disable-libgomp"
88 "--disable-libssp"
89 "--disable-libquadmath"
90 "--disable-decimal-float" ; would need libc
91 )))
92
93 ,(if libc
94 flags
95 `(remove (cut string-match "--enable-languages.*" <>)
96 ,flags))))
97 ((#:make-flags flags)
98 (if libc
99 `(let ((libc (assoc-ref %build-inputs "libc")))
100 ;; FLAGS_FOR_TARGET are needed for the target libraries to
101 ;; receive the -Bxxx for the startfiles.
102 (cons (string-append "FLAGS_FOR_TARGET=-B" libc "/lib")
103 ,flags))
104 flags))
105 ((#:phases phases)
106 (let ((phases
107 `(alist-cons-after
108 'install 'make-cross-binutils-visible
109 (lambda* (#:key outputs inputs #:allow-other-keys)
110 (let* ((out (assoc-ref outputs "out"))
111 (libexec (string-append out "/libexec/gcc/"
112 ,target))
113 (binutils (string-append
114 (assoc-ref inputs "binutils-cross")
115 "/bin/" ,target "-")))
116 (for-each (lambda (file)
117 (symlink (string-append binutils file)
118 (string-append libexec "/"
119 file)))
120 '("as" "ld" "nm"))
121 #t))
122 ,phases)))
123 (if libc
124 `(alist-cons-before
125 'configure 'set-cross-path
126 (lambda* (#:key inputs #:allow-other-keys)
127 ;; Add the cross Linux headers to CROSS_CPATH, and remove
128 ;; them from CPATH.
129 (let ((libc (assoc-ref inputs "libc"))
130 (linux (assoc-ref inputs
131 "libc/cross-linux-headers")))
132 (define (cross? x)
133 ;; Return #t if X is a cross-libc or cross Linux.
134 (or (string-prefix? libc x)
135 (string-prefix? linux x)))
136
137 (setenv "CROSS_CPATH"
138 (string-append libc "/include:"
139 linux "/include"))
140 (setenv "CROSS_LIBRARY_PATH"
141 (string-append libc "/lib"))
142
143 (let ((cpath (search-path-as-string->list
144 (getenv "CPATH")))
145 (libpath (search-path-as-string->list
146 (getenv "LIBRARY_PATH"))))
147 (setenv "CPATH"
148 (list->search-path-as-string
149 (remove cross? cpath) ":"))
150 (setenv "LIBRARY_PATH"
151 (list->search-path-as-string
152 (remove cross? libpath) ":"))
153 #t)))
154 ,phases)
155 phases)))
156 ((#:strip-binaries? _)
157 ;; Disable stripping as this can break binaries, with object files
158 ;; of libgcc.a showing up as having an unknown architecture. See
159 ;; <http://lists.fedoraproject.org/pipermail/arm/2010-August/000663.html>
160 ;; for instance.
161 #f))))
162 (inputs
163 `(("patch/cross-env-vars"
164 ,(search-patch "gcc-cross-environment-variables.patch"))
165
166 ("binutils-cross" ,xbinutils)
167
168 ;; Call it differently so that the builder can check whether the "libc"
169 ;; input is #f.
170 ("libc-native" ,@(assoc-ref %final-inputs "libc"))
171
172 ;; Remaining inputs.
173 ,@(let ((inputs (append (package-inputs gcc-4.7)
174 (alist-delete "libc" %final-inputs))))
175 (if libc
176 `(("libc" ,libc)
177 ,@inputs)
178 inputs))))))
179
180(define* (cross-libc target
181 #:optional
182 (xgcc (cross-gcc target))
183 (xbinutils (cross-binutils target)))
184 "Return a libc cross-built for TARGET, a GNU triplet. Use XGCC and
185XBINUTILS and the cross tool chain."
186 (define xlinux-headers
187 (package (inherit linux-libre-headers)
188 (name (string-append (package-name linux-libre-headers)
189 "-cross-" target))
190 (arguments
191 (substitute-keyword-arguments (package-arguments linux-libre-headers)
192 ((#:phases phases)
193 `(alist-replace
194 'build
195 (lambda _
196 (setenv "ARCH" ,(system->linux-architecture target))
197 (format #t "`ARCH' set to `~a' (cross compiling)~%" (getenv "ARCH"))
198
199 (and (zero? (system* "make" "defconfig"))
200 (zero? (system* "make" "mrproper" "headers_check"))))
201 ,phases))))
202 (inputs `(("cross-gcc" ,xgcc)
203 ("cross-binutils" ,xbinutils)
204 ,@(package-inputs linux-libre-headers)))))
205
206 (package (inherit glibc)
207 (name (string-append "glibc-cross-" target))
208 (arguments
209 (substitute-keyword-arguments
210 `(#:strip-binaries? #f ; disable stripping (see above)
211 ,@(package-arguments glibc))
212 ((#:configure-flags flags)
213 `(cons ,(string-append "--host=" target)
214 ,flags))
215 ((#:phases phases)
216 `(alist-cons-before
217 'configure 'set-cross-linux-headers-path
218 (lambda* (#:key inputs #:allow-other-keys)
219 (let ((linux (assoc-ref inputs "cross-linux-headers")))
220 (setenv "CROSS_CPATH"
221 (string-append linux "/include"))
222 #t))
223 ,phases))))
224 (propagated-inputs `(("cross-linux-headers" ,xlinux-headers)))
225 (inputs `(("cross-gcc" ,xgcc)
226 ("cross-binutils" ,xbinutils)
227 ,@(package-inputs glibc)))))
228
229
230;;;
231;;; Concrete cross toolchains.
232;;;
233
234(define-public xgcc-mips64el
235 (let ((triplet "mips64el-linux-gnu"))
236 (cross-gcc triplet
237 (cross-binutils triplet)
238 (cross-libc triplet))))
239
240;; (define-public xgcc-armel
241;; (let ((triplet "armel-linux-gnueabi"))
242;; (cross-gcc triplet
243;; (cross-binutils triplet)
244;; (cross-libc triplet))))
diff --git a/gnu/packages/curl.scm b/gnu/packages/curl.scm
index 00fd0f32323..4f5d96087ef 100644
--- a/gnu/packages/curl.scm
+++ b/gnu/packages/curl.scm
@@ -55,18 +55,7 @@
55 ("pkg-config" ,pkg-config) 55 ("pkg-config" ,pkg-config)
56 ("zlib" ,zlib))) 56 ("zlib" ,zlib)))
57 (arguments 57 (arguments
58 `(#:configure-flags '("--with-gnutls" "--with-gssapi") 58 `(#:configure-flags '("--with-gnutls" "--with-gssapi")))
59 #:phases
60 (alist-replace
61 'unpack
62 (lambda* (#:key #:allow-other-keys #:rest args)
63 (let ((unpack (assoc-ref %standard-phases 'unpack)))
64 (apply unpack args)
65 ;; The following patch-shebang phase will replace perl
66 ;; by the correct path.
67 (substitute* "tests/runtests.pl"
68 (("#!/usr/bin/env perl") "#!/usr/bin/perl"))))
69 %standard-phases)))
70 (synopsis "curl, command line tool for transferring data with URL syntax") 59 (synopsis "curl, command line tool for transferring data with URL syntax")
71 (description 60 (description
72 "curl is a command line tool for transferring data with URL syntax, 61 "curl is a command line tool for transferring data with URL syntax,
diff --git a/gnu/packages/dwm.scm b/gnu/packages/dwm.scm
new file mode 100644
index 00000000000..ce87b14e5fc
--- /dev/null
+++ b/gnu/packages/dwm.scm
@@ -0,0 +1,86 @@
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com>
3;;;
4;;; This file is part of GNU Guix.
5;;;
6;;; GNU Guix is free software; you can redistribute it and/or modify it
7;;; under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 3 of the License, or (at
9;;; your option) any later version.
10;;;
11;;; GNU Guix is distributed in the hope that it will be useful, but
12;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
18
19(define-module (gnu packages dwm)
20 #:use-module (guix licenses)
21 #:use-module (guix packages)
22 #:use-module (guix download)
23 #:use-module (guix build-system gnu)
24 #:use-module (gnu packages)
25 #:use-module (gnu packages xorg))
26
27(define-public dwm
28 (package
29 (name "dwm")
30 (version "6.0")
31 (source (origin
32 (method url-fetch)
33 (uri (string-append "http://dl.suckless.org/dwm/dwm-"
34 version ".tar.gz"))
35 (sha256
36 (base32 "0mpbivy9j80l1jqq4bd4g4z8s5c54fxrjj44avmfwncjwqylifdj"))))
37 (build-system gnu-build-system)
38 (arguments
39 `(#:tests? #f
40 #:phases
41 (alist-replace
42 'configure
43 (lambda _
44 (substitute* "Makefile" (("\\$\\{CC\\}") "gcc"))
45 #t)
46 (alist-replace
47 'install
48 (lambda* (#:key outputs #:allow-other-keys)
49 (let ((out (assoc-ref outputs "out")))
50 (zero?
51 (system* "make" "install"
52 (string-append "DESTDIR=" out) "PREFIX="))))
53 %standard-phases))))
54 (inputs
55 `(("libx11" ,libx11)
56 ("libxinerama" ,libxinerama)))
57 (home-page "http://dwm.suckless.org/")
58 (synopsis "Dynamic window manager")
59 (description
60 "dwm is a dynamic window manager for X. It manages windows in tiled,
61monocle and floating layouts. All of the layouts can be applied dynamically,
62optimising the environment for the application in use and the task performed.
63
64In tiled layout windows are managed in a master and stacking area. The master
65area contains the window which currently needs most attention, whereas the
66stacking area contains all other windows. In monocle layout all windows are
67maximised to the screen size. In floating layout windows can be resized and
68moved freely. Dialog windows are always managed floating, regardless of the
69layout applied.
70
71Windows are grouped by tags. Each window can be tagged with one or multiple
72tags. Selecting certain tags displays all windows with these tags.
73
74Each screen contains a small status bar which displays all available tags, the
75layout, the number of visible windows, the title of the focused window, and the
76text read from the root window name property, if the screen is focused. A
77floating window is indicated with an empty square and a maximised floating
78window is indicated with a filled square before the windows title. The selected
79tags are indicated with a different color. The tags of the focused window are
80indicated with a filled square in the top left corner. The tags which are
81applied to one or more windows are indicated with an empty square in the top
82left corner.
83
84dwm draws a small customizable border around windows to indicate the focus
85state.")
86 (license x11)))
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 250fcf24013..932fb2be754 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -26,7 +26,16 @@
26 #:use-module (gnu packages texinfo) 26 #:use-module (gnu packages texinfo)
27 #:use-module (gnu packages gnutls) 27 #:use-module (gnu packages gnutls)
28 #:use-module (gnu packages pkg-config) 28 #:use-module (gnu packages pkg-config)
29 #:use-module (gnu packages guile)) 29 #:use-module (gnu packages guile)
30 #:use-module (gnu packages xorg)
31 #:use-module (gnu packages lesstif)
32 #:use-module (gnu packages libjpeg)
33 #:use-module (gnu packages libtiff)
34 #:use-module (gnu packages libpng)
35 #:use-module ((gnu packages compression)
36 #:renamer (symbol-prefix-proc 'compression:))
37 #:use-module (gnu packages xml)
38 #:use-module (gnu packages glib))
30 39
31(define-public emacs 40(define-public emacs
32 (package 41 (package
@@ -43,7 +52,8 @@
43 (arguments 52 (arguments
44 '(#:configure-flags 53 '(#:configure-flags
45 (list (string-append "--with-crt-dir=" (assoc-ref %build-inputs "libc") 54 (list (string-append "--with-crt-dir=" (assoc-ref %build-inputs "libc")
46 "/lib")) 55 "/lib")
56 "--with-gif=no") ; XXX: add libungif
47 #:patches (list (assoc-ref %build-inputs "patch/epaths")) 57 #:patches (list (assoc-ref %build-inputs "patch/epaths"))
48 #:phases (alist-cons-before 58 #:phases (alist-cons-before
49 'configure 'fix-/bin/pwd 59 'configure 'fix-/bin/pwd
@@ -60,16 +70,22 @@
60 ("ncurses" ,ncurses) 70 ("ncurses" ,ncurses)
61 71
62 ;; TODO: Add the optional dependencies. 72 ;; TODO: Add the optional dependencies.
63 ;; ("xlibs" ,xlibs) 73 ("xlibs" ,libx11)
74 ("libXaw" ,libxaw) ; XXX: eventually replace by GTK+
64 ;; ("gtk+" ,gtk+) 75 ;; ("gtk+" ,gtk+)
65 ;; ("libXft" ,libXft) 76 ("libXft" ,libxft)
66 ;; ("libtiff" ,libtiff) 77 ("libtiff" ,libtiff)
67 ;; ("libungif" ,libungif) 78 ;; ("libungif" ,libungif)
68 ;; ("libjpeg" ,libjpeg) 79 ("libjpeg" ,libjpeg-8)
69 ;; ("libpng" ,libpng) 80
70 ;; ("libXpm" ,libXpm) 81 ;; When looking for libpng `configure' links with `-lpng -lz', so we
71 ;; ("libxml2" ,libxml2) 82 ;; must also provide zlib as an input.
72 ;; ("dbus-library" ,dbus-library) 83 ("libpng" ,libpng)
84 ("zlib" ,compression:zlib)
85
86 ("libXpm" ,libxpm)
87 ("libxml2" ,libxml2)
88 ("dbus" ,dbus)
73 89
74 ("patch/epaths" ,(search-patch "emacs-configure-sh.patch")) 90 ("patch/epaths" ,(search-patch "emacs-configure-sh.patch"))
75 )) 91 ))
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index 551d4ac1675..14f82503578 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -38,6 +38,20 @@
38 (sha256 (base32 38 (sha256 (base32
39 "0gpcz6swir64kp0dk3rwgqqkmf48b90dqgczdmznjjryhrahx9r9")))) 39 "0gpcz6swir64kp0dk3rwgqqkmf48b90dqgczdmznjjryhrahx9r9"))))
40 (build-system gnu-build-system) 40 (build-system gnu-build-system)
41 (arguments
42 `(#:phases
43 (alist-replace
44 'install
45 (lambda* (#:key outputs #:allow-other-keys #:rest args)
46 (let ((install (assoc-ref %standard-phases 'install))
47 (include (string-append (assoc-ref outputs "out") "/include")))
48 (apply install args)
49 ;; Unravel one directory, since ft2build.h includes directly from
50 ;; freetype/, not freetype2/freetype; this is announced in the file
51 ;; to be changed in a future release.
52 (symlink (string-append include "/freetype2/freetype")
53 (string-append include "/freetype"))))
54 %standard-phases)))
41 (synopsis "Freetype, a library to render fonts") 55 (synopsis "Freetype, a library to render fonts")
42 (description 56 (description
43 "Freetype is a library that can be used by applications to access the 57 "Freetype is a library that can be used by applications to access the
diff --git a/gnu/packages/gawk.scm b/gnu/packages/gawk.scm
index 15ff2a4401f..bba2ea1af0e 100644
--- a/gnu/packages/gawk.scm
+++ b/gnu/packages/gawk.scm
@@ -26,13 +26,13 @@
26(define-public gawk 26(define-public gawk
27 (package 27 (package
28 (name "gawk") 28 (name "gawk")
29 (version "4.0.0") 29 (version "4.0.2")
30 (source (origin 30 (source (origin
31 (method url-fetch) 31 (method url-fetch)
32 (uri (string-append "mirror://gnu/gawk/gawk-" version 32 (uri (string-append "mirror://gnu/gawk/gawk-" version
33 ".tar.bz2")) 33 ".tar.xz"))
34 (sha256 34 (sha256
35 (base32 "0sss7rhpvizi2a88h6giv0i7w5h07s2fxkw3s6n1hqvcnhrfgbb0")))) 35 (base32 "04vd0axif762mf781pj3days6ilv2333b9zi9c50y5mma66g5q91"))))
36 (build-system gnu-build-system) 36 (build-system gnu-build-system)
37 (arguments 37 (arguments
38 `(#:parallel-tests? #f ; test suite fails in parallel 38 `(#:parallel-tests? #f ; test suite fails in parallel
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index a784118dd64..d239b5a9ab7 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -35,18 +35,22 @@
35 (let ((stripped? #t)) ; TODO: make this a parameter 35 (let ((stripped? #t)) ; TODO: make this a parameter
36 (package 36 (package
37 (name "gcc") 37 (name "gcc")
38 (version "4.7.2") 38 (version "4.7.3")
39 (source (origin 39 (source (origin
40 (method url-fetch) 40 (method url-fetch)
41 (uri (string-append "mirror://gnu/gcc/gcc-" 41 (uri (string-append "mirror://gnu/gcc/gcc-"
42 version "/gcc-" version ".tar.bz2")) 42 version "/gcc-" version ".tar.bz2"))
43 (sha256 43 (sha256
44 (base32 44 (base32
45 "115h03hil99ljig8lkrq4qk426awmzh0g99wrrggxf8g07bq74la")))) 45 "1hx9h64ivarlzi4hxvq42as5m9vlr5cyzaaq4gzj4i619zmkfz1g"))))
46 (build-system gnu-build-system) 46 (build-system gnu-build-system)
47 (inputs `(("gmp" ,gmp) 47 (inputs `(("gmp" ,gmp)
48 ("mpfr" ,mpfr) 48 ("mpfr" ,mpfr)
49 ("mpc" ,mpc))) ; TODO: libelf, ppl, cloog, zlib, etc. 49 ("mpc" ,mpc)
50 ("isl" ,isl)
51 ("cloog" ,cloog)
52 ("libelf" ,libelf)
53 ("zlib" ,zlib)))
50 (arguments 54 (arguments
51 `(#:out-of-source? #t 55 `(#:out-of-source? #t
52 #:strip-binaries? ,stripped? 56 #:strip-binaries? ,stripped?
@@ -65,8 +69,8 @@
65 #:make-flags 69 #:make-flags
66 (let ((libc (assoc-ref %build-inputs "libc"))) 70 (let ((libc (assoc-ref %build-inputs "libc")))
67 `(,@(if libc 71 `(,@(if libc
68 (list (string-append "LDFLAGS_FOR_BUILD=" 72 (list (string-append "LDFLAGS_FOR_TARGET="
69 "-L" libc "/lib " 73 "-B" libc "/lib "
70 "-Wl,-dynamic-linker " 74 "-Wl,-dynamic-linker "
71 "-Wl," libc 75 "-Wl," libc
72 ,(glibc-dynamic-linker))) 76 ,(glibc-dynamic-linker)))
@@ -102,7 +106,7 @@
102 ;; RUNPATH to GCC even when `libgcc_s' is not NEEDED. 106 ;; RUNPATH to GCC even when `libgcc_s' is not NEEDED.
103 ;; There's not much that can be done to avoid it, though. 107 ;; There's not much that can be done to avoid it, though.
104 (format #f "#define LIB_SPEC \"-L~a/lib %{!static:-rpath=~a/lib \ 108 (format #f "#define LIB_SPEC \"-L~a/lib %{!static:-rpath=~a/lib \
105%{!static-libgcc:-rpath=~a/lib64 -rpath=~a/lib}} \" ~a~%" 109%{!static-libgcc:-rpath=~a/lib64 -rpath=~a/lib}} \" ~a"
106 libc libc out out suffix)) 110 libc libc out out suffix))
107 (("#define STARTFILE_SPEC.*$" line) 111 (("#define STARTFILE_SPEC.*$" line)
108 (format #f "#define STANDARD_STARTFILE_PREFIX_1 \"~a/lib\" 112 (format #f "#define STANDARD_STARTFILE_PREFIX_1 \"~a/lib\"
@@ -132,6 +136,14 @@
132 "install")))) 136 "install"))))
133 %standard-phases))))) 137 %standard-phases)))))
134 138
139 (native-search-paths
140 (list (search-path-specification
141 (variable "CPATH")
142 (directories '("include")))
143 (search-path-specification
144 (variable "LIBRARY_PATH")
145 (directories '("lib" "lib64")))))
146
135 (properties `((gcc-libc . ,(assoc-ref inputs "libc")))) 147 (properties `((gcc-libc . ,(assoc-ref inputs "libc"))))
136 (synopsis "GNU Compiler Collection") 148 (synopsis "GNU Compiler Collection")
137 (description 149 (description
@@ -144,6 +156,18 @@ used in the GNU system including the GNU/Linux variant.")
144 (license gpl3+) 156 (license gpl3+)
145 (home-page "http://gcc.gnu.org/")))) 157 (home-page "http://gcc.gnu.org/"))))
146 158
159(define-public gcc-4.8
160 ;; FIXME: Move to gcc.scm when Binutils is updated.
161 (package (inherit gcc-4.7)
162 (version "4.8.0")
163 (source (origin
164 (method url-fetch)
165 (uri (string-append "mirror://gnu/gcc/gcc-"
166 version "/gcc-" version ".tar.bz2"))
167 (sha256
168 (base32
169 "0b6cp9d1sas3vq6dj3zrgd134p9b569fqhbixb9cl7mp698zwdxh"))))))
170
147(define-public isl 171(define-public isl
148 (package 172 (package
149 (name "isl") 173 (name "isl")
diff --git a/gnu/packages/ghostscript.scm b/gnu/packages/ghostscript.scm
index 2c58bca0bd9..1f4aa2f77ab 100644
--- a/gnu/packages/ghostscript.scm
+++ b/gnu/packages/ghostscript.scm
@@ -171,3 +171,45 @@ It consists of a PostScript interpreter layer, and a graphics
171library.") 171library.")
172 (license license:gpl3+) 172 (license license:gpl3+)
173 (home-page "http://www.gnu.org/software/ghostscript/"))) 173 (home-page "http://www.gnu.org/software/ghostscript/")))
174
175(define-public gs-fonts
176 (package
177 (name "gs-fonts")
178 (version "8.11")
179 (source (origin
180 (method url-fetch)
181 (uri (string-append "mirror://sourceforge/gs-fonts/gs-fonts/"
182 version
183 "%20%28base%2035%2C%20GPL%29/ghostscript-fonts-std-"
184 version
185 ".tar.gz"))
186 (sha256 (base32
187 "00f4l10xd826kak51wsmaz69szzm2wp8a41jasr4jblz25bg7dhf"))))
188 (build-system gnu-build-system)
189 (arguments
190 `(#:tests? #f ; nothing to check, just files to copy
191 #:modules ((guix build gnu-build-system)
192 (guix build utils)
193 (srfi srfi-1)) ; for alist-delete
194 #:phases
195 (alist-delete
196 'configure
197 (alist-delete
198 'build
199 (alist-replace
200 'install
201 (lambda* (#:key outputs #:allow-other-keys)
202 (let* ((out (assoc-ref outputs "out"))
203 (dir (string-append out "/share/fonts/type1/ghostscript")))
204 (mkdir-p dir)
205 (for-each
206 (lambda (file)
207 (copy-file file (string-append dir "/" file)))
208 (find-files "." "pfb|afm"))))
209 %standard-phases)))))
210 (synopsis "free replacements for the PostScript fonts")
211 (description
212 "gs-fonts provides fonts and font metrics customarily distributed with
213Ghostscript. It currently includes the 35 standard PostScript fonts.")
214 (license license:gpl2)
215 (home-page "http://sourceforge.net/projects/gs-fonts/")))
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index d594a1b0682..f951fe7b713 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -1,6 +1,7 @@
1;;; GNU Guix --- Functional package management for GNU 1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
3;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org> 2;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org>
3;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
4;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
4;;; 5;;;
5;;; This file is part of GNU Guix. 6;;; This file is part of GNU Guix.
6;;; 7;;;
@@ -18,7 +19,8 @@
18;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. 19;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
19 20
20(define-module (gnu packages glib) 21(define-module (gnu packages glib)
21 #:use-module ((guix licenses) #:select (lgpl2.0+ gpl2+ gpl2)) 22 #:use-module ((guix licenses)
23 #:renamer (symbol-prefix-proc 'license:))
22 #:use-module (guix packages) 24 #:use-module (guix packages)
23 #:use-module (guix download) 25 #:use-module (guix download)
24 #:use-module (guix build-system gnu) 26 #:use-module (guix build-system gnu)
@@ -28,11 +30,10 @@
28 #:use-module ((gnu packages gettext) 30 #:use-module ((gnu packages gettext)
29 #:renamer (symbol-prefix-proc 'guix:)) 31 #:renamer (symbol-prefix-proc 'guix:))
30 #:use-module (gnu packages libffi) 32 #:use-module (gnu packages libffi)
33 #:use-module (gnu packages perl)
31 #:use-module (gnu packages pkg-config) 34 #:use-module (gnu packages pkg-config)
32 #:use-module (gnu packages python) 35 #:use-module (gnu packages python)
33 #:use-module (gnu packages perl) 36 #:use-module (gnu packages xml))
34 #:use-module ((gnu packages xml)
35 #:renamer (symbol-prefix-proc 'xml:)))
36 37
37(define-public dbus 38(define-public dbus
38 (package 39 (package
@@ -48,7 +49,7 @@
48 "1wacqyfkcpayg7f8rvx9awqg275n5pksxq5q7y21lxjx85x6pfjz")))) 49 "1wacqyfkcpayg7f8rvx9awqg275n5pksxq5q7y21lxjx85x6pfjz"))))
49 (build-system gnu-build-system) 50 (build-system gnu-build-system)
50 (inputs 51 (inputs
51 `(("expat" ,xml:expat) 52 `(("expat" ,expat)
52 ("pkg-config" ,pkg-config))) 53 ("pkg-config" ,pkg-config)))
53 (home-page "http://dbus.freedesktop.org/") 54 (home-page "http://dbus.freedesktop.org/")
54 (synopsis "Message bus for inter-process communication (IPC)") 55 (synopsis "Message bus for inter-process communication (IPC)")
@@ -68,7 +69,7 @@ to communicate directly (without going through the message bus
68daemon). Currently the communicating applications are on one computer, 69daemon). Currently the communicating applications are on one computer,
69or through unencrypted TCP/IP suitable for use behind a firewall with 70or through unencrypted TCP/IP suitable for use behind a firewall with
70shared NFS home directories.") 71shared NFS home directories.")
71 (license gpl2+))) ; or Academic Free License 2.1 72 (license license:gpl2+))) ; or Academic Free License 2.1
72 73
73(define-public glib 74(define-public glib
74 (package 75 (package
@@ -126,43 +127,32 @@ shared NFS home directories.")
126and interfaces for such runtime functionality as an event loop, threads, 127and interfaces for such runtime functionality as an event loop, threads,
127dynamic loading, and an object system.") 128dynamic loading, and an object system.")
128 (home-page "http://developer.gnome.org/glib/") 129 (home-page "http://developer.gnome.org/glib/")
129 (license lgpl2.0+))) ; some files are under lgpl2.1+ 130 (license license:lgpl2.0+))) ; some files are under lgpl2.1+
130 131
131(define-public intltool 132(define-public intltool
132 (package 133 (package
133 (name "intltool") 134 (name "intltool")
134 (version "0.40.6") 135 (version "0.50.2")
135 (source (origin 136 (source (origin
136 (method url-fetch) 137 (method url-fetch)
137 (uri (string-append 138 (uri (string-append "https://launchpad.net/intltool/trunk/"
138 "mirror://gnome/sources/intltool/0.40/intltool-" 139 version "/+download/intltool-"
139 version 140 version ".tar.gz"))
140 ".tar.bz2"))
141 (sha256 141 (sha256
142 (base32 142 (base32
143 "0r1vkvy5xzqk01yl6a0xlrry39bra24alkrx6279b77hc62my7jd")))) 143 "01j4yd7i84n9nk4ccs6yifg84pp68nr9by57jdbhj7dpdxf5rwk7"))))
144 (build-system gnu-build-system) 144 (build-system gnu-build-system)
145 (arguments
146 '(#:phases (alist-cons-before
147 'configure 'set-perl-path
148 (lambda* (#:key inputs #:allow-other-keys)
149 ;; FIXME: Remove this phase when proper support for search
150 ;; paths is available.
151 (let ((xml-parser (assoc-ref inputs "perl-xml-parser")))
152 (setenv "PERL5LIB"
153 (string-append xml-parser
154 "/lib/perl5/site_perl"))
155 #t))
156 %standard-phases)))
157 (native-inputs `(("pkg-config" ,pkg-config)))
158 (propagated-inputs 145 (propagated-inputs
159 `(("gettext" ,guix:gettext) 146 `(;; Propagate gettext because users expect it to be there, and so does
160 ("perl-xml-parser" ,xml:perl-xml-parser) 147 ;; the `intltool-update' script.
148 ("gettext" ,guix:gettext)
149
150 ("perl-xml-parser" ,perl-xml-parser)
161 ("perl" ,perl))) 151 ("perl" ,perl)))
162 (home-page "http://freedesktop.org/wiki/Software/intltool") 152 (home-page "https://launchpad.net/intltool/+download")
163 (synopsis "Tools to centralize translation of many different file formats") 153 (synopsis "Tools to centralise translations of different file formats")
164 (description 154 (description
165 "intltool is a set of tools to centralize translation of many different 155 "intltool is a set of tools to centralise translations of many different
166file formats using GNU gettext-compatible PO files. 156file formats using GNU gettext-compatible PO files.
167 157
168The intltool collection can be used to do these things: 158The intltool collection can be used to do these things:
@@ -175,4 +165,4 @@ The intltool collection can be used to do these things:
175 165
176 Merge back the translations from .po files into .xml, .desktop and 166 Merge back the translations from .po files into .xml, .desktop and
177 oaf files. This merge step will happen at build resp. installation time.") 167 oaf files. This merge step will happen at build resp. installation time.")
178 (license gpl2))) 168 (license license:gpl2+)))
diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index e0896ec6e80..c8604f88f44 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -88,6 +88,11 @@
88 ;; When cross-compiling, a native version of Guile itself is needed. 88 ;; When cross-compiling, a native version of Guile itself is needed.
89 (self-native-input? #t) 89 (self-native-input? #t)
90 90
91 (native-search-paths
92 (list (search-path-specification
93 (variable "GUILE_LOAD_PATH")
94 (directories '("share/guile/site")))))
95
91 (synopsis "Scheme implementation intended especially for extensions") 96 (synopsis "Scheme implementation intended especially for extensions")
92 (description 97 (description
93"GNU Guile 1.8 is an interpreter for the Scheme programming language, 98"GNU Guile 1.8 is an interpreter for the Scheme programming language,
@@ -137,6 +142,14 @@ extensible. It supports many SRFIs.")
137 (string-append bash "/bin/bash"))))) 142 (string-append bash "/bin/bash")))))
138 %standard-phases))) 143 %standard-phases)))
139 144
145 (native-search-paths
146 (list (search-path-specification
147 (variable "GUILE_LOAD_PATH")
148 (directories '("share/guile/site/2.0")))
149 (search-path-specification
150 (variable "GUILE_LOAD_COMPILED_PATH")
151 (directories '("share/guile/site/2.0")))))
152
140 (synopsis "Scheme implementation intended especially for extensions") 153 (synopsis "Scheme implementation intended especially for extensions")
141 (description 154 (description
142"GNU Guile is an implementation of the Scheme programming language, with 155"GNU Guile is an implementation of the Scheme programming language, with
@@ -151,15 +164,7 @@ call interface, and powerful string processing.")
151(define-public guile-2.0/fixed 164(define-public guile-2.0/fixed
152 ;; A package of Guile 2.0 that's rarely changed. It is the one used 165 ;; A package of Guile 2.0 that's rarely changed. It is the one used
153 ;; in the `base' module, and thus changing it entails a full rebuild. 166 ;; in the `base' module, and thus changing it entails a full rebuild.
154 (package (inherit guile-2.0) 167 guile-2.0)
155 (version "2.0.7")
156 (source (origin
157 (method url-fetch)
158 (uri (string-append "mirror://gnu/guile/guile-" version
159 ".tar.xz"))
160 (sha256
161 (base32
162 "0f53pxkia4v17n0avwqlcjpy0n89hkazm2xsa6p84lv8k6k8y9vg"))))))
163 168
164 169
165;;; 170;;;
diff --git a/gnu/packages/lesstif.scm b/gnu/packages/lesstif.scm
new file mode 100644
index 00000000000..d15549454f9
--- /dev/null
+++ b/gnu/packages/lesstif.scm
@@ -0,0 +1,50 @@
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
3;;;
4;;; This file is part of GNU Guix.
5;;;
6;;; GNU Guix is free software; you can redistribute it and/or modify it
7;;; under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 3 of the License, or (at
9;;; your option) any later version.
10;;;
11;;; GNU Guix is distributed in the hope that it will be useful, but
12;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
18
19(define-module (gnu packages lesstif)
20 #:use-module ((guix licenses)
21 #:renamer (symbol-prefix-proc 'license:))
22 #:use-module (guix packages)
23 #:use-module (guix download)
24 #:use-module (guix build-system gnu)
25 #:use-module (gnu packages xorg))
26
27
28(define-public lesstif
29 (package
30 (name "lesstif")
31 (version "0.95.2")
32 (source
33 (origin
34 (method url-fetch)
35 (uri (string-append
36 "mirror://sourceforge/lesstif/lesstif/" version
37 "/lesstif-" version ".tar.bz2"))
38 (sha256
39 (base32
40 "1qzpxjjf7ri1jzv71mvq5m9g8hfaj5yzwp30rwxlm6n2b24a6jpb"))))
41 (build-system gnu-build-system)
42 (propagated-inputs
43 `(("printproto" ,printproto)))
44 (inputs
45 `(("libxext" ,libxext)
46 ("libxt" ,libxt)))
47 (home-page "http://lesstif.sourceforge.net/")
48 (synopsis "Clone of the Motif toolkit for the X window system")
49 (description "Clone of the Motif toolkit for the X window system")
50 (license license:gpl2+))) ; some files are lgpl2.1+ or x11
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index ca4ca563a34..91f7125e8ad 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -31,18 +31,25 @@
31 #:use-module (guix download) 31 #:use-module (guix download)
32 #:use-module (guix build-system gnu)) 32 #:use-module (guix build-system gnu))
33 33
34(define-public (system->linux-architecture arch)
35 "Return the Linux architecture name for ARCH, a Guix system name such as
36\"x86_64-linux\"."
37 (let ((arch (car (string-split arch #\-))))
38 (cond ((string=? arch "i686") "i386")
39 ((string-prefix? "mips" arch) "mips")
40 ((string-prefix? "arm" arch) "arm")
41 (else arch))))
42
34(define-public linux-libre-headers 43(define-public linux-libre-headers
35 (let* ((version* "3.3.8") 44 (let* ((version* "3.3.8")
36 (build-phase 45 (build-phase
37 '(lambda* (#:key system #:allow-other-keys) 46 (lambda (arch)
38 (let ((arch (car (string-split system #\-)))) 47 `(lambda _
39 (setenv "ARCH" 48 (setenv "ARCH" ,(system->linux-architecture arch))
40 (cond ((string=? arch "i686") "i386") 49 (format #t "`ARCH' set to `~a'~%" (getenv "ARCH"))
41 (else arch)))
42 (format #t "`ARCH' set to `~a'~%" (getenv "ARCH")))
43 50
44 (and (zero? (system* "make" "defconfig")) 51 (and (zero? (system* "make" "defconfig"))
45 (zero? (system* "make" "mrproper" "headers_check"))))) 52 (zero? (system* "make" "mrproper" "headers_check"))))))
46 (install-phase 53 (install-phase
47 `(lambda* (#:key outputs #:allow-other-keys) 54 `(lambda* (#:key outputs #:allow-other-keys)
48 (let ((out (assoc-ref outputs "out"))) 55 (let ((out (assoc-ref outputs "out")))
@@ -73,7 +80,7 @@
73 (guix build utils) 80 (guix build utils)
74 (srfi srfi-1)) 81 (srfi srfi-1))
75 #:phases (alist-replace 82 #:phases (alist-replace
76 'build ,build-phase 83 'build ,(build-phase (%current-system))
77 (alist-replace 84 (alist-replace
78 'install ,install-phase 85 'install ,install-phase
79 (alist-delete 'configure %standard-phases))) 86 (alist-delete 'configure %standard-phases)))
diff --git a/gnu/packages/make-bootstrap.scm b/gnu/packages/make-bootstrap.scm
index 40e3e212108..de4e0dcbebc 100644
--- a/gnu/packages/make-bootstrap.scm
+++ b/gnu/packages/make-bootstrap.scm
@@ -324,7 +324,10 @@
324 (string-append incdir "/asm-generic")) 324 (string-append incdir "/asm-generic"))
325 #t)))) 325 #t))))
326 (inputs `(("libc" ,glibc) 326 (inputs `(("libc" ,glibc)
327 ("linux-headers" ,linux-libre-headers)))))) 327 ("linux-headers" ,linux-libre-headers)))
328
329 ;; Only one output.
330 (outputs '("out")))))
328 331
329(define %gcc-static 332(define %gcc-static
330 ;; A statically-linked GCC, with stripped-down functionality. 333 ;; A statically-linked GCC, with stripped-down functionality.
diff --git a/gnu/packages/multiprecision.scm b/gnu/packages/multiprecision.scm
index a6130dccfaf..19c32352b3d 100644
--- a/gnu/packages/multiprecision.scm
+++ b/gnu/packages/multiprecision.scm
@@ -27,18 +27,15 @@
27(define-public gmp 27(define-public gmp
28 (package 28 (package
29 (name "gmp") 29 (name "gmp")
30 (version "5.1.0") 30 (version "5.1.1")
31 (source (origin 31 (source (origin
32 (method url-fetch) 32 (method url-fetch)
33 (uri 33 (uri
34 ;; Note: this version is not available from GNU mirrors 34 (string-append "mirror://gnu/gmp/gmp-"
35 ;; because it was made with an Automake affected by 35 version ".tar.xz"))
36 ;; CVE-2012-3386.
37 (string-append "ftp://ftp.gmplib.org/pub/gmp-"
38 version "/gmp-" version ".tar.bz2"))
39 (sha256 36 (sha256
40 (base32 37 (base32
41 "15n7xxgasbxdch8ii8z9ic6fxc2ysk3q8iavf55abjp5iylspnfz")))) 38 "1hili06lcf0clg5qfvz7knm6pmj6ab54yhsvskp1mdny5xw4vmjb"))))
42 (build-system gnu-build-system) 39 (build-system gnu-build-system)
43 (native-inputs `(("m4" ,m4))) 40 (native-inputs `(("m4" ,m4)))
44 (arguments `(#:configure-flags 41 (arguments `(#:configure-flags
@@ -73,13 +70,13 @@ faster algorithms.")
73(define-public mpfr 70(define-public mpfr
74 (package 71 (package
75 (name "mpfr") 72 (name "mpfr")
76 (version "3.1.1") 73 (version "3.1.2")
77 (source (origin 74 (source (origin
78 (method url-fetch) 75 (method url-fetch)
79 (uri (string-append "mirror://gnu/mpfr/mpfr-" version 76 (uri (string-append "mirror://gnu/mpfr/mpfr-" version
80 ".tar.xz")) 77 ".tar.xz"))
81 (sha256 (base32 78 (sha256 (base32
82 "0ym1ylcq803n52qrggxqmkz66gbn8ncc3ybawal31v5y5p1srma9")))) 79 "0fs501qi8l523gs3cpy4jjcnvwxggyfbklcys80wq236xx3hz79r"))))
83 (build-system gnu-build-system) 80 (build-system gnu-build-system)
84 (propagated-inputs `(("gmp" ,gmp))) ; <mpfr.h> refers to <gmp.h> 81 (propagated-inputs `(("gmp" ,gmp))) ; <mpfr.h> refers to <gmp.h>
85 (synopsis "C library for arbitrary precision floating-point arithmetic") 82 (synopsis "C library for arbitrary precision floating-point arithmetic")
diff --git a/gnu/packages/openldap.scm b/gnu/packages/openldap.scm
index d2525a63108..a4a28ccf1b1 100644
--- a/gnu/packages/openldap.scm
+++ b/gnu/packages/openldap.scm
@@ -55,7 +55,7 @@
55 ("libtool" ,libtool "bin") 55 ("libtool" ,libtool "bin")
56 ("zlib" ,zlib))) 56 ("zlib" ,zlib)))
57 (arguments 57 (arguments
58 `(#:parallel-tests? #f 58 `(#:tests? #f
59 #:phases 59 #:phases
60 (alist-replace 60 (alist-replace
61 'configure 61 'configure
@@ -63,19 +63,7 @@
63 (let ((configure (assoc-ref %standard-phases 'configure))) 63 (let ((configure (assoc-ref %standard-phases 'configure)))
64 (apply configure args) 64 (apply configure args)
65 (copy-file (which "libtool") "libtool"))) 65 (copy-file (which "libtool") "libtool")))
66 (alist-replace 66 %standard-phases)))
67 'check
68 (lambda* (#:key #:allow-other-keys #:rest args)
69 (let ((check (assoc-ref %standard-phases 'check)))
70 (for-each (lambda (f)
71 (substitute* (string-append "tests/scripts/" f)
72 (("/bin/rm") "rm")))
73 '("all" "its-all" "passwd-search" "sql-all" "test027-emptydn"))
74 ;; disable especially finicky tests
75 (delete-file "tests/scripts/test058-syncrepl-asymmetric")
76 (delete-file "tests/scripts/test061-syncreplication-initiation")
77 (apply check args)))
78 %standard-phases))))
79 (synopsis "openldap, an implementation of the Lightweight Directory Access Protocol") 67 (synopsis "openldap, an implementation of the Lightweight Directory Access Protocol")
80 (description 68 (description
81 "OpenLDAP is a free implementation of the Lightweight Directory Access Protocol.") 69 "OpenLDAP is a free implementation of the Lightweight Directory Access Protocol.")
diff --git a/gnu/packages/patches/gcc-cross-environment-variables.patch b/gnu/packages/patches/gcc-cross-environment-variables.patch
new file mode 100644
index 00000000000..30a07ec3dbf
--- /dev/null
+++ b/gnu/packages/patches/gcc-cross-environment-variables.patch
@@ -0,0 +1,24 @@
1Search path environment variables for cross-compilers. See the discussion
2at <http://gcc.gnu.org/ml/gcc/2013-02/msg00124.html>.
3
4--- gcc-4.7.2/gcc/incpath.c 2012-01-27 00:34:58.000000000 +0100
5+++ gcc-4.7.2/gcc/incpath.c 2013-02-12 10:11:27.000000000 +0100
6@@ -452,7 +452,7 @@ register_include_chains (cpp_reader *pfi
7
8 /* CPATH and language-dependent environment variables may add to the
9 include chain. */
10- add_env_var_paths ("CPATH", BRACKET);
11+ add_env_var_paths ("CROSS_CPATH", BRACKET);
12 add_env_var_paths (lang_env_vars[idx], SYSTEM);
13
14 target_c_incpath.extra_pre_includes (sysroot, iprefix, stdinc);
15
16--- gcc-4.7.2/gcc/system.h 2012-02-17 00:16:28.000000000 +0100
17+++ gcc-4.7.2/gcc/system.h 2013-02-12 10:22:17.000000000 +0100
18@@ -1023,4 +1023,6 @@ helper_const_non_const_cast (const char
19 #define DEBUG_VARIABLE
20 #endif
21
22+#define LIBRARY_PATH_ENV "CROSS_LIBRARY_PATH"
23+
24 #endif /* ! GCC_SYSTEM_H */
diff --git a/gnu/packages/patches/python-fix-dbm.patch b/gnu/packages/patches/python-fix-dbm.patch
new file mode 100644
index 00000000000..29e4521f3f0
--- /dev/null
+++ b/gnu/packages/patches/python-fix-dbm.patch
@@ -0,0 +1,20 @@
1This patch allows the dbm module to be built using the compatibility mode of
2gdbm. It will not be needed any more with Python 2.7.4.
3--- setup.py 2013-04-06 00:53:37.000000000 +0200
4+++ setup.py.new 2013-04-06 19:55:05.000000000 +0200
5@@ -1158,10 +1158,14 @@
6 for cand in dbm_order:
7 if cand == "ndbm":
8 if find_file("ndbm.h", inc_dirs, []) is not None:
9- # Some systems have -lndbm, others don't
10+ # Some systems have -lndbm, some have -lgdbm_compat,
11+ # others have no particular linker flags.
12 if self.compiler.find_library_file(lib_dirs,
13 'ndbm'):
14 ndbm_libs = ['ndbm']
15+ elif self.compiler.find_library_file(lib_dirs,
16+ 'gdbm_compat'):
17+ ndbm_libs = ['gdbm_compat']
18 else:
19 ndbm_libs = []
20 print "building dbm using ndbm"
diff --git a/gnu/packages/patches/xpdf-constchar.patch b/gnu/packages/patches/xpdf-constchar.patch
new file mode 100644
index 00000000000..95dbe73c716
--- /dev/null
+++ b/gnu/packages/patches/xpdf-constchar.patch
@@ -0,0 +1,15 @@
1This patch circumvents an error with 'const char *' to 'char *' conversion,
2see http://gnats.netbsd.org/45562 .
3
4diff -u a/xpdf/XPDFViewer.cc b/xpdf/XPDFViewer.cc
5--- a/xpdf/XPDFViewer.cc 2011-08-15 23:08:53.000000000 +0200
6+++ b/xpdf/XPDFViewer.cc 2013-03-31 15:13:21.000000000 +0200
7@@ -1803,7 +1803,7 @@
8 menuPane = XmCreatePulldownMenu(toolBar, "zoomMenuPane", args, n);
9 for (i = 0; i < nZoomMenuItems; ++i) {
10 n = 0;
11- s = XmStringCreateLocalized(zoomMenuInfo[i].label);
12+ s = XmStringCreateLocalized((char *) zoomMenuInfo[i].label);
13 XtSetArg(args[n], XmNlabelString, s); ++n;
14 XtSetArg(args[n], XmNuserData, (XtPointer)i); ++n;
15 sprintf(buf, "zoom%d", i);
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 5a9d5133367..820a8792889 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -17,16 +17,21 @@
17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. 17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
18 18
19(define-module (gnu packages pdf) 19(define-module (gnu packages pdf)
20 #:use-module ((guix licenses) #:select (gpl2+)) 20 #:use-module ((guix licenses)
21 #:renamer (symbol-prefix-proc 'license:))
21 #:use-module (guix packages) 22 #:use-module (guix packages)
22 #:use-module (guix download) 23 #:use-module (guix download)
23 #:use-module (guix build-system gnu) 24 #:use-module (guix build-system gnu)
24 #:use-module (gnu packages) 25 #:use-module (gnu packages)
25 #:use-module (gnu packages compression) 26 #:use-module (gnu packages compression)
26 #:use-module (gnu packages fontutils) 27 #:use-module (gnu packages fontutils)
28 #:use-module (gnu packages ghostscript)
29 #:use-module (gnu packages lesstif)
27 #:use-module (gnu packages libjpeg) 30 #:use-module (gnu packages libjpeg)
31 #:use-module (gnu packages libpng)
28 #:use-module (gnu packages libtiff) 32 #:use-module (gnu packages libtiff)
29 #:use-module (gnu packages pkg-config)) 33 #:use-module (gnu packages pkg-config)
34 #:use-module (gnu packages xorg))
30 35
31(define-public poppler 36(define-public poppler
32 (package 37 (package
@@ -40,17 +45,74 @@
40 "1rmrspavldlpqi6g76fijcmshy80m0kxd01nc1dmy4id3h4las44")))) 45 "1rmrspavldlpqi6g76fijcmshy80m0kxd01nc1dmy4id3h4las44"))))
41 (build-system gnu-build-system) 46 (build-system gnu-build-system)
42 ;; FIXME: more dependencies could be added 47 ;; FIXME: more dependencies could be added
48 ;; cairo output: no (requires cairo >= 1.10.0)
49 ;; qt4 wrapper: no
50 ;; glib wrapper: no (requires cairo output)
51 ;; introspection: no
52 ;; use gtk-doc: no
53 ;; use libcurl: no
54 ;; use libopenjpeg: no
43 (inputs `(("fontconfig" ,fontconfig) 55 (inputs `(("fontconfig" ,fontconfig)
44 ("freetype" ,freetype) 56 ("freetype" ,freetype)
45 ("libjpeg-8" ,libjpeg-8) 57 ("libjpeg-8" ,libjpeg-8)
58 ("libpng" ,libpng)
46 ("libtiff" ,libtiff) 59 ("libtiff" ,libtiff)
47 ("pkg-config" ,pkg-config) 60 ("pkg-config" ,pkg-config)
48 ("zlib" ,zlib))) 61 ("zlib" ,zlib)))
49 (arguments 62 (arguments
50 `(#:tests? #f ; no test data provided with the tarball 63 `(#:tests? #f ; no test data provided with the tarball
51 #:configure-flags '("--enable-xpdf-headers"))) ; to install header files 64 #:configure-flags
65 '("--enable-xpdf-headers" ; to install header files
66 "--enable-zlib")))
52 (synopsis "Poppler, a pdf rendering library") 67 (synopsis "Poppler, a pdf rendering library")
53 (description 68 (description
54 "Poppler is a PDF rendering library based on the xpdf-3.0 code base.") 69 "Poppler is a PDF rendering library based on the xpdf-3.0 code base.")
55 (license gpl2+) 70 (license license:gpl2+)
56 (home-page "http://poppler.freedesktop.org/"))) 71 (home-page "http://poppler.freedesktop.org/")))
72
73(define-public xpdf
74 (package
75 (name "xpdf")
76 (version "3.03")
77 (source (origin
78 (method url-fetch)
79 (uri (string-append "ftp://ftp.foolabs.com/pub/xpdf/xpdf-"
80 version ".tar.gz"))
81 (sha256 (base32
82 "1jnfzdqc54wa73lw28kjv0m7120mksb0zkcn81jdlvijyvc67kq2"))))
83 (build-system gnu-build-system)
84 (inputs `(("freetype" ,freetype)
85 ("gs-fonts" ,gs-fonts)
86 ("lesstif" ,lesstif)
87 ("libpaper" ,libpaper)
88 ("libx11" ,libx11)
89 ("libxext" ,libxext)
90 ("libxp" ,libxp)
91 ("libxpm" ,libxpm)
92 ("libxt" ,libxt)
93 ("zlib" ,zlib)
94 ("patch/constchar"
95 ,(search-patch "xpdf-constchar.patch"))))
96 (arguments
97 `(#:tests? #f ; there is no check target
98 #:patches (list (assoc-ref %build-inputs
99 "patch/constchar"))
100 #:phases
101 (alist-replace
102 'install
103 (lambda* (#:key outputs inputs #:allow-other-keys #:rest args)
104 (let* ((install (assoc-ref %standard-phases 'install))
105 (out (assoc-ref outputs "out"))
106 (xpdfrc (string-append out "/etc/xpdfrc"))
107 (gs-fonts (assoc-ref inputs "gs-fonts")))
108 (apply install args)
109 (substitute* xpdfrc
110 (("/usr/local/share/ghostscript/fonts")
111 (string-append gs-fonts "/share/fonts/type1/ghostscript"))
112 (("#fontFile") "fontFile"))))
113 %standard-phases)))
114 (synopsis "Viewer for pdf files based on the Motif toolkit.")
115 (description
116 "Xpdf is a viewer for Portable Document Format (PDF) files")
117 (license license:gpl3) ; or gpl2, but not gpl2+
118 (home-page "http://www.foolabs.com/xpdf/")))
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 624d2280590..c677a1b7e2c 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -63,6 +63,9 @@
63 (string-append "-Dloclibpth=" libc "/lib"))))) 63 (string-append "-Dloclibpth=" libc "/lib")))))
64 %standard-phases))) 64 %standard-phases)))
65 (inputs `(("patch/no-sys-dirs" ,(search-patch "perl-no-sys-dirs.patch")))) 65 (inputs `(("patch/no-sys-dirs" ,(search-patch "perl-no-sys-dirs.patch"))))
66 (native-search-paths (list (search-path-specification
67 (variable "PERL5LIB")
68 (directories '("lib/perl5/site_perl")))))
66 (synopsis "Implementation of the Perl programming language") 69 (synopsis "Implementation of the Perl programming language")
67 (description 70 (description
68 "Perl 5 is a highly capable, feature-rich programming language with over 71 "Perl 5 is a highly capable, feature-rich programming language with over
diff --git a/gnu/packages/pkg-config.scm b/gnu/packages/pkg-config.scm
index 0910a410ee3..294163b474a 100644
--- a/gnu/packages/pkg-config.scm
+++ b/gnu/packages/pkg-config.scm
@@ -36,6 +36,11 @@
36 "05wc5nwkqz7saj2v33ydmz1y6jdg659dll4jjh91n41m63gx0qsg")))) 36 "05wc5nwkqz7saj2v33ydmz1y6jdg659dll4jjh91n41m63gx0qsg"))))
37 (build-system gnu-build-system) 37 (build-system gnu-build-system)
38 (arguments `(#:configure-flags '("--with-internal-glib"))) 38 (arguments `(#:configure-flags '("--with-internal-glib")))
39 (native-search-paths
40 (list (search-path-specification
41 (variable "PKG_CONFIG_PATH")
42 (directories '("lib/pkgconfig" "lib64/pkgconfig"
43 "share/pkgconfig")))))
39 (home-page "http://www.freedesktop.org/wiki/Software/pkg-config") 44 (home-page "http://www.freedesktop.org/wiki/Software/pkg-config")
40 (license gpl2+) 45 (license gpl2+)
41 (synopsis "a helper tool used when compiling applications and 46 (synopsis "a helper tool used when compiling applications and
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 8b4515930e5..4dff1b4475d 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -67,6 +67,10 @@
67 ("openssl" ,openssl) 67 ("openssl" ,openssl)
68 ("readline" ,readline) 68 ("readline" ,readline)
69 ("zlib" ,zlib))) 69 ("zlib" ,zlib)))
70 (native-search-paths
71 (list (search-path-specification
72 (variable "PYTHONPATH")
73 (directories '("lib/python2.7/site-packages")))))
70 (home-page "http://python.org") 74 (home-page "http://python.org")
71 (synopsis 75 (synopsis
72 "Python, a high-level dynamically-typed programming language") 76 "Python, a high-level dynamically-typed programming language")
diff --git a/gnu/packages/ratpoison.scm b/gnu/packages/ratpoison.scm
new file mode 100644
index 00000000000..30e6c224d61
--- /dev/null
+++ b/gnu/packages/ratpoison.scm
@@ -0,0 +1,71 @@
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org>
3;;;
4;;; This file is part of GNU Guix.
5;;;
6;;; GNU Guix is free software; you can redistribute it and/or modify it
7;;; under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 3 of the License, or (at
9;;; your option) any later version.
10;;;
11;;; GNU Guix is distributed in the hope that it will be useful, but
12;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
18
19(define-module (gnu packages ratpoison)
20 #:use-module (guix packages)
21 #:use-module (guix download)
22 #:use-module (guix build-system gnu)
23 #:use-module ((guix licenses) #:select (gpl2+))
24 #:use-module (gnu packages xorg)
25 #:use-module (gnu packages perl)
26 #:use-module (gnu packages readline)
27 #:use-module (gnu packages pkg-config)
28 #:use-module (gnu packages fontutils))
29
30(define-public ratpoison
31 (package
32 (name "ratpoison")
33 (version "1.4.6")
34 (source (origin
35 (method url-fetch)
36 (uri (string-append "mirror://savannah/ratpoison/ratpoison-"
37 version ".tar.xz"))
38 (sha256
39 (base32
40 "0v4mh8d3vsh5xbbycfdl3g8zfygi1rkslh1x7k5hi1d05bfq3cdr"))))
41 (build-system gnu-build-system)
42 (inputs
43 `(("perl" ,perl)
44 ("pkg-config" ,pkg-config)
45 ("libXi" ,libxi)
46 ("readline" ,readline)
47 ("xextproto" ,xextproto)
48 ("libXtst" ,libxtst)
49 ("freetype" ,freetype)
50 ("fontconfig" ,fontconfig)
51 ("libXft" ,libxft)
52 ("libXpm" ,libxpm)
53 ("libXt" ,libxt)
54 ("inputproto" ,inputproto)
55 ("libX11" ,libx11)))
56 (home-page "http://www.nongnu.org/ratpoison/")
57 (synopsis "A simple mouse-free tiling window manager")
58 (description
59 "Ratpoison is a simple window manager with no fat library
60dependencies, no fancy graphics, no window decorations, and no
61rodent dependence. It is largely modelled after GNU Screen which
62has done wonders in the virtual terminal market.
63
64The screen can be split into non-overlapping frames. All windows
65are kept maximized inside their frames to take full advantage of
66your precious screen real estate.
67
68All interaction with the window manager is done through keystrokes.
69Ratpoison has a prefix map to minimize the key clobbering that
70cripples Emacs and other quality pieces of software.")
71 (license gpl2+)))
diff --git a/gnu/packages/texlive.scm b/gnu/packages/texlive.scm
index 8ea78de8735..090d342054e 100644
--- a/gnu/packages/texlive.scm
+++ b/gnu/packages/texlive.scm
@@ -33,6 +33,7 @@
33 #:use-module (gnu packages pkg-config) 33 #:use-module (gnu packages pkg-config)
34 #:use-module (gnu packages python) 34 #:use-module (gnu packages python)
35 #:use-module (gnu packages tcsh) 35 #:use-module (gnu packages tcsh)
36 #:use-module (gnu packages xorg)
36 #:use-module (gnu packages zip)) 37 #:use-module (gnu packages zip))
37 38
38(define texlive-extra-src 39(define texlive-extra-src
@@ -66,6 +67,8 @@
66 ("icu4c" ,icu4c) 67 ("icu4c" ,icu4c)
67 ("ghostscript" ,ghostscript) 68 ("ghostscript" ,ghostscript)
68 ("libpng" ,libpng) 69 ("libpng" ,libpng)
70 ("libxaw" ,libxaw)
71 ("libxt" ,libxt)
69 ("perl" ,perl) 72 ("perl" ,perl)
70 ("poppler" ,poppler) 73 ("poppler" ,poppler)
71 ("pkg-config" ,pkg-config) 74 ("pkg-config" ,pkg-config)
@@ -88,7 +91,6 @@
88 ,(string-append "--datarootdir=" (assoc-ref %outputs "data")) 91 ,(string-append "--datarootdir=" (assoc-ref %outputs "data"))
89 ,(string-append "--infodir=" (assoc-ref %outputs "out") "/share/info") 92 ,(string-append "--infodir=" (assoc-ref %outputs "out") "/share/info")
90 ,(string-append "--mandir=" (assoc-ref %outputs "out") "/share/man") 93 ,(string-append "--mandir=" (assoc-ref %outputs "out") "/share/man")
91 "--without-x" ; FIXME: Drop as soon as X is available.
92 "--with-system-freetype2" 94 "--with-system-freetype2"
93 ;; "--with-system-gd" 95 ;; "--with-system-gd"
94 ;; "--with-system-graphite" 96 ;; "--with-system-graphite"
diff --git a/gnu/packages/wget.scm b/gnu/packages/wget.scm
index 0436c0d8c34..4daa2d8a87a 100644
--- a/gnu/packages/wget.scm
+++ b/gnu/packages/wget.scm
@@ -43,13 +43,6 @@
43 `(("gnutls" ,gnutls) 43 `(("gnutls" ,gnutls)
44 ("perl" ,perl) 44 ("perl" ,perl)
45 ("gettext" ,guix:gettext))) 45 ("gettext" ,guix:gettext)))
46 (arguments
47 '(#:phases
48 (alist-cons-before 'build 'patch-/usr/bin/env
49 (lambda _
50 (for-each patch-shebang
51 '("doc/texi2pod.pl" "tests/run-px")))
52 %standard-phases)))
53 (home-page "http://www.gnu.org/software/wget/") 46 (home-page "http://www.gnu.org/software/wget/")
54 (synopsis "Non-interactive command-line utility for downloading files") 47 (synopsis "Non-interactive command-line utility for downloading files")
55 (description 48 (description
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index b5c40bef98f..524614b23f4 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -19,6 +19,7 @@
19 19
20(define-module (gnu packages xml) 20(define-module (gnu packages xml)
21 #:use-module (gnu packages) 21 #:use-module (gnu packages)
22 #:use-module (gnu packages compression)
22 #:use-module (gnu packages gnupg) 23 #:use-module (gnu packages gnupg)
23 #:use-module (gnu packages perl) 24 #:use-module (gnu packages perl)
24 #:use-module (gnu packages python) 25 #:use-module (gnu packages python)
@@ -64,7 +65,21 @@ things the parser might find in the XML document (like start tags).")
64 (home-page "http://www.xmlsoft.org/") 65 (home-page "http://www.xmlsoft.org/")
65 (synopsis "libxml2, a C parser for XML") 66 (synopsis "libxml2, a C parser for XML")
66 (inputs `(("perl" ,perl) 67 (inputs `(("perl" ,perl)
67 ("python" ,python))) 68 ("python" ,python)
69 ("zlib" ,zlib)))
70 (arguments
71 `(#:phases
72 (alist-replace
73 'install
74 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
75 (let ((install (assoc-ref %standard-phases 'install))
76 (glibc (assoc-ref inputs "libc"))
77 (out (assoc-ref outputs "out")))
78 (apply install args)
79 (chdir "python")
80 (substitute* "setup.py" (("/opt/include") (string-append glibc "/include")))
81 (system* "python" "setup.py" "install" (string-append "--prefix=" out))))
82 %standard-phases)))
68 (description 83 (description
69 "Libxml2 is the XML C parser and toolkit developed for the Gnome project 84 "Libxml2 is the XML C parser and toolkit developed for the Gnome project
70(but it is usable outside of the Gnome platform).") 85(but it is usable outside of the Gnome platform).")
@@ -86,7 +101,19 @@ things the parser might find in the XML document (like start tags).")
86 (synopsis "libxslt, a C library for applying XSLT stylesheets to XML documents") 101 (synopsis "libxslt, a C library for applying XSLT stylesheets to XML documents")
87 (inputs `(("libgcrypt" ,libgcrypt) 102 (inputs `(("libgcrypt" ,libgcrypt)
88 ("libxml2" ,libxml2) 103 ("libxml2" ,libxml2)
89 ("python" ,python))) 104 ("python" ,python)
105 ("zlib" ,zlib)))
106 (arguments
107 `(#:phases
108 (alist-replace
109 'configure
110 (lambda* (#:key inputs #:allow-other-keys #:rest args)
111 (let ((configure (assoc-ref %standard-phases 'configure))
112 (libxml2 (assoc-ref inputs "libxml2")))
113 ;; FIXME: This should be done more centrally.
114 (setenv "PYTHONPATH" (string-append libxml2 "/lib/python2.7/site-packages"))
115 (apply configure args)))
116 %standard-phases)))
90 (description 117 (description
91 "Libxslt is an XSLT C library developed for the GNOME project. It is 118 "Libxslt is an XSLT C library developed for the GNOME project. It is
92based on libxml for XML parsing, tree manipulation and XPath support.") 119based on libxml for XML parsing, tree manipulation and XPath support.")
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
new file mode 100644
index 00000000000..93e2da5d485
--- /dev/null
+++ b/gnu/packages/xorg.scm
@@ -0,0 +1,4869 @@
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
3;;;
4;;; This file is part of GNU Guix.
5;;;
6;;; GNU Guix is free software; you can redistribute it and/or modify it
7;;; under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 3 of the License, or (at
9;;; your option) any later version.
10;;;
11;;; GNU Guix is distributed in the hope that it will be useful, but
12;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
18
19(define-module (gnu packages xorg)
20 #:use-module ((guix licenses)
21 #:renamer (symbol-prefix-proc 'license:))
22 #:use-module (guix packages)
23 #:use-module (guix download)
24 #:use-module (guix build-system gnu)
25 #:use-module (gnu packages bison)
26 #:use-module (gnu packages compression)
27 #:use-module (gnu packages flex)
28 #:use-module (gnu packages fontutils)
29 #:use-module ((gnu packages gettext)
30 #:renamer (symbol-prefix-proc 'gnu:))
31 #:use-module (gnu packages glib)
32 #:use-module (gnu packages gperf)
33 #:use-module (gnu packages libpng)
34 #:use-module (gnu packages linux)
35 #:use-module (gnu packages m4)
36 #:use-module (gnu packages openssl)
37 #:use-module (gnu packages perl)
38 #:use-module (gnu packages pkg-config)
39 #:use-module (gnu packages python)
40 #:use-module (gnu packages xml))
41
42
43
44;; packages outside the x.org system proper
45
46(define-public xeyes
47 (package
48 (name "xeyes")
49 (version "1.0.1")
50 (source
51 (origin
52 (method url-fetch)
53 (uri (string-append
54 "http://xeyes.sourcearchive.com/downloads/1.0.1/xeyes_"
55 version
56 ".orig.tar.gz"))
57 (sha256
58 (base32
59 "04c3md570j67g55h3bix1qbngcslnq91skli51k3g1avki88zkm9"))))
60 (build-system gnu-build-system)
61 (inputs
62 `(("libxext" ,libxext)
63 ("libxmu" ,libxmu)
64 ("libxt" ,libxt)
65 ("pkg-config" ,pkg-config)))
66 (home-page "http://xeyes.sourcearchive.com/")
67 (synopsis "A follow the mouse X demo")
68 (description "Xeyes is a demo program for x.org. It shows eyes
69following the mouse.")
70 (license license:x11)))
71
72
73(define-public pixman
74 (package
75 (name "pixman")
76 (version "0.28.2")
77 (source
78 (origin
79 (method url-fetch)
80 (uri (string-append
81 "http://cairographics.org/releases/pixman-"
82 version
83 ".tar.gz"))
84 (sha256
85 (base32
86 "0mcvxd5gx3w1wzgph91l2vaiic91jmx7s01hi2igphyvd80ckyia"))))
87 (build-system gnu-build-system)
88 (inputs
89 `(("libpng" ,libpng)
90 ("pkg-config" ,pkg-config)
91 ("zlib" ,zlib)))
92 (home-page "http://www.pixman.org/")
93 (synopsis "pixman, a low-level pixel manipulation library")
94 (description "Pixman is a low-level software library for pixel
95manipulation, providing features such as image compositing and trapezoid
96rasterisation.")
97 (license license:x11)))
98
99
100(define-public libdrm
101 (package
102 (name "libdrm")
103 (version "2.4.42")
104 (source
105 (origin
106 (method url-fetch)
107 (uri (string-append
108 "http://dri.freedesktop.org/libdrm/libdrm-"
109 version
110 ".tar.bz2"))
111 (sha256
112 (base32
113 "1qbnpi64hyqzd650hj6jki1d50pzypdhj3rw9m3whwbqly110rz0"))))
114 (build-system gnu-build-system)
115 (inputs
116 `(("libpciaccess" ,libpciaccess)
117 ("libpthread-stubs" ,libpthread-stubs)
118 ("pkg-config" ,pkg-config)))
119 (home-page "http://dri.freedesktop.org/wiki/")
120 (synopsis "libdrm, direct rendering userspace library")
121 (description "The Direct Rendering Infrastructure, also known as the DRI,
122is a framework for allowing direct access to graphics hardware under the
123X Window System in a safe and efficient manner. It includes changes to the
124X server, to several client libraries, and to the kernel (DRM, Direct
125Rendering Manager). The most important use for the DRI is to create fast
126OpenGL implementations providing hardware acceleration for Mesa.
127Several 3D accelerated drivers have been written to the DRI specification,
128including drivers for chipsets produced by 3DFX, AMD (formerly ATI), Intel
129and Matrox.")
130 (license license:x11)))
131
132
133;; old version, required by old mesa, see
134;; http://www.mail-archive.com/nouveau@lists.freedesktop.org/msg10098.html
135(define-public libdrm-2.4.33
136 (package (inherit libdrm)
137 (version "2.4.33")
138 (source
139 (origin
140 (method url-fetch)
141 (uri (string-append
142 "http://dri.freedesktop.org/libdrm/libdrm-"
143 version
144 ".tar.bz2"))
145 (sha256
146 (base32
147 "1slgi61n4dlsfli47ql354fd1ppj7n40jd94wvnsdqx0mna9syrd"))))
148 (arguments
149 `(#:configure-flags
150 ;; create libdrm_nouveau.so, needed by mesa, see
151 ;; http://comments.gmane.org/gmane.linux.lfs.beyond.support/43261
152 `("--enable-nouveau-experimental-api")))))
153
154
155(define-public mtdev
156 (package
157 (name "mtdev")
158 (version "1.1.3")
159 (source
160 (origin
161 (method url-fetch)
162 (uri (string-append
163 "http://bitmath.org/code/mtdev/mtdev-"
164 version ".tar.bz2"))
165 (sha256
166 (base32
167 "159ndzwfpw0xr8mw4lhl47w9c2krshlfrscs7k6n186vknv2hk3d"))))
168 (build-system gnu-build-system)
169 (home-page "http://bitmath.org/code/mtdev/")
170 (synopsis "Multitouch protocol translation library")
171 (description "Mtdev is a stand-alone library which transforms all
172variants of kernel MT events to the slotted type B protocol. The events
173put into mtdev may be from any MT device, specifically type A without
174contact tracking, type A with contact tracking, or type B with contact
175tracking.")
176 (license license:x11)))
177
178
179
180 ;; packages without propagated input
181;; (rationale for this separation: The packages in PROPAGATED_INPUTS need to
182;; be defined first, the split makes book-keeping easier.)
183
184
185;; compiles only on macos
186;; (define-public applewmproto
187;; (package
188;; (name "applewmproto")
189;; (version "1.4.2")
190;; (source
191;; (origin
192;; (method url-fetch)
193;; (uri (string-append
194;; "mirror://xorg/X11R7.7/src/everything/applewmproto-"
195;; version
196;; ".tar.bz2"))
197;; (sha256
198;; (base32
199;; "1zi4p07mp6jmk030p4gmglwxcwp0lzs5mi31y1b4rp8lsqxdxizw"))))
200;; (build-system gnu-build-system)
201;; (inputs `(("pkg-config" ,pkg-config)))
202;; (home-page "http://www.x.org/wiki/")
203;; (synopsis "xorg implementation of the X Window System")
204;; (description "X.org provides an implementation of the X Window System")
205;; (license license:x11)))
206
207
208(define-public bdftopcf
209 (package
210 (name "bdftopcf")
211 (version "1.0.3")
212 (source
213 (origin
214 (method url-fetch)
215 (uri (string-append
216 "mirror://xorg/X11R7.7/src/everything/bdftopcf-"
217 version
218 ".tar.bz2"))
219 (sha256
220 (base32
221 "02hx981f7jfwylxj21s91yvv4h597nqqzz3vd6ar81zyn84b944w"))))
222 (build-system gnu-build-system)
223 (inputs
224 `(("libxfont" ,libxfont)
225 ("pkg-config" ,pkg-config)))
226 (home-page "http://www.x.org/wiki/")
227 (synopsis "xorg implementation of the X Window System")
228 (description "X.org provides an implementation of the X Window System")
229 (license license:x11)))
230
231
232(define-public bigreqsproto
233 (package
234 (name "bigreqsproto")
235 (version "1.1.2")
236 (source
237 (origin
238 (method url-fetch)
239 (uri (string-append
240 "mirror://xorg/X11R7.7/src/everything/bigreqsproto-"
241 version
242 ".tar.bz2"))
243 (sha256
244 (base32
245 "07hvfm84scz8zjw14riiln2v4w03jlhp756ypwhq27g48jmic8a6"))))
246 (build-system gnu-build-system)
247 (inputs `(("pkg-config" ,pkg-config)))
248 (home-page "http://www.x.org/wiki/")
249 (synopsis "xorg implementation of the X Window System")
250 (description "X.org provides an implementation of the X Window System")
251 (license license:x11)))
252
253
254(define-public compositeproto
255 (package
256 (name "compositeproto")
257 (version "0.4.2")
258 (source
259 (origin
260 (method url-fetch)
261 (uri (string-append
262 "mirror://xorg/X11R7.7/src/everything/compositeproto-"
263 version
264 ".tar.bz2"))
265 (sha256
266 (base32
267 "1z0crmf669hirw4s7972mmp8xig80kfndja9h559haqbpvq5k4q4"))))
268 (build-system gnu-build-system)
269 (inputs
270 `(("fixesproto" ,fixesproto)
271 ("pkg-config" ,pkg-config)))
272 (home-page "http://www.x.org/wiki/")
273 (synopsis "xorg implementation of the X Window System")
274 (description "X.org provides an implementation of the X Window System")
275 (license license:x11)))
276
277
278(define-public damageproto
279 (package
280 (name "damageproto")
281 (version "1.2.1")
282 (source
283 (origin
284 (method url-fetch)
285 (uri (string-append
286 "mirror://xorg/X11R7.7/src/everything/damageproto-"
287 version
288 ".tar.bz2"))
289 (sha256
290 (base32
291 "0nzwr5pv9hg7c21n995pdiv0zqhs91yz3r8rn3aska4ykcp12z2w"))))
292 (build-system gnu-build-system)
293 (inputs `(("pkg-config" ,pkg-config)))
294 (home-page "http://www.x.org/wiki/")
295 (synopsis "xorg implementation of the X Window System")
296 (description "X.org provides an implementation of the X Window System")
297 (license license:x11)))
298
299
300(define-public dmxproto
301 (package
302 (name "dmxproto")
303 (version "2.3.1")
304 (source
305 (origin
306 (method url-fetch)
307 (uri (string-append
308 "mirror://xorg/X11R7.7/src/everything/dmxproto-"
309 version
310 ".tar.bz2"))
311 (sha256
312 (base32
313 "02b5x9dkgajizm8dqyx2w6hmqx3v25l67mgf35nj6sz0lgk52877"))))
314 (build-system gnu-build-system)
315 (inputs `(("pkg-config" ,pkg-config)))
316 (home-page "http://www.x.org/wiki/")
317 (synopsis "xorg implementation of the X Window System")
318 (description "X.org provides an implementation of the X Window System")
319 (license license:x11)))
320
321
322(define-public dri2proto
323 (package
324 (name "dri2proto")
325 (version "2.6")
326 (source
327 (origin
328 (method url-fetch)
329 (uri (string-append
330 "mirror://xorg/X11R7.7/src/everything/dri2proto-"
331 version
332 ".tar.bz2"))
333 (sha256
334 (base32
335 "02drlfqvjm2q7dvkkwli3fs2crb6rdb3kyd13vwx7z0rijrc10md"))))
336 (build-system gnu-build-system)
337 (home-page "http://www.x.org/wiki/")
338 (synopsis "xorg implementation of the X Window System")
339 (description "X.org provides an implementation of the X Window System")
340 (license license:x11)))
341
342
343(define-public encodings
344 (package
345 (name "encodings")
346 (version "1.0.4")
347 (source
348 (origin
349 (method url-fetch)
350 (uri (string-append
351 "mirror://xorg/X11R7.7/src/everything/encodings-"
352 version
353 ".tar.bz2"))
354 (sha256
355 (base32
356 "0ffmaw80vmfwdgvdkp6495xgsqszb6s0iira5j0j6pd4i0lk3mnf"))))
357 (build-system gnu-build-system)
358 (inputs
359 `(("mkfontscale" ,mkfontscale)
360 ("pkg-config" ,pkg-config)))
361 (home-page "http://www.x.org/wiki/")
362 (synopsis "xorg implementation of the X Window System")
363 (description "X.org provides an implementation of the X Window System")
364 (license license:public-domain)))
365
366
367(define-public font-adobe100dpi
368 (package
369 (name "font-adobe100dpi")
370 (version "1.0.3")
371 (source
372 (origin
373 (method url-fetch)
374 (uri (string-append
375 "mirror://xorg/X11R7.7/src/everything/font-adobe-100dpi-"
376 version
377 ".tar.bz2"))
378 (sha256
379 (base32
380 "0m60f5bd0caambrk8ksknb5dks7wzsg7g7xaf0j21jxmx8rq9h5j"))))
381 (build-system gnu-build-system)
382 (inputs
383 `(("bdftopcf" ,bdftopcf)
384 ("font-util", font-util)
385 ("mkfontdir" ,mkfontdir)
386 ("pkg-config" ,pkg-config)))
387 (home-page "http://www.x.org/wiki/")
388 (synopsis "xorg implementation of the X Window System")
389 (description "X.org provides an implementation of the X Window System")
390 (license license:x11)))
391
392
393(define-public font-adobe75dpi
394 (package
395 (name "font-adobe75dpi")
396 (version "1.0.3")
397 (source
398 (origin
399 (method url-fetch)
400 (uri (string-append
401 "mirror://xorg/X11R7.7/src/everything/font-adobe-75dpi-"
402 version
403 ".tar.bz2"))
404 (sha256
405 (base32
406 "02advcv9lyxpvrjv8bjh1b797lzg6jvhipclz49z8r8y98g4l0n6"))))
407 (build-system gnu-build-system)
408 (inputs
409 `(("bdftopcf" ,bdftopcf)
410 ("font-util", font-util)
411 ("mkfontdir" ,mkfontdir)
412 ("pkg-config" ,pkg-config)))
413 (home-page "http://www.x.org/wiki/")
414 (synopsis "xorg implementation of the X Window System")
415 (description "X.org provides an implementation of the X Window System")
416 (license license:x11)))
417
418
419;; (define-public font-adobe-utopia100dpi
420;; (package
421;; (name "font-adobe-utopia100dpi")
422;; (version "1.0.4")
423;; (source
424;; (origin
425;; (method url-fetch)
426;; (uri (string-append
427;; "mirror://xorg/X11R7.7/src/everything/font-adobe-utopia-100dpi-"
428;; version
429;; ".tar.bz2"))
430;; (sha256
431;; (base32
432;; "19dd9znam1ah72jmdh7i6ny2ss2r6m21z9v0l43xvikw48zmwvyi"))))
433;; (build-system gnu-build-system)
434;; (home-page "http://www.x.org/wiki/")
435;; (synopsis "xorg implementation of the X Window System")
436;; (description "X.org provides an implementation of the X Window System")
437;; (license non-free)))
438;;
439;;
440;; (define-public font-adobe-utopia75dpi
441;; (package
442;; (name "font-adobe-utopia75dpi")
443;; (version "1.0.4")
444;; (source
445;; (origin
446;; (method url-fetch)
447;; (uri (string-append
448;; "mirror://xorg/X11R7.7/src/everything/font-adobe-utopia-75dpi-"
449;; version
450;; ".tar.bz2"))
451;; (sha256
452;; (base32
453;; "152wigpph5wvl4k9m3l4mchxxisgsnzlx033mn5iqrpkc6f72cl7"))))
454;; (build-system gnu-build-system)
455;; (home-page "http://www.x.org/wiki/")
456;; (synopsis "xorg implementation of the X Window System")
457;; (description "X.org provides an implementation of the X Window System")
458;; (license non-free)))
459;;
460;;
461;; (define-public font-adobe-utopia-type1
462;; (package
463;; (name "font-adobe-utopia-type1")
464;; (version "1.0.4")
465;; (source
466;; (origin
467;; (method url-fetch)
468;; (uri (string-append
469;; "mirror://xorg/X11R7.7/src/everything/font-adobe-utopia-type1-"
470;; version
471;; ".tar.bz2"))
472;; (sha256
473;; (base32
474;; "0xw0pdnzj5jljsbbhakc6q9ha2qnca1jr81zk7w70yl9bw83b54p"))))
475;; (build-system gnu-build-system)
476;; (home-page "http://www.x.org/wiki/")
477;; (synopsis "xorg implementation of the X Window System")
478;; (description "X.org provides an implementation of the X Window System")
479;; (license non-free)))
480
481
482(define-public font-alias
483 (package
484 (name "font-alias")
485 (version "1.0.3")
486 (source
487 (origin
488 (method url-fetch)
489 (uri (string-append
490 "mirror://xorg/X11R7.7/src/everything/font-alias-"
491 version
492 ".tar.bz2"))
493 (sha256
494 (base32
495 "16ic8wfwwr3jicaml7b5a0sk6plcgc1kg84w02881yhwmqm3nicb"))))
496 (build-system gnu-build-system)
497 (inputs `(("pkg-config" ,pkg-config)))
498 (home-page "http://www.x.org/wiki/")
499 (synopsis "xorg implementation of the X Window System")
500 (description "X.org provides an implementation of the X Window System")
501 (license license:x11)))
502
503
504(define-public font-arabic-misc
505 (package
506 (name "font-arabic-misc")
507 (version "1.0.3")
508 (source
509 (origin
510 (method url-fetch)
511 (uri (string-append
512 "mirror://xorg/X11R7.7/src/everything/font-arabic-misc-"
513 version
514 ".tar.bz2"))
515 (sha256
516 (base32
517 "1x246dfnxnmflzf0qzy62k8jdpkb6jkgspcjgbk8jcq9lw99npah"))))
518 (build-system gnu-build-system)
519 (inputs
520 `(("mkfontdir" ,mkfontdir)
521 ("bdftopcf" ,bdftopcf)
522 ("pkg-config" ,pkg-config)))
523 (home-page "http://www.x.org/wiki/")
524 (synopsis "xorg implementation of the X Window System")
525 (description "X.org provides an implementation of the X Window System")
526 (license license:x11)))
527
528
529;; (define-public font-bh100dpi
530;; (package
531;; (name "font-bh100dpi")
532;; (version "1.0.3")
533;; (source
534;; (origin
535;; (method url-fetch)
536;; (uri (string-append
537;; "mirror://xorg/X11R7.7/src/everything/font-bh-100dpi-"
538;; version
539;; ".tar.bz2"))
540;; (sha256
541;; (base32
542;; "10cl4gm38dw68jzln99ijix730y7cbx8np096gmpjjwff1i73h13"))))
543;; (build-system gnu-build-system)
544;; (home-page "http://www.x.org/wiki/")
545;; (synopsis "xorg implementation of the X Window System")
546;; (description "X.org provides an implementation of the X Window System")
547;; (license non-free)))
548;;
549;;
550;; (define-public font-bh75dpi
551;; (package
552;; (name "font-bh75dpi")
553;; (version "1.0.3")
554;; (source
555;; (origin
556;; (method url-fetch)
557;; (uri (string-append
558;; "mirror://xorg/X11R7.7/src/everything/font-bh-75dpi-"
559;; version
560;; ".tar.bz2"))
561;; (sha256
562;; (base32
563;; "073jmhf0sr2j1l8da97pzsqj805f7mf9r2gy92j4diljmi8sm1il"))))
564;; (build-system gnu-build-system)
565;; (home-page "http://www.x.org/wiki/")
566;; (synopsis "xorg implementation of the X Window System")
567;; (description "X.org provides an implementation of the X Window System")
568;; (license non-free)))
569;;
570;;
571;; (define-public font-bh-lucidatypewriter100dpi
572;; (package
573;; (name "font-bh-lucidatypewriter100dpi")
574;; (version "1.0.3")
575;; (source
576;; (origin
577;; (method url-fetch)
578;; (uri (string-append
579;; "mirror://xorg/X11R7.7/src/everything/font-bh-lucidatypewriter-100dpi-"
580;; version
581;; ".tar.bz2"))
582;; (sha256
583;; (base32
584;; "1fqzckxdzjv4802iad2fdrkpaxl4w0hhs9lxlkyraq2kq9ik7a32"))))
585;; (build-system gnu-build-system)
586;; (home-page "http://www.x.org/wiki/")
587;; (synopsis "xorg implementation of the X Window System")
588;; (description "X.org provides an implementation of the X Window System")
589;; (license non-free)))
590;;
591;;
592;; (define-public font-bh-lucidatypewriter75dpi
593;; (package
594;; (name "font-bh-lucidatypewriter75dpi")
595;; (version "1.0.3")
596;; (source
597;; (origin
598;; (method url-fetch)
599;; (uri (string-append
600;; "mirror://xorg/X11R7.7/src/everything/font-bh-lucidatypewriter-75dpi-"
601;; version
602;; ".tar.bz2"))
603;; (sha256
604;; (base32
605;; "0cfbxdp5m12cm7jsh3my0lym9328cgm7fa9faz2hqj05wbxnmhaa"))))
606;; (build-system gnu-build-system)
607;; (home-page "http://www.x.org/wiki/")
608;; (synopsis "xorg implementation of the X Window System")
609;; (description "X.org provides an implementation of the X Window System")
610;; (license non-free)))
611;;
612;;
613;; (define-public font-bh-type1
614;; (package
615;; (name "font-bh-type1")
616;; (version "1.0.3")
617;; (source
618;; (origin
619;; (method url-fetch)
620;; (uri (string-append
621;; "mirror://xorg/X11R7.7/src/everything/font-bh-ttf-"
622;; version
623;; ".tar.bz2"))
624;; (sha256
625;; (base32
626;; "0pyjmc0ha288d4i4j0si4dh3ncf3jiwwjljvddrb0k8v4xiyljqv"))))
627;; (build-system gnu-build-system)
628;; (inputs
629;; `(("mkfontscale" ,mkfontscale)
630;; ("mkfontdir" ,mkfontdir)
631;; ("pkg-config" ,pkg-config)))
632;; (home-page "http://www.x.org/wiki/")
633;; (synopsis "xorg implementation of the X Window System")
634;; (description "X.org provides an implementation of the X Window System")
635;; (license non-free)))
636;;
637;;
638;; (define-public font-bitstream100dpi
639;; (package
640;; (name "font-bitstream100dpi")
641;; (version "1.0.3")
642;; (source
643;; (origin
644;; (method url-fetch)
645;; (uri (string-append
646;; "mirror://xorg/X11R7.7/src/everything/font-bh-ttf-"
647;; version
648;; ".tar.bz2"))
649;; (sha256
650;; (base32
651;; "0pyjmc0ha288d4i4j0si4dh3ncf3jiwwjljvddrb0k8v4xiyljqv"))))
652;; (build-system gnu-build-system)
653;; (inputs
654;; `(("mkfontscale" ,mkfontscale)
655;; ("mkfontdir" ,mkfontdir)
656;; ("pkg-config" ,pkg-config)))
657;; (home-page "http://www.x.org/wiki/")
658;; (synopsis "xorg implementation of the X Window System")
659;; (description "X.org provides an implementation of the X Window System")
660;; (license non-free)))
661;;
662;;
663;; (define-public font-bitstream75dpi
664;; (package
665;; (name "font-bitstream75dpi")
666;; (version "1.0.3")
667;; (source
668;; (origin
669;; (method url-fetch)
670;; (uri (string-append
671;; "mirror://xorg/X11R7.7/src/everything/font-bh-ttf-"
672;; version
673;; ".tar.bz2"))
674;; (sha256
675;; (base32
676;; "0pyjmc0ha288d4i4j0si4dh3ncf3jiwwjljvddrb0k8v4xiyljqv"))))
677;; (build-system gnu-build-system)
678;; (inputs
679;; `(("mkfontscale" ,mkfontscale)
680;; ("mkfontdir" ,mkfontdir)
681;; ("pkg-config" ,pkg-config)))
682;; (home-page "http://www.x.org/wiki/")
683;; (synopsis "xorg implementation of the X Window System")
684;; (description "X.org provides an implementation of the X Window System")
685;; (license non-free)))
686
687
688(define-public font-bitstream-type1
689 (package
690 (name "font-bitstream-type1")
691 (version "1.0.3")
692 (source
693 (origin
694 (method url-fetch)
695 (uri (string-append
696 "mirror://xorg/X11R7.7/src/everything/font-bh-ttf-"
697 version
698 ".tar.bz2"))
699 (sha256
700 (base32
701 "0pyjmc0ha288d4i4j0si4dh3ncf3jiwwjljvddrb0k8v4xiyljqv"))))
702 (build-system gnu-build-system)
703 (inputs
704 `(("mkfontdir" ,mkfontdir)
705 ("pkg-config" ,pkg-config)))
706 (home-page "http://www.x.org/wiki/")
707 (synopsis "xorg implementation of the X Window System")
708 (description "X.org provides an implementation of the X Window System")
709 (license license:x11)))
710
711
712(define-public font-cronyx-cyrillic
713 (package
714 (name "font-cronyx-cyrillic")
715 (version "1.0.3")
716 (source
717 (origin
718 (method url-fetch)
719 (uri (string-append
720 "mirror://xorg/X11R7.7/src/everything/font-cronyx-cyrillic-"
721 version
722 ".tar.bz2"))
723 (sha256
724 (base32
725 "0ai1v4n61k8j9x2a1knvfbl2xjxk3xxmqaq3p9vpqrspc69k31kf"))))
726 (build-system gnu-build-system)
727 (inputs
728 `(("mkfontdir" ,mkfontdir)
729 ("bdftopcf" ,bdftopcf)
730 ("pkg-config" ,pkg-config)))
731 (home-page "http://www.x.org/wiki/")
732 (synopsis "xorg implementation of the X Window System")
733 (description "X.org provides an implementation of the X Window System")
734 (license license:x11)))
735
736
737;; (define-public font-cursor-misc
738;; (package
739;; (name "font-cursor-misc")
740;; (version "1.0.3")
741;; (source
742;; (origin
743;; (method url-fetch)
744;; (uri (string-append
745;; "mirror://xorg/X11R7.7/src/everything/font-cursor-misc-"
746;; version
747;; ".tar.bz2"))
748;; (sha256
749;; (base32
750;; "0dd6vfiagjc4zmvlskrbjz85jfqhf060cpys8j0y1qpcbsrkwdhp"))))
751;; (build-system gnu-build-system)
752;; (inputs
753;; `(("mkfontscale" ,mkfontscale)
754;; ("mkfontdir" ,mkfontdir)
755;; ("bdftopcf" ,bdftopcf)
756;; ("pkg-config" ,pkg-config)))
757;; (home-page "http://www.x.org/wiki/")
758;; (synopsis "xorg implementation of the X Window System")
759;; (description "X.org provides an implementation of the X Window System")
760;; (license none)))
761;;
762;;
763;; (define-public font-daewoo-misc
764;; (package
765;; (name "font-daewoo-misc")
766;; (version "1.0.3")
767;; (source
768;; (origin
769;; (method url-fetch)
770;; (uri (string-append
771;; "mirror://xorg/X11R7.7/src/everything/font-daewoo-misc-"
772;; version
773;; ".tar.bz2"))
774;; (sha256
775;; (base32
776;; "1s2bbhizzgbbbn5wqs3vw53n619cclxksljvm759h9p1prqdwrdw"))))
777;; (build-system gnu-build-system)
778;; (inputs
779;; `(("mkfontdir" ,mkfontdir)
780;; ("bdftopcf" ,bdftopcf)
781;; ("pkg-config" ,pkg-config)))
782;; (home-page "http://www.x.org/wiki/")
783;; (synopsis "xorg implementation of the X Window System")
784;; (description "X.org provides an implementation of the X Window System")
785;; (license non-free)))
786
787
788(define-public font-dec-misc
789 (package
790 (name "font-dec-misc")
791 (version "1.0.3")
792 (source
793 (origin
794 (method url-fetch)
795 (uri (string-append
796 "mirror://xorg/X11R7.7/src/everything/font-dec-misc-"
797 version
798 ".tar.bz2"))
799 (sha256
800 (base32
801 "0yzza0l4zwyy7accr1s8ab7fjqkpwggqydbm2vc19scdby5xz7g1"))))
802 (build-system gnu-build-system)
803 (inputs
804 `(("mkfontdir" ,mkfontdir)
805 ("bdftopcf" ,bdftopcf)
806 ("pkg-config" ,pkg-config)))
807 (home-page "http://www.x.org/wiki/")
808 (synopsis "xorg implementation of the X Window System")
809 (description "X.org provides an implementation of the X Window System")
810 (license license:x11)))
811
812
813;; (define-public font-ibm-type1
814;; (package
815;; (name "font-ibm-type1")
816;; (version "1.0.3")
817;; (source
818;; (origin
819;; (method url-fetch)
820;; (uri (string-append
821;; "mirror://xorg/X11R7.7/src/everything/font-cronyx-cyrillic-"
822;; version
823;; ".tar.bz2"))
824;; (sha256
825;; (base32
826;; "1pyjll4adch3z5cg663s6vhi02k8m6488f0mrasg81ssvg9jinzx"))))
827;; (build-system gnu-build-system)
828;; (inputs
829;; `(("mkfontdir" ,mkfontdir)
830;; ("bdftopcf" ,bdftopcf)
831;; ("pkg-config" ,pkg-config)))
832;; (home-page "http://www.x.org/wiki/")
833;; (synopsis "xorg implementation of the X Window System")
834;; (description "X.org provides an implementation of the X Window System")
835;; (license non-free)))
836
837
838(define-public font-isas-misc
839 (package
840 (name "font-isas-misc")
841 (version "1.0.3")
842 (source
843 (origin
844 (method url-fetch)
845 (uri (string-append
846 "mirror://xorg/X11R7.7/src/everything/font-isas-misc-"
847 version
848 ".tar.bz2"))
849 (sha256
850 (base32
851 "0rx8q02rkx673a7skkpnvfkg28i8gmqzgf25s9yi0lar915sn92q"))))
852 (build-system gnu-build-system)
853 (inputs
854 `(("mkfontdir" ,mkfontdir)
855 ("bdftopcf" ,bdftopcf)
856 ("pkg-config" ,pkg-config)))
857 (home-page "http://www.x.org/wiki/")
858 (synopsis "xorg implementation of the X Window System")
859 (description "X.org provides an implementation of the X Window System")
860 (license license:x11)))
861
862
863;; (define-public font-jis-misc
864;; (package
865;; (name "font-jis-misc")
866;; (version "1.0.3")
867;; (source
868;; (origin
869;; (method url-fetch)
870;; (uri (string-append
871;; "mirror://xorg/X11R7.7/src/everything/font-jis-misc-"
872;; version
873;; ".tar.bz2"))
874;; (sha256
875;; (base32
876;; "0rdc3xdz12pnv951538q6wilx8mrdndpkphpbblszsv7nc8cw61b"))))
877;; (build-system gnu-build-system)
878;; (inputs
879;; `(("mkfontdir" ,mkfontdir)
880;; ("bdftopcf" ,bdftopcf)
881;; ("pkg-config" ,pkg-config)))
882;; (home-page "http://www.x.org/wiki/")
883;; (synopsis "xorg implementation of the X Window System")
884;; (description "X.org provides an implementation of the X Window System")
885;; (license non-free)))
886
887
888(define-public font-micro-misc
889 (package
890 (name "font-micro-misc")
891 (version "1.0.3")
892 (source
893 (origin
894 (method url-fetch)
895 (uri (string-append
896 "mirror://xorg/X11R7.7/src/everything/font-micro-misc-"
897 version
898 ".tar.bz2"))
899 (sha256
900 (base32
901 "1dldxlh54zq1yzfnrh83j5vm0k4ijprrs5yl18gm3n9j1z0q2cws"))))
902 (build-system gnu-build-system)
903 (inputs
904 `(("mkfontdir" ,mkfontdir)
905 ("bdftopcf" ,bdftopcf)
906 ("pkg-config" ,pkg-config)))
907 (home-page "http://www.x.org/wiki/")
908 (synopsis "xorg implementation of the X Window System")
909 (description "X.org provides an implementation of the X Window System")
910 (license license:public-domain)))
911
912
913(define-public font-misc-cyrillic
914 (package
915 (name "font-misc-cyrillic")
916 (version "1.0.3")
917 (source
918 (origin
919 (method url-fetch)
920 (uri (string-append
921 "mirror://xorg/X11R7.7/src/everything/font-misc-cyrillic-"
922 version
923 ".tar.bz2"))
924 (sha256
925 (base32
926 "0q2ybxs8wvylvw95j6x9i800rismsmx4b587alwbfqiw6biy63z4"))))
927 (build-system gnu-build-system)
928 (inputs
929 `(("mkfontdir" ,mkfontdir)
930 ("bdftopcf" ,bdftopcf)
931 ("pkg-config" ,pkg-config)))
932 (home-page "http://www.x.org/wiki/")
933 (synopsis "xorg implementation of the X Window System")
934 (description "X.org provides an implementation of the X Window System")
935 (license license:x11)))
936
937
938(define-public font-misc-ethiopic
939 (package
940 (name "font-misc-ethiopic")
941 (version "1.0.3")
942 (source
943 (origin
944 (method url-fetch)
945 (uri (string-append
946 "mirror://xorg/X11R7.7/src/everything/font-misc-ethiopic-"
947 version
948 ".tar.bz2"))
949 (sha256
950 (base32
951 "19cq7iq0pfad0nc2v28n681fdq3fcw1l1hzaq0wpkgpx7bc1zjsk"))))
952 (build-system gnu-build-system)
953 (inputs
954 `(("mkfontdir" ,mkfontdir)
955 ("pkg-config" ,pkg-config)))
956 (home-page "http://www.x.org/wiki/")
957 (synopsis "xorg implementation of the X Window System")
958 (description "X.org provides an implementation of the X Window System")
959 (license license:x11)))
960
961
962;; (define-public font-misc-meltho
963;; (package
964;; (name "font-misc-meltho")
965;; (version "1.0.3")
966;; (source
967;; (origin
968;; (method url-fetch)
969;; (uri (string-append
970;; "mirror://xorg/X11R7.7/src/everything/font-misc-meltho-"
971;; version
972;; ".tar.bz2"))
973;; (sha256
974;; (base32
975;; "148793fqwzrc3bmh2vlw5fdiwjc2n7vs25cic35gfp452czk489p"))))
976;; (build-system gnu-build-system)
977;; (inputs
978;; `(("mkfontscale" ,mkfontscale)
979;; ("mkfontdir" ,mkfontdir)
980;; ("pkg-config" ,pkg-config)))
981;; (home-page "http://www.x.org/wiki/")
982;; (synopsis "xorg implementation of the X Window System")
983;; (description "X.org provides an implementation of the X Window System")
984;; (license non-free)))
985
986
987(define-public font-misc-misc
988 (package
989 (name "font-misc-misc")
990 (version "1.1.2")
991 (source
992 (origin
993 (method url-fetch)
994 (uri (string-append
995 "mirror://xorg/X11R7.7/src/everything/font-misc-misc-"
996 version
997 ".tar.bz2"))
998 (sha256
999 (base32
1000 "150pq6n8n984fah34n3k133kggn9v0c5k07igv29sxp1wi07krxq"))))
1001 (build-system gnu-build-system)
1002 (inputs
1003 `(("mkfontdir" ,mkfontdir)
1004 ("font-util" ,font-util)
1005 ("bdftopcf" ,bdftopcf)
1006 ("pkg-config" ,pkg-config)))
1007 (home-page "http://www.x.org/wiki/")
1008 (synopsis "xorg implementation of the X Window System")
1009 (description "X.org provides an implementation of the X Window System")
1010 (license license:public-domain)))
1011
1012
1013(define-public font-mutt-misc
1014 (package
1015 (name "font-mutt-misc")
1016 (version "1.0.3")
1017 (source
1018 (origin
1019 (method url-fetch)
1020 (uri (string-append
1021 "mirror://xorg/X11R7.7/src/everything/font-mutt-misc-"
1022 version
1023 ".tar.bz2"))
1024 (sha256
1025 (base32
1026 "13qghgr1zzpv64m0p42195k1kc77pksiv059fdvijz1n6kdplpxx"))))
1027 (build-system gnu-build-system)
1028 (inputs
1029 `(("mkfontdir" ,mkfontdir)
1030 ("bdftopcf" ,bdftopcf)
1031 ("pkg-config" ,pkg-config)))
1032 (home-page "http://www.x.org/wiki/")
1033 (synopsis "xorg implementation of the X Window System")
1034 (description "X.org provides an implementation of the X Window System")
1035 (license license:x11)))
1036
1037
1038(define-public font-schumacher-misc
1039 (package
1040 (name "font-schumacher-misc")
1041 (version "1.1.2")
1042 (source
1043 (origin
1044 (method url-fetch)
1045 (uri (string-append
1046 "mirror://xorg/X11R7.7/src/everything/font-schumacher-misc-"
1047 version
1048 ".tar.bz2"))
1049 (sha256
1050 (base32
1051 "0nkym3n48b4v36y4s927bbkjnsmicajarnf6vlp7wxp0as304i74"))))
1052 (build-system gnu-build-system)
1053 (inputs
1054 `(("mkfontdir" ,mkfontdir)
1055 ("font-util" ,font-util)
1056 ("bdftopcf" ,bdftopcf)
1057 ("pkg-config" ,pkg-config)))
1058 (home-page "http://www.x.org/wiki/")
1059 (synopsis "xorg implementation of the X Window System")
1060 (description "X.org provides an implementation of the X Window System")
1061 (license license:x11)))
1062
1063
1064(define-public font-screen-cyrillic
1065 (package
1066 (name "font-screen-cyrillic")
1067 (version "1.0.4")
1068 (source
1069 (origin
1070 (method url-fetch)
1071 (uri (string-append
1072 "mirror://xorg/X11R7.7/src/everything/font-screen-cyrillic-"
1073 version
1074 ".tar.bz2"))
1075 (sha256
1076 (base32
1077 "0yayf1qlv7irf58nngddz2f1q04qkpr5jwp4aja2j5gyvzl32hl2"))))
1078 (build-system gnu-build-system)
1079 (inputs
1080 `(("mkfontdir" ,mkfontdir)
1081 ("bdftopcf" ,bdftopcf)
1082 ("pkg-config" ,pkg-config)))
1083 (home-page "http://www.x.org/wiki/")
1084 (synopsis "xorg implementation of the X Window System")
1085 (description "X.org provides an implementation of the X Window System")
1086 (license license:x11)))
1087
1088
1089(define-public font-sony-misc
1090 (package
1091 (name "font-sony-misc")
1092 (version "1.0.3")
1093 (source
1094 (origin
1095 (method url-fetch)
1096 (uri (string-append
1097 "mirror://xorg/X11R7.7/src/everything/font-sony-misc-"
1098 version
1099 ".tar.bz2"))
1100 (sha256
1101 (base32
1102 "1xfgcx4gsgik5mkgkca31fj3w72jw9iw76qyrajrsz1lp8ka6hr0"))))
1103 (build-system gnu-build-system)
1104 (inputs
1105 `(("mkfontdir" ,mkfontdir)
1106 ("bdftopcf" ,bdftopcf)
1107 ("pkg-config" ,pkg-config)))
1108 (home-page "http://www.x.org/wiki/")
1109 (synopsis "xorg implementation of the X Window System")
1110 (description "X.org provides an implementation of the X Window System")
1111 (license license:x11)))
1112
1113
1114(define-public font-sun-misc
1115 (package
1116 (name "font-sun-misc")
1117 (version "1.0.3")
1118 (source
1119 (origin
1120 (method url-fetch)
1121 (uri (string-append
1122 "mirror://xorg/X11R7.7/src/everything/font-sun-misc-"
1123 version
1124 ".tar.bz2"))
1125 (sha256
1126 (base32
1127 "1q6jcqrffg9q5f5raivzwx9ffvf7r11g6g0b125na1bhpz5ly7s8"))))
1128 (build-system gnu-build-system)
1129 (inputs
1130 `(("mkfontdir" ,mkfontdir)
1131 ("bdftopcf" ,bdftopcf)
1132 ("pkg-config" ,pkg-config)))
1133 (home-page "http://www.x.org/wiki/")
1134 (synopsis "xorg implementation of the X Window System")
1135 (description "X.org provides an implementation of the X Window System")
1136 (license license:x11)))
1137
1138
1139(define-public font-util
1140 (package
1141 (name "font-util")
1142 (version "1.3.0")
1143 (source
1144 (origin
1145 (method url-fetch)
1146 (uri (string-append
1147 "mirror://xorg/X11R7.7/src/everything/font-util-"
1148 version
1149 ".tar.bz2"))
1150 (sha256
1151 (base32
1152 "15cijajwhjzpy3ydc817zz8x5z4gbkyv3fps687jbq544mbfbafz"))))
1153 (build-system gnu-build-system)
1154 (inputs `(("pkg-config" ,pkg-config)))
1155 (home-page "http://www.x.org/wiki/")
1156 (synopsis "xorg implementation of the X Window System")
1157 (description "X.org provides an implementation of the X Window System")
1158 (license license:x11)))
1159
1160
1161(define-public font-winitzki-cyrillic
1162 (package
1163 (name "font-winitzki-cyrillic")
1164 (version "1.0.3")
1165 (source
1166 (origin
1167 (method url-fetch)
1168 (uri (string-append
1169 "mirror://xorg/X11R7.7/src/everything/font-winitzki-cyrillic-"
1170 version
1171 ".tar.bz2"))
1172 (sha256
1173 (base32
1174 "181n1bgq8vxfxqicmy1jpm1hnr6gwn1kdhl6hr4frjigs1ikpldb"))))
1175 (build-system gnu-build-system)
1176 (inputs
1177 `(("mkfontdir" ,mkfontdir)
1178 ("bdftopcf" ,bdftopcf)
1179 ("pkg-config" ,pkg-config)))
1180 (home-page "http://www.x.org/wiki/")
1181 (synopsis "xorg implementation of the X Window System")
1182 (description "X.org provides an implementation of the X Window System")
1183 (license license:public-domain)))
1184
1185
1186(define-public font-xfree86-type1
1187 (package
1188 (name "font-xfree86-type1")
1189 (version "1.0.4")
1190 (source
1191 (origin
1192 (method url-fetch)
1193 (uri (string-append
1194 "mirror://xorg/X11R7.7/src/everything/font-xfree86-type1-"
1195 version
1196 ".tar.bz2"))
1197 (sha256
1198 (base32
1199 "0jp3zc0qfdaqfkgzrb44vi9vi0a8ygb35wp082yz7rvvxhmg9sya"))))
1200 (build-system gnu-build-system)
1201 (inputs
1202 `(("mkfontdir" ,mkfontdir)
1203 ("pkg-config" ,pkg-config)))
1204 (home-page "http://www.x.org/wiki/")
1205 (synopsis "xorg implementation of the X Window System")
1206 (description "X.org provides an implementation of the X Window System")
1207 (license license:x11)))
1208
1209
1210(define-public fontsproto
1211 (package
1212 (name "fontsproto")
1213 (version "2.1.2")
1214 (source
1215 (origin
1216 (method url-fetch)
1217 (uri (string-append
1218 "mirror://xorg/X11R7.7/src/everything/fontsproto-"
1219 version
1220 ".tar.bz2"))
1221 (sha256
1222 (base32
1223 "1ab8mbqxdwvdz4k5x4xb9c4n5w7i1xw276cbpk4z7a1nlpjrg746"))))
1224 (build-system gnu-build-system)
1225 (inputs `(("pkg-config" ,pkg-config)))
1226 (home-page "http://www.x.org/wiki/")
1227 (synopsis "xorg implementation of the X Window System")
1228 (description "X.org provides an implementation of the X Window System")
1229 (license license:x11)))
1230
1231
1232(define-public glproto
1233 (package
1234 (name "glproto")
1235 (version "1.4.15")
1236 (source
1237 (origin
1238 (method url-fetch)
1239 (uri (string-append
1240 "mirror://xorg/X11R7.7/src/everything/glproto-"
1241 version
1242 ".tar.bz2"))
1243 (sha256
1244 (base32
1245 "0wf1vq9g4pyzahb23ywx554pm5bpax49lz188fk6m5p8wbmmc0wr"))))
1246 (build-system gnu-build-system)
1247 (inputs `(("pkg-config" ,pkg-config)))
1248 (home-page "http://www.x.org/wiki/")
1249 (synopsis "xorg implementation of the X Window System")
1250 (description "X.org provides an implementation of the X Window System")
1251 (license license:x11)))
1252
1253
1254(define-public iceauth
1255 (package
1256 (name "iceauth")
1257 (version "1.0.5")
1258 (source
1259 (origin
1260 (method url-fetch)
1261 (uri (string-append
1262 "mirror://xorg/X11R7.7/src/everything/iceauth-"
1263 version
1264 ".tar.bz2"))
1265 (sha256
1266 (base32
1267 "1aq6v671s2x5rc6zn0rgxb4wddg4vq94mckw3cpwl7ccrjjvd5hl"))))
1268 (build-system gnu-build-system)
1269 (inputs
1270 `(("libice" ,libice)
1271 ("pkg-config" ,pkg-config)))
1272 (home-page "http://www.x.org/wiki/")
1273 (synopsis "xorg implementation of the X Window System")
1274 (description "X.org provides an implementation of the X Window System")
1275 (license license:x11)))
1276
1277
1278(define-public inputproto
1279 (package
1280 (name "inputproto")
1281 (version "2.2")
1282 (source
1283 (origin
1284 (method url-fetch)
1285 (uri (string-append
1286 "mirror://xorg/X11R7.7/src/everything/inputproto-"
1287 version
1288 ".tar.bz2"))
1289 (sha256
1290 (base32
1291 "1c5wqamfsd8g5i8kya5pjfmcac8q5zq1l3vclh6p96f24nmicxfy"))))
1292 (build-system gnu-build-system)
1293 (inputs `(("pkg-config" ,pkg-config)))
1294 (home-page "http://www.x.org/wiki/")
1295 (synopsis "xorg implementation of the X Window System")
1296 (description "X.org provides an implementation of the X Window System")
1297 (license license:x11)))
1298
1299
1300(define-public kbproto
1301 (package
1302 (name "kbproto")
1303 (version "1.0.6")
1304 (source
1305 (origin
1306 (method url-fetch)
1307 (uri (string-append
1308 "mirror://xorg/X11R7.7/src/everything/kbproto-"
1309 version
1310 ".tar.bz2"))
1311 (sha256
1312 (base32
1313 "0yal11hhpiisy3w8wmacsdzzzcnc3xwnswxz8k7zri40xc5aqz03"))))
1314 (build-system gnu-build-system)
1315 (inputs `(("pkg-config" ,pkg-config)))
1316 (home-page "http://www.x.org/wiki/")
1317 (synopsis "xorg implementation of the X Window System")
1318 (description "X.org provides an implementation of the X Window System")
1319 (license license:x11)))
1320
1321
1322;; requires applewmproto, which compiles only on macos
1323;; (define-public libapplewm
1324;; (package
1325;; (name "libapplewm")
1326;; (version "1.4.1")
1327;; (source
1328;; (origin
1329;; (method url-fetch)
1330;; (uri (string-append
1331;; "mirror://xorg/X11R7.7/src/everything/libAppleWM-"
1332;; version
1333;; ".tar.bz2"))
1334;; (sha256
1335;; (base32
1336;; "0r8x28n45q89x91mz8mv0zkkcxi8wazkac886fyvflhiv2y8ap2y"))))
1337;; (build-system gnu-build-system)
1338;; (inputs
1339;; `(("xextproto" ,xextproto)
1340;; ("libxext" ,libxext)
1341;; ("libx11" ,libx11)
1342;; ("applewmproto" ,applewmproto)
1343;; ("pkg-config" ,pkg-config)))
1344;; (home-page "http://www.x.org/wiki/")
1345;; (synopsis "xorg implementation of the X Window System")
1346;; (description "X.org provides an implementation of the X Window System")
1347;; (license license:x11)))
1348
1349
1350(define-public libdmx
1351 (package
1352 (name "libdmx")
1353 (version "1.1.2")
1354 (source
1355 (origin
1356 (method url-fetch)
1357 (uri (string-append
1358 "mirror://xorg/X11R7.7/src/everything/libdmx-"
1359 version
1360 ".tar.bz2"))
1361 (sha256
1362 (base32
1363 "1fiq73sfxcbyjval118ialwrzxhzb08xsxmg69adcs47i9j0p1x7"))))
1364 (build-system gnu-build-system)
1365 (inputs
1366 `(("xextproto" ,xextproto)
1367 ("libxext" ,libxext)
1368 ("libx11" ,libx11)
1369 ("dmxproto" ,dmxproto)
1370 ("pkg-config" ,pkg-config)))
1371 (home-page "http://www.x.org/wiki/")
1372 (synopsis "xorg implementation of the X Window System")
1373 (description "X.org provides an implementation of the X Window System")
1374 (license license:x11)))
1375
1376
1377(define-public libfontenc
1378 (package
1379 (name "libfontenc")
1380 (version "1.1.1")
1381 (source
1382 (origin
1383 (method url-fetch)
1384 (uri (string-append
1385 "mirror://xorg/X11R7.7/src/everything/libfontenc-"
1386 version
1387 ".tar.bz2"))
1388 (sha256
1389 (base32
1390 "0zq1483xy31sssq0h3xxf8y1v4q14cp8rv164ayn7fsn30pq2wny"))))
1391 (build-system gnu-build-system)
1392 (inputs
1393 `(("zlib" ,zlib)
1394 ("xproto" ,xproto)
1395 ("pkg-config" ,pkg-config)))
1396 (home-page "http://www.x.org/wiki/")
1397 (synopsis "xorg implementation of the X Window System")
1398 (description "X.org provides an implementation of the X Window System")
1399 (license license:x11)))
1400
1401
1402(define-public libfs
1403 (package
1404 (name "libfs")
1405 (version "1.0.4")
1406 (source
1407 (origin
1408 (method url-fetch)
1409 (uri (string-append
1410 "mirror://xorg/X11R7.7/src/everything/libFS-"
1411 version
1412 ".tar.bz2"))
1413 (sha256
1414 (base32
1415 "05c3bqgn5m7j4kx8wvy0p36faq6f9jv5yq12m6033m4lflg7cwvh"))))
1416 (build-system gnu-build-system)
1417 (inputs
1418 `(("xtrans" ,xtrans)
1419 ("xproto" ,xproto)
1420 ("fontsproto" ,fontsproto)
1421 ("pkg-config" ,pkg-config)))
1422 (home-page "http://www.x.org/wiki/")
1423 (synopsis "xorg implementation of the X Window System")
1424 (description "X.org provides an implementation of the X Window System")
1425 (license license:x11)))
1426
1427
1428(define-public libpciaccess
1429 (package
1430 (name "libpciaccess")
1431 (version "0.13.1")
1432 (source
1433 (origin
1434 (method url-fetch)
1435 (uri (string-append
1436 "mirror://xorg/X11R7.7/src/everything/libpciaccess-"
1437 version
1438 ".tar.bz2"))
1439 (sha256
1440 (base32
1441 "11509lkgd5j4g5wy0g13z4sf31h50hqx3jfwb2i4q6k98pv6iar7"))))
1442 (build-system gnu-build-system)
1443 (inputs
1444 `(("zlib" ,zlib) ("pkg-config" ,pkg-config)))
1445 (home-page "http://www.x.org/wiki/")
1446 (synopsis "xorg implementation of the X Window System")
1447 (description "X.org provides an implementation of the X Window System")
1448 (license license:x11)))
1449
1450
1451(define-public libpthread-stubs
1452 (package
1453 (name "libpthread-stubs")
1454 (version "0.3")
1455 (source
1456 (origin
1457 (method url-fetch)
1458 (uri (string-append
1459 "http://xcb.freedesktop.org/dist/libpthread-stubs-"
1460 version
1461 ".tar.bz2"))
1462 (sha256
1463 (base32
1464 "16bjv3in19l84hbri41iayvvg4ls9gv1ma0x0qlbmwy67i7dbdim"))))
1465 (build-system gnu-build-system)
1466 (inputs `(("pkg-config" ,pkg-config)))
1467 (home-page "http://www.x.org/wiki/")
1468 (synopsis "xorg implementation of the X Window System")
1469 (description "X.org provides an implementation of the X Window System")
1470 (license license:x11)))
1471
1472
1473(define-public libsm
1474 (package
1475 (name "libsm")
1476 (version "1.2.1")
1477 (source
1478 (origin
1479 (method url-fetch)
1480 (uri (string-append
1481 "mirror://xorg/X11R7.7/src/everything/libSM-"
1482 version
1483 ".tar.bz2"))
1484 (sha256
1485 (base32
1486 "07bzi6xwlhq36f60qfspjbz0qjj7zcgayi1vp4ihgx34kib1vhck"))))
1487 (build-system gnu-build-system)
1488 (inputs
1489 `(("xtrans" ,xtrans)
1490 ("util-linux" ,util-linux)
1491 ("libice" ,libice)
1492 ("pkg-config" ,pkg-config)))
1493 (home-page "http://www.x.org/wiki/")
1494 (synopsis "xorg implementation of the X Window System")
1495 (description "X.org provides an implementation of the X Window System")
1496 (license license:x11)))
1497
1498
1499(define-public libwindowswm
1500 (package
1501 (name "libwindowswm")
1502 (version "1.0.1")
1503 (source
1504 (origin
1505 (method url-fetch)
1506 (uri (string-append
1507 "mirror://xorg/X11R7.7/src/everything/libWindowsWM-"
1508 version
1509 ".tar.bz2"))
1510 (sha256
1511 (base32
1512 "1p0flwb67xawyv6yhri9w17m1i4lji5qnd0gq8v1vsfb8zw7rw15"))))
1513 (build-system gnu-build-system)
1514 (inputs
1515 `(("xextproto" ,xextproto)
1516 ("libxext" ,libxext)
1517 ("libx11" ,libx11)
1518 ("windowswmproto" ,windowswmproto)
1519 ("pkg-config" ,pkg-config)))
1520 (home-page "http://www.x.org/wiki/")
1521 (synopsis "xorg implementation of the X Window System")
1522 (description "X.org provides an implementation of the X Window System")
1523 (license license:x11)))
1524
1525
1526(define-public libxcomposite
1527 (package
1528 (name "libxcomposite")
1529 (version "0.4.3")
1530 (source
1531 (origin
1532 (method url-fetch)
1533 (uri (string-append
1534 "mirror://xorg/X11R7.7/src/everything/libXcomposite-"
1535 version
1536 ".tar.bz2"))
1537 (sha256
1538 (base32
1539 "1b8sniijb85v4my6v30ma9yqnwl4hkclci9l1hqxnipfyhl4sa9j"))))
1540 (build-system gnu-build-system)
1541 (inputs
1542 `(("xproto" ,xproto)
1543 ("libxfixes" ,libxfixes)
1544 ("libx11" ,libx11)
1545 ("compositeproto" ,compositeproto)
1546 ("pkg-config" ,pkg-config)))
1547 (home-page "http://www.x.org/wiki/")
1548 (synopsis "xorg implementation of the X Window System")
1549 (description "X.org provides an implementation of the X Window System")
1550 (license license:x11)))
1551
1552
1553(define-public libxdmcp
1554 (package
1555 (name "libxdmcp")
1556 (version "1.1.1")
1557 (source
1558 (origin
1559 (method url-fetch)
1560 (uri (string-append
1561 "mirror://xorg/X11R7.7/src/everything/libXdmcp-"
1562 version
1563 ".tar.bz2"))
1564 (sha256
1565 (base32
1566 "13highx4xpgkiwykpcl7z2laslrjc4pzi4h617ny9p7r6116vkls"))))
1567 (build-system gnu-build-system)
1568 (inputs
1569 `(("xproto" ,xproto) ("pkg-config" ,pkg-config)))
1570 (home-page "http://www.x.org/wiki/")
1571 (synopsis "xorg implementation of the X Window System")
1572 (description "X.org provides an implementation of the X Window System")
1573 (license license:x11)))
1574
1575
1576(define-public libxft
1577 (package
1578 (name "libxft")
1579 (version "2.3.1")
1580 (source
1581 (origin
1582 (method url-fetch)
1583 (uri (string-append
1584 "mirror://xorg/X11R7.7/src/everything/libXft-"
1585 version
1586 ".tar.bz2"))
1587 (sha256
1588 (base32
1589 "1gdv6559cdz1lfw73x7wsvax1fkvphmayrymprljhyyb5nwk5kkz"))))
1590 (build-system gnu-build-system)
1591 (inputs
1592 `(("libx11" ,libx11)
1593 ("xproto" ,xproto)
1594 ("libxrender" ,libxrender)
1595 ("xproto" ,xproto)
1596 ("libx11" ,libx11)
1597 ("freetype" ,freetype)
1598 ("fontconfig" ,fontconfig)
1599 ("pkg-config" ,pkg-config)))
1600 (home-page "http://www.x.org/wiki/")
1601 (synopsis "xorg implementation of the X Window System")
1602 (description "X.org provides an implementation of the X Window System")
1603 (license license:x11)))
1604
1605
1606(define-public libxkbfile
1607 (package
1608 (name "libxkbfile")
1609 (version "1.0.8")
1610 (source
1611 (origin
1612 (method url-fetch)
1613 (uri (string-append
1614 "mirror://xorg/X11R7.7/src/everything/libxkbfile-"
1615 version
1616 ".tar.bz2"))
1617 (sha256
1618 (base32
1619 "0flg5arw6n3njagmsi4i4l0zl5bfx866a1h9ydc3bi1pqlclxaca"))))
1620 (build-system gnu-build-system)
1621 (inputs
1622 `(("libx11" ,libx11)
1623 ("pkg-config" ,pkg-config)))
1624 (home-page "http://www.x.org/wiki/")
1625 (synopsis "xorg implementation of the X Window System")
1626 (description "X.org provides an implementation of the X Window System")
1627 (license license:x11)))
1628
1629
1630(define-public libxmu
1631 (package
1632 (name "libxmu")
1633 (version "1.1.1")
1634 (source
1635 (origin
1636 (method url-fetch)
1637 (uri (string-append
1638 "mirror://xorg/X11R7.7/src/everything/libXmu-"
1639 version
1640 ".tar.bz2"))
1641 (sha256
1642 (base32
1643 "1pbym8rrznxqd60zwf7w4xpf27sa72bky2knginqcfnca32q343h"))))
1644 (build-system gnu-build-system)
1645 (inputs
1646 `(("libxt" ,libxt)
1647 ("xproto" ,xproto)
1648 ("libxext" ,libxext)
1649 ("pkg-config" ,pkg-config)))
1650 (home-page "http://www.x.org/wiki/")
1651 (synopsis "xorg implementation of the X Window System")
1652 (description "X.org provides an implementation of the X Window System")
1653 (license license:x11)))
1654
1655
1656(define-public libxpm
1657 (package
1658 (name "libxpm")
1659 (version "3.5.10")
1660 (source
1661 (origin
1662 (method url-fetch)
1663 (uri (string-append
1664 "mirror://xorg/X11R7.7/src/everything/libXpm-"
1665 version
1666 ".tar.bz2"))
1667 (sha256
1668 (base32
1669 "0dd737ch4q9gr151wff1m3q2j7wf3pip4y81601xdrsh8wipxnx6"))))
1670 (build-system gnu-build-system)
1671 (inputs
1672 `(("gettext" ,gnu:gettext)
1673 ("libxt" ,libxt)
1674 ("xproto" ,xproto)
1675 ("libxext" ,libxext)
1676 ("pkg-config" ,pkg-config)))
1677 (home-page "http://www.x.org/wiki/")
1678 (synopsis "xorg implementation of the X Window System")
1679 (description "X.org provides an implementation of the X Window System")
1680 (license license:x11)))
1681
1682
1683(define-public libxres
1684 (package
1685 (name "libxres")
1686 (version "1.0.6")
1687 (source
1688 (origin
1689 (method url-fetch)
1690 (uri (string-append
1691 "mirror://xorg/X11R7.7/src/everything/libXres-"
1692 version
1693 ".tar.bz2"))
1694 (sha256
1695 (base32
1696 "1478pm70gdi6l70r4jpkyyg2am9wv6xh53z9ibwq5cg84p4n31pz"))))
1697 (build-system gnu-build-system)
1698 (inputs
1699 `(("xproto" ,xproto)
1700 ("libxext" ,libxext)
1701 ("libx11" ,libx11)
1702 ("resourceproto" ,resourceproto)
1703 ("pkg-config" ,pkg-config)))
1704 (home-page "http://www.x.org/wiki/")
1705 (synopsis "xorg implementation of the X Window System")
1706 (description "X.org provides an implementation of the X Window System")
1707 (license license:x11)))
1708
1709
1710(define-public libxscrnsaver
1711 (package
1712 (name "libxscrnsaver")
1713 (version "1.2.2")
1714 (source
1715 (origin
1716 (method url-fetch)
1717 (uri (string-append
1718 "mirror://xorg/X11R7.7/src/everything/libXScrnSaver-"
1719 version
1720 ".tar.bz2"))
1721 (sha256
1722 (base32
1723 "07ff4r20nkkrj7h08f9fwamds9b3imj8jz5iz6y38zqw6jkyzwcg"))))
1724 (build-system gnu-build-system)
1725 (inputs
1726 `(("libxext" ,libxext)
1727 ("libx11" ,libx11)
1728 ("scrnsaverproto" ,scrnsaverproto)
1729 ("pkg-config" ,pkg-config)))
1730 (home-page "http://www.x.org/wiki/")
1731 (synopsis "xorg implementation of the X Window System")
1732 (description "X.org provides an implementation of the X Window System")
1733 (license license:x11)))
1734
1735
1736(define-public libxxf86dga
1737 (package
1738 (name "libxxf86dga")
1739 (version "1.1.3")
1740 (source
1741 (origin
1742 (method url-fetch)
1743 (uri (string-append
1744 "mirror://xorg/X11R7.7/src/everything/libXxf86dga-"
1745 version
1746 ".tar.bz2"))
1747 (sha256
1748 (base32
1749 "15291ddhyr54sribwbg8hxx2psgzm5gh0pgkw5yrf3zgvdsa67sm"))))
1750 (build-system gnu-build-system)
1751 (inputs
1752 `(("libx11" ,libx11)
1753 ("libxext" ,libxext)
1754 ("pkg-config" ,pkg-config)
1755 ("xf86dgaproto" ,xf86dgaproto)))
1756 (home-page "http://www.x.org/wiki/")
1757 (synopsis "xorg implementation of the X Window System")
1758 (description "X.org provides an implementation of the X Window System")
1759 (license license:x11)))
1760
1761
1762(define-public luit
1763 (package
1764 (name "luit")
1765 (version "1.1.1")
1766 (source
1767 (origin
1768 (method url-fetch)
1769 (uri (string-append
1770 "mirror://xorg/X11R7.7/src/everything/luit-"
1771 version
1772 ".tar.bz2"))
1773 (sha256
1774 (base32
1775 "0dn694mk56x6hdk6y9ylx4f128h5jcin278gnw2gb807rf3ygc1h"))))
1776 (build-system gnu-build-system)
1777 (inputs
1778 `(("libfontenc" ,libfontenc)
1779 ("pkg-config" ,pkg-config)))
1780 (home-page "http://www.x.org/wiki/")
1781 (synopsis "xorg implementation of the X Window System")
1782 (description "X.org provides an implementation of the X Window System")
1783 (license license:x11)))
1784
1785
1786(define-public makedepend
1787 (package
1788 (name "makedepend")
1789 (version "1.0.4")
1790 (source
1791 (origin
1792 (method url-fetch)
1793 (uri (string-append
1794 "mirror://xorg/X11R7.7/src/everything/makedepend-"
1795 version
1796 ".tar.bz2"))
1797 (sha256
1798 (base32
1799 "1zpp2b9dfvlnfj2i1mzdyn785rpl7vih5lap7kcpiv80xspbhmmb"))))
1800 (build-system gnu-build-system)
1801 (inputs
1802 `(("xproto" ,xproto) ("pkg-config" ,pkg-config)))
1803 (home-page "http://www.x.org/wiki/")
1804 (synopsis "xorg implementation of the X Window System")
1805 (description "X.org provides an implementation of the X Window System")
1806 (license license:x11)))
1807
1808
1809(define-public mkfontscale
1810 (package
1811 (name "mkfontscale")
1812 (version "1.1.0")
1813 (source
1814 (origin
1815 (method url-fetch)
1816 (uri (string-append
1817 "mirror://xorg/X11R7.7/src/everything/mkfontscale-"
1818 version
1819 ".tar.bz2"))
1820 (sha256
1821 (base32
1822 "1539h3ws66vcql6sf2831bcs0r4d9b05lcgpswkw33lvcxighmff"))))
1823 (build-system gnu-build-system)
1824 (inputs
1825 `(("zlib" ,zlib)
1826 ("xproto" ,xproto)
1827 ("freetype" ,freetype)
1828 ("libfontenc" ,libfontenc)
1829 ("pkg-config" ,pkg-config)))
1830 (home-page "http://www.x.org/wiki/")
1831 (synopsis "xorg implementation of the X Window System")
1832 (description "X.org provides an implementation of the X Window System")
1833 (license license:x11)))
1834
1835
1836;; The package is missing from X11R7.7.
1837(define-public printproto
1838 (package
1839 (name "printproto")
1840 (version "1.0.5")
1841 (source
1842 (origin
1843 (method url-fetch)
1844 (uri (string-append
1845 "mirror://xorg/individual/proto/printproto-"
1846 version
1847 ".tar.bz2"))
1848 (sha256
1849 (base32
1850 "06liap8n4s25sgp27d371cc7yg9a08dxcr3pmdjp761vyin3360j"))))
1851 (build-system gnu-build-system)
1852 (inputs `(("pkg-config" ,pkg-config)))
1853 (home-page "http://www.x.org/wiki/")
1854 (synopsis "xorg implementation of the X Window System")
1855 (description "X.org provides an implementation of the X Window System")
1856 (license license:x11)))
1857
1858
1859(define-public randrproto
1860 (package
1861 (name "randrproto")
1862 (version "1.3.2")
1863 (source
1864 (origin
1865 (method url-fetch)
1866 (uri (string-append
1867 "mirror://xorg/X11R7.7/src/everything/randrproto-"
1868 version
1869 ".tar.bz2"))
1870 (sha256
1871 (base32
1872 "0wfwcq85wbm0g5r0snc7prgki1wi3kxrxhcxinyr54n45ihh03fr"))))
1873 (build-system gnu-build-system)
1874 (inputs `(("pkg-config" ,pkg-config)))
1875 (home-page "http://www.x.org/wiki/")
1876 (synopsis "xorg implementation of the X Window System")
1877 (description "X.org provides an implementation of the X Window System")
1878 (license license:x11)))
1879
1880
1881(define-public recordproto
1882 (package
1883 (name "recordproto")
1884 (version "1.14.2")
1885 (source
1886 (origin
1887 (method url-fetch)
1888 (uri (string-append
1889 "mirror://xorg/X11R7.7/src/everything/recordproto-"
1890 version
1891 ".tar.bz2"))
1892 (sha256
1893 (base32
1894 "0w3kgr1zabwf79bpc28dcnj0fpni6r53rpi82ngjbalj5s6m8xx7"))))
1895 (build-system gnu-build-system)
1896 (inputs `(("pkg-config" ,pkg-config)))
1897 (home-page "http://www.x.org/wiki/")
1898 (synopsis "xorg implementation of the X Window System")
1899 (description "X.org provides an implementation of the X Window System")
1900 (license license:x11)))
1901
1902
1903(define-public renderproto
1904 (package
1905 (name "renderproto")
1906 (version "0.11.1")
1907 (source
1908 (origin
1909 (method url-fetch)
1910 (uri (string-append
1911 "mirror://xorg/X11R7.7/src/everything/renderproto-"
1912 version
1913 ".tar.bz2"))
1914 (sha256
1915 (base32
1916 "0dr5xw6s0qmqg0q5pdkb4jkdhaja0vbfqla79qh5j1xjj9dmlwq6"))))
1917 (build-system gnu-build-system)
1918 (inputs `(("pkg-config" ,pkg-config)))
1919 (home-page "http://www.x.org/wiki/")
1920 (synopsis "xorg implementation of the X Window System")
1921 (description "X.org provides an implementation of the X Window System")
1922 (license license:x11)))
1923
1924
1925(define-public resourceproto
1926 (package
1927 (name "resourceproto")
1928 (version "1.2.0")
1929 (source
1930 (origin
1931 (method url-fetch)
1932 (uri (string-append
1933 "mirror://xorg/X11R7.7/src/everything/resourceproto-"
1934 version
1935 ".tar.bz2"))
1936 (sha256
1937 (base32
1938 "0638iyfiiyjw1hg3139pai0j6m65gkskrvd9684zgc6ydcx00riw"))))
1939 (build-system gnu-build-system)
1940 (inputs `(("pkg-config" ,pkg-config)))
1941 (home-page "http://www.x.org/wiki/")
1942 (synopsis "xorg implementation of the X Window System")
1943 (description "X.org provides an implementation of the X Window System")
1944 (license license:x11)))
1945
1946
1947(define-public scrnsaverproto
1948 (package
1949 (name "scrnsaverproto")
1950 (version "1.2.2")
1951 (source
1952 (origin
1953 (method url-fetch)
1954 (uri (string-append
1955 "mirror://xorg/X11R7.7/src/everything/scrnsaverproto-"
1956 version
1957 ".tar.bz2"))
1958 (sha256
1959 (base32
1960 "0rfdbfwd35d761xkfifcscx56q0n56043ixlmv70r4v4l66hmdwb"))))
1961 (build-system gnu-build-system)
1962 (inputs `(("pkg-config" ,pkg-config)))
1963 (home-page "http://www.x.org/wiki/")
1964 (synopsis "xorg implementation of the X Window System")
1965 (description "X.org provides an implementation of the X Window System")
1966 (license license:x11)))
1967
1968
1969(define-public sessreg
1970 (package
1971 (name "sessreg")
1972 (version "1.0.7")
1973 (source
1974 (origin
1975 (method url-fetch)
1976 (uri (string-append
1977 "mirror://xorg/X11R7.7/src/everything/sessreg-"
1978 version
1979 ".tar.bz2"))
1980 (sha256
1981 (base32
1982 "0lifgjxdvc6lwyjk90slddnr12fsv88ldy6qhklr5av409cfwd47"))))
1983 (build-system gnu-build-system)
1984 (inputs
1985 `(("xproto" ,xproto) ("pkg-config" ,pkg-config)))
1986 (home-page "http://www.x.org/wiki/")
1987 (synopsis "xorg implementation of the X Window System")
1988 (description "X.org provides an implementation of the X Window System")
1989 (license license:x11)))
1990
1991
1992(define-public setxkbmap
1993 (package
1994 (name "setxkbmap")
1995 (version "1.3.0")
1996 (source
1997 (origin
1998 (method url-fetch)
1999 (uri (string-append
2000 "mirror://xorg/X11R7.7/src/everything/setxkbmap-"
2001 version
2002 ".tar.bz2"))
2003 (sha256
2004 (base32
2005 "1inygpvlgc6vr5h9laxw9lnvafnccl3fy0g5n9ll28iq3yfmqc1x"))))
2006 (build-system gnu-build-system)
2007 (inputs
2008 `(("libxkbfile" ,libxkbfile)
2009 ("libx11" ,libx11)
2010 ("pkg-config" ,pkg-config)))
2011 (home-page "http://www.x.org/wiki/")
2012 (synopsis "xorg implementation of the X Window System")
2013 (description "X.org provides an implementation of the X Window System")
2014 (license license:x11)))
2015
2016
2017(define-public smproxy
2018 (package
2019 (name "smproxy")
2020 (version "1.0.5")
2021 (source
2022 (origin
2023 (method url-fetch)
2024 (uri (string-append
2025 "mirror://xorg/X11R7.7/src/everything/smproxy-"
2026 version
2027 ".tar.bz2"))
2028 (sha256
2029 (base32
2030 "02fn5wa1gs2jap6sr9j9yk6zsvz82j8l61pf74iyqwa99q4wnb67"))))
2031 (build-system gnu-build-system)
2032 (inputs
2033 `(("libxt" ,libxt)
2034 ("libxmu" ,libxmu)
2035 ("pkg-config" ,pkg-config)))
2036 (home-page "http://www.x.org/wiki/")
2037 (synopsis "xorg implementation of the X Window System")
2038 (description "X.org provides an implementation of the X Window System")
2039 (license license:x11)))
2040
2041
2042(define-public util-macros
2043 (package
2044 (name "util-macros")
2045 (version "1.17")
2046 (source
2047 (origin
2048 (method url-fetch)
2049 (uri (string-append
2050 "mirror://xorg/X11R7.7/src/everything/util-macros-"
2051 version
2052 ".tar.bz2"))
2053 (sha256
2054 (base32
2055 "1vbmrcn5n3wp4pyw0n4c3pyvzlc4yf7jzgngavfdq5zwfbgfsybx"))))
2056 (build-system gnu-build-system)
2057 (inputs `(("pkg-config" ,pkg-config)))
2058 (home-page "http://www.x.org/wiki/")
2059 (synopsis "xorg implementation of the X Window System")
2060 (description "X.org provides an implementation of the X Window System")
2061 (license license:x11)))
2062
2063
2064(define-public videoproto
2065 (package
2066 (name "videoproto")
2067 (version "2.3.1")
2068 (source
2069 (origin
2070 (method url-fetch)
2071 (uri (string-append
2072 "mirror://xorg/X11R7.7/src/everything/videoproto-"
2073 version
2074 ".tar.bz2"))
2075 (sha256
2076 (base32
2077 "0nk3i6gwkqq1w8zwn7bxz344pi1dwcjrmf6hr330h7hxjcj6viry"))))
2078 (build-system gnu-build-system)
2079 (inputs `(("pkg-config" ,pkg-config)))
2080 (home-page "http://www.x.org/wiki/")
2081 (synopsis "xorg implementation of the X Window System")
2082 (description "X.org provides an implementation of the X Window System")
2083 (license license:x11)))
2084
2085
2086(define-public windowswmproto
2087 (package
2088 (name "windowswmproto")
2089 (version "1.0.4")
2090 (source
2091 (origin
2092 (method url-fetch)
2093 (uri (string-append
2094 "mirror://xorg/X11R7.7/src/everything/windowswmproto-"
2095 version
2096 ".tar.bz2"))
2097 (sha256
2098 (base32
2099 "0syjxgy4m8l94qrm03nvn5k6bkxc8knnlld1gbllym97nvnv0ny0"))))
2100 (build-system gnu-build-system)
2101 (inputs `(("pkg-config" ,pkg-config)))
2102 (home-page "http://www.x.org/wiki/")
2103 (synopsis "xorg implementation of the X Window System")
2104 (description "X.org provides an implementation of the X Window System")
2105 (license license:x11)))
2106
2107
2108(define-public x11perf
2109 (package
2110 (name "x11perf")
2111 (version "1.5.4")
2112 (source
2113 (origin
2114 (method url-fetch)
2115 (uri (string-append
2116 "mirror://xorg/X11R7.7/src/everything/x11perf-"
2117 version
2118 ".tar.bz2"))
2119 (sha256
2120 (base32
2121 "111iwpxhnxjiq44w96zf0kszg5zpgv1g3ayx18v4nhdzl9bqivi4"))))
2122 (build-system gnu-build-system)
2123 (inputs
2124 `(("libx11" ,libx11)
2125 ("libxft" ,libxft)
2126 ("libxmu" ,libxmu)
2127 ("libxrender" ,libxrender)
2128 ("pkg-config" ,pkg-config)))
2129 (home-page "http://www.x.org/wiki/")
2130 (synopsis "xorg implementation of the X Window System")
2131 (description "X.org provides an implementation of the X Window System")
2132 (license license:x11)))
2133
2134
2135(define-public xauth
2136 (package
2137 (name "xauth")
2138 (version "1.0.7")
2139 (source
2140 (origin
2141 (method url-fetch)
2142 (uri (string-append
2143 "mirror://xorg/X11R7.7/src/everything/xauth-"
2144 version
2145 ".tar.bz2"))
2146 (sha256
2147 (base32
2148 "1382wdfiakgckbw1xxavzh1nm34q21b1zzy96qp7ws66xc48rxw4"))))
2149 (build-system gnu-build-system)
2150 (inputs
2151 `(("libxmu" ,libxmu)
2152 ("libxext" ,libxext)
2153 ("libxau" ,libxau)
2154 ("libx11" ,libx11)
2155 ("pkg-config" ,pkg-config)))
2156 (home-page "http://www.x.org/wiki/")
2157 (synopsis "xorg implementation of the X Window System")
2158 (description "X.org provides an implementation of the X Window System")
2159 (license license:x11)))
2160
2161
2162(define-public xbacklight
2163 (package
2164 (name "xbacklight")
2165 (version "1.1.2")
2166 (source
2167 (origin
2168 (method url-fetch)
2169 (uri (string-append
2170 "mirror://xorg/X11R7.7/src/everything/xbacklight-"
2171 version
2172 ".tar.bz2"))
2173 (sha256
2174 (base32
2175 "02b5jfys2msla2yvg5s0knzyxg2104r25czkwd49i8g8kp804bxg"))))
2176 (build-system gnu-build-system)
2177 (inputs
2178 `(("libx11" ,libx11)
2179 ("libxrandr" ,libxrandr)
2180 ("libxrender" ,libxrender)
2181 ("pkg-config" ,pkg-config)))
2182 (home-page "http://www.x.org/wiki/")
2183 (synopsis "xorg implementation of the X Window System")
2184 (description "X.org provides an implementation of the X Window System")
2185 (license license:x11)))
2186
2187
2188(define-public xbitmaps
2189 (package
2190 (name "xbitmaps")
2191 (version "1.1.1")
2192 (source
2193 (origin
2194 (method url-fetch)
2195 (uri (string-append
2196 "mirror://xorg/X11R7.7/src/everything/xbitmaps-"
2197 version
2198 ".tar.bz2"))
2199 (sha256
2200 (base32
2201 "178ym90kwidia6nas4qr5n5yqh698vv8r02js0r4vg3b6lsb0w9n"))))
2202 (build-system gnu-build-system)
2203 (inputs `(("pkg-config" ,pkg-config)))
2204 (home-page "http://www.x.org/wiki/")
2205 (synopsis "xorg implementation of the X Window System")
2206 (description "X.org provides an implementation of the X Window System")
2207 (license license:x11)))
2208
2209
2210(define-public xcb-proto
2211 (package
2212 (name "xcb-proto")
2213 (version "1.7.1")
2214 (source
2215 (origin
2216 (method url-fetch)
2217 (uri (string-append
2218 "http://xcb.freedesktop.org/dist/xcb-proto-"
2219 version
2220 ".tar.bz2"))
2221 (sha256
2222 (base32
2223 "0ds4qg6slidrzyz6q9ckq0a19hn6blzpnvciy4brh741gn49jpdd"))))
2224 (build-system gnu-build-system)
2225 (inputs
2226 `(("pkg-config" ,pkg-config) ("python" ,python)))
2227 (home-page "http://www.x.org/wiki/")
2228 (synopsis "xorg implementation of the X Window System")
2229 (description "X.org provides an implementation of the X Window System")
2230 (license license:x11)))
2231
2232
2233(define-public xcmiscproto
2234 (package
2235 (name "xcmiscproto")
2236 (version "1.2.2")
2237 (source
2238 (origin
2239 (method url-fetch)
2240 (uri (string-append
2241 "mirror://xorg/X11R7.7/src/everything/xcmiscproto-"
2242 version
2243 ".tar.bz2"))
2244 (sha256
2245 (base32
2246 "1pyjv45wivnwap2wvsbrzdvjc5ql8bakkbkrvcv6q9bjjf33ccmi"))))
2247 (build-system gnu-build-system)
2248 (inputs `(("pkg-config" ,pkg-config)))
2249 (home-page "http://www.x.org/wiki/")
2250 (synopsis "xorg implementation of the X Window System")
2251 (description "X.org provides an implementation of the X Window System")
2252 (license license:x11)))
2253
2254
2255(define-public xcmsdb
2256 (package
2257 (name "xcmsdb")
2258 (version "1.0.4")
2259 (source
2260 (origin
2261 (method url-fetch)
2262 (uri (string-append
2263 "mirror://xorg/X11R7.7/src/everything/xcmsdb-"
2264 version
2265 ".tar.bz2"))
2266 (sha256
2267 (base32
2268 "03ms731l3kvaldq7ycbd30j6134b61i3gbll4b2gl022wyzbjq74"))))
2269 (build-system gnu-build-system)
2270 (inputs
2271 `(("libx11" ,libx11)
2272 ("pkg-config" ,pkg-config)))
2273 (home-page "http://www.x.org/wiki/")
2274 (synopsis "xorg implementation of the X Window System")
2275 (description "X.org provides an implementation of the X Window System")
2276 (license license:x11)))
2277
2278
2279(define-public xcursor-themes
2280 (package
2281 (name "xcursor-themes")
2282 (version "1.0.3")
2283 (source
2284 (origin
2285 (method url-fetch)
2286 (uri (string-append
2287 "mirror://xorg/X11R7.7/src/everything/xcursor-themes-"
2288 version
2289 ".tar.bz2"))
2290 (sha256
2291 (base32
2292 "1is4bak0qkkhv63mfa5l7492r475586y52yzfxyv3psppn662ilr"))))
2293 (build-system gnu-build-system)
2294 (inputs
2295 `(("libxcursor" ,libxcursor)
2296 ("pkg-config" ,pkg-config)
2297 ("xcursorgen" ,xcursorgen)))
2298 (home-page "http://www.x.org/wiki/")
2299 (synopsis "xorg implementation of the X Window System")
2300 (description "X.org provides an implementation of the X Window System")
2301 (license license:x11)))
2302
2303
2304(define-public xcursorgen
2305 (package
2306 (name "xcursorgen")
2307 (version "1.0.5")
2308 (source
2309 (origin
2310 (method url-fetch)
2311 (uri (string-append
2312 "mirror://xorg/X11R7.7/src/everything/xcursorgen-"
2313 version
2314 ".tar.bz2"))
2315 (sha256
2316 (base32
2317 "10f5wk1326mm45gvgpf4m2p0j80fcd0i4c52zikahb91zah72wdw"))))
2318 (build-system gnu-build-system)
2319 (inputs
2320 `(("libxcursor" ,libxcursor)
2321 ("libpng" ,libpng)
2322 ("pkg-config" ,pkg-config)))
2323 (home-page "http://www.x.org/wiki/")
2324 (synopsis "xorg implementation of the X Window System")
2325 (description "X.org provides an implementation of the X Window System")
2326 (license license:x11)))
2327
2328
2329(define-public xdpyinfo
2330 (package
2331 (name "xdpyinfo")
2332 (version "1.3.0")
2333 (source
2334 (origin
2335 (method url-fetch)
2336 (uri (string-append
2337 "mirror://xorg/X11R7.7/src/everything/xdpyinfo-"
2338 version
2339 ".tar.bz2"))
2340 (sha256
2341 (base32
2342 "0gypsvpmay3lsh3b1dg29pjxv95pkrr21d4w6ys02mrbld24kvi3"))))
2343 (build-system gnu-build-system)
2344 (inputs
2345 `(("inputproto" ,inputproto)
2346 ("libx11" ,libx11)
2347 ("libxxf86vm" ,libxxf86vm)
2348 ("libxxf86dga" ,libxxf86dga)
2349 ("libxtst" ,libxtst)
2350 ("libxrender" ,libxrender)
2351 ("libxinerama" ,libxinerama)
2352 ("libxi" ,libxi)
2353 ("libxcomposite" ,libxcomposite)
2354 ("libdmx" ,libdmx)
2355 ("pkg-config" ,pkg-config)))
2356 (home-page "http://www.x.org/wiki/")
2357 (synopsis "xorg implementation of the X Window System")
2358 (description "X.org provides an implementation of the X Window System")
2359 (license license:x11)))
2360
2361
2362(define-public xdriinfo
2363 (package
2364 (name "xdriinfo")
2365 (version "1.0.4")
2366 (source
2367 (origin
2368 (method url-fetch)
2369 (uri (string-append
2370 "mirror://xorg/X11R7.7/src/everything/xdriinfo-"
2371 version
2372 ".tar.bz2"))
2373 (sha256
2374 (base32
2375 "076bjix941znyjmh3j5jjsnhp2gv2iq53d0ks29mvvv87cyy9iim"))))
2376 (build-system gnu-build-system)
2377 (inputs
2378 `(("mesa" ,mesa)
2379 ("libx11" ,libx11)
2380 ("pkg-config" ,pkg-config)))
2381 (home-page "http://www.x.org/wiki/")
2382 (synopsis "xorg implementation of the X Window System")
2383 (description "X.org provides an implementation of the X Window System")
2384 (license license:x11)))
2385
2386
2387(define-public xev
2388 (package
2389 (name "xev")
2390 (version "1.2.0")
2391 (source
2392 (origin
2393 (method url-fetch)
2394 (uri (string-append
2395 "mirror://xorg/X11R7.7/src/everything/xev-"
2396 version
2397 ".tar.bz2"))
2398 (sha256
2399 (base32
2400 "13xk5z7vy87rnn4574z0jfzymdivyc7pl4axim81sx0pmdysg1ip"))))
2401 (build-system gnu-build-system)
2402 (inputs
2403 `(("libxrender" ,libxrender)
2404 ("libxrandr" ,libxrandr)
2405 ("xproto" ,xproto)
2406 ("libx11" ,libx11)
2407 ("pkg-config" ,pkg-config)))
2408 (home-page "http://www.x.org/wiki/")
2409 (synopsis "xorg implementation of the X Window System")
2410 (description "X.org provides an implementation of the X Window System")
2411 (license license:x11)))
2412
2413
2414(define-public xextproto
2415 (package
2416 (name "xextproto")
2417 (version "7.2.1")
2418 (source
2419 (origin
2420 (method url-fetch)
2421 (uri (string-append
2422 "mirror://xorg/X11R7.7/src/everything/xextproto-"
2423 version
2424 ".tar.bz2"))
2425 (sha256
2426 (base32
2427 "06kdanbnprxvgl56l5h0lqj4b0f1fbb1ndha33mv5wvy802v2lvw"))))
2428 (build-system gnu-build-system)
2429 (inputs `(("pkg-config" ,pkg-config)))
2430 (home-page "http://www.x.org/wiki/")
2431 (synopsis "xorg implementation of the X Window System")
2432 (description "X.org provides an implementation of the X Window System")
2433 (license license:x11)))
2434
2435
2436(define-public xf86-input-evdev
2437 (package
2438 (name "xf86-input-evdev")
2439 (version "2.7.0")
2440 (source
2441 (origin
2442 (method url-fetch)
2443 (uri (string-append
2444 "mirror://xorg/X11R7.7/src/everything/xf86-input-evdev-"
2445 version
2446 ".tar.bz2"))
2447 (sha256
2448 (base32
2449 "1ivf5n821chckrgp89mpb18zi00v1hyrkc1hr82q0x6g1kpgxq9y"))))
2450 (build-system gnu-build-system)
2451 ;; FIXME: Add required input udev once it is available.
2452 (inputs `(("pkg-config" ,pkg-config)
2453 ("xorg-server" ,xorg-server)))
2454 (home-page "http://www.x.org/wiki/")
2455 (synopsis "xorg implementation of the X Window System")
2456 (description "X.org provides an implementation of the X Window System")
2457 (license license:x11)))
2458
2459
2460;; FIXME: Tries to install file joystick-properties.h into ...--xorg-server-1.12.2/include/xorg
2461(define-public xf86-input-joystick
2462 (package
2463 (name "xf86-input-joystick")
2464 (version "1.6.1")
2465 (source
2466 (origin
2467 (method url-fetch)
2468 (uri (string-append
2469 "mirror://xorg/X11R7.7/src/everything/xf86-input-joystick-"
2470 version
2471 ".tar.bz2"))
2472 (sha256
2473 (base32
2474 "1xgpkdmfw4ahjlva97gs9sllzw8nlpa8mxj59g28fxhak67mvv8x"))))
2475 (build-system gnu-build-system)
2476 (inputs `(("pkg-config" ,pkg-config)
2477 ("xorg-server" ,xorg-server)))
2478 (home-page "http://www.x.org/wiki/")
2479 (synopsis "xorg implementation of the X Window System")
2480 (description "X.org provides an implementation of the X Window System")
2481 (license license:x11)))
2482
2483
2484(define-public xf86-input-keyboard
2485 (package
2486 (name "xf86-input-keyboard")
2487 (version "1.6.1")
2488 (source
2489 (origin
2490 (method url-fetch)
2491 (uri (string-append
2492 "mirror://xorg/X11R7.7/src/everything/xf86-input-keyboard-"
2493 version
2494 ".tar.bz2"))
2495 (sha256
2496 (base32
2497 "1hwc1bjw5mxv186xbrxiky0agfglwqg8fsxqdh4br1vzgxpck7ma"))))
2498 (build-system gnu-build-system)
2499 (inputs `(("pkg-config" ,pkg-config)
2500 ("xorg-server" ,xorg-server)))
2501 (home-page "http://www.x.org/wiki/")
2502 (synopsis "xorg implementation of the X Window System")
2503 (description "X.org provides an implementation of the X Window System")
2504 (license license:x11)))
2505
2506
2507(define-public xf86-input-mouse
2508 (package
2509 (name "xf86-input-mouse")
2510 (version "1.7.2")
2511 (source
2512 (origin
2513 (method url-fetch)
2514 (uri (string-append
2515 "mirror://xorg/X11R7.7/src/everything/xf86-input-mouse-"
2516 version
2517 ".tar.bz2"))
2518 (sha256
2519 (base32
2520 "0fs1lwnycyv3d0m6l2wrnlgvbs8qw66d93hwlnmrsswfq5bp6ark"))))
2521 (build-system gnu-build-system)
2522 (inputs `(("pkg-config" ,pkg-config)
2523 ("xorg-server" ,xorg-server)))
2524 (home-page "http://www.x.org/wiki/")
2525 (synopsis "xorg implementation of the X Window System")
2526 (description "X.org provides an implementation of the X Window System")
2527 (license license:x11)))
2528
2529
2530(define-public xf86-input-synaptics
2531 (package
2532 (name "xf86-input-synaptics")
2533 (version "1.6.1")
2534 (source
2535 (origin
2536 (method url-fetch)
2537 (uri (string-append
2538 "mirror://xorg/X11R7.7/src/everything/xf86-input-synaptics-"
2539 version
2540 ".tar.bz2"))
2541 (sha256
2542 (base32
2543 "0g5b1s6q1dg38l8y47cwg7cs5nivwj0agmp71g273ws0lfg4bc8s"))))
2544 (build-system gnu-build-system)
2545 (inputs `(("libx11" ,libx11)
2546 ("libxi" ,libxi)
2547 ("mtdev" ,mtdev)
2548 ("pkg-config" ,pkg-config)
2549 ("xorg-server" ,xorg-server)))
2550 (home-page "http://www.x.org/wiki/")
2551 (synopsis "xorg implementation of the X Window System")
2552 (description "X.org provides an implementation of the X Window System")
2553 (license license:x11)))
2554
2555
2556;; FIXME: Installation tries to create ...-xorg-server-1.12.2/share/X11/xorg.conf.d
2557(define-public xf86-input-vmmouse
2558 (package
2559 (name "xf86-input-vmmouse")
2560 (version "12.8.0")
2561 (source
2562 (origin
2563 (method url-fetch)
2564 (uri (string-append
2565 "mirror://xorg/X11R7.7/src/everything/xf86-input-vmmouse-"
2566 version
2567 ".tar.bz2"))
2568 (sha256
2569 (base32
2570 "16l65mnjb1xxav6c5q0xhhqih81bzify2c5qrhqc2j3waq5yr9m8"))))
2571 (build-system gnu-build-system)
2572 (inputs `(("pkg-config" ,pkg-config)
2573 ("xorg-server" ,xorg-server)))
2574 (home-page "http://www.x.org/wiki/")
2575 (synopsis "xorg implementation of the X Window System")
2576 (description "X.org provides an implementation of the X Window System")
2577 (license license:x11)))
2578
2579
2580(define-public xf86-input-void
2581 (package
2582 (name "xf86-input-void")
2583 (version "1.4.0")
2584 (source
2585 (origin
2586 (method url-fetch)
2587 (uri (string-append
2588 "mirror://xorg/X11R7.7/src/everything/xf86-input-void-"
2589 version
2590 ".tar.bz2"))
2591 (sha256
2592 (base32
2593 "01bmk324fq48wydvy1qrnxbw6qz0fjd0i80g0n4cqr1c4mjmif9a"))))
2594 (build-system gnu-build-system)
2595 (inputs `(("pkg-config" ,pkg-config)
2596 ("xorg-server" ,xorg-server)))
2597 (home-page "http://www.x.org/wiki/")
2598 (synopsis "xorg implementation of the X Window System")
2599 (description "X.org provides an implementation of the X Window System")
2600 (license license:x11)))
2601
2602
2603(define-public xf86-video-ark
2604 (package
2605 (name "xf86-video-ark")
2606 (version "0.7.4")
2607 (source
2608 (origin
2609 (method url-fetch)
2610 (uri (string-append
2611 "mirror://xorg/X11R7.7/src/everything/xf86-video-ark-"
2612 version
2613 ".tar.bz2"))
2614 (sha256
2615 (base32
2616 "194zc35ivfh3vcxcilf9nbi88c2di8kbh84x535cljlpiajdnk5x"))))
2617 (build-system gnu-build-system)
2618 (inputs `(("pkg-config" ,pkg-config)
2619 ("xorg-server" ,xorg-server)))
2620 (home-page "http://www.x.org/wiki/")
2621 (synopsis "xorg implementation of the X Window System")
2622 (description "X.org provides an implementation of the X Window System")
2623 (license license:x11)))
2624
2625
2626(define-public xf86-video-ast
2627 (package
2628 (name "xf86-video-ast")
2629 (version "0.93.10")
2630 (source
2631 (origin
2632 (method url-fetch)
2633 (uri (string-append
2634 "mirror://xorg/X11R7.7/src/everything/xf86-video-ast-"
2635 version
2636 ".tar.bz2"))
2637 (sha256
2638 (base32
2639 "1q64z8qqa0ix3cymqiwk1s3sphd1fvvz30lvyxhgkgciygz6dm69"))))
2640 (build-system gnu-build-system)
2641 (inputs `(("pkg-config" ,pkg-config)
2642 ("xorg-server" ,xorg-server)))
2643 (home-page "http://www.x.org/wiki/")
2644 (synopsis "xorg implementation of the X Window System")
2645 (description "X.org provides an implementation of the X Window System")
2646 (license license:x11)))
2647
2648
2649(define-public xf86-video-ati
2650 (package
2651 (name "xf86-video-ati")
2652 (version "6.14.4")
2653 (source
2654 (origin
2655 (method url-fetch)
2656 (uri (string-append
2657 "mirror://xorg/X11R7.7/src/everything/xf86-video-ati-"
2658 version
2659 ".tar.bz2"))
2660 (sha256
2661 (base32
2662 "11gg6xn65vym75769hzgzpkjsyhlkrw4zw3ncngriq7vz1g47zjg"))))
2663 (build-system gnu-build-system)
2664 (inputs `(("mesa" ,mesa)
2665 ("pkg-config" ,pkg-config)
2666 ("xxf86driproto" ,xf86driproto)
2667 ("xorg-server" ,xorg-server)))
2668 (home-page "http://www.x.org/wiki/")
2669 (synopsis "xorg implementation of the X Window System")
2670 (description "X.org provides an implementation of the X Window System")
2671 (license license:x11)))
2672
2673
2674(define-public xf86-video-cirrus
2675 (package
2676 (name "xf86-video-cirrus")
2677 (version "1.4.0")
2678 (source
2679 (origin
2680 (method url-fetch)
2681 (uri (string-append
2682 "mirror://xorg/X11R7.7/src/everything/xf86-video-cirrus-"
2683 version
2684 ".tar.bz2"))
2685 (sha256
2686 (base32
2687 "0blnbspj4936wy46lp346s4b08dfcray6yicsxvv5b4699fzl1rb"))))
2688 (build-system gnu-build-system)
2689 (inputs `(("pkg-config" ,pkg-config)
2690 ("xorg-server" ,xorg-server)))
2691 (home-page "http://www.x.org/wiki/")
2692 (synopsis "xorg implementation of the X Window System")
2693 (description "X.org provides an implementation of the X Window System")
2694 (license license:x11)))
2695
2696
2697;; (define-public xf86-video-dummy
2698;; (package
2699;; (name "xf86-video-dummy")
2700;; (version "0.3.5")
2701;; (source
2702;; (origin
2703;; (method url-fetch)
2704;; (uri (string-append
2705;; "mirror://xorg/X11R7.7/src/everything/xf86-video-dummy-"
2706;; version
2707;; ".tar.bz2"))
2708;; (sha256
2709;; (base32
2710;; "0pyr50kqh7g84r4p0x09ay5kxax20dip9sh8h3cbd4xv8cswdbfm"))))
2711;; (build-system gnu-build-system)
2712;; (inputs `(("pkg-config" ,pkg-config)))
2713;; (home-page "http://www.x.org/wiki/")
2714;; (synopsis "xorg implementation of the X Window System")
2715;; (description "X.org provides an implementation of the X Window System")
2716;; (license non-free)))
2717
2718
2719(define-public xf86-video-fbdev
2720 (package
2721 (name "xf86-video-fbdev")
2722 (version "0.4.2")
2723 (source
2724 (origin
2725 (method url-fetch)
2726 (uri (string-append
2727 "mirror://xorg/X11R7.7/src/everything/xf86-video-fbdev-"
2728 version
2729 ".tar.bz2"))
2730 (sha256
2731 (base32
2732 "1mc23w0bfmak5216411xh58nrs93jlxmi6l412hmqzhxnjs73clk"))))
2733 (build-system gnu-build-system)
2734 (inputs `(("pkg-config" ,pkg-config)
2735 ("xorg-server" ,xorg-server)))
2736 (home-page "http://www.x.org/wiki/")
2737 (synopsis "xorg implementation of the X Window System")
2738 (description "X.org provides an implementation of the X Window System")
2739 (license license:x11)))
2740
2741
2742;; Compilation errors: Assembler messages operand size mismatch etc.
2743;; (define-public xf86-video-geode
2744;; (package
2745;; (name "xf86-video-geode")
2746;; (version "2.11.13")
2747;; (source
2748;; (origin
2749;; (method url-fetch)
2750;; (uri (string-append
2751;; "mirror://xorg/X11R7.7/src/everything/xf86-video-geode-"
2752;; version
2753;; ".tar.bz2"))
2754;; (sha256
2755;; (base32
2756;; "09p2cjd2fb7h32k9qs4wp7qvhfn2zv454spv5mfplv7w2jis4863"))))
2757;; (build-system gnu-build-system)
2758;; (inputs `(("pkg-config" ,pkg-config)
2759;; ("xorg-server" ,xorg-server)))
2760;; (home-page "http://www.x.org/wiki/")
2761;; (synopsis "xorg implementation of the X Window System")
2762;; (description "X.org provides an implementation of the X Window System")
2763;; (license license:x11)))
2764
2765
2766;; Driver for obsolete graphics cards, depends on libglide:
2767;; http://sourceforge.net/projects/glide/ ,
2768;; last updated in 2003, and which does not compile out of the box any more.
2769;; (define-public xf86-video-glide
2770;; (package
2771;; (name "xf86-video-glide")
2772;; (version "1.2.0")
2773;; (source
2774;; (origin
2775;; (method url-fetch)
2776;; (uri (string-append
2777;; "mirror://xorg/X11R7.7/src/everything/xf86-video-glide-"
2778;; version
2779;; ".tar.bz2"))
2780;; (sha256
2781;; (base32
2782;; "0byapm9mnpqk3wijfnnan3d22ii5cw6dmg4xn1625iiz89j5vs1l"))))
2783;; (build-system gnu-build-system)
2784;; (inputs `(("pkg-config" ,pkg-config)
2785;; ("xorg-server" ,xorg-server)))
2786;; (home-page "http://www.x.org/wiki/")
2787;; (synopsis "xorg implementation of the X Window System")
2788;; (description "X.org provides an implementation of the X Window System")
2789;; (license license:x11)))
2790
2791
2792(define-public xf86-video-glint
2793 (package
2794 (name "xf86-video-glint")
2795 (version "1.2.7")
2796 (source
2797 (origin
2798 (method url-fetch)
2799 (uri (string-append
2800 "mirror://xorg/X11R7.7/src/everything/xf86-video-glint-"
2801 version
2802 ".tar.bz2"))
2803 (sha256
2804 (base32
2805 "0nf36jryabpncqq4m6sfsnmzk00f7gvfmjnl8l8sfy7w6sa6iacs"))))
2806 (build-system gnu-build-system)
2807 (inputs `(("pkg-config" ,pkg-config)
2808 ("xf86dgaproto" ,xf86dgaproto)
2809 ("xorg-server" ,xorg-server)))
2810 (home-page "http://www.x.org/wiki/")
2811 (synopsis "xorg implementation of the X Window System")
2812 (description "X.org provides an implementation of the X Window System")
2813 (license license:x11)))
2814
2815
2816(define-public xf86-video-i128
2817 (package
2818 (name "xf86-video-i128")
2819 (version "1.3.5")
2820 (source
2821 (origin
2822 (method url-fetch)
2823 (uri (string-append
2824 "mirror://xorg/X11R7.7/src/everything/xf86-video-i128-"
2825 version
2826 ".tar.bz2"))
2827 (sha256
2828 (base32
2829 "1sik8ck410hb2885vy7rlc590hw5br8lr2fzxgmv55jyawgfpv9y"))))
2830 (build-system gnu-build-system)
2831 (inputs `(("pkg-config" ,pkg-config)
2832 ("xorg-server" ,xorg-server)))
2833 (home-page "http://www.x.org/wiki/")
2834 (synopsis "xorg implementation of the X Window System")
2835 (description "X.org provides an implementation of the X Window System")
2836 (license license:x11)))
2837
2838
2839(define-public xf86-video-intel
2840 (package
2841 (name "xf86-video-intel")
2842 (version "2.19.0")
2843 (source
2844 (origin
2845 (method url-fetch)
2846 (uri (string-append
2847 "mirror://xorg/X11R7.7/src/everything/xf86-video-intel-"
2848 version
2849 ".tar.bz2"))
2850 (sha256
2851 (base32
2852 "1g742szymajh88a5dw08sxcr45bmxgc4w3m6hddv9qscn5hks4rj"))))
2853 (build-system gnu-build-system)
2854 (inputs `(("libdrm" ,libdrm)
2855 ("libx11" ,libx11)
2856 ("pkg-config" ,pkg-config)
2857 ("xorg-server" ,xorg-server)))
2858 (home-page "http://www.x.org/wiki/")
2859 (synopsis "xorg implementation of the X Window System")
2860 (description "X.org provides an implementation of the X Window System")
2861 (license license:x11)))
2862
2863
2864(define-public xf86-video-mach64
2865 (package
2866 (name "xf86-video-mach64")
2867 (version "6.9.1")
2868 (source
2869 (origin
2870 (method url-fetch)
2871 (uri (string-append
2872 "mirror://xorg/X11R7.7/src/everything/xf86-video-mach64-"
2873 version
2874 ".tar.bz2"))
2875 (sha256
2876 (base32
2877 "0kl3kvpc2ny48z89313i9fi4cxzwb2pllvxcr9j5ly680ygx8slz"))))
2878 (build-system gnu-build-system)
2879 (inputs `(("mesa" ,mesa)
2880 ("pkg-config" ,pkg-config)
2881 ("xf86driproto" ,xf86driproto)
2882 ("xorg-server" ,xorg-server)))
2883 (home-page "http://www.x.org/wiki/")
2884 (synopsis "xorg implementation of the X Window System")
2885 (description "X.org provides an implementation of the X Window System")
2886 (license license:x11)))
2887
2888
2889(define-public xf86-video-mga
2890 (package
2891 (name "xf86-video-mga")
2892 (version "1.5.0")
2893 (source
2894 (origin
2895 (method url-fetch)
2896 (uri (string-append
2897 "mirror://xorg/X11R7.7/src/everything/xf86-video-mga-"
2898 version
2899 ".tar.bz2"))
2900 (sha256
2901 (base32
2902 "03l3wz5kz0hmxmzqqbkgn7pf9d956jlag04rb701a0fr1mw3v66a"))))
2903 (build-system gnu-build-system)
2904 (inputs `(("mesa" ,mesa)
2905 ("pkg-config" ,pkg-config)
2906 ("xf86driproto" ,xf86driproto)
2907 ("xorg-server" ,xorg-server)))
2908 (home-page "http://www.x.org/wiki/")
2909 (synopsis "xorg implementation of the X Window System")
2910 (description "X.org provides an implementation of the X Window System")
2911 (license license:x11)))
2912
2913
2914(define-public xf86-video-neomagic
2915 (package
2916 (name "xf86-video-neomagic")
2917 (version "1.2.6")
2918 (source
2919 (origin
2920 (method url-fetch)
2921 (uri (string-append
2922 "mirror://xorg/X11R7.7/src/everything/xf86-video-neomagic-"
2923 version
2924 ".tar.bz2"))
2925 (sha256
2926 (base32
2927 "124qci48xrk0w2jy91n7vqs7s6q397zyiqqszhmkx6ld7six57mi"))))
2928 (build-system gnu-build-system)
2929 (inputs `(("pkg-config" ,pkg-config)
2930 ("xf86dgaproto" ,xf86dgaproto)
2931 ("xorg-server" ,xorg-server)))
2932 (home-page "http://www.x.org/wiki/")
2933 (synopsis "xorg implementation of the X Window System")
2934 (description "X.org provides an implementation of the X Window System")
2935 (license license:x11)))
2936
2937
2938(define-public xf86-video-newport
2939 (package
2940 (name "xf86-video-newport")
2941 (version "0.2.4")
2942 (source
2943 (origin
2944 (method url-fetch)
2945 (uri (string-append
2946 "mirror://xorg/X11R7.7/src/everything/xf86-video-newport-"
2947 version
2948 ".tar.bz2"))
2949 (sha256
2950 (base32
2951 "1yafmp23jrfdmc094i6a4dsizapsc9v0pl65cpc8w1kvn7343k4i"))))
2952 (build-system gnu-build-system)
2953 (inputs `(("pkg-config" ,pkg-config)
2954 ("xorg-server" ,xorg-server)))
2955 (home-page "http://www.x.org/wiki/")
2956 (synopsis "xorg implementation of the X Window System")
2957 (description "X.org provides an implementation of the X Window System")
2958 (license license:x11)))
2959
2960
2961(define-public xf86-video-nv
2962 (package
2963 (name "xf86-video-nv")
2964 (version "2.1.18")
2965 (source
2966 (origin
2967 (method url-fetch)
2968 (uri (string-append
2969 "mirror://xorg/X11R7.7/src/everything/xf86-video-nv-"
2970 version
2971 ".tar.bz2"))
2972 (sha256
2973 (base32
2974 "05glbi9jc7j9nm4sf4qvl3z87s48ibm3i283lqz85kbphg62dxvc"))))
2975 (build-system gnu-build-system)
2976 (inputs `(("pkg-config" ,pkg-config)
2977 ("xorg-server" ,xorg-server)))
2978 (home-page "http://www.x.org/wiki/")
2979 (synopsis "xorg implementation of the X Window System")
2980 (description "X.org provides an implementation of the X Window System")
2981 (license license:x11)))
2982
2983
2984(define-public xf86-video-openchrome
2985 (package
2986 (name "xf86-video-openchrome")
2987 (version "0.2.906")
2988 (source
2989 (origin
2990 (method url-fetch)
2991 (uri (string-append
2992 "mirror://xorg/X11R7.7/src/everything/xf86-video-openchrome-"
2993 version
2994 ".tar.bz2"))
2995 (sha256
2996 (base32
2997 "0hgzn1r7ig94xbr9dvq0bp1nxqlfp2ki8823jca3f22a2kf8wmg7"))))
2998 (build-system gnu-build-system)
2999 (inputs `(("libx11" ,libx11)
3000 ("libxext" ,libxext)
3001 ("libxvmc" ,libxvmc)
3002 ("mesa" ,mesa)
3003 ("pkg-config" ,pkg-config)
3004 ("xf86driproto" ,xf86driproto)
3005 ("xorg-server" ,xorg-server)))
3006 (home-page "http://www.x.org/wiki/")
3007 (synopsis "xorg implementation of the X Window System")
3008 (description "X.org provides an implementation of the X Window System")
3009 (license license:x11)))
3010
3011
3012(define-public xf86-video-r128
3013 (package
3014 (name "xf86-video-r128")
3015 (version "6.8.2")
3016 (source
3017 (origin
3018 (method url-fetch)
3019 (uri (string-append
3020 "mirror://xorg/X11R7.7/src/everything/xf86-video-r128-"
3021 version
3022 ".tar.bz2"))
3023 (sha256
3024 (base32
3025 "1c84x40k9qz9dnf5qs6nnjcgz7px6mpc3rbk8mj62zhp7mf16hbv"))))
3026 (build-system gnu-build-system)
3027 (inputs `(("mesa" ,mesa)
3028 ("pkg-config" ,pkg-config)
3029 ("xf86driproto" ,xf86driproto)
3030 ("xorg-server" ,xorg-server)))
3031 (home-page "http://www.x.org/wiki/")
3032 (synopsis "xorg implementation of the X Window System")
3033 (description "X.org provides an implementation of the X Window System")
3034 (license license:x11)))
3035
3036
3037(define-public xf86-video-savage
3038 (package
3039 (name "xf86-video-savage")
3040 (version "2.3.4")
3041 (source
3042 (origin
3043 (method url-fetch)
3044 (uri (string-append
3045 "mirror://xorg/X11R7.7/src/everything/xf86-video-savage-"
3046 version
3047 ".tar.bz2"))
3048 (sha256
3049 (base32
3050 "0jdy4wv3k3ylx3lajjcbsg37z2hf6366a1jvv16sv1ln6dk6lris"))))
3051 (build-system gnu-build-system)
3052 (inputs `(("mesa" ,mesa)
3053 ("pkg-config" ,pkg-config)
3054 ("xf86driproto" ,xf86driproto)
3055 ("xorg-server" ,xorg-server)))
3056 (home-page "http://www.x.org/wiki/")
3057 (synopsis "xorg implementation of the X Window System")
3058 (description "X.org provides an implementation of the X Window System")
3059 (license license:x11)))
3060
3061
3062(define-public xf86-video-siliconmotion
3063 (package
3064 (name "xf86-video-siliconmotion")
3065 (version "1.7.6")
3066 (source
3067 (origin
3068 (method url-fetch)
3069 (uri (string-append
3070 "mirror://xorg/X11R7.7/src/everything/xf86-video-siliconmotion-"
3071 version
3072 ".tar.bz2"))
3073 (sha256
3074 (base32
3075 "01sdl6ky1vmvmfgx2d44i35rqafi0z07xdy40cvindcr2k91p7x5"))))
3076 (build-system gnu-build-system)
3077 (inputs `(("pkg-config" ,pkg-config)
3078 ("xorg-server" ,xorg-server)))
3079 (home-page "http://www.x.org/wiki/")
3080 (synopsis "xorg implementation of the X Window System")
3081 (description "X.org provides an implementation of the X Window System")
3082 (license license:x11)))
3083
3084
3085(define-public xf86-video-sis
3086 (package
3087 (name "xf86-video-sis")
3088 (version "0.10.4")
3089 (source
3090 (origin
3091 (method url-fetch)
3092 (uri (string-append
3093 "mirror://xorg/X11R7.7/src/everything/xf86-video-sis-"
3094 version
3095 ".tar.bz2"))
3096 (sha256
3097 (base32
3098 "03diq0l93lfsipmwkpdb2ysgbxxryl6yakpghzc3fksjxa01112f"))))
3099 (build-system gnu-build-system)
3100 (inputs `(("mesa" ,mesa)
3101 ("pkg-config" ,pkg-config)
3102 ("xf86dgaproto" ,xf86dgaproto)
3103 ("xf86driproto" ,xf86driproto)
3104 ("xorg-server" ,xorg-server)))
3105 (home-page "http://www.x.org/wiki/")
3106 (synopsis "xorg implementation of the X Window System")
3107 (description "X.org provides an implementation of the X Window System")
3108 (license license:bsd-3)))
3109
3110
3111(define-public xf86-video-suncg6
3112 (package
3113 (name "xf86-video-suncg6")
3114 (version "1.1.1")
3115 (source
3116 (origin
3117 (method url-fetch)
3118 (uri (string-append
3119 "mirror://xorg/X11R7.7/src/everything/xf86-video-suncg6-"
3120 version
3121 ".tar.bz2"))
3122 (sha256
3123 (base32
3124 "07w0hm63fiy5l3cpcjsl0ig8z84z9r36xm0cmnpiv3g75dy6q8fi"))))
3125 (build-system gnu-build-system)
3126 (inputs `(("pkg-config" ,pkg-config)
3127 ("xorg-server" ,xorg-server)))
3128 (home-page "http://www.x.org/wiki/")
3129 (synopsis "xorg implementation of the X Window System")
3130 (description "X.org provides an implementation of the X Window System")
3131 (license license:x11)))
3132
3133
3134(define-public xf86-video-sunffb
3135 (package
3136 (name "xf86-video-sunffb")
3137 (version "1.2.1")
3138 (source
3139 (origin
3140 (method url-fetch)
3141 (uri (string-append
3142 "mirror://xorg/X11R7.7/src/everything/xf86-video-sunffb-"
3143 version
3144 ".tar.bz2"))
3145 (sha256
3146 (base32
3147 "04byax4sc1fn183vyyq0q11q730k16h2by4ggjky7s36wgv7ldzx"))))
3148 (build-system gnu-build-system)
3149 (inputs `(("pkg-config" ,pkg-config)
3150 ("xorg-server" ,xorg-server)))
3151 (home-page "http://www.x.org/wiki/")
3152 (synopsis "xorg implementation of the X Window System")
3153 (description "X.org provides an implementation of the X Window System")
3154 (license license:x11)))
3155
3156
3157(define-public xf86-video-tdfx
3158 (package
3159 (name "xf86-video-tdfx")
3160 (version "1.4.4")
3161 (source
3162 (origin
3163 (method url-fetch)
3164 (uri (string-append
3165 "mirror://xorg/X11R7.7/src/everything/xf86-video-tdfx-"
3166 version
3167 ".tar.bz2"))
3168 (sha256
3169 (base32
3170 "124gsi30rj547jjd7gvv7xykfnwlyrxw0gcacamby7pvl3g33fg0"))))
3171 (build-system gnu-build-system)
3172 (inputs `(("mesa" ,mesa)
3173 ("pkg-config" ,pkg-config)
3174 ("xf86driproto" ,xf86driproto)
3175 ("xorg-server" ,xorg-server)))
3176 (home-page "http://www.x.org/wiki/")
3177 (synopsis "xorg implementation of the X Window System")
3178 (description "X.org provides an implementation of the X Window System")
3179 (license license:x11)))
3180
3181
3182(define-public xf86-video-tga
3183 (package
3184 (name "xf86-video-tga")
3185 (version "1.2.1")
3186 (source
3187 (origin
3188 (method url-fetch)
3189 (uri (string-append
3190 "mirror://xorg/X11R7.7/src/everything/xf86-video-tga-"
3191 version
3192 ".tar.bz2"))
3193 (sha256
3194 (base32
3195 "0mdqrn02zzkdnmhg4vh9djaawg6b2p82g5qbj66z8b30yr77b93h"))))
3196 (build-system gnu-build-system)
3197 (inputs `(("pkg-config" ,pkg-config)
3198 ("xf86dgaproto" ,xf86dgaproto)
3199 ("xorg-server" ,xorg-server)))
3200 (home-page "http://www.x.org/wiki/")
3201 (synopsis "xorg implementation of the X Window System")
3202 (description "X.org provides an implementation of the X Window System")
3203 (license license:x11)))
3204
3205
3206(define-public xf86-video-trident
3207 (package
3208 (name "xf86-video-trident")
3209 (version "1.3.5")
3210 (source
3211 (origin
3212 (method url-fetch)
3213 (uri (string-append
3214 "mirror://xorg/X11R7.7/src/everything/xf86-video-trident-"
3215 version
3216 ".tar.bz2"))
3217 (sha256
3218 (base32
3219 "02y5pzdp0a1c12jr8gghbrzgbyfbgq67x7kd7n4f323pmf8x1csb"))))
3220 (build-system gnu-build-system)
3221 (inputs `(("pkg-config" ,pkg-config)
3222 ("xf86dgaproto" ,xf86dgaproto)
3223 ("xorg-server" ,xorg-server)))
3224 (home-page "http://www.x.org/wiki/")
3225 (synopsis "xorg implementation of the X Window System")
3226 (description "X.org provides an implementation of the X Window System")
3227 (license license:x11)))
3228
3229
3230;; (define-public xf86-video-v4l
3231;; (package
3232;; (name "xf86-video-v4l")
3233;; (version "0.2.0")
3234;; (source
3235;; (origin
3236;; (method url-fetch)
3237;; (uri (string-append
3238;; "mirror://xorg/X11R7.7/src/everything/xf86-video-v4l-"
3239;; version
3240;; ".tar.bz2"))
3241;; (sha256
3242;; (base32
3243;; "0pcjc75hgbih3qvhpsx8d4fljysfk025slxcqyyhr45dzch93zyb"))))
3244;; (build-system gnu-build-system)
3245;; (inputs `(("pkg-config" ,pkg-config)))
3246;; (home-page "http://www.x.org/wiki/")
3247;; (synopsis "xorg implementation of the X Window System")
3248;; (description "X.org provides an implementation of the X Window System")
3249;; (license none)))
3250
3251
3252(define-public xf86-video-vesa
3253 (package
3254 (name "xf86-video-vesa")
3255 (version "2.3.1")
3256 (source
3257 (origin
3258 (method url-fetch)
3259 (uri (string-append
3260 "mirror://xorg/X11R7.7/src/everything/xf86-video-vesa-"
3261 version
3262 ".tar.bz2"))
3263 (sha256
3264 (base32
3265 "0wqms28kkz2fvghqhqwp6w8zj7k5cgwnhzvkc7j4v268bf6h78g4"))))
3266 (build-system gnu-build-system)
3267 (inputs `(("pkg-config" ,pkg-config)
3268 ("xorg-server" ,xorg-server)))
3269 (home-page "http://www.x.org/wiki/")
3270 (synopsis "xorg implementation of the X Window System")
3271 (description "X.org provides an implementation of the X Window System")
3272 (license license:x11)))
3273
3274
3275(define-public xf86-video-vmware
3276 (package
3277 (name "xf86-video-vmware")
3278 (version "12.0.2")
3279 (source
3280 (origin
3281 (method url-fetch)
3282 (uri (string-append
3283 "mirror://xorg/X11R7.7/src/everything/xf86-video-vmware-"
3284 version
3285 ".tar.bz2"))
3286 (sha256
3287 (base32
3288 "0isiwx516gww8hfk3vy7js83yziyjym9mq2zjadyq1a8v5gqf9y8"))))
3289 (build-system gnu-build-system)
3290 (inputs `(("libx11" ,libx11)
3291 ("libxext" ,libxext)
3292 ("pkg-config" ,pkg-config)
3293 ("xorg-server" ,xorg-server)))
3294 (home-page "http://www.x.org/wiki/")
3295 (synopsis "xorg implementation of the X Window System")
3296 (description "X.org provides an implementation of the X Window System")
3297 (license license:x11)))
3298
3299
3300(define-public xf86-video-voodoo
3301 (package
3302 (name "xf86-video-voodoo")
3303 (version "1.2.4")
3304 (source
3305 (origin
3306 (method url-fetch)
3307 (uri (string-append
3308 "mirror://xorg/X11R7.7/src/everything/xf86-video-voodoo-"
3309 version
3310 ".tar.bz2"))
3311 (sha256
3312 (base32
3313 "0ha748yz92yzn6hp2rhin3il8f4j2rs4vkgdvqkagnv1ryxkh0ph"))))
3314 (build-system gnu-build-system)
3315 (inputs `(("pkg-config" ,pkg-config)
3316 ("xf86dgaproto" ,xf86dgaproto)
3317 ("xorg-server" ,xorg-server)))
3318 (home-page "http://www.x.org/wiki/")
3319 (synopsis "xorg implementation of the X Window System")
3320 (description "X.org provides an implementation of the X Window System")
3321 (license license:x11)))
3322
3323
3324;; Only relevant for the frame buffer on BSD systems.
3325;; (define-public xf86-video-wsfb
3326;; (package
3327;; (name "xf86-video-wsfb")
3328;; (version "0.4.0")
3329;; (source
3330;; (origin
3331;; (method url-fetch)
3332;; (uri (string-append
3333;; "mirror://xorg/X11R7.7/src/everything/xf86-video-wsfb-"
3334;; version
3335;; ".tar.bz2"))
3336;; (sha256
3337;; (base32
3338;; "0hr8397wpd0by1hc47fqqrnaw3qdqd8aqgwgzv38w5k3l3jy6p4p"))))
3339;; (build-system gnu-build-system)
3340;; (inputs `(("pkg-config" ,pkg-config)
3341;; ("xorg-server" ,xorg-server)))
3342;; (home-page "http://www.x.org/wiki/")
3343;; (synopsis "xorg implementation of the X Window System")
3344;; (description "X.org provides an implementation of the X Window System")
3345;; (license license:bsd-2)))
3346
3347
3348(define-public xf86bigfontproto
3349 (package
3350 (name "xf86bigfontproto")
3351 (version "1.2.0")
3352 (source
3353 (origin
3354 (method url-fetch)
3355 (uri (string-append
3356 "mirror://xorg/X11R7.7/src/everything/xf86bigfontproto-"
3357 version
3358 ".tar.bz2"))
3359 (sha256
3360 (base32
3361 "0j0n7sj5xfjpmmgx6n5x556rw21hdd18fwmavp95wps7qki214ms"))))
3362 (build-system gnu-build-system)
3363 (home-page "http://www.x.org/wiki/")
3364 (synopsis "xorg implementation of the X Window System")
3365 (description "X.org provides an implementation of the X Window System")
3366 (license license:x11)))
3367
3368
3369(define-public xf86dgaproto
3370 (package
3371 (name "xf86dgaproto")
3372 (version "2.1")
3373 (source
3374 (origin
3375 (method url-fetch)
3376 (uri (string-append
3377 "mirror://xorg/X11R7.7/src/everything/xf86dgaproto-"
3378 version
3379 ".tar.bz2"))
3380 (sha256
3381 (base32
3382 "0l4hx48207mx0hp09026r6gy9nl3asbq0c75hri19wp1118zcpmc"))))
3383 (build-system gnu-build-system)
3384 (home-page "http://www.x.org/wiki/")
3385 (synopsis "xorg implementation of the X Window System")
3386 (description "X.org provides an implementation of the X Window System")
3387 (license license:x11)))
3388
3389
3390(define-public xf86driproto
3391 (package
3392 (name "xf86driproto")
3393 (version "2.1.1")
3394 (source
3395 (origin
3396 (method url-fetch)
3397 (uri (string-append
3398 "mirror://xorg/X11R7.7/src/everything/xf86driproto-"
3399 version
3400 ".tar.bz2"))
3401 (sha256
3402 (base32
3403 "07v69m0g2dfzb653jni4x656jlr7l84c1k39j8qc8vfb45r8sjww"))))
3404 (build-system gnu-build-system)
3405 (home-page "http://www.x.org/wiki/")
3406 (synopsis "xorg implementation of the X Window System")
3407 (description "X.org provides an implementation of the X Window System")
3408 (license license:x11)))
3409
3410
3411(define-public xf86vidmodeproto
3412 (package
3413 (name "xf86vidmodeproto")
3414 (version "2.3.1")
3415 (source
3416 (origin
3417 (method url-fetch)
3418 (uri (string-append
3419 "mirror://xorg/X11R7.7/src/everything/xf86vidmodeproto-"
3420 version
3421 ".tar.bz2"))
3422 (sha256
3423 (base32
3424 "0w47d7gfa8zizh2bshdr2rffvbr4jqjv019mdgyh6cmplyd4kna5"))))
3425 (build-system gnu-build-system)
3426 (home-page "http://www.x.org/wiki/")
3427 (synopsis "xorg implementation of the X Window System")
3428 (description "X.org provides an implementation of the X Window System")
3429 (license license:x11)))
3430
3431
3432(define-public xgamma
3433 (package
3434 (name "xgamma")
3435 (version "1.0.5")
3436 (source
3437 (origin
3438 (method url-fetch)
3439 (uri (string-append
3440 "mirror://xorg/X11R7.7/src/everything/xgamma-"
3441 version
3442 ".tar.bz2"))
3443 (sha256
3444 (base32
3445 "0463sawps86jnxn121ramsz4sicy3az5wa5wsq4rqm8dm3za48p3"))))
3446 (build-system gnu-build-system)
3447 (inputs
3448 `(("libxxf86vm" ,libxxf86vm)
3449 ("libx11" ,libx11)
3450 ("pkg-config" ,pkg-config)))
3451 (home-page "http://www.x.org/wiki/")
3452 (synopsis "xorg implementation of the X Window System")
3453 (description "X.org provides an implementation of the X Window System")
3454 (license license:x11)))
3455
3456
3457(define-public xhost
3458 (package
3459 (name "xhost")
3460 (version "1.0.5")
3461 (source
3462 (origin
3463 (method url-fetch)
3464 (uri (string-append
3465 "mirror://xorg/X11R7.7/src/everything/xhost-"
3466 version
3467 ".tar.bz2"))
3468 (sha256
3469 (base32
3470 "0l483y6wfrjh37j16b41kpi2nc7ss5rvndafpbaylrs87ygx2w18"))))
3471 (build-system gnu-build-system)
3472 (inputs
3473 `(("libxmu" ,libxmu)
3474 ("libxau" ,libxau)
3475 ("libx11" ,libx11)
3476 ("pkg-config" ,pkg-config)))
3477 (home-page "http://www.x.org/wiki/")
3478 (synopsis "xorg implementation of the X Window System")
3479 (description "X.org provides an implementation of the X Window System")
3480 (license license:x11)))
3481
3482
3483(define-public xineramaproto
3484 (package
3485 (name "xineramaproto")
3486 (version "1.2.1")
3487 (source
3488 (origin
3489 (method url-fetch)
3490 (uri (string-append
3491 "mirror://xorg/X11R7.7/src/everything/xineramaproto-"
3492 version
3493 ".tar.bz2"))
3494 (sha256
3495 (base32
3496 "0ns8abd27x7gbp4r44z3wc5k9zqxxj8zjnazqpcyr4n17nxp8xcp"))))
3497 (build-system gnu-build-system)
3498 (inputs `(("pkg-config" ,pkg-config)))
3499 (home-page "http://www.x.org/wiki/")
3500 (synopsis "xorg implementation of the X Window System")
3501 (description "X.org provides an implementation of the X Window System")
3502 (license license:x11)))
3503
3504
3505(define-public xinput
3506 (package
3507 (name "xinput")
3508 (version "1.6.0")
3509 (source
3510 (origin
3511 (method url-fetch)
3512 (uri (string-append
3513 "mirror://xorg/X11R7.7/src/everything/xinput-"
3514 version
3515 ".tar.bz2"))
3516 (sha256
3517 (base32
3518 "0zl4cdgnzh9shz20yn7hz889v4nkbyqwx0nb7dh6arn7abchgc2a"))))
3519 (build-system gnu-build-system)
3520 (inputs
3521 `(("libxrender" ,libxrender)
3522 ("libxrandr" ,libxrandr)
3523 ("libxinerama" ,libxinerama)
3524 ("libxi" ,libxi)
3525 ("libx11" ,libx11)
3526 ("inputproto" ,inputproto)
3527 ("pkg-config" ,pkg-config)))
3528 (home-page "http://www.x.org/wiki/")
3529 (synopsis "xorg implementation of the X Window System")
3530 (description "X.org provides an implementation of the X Window System")
3531 (license license:x11)))
3532
3533
3534(define-public xkbcomp
3535 (package
3536 (name "xkbcomp")
3537 (version "1.2.4")
3538 (source
3539 (origin
3540 (method url-fetch)
3541 (uri (string-append
3542 "mirror://xorg/X11R7.7/src/everything/xkbcomp-"
3543 version
3544 ".tar.bz2"))
3545 (sha256
3546 (base32
3547 "0bas1d2wjiy5zy9d0g92d2p9pwv4aapfbfidi7hxy8ax8jmwkl4i"))))
3548 (build-system gnu-build-system)
3549 (inputs
3550 `(("xproto" ,xproto)
3551 ("libxkbfile" ,libxkbfile)
3552 ("libx11" ,libx11)
3553 ("pkg-config" ,pkg-config)))
3554 (home-page "http://www.x.org/wiki/")
3555 (synopsis "xorg implementation of the X Window System")
3556 (description "X.org provides an implementation of the X Window System")
3557 (license license:x11)))
3558
3559
3560(define-public xkbevd
3561 (package
3562 (name "xkbevd")
3563 (version "1.1.3")
3564 (source
3565 (origin
3566 (method url-fetch)
3567 (uri (string-append
3568 "mirror://xorg/X11R7.7/src/everything/xkbevd-"
3569 version
3570 ".tar.bz2"))
3571 (sha256
3572 (base32
3573 "05h1xcnbalndbrryyqs8wzy9h3wz655vc0ymhlk2q4aik17licjm"))))
3574 (build-system gnu-build-system)
3575 (inputs
3576 `(("libxkbfile" ,libxkbfile)
3577 ("libx11" ,libx11)
3578 ("pkg-config" ,pkg-config)))
3579 (home-page "http://www.x.org/wiki/")
3580 (synopsis "xorg implementation of the X Window System")
3581 (description "X.org provides an implementation of the X Window System")
3582 (license license:x11)))
3583
3584
3585(define-public xkbutils
3586 (package
3587 (name "xkbutils")
3588 (version "1.0.3")
3589 (source
3590 (origin
3591 (method url-fetch)
3592 (uri (string-append
3593 "mirror://xorg/X11R7.7/src/everything/xkbutils-"
3594 version
3595 ".tar.bz2"))
3596 (sha256
3597 (base32
3598 "1ga913pw6chssf2016kjyjl6ar2lj83pa497w97ak2kq603sy2g4"))))
3599 (build-system gnu-build-system)
3600 (inputs
3601 `(("libxt" ,libxt)
3602 ("xproto" ,xproto)
3603 ("libxaw" ,libxaw)
3604 ("inputproto" ,inputproto)
3605 ("pkg-config" ,pkg-config)))
3606 (home-page "http://www.x.org/wiki/")
3607 (synopsis "xorg implementation of the X Window System")
3608 (description "X.org provides an implementation of the X Window System")
3609 (license license:x11)))
3610
3611
3612(define-public xkeyboard-config
3613 (package
3614 (name "xkeyboard-config")
3615 (version "2.6")
3616 (source
3617 (origin
3618 (method url-fetch)
3619 (uri (string-append
3620 "mirror://xorg/X11R7.7/src/everything/xkeyboard-config-"
3621 version
3622 ".tar.bz2"))
3623 (sha256
3624 (base32
3625 "1nmb7ma8rqryicc5xqrn2hm5pwp5lkf7nj28bwbf63mz2r0mk892"))))
3626 (build-system gnu-build-system)
3627 (inputs
3628 `(("gettext" ,gnu:gettext)
3629 ("intltool" ,intltool)
3630 ("libx11" ,libx11)
3631 ;; required to set PERL5LIB, although it is propagated by intltool
3632 ("perl-xml-parser" ,perl-xml-parser)
3633 ("pkg-config" ,pkg-config)
3634 ("xkbcomp" ,xkbcomp)))
3635 (arguments
3636 `(#:phases
3637 (alist-replace
3638 'configure
3639 (lambda* (#:key inputs #:allow-other-keys #:rest args)
3640 (let ((configure (assoc-ref %standard-phases 'configure))
3641 (perl-xml-parser (assoc-ref inputs "perl-xml-parser")))
3642 ;; FIXME: This should be done more centrally.
3643 (setenv "PERL5LIB" (string-append perl-xml-parser "/lib/perl5/site_perl"))
3644 (apply configure args)))
3645 %standard-phases)))
3646 (home-page "http://www.x.org/wiki/")
3647 (synopsis "xorg implementation of the X Window System")
3648 (description "X.org provides an implementation of the X Window System")
3649 (license license:x11)))
3650
3651
3652(define-public xkill
3653 (package
3654 (name "xkill")
3655 (version "1.0.3")
3656 (source
3657 (origin
3658 (method url-fetch)
3659 (uri (string-append
3660 "mirror://xorg/X11R7.7/src/everything/xkill-"
3661 version
3662 ".tar.bz2"))
3663 (sha256
3664 (base32
3665 "1ac110qbb9a4x1dim3vaghvdk3jc708i2p3f4rmag33458khg0xx"))))
3666 (build-system gnu-build-system)
3667 (inputs
3668 `(("libxmu" ,libxmu)
3669 ("libx11" ,libx11)
3670 ("pkg-config" ,pkg-config)))
3671 (home-page "http://www.x.org/wiki/")
3672 (synopsis "xorg implementation of the X Window System")
3673 (description "X.org provides an implementation of the X Window System")
3674 (license license:x11)))
3675
3676
3677(define-public xlsatoms
3678 (package
3679 (name "xlsatoms")
3680 (version "1.1.1")
3681 (source
3682 (origin
3683 (method url-fetch)
3684 (uri (string-append
3685 "mirror://xorg/X11R7.7/src/everything/xlsatoms-"
3686 version
3687 ".tar.bz2"))
3688 (sha256
3689 (base32
3690 "1y9nfl8s7njxbnci8c20j986xixharasgg40vdw92y593j6dk2rv"))))
3691 (build-system gnu-build-system)
3692 (inputs
3693 `(("libxcb" ,libxcb)
3694 ("pkg-config" ,pkg-config)))
3695 (home-page "http://www.x.org/wiki/")
3696 (synopsis "xorg implementation of the X Window System")
3697 (description "X.org provides an implementation of the X Window System")
3698 (license license:x11)))
3699
3700
3701(define-public xlsclients
3702 (package
3703 (name "xlsclients")
3704 (version "1.1.2")
3705 (source
3706 (origin
3707 (method url-fetch)
3708 (uri (string-append
3709 "mirror://xorg/X11R7.7/src/everything/xlsclients-"
3710 version
3711 ".tar.bz2"))
3712 (sha256
3713 (base32
3714 "1l97j15mg4wfzpm81wlpzagfjff7v4fwn7s2z2rpksk3gfcg7r8w"))))
3715 (build-system gnu-build-system)
3716 (inputs
3717 `(("libxcb" ,libxcb)
3718 ("pkg-config" ,pkg-config)))
3719 (home-page "http://www.x.org/wiki/")
3720 (synopsis "xorg implementation of the X Window System")
3721 (description "X.org provides an implementation of the X Window System")
3722 (license license:x11)))
3723
3724
3725(define-public xmodmap
3726 (package
3727 (name "xmodmap")
3728 (version "1.0.7")
3729 (source
3730 (origin
3731 (method url-fetch)
3732 (uri (string-append
3733 "mirror://xorg/X11R7.7/src/everything/xmodmap-"
3734 version
3735 ".tar.bz2"))
3736 (sha256
3737 (base32
3738 "1dg47lay4vhrl9mfq3cfc6741a0m2n8wd4ljagd21ix3qklys8pg"))))
3739 (build-system gnu-build-system)
3740 (inputs
3741 `(("xproto" ,xproto)
3742 ("libx11" ,libx11)
3743 ("pkg-config" ,pkg-config)))
3744 (home-page "http://www.x.org/wiki/")
3745 (synopsis "xorg implementation of the X Window System")
3746 (description "X.org provides an implementation of the X Window System")
3747 (license license:x11)))
3748
3749
3750;; (define-public xorg-docs
3751;; (package
3752;; (name "xorg-docs")
3753;; (version "1.7")
3754;; (source
3755;; (origin
3756;; (method url-fetch)
3757;; (uri (string-append
3758;; "mirror://xorg/X11R7.7/src/everything/xorg-docs-"
3759;; version
3760;; ".tar.bz2"))
3761;; (sha256
3762;; (base32
3763;; "0prphdba6kgr1bxk7r07wxxx6x6pqjw6prr5qclypsb5sf5r3cdr"))))
3764;; (build-system gnu-build-system)
3765;; (inputs `(("pkg-config" ,pkg-config)))
3766;; (home-page "http://www.x.org/wiki/")
3767;; (synopsis "xorg implementation of the X Window System")
3768;; (description "X.org provides an implementation of the X Window System")
3769;; (license none)))
3770
3771
3772(define-public xorg-sgml-doctools
3773 (package
3774 (name "xorg-sgml-doctools")
3775 (version "1.11")
3776 (source
3777 (origin
3778 (method url-fetch)
3779 (uri (string-append
3780 "mirror://xorg/X11R7.7/src/everything/xorg-sgml-doctools-"
3781 version
3782 ".tar.bz2"))
3783 (sha256
3784 (base32
3785 "0k5pffyi5bx8dmfn033cyhgd3gf6viqj3x769fqixifwhbgy2777"))))
3786 (build-system gnu-build-system)
3787 (inputs `(("pkg-config" ,pkg-config)))
3788 (home-page "http://www.x.org/wiki/")
3789 (synopsis "xorg implementation of the X Window System")
3790 (description "X.org provides an implementation of the X Window System")
3791 (license license:x11)))
3792
3793
3794(define-public xpr
3795 (package
3796 (name "xpr")
3797 (version "1.0.4")
3798 (source
3799 (origin
3800 (method url-fetch)
3801 (uri (string-append
3802 "mirror://xorg/X11R7.7/src/everything/xpr-"
3803 version
3804 ".tar.bz2"))
3805 (sha256
3806 (base32
3807 "1dbcv26w2yand2qy7b3h5rbvw1mdmdd57jw88v53sgdr3vrqvngy"))))
3808 (build-system gnu-build-system)
3809 (inputs
3810 `(("xproto" ,xproto)
3811 ("libxmu" ,libxmu)
3812 ("libx11" ,libx11)
3813 ("pkg-config" ,pkg-config)))
3814 (home-page "http://www.x.org/wiki/")
3815 (synopsis "xorg implementation of the X Window System")
3816 (description "X.org provides an implementation of the X Window System")
3817 (license license:x11)))
3818
3819
3820(define-public xprop
3821 (package
3822 (name "xprop")
3823 (version "1.2.1")
3824 (source
3825 (origin
3826 (method url-fetch)
3827 (uri (string-append
3828 "mirror://xorg/X11R7.7/src/everything/xprop-"
3829 version
3830 ".tar.bz2"))
3831 (sha256
3832 (base32
3833 "18zi2any13zlb7f34fzyw6lkiwkd6k2scp3b800a1f4rj0c7m407"))))
3834 (build-system gnu-build-system)
3835 (inputs
3836 `(("xproto" ,xproto)
3837 ("libx11" ,libx11)
3838 ("pkg-config" ,pkg-config)))
3839 (home-page "http://www.x.org/wiki/")
3840 (synopsis "xorg implementation of the X Window System")
3841 (description "X.org provides an implementation of the X Window System")
3842 (license license:x11)))
3843
3844
3845(define-public xrandr
3846 (package
3847 (name "xrandr")
3848 (version "1.3.5")
3849 (source
3850 (origin
3851 (method url-fetch)
3852 (uri (string-append
3853 "mirror://xorg/X11R7.7/src/everything/xrandr-"
3854 version
3855 ".tar.bz2"))
3856 (sha256
3857 (base32
3858 "03lq1c1q4w5cf2ijs4b34v008lshibha9zv5lw08xpyhk9xgyn8h"))))
3859 (build-system gnu-build-system)
3860 (inputs
3861 `(("libxrender" ,libxrender)
3862 ("libxrandr" ,libxrandr)
3863 ("xproto" ,xproto)
3864 ("libx11" ,libx11)
3865 ("pkg-config" ,pkg-config)))
3866 (home-page "http://www.x.org/wiki/")
3867 (synopsis "xorg implementation of the X Window System")
3868 (description "X.org provides an implementation of the X Window System")
3869 (license license:x11)))
3870
3871
3872(define-public xrdb
3873 (package
3874 (name "xrdb")
3875 (version "1.0.9")
3876 (source
3877 (origin
3878 (method url-fetch)
3879 (uri (string-append
3880 "mirror://xorg/X11R7.7/src/everything/xrdb-"
3881 version
3882 ".tar.bz2"))
3883 (sha256
3884 (base32
3885 "1dza5a34nj68fzhlgwf18i5bk0n24ig28yihwpjy7vwn57hh2934"))))
3886 (build-system gnu-build-system)
3887 (inputs
3888 `(("libxmu" ,libxmu)
3889 ("libx11" ,libx11)
3890 ("pkg-config" ,pkg-config)))
3891 (home-page "http://www.x.org/wiki/")
3892 (synopsis "xorg implementation of the X Window System")
3893 (description "X.org provides an implementation of the X Window System")
3894 (license license:x11)))
3895
3896
3897(define-public xrefresh
3898 (package
3899 (name "xrefresh")
3900 (version "1.0.4")
3901 (source
3902 (origin
3903 (method url-fetch)
3904 (uri (string-append
3905 "mirror://xorg/X11R7.7/src/everything/xrefresh-"
3906 version
3907 ".tar.bz2"))
3908 (sha256
3909 (base32
3910 "0ywxzwa4kmnnmf8idr8ssgcil9xvbhnk155zpsh2i8ay93mh5586"))))
3911 (build-system gnu-build-system)
3912 (inputs
3913 `(("libx11" ,libx11)
3914 ("pkg-config" ,pkg-config)))
3915 (home-page "http://www.x.org/wiki/")
3916 (synopsis "xorg implementation of the X Window System")
3917 (description "X.org provides an implementation of the X Window System")
3918 (license license:x11)))
3919
3920
3921(define-public xset
3922 (package
3923 (name "xset")
3924 (version "1.2.2")
3925 (source
3926 (origin
3927 (method url-fetch)
3928 (uri (string-append
3929 "mirror://xorg/X11R7.7/src/everything/xset-"
3930 version
3931 ".tar.bz2"))
3932 (sha256
3933 (base32
3934 "1s61mvscd0h7y6anljarj7nkii6plhs8ndx1fm8b1f1h00a1qdv1"))))
3935 (build-system gnu-build-system)
3936 (inputs
3937 `(("xproto" ,xproto)
3938 ("libxmu" ,libxmu)
3939 ("libxext" ,libxext)
3940 ("libx11" ,libx11)
3941 ("pkg-config" ,pkg-config)))
3942 (home-page "http://www.x.org/wiki/")
3943 (synopsis "xorg implementation of the X Window System")
3944 (description "X.org provides an implementation of the X Window System")
3945 (license license:x11)))
3946
3947
3948(define-public xsetroot
3949 (package
3950 (name "xsetroot")
3951 (version "1.1.0")
3952 (source
3953 (origin
3954 (method url-fetch)
3955 (uri (string-append
3956 "mirror://xorg/X11R7.7/src/everything/xsetroot-"
3957 version
3958 ".tar.bz2"))
3959 (sha256
3960 (base32
3961 "1bazzsf9sy0q2bj4lxvh1kvyrhmpggzb7jg575i15sksksa3xwc8"))))
3962 (build-system gnu-build-system)
3963 (inputs
3964 `(("libxmu" ,libxmu)
3965 ("libxcursor" ,libxcursor)
3966 ("xbitmaps" ,xbitmaps)
3967 ("pkg-config" ,pkg-config)))
3968 (home-page "http://www.x.org/wiki/")
3969 (synopsis "xorg implementation of the X Window System")
3970 (description "X.org provides an implementation of the X Window System")
3971 (license license:x11)))
3972
3973
3974(define-public xtrans
3975 (package
3976 (name "xtrans")
3977 (version "1.2.7")
3978 (source
3979 (origin
3980 (method url-fetch)
3981 (uri (string-append
3982 "mirror://xorg/X11R7.7/src/everything/xtrans-"
3983 version
3984 ".tar.bz2"))
3985 (sha256
3986 (base32
3987 "19p1bw3qyn0ia1znx6q3gx92rr9rl88ylrfijjclm8vhpa8i30bz"))))
3988 (build-system gnu-build-system)
3989 (inputs `(("pkg-config" ,pkg-config)))
3990 (home-page "http://www.x.org/wiki/")
3991 (synopsis "xorg implementation of the X Window System")
3992 (description "X.org provides an implementation of the X Window System")
3993 (license license:x11)))
3994
3995
3996(define-public xvinfo
3997 (package
3998 (name "xvinfo")
3999 (version "1.1.1")
4000 (source
4001 (origin
4002 (method url-fetch)
4003 (uri (string-append
4004 "mirror://xorg/X11R7.7/src/everything/xvinfo-"
4005 version
4006 ".tar.bz2"))
4007 (sha256
4008 (base32
4009 "119rd93d7661ll1rfcdssn78l0b97326smziyr2f5wdwj2hlmiv0"))))
4010 (build-system gnu-build-system)
4011 (inputs
4012 `(("libxext" ,libxext)
4013 ("libxv" ,libxv)
4014 ("libx11" ,libx11)
4015 ("pkg-config" ,pkg-config)))
4016 (home-page "http://www.x.org/wiki/")
4017 (synopsis "xorg implementation of the X Window System")
4018 (description "X.org provides an implementation of the X Window System")
4019 (license license:x11)))
4020
4021
4022(define-public xwd
4023 (package
4024 (name "xwd")
4025 (version "1.0.5")
4026 (source
4027 (origin
4028 (method url-fetch)
4029 (uri (string-append
4030 "mirror://xorg/X11R7.7/src/everything/xwd-"
4031 version
4032 ".tar.bz2"))
4033 (sha256
4034 (base32
4035 "0fkg6msy2zg7rda2rpxb7j6vmrdmqmk72xsxnyhz97196ykjnx82"))))
4036 (build-system gnu-build-system)
4037 (inputs
4038 `(("libxt" ,libxt)
4039 ("xproto" ,xproto)
4040 ("pkg-config" ,pkg-config)))
4041 (home-page "http://www.x.org/wiki/")
4042 (synopsis "xorg implementation of the X Window System")
4043 (description "X.org provides an implementation of the X Window System")
4044 (license license:x11)))
4045
4046
4047(define-public xwininfo
4048 (package
4049 (name "xwininfo")
4050 (version "1.1.2")
4051 (source
4052 (origin
4053 (method url-fetch)
4054 (uri (string-append
4055 "mirror://xorg/X11R7.7/src/everything/xwininfo-"
4056 version
4057 ".tar.bz2"))
4058 (sha256
4059 (base32
4060 "0fmcr5yl03xw7m8p9h1rk67rrj7gp5x16a547xhmg8idw2f6r9lg"))))
4061 (build-system gnu-build-system)
4062 (inputs
4063 `(("libx11" ,libx11)
4064 ("pkg-config" ,pkg-config)
4065 ("xproto" ,xproto)))
4066 (home-page "http://www.x.org/wiki/")
4067 (synopsis "xorg implementation of the X Window System")
4068 (description "X.org provides an implementation of the X Window System")
4069 (license license:x11)))
4070
4071
4072(define-public xwud
4073 (package
4074 (name "xwud")
4075 (version "1.0.4")
4076 (source
4077 (origin
4078 (method url-fetch)
4079 (uri (string-append
4080 "mirror://xorg/X11R7.7/src/everything/xwud-"
4081 version
4082 ".tar.bz2"))
4083 (sha256
4084 (base32
4085 "1ggql6maivah58kwsh3z9x1hvzxm1a8888xx4s78cl77ryfa1cyn"))))
4086 (build-system gnu-build-system)
4087 (inputs
4088 `(("xproto" ,xproto)
4089 ("libx11" ,libx11)
4090 ("pkg-config" ,pkg-config)))
4091 (home-page "http://www.x.org/wiki/")
4092 (synopsis "xorg implementation of the X Window System")
4093 (description "X.org provides an implementation of the X Window System")
4094 (license license:x11)))
4095
4096
4097
4098;; packages of height 1 in the propagated-inputs tree
4099
4100(define-public fixesproto
4101 (package
4102 (name "fixesproto")
4103 (version "5.0")
4104 (source
4105 (origin
4106 (method url-fetch)
4107 (uri (string-append
4108 "mirror://xorg/X11R7.7/src/everything/fixesproto-"
4109 version
4110 ".tar.bz2"))
4111 (sha256
4112 (base32
4113 "1ki4wiq2iivx5g4w5ckzbjbap759kfqd72yg18m3zpbb4hqkybxs"))))
4114 (build-system gnu-build-system)
4115 (propagated-inputs
4116 `(("xextproto" ,xextproto)))
4117 (inputs
4118 `(("pkg-config" ,pkg-config)))
4119 (home-page "http://www.x.org/wiki/")
4120 (synopsis "xorg implementation of the X Window System")
4121 (description "X.org provides an implementation of the X Window System")
4122 (license license:x11)))
4123
4124
4125(define-public libxdamage
4126 (package
4127 (name "libxdamage")
4128 (version "1.1.3")
4129 (source
4130 (origin
4131 (method url-fetch)
4132 (uri (string-append
4133 "mirror://xorg/X11R7.7/src/everything/libXdamage-"
4134 version
4135 ".tar.bz2"))
4136 (sha256
4137 (base32
4138 "1a678bwap74sqczbr2z4y4fvbr35km3inkm8bi1igjyk4v46jqdw"))))
4139 (build-system gnu-build-system)
4140 (propagated-inputs
4141 `(("damageproto" ,damageproto)))
4142 (inputs
4143 `(("xproto" ,xproto)
4144 ("libxfixes" ,libxfixes)
4145 ("libx11" ,libx11)
4146 ("pkg-config" ,pkg-config)))
4147 (home-page "http://www.x.org/wiki/")
4148 (synopsis "xorg implementation of the X Window System")
4149 (description "X.org provides an implementation of the X Window System")
4150 (license license:x11)))
4151
4152
4153(define-public libxext
4154 (package
4155 (name "libxext")
4156 (version "1.3.1")
4157 (source
4158 (origin
4159 (method url-fetch)
4160 (uri (string-append
4161 "mirror://xorg/X11R7.7/src/everything/libXext-"
4162 version
4163 ".tar.bz2"))
4164 (sha256
4165 (base32
4166 "0ng8clhn7srbkadxjc7ih3z3v27v9ny0aa0dqkgddgxpgrhrq8jn"))))
4167 (build-system gnu-build-system)
4168 (propagated-inputs
4169 `(("xextproto" ,xextproto)))
4170 (inputs
4171 `(("libxau" ,libxau)
4172 ("libx11" ,libx11)
4173 ("pkg-config" ,pkg-config)))
4174 (home-page "http://www.x.org/wiki/")
4175 (synopsis "xorg implementation of the X Window System")
4176 (description "X.org provides an implementation of the X Window System")
4177 (license license:x11)))
4178
4179
4180(define-public libxinerama
4181 (package
4182 (name "libxinerama")
4183 (version "1.1.2")
4184 (source
4185 (origin
4186 (method url-fetch)
4187 (uri (string-append
4188 "mirror://xorg/X11R7.7/src/everything/libXinerama-"
4189 version
4190 ".tar.bz2"))
4191 (sha256
4192 (base32
4193 "1b3aq1762hxzchd9ndavdjlksq93991s0g2z6spf8wl3v0pprrx4"))))
4194 (build-system gnu-build-system)
4195 (propagated-inputs
4196 `(("xineramaproto" ,xineramaproto)))
4197 (inputs
4198 `(("libxext" ,libxext)
4199 ("libx11" ,libx11)
4200 ("pkg-config" ,pkg-config)))
4201 (home-page "http://www.x.org/wiki/")
4202 (synopsis "xorg implementation of the X Window System")
4203 (description "X.org provides an implementation of the X Window System")
4204 (license license:x11)))
4205
4206
4207;; The package is missing from X11R7.7.
4208(define-public libxp
4209 (package
4210 (name "libxp")
4211 (version "1.0.0")
4212 (source
4213 (origin
4214 (method url-fetch)
4215 (uri (string-append
4216 "mirror://xorg/individual/lib/libXp-"
4217 version
4218 ".tar.bz2"))
4219 (sha256
4220 (base32
4221 "1blwrr5zhmwwy87j0svmhv3hc13acyn5j14n5rv0anz81iav2r3y"))))
4222 (build-system gnu-build-system)
4223 (propagated-inputs
4224 `(("printproto" ,printproto)))
4225 (inputs
4226 `(("libx11" ,libx11)
4227 ("libxext" ,libxext)
4228 ("pkg-config" ,pkg-config)))
4229 (home-page "http://www.x.org/wiki/")
4230 (synopsis "xorg implementation of the X Window System")
4231 (description "X.org provides an implementation of the X Window System")
4232 (license license:x11)))
4233
4234
4235(define-public libxrender
4236 (package
4237 (name "libxrender")
4238 (version "0.9.7")
4239 (source
4240 (origin
4241 (method url-fetch)
4242 (uri (string-append
4243 "mirror://xorg/X11R7.7/src/everything/libXrender-"
4244 version
4245 ".tar.bz2"))
4246 (sha256
4247 (base32
4248 "1rmvja2gkf5v0k2n1bcghw8v98m2kfn3af0rbmsda5dwr69npd7r"))))
4249 (build-system gnu-build-system)
4250 (propagated-inputs
4251 `(("renderproto" ,renderproto)))
4252 (inputs
4253 `(("xproto" ,xproto)
4254 ("libx11" ,libx11)
4255 ("pkg-config" ,pkg-config)))
4256 (home-page "http://www.x.org/wiki/")
4257 (synopsis "xorg implementation of the X Window System")
4258 (description "X.org provides an implementation of the X Window System")
4259 (license license:x11)))
4260
4261
4262(define-public libxtst
4263 (package
4264 (name "libxtst")
4265 (version "1.2.1")
4266 (source
4267 (origin
4268 (method url-fetch)
4269 (uri (string-append
4270 "mirror://xorg/X11R7.7/src/everything/libXtst-"
4271 version
4272 ".tar.bz2"))
4273 (sha256
4274 (base32
4275 "1q750hjplq1rfyxkr4545z1y2a1wfnc828ynvbws7b4jwdk3xsky"))))
4276 (build-system gnu-build-system)
4277 (propagated-inputs
4278 `(("recordproto" ,recordproto)))
4279 (inputs
4280 `(("libxi" ,libxi)
4281 ("libx11" ,libx11)
4282 ("inputproto" ,inputproto)
4283 ("pkg-config" ,pkg-config)))
4284 (home-page "http://www.x.org/wiki/")
4285 (synopsis "xorg implementation of the X Window System")
4286 (description "X.org provides an implementation of the X Window System")
4287 (license license:x11)))
4288
4289
4290(define-public libxv
4291 (package
4292 (name "libxv")
4293 (version "1.0.7")
4294 (source
4295 (origin
4296 (method url-fetch)
4297 (uri (string-append
4298 "mirror://xorg/X11R7.7/src/everything/libXv-"
4299 version
4300 ".tar.bz2"))
4301 (sha256
4302 (base32
4303 "044hllz013afhzywwpxz007l4zjy99bv9im065rqd30zckmllrjx"))))
4304 (build-system gnu-build-system)
4305 (propagated-inputs
4306 `(("videoproto" ,videoproto)))
4307 (inputs
4308 `(("xproto" ,xproto)
4309 ("libxext" ,libxext)
4310 ("libx11" ,libx11)
4311 ("pkg-config" ,pkg-config)))
4312 (home-page "http://www.x.org/wiki/")
4313 (synopsis "xorg implementation of the X Window System")
4314 (description "X.org provides an implementation of the X Window System")
4315 (license license:x11)))
4316
4317
4318(define-public mkfontdir
4319 (package
4320 (name "mkfontdir")
4321 (version "1.0.7")
4322 (source
4323 (origin
4324 (method url-fetch)
4325 (uri (string-append
4326 "mirror://xorg/X11R7.7/src/everything/mkfontdir-"
4327 version
4328 ".tar.bz2"))
4329 (sha256
4330 (base32
4331 "0c3563kw9fg15dpgx4dwvl12qz6sdqdns1pxa574hc7i5m42mman"))))
4332 (build-system gnu-build-system)
4333 (propagated-inputs
4334 `(("mkfontscale" ,mkfontscale)))
4335 (inputs
4336 `(("pkg-config" ,pkg-config)))
4337 (home-page "http://www.x.org/wiki/")
4338 (synopsis "xorg implementation of the X Window System")
4339 (description "X.org provides an implementation of the X Window System")
4340 (license license:x11)))
4341
4342
4343(define-public xproto
4344 (package
4345 (name "xproto")
4346 (version "7.0.23")
4347 (source
4348 (origin
4349 (method url-fetch)
4350 (uri (string-append
4351 "mirror://xorg/X11R7.7/src/everything/xproto-"
4352 version
4353 ".tar.bz2"))
4354 (sha256
4355 (base32
4356 "17lkmi12f89qvg4jj5spqzwzc24fmsqq68dv6kpy7r7b944lmq5d"))))
4357 (build-system gnu-build-system)
4358 (propagated-inputs
4359 `(("util-macros" ,util-macros))) ; to get util-macros in (almost?) all package inputs
4360 (inputs
4361 `(("pkg-config" ,pkg-config)))
4362 (home-page "http://www.x.org/wiki/")
4363 (synopsis "xorg implementation of the X Window System")
4364 (description "X.org provides an implementation of the X Window System")
4365 (license license:x11)))
4366
4367
4368
4369;; packages of height 2 in the propagated-inputs tree
4370
4371(define-public libice
4372 (package
4373 (name "libice")
4374 (version "1.0.8")
4375 (source
4376 (origin
4377 (method url-fetch)
4378 (uri (string-append
4379 "mirror://xorg/X11R7.7/src/everything/libICE-"
4380 version
4381 ".tar.bz2"))
4382 (sha256
4383 (base32
4384 "07mp13pb3s73kj7y490gnx619znzwk91mlf8kdw0rzq29ll93a94"))))
4385 (build-system gnu-build-system)
4386 (propagated-inputs
4387 `(("xproto" ,xproto)))
4388 (inputs
4389 `(("xtrans" ,xtrans)
4390 ("pkg-config" ,pkg-config)))
4391 (home-page "http://www.x.org/wiki/")
4392 (synopsis "xorg implementation of the X Window System")
4393 (description "X.org provides an implementation of the X Window System")
4394 (license license:x11)))
4395
4396
4397(define-public libxau
4398 (package
4399 (name "libxau")
4400 (version "1.0.7")
4401 (source
4402 (origin
4403 (method url-fetch)
4404 (uri (string-append
4405 "mirror://xorg/X11R7.7/src/everything/libXau-"
4406 version
4407 ".tar.bz2"))
4408 (sha256
4409 (base32
4410 "12d4f7sdv2pjxhk0lcay0pahccddszkw579dc59daqi37r8bllvi"))))
4411 (build-system gnu-build-system)
4412 (propagated-inputs
4413 `(("xproto" ,xproto)))
4414 (inputs
4415 `(("pkg-config" ,pkg-config)))
4416 (home-page "http://www.x.org/wiki/")
4417 (synopsis "xorg implementation of the X Window System")
4418 (description "X.org provides an implementation of the X Window System")
4419 (license license:x11)))
4420
4421(define-public libxfixes
4422 (package
4423 (name "libxfixes")
4424 (version "5.0")
4425 (source
4426 (origin
4427 (method url-fetch)
4428 (uri (string-append
4429 "mirror://xorg/X11R7.7/src/everything/libXfixes-"
4430 version
4431 ".tar.bz2"))
4432 (sha256
4433 (base32
4434 "1qx2rmwhmca2n7rgafy0arp15k5vwhdhhh6v6mx76hlj29328yjk"))))
4435 (build-system gnu-build-system)
4436 (propagated-inputs
4437 `(("fixesproto" ,fixesproto)))
4438 (inputs
4439 `(("xproto" ,xproto)
4440 ("libx11" ,libx11)
4441 ("pkg-config" ,pkg-config)))
4442 (home-page "http://www.x.org/wiki/")
4443 (synopsis "xorg implementation of the X Window System")
4444 (description "X.org provides an implementation of the X Window System")
4445 (license license:x11)))
4446
4447
4448(define-public libxfont
4449 (package
4450 (name "libxfont")
4451 (version "1.4.5")
4452 (source
4453 (origin
4454 (method url-fetch)
4455 (uri (string-append
4456 "mirror://xorg/X11R7.7/src/everything/libXfont-"
4457 version
4458 ".tar.bz2"))
4459 (sha256
4460 (base32
4461 "0w3irg00k6b6mziddnacln9q2rkf5848b04nvjqwv5bb1fw6zydv"))))
4462 (build-system gnu-build-system)
4463 (propagated-inputs
4464 `(("fontsproto" ,fontsproto)
4465 ("freetype" ,freetype)
4466 ("libfontenc" ,libfontenc)
4467 ("xproto" ,xproto)))
4468 (inputs
4469 `(("zlib" ,zlib)
4470 ("xtrans" ,xtrans)
4471 ("pkg-config" ,pkg-config)))
4472 (home-page "http://www.x.org/wiki/")
4473 (synopsis "xorg implementation of the X Window System")
4474 (description "X.org provides an implementation of the X Window System")
4475 (license license:x11)))
4476
4477
4478(define-public libxi
4479 (package
4480 (name "libxi")
4481 (version "1.6.1")
4482 (source
4483 (origin
4484 (method url-fetch)
4485 (uri (string-append
4486 "mirror://xorg/X11R7.7/src/everything/libXi-"
4487 version
4488 ".tar.bz2"))
4489 (sha256
4490 (base32
4491 "029ihw4jq8mng8rx7a3jdvq64jm1zdkqidca93zmxv4jf9yn5qzj"))))
4492 (build-system gnu-build-system)
4493 (propagated-inputs
4494 `(("libxext" ,libxext)))
4495 (inputs
4496 `(("xproto" ,xproto)
4497 ("libx11" ,libx11)
4498 ("inputproto" ,inputproto)
4499 ("pkg-config" ,pkg-config)))
4500 (home-page "http://www.x.org/wiki/")
4501 (synopsis "xorg implementation of the X Window System")
4502 (description "X.org provides an implementation of the X Window System")
4503 (license license:x11)))
4504
4505
4506(define-public libxrandr
4507 (package
4508 (name "libxrandr")
4509 (version "1.3.2")
4510 (source
4511 (origin
4512 (method url-fetch)
4513 (uri (string-append
4514 "mirror://xorg/X11R7.7/src/everything/libXrandr-"
4515 version
4516 ".tar.bz2"))
4517 (sha256
4518 (base32
4519 "10cvv78ws8jznma4s45dzqz0ldcxk30qgsqrc4wxfcsjmcba5b3y"))))
4520 (build-system gnu-build-system)
4521 (propagated-inputs
4522 `(("libxext" ,libxext)
4523 ("randrproto" ,randrproto)))
4524 (inputs
4525 `(("libxrender" ,libxrender)
4526 ("xproto" ,xproto)
4527 ("libx11" ,libx11)
4528 ("pkg-config" ,pkg-config)))
4529 (home-page "http://www.x.org/wiki/")
4530 (synopsis "xorg implementation of the X Window System")
4531 (description "X.org provides an implementation of the X Window System")
4532 (license license:x11)))
4533
4534
4535(define-public libxvmc
4536 (package
4537 (name "libxvmc")
4538 (version "1.0.7")
4539 (source
4540 (origin
4541 (method url-fetch)
4542 (uri (string-append
4543 "mirror://xorg/X11R7.7/src/everything/libXvMC-"
4544 version
4545 ".tar.bz2"))
4546 (sha256
4547 (base32
4548 "18yf6ysc01pqkbk9704914ghalq1sl2hfdjmwggxm8qqhpy8bw18"))))
4549 (build-system gnu-build-system)
4550 (propagated-inputs
4551 `(("libxv" ,libxv)))
4552 (inputs
4553 `(("xproto" ,xproto)
4554 ("libxext" ,libxext)
4555 ("libx11" ,libx11)
4556 ("pkg-config" ,pkg-config)))
4557 (home-page "http://www.x.org/wiki/")
4558 (synopsis "xorg implementation of the X Window System")
4559 (description "X.org provides an implementation of the X Window System")
4560 (license license:x11)))
4561
4562
4563(define-public libxxf86vm
4564 (package
4565 (name "libxxf86vm")
4566 (version "1.1.2")
4567 (source
4568 (origin
4569 (method url-fetch)
4570 (uri (string-append
4571 "mirror://xorg/X11R7.7/src/everything/libXxf86vm-"
4572 version
4573 ".tar.bz2"))
4574 (sha256
4575 (base32
4576 "117w92xz39rcqcahspi48nc04cc9110x1dycpf3vbcb6p0pifr55"))))
4577 (build-system gnu-build-system)
4578 (propagated-inputs
4579 `(("libxext" ,libxext)
4580 ("xf86vidmodeproto" ,xf86vidmodeproto)))
4581 (inputs
4582 `(("libx11" ,libx11)
4583 ("pkg-config" ,pkg-config)))
4584 (home-page "http://www.x.org/wiki/")
4585 (synopsis "xorg implementation of the X Window System")
4586 (description "X.org provides an implementation of the X Window System")
4587 (license license:x11)))
4588
4589
4590;; package outside the x.org system proper of height 3
4591
4592(define-public mesa
4593 (package
4594 (name "mesa")
4595 ;; In newer versions (9.0.5 and 9.1 tested), "make" results in an
4596 ;; infinite configure loop, see
4597 ;; https://bugs.freedesktop.org/show_bug.cgi?id=61527
4598 (version "8.0.5")
4599 (source
4600 (origin
4601 (method url-fetch)
4602 (uri (string-append
4603 "ftp://ftp.freedesktop.org/pub/mesa/" version
4604 "/MesaLib-" version
4605 ".tar.bz2"))
4606 (sha256
4607 (base32
4608 "0pjs8x51c0i6mawgd4w03lxpyx5fnx7rc8plr8jfsscf9yiqs6si"))))
4609 (build-system gnu-build-system)
4610 (propagated-inputs
4611 `(("glproto" ,glproto)
4612 ("libdrm" ,libdrm-2.4.33)
4613 ("libxdamage" ,libxdamage)
4614 ("libxxf86vm" ,libxxf86vm)))
4615 (inputs
4616 `(("bison" ,bison)
4617 ("dri2proto" ,dri2proto)
4618 ("expat" ,expat)
4619 ("flex" ,flex)
4620 ("libx11" ,libx11)
4621 ("libxfixes" ,libxfixes)
4622 ("libxml2" ,libxml2)
4623 ("makedepend" ,makedepend)
4624 ("pkg-config" ,pkg-config)
4625 ("python" ,python)))
4626 (arguments
4627 `(#:configure-flags
4628 `("--with-gallium-drivers=r600,svga,swrast") ; drop r300 from the default list as it requires llvm
4629 #:phases
4630 (alist-cons-after
4631 'unpack 'remove-symlink
4632 (lambda* (#:key #:allow-other-keys)
4633 ;; remove dangling symlink to /usr/include/wine/windows
4634 (delete-file "src/gallium/state_trackers/d3d1x/w32api"))
4635 (alist-replace
4636 'configure
4637 (lambda* (#:key inputs #:allow-other-keys #:rest args)
4638 (let ((configure (assoc-ref %standard-phases 'configure))
4639 (libxml2 (assoc-ref inputs "libxml2")))
4640 ;; FIXME: This should be done more centrally.
4641 (setenv "PYTHONPATH" (string-append libxml2 "/lib/python2.7/site-packages"))
4642 (apply configure args)))
4643 %standard-phases))))
4644 (home-page "http://mesa3d.org/")
4645 (synopsis "Mesa, an OpenGL implementation")
4646 (description "Mesa is a free implementation of the OpenGL specification -
4647a system for rendering interactive 3D graphics. A variety of device drivers
4648allows Mesa to be used in many different environments ranging from software
4649emulation to complete hardware acceleration for modern GPUs.")
4650 (license license:x11)))
4651
4652
4653
4654;; packages of height 3 in the propagated-inputs tree
4655
4656(define-public libxcb
4657 (package
4658 (name "libxcb")
4659 (version "1.8.1")
4660 (source
4661 (origin
4662 (method url-fetch)
4663 (uri (string-append
4664 "http://xcb.freedesktop.org/dist/libxcb-"
4665 version
4666 ".tar.bz2"))
4667 (sha256
4668 (base32
4669 "03gspxcdl8r7jwbwg7fyp4cc6zic9z91amp4g5z0wwahx48nix6j"))))
4670 (build-system gnu-build-system)
4671 (propagated-inputs
4672 `(("libpthread-stubs" ,libpthread-stubs)
4673 ("libxau" ,libxau)
4674 ("libxdmcp" ,libxdmcp)))
4675 (inputs
4676 `(("xcb-proto" ,xcb-proto)
4677 ("libxslt" ,libxslt)
4678 ("pkg-config" ,pkg-config)
4679 ("python" ,python)))
4680 (home-page "http://www.x.org/wiki/")
4681 (synopsis "xorg implementation of the X Window System")
4682 (description "X.org provides an implementation of the X Window System")
4683 (license license:x11)))
4684
4685
4686(define-public xorg-server
4687 (package
4688 (name "xorg-server")
4689 (version "1.12.2")
4690 (source
4691 (origin
4692 (method url-fetch)
4693 (uri (string-append
4694 "mirror://xorg/X11R7.7/src/everything/xorg-server-"
4695 version
4696 ".tar.bz2"))
4697 (sha256
4698 (base32
4699 "1xf57hcq6r17zxyfnx9r1wd0ir1bw13ff8bsiszwrw9jyhi9x7ya"))))
4700 (build-system gnu-build-system)
4701 (propagated-inputs
4702 `(("dri2proto" ,dri2proto)
4703 ("fontsproto" ,fontsproto)
4704 ("inputproto" ,inputproto)
4705 ("kbproto" ,kbproto)
4706 ("libpciaccess" ,libpciaccess)
4707 ("pixman" ,pixman)
4708 ("randrproto" ,randrproto)
4709 ("renderproto" ,renderproto)
4710 ("videoproto" ,videoproto)
4711 ("xextproto" ,xextproto)
4712 ("xineramaproto" ,xineramaproto)
4713 ("xproto" ,xproto)))
4714 (inputs
4715 `(("bigreqsproto" ,bigreqsproto)
4716 ("compositeproto" ,compositeproto)
4717 ("damageproto" ,damageproto)
4718 ("dbus" ,dbus)
4719 ("dmxproto" ,dmxproto)
4720 ("libdmx" ,libdmx)
4721 ("libxau" ,libxau)
4722 ("libxaw" ,libxaw)
4723 ("libxdmcp" ,libxdmcp)
4724 ("libxfixes" ,libxfixes)
4725 ("libxfont" ,libxfont)
4726 ("libxkbfile" ,libxkbfile)
4727 ("libxrender" ,libxrender)
4728 ("libxres" ,libxres)
4729 ("libxt" ,libxt)
4730 ("libxv" ,libxv)
4731 ("mesa" ,mesa)
4732 ("openssl" ,openssl)
4733 ("pkg-config" ,pkg-config)
4734 ("python" ,python)
4735 ("recordproto" ,recordproto)
4736 ("resourceproto" ,resourceproto)
4737 ("scrnsaverproto" ,scrnsaverproto)
4738 ("xcmiscproto" ,xcmiscproto)
4739 ("xf86bigfontproto" ,xf86bigfontproto)
4740 ("xf86dgaproto" ,xf86dgaproto)
4741 ("xf86driproto" ,xf86driproto)
4742 ("xf86vidmodeproto" ,xf86vidmodeproto)
4743;; ("xkbutils" ,xkbutils)
4744;; ("xkeyboard-config" ,xkeyboard-config)
4745 ("xtrans" ,xtrans)
4746 ("zlib" ,zlib)))
4747 (home-page "http://www.x.org/wiki/")
4748 (synopsis "xorg implementation of the X Window System")
4749 (description "X.org provides an implementation of the X Window System")
4750 (license license:x11)))
4751
4752
4753
4754;; packages of height 4 in the propagated-inputs tree
4755
4756(define-public libx11
4757 (package
4758 (name "libx11")
4759 (version "1.5.0")
4760 (source
4761 (origin
4762 (method url-fetch)
4763 (uri (string-append
4764 "mirror://xorg/X11R7.7/src/everything/libX11-"
4765 version
4766 ".tar.bz2"))
4767 (sha256
4768 (base32
4769 "11jdpl15bxwpwv0knpkh990s8jvlybng3dx477pkrz1bx7byz0n3"))))
4770 (build-system gnu-build-system)
4771 (propagated-inputs
4772 `(("kbproto" ,kbproto)
4773 ("libxcb" ,libxcb)))
4774 (inputs
4775 `(("inputproto" ,inputproto)
4776 ("pkg-config" ,pkg-config)
4777 ("xextproto" ,xextproto)
4778 ("xtrans" ,xtrans)))
4779 (home-page "http://www.x.org/wiki/")
4780 (synopsis "xorg implementation of the X Window System")
4781 (description "X.org provides an implementation of the X Window System")
4782 (license license:x11)))
4783
4784
4785;; packages of height 5 in the propagated-inputs tree
4786
4787(define-public libxcursor
4788 (package
4789 (name "libxcursor")
4790 (version "1.1.13")
4791 (source
4792 (origin
4793 (method url-fetch)
4794 (uri (string-append
4795 "mirror://xorg/X11R7.7/src/everything/libXcursor-"
4796 version
4797 ".tar.bz2"))
4798 (sha256
4799 (base32
4800 "13xd1dyb06gwdwb0bxb22fkgdlmis6wrljm2xk6fhz0v9bg2g27p"))))
4801 (build-system gnu-build-system)
4802 (propagated-inputs
4803 `(("libx11" ,libx11)
4804 ("libxrender" ,libxrender)
4805 ("libxfixes" ,libxfixes)
4806 ("xproto" ,xproto)))
4807 (inputs
4808 `(("pkg-config" ,pkg-config)))
4809 (home-page "http://www.x.org/wiki/")
4810 (synopsis "xorg implementation of the X Window System")
4811 (description "X.org provides an implementation of the X Window System")
4812 (license license:x11)))
4813
4814
4815(define-public libxt
4816 (package
4817 (name "libxt")
4818 (version "1.1.3")
4819 (source
4820 (origin
4821 (method url-fetch)
4822 (uri (string-append
4823 "mirror://xorg/X11R7.7/src/everything/libXt-"
4824 version
4825 ".tar.bz2"))
4826 (sha256
4827 (base32
4828 "1g85gwnhs7lg5f01gfi1cpb916xc3spm1fjlv2f4xz2zzk1r7dcd"))))
4829 (build-system gnu-build-system)
4830 (propagated-inputs
4831 `(("libx11" ,libx11)
4832 ("libice" ,libice)
4833 ("libsm" ,libsm)))
4834 (inputs
4835 `(("libx11" ,libx11)
4836 ("pkg-config" ,pkg-config)))
4837 (home-page "http://www.x.org/wiki/")
4838 (synopsis "xorg implementation of the X Window System")
4839 (description "X.org provides an implementation of the X Window System")
4840 (license license:x11)))
4841
4842
4843(define-public libxaw
4844 (package
4845 (name "libxaw")
4846 (version "1.0.11")
4847 (source
4848 (origin
4849 (method url-fetch)
4850 (uri (string-append
4851 "mirror://xorg/X11R7.7/src/everything/libXaw-"
4852 version
4853 ".tar.bz2"))
4854 (sha256
4855 (base32
4856 "14ll7ndf5njc30hz2w197qvwp7fqj7y14wq4p1cyxlbipfn79a47"))))
4857 (build-system gnu-build-system)
4858 (propagated-inputs
4859 `(("libxext" ,libxext)
4860 ("libxmu" ,libxmu)
4861 ("libxpm" ,libxpm)
4862 ("libxt" ,libxt)))
4863 (inputs
4864 `(("xproto" ,xproto)
4865 ("pkg-config" ,pkg-config)))
4866 (home-page "http://www.x.org/wiki/")
4867 (synopsis "xorg implementation of the X Window System")
4868 (description "X.org provides an implementation of the X Window System")
4869 (license license:x11)))
diff --git a/guix/build-system/cmake.scm b/guix/build-system/cmake.scm
index 2a9db80cf8b..3347dc502c8 100644
--- a/guix/build-system/cmake.scm
+++ b/guix/build-system/cmake.scm
@@ -38,11 +38,11 @@
38(define* (cmake-build store name source inputs 38(define* (cmake-build store name source inputs
39 #:key (guile #f) 39 #:key (guile #f)
40 (outputs '("out")) (configure-flags ''()) 40 (outputs '("out")) (configure-flags ''())
41 (search-paths '())
41 (make-flags ''()) 42 (make-flags ''())
42 (patches ''()) (patch-flags ''("--batch" "-p1")) 43 (patches ''()) (patch-flags ''("--batch" "-p1"))
43 (cmake (@ (gnu packages cmake) cmake)) 44 (cmake (@ (gnu packages cmake) cmake))
44 (out-of-source? #f) 45 (out-of-source? #f)
45 (path-exclusions ''())
46 (tests? #t) 46 (tests? #t)
47 (test-target "test") 47 (test-target "test")
48 (parallel-build? #t) (parallel-tests? #f) 48 (parallel-build? #t) (parallel-tests? #f)
@@ -71,13 +71,15 @@ provides a 'CMakeLists.txt' file as its build system."
71 #:system ,system 71 #:system ,system
72 #:outputs %outputs 72 #:outputs %outputs
73 #:inputs %build-inputs 73 #:inputs %build-inputs
74 #:search-paths ',(map search-path-specification->sexp
75 (append search-paths
76 (standard-search-paths)))
74 #:patches ,patches 77 #:patches ,patches
75 #:patch-flags ,patch-flags 78 #:patch-flags ,patch-flags
76 #:phases ,phases 79 #:phases ,phases
77 #:configure-flags ,configure-flags 80 #:configure-flags ,configure-flags
78 #:make-flags ,make-flags 81 #:make-flags ,make-flags
79 #:out-of-source? ,out-of-source? 82 #:out-of-source? ,out-of-source?
80 #:path-exclusions ,path-exclusions
81 #:tests? ,tests? 83 #:tests? ,tests?
82 #:test-target ,test-target 84 #:test-target ,test-target
83 #:parallel-build? ,parallel-build? 85 #:parallel-build? ,parallel-build?
diff --git a/guix/build-system/gnu.scm b/guix/build-system/gnu.scm
index 8049e7510fd..b64bce7dae5 100644
--- a/guix/build-system/gnu.scm
+++ b/guix/build-system/gnu.scm
@@ -27,6 +27,7 @@
27 #:use-module (ice-9 match) 27 #:use-module (ice-9 match)
28 #:export (gnu-build 28 #:export (gnu-build
29 gnu-build-system 29 gnu-build-system
30 standard-search-paths
30 standard-inputs 31 standard-inputs
31 package-with-explicit-inputs 32 package-with-explicit-inputs
32 package-with-extra-configure-variable 33 package-with-extra-configure-variable
@@ -135,6 +136,24 @@ use `--strip-all' as the arguments to `strip'."
135 ;; Store passed to STANDARD-INPUTS. 136 ;; Store passed to STANDARD-INPUTS.
136 (make-parameter #f)) 137 (make-parameter #f))
137 138
139(define (standard-packages)
140 "Return the list of (NAME PACKAGE OUTPUT) or (NAME PACKAGE) tuples of
141standard packages used as implicit inputs of the GNU build system."
142
143 ;; Resolve (gnu packages base) lazily to hide circular dependency.
144 (let ((distro (resolve-module '(gnu packages base))))
145 (module-ref distro '%final-inputs)))
146
147(define (standard-search-paths)
148 "Return the list of <search-path-specification> for the standard (implicit)
149inputs."
150 (append-map (match-lambda
151 ((_ (? package? p) _ ...)
152 (package-native-search-paths p))
153 (_
154 '()))
155 (standard-packages)))
156
138(define standard-inputs 157(define standard-inputs
139 (memoize 158 (memoize
140 (lambda (system) 159 (lambda (system)
@@ -148,9 +167,7 @@ System: GCC, GNU Make, Bash, Coreutils, etc."
148 (z 167 (z
149 (error "invalid standard input" z))) 168 (error "invalid standard input" z)))
150 169
151 ;; Resolve (gnu packages base) lazily to hide circular dependency. 170 (let ((inputs (standard-packages)))
152 (let* ((distro (resolve-module '(gnu packages base)))
153 (inputs (module-ref distro '%final-inputs)))
154 (append inputs 171 (append inputs
155 (append-map (match-lambda 172 (append-map (match-lambda
156 ((name package _ ...) 173 ((name package _ ...)
@@ -159,11 +176,12 @@ System: GCC, GNU Make, Bash, Coreutils, etc."
159 176
160(define* (gnu-build store name source inputs 177(define* (gnu-build store name source inputs
161 #:key (guile #f) 178 #:key (guile #f)
162 (outputs '("out")) (configure-flags ''()) 179 (outputs '("out"))
180 (search-paths '())
181 (configure-flags ''())
163 (make-flags ''()) 182 (make-flags ''())
164 (patches ''()) (patch-flags ''("--batch" "-p1")) 183 (patches ''()) (patch-flags ''("--batch" "-p1"))
165 (out-of-source? #f) 184 (out-of-source? #f)
166 (path-exclusions ''())
167 (tests? #t) 185 (tests? #t)
168 (test-target "check") 186 (test-target "check")
169 (parallel-build? #t) (parallel-tests? #t) 187 (parallel-build? #t) (parallel-tests? #t)
@@ -190,6 +208,16 @@ the builder's environment, from the host. Note that we distinguish
190between both, because for Guile's own modules like (ice-9 foo), we want 208between both, because for Guile's own modules like (ice-9 foo), we want
191to use GUILE's own version of it, rather than import the user's one, 209to use GUILE's own version of it, rather than import the user's one,
192which could lead to gratuitous input divergence." 210which could lead to gratuitous input divergence."
211 (define implicit-inputs
212 (and implicit-inputs?
213 (parameterize ((%store store))
214 (standard-inputs system))))
215
216 (define implicit-search-paths
217 (if implicit-inputs?
218 (standard-search-paths)
219 '()))
220
193 (define builder 221 (define builder
194 `(begin 222 `(begin
195 (use-modules ,@modules) 223 (use-modules ,@modules)
@@ -199,13 +227,15 @@ which could lead to gratuitous input divergence."
199 #:system ,system 227 #:system ,system
200 #:outputs %outputs 228 #:outputs %outputs
201 #:inputs %build-inputs 229 #:inputs %build-inputs
230 #:search-paths ',(map search-path-specification->sexp
231 (append implicit-search-paths
232 search-paths))
202 #:patches ,patches 233 #:patches ,patches
203 #:patch-flags ,patch-flags 234 #:patch-flags ,patch-flags
204 #:phases ,phases 235 #:phases ,phases
205 #:configure-flags ,configure-flags 236 #:configure-flags ,configure-flags
206 #:make-flags ,make-flags 237 #:make-flags ,make-flags
207 #:out-of-source? ,out-of-source? 238 #:out-of-source? ,out-of-source?
208 #:path-exclusions ,path-exclusions
209 #:tests? ,tests? 239 #:tests? ,tests?
210 #:test-target ,test-target 240 #:test-target ,test-target
211 #:parallel-build? ,parallel-build? 241 #:parallel-build? ,parallel-build?
@@ -233,8 +263,7 @@ which could lead to gratuitous input divergence."
233 '()) 263 '())
234 ,@inputs 264 ,@inputs
235 ,@(if implicit-inputs? 265 ,@(if implicit-inputs?
236 (parameterize ((%store store)) 266 implicit-inputs
237 (standard-inputs system))
238 '())) 267 '()))
239 #:outputs outputs 268 #:outputs outputs
240 #:modules imported-modules 269 #:modules imported-modules
diff --git a/guix/build-system/perl.scm b/guix/build-system/perl.scm
index 537c29e799c..1ff9fd2674a 100644
--- a/guix/build-system/perl.scm
+++ b/guix/build-system/perl.scm
@@ -38,6 +38,7 @@
38(define* (perl-build store name source inputs 38(define* (perl-build store name source inputs
39 #:key 39 #:key
40 (perl (@ (gnu packages perl) perl)) 40 (perl (@ (gnu packages perl) perl))
41 (search-paths '())
41 (tests? #t) 42 (tests? #t)
42 (make-maker-flags ''()) 43 (make-maker-flags ''())
43 (phases '(@ (guix build perl-build-system) 44 (phases '(@ (guix build perl-build-system)
@@ -53,6 +54,10 @@
53 (guix build utils)))) 54 (guix build utils))))
54 "Build SOURCE using PERL, and with INPUTS. This assumes that SOURCE 55 "Build SOURCE using PERL, and with INPUTS. This assumes that SOURCE
55provides a `Makefile.PL' file as its build system." 56provides a `Makefile.PL' file as its build system."
57 (define perl-search-paths
58 (append (package-native-search-paths perl)
59 (standard-search-paths)))
60
56 (define builder 61 (define builder
57 `(begin 62 `(begin
58 (use-modules ,@modules) 63 (use-modules ,@modules)
@@ -60,6 +65,9 @@ provides a `Makefile.PL' file as its build system."
60 #:source ,(if (and source (derivation-path? source)) 65 #:source ,(if (and source (derivation-path? source))
61 (derivation-path->output-path source) 66 (derivation-path->output-path source)
62 source) 67 source)
68 #:search-paths ',(map search-path-specification->sexp
69 (append perl-search-paths
70 search-paths))
63 #:make-maker-flags ,make-maker-flags 71 #:make-maker-flags ,make-maker-flags
64 #:system ,system 72 #:system ,system
65 #:test-target "test" 73 #:test-target "test"
diff --git a/guix/build-system/trivial.scm b/guix/build-system/trivial.scm
index e5bbeaa91de..2eb15aa2e07 100644
--- a/guix/build-system/trivial.scm
+++ b/guix/build-system/trivial.scm
@@ -1,5 +1,5 @@
1;;; GNU Guix --- Functional package management for GNU 1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2012 Ludovic Courtès <ludo@gnu.org> 2;;; Copyright © 2012, 2013 Ludovic Courtès <ludo@gnu.org>
3;;; 3;;;
4;;; This file is part of GNU Guix. 4;;; This file is part of GNU Guix.
5;;; 5;;;
@@ -26,7 +26,9 @@
26 #:export (trivial-build-system)) 26 #:export (trivial-build-system))
27 27
28(define* (trivial-build store name source inputs 28(define* (trivial-build store name source inputs
29 #:key outputs guile system builder (modules '())) 29 #:key
30 outputs guile system builder (modules '())
31 search-paths)
30 "Run build expression BUILDER, an expression, for SYSTEM. SOURCE is 32 "Run build expression BUILDER, an expression, for SYSTEM. SOURCE is
31ignored." 33ignored."
32 (define guile-for-build 34 (define guile-for-build
diff --git a/guix/build/gnu-build-system.scm b/guix/build/gnu-build-system.scm
index b7b9fdac954..47820aa02ee 100644
--- a/guix/build/gnu-build-system.scm
+++ b/guix/build/gnu-build-system.scm
@@ -48,33 +48,22 @@
48 #f 48 #f
49 dir)) 49 dir))
50 50
51(define* (set-paths #:key inputs (path-exclusions '()) 51(define* (set-paths #:key inputs (search-paths '())
52 #:allow-other-keys) 52 #:allow-other-keys)
53 (define (relevant-input-directories env-var) 53 (define input-directories
54 ;; Return the subset of INPUTS that should be considered when setting 54 (match inputs
55 ;; ENV-VAR. 55 (((_ . dir) ...)
56 (match (assoc-ref path-exclusions env-var) 56 dir)))
57 (#f
58 (map cdr inputs))
59 ((excluded ...)
60 (filter-map (match-lambda
61 ((name . dir)
62 (and (not (member name excluded))
63 dir)))
64 inputs))))
65 57
66 (set-path-environment-variable "PATH" '("bin") 58 (set-path-environment-variable "PATH" '("bin" "sbin")
67 (relevant-input-directories "PATH")) 59 input-directories)
68 (set-path-environment-variable "CPATH" '("include")
69 (relevant-input-directories "CPATH"))
70 (set-path-environment-variable "LIBRARY_PATH" '("lib" "lib64")
71 (relevant-input-directories "LIBRARY_PATH"))
72 60
73 ;; FIXME: Eventually move this to the `search-paths' field of the 61 (for-each (match-lambda
74 ;; `pkg-config' package. 62 ((env-var (directories ...) separator)
75 (set-path-environment-variable "PKG_CONFIG_PATH" 63 (set-path-environment-variable env-var directories
76 '("lib/pkgconfig" "lib64/pkgconfig") 64 input-directories
77 (relevant-input-directories "PKG_CONFIG_PATH")) 65 #:separator separator)))
66 search-paths)
78 67
79 ;; Dump the environment variables as a shell script, for handy debugging. 68 ;; Dump the environment variables as a shell script, for handy debugging.
80 (system "export > environment-variables")) 69 (system "export > environment-variables"))
@@ -120,9 +109,10 @@ makefiles."
120 (base (basename out)) 109 (base (basename out))
121 (dash (string-rindex base #\-))) 110 (dash (string-rindex base #\-)))
122 ;; XXX: We'd rather use `package-name->name+version' or similar. 111 ;; XXX: We'd rather use `package-name->name+version' or similar.
123 (if dash 112 (string-drop (if dash
124 (substring base 0 dash) 113 (substring base 0 dash)
125 base))) 114 base)
115 (+ 1 (string-index base #\-)))))
126 116
127 (let* ((prefix (assoc-ref outputs "out")) 117 (let* ((prefix (assoc-ref outputs "out"))
128 (bindir (assoc-ref outputs "bin")) 118 (bindir (assoc-ref outputs "bin"))
diff --git a/guix/build/perl-build-system.scm b/guix/build/perl-build-system.scm
index d625ef3ed6d..793b6aacb5f 100644
--- a/guix/build/perl-build-system.scm
+++ b/guix/build/perl-build-system.scm
@@ -50,10 +50,6 @@
50(define* (perl-build #:key inputs (phases %standard-phases) 50(define* (perl-build #:key inputs (phases %standard-phases)
51 #:allow-other-keys #:rest args) 51 #:allow-other-keys #:rest args)
52 "Build the given Perl package, applying all of PHASES in order." 52 "Build the given Perl package, applying all of PHASES in order."
53 (set-path-environment-variable "PERL5LIB" '("lib/perl5/site_perl")
54 (match inputs
55 (((_ . path) ...)
56 path)))
57 (apply gnu:gnu-build 53 (apply gnu:gnu-build
58 #:inputs inputs #:phases phases 54 #:inputs inputs #:phases phases
59 args)) 55 args))
diff --git a/guix/build/utils.scm b/guix/build/utils.scm
index 6921e31bdd0..a4a82a5f8cd 100644
--- a/guix/build/utils.scm
+++ b/guix/build/utils.scm
@@ -1,5 +1,7 @@
1;;; GNU Guix --- Functional package management for GNU 1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2012, 2013 Ludovic Courtès <ludo@gnu.org> 2;;; Copyright © 2012, 2013 Ludovic Courtès <ludo@gnu.org>
3;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
4;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
3;;; 5;;;
4;;; This file is part of GNU Guix. 6;;; This file is part of GNU Guix.
5;;; 7;;;
@@ -31,6 +33,7 @@
31 with-directory-excursion 33 with-directory-excursion
32 mkdir-p 34 mkdir-p
33 copy-recursively 35 copy-recursively
36 delete-file-recursively
34 find-files 37 find-files
35 38
36 set-path-environment-variable 39 set-path-environment-variable
@@ -49,9 +52,10 @@
49 patch-shebang 52 patch-shebang
50 patch-makefile-SHELL 53 patch-makefile-SHELL
51 fold-port-matches 54 fold-port-matches
52 remove-store-references)) 55 remove-store-references
56 wrap-program))
57
53 58
54
55;;; 59;;;
56;;; Directories. 60;;; Directories.
57;;; 61;;;
@@ -120,8 +124,11 @@ return values of applying PROC to the port."
120 (() #t)))) 124 (() #t))))
121 125
122(define* (copy-recursively source destination 126(define* (copy-recursively source destination
123 #:optional (log (current-output-port))) 127 #:key
124 "Copy SOURCE directory to DESTINATION." 128 (log (current-output-port))
129 (follow-symlinks? #f))
130 "Copy SOURCE directory to DESTINATION. Follow symlinks if FOLLOW-SYMLINKS?
131is true; otherwise, just preserve them. Write verbose output to the LOG port."
125 (define strip-source 132 (define strip-source
126 (let ((len (string-length source))) 133 (let ((len (string-length source)))
127 (lambda (file) 134 (lambda (file)
@@ -132,7 +139,12 @@ return values of applying PROC to the port."
132 (let ((dest (string-append destination 139 (let ((dest (string-append destination
133 (strip-source file)))) 140 (strip-source file))))
134 (format log "`~a' -> `~a'~%" file dest) 141 (format log "`~a' -> `~a'~%" file dest)
135 (copy-file file dest))) 142 (case (stat:type stat)
143 ((symlink)
144 (let ((target (readlink file)))
145 (symlink target dest)))
146 (else
147 (copy-file file dest)))))
136 (lambda (dir stat result) ; down 148 (lambda (dir stat result) ; down
137 (mkdir-p (string-append destination 149 (mkdir-p (string-append destination
138 (strip-source dir)))) 150 (strip-source dir))))
@@ -144,7 +156,31 @@ return values of applying PROC to the port."
144 file (strerror errno)) 156 file (strerror errno))
145 #f) 157 #f)
146 #t 158 #t
147 source)) 159 source
160
161 (if follow-symlinks?
162 stat
163 lstat)))
164
165(define (delete-file-recursively dir)
166 "Delete DIR recursively, like `rm -rf', without following symlinks. Report
167but ignore errors."
168 (file-system-fold (const #t) ; enter?
169 (lambda (file stat result) ; leaf
170 (delete-file file))
171 (const #t) ; down
172 (lambda (dir stat result) ; up
173 (rmdir dir))
174 (const #t) ; skip
175 (lambda (file stat errno result)
176 (format (current-error-port)
177 "warning: failed to delete ~a: ~a~%"
178 file (strerror errno)))
179 #t
180 dir
181
182 ;; Don't follow symlinks.
183 lstat))
148 184
149(define (find-files dir regexp) 185(define (find-files dir regexp)
150 "Return the list of files under DIR whose basename matches REGEXP." 186 "Return the list of files under DIR whose basename matches REGEXP."
@@ -426,7 +462,7 @@ bytes transferred and the continuation of the transfer as a thunk."
426 (stat:mtimensec stat))) 462 (stat:mtimensec stat)))
427 463
428(define patch-shebang 464(define patch-shebang
429 (let ((shebang-rx (make-regexp "^[[:blank:]]*([[:graph:]]+)(.*)$"))) 465 (let ((shebang-rx (make-regexp "^[[:blank:]]*([[:graph:]]+)[[:blank:]]*([[:graph:]]*)(.*)$")))
430 (lambda* (file 466 (lambda* (file
431 #:optional 467 #:optional
432 (path (search-path-as-string->list (getenv "PATH"))) 468 (path (search-path-as-string->list (getenv "PATH")))
@@ -465,16 +501,29 @@ FILE are kept unchanged."
465 (let ((line (false-if-exception (read-line p)))) 501 (let ((line (false-if-exception (read-line p))))
466 (and=> (and line (regexp-exec shebang-rx line)) 502 (and=> (and line (regexp-exec shebang-rx line))
467 (lambda (m) 503 (lambda (m)
468 (let* ((cmd (match:substring m 1)) 504 (let* ((interp (match:substring m 1))
469 (bin (search-path path (basename cmd)))) 505 (arg1 (match:substring m 2))
506 (rest (match:substring m 3))
507 (has-env (string-suffix? "/env" interp))
508 (cmd (if has-env arg1 (basename interp)))
509 (bin (search-path path cmd)))
470 (if bin 510 (if bin
471 (if (string=? bin cmd) 511 (if (string=? bin interp)
472 #f ; nothing to do 512 #f ; nothing to do
473 (begin 513 (if has-env
474 (format (current-error-port) 514 (begin
475 "patch-shebang: ~a: changing `~a' to `~a'~%" 515 (format (current-error-port)
476 file cmd bin) 516 "patch-shebang: ~a: changing `~a' to `~a'~%"
477 (patch p bin (match:substring m 2)))) 517 file (string-append interp " " arg1) bin)
518 (patch p bin rest))
519 (begin
520 (format (current-error-port)
521 "patch-shebang: ~a: changing `~a' to `~a'~%"
522 file interp bin)
523 (patch p bin
524 (if (string-null? arg1)
525 ""
526 (string-append " " arg1 rest))))))
478 (begin 527 (begin
479 (format (current-error-port) 528 (format (current-error-port)
480 "patch-shebang: ~a: warning: no binary for interpreter `~a' found in $PATH~%" 529 "patch-shebang: ~a: warning: no binary for interpreter `~a' found in $PATH~%"
@@ -605,6 +654,70 @@ known as `nuke-refs' in Nixpkgs."
605 (put-u8 out (char->integer char)) 654 (put-u8 out (char->integer char))
606 result)))))) 655 result))))))
607 656
657(define* (wrap-program prog #:rest vars)
658 "Rename PROG to .PROG-real and make PROG a wrapper. VARS should look like
659this:
660
661 '(VARIABLE DELIMITER POSITION LIST-OF-DIRECTORIES)
662
663where DELIMITER is optional. ':' will be used if DELIMITER is not given.
664
665For example, this command:
666
667 (wrap-program \"foo\"
668 '(\"PATH\" \":\" = (\"/nix/.../bar/bin\"))
669 '(\"CERT_PATH\" suffix (\"/nix/.../baz/certs\"
670 \"/qux/certs\")))
671
672will copy 'foo' to '.foo-real' and create the file 'foo' with the following
673contents:
674
675 #!location/of/bin/bash
676 export PATH=\"/nix/.../bar/bin\"
677 export CERT_PATH=\"$CERT_PATH${CERT_PATH:+:}/nix/.../baz/certs:/qux/certs\"
678 exec location/of/.foo-real
679
680This is useful for scripts that expect particular programs to be in $PATH, for
681programs that expect particular shared libraries to be in $LD_LIBRARY_PATH, or
682modules in $GUILE_LOAD_PATH, etc."
683 (let ((prog-real (string-append (dirname prog) "/." (basename prog) "-real"))
684 (prog-tmp (string-append (dirname prog) "/." (basename prog) "-tmp")))
685 (define (export-variable lst)
686 ;; Return a string that exports an environment variable.
687 (match lst
688 ((var sep '= rest)
689 (format #f "export ~a=\"~a\""
690 var (string-join rest sep)))
691 ((var sep 'prefix rest)
692 (format #f "export ~a=\"~a${~a~a+~a}$~a\""
693 var (string-join rest sep) var sep sep var))
694 ((var sep 'suffix rest)
695 (format #f "export ~a=\"$~a${~a~a+~a}~a\""
696 var var var sep sep (string-join rest sep)))
697 ((var '= rest)
698 (format #f "export ~a=\"~a\""
699 var (string-join rest ":")))
700 ((var 'prefix rest)
701 (format #f "export ~a=\"~a${~a:+:}$~a\""
702 var (string-join rest ":") var var))
703 ((var 'suffix rest)
704 (format #f "export ~a=\"$~a${~a:+:}~a\""
705 var var var (string-join rest ":")))))
706
707 (copy-file prog prog-real)
708
709 (with-output-to-file prog-tmp
710 (lambda ()
711 (format #t
712 "#!~a~%~a~%exec \"~a\" \"$@\"~%"
713 (which "bash")
714 (string-join (map export-variable vars)
715 "\n")
716 (canonicalize-path prog-real))))
717
718 (chmod prog-tmp #o755)
719 (rename-file prog-tmp prog)))
720
608;;; Local Variables: 721;;; Local Variables:
609;;; eval: (put 'call-with-output-file/atomic 'scheme-indent-function 1) 722;;; eval: (put 'call-with-output-file/atomic 'scheme-indent-function 1)
610;;; eval: (put 'with-throw-handler 'scheme-indent-function 1) 723;;; eval: (put 'with-throw-handler 'scheme-indent-function 1)
diff --git a/guix/download.scm b/guix/download.scm
index b315b4c1d06..99353be8b09 100644
--- a/guix/download.scm
+++ b/guix/download.scm
@@ -107,8 +107,7 @@
107 "http://mirrors.ircam.fr/pub/apache/" 107 "http://mirrors.ircam.fr/pub/apache/"
108 "http://apache-mirror.rbc.ru/pub/apache/") 108 "http://apache-mirror.rbc.ru/pub/apache/")
109 (xorg ; from http://www.x.org/wiki/Releases/Download 109 (xorg ; from http://www.x.org/wiki/Releases/Download
110 "http://xorg.freedesktop.org/releases/" ; main mirrors 110 "http://www.x.org/releases/" ; main mirrors
111 "http://www.x.org/pub/"
112 "ftp://mirror.csclub.uwaterloo.ca/x.org/" ; North America 111 "ftp://mirror.csclub.uwaterloo.ca/x.org/" ; North America
113 "ftp://xorg.mirrors.pair.com/" 112 "ftp://xorg.mirrors.pair.com/"
114 "http://mirror.csclub.uwaterloo.ca/x.org/" 113 "http://mirror.csclub.uwaterloo.ca/x.org/"
diff --git a/guix/packages.scm b/guix/packages.scm
index e8ae2fb8175..1cbbd2ec47b 100644
--- a/guix/packages.scm
+++ b/guix/packages.scm
@@ -37,6 +37,11 @@
37 origin-file-name 37 origin-file-name
38 base32 38 base32
39 39
40 <search-path-specification>
41 search-path-specification
42 search-path-specification?
43 search-path-specification->sexp
44
40 package 45 package
41 package? 46 package?
42 package-name 47 package-name
@@ -49,6 +54,7 @@
49 package-native-inputs 54 package-native-inputs
50 package-propagated-inputs 55 package-propagated-inputs
51 package-outputs 56 package-outputs
57 package-native-search-paths
52 package-search-paths 58 package-search-paths
53 package-synopsis 59 package-synopsis
54 package-description 60 package-description
@@ -105,8 +111,22 @@ representation."
105 ((_ str) 111 ((_ str)
106 #'(nix-base32-string->bytevector str))))) 112 #'(nix-base32-string->bytevector str)))))
107 113
108;; A package. 114;; The specification of a search path.
115(define-record-type* <search-path-specification>
116 search-path-specification make-search-path-specification
117 search-path-specification?
118 (variable search-path-specification-variable)
119 (directories search-path-specification-directories)
120 (separator search-path-specification-separator (default ":")))
121
122(define (search-path-specification->sexp spec)
123 "Return an sexp representing SPEC, a <search-path-specification>. The sexp
124corresponds to the arguments expected by `set-path-environment-variable'."
125 (match spec
126 (($ <search-path-specification> variable directories separator)
127 `(,variable ,directories ,separator))))
109 128
129;; A package.
110(define-record-type* <package> 130(define-record-type* <package>
111 package make-package 131 package make-package
112 package? 132 package?
@@ -129,10 +149,13 @@ representation."
129 149
130 (outputs package-outputs ; list of strings 150 (outputs package-outputs ; list of strings
131 (default '("out"))) 151 (default '("out")))
132 (search-paths package-search-paths ; list of (ENV-VAR (DIRS ...)) 152
133 (default '())) ; tuples; see 153 ; lists of
134 ; `set-path-environment-variable' 154 ; <search-path-specification>,
135 ; (aka. "setup-hook") 155 ; for native and cross
156 ; inputs
157 (native-search-paths package-native-search-paths (default '()))
158 (search-paths package-search-paths (default '()))
136 159
137 (synopsis package-synopsis) ; one-line description 160 (synopsis package-synopsis) ; one-line description
138 (description package-description) ; one or two paragraphs 161 (description package-description) ; one or two paragraphs
@@ -328,16 +351,22 @@ PACKAGE for SYSTEM."
328 (($ <package> name version source (= build-system-builder builder) 351 (($ <package> name version source (= build-system-builder builder)
329 args inputs propagated-inputs native-inputs self-native-input? 352 args inputs propagated-inputs native-inputs self-native-input?
330 outputs) 353 outputs)
331 ;; TODO: For `search-paths', add a builder prologue that calls 354 (let* ((inputs (package-transitive-inputs package))
332 ;; `set-path-environment-variable'. 355 (input-drvs (map expand-input inputs))
333 (let ((inputs (map expand-input 356 (paths (delete-duplicates
334 (package-transitive-inputs package)))) 357 (append-map (match-lambda
358 ((_ (? package? p) _ ...)
359 (package-native-search-paths
360 p))
361 (_ '()))
362 inputs))))
335 363
336 (apply builder 364 (apply builder
337 store (package-full-name package) 365 store (package-full-name package)
338 (and source 366 (and source
339 (package-source-derivation store source system)) 367 (package-source-derivation store source system))
340 inputs 368 input-drvs
369 #:search-paths paths
341 #:outputs outputs #:system system 370 #:outputs outputs #:system system
342 (args)))))))) 371 (args))))))))
343 372
diff --git a/guix/scripts/package.scm b/guix/scripts/package.scm
index cea49a57f4e..5eddb7defe0 100644
--- a/guix/scripts/package.scm
+++ b/guix/scripts/package.scm
@@ -330,6 +330,53 @@ but ~a is available upstream~%")
330 ((getaddrinfo-error ftp-error) #f) 330 ((getaddrinfo-error ftp-error) #f)
331 (else (apply throw key args)))))) 331 (else (apply throw key args))))))
332 332
333(define* (search-path-environment-variables packages profile
334 #:optional (getenv getenv))
335 "Return environment variable definitions that may be needed for the use of
336PACKAGES in PROFILE. Use GETENV to determine the current settings and report
337only settings not already effective."
338
339 ;; The search path info is not stored in the manifest. Thus, we infer the
340 ;; search paths from same-named packages found in the distro.
341
342 (define package-in-manifest->package
343 (match-lambda
344 ((name version _ ...)
345 (match (append (find-packages-by-name name version)
346 (find-packages-by-name name))
347 ((p _ ...) p)
348 (_ #f)))))
349
350 (define search-path-definition
351 (match-lambda
352 (($ <search-path-specification> variable directories separator)
353 (let ((values (or (and=> (getenv variable)
354 (cut string-tokenize* <> separator))
355 '()))
356 (directories (filter file-exists?
357 (map (cut string-append profile
358 "/" <>)
359 directories))))
360 (if (every (cut member <> values) directories)
361 #f
362 (format #f "export ~a=\"~a\""
363 variable
364 (string-join directories separator)))))))
365
366 (let* ((packages (filter-map package-in-manifest->package packages))
367 (search-paths (delete-duplicates
368 (append-map package-native-search-paths
369 packages))))
370 (filter-map search-path-definition search-paths)))
371
372(define (display-search-paths packages profile)
373 "Display the search path environment variables that may need to be set for
374PACKAGES, in the context of PROFILE."
375 (let ((settings (search-path-environment-variables packages profile)))
376 (unless (null? settings)
377 (format #t (_ "The following environment variable definitions may be needed:~%"))
378 (format #t "~{ ~a~%~}" settings))))
379
333 380
334;;; 381;;;
335;;; Command-line options. 382;;; Command-line options.
@@ -354,6 +401,8 @@ Install, remove, or upgrade PACKAGES in a single transaction.\n"))
354 -u, --upgrade[=REGEXP] upgrade all the installed packages matching REGEXP")) 401 -u, --upgrade[=REGEXP] upgrade all the installed packages matching REGEXP"))
355 (display (_ " 402 (display (_ "
356 --roll-back roll back to the previous generation")) 403 --roll-back roll back to the previous generation"))
404 (display (_ "
405 --search-paths display needed environment variable definitions"))
357 (newline) 406 (newline)
358 (display (_ " 407 (display (_ "
359 -p, --profile=PROFILE use PROFILE instead of the user's default profile")) 408 -p, --profile=PROFILE use PROFILE instead of the user's default profile"))
@@ -408,6 +457,9 @@ Install, remove, or upgrade PACKAGES in a single transaction.\n"))
408 (option '("roll-back") #f #f 457 (option '("roll-back") #f #f
409 (lambda (opt name arg result) 458 (lambda (opt name arg result)
410 (alist-cons 'roll-back? #t result))) 459 (alist-cons 'roll-back? #t result)))
460 (option '("search-paths") #f #f
461 (lambda (opt name arg result)
462 (cons `(query search-paths) result)))
411 (option '(#\p "profile") #t #f 463 (option '(#\p "profile") #t #f
412 (lambda (opt name arg result) 464 (lambda (opt name arg result)
413 (alist-cons 'profile arg 465 (alist-cons 'profile arg
@@ -728,7 +780,9 @@ Install, remove, or upgrade PACKAGES in a single transaction.\n"))
728 (build-derivations (%store) (list prof-drv))) 780 (build-derivations (%store) (list prof-drv)))
729 (begin 781 (begin
730 (switch-symlinks name prof) 782 (switch-symlinks name prof)
731 (switch-symlinks profile name)))))))))) 783 (switch-symlinks profile name)
784 (display-search-paths packages
785 profile))))))))))
732 786
733 (define (process-query opts) 787 (define (process-query opts)
734 ;; Process any query specified by OPTS. Return #t when a query was 788 ;; Process any query specified by OPTS. Return #t when a query was
@@ -776,6 +830,16 @@ Install, remove, or upgrade PACKAGES in a single transaction.\n"))
776 (for-each (cute package->recutils <> (current-output-port)) 830 (for-each (cute package->recutils <> (current-output-port))
777 (find-packages-by-description regexp)) 831 (find-packages-by-description regexp))
778 #t)) 832 #t))
833
834 (('search-paths)
835 (let* ((manifest (profile-manifest profile))
836 (packages (manifest-packages manifest))
837 (settings (search-path-environment-variables packages
838 profile
839 (const #f))))
840 (format #t "~{~a~%~}" settings)
841 #t))
842
779 (_ #f)))) 843 (_ #f))))
780 844
781 (let ((opts (parse-options))) 845 (let ((opts (parse-options)))
diff --git a/guix/utils.scm b/guix/utils.scm
index aec07301da0..7c8e914c015 100644
--- a/guix/utils.scm
+++ b/guix/utils.scm
@@ -61,6 +61,7 @@
61 version-compare 61 version-compare
62 version>? 62 version>?
63 package-name->name+version 63 package-name->name+version
64 string-tokenize*
64 file-extension 65 file-extension
65 call-with-temporary-output-file 66 call-with-temporary-output-file
66 fold2 67 fold2
@@ -517,6 +518,33 @@ introduce the version part."
517 (let ((dot (string-rindex file #\.))) 518 (let ((dot (string-rindex file #\.)))
518 (and dot (substring file (+ 1 dot) (string-length file))))) 519 (and dot (substring file (+ 1 dot) (string-length file)))))
519 520
521(define (string-tokenize* string separator)
522 "Return the list of substrings of STRING separated by SEPARATOR. This is
523like `string-tokenize', but SEPARATOR is a string."
524 (define (index string what)
525 (let loop ((string string)
526 (offset 0))
527 (cond ((string-null? string)
528 #f)
529 ((string-prefix? what string)
530 offset)
531 (else
532 (loop (string-drop string 1) (+ 1 offset))))))
533
534 (define len
535 (string-length separator))
536
537 (let loop ((string string)
538 (result '()))
539 (cond ((index string separator)
540 =>
541 (lambda (offset)
542 (loop (string-drop string (+ offset len))
543 (cons (substring string 0 offset)
544 result))))
545 (else
546 (reverse (cons string result))))))
547
520(define (call-with-temporary-output-file proc) 548(define (call-with-temporary-output-file proc)
521 "Call PROC with a name of a temporary file and open output port to that 549 "Call PROC with a name of a temporary file and open output port to that
522file; close the file and delete it when leaving the dynamic extent of this 550file; close the file and delete it when leaving the dynamic extent of this
diff --git a/tests/builders.scm b/tests/builders.scm
index 880dddd0b6f..1e6b62ee6a9 100644
--- a/tests/builders.scm
+++ b/tests/builders.scm
@@ -1,5 +1,5 @@
1;;; GNU Guix --- Functional package management for GNU 1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2012 Ludovic Courtès <ludo@gnu.org> 2;;; Copyright © 2012, 2013 Ludovic Courtès <ludo@gnu.org>
3;;; 3;;;
4;;; This file is part of GNU Guix. 4;;; This file is part of GNU Guix.
5;;; 5;;;
@@ -25,7 +25,8 @@
25 #:use-module (guix utils) 25 #:use-module (guix utils)
26 #:use-module (guix base32) 26 #:use-module (guix base32)
27 #:use-module (guix derivations) 27 #:use-module (guix derivations)
28 #:use-module ((guix packages) #:select (package-derivation)) 28 #:use-module ((guix packages)
29 #:select (package-derivation package-native-search-paths))
29 #:use-module (gnu packages bootstrap) 30 #:use-module (gnu packages bootstrap)
30 #:use-module (ice-9 match) 31 #:use-module (ice-9 match)
31 #:use-module (srfi srfi-1) 32 #:use-module (srfi srfi-1)
@@ -50,6 +51,13 @@
50 (list name (package-derivation %store package)))) 51 (list name (package-derivation %store package))))
51 (@@ (gnu packages base) %boot0-inputs)))) 52 (@@ (gnu packages base) %boot0-inputs))))
52 53
54(define %bootstrap-search-paths
55 ;; Search path specifications that go with %BOOTSTRAP-INPUTS.
56 (append-map (match-lambda
57 ((name package _ ...)
58 (package-native-search-paths package)))
59 (@@ (gnu packages base) %boot0-inputs)))
60
53(define network-reachable? 61(define network-reachable?
54 (false-if-exception (getaddrinfo "www.gnu.org" "80" AI_NUMERICSERV))) 62 (false-if-exception (getaddrinfo "www.gnu.org" "80" AI_NUMERICSERV)))
55 63
@@ -83,7 +91,8 @@
83 (build (gnu-build %store "hello-2.8" tarball 91 (build (gnu-build %store "hello-2.8" tarball
84 %bootstrap-inputs 92 %bootstrap-inputs
85 #:implicit-inputs? #f 93 #:implicit-inputs? #f
86 #:guile %bootstrap-guile)) 94 #:guile %bootstrap-guile
95 #:search-paths %bootstrap-search-paths))
87 (out (derivation-path->output-path build))) 96 (out (derivation-path->output-path build)))
88 (and (build-derivations %store (list (pk 'hello-drv build))) 97 (and (build-derivations %store (list (pk 'hello-drv build)))
89 (valid-path? %store out) 98 (valid-path? %store out)
diff --git a/tests/guix-package.sh b/tests/guix-package.sh
index 7b101aa501e..5a514a0dc00 100644
--- a/tests/guix-package.sh
+++ b/tests/guix-package.sh
@@ -47,6 +47,10 @@ test -L "$profile" && test -L "$profile-1-link"
47! test -f "$profile-2-link" 47! test -f "$profile-2-link"
48test -f "$profile/bin/guile" 48test -f "$profile/bin/guile"
49 49
50# No search path env. var. here.
51guix package --search-paths -p "$profile"
52test "`guix package --search-paths -p "$profile" | wc -l`" = 0
53
50# Check whether we have network access. 54# Check whether we have network access.
51if guile -c '(getaddrinfo "www.gnu.org" "80" AI_NUMERICSERV)' 2> /dev/null 55if guile -c '(getaddrinfo "www.gnu.org" "80" AI_NUMERICSERV)' 2> /dev/null
52then 56then
@@ -119,6 +123,10 @@ then
119 rm "$profile-1-link" 123 rm "$profile-1-link"
120 guix package --bootstrap -p "$profile" --roll-back 124 guix package --bootstrap -p "$profile" --roll-back
121 test "`readlink_base "$profile"`" = "$profile-0-link" 125 test "`readlink_base "$profile"`" = "$profile-0-link"
126
127 # Make sure LIBRARY_PATH gets listed by `--search-paths'.
128 guix package --bootstrap -p "$profile" -i guile-bootstrap -i gcc-bootstrap
129 guix package --search-paths -p "$profile" | grep LIBRARY_PATH
122fi 130fi
123 131
124# Make sure the `:' syntax works. 132# Make sure the `:' syntax works.
diff --git a/tests/packages.scm b/tests/packages.scm
index 22985d6e9a6..1dd7b91ae88 100644
--- a/tests/packages.scm
+++ b/tests/packages.scm
@@ -22,6 +22,7 @@
22 #:use-module (guix utils) 22 #:use-module (guix utils)
23 #:use-module (guix derivations) 23 #:use-module (guix derivations)
24 #:use-module (guix packages) 24 #:use-module (guix packages)
25 #:use-module (guix build-system)
25 #:use-module (guix build-system trivial) 26 #:use-module (guix build-system trivial)
26 #:use-module (guix build-system gnu) 27 #:use-module (guix build-system gnu)
27 #:use-module (gnu packages) 28 #:use-module (gnu packages)
@@ -160,6 +161,41 @@
160 (let ((p (pk 'drv d (derivation-path->output-path d)))) 161 (let ((p (pk 'drv d (derivation-path->output-path d))))
161 (eq? 'hello (call-with-input-file p read)))))) 162 (eq? 'hello (call-with-input-file p read))))))
162 163
164(test-assert "search paths"
165 (let* ((p (make-prompt-tag "return-search-paths"))
166 (s (build-system
167 (name "raw")
168 (description "Raw build system with direct store access")
169 (build (lambda* (store name source inputs
170 #:key outputs system search-paths)
171 search-paths))))
172 (x (list (search-path-specification
173 (variable "GUILE_LOAD_PATH")
174 (directories '("share/guile/site/2.0")))
175 (search-path-specification
176 (variable "GUILE_LOAD_COMPILED_PATH")
177 (directories '("share/guile/site/2.0")))))
178 (a (package (inherit (dummy-package "guile"))
179 (build-system s)
180 (native-search-paths x)))
181 (b (package (inherit (dummy-package "guile-foo"))
182 (build-system s)
183 (inputs `(("guile" ,a)))))
184 (c (package (inherit (dummy-package "guile-bar"))
185 (build-system s)
186 (inputs `(("guile" ,a)
187 ("guile-foo" ,b))))))
188 (let-syntax ((collect (syntax-rules ()
189 ((_ body ...)
190 (call-with-prompt p
191 (lambda ()
192 body ...)
193 (lambda (k search-paths)
194 search-paths))))))
195 (and (null? (collect (package-derivation %store a)))
196 (equal? x (collect (package-derivation %store b)))
197 (equal? x (collect (package-derivation %store c)))))))
198
163(unless (false-if-exception (getaddrinfo "www.gnu.org" "80" AI_NUMERICSERV)) 199(unless (false-if-exception (getaddrinfo "www.gnu.org" "80" AI_NUMERICSERV))
164 (test-skip 1)) 200 (test-skip 1))
165(test-assert "GNU Make, bootstrap" 201(test-assert "GNU Make, bootstrap"
diff --git a/tests/utils.scm b/tests/utils.scm
index 2fc8eaec123..f14412e61ea 100644
--- a/tests/utils.scm
+++ b/tests/utils.scm
@@ -66,6 +66,16 @@
66 ("nixpkgs" "1.0pre22125_a28fe19") 66 ("nixpkgs" "1.0pre22125_a28fe19")
67 ("gtk2" "2.38.0")))) 67 ("gtk2" "2.38.0"))))
68 68
69(test-equal "string-tokenize*"
70 '(("foo")
71 ("foo" "bar" "baz")
72 ("foo" "bar" "")
73 ("foo" "bar" "baz"))
74 (list (string-tokenize* "foo" ":")
75 (string-tokenize* "foo;bar;baz" ";")
76 (string-tokenize* "foo!bar!" "!")
77 (string-tokenize* "foo+-+bar+-+baz" "+-+")))
78
69(test-equal "fold2, 1 list" 79(test-equal "fold2, 1 list"
70 (list (reverse (iota 5)) 80 (list (reverse (iota 5))
71 (map - (reverse (iota 5)))) 81 (map - (reverse (iota 5))))