2013-01-15 03:49:01 +01:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2015-01-28 14:27:20 +01:00
|
|
|
;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
|
2015-01-18 22:36:26 +01:00
|
|
|
;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
|
2013-04-19 19:41:05 +02:00
|
|
|
;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
|
2015-04-07 04:12:00 +02:00
|
|
|
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
|
2013-01-15 03:49:01 +01:00
|
|
|
;;;
|
|
|
|
;;; 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/>.
|
|
|
|
|
2013-01-16 23:01:24 +01:00
|
|
|
(define-module (gnu packages glib)
|
Use #:prefix instead of #:renamer with 'symbol-prefix-proc'.
* gnu/packages/abiword.scm, gnu/packages/admin.scm, gnu/packages/aidc.scm,
gnu/packages/backup.scm, gnu/packages/bittorrent.scm,
gnu/packages/boost.scm, gnu/packages/compression.scm,
gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/dc.scm, gnu/packages/emacs.scm,
gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/geeqie.scm,
gnu/packages/ghostscript.scm, gnu/packages/gimp.scm,
gnu/packages/gkrellm.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm, gnu/packages/gnuzilla.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/gv.scm, gnu/packages/image.scm,
gnu/packages/indent.scm, gnu/packages/inkscape.scm,
gnu/packages/lesstif.scm, gnu/packages/links.scm, gnu/packages/lisp.scm,
gnu/packages/lsh.scm, gnu/packages/lsof.scm, gnu/packages/maths.scm,
gnu/packages/mp3.scm, gnu/packages/openssl.scm, gnu/packages/ots.scm,
gnu/packages/pciutils.scm, gnu/packages/pcre.scm, gnu/packages/pdf.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm, gnu/packages/slim.scm,
gnu/packages/ssh.scm, gnu/packages/texlive.scm, gnu/packages/vim.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wv.scm,
gnu/packages/xiph.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm,
gnu/packages/yasm.scm, gnu/packages/zip.scm,
guix/build/cmake-build-system.scm, guix/build/perl-build-system.scm,
guix/build/python-build-system.scm, guix/download.scm: Replaces uses of
#:renamer and 'symbol-prefix-proc' with #:prefix.
2014-09-23 22:44:22 +02:00
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2013-01-15 03:49:01 +01:00
|
|
|
#:use-module (guix packages)
|
|
|
|
#:use-module (guix download)
|
2014-11-19 01:57:41 +01:00
|
|
|
#:use-module (guix utils)
|
2013-01-15 03:49:01 +01:00
|
|
|
#:use-module (guix build-system gnu)
|
2013-01-16 23:01:24 +01:00
|
|
|
#:use-module (gnu packages)
|
|
|
|
#:use-module (gnu packages base)
|
2013-09-29 17:24:31 +02:00
|
|
|
#:use-module (gnu packages bison)
|
2013-01-16 23:01:24 +01:00
|
|
|
#:use-module (gnu packages compression)
|
2013-09-29 17:24:31 +02:00
|
|
|
#:use-module (gnu packages flex)
|
gnu: gettext: Rename binding to 'gnu-gettext'.
* gnu/packages/gettext.scm (gettext): Rename to...
(gnu-gettext): ... this. This is used to work around the circular
dependency introduced in commit c42a4b7, which users with a #:renamer
cannot cope with.
* gnu/packages/acl.scm, gnu/packages/attr.scm, gnu/packages/cdrom.scm,
gnu/packages/fdisk.scm, gnu/packages/gkrellm.scm, gnu/packages/glib.scm,
gnu/packages/gnunet.scm, gnu/packages/grub.scm, gnu/packages/linux.scm,
gnu/packages/maths.scm, gnu/packages/nano.scm, gnu/packages/parted.scm,
gnu/packages/system.scm, gnu/packages/version-control.scm,
gnu/packages/vpn.scm, gnu/packages/w3m.scm, gnu/packages/wget.scm:
Adjust accordingly.
2013-11-20 22:12:49 +01:00
|
|
|
#:use-module (gnu packages gettext)
|
2013-09-29 17:24:31 +02:00
|
|
|
#:use-module (gnu packages gtk)
|
2013-01-16 23:01:24 +01:00
|
|
|
#:use-module (gnu packages libffi)
|
2013-04-19 19:41:05 +02:00
|
|
|
#:use-module (gnu packages perl)
|
2013-01-16 23:01:24 +01:00
|
|
|
#:use-module (gnu packages pkg-config)
|
|
|
|
#:use-module (gnu packages python)
|
2013-06-08 18:41:21 +02:00
|
|
|
#:use-module (gnu packages xml)
|
2013-08-20 00:55:01 +02:00
|
|
|
#:use-module (gnu packages bash)
|
2013-09-16 19:00:47 +02:00
|
|
|
#:use-module (gnu packages file)
|
|
|
|
#:use-module (gnu packages xorg)
|
2013-10-06 00:24:06 +02:00
|
|
|
#:use-module (gnu packages m4)
|
2013-01-16 23:01:24 +01:00
|
|
|
|
2013-09-16 19:00:47 +02:00
|
|
|
;; Export variables up-front to allow circular dependency with the 'xorg'
|
|
|
|
;; module.
|
|
|
|
#:export (dbus
|
|
|
|
glib
|
2013-10-05 23:45:35 +02:00
|
|
|
gobject-introspection
|
2013-09-16 19:00:47 +02:00
|
|
|
dbus-glib
|
|
|
|
intltool
|
2013-10-06 00:24:06 +02:00
|
|
|
itstool
|
|
|
|
libsigc++
|
2015-01-18 22:36:26 +01:00
|
|
|
glibmm
|
|
|
|
telepathy-glib))
|
2013-09-16 19:00:47 +02:00
|
|
|
|
|
|
|
(define dbus
|
2013-01-16 23:01:24 +01:00
|
|
|
(package
|
|
|
|
(name "dbus")
|
2015-10-14 11:56:13 +02:00
|
|
|
(version "1.10.0")
|
2013-01-16 23:01:24 +01:00
|
|
|
(source (origin
|
2015-10-22 00:25:03 +02:00
|
|
|
;; TODO: Apply patch from DBUS/ACTIVATION below.
|
2015-10-01 03:58:33 +02:00
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"http://dbus.freedesktop.org/releases/dbus/dbus-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0jwj7wlrhq5y0fwfh8k2d9rgdpfax06lj8698g6iqbwrzd2rgyqx"))))
|
2013-01-16 23:01:24 +01:00
|
|
|
(build-system gnu-build-system)
|
2013-09-11 23:37:57 +02:00
|
|
|
(arguments
|
2015-10-01 03:58:33 +02:00
|
|
|
'(#:configure-flags
|
|
|
|
(list
|
|
|
|
;; Install the system bus socket under /var.
|
|
|
|
"--localstatedir=/var"
|
2013-09-11 23:37:57 +02:00
|
|
|
|
2015-10-01 03:58:33 +02:00
|
|
|
;; Install the session bus socket under /tmp.
|
|
|
|
"--with-session-socket-dir=/tmp"
|
2013-09-11 23:37:57 +02:00
|
|
|
|
2015-10-01 03:58:33 +02:00
|
|
|
;; Use /etc/dbus-1 for system-wide config.
|
|
|
|
;; Look for configuration file under
|
|
|
|
;; /etc/dbus-1. This is notably required by
|
|
|
|
;; 'dbus-daemon-launch-helper', which looks for
|
|
|
|
;; the 'system.conf' file in that place,
|
|
|
|
;; regardless of what '--config-file' was
|
|
|
|
;; passed to 'dbus-daemon' on the command line;
|
|
|
|
;; see <https://bugs.freedesktop.org/show_bug.cgi?id=92458>.
|
|
|
|
"--sysconfdir=/etc")
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(replace 'install
|
|
|
|
(lambda _
|
|
|
|
;; Don't try to create /var and /etc.
|
|
|
|
(system* "make"
|
|
|
|
"localstatedir=/tmp/dummy"
|
|
|
|
"sysconfdir=/tmp/dummy"
|
|
|
|
"install"))))))
|
2014-10-05 22:24:20 +02:00
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
2013-01-16 23:01:24 +01:00
|
|
|
(inputs
|
2013-04-19 19:41:05 +02:00
|
|
|
`(("expat" ,expat)
|
2013-09-16 19:00:47 +02:00
|
|
|
|
|
|
|
;; Add a dependency on libx11 so that 'dbus-launch' has support for
|
|
|
|
;; '--autolaunch'.
|
|
|
|
("libx11" ,libx11)))
|
|
|
|
|
2013-01-16 23:01:24 +01:00
|
|
|
(home-page "http://dbus.freedesktop.org/")
|
|
|
|
(synopsis "Message bus for inter-process communication (IPC)")
|
|
|
|
(description
|
|
|
|
"D-Bus is a message bus system, a simple way for applications to
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 06:46:59 +02:00
|
|
|
talk to one another. In addition to interprocess communication, D-Bus
|
2013-01-16 23:01:24 +01:00
|
|
|
helps coordinate process lifecycle; it makes it simple and reliable to
|
|
|
|
code a \"single instance\" application or daemon, and to launch
|
|
|
|
applications and daemons on demand when their services are needed.
|
|
|
|
|
|
|
|
D-Bus supplies both a system daemon (for events such as \"new hardware
|
|
|
|
device added\" or \"printer queue changed\") and a
|
|
|
|
per-user-login-session daemon (for general IPC needs among user
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 06:46:59 +02:00
|
|
|
applications). Also, the message bus is built on top of a general
|
2013-01-16 23:01:24 +01:00
|
|
|
one-to-one message passing framework, which can be used by any two apps
|
|
|
|
to communicate directly (without going through the message bus
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 06:46:59 +02:00
|
|
|
daemon). Currently the communicating applications are on one computer,
|
2013-01-16 23:01:24 +01:00
|
|
|
or through unencrypted TCP/IP suitable for use behind a firewall with
|
|
|
|
shared NFS home directories.")
|
2013-04-19 19:41:05 +02:00
|
|
|
(license license:gpl2+))) ; or Academic Free License 2.1
|
2013-01-15 03:49:01 +01:00
|
|
|
|
2015-10-22 00:25:03 +02:00
|
|
|
(define-public dbus/activation
|
|
|
|
;; D-Bus with a patch to fix service activation.
|
|
|
|
;; TODO: Merge with DBUS above.
|
|
|
|
(package
|
|
|
|
(inherit dbus)
|
|
|
|
(version (string-append (package-version dbus) ".a"))
|
|
|
|
(source (origin
|
|
|
|
(inherit (package-source dbus))
|
|
|
|
(patches
|
|
|
|
(list (search-patch "dbus-helper-search-path.patch")))))))
|
|
|
|
|
2013-09-16 19:00:47 +02:00
|
|
|
(define glib
|
2013-01-15 03:49:01 +01:00
|
|
|
(package
|
|
|
|
(name "glib")
|
2015-10-15 14:50:40 +02:00
|
|
|
(version "2.46.1")
|
2013-01-15 03:49:01 +01:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2013-03-27 15:01:30 +01:00
|
|
|
(uri (string-append "mirror://gnome/sources/"
|
2013-09-30 22:19:35 +02:00
|
|
|
name "/" (string-take version 4) "/"
|
2013-01-16 23:01:24 +01:00
|
|
|
name "-" version ".tar.xz"))
|
2013-01-15 03:49:01 +01:00
|
|
|
(sha256
|
2014-12-03 22:51:41 +01:00
|
|
|
(base32
|
2015-10-15 14:50:40 +02:00
|
|
|
"1yzxr1ip3l0m9ydk5nq32piq70c9f17p5f0jyvlsghzbaawh67ss"))
|
gnu: Use the 'patches' field of <origin>.
* gnu/packages/apr.scm,
gnu/packages/autotools.scm,
gnu/packages/avahi.scm,
gnu/packages/cdrom.scm,
gnu/packages/cmake.scm,
gnu/packages/cpio.scm,
gnu/packages/cross-base.scm,
gnu/packages/emacs.scm,
gnu/packages/flex.scm,
gnu/packages/fontutils.scm,
gnu/packages/glib.scm,
gnu/packages/grub.scm,
gnu/packages/guile.scm,
gnu/packages/idutils.scm,
gnu/packages/libevent.scm,
gnu/packages/linux.scm,
gnu/packages/mail.scm,
gnu/packages/make-bootstrap.scm,
gnu/packages/mp3.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/pdf.scm,
gnu/packages/plotutils.scm,
gnu/packages/qemu.scm,
gnu/packages/recutils.scm,
gnu/packages/rush.scm,
gnu/packages/scheme.scm,
gnu/packages/system.scm,
gnu/packages/tcsh.scm,
gnu/packages/valgrind.scm,
gnu/packages/vpn.scm,
gnu/packages/w3m: Use the 'patches' field of <origin> instead of
adding a patch as input plus using #:patches.
2013-10-09 00:09:04 +02:00
|
|
|
(patches (list (search-patch "glib-tests-homedir.patch")
|
|
|
|
(search-patch "glib-tests-desktop.patch")
|
2014-07-11 00:03:42 +02:00
|
|
|
(search-patch "glib-tests-prlimit.patch")
|
2014-12-03 22:51:18 +01:00
|
|
|
(search-patch "glib-tests-timer.patch")
|
|
|
|
(search-patch "glib-tests-gapplication.patch")))))
|
2013-01-15 03:49:01 +01:00
|
|
|
(build-system gnu-build-system)
|
gnu: glib: Add "bin" output.
Fixes <http://bugs.gnu.org/17853>.
* gnu/packages/glib.scm (glib)[outputs]: Add "bin".
(gobject-introspection)[native-inputs]: New field.
* gnu/packages/avahi.scm (avahi)[native-inputs]: Add glib:bin.
* gnu/packages/gnome.scm (brasero, libgnome-keyring, evince,
gsettings-desktop-schemas, libnotify, gtkglext): Likewise.
* gnu/packages/gstreamer.scm (gstreamer, gst-plugins-base,
gst-plugins-base-0.10): Likewise.
* gnu/packages/gtk.scm (atk, pango, gdk-pixbuf, gtk+-2, gtk+):
Likewise.
* gnu/packages/linux.scm (udev): Likewise.
* gnu/packages/pdf.scm (poppler): Likewise.
2014-06-30 18:05:57 +02:00
|
|
|
(outputs '("out" ; everything
|
|
|
|
"bin" ; glib-mkenums, gtester, etc.; depends on Python
|
|
|
|
"doc")) ; 20 MiB of GTK-Doc reference
|
2013-01-15 03:49:01 +01:00
|
|
|
(inputs
|
|
|
|
`(("coreutils" ,coreutils)
|
|
|
|
("libffi" ,libffi)
|
gnu: Move numerous "inputs" which should be "native-inputs".
* gnu/packages/avahi.scm, gnu/packages/cdrom.scm, gnu/packages/cryptsetup.scm,
gnu/packages/curl.scm, gnu/packages/emacs.scm, gnu/packages/fontutils.scm,
gnu/packages/gdb.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/graphviz.scm,
gnu/packages/groff.scm, gnu/packages/gstreamer.scm, gnu/packages/gtk.scm,
gnu/packages/gv.scm, gnu/packages/imagemagick.scm, gnu/packages/irssi.scm,
gnu/packages/kde.scm, gnu/packages/libcanberra.scm, gnu/packages/libtiff.scm,
gnu/packages/linux.scm, gnu/packages/lvm.scm, gnu/packages/mp3.scm,
gnu/packages/netpbm.scm, gnu/packages/parted.scm, gnu/packages/pdf.scm,
gnu/packages/pulseaudio.scm, gnu/packages/qemu.scm, gnu/packages/qt.scm,
gnu/packages/ratpoison.scm, gnu/packages/rdf.scm, gnu/packages/slim.scm,
gnu/packages/texlive.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/xml.scm, gnu/packages/xnee.scm, gnu/packages/xorg.scm,
gnu/packages/zip.scm: Move some build-time dependencies from `inputs' to
`native-inputs'.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-12-15 12:01:56 +01:00
|
|
|
("zlib" ,zlib)
|
|
|
|
("tzdata" ,tzdata))) ; for tests/gdatetime.c
|
|
|
|
(native-inputs
|
2014-07-02 20:58:02 +02:00
|
|
|
`(("gettext" ,gnu-gettext)
|
gnu: Move numerous "inputs" which should be "native-inputs".
* gnu/packages/avahi.scm, gnu/packages/cdrom.scm, gnu/packages/cryptsetup.scm,
gnu/packages/curl.scm, gnu/packages/emacs.scm, gnu/packages/fontutils.scm,
gnu/packages/gdb.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/graphviz.scm,
gnu/packages/groff.scm, gnu/packages/gstreamer.scm, gnu/packages/gtk.scm,
gnu/packages/gv.scm, gnu/packages/imagemagick.scm, gnu/packages/irssi.scm,
gnu/packages/kde.scm, gnu/packages/libcanberra.scm, gnu/packages/libtiff.scm,
gnu/packages/linux.scm, gnu/packages/lvm.scm, gnu/packages/mp3.scm,
gnu/packages/netpbm.scm, gnu/packages/parted.scm, gnu/packages/pdf.scm,
gnu/packages/pulseaudio.scm, gnu/packages/qemu.scm, gnu/packages/qt.scm,
gnu/packages/ratpoison.scm, gnu/packages/rdf.scm, gnu/packages/slim.scm,
gnu/packages/texlive.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/xml.scm, gnu/packages/xnee.scm, gnu/packages/xorg.scm,
gnu/packages/zip.scm: Move some build-time dependencies from `inputs' to
`native-inputs'.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-12-15 12:01:56 +01:00
|
|
|
("dbus" ,dbus) ; for GDBus tests
|
2013-01-15 03:49:01 +01:00
|
|
|
("pkg-config" ,pkg-config)
|
gnu: python: Replace input python by python-wrapper.
* gnu/packages/{gdb.scm (gdb), cryptsetup.scm (cryptsetup),
ghostscript.scm (ghostscript), glib.scm (glib), gnupg.scm (pius),
gtk.scm (cairo, harfbuzz), libevent.scm (libevent), netpbm.scm (netpbm),
oggvorbis.scm (libkate), qemu.scm (qemu), samba.scm (samba),
texlive.scm (rubber, texlive), version-control.scm (subversion),
xml.scm (libxml2, libxslt), xorg.scm (libxcb, mesa, xcb-proto, xorg-server),
yasm.scm (yasm), zip.scm (zziplib)}:
Replace input python by python-wrapper.
2013-09-03 22:18:39 +02:00
|
|
|
("python" ,python-wrapper)
|
2013-01-16 23:01:24 +01:00
|
|
|
("perl" ,perl) ; needed by GIO tests
|
gnu: Move numerous "inputs" which should be "native-inputs".
* gnu/packages/avahi.scm, gnu/packages/cdrom.scm, gnu/packages/cryptsetup.scm,
gnu/packages/curl.scm, gnu/packages/emacs.scm, gnu/packages/fontutils.scm,
gnu/packages/gdb.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/graphviz.scm,
gnu/packages/groff.scm, gnu/packages/gstreamer.scm, gnu/packages/gtk.scm,
gnu/packages/gv.scm, gnu/packages/imagemagick.scm, gnu/packages/irssi.scm,
gnu/packages/kde.scm, gnu/packages/libcanberra.scm, gnu/packages/libtiff.scm,
gnu/packages/linux.scm, gnu/packages/lvm.scm, gnu/packages/mp3.scm,
gnu/packages/netpbm.scm, gnu/packages/parted.scm, gnu/packages/pdf.scm,
gnu/packages/pulseaudio.scm, gnu/packages/qemu.scm, gnu/packages/qt.scm,
gnu/packages/ratpoison.scm, gnu/packages/rdf.scm, gnu/packages/slim.scm,
gnu/packages/texlive.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/xml.scm, gnu/packages/xnee.scm, gnu/packages/xorg.scm,
gnu/packages/zip.scm: Move some build-time dependencies from `inputs' to
`native-inputs'.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-12-15 12:01:56 +01:00
|
|
|
("bash" ,bash)))
|
2013-01-16 23:01:24 +01:00
|
|
|
(arguments
|
gnu: Use the 'patches' field of <origin>.
* gnu/packages/apr.scm,
gnu/packages/autotools.scm,
gnu/packages/avahi.scm,
gnu/packages/cdrom.scm,
gnu/packages/cmake.scm,
gnu/packages/cpio.scm,
gnu/packages/cross-base.scm,
gnu/packages/emacs.scm,
gnu/packages/flex.scm,
gnu/packages/fontutils.scm,
gnu/packages/glib.scm,
gnu/packages/grub.scm,
gnu/packages/guile.scm,
gnu/packages/idutils.scm,
gnu/packages/libevent.scm,
gnu/packages/linux.scm,
gnu/packages/mail.scm,
gnu/packages/make-bootstrap.scm,
gnu/packages/mp3.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/pdf.scm,
gnu/packages/plotutils.scm,
gnu/packages/qemu.scm,
gnu/packages/recutils.scm,
gnu/packages/rush.scm,
gnu/packages/scheme.scm,
gnu/packages/system.scm,
gnu/packages/tcsh.scm,
gnu/packages/valgrind.scm,
gnu/packages/vpn.scm,
gnu/packages/w3m: Use the 'patches' field of <origin> instead of
adding a patch as input plus using #:patches.
2013-10-09 00:09:04 +02:00
|
|
|
'(#:phases (alist-cons-before
|
2013-01-16 23:01:24 +01:00
|
|
|
'build 'pre-build
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
2013-06-08 18:41:21 +02:00
|
|
|
;; For tests/gdatetime.c.
|
|
|
|
(setenv "TZDIR"
|
|
|
|
(string-append (assoc-ref inputs "tzdata")
|
|
|
|
"/share/zoneinfo"))
|
|
|
|
|
|
|
|
;; Some tests want write access there.
|
|
|
|
(setenv "XDG_CACHE_HOME" (getcwd))
|
|
|
|
|
2013-01-16 23:01:24 +01:00
|
|
|
(substitute* '("glib/gspawn.c"
|
|
|
|
"glib/tests/utils.c"
|
|
|
|
"tests/spawn-test.c")
|
2013-06-08 18:41:21 +02:00
|
|
|
(("/bin/sh")
|
2014-12-19 19:52:45 +01:00
|
|
|
(string-append (assoc-ref inputs "bash") "/bin/sh")))
|
|
|
|
|
|
|
|
;; Disable a test that requires dbus.
|
|
|
|
(substitute* "gio/tests/gdbus-serialization.c"
|
|
|
|
(("g_test_add_func \\(\"/gdbus/message-serialize/double-array\", test_double_array\\);" all)
|
|
|
|
(string-append "/* " all " */"))))
|
2013-01-16 23:01:24 +01:00
|
|
|
%standard-phases)
|
|
|
|
|
|
|
|
;; Note: `--docdir' and `--htmldir' are not honored, so work around it.
|
|
|
|
#:configure-flags (list (string-append "--with-html-dir="
|
|
|
|
(assoc-ref %outputs "doc")
|
2015-04-14 09:40:58 +02:00
|
|
|
"/share/gtk-doc/html"))
|
2014-01-20 01:06:22 +01:00
|
|
|
|
|
|
|
;; In 'gio/tests', 'gdbus-test-codegen-generated.h' is #included in a
|
|
|
|
;; file that gets compiled possibly before it has been fully generated.
|
|
|
|
#:parallel-tests? #f))
|
2014-05-06 23:10:11 +02:00
|
|
|
|
|
|
|
(native-search-paths
|
|
|
|
;; This variable is not really "owned" by GLib, but several related
|
|
|
|
;; packages refer to it: gobject-introspection's tools use it as a search
|
|
|
|
;; path for .gir files, and it's also a search path for schemas produced
|
|
|
|
;; by 'glib-compile-schemas'.
|
|
|
|
(list (search-path-specification
|
|
|
|
(variable "XDG_DATA_DIRS")
|
2015-04-05 17:10:19 +02:00
|
|
|
(files '("share")))
|
|
|
|
;; To load extra gio modules from glib-networking, etc.
|
|
|
|
(search-path-specification
|
|
|
|
(variable "GIO_EXTRA_MODULES")
|
|
|
|
(files '("lib/gio/modules")))))
|
2014-05-06 23:10:11 +02:00
|
|
|
(search-paths native-search-paths)
|
|
|
|
|
gnu: Use synopses from the Womb.
* gnu/packages/algebra.scm,
gnu/packages/aspell.scm,
gnu/packages/autotools.scm,
gnu/packages/base.scm,
gnu/packages/bash.scm,
gnu/packages/bison.scm,
gnu/packages/cdrom.scm,
gnu/packages/cflow.scm,
gnu/packages/compression.scm,
gnu/packages/cpio.scm,
gnu/packages/cppi.scm,
gnu/packages/ddrescue.scm,
gnu/packages/dejagnu.scm,
gnu/packages/ed.scm,
gnu/packages/emacs.scm,
gnu/packages/fdisk.scm,
gnu/packages/gawk.scm,
gnu/packages/gcc.scm,
packages/gcc.scm, b/gnu/packages/gcc.scm,
4b982 100644
s/gcc.scm,
s/gcc.scm,
@@
%standard-phases)))))
`((gcc-libc . ,(assoc-ref inputs "libc"))))
The GNU Compiler Collection")
GNU Compiler Collection")
n
ompiler Collection includes compiler front ends for C, C++,
tran, OpenMP for C/C++/Fortran, Java, and Ada, as well as
gnu/packages/gdb.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/glib.scm,
gnu/packages/global.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm,
gnu/packages/gperf.scm,
gnu/packages/gprolog.scm,
gnu/packages/groff.scm,
gnu/packages/grub.scm,
gnu/packages/gsasl.scm,
gnu/packages/guile.scm,
gnu/packages/help2man.scm,
gnu/packages/idutils.scm,
gnu/packages/indent.scm,
gnu/packages/less.scm,
gnu/packages/libidn.scm,
gnu/packages/libsigsegv.scm,
gnu/packages/libunistring.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mailutils.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/shishi.scm,
gnu/packages/smalltalk.scm,
gnu/packages/system.scm,
gnu/packages/texinfo.scm,
gnu/packages/time.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm: Use synopses from the Womb.
2013-04-17 18:04:25 +02:00
|
|
|
(synopsis "Thread-safe general utility library; basis of GTK+ and GNOME")
|
2013-01-15 03:49:01 +01:00
|
|
|
(description
|
|
|
|
"GLib provides data structure handling for C, portability wrappers,
|
|
|
|
and interfaces for such runtime functionality as an event loop, threads,
|
|
|
|
dynamic loading, and an object system.")
|
|
|
|
(home-page "http://developer.gnome.org/glib/")
|
2013-04-19 19:41:05 +02:00
|
|
|
(license license:lgpl2.0+))) ; some files are under lgpl2.1+
|
2013-03-05 10:16:17 +01:00
|
|
|
|
2013-10-05 23:45:35 +02:00
|
|
|
(define gobject-introspection
|
2013-09-29 17:24:31 +02:00
|
|
|
(package
|
|
|
|
(name "gobject-introspection")
|
2015-10-15 16:03:14 +02:00
|
|
|
(version "1.46.0")
|
2013-09-29 17:24:31 +02:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2015-04-20 11:57:52 +02:00
|
|
|
(uri (string-append "mirror://gnome/sources/"
|
2014-12-09 13:31:17 +01:00
|
|
|
"gobject-introspection/" (version-major+minor version)
|
|
|
|
"/gobject-introspection-" version ".tar.xz"))
|
2013-09-29 17:24:31 +02:00
|
|
|
(sha256
|
2015-10-15 16:03:14 +02:00
|
|
|
(base32 "0cs27r18fga44ypp8icy62fwx6nh70r1bvhi4lzfn4w85cybsn36"))
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
(snippet
|
|
|
|
'(substitute* "tools/g-ir-tool-template.in"
|
|
|
|
(("#!/usr/bin/env @PYTHON@") "#!@PYTHON@")))
|
2015-02-27 23:53:57 +01:00
|
|
|
(patches (list
|
2014-12-09 13:31:17 +01:00
|
|
|
(search-patch "gobject-introspection-cc.patch")
|
2015-01-21 13:46:52 +01:00
|
|
|
(search-patch
|
|
|
|
"gobject-introspection-girepository.patch")
|
2015-02-27 23:53:57 +01:00
|
|
|
(search-patch
|
2014-12-09 13:31:17 +01:00
|
|
|
"gobject-introspection-absolute-shlib-path.patch")))))
|
2013-09-29 17:24:31 +02:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(inputs
|
|
|
|
`(("bison" ,bison)
|
|
|
|
("cairo" ,cairo)
|
|
|
|
("flex" ,flex)
|
|
|
|
("glib" ,glib)
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
("python-2" ,python-2)))
|
gnu: glib: Add "bin" output.
Fixes <http://bugs.gnu.org/17853>.
* gnu/packages/glib.scm (glib)[outputs]: Add "bin".
(gobject-introspection)[native-inputs]: New field.
* gnu/packages/avahi.scm (avahi)[native-inputs]: Add glib:bin.
* gnu/packages/gnome.scm (brasero, libgnome-keyring, evince,
gsettings-desktop-schemas, libnotify, gtkglext): Likewise.
* gnu/packages/gstreamer.scm (gstreamer, gst-plugins-base,
gst-plugins-base-0.10): Likewise.
* gnu/packages/gtk.scm (atk, pango, gdk-pixbuf, gtk+-2, gtk+):
Likewise.
* gnu/packages/linux.scm (udev): Likewise.
* gnu/packages/pdf.scm (poppler): Likewise.
2014-06-30 18:05:57 +02:00
|
|
|
(native-inputs
|
|
|
|
`(("glib" ,glib "bin")))
|
2013-10-15 00:14:34 +02:00
|
|
|
(propagated-inputs
|
|
|
|
`(;; In practice, GIR users will need libffi when using
|
|
|
|
;; gobject-introspection.
|
|
|
|
("libffi" ,libffi)))
|
2014-12-09 13:43:03 +01:00
|
|
|
(native-search-paths
|
|
|
|
(list (search-path-specification
|
|
|
|
(variable "GI_TYPELIB_PATH")
|
packages: Add 'file-type' field to 'search-path-specification'.
Fixes <http://bugs.gnu.org/18033>.
* guix/packages.scm (<search-path-specification>): Rename 'directories'
field to 'files'. Add 'file-type'.
(search-path-specification->sexp): Honor 'file-type'.
* gnu/packages/autotools.scm, gnu/packages/bootstrap.scm,
gnu/packages/cross-base.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/glib.scm,
gnu/packages/guile.scm, gnu/packages/man.scm,
gnu/packages/perl.scm, gnu/packages/pkg-config.scm,
gnu/packages/python.scm, gnu/packages/ruby.scm,
gnu/packages/xfce.scm: Change 'directories' to 'files'.
* tests/packages.scm ("search paths"): Change 'directories' field to
'files'.
* guix/scripts/environment.scm (for-each-search-path): Likewise.
2014-12-27 23:22:08 +01:00
|
|
|
(files '("lib/girepository-1.0")))))
|
2014-12-09 13:43:03 +01:00
|
|
|
(search-paths native-search-paths)
|
2013-09-29 17:24:31 +02:00
|
|
|
(arguments
|
2014-12-09 13:31:17 +01:00
|
|
|
`(;; The patch 'gobject-introspection-absolute-shlib-path.patch' causes
|
|
|
|
;; some tests to fail.
|
2015-04-20 11:57:52 +02:00
|
|
|
#:tests? #f))
|
2013-09-29 17:24:31 +02:00
|
|
|
(home-page "https://wiki.gnome.org/GObjectIntrospection")
|
|
|
|
(synopsis "Generate interface introspection data for GObject libraries")
|
|
|
|
(description
|
|
|
|
"GObject introspection is a middleware layer between C libraries (using
|
|
|
|
GObject) and language bindings. The C library can be scanned at compile time
|
|
|
|
and generate a metadata file, in addition to the actual native C library. Then
|
|
|
|
at runtime, language bindings can read this metadata and automatically provide
|
|
|
|
bindings to call into the C library.")
|
|
|
|
; Some bits are distributed under the LGPL2+, others under the GPL2+
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
2013-09-16 19:00:47 +02:00
|
|
|
(define intltool
|
2013-03-05 10:16:17 +01:00
|
|
|
(package
|
|
|
|
(name "intltool")
|
2015-10-15 16:04:13 +02:00
|
|
|
(version "0.51.0")
|
2013-03-05 10:16:17 +01:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2013-04-19 19:41:05 +02:00
|
|
|
(uri (string-append "https://launchpad.net/intltool/trunk/"
|
|
|
|
version "/+download/intltool-"
|
|
|
|
version ".tar.gz"))
|
2013-03-05 10:16:17 +01:00
|
|
|
(sha256
|
|
|
|
(base32
|
2015-10-15 16:04:13 +02:00
|
|
|
"1karx4sb7bnm2j67q0q74hspkfn6lqprpy5r99vkn5bb36a4viv7"))))
|
2013-03-05 10:16:17 +01:00
|
|
|
(build-system gnu-build-system)
|
2014-11-13 19:46:04 +01:00
|
|
|
(inputs
|
|
|
|
`(("file" ,file)))
|
2013-03-05 10:16:17 +01:00
|
|
|
(propagated-inputs
|
2013-04-21 11:27:37 +02:00
|
|
|
`(;; Propagate gettext because users expect it to be there, and so does
|
|
|
|
;; the `intltool-update' script.
|
gnu: gettext: Rename binding to 'gnu-gettext'.
* gnu/packages/gettext.scm (gettext): Rename to...
(gnu-gettext): ... this. This is used to work around the circular
dependency introduced in commit c42a4b7, which users with a #:renamer
cannot cope with.
* gnu/packages/acl.scm, gnu/packages/attr.scm, gnu/packages/cdrom.scm,
gnu/packages/fdisk.scm, gnu/packages/gkrellm.scm, gnu/packages/glib.scm,
gnu/packages/gnunet.scm, gnu/packages/grub.scm, gnu/packages/linux.scm,
gnu/packages/maths.scm, gnu/packages/nano.scm, gnu/packages/parted.scm,
gnu/packages/system.scm, gnu/packages/version-control.scm,
gnu/packages/vpn.scm, gnu/packages/w3m.scm, gnu/packages/wget.scm:
Adjust accordingly.
2013-11-20 22:12:49 +01:00
|
|
|
("gettext" ,gnu-gettext)
|
2013-04-21 11:27:37 +02:00
|
|
|
|
2013-04-21 21:09:49 +02:00
|
|
|
("perl-xml-parser" ,perl-xml-parser)
|
2013-04-21 11:27:37 +02:00
|
|
|
("perl" ,perl)))
|
2014-11-13 19:46:04 +01:00
|
|
|
(arguments
|
|
|
|
`(#:phases (alist-cons-after
|
|
|
|
'unpack 'patch-file-references
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
(let ((file (assoc-ref inputs "file")))
|
|
|
|
(substitute* "intltool-update.in"
|
|
|
|
(("`file") (string-append "`" file "/bin/file")))))
|
|
|
|
%standard-phases)))
|
2013-04-19 19:41:05 +02:00
|
|
|
(home-page "https://launchpad.net/intltool/+download")
|
|
|
|
(synopsis "Tools to centralise translations of different file formats")
|
2013-03-05 10:16:17 +01:00
|
|
|
(description
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 06:46:59 +02:00
|
|
|
"Intltool is a set of tools to centralise translations of many different
|
2013-03-05 10:16:17 +01:00
|
|
|
file formats using GNU gettext-compatible PO files.
|
|
|
|
|
|
|
|
The intltool collection can be used to do these things:
|
|
|
|
|
|
|
|
Extract translatable strings from various source files (.xml.in,
|
|
|
|
glade, .desktop.in, .server.in, .oaf.in).
|
|
|
|
|
|
|
|
Collect the extracted strings together with messages from traditional
|
|
|
|
source files (.c, .h) in po/$(PACKAGE).pot.
|
|
|
|
|
|
|
|
Merge back the translations from .po files into .xml, .desktop and
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 06:46:59 +02:00
|
|
|
oaf files. This merge step will happen at build resp. installation time.")
|
2013-04-19 19:41:05 +02:00
|
|
|
(license license:gpl2+)))
|
2013-08-31 12:46:08 +02:00
|
|
|
|
2013-09-16 19:00:47 +02:00
|
|
|
(define itstool
|
2013-09-04 19:21:38 +02:00
|
|
|
(package
|
|
|
|
(name "itstool")
|
2015-04-20 12:04:38 +02:00
|
|
|
(version "2.0.2")
|
2013-09-04 19:21:38 +02:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "http://files.itstool.org/itstool/itstool-"
|
|
|
|
version ".tar.bz2"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2015-04-20 12:04:38 +02:00
|
|
|
"0fh34wi52i0qikgvlmrcpf1vx6gc1xqdad4539l4d9hikfsrz45z"))))
|
2013-09-04 19:21:38 +02:00
|
|
|
(build-system gnu-build-system)
|
2015-08-20 10:36:25 +02:00
|
|
|
(inputs
|
2013-10-02 14:33:48 +02:00
|
|
|
`(("libxml2" ,libxml2)
|
2015-06-20 04:53:39 +02:00
|
|
|
("python2-libxml2" ,python2-libxml2)
|
2013-10-02 14:33:48 +02:00
|
|
|
("python-2" ,python-2)))
|
2015-08-20 10:36:25 +02:00
|
|
|
(arguments
|
|
|
|
'(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after
|
|
|
|
'install 'wrap-program
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let ((prog (string-append (assoc-ref outputs "out")
|
|
|
|
"/bin/itstool")))
|
|
|
|
(wrap-program prog
|
|
|
|
`("PYTHONPATH" = (,(getenv "PYTHONPATH"))))))))))
|
2013-09-04 19:21:38 +02:00
|
|
|
(home-page "http://www.itstool.org")
|
|
|
|
(synopsis "Tool to translate XML documents with PO files")
|
|
|
|
(description
|
|
|
|
"ITS Tool allows you to translate your XML documents with PO files, using
|
|
|
|
rules from the W3C Internationalization Tag Set (ITS) to determine what to
|
|
|
|
translate and how to separate it into PO file messages.
|
|
|
|
|
|
|
|
PO files are the standard translation format for GNU and other Unix-like
|
|
|
|
systems. They present translatable information as discrete messages, allowing
|
|
|
|
each message to be translated independently. In contrast to whole-page
|
|
|
|
translation, translating with a message-based format like PO means you can
|
|
|
|
easily track changes to the source document down to the paragraph. When new
|
|
|
|
strings are added or existing strings are modified, you only need to update the
|
|
|
|
corresponding messages.
|
|
|
|
|
|
|
|
ITS Tool is designed to make XML documents translatable through PO files by
|
|
|
|
applying standard ITS rules, as well as extension rules specific to ITS Tool.
|
|
|
|
ITS also provides an industry standard way for authors to override translation
|
|
|
|
information in their documents, such as whether a particular element should be
|
|
|
|
translated.")
|
2013-09-07 09:44:57 +02:00
|
|
|
(license license:gpl3+)))
|
2013-09-04 19:21:38 +02:00
|
|
|
|
2013-09-16 19:00:47 +02:00
|
|
|
(define dbus-glib
|
2013-08-31 12:46:08 +02:00
|
|
|
(package
|
|
|
|
(name "dbus-glib")
|
2015-04-20 12:05:22 +02:00
|
|
|
(version "0.104")
|
2013-08-31 12:46:08 +02:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri
|
|
|
|
(string-append "http://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2015-04-20 12:05:22 +02:00
|
|
|
"1xi1v1msz75qs0s4lkyf1psrksdppa3hwkg0mznc6gpw5flg3hdz"))))
|
2013-08-31 12:46:08 +02:00
|
|
|
(build-system gnu-build-system)
|
2015-05-23 16:43:18 +02:00
|
|
|
(propagated-inputs ; according to dbus-glib-1.pc
|
2013-08-31 12:46:08 +02:00
|
|
|
`(("dbus" ,dbus)
|
2014-07-02 11:42:17 +02:00
|
|
|
("glib" ,glib)))
|
2015-05-23 16:43:18 +02:00
|
|
|
(inputs
|
|
|
|
`(("expat" ,expat)))
|
2014-07-02 11:42:17 +02:00
|
|
|
(native-inputs
|
|
|
|
`(("glib" ,glib "bin")
|
2013-08-31 12:46:08 +02:00
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
(home-page "http://dbus.freedesktop.org/doc/dbus-glib/")
|
|
|
|
(synopsis "D-Bus GLib bindings")
|
|
|
|
(description
|
|
|
|
"GLib bindings for D-Bus. The package is obsolete and superseded
|
|
|
|
by GDBus included in Glib.")
|
|
|
|
(license license:gpl2))) ; or Academic Free License 2.1
|
2013-10-06 00:24:06 +02:00
|
|
|
|
|
|
|
(define libsigc++
|
|
|
|
(package
|
|
|
|
(name "libsigc++")
|
2015-10-15 16:06:02 +02:00
|
|
|
(version "2.6.1")
|
2013-10-06 00:24:06 +02:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2015-04-20 12:06:26 +02:00
|
|
|
(uri (string-append "mirror://gnome/sources/libsigc++/"
|
|
|
|
(version-major+minor version) "/"
|
|
|
|
name "-" version ".tar.xz"))
|
2013-10-06 00:24:06 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
2015-10-15 16:06:02 +02:00
|
|
|
"06xyvxaaxh3nbpjg86gcq5zcc2qnpx354wcfrqlhbndkq5kj2vqq"))))
|
2013-10-06 00:24:06 +02:00
|
|
|
(build-system gnu-build-system)
|
2014-11-07 13:49:37 +01:00
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)
|
|
|
|
("m4" ,m4)))
|
2013-10-06 00:24:06 +02:00
|
|
|
(home-page "http://libsigc.sourceforge.net/")
|
|
|
|
(synopsis "Type-safe callback system for standard C++")
|
|
|
|
(description
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 06:46:59 +02:00
|
|
|
"Libsigc++ implements a type-safe callback system for standard C++. It
|
2013-10-06 00:24:06 +02:00
|
|
|
allows you to define signals and to connect those signals to any callback
|
|
|
|
function, either global or a member function, regardless of whether it is
|
|
|
|
static or virtual.
|
|
|
|
|
|
|
|
It also contains adaptor classes for connection of dissimilar callbacks and
|
|
|
|
has an ease of use unmatched by other C++ callback libraries.")
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
|
|
(define glibmm
|
|
|
|
(package
|
|
|
|
(name "glibmm")
|
2015-10-15 16:06:49 +02:00
|
|
|
(version "2.46.1")
|
2013-10-06 00:24:06 +02:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2014-12-19 19:55:04 +01:00
|
|
|
(uri (string-append "mirror://gnome/sources/glibmm/"
|
|
|
|
(version-major+minor version)
|
|
|
|
"/glibmm-" version ".tar.xz"))
|
2013-10-06 00:24:06 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
2015-10-15 16:06:49 +02:00
|
|
|
"1an4v1yk06svlmcyp1psk2a3bsn29s1a4gdx0ai2w788q6bfaiwn"))))
|
2013-10-06 00:24:06 +02:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:phases (alist-cons-before
|
|
|
|
'build 'pre-build
|
|
|
|
(lambda _
|
|
|
|
;; This test uses /etc/fstab as an example file to read
|
|
|
|
;; from; choose a better example.
|
|
|
|
(substitute* "tests/giomm_simple/main.cc"
|
|
|
|
(("/etc/fstab")
|
|
|
|
(string-append (getcwd)
|
|
|
|
"/tests/giomm_simple/main.cc")))
|
|
|
|
|
|
|
|
;; This test does a DNS lookup, and then expects to be able
|
|
|
|
;; to open a TLS session; just skip it.
|
|
|
|
(substitute* "tests/giomm_tls_client/main.cc"
|
|
|
|
(("Gio::init.*$")
|
|
|
|
"return 77;\n")))
|
|
|
|
%standard-phases)))
|
2014-11-07 13:49:37 +01:00
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)
|
|
|
|
("glib" ,glib "bin")))
|
2013-10-06 00:24:06 +02:00
|
|
|
(propagated-inputs
|
|
|
|
`(("libsigc++" ,libsigc++)
|
|
|
|
("glib" ,glib)))
|
|
|
|
(home-page "http://gtkmm.org/")
|
|
|
|
(synopsis "C++ interface to the GLib library")
|
|
|
|
(description
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 06:46:59 +02:00
|
|
|
"Glibmm provides a C++ programming interface to the part of GLib that are
|
2013-10-06 00:24:06 +02:00
|
|
|
useful for C++.")
|
|
|
|
(license license:lgpl2.1+)))
|
2014-11-19 01:57:41 +01:00
|
|
|
|
|
|
|
(define-public python2-pygobject-2
|
|
|
|
(package
|
|
|
|
(name "python2-pygobject")
|
|
|
|
;; This was the last version to declare the 2.0 platform number, i.e. its
|
|
|
|
;; pkg-config files were named pygobject-2.0.pc
|
|
|
|
(version "2.28.6")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://gnome/sources/pygobject/"
|
|
|
|
(version-major+minor version)
|
|
|
|
"/pygobject-" version ".tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1f5dfxjnil2glfwxnqr14d2cjfbkghsbsn8n04js2c2icr7iv2pv"))
|
|
|
|
(patches
|
|
|
|
(list (search-patch
|
|
|
|
"python2-pygobject-2-gi-info-type-error-domain.patch")))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("which" ,which)
|
|
|
|
("glib-bin" ,glib "bin") ;for tests: glib-compile-schemas
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
("dbus" ,dbus))) ;for tests
|
|
|
|
(inputs
|
|
|
|
`(("python" ,python-2)
|
|
|
|
("glib" ,glib)
|
2015-02-27 23:53:57 +01:00
|
|
|
("python2-pycairo" ,python2-pycairo)
|
2014-11-19 01:57:41 +01:00
|
|
|
("gobject-introspection" ,gobject-introspection)))
|
|
|
|
(propagated-inputs
|
|
|
|
`(("libffi" ,libffi))) ;mentioned in pygobject-2.0.pc
|
|
|
|
(arguments
|
|
|
|
`(#:tests? #f ;segfaults during tests
|
|
|
|
#:configure-flags '("LIBS=-lcairo-gobject")))
|
|
|
|
(home-page "https://pypi.python.org/pypi/PyGObject")
|
|
|
|
(synopsis "Python bindings for GObject")
|
|
|
|
(description
|
|
|
|
"Python bindings for GLib, GObject, and GIO.")
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
|
|
(define-public python-pygobject
|
|
|
|
(package
|
|
|
|
(name "python-pygobject")
|
2015-10-15 16:07:41 +02:00
|
|
|
(version "3.18.0")
|
2014-11-19 01:57:41 +01:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://gnome/sources/pygobject/"
|
|
|
|
(version-major+minor version)
|
|
|
|
"/pygobject-" version ".tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2015-10-15 16:07:41 +02:00
|
|
|
"1jbd2m39vcjh5h3m33l0317ziq8dxfzi40r6hrfcs4rp5l8s2fqw"))))
|
2014-11-19 01:57:41 +01:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("which" ,which)
|
|
|
|
("glib-bin" ,glib "bin") ;for tests: glib-compile-schemas
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
(inputs
|
|
|
|
`(("python" ,python)
|
|
|
|
("glib" ,glib)
|
|
|
|
("python-pycairo" ,python-pycairo)
|
|
|
|
("gobject-introspection" ,gobject-introspection)
|
|
|
|
("libffi" ,libffi)))
|
|
|
|
(arguments
|
|
|
|
;; TODO: failing tests: test_native_calls_async
|
|
|
|
;; test_native_calls_async_errors test_native_calls_sync
|
|
|
|
;; test_native_calls_sync_errors test_python_calls_async
|
|
|
|
;; test_python_calls_async_error test_python_calls_async_error_result
|
|
|
|
;; test_python_calls_sync test_python_calls_sync_errors
|
|
|
|
;; test_python_calls_sync_noargs test_callback_user_data_middle_none
|
|
|
|
;; test_callback_user_data_middle_single
|
|
|
|
;; test_callback_user_data_middle_tuple
|
|
|
|
'(#:tests? #f))
|
2015-03-16 07:50:32 +01:00
|
|
|
(home-page "https://live.gnome.org/PyGObject")
|
2014-11-19 01:57:41 +01:00
|
|
|
(synopsis "Python bindings for GObject")
|
|
|
|
(description
|
|
|
|
"Python bindings for GLib, GObject, and GIO.")
|
|
|
|
(license license:lgpl2.1+)))
|
2015-01-18 22:36:26 +01:00
|
|
|
|
2015-03-16 07:52:40 +01:00
|
|
|
(define-public python2-pygobject
|
|
|
|
(package (inherit python-pygobject)
|
|
|
|
(name "python2-pygobject")
|
|
|
|
(inputs
|
|
|
|
`(("python" ,python-2)
|
|
|
|
("glib" ,glib)
|
|
|
|
("python-pycairo" ,python2-pycairo)
|
|
|
|
("gobject-introspection" ,gobject-introspection)
|
|
|
|
("libffi" ,libffi)))))
|
|
|
|
|
2015-01-18 22:36:26 +01:00
|
|
|
(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
|
2015-10-30 13:31:27 +01:00
|
|
|
"1symyzbjmxvksn2ifdkk50lafjm2llf2sbmky062gq2pz3cg23cy"))
|
|
|
|
(patches
|
|
|
|
(list
|
|
|
|
;; Don't use the same test name for multiple tests.
|
|
|
|
;; <https://bugs.freedesktop.org/show_bug.cgi?id=92245>
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri "https://bugs.freedesktop.org/attachment.cgi?id=118608")
|
|
|
|
(file-name (string-append "telepathy-glib-duplicate-tests.patch"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0z261fwrszxb28ccg3hsg9rizig4s84zvwmx6y31a4pyv7bvs5w3")))))))
|
2015-01-18 22:36:26 +01:00
|
|
|
(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+)))
|