1 # GNU Guix --- Functional package management for GNU
2 # Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org>
3 # Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
4 # Copyright © 2013, 2014 Mark H Weaver <mhw@netris.org>
6 # This file is part of GNU Guix.
8 # GNU Guix is free software; you can redistribute it and/or modify it
9 # under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 3 of the License, or (at
11 # your option) any later version.
13 # GNU Guix is distributed in the hope that it will be useful, but
14 # WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
21 # Definitions for the GNU System: package modules, patches, bootstrap
24 GNU_SYSTEM_MODULES = \
28 gnu/packages/abiword.scm \
29 gnu/packages/acct.scm \
30 gnu/packages/acl.scm \
31 gnu/packages/admin.scm \
32 gnu/packages/adns.scm \
33 gnu/packages/algebra.scm \
34 gnu/packages/aidc.scm \
35 gnu/packages/apl.scm \
36 gnu/packages/apr.scm \
37 gnu/packages/asciidoc.scm \
38 gnu/packages/aspell.scm \
39 gnu/packages/attr.scm \
40 gnu/packages/autogen.scm \
41 gnu/packages/autotools.scm \
42 gnu/packages/avahi.scm \
43 gnu/packages/backup.scm \
44 gnu/packages/base.scm \
45 gnu/packages/bash.scm \
46 gnu/packages/bdw-gc.scm \
47 gnu/packages/bittorrent.scm \
48 gnu/packages/bison.scm \
49 gnu/packages/boost.scm \
50 gnu/packages/bootstrap.scm \
51 gnu/packages/busybox.scm \
52 gnu/packages/calcurse.scm \
53 gnu/packages/ccache.scm \
54 gnu/packages/cdrom.scm \
55 gnu/packages/cflow.scm \
56 gnu/packages/check.scm \
57 gnu/packages/cmake.scm \
58 gnu/packages/commencement.scm \
59 gnu/packages/compression.scm \
60 gnu/packages/complexity.scm \
61 gnu/packages/conkeror.scm \
62 gnu/packages/cook.scm \
63 gnu/packages/cpio.scm \
64 gnu/packages/cppi.scm \
65 gnu/packages/cross-base.scm \
66 gnu/packages/crypto.scm \
67 gnu/packages/cryptsetup.scm \
68 gnu/packages/curl.scm \
69 gnu/packages/cursynth.scm \
70 gnu/packages/cyrus-sasl.scm \
71 gnu/packages/databases.scm \
72 gnu/packages/datamash.scm \
74 gnu/packages/dejagnu.scm \
75 gnu/packages/dictionaries.scm \
76 gnu/packages/disk.scm \
77 gnu/packages/docbook.scm \
78 gnu/packages/doxygen.scm \
79 gnu/packages/dwm.scm \
81 gnu/packages/elf.scm \
82 gnu/packages/emacs.scm \
83 gnu/packages/enchant.scm \
84 gnu/packages/feh.scm \
85 gnu/packages/file.scm \
86 gnu/packages/firmware.scm \
87 gnu/packages/fish.scm \
88 gnu/packages/flashing-tools.scm \
89 gnu/packages/flex.scm \
90 gnu/packages/fltk.scm \
91 gnu/packages/fonts.scm \
92 gnu/packages/fontutils.scm \
93 gnu/packages/freeipmi.scm \
94 gnu/packages/ftp.scm \
95 gnu/packages/fribidi.scm \
96 gnu/packages/games.scm \
97 gnu/packages/gawk.scm \
98 gnu/packages/gcal.scm \
99 gnu/packages/gcc.scm \
100 gnu/packages/gd.scm \
101 gnu/packages/gdb.scm \
102 gnu/packages/gdbm.scm \
103 gnu/packages/geeqie.scm \
104 gnu/packages/gettext.scm \
105 gnu/packages/ghostscript.scm \
106 gnu/packages/gimp.scm \
107 gnu/packages/gkrellm.scm \
108 gnu/packages/gl.scm \
109 gnu/packages/glib.scm \
110 gnu/packages/global.scm \
111 gnu/packages/gnome.scm \
112 gnu/packages/gnunet.scm \
113 gnu/packages/gnupg.scm \
114 gnu/packages/gnustep.scm \
115 gnu/packages/gnutls.scm \
116 gnu/packages/gnuzilla.scm \
117 gnu/packages/gnu-pw-mgr.scm \
118 gnu/packages/gperf.scm \
119 gnu/packages/gprolog.scm \
120 gnu/packages/gps.scm \
121 gnu/packages/graphviz.scm \
122 gnu/packages/groff.scm \
123 gnu/packages/grub.scm \
124 gnu/packages/grue-hunter.scm \
125 gnu/packages/gsasl.scm \
126 gnu/packages/gstreamer.scm \
127 gnu/packages/gtk.scm \
128 gnu/packages/guile.scm \
129 gnu/packages/guile-wm.scm \
130 gnu/packages/gv.scm \
131 gnu/packages/gxmessage.scm \
132 gnu/packages/hugs.scm \
133 gnu/packages/hurd.scm \
134 gnu/packages/icu4c.scm \
135 gnu/packages/idutils.scm \
136 gnu/packages/image.scm \
137 gnu/packages/imagemagick.scm \
138 gnu/packages/indent.scm \
139 gnu/packages/inkscape.scm \
140 gnu/packages/irssi.scm \
141 gnu/packages/iso-codes.scm \
142 gnu/packages/jrnl.scm \
143 gnu/packages/kde.scm \
144 gnu/packages/ld-wrapper.scm \
145 gnu/packages/less.scm \
146 gnu/packages/lesstif.scm \
147 gnu/packages/libcanberra.scm \
148 gnu/packages/libdaemon.scm \
149 gnu/packages/libevent.scm \
150 gnu/packages/libffi.scm \
151 gnu/packages/libftdi.scm \
152 gnu/packages/libidn.scm \
153 gnu/packages/libphidget.scm \
154 gnu/packages/libsigsegv.scm \
155 gnu/packages/libunistring.scm \
156 gnu/packages/libusb.scm \
157 gnu/packages/libunwind.scm \
158 gnu/packages/lightning.scm \
159 gnu/packages/links.scm \
160 gnu/packages/linux.scm \
161 gnu/packages/lisp.scm \
162 gnu/packages/lout.scm \
163 gnu/packages/lsh.scm \
164 gnu/packages/lsof.scm \
165 gnu/packages/lua.scm \
166 gnu/packages/lynx.scm \
167 gnu/packages/m4.scm \
168 gnu/packages/man.scm \
169 gnu/packages/mail.scm \
170 gnu/packages/make-bootstrap.scm \
171 gnu/packages/maths.scm \
172 gnu/packages/mc.scm \
173 gnu/packages/mcrypt.scm \
174 gnu/packages/messaging.scm \
175 gnu/packages/miscfiles.scm \
176 gnu/packages/mit-krb5.scm \
177 gnu/packages/moe.scm \
178 gnu/packages/mpd.scm \
179 gnu/packages/mp3.scm \
180 gnu/packages/mpi.scm \
181 gnu/packages/multiprecision.scm \
182 gnu/packages/mtools.scm \
183 gnu/packages/nano.scm \
184 gnu/packages/ncdu.scm \
185 gnu/packages/ncurses.scm \
186 gnu/packages/netpbm.scm \
187 gnu/packages/nettle.scm \
188 gnu/packages/node.scm \
189 gnu/packages/noweb.scm \
190 gnu/packages/ntp.scm \
191 gnu/packages/nvi.scm \
192 gnu/packages/ocaml.scm \
193 gnu/packages/ocrad.scm \
194 gnu/packages/onc-rpc.scm \
195 gnu/packages/openldap.scm \
196 gnu/packages/openssl.scm \
197 gnu/packages/orpheus.scm \
198 gnu/packages/ots.scm \
199 gnu/packages/package-management.scm \
200 gnu/packages/parallel.scm \
201 gnu/packages/patchutils.scm \
202 gnu/packages/pciutils.scm \
203 gnu/packages/pcre.scm \
204 gnu/packages/pdf.scm \
205 gnu/packages/pem.scm \
206 gnu/packages/perl.scm \
207 gnu/packages/photo.scm \
208 gnu/packages/pkg-config.scm \
209 gnu/packages/plotutils.scm \
210 gnu/packages/polkit.scm \
211 gnu/packages/popt.scm \
212 gnu/packages/pth.scm \
213 gnu/packages/pulseaudio.scm \
214 gnu/packages/pretty-print.scm \
215 gnu/packages/protobuf.scm \
216 gnu/packages/python.scm \
217 gnu/packages/qemu.scm \
218 gnu/packages/qt.scm \
219 gnu/packages/ratpoison.scm \
220 gnu/packages/rdf.scm \
221 gnu/packages/readline.scm \
222 gnu/packages/rrdtool.scm \
223 gnu/packages/rsync.scm \
224 gnu/packages/ruby.scm \
225 gnu/packages/rush.scm \
226 gnu/packages/samba.scm \
227 gnu/packages/scanner.scm \
228 gnu/packages/scheme.scm \
229 gnu/packages/screen.scm \
230 gnu/packages/scrot.scm \
231 gnu/packages/sdl.scm \
232 gnu/packages/search.scm \
233 gnu/packages/serveez.scm \
234 gnu/packages/shishi.scm \
235 gnu/packages/skribilo.scm \
236 gnu/packages/slim.scm \
237 gnu/packages/smalltalk.scm \
238 gnu/packages/ssh.scm \
239 gnu/packages/stalonetray.scm \
240 gnu/packages/swig.scm \
241 gnu/packages/synergy.scm \
242 gnu/packages/tcl.scm \
243 gnu/packages/tcsh.scm \
244 gnu/packages/telephony.scm \
245 gnu/packages/texinfo.scm \
246 gnu/packages/texlive.scm \
247 gnu/packages/time.scm \
248 gnu/packages/tmux.scm \
249 gnu/packages/tor.scm \
250 gnu/packages/unclutter.scm \
251 gnu/packages/unrtf.scm \
252 gnu/packages/upnp.scm \
253 gnu/packages/uucp.scm \
254 gnu/packages/valgrind.scm \
255 gnu/packages/version-control.scm \
256 gnu/packages/video.scm \
257 gnu/packages/vim.scm \
258 gnu/packages/vpn.scm \
259 gnu/packages/vtk.scm \
260 gnu/packages/w3m.scm \
261 gnu/packages/wdiff.scm \
262 gnu/packages/web.scm \
263 gnu/packages/weechat.scm \
264 gnu/packages/wget.scm \
265 gnu/packages/which.scm \
266 gnu/packages/wordnet.scm \
267 gnu/packages/wv.scm \
268 gnu/packages/xfig.scm \
269 gnu/packages/xiph.scm \
270 gnu/packages/xlockmore.scm \
271 gnu/packages/xml.scm \
272 gnu/packages/xnee.scm \
273 gnu/packages/xorg.scm \
274 gnu/packages/yasm.scm \
275 gnu/packages/zile.scm \
276 gnu/packages/zip.scm \
277 gnu/packages/zsh.scm \
280 gnu/services/avahi.scm \
281 gnu/services/base.scm \
282 gnu/services/dbus.scm \
283 gnu/services/dmd.scm \
284 gnu/services/networking.scm \
285 gnu/services/ssh.scm \
286 gnu/services/xorg.scm \
289 gnu/system/file-systems.scm \
290 gnu/system/grub.scm \
291 gnu/system/install.scm \
292 gnu/system/linux.scm \
293 gnu/system/linux-initrd.scm \
294 gnu/system/shadow.scm \
297 gnu/build/activation.scm \
298 gnu/build/file-systems.scm \
299 gnu/build/install.scm \
300 gnu/build/linux-boot.scm \
301 gnu/build/linux-initrd.scm \
305 patchdir = $(guilemoduledir)/gnu/packages/patches
307 gnu/packages/patches/abiword-explictly-cast-bools.patch \
308 gnu/packages/patches/abiword-link-plugins-against-backend.patch \
309 gnu/packages/patches/abiword-no-include-glib-internal-headers.patch \
310 gnu/packages/patches/abiword-pass-no-undefined-to-linker.patch \
311 gnu/packages/patches/abiword-use-proper-png-api.patch \
312 gnu/packages/patches/abiword-wmf-version-lookup-fix.patch \
313 gnu/packages/patches/alsa-lib-mips-atomic-fix.patch \
314 gnu/packages/patches/apr-skip-getservbyname-test.patch \
315 gnu/packages/patches/ath9k-htc-firmware-binutils.patch \
316 gnu/packages/patches/ath9k-htc-firmware-gcc.patch \
317 gnu/packages/patches/ath9k-htc-firmware-objcopy.patch \
318 gnu/packages/patches/automake-skip-amhello-tests.patch \
319 gnu/packages/patches/avahi-localstatedir.patch \
320 gnu/packages/patches/avrdude-fix-libusb.patch \
321 gnu/packages/patches/bigloo-gc-shebangs.patch \
322 gnu/packages/patches/binutils-ld-new-dtags.patch \
323 gnu/packages/patches/binutils-loongson-workaround.patch \
324 gnu/packages/patches/cdparanoia-fpic.patch \
325 gnu/packages/patches/clucene-pkgconfig.patch \
326 gnu/packages/patches/cmake-fix-tests.patch \
327 gnu/packages/patches/coreutils-dummy-man.patch \
328 gnu/packages/patches/cpio-gets-undeclared.patch \
329 gnu/packages/patches/cssc-gets-undeclared.patch \
330 gnu/packages/patches/cssc-missing-include.patch \
331 gnu/packages/patches/cursynth-wave-rand.patch \
332 gnu/packages/patches/dbus-localstatedir.patch \
333 gnu/packages/patches/diffutils-gets-undeclared.patch \
334 gnu/packages/patches/dfu-programmer-fix-libusb.patch \
335 gnu/packages/patches/doxygen-test.patch \
336 gnu/packages/patches/doxygen-tmake.patch \
337 gnu/packages/patches/duplicity-piped-password.patch \
338 gnu/packages/patches/duplicity-test_selection-tmp.patch \
339 gnu/packages/patches/eudev-rules-directory.patch \
340 gnu/packages/patches/file-CVE-2014-3587.patch \
341 gnu/packages/patches/findutils-absolute-paths.patch \
342 gnu/packages/patches/flashrom-use-libftdi1.patch \
343 gnu/packages/patches/flex-bison-tests.patch \
344 gnu/packages/patches/gawk-shell.patch \
345 gnu/packages/patches/gcc-cross-environment-variables.patch \
346 gnu/packages/patches/gcc-fix-pr61801.patch \
347 gnu/packages/patches/gd-mips64-deplibs-fix.patch \
348 gnu/packages/patches/glib-tests-desktop.patch \
349 gnu/packages/patches/glib-tests-homedir.patch \
350 gnu/packages/patches/glib-tests-prlimit.patch \
351 gnu/packages/patches/glib-tests-timer.patch \
352 gnu/packages/patches/glibc-bootstrap-system.patch \
353 gnu/packages/patches/glibc-ldd-x86_64.patch \
354 gnu/packages/patches/gnunet-fix-scheduler.patch \
355 gnu/packages/patches/gnunet-fix-tests.patch \
356 gnu/packages/patches/gobject-introspection-cc.patch \
357 gnu/packages/patches/grub-gets-undeclared.patch \
358 gnu/packages/patches/gstreamer-0.10-bison3.patch \
359 gnu/packages/patches/gstreamer-0.10-silly-test.patch \
360 gnu/packages/patches/guile-1.8-cpp-4.5.patch \
361 gnu/packages/patches/guile-default-utf8.patch \
362 gnu/packages/patches/guile-linux-syscalls.patch \
363 gnu/packages/patches/guile-relocatable.patch \
364 gnu/packages/patches/guix-test-networking.patch \
365 gnu/packages/patches/gtkglext-disable-disable-deprecated.patch \
366 gnu/packages/patches/hop-bigloo-4.0b.patch \
367 gnu/packages/patches/icu4c-test-date-format.patch \
368 gnu/packages/patches/inkscape-stray-comma.patch \
369 gnu/packages/patches/jbig2dec-ignore-testtest.patch \
370 gnu/packages/patches/kmod-module-directory.patch \
371 gnu/packages/patches/libarchive-CVE-2013-0211.patch \
372 gnu/packages/patches/libarchive-fix-lzo-test-case.patch \
373 gnu/packages/patches/libarchive-mtree-filename-length-fix.patch \
374 gnu/packages/patches/libbonobo-activation-test-race.patch \
375 gnu/packages/patches/libevent-dns-tests.patch \
376 gnu/packages/patches/liboop-mips64-deplibs-fix.patch \
377 gnu/packages/patches/libmad-mips-newgcc.patch \
378 gnu/packages/patches/libtheora-config-guess.patch \
379 gnu/packages/patches/libtool-skip-tests.patch \
380 gnu/packages/patches/libtool-skip-tests-for-mips.patch \
381 gnu/packages/patches/libssh-CVE-2014-0017.patch \
382 gnu/packages/patches/lm-sensors-hwmon-attrs.patch \
383 gnu/packages/patches/luit-posix.patch \
384 gnu/packages/patches/m4-gets-undeclared.patch \
385 gnu/packages/patches/m4-readlink-EINVAL.patch \
386 gnu/packages/patches/make-impure-dirs.patch \
387 gnu/packages/patches/mc-fix-ncurses-build.patch \
388 gnu/packages/patches/mcron-install.patch \
389 gnu/packages/patches/mhash-keygen-test-segfault.patch \
390 gnu/packages/patches/mit-krb5-init-fix.patch \
391 gnu/packages/patches/mpc123-initialize-ao.patch \
392 gnu/packages/patches/module-init-tools-moduledir.patch \
393 gnu/packages/patches/mupdf-buildsystem-fix.patch \
394 gnu/packages/patches/net-tools-bitrot.patch \
395 gnu/packages/patches/nvi-assume-preserve-path.patch \
396 gnu/packages/patches/orpheus-cast-errors-and-includes.patch \
397 gnu/packages/patches/ots-no-include-missing-file.patch \
398 gnu/packages/patches/patchelf-page-size.patch \
399 gnu/packages/patches/patchutils-xfail-gendiff-tests.patch \
400 gnu/packages/patches/perl-no-sys-dirs.patch \
401 gnu/packages/patches/perl-tk-x11-discover.patch \
402 gnu/packages/patches/petsc-fix-threadcomm.patch \
403 gnu/packages/patches/pingus-sdl-libs-config.patch \
404 gnu/packages/patches/plotutils-libpng-jmpbuf.patch \
405 gnu/packages/patches/polkit-drop-test.patch \
406 gnu/packages/patches/procps-make-3.82.patch \
407 gnu/packages/patches/pulseaudio-CVE-2014-3970.patch \
408 gnu/packages/patches/pulseaudio-fix-mult-test.patch \
409 gnu/packages/patches/pybugz-encode-error.patch \
410 gnu/packages/patches/pybugz-stty.patch \
411 gnu/packages/patches/python-fix-tests.patch \
412 gnu/packages/patches/python-libffi-mips-n32-fix.patch \
413 gnu/packages/patches/qt4-tests.patch \
414 gnu/packages/patches/ratpoison-shell.patch \
415 gnu/packages/patches/readline-link-ncurses.patch \
416 gnu/packages/patches/ripperx-libm.patch \
417 gnu/packages/patches/scheme48-tests.patch \
418 gnu/packages/patches/scotch-test-threading.patch \
419 gnu/packages/patches/slim-session.patch \
420 gnu/packages/patches/slim-config.patch \
421 gnu/packages/patches/slim-sigusr1.patch \
422 gnu/packages/patches/soprano-find-clucene.patch \
423 gnu/packages/patches/source-highlight-regexrange-test.patch \
424 gnu/packages/patches/sqlite-large-page-size-fix.patch \
425 gnu/packages/patches/superlu-dist-scotchmetis.patch \
426 gnu/packages/patches/tcsh-fix-autotest.patch \
427 gnu/packages/patches/teckit-cstdio.patch \
428 gnu/packages/patches/texi2html-document-encoding.patch \
429 gnu/packages/patches/texi2html-i18n.patch \
430 gnu/packages/patches/udev-gir-libtool.patch \
431 gnu/packages/patches/util-linux-perl.patch \
432 gnu/packages/patches/vpnc-script.patch \
433 gnu/packages/patches/w3m-fix-compile.patch \
434 gnu/packages/patches/xf86-input-synaptics-glibc-2.20.patch \
435 gnu/packages/patches/xmodmap-asprintf.patch
437 bootstrapdir = $(guilemoduledir)/gnu/packages/bootstrap
438 bootstrap_x86_64_linuxdir = $(bootstrapdir)/x86_64-linux
439 bootstrap_i686_linuxdir = $(bootstrapdir)/i686-linux
440 bootstrap_mips64el_linuxdir = $(bootstrapdir)/mips64el-linux
442 dist_bootstrap_x86_64_linux_DATA = \
443 gnu/packages/bootstrap/x86_64-linux/bash \
444 gnu/packages/bootstrap/x86_64-linux/mkdir \
445 gnu/packages/bootstrap/x86_64-linux/tar \
446 gnu/packages/bootstrap/x86_64-linux/xz
448 dist_bootstrap_i686_linux_DATA = \
449 gnu/packages/bootstrap/i686-linux/bash \
450 gnu/packages/bootstrap/i686-linux/mkdir \
451 gnu/packages/bootstrap/i686-linux/tar \
452 gnu/packages/bootstrap/i686-linux/xz
454 dist_bootstrap_mips64el_linux_DATA = \
455 gnu/packages/bootstrap/mips64el-linux/bash \
456 gnu/packages/bootstrap/mips64el-linux/mkdir \
457 gnu/packages/bootstrap/mips64el-linux/tar \
458 gnu/packages/bootstrap/mips64el-linux/xz
460 # Big bootstrap binaries are not included in the tarball. Instead, they
462 nodist_bootstrap_x86_64_linux_DATA = \
463 gnu/packages/bootstrap/x86_64-linux/guile-2.0.9.tar.xz
464 nodist_bootstrap_i686_linux_DATA = \
465 gnu/packages/bootstrap/i686-linux/guile-2.0.9.tar.xz
466 nodist_bootstrap_mips64el_linux_DATA = \
467 gnu/packages/bootstrap/mips64el-linux/guile-2.0.9.tar.xz
469 # Those files must remain executable, so they remain executable once
470 # imported into the store.
472 chmod +x $(DESTDIR)$(bootstrapdir)/*/{bash,mkdir,tar,xz}
475 $(nodist_bootstrap_x86_64_linux_DATA) \
476 $(nodist_bootstrap_i686_linux_DATA) \
477 $(nodist_bootstrap_mips64el_linux_DATA)
479 # Method to download a file from an external source.
481 GUILE_LOAD_COMPILED_PATH="$(top_builddir):$$GUILE_LOAD_COMPILED_PATH" \
482 $(GUILE) --no-auto-compile -L "$(top_builddir)" -L "$(top_srcdir)" \
483 "$(top_srcdir)/build-aux/download.scm"
485 gnu/packages/bootstrap/x86_64-linux/guile-2.0.9.tar.xz:
486 $(MKDIR_P) `dirname "$@"`
487 $(DOWNLOAD_FILE) "$@" "037b103522a2d0d7d69c7ffd8de683dfe5bb4b59c1fafd70b4ffd397fd2f57f0"
488 gnu/packages/bootstrap/i686-linux/guile-2.0.9.tar.xz:
489 $(MKDIR_P) `dirname "$@"`
490 $(DOWNLOAD_FILE) "$@" "b757cd46bf13ecac83fb8e955fb50096ac2d17bb610ca8eb816f29302a00a846"
491 gnu/packages/bootstrap/mips64el-linux/guile-2.0.9.tar.xz:
492 $(MKDIR_P) `dirname "$@"`
493 $(DOWNLOAD_FILE) "$@" "994680f0001346864aa2c2cc5110f380ee7518dcd701c614291682b8e948f73b"