Commit Graph

13396 Commits

Author SHA1 Message Date
Ludovic Courtès 688ec13c45
zlib: Protect against non-empty port internal buffers.
* guix/zlib.scm (make-gzip-input-port)[gzfile]: Error out
if (drain-input port) returns a non-empty string.
* guix/zlib.scm (make-gzip-output-port)[gzfile]: Call 'force-output'.
2016-07-27 12:45:01 +02:00
Ludovic Courtès d00240c36e
zlib: Clarify when 'gzread!' can return zero.
* guix/zlib.scm (gzread!): Augment docstring to clarify when zero is
returned (based on reading zlib code).
(make-gzip-input-port)[read!]: Remove scary comment.
2016-07-27 12:45:01 +02:00
Alex Griffin 46bd451520
gnu: magit: Fix rebase commands that require perl.
* gnu/packages/emacs.scm (magit)[inputs]: Add 'perl'.
[arguments]: Adjust 'patch-exec-paths' phase to make some rebase
commands find 'perl'.

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-07-27 11:15:45 +03:00
Tobias Geerinckx-Rice 82ee141bab
gnu: Add httping.
* gnu/packages/networking.scm (httping): New variable.
2016-07-27 03:59:47 +02:00
Tobias Geerinckx-Rice 42ff54d5fa
gnu: Add missing copyright symbol.
* gnu/packages/networking.scm: Add missing "©" to header comments.
2016-07-27 03:59:47 +02:00
ng0 ae83dcf6ba
gnu: gmime: Remove 'gpg' to 'gpg2' substitution.
* gnu/packages/mail.scm (gmime)[arguments]: Remove the substitution which
previously changed 'gpg' to 'gpg2' in 'patch-paths-in-tests' phase.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-07-26 19:43:54 -04:00
Andreas Enge d3896fc4ce
gnu: dmd: Remove package, superseded by shepherd.
* gnu/packages/admin.scm (dmd): Remove variable.
2016-07-26 22:50:26 +02:00
Danny Milosavljevic 90c2ee889b
gnu: Add perl-db-file.
* gnu/packages/databases.scm (perl-db_file): New variable.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2016-07-26 22:43:48 +02:00
Ludovic Courtès 9e90fc7713
profiles: Output in 'package->manifest-entry' defaults to "out".
Fixes <http://bugs.gnu.org/24029>.
Reported by Dylan Jeffers <sapientech@openmailbox.org>.

* guix/profiles.scm (package->manifest-entry): Change #:output to
default to "out".
(packages->manifest): Add 'package?' in second 'match' clause.
* tests/profiles.scm ("package->manifest-entry defaults to \"out\""):
New test.
2016-07-26 18:18:53 +02:00
Ludovic Courtès 201855221f
environment: Set 'GUIX_ENVIRONMENT' to the profile.
* guix/scripts/environment.scm (create-environment): Set
'GUIX_ENVIRONMENT' to PROFILE.
* tests/guix-environment.sh: Test it.
* doc/guix.texi (Invoking guix environment): Document it.
2016-07-26 17:59:25 +02:00
Ludovic Courtès 8173ceee1f
import: pypi: Correctly handle new-style URLs.
Fixes <http://bugs.gnu.org/23997>.

* guix/import/pypi.scm (guix-package->pypi-name): Rewrite using
'basename' and 'hyphen-package-name->name+version'.
* tests/pypi.scm ("guix-package->pypi-name, old URL style")
("guix-package->pypi-name, new URL style"): New tests.
2016-07-26 17:49:34 +02:00
Ludovic Courtès debc6360e1
doc: Explain authentication in "System Installation".
Suggested by Vincent Legoll <vincent.legoll@gmail.com>.

* doc/guix.texi (OPENPGP-SIGNING-KEY-ID): New constant.
(Binary Installation): Use it.
(USB Stick Installation): Copy and adjust the authentication bit from
"Binary Installation".
2016-07-26 15:07:29 +02:00
ng0 6e42660b12
doc: Better illustration use of package revision numbers.
* doc/guix.texi (Version Numbers): Add the
revision to the example of the git package used in 7.6.3.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-26 14:55:47 +02:00
Alex Griffin 88a8ce87a4
gnu: icecat: Install icons.
* gnu/packages/gnuzilla.scm (icecat)[arguments]: Add
'install-icons' phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-26 14:53:16 +02:00
Tobias Geerinckx-Rice 2b76f13507
gnu: Add haveged.
* gnu/packages/linux.scm (haveged): New variable.
2016-07-26 11:20:52 +02:00
Tobias Geerinckx-Rice af7aaaebab
gnu: Add perceptualdiff.
* gnu/packages/image.scm (perceptualdiff): New variable.
2016-07-26 11:20:27 +02:00
Mark H Weaver ca80985c6c
gnu: linux-libre@4.1: Update to 4.1.28.
* gnu/packages/linux.scm (linux-libre-4.1): Update to 4.1.28.
2016-07-26 01:36:12 -04:00
Mark H Weaver de348a0bb7
gnu: linux-libre: Update to 4.7.
* gnu/packages/linux.scm (linux-libre): Update to 4.7.
* gnu/packages/linux-libre-4.7-x86_64.conf,
gnu/packages/linux-libre-4.7-i686.conf: New files.
* gnu/packages/linux-libre-4.6-x86_64.conf,
gnu/packages/linux-libre-4.6-i686.conf: Delete files.
* Makefile.am (KCONFIGS): Update accordingly.
2016-07-26 00:46:40 -04:00
Andreas Enge 0e5f606159
gnu: calibre: Build with non-modular Qt.
* gnu/packages/ebook.scm (calibre)[native-inputs]: Replace QTBASE by QT.
[inputs]: Replace QTBASE by QT and PYTHON2-PYQT by PYTHON2-PYQT-5.5.

This essentially reverts commit 76806c54ed.

Reported by Roel Janssen <roel@gnu.org>.
2016-07-26 00:38:39 +02:00
Andreas Enge 4a8c35e143
gnu: pyqt: Add versions based on non-modular Qt 5.5.
* gnu/packages/qt.scm (python-pyqt-5.5, python2-pyqt-5.5): New variables.
2016-07-26 00:38:20 +02:00
Andreas Enge 95af24a2f1
gnu: guix: Update development snapshot.
* gnu/packages/package-management.scm (guix-devel): Update to 97c8aef.
2016-07-25 22:53:27 +02:00
Andreas Enge 97c8aef15d
system: Add mapped devices for RAID.
* gnu/system/mapped-devices.scm (raid-device-mapping, open-raid-device,
close-raid-device): New variables.
* doc/guix.texi (Mapped Devices): Add documentation for RAID devices,
reorganize documentation for LUKS devices.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-07-25 22:22:21 +02:00
myglc2 424a323e92
doc: Explain when guix edit is read-only.
* doc/guix.texi (Invoking guix edit): Explain when you can and can't
  edit the recipe.

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-07-25 17:18:53 +03:00
Alex Kost 090bdb9e91
gnu: emacs-solarized-theme: Remove unneeded dependencies.
* gnu/packages/emacs.scm (emacs-solarized-theme)[propagated-inputs]:
Remove 'emacs-f' and 'emacs-s'.
2016-07-25 17:18:53 +03:00
Alex Kost c48899eba2
gnu: emacs: Install site-start.el in non-versioned directory.
Reported by Ricardo Wurmus on #guix.

* gnu/packages/emacs.scm (emacs)[arguments]: Put "site-start.el" in
"/share/emacs/site-lisp" instead of "/share/emacs/<version>/site-lisp"
to let inherited package with another version find it.
2016-07-25 17:18:53 +03:00
Alex Kost 07f7cc03ce
gnu: Add guile-daemon.
* gnu/packages/guile.scm (guile-daemon): New variable.
2016-07-25 17:18:53 +03:00
Alex Kost bd9af61035
gnu: Add guile-xosd.
* gnu/packages/guile.scm (guile-xosd): New variable.
2016-07-25 17:18:53 +03:00
Alex Kost 6cfd1a687a
gnu: Add xdpyprobe.
* gnu/packages/xdisorg.scm (xdpyprobe): New variable.
2016-07-25 17:18:53 +03:00
Alex Kost 1a3e6b15ba
doc: Describe how to make X server find TrueType fonts.
* doc/guix.texi (Application Setup): Document how to add TrueType fonts
installed in a Guix profile to the X server font path.
2016-07-25 17:18:52 +03:00
Alex Kost 9eb5a449ee
profiles: Add fonts-dir-file hook.
* guix/profiles.scm (fonts-dir-file): New procedure.
(%default-profile-hooks): Add it.
2016-07-25 17:18:52 +03:00
Alex Kost 84b5d9075c
gnu: mkfontdir: Do not propagate 'mkfontscale'.
* gnu/packages/xorg.scm (mkfontdir)[propagated-inputs]: Move
'mkfontscale' to ...
[inputs]: ... here.
[arguments]: Add 'wrap-mkfontdir' phase.
2016-07-25 17:18:52 +03:00
Alex Kost e48e31bcc8
gnu: Add xfd.
* gnu/packages/xorg.scm (xfd): New variable.
2016-07-25 17:18:52 +03:00
Alex Kost f225ae7544
gnu: Add xfontsel.
* gnu/packages/xorg.scm (xfontsel): New variable.
2016-07-25 17:18:52 +03:00
Andy Patterson 1925a87926
gnu: sbcl: Update to 1.3.7.
* gnu/packages/lisp.scm (sbcl): Update to 1.3.7.
[arguments]: During the patch-unix-tool-paths phase, avoid running
substitute* on a utf-16-be encoded file.

Signed-off-by: 宋文武 <iyzsong@gmail.com>
2016-07-25 19:50:13 +08:00
Andy Patterson 54a43ff406
gnu: ecl: Wrap with PATH, CPATH, LIBRARY_PATH, and LD_LIBRARY_PATH.
* gnu/packages/lisp.scm (ecl)[arguments]: Add 'wrap' phase.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-07-25 10:48:49 +02:00
Andy Patterson 60474cd114
gnu: ecl: Enable tests.
* gnu/packages/lisp.scm (ecl): Enable tests.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-25 10:48:49 +02:00
Andy Patterson e0524511ec
gnu: ecl: Update to 16.1.2.
* gnu/packages/lisp.scm (ecl): Update to 16.1.2.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-25 10:48:49 +02:00
Efraim Flashner 45477c6a7d
gnu: gnupg@2.1: Use 'modify-phases'.
* gnu/packages/gnupg.scm (gnupg@2.1)[arguments]: Use 'modify-phases'
syntax.
2016-07-25 00:18:15 +03:00
Efraim Flashner 35d28c6013
gnu: hdup: Update source url.
* gnu/packages/backup.scm (hdup)[source]: Update url.
2016-07-25 00:15:30 +03:00
Leo Famulari 163708a664
gnu: gnupg-2.1: Install executable as 'gpg'.
* gnu/packages/gnupg.scm (gnupg-2.1)[arguments]: Add '--enable-gpg2-is-gpg'
to #:configure-flags.
2016-07-24 17:09:40 -04:00
Ludovic Courtès bc85b127df
gnu: gnupg@2.0: Add the 'gpg' and 'gpgv' commands.
* gnu/packages/gnupg.scm (gnupg-2.0)[arguments]: Add
'rename-v2-commands' phase.
2016-07-24 22:18:45 +02:00
Efraim Flashner 80c47cf8e4
gnu: gnupg@2.0: Fix typo.
* gnu/packages/gnupg.scm (gnupg@2.0)[arguments]: Fix typo that prevented
gnupg from building.

This is a follow up to 6b547d2295.
2016-07-24 22:02:46 +03:00
Efraim Flashner 04c828c4fb
gnu: exiv2: Update source url.
* gnu/packages/geeqie.scm (exiv2)[source]: Update url.
2016-07-24 21:17:04 +03:00
David Craven 99fe215cc1
lint: 'inputs-should-be-native' checks for intltool, itstool and glib:bin.
* guix/scripts/lint.scm (check-inputs-should-be-native): Warn when intltool,
itstool or glib:bin isn't a native-input.
* tests/lint.scm (inputs: glib:bin is probably a native input): Add test.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-07-24 19:54:15 +02:00
ng0 0f53b886e2
doc: Point out preference of message format.
* doc/contributing.texi (Submitting Patches): Includes a note on
preference of plain text messages with either inline or MIME attachments
and advise contributers to pay attention if their email client breaks the
patches.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-24 19:54:15 +02:00
Ludovic Courtès dfcdd9c25d
doc: Explain that contributors can use a pseudonym.
Suggested by ng0 <ng0@we.make.ritual.n0.is>.

* doc/contributing.texi (Contributing): Explain that using a legal name
is not required.
2016-07-24 19:54:15 +02:00
Ludovic Courtès 6b547d2295
doc: gnupg@2.0: Use 'modify-phases'.
* gnu/packages/gnupg.scm (gnupg-2.0)[arguments]: Use 'modify-phases'.
2016-07-24 19:54:15 +02:00
Ludovic Courtès 20e2964344
doc: Explain how to set up Git for signing.
* HACKING (Commit Access): Give instructions on how to set up Git for
signing.
2016-07-24 19:54:15 +02:00
Andreas Enge a308c2339a
gnu: icecat: Disable parallel build.
* gnu/packages/gnuzilla.scm (icecat)[arguments]: Disable parallel build.
2016-07-24 18:40:46 +02:00
Alex Griffin fe224d20cc
download: Add SourceForge load balancer.
* guix/download.scm (%mirrors)[sourceforge]: Add canonical load balancer for
sourceforge.net.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-07-24 12:35:46 -04:00