Merge branch 'wip-gobject-introspection'
authorMark H Weaver <mhw@netris.org>
Mon, 26 Jan 2015 02:15:13 +0000 (21:15 -0500)
committerMark H Weaver <mhw@netris.org>
Mon, 26 Jan 2015 02:15:13 +0000 (21:15 -0500)
1  2 
gnu/packages/glib.scm
gnu/packages/gnome.scm
gnu/packages/gtk.scm
gnu/packages/linux.scm
gnu/packages/python.scm

diff --combined gnu/packages/glib.scm
@@@ -1,6 -1,6 +1,6 @@@
  ;;; GNU Guix --- Functional package management for GNU
  ;;; Copyright © 2013, 2014 Ludovic Courtès <ludo@gnu.org>
 -;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
 +;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
  ;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
  ;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
  ;;;
@@@ -52,8 -52,7 +52,8 @@@
              intltool
              itstool
              libsigc++
 -            glibmm))
 +            glibmm
 +            telepathy-glib))
  
  (define dbus
    (package
@@@ -204,17 -203,20 +204,20 @@@ dynamic loading, and an object system."
  (define gobject-introspection
    (package
      (name "gobject-introspection")
-     (version "1.38.0")
+     (version "1.42.0")
      (source (origin
               (method url-fetch)
               (uri (string-append "http://ftp.gnome.org/pub/GNOME/sources/"
-                    "gobject-introspection/"
-                    (substring version 0 (string-rindex version #\.))
-                    "/gobject-introspection-"
-                    version ".tar.xz"))
+                    "gobject-introspection/" (version-major+minor version)
+                    "/gobject-introspection-" version ".tar.xz"))
               (sha256
-               (base32 "0wvxyvgajmms2bb6k3pf1rdpnd79xdxamykzvxzmcyn1ag9yax9m"))
-              (patches (list (search-patch "gobject-introspection-cc.patch")))))
+               (base32 "1xwm7wmr9r9wp6xljb3bckx3a4siybavaq39w46ly7gpskxfv8iv"))
+              (patches (list 
+                        (search-patch "gobject-introspection-cc.patch")
+                        (search-patch
+                         "gobject-introspection-girepository.patch")
+                        (search-patch 
+                         "gobject-introspection-absolute-shlib-path.patch")))))
      (build-system gnu-build-system)
      (inputs
       `(("bison" ,bison)
              (files '("lib/girepository-1.0")))))
      (search-paths native-search-paths)
      (arguments
-      `(#:phases
+      `(;; The patch 'gobject-introspection-absolute-shlib-path.patch' causes
+        ;; some tests to fail.
+        #:tests? #f
+        #:phases
          (alist-cons-before
           'configure 'patch-paths
           (lambda _
@@@ -514,38 -519,3 +520,38 @@@ useful for C++."
      (description
       "Python bindings for GLib, GObject, and GIO.")
      (license license:lgpl2.1+)))
 +
 +(define telepathy-glib
 +  (package
 +    (name "telepathy-glib")
 +    (version "0.24.1")
 +    (source
 +     (origin
 +      (method url-fetch)
 +       (uri
 +        (string-append
 +         "http://telepathy.freedesktop.org/releases/telepathy-glib/"
 +         "telepathy-glib-" version ".tar.gz"))
 +       (sha256
 +        (base32
 +         "1symyzbjmxvksn2ifdkk50lafjm2llf2sbmky062gq2pz3cg23cy"))))
 +    (build-system gnu-build-system)
 +    (native-inputs
 +     `(("glib" ,glib "bin") ; uses glib-mkenums
 +       ("pkg-config" ,pkg-config)
 +       ("python" ,python-2)))
 +    (inputs
 +     `(("dbus" ,dbus)
 +       ("dbus-glib" ,dbus-glib)
 +       ("glib" ,glib)
 +       ("gobject-introspection" ,gobject-introspection)
 +       ("libxslt" ,libxslt)))
 +    (home-page "http://telepathy.freedesktop.org/wiki/")
 +    (synopsis "GLib Real-time communications framework over D-Bus")
 +    (description "Telepathy is a flexible, modular communications framework
 +that enables real-time communication over D-Bus via pluggable protocol
 +backends.  Telepathy is a communications service that can be accessed by
 +many applications simultaneously.
 +
 +This package provides the library for GLib applications.")
 +    (license license:lgpl2.1+)))
diff --combined gnu/packages/gnome.scm
@@@ -1,8 -1,9 +1,9 @@@
  ;;; GNU Guix --- Functional package management for GNU
 -;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
 -;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org>
 +;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
 +;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
  ;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
  ;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
+ ;;; Copyright © 2014, 2015 Federico Beffa <beffa@fbengineering.ch>
  ;;;
  ;;; This file is part of GNU Guix.
  ;;;
@@@ -427,7 -428,7 +428,7 @@@ some form of information without gettin
  (define-public libpeas
    (package
      (name "libpeas")
-     (version "1.9.0")
+     (version "1.12.1")
      (source
       (origin
        (method url-fetch)
                            name "-" version ".tar.xz"))
        (sha256
         (base32
-         "13fzyzv6c0cfdj83z1s16lv8k997wpnzyzr0wfwcfkcmvz64g1q0"))))
+         "1mjjjjwphc83bjznmbsm7x0jg7ql261nys6qnl7mi0nkr4qvw476"))))
      (build-system gnu-build-system)
      (inputs
       `(("atk" ,atk)
         ("glib:bin" ,glib "bin")
         ("gobject-introspection" ,gobject-introspection)
         ("intltool" ,intltool)))
+     (arguments
+      `(#:phases 
+        (alist-cons-before
+         'build 'pre-build
+         (lambda* _
+           (setenv "CC" "gcc"))
+         %standard-phases)))
      (home-page "https://wiki.gnome.org/Libpeas")
      (synopsis "GObject plugin system")
      (description
@@@ -457,7 -465,6 +465,6 @@@ every application the chance to assume 
  set of features including, but not limited to: multiple extension points; on
  demand (lazy) programming language support for C, Python and JS; simplicity of
  the API")
      (license license:lgpl2.0+)))
  
  (define-public gtkglext
@@@ -580,7 -587,7 +587,7 @@@ dealing with different structured file 
  (define-public librsvg
    (package
      (name "librsvg")
-     (version "2.40.2")
+     (version "2.40.6")
      (source (origin
                (method url-fetch)
                (uri (string-append "mirror://gnome/sources/" name "/"
                                    name "-" version ".tar.xz"))
                (sha256
                 (base32
-                 "071959yjb2i1bja7ciy4bmpnd6fn2is9jjqsvvvnsqwl69j9n128"))))
+                 "01jgb11779080b80k2ncrhdphgillqrrnszal6vh8yv787r4kwwa"))))
      (build-system gnu-build-system)
      (arguments
       `(#:phases
              ;; gdk-pixbuf's prefix.  Work around that.
              (("gdk_pixbuf_moduledir = .*$")
               (string-append "gdk_pixbuf_moduledir = "
-                             "$(prefix)/lib/gdk-pixbuf-2.0/2.0.10/"
+                             "$(prefix)/lib/gdk-pixbuf-2.0/2.10.0/"
                               "loaders\n"))
              ;; Likewise, create a separate 'loaders.cache' file.
              (("gdk_pixbuf_cache_file = .*$")
           (lambda* (#:key inputs outputs #:allow-other-keys)
             (let ((loaders-directory 
                    (string-append (assoc-ref outputs "out")
-                                  "/lib/gdk-pixbuf-2.0/2.0.10/loaders")))
+                                  "/lib/gdk-pixbuf-2.0/2.10.0/loaders")))
               (zero?
                (system 
                 (string-append 
                  (string-join (find-files (assoc-ref inputs "gdk-pixbuf") 
                                           "libpixbufloader-.*\\.so") " ")
                  "> " loaders-directory ".cache")))))
-          %standard-phases))))
+          (alist-cons-before
+           'build 'pre-build
+           (lambda* _
+             (setenv "CC" "gcc"))
+           %standard-phases)))))
      (native-inputs
       `(("pkg-config" ,pkg-config)
         ("glib" ,glib "bin")                               ; glib-mkenums, etc.
@@@ -1011,8 -1022,6 +1022,8 @@@ widgets built in the loading process."
      (license license:gpl2+))) ; This is correct.  GPL not LGPL
  
  (define-public libgnomeprint
 +  ;; This library has been deprecated since 2006; see
 +  ;; <https://mail.gnome.org/archives/devel-announce-list/2006-August/msg00005.html>.
    (package
      (name "libgnomeprint")
      (version "2.8.2")
         ("pkg-config" ,pkg-config)))
      (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
      (synopsis "Printing framework for GNOME")
 -    (description "Gnome-print is a high-quality printing framework for GNOME.")
 +    (description
 +     "GNOME-print was a printing framework for GNOME.  It has been deprecated
 +since ca. 2006, when GTK+ itself incorporated printing support.")
      (license license:lgpl2.0+)))
  
  
  (define-public libgnomeprintui
 +  ;; Deprecated; see libgnomeprint.
    (package
      (name "libgnomeprintui")
      (version "2.8.2")
         ("pkg-config" ,pkg-config)))
      (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
      (synopsis "Printing framework for GNOME")
 -    (description  "Gnome-print is a high-quality printing framework for GNOME.")
 +    (description (package-description libgnomeprint))
      (license license:lgpl2.0+)))
  
 -
  (define-public libbonoboui
    (package
      (name "libbonoboui")
@@@ -1344,6 -1351,13 +1355,13 @@@ libraries written in C."
         ("xmllint" ,libxml2)))
      (propagated-inputs
       `(("gtk+" ,gtk+))) ; required by libvte-2.91.pc
+     (arguments
+      `(#:phases
+        (alist-cons-before
+         'build 'pre-build
+         (lambda* _
+           (setenv "CC" "gcc"))
+         %standard-phases)))
      (home-page "http://www.gnome.org/")
      (synopsis "Virtual Terminal Emulator")
      (description
@@@ -1428,31 -1442,3 +1446,31 @@@ editors, IDEs, etc."
  is to provide a backend to GSettings on platforms that don't already have
  configuration storage systems.")
      (license license:lgpl2.1)))
 +
 +(define-public json-glib
 +  (package
 +    (name "json-glib")
 +    (version "1.0.2")
 +    (source (origin
 +              (method url-fetch)
 +              (uri (string-append "mirror://gnome/sources/" name "/"
 +                                  (version-major+minor version) "/"
 +                                  name "-" version ".tar.xz"))
 +              (sha256
 +               (base32
 +                "02k66lpc4cmgygj66n8zcy59bggy7yzm3v4hni9xqplgva9d2yw8"))))
 +    (build-system gnu-build-system)
 +    (native-inputs
 +     `(("glib" ,glib "bin") ; for glib-mkenums and glib-genmarshal
 +       ("gobject-introspection" ,gobject-introspection)
 +       ("pkg-config" ,pkg-config)))
 +    (propagated-inputs
 +     `(("glib" ,glib))) ; according to json-glib-1.0.pc
 +    (home-page "https://wiki.gnome.org/Projects/JsonGlib")
 +    (synopsis "Compiler for the GObject type system")
 +    (description "JSON-GLib is a C library based on GLib providing
 +serialization and deserialization support for the JavaScript Object Notation
 +(JSON) format described by RFC 4627.  It provides parser and generator
 +GObject classes and various wrappers for the complex data types employed by
 +JSON, such as arrays and objects.")
 +    (license license:lgpl2.1+)))
diff --combined gnu/packages/gtk.scm
@@@ -1,8 -1,9 +1,9 @@@
  ;;; GNU Guix --- Functional package management for GNU
  ;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
 -;;; Copyright © 2013, 2014 Ludovic Courtès <ludo@gnu.org>
 +;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
  ;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
  ;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
+ ;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch>
  ;;;
  ;;; This file is part of GNU Guix.
  ;;;
@@@ -38,7 -39,6 +39,7 @@@
    #:use-module (gnu packages pkg-config)
    #:use-module (gnu packages python)
    #:use-module (gnu packages guile)
 +  #:use-module (gnu packages cups)
    #:use-module (gnu packages xml)
    #:use-module (gnu packages xorg)
    #:use-module (gnu packages xdisorg))
@@@ -46,7 -46,7 +47,7 @@@
  (define-public atk
    (package
     (name "atk")
-    (version "2.10.0")
+    (version "2.15.3")
     (source (origin
              (method url-fetch)
              (uri (string-append "mirror://gnome/sources/" name "/"
@@@ -54,7 -54,7 +55,7 @@@
                                  name "-" version ".tar.xz"))
              (sha256
               (base32
-               "1c2hbg66wfvibsz2ia0ri48yr62751fn950i97c53j3b0fjifsb3"))))
+               "177a9x6lz2im0mfgxv2crv0l740wy7rg5vlnb8wyyf4fmnh0q19f")))) ; 2.15.3
     (build-system gnu-build-system)
     (inputs `(("glib" ,glib)))
     (native-inputs
@@@ -151,14 -151,15 +152,15 @@@ affine transformation (scale, rotation
  (define-public pango
    (package
     (name "pango")
-    (version "1.34.1")
+    (version "1.36.8")
     (source (origin
              (method url-fetch)
-             (uri (string-append "mirror://gnome/sources/pango/1.34/pango-"
-                                 version ".tar.xz"))
+             (uri (string-append "mirror://gnome/sources/pango/"
+                                 (version-major+minor version) "/"
+                                 name "-" version ".tar.xz"))
              (sha256
               (base32
-               "0k7662qix7zzh7mf6ikdj594n8jpbfm25z8swz64zbm86kgk1shs"))))
+               "01rdzjh68w8l5zn0648yibyarj8p6g7yfn59nw5awaz1i8dvbnqq"))))
     (build-system gnu-build-system)
     (propagated-inputs
      `(("cairo" ,cairo)
@@@ -265,7 -266,7 +267,7 @@@ printing and other features typical of 
  (define-public gdk-pixbuf
    (package
     (name "gdk-pixbuf")
-    (version "2.28.2")
+    (version "2.31.1")
     (source (origin
              (method url-fetch)
              (uri (string-append "mirror://gnome/sources/" name "/"
                                  name "-" version ".tar.xz"))
              (sha256
               (base32
-               "05s6ksvy1yan6h6zny9n3bmvygcnzma6ljl6i0z9cci2xg116c8q"))))
+               "1kajvfckn88bzcdnl73b933gmjhwjm3dhsj1yrpixhfsc4y5x9r5"))))
     (build-system gnu-build-system)
     (propagated-inputs ; required by gdk-pixbuf-2.0.pc
      `(("glib" ,glib)
@@@ -394,7 -395,7 +396,7 @@@ application suites."
  (define-public gtk+
    (package (inherit gtk+-2)
     (name "gtk+")
-    (version "3.10.1")
+    (version "3.14.7")
     (source (origin
              (method url-fetch)
              (uri (string-append "mirror://gnome/sources/" name "/"
                                  name "-" version ".tar.xz"))
              (sha256
               (base32
-               "1f3a7r3z7i9xh5imlfpfcgyydzkj2fnd0v6ylvqxij0yzfbnhbn1"))))
+               "0vm40n6nf0w3vv54wqy67jcxddka7hplksi093xim3119yq196gv"))))
     (propagated-inputs
      `(("at-spi2-atk" ,at-spi2-atk)
        ("atk" ,atk)
        ("libxdamage" ,libxdamage)
        ("pango" ,pango)))
     (inputs
 -    `(("libxml2" ,libxml2)))
 +    `(("libxml2" ,libxml2)
 +      ("cups" ,cups)))                            ;for printing support
     (native-inputs
      `(("perl" ,perl)
        ("glib" ,glib "bin")
@@@ -584,7 -584,7 +586,7 @@@ toolkit."
  (define-public gtkmm
    (package
      (name "gtkmm")
-     (version "3.9.16")
+     (version "3.14.0")
      (source (origin
               (method url-fetch)
               (uri (string-append "mirror://gnome/sources/" name "/"
                                   name "-" version ".tar.xz"))
               (sha256
                (base32
-                "0yf8wwv4w02p70nrxsbs0nhm0w4gkn2wggdjygd8vif062anf1rs"))))
+                "12z4g2in82nk92nfjs2hmrdcwbav8v3laz1813x2dhkf5jk2ixfr"))))
      (build-system gnu-build-system)
      (native-inputs `(("pkg-config" ,pkg-config)))
      (propagated-inputs
diff --combined gnu/packages/linux.scm
@@@ -3,6 -3,7 +3,7 @@@
  ;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
  ;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
  ;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
+ ;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch>
  ;;;
  ;;; This file is part of GNU Guix.
  ;;;
@@@ -27,7 -28,6 +28,7 @@@
    #:use-module (gnu packages gcc)
    #:use-module (gnu packages flex)
    #:use-module (gnu packages bison)
 +  #:use-module (gnu packages admin)
    #:use-module (gnu packages gperf)
    #:use-module (gnu packages libusb)
    #:use-module (gnu packages ncurses)
@@@ -36,7 -36,6 +37,7 @@@
    #:use-module (gnu packages perl)
    #:use-module (gnu packages pkg-config)
    #:use-module (gnu packages python)
 +  #:use-module (gnu packages slang)
    #:use-module (gnu packages algebra)
    #:use-module (gnu packages gettext)
    #:use-module (gnu packages glib)
@@@ -51,8 -50,6 +52,8 @@@
    #:use-module (gnu packages rrdtool)
    #:use-module (gnu packages elf)
    #:use-module (gnu packages gtk)
 +  #:use-module (gnu packages docbook)
 +  #:use-module (gnu packages asciidoc)
    #:use-module (guix packages)
    #:use-module (guix download)
    #:use-module (guix utils)
@@@ -381,43 -378,41 +382,43 @@@ providing the system administrator wit
  (define-public util-linux
    (package
      (name "util-linux")
 -    (version "2.21")
 +    (version "2.25.2")
      (source (origin
                (method url-fetch)
                (uri (string-append "mirror://kernel.org/linux/utils/"
 -                                  name "/v" version "/"
 -                                  name "-" version ".2" ".tar.xz"))
 +                                  name "/v" (version-major+minor version) "/"
 +                                  name "-" version ".tar.xz"))
                (sha256
                 (base32
 -                "1rpgghf7n0zx0cdy8hibr41wvkm2qp1yvd8ab1rxr193l1jmgcir"))
 -              (patches (list (search-patch "util-linux-perl.patch")))
 +                "1miwwdq1zwvhf0smrxx3fjddq3mz22s8rc5cw54s7x3kbdqpyig0"))
 +              (patches (list (search-patch "util-linux-tests.patch")))
                (modules '((guix build utils)))
                (snippet
 -               ;; We take the 'logger' program from GNU Inetutils, so remove
 -               ;; it from here.
 -               '(substitute* "misc-utils/Makefile.in"
 -                  (("PROGRAMS =(.*) logger(.*)" _ before after)
 -                   (string-append "PROGRAMS =" before " " after))
 -                  (("MANS =(.*) logger\\.1(.*)" _ before after)
 -                   (string-append "MANS =" before " " after))))))
 +               ;; We take the 'logger' program from GNU Inetutils and 'kill'
 +               ;; from GNU Coreutils.
 +               '(substitute* "configure"
 +                  (("build_logger=yes") "build_logger=no")
 +                  (("build_kill=yes") "build_kill=no")))))
      (build-system gnu-build-system)
      (arguments
       `(#:configure-flags '("--disable-use-tty-group"
                             "--enable-ddate")
 -       #:phases (alist-cons-after
 -                 'install 'patch-chkdupexe
 -                 (lambda* (#:key outputs #:allow-other-keys)
 -                   (let ((out (assoc-ref outputs "out")))
 -                     (substitute* (string-append out "/bin/chkdupexe")
 -                       ;; Allow 'patch-shebang' to do its work.
 -                       (("@PERL@") "/bin/perl"))))
 +       #:phases (alist-cons-before
 +                 'check 'pre-check
 +                 (lambda* (#:key inputs outputs #:allow-other-keys)
 +                   (let ((out (assoc-ref outputs "out"))
 +                         (net (assoc-ref inputs "net-base")))
 +                     ;; Change the test to refer to the right file.
 +                     (substitute* "tests/ts/misc/mcookie"
 +                       (("/etc/services")
 +                        (string-append net "/etc/services")))
 +                     #t))
                   %standard-phases)))
      (inputs `(("zlib" ,guix:zlib)
                ("ncurses" ,ncurses)))
      (native-inputs
 -     `(("perl" ,perl)))
 +     `(("perl" ,perl)
 +       ("net-base" ,net-base)))                   ;for tests
      (home-page "https://www.kernel.org/pub/linux/utils/util-linux/")
      (synopsis "Collection of utilities for the Linux kernel")
      (description
@@@ -510,14 -505,14 +511,14 @@@ slabtop, and skill."
  (define-public e2fsprogs
    (package
      (name "e2fsprogs")
 -    (version "1.42.7")
 +    (version "1.42.11")
      (source (origin
               (method url-fetch)
               (uri (string-append "mirror://sourceforge/e2fsprogs/e2fsprogs-"
                                   version ".tar.gz"))
               (sha256
                (base32
 -               "0ibkkvp6kan0hn0d1anq4n2md70j5gcm7mwna515w82xwyr02rfw"))
 +               "0xhbj7494g3y2w2miyrzdz6nciaffxajrs6wqm73yp4jnrqagn2b"))
               (modules '((guix build utils)))
               (snippet
                '(substitute* "MCONFIG.in"
      (native-inputs `(("pkg-config" ,pkg-config)
                       ("texinfo" ,texinfo)))     ;for the libext2fs Info manual
      (arguments
 -     '(;; The 'blkid' command and library are already provided by util-linux,
 -       ;; which is the preferred source for them (see, e.g.,
 +     '(;; util-linux is not the preferred source for some of the libraries and
 +       ;; commands, so disable them (see, e.g.,
         ;; <http://git.buildroot.net/buildroot/commit/?id=e1ffc2f791b336339909c90559b7db40b455f172>.)
 -       #:configure-flags '("--disable-blkid"
 +       #:configure-flags '("--disable-libblkid"
 +                           "--disable-libuuid" "--disable-uuidd"
 +                           "--disable-fsck"
  
                             ;; Install libext2fs et al.
                             "--enable-elf-shlibs")
@@@ -1437,7 -1430,7 +1438,7 @@@ from the module-init-tools project."
    ;; The post-systemd fork, maintained by Gentoo.
    (package
      (name "eudev")
-     (version "1.10")
+     (version "2.1.1")
      (source (origin
                (method url-fetch)
                (uri (string-append
                      version ".tar.gz"))
                (sha256
                 (base32
-                 "1l907bvz6dcykvaq8d4iklvfpb9fyrnh1a29g3c28gkx2hlyn7j0"))
+                 "0shf5vqiz9fdxl95aa1a8vh0xjxwim3psc39wr2xr8lnahf11vva"))
                (patches (list (search-patch "eudev-rules-directory.patch")))
                (modules '((guix build utils)))
                (snippet
  
                                 ;; Work around undefined reference to
                                 ;; 'mq_getattr' in sc-daemon.c.
-                                "LDFLAGS=-lrt")))
+                                "LDFLAGS=-lrt")
+        #:phases 
+        (alist-cons-before
+         'build 'pre-build
+         ;; The program 'g-ir-scanner' (part of the package
+         ;; 'gobject-introspection'), to generate .gir files, makes some
+         ;; library pre-processing.  During that phase it looks for the C
+         ;; compiler as either 'cc' or as defined by the environment variable
+         ;; 'CC' (with code in 'giscanner/dumper.py').
+         (lambda* _
+           (setenv "CC" "gcc"))
+         %standard-phases)))
      (home-page "http://www.gentoo.org/proj/en/eudev/")
      (synopsis "Userspace device management")
      (description "Udev is a daemon which dynamically creates and removes
@@@ -1714,11 -1718,7 +1726,11 @@@ in a digital read-out."
                   %standard-phases)
         #:make-flags (list (string-append "DESTDIR="
                                           (assoc-ref %outputs "out"))
 -                          "WERROR=0")
 +                          "WERROR=0"
 +
 +                          ;; By default, 'config/Makefile' uses lib64 on
 +                          ;; x86_64.  Work around that.
 +                          "lib=lib")
         #:tests? #f))                              ;no tests
      (native-inputs
       `(("pkg-config" ,pkg-config)
         ("perl" ,perl)
         ("python" ,python-2)))
      (inputs
 -     `(;; ("slang" ,slang)
 +     `(("slang" ,slang)                        ;for the interactive TUI
         ;; ("newt" ,newt)
 +       ("python" ,python-2)                    ;'perf' links against libpython
         ("elfutils" ,elfutils)
  
 -       ;; FIXME: Documentation.
 -       ;; ("libxslt" ,libxslt)
 -       ;; ("docbook-xml" ,docbook-xml)
 -       ;; ("docbook-xsl" ,docbook-xsl)
 -       ;; ("xmlto" ,xmlto)
 -       ;; ("asciidoc" ,asciidoc)
 -       ))
 +       ;; Documentation.
 +       ("libxml2" ,libxml2)                       ;for $XML_CATALOG_FILES
 +       ("libxslt" ,libxslt)
 +       ("docbook-xml" ,docbook-xml)
 +       ("docbook-xsl" ,docbook-xsl)
 +       ("xmlto" ,xmlto)
 +       ("asciidoc" ,asciidoc)))
      (home-page "https://perf.wiki.kernel.org/")
      (synopsis "Linux profiling with performance counters")
      (description
diff --combined gnu/packages/python.scm
@@@ -1,10 -1,10 +1,10 @@@
  ;;; GNU Guix --- Functional package management for GNU
  ;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
  ;;; Copyright © 2013, 2014 Ludovic Courtès <ludo@gnu.org>
 -;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
 +;;; Copyright © 2013, 2014, 2015 Andreas Enge <andreas@enge.fr>
  ;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
  ;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
- ;;; Copyright © 2014 Federico Beffa <beffa@fbengineering.ch>
+ ;;; Copyright © 2014, 2015 Federico Beffa <beffa@fbengineering.ch>
  ;;;
  ;;; This file is part of GNU Guix.
  ;;;
@@@ -2064,7 -2064,7 +2064,7 @@@ capabilities."
  (define-public python-pyparsing
    (package
      (name "python-pyparsing")
 -    (version "2.0.2")
 +    (version "2.0.3")
      (source
       (origin
         (method url-fetch)
                             "/pyparsing-" version ".tar.gz"))
         (sha256
          (base32
 -         "01lasib0n2fp2k99c988qhz16lm9hcwmnmrmhybdb3jq2xmkvr0p"))))
 +         "0kw4py7gn45j93q8r7bzajfrjdc3xlsn2yzln41lf9zmrghjkrq6"))))
      (build-system python-build-system)
      (outputs '("out" "doc"))
      (arguments
@@@ -2170,13 -2170,6 +2170,6 @@@ that client code uses to construct the 
         ;; at run-time the user must set this variable as follows:
         ;;
         ;; export GI_TYPELIB_PATH=~/.guix-profile/lib/girepository-1.0
-        ;;
-        ;; 'typelib' files include references to dynamic libraries. Currently
-        ;; the references do not include the full path to the libraries. For
-        ;; this reason the user must set the LD_LIBRARY_PATH to the location of 
-        ;; 'libgtk-3.so.0', 'libgdk-3.so.0' and 'libatk-1.0.so.0':
-        ;;
-        ;; export LD_LIBRARY_PATH=~/.guix-profile/lib
         ("gtk+" ,gtk+)
         ;; From version 1.4.0 'matplotlib' makes use of 'cairocffi' instead of
         ;; 'pycairo'. However, 'pygobject' makes use of a 'pycairo' 'context'
         ("freetype" ,freetype)
         ("cairo" ,cairo)
         ("glib" ,glib)
-        ("python-pillow" ,python-pillow)
+        ;("python-pillow" ,python-pillow)
         ;; FIXME: Add backends when available.
         ;("python-wxpython" ,python-wxpython)
         ;("python-pyqt" ,python-pyqt)
                  (gtk+ (assoc-ref inputs "gtk+")))
              ;; Setting these directories in the 'basedirlist' of 'setup.cfg'
              ;; has not effect.
-             ;;
-             ;; FIXME: setting LD_LIBRARY_PATH should be removed once we patch
-             ;; gobject-introspection to include the full path of shared
-             ;; libraries in 'typelib' files.
              (setenv "LD_LIBRARY_PATH"
                      (string-append cairo "/lib:" gtk+ "/lib"))
              (setenv "HOME" (getcwd))
@@@ -2282,30 -2271,18 +2271,18 @@@ toolkits."
           ,@(alist-delete "python-numpydoc" 
                           (package-inputs matplotlib)))))))
  
- ;; Scipy 0.14.0 with Numpy 0.19.X fails several tests.  This is known and
- ;; planned to be fixed in 0.14.1.  It is claimed that the failures can safely
- ;; be ignored:
- ;; http://mail.scipy.org/pipermail/scipy-dev/2014-September/020043.html
- ;; https://github.com/scipy/scipy/issues/3853 
- ;;
- ;; The main test suite procedure prints the summary message:
- ;;
- ;; Ran 16412 tests in 245.033s
- ;; FAILED (KNOWNFAIL=277, SKIP=921, errors=327, failures=42)
- ;; 
- ;; However, it still does return normally.
  (define-public python-scipy
    (package
      (name "python-scipy")
-     (version "0.14.0")
+     (version "0.15.0")
      (source
       (origin
         (method url-fetch)
         (uri (string-append "mirror://sourceforge/scipy"
-                            "/scipy-" version ".tar.gz"))
+                            "/scipy-" version ".tar.xz"))
         (sha256
          (base32
-          "053bmz4qmnk4dmxvspfak8r10rpmy6mzwfzgy33z338ppzka6hab"))))
+          "0fsqi05s035d7p6s8h3h2pvk1axias16chy17rw9l1bxvrfhmncf"))))
      (build-system python-build-system)
      (inputs
       `(("python-numpy" ,python-numpy)
@@@ -2811,63 -2788,3 +2788,63 @@@ computing."
           ,@(alist-delete "python-numpydoc"
                           (alist-delete "python-matplotlib"
                                         (package-inputs ipython))))))))
 +
 +(define-public python-isodate
 +  (package
 +    (name "python-isodate")
 +    (version "0.5.1")
 +    (source
 +      (origin
 +        (method url-fetch)
 +        (uri (string-append
 +              "https://pypi.python.org/packages/source/i/isodate/isodate-"
 +              version
 +              ".tar.gz"))
 +        (sha256
 +          (base32
 +            "1yqjn0is0p64cmk9xhq4hc6q06jk86d60kg2jws58d78q0qysami"))))
 +    (build-system python-build-system)
 +    (inputs
 +      `(("python-setuptools" ,python-setuptools)))
 +    (home-page
 +      "http://cheeseshop.python.org/pypi/isodate")
 +    (synopsis
 +      "Python date parser and formatter")
 +    (description
 +      "Python-isodate is a python module for parsing and formatting
 +ISO 8601 dates, time and duration.")
 +    (license bsd-3)))
 +
 +(define-public python2-isodate
 +  (package-with-python2 python-isodate))
 +
 +(define-public python-html5lib
 +  (package
 +    (name "python-html5lib")
 +    (version "1.0b3")
 +    (source
 +      (origin
 +        (method url-fetch)
 +        (uri (string-append
 +              "https://pypi.python.org/packages/source/h/html5lib/html5lib-"
 +              version
 +              ".tar.gz"))
 +        (sha256
 +          (base32
 +            "1l5i6xzckzx4hnh9qzv9q3kyhkgjx2hsi2k9srgci3qizjmvp6ln"))))
 +    (build-system python-build-system)
 +    (inputs
 +      `(("python-setuptools" ,python-setuptools)))
 +    (arguments
 +     `(#:test-target "check"))
 +    (home-page
 +      "https://github.com/html5lib/html5lib-python")
 +    (synopsis
 +      "Python HTML parser based on the WHATWG HTML specifcation")
 +    (description
 +      "Html5lib is an HTML parser based on the WHATWG HTML specifcation
 +and written in Python.")
 +    (license expat)))
 +
 +(define-public python2-html5lib
 +  (package-with-python2 python-html5lib))