guix/gnu/packages
Ian Denhardt 29a7c98a42 gnu: Add 'version-prefix' and 'version-major+minor'; use them.
The procedure version-prefix truncates a version string to a certain
number of components. version-major+minor is a special case of this,
which extracts the "major.minor" part of the string. Previously this
was handled by an expression common to several packages.

* guix/utils.scm (version-prefix, version-major+minor): New procedures
* gnu/packages/backup.scm (duplicity): Use version-major+minor.
* gnu/packages/cmake.scm (cmake): Likewise.
* gnu/packages/gnome.scm (libbonobo, libbonoboui): Likewise.
* gnu/packages/gnutls.scm (gnutls): Likewise.
* gnu/packages/mail.scm (gmime): Likewise.
* gnu/packages/mpd.scm (mpd): Likewise.
* gnu/packages/mpi.scm (openmpi): Likewise.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-10-20 15:32:54 +02:00
..
bootstrap
patches gnu: gnutls: Patch bug in 'set-session-server-name!'. 2014-10-14 23:09:07 +02:00
abiword.scm Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. 2014-09-23 18:52:29 -04:00
acct.scm
acl.scm
admin.scm gnu: Move flashrom and avrdude to (gnu packages flashing-tools). 2014-09-30 13:38:01 +02:00
aidc.scm Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. 2014-09-23 18:52:29 -04:00
algebra.scm gnu: Add arb. 2014-09-15 16:26:30 +02:00
apl.scm gnu: Consolidate databases in (gnu packages databases). 2014-09-08 17:48:57 +02:00
apr.scm gnu: apr: Disable parallel tests. 2014-08-16 12:54:32 -04:00
asciidoc.scm
aspell.scm
attr.scm
autogen.scm gnu: autogen: Upgrade to 5.18.4. 2014-09-30 17:29:24 -05:00
autotools.scm
avahi.scm gnu: nss-mdns: Add alternate source URLs. 2014-10-13 03:03:42 -04:00
backup.scm gnu: Add 'version-prefix' and 'version-major+minor'; use them. 2014-10-20 15:32:54 +02:00
base.scm Merge branch 'master' into core-updates 2014-09-13 19:48:47 -04:00
bash.scm gnu: bash: Update to 4.3.27 and fix out-of-bounds memory accesses. 2014-09-29 14:14:54 -04:00
bdw-gc.scm Merge branch 'master' into core-updates 2014-08-23 20:43:51 -04:00
bison.scm gnu: Add bison-2.7 2014-08-28 18:56:13 +02:00
bittorrent.scm Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. 2014-09-23 18:52:29 -04:00
boost.scm gnu: boost: Add zlib to the inputs. 2014-10-07 11:51:00 +02:00
bootstrap.scm build-system: Bags record their system and target. 2014-10-05 21:58:42 +02:00
busybox.scm
calcurse.scm
ccache.scm
cdrom.scm gnu: Fix typos. 2014-09-19 15:31:19 +04:00
cflow.scm
check.scm
cmake.scm gnu: Add 'version-prefix' and 'version-major+minor'; use them. 2014-10-20 15:32:54 +02:00
commencement.scm gnu: bash: Update to 4.3.27 and fix out-of-bounds memory accesses. 2014-09-29 14:14:54 -04:00
complexity.scm
compression.scm Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. 2014-09-23 18:52:29 -04:00
conkeror.scm gnu: conkeror: install conkeror-spawn-helper. 2014-10-08 08:57:08 -05:00
cook.scm gnu: Adjust synopses as recommended by 'guix lint'. 2014-09-13 15:50:30 +02:00
cpio.scm gnu: Synchronize GNU package descriptions with upstream. 2014-09-13 15:36:07 +02:00
cppi.scm
cross-base.scm gnu: cross-base: Use the right dynamic linker name. 2014-10-05 21:58:42 +02:00
crypto.scm gnu: libtoxcore: Update to 1.0.0. 2014-09-24 17:17:24 -04:00
cryptsetup.scm Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. 2014-09-23 18:52:29 -04:00
curl.scm Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. 2014-09-23 18:52:29 -04:00
cursynth.scm
cyrus-sasl.scm Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. 2014-09-23 18:52:29 -04:00
databases.scm gnu: Add unixodbc 2014-10-12 14:19:26 +02:00
datamash.scm gnu: datamash: Fix license. 2014-09-03 15:43:07 +02:00
dc.scm Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. 2014-09-23 18:52:29 -04:00
dejagnu.scm
dictionaries.scm
disk.scm
docbook.scm gnu: Add dblatex. 2014-09-29 17:09:26 -05:00
doxygen.scm
dwm.scm
ed.scm gnu: Synchronize GNU package descriptions with upstream. 2014-09-13 15:36:07 +02:00
elf.scm gnu: Adjust synopses as recommended by 'guix lint'. 2014-09-13 15:50:30 +02:00
emacs.scm gnu: magit: Update to 1.2.1. 2014-10-12 03:32:36 -04:00
enchant.scm gnu: Add Enchant. 2014-09-09 13:34:22 +02:00
feh.scm gnu: Add feh. 2014-10-06 09:57:13 +02:00
file.scm gnu: file: Update to 5.19; add fix for CVE-2014-3587. 2014-08-26 12:05:37 -04:00
fish.scm
flashing-tools.scm gnu: Add dfu-programmer 2014-10-02 10:46:29 +02:00
flex.scm gnu: Adjust synopses as recommended by 'guix lint'. 2014-09-13 15:50:30 +02:00
fltk.scm
fonts.scm Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. 2014-09-23 18:52:29 -04:00
fontutils.scm gnu: Add fontforge. 2014-10-07 16:37:13 -05:00
freeipmi.scm gnu: freeipmi: Update to 1.4.5. 2014-09-11 15:25:46 +02:00
fribidi.scm gnu: Add GNU FriBidi. 2014-09-09 11:41:55 +02:00
ftp.scm
games.scm gnu: Add xboing 2014-10-13 23:39:23 +02:00
gawk.scm Merge branch 'master' into core-updates 2014-09-13 19:48:47 -04:00
gcal.scm
gcc.scm gnu: gcc-4.8.3: Add patch for PR61801. 2014-09-17 17:17:43 +02:00
gd.scm
gdb.scm gnu: gdb: Update to 7.8. 2014-08-03 13:05:14 -04:00
gdbm.scm
geeqie.scm Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. 2014-09-23 18:52:29 -04:00
gettext.scm
ghostscript.scm Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. 2014-09-23 18:52:29 -04:00
gimp.scm Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. 2014-09-23 18:52:29 -04:00
gkrellm.scm Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. 2014-09-23 18:52:29 -04:00
gl.scm Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. 2014-09-23 18:52:29 -04:00
glib.scm gnu: dbus: Move 'pkg-config' to 'native-inputs'. 2014-10-05 22:24:33 +02:00
global.scm gnu: global: Update to 6.3.2. 2014-09-11 15:32:09 +02:00
gnome.scm gnu: Add 'version-prefix' and 'version-major+minor'; use them. 2014-10-20 15:32:54 +02:00
gnu-pw-mgr.scm
gnunet.scm Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. 2014-09-23 18:52:29 -04:00
gnupg.scm gnu: libassuan: Update to 2.1.2. 2014-09-27 09:17:56 +02:00
gnustep.scm gnu: windowmaker: Update to 0.95.6. 2014-10-03 18:03:09 +02:00
gnutls.scm gnu: Add 'version-prefix' and 'version-major+minor'; use them. 2014-10-20 15:32:54 +02:00
gnuzilla.scm Add copyright line to gnuzilla.scm. 2014-10-11 02:57:35 -04:00
gperf.scm gnu: Synchronize GNU package descriptions with upstream. 2014-09-13 15:36:07 +02:00
gprolog.scm
graphviz.scm
groff.scm
grub.scm gnu: Synchronize GNU package descriptions with upstream. 2014-09-13 15:36:07 +02:00
grue-hunter.scm
gsasl.scm Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. 2014-09-23 18:52:29 -04:00
gstreamer.scm
gtk.scm Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. 2014-09-23 18:52:29 -04:00
guile-wm.scm
guile.scm gnu: guile-ncurses: Update to 1.5. 2014-09-29 23:17:53 +02:00
gv.scm Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. 2014-09-23 18:52:29 -04:00
gxmessage.scm
hugs.scm
hurd.scm gnu: hurd-headers: Use --build instead of --host. 2014-09-28 11:53:20 +02:00
icu4c.scm gnu: icu4c: Reinstate RUNPATH on shared libraries. 2014-10-13 00:34:44 +02:00
idutils.scm
image.scm gnu: libjpeg: Upgrade to version 9a. 2014-10-11 21:11:23 -05:00
imagemagick.scm
indent.scm Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. 2014-09-23 18:52:29 -04:00
inkscape.scm Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. 2014-09-23 18:52:29 -04:00
irssi.scm
iso-codes.scm
jrnl.scm
kde.scm gnu: phonon: Update to 4.8.0. 2014-09-27 17:50:14 +02:00
ld-wrapper.scm
less.scm
lesstif.scm Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. 2014-09-23 18:52:29 -04:00
libcanberra.scm gnu: Add sound-theme-freedesktop. 2014-09-20 15:10:11 +02:00
libdaemon.scm gnu: libdaemon: Add alternate source URLs. 2014-10-06 09:57:12 +02:00
libevent.scm
libffi.scm Revert "gnu: Add 'file' as a native-input on MIPS for some packages." 2014-08-21 21:49:36 -04:00
libftdi.scm gnu: libftdi: Fix mistakes in package description. 2014-08-05 20:00:21 -04:00
libidn.scm gnu: libidn: Update to 1.29. 2014-09-27 11:30:33 +02:00
libphidget.scm
libsigsegv.scm
libunistring.scm gnu: libunistring: Update to 0.9.4. 2014-09-08 12:40:28 -04:00
libunwind.scm gnu: Adjust synopses as recommended by 'guix lint'. 2014-09-13 15:50:30 +02:00
libusb.scm
lightning.scm gnu: lightning: Update to 2.0.5. 2014-08-17 11:59:47 +02:00
links.scm Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. 2014-09-23 18:52:29 -04:00
linux-libre-i686.conf gnu: linux-libre: Update to 3.17. 2014-10-06 05:04:24 -07:00
linux-libre-x86_64.conf gnu: linux-libre: Update to 3.17. 2014-10-06 05:04:24 -07:00
linux.scm gnu: linux-libre: Update to 3.17.1. 2014-10-16 05:45:44 -07:00
lisp.scm gnu: gcl: Update to 2.6.11. 2014-09-27 12:13:53 +02:00
lout.scm
lsh.scm Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. 2014-09-23 18:52:29 -04:00
lsof.scm Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. 2014-09-23 18:52:29 -04:00
lua.scm gnu: Adjust synopses as recommended by 'guix lint'. 2014-09-13 15:50:30 +02:00
lynx.scm
m4.scm
mail.scm gnu: Add 'version-prefix' and 'version-major+minor'; use them. 2014-10-20 15:32:54 +02:00
make-bootstrap.scm gnu: Split (gnu packages base), adding (gnu packages commencement). 2014-08-28 09:21:54 +02:00
man.scm gnu: help2man: Update to 1.46.3. 2014-09-27 12:31:37 +02:00
maths.scm gnu: pspp: Upgrade to 0.8.4. 2014-10-03 19:52:50 +02:00
mc.scm gnu: Rely on 'file' implicit input and 'patch-usr-bin-file'. 2014-08-23 20:48:21 -04:00
mcrypt.scm gnu: Rely on 'file' implicit input and 'patch-usr-bin-file'. 2014-08-23 20:48:21 -04:00
messaging.scm
mit-krb5.scm
moe.scm
mp3.scm Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. 2014-09-23 18:52:29 -04:00
mpd.scm gnu: Add 'version-prefix' and 'version-major+minor'; use them. 2014-10-20 15:32:54 +02:00
mpi.scm gnu: Add 'version-prefix' and 'version-major+minor'; use them. 2014-10-20 15:32:54 +02:00
mtools.scm
multiprecision.scm
nano.scm
ncdu.scm
ncurses.scm
netpbm.scm
nettle.scm
node.scm gnu: node: Add 'which' as an input. 2014-09-23 15:30:13 +02:00
noweb.scm
ntp.scm gnu: Add ntp 2014-10-19 10:03:34 +02:00
nvi.scm gnu: Consolidate databases in (gnu packages databases). 2014-09-08 17:48:57 +02:00
ocaml.scm gnu: Add OPAM. 2014-09-15 23:58:39 +02:00
ocrad.scm
onc-rpc.scm
openldap.scm gnu: Consolidate databases in (gnu packages databases). 2014-09-08 17:48:57 +02:00
openssl.scm Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. 2014-09-23 18:52:29 -04:00
orpheus.scm gnu: Add orpheus. 2014-08-12 00:28:39 -05:00
ots.scm Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. 2014-09-23 18:52:29 -04:00
package-management.scm gnu: guix: Update development snapshot. 2014-10-13 00:29:09 +02:00
parallel.scm gnu: parallel: Update to 20140922. 2014-09-27 12:08:21 +02:00
patchutils.scm
pciutils.scm Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. 2014-09-23 18:52:29 -04:00
pcre.scm Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. 2014-09-23 18:52:29 -04:00
pdf.scm gnu: mupdf: Update to 1.6. 2014-10-06 23:41:28 -04:00
pem.scm
perl.scm gnu: Add perl-archive-zip. 2014-08-28 18:56:16 +02:00
photo.scm
pkg-config.scm
plotutils.scm
popt.scm
pretty-print.scm gnu: Rely on 'file' implicit input and 'patch-usr-bin-file'. 2014-08-23 20:48:21 -04:00
protobuf.scm
pth.scm gnu: Synchronize GNU package descriptions with upstream. 2014-09-13 15:36:07 +02:00
pulseaudio.scm Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. 2014-09-23 18:52:29 -04:00
python.scm Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. 2014-09-23 18:52:29 -04:00
qemu.scm
qt.scm gnu: qt-4: Explicitly link with icu. 2014-09-28 09:35:32 +02:00
ratpoison.scm gnu: Adjust synopses as recommended by 'guix lint'. 2014-09-13 15:50:30 +02:00
rdf.scm gnu: clucene: Enable the contrib-libs. 2014-10-06 23:26:15 +02:00
readline.scm
rrdtool.scm gnu: Add rrdtool. 2014-08-07 20:41:34 -04:00
rsync.scm
ruby.scm gnu: Add ruby-i18n. 2014-09-28 15:09:24 -04:00
rush.scm gnu: Synchronize GNU package descriptions with upstream. 2014-09-13 15:36:07 +02:00
samba.scm
scheme.scm gnu: mit-scheme: Restrict to non-MIPS systems. 2014-10-06 19:34:27 +02:00
screen.scm
scrot.scm gnu: Add scrot. 2014-09-26 09:23:11 +04:00
sdl.scm gnu: sdl-gfx: Build only on Intel machines. 2014-10-17 23:23:20 +02:00
search.scm gnu: xapian: Update to 1.2.18. 2014-08-06 12:43:28 -04:00
serveez.scm
shishi.scm
skribilo.scm gnu: skribilo: Make sure Guile-Reader is in the search path. 2014-09-18 11:22:01 +02:00
slim.scm gnu: slim: Fix typo in synopsis and wrap description. 2014-10-08 09:39:17 -05:00
smalltalk.scm
ssh.scm gnu: guile-ssh: Update to 0.7.1. 2014-10-13 00:32:14 +02:00
stalonetray.scm
swig.scm
synergy.scm gnu: Add synergy. 2014-09-29 09:40:31 -05:00
tcl.scm gnu: perl-tk: Build sequentially. 2014-09-22 14:27:46 +02:00
tcsh.scm gnu: Adjust synopses as recommended by 'guix lint'. 2014-09-13 15:50:30 +02:00
telephony.scm gnu: ucommon: Update to 6.1.11. 2014-09-27 10:25:22 +02:00
texinfo.scm gnu: texi2html: Fix tests in the absense of gettext. 2014-08-16 11:07:03 -05:00
texlive.scm Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. 2014-09-23 18:52:29 -04:00
time.scm
tmux.scm gnu: Adjust synopses as recommended by 'guix lint'. 2014-09-13 15:50:30 +02:00
tor.scm gnu: tor: Update to 0.2.4.24. 2014-10-02 02:27:32 -04:00
unclutter.scm gnu: Add unclutter. 2014-08-27 15:52:25 +04:00
unrtf.scm
upnp.scm
uucp.scm
valgrind.scm gnu: valgrind: Don't build on mipsel64-linux. 2014-10-17 23:23:20 +02:00
version-control.scm gnu: bazaar: Update to 2.6.0. 2014-10-04 16:21:51 -07:00
video.scm gnu: youtube-dl: Update to 2014.09.06. 2014-09-08 23:47:28 +02:00
vim.scm Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. 2014-09-23 18:52:29 -04:00
vpn.scm Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. 2014-09-23 18:52:29 -04:00
vtk.scm
w3m.scm
wdiff.scm
web.scm gnu: Add perl-www-curl. 2014-09-28 00:52:05 +02:00
weechat.scm gnu: Add weechat 2014-09-11 17:14:24 -05:00
wget.scm
which.scm
wordnet.scm
wv.scm Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. 2014-09-23 18:52:29 -04:00
xfig.scm gnu: xfig, transfig: Patch compiler flags for mips and i686. 2014-10-13 10:11:43 -05:00
xiph.scm Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. 2014-09-23 18:52:29 -04:00
xlockmore.scm
xml.scm Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. 2014-09-23 18:52:29 -04:00
xnee.scm
xorg.scm gnu: Add imake. 2014-10-11 21:11:23 -05:00
yasm.scm Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. 2014-09-23 18:52:29 -04:00
zile.scm
zip.scm gnu: Add perl-zip. 2014-10-11 17:00:15 +02:00
zsh.scm gnu: Add zsh. 2014-09-09 09:50:19 +02:00