Ludovic Courtès
b1e666835e
lint: Simplify no-warnings tests.
...
* tests/lint.scm ("description: may start with a digit"): Replace
(not (string-contains exp str)) with (string-null? exp).
("description: may start with lower-case package name"): Likewise.
("description: end-of-sentence detection with abbreviations"):
Likewise.
("synopsis: may start with a digit"): Likewise.
("synopsis: ends with 'etc.'"): Likewise.
2014-11-07 17:52:11 +01:00
Ludovic Courtès
41eb11988e
gnu: Move pkg-config to 'native-inputs' in various places.
...
* gnu/packages/glib.scm (libsigc++): Move pkg-config to
'native-inputs'.
(glibmm): Likewise.
* gnu/packages/mpd.scm (mpd): Likewise.
* gnu/packages/package-management.scm (guix-0.7): Likewise.
* gnu/packages/sdl.scm (sdl-net): Likewise.
(sdl-ttf): Likewise.
* gnu/packages/xiph.scm (vorbis-tools): Likewise.
2014-11-07 17:52:11 +01:00
Alex Kost
9a130e19fc
emacs: Add 'guix-prettify'.
...
* emacs/guix-prettify.el: New file.
* emacs.am (ELFILES): Add it.
* doc/emacs.texi (Emacs Prettify): New node.
* doc/guix.texi (Features): Mention it.
2014-11-07 14:58:15 +03:00
Ludovic Courtès
d2e59637e3
services: xorg: Allow users to specify a list of resolutions.
...
* gnu/services/xorg.scm (xorg-start-command): Add #:resolutions
parameter and 'screen-section' procedure. Use it.
* doc/guix.texi (X Window): Adjust accordingly.
2014-11-07 00:00:08 +01:00
Ludovic Courtès
f703413e41
services: xorg: Allow users to specify the drivers to use.
...
* gnu/services/xorg.scm (xorg-start-command): Add #:drivers parameter.
Add 'device-section' procedure, and use it in 'xserver.conf'.
* doc/guix.texi (X Window): Document it.
2014-11-07 00:00:08 +01:00
Ludovic Courtès
e30442b53b
services: xorg: Fix typo in xserver.conf.
...
* gnu/services/xorg.scm (xorg-start-command)[xserver.conf]: Add missing
double-quote in AllowMouseOpenFail.
2014-11-07 00:00:02 +01:00
Ludovic Courtès
41d07f5e98
gnu: Add xf86-video-modesetting.
...
* gnu/packages/xorg.scm (xf86-video-modesetting): New variable.
* gnu/services/xorg.scm (xorg-start-command)[xserver.conf]: Add
ModulePath line for XF86-VIDEO-MODESETTING, commented out.
2014-11-06 23:58:54 +01:00
Ludovic Courtès
3c1f0e3b99
vm: Factorize common QEMU options.
...
* gnu/system/vm.scm (common-qemu-options): New procedure.
(system-qemu-image/shared-store-script): Use it.
2014-11-06 22:58:31 +01:00
Ludovic Courtès
263d05be8d
vm: Remove unused procedure.
...
* gnu/system/vm.scm (input->name+output): Remove. Its last user
disappeared in commit b53833b
.
2014-11-06 19:26:27 +01:00
Ludovic Courtès
c8af8572bf
tests: Avoid Bash extension in 'tests/guix-lint.sh'.
...
* tests/guix-lint.sh: Remove redundant and non-portable 'export'.
2014-11-06 18:00:51 +01:00
Ludovic Courtès
50fe945c01
gnu: ots: Make sure the shared library has the '.so' extension.
...
Fixes <http://bugs.gnu.org/18521 >.
* gnu/packages/ots.scm (ots)[arguments]: Add #:phases.
2014-11-06 14:54:40 +01:00
Ludovic Courtès
12bcf94a9a
gnu: Synchronize descriptions with the Womb.
...
Note: some of these changes undo bits of 35b9e4232
.
* gnu/packages/base.scm, gnu/packages/gperf.scm, gnu/packages/guile.scm,
gnu/packages/libidn.scm, gnu/packages/miscfiles.scm,
gnu/packages/telephony.scm: Adjust synopses and descriptions as
suggested by 'make sync-descriptions'.
2014-11-05 23:23:38 +01:00
Ludovic Courtès
95f92d4e2c
system: Define 'INFOPATH' in /etc/profile.
...
* gnu/system.scm (etc-directory)[bashrc]: Set 'INFOPATH'.
2014-11-05 22:59:50 +01:00
Ludovic Courtès
b1821e8272
gnu: guix: Update development snapshot.
...
* gnu/packages/package-management.scm (guix-devel): Update to commit
84934f4
.
2014-11-05 22:59:50 +01:00
Ludovic Courtès
e4bed284ae
monads: Remove unused 'nargs' parameter from 'lift'.
...
* guix/monads.scm (lift): Remove 'nargs' parameter.
2014-11-05 22:59:50 +01:00
Alex Kost
fae3d34720
build: Add missing "emacs/guix-messages.el".
...
* emacs.am (ELFILES): Add "emacs/guix-messages.el".
2014-11-06 00:30:57 +03:00
Ludovic Courtès
84934f40d1
import: pypi: Gracefully handle wrong argument counts.
...
* guix/scripts/import/pypi.scm (guix-import-pypi): Use 'leave' to handle
cases where ARGS has zero or two or more elements.
2014-11-05 18:04:16 +01:00
Ludovic Courtès
467a3c93db
import: pypi: Gracefully handle non-existent packages.
...
Fixes <http://bugs.gnu.org/18831 >.
Reported by Ian Denhardt <ian@zenhack.net>.
* guix/import/pypi.scm (url-fetch, json-fetch, pypi-fetch): Augment
docstring to mention #f on failure.
(pypi->guix-package): Likewise, and actually return #f on failure.
* guix/scripts/import/pypi.scm (guix-import-pypi): Call 'leave' when
'pypi->guix-package' returns #f.
2014-11-05 17:56:39 +01:00
Ludovic Courtès
63854bcbb1
services: Add NTP service.
...
* gnu/services/networking.scm (ntp-service): New procedure.
* doc/guix.texi (Networking Services): Document it.
2014-11-05 11:25:39 +01:00
Ludovic Courtès
98c16943d5
services: Increase delay before SIGKILL is sent when halting.
...
* gnu/services/base.scm (user-processes-service): Increase the default
value of 'grace-delay'. This leaves more time for processes to clean
up their PID files, /tmp/.X0-lock, etc.
2014-11-05 11:25:39 +01:00
Ludovic Courtès
52b321e908
gnu: ntp: Build with POSIX capabilities support on GNU/Linux.
...
* gnu/packages/ntp.scm (ntp)[inputs]: New field.
2014-11-05 11:25:39 +01:00
Ludovic Courtès
65fb4515f0
vm: Disable swap devices in virtualized OSes.
...
* gnu/system/vm.scm (virtualized-operating-system): Add 'swap-devices'
field.
2014-11-05 11:25:39 +01:00
Ludovic Courtès
6b464e6e5a
gnu: sdl: Fix home page URLs.
...
* gnu/packages/sdl.scm (sdl-image, sdl-mixer, sdl-net, sdl-ttf): Prepend
"http://" to 'home-page'.
2014-11-05 11:25:39 +01:00
Eric Bavier
e0622a9c4a
gnu: calcurse: Update to 3.2.1.
...
* gnu/packages/calcurse.scm (calcurse): Update to 3.2.1.
2014-11-04 21:37:47 -06:00
David Thompson
f9664de768
gnu: freeimage: Remove MIPS from supported-systems.
...
* gnu/packages/image.scm (freeimage): Drop support for "mips64el-linux".
2014-11-04 22:10:50 -05:00
Andreas Enge
dad287bdba
gnu: phonon: Update to 4.8.2.
...
* gnu/packages/kde.scm (phonon): Update to 4.8.2.
2014-11-04 23:47:32 +01:00
Andreas Enge
0d011aad10
gnu: xf86-video-ati: Update to 6.14.6.
...
* gnu/packages/xorg.scm (xf86-video-ati): Update to 6.14.6 to circumvent
build failures.
2014-11-04 22:55:46 +01:00
Ludovic Courtès
834ea02ad8
tests: When a store item is to be deleted, make it statistically unique.
...
Fixes <http://bugs.gnu.org/18935 >.
Reported by Mark H Weaver <mhw@netris.org>.
Previously, if tests/nar.scm ran concurrently with tests/gexp.scm, the
store item "foo" containing the string "Hello, world!" could be
deleted (via 'delete-paths') from the tests/nar.scm daemon while the
tests/gexp.scm daemon would still consider it live.
* tests/nar.scm ("restore-file-set (missing signature)"):
Use (random-text) rather than "Hello, world!", to avoid concurrent
deletion of store item "foo" used in tests/gexp.scm.
2014-11-04 21:13:28 +01:00
Ludovic Courtès
000c59b671
store: Invalidate caches once GC has run.
...
* guix/store.scm (run-gc): Add calls to 'hash-clear!'.
* tests/store.scm ("add-text-to-store vs. delete-paths",
"add-to-store vs. delete-paths"): New tests.
2014-11-04 21:13:28 +01:00
Andreas Enge
8de1691475
gnu: qt: Update to 5.3.2.
...
* gnu/packages/qt.scm (qt): Update to 5.3.2. Drop configure flag
-no-neon, which is not supported any more.
2014-11-04 19:14:29 +01:00
Ludovic Courtès
3b1bba4cab
gnu: gcc-4.9: Update to 4.9.2.
...
* gnu/packages/gcc.scm (gcc-4.9): Update to 4.9.2.
2014-11-04 18:59:25 +01:00
Ludovic Courtès
342005e7e3
gnu: Add GNU adns.
...
* gnu/packages/adns.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-11-04 18:59:25 +01:00
Ludovic Courtès
121de2e107
gnu: evince: Use 'glib-or-gtk-build-system'.
...
* gnu/packages/gnome.scm (evince)[build-system]: Switch to
GLIB-OR-GTK-BUILD-SYSTEM.
2014-11-04 18:59:25 +01:00
Ludovic Courtès
d611d0833f
gnu: gdb: Do not install libopcodes and libbfd.
...
* gnu/packages/gdb.scm (gdb)[arguments]: Add 'post-install' phase.
2014-11-04 18:59:25 +01:00
Ludovic Courtès
b77b84717d
gnu: gdb: Update to 7.8.1.
...
* gnu/packages/gdb.scm (gdb): Update to 7.8.1.
2014-11-04 18:59:25 +01:00
Federico Beffa
aec149e32a
gnu: Add docbook-xml-4.2
...
* gnu/packages/docbook.scm (docbook-xml-4.2): New variable.
2014-11-04 18:43:08 +01:00
Federico Beffa
6f885c059c
gnu: Add gnome-themes-standard.
...
* gnu/packages/gnome.scm (gnome-themes-standard): New variable.
2014-11-04 18:33:32 +01:00
Federico Beffa
cd14b5e3f3
gnu: librsvg: Generate complete loaders.cache including support for SVG.
...
* gnu/packages/gnome.scm (librsvg): Add 'generate-full-cache phase.
2014-11-04 18:16:12 +01:00
Andreas Enge
ff0a8c590d
gnu: qt: Explicitly link with the dbus library.
...
* gnu/packages/qt.scm (qt, qt-4): Add a configure flag to link explicitly
with dbus.
2014-11-04 15:41:20 +01:00
Alex Kost
773bab64e8
doc: emacs: Fix titles of the printed manuals.
...
* doc/emacs.texi: Use the proper names of the printed manuals in the
cross references.
2014-11-04 15:51:22 +03:00
Alex Kost
d38bd08c74
emacs: Add interface for comparing generations.
...
Suggested by Ludovic Courtès.
* doc/emacs.texi (Emacs List buffer): Document new key bindings.
* emacs/guix-base.el (guix-generation-packages-buffer-name-function,
guix-generation-packages-update-buffer, guix-output-name-width): New
variables.
(guix-generation-file, guix-manifest-file, guix-generation-packages,
guix-generation-packages-buffer-name-default,
guix-generation-packages-buffer-name-long,
guix-generation-packages-buffer-name, guix-generation-packages-buffer,
guix-generation-insert-package, guix-generation-insert-packages,
guix-profile-generation-manifest-file,
guix-profile-generation-packages-buffer): New procedures.
* emacs/guix-list.el: Add key bindings for comparing generations.
(guix-generation-list-generations-to-compare,
guix-generation-list-show-added-packages,
guix-generation-list-show-removed-packages, guix-generation-list-compare,
guix-generation-list-ediff-manifests, guix-generation-list-diff-manifests,
guix-generation-list-ediff-packages, guix-generation-list-diff-packages,
guix-generation-list-ediff, guix-generation-list-diff): New procedures.
* emacs/guix-messages.el (guix-messages): Add 'generation-diff' search type.
(guix-message-outputs-by-diff): New procedure.
* emacs/guix-utils.el (guix-diff-switches): New variable.
(guix-diff): New procedure.
* emacs/guix-main.scm (package/output-sexps): Handle 'generation-diff' search
type.
(manifest-entry->package-specification,
manifest-entries->package-specifications, generation-package-specifications,
generation-package-specifications+paths, generation-difference): New
procedures.
2014-11-04 15:51:22 +03:00
Alex Kost
62f261d88c
emacs: Improve minibuffer messages.
...
* emacs/guix-base.el (guix-messages, guix-result-message): Move to
'guix-messages.el'.
(guix-set-buffer, guix-history-call, guix-redisplay-buffer): Adjust for
the modified 'guix-result-message'.
* emacs/guix-messages.el: New file.
(guix-redisplay-buffer): Add 'profile' argument.
(guix-message-string-name, guix-message-string-entry-type,
guix-message-string-entries, guix-message-packages-by-name,
guix-message-generations-by-time): New procedures.
2014-11-04 15:51:21 +03:00
Andreas Enge
6f7f24092f
gnu: swig: Disable input python.
...
* gnu/packages/swig.scm (swig): Disable input python. Before, it was not
taken into account during configure; now that it is found, it fails
its tests. None of the dependent packages need it.
2014-11-04 13:43:20 +01:00
Andreas Enge
4f38d922fe
gnu: swig: Update to 3.0.2.
...
* gnu/packages/swig.scm (swig): Update to 3.0.2.
2014-11-04 13:42:01 +01:00
Andreas Enge
17e1ddf697
gnu: swig: Update to 2.0.12.
...
* gnu/packages/swig.scm (swig): Update to 2.0.12.
2014-11-04 13:41:02 +01:00
Andreas Enge
3c0f23290d
gnu: python-wrapper: Propagate input python.
...
* gnu/packages/python.scm (python-wrapper): Propagate input python, so that
the python libraries are made available as well as the python3 binaries
without the symbolic links.
2014-11-04 13:40:32 +01:00
Eric Bavier
b38e45d813
gnu: Use version-major+minor in gnome and gtk.
...
* gnu/packages/gnome.scm (gnome-desktop, gnome-doc-utils,
libgnome-keyring, evince, gsettings-desktop-schemas,
gnome-icon-theme, libnotify, lipeas, glade, libcroco, libgsf,
librsvg, libidl, orbit2, gconf, gnome-mime-data, gnome-vfs,
libgnome, libart-lgpl, libgnomecanvas, libgnomeui, libglade,
libgnomeprint, libgnomeprintui, libbonoboui, goffice, gnumeric): Use
version-major+minor.
(shared-mime-info, hicolor-icon-theme): Wrap long uri lines.
* gnu/packages/gtk.scm (atk, pangox-compat, gtksourceview, gdk-pixbuf,
at-spi2-core, at-spi2-atk, gtk+-2, gtk+, pangomm, atkmm, gtkmm,
gtkmm-2): Use version-major+minor.
2014-11-04 05:03:26 -06:00
Ludovic Courtès
c37a74bd3e
packages: 'package-transitive-supported-systems' accounts for indirect deps.
...
Reported by Andreas Enge <andreas@enge.fr>.
* guix/packages.scm (first-value): New macro.
(package-transitive-supported-systems): Rewrite to traverse all the
DAG rooted at PACKAGE.
* tests/packages.scm ("package-transitive-supported-systems"): Add 'd'
and 'e', and test them.
2014-11-03 21:26:48 +01:00
Federico Beffa
6888830b35
gnu: Add Cython.
...
* gnu/packages/python.scm (cython, cython2): New variables.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-11-03 10:36:50 +01:00
Ludovic Courtès
3b509259bf
gnu: man-pages: Build sequentially.
...
Fixes <http://bugs.gnu.org/18701 >.
Reported by Mark H Weaver <mhw@netris.org>.
* gnu/packages/man.scm (man-pages)[arguments]: Add #:parallel-build? #f.
2014-11-02 23:23:43 +01:00