Commit graph

11016 commits

Author SHA1 Message Date
Ludovic Courtès
f376dc3acb grafts: Consider all the outputs in the graft mapping.
Before that, outputs of a derivation could be left referring to the
ungrafted version of the derivation.

* guix/grafts.scm (graft-derivation)[outputs]: Change to a list of
name/file pairs.
* guix/grafts.scm (graft-derivation)[build]: Add 'old-outputs' variable
and use it when computing 'mapping'.  Use 'mapping' directly.
* tests/grafts.scm ("graft-derivation, multiple outputs"): New test.
2016-02-27 23:31:52 +01:00
Ludovic Courtès
cd05d38812 grafts: Slight simplification.
* guix/grafts.scm (graft-derivation)[output-names]: Use
'derivation-output-names'.
2016-02-27 23:31:52 +01:00
Ludovic Courtès
82f5186650 grafts: Make sure files are not created world-writable.
* guix/build/graft.scm (rewrite-directory): Add 'umask' call.
2016-02-27 23:31:52 +01:00
Tobias Geerinckx-Rice
9c7f7e2da9 gnu: btrfs-progs: Update to 4.4.1.
* gnu/packages/linux.scm (btrfs-progs): Update to 4.4.1.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-02-27 22:39:51 +02:00
Ricardo Wurmus
a003b5b650 gnu: scribus: Update to 1.5.1.
* gnu/packages/scribus.scm (scribus): Update to 1.5.1.
[source]: Remove patch.
* gnu/packages/patches/scribus-qobject.patch: Delete file.
* gnu-system.am (dist_patch_DATA): Remove it.
2016-02-27 16:34:20 +01:00
Ricardo Wurmus
b951e26fe5 gnu: arandr: Add "xrandr" to inputs.
* gnu/packages/xdisorg.scm (arandr)[inputs]: Add "xrandr".
[arguments]: Add build phase "make-xrandr-available" to ensure "xrandr"
executable is found at runtime.
2016-02-27 16:25:26 +01:00
Mark H Weaver
b35461748b gnu: Fix misplaced commas (unquote).
Fix many occurrences of comma (unquote) being placed immediately after the
previous list item, e.g. ("ncurses", ncurses) in the inputs.

* gnu/packages/base.scm (patch, gnu-make),
  gnu/packages/bioinformatics.scm (hmmer),
  gnu/packages/bittorrent.scm (aria2),
  gnu/packages/compression.scm (pbzip2),
  gnu/packages/databases.scm (recutils),
  gnu/packages/fonts.scm (font-terminus),
  gnu/packages/freedesktop.scm (xdg-utils, elogind),
  gnu/packages/games.scm (gnujump),
  gnu/packages/gnome.scm (libidl, gnumeric, eog, gedit),
  gnu/packages/gnunet.scm (gnunet),
  gnu/packages/gnuzilla.scm (mozjs, nspr),
  gnu/packages/gtk.scm (gtksourceview, gdk-pixbuf),
  gnu/packages/lua.scm (lua),
  gnu/packages/openstack.scm (python-swiftclient),
  gnu/packages/perl.scm (perl-json-any),
  gnu/packages/polkit.scm (polkit-qt),
  gnu/packages/python.scm (wrap-python3, python-oauthlib)
  (python-mccabe-0.2.1, python-contextlib2, python2-rauth),
  gnu/packages/qt.scm (qtkeychain),
  gnu/packages/ruby.scm (ruby-nokogiri),
  gnu/packages/screen.scm (screen),
  gnu/packages/ssh.scm (libssh),
  gnu/packages/video.scm (ffmpeg, mplayer),
  gnu/packages/vim.scm (vim),
  gnu/packages/xdisorg.scm (redshift),
  gnu/packages/xfce.scm (xfce4-panel, xfce4-settings),
  gnu/packages/xnee.scm (xnee),
  gnu/packages/xorg.scm (font-adobe100dpi, font-adobe75dpi),
  gnu/packages/zsh.scm (zsh): Fix misplaced commas (unquote).
2016-02-27 08:49:26 -05:00
Ricardo Wurmus
48766ea85f gnu: Add emacs-god-mode.
* gnu/packages/emacs.scm (emacs-god-mode): New variable.
2016-02-27 13:50:18 +01:00
Ricardo Wurmus
048bfba163 gnu: Add gtklick.
* gnu/packages/music.scm (gtklick): New variable.
2016-02-27 12:27:21 +01:00
Ricardo Wurmus
6ab4712d6e gnu: python2-pygtk: Add libglade to inputs.
* gnu/packages/gtk.scm (python2-pygtk)[inputs]: Add "libglade".
2016-02-27 12:27:21 +01:00
Ricardo Wurmus
a91d72e23a gnu: Add pyliblo.
* gnu/packages/audio.scm (python-pyliblo, python2-pyliblo): New
  variables.
2016-02-27 12:27:21 +01:00
Mark H Weaver
b460a99890 gnu: linux-libre-4.1: Update to 4.1.18.
* gnu/packages/linux.scm (linux-libre-4.1): Update to 4.1.18.
2016-02-27 02:36:16 -05:00
Mark H Weaver
3dad786b64 gnu: linux-libre: Update to 4.4.3.
* gnu/packages/linux.scm (linux-libre): Update to 4.4.3.
2016-02-27 02:36:10 -05:00
Ben Woodcroft
917a2a58ec import: Add github-updater.
* guix/import/github.scm: New file.
* guix/scripts/refresh.scm (%updaters): Add %GITHUB-UPDATER.
* doc/guix.texi (Invoking guix refresh): Mention it.
* Makefile.am (MODULES): Add gnu/import/github.scm.
2016-02-26 22:06:34 -05:00
Ludovic Courtès
22572d56cb store: 'path-info-deriver' is #f when there is no deriver.
* guix/store.scm (read-path-info): Use #f when we get the empty string
for DERIVER.
* guix/scripts/publish.scm (narinfo-string): Adjust accordingly.
* tests/store.scm ("path-info-deriver"): New test.
2016-02-26 23:35:29 +01:00
Ludovic Courtès
acb01e3746 grafts: Add record type printer.
* guix/grafts.scm (write-graft): New procedure.  Register it as a
printer for <graft>.
2016-02-26 23:35:29 +01:00
Ludovic Courtès
70ac09a552 doc: Capitalize section title.
* doc/guix.texi (Running GuixSD in a VM): Capitalize section title.
2016-02-26 23:35:29 +01:00
Mark H Weaver
4ed737b2ab gnu: gtk-doc: Improve fix-docbook phase.
* gnu/packages/gtk.scm (gtk-doc)[arguments]: In the 'fix-docbook' phase,
avoid hard-coding the docbook-xsl version number, and return #t.
2016-02-25 22:24:32 -05:00
Danny Milosavljevic
b31fbea566 gnu: Add python-psycopg2.
* gnu/packages/python.scm (python-psycopg2, python2-psycopg2): New variables.
2016-02-25 14:35:28 -08:00
Leo Famulari
7dd21101a3 gnu: diffoscope: Update to 49.
* gnu/packages/package-management.scm (diffoscope): Update to 49.
[source]: Use pypi-uri.
[arguments]: Use python-3. Enable tests. Add 'dependency-on-python-magic' phase
and remove 'dependency-on-rpm' phase.
[native-inputs]: Remove python2-setuptools.
[inputs]: Replace python2-file, python2-debian, python2-libarchive-c,
python2-tlsh, python2-pytest, python2-chardet with python-3 variants.
2016-02-25 17:06:25 -05:00
Rene Saavedra
66d59111e3 gnu: Add dconf-editor.
* gnu/packages/gnome.scm (dconf-editor): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-02-25 16:36:10 -05:00
Andy Wingo
735e84c7bd gnu: libx264: Change source URL to HTTP.
* gnu/packages/video.scm (libx264): Download via HTTP.  The videolan ftp
  server does not work with IPv6.
2016-02-25 22:33:40 +01:00
Andy Wingo
b4787e71ac gnu: gtk-doc: Fix build.
* gnu/packages/gtk.scm (gtk-doc): Fix build.
2016-02-25 22:33:20 +01:00
Efraim Flashner
2865c81c71 gnu: youtube-dl: Update to 2016.02.22.
* gnu/packages/video.scm (youtube-dl): Update to 2016.02.22.
2016-02-25 22:54:03 +02:00
Efraim Flashner
eb6e2e812a gnu: python-decorator: Update to 4.0.9.
* gnu/packages/python.scm (python-decorator): Update to 4.0.9.
2016-02-25 21:05:37 +02:00
Efraim Flashner
cc0c4fdedd gnu: python-traitlets: Update to 4.1.0.
* gnu/packages/python.scm (python-traitlets): Update to 4.1.0.
[native-inputs]: Add python-mock.
2016-02-25 21:05:37 +02:00
Efraim Flashner
c6ebd40da1 gnu: python-mccabe: Update to 0.4.0.
* gnu/packages/python.scm (python-mccabe): Update to 0.4.0.
[inputs]: Add python-pytest, python-pytest-runner.
(python-mccabe-0.2.1)[inputs]: Only use python-setuptools.
2016-02-25 21:05:37 +02:00
Efraim Flashner
43789136d2 gnu: python-flake8: Update to 2.5.4.
* gnu/packages/python.scm (python-flake8): Update to 2.5.4.
[inputs]: Use recent python-pep8, python-pyflakes.
2016-02-25 21:05:37 +02:00
Efraim Flashner
db251311cf gnu: python-pep8: Update to 1.7.0.
* gnu/packages/python.scm (python-pep8): Update to 1.7.0.
2016-02-25 21:05:37 +02:00
Efraim Flashner
a4d9609c98 gnu: python-networkx: Update to 1.11.
* gnu/packages/python.scm (python-networkx): Update to 1.11.
2016-02-25 21:05:37 +02:00
Efraim Flashner
6f068e081b gnu: python-hypothesis: Update to 3.0.4.
* gnu/packages/python.scm (python-hypothesis): Update to 3.0.4.
[native-inputs]: Remove python-setuptools.
(python2-hypothesis): Use 'strip-python2-variant'.
[native-inputs]: Add python2-enum34, python2-setuptools.
2016-02-25 21:05:37 +02:00
Efraim Flashner
fee04c198c gnu: python-html5lib: Update to 1.0b8.
* gnu/packages/python.scm (python-html5lib): Update to 1.0b8.
2016-02-25 21:05:37 +02:00
Efraim Flashner
b6785c2e3a gnu: python-isodate: Update to 0.5.4.
* gnu/packages/python.scm (python-isodate): Update to 0.5.4.
2016-02-25 21:05:37 +02:00
Efraim Flashner
9d813ec147 gnu: python-wsgi-intercept: Update to 1.1.2.
* gnu/packages/python.scm (python-wsgi-intercept): Update to 1.1.2.
[native-inputs]: Add python-six.
2016-02-25 21:05:37 +02:00
Efraim Flashner
29f20168cf gnu: python-pytest-localserver: Update to 0.3.5.
* gnu/packages/python.scm (python-pytest-localserver): Update to 0.3.5.
2016-02-25 21:05:37 +02:00
Efraim Flashner
da8b011d2a gnu: python-requests-toolbelt: Update to 0.6.0.
* gnu/packages/python.scm (python-requests-toolbelt): Update to 0.6.0.
2016-02-25 21:05:37 +02:00
Efraim Flashner
74a066f9a0 gnu: python-requests: Update to 2.9.1.
* gnu/packages/python.scm (python-requests): Update to 2.9.1.
2016-02-25 21:05:37 +02:00
Efraim Flashner
40981b5c18 gnu: python-wheel: Update to 0.29.0.
* gnu/packages/python.scm (python-wheel): Update to 0.29.0.
2016-02-25 21:05:37 +02:00
Christopher Allan Webber
a8f20f63dc gnu: Add python-pastescript.
* gnu/packages/python.scm (python-pastescript, python2-pastescript):
  New variables.
2016-02-25 11:01:56 -08:00
Christopher Allan Webber
c4a7904c21 gnu: Add python-paste.
* gnu/packages/python.scm (python-paste, python2-paste): New variables.
* gnu/packages/patches/python-paste-remove-timing-test.patch: New file.
* gnu/packages/patches/python-paste-remove-website-test.patch: New file.
* gnu-system.am (dist_patch_DATA): Add them.
2016-02-25 11:01:45 -08:00
Mark H Weaver
e62b5c6903 Merge branch 'media-updates' 2016-02-25 13:50:19 -05:00
Ludovic Courtès
0767f6a69e doc: Clarify the form of UUIDs we expect.
Fixes <http://bugs.gnu.org/22797>.
Reported by Alex Kost <alezost@gmail.com>.

* doc/guix.texi (File Systems): Clarify which UUIDs we're talking
about.
2016-02-25 19:29:21 +01:00
Ludovic Courtès
a4e7083da3 http-client: 'http-client/cached' uses unique cache file names.
* guix/http-client.scm (cache-file-for-uri): New procedure.
(http-fetch/cached): Use it.  Remove 'directory' variable.
[update-cache]: Make the 'dirname' of FILE.
2016-02-25 17:23:29 +01:00
Ludovic Courtès
e72f50a787 http-client: 'http-fetch/cached' updates the cache atomically.
* guix/http-client.scm (http-fetch/cached)[update-cache]: Use
'with-atomic-file-output' instead of 'call-with-output-file'.
2016-02-25 16:49:11 +01:00
Ludovic Courtès
736f9ffce2 gnu: Add missing import in bioinformatics.scm.
This is a followup to 1baee94.

* gnu/packages/bioinformatics.scm: Add missing import.
2016-02-25 12:48:08 +01:00
Ludovic Courtès
cfd503205e guix system: Restore load path after running the activation script.
Fixes <http://bugs.gnu.org/22753>.
Reported by Mark H Weaver <mhw@netris.org>.

* guix/scripts/system.scm (save-load-path-excursion): New variable.
(upgrade-shepherd-services): Add comment about the issue.
(switch-to-system): Use 'save-load-path-excursion' around
'primitive-load' call.
2016-02-25 12:44:41 +01:00
Ludovic Courtès
06b76acceb store: Clarify documentation of 'valid-path?'.
* guix/store.scm (valid-path?): Improve docstring.
* doc/guix.texi (The Store): Update accordingly.
2016-02-25 12:44:41 +01:00
Ludovic Courtès
0043558082 publish: Do not publish nars for invalid store items.
Before that, /nar requests could succeed if the requested store item
exists but is invalid (although such requests were unlikely because the
corresponding narinfo request would have failed.)

* guix/scripts/publish.scm (render-nar): Add 'store' parameter.  Use
'valid-path?' instead of 'file-exists?'.
(make-request-handler): Adjust 'render-nar' call accordingly.
* tests/publish.scm ("/nar/invalid"): New test.
2016-02-25 12:44:41 +01:00
Nils Gillmann
a65e2a02fc gnu: Add kyotocabinet.
* gnu/packages/databases.scm (kyotocabinet): New variable.
2016-02-25 11:56:00 +01:00
Ricardo Wurmus
1baee943ca gnu: Add libBigWig.
* gnu/packages/bioinformatics.scm (libbigwig): New variable.
2016-02-25 11:43:44 +01:00