gnu: gconf: Propagate input glib.

* gnu/packages/gnome.scm (gconf): Propagate input glib.
  (gnome-vfs): Drop input glib.
  (libgnome): Drop propagated input glib.
* gnu/packages/ibus.scm (ibus): Drop input glib.
This commit is contained in:
Andreas Enge 2015-05-20 23:46:17 +02:00
parent 7f18257bea
commit 2e6ecc5c21
2 changed files with 35 additions and 37 deletions

View File

@ -252,7 +252,7 @@ and keep up to date translations of documentation.")
("shared-mime-info" ,shared-mime-info) ("shared-mime-info" ,shared-mime-info)
("dconf" ,dconf) ("dconf" ,dconf)
("libcanberra" ,libcanberra) ("libcanberra" ,libcanberra)
;; For tests. ;; For tests.
("dogtail" ,python2-dogtail))) ("dogtail" ,python2-dogtail)))
(native-inputs (native-inputs
@ -661,15 +661,15 @@ dealing with different structured file formats.")
(alist-cons-after (alist-cons-after
'install 'generate-full-cache 'install 'generate-full-cache
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
(let ((loaders-directory (let ((loaders-directory
(string-append (assoc-ref outputs "out") (string-append (assoc-ref outputs "out")
"/lib/gdk-pixbuf-2.0/2.10.0/loaders"))) "/lib/gdk-pixbuf-2.0/2.10.0/loaders")))
(zero? (zero?
(system (system
(string-append (string-append
"gdk-pixbuf-query-loaders " "gdk-pixbuf-query-loaders "
loaders-directory "/libpixbufloader-svg.so " loaders-directory "/libpixbufloader-svg.so "
(string-join (find-files (assoc-ref inputs "gdk-pixbuf") (string-join (find-files (assoc-ref inputs "gdk-pixbuf")
"libpixbufloader-.*\\.so") " ") "libpixbufloader-.*\\.so") " ")
"> " loaders-directory ".cache"))))) "> " loaders-directory ".cache")))))
%standard-phases)))) %standard-phases))))
@ -720,7 +720,7 @@ library.")
Definition Language (idl) files, which is a specification for defining Definition Language (idl) files, which is a specification for defining
portable interfaces. libidl was initially written for orbit (the orb from the portable interfaces. libidl was initially written for orbit (the orb from the
GNOME project, and the primary means of libidl distribution). However, the GNOME project, and the primary means of libidl distribution). However, the
functionality was designed to be as reusable and portable as possible.") functionality was designed to be as reusable and portable as possible.")
(license license:lgpl2.0+))) (license license:lgpl2.0+)))
@ -730,7 +730,7 @@ functionality was designed to be as reusable and portable as possible.")
(version "2.14.19") (version "2.14.19")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (let ((upstream-name "ORBit2")) (uri (let ((upstream-name "ORBit2"))
(string-append "mirror://gnome/sources/" upstream-name "/" (string-append "mirror://gnome/sources/" upstream-name "/"
(version-major+minor version) "/" (version-major+minor version) "/"
upstream-name "-" version ".tar.bz2"))) upstream-name "-" version ".tar.bz2")))
@ -755,11 +755,11 @@ functionality was designed to be as reusable and portable as possible.")
(home-page "https://projects.gnome.org/orbit2/") (home-page "https://projects.gnome.org/orbit2/")
(synopsis "CORBA 2.4-compliant Object Request Broker") (synopsis "CORBA 2.4-compliant Object Request Broker")
(description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb) (description "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)
featuring mature C, C++ and Python bindings.") featuring mature C, C++ and Python bindings.")
;; Licence notice is unclear. The Web page simply say "GPL" without giving a version. ;; Licence notice is unclear. The Web page simply say "GPL" without giving a version.
;; SOME of the code files have licence notices for GPLv2+ ;; SOME of the code files have licence notices for GPLv2+
;; The tarball contains files of the text of GPLv2 and LGPLv2 ;; The tarball contains files of the text of GPLv2 and LGPLv2
(license license:gpl2+))) (license license:gpl2+)))
(define-public libbonobo (define-public libbonobo
@ -802,7 +802,7 @@ featuring mature C, C++ and Python bindings.")
(home-page "https://developer.gnome.org/libbonobo/") (home-page "https://developer.gnome.org/libbonobo/")
(synopsis "Framework for creating reusable components for use in GNOME applications") (synopsis "Framework for creating reusable components for use in GNOME applications")
(description "Bonobo is a framework for creating reusable components for (description "Bonobo is a framework for creating reusable components for
use in GNOME applications, built on top of CORBA.") use in GNOME applications, built on top of CORBA.")
;; Licence not explicitly stated. Source files contain no licence notices. ;; Licence not explicitly stated. Source files contain no licence notices.
;; Tarball contains text of both GPLv2 and LGPLv2 ;; Tarball contains text of both GPLv2 and LGPLv2
;; GPLv2 covers both conditions ;; GPLv2 covers both conditions
@ -815,7 +815,7 @@ use in GNOME applications, built on top of CORBA.")
(version "3.2.6") (version "3.2.6")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (uri
(let ((upstream-name "GConf")) (let ((upstream-name "GConf"))
(string-append "mirror://gnome/sources/" upstream-name "/" (string-append "mirror://gnome/sources/" upstream-name "/"
(version-major+minor version) "/" (version-major+minor version) "/"
@ -823,11 +823,11 @@ use in GNOME applications, built on top of CORBA.")
(sha256 (sha256
(base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr")))) (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs `(("glib" ,glib) (inputs `(("dbus" ,dbus)
("dbus" ,dbus)
("dbus-glib" ,dbus-glib) ("dbus-glib" ,dbus-glib)
("libxml2" ,libxml2))) ("libxml2" ,libxml2)))
(propagated-inputs `(("orbit2" ,orbit2))) ; referred to in the .pc file (propagated-inputs `(("glib" ,glib) ; referred to in the .pc file
("orbit2" ,orbit2)))
(native-inputs (native-inputs
`(("intltool" ,intltool) `(("intltool" ,intltool)
("glib" ,glib "bin") ; for glib-genmarshal, etc. ("glib" ,glib "bin") ; for glib-genmarshal, etc.
@ -836,7 +836,7 @@ use in GNOME applications, built on top of CORBA.")
(synopsis "Store application preferences") (synopsis "Store application preferences")
(description "Gconf is a system for storing application preferences. It (description "Gconf is a system for storing application preferences. It
is intended for user preferences; not arbitrary data storage.") is intended for user preferences; not arbitrary data storage.")
(license license:lgpl2.0+))) (license license:lgpl2.0+)))
(define-public gnome-mime-data (define-public gnome-mime-data
@ -891,8 +891,7 @@ designed to be accessed through the MIME functions in GnomeVFS.")
(substitute* "test/test-async-cancel.c" (substitute* "test/test-async-cancel.c"
(("EXIT_FAILURE") "77"))) (("EXIT_FAILURE") "77")))
%standard-phases)))) %standard-phases))))
(inputs `(("glib" ,glib) (inputs `(("libxml2" ,libxml2)
("libxml2" ,libxml2)
("dbus-glib" ,dbus-glib) ("dbus-glib" ,dbus-glib)
("dbus" ,dbus) ("dbus" ,dbus)
("gconf" ,gconf) ("gconf" ,gconf)
@ -929,7 +928,7 @@ to access local and remote files with a single consistent API.")
`(#:phases `(#:phases
(alist-cons-before (alist-cons-before
'configure 'enable-deprecated 'configure 'enable-deprecated
(lambda _ (lambda _
(substitute* "libgnome/Makefile.in" (substitute* "libgnome/Makefile.in"
(("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))) (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
%standard-phases))) %standard-phases)))
@ -947,8 +946,7 @@ to access local and remote files with a single consistent API.")
`(("libcanberra" ,libcanberra) `(("libcanberra" ,libcanberra)
("libbonobo" ,libbonobo) ("libbonobo" ,libbonobo)
("gconf" ,gconf) ("gconf" ,gconf)
("gnome-vfs" ,gnome-vfs) ("gnome-vfs" ,gnome-vfs)))
("glib" ,glib)))
(home-page "https://developer.gnome.org/libgnome/") (home-page "https://developer.gnome.org/libgnome/")
(synopsis "Useful routines for building applications") (synopsis "Useful routines for building applications")
(description "The libgnome library provides a number of useful routines (description "The libgnome library provides a number of useful routines
@ -975,7 +973,7 @@ files and URIs, and displaying help.")
`(("pkg-config" ,pkg-config))) `(("pkg-config" ,pkg-config)))
(home-page "https://people.gnome.org/~mathieu/libart") (home-page "https://people.gnome.org/~mathieu/libart")
(synopsis "2D drawing library") (synopsis "2D drawing library")
(description "Libart is a 2D drawing library intended as a (description "Libart is a 2D drawing library intended as a
high-quality vector-based 2D library with antialiasing and alpha composition.") high-quality vector-based 2D library with antialiasing and alpha composition.")
(license license:lgpl2.0+))) (license license:lgpl2.0+)))
@ -1147,7 +1145,7 @@ since ca. 2006, when GTK+ itself incorporated printing support.")
("glib" ,glib) ("glib" ,glib)
("gnome-icon-theme" ,gnome-icon-theme) ("gnome-icon-theme" ,gnome-icon-theme)
("libgnomecanvas" ,libgnomecanvas) ("libgnomecanvas" ,libgnomecanvas)
("libxml2" ,libxml2))) ("libxml2" ,libxml2)))
(native-inputs (native-inputs
`(("intltool" ,intltool) `(("intltool" ,intltool)
("pkg-config" ,pkg-config))) ("pkg-config" ,pkg-config)))
@ -1176,7 +1174,7 @@ since ca. 2006, when GTK+ itself incorporated printing support.")
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(let ((xorg-server (assoc-ref inputs "xorg-server")) (let ((xorg-server (assoc-ref inputs "xorg-server"))
(disp ":1")) (disp ":1"))
(setenv "HOME" (getcwd)) (setenv "HOME" (getcwd))
(setenv "DISPLAY" disp) (setenv "DISPLAY" disp)
;; There must be a running X server and make check doesn't start one. ;; There must be a running X server and make check doesn't start one.
@ -1273,7 +1271,7 @@ Hints specification (EWMH).")
(home-page "https://developer.gnome.org/goffice/") (home-page "https://developer.gnome.org/goffice/")
(synopsis "Document-centric objects and utilities") (synopsis "Document-centric objects and utilities")
(description "A GLib/GTK+ set of document-centric objects and utilities.") (description "A GLib/GTK+ set of document-centric objects and utilities.")
(license (license
;; Dual licensed under GPLv2 or GPLv3 (both without "or later") ;; Dual licensed under GPLv2 or GPLv3 (both without "or later")
;; Note: NOT LGPL ;; Note: NOT LGPL
(list license:gpl2 license:gpl3)))) (list license:gpl2 license:gpl3))))
@ -1321,7 +1319,7 @@ Hints specification (EWMH).")
(arguments (arguments
`(;; The gnumeric developers don't worry much about failing tests. `(;; The gnumeric developers don't worry much about failing tests.
;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
#:tests? #f #:tests? #f
#:phases #:phases
(alist-cons-before (alist-cons-before
'configure 'pre-conf 'configure 'pre-conf
@ -1330,9 +1328,9 @@ Hints specification (EWMH).")
;; I am informed that this only affects the possibility to embed a ;; I am informed that this only affects the possibility to embed a
;; spreadsheet inside an Abiword document. So presumably when we ;; spreadsheet inside an Abiword document. So presumably when we
;; package Abiword we'll have to refer it to this directory. ;; package Abiword we'll have to refer it to this directory.
(substitute* "configure" (substitute* "configure"
(("^GOFFICE_PLUGINS_DIR=.*") (("^GOFFICE_PLUGINS_DIR=.*")
(string-append "GOFFICE_PLUGINS_DIR=" (string-append "GOFFICE_PLUGINS_DIR="
(assoc-ref outputs "out") "/goffice/plugins")))) (assoc-ref outputs "out") "/goffice/plugins"))))
%standard-phases))) %standard-phases)))
(inputs (inputs
@ -1367,7 +1365,7 @@ engineering.")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/" (uri (string-append "mirror://gnome/sources/" name "/"
(version-major+minor version) "/" name "-" (version-major+minor version) "/" name "-"
version ".tar.xz")) version ".tar.xz"))
(sha256 (sha256
@ -1392,8 +1390,8 @@ engineering.")
;; gdk-pixbuf because the latter does not include support for SVG ;; gdk-pixbuf because the latter does not include support for SVG
;; files. ;; files.
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(setenv "GDK_PIXBUF_MODULE_FILE" (setenv "GDK_PIXBUF_MODULE_FILE"
(car (find-files (assoc-ref inputs "librsvg") (car (find-files (assoc-ref inputs "librsvg")
"loaders\\.cache")))) "loaders\\.cache"))))
%standard-phases))) %standard-phases)))
(home-page "https://launchpad.net/gnome-themes-standard") (home-page "https://launchpad.net/gnome-themes-standard")
@ -1502,7 +1500,7 @@ editors, IDEs, etc.")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
"mirror://gnome/sources/" name "/" "mirror://gnome/sources/" name "/"
(version-major+minor version) "/" (version-major+minor version) "/"
name "-" version ".tar.xz")) name "-" version ".tar.xz"))
(sha256 (sha256
@ -1524,7 +1522,7 @@ editors, IDEs, etc.")
; or /etc/machine-id. ; or /etc/machine-id.
#:configure-flags #:configure-flags
;; Set the correct RUNPATH in binaries. ;; Set the correct RUNPATH in binaries.
(list (string-append "LDFLAGS=-Wl,-rpath=" (list (string-append "LDFLAGS=-Wl,-rpath="
(assoc-ref %outputs "out") "/lib") (assoc-ref %outputs "out") "/lib")
"--disable-gtk-doc-html") ; FIXME: requires gtk-doc "--disable-gtk-doc-html") ; FIXME: requires gtk-doc
#:phases #:phases
@ -1533,12 +1531,12 @@ editors, IDEs, etc.")
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(substitute* "docs/Makefile.in" (substitute* "docs/Makefile.in"
(("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl") (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
(string-append (assoc-ref inputs "docbook-xsl") (string-append (assoc-ref inputs "docbook-xsl")
"/xml/xsl/docbook-xsl-" "/xml/xsl/docbook-xsl-"
,(package-version docbook-xsl) ,(package-version docbook-xsl)
"/manpages/docbook.xsl"))) "/manpages/docbook.xsl")))
(setenv "XML_CATALOG_FILES" (setenv "XML_CATALOG_FILES"
(string-append (assoc-ref inputs "docbook-xml") (string-append (assoc-ref inputs "docbook-xml")
"/xml/dtd/docbook/catalog.xml"))) "/xml/dtd/docbook/catalog.xml")))
%standard-phases))) %standard-phases)))
(home-page "https://developer.gnome.org/dconf") (home-page "https://developer.gnome.org/dconf")

View File

@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -72,7 +73,6 @@
`(("dbus" ,dbus) `(("dbus" ,dbus)
("dconf" ,dconf) ("dconf" ,dconf)
("gconf" ,gconf) ("gconf" ,gconf)
("glib" ,glib)
("gtk2" ,gtk+-2) ("gtk2" ,gtk+-2)
("intltool" ,intltool) ("intltool" ,intltool)
("libnotify" ,libnotify) ("libnotify" ,libnotify)