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