diff options
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/algebra.scm | 10 | ||||
-rw-r--r-- | gnu/packages/gnome.scm | 71 | ||||
-rw-r--r-- | gnu/packages/libcanberra.scm | 31 | ||||
-rw-r--r-- | gnu/packages/linux.scm | 30 | ||||
-rw-r--r-- | gnu/packages/patches/libcanberra-sound-theme-freedesktop.patch | 22 | ||||
-rw-r--r-- | gnu/packages/pdf.scm | 42 | ||||
-rw-r--r-- | gnu/packages/video.scm | 8 | ||||
-rw-r--r-- | gnu/packages/xdisorg.scm | 33 | ||||
-rw-r--r-- | gnu/packages/xlockmore.scm | 52 |
9 files changed, 220 insertions, 79 deletions
diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm index b212aa67a9..2973c68675 100644 --- a/gnu/packages/algebra.scm +++ b/gnu/packages/algebra.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2012, 2013, 2014 Andreas Enge <andreas@enge.fr> +;;; Copyright © 2012, 2013, 2014, 2015 Andreas Enge <andreas@enge.fr> ;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2014 Mark H Weaver <mhw@netris.org> ;;; @@ -83,14 +83,14 @@ solve the shortest vector problem.") (define-public pari-gp (package (name "pari-gp") - (version "2.7.1") + (version "2.7.2") (source (origin (method url-fetch) (uri (string-append "http://pari.math.u-bordeaux.fr/pub/pari/unix/pari-" version ".tar.gz")) (sha256 (base32 - "1gj1rddi22hinzwy7r6hljgbi252wwwyd6gapg4hvcn0ycc7jqyc")))) + "1b0hzyhafpxhmiljyhnsh6c27ydsvb2599fshwq2fjfm96awjxmc")))) (build-system gnu-build-system) (inputs `(("gmp" ,gmp) ("perl" ,perl) @@ -123,14 +123,14 @@ PARI is also available as a C library to allow for faster computations.") (define-public gp2c (package (name "gp2c") - (version "0.0.9pl1") + (version "0.0.9pl2") (source (origin (method url-fetch) (uri (string-append "http://pari.math.u-bordeaux.fr/pub/pari/GP2C/gp2c-" version ".tar.gz")) (sha256 (base32 - "1p36060vwhn38j77r4c3jqyaslvhvgm6fdw2486k7krxk5ai7ph5")))) + "02h35fwz1caicii7fj8zb9ky4hcrd8rqmzkyvhbls0r05yg5bwwb")))) (build-system gnu-build-system) (native-inputs `(("perl" ,perl))) (inputs `(("pari-gp" ,pari-gp))) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 61260557e3..408ba4e816 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -209,19 +209,7 @@ and keep up to date translations of documentation.") ;; FIXME: Tests fail with: ;; ImportError: No module named gi.repository ;; Where should that module come from? - #:tests? #f - - #:phases (alist-cons-after - 'install 'set-mime-search-path - (lambda* (#:key inputs outputs #:allow-other-keys) - ;; Wrap 'evince' so that it knows where MIME info is. - (let ((out (assoc-ref outputs "out")) - (mime (assoc-ref inputs "shared-mime-info"))) - (wrap-program (string-append out "/bin/evince") - `("XDG_DATA_DIRS" ":" prefix - ,(list (string-append mime "/share") - (string-append out "/share")))))) - %standard-phases))) + #:tests? #f)) (inputs `(("libspectre" ,libspectre) ;; ("djvulibre" ,djvulibre) @@ -240,7 +228,9 @@ and keep up to date translations of documentation.") ("libsm" ,libsm) ("libice" ,libice) ("shared-mime-info" ,shared-mime-info) - + ("dconf" ,dconf) + ("libcanberra" ,libcanberra) + ;; For tests. ("dogtail" ,python2-dogtail))) (native-inputs @@ -1381,3 +1371,56 @@ editors, IDEs, etc.") (propagated-inputs `(("gtk+" ,gtk+-2) ; required by libvte.pc ("ncurses" ,ncurses))))) ; required by libvte.la + +(define-public dconf + (package + (name "dconf") + (version "0.22.0") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://gnome/sources/" name "/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 "13jb49504bir814v8n8vjip5sazwfwsrnniw87cpg7phqfq7q9qa")))) + (build-system glib-or-gtk-build-system) + (inputs + `(("gtk+" ,gtk+) + ("glib" ,glib) + ("dbus" ,dbus) + ("libxml2" ,libxml2))) + (native-inputs + `(("libxslt" ,libxslt) + ("docbook-xml" ,docbook-xml-4.2) + ("docbook-xsl" ,docbook-xsl) + ("intltool" ,intltool) + ("pkg-config" ,pkg-config))) + (arguments + `(#:tests? #f ; To contact dbus it needs to load /var/lib/dbus/machine-id + ; or /etc/machine-id. + #:configure-flags + ;; Set the correct RUNPATH in binaries. + (list (string-append "LDFLAGS=-Wl,-rpath=" + (assoc-ref %outputs "out") "/lib") + "--disable-gtk-doc-html") ; FIXME: requires gtk-doc + #:phases + (alist-cons-before + 'configure 'fix-docbook + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "docs/Makefile.in" + (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl") + (string-append (assoc-ref inputs "docbook-xsl") + "/xml/xsl/docbook-xsl-" + ,(package-version docbook-xsl) + "/manpages/docbook.xsl"))) + (setenv "XML_CATALOG_FILES" + (string-append (assoc-ref inputs "docbook-xml") + "/xml/dtd/docbook/catalog.xml"))) + %standard-phases))) + (home-page "https://developer.gnome.org/dconf") + (synopsis "Low-level GNOME configuration system") + (description "Dconf is a low-level configuration system. Its main purpose +is to provide a backend to GSettings on platforms that don't already have +configuration storage systems.") + (license license:lgpl2.1))) diff --git a/gnu/packages/libcanberra.scm b/gnu/packages/libcanberra.scm index 859740aaee..0ffae1f674 100644 --- a/gnu/packages/libcanberra.scm +++ b/gnu/packages/libcanberra.scm @@ -19,6 +19,7 @@ (define-module (gnu packages libcanberra) #:use-module ((guix licenses) #:select (lgpl2.1+)) + #:use-module (gnu packages) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system gnu) @@ -46,7 +47,21 @@ version ".tar.xz")) (sha256 (base32 - "0wps39h8rx2b00vyvkia5j40fkak3dpipp1kzilqla0cgvk73dn2")))) + "0wps39h8rx2b00vyvkia5j40fkak3dpipp1kzilqla0cgvk73dn2")) + ;; "sound-theme-freedesktop" is the default and fall-back sound theme for + ;; XDG desktops and should always be present. + ;; http://www.freedesktop.org/wiki/Specifications/sound-theme-spec/ + ;; We make sure libcanberra will find it. + ;; + ;; We add the default sounds store directory to the code dealing with + ;; XDG_DATA_DIRS and not XDG_DATA_HOME. This is because XDG_DATA_HOME + ;; can only be a single directory and is inspected first. XDG_DATA_DIRS + ;; can list an arbitrary number of directories and is only inspected + ;; later. This is designed to allows the user to modify any theme at + ;; his pleasure. + (patch-flags '("-p0")) + (patches + (list (search-patch "libcanberra-sound-theme-freedesktop.patch"))))) (build-system gnu-build-system) (inputs `(("alsa-lib" ,alsa-lib) @@ -55,9 +70,21 @@ ("libltdl" ,libltdl) ("libvorbis" ,libvorbis) ("pulseaudio" ,pulseaudio) - ("udev" ,eudev))) + ("udev" ,eudev) + ("sound-theme-freedesktop" ,sound-theme-freedesktop))) (native-inputs `(("pkg-config" ,pkg-config))) + (arguments + `(#:phases + (alist-cons-before + 'build 'patch-default-sounds-directory + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "src/sound-theme-spec.c" + (("@SOUND_THEME_DIRECTORY@") + (string-append + (assoc-ref inputs "sound-theme-freedesktop") + "/share")))) + %standard-phases))) (home-page "http://0pointer.de/lennart/projects/libcanberra/") (synopsis "Implementation of the XDG Sound Theme and Name Specifications") diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 727d14bbdf..efc7fb7b3f 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -905,7 +905,7 @@ transparently through a bridge.") (define-public libnl (package (name "libnl") - (version "3.2.13") + (version "3.2.25") (source (origin (method url-fetch) (uri (string-append @@ -913,7 +913,7 @@ transparently through a bridge.") version ".tar.gz")) (sha256 (base32 - "1ydw42lsd572qwrfgws97n76hyvjdpanwrxm03lysnhfxkna1ssd")))) + "1icfrv8yihcb74as1gcgmp0wfpdq632q2zvbvqqvjms9cy87bswb")))) (build-system gnu-build-system) (native-inputs `(("flex" ,flex) ("bison" ,bison))) (home-page "http://www.infradead.org/~tgr/libnl/") @@ -929,6 +929,32 @@ configuration and monitoring interfaces.") ;; 'nl-addr-add.c'), so the result is GPLv2-only. (license gpl2))) +(define-public iw + (package + (name "iw") + (version "3.17") + (source (origin + (method url-fetch) + (uri (string-append + "https://www.kernel.org/pub/software/network/iw/iw-" + version ".tar.xz")) + (sha256 + (base32 + "14zsapqhivk0ws5z21y1ys2c2czi05mzk7bl2yb7qxcfrnsjx9j8")))) + (build-system gnu-build-system) + (native-inputs `(("pkg-config" ,pkg-config))) + (inputs `(("libnl" ,libnl))) + (arguments + `(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")) + "CC=gcc") + #:phases (alist-delete 'configure %standard-phases))) + (home-page "http://wireless.kernel.org/en/users/Documentation/iw") + (synopsis "Tool for configuring wireless devices") + (description + "iw is a new nl80211 based CLI configuration utility for wireless +devices. It replaces 'iwconfig', which is deprecated.") + (license isc))) + (define-public powertop (package (name "powertop") diff --git a/gnu/packages/patches/libcanberra-sound-theme-freedesktop.patch b/gnu/packages/patches/libcanberra-sound-theme-freedesktop.patch new file mode 100644 index 0000000000..ff998cbf76 --- /dev/null +++ b/gnu/packages/patches/libcanberra-sound-theme-freedesktop.patch @@ -0,0 +1,22 @@ +# We insert a hook called "@SOUND_THEME_DIRECTORY@" where, at build time, we +# insert the directory of the package "sound-theme-freedesktop" in the store. + +--- src/sound-theme-spec.c.orig 2015-01-11 13:13:29.520527358 +0100 ++++ src/sound-theme-spec.c 2015-01-11 14:27:23.035046849 +0100 +@@ -321,9 +321,13 @@ + const char *g; + + if (!(g = getenv("XDG_DATA_DIRS")) || *g == 0) +- return "/usr/local/share:/usr/share"; +- +- return g; ++ return "@SOUND_THEME_DIRECTORY@"; ++ else { ++ const char *stp = ":@SOUND_THEME_DIRECTORY@"; ++ size_t len = strlen(stp) + strlen(g) + 1; ++ char *g2 = (char*) malloc(len); ++ return strcat(strcpy(g2, g), stp); ++ } + } + + static int load_theme_dir(ca_theme_data *t, const char *name) { diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index 0f9098d8cb..02b55aca9b 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -37,6 +37,8 @@ #:use-module (gnu packages gtk) #:use-module (gnu packages lua) #:use-module (gnu packages curl) + #:use-module (gnu packages pcre) + #:use-module (gnu packages perl) #:use-module (srfi srfi-1)) (define-public poppler @@ -238,3 +240,43 @@ The library ships with a rudimentary X11 viewer, and a set of command line tools for batch rendering (pdfdraw), examining the file structure (pdfshow), and rewriting files (pdfclean).") (license license:agpl3+))) + +(define-public qpdf + (package + (name "qpdf") + (version "5.1.2") + (source (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/qpdf/qpdf-" + version ".tar.gz")) + (sha256 (base32 + "1zbvhrp0zjzbi6q2bnbxbg6399r47pq5gw3kspzph81j19fqvpg9")))) + (build-system gnu-build-system) + (arguments + '(#:phases (alist-cons-before + 'configure 'patch-paths + (lambda _ + (substitute* "make/libtool.mk" + (("SHELL=/bin/bash") + (string-append "SHELL=" (which "bash")))) + (substitute* (append + '("qtest/bin/qtest-driver") + (find-files "." "\\.test")) + (("/usr/bin/env") (which "env")))) + %standard-phases))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (propagated-inputs + `(("pcre" ,pcre))) + (inputs + `(("zlib" ,zlib) + ("perl" ,perl))) + (synopsis "Command-line tools and library for transforming PDF files") + (description + "QPDF is a command-line program that does structural, content-preserving +transformations on PDF files. It could have been called something like +pdf-to-pdf. It includes support for merging and splitting PDFs and to +manipulate the list of pages in a PDF file. It is not a PDF viewer or a +program capable of converting PDF into other formats.") + (license license:clarified-artistic) + (home-page "http://qpdf.sourceforge.net/"))) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 984ba7e1f4..2febd12ff7 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -58,14 +58,14 @@ (define-public ffmpeg (package (name "ffmpeg") - (version "2.4.3") + (version "2.5.3") (source (origin (method url-fetch) (uri (string-append "http://www.ffmpeg.org/releases/ffmpeg-" version ".tar.bz2")) (sha256 (base32 - "00p6qi7kwc2rv7h98bczrdssa7nbda3fpz7avjwl77jg1qy3wp6a")))) + "06j1cgw9h9ya5z8gpcf9v9zik3l4xz7sr4wshj06kznzz5z3sf4x")))) (build-system gnu-build-system) (inputs `(("fontconfig" ,fontconfig) @@ -199,14 +199,14 @@ audio/video codec library.") ;; We need this older ffmpeg because vlc-2.1.5 doesn't work with ffmpeg-2.4. (define-public ffmpeg-2.2 (package (inherit ffmpeg) - (version "2.2.10") + (version "2.2.11") (source (origin (method url-fetch) (uri (string-append "http://www.ffmpeg.org/releases/ffmpeg-" version ".tar.bz2")) (sha256 (base32 - "14d83ijp5lxdr6nl9rqhc4598jp020paxrg64r9ifxqhbigl0yqm")))))) + "06sli7xvihh97ss6a2mkdq4dcj3rg1w8zffrmjfc1hvyjxhc8f2r")))))) (define-public vlc (package diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 2052f7b9be..b48563227c 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -3,6 +3,7 @@ ;;; Copyright © 2014 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org> ;;; Copyright © 2014 Alex Kost <alezost@gmail.com> +;;; Copyright © 2013, 2015 Ludovic Courtès <ludo@gnu.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -30,6 +31,7 @@ #:use-module (gnu packages pkg-config) #:use-module (gnu packages glib) #:use-module (gnu packages perl) + #:use-module (gnu packages linux) #:use-module (gnu packages xorg)) ;; packages outside the x.org system proper @@ -359,3 +361,34 @@ invisible cursor. This allows you to see all the text in an xterm or xedit, for example. The human factors crowd would agree it should make things less distracting.") (license license:public-domain))) + +(define-public xlockmore + (package + (name "xlockmore") + (version "5.45") + (source (origin + (method url-fetch) + (uri (string-append "http://www.tux.org/~bagleyd/xlock/xlockmore-" + version "/xlockmore-" version ".tar.bz2")) + (sha256 + (base32 + "1xqm61bbfn5q056w57vp16gvai8nqpcw570ysxlm5h46nh6ai0bz")))) + (build-system gnu-build-system) + (arguments + '(#:configure-flags (list (string-append "--enable-appdefaultdir=" + (assoc-ref %outputs "out") + "/lib/X11/app-defaults")) + #:tests? #f)) ;no such thing as a test suite + (inputs + `(("libX11" ,libx11) + ("libXext" ,libxext) + ("libXt" ,libxt) + ("linux-pam" ,linux-pam))) + (home-page "http://www.tux.org/~bagleyd/xlockmore.html") + (synopsis "Screen locker for the X Window System") + (description + "XLockMore is a classic screen locker and screen saver for the +X Window System.") + (license (license:bsd-style #f "See xlock.c.") + ;; + GPLv2 in modes/glx/biof.c. + ))) diff --git a/gnu/packages/xlockmore.scm b/gnu/packages/xlockmore.scm deleted file mode 100644 index 1665849016..0000000000 --- a/gnu/packages/xlockmore.scm +++ /dev/null @@ -1,52 +0,0 @@ -;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org> -;;; -;;; This file is part of GNU Guix. -;;; -;;; GNU Guix is free software; you can redistribute it and/or modify it -;;; under the terms of the GNU General Public License as published by -;;; the Free Software Foundation; either version 3 of the License, or (at -;;; your option) any later version. -;;; -;;; GNU Guix is distributed in the hope that it will be useful, but -;;; WITHOUT ANY WARRANTY; without even the implied warranty of -;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -;;; GNU General Public License for more details. -;;; -;;; You should have received a copy of the GNU General Public License -;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. - -(define-module (gnu packages xlockmore) - #:use-module (guix packages) - #:use-module (guix download) - #:use-module (guix build-system gnu) - #:use-module (guix licenses) - #:use-module (gnu packages xorg) - #:use-module (gnu packages linux)) - -(define-public xlockmore - (package - (name "xlockmore") - (version "5.42") - (source (origin - (method url-fetch) - (uri (string-append "http://www.tux.org/~bagleyd/xlock/xlockmore-" - version "/xlockmore-" version ".tar.bz2")) - (sha256 - (base32 - "17xicps92ah9377zk65k9l1bmvzzj3bpxzzwxx21g9696l71gr0z")))) - (build-system gnu-build-system) - (arguments '(#:tests? #f)) ; no such thing as a test suite - (inputs - `(("libX11" ,libx11) - ("libXext" ,libxext) - ("libXt" ,libxt) - ("linux-pam" ,linux-pam))) - (home-page "http://www.tux.org/~bagleyd/xlockmore.html") - (synopsis "Screen locker for the X Window System") - (description - "XLockMore is a classic screen locker and screen saver for the -X Window System.") - (license (bsd-style #f "See xlock.c.") - ;; + GPLv2 in modes/glx/biof.c. - ))) |