2013-01-14 21:49:01 -05:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2020-11-19 16:24:57 -05:00
|
|
|
|
;;; Copyright © 2013, 2014, 2015, 2016, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
|
2015-01-18 16:36:26 -05:00
|
|
|
|
;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
|
2013-04-19 13:41:05 -04:00
|
|
|
|
;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
|
gnu: glib: Fix CVE-2021-27218 and CVE-2021-27219.
* gnu/packages/patches/glib-CVE-2021-27218.patch,
gnu/packages/patches/glib-CVE-2021-27219-01.patch,
gnu/packages/patches/glib-CVE-2021-27219-02.patch,
gnu/packages/patches/glib-CVE-2021-27219-03.patch,
gnu/packages/patches/glib-CVE-2021-27219-04.patch,
gnu/packages/patches/glib-CVE-2021-27219-05.patch,
gnu/packages/patches/glib-CVE-2021-27219-06.patch,
gnu/packages/patches/glib-CVE-2021-27219-07.patch,
gnu/packages/patches/glib-CVE-2021-27219-08.patch,
gnu/packages/patches/glib-CVE-2021-27219-09.patch,
gnu/packages/patches/glib-CVE-2021-27219-10.patch,
gnu/packages/patches/glib-CVE-2021-27219-11.patch,
gnu/packages/patches/glib-CVE-2021-27219-12.patch,
gnu/packages/patches/glib-CVE-2021-27219-13.patch,
gnu/packages/patches/glib-CVE-2021-27219-14.patch,
gnu/packages/patches/glib-CVE-2021-27219-15.patch,
gnu/packages/patches/glib-CVE-2021-27219-16.patch,
gnu/packages/patches/glib-CVE-2021-27219-17.patch,
gnu/packages/patches/glib-CVE-2021-27219-18.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/glib.scm (glib)[replacement]: New field.
(glib/fixed): New variable.
2021-03-11 05:34:28 -05:00
|
|
|
|
;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2021 Mark H Weaver <mhw@netris.org>
|
2020-04-26 03:22:14 -04:00
|
|
|
|
;;; Copyright © 2016, 2020 Efraim Flashner <efraim@flashner.co.il>
|
2016-07-21 09:39:54 -04:00
|
|
|
|
;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org>
|
2019-09-19 06:33:35 -04:00
|
|
|
|
;;; Copyright © 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
|
2017-10-25 02:26:14 -04:00
|
|
|
|
;;; Copyright © 2017 Petter <petter@mykolab.ch>
|
2019-03-14 18:51:04 -04:00
|
|
|
|
;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
|
2018-02-24 17:49:54 -05:00
|
|
|
|
;;; Copyright © 2018 Alex Vong <alexvong1995@gmail.com>
|
2021-02-20 14:55:37 -05:00
|
|
|
|
;;; Copyright © 2019, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
2019-08-19 19:12:11 -04:00
|
|
|
|
;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
|
2020-01-16 03:26:09 -05:00
|
|
|
|
;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com>
|
2020-05-14 11:57:31 -04:00
|
|
|
|
;;; Copyright © 2020 Nicolò Balzarotti <nicolo@nixo.xyz>
|
2020-10-23 08:40:20 -04:00
|
|
|
|
;;; Copyright © 2020 Arthur Margerit <ruhtra.mar@gmail.com>
|
2013-01-14 21:49:01 -05: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 17:01:24 -05:00
|
|
|
|
(define-module (gnu packages glib)
|
|
|
|
|
#:use-module (gnu packages)
|
2016-09-07 15:13:06 -04:00
|
|
|
|
#:use-module (gnu packages backup)
|
2018-01-17 16:39:08 -05:00
|
|
|
|
#:use-module (gnu packages base)
|
2013-09-29 11:24:31 -04:00
|
|
|
|
#:use-module (gnu packages bison)
|
2018-05-29 16:43:00 -04:00
|
|
|
|
#:use-module (gnu packages check)
|
2013-01-16 17:01:24 -05:00
|
|
|
|
#:use-module (gnu packages compression)
|
2019-01-10 07:35:38 -05:00
|
|
|
|
#:use-module (gnu packages docbook)
|
|
|
|
|
#:use-module (gnu packages documentation)
|
2016-07-21 09:39:54 -04:00
|
|
|
|
#:use-module (gnu packages enlightenment)
|
2018-01-17 16:39:08 -05:00
|
|
|
|
#:use-module (gnu packages file)
|
2013-09-29 11:24:31 -04: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 16:12:49 -05:00
|
|
|
|
#:use-module (gnu packages gettext)
|
2016-03-05 00:19:01 -05:00
|
|
|
|
#:use-module (gnu packages gnome)
|
2018-01-18 20:52:24 -05:00
|
|
|
|
#:use-module (gnu packages gperf)
|
2013-09-29 11:24:31 -04:00
|
|
|
|
#:use-module (gnu packages gtk)
|
2013-01-16 17:01:24 -05:00
|
|
|
|
#:use-module (gnu packages libffi)
|
2017-01-09 00:34:34 -05:00
|
|
|
|
#:use-module (gnu packages linux)
|
2018-01-17 16:39:08 -05:00
|
|
|
|
#:use-module (gnu packages m4)
|
2016-09-07 15:13:06 -04:00
|
|
|
|
#:use-module (gnu packages nettle)
|
2016-04-27 09:51:32 -04:00
|
|
|
|
#:use-module (gnu packages pcre)
|
2018-01-18 20:52:24 -05:00
|
|
|
|
#:use-module (gnu packages package-management)
|
2013-04-19 13:41:05 -04:00
|
|
|
|
#:use-module (gnu packages perl)
|
gnu: Move test packages from perl to perl-check.
* gnu/packages/perl.scm (perl-test2-bundle-extended,
perl-test2-plugin-nowarnings, perl-test-base, perl-test-class,
perl-test-class-most, perl-test-cleannamespaces, perl-test-command,
perl-test-cpan-meta, perl-test-cpan-meta-json, perl-test-deep,
perl-test-differences, perl-test-directory, perl-test-eol,
perl-test-exception, perl-test-fatal, perl-test-file-sharedir-dist,
perl-test-files, perl-test-harness, perl-test-leaktrace,
perl-test-longstring, perl-test-manifest, perl-test-memory-cycle,
perl-test-mockobject, perl-test-mocktime, perl-test-most, perl-test-needs,
perl-test-notabs, perl-test-nowarnings, perl-test-number-delta,
perl-test-output, perl-test-pod, perl-test-pod-coverage, perl-test-requires,
perl-test-script, perl-test-sharedfork, perl-test-simple, perl-test-taint,
perl-test-tester, perl-test-trap, perl-test-utf8, perl-test-warn,
perl-test-warnings, perl-test-without-module, perl-test-writevariants,
perl-test-yaml, perl-test-trailingspace): Move variables to ...
* gnu/packages/perl-check.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/crypto.scm,
gnu/packages/databases.scm,
gnu/packages/glib.scm,
gnu/packages/gnupg.scm,
gnu/packages/image-viewers.scm,
gnu/packages/language.scm,
gnu/packages/networking.scm,
gnu/packages/package-management.scm,
gnu/packages/perl.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/version-control.scm,
gnu/packages/web.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm: Use perl-check module.
2017-11-13 17:03:01 -05:00
|
|
|
|
#:use-module (gnu packages perl-check)
|
2020-10-23 08:40:20 -04:00
|
|
|
|
#:use-module (gnu packages popt)
|
2013-01-16 17:01:24 -05:00
|
|
|
|
#:use-module (gnu packages pkg-config)
|
|
|
|
|
#:use-module (gnu packages python)
|
2020-05-14 11:57:31 -04:00
|
|
|
|
#:use-module (gnu packages python-xyz)
|
2018-12-03 10:11:52 -05:00
|
|
|
|
#:use-module (gnu packages selinux)
|
2018-01-18 20:52:24 -05:00
|
|
|
|
#:use-module (gnu packages web)
|
2013-06-08 12:41:21 -04:00
|
|
|
|
#:use-module (gnu packages xml)
|
2013-09-16 13:00:47 -04:00
|
|
|
|
#:use-module (gnu packages xorg)
|
2018-01-17 16:39:08 -05:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2020-10-23 08:40:20 -04:00
|
|
|
|
#:use-module (guix build-system cmake)
|
2018-01-18 20:52:24 -05:00
|
|
|
|
#:use-module (guix build-system meson)
|
2018-01-17 16:39:08 -05:00
|
|
|
|
#:use-module (guix build-system perl)
|
|
|
|
|
#:use-module (guix build-system python)
|
|
|
|
|
#:use-module (guix download)
|
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
|
|
|
|
#:use-module (guix packages)
|
|
|
|
|
#:use-module (guix utils)
|
2020-06-24 04:48:52 -04:00
|
|
|
|
#:use-module ((srfi srfi-1) #:hide (zip))
|
2013-01-16 17:01:24 -05:00
|
|
|
|
|
2013-09-16 13:00:47 -04:00
|
|
|
|
;; Export variables up-front to allow circular dependency with the 'xorg'
|
|
|
|
|
;; module.
|
|
|
|
|
#:export (dbus
|
|
|
|
|
glib
|
2013-10-05 17:45:35 -04:00
|
|
|
|
gobject-introspection
|
2013-09-16 13:00:47 -04:00
|
|
|
|
dbus-glib
|
|
|
|
|
intltool
|
2013-10-05 18:24:06 -04:00
|
|
|
|
itstool
|
|
|
|
|
libsigc++
|
2015-01-18 16:36:26 -05:00
|
|
|
|
glibmm
|
2017-10-25 02:26:14 -04:00
|
|
|
|
telepathy-glib
|
2017-10-25 02:30:58 -04:00
|
|
|
|
perl-net-dbus
|
|
|
|
|
perl-net-dbus-glib))
|
2013-09-16 13:00:47 -04:00
|
|
|
|
|
|
|
|
|
(define dbus
|
2013-01-16 17:01:24 -05:00
|
|
|
|
(package
|
|
|
|
|
(name "dbus")
|
2019-06-20 17:40:52 -04:00
|
|
|
|
(version "1.12.16")
|
2013-01-16 17:01:24 -05:00
|
|
|
|
(source (origin
|
2015-09-30 21:58:33 -04:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2016-02-08 08:57:09 -05:00
|
|
|
|
"https://dbus.freedesktop.org/releases/dbus/dbus-"
|
2015-09-30 21:58:33 -04:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-06-20 17:40:52 -04:00
|
|
|
|
"107ckxaff1cv4q6kmfdi2fb1nlsv03312a7kf6lb4biglhpjv8jl"))
|
2020-11-19 16:24:57 -05:00
|
|
|
|
(patches (search-patches "dbus-CVE-2020-12049.patch"
|
|
|
|
|
"dbus-helper-search-path.patch"))))
|
2013-01-16 17:01:24 -05:00
|
|
|
|
(build-system gnu-build-system)
|
2013-09-11 17:37:57 -04:00
|
|
|
|
(arguments
|
2015-09-30 21:58:33 -04:00
|
|
|
|
'(#:configure-flags
|
|
|
|
|
(list
|
|
|
|
|
;; Install the system bus socket under /var.
|
|
|
|
|
"--localstatedir=/var"
|
2013-09-11 17:37:57 -04:00
|
|
|
|
|
2015-09-30 21:58:33 -04:00
|
|
|
|
;; Install the session bus socket under /tmp.
|
|
|
|
|
"--with-session-socket-dir=/tmp"
|
2013-09-11 17:37:57 -04:00
|
|
|
|
|
2019-12-03 23:20:32 -05:00
|
|
|
|
;; Build shared libraries only.
|
|
|
|
|
"--disable-static"
|
|
|
|
|
|
2015-09-30 21:58:33 -04: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.
|
2018-03-17 20:22:17 -04:00
|
|
|
|
(invoke "make"
|
|
|
|
|
"localstatedir=/tmp/dummy"
|
|
|
|
|
"sysconfdir=/tmp/dummy"
|
|
|
|
|
"install"))))))
|
2014-10-05 16:24:20 -04:00
|
|
|
|
(native-inputs
|
2019-01-10 07:35:38 -05:00
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
;; Dependencies to generate the doc.
|
|
|
|
|
("docbook-xml" ,docbook-xml-4.4)
|
|
|
|
|
("docbook-xsl" ,docbook-xsl)
|
|
|
|
|
("doxygen" ,doxygen)
|
|
|
|
|
("xmlto" ,xmlto)
|
|
|
|
|
("libxml2" ,libxml2) ;for XML_CATALOG_FILES
|
|
|
|
|
("libxslt" ,libxslt)
|
|
|
|
|
("yelp-tools" ,yelp-tools)))
|
2013-01-16 17:01:24 -05:00
|
|
|
|
(inputs
|
2013-04-19 13:41:05 -04:00
|
|
|
|
`(("expat" ,expat)
|
2013-09-16 13:00:47 -04:00
|
|
|
|
;; Add a dependency on libx11 so that 'dbus-launch' has support for
|
|
|
|
|
;; '--autolaunch'.
|
|
|
|
|
("libx11" ,libx11)))
|
2019-01-10 07:35:38 -05:00
|
|
|
|
(outputs '("out" "doc")) ;22 MiB of HTML doc
|
gnu: Use HTTPS for supported freedesktop.org home pages.
* gnu/packages/fontutils.scm (fontconfig)[home-page]: Use HTTPS.
* gnu/packages/freedesktop.scm (python-pyxdg, accountsservice)
(modem-manager, telepathy-mission-control, telepathy-mission-control)
(colord-gtk, desktop-file-utils)[home-page]: Likewise.
* gnu/packages/ghostscript.scm (libspectre)[home-page]: Likewise.
* gnu/packages/glib.scm (dbus, dbus-glib, telepathy-glib)[home-page]:
Likewise.
* gnu/packages/gnome.scm (shared-mime-info, hicolor-icon-theme)
(libxklavier, colord, upower)[home-page]: Likewise.
* gnu/packages/gstreamer.scm (orc, python-gst)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (sound-theme-freedesktop)[home-page]:
Likewise.
* gnu/packages/libreoffice.scm (libexttextcat)[home-page]: Likewise.
* gnu/packages/polkit.scm (polkit-gnome, polkit-gnome)[home-page]:
Likewise.
* gnu/packages/pulseaudio.scm (pavucontrol)[home-page]: Likewise.
* gnu/packages/python.scm (python-dbus)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (startup-notification)[home-page]: Likewise.
2018-02-24 07:44:26 -05:00
|
|
|
|
(home-page "https://www.freedesktop.org/wiki/Software/dbus/")
|
2013-01-16 17:01:24 -05:00
|
|
|
|
(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 00:46:59 -04:00
|
|
|
|
talk to one another. In addition to interprocess communication, D-Bus
|
2013-01-16 17:01:24 -05: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 00:46:59 -04:00
|
|
|
|
applications). Also, the message bus is built on top of a general
|
2013-01-16 17:01:24 -05: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 00:46:59 -04:00
|
|
|
|
daemon). Currently the communicating applications are on one computer,
|
2013-01-16 17:01:24 -05:00
|
|
|
|
or through unencrypted TCP/IP suitable for use behind a firewall with
|
|
|
|
|
shared NFS home directories.")
|
2013-04-19 13:41:05 -04:00
|
|
|
|
(license license:gpl2+))) ; or Academic Free License 2.1
|
2013-01-14 21:49:01 -05:00
|
|
|
|
|
2013-09-16 13:00:47 -04:00
|
|
|
|
(define glib
|
2013-01-14 21:49:01 -05:00
|
|
|
|
(package
|
|
|
|
|
(name "glib")
|
2020-03-25 16:09:48 -04:00
|
|
|
|
(version "2.62.6")
|
gnu: glib: Fix CVE-2021-27218 and CVE-2021-27219.
* gnu/packages/patches/glib-CVE-2021-27218.patch,
gnu/packages/patches/glib-CVE-2021-27219-01.patch,
gnu/packages/patches/glib-CVE-2021-27219-02.patch,
gnu/packages/patches/glib-CVE-2021-27219-03.patch,
gnu/packages/patches/glib-CVE-2021-27219-04.patch,
gnu/packages/patches/glib-CVE-2021-27219-05.patch,
gnu/packages/patches/glib-CVE-2021-27219-06.patch,
gnu/packages/patches/glib-CVE-2021-27219-07.patch,
gnu/packages/patches/glib-CVE-2021-27219-08.patch,
gnu/packages/patches/glib-CVE-2021-27219-09.patch,
gnu/packages/patches/glib-CVE-2021-27219-10.patch,
gnu/packages/patches/glib-CVE-2021-27219-11.patch,
gnu/packages/patches/glib-CVE-2021-27219-12.patch,
gnu/packages/patches/glib-CVE-2021-27219-13.patch,
gnu/packages/patches/glib-CVE-2021-27219-14.patch,
gnu/packages/patches/glib-CVE-2021-27219-15.patch,
gnu/packages/patches/glib-CVE-2021-27219-16.patch,
gnu/packages/patches/glib-CVE-2021-27219-17.patch,
gnu/packages/patches/glib-CVE-2021-27219-18.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/glib.scm (glib)[replacement]: New field.
(glib/fixed): New variable.
2021-03-11 05:34:28 -05:00
|
|
|
|
(replacement glib/fixed)
|
2013-01-14 21:49:01 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2013-03-27 10:01:30 -04:00
|
|
|
|
(uri (string-append "mirror://gnome/sources/"
|
2013-09-30 16:19:35 -04:00
|
|
|
|
name "/" (string-take version 4) "/"
|
2013-01-16 17:01:24 -05:00
|
|
|
|
name "-" version ".tar.xz"))
|
2013-01-14 21:49:01 -05:00
|
|
|
|
(sha256
|
2014-12-03 16:51:41 -05:00
|
|
|
|
(base32
|
2020-03-25 16:09:48 -04:00
|
|
|
|
"174bsmbmcvaw69ff9g60q5sx0fn23rkhqcwqz17h5s7sprps4kqh"))
|
2020-12-08 05:00:11 -05:00
|
|
|
|
(patches (search-patches "glib-appinfo-watch.patch"
|
|
|
|
|
"glib-tests-timer.patch"))
|
2019-06-21 07:54:21 -04:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(substitute* "tests/spawn-test.c"
|
|
|
|
|
(("/bin/sh") "sh"))
|
|
|
|
|
#t))))
|
2018-12-03 10:11:52 -05:00
|
|
|
|
(build-system meson-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 12:05:57 -04:00
|
|
|
|
(outputs '("out" ; everything
|
2018-12-03 10:11:52 -05:00
|
|
|
|
"bin")) ; glib-mkenums, gtester, etc.; depends on Python
|
2016-04-27 09:51:32 -04:00
|
|
|
|
(propagated-inputs
|
2018-12-03 10:11:52 -05:00
|
|
|
|
`(("pcre" ,pcre) ; in the Requires.private field of glib-2.0.pc
|
|
|
|
|
("libffi" ,libffi) ; in the Requires.private field of gobject-2.0.pc
|
|
|
|
|
;; These are in the Requires.private field of gio-2.0.pc
|
gnu: util-linux: Move libraries to separate output.
Fixes <https://bugs.gnu.org/37732>.
Reported by Diego Nicola Barbato <dnbarbato@posteo.de>.
* gnu/packages/linux.scm (util-linux)[outputs]: Add "lib".
[arguments]: Update #:configure-flags and the "move-static-libraries" phase
accordingly. Add phases "patch-build-scripts" and "adjust-pkg-config-files".
(e2fsprogs, psm, mtd-utils, f2fs-tools, f2fs-tools-1.7, eudev,
xfsprogs)[inputs]: Change to the "lib" output of UTIL-LINUX.
(btrfs-progs)[inputs]: Remove duplicate UTIL-LINUX inputs and change to use
the "lib" output.
* gnu/packages/admin.scm (pam-mount)[inputs]: Add UTIL-LINUX:LIB.
(testdisk)[inputs]: Change to the "lib" output of UTIL-LINUX.
* gnu/packages/android.scm (abootimg)[inputs]: Likewise.
* gnu/packages/audio.scm (jack-1)[propagated-inputs]: Likewise.
* gnu/packages/bootloaders.scm (syslinux, vboot-utils)[inputs]: Likewise.
* gnu/packages/chez.scm (chez-scheme)[inputs]: Likewise.
* gnu/packages/cryptsetup.scm (cryptsetup, cryptsetup-static)[inputs]: Likewise.
* gnu/packages/databases.scm (postgresql, 4store)[inputs]: Likewise.
* gnu/packages/disk.scm (ndctl, gptfdisk, fdisk, gparted, rmlint,
volume-key)[inputs]: Likewise.
(parted)[inputs]: Likewise.
[native-inputs]: Add UTIL-LINUX.
* gnu/packages/efi.scm (sbsigntools)[inputs]: Add UTIL-LINUX:LIB.
* gnu/packages/engineering.scm (lib3mf)[inputs]: Change to the "lib" output of
UTIL-LINUX.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise.
* gnu/packages/file-systems.scm (glusterfs, jfsutils, zfs)[inputs]: Likewise.
* gnu/packages/firmware.scm (ovmf)[inputs]: Likewise.
* gnu/packages/fontutils.scm (fontconfig)[propagated-inputs]: Likewise.
* gnu/packages/freedesktop.scm (localed)[inputs]: Likewise.
* gnu/packages/glib.scm (glib, appstream-glib)[propagated-inputs]: Likewise.
* gnu/packages/gnome.scm (tracker, gnome-terminal)[inputs]: Likewise.
* gnu/packages/jupyter.scm (xeus)[inputs]: Likewise.
* gnu/packages/kde.scm (kpmcore)[inputs]: Likewise.
* gnu/packages/kodi.scm (crossguid)[inputs]: Likewise.
* gnu/packages/lighting.scm (ola)[inputs]: Likewise.
* gnu/packages/music.scm (libgig)[inputs]: Likewise.
* gnu/packages/nfs.scm (nfs-utils)[inputs]: Likewise.
* gnu/packages/opencog.scm (opencog)[inputs]: Likewise.
* gnu/packages/package-management.scm (msitools)[inputs]: Change to the "lib"
output of UTIL-LINUX.
* gnu/packages/password-utils.scm (pwsafe)[inputs]: Likewise.
* gnu/packages/telephony.scm (pjproject)[propagated-inputs]: Likewise.
* gnu/packages/rdf.scm (rasqal)[inputs]: Likewise.
* gnu/packages/search.scm (xapian)[inputs]: Likewise.
* gnu/packages/sssd.scm (sssd)[native-inputs]: Likewise.
* gnu/packages/storage.scm (ceph)[inputs]: Add UTIL-LINUX:LIB.
* gnu/packages/task-management.scm (taskwarrior)[inputs]: Change to the "lib"
output of UTIL-LINUX.
* gnu/packages/virtualization.scm (libvirt, xen)[inputs]: Likewise.
* gnu/packages/xorg.scm (libsm)[inputs]: Likewise.
2020-01-14 18:24:28 -05:00
|
|
|
|
("util-linux" ,util-linux "lib") ;for libmount
|
2018-12-03 10:11:52 -05:00
|
|
|
|
("libselinux" ,libselinux)
|
2017-03-08 18:03:38 -05:00
|
|
|
|
("zlib" ,zlib)))
|
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 06:01:56 -05:00
|
|
|
|
(native-inputs
|
2016-09-25 03:33:02 -04:00
|
|
|
|
`(("gettext" ,gettext-minimal)
|
2018-12-05 06:08:51 -05:00
|
|
|
|
("m4" ,m4) ; for installing m4 macros
|
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 06:01:56 -05:00
|
|
|
|
("dbus" ,dbus) ; for GDBus tests
|
2013-01-14 21:49:01 -05: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 16:18:39 -04:00
|
|
|
|
("python" ,python-wrapper)
|
2013-01-16 17:01:24 -05:00
|
|
|
|
("perl" ,perl) ; needed by GIO tests
|
2017-11-03 08:07:32 -04:00
|
|
|
|
("tzdata" ,tzdata-for-tests))) ; for tests/gdatetime.c
|
2013-01-16 17:01:24 -05:00
|
|
|
|
(arguments
|
2019-12-04 17:34:44 -05:00
|
|
|
|
`(#:disallowed-references (,tzdata-for-tests)
|
2019-11-01 10:30:23 -04:00
|
|
|
|
#:phases
|
2016-04-27 09:51:32 -04:00
|
|
|
|
(modify-phases %standard-phases
|
2019-09-09 22:02:16 -04:00
|
|
|
|
(add-after 'unpack 'patch-dbus-launch-path
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((dbus (assoc-ref inputs "dbus")))
|
|
|
|
|
(substitute* "gio/gdbusaddress.c"
|
|
|
|
|
(("command_line = g_strdup_printf \\(\"dbus-launch")
|
|
|
|
|
(string-append "command_line = g_strdup_printf (\""
|
|
|
|
|
dbus "/bin/dbus-launch")))
|
|
|
|
|
#t)))
|
2020-01-06 13:58:20 -05:00
|
|
|
|
(add-after 'unpack 'patch-gio-launch-desktop
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
;; See also <https://gitlab.gnome.org/GNOME/glib/issues/1633>
|
|
|
|
|
;; for another future fix.
|
|
|
|
|
(substitute* "gio/gdesktopappinfo.c"
|
|
|
|
|
(("gio-launch-desktop")
|
|
|
|
|
(string-append out "/libexec/gio-launch-desktop")))
|
|
|
|
|
#t)))
|
2020-12-20 13:07:55 -05:00
|
|
|
|
;; TODO: Remove the conditional in the next core-updates cycle.
|
|
|
|
|
;; Needed to build glib on slower ARM nodes.
|
|
|
|
|
,@(if (string-prefix? "arm" (%current-system))
|
|
|
|
|
`((add-after 'unpack 'increase-test-timeout
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "meson.build"
|
|
|
|
|
(("test_timeout = 60")
|
2021-03-20 13:21:58 -04:00
|
|
|
|
"test_timeout = 120")
|
2020-12-20 13:07:55 -05:00
|
|
|
|
(("test_timeout_slow = 120")
|
|
|
|
|
"test_timeout_slow = 180")))))
|
|
|
|
|
'())
|
2016-04-27 09:51:32 -04:00
|
|
|
|
(add-before 'build 'pre-build
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
;; For tests/gdatetime.c.
|
|
|
|
|
(setenv "TZDIR"
|
|
|
|
|
(string-append (assoc-ref inputs "tzdata")
|
|
|
|
|
"/share/zoneinfo"))
|
|
|
|
|
|
|
|
|
|
;; Some tests want write access there.
|
|
|
|
|
(setenv "HOME" (getcwd))
|
|
|
|
|
(setenv "XDG_CACHE_HOME" (getcwd))
|
2018-03-17 22:28:56 -04:00
|
|
|
|
#t))
|
2018-12-03 10:11:52 -05:00
|
|
|
|
(add-after 'unpack 'disable-failing-tests
|
2016-04-27 09:51:32 -04:00
|
|
|
|
(lambda _
|
|
|
|
|
(let ((disable
|
|
|
|
|
(lambda (test-file test-paths)
|
|
|
|
|
(define pattern+procs
|
|
|
|
|
(map (lambda (test-path)
|
|
|
|
|
(cons
|
|
|
|
|
;; XXX: only works for single line statements.
|
|
|
|
|
(format #f "g_test_add_func.*\"~a\".*" test-path)
|
|
|
|
|
(const "")))
|
|
|
|
|
test-paths))
|
|
|
|
|
(substitute test-file pattern+procs)))
|
|
|
|
|
(failing-tests
|
|
|
|
|
'(("glib/tests/thread.c"
|
|
|
|
|
(;; prlimit(2) returns ENOSYS on Linux 2.6.32-5-xen-amd64
|
|
|
|
|
;; as found on hydra.gnu.org, and strace(1) doesn't
|
|
|
|
|
;; recognize it.
|
|
|
|
|
"/thread/thread4"))
|
|
|
|
|
|
2018-12-03 10:11:52 -05:00
|
|
|
|
;; This tries to find programs in FHS directories.
|
|
|
|
|
("glib/tests/utils.c"
|
|
|
|
|
("/utils/find-program"))
|
|
|
|
|
|
|
|
|
|
;; This fails because "glib/tests/echo-script" cannot be
|
|
|
|
|
;; found.
|
|
|
|
|
("glib/tests/spawn-singlethread.c"
|
|
|
|
|
("/gthread/spawn-script"))
|
|
|
|
|
|
2016-04-27 09:51:32 -04:00
|
|
|
|
("glib/tests/timer.c"
|
|
|
|
|
(;; fails if compiler optimizations are enabled, which they
|
|
|
|
|
;; are by default.
|
|
|
|
|
"/timer/stop"))
|
|
|
|
|
|
|
|
|
|
("gio/tests/gapplication.c"
|
|
|
|
|
(;; XXX: proven to be unreliable. See:
|
|
|
|
|
;; <https://bugs.debian.org/756273>
|
|
|
|
|
;; <http://bugs.gnu.org/18445>
|
|
|
|
|
"/gapplication/quit"
|
|
|
|
|
|
|
|
|
|
;; XXX: fails randomly for unknown reason. See:
|
|
|
|
|
;; <https://lists.gnu.org/archive/html/guix-devel/2016-04/msg00215.html>
|
|
|
|
|
"/gapplication/local-actions"))
|
|
|
|
|
|
|
|
|
|
("gio/tests/contenttype.c"
|
|
|
|
|
(;; XXX: requires shared-mime-info.
|
|
|
|
|
"/contenttype/guess"
|
2018-03-14 18:38:29 -04:00
|
|
|
|
"/contenttype/guess_svg_from_data"
|
2016-04-27 09:51:32 -04:00
|
|
|
|
"/contenttype/subtype"
|
|
|
|
|
"/contenttype/list"
|
|
|
|
|
"/contenttype/icon"
|
|
|
|
|
"/contenttype/symbolic-icon"
|
|
|
|
|
"/contenttype/tree"))
|
|
|
|
|
|
|
|
|
|
("gio/tests/appinfo.c"
|
|
|
|
|
(;; XXX: requires update-desktop-database.
|
|
|
|
|
"/appinfo/associations"))
|
|
|
|
|
|
|
|
|
|
("gio/tests/desktop-app-info.c"
|
|
|
|
|
(;; XXX: requires update-desktop-database.
|
|
|
|
|
"/desktop-app-info/delete"
|
|
|
|
|
"/desktop-app-info/default"
|
|
|
|
|
"/desktop-app-info/fallback"
|
|
|
|
|
"/desktop-app-info/lastused"
|
|
|
|
|
"/desktop-app-info/search"))
|
|
|
|
|
|
|
|
|
|
("gio/tests/gdbus-peer.c"
|
|
|
|
|
(;; Requires /etc/machine-id.
|
|
|
|
|
"/gdbus/codegen-peer-to-peer"))
|
|
|
|
|
|
2020-01-23 17:18:36 -05:00
|
|
|
|
("gio/tests/gdbus-address-get-session.c"
|
2016-04-27 09:51:32 -04:00
|
|
|
|
(;; Requires /etc/machine-id.
|
2019-06-21 07:54:21 -04:00
|
|
|
|
"/gdbus/x11-autolaunch"))
|
|
|
|
|
|
|
|
|
|
("gio/tests/gsocketclient-slow.c"
|
|
|
|
|
(;; These tests tries to resolve "localhost", and fails.
|
|
|
|
|
"/socket-client/happy-eyeballs/slow"
|
|
|
|
|
"/socket-client/happy-eyeballs/cancellation/delayed"))
|
|
|
|
|
|
|
|
|
|
)))
|
2018-03-17 22:28:56 -04:00
|
|
|
|
(for-each (lambda (x) (apply disable x)) failing-tests)
|
2018-12-03 10:11:52 -05:00
|
|
|
|
#t)))
|
2019-06-21 07:54:21 -04:00
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "MESON_TESTTHREADS"
|
|
|
|
|
(number->string (parallel-job-count)))
|
|
|
|
|
;; Do not run tests marked as "flaky".
|
|
|
|
|
(invoke "meson" "test" "--no-suite" "flaky")))
|
2018-12-03 10:11:52 -05:00
|
|
|
|
;; TODO: meson does not permit the bindir to be outside of prefix.
|
|
|
|
|
;; See https://github.com/mesonbuild/meson/issues/2561
|
|
|
|
|
;; We can remove this once meson is patched.
|
|
|
|
|
(add-after 'install 'move-executables
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (assoc-ref outputs "bin")))
|
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
(rename-file (string-append out "/bin")
|
|
|
|
|
(string-append bin "/bin"))
|
2020-01-06 13:58:20 -05:00
|
|
|
|
;; This one is an implementation detail of glib.
|
|
|
|
|
;; It is wrong that that's in "/bin" in the first place,
|
|
|
|
|
;; but that's what upstream is doing right now.
|
|
|
|
|
;; See <https://gitlab.gnome.org/GNOME/glib/issues/1633>.
|
|
|
|
|
(mkdir (string-append out "/libexec"))
|
|
|
|
|
(rename-file (string-append bin "/bin/gio-launch-desktop")
|
|
|
|
|
(string-append out "/libexec/gio-launch-desktop"))
|
2018-12-03 10:11:52 -05:00
|
|
|
|
;; Do not refer to "bindir", which points to "${prefix}/bin".
|
|
|
|
|
;; We don't patch "bindir" to point to "$bin/bin", because that
|
|
|
|
|
;; would create a reference cycle between the "out" and "bin"
|
|
|
|
|
;; outputs.
|
|
|
|
|
(substitute* (list (string-append out "/lib/pkgconfig/gio-2.0.pc")
|
|
|
|
|
(string-append out "/lib/pkgconfig/glib-2.0.pc"))
|
|
|
|
|
(("bindir=\\$\\{prefix\\}/bin") "")
|
|
|
|
|
(("=\\$\\{bindir\\}/") "="))
|
2019-06-21 07:54:21 -04:00
|
|
|
|
#t))))))
|
2018-12-03 10:11:52 -05:00
|
|
|
|
;; TODO: see above for explanation.
|
|
|
|
|
;; #:configure-flags (list (string-append "--bindir="
|
|
|
|
|
;; (assoc-ref %outputs "bin")
|
|
|
|
|
;; "/bin"))
|
2014-01-19 19:06:22 -05:00
|
|
|
|
|
2014-05-06 17:10:11 -04: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 11:10:19 -04: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 17:10:11 -04:00
|
|
|
|
(search-paths native-search-paths)
|
2019-11-11 09:38:11 -05:00
|
|
|
|
(properties '((hidden? . #t)))
|
2014-05-06 17:10:11 -04:00
|
|
|
|
|
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 12:04:25 -04:00
|
|
|
|
(synopsis "Thread-safe general utility library; basis of GTK+ and GNOME")
|
2013-01-14 21:49:01 -05: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.")
|
gnu: Use HTTPS for gnome.org and subdomains.
* gnu/packages/fonts.scm (font-bitstream-vera)[home-page]: Use HTTPS.
* gnu/packages/glib.scm (glib)[home-page]: Likewise.
* gnu/packages/gnome.scm (gcr, libgnome-keyring, gnome-keyring, evince)
(gnome-icon-theme, libgsf, gnome-mime-data, vala, vte, python2-rsvg)
(glib-networking, gnome-settings-daemon, libchamplain, grilo, grilo-plugins)
(gjs, zenity, mutter, network-manager, network-manager-applet, gdm)
[home-page]: Likewise.
* gnu/packages/gtk.scm (gtk-engines, murrine)[home-page]: Likewise.
2017-08-08 18:49:35 -04:00
|
|
|
|
(home-page "https://developer.gnome.org/glib/")
|
2017-10-07 08:15:55 -04:00
|
|
|
|
(license license:lgpl2.1+)))
|
2013-03-05 04:16:17 -05:00
|
|
|
|
|
2021-03-20 13:25:44 -04:00
|
|
|
|
(define glib/fixed
|
gnu: glib: Fix CVE-2021-27218 and CVE-2021-27219.
* gnu/packages/patches/glib-CVE-2021-27218.patch,
gnu/packages/patches/glib-CVE-2021-27219-01.patch,
gnu/packages/patches/glib-CVE-2021-27219-02.patch,
gnu/packages/patches/glib-CVE-2021-27219-03.patch,
gnu/packages/patches/glib-CVE-2021-27219-04.patch,
gnu/packages/patches/glib-CVE-2021-27219-05.patch,
gnu/packages/patches/glib-CVE-2021-27219-06.patch,
gnu/packages/patches/glib-CVE-2021-27219-07.patch,
gnu/packages/patches/glib-CVE-2021-27219-08.patch,
gnu/packages/patches/glib-CVE-2021-27219-09.patch,
gnu/packages/patches/glib-CVE-2021-27219-10.patch,
gnu/packages/patches/glib-CVE-2021-27219-11.patch,
gnu/packages/patches/glib-CVE-2021-27219-12.patch,
gnu/packages/patches/glib-CVE-2021-27219-13.patch,
gnu/packages/patches/glib-CVE-2021-27219-14.patch,
gnu/packages/patches/glib-CVE-2021-27219-15.patch,
gnu/packages/patches/glib-CVE-2021-27219-16.patch,
gnu/packages/patches/glib-CVE-2021-27219-17.patch,
gnu/packages/patches/glib-CVE-2021-27219-18.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/glib.scm (glib)[replacement]: New field.
(glib/fixed): New variable.
2021-03-11 05:34:28 -05:00
|
|
|
|
(package
|
|
|
|
|
(inherit glib)
|
|
|
|
|
(source (origin
|
|
|
|
|
(inherit (package-source glib))
|
|
|
|
|
(patches
|
|
|
|
|
(append (search-patches "glib-CVE-2021-27218.patch"
|
|
|
|
|
"glib-CVE-2021-27219-01.patch"
|
|
|
|
|
"glib-CVE-2021-27219-02.patch"
|
|
|
|
|
"glib-CVE-2021-27219-03.patch"
|
|
|
|
|
"glib-CVE-2021-27219-04.patch"
|
|
|
|
|
"glib-CVE-2021-27219-05.patch"
|
|
|
|
|
"glib-CVE-2021-27219-06.patch"
|
|
|
|
|
"glib-CVE-2021-27219-07.patch"
|
|
|
|
|
"glib-CVE-2021-27219-08.patch"
|
|
|
|
|
"glib-CVE-2021-27219-09.patch"
|
|
|
|
|
"glib-CVE-2021-27219-10.patch"
|
|
|
|
|
"glib-CVE-2021-27219-11.patch"
|
|
|
|
|
"glib-CVE-2021-27219-12.patch"
|
|
|
|
|
"glib-CVE-2021-27219-13.patch"
|
|
|
|
|
"glib-CVE-2021-27219-14.patch"
|
|
|
|
|
"glib-CVE-2021-27219-15.patch"
|
|
|
|
|
"glib-CVE-2021-27219-16.patch"
|
|
|
|
|
"glib-CVE-2021-27219-17.patch"
|
2021-03-12 00:48:58 -05:00
|
|
|
|
"glib-CVE-2021-27219-18.patch"
|
|
|
|
|
"glib-CVE-2021-28153.patch")
|
gnu: glib: Fix CVE-2021-27218 and CVE-2021-27219.
* gnu/packages/patches/glib-CVE-2021-27218.patch,
gnu/packages/patches/glib-CVE-2021-27219-01.patch,
gnu/packages/patches/glib-CVE-2021-27219-02.patch,
gnu/packages/patches/glib-CVE-2021-27219-03.patch,
gnu/packages/patches/glib-CVE-2021-27219-04.patch,
gnu/packages/patches/glib-CVE-2021-27219-05.patch,
gnu/packages/patches/glib-CVE-2021-27219-06.patch,
gnu/packages/patches/glib-CVE-2021-27219-07.patch,
gnu/packages/patches/glib-CVE-2021-27219-08.patch,
gnu/packages/patches/glib-CVE-2021-27219-09.patch,
gnu/packages/patches/glib-CVE-2021-27219-10.patch,
gnu/packages/patches/glib-CVE-2021-27219-11.patch,
gnu/packages/patches/glib-CVE-2021-27219-12.patch,
gnu/packages/patches/glib-CVE-2021-27219-13.patch,
gnu/packages/patches/glib-CVE-2021-27219-14.patch,
gnu/packages/patches/glib-CVE-2021-27219-15.patch,
gnu/packages/patches/glib-CVE-2021-27219-16.patch,
gnu/packages/patches/glib-CVE-2021-27219-17.patch,
gnu/packages/patches/glib-CVE-2021-27219-18.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/glib.scm (glib)[replacement]: New field.
(glib/fixed): New variable.
2021-03-11 05:34:28 -05:00
|
|
|
|
(origin-patches (package-source glib))))))))
|
|
|
|
|
|
2019-11-11 09:38:11 -05:00
|
|
|
|
(define-public glib-with-documentation
|
|
|
|
|
;; glib's doc must be built in a separate package since it requires gtk-doc,
|
|
|
|
|
;; which in turn depends on glib.
|
2020-11-12 10:35:24 -05:00
|
|
|
|
(package/inherit glib
|
2019-11-11 09:38:11 -05:00
|
|
|
|
(properties (alist-delete 'hidden? (package-properties glib)))
|
|
|
|
|
(outputs (cons "doc" (package-outputs glib))) ; 20 MiB of GTK-Doc reference
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("gtk-doc" ,gtk-doc) ; for the doc
|
|
|
|
|
("docbook-xml" ,docbook-xml)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
,@(package-native-inputs glib)))
|
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments glib)
|
|
|
|
|
((#:configure-flags flags ''())
|
|
|
|
|
`(cons "-Dgtk_doc=true" ,flags))
|
|
|
|
|
((#:phases phases)
|
|
|
|
|
`(modify-phases ,phases
|
|
|
|
|
(add-after 'install 'move-doc
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(doc (assoc-ref outputs "doc"))
|
|
|
|
|
(html (string-append "/share/gtk-doc")))
|
|
|
|
|
(copy-recursively (string-append out html)
|
|
|
|
|
(string-append doc html))
|
|
|
|
|
(delete-file-recursively (string-append out html))
|
|
|
|
|
#t)))))))))
|
|
|
|
|
|
2021-02-20 14:55:37 -05:00
|
|
|
|
;;; TODO: Merge into glib as a 'static' output on core-updates.
|
|
|
|
|
(define-public glib-static
|
|
|
|
|
(hidden-package
|
|
|
|
|
(package
|
|
|
|
|
(inherit glib)
|
|
|
|
|
(name "glib-static")
|
|
|
|
|
(outputs '("out"))
|
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments glib)
|
|
|
|
|
((#:configure-flags flags ''())
|
|
|
|
|
`(cons* "--default-library=static"
|
|
|
|
|
"-Dselinux=disabled"
|
|
|
|
|
"-Dman=false"
|
|
|
|
|
"-Dgtk_doc=false"
|
|
|
|
|
"-Dinternal_pcre=false"
|
|
|
|
|
,flags))
|
|
|
|
|
((#:phases phases)
|
|
|
|
|
`(modify-phases ,phases
|
|
|
|
|
(delete 'move-executables)
|
|
|
|
|
(replace 'install
|
|
|
|
|
;; Only install the static libraries.
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(lib (string-append out "/lib")))
|
|
|
|
|
(for-each (lambda (f)
|
|
|
|
|
(install-file f lib))
|
|
|
|
|
(find-files "." "\\.a$"))))))))))))
|
|
|
|
|
|
2013-10-05 17:45:35 -04:00
|
|
|
|
(define gobject-introspection
|
2013-09-29 11:24:31 -04:00
|
|
|
|
(package
|
|
|
|
|
(name "gobject-introspection")
|
2020-12-01 17:05:31 -05:00
|
|
|
|
(version "1.62.0")
|
2020-09-24 08:58:26 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "mirror://gnome/sources/"
|
|
|
|
|
"gobject-introspection/" (version-major+minor version)
|
|
|
|
|
"/gobject-introspection-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
2020-12-01 17:05:31 -05:00
|
|
|
|
(base32 "18lhglg9v6y83lhqzyifc1z0wrlawzrhzzxx0a3h1g7xaz97xvmi"))
|
2020-09-24 08:58:26 -04:00
|
|
|
|
(patches
|
|
|
|
|
(search-patches
|
|
|
|
|
"gobject-introspection-cc.patch"
|
|
|
|
|
"gobject-introspection-girepository.patch"
|
|
|
|
|
"gobject-introspection-absolute-shlib-path.patch"))))
|
2019-06-21 08:08:54 -04:00
|
|
|
|
(build-system meson-build-system)
|
2018-12-03 10:21:35 -05:00
|
|
|
|
(arguments
|
2020-12-01 17:05:31 -05:00
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'do-not-use-/usr/bin/env
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "tools/g-ir-tool-template.in"
|
|
|
|
|
(("#!@PYTHON_CMD@")
|
|
|
|
|
(string-append "#!" (which "python3"))))
|
|
|
|
|
#t)))))
|
2020-09-24 08:58:26 -04:00
|
|
|
|
(native-inputs
|
2020-12-01 17:05:31 -05:00
|
|
|
|
`(("glib" ,glib "bin")
|
2020-09-24 09:27:48 -04:00
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
2020-12-01 17:05:31 -05:00
|
|
|
|
`(("bison" ,bison)
|
|
|
|
|
("flex" ,flex)
|
|
|
|
|
("glib" ,glib)
|
|
|
|
|
("python" ,python-wrapper)
|
|
|
|
|
("zlib" ,zlib)))
|
2013-10-14 18:14:34 -04:00
|
|
|
|
(propagated-inputs
|
2020-12-08 21:26:31 -05:00
|
|
|
|
`(;; In practice, GIR users will need libffi when using
|
|
|
|
|
;; gobject-introspection.
|
|
|
|
|
("libffi" ,libffi)))
|
2014-12-09 07:43:03 -05:00
|
|
|
|
(native-search-paths
|
2020-09-24 08:58:26 -04:00
|
|
|
|
(list
|
|
|
|
|
(search-path-specification
|
|
|
|
|
(variable "GI_TYPELIB_PATH")
|
|
|
|
|
(files '("lib/girepository-1.0")))))
|
2014-12-09 07:43:03 -05:00
|
|
|
|
(search-paths native-search-paths)
|
2020-09-24 09:30:21 -04:00
|
|
|
|
(synopsis "GObject introspection tools and 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 metadata files, in addition to the actual native
|
|
|
|
|
C library. Then language bindings can read this metadata and automatically
|
|
|
|
|
provide bindings to call into the C library.")
|
|
|
|
|
(home-page "https://wiki.gnome.org/Projects/GObjectIntrospection")
|
|
|
|
|
(license
|
|
|
|
|
(list
|
|
|
|
|
;; For library.
|
|
|
|
|
license:lgpl2.0+
|
|
|
|
|
;; For tools.
|
|
|
|
|
license:gpl2+))))
|
2013-09-29 11:24:31 -04:00
|
|
|
|
|
2013-09-16 13:00:47 -04:00
|
|
|
|
(define intltool
|
2013-03-05 04:16:17 -05:00
|
|
|
|
(package
|
|
|
|
|
(name "intltool")
|
2015-10-15 10:04:13 -04:00
|
|
|
|
(version "0.51.0")
|
2013-03-05 04:16:17 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2013-04-19 13:41:05 -04:00
|
|
|
|
(uri (string-append "https://launchpad.net/intltool/trunk/"
|
|
|
|
|
version "/+download/intltool-"
|
|
|
|
|
version ".tar.gz"))
|
2017-06-14 11:42:38 -04:00
|
|
|
|
(patches (search-patches "intltool-perl-compatibility.patch"))
|
2013-03-05 04:16:17 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2015-10-15 10:04:13 -04:00
|
|
|
|
"1karx4sb7bnm2j67q0q74hspkfn6lqprpy5r99vkn5bb36a4viv7"))))
|
2013-03-05 04:16:17 -05:00
|
|
|
|
(build-system gnu-build-system)
|
2014-11-13 13:46:04 -05:00
|
|
|
|
(inputs
|
|
|
|
|
`(("file" ,file)))
|
2013-03-05 04:16:17 -05:00
|
|
|
|
(propagated-inputs
|
2013-04-21 05:27:37 -04:00
|
|
|
|
`(;; Propagate gettext because users expect it to be there, and so does
|
|
|
|
|
;; the `intltool-update' script.
|
2016-09-25 03:33:02 -04:00
|
|
|
|
("gettext" ,gettext-minimal)
|
2013-04-21 05:27:37 -04:00
|
|
|
|
|
2013-04-21 15:09:49 -04:00
|
|
|
|
("perl-xml-parser" ,perl-xml-parser)
|
2013-04-21 05:27:37 -04:00
|
|
|
|
("perl" ,perl)))
|
2014-11-13 13:46:04 -05:00
|
|
|
|
(arguments
|
2018-02-19 22:47:47 -05:00
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-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")))
|
|
|
|
|
#t))))))
|
2013-04-19 13:41:05 -04:00
|
|
|
|
(home-page "https://launchpad.net/intltool/+download")
|
|
|
|
|
(synopsis "Tools to centralise translations of different file formats")
|
2013-03-05 04:16:17 -05: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 00:46:59 -04:00
|
|
|
|
"Intltool is a set of tools to centralise translations of many different
|
2013-03-05 04:16:17 -05: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 00:46:59 -04:00
|
|
|
|
oaf files. This merge step will happen at build resp. installation time.")
|
2013-04-19 13:41:05 -04:00
|
|
|
|
(license license:gpl2+)))
|
2013-08-31 06:46:08 -04:00
|
|
|
|
|
2013-09-16 13:00:47 -04:00
|
|
|
|
(define itstool
|
2013-09-04 13:21:38 -04:00
|
|
|
|
(package
|
|
|
|
|
(name "itstool")
|
2019-07-07 11:00:45 -04:00
|
|
|
|
(version "2.0.6")
|
2013-09-04 13:21:38 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://files.itstool.org/itstool/itstool-"
|
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-07-07 11:00:45 -04:00
|
|
|
|
"1acjgf8zlyk7qckdk19iqaca4jcmywd7vxjbcs1mm6kaf8icqcv2"))))
|
2013-09-04 13:21:38 -04:00
|
|
|
|
(build-system gnu-build-system)
|
2015-08-20 04:36:25 -04:00
|
|
|
|
(inputs
|
2013-10-02 08:33:48 -04:00
|
|
|
|
`(("libxml2" ,libxml2)
|
2019-07-07 11:00:45 -04:00
|
|
|
|
("python-libxml2" ,python-libxml2)
|
|
|
|
|
("python" ,python)))
|
2015-08-20 04:36:25 -04:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2017-11-02 15:33:08 -04:00
|
|
|
|
(add-after 'install 'wrap-program
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((prog (string-append (assoc-ref outputs "out")
|
|
|
|
|
"/bin/itstool")))
|
|
|
|
|
(wrap-program prog
|
2018-03-20 14:08:29 -04:00
|
|
|
|
`("PYTHONPATH" = (,(getenv "PYTHONPATH"))))
|
|
|
|
|
#t))))))
|
2013-09-04 13:21:38 -04: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 03:44:57 -04:00
|
|
|
|
(license license:gpl3+)))
|
2013-09-04 13:21:38 -04:00
|
|
|
|
|
2013-09-16 13:00:47 -04:00
|
|
|
|
(define dbus-glib
|
2013-08-31 06:46:08 -04:00
|
|
|
|
(package
|
|
|
|
|
(name "dbus-glib")
|
2019-12-17 13:26:30 -05:00
|
|
|
|
(version "0.110")
|
2013-08-31 06:46:08 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
2016-02-19 08:23:38 -05:00
|
|
|
|
(string-append "https://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-"
|
2013-08-31 06:46:08 -04:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-12-17 13:26:30 -05:00
|
|
|
|
"09g8swvc95bk1z6j8sw463p2v0dqmgm2zjfndf7i8sbcyq67dr3w"))))
|
2013-08-31 06:46:08 -04:00
|
|
|
|
(build-system gnu-build-system)
|
2015-05-23 10:43:18 -04:00
|
|
|
|
(propagated-inputs ; according to dbus-glib-1.pc
|
2013-08-31 06:46:08 -04:00
|
|
|
|
`(("dbus" ,dbus)
|
2014-07-02 05:42:17 -04:00
|
|
|
|
("glib" ,glib)))
|
2015-05-23 10:43:18 -04:00
|
|
|
|
(inputs
|
|
|
|
|
`(("expat" ,expat)))
|
2014-07-02 05:42:17 -04:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("glib" ,glib "bin")
|
2013-08-31 06:46:08 -04:00
|
|
|
|
("pkg-config" ,pkg-config)))
|
gnu: Use HTTPS for supported freedesktop.org home pages.
* gnu/packages/fontutils.scm (fontconfig)[home-page]: Use HTTPS.
* gnu/packages/freedesktop.scm (python-pyxdg, accountsservice)
(modem-manager, telepathy-mission-control, telepathy-mission-control)
(colord-gtk, desktop-file-utils)[home-page]: Likewise.
* gnu/packages/ghostscript.scm (libspectre)[home-page]: Likewise.
* gnu/packages/glib.scm (dbus, dbus-glib, telepathy-glib)[home-page]:
Likewise.
* gnu/packages/gnome.scm (shared-mime-info, hicolor-icon-theme)
(libxklavier, colord, upower)[home-page]: Likewise.
* gnu/packages/gstreamer.scm (orc, python-gst)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (sound-theme-freedesktop)[home-page]:
Likewise.
* gnu/packages/libreoffice.scm (libexttextcat)[home-page]: Likewise.
* gnu/packages/polkit.scm (polkit-gnome, polkit-gnome)[home-page]:
Likewise.
* gnu/packages/pulseaudio.scm (pavucontrol)[home-page]: Likewise.
* gnu/packages/python.scm (python-dbus)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (startup-notification)[home-page]: Likewise.
2018-02-24 07:44:26 -05:00
|
|
|
|
(home-page "https://dbus.freedesktop.org/doc/dbus-glib/")
|
2013-08-31 06:46:08 -04:00
|
|
|
|
(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-05 18:24:06 -04:00
|
|
|
|
|
|
|
|
|
(define libsigc++
|
|
|
|
|
(package
|
|
|
|
|
(name "libsigc++")
|
2020-03-26 11:16:30 -04:00
|
|
|
|
(version "2.10.3")
|
2013-10-05 18:24:06 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2015-04-20 06:06:26 -04:00
|
|
|
|
(uri (string-append "mirror://gnome/sources/libsigc++/"
|
|
|
|
|
(version-major+minor version) "/"
|
|
|
|
|
name "-" version ".tar.xz"))
|
2013-10-05 18:24:06 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-03-26 11:16:30 -04:00
|
|
|
|
"11j7j1jv4z58d9s7jvl42fnqa1dzl4idgil9r45cjv1w673dys0b"))))
|
2013-10-05 18:24:06 -04:00
|
|
|
|
(build-system gnu-build-system)
|
2014-11-07 07:49:37 -05:00
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)
|
|
|
|
|
("m4" ,m4)))
|
2019-10-09 11:57:06 -04:00
|
|
|
|
(home-page "https://libsigcplusplus.github.io/libsigcplusplus/")
|
2013-10-05 18:24:06 -04:00
|
|
|
|
(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 00:46:59 -04:00
|
|
|
|
"Libsigc++ implements a type-safe callback system for standard C++. It
|
2013-10-05 18:24:06 -04: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")
|
2020-01-23 17:19:52 -05:00
|
|
|
|
(version "2.62.0")
|
2013-10-05 18:24:06 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2014-12-19 13:55:04 -05:00
|
|
|
|
(uri (string-append "mirror://gnome/sources/glibmm/"
|
|
|
|
|
(version-major+minor version)
|
|
|
|
|
"/glibmm-" version ".tar.xz"))
|
2013-10-05 18:24:06 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-01-23 17:19:52 -05:00
|
|
|
|
"1ziwx6r7k7wbvg4qq1rgrv8zninapgrmhn1hs6926a3krh9ryr9n"))))
|
2013-10-05 18:24:06 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2019-06-21 08:33:07 -04:00
|
|
|
|
`(#:phases
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 11:28:42 -04:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-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"))
|
|
|
|
|
#t)))))
|
2014-11-07 07:49:37 -05:00
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)
|
|
|
|
|
("glib" ,glib "bin")))
|
2013-10-05 18:24:06 -04:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("libsigc++" ,libsigc++)
|
|
|
|
|
("glib" ,glib)))
|
2018-03-07 07:15:15 -05:00
|
|
|
|
(home-page "https://gtkmm.org/")
|
2013-10-05 18:24:06 -04:00
|
|
|
|
(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 00:46:59 -04:00
|
|
|
|
"Glibmm provides a C++ programming interface to the part of GLib that are
|
2013-10-05 18:24:06 -04:00
|
|
|
|
useful for C++.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
2014-11-18 19:57:41 -05:00
|
|
|
|
|
2020-07-18 04:10:22 -04:00
|
|
|
|
(define-public glibmm-2.64
|
|
|
|
|
(package
|
|
|
|
|
(inherit glibmm)
|
|
|
|
|
(name "glibmm")
|
|
|
|
|
(version "2.64.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "mirror://gnome/sources/glibmm/"
|
|
|
|
|
(version-major+minor version)
|
|
|
|
|
"/glibmm-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1v6lp23fr2qh4zshcnm28sn29j3nzgsvcqj2nhmrnvamipjq4lm7"))))
|
|
|
|
|
(propagated-inputs
|
2020-10-05 07:10:00 -04:00
|
|
|
|
`(("libsigc++" ,libsigc++)
|
2020-07-18 04:10:22 -04:00
|
|
|
|
("glib" ,glib)))))
|
|
|
|
|
|
2014-11-18 19:57:41 -05: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
|
2017-12-16 04:57:21 -05:00
|
|
|
|
(version "2.28.7")
|
2014-11-18 19:57:41 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnome/sources/pygobject/"
|
|
|
|
|
(version-major+minor version)
|
|
|
|
|
"/pygobject-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-12-16 04:57:21 -05:00
|
|
|
|
"0nkam61rsn7y3wik3vw46wk5q2cjfh2iph57hl9m39rc8jijb7dv"))
|
2020-11-10 10:43:59 -05:00
|
|
|
|
(patches (search-patches "python2-pygobject-2-deprecation.patch"))))
|
2014-11-18 19:57:41 -05:00
|
|
|
|
(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 17:53:57 -05:00
|
|
|
|
("python2-pycairo" ,python2-pycairo)
|
2014-11-18 19:57:41 -05: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")))
|
gnu: Update pypi.python.org home pages & use HTTPS.
* gnu/packages/check.scm (python-unittest2, python-pytest-localserver)
(python-discover)[home-page]: Follow (HTTPS) redirections.
* gnu/packages/fontutils.scm (python2-defcon)[home-page]: Likewise.
* gnu/packages/glib.scm (python2-pygobject-2)[home-page]: Likewise.
* gnu/packages/graph.scm (python-igraph)[home-page]: Likewise.
* gnu/packages/graphviz.scm (xdot)[home-page]: Likewise.
* gnu/packages/pdf.scm (python-poppler-qt5)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-zope-event, python-zope-testing)
(python-zope-testrunner, python-zope-i18nmessageid, python-zope-schema)
(python-zope-configuration, python-zope-proxy, python-zope-location)
(python-zope-security))[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-setuptools,python-six)
(python2-dogtail, python2-enum, python-enum34, python-unidecode)
(python-numpydoc, python-decorator, python-drmaa, python-pathlib2)
(python-ly, python-msgpack, python-termcolor, python-colorama)
(python-pluggy, python2-pathlib2, python-rfc3987)[home-page]: Likewise.
2020-01-18 16:00:24 -05:00
|
|
|
|
(home-page "https://pypi.org/project/PyGObject/")
|
2014-11-18 19:57:41 -05:00
|
|
|
|
(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")
|
2020-01-16 03:26:09 -05:00
|
|
|
|
(version "3.34.0")
|
2014-11-18 19:57:41 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnome/sources/pygobject/"
|
|
|
|
|
(version-major+minor version)
|
|
|
|
|
"/pygobject-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-01-16 03:26:09 -05:00
|
|
|
|
"06i7ynnbvgpz0gw09zsjbvhgcp5qz4yzdifw27qjwdazg2mckql7"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; We disable these tests in a snippet so that they are inherited
|
|
|
|
|
;; by the Python 2 variant which is built differently.
|
|
|
|
|
(with-directory-excursion "tests"
|
|
|
|
|
;; FIXME: These tests require Gdk and/or Gtk 4.
|
|
|
|
|
(for-each delete-file
|
|
|
|
|
'("test_atoms.py" "test_overrides_gtk.py"))
|
2018-05-29 17:23:59 -04:00
|
|
|
|
#t)))))
|
2020-01-16 03:26:09 -05:00
|
|
|
|
(build-system meson-build-system)
|
2014-11-18 19:57:41 -05:00
|
|
|
|
(native-inputs
|
2020-01-16 03:26:09 -05:00
|
|
|
|
`(("glib-bin" ,glib "bin")
|
2018-05-29 16:43:00 -04:00
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("python-pytest" ,python-pytest)))
|
2014-11-18 19:57:41 -05:00
|
|
|
|
(inputs
|
|
|
|
|
`(("python" ,python)
|
|
|
|
|
("python-pycairo" ,python-pycairo)
|
2016-03-06 00:40:24 -05:00
|
|
|
|
("gobject-introspection" ,gobject-introspection)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
;; pygobject-3.0.pc refers to all these.
|
|
|
|
|
`(("glib" ,glib)
|
2014-11-18 19:57:41 -05:00
|
|
|
|
("libffi" ,libffi)))
|
2016-03-06 00:27:47 -05:00
|
|
|
|
;; For finding typelib files, since gobject-introscpetion isn't propagated.
|
|
|
|
|
(native-search-paths (package-native-search-paths gobject-introspection))
|
2015-03-16 02:50:32 -04:00
|
|
|
|
(home-page "https://live.gnome.org/PyGObject")
|
2014-11-18 19:57:41 -05:00
|
|
|
|
(synopsis "Python bindings for GObject")
|
|
|
|
|
(description
|
|
|
|
|
"Python bindings for GLib, GObject, and GIO.")
|
2016-02-07 16:52:30 -05:00
|
|
|
|
(license license:lgpl2.1+)
|
|
|
|
|
(properties `((python2-variant . ,(delay python2-pygobject))))))
|
2015-01-18 16:36:26 -05:00
|
|
|
|
|
2015-03-16 02:52:40 -04:00
|
|
|
|
(define-public python2-pygobject
|
gnu: Use PACKAGE/INHERIT in more places.
* gnu/packages/algebra.scm (fftwf, fftw-openmpi),
gnu/packages/audio.scm (ztoolkit-rsvg),
gnu/packages/bioinformatics.scm (python2-dendropy),
gnu/packages/boost.scm (boost-with-python2),
gnu/packages/check.scm (python2-mock, python2-pytest-mock),
gnu/packages/cups.scm (hplip-minimal),
gnu/packages/freedesktop.scm (libinput-minimal),
gnu/packages/gettext.scm (gnu-gettext),
gnu/packages/glib.scm (python2-pygobject),
gnu/packages/gnome.scm (gdl-minimal, libsoup-minimal, python2-pyatspi),
gnu/packages/groff.scm (groff-minimal),
gnu/packages/jami.scm (ffmpeg-jami),
gnu/packages/libcanberra.scm (libcanberra/gtk+-2),
gnu/packages/lirc.scm (python2-lirc),
gnu/packages/llvm.scm (clang-runtime-3.5),
gnu/packages/mpi.scm (java-openmpi, openmpi-thread-multiple),
gnu/packages/node.scm (libnode),
gnu/packages/onc-rpc.scm (libtirpc/hurd),
gnu/packages/python-compression.scm (bitshuffle-for-snappy),
gnu/packages/python-crypto.scm (python2-pycrypto, python2-cryptography)
(python2-cryptography, python2-m2crypto),
gnu/packages/python-web.scm (python2-html2text, python2-tornado)
(python2-terminado, python2-ndg-httpsclient, python2-websocket-client)
(python2-rauth, python2-url, python2-s3transfer),
gnu/packages/python-xyz.scm (python2-psutil, python2-serpent)
(python2-humanfriendly, python2-empy, python2-parse-type, python2-polib)
(python2-jsonschema, python2-pystache, python2-cython, python2-numpydoc)
(python2-ipyparallel, python2-traitlets, python2-dbus)
(python2-beautifulsoup4, python2-pep517, python2-flake8, python2-llfuse)
(python2-tlsh, python-file, python2-notebook, python-jupyter-console-minimal)
(python2-contextlib2, python2-promise, python2-anyjson, python2-amqp)
(python2-kombu, python2-billiard, python2-celery, python2-whoosh)
(python2-jellyfish, python-rope, ptpython-2, python2-binaryornot)
(python2-setproctitle, python2-argcomplete, python2-xopen, python2-isort)
(python2-radon, python2-rfc6555, python2-activepapers, python2-send2trash)
(python2-cloudpickle, python2-reparser),
gnu/packages/python.scm (python2-called-python),
gnu/packages/qt.scm (python2-sip, python-pyqt-without-qtwebkit, python2-pyqt)
(python-qscintilla, python-pyqt+qscintilla),
gnu/packages/scanner.scm (sane-backends),
gnu/packages/sdl.scm (guile3.0-sdl2),
gnu/packages/selinux.scm (checkpolicy, libselinux, libsemanage, secilc)
(python-sepolgen, policycoreutils),
gnu/packages/serialization.scm (lua5.1-libmpack, lua5.2-libmpack),
gnu/packages/simulation.scm (fenics),
gnu/packages/statistics.scm (python2-statsmodels),
gnu/packages/texinfo.scm (info-reader),
gnu/packages/wxwidgets.scm (wxwidgets-gtk2, wxwidgets-gtk2-3.1),
gnu/packages/xml.scm (xmlsec-nss),
gnu/packages/xorg.scm (uim-gtk, uim-qt),
guix/build-system/python.scm (package-with-explicit-python)
(strip-python2-variant): Use PACKAGE/INHERIT.
2021-03-17 03:42:12 -04:00
|
|
|
|
(let ((base (strip-python2-variant python-pygobject)))
|
|
|
|
|
(package/inherit base
|
|
|
|
|
(name "python2-pygobject")
|
|
|
|
|
|
|
|
|
|
;; Note: We use python-build-system here, because Meson only supports
|
|
|
|
|
;; Python 3, and needs PYTHONPATH etc set up correctly, which makes it
|
|
|
|
|
;; difficult to use for Python 2 projects.
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:python ,python-2
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'delete-broken-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
;; FIXME: this test freezes and times out.
|
|
|
|
|
(delete-file "tests/test_mainloop.py")
|
|
|
|
|
;; FIXME: this test fails with this kind of error:
|
|
|
|
|
;; AssertionError: <Handlers.SIG_IGN: 1> != <built-in function default_int_handler
|
|
|
|
|
(delete-file "tests/test_ossig.py")
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("python-pycairo" ,python2-pycairo)
|
|
|
|
|
("gobject-introspection" ,gobject-introspection)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("glib-bin" ,glib "bin")
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("python-pytest" ,python2-pytest))))))
|
2015-03-16 02:52:40 -04:00
|
|
|
|
|
2018-02-24 17:49:54 -05:00
|
|
|
|
(define-public perl-glib
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-glib")
|
2020-04-26 03:22:14 -04:00
|
|
|
|
(version "1.3292")
|
2018-02-24 17:49:54 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://cpan/authors/id/X/XA/XAOC/Glib-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-04-26 03:22:14 -04:00
|
|
|
|
"1q5075d6v2g5sm675hyzrcpxsrh09z83crfci8b0wl3jwmnz0frg"))))
|
2018-02-24 17:49:54 -05:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-extutils-depends" ,perl-extutils-depends)
|
|
|
|
|
("perl-extutils-pkgconfig" ,perl-extutils-pkgconfig)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("glib" ,glib)))
|
2018-08-11 09:53:20 -04:00
|
|
|
|
(home-page "https://metacpan.org/release/Glib")
|
2018-02-24 17:49:54 -05:00
|
|
|
|
(synopsis "Perl wrappers for the GLib utility and Object libraries")
|
|
|
|
|
(description "This module provides perl access to GLib and GLib's GObject
|
|
|
|
|
libraries. GLib is a portability and utility library; GObject provides a
|
|
|
|
|
generic type system with inheritance and a powerful signal system. Together
|
|
|
|
|
these libraries are used as the foundation for many of the libraries that make
|
|
|
|
|
up the Gnome environment, and are used in many unrelated projects.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
2015-01-18 16:36:26 -05:00
|
|
|
|
(define telepathy-glib
|
|
|
|
|
(package
|
|
|
|
|
(name "telepathy-glib")
|
|
|
|
|
(version "0.24.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append
|
2016-02-19 08:23:38 -05:00
|
|
|
|
"https://telepathy.freedesktop.org/releases/telepathy-glib/"
|
2015-01-18 16:36:26 -05:00
|
|
|
|
"telepathy-glib-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2015-10-30 08:31:27 -04:00
|
|
|
|
"1symyzbjmxvksn2ifdkk50lafjm2llf2sbmky062gq2pz3cg23cy"))
|
|
|
|
|
(patches
|
|
|
|
|
(list
|
2020-02-15 10:01:01 -05:00
|
|
|
|
(search-patch "telepathy-glib-channel-memory-leak.patch")
|
2015-10-30 08:31:27 -04:00
|
|
|
|
;; 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 16:36:26 -05:00
|
|
|
|
(build-system gnu-build-system)
|
2016-03-05 00:19:01 -05:00
|
|
|
|
(arguments
|
2019-01-26 18:16:36 -05:00
|
|
|
|
'(#:configure-flags '("--enable-vala-bindings")
|
|
|
|
|
|
|
|
|
|
;; '../tools/glib-*.py' generate files but the target dependencies are
|
|
|
|
|
;; (presumably) not fully specified in the makefile, leading to
|
|
|
|
|
;; parallel build errors like:
|
|
|
|
|
;;
|
|
|
|
|
;; EOFError: EOF read where object expected
|
|
|
|
|
;; make[2]: *** [Makefile:1906: _gen/register-dbus-glib-marshallers-body.h] Error 1
|
2019-12-21 23:19:13 -05:00
|
|
|
|
#:parallel-build? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'disable-failing-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
;; None of the tests below are able to find the org.gtk.vfs.Daemon
|
|
|
|
|
;; service file provided by gvfs.
|
|
|
|
|
(substitute* "tests/dbus/Makefile.in"
|
|
|
|
|
(("test-contacts\\$\\(EXEEXT\\)") "")
|
|
|
|
|
(("test-file-transfer-channel\\$\\(EXEEXT\\)") "")
|
|
|
|
|
(("test-stream-tube\\$\\(EXEEXT\\)") ""))
|
|
|
|
|
#t)))))
|
2015-01-18 16:36:26 -05:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("glib" ,glib "bin") ; uses glib-mkenums
|
2015-11-09 20:57:14 -05:00
|
|
|
|
("gobject-introspection" ,gobject-introspection)
|
2015-01-18 16:36:26 -05:00
|
|
|
|
("pkg-config" ,pkg-config)
|
2015-11-09 20:57:14 -05:00
|
|
|
|
("python" ,python-2)
|
2016-03-05 00:19:01 -05:00
|
|
|
|
("vala" ,vala)
|
2015-11-09 20:57:14 -05:00
|
|
|
|
("xsltproc" ,libxslt)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
;; There are all in the Requires.private field of telepathy-glib.pc.
|
2015-01-18 16:36:26 -05:00
|
|
|
|
`(("dbus" ,dbus)
|
|
|
|
|
("dbus-glib" ,dbus-glib)
|
2015-11-09 20:57:14 -05:00
|
|
|
|
("glib" ,glib)))
|
gnu: Use HTTPS for supported freedesktop.org home pages.
* gnu/packages/fontutils.scm (fontconfig)[home-page]: Use HTTPS.
* gnu/packages/freedesktop.scm (python-pyxdg, accountsservice)
(modem-manager, telepathy-mission-control, telepathy-mission-control)
(colord-gtk, desktop-file-utils)[home-page]: Likewise.
* gnu/packages/ghostscript.scm (libspectre)[home-page]: Likewise.
* gnu/packages/glib.scm (dbus, dbus-glib, telepathy-glib)[home-page]:
Likewise.
* gnu/packages/gnome.scm (shared-mime-info, hicolor-icon-theme)
(libxklavier, colord, upower)[home-page]: Likewise.
* gnu/packages/gstreamer.scm (orc, python-gst)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (sound-theme-freedesktop)[home-page]:
Likewise.
* gnu/packages/libreoffice.scm (libexttextcat)[home-page]: Likewise.
* gnu/packages/polkit.scm (polkit-gnome, polkit-gnome)[home-page]:
Likewise.
* gnu/packages/pulseaudio.scm (pavucontrol)[home-page]: Likewise.
* gnu/packages/python.scm (python-dbus)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (startup-notification)[home-page]: Likewise.
2018-02-24 07:44:26 -05:00
|
|
|
|
(home-page "https://telepathy.freedesktop.org/wiki/")
|
2015-01-18 16:36:26 -05:00
|
|
|
|
(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+)))
|
2016-07-21 09:39:54 -04:00
|
|
|
|
|
|
|
|
|
(define-public dbus-c++
|
|
|
|
|
(package
|
|
|
|
|
(name "dbus-c++")
|
|
|
|
|
(version "0.9.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append
|
|
|
|
|
"mirror://sourceforge/dbus-cplusplus/dbus-c%2B%2B/"
|
|
|
|
|
version "/libdbus-c%2B%2B-" version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
2019-07-31 10:52:39 -04:00
|
|
|
|
(patches (search-patches "dbus-c++-gcc-compat.patch"
|
|
|
|
|
"dbus-c++-threading-mutex.patch"))
|
2016-07-21 09:39:54 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0qafmy2i6dzx4n1dqp6pygyy6gjljnb7hwjcj2z11c1wgclsq4dw"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("dbus" ,dbus))) ;mentioned in the pkg-config file
|
|
|
|
|
(inputs
|
|
|
|
|
`(("efl" ,efl)
|
|
|
|
|
("expat" ,expat)
|
|
|
|
|
("glib" ,glib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(;; The 'configure' machinery fails to detect that it needs -lpthread.
|
|
|
|
|
#:configure-flags (list "LDFLAGS=-lpthread")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'add-missing-header
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "include/dbus-c++/eventloop-integration.h"
|
|
|
|
|
(("#include <errno.h>")
|
2019-07-31 10:52:39 -04:00
|
|
|
|
"#include <errno.h>\n#include <unistd.h>"))
|
|
|
|
|
#t)))))
|
2016-07-21 09:39:54 -04:00
|
|
|
|
(synopsis "D-Bus API for C++")
|
|
|
|
|
(description "This package provides D-Bus client API bindings for the C++
|
2021-03-08 22:02:38 -05:00
|
|
|
|
programming language. It also provides the @command{dbusxx-xml2cpp} and
|
|
|
|
|
@command{dbusxx-introspect} commands.")
|
2016-07-21 09:39:54 -04:00
|
|
|
|
(home-page "https://sourceforge.net/projects/dbus-cplusplus/")
|
2016-09-28 08:13:55 -04:00
|
|
|
|
(license license:lgpl2.1+)))
|
2020-10-23 08:40:20 -04:00
|
|
|
|
|
|
|
|
|
(define-public dbus-cxx
|
|
|
|
|
(package
|
|
|
|
|
(name "dbus-cxx")
|
|
|
|
|
(version "0.12.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/dbus-cxx/dbus-cxx/"
|
|
|
|
|
version "/dbus-cxx-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1acsgpkd9v7b9jdc79ijmh9dbdfrzgkwkaff518i3zpk7y6g5mzw"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags '("-DENABLE_TESTS=ON"
|
|
|
|
|
"-DENABLE_TOOLS=ON"
|
|
|
|
|
"-DENABLE_GLIBMM=ON")))
|
|
|
|
|
(inputs `(("dbus" ,dbus)
|
|
|
|
|
("libsigc++" ,libsigc++)
|
|
|
|
|
("glibmm" ,glibmm)
|
|
|
|
|
("python" ,python)
|
|
|
|
|
("popt" ,popt)
|
|
|
|
|
("expat" ,expat)))
|
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)
|
|
|
|
|
("m4" ,m4)))
|
|
|
|
|
(synopsis "C++ wrapper for dbus")
|
|
|
|
|
(description "Dbus-cxx is a C++ wrapper for dbus.\n
|
|
|
|
|
It exposes the C API to allow direct manipulation and
|
|
|
|
|
relies on sigc++ to provide an Oriented Object interface.\n
|
|
|
|
|
This package provide 2 utils:
|
|
|
|
|
@enumerate
|
|
|
|
|
@item @command{dbus-cxx-xml2cpp} to generate proxy and adapter
|
|
|
|
|
@item @command{dbus-cxx-introspect} to introspect a dbus interface
|
|
|
|
|
@end enumerate
|
|
|
|
|
|
|
|
|
|
Some codes examples can be find at:
|
|
|
|
|
@url{https://dbus-cxx.github.io/examples.html}")
|
|
|
|
|
(home-page "https://dbus-cxx.github.io/")
|
|
|
|
|
(license license:gpl3)))
|
2016-09-07 15:13:06 -04:00
|
|
|
|
|
|
|
|
|
(define-public appstream-glib
|
|
|
|
|
(package
|
|
|
|
|
(name "appstream-glib")
|
2020-10-04 17:42:36 -04:00
|
|
|
|
(version "0.7.18")
|
2016-09-07 15:13:06 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://people.freedesktop.org/~hughsient/"
|
|
|
|
|
"appstream-glib/releases/"
|
|
|
|
|
"appstream-glib-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-10-04 17:42:36 -04:00
|
|
|
|
"00j0kkgf224nzmrha72g8pd72mymhph7vaisj35i4ffy7cpd47na"))))
|
2018-01-18 20:52:24 -05:00
|
|
|
|
(build-system meson-build-system)
|
2016-09-07 15:13:06 -04:00
|
|
|
|
(native-inputs
|
2018-01-18 20:52:24 -05:00
|
|
|
|
`(("gettext" ,gettext-minimal)
|
2021-05-01 14:57:01 -04:00
|
|
|
|
("gsettings" ,gsettings-desktop-schemas) ; for ‘org.gnome.system.proxy’
|
2018-01-18 20:52:24 -05:00
|
|
|
|
("glib:bin" ,glib "bin") ; for glib-compile-resources
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
2018-02-05 03:15:04 -05:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("gcab" ,gcab) ; for .pc file
|
|
|
|
|
("gdk-pixbuf" ,gdk-pixbuf) ; for .pc file
|
gnu: util-linux: Move libraries to separate output.
Fixes <https://bugs.gnu.org/37732>.
Reported by Diego Nicola Barbato <dnbarbato@posteo.de>.
* gnu/packages/linux.scm (util-linux)[outputs]: Add "lib".
[arguments]: Update #:configure-flags and the "move-static-libraries" phase
accordingly. Add phases "patch-build-scripts" and "adjust-pkg-config-files".
(e2fsprogs, psm, mtd-utils, f2fs-tools, f2fs-tools-1.7, eudev,
xfsprogs)[inputs]: Change to the "lib" output of UTIL-LINUX.
(btrfs-progs)[inputs]: Remove duplicate UTIL-LINUX inputs and change to use
the "lib" output.
* gnu/packages/admin.scm (pam-mount)[inputs]: Add UTIL-LINUX:LIB.
(testdisk)[inputs]: Change to the "lib" output of UTIL-LINUX.
* gnu/packages/android.scm (abootimg)[inputs]: Likewise.
* gnu/packages/audio.scm (jack-1)[propagated-inputs]: Likewise.
* gnu/packages/bootloaders.scm (syslinux, vboot-utils)[inputs]: Likewise.
* gnu/packages/chez.scm (chez-scheme)[inputs]: Likewise.
* gnu/packages/cryptsetup.scm (cryptsetup, cryptsetup-static)[inputs]: Likewise.
* gnu/packages/databases.scm (postgresql, 4store)[inputs]: Likewise.
* gnu/packages/disk.scm (ndctl, gptfdisk, fdisk, gparted, rmlint,
volume-key)[inputs]: Likewise.
(parted)[inputs]: Likewise.
[native-inputs]: Add UTIL-LINUX.
* gnu/packages/efi.scm (sbsigntools)[inputs]: Add UTIL-LINUX:LIB.
* gnu/packages/engineering.scm (lib3mf)[inputs]: Change to the "lib" output of
UTIL-LINUX.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise.
* gnu/packages/file-systems.scm (glusterfs, jfsutils, zfs)[inputs]: Likewise.
* gnu/packages/firmware.scm (ovmf)[inputs]: Likewise.
* gnu/packages/fontutils.scm (fontconfig)[propagated-inputs]: Likewise.
* gnu/packages/freedesktop.scm (localed)[inputs]: Likewise.
* gnu/packages/glib.scm (glib, appstream-glib)[propagated-inputs]: Likewise.
* gnu/packages/gnome.scm (tracker, gnome-terminal)[inputs]: Likewise.
* gnu/packages/jupyter.scm (xeus)[inputs]: Likewise.
* gnu/packages/kde.scm (kpmcore)[inputs]: Likewise.
* gnu/packages/kodi.scm (crossguid)[inputs]: Likewise.
* gnu/packages/lighting.scm (ola)[inputs]: Likewise.
* gnu/packages/music.scm (libgig)[inputs]: Likewise.
* gnu/packages/nfs.scm (nfs-utils)[inputs]: Likewise.
* gnu/packages/opencog.scm (opencog)[inputs]: Likewise.
* gnu/packages/package-management.scm (msitools)[inputs]: Change to the "lib"
output of UTIL-LINUX.
* gnu/packages/password-utils.scm (pwsafe)[inputs]: Likewise.
* gnu/packages/telephony.scm (pjproject)[propagated-inputs]: Likewise.
* gnu/packages/rdf.scm (rasqal)[inputs]: Likewise.
* gnu/packages/search.scm (xapian)[inputs]: Likewise.
* gnu/packages/sssd.scm (sssd)[native-inputs]: Likewise.
* gnu/packages/storage.scm (ceph)[inputs]: Add UTIL-LINUX:LIB.
* gnu/packages/task-management.scm (taskwarrior)[inputs]: Change to the "lib"
output of UTIL-LINUX.
* gnu/packages/virtualization.scm (libvirt, xen)[inputs]: Likewise.
* gnu/packages/xorg.scm (libsm)[inputs]: Likewise.
2020-01-14 18:24:28 -05:00
|
|
|
|
("libuuid" ,util-linux "lib"))) ; for .pc file
|
2016-09-07 15:13:06 -04:00
|
|
|
|
(inputs
|
2018-02-05 03:15:04 -05:00
|
|
|
|
`(("glib" ,glib)
|
2018-01-18 20:52:24 -05:00
|
|
|
|
("gperf" ,gperf)
|
2016-09-07 15:13:06 -04:00
|
|
|
|
("gtk+" ,gtk+)
|
|
|
|
|
("json-glib" ,json-glib)
|
|
|
|
|
("libarchive" ,libarchive)
|
2020-05-13 10:15:30 -04:00
|
|
|
|
("libsoup" ,libsoup)))
|
2016-09-07 15:13:06 -04:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
2018-01-25 20:14:20 -05:00
|
|
|
|
(list "-Ddep11=false"
|
|
|
|
|
"-Dintrospection=false" ; avoid g-ir-scanner dependency
|
|
|
|
|
"-Drpm=false"
|
|
|
|
|
"-Dstemmer=false")
|
2016-09-07 15:13:06 -04:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "libappstream-glib/as-self-test.c"
|
2018-01-18 20:52:24 -05:00
|
|
|
|
(("g_test_add_func.*as_test_store_local_appdata_func);") ""))
|
2016-09-07 15:13:06 -04:00
|
|
|
|
#t)))))
|
|
|
|
|
(home-page "https://github.com/hughsie/appstream-glib")
|
|
|
|
|
(synopsis "Library for reading and writing AppStream metadata")
|
|
|
|
|
(description "This library provides objects and helper methods to help
|
|
|
|
|
reading and writing @uref{https://www.freedesktop.org/wiki/Distributions/AppStream,AppStream}
|
|
|
|
|
metadata.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
2017-10-25 02:26:14 -04:00
|
|
|
|
|
|
|
|
|
(define perl-net-dbus
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-net-dbus")
|
|
|
|
|
(version "1.1.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/D/DA/DANBERR/Net-DBus-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0sg2w147b9r9ykfzjs7y9qxry73xkjnhnk4qf95kfv79p5nnk4c3"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("perl-test-pod" ,perl-test-pod)
|
|
|
|
|
("perl-test-pod-coverage" ,perl-test-pod-coverage)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("dbus" ,dbus)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-xml-twig" ,perl-xml-twig)))
|
2018-08-11 09:53:20 -04:00
|
|
|
|
(home-page "https://metacpan.org/release/Net-DBus")
|
2017-10-25 02:26:14 -04:00
|
|
|
|
(synopsis "Extension for the DBus bindings")
|
|
|
|
|
(description "@code{Net::DBus} provides a Perl XS API to the DBus
|
|
|
|
|
inter-application messaging system. The Perl API covers the core base level
|
|
|
|
|
of the DBus APIs, not concerning itself yet with the GLib or QT wrappers.")
|
|
|
|
|
(license license:perl-license)))
|
2017-10-25 02:30:58 -04:00
|
|
|
|
|
|
|
|
|
(define perl-net-dbus-glib
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-net-dbus-glib")
|
|
|
|
|
(version "0.33.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/D/DA/DANBERR/"
|
|
|
|
|
"Net-DBus-GLib-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1z4mbv8z0rad604xahijpg5szzi8qak07hbahh230z4jf96fkxvj"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("dbus-glib" ,dbus-glib)))
|
2018-08-11 09:53:20 -04:00
|
|
|
|
(home-page "https://metacpan.org/release/Net-DBus-GLib")
|
2017-10-25 02:30:58 -04:00
|
|
|
|
(synopsis "Perl extension for the DBus GLib bindings")
|
|
|
|
|
(description "This package provides an extension to the @code{Net::DBus}
|
|
|
|
|
module allowing integration with the GLib mainloop. To integrate with the
|
|
|
|
|
main loop, simply get a connection to the bus via the methods in
|
|
|
|
|
@code{Net::DBus::GLib} rather than the usual @code{Net::DBus} module. Every
|
|
|
|
|
other API remains the same.")
|
|
|
|
|
(license license:gpl2+)))
|
2019-08-19 19:12:11 -04:00
|
|
|
|
|
|
|
|
|
(define-public template-glib
|
|
|
|
|
(package
|
|
|
|
|
(name "template-glib")
|
2020-06-16 16:47:10 -04:00
|
|
|
|
(version "3.34.0")
|
2019-08-19 19:12:11 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnome/sources/" name "/"
|
|
|
|
|
(version-major+minor version) "/"
|
|
|
|
|
name "-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-06-16 16:47:10 -04:00
|
|
|
|
"1z9xkin5fyfh071ma9y045jcw83hgx33dfbjraw6cxk0qdmfysr1"))))
|
2019-08-19 19:12:11 -04:00
|
|
|
|
(build-system meson-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags '("-D" "enable_gtk_doc=true")))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("gettext" ,gettext-minimal)
|
|
|
|
|
("glib" ,glib)
|
|
|
|
|
("gobject-introspection" ,gobject-introspection)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("bison" ,bison)
|
|
|
|
|
("flex" ,flex)
|
|
|
|
|
("glib:bin" ,glib "bin") ;; For glib-mkenums
|
gnu: Use 'gtk-doc/stable' in native-inputs of selected packages.
* gnu/packages/calendar.scm (libical),
gnu/packages/check.scm (umockdev),
gnu/packages/fontutils.scm (libraqm),
gnu/packages/freedesktop.scm (appstream, farstream, libglib-testing)
(udisks, libfprint, libportal),
gnu/packages/geo.scm (memphis, osm-gps-map),
gnu/packages/glib.scm (template-glib),
gnu/packages/gnome.scm (gupnp-igd, libcloudproviders, libgrss, seed)
(gtx, dee, zeitgeist, phodav, gssdp, gupnp, gupnp-dlna, gupnp-av, rygel)
(libnma, gdl, libnotify, vte-ng, dconf, libxklavier, libsoup, colord)
(geoclue, geocode-glib, amtk, grilo, gvfs, gusb, network-manager)
(network-manager-applet, gfbgraph, libunique, cheese, libhandy)
(gnome-latex, libgda),
gnu/packages/gstreamer.scm (orc),
gnu/packages/gtk.scm (at-spi2-core, goocanvas),
gnu/packages/language.scm (nimf),
gnu/packages/networking.scm (libnice),
gnu/packages/video.scm (schroedinger),
gnu/packages/virtualization.scm (libosinfo),
gnu/packages/webkit.scm (wpewebkit, webkitgtk),
gnu/packages/xml.scm (libxmlb)[native-inputs]: Replace 'gtk-doc' with
'gtk-doc/stable'.
2021-03-27 07:35:02 -04:00
|
|
|
|
("gtk-doc" ,gtk-doc/stable)
|
2019-08-19 19:12:11 -04:00
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("vala" ,vala)))
|
|
|
|
|
(home-page "https://gitlab.gnome.org/GNOME/template-glib")
|
|
|
|
|
(synopsis "Library for template expansion")
|
|
|
|
|
(description
|
|
|
|
|
"Template-GLib is a library to help you generate text based on a template and
|
|
|
|
|
user defined state. Template-GLib does not use a language runtime, so it is
|
|
|
|
|
safe to use from any GObject-Introspectable language.
|
|
|
|
|
|
|
|
|
|
Template-GLib allows you to access properties on GObjects as well as call
|
|
|
|
|
simple methods via GObject-Introspection.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
2019-09-26 10:40:11 -04:00
|
|
|
|
|
|
|
|
|
(define-public xdg-dbus-proxy
|
|
|
|
|
(package
|
|
|
|
|
(name "xdg-dbus-proxy")
|
|
|
|
|
(version "0.1.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/flatpak/xdg-dbus-proxy"
|
|
|
|
|
"/releases/download/" version
|
|
|
|
|
"/xdg-dbus-proxy-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"03sj1h0c2l08xa8phw013fnxr4fgav7l2mkjhzf9xk3dykwxcj8p"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
|
|
|
|
|
;; For tests.
|
|
|
|
|
("dbus" ,dbus)
|
|
|
|
|
|
|
|
|
|
;; These are required to build the manual.
|
|
|
|
|
("docbook-xml" ,docbook-xml-4.3)
|
|
|
|
|
("docbook-xsl" ,docbook-xsl)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("xsltproc" ,libxslt)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("glib" ,glib)))
|
|
|
|
|
(home-page "https://github.com/flatpak/xdg-dbus-proxy")
|
|
|
|
|
(synopsis "D-Bus connection proxy")
|
|
|
|
|
(description
|
|
|
|
|
"xdg-dbus-proxy is a filtering proxy for D-Bus connections. It can be
|
|
|
|
|
used to create D-Bus sockets inside a Linux container that forwards requests
|
|
|
|
|
to the host system, optionally with filters applied.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
2020-05-14 11:57:31 -04:00
|
|
|
|
|
|
|
|
|
(define-public dbus-test-runner
|
|
|
|
|
(package
|
|
|
|
|
(name "dbus-test-runner")
|
|
|
|
|
(version "19.04.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://launchpad.net/dbus-test-runner/"
|
|
|
|
|
(version-major+minor version) "/" version
|
|
|
|
|
"/+download/dbus-test-runner-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0xnbay58xn0hav208mdsg8dd176w57dcpw1q2k0g5fh9v7xk4nk4"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'fix-test-paths
|
|
|
|
|
;; add missing space
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(substitute* "Makefile.in"
|
|
|
|
|
(("#!/bin/bash") (string-append "#!" (which "bash"))))
|
|
|
|
|
(substitute* "tests/Makefile.in"
|
|
|
|
|
(("/bin/sh") (which "sh"))
|
|
|
|
|
(("#!/bin/bash") (string-append "#!" (which "bash")))
|
|
|
|
|
(("echo cat") (string-append "echo " (which "cat")))
|
|
|
|
|
(("/bin/true") (which "true")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("gtk+" ,gtk+)
|
|
|
|
|
("glib" ,glib)
|
|
|
|
|
("dbus-glib" ,dbus-glib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("glib:bin" ,glib "bin")
|
|
|
|
|
("intltool" ,intltool)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
;; following used for tests
|
|
|
|
|
("python" ,python)
|
|
|
|
|
("python-dbusmock" ,python-dbusmock)
|
|
|
|
|
("xvfb" ,xorg-server-for-tests)))
|
|
|
|
|
(home-page "https://launchpad.net/dbus-test-runner")
|
|
|
|
|
(synopsis "Run a executables under a new DBus session for testing")
|
|
|
|
|
(description "A small little utility to run a couple of executables under a
|
|
|
|
|
new DBus session for testing.")
|
|
|
|
|
(license license:gpl3)))
|