2013-05-05 00:06:32 +02:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
|
|
|
|
;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
|
2021-02-04 09:40:49 +01:00
|
|
|
|
;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
|
2021-03-12 09:51:45 +01:00
|
|
|
|
;;; Copyright © 2014, 2015, 2017, 2018, 2019, 2021 Mark H Weaver <mhw@netris.org>
|
gnu: Use version-major+minor in gnome and gtk.
* gnu/packages/gnome.scm (gnome-desktop, gnome-doc-utils,
libgnome-keyring, evince, gsettings-desktop-schemas,
gnome-icon-theme, libnotify, lipeas, glade, libcroco, libgsf,
librsvg, libidl, orbit2, gconf, gnome-mime-data, gnome-vfs,
libgnome, libart-lgpl, libgnomecanvas, libgnomeui, libglade,
libgnomeprint, libgnomeprintui, libbonoboui, goffice, gnumeric): Use
version-major+minor.
(shared-mime-info, hicolor-icon-theme): Wrap long uri lines.
* gnu/packages/gtk.scm (atk, pangox-compat, gtksourceview, gdk-pixbuf,
at-spi2-core, at-spi2-atk, gtk+-2, gtk+, pangomm, atkmm, gtkmm,
gtkmm-2): Use version-major+minor.
2014-11-04 12:02:51 +01:00
|
|
|
|
;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
|
2015-01-14 15:53:22 +01:00
|
|
|
|
;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch>
|
2015-03-02 00:25:10 +01:00
|
|
|
|
;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
|
2015-04-08 09:05:11 +02:00
|
|
|
|
;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
|
2015-08-08 19:34:58 +02:00
|
|
|
|
;;; Copyright © 2015 Andy Wingo <wingo@igalia.com>
|
2015-11-08 20:51:46 +01:00
|
|
|
|
;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
|
2021-04-09 19:50:37 +02:00
|
|
|
|
;;; Copyright © 2015, 2016, 2017, 2018, 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
|
2021-05-18 22:06:08 +02:00
|
|
|
|
;;; Copyright © 2016, 2017, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
|
2016-02-06 06:34:34 +01:00
|
|
|
|
;;; Copyright © 2016 Fabian Harfert <fhmgufs@web.de>
|
2017-08-28 04:27:56 +02:00
|
|
|
|
;;; Copyright © 2016 Kei Kebreau <kkebreau@posteo.net>
|
2016-05-28 18:01:48 +02:00
|
|
|
|
;;; Copyright © 2016 Patrick Hetu <patrick.hetu@auf.org>
|
mailmap: Update entries for Nikita.
* .mailmap: change email and name for Nikita.
* Makefile.am, doc/guix.texi, etc/completion/fish/guix.fish,
gnu/packages/accessibility.scm, gnu/packages/admin.scm,
gnu/packages/audio.scm, gnu/packages/autotools.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/cinnamon.scm,
gnu/packages/compression.scm, gnu/packages/crypto.scm,
gnu/packages/databases.scm, gnu/packages/django.scm, gnu/packages/dns.scm,
gnu/packages/elixir.scm, gnu/packages/emacs-xyz.scm, gnu/packages/emacs.scm,
gnu/packages/enlightenment.scm, gnu/packages/erlang.scm,
gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/forth.scm,
gnu/packages/fvwm.scm, gnu/packages/games.scm, gnu/packages/gl.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile-xyz.scm,
gnu/packages/haskell-apps.scm, gnu/packages/haskell-check.scm,
gnu/packages/haskell-crypto.scm, gnu/packages/haskell-xyz.scm,
gnu/packages/haskell.scm, gnu/packages/image-viewers.scm,
gnu/packages/image.scm, gnu/packages/irc.scm, gnu/packages/language.scm,
gnu/packages/libcanberra.scm, gnu/packages/linux.scm,
gnu/packages/lisp-xyz.scm, gnu/packages/lisp.scm, gnu/packages/lolcode.scm,
gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/mail.scm,
gnu/packages/markup.scm, gnu/packages/mate.scm, gnu/packages/maths.scm,
gnu/packages/mc.scm, gnu/packages/messaging.scm, gnu/packages/music.scm,
gnu/packages/ncurses.scm, gnu/packages/networking.scm,
gnu/packages/nickle.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl-check.scm, gnu/packages/perl.scm,
gnu/packages/python-compression.scm, gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm, gnu/packages/python-xyz.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/ruby.scm,
gnu/packages/rust.scm, gnu/packages/scheme.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/ssh.scm, gnu/packages/suckless.scm, gnu/packages/tbb.scm,
gnu/packages/telephony.scm, gnu/packages/text-editors.scm,
gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tls.scm,
gnu/packages/tor.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/web.scm,
gnu/packages/wm.scm, gnu/packages/xdisorg.scm, gnu/packages/xfce.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/services/certbot.scm,
gnu/services/desktop.scm, gnu/services/version-control.scm,
gnu/services/web.scm, guix/import/hackage.scm, guix/licenses.scm: Likewise.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-05-11 13:05:45 +02:00
|
|
|
|
;;; Copyright © 2016 Nikita <nikita@n0.is>
|
2018-01-10 17:55:37 +01:00
|
|
|
|
;;; Copyright © 2017 Roel Janssen <roel@gnu.org>
|
2021-04-20 11:08:02 +02:00
|
|
|
|
;;; Copyright © 2017–2021 Tobias Geerinckx-Rice <me@tobias.gr>
|
2019-12-03 00:55:06 +01:00
|
|
|
|
;;; Copyright © 2017, 2019, 2020 Marius Bakke <mbakke@fastmail.com>
|
2018-02-24 23:48:47 +01:00
|
|
|
|
;;; Copyright © 2018 Alex Vong <alexvong1995@gmail.com>
|
2020-03-08 19:06:04 +01:00
|
|
|
|
;;; Copyright © 2018, 2020 Arun Isaac <arunisaac@systemreboot.net>
|
2018-11-09 19:17:05 +01:00
|
|
|
|
;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
|
2019-05-15 06:51:27 +02:00
|
|
|
|
;;; Copyright © 2019 Meiyo Peng <meiyo@riseup.net>
|
2019-08-18 17:42:19 +02:00
|
|
|
|
;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
|
2020-03-15 06:28:52 +01:00
|
|
|
|
;;; Copyright © 2020 Brendan Tildesley <mail@brendan.scot>
|
2020-04-05 14:46:06 +02:00
|
|
|
|
;;; Copyright © 2020 Guillaume Le Vaillant <glv@posteo.net>
|
2021-01-24 04:33:10 +01:00
|
|
|
|
;;; Copyright © 2020, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
2021-02-16 20:08:27 +01:00
|
|
|
|
;;; Copyright © 2021 Leo Famulari <leo@famulari.name>
|
2021-05-06 11:22:08 +02:00
|
|
|
|
;;; Copyright © 2021 Simon Streit <simon@netpanic.org>
|
2021-08-24 13:15:09 +02:00
|
|
|
|
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
|
2013-05-05 00:06:32 +02: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/>.
|
|
|
|
|
|
|
|
|
|
(define-module (gnu packages gtk)
|
Use #:prefix instead of #:renamer with 'symbol-prefix-proc'.
* gnu/packages/abiword.scm, gnu/packages/admin.scm, gnu/packages/aidc.scm,
gnu/packages/backup.scm, gnu/packages/bittorrent.scm,
gnu/packages/boost.scm, gnu/packages/compression.scm,
gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/dc.scm, gnu/packages/emacs.scm,
gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/geeqie.scm,
gnu/packages/ghostscript.scm, gnu/packages/gimp.scm,
gnu/packages/gkrellm.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm, gnu/packages/gnuzilla.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/gv.scm, gnu/packages/image.scm,
gnu/packages/indent.scm, gnu/packages/inkscape.scm,
gnu/packages/lesstif.scm, gnu/packages/links.scm, gnu/packages/lisp.scm,
gnu/packages/lsh.scm, gnu/packages/lsof.scm, gnu/packages/maths.scm,
gnu/packages/mp3.scm, gnu/packages/openssl.scm, gnu/packages/ots.scm,
gnu/packages/pciutils.scm, gnu/packages/pcre.scm, gnu/packages/pdf.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm, gnu/packages/slim.scm,
gnu/packages/ssh.scm, gnu/packages/texlive.scm, gnu/packages/vim.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wv.scm,
gnu/packages/xiph.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm,
gnu/packages/yasm.scm, gnu/packages/zip.scm,
guix/build/cmake-build-system.scm, guix/build/perl-build-system.scm,
guix/build/python-build-system.scm, guix/download.scm: Replaces uses of
#:renamer and 'symbol-prefix-proc' with #:prefix.
2014-09-23 22:44:22 +02:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2021-07-08 14:15:20 +02:00
|
|
|
|
#:use-module (guix gexp)
|
gnu: Use version-major+minor in gnome and gtk.
* gnu/packages/gnome.scm (gnome-desktop, gnome-doc-utils,
libgnome-keyring, evince, gsettings-desktop-schemas,
gnome-icon-theme, libnotify, lipeas, glade, libcroco, libgsf,
librsvg, libidl, orbit2, gconf, gnome-mime-data, gnome-vfs,
libgnome, libart-lgpl, libgnomecanvas, libgnomeui, libglade,
libgnomeprint, libgnomeprintui, libbonoboui, goffice, gnumeric): Use
version-major+minor.
(shared-mime-info, hicolor-icon-theme): Wrap long uri lines.
* gnu/packages/gtk.scm (atk, pangox-compat, gtksourceview, gdk-pixbuf,
at-spi2-core, at-spi2-atk, gtk+-2, gtk+, pangomm, atkmm, gtkmm,
gtkmm-2): Use version-major+minor.
2014-11-04 12:02:51 +01:00
|
|
|
|
#:use-module (guix utils)
|
2013-05-05 00:06:32 +02:00
|
|
|
|
#:use-module (guix packages)
|
|
|
|
|
#:use-module (guix download)
|
2016-11-27 23:32:06 +01:00
|
|
|
|
#:use-module (guix git-download)
|
2021-03-27 12:29:25 +01:00
|
|
|
|
#:use-module ((guix build utils) #:select (alist-replace))
|
2019-11-01 20:02:00 +01:00
|
|
|
|
#:use-module (guix build-system glib-or-gtk)
|
2013-05-05 00:06:32 +02:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2018-03-19 18:48:27 +01:00
|
|
|
|
#:use-module (guix build-system meson)
|
2018-02-24 23:48:47 +01:00
|
|
|
|
#:use-module (guix build-system perl)
|
2014-11-20 03:25:24 +01:00
|
|
|
|
#:use-module (guix build-system python)
|
2015-02-15 21:45:54 +01:00
|
|
|
|
#:use-module (guix build-system waf)
|
2015-04-20 07:45:43 +02:00
|
|
|
|
#:use-module (gnu packages)
|
2015-08-08 19:34:58 +02:00
|
|
|
|
#:use-module (gnu packages algebra)
|
2015-08-31 22:46:32 +02:00
|
|
|
|
#:use-module (gnu packages autotools)
|
2017-04-15 14:33:39 +02:00
|
|
|
|
#:use-module (gnu packages base)
|
2021-08-24 11:24:57 +02:00
|
|
|
|
#:use-module (gnu packages bash)
|
2021-03-25 11:49:16 +01:00
|
|
|
|
#:use-module (gnu packages boost)
|
2021-01-24 04:33:10 +01:00
|
|
|
|
#:use-module (gnu packages build-tools)
|
2015-08-31 22:46:32 +02:00
|
|
|
|
#:use-module (gnu packages texinfo)
|
2015-03-02 00:25:10 +01:00
|
|
|
|
#:use-module (gnu packages check)
|
2013-06-14 20:57:43 +02:00
|
|
|
|
#:use-module (gnu packages compression)
|
2015-08-08 19:34:58 +02:00
|
|
|
|
#:use-module (gnu packages docbook)
|
2020-07-11 18:20:05 +02:00
|
|
|
|
#:use-module (gnu packages documentation)
|
2016-05-11 00:15:54 +02:00
|
|
|
|
#:use-module (gnu packages enchant)
|
2013-06-14 20:57:43 +02:00
|
|
|
|
#:use-module (gnu packages fontutils)
|
2017-05-10 14:23:30 +02:00
|
|
|
|
#:use-module (gnu packages freedesktop)
|
2018-02-19 21:26:12 +01:00
|
|
|
|
#:use-module (gnu packages fribidi)
|
2015-08-08 19:34:58 +02:00
|
|
|
|
#:use-module (gnu packages gettext)
|
2013-06-14 20:57:43 +02:00
|
|
|
|
#:use-module (gnu packages ghostscript)
|
2015-04-04 22:46:47 +02:00
|
|
|
|
#:use-module (gnu packages gl)
|
2013-05-05 00:06:32 +02:00
|
|
|
|
#:use-module (gnu packages glib)
|
2013-11-30 11:11:54 +01:00
|
|
|
|
#:use-module (gnu packages gnome)
|
2021-03-25 03:46:44 +01:00
|
|
|
|
#:use-module (gnu packages graphviz)
|
2013-06-14 23:28:58 +02:00
|
|
|
|
#:use-module (gnu packages icu4c)
|
gnu: Consolidate libjpeg, libpng, and libtiff into one module.
* gnu/packages/image.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add image.scm and remove libjpeg.scm,
libpng.scm, and libtiff.scm.
* gnu/packages/libjpeg.scm, gnu/packages/libpng.scm, gnu/packages/libtiff.scm:
Delete files.
* gnu/packages/emacs.scm gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnustep.scm, gnu/packages/gnuzilla.scm,
gnu/packages/graphviz.scm, gnu/packages/gtk.scm,
gnu/packages/imagemagick.scm, gnu/packages/inkscape.scm,
gnu/packages/netpbm.scm, gnu/packages/pdf.scm, gnu/packages/plotutils.scm,
gnu/packages/qemu.scm, gnu/packages/qt.scm, gnu/packages/scheme.scm,
gnu/packages/sdl.scm, gnu/packages/slim.scm, gnu/packages/tcl.scm,
gnu/packages/texlive.scm, gnu/packages/video.scm, gnu/packages/xiph.scm,
gnu/packages/xorg.scm: Use (gnu packages image) module.
2014-06-25 14:39:02 +02:00
|
|
|
|
#:use-module (gnu packages image)
|
gnu: gtk+: Add missing inputs.
* gnu/packages/gtk.scm (gtk+) [native-inputs]: Add docbook-xml,
hicolor-icon-theme, intltool, sassc and libxslt.
[inputs]: Add graphene, harfbuzz, iso-codes and papi.
[propagated-inputs]: Add cairo, fribidi, fontconfig, freetype, glib,
libx11, libxcomposite, libxext, libxfixes and libxrender.
Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-12 14:32:10 +01:00
|
|
|
|
#:use-module (gnu packages iso-codes)
|
2016-05-28 18:01:48 +02:00
|
|
|
|
#:use-module (gnu packages libffi)
|
2019-06-23 20:07:05 +02:00
|
|
|
|
#:use-module (gnu packages linux)
|
2021-03-11 18:50:53 +01:00
|
|
|
|
#:use-module (gnu packages m4)
|
2021-03-24 04:32:15 +01:00
|
|
|
|
#:use-module (gnu packages man)
|
2013-06-14 20:57:43 +02:00
|
|
|
|
#:use-module (gnu packages pdf)
|
2013-10-01 19:46:45 +02:00
|
|
|
|
#:use-module (gnu packages perl)
|
2021-06-22 10:09:46 +02:00
|
|
|
|
#:use-module (gnu packages perl-check)
|
2013-06-14 20:57:43 +02:00
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2015-08-08 19:34:58 +02:00
|
|
|
|
#:use-module (gnu packages pretty-print)
|
2013-06-14 20:57:43 +02:00
|
|
|
|
#:use-module (gnu packages python)
|
2021-05-21 06:08:24 +02:00
|
|
|
|
#:use-module (gnu packages python-build)
|
gnu: Separate Python core packages from the rest.
* gnu/packages/python.scm: Move hundreds of package definitions from here...
* gnu/packages/python-xyz.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/android.scm,
gnu/packages/audio.scm,
gnu/packages/backup.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/cluster.scm,
gnu/packages/compression.scm,
gnu/packages/connman.scm,
gnu/packages/crypto.scm,
gnu/packages/cups.scm,
gnu/packages/databases.scm,
gnu/packages/dav.scm,
gnu/packages/direct-connect.scm,
gnu/packages/disk.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/docker.scm,
gnu/packages/ebook.scm,
gnu/packages/elf.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm,
gnu/packages/finance.scm,
gnu/packages/fltk.scm,
gnu/packages/fontutils.scm,
gnu/packages/freedesktop.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gl.scm,
gnu/packages/glib.scm,
gnu/packages/gnome.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/gtk.scm,
gnu/packages/ham-radio.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/irc.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/kde-frameworks.scm,
gnu/packages/key-mon.scm,
gnu/packages/libffi.scm,
gnu/packages/libreoffice.scm,
gnu/packages/libusb.scm,
gnu/packages/lirc.scm,
gnu/packages/logging.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/mate.scm,
gnu/packages/maths.scm,
gnu/packages/medical.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mp3.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nutrition.scm,
gnu/packages/openldap.scm,
gnu/packages/openstack.scm,
gnu/packages/package-management.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/polkit.scm,
gnu/packages/protobuf.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/qt.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/search.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/simulation.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/storage.scm,
gnu/packages/sync.scm,
gnu/packages/terminals.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tls.scm,
gnu/packages/tor.scm,
gnu/packages/tryton.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/virtualization.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wicd.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xorg.scm: Update module references.
2019-01-15 14:21:30 +01:00
|
|
|
|
#:use-module (gnu packages python-xyz)
|
2021-05-21 06:08:24 +02:00
|
|
|
|
#:use-module (gnu packages gstreamer)
|
2013-09-28 21:42:02 +02:00
|
|
|
|
#:use-module (gnu packages guile)
|
gnu: Move most packages from guile.scm to new module.
* gnu/packages/guile.scm (artanis, guildhall, guile-aspell, guile-bash,
guile-8sync, guile-daemon, guile-dsv, guile-fibers, guile-syntax-highlight,
guile-sjson, guile-colorized, guile-pfds, guile-aa-tree, guile-simple-zmq,
jupyter-guile-kernel, guile-sparql, guile-debbugs, guile-email,
guile-debbugs-next, guile-newt, guile-mastodon, guile-parted, guile-xosd,
guile-dbi, guile-dbd-sqlite3, guile-config, guile-hall, guile-ics, guile-wisp,
guile-sly, g-wrap, guile-miniadapton, guile-reader, guile2.2-reader,
guile-ncurses, guile-ncurses/gpm, guile-lib, guile2.0-lib, guile2.2-lib,
guile-minikanren, guile2.0-minikanren, guile2.2-minikanren, guile-irregex,
guile2.0-irregex, guile2.2-irregex, haunt, guile2.0-haunt, guile2.2-haunt,
guile-redis, guile2.0-redis, guile2.2-redis, guile-commonmark,
guile2.0-commonmark, guile2.2-commonmark, mcron, mcron2): Move these variables
from here...
* gnu/packages/guile-xyz.scm: ...to this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/installer.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/ci.scm,
gnu/packages/gtk.scm,
gnu/packages/guile.scm,
gnu/packages/mail.scm,
gnu/packages/package-management.scm,
gnu/packages/skribilo.scm,
gnu/packages/web.scm,
gnu/services/mcron.scm: Update module references.
2019-01-28 14:57:10 +01:00
|
|
|
|
#:use-module (gnu packages guile-xyz)
|
2015-01-23 16:07:20 +01:00
|
|
|
|
#:use-module (gnu packages cups)
|
2020-06-09 15:44:44 +02:00
|
|
|
|
#:use-module (gnu packages version-control)
|
2021-05-21 06:08:24 +02:00
|
|
|
|
#:use-module (gnu packages video)
|
|
|
|
|
#:use-module (gnu packages vulkan)
|
gnu: gtk+: Add missing inputs.
* gnu/packages/gtk.scm (gtk+) [native-inputs]: Add docbook-xml,
hicolor-icon-theme, intltool, sassc and libxslt.
[inputs]: Add graphene, harfbuzz, iso-codes and papi.
[propagated-inputs]: Add cairo, fribidi, fontconfig, freetype, glib,
libx11, libxcomposite, libxext, libxfixes and libxrender.
Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-12 14:32:10 +01:00
|
|
|
|
#:use-module (gnu packages web)
|
2013-09-28 21:42:02 +02:00
|
|
|
|
#:use-module (gnu packages xml)
|
2014-12-02 17:16:58 +01:00
|
|
|
|
#:use-module (gnu packages xorg)
|
2018-12-12 11:22:29 +01:00
|
|
|
|
#:use-module (gnu packages xdisorg)
|
2021-05-06 11:22:08 +02:00
|
|
|
|
#:use-module (gnu packages pulseaudio)
|
2018-12-12 11:22:29 +01:00
|
|
|
|
#:use-module (srfi srfi-1)
|
2020-01-23 11:22:20 +01:00
|
|
|
|
#:use-module (srfi srfi-26)
|
|
|
|
|
#:use-module (ice-9 match))
|
2013-05-05 00:06:32 +02:00
|
|
|
|
|
|
|
|
|
(define-public atk
|
|
|
|
|
(package
|
2021-03-11 18:39:47 +01:00
|
|
|
|
(name "atk")
|
2021-03-11 18:44:36 +01:00
|
|
|
|
(version "2.36.0")
|
2021-03-11 18:39:47 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnome/sources/" name "/"
|
|
|
|
|
(version-major+minor version) "/"
|
|
|
|
|
name "-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-03-11 18:44:36 +01:00
|
|
|
|
"1217cmmykjgkkim0zr1lv5j13733m4w5vipmy4ivw0ll6rz28xpv"))))
|
2021-03-11 18:39:47 +01:00
|
|
|
|
(build-system meson-build-system)
|
2021-03-11 18:44:36 +01:00
|
|
|
|
(arguments
|
2021-08-24 13:15:09 +02:00
|
|
|
|
`(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
|
|
|
|
|
,@(if (%current-target-system)
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
;; introspection requires running binaries for the host system
|
|
|
|
|
;; on the build system.
|
|
|
|
|
'("-Dintrospection=false"))
|
|
|
|
|
'())))
|
2021-03-11 18:39:47 +01:00
|
|
|
|
(propagated-inputs `(("glib" ,glib))) ; required by atk.pc
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("gettext" ,gettext-minimal)
|
|
|
|
|
("glib" ,glib "bin") ; glib-mkenums, etc.
|
|
|
|
|
("gobject-introspection" ,gobject-introspection) ; g-ir-compiler, etc.
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(synopsis "GNOME accessibility toolkit")
|
|
|
|
|
(description
|
|
|
|
|
"ATK provides the set of accessibility interfaces that are implemented
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 06:46:59 +02:00
|
|
|
|
by other toolkits and applications. Using the ATK interfaces, accessibility
|
2013-05-05 00:06:32 +02:00
|
|
|
|
tools have full access to view and control running applications.")
|
2021-03-11 18:46:00 +01:00
|
|
|
|
(license license:lgpl2.1+)
|
|
|
|
|
(home-page "https://wiki.gnome.org/Accessibility")))
|
2013-06-14 20:57:43 +02:00
|
|
|
|
|
|
|
|
|
(define-public cairo
|
|
|
|
|
(package
|
2020-12-04 06:49:10 +01:00
|
|
|
|
(name "cairo")
|
|
|
|
|
(version "1.16.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "https://cairographics.org/releases/cairo-"
|
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
2021-04-22 13:21:51 +02:00
|
|
|
|
(base32 "0c930mk5xr2bshbdljv005j3j8zr47gqmkry3q6qgvqky6rjjysy"))
|
|
|
|
|
(patches (search-patches
|
|
|
|
|
"cairo-CVE-2018-19876.patch"
|
|
|
|
|
"cairo-CVE-2020-35492.patch"))))
|
2020-12-04 06:51:10 +01:00
|
|
|
|
(build-system glib-or-gtk-build-system)
|
2020-12-04 06:53:16 +01:00
|
|
|
|
(outputs '("out" "doc"))
|
2013-06-14 20:57:43 +02:00
|
|
|
|
(arguments
|
2020-12-04 06:49:10 +01:00
|
|
|
|
`(#:tests? #f ; see http://lists.gnu.org/archive/html/bug-guix/2013-06/msg00085.html
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(list
|
2020-12-04 06:53:16 +01:00
|
|
|
|
"--disable-static"
|
2020-12-04 07:02:00 +01:00
|
|
|
|
;; XXX: To be enabled.
|
|
|
|
|
;; "--enable-gallium=yes"
|
|
|
|
|
;; "--enable-gl=yes"
|
|
|
|
|
;; " --enable-glesv2=yes"
|
|
|
|
|
;; "--enable-glesv3=yes"
|
|
|
|
|
;; "--enable-cogl=yes"
|
|
|
|
|
;; "--enable-directfb=yes"
|
|
|
|
|
;; "--enable-vg=yes"
|
2021-05-10 16:57:12 +02:00
|
|
|
|
"--enable-tee=yes" ;needed for GNU IceCat
|
|
|
|
|
"--enable-xml=yes" ;for cairo-xml support
|
2020-12-04 06:53:16 +01:00
|
|
|
|
(string-append "--with-html-dir="
|
|
|
|
|
(assoc-ref %outputs "doc")
|
|
|
|
|
"/share/gtk-doc/html"))))
|
2020-12-04 06:49:10 +01:00
|
|
|
|
(native-inputs
|
2020-12-04 07:02:00 +01:00
|
|
|
|
`(("gobject-introspection" ,gobject-introspection)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
2020-12-04 06:49:10 +01:00
|
|
|
|
("python" ,python-wrapper)))
|
|
|
|
|
(inputs
|
2021-08-24 11:24:57 +02:00
|
|
|
|
;; TODO(core-updates): make this unconditional
|
|
|
|
|
`(,@(if (%current-target-system)
|
|
|
|
|
`(("bash-minimal" ,bash-minimal)) ; for glib-or-gtk-wrap
|
|
|
|
|
'())
|
|
|
|
|
("drm" ,libdrm)
|
2020-12-04 07:02:00 +01:00
|
|
|
|
("ghostscript" ,ghostscript)
|
2020-12-04 06:49:10 +01:00
|
|
|
|
("libspectre" ,libspectre)
|
2020-12-04 07:02:00 +01:00
|
|
|
|
("poppler" ,poppler)))
|
2020-12-04 06:49:10 +01:00
|
|
|
|
(propagated-inputs
|
2020-12-04 07:02:00 +01:00
|
|
|
|
`( ;; ("cogl" ,cogl)
|
|
|
|
|
;; ("directfb" ,directfb)
|
|
|
|
|
("fontconfig" ,fontconfig)
|
2020-12-04 06:49:10 +01:00
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("glib" ,glib)
|
2020-12-04 07:02:00 +01:00
|
|
|
|
;; ("gtk+" ,gtk+)
|
2020-12-04 06:49:10 +01:00
|
|
|
|
("libpng" ,libpng)
|
2020-12-04 07:02:00 +01:00
|
|
|
|
;; ("librsvg" ,librsvg)
|
|
|
|
|
;; ("opengl" ,mesa)
|
|
|
|
|
("pixman" ,pixman)
|
|
|
|
|
("x11" ,libx11)
|
|
|
|
|
("xcb" ,libxcb)
|
|
|
|
|
("xext" ,libxext)
|
|
|
|
|
("xrender" ,libxrender)))
|
2020-12-04 07:04:37 +01:00
|
|
|
|
(synopsis "Multi-platform 2D graphics library")
|
2020-12-04 06:49:10 +01:00
|
|
|
|
(description "Cairo is a 2D graphics library with support for multiple output
|
|
|
|
|
devices. Currently supported output targets include the X Window System (via
|
|
|
|
|
both Xlib and XCB), Quartz, Win32, image buffers, PostScript, PDF, and SVG file
|
2020-12-04 07:04:37 +01:00
|
|
|
|
output. Experimental backends include OpenGL, BeOS, OS/2, and DirectFB.")
|
2020-12-04 06:49:10 +01:00
|
|
|
|
(home-page "https://cairographics.org/")
|
2020-12-04 07:04:37 +01:00
|
|
|
|
(license
|
|
|
|
|
;; This project is dual-licensed.
|
|
|
|
|
(list
|
|
|
|
|
license:lgpl2.1+
|
|
|
|
|
license:mpl1.1))))
|
2021-03-12 11:24:36 +01:00
|
|
|
|
|
2020-10-20 09:34:23 +02:00
|
|
|
|
(define-public cairo-sans-poppler
|
|
|
|
|
;; Variant used to break the dependency cycle between Poppler and Cairo.
|
|
|
|
|
(package/inherit cairo
|
|
|
|
|
(inputs (alist-delete "poppler" (package-inputs cairo)))
|
|
|
|
|
(properties `((hidden? . #t)))))
|
|
|
|
|
|
2016-09-04 15:20:24 +02:00
|
|
|
|
(define-public cairo-xcb
|
2021-03-12 11:24:36 +01:00
|
|
|
|
(package/inherit cairo
|
2016-09-04 15:20:24 +02:00
|
|
|
|
(name "cairo-xcb")
|
|
|
|
|
(inputs
|
|
|
|
|
`(("mesa" ,mesa)
|
|
|
|
|
,@(package-inputs cairo)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:configure-flags
|
|
|
|
|
'("--enable-xlib-xcb" "--enable-gl" "--enable-egl")))
|
|
|
|
|
(synopsis "2D graphics library (with X11 support)")))
|
|
|
|
|
|
2013-06-14 23:28:58 +02:00
|
|
|
|
(define-public harfbuzz
|
|
|
|
|
(package
|
|
|
|
|
(name "harfbuzz")
|
2021-07-19 20:50:12 +02:00
|
|
|
|
(version "2.8.2")
|
2013-06-14 23:28:58 +02:00
|
|
|
|
(source (origin
|
2015-09-15 14:02:40 +02:00
|
|
|
|
(method url-fetch)
|
2021-05-10 16:51:37 +02:00
|
|
|
|
(uri (string-append "https://github.com/harfbuzz/harfbuzz"
|
|
|
|
|
"/releases/download/" version "/harfbuzz-"
|
2019-06-14 15:55:35 +02:00
|
|
|
|
version ".tar.xz"))
|
2015-09-15 14:02:40 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-07-19 20:50:12 +02:00
|
|
|
|
"1rvv86wpm3y04fqns1655268rhvhvms469837709v2z2bhwn316m"))))
|
2013-06-14 23:28:58 +02:00
|
|
|
|
(build-system gnu-build-system)
|
2015-09-17 13:57:36 +02:00
|
|
|
|
(outputs '("out"
|
|
|
|
|
"bin")) ; 160K, only hb-view depend on cairo
|
2013-06-14 23:28:58 +02:00
|
|
|
|
(inputs
|
2015-09-15 14:02:40 +02:00
|
|
|
|
`(("cairo" ,cairo)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
;; There are all in the Requires or Requires.private field of '.pc'.
|
|
|
|
|
`(("glib" ,glib)
|
2014-10-29 15:31:52 +01:00
|
|
|
|
("graphite2" ,graphite2)
|
gnu: Move numerous "inputs" which should be "native-inputs".
* gnu/packages/avahi.scm, gnu/packages/cdrom.scm, gnu/packages/cryptsetup.scm,
gnu/packages/curl.scm, gnu/packages/emacs.scm, gnu/packages/fontutils.scm,
gnu/packages/gdb.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/graphviz.scm,
gnu/packages/groff.scm, gnu/packages/gstreamer.scm, gnu/packages/gtk.scm,
gnu/packages/gv.scm, gnu/packages/imagemagick.scm, gnu/packages/irssi.scm,
gnu/packages/kde.scm, gnu/packages/libcanberra.scm, gnu/packages/libtiff.scm,
gnu/packages/linux.scm, gnu/packages/lvm.scm, gnu/packages/mp3.scm,
gnu/packages/netpbm.scm, gnu/packages/parted.scm, gnu/packages/pdf.scm,
gnu/packages/pulseaudio.scm, gnu/packages/qemu.scm, gnu/packages/qt.scm,
gnu/packages/ratpoison.scm, gnu/packages/rdf.scm, gnu/packages/slim.scm,
gnu/packages/texlive.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/xml.scm, gnu/packages/xnee.scm, gnu/packages/xorg.scm,
gnu/packages/zip.scm: Move some build-time dependencies from `inputs' to
`native-inputs'.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-12-15 12:01:56 +01:00
|
|
|
|
("icu4c" ,icu4c)))
|
|
|
|
|
(native-inputs
|
2019-07-11 19:17:57 +02:00
|
|
|
|
`(("glib:bin" ,glib "bin") ;for glib-mkenums
|
|
|
|
|
("gobject-introspection" ,gobject-introspection)
|
2015-05-23 04:25:44 +02:00
|
|
|
|
("pkg-config" ,pkg-config)
|
2018-03-08 13:47:10 +01:00
|
|
|
|
("python" ,python-wrapper)
|
|
|
|
|
("which" ,which)))
|
2014-10-29 15:31:52 +01:00
|
|
|
|
(arguments
|
2015-05-23 04:25:44 +02:00
|
|
|
|
`(#:configure-flags `("--with-graphite2"
|
2015-09-15 14:19:39 +02:00
|
|
|
|
"--with-gobject"
|
|
|
|
|
,(string-append
|
|
|
|
|
"--bindir=" (assoc-ref %outputs "bin") "/bin"))))
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 06:46:59 +02:00
|
|
|
|
(synopsis "OpenType text shaping engine")
|
2013-06-14 23:28:58 +02:00
|
|
|
|
(description
|
|
|
|
|
"HarfBuzz is an OpenType text shaping engine.")
|
|
|
|
|
(license (license:x11-style "file://COPYING"
|
|
|
|
|
"See 'COPYING' in the distribution."))
|
2016-11-22 18:26:59 +01:00
|
|
|
|
(home-page "https://www.freedesktop.org/wiki/Software/HarfBuzz/")))
|
2013-06-14 23:33:17 +02:00
|
|
|
|
|
2021-10-02 00:47:22 +02:00
|
|
|
|
(define-public harfbuzz-3.0
|
|
|
|
|
(package
|
|
|
|
|
(inherit harfbuzz)
|
|
|
|
|
(version "3.0.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/harfbuzz/harfbuzz"
|
|
|
|
|
"/releases/download/" version
|
|
|
|
|
"/harfbuzz-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1ngk8vn06rryx3s4v5pbl91bw1j1pd4431n77rw3j5a533hhwsq3"))))))
|
|
|
|
|
|
2020-07-11 18:20:05 +02:00
|
|
|
|
(define-public libdatrie
|
|
|
|
|
(package
|
|
|
|
|
(name "libdatrie")
|
2021-03-11 22:37:09 +01:00
|
|
|
|
(version "0.2.13")
|
2020-07-11 18:20:05 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "https://linux.thai.net/pub/ThaiLinux/software/"
|
|
|
|
|
"libthai/libdatrie-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
2021-03-11 22:37:09 +01:00
|
|
|
|
(base32 "1gplcx9ddglpxmqm10qn38kjmvdh4hnhj14rzgqag095psr1n8qj"))))
|
2020-07-11 18:20:05 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(outputs '("out" "doc"))
|
|
|
|
|
(arguments
|
2021-07-08 14:15:20 +02:00
|
|
|
|
(list #:configure-flags
|
|
|
|
|
#~(list (string-append "--with-html-docdir=" #$output:doc
|
|
|
|
|
"/share/doc/datrie/html"))
|
2021-07-08 14:10:54 +02:00
|
|
|
|
|
2021-07-08 14:15:20 +02:00
|
|
|
|
;; Several tests refer to the 'test.tri' file, leading to race
|
|
|
|
|
;; conditions when running tests in parallel.
|
|
|
|
|
#:parallel-tests? #f))
|
2020-07-11 18:20:05 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("doxygen" ,doxygen)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(synopsis "Double-Array Trie Library")
|
|
|
|
|
(description "Libdatrie is an implementation of double-array structure for
|
|
|
|
|
representing trie. Trie is a kind of digital search tree.")
|
|
|
|
|
(home-page "https://linux.thai.net/~thep/datrie/datrie.html")
|
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
2020-07-11 18:29:32 +02:00
|
|
|
|
(define-public libthai
|
|
|
|
|
(package
|
|
|
|
|
(name "libthai")
|
|
|
|
|
(version "0.1.28")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "https://linux.thai.net/pub/thailinux/software/"
|
|
|
|
|
"libthai/libthai-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "04g93bgxrcnay9fglpq2lj9nr7x1xh06i60m7haip8as9dxs3q7z"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(outputs '("out" "doc"))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list
|
|
|
|
|
(string-append "--with-html-docdir="
|
|
|
|
|
(assoc-ref %outputs "doc")
|
|
|
|
|
"/share/doc/libthai/html"))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("doxygen" ,doxygen)
|
2021-08-25 11:02:28 +02:00
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
;; TODO(core-updates): Make this input unconditional.
|
|
|
|
|
,@(if (%current-target-system)
|
|
|
|
|
`(("datrie" ,libdatrie)) ; for 'trietool'
|
|
|
|
|
'())))
|
2020-07-11 18:29:32 +02:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("datrie" ,libdatrie)))
|
|
|
|
|
(synopsis "Thai language support library")
|
|
|
|
|
(description "LibThai is a set of Thai language support routines aimed to
|
|
|
|
|
ease developers’ tasks to incorporate Thai language support in their
|
|
|
|
|
applications.")
|
|
|
|
|
(home-page "https://linux.thai.net/projects/libthai")
|
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
2013-06-14 23:33:17 +02:00
|
|
|
|
(define-public pango
|
|
|
|
|
(package
|
2021-03-24 04:32:15 +01:00
|
|
|
|
(name "pango")
|
2021-08-23 11:32:53 +02:00
|
|
|
|
(version "1.48.9")
|
2021-03-24 04:32:15 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnome/sources/pango/"
|
|
|
|
|
(version-major+minor version) "/"
|
|
|
|
|
name "-" version ".tar.xz"))
|
|
|
|
|
(patches (search-patches "pango-skip-libthai-test.patch"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-08-23 11:32:53 +02:00
|
|
|
|
"1akj11n0ycqrm1rvi0fdfldqk7l5zk9vb8sq77009ap57xyna4x9"))))
|
2021-03-24 04:32:15 +01:00
|
|
|
|
(build-system meson-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'disable-cantarell-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "tests/meson.build"
|
2021-10-18 16:33:09 +02:00
|
|
|
|
;; XXX FIXME: These tests require "font-abattis-cantarell", but
|
2021-03-24 04:32:15 +01:00
|
|
|
|
;; adding it here would introduce a circular dependency.
|
|
|
|
|
(("\\[ 'test-layout'.*") "")
|
|
|
|
|
(("\\[ 'test-itemize'.*") "")
|
|
|
|
|
(("\\[ 'test-font'.*") "")
|
|
|
|
|
(("\\[ 'test-harfbuzz'.*") ""))
|
|
|
|
|
#t)))))
|
2021-03-11 16:17:09 +01:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
;; These are all in Requires or Requires.private of the '.pc' files.
|
|
|
|
|
`(("cairo" ,cairo)
|
|
|
|
|
("fontconfig" ,fontconfig)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("fribidi" ,fribidi)
|
|
|
|
|
("glib" ,glib)
|
|
|
|
|
("harfbuzz" ,harfbuzz)
|
2021-03-24 04:32:15 +01:00
|
|
|
|
("libthai" ,libthai)
|
2021-03-11 16:17:09 +01:00
|
|
|
|
;; Some packages, such as Openbox, expect Pango to be built with the
|
|
|
|
|
;; optional libxft support.
|
2021-03-24 04:32:15 +01:00
|
|
|
|
("libxft" ,libxft)
|
|
|
|
|
("libxrender" ,libxrender)))
|
2021-03-11 16:17:09 +01:00
|
|
|
|
(inputs
|
2021-08-25 16:07:42 +02:00
|
|
|
|
;; TODO(core-updates): Unconditionally add "bash-minimal"
|
|
|
|
|
`(,@(if (%current-target-system)
|
|
|
|
|
`(("bash-minimal" ,bash-minimal)) ; for glib-or-gtk-wrap
|
|
|
|
|
'())
|
|
|
|
|
("zlib" ,zlib)))
|
2021-03-11 16:17:09 +01:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("glib" ,glib "bin") ; glib-mkenums, etc.
|
|
|
|
|
("gobject-introspection" ,gobject-introspection) ; g-ir-compiler, etc.
|
2021-03-24 04:32:15 +01:00
|
|
|
|
("help2man" ,help2man)
|
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("python" ,python-wrapper)))
|
2021-03-11 16:24:42 +01:00
|
|
|
|
(synopsis "Text and font handling library")
|
|
|
|
|
(description "Pango is a library for laying out and rendering of text, with
|
|
|
|
|
an emphasis on internationalization. Pango can be used anywhere that text
|
|
|
|
|
layout is needed, though most of the work on Pango so far has been done in the
|
|
|
|
|
context of the GTK+ widget toolkit. Pango forms the core of text and font
|
|
|
|
|
handling for GTK+-2.x.")
|
|
|
|
|
(home-page "https://pango.gnome.org/")
|
|
|
|
|
(license license:lgpl2.0+)))
|
2013-06-15 09:26:07 +02:00
|
|
|
|
|
2019-12-03 00:55:06 +01:00
|
|
|
|
(define-public pango-1.42
|
2020-03-06 11:11:58 +01:00
|
|
|
|
(package
|
|
|
|
|
(inherit pango)
|
2019-12-03 00:55:06 +01:00
|
|
|
|
(version "1.42.4")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnome/sources/pango/"
|
|
|
|
|
(version-major+minor version) "/"
|
|
|
|
|
"pango-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"17bwb7dgbncrfsmchlib03k9n3xaalirb39g3yb43gg8cg6p8aqx"))))
|
|
|
|
|
(build-system gnu-build-system)
|
2020-12-10 21:39:47 +01:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'configure 'disable-layout-test
|
|
|
|
|
(lambda _
|
|
|
|
|
;; This test requires that fontconfig uses bitmap fonts
|
2021-07-15 18:56:47 +02:00
|
|
|
|
;; such as "font-ghostscript"; however providing such a
|
|
|
|
|
;; package alone is not enough, as the requirement comes
|
|
|
|
|
;; from deeper in the font stack. Since this version of
|
|
|
|
|
;; Pango is only used for librsvg, simply disable the
|
|
|
|
|
;; test.
|
2020-12-10 21:39:47 +01:00
|
|
|
|
(substitute* "tests/Makefile"
|
|
|
|
|
(("test-layout\\$\\(EXEEXT\\)") ""))
|
|
|
|
|
#t)))))))
|
2019-12-03 00:55:06 +01:00
|
|
|
|
|
gnu: Add gsegrafix and dependent libraries.
* gnu/packages/math.scm (gsegrafix): New variable.
* gnu/packages/gtk.scm (pangox-compat): New variable.
* gnu/packages/gnome.scm (libidl, orbit2, libbonobo, gconf, gnome-mime-data,
gnome-vfs, libgnome, libart-lgpl, libgnomecanvas, libgnomeui, libglade,
libgnomeprint, libgnomeprintui, libbonoboui): New variables.
2014-05-25 07:29:30 +02:00
|
|
|
|
(define-public pangox-compat
|
|
|
|
|
(package
|
|
|
|
|
(name "pangox-compat")
|
|
|
|
|
(version "0.0.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
gnu: Use version-major+minor in gnome and gtk.
* gnu/packages/gnome.scm (gnome-desktop, gnome-doc-utils,
libgnome-keyring, evince, gsettings-desktop-schemas,
gnome-icon-theme, libnotify, lipeas, glade, libcroco, libgsf,
librsvg, libidl, orbit2, gconf, gnome-mime-data, gnome-vfs,
libgnome, libart-lgpl, libgnomecanvas, libgnomeui, libglade,
libgnomeprint, libgnomeprintui, libbonoboui, goffice, gnumeric): Use
version-major+minor.
(shared-mime-info, hicolor-icon-theme): Wrap long uri lines.
* gnu/packages/gtk.scm (atk, pangox-compat, gtksourceview, gdk-pixbuf,
at-spi2-core, at-spi2-atk, gtk+-2, gtk+, pangomm, atkmm, gtkmm,
gtkmm-2): Use version-major+minor.
2014-11-04 12:02:51 +01:00
|
|
|
|
(uri (string-append "mirror://gnome/sources/" name "/"
|
|
|
|
|
(version-major+minor version) "/"
|
|
|
|
|
name "-" version ".tar.xz"))
|
gnu: Add gsegrafix and dependent libraries.
* gnu/packages/math.scm (gsegrafix): New variable.
* gnu/packages/gtk.scm (pangox-compat): New variable.
* gnu/packages/gnome.scm (libidl, orbit2, libbonobo, gconf, gnome-mime-data,
gnome-vfs, libgnome, libart-lgpl, libgnomecanvas, libgnomeui, libglade,
libgnomeprint, libgnomeprintui, libbonoboui): New variables.
2014-05-25 07:29:30 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0ip0ziys6mrqqmz4n71ays0kf5cs1xflj1gfpvs4fgy2nsrr482m"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("glib" ,glib)
|
2020-03-06 11:12:29 +01:00
|
|
|
|
("pango" ,pango-1.42)))
|
gnu: Add gsegrafix and dependent libraries.
* gnu/packages/math.scm (gsegrafix): New variable.
* gnu/packages/gtk.scm (pangox-compat): New variable.
* gnu/packages/gnome.scm (libidl, orbit2, libbonobo, gconf, gnome-mime-data,
gnome-vfs, libgnome, libart-lgpl, libgnomecanvas, libgnomeui, libglade,
libgnomeprint, libgnomeprintui, libbonoboui): New variables.
2014-05-25 07:29:30 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("intltool" ,intltool)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "https://developer.gnome.org/pango")
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 06:46:59 +02:00
|
|
|
|
(synopsis "Obsolete pango functions")
|
gnu: Add gsegrafix and dependent libraries.
* gnu/packages/math.scm (gsegrafix): New variable.
* gnu/packages/gtk.scm (pangox-compat): New variable.
* gnu/packages/gnome.scm (libidl, orbit2, libbonobo, gconf, gnome-mime-data,
gnome-vfs, libgnome, libart-lgpl, libgnomecanvas, libgnomeui, libglade,
libgnomeprint, libgnomeprintui, libbonoboui): New variables.
2014-05-25 07:29:30 +02:00
|
|
|
|
(description "Pangox was a X backend to pango. It is now obsolete and no
|
|
|
|
|
longer provided by recent pango releases. pangox-compat provides the
|
|
|
|
|
functions which were removed.")
|
|
|
|
|
(license license:lgpl2.0+)))
|
|
|
|
|
|
2015-02-15 21:45:54 +01:00
|
|
|
|
(define-public ganv
|
|
|
|
|
(package
|
|
|
|
|
(name "ganv")
|
2020-05-21 05:35:00 +02:00
|
|
|
|
(version "1.6.0")
|
2015-02-15 21:45:54 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
gnu: Use HTTPS for drobilla.net URIs.
* gnu/packages/audio.scm (jalv, lilv, patchage, raul, raul-devel)
(sratom, suil)[source, home-page]: Use HTTPS.
* gnu/packages/gtk.scm (ganv, ganv-devel)[source, home-page]: Likewise.
* gnu/packages/music.scm (ingen)[source, home-page]: Likewise.
* gnu/packages/rdf.scm (serd, sord)[source, home-page]: Likewise.
2018-06-22 19:59:45 +02:00
|
|
|
|
(uri (string-append "https://download.drobilla.net/ganv-"
|
2015-05-01 16:01:49 +02:00
|
|
|
|
version ".tar.bz2"))
|
2015-02-15 21:45:54 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-05-21 05:35:00 +02:00
|
|
|
|
"0pik2d3995z0rjcjhb4hsj5fsph3m8khg6j10k6mx4j2j727aq6l"))))
|
2015-02-15 21:45:54 +01:00
|
|
|
|
(build-system waf-build-system)
|
2015-05-01 16:01:49 +02:00
|
|
|
|
(arguments
|
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 17:28:42 +02:00
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'set-flags
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Allow 'bin/ganv_bench' to find libganv-1.so.
|
|
|
|
|
(setenv "LDFLAGS"
|
|
|
|
|
(string-append "-Wl,-rpath="
|
|
|
|
|
(assoc-ref outputs "out") "/lib"))
|
|
|
|
|
#t)))
|
2015-05-01 16:01:49 +02:00
|
|
|
|
#:tests? #f)) ; no check target
|
2015-02-15 21:45:54 +01:00
|
|
|
|
(inputs
|
|
|
|
|
`(("gtk" ,gtk+-2)
|
|
|
|
|
("gtkmm" ,gtkmm-2)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("glib" ,glib "bin") ; for glib-genmarshal, etc.
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
gnu: Use HTTPS for drobilla.net URIs.
* gnu/packages/audio.scm (jalv, lilv, patchage, raul, raul-devel)
(sratom, suil)[source, home-page]: Use HTTPS.
* gnu/packages/gtk.scm (ganv, ganv-devel)[source, home-page]: Likewise.
* gnu/packages/music.scm (ingen)[source, home-page]: Likewise.
* gnu/packages/rdf.scm (serd, sord)[source, home-page]: Likewise.
2018-06-22 19:59:45 +02:00
|
|
|
|
(home-page "https://drobilla.net/software/ganv/")
|
2015-02-15 21:45:54 +01:00
|
|
|
|
(synopsis "GTK+ widget for interactive graph-like environments")
|
|
|
|
|
(description
|
|
|
|
|
"Ganv is an interactive GTK+ widget for interactive “boxes and lines” or
|
|
|
|
|
graph-like environments, e.g. modular synths or finite state machine
|
|
|
|
|
diagrams.")
|
|
|
|
|
(license license:gpl3+)))
|
2013-11-30 11:11:54 +01:00
|
|
|
|
|
2015-11-08 20:51:46 +01:00
|
|
|
|
(define-public gtksourceview-2
|
2013-11-30 11:11:54 +01:00
|
|
|
|
(package
|
|
|
|
|
(name "gtksourceview")
|
|
|
|
|
(version "2.10.5") ; This is the last version which builds against gtk+2
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
gnu: Use version-major+minor in gnome and gtk.
* gnu/packages/gnome.scm (gnome-desktop, gnome-doc-utils,
libgnome-keyring, evince, gsettings-desktop-schemas,
gnome-icon-theme, libnotify, lipeas, glade, libcroco, libgsf,
librsvg, libidl, orbit2, gconf, gnome-mime-data, gnome-vfs,
libgnome, libart-lgpl, libgnomecanvas, libgnomeui, libglade,
libgnomeprint, libgnomeprintui, libbonoboui, goffice, gnumeric): Use
version-major+minor.
(shared-mime-info, hicolor-icon-theme): Wrap long uri lines.
* gnu/packages/gtk.scm (atk, pangox-compat, gtksourceview, gdk-pixbuf,
at-spi2-core, at-spi2-atk, gtk+-2, gtk+, pangomm, atkmm, gtkmm,
gtkmm-2): Use version-major+minor.
2014-11-04 12:02:51 +01:00
|
|
|
|
(uri (string-append "mirror://gnome/sources/" name "/"
|
|
|
|
|
(version-major+minor version) "/"
|
|
|
|
|
name "-" version ".tar.bz2"))
|
2013-11-30 11:11:54 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-05-31 14:37:16 +02:00
|
|
|
|
"07hrabhpl6n8ajz10s0d960jdwndxs87szxyn428mpxi8cvpg1f5"))
|
|
|
|
|
(patches
|
|
|
|
|
(search-patches
|
|
|
|
|
"gtksourceview-2-add-default-directory.patch"))))
|
2013-11-30 11:11:54 +01:00
|
|
|
|
(build-system gnu-build-system)
|
gnu: Move numerous "inputs" which should be "native-inputs".
* gnu/packages/avahi.scm, gnu/packages/cdrom.scm, gnu/packages/cryptsetup.scm,
gnu/packages/curl.scm, gnu/packages/emacs.scm, gnu/packages/fontutils.scm,
gnu/packages/gdb.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/graphviz.scm,
gnu/packages/groff.scm, gnu/packages/gstreamer.scm, gnu/packages/gtk.scm,
gnu/packages/gv.scm, gnu/packages/imagemagick.scm, gnu/packages/irssi.scm,
gnu/packages/kde.scm, gnu/packages/libcanberra.scm, gnu/packages/libtiff.scm,
gnu/packages/linux.scm, gnu/packages/lvm.scm, gnu/packages/mp3.scm,
gnu/packages/netpbm.scm, gnu/packages/parted.scm, gnu/packages/pdf.scm,
gnu/packages/pulseaudio.scm, gnu/packages/qemu.scm, gnu/packages/qt.scm,
gnu/packages/ratpoison.scm, gnu/packages/rdf.scm, gnu/packages/slim.scm,
gnu/packages/texlive.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/xml.scm, gnu/packages/xnee.scm, gnu/packages/xorg.scm,
gnu/packages/zip.scm: Move some build-time dependencies from `inputs' to
`native-inputs'.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-12-15 12:01:56 +01:00
|
|
|
|
(native-inputs
|
2014-07-02 11:42:17 +02:00
|
|
|
|
`(("intltool" ,intltool)
|
2014-07-02 20:32:59 +02:00
|
|
|
|
("glib" ,glib "bin") ; for glib-genmarshal, etc.
|
2017-01-28 04:29:12 +01:00
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
;; For testing.
|
gnu: Use the test-only Xorg variant for tests.
* gnu/packages/education.scm (gcompris-qt)[native-inputs]: Change XORG-SERVER
to XORG-SERVER-FOR-TESTS.
* gnu/packages/engineering.scm (pcb, qucs, openscad)[native-inputs]: Likewise.
* gnu/packages/gnome.scm (libbonoboui, d-feet, gspell, libdazzle, libhandy)[native-inputs]: Likewise.
* gnu/packages/gnupg.scm (parcimonie)[native-inputs]: Likewise.
* gnu/packages/graphics.scm (opensubdiv, rapicorn)[native-inputs]: Likewise.
* gnu/packages/gtk.scm (gtksourceview-2, gtksourceview)[native-inputs]: Likewise.
* gnu/packages/image-processing.scm (opencv)[native-inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (kconfig, kcoreaddons, kwidgetsaddons,
kwindowsystem, kdeclarative)[native-inputs]: Likewise.
* gnu/packages/kde-plasma.scm (kscreenlocker)[native-inputs]: Likewise.
* gnu/packages/messaging.scm (gajim)[native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-seaborn)[native-inputs]: Likewise.
2019-11-27 22:19:13 +01:00
|
|
|
|
("xorg-server" ,xorg-server-for-tests)
|
2017-01-28 04:29:12 +01:00
|
|
|
|
("shared-mime-info" ,shared-mime-info)))
|
2015-11-10 23:11:28 +01:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
;; As per the pkg-config file.
|
2017-01-28 04:29:12 +01:00
|
|
|
|
`(("gtk" ,gtk+-2)
|
|
|
|
|
("libxml2" ,libxml2)))
|
2013-11-30 11:11:54 +01:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
;; Unfortunately, some of the tests in "make check" are highly dependent
|
|
|
|
|
;; on the environment therefore, some black magic is required.
|
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 17:28:42 +02:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'check 'start-xserver
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((xorg-server (assoc-ref inputs "xorg-server"))
|
|
|
|
|
(mime (assoc-ref inputs "shared-mime-info")))
|
2013-11-30 11:11:54 +01:00
|
|
|
|
|
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 17:28:42 +02:00
|
|
|
|
;; There must be a running X server and make check doesn't start one.
|
|
|
|
|
;; Therefore we must do it.
|
|
|
|
|
(system (format #f "~a/bin/Xvfb :1 &" xorg-server))
|
|
|
|
|
(setenv "DISPLAY" ":1")
|
2013-11-30 11:11:54 +01:00
|
|
|
|
|
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 17:28:42 +02:00
|
|
|
|
;; The .lang files must be found in $XDG_DATA_HOME/gtksourceview-2.0
|
|
|
|
|
(system "ln -s gtksourceview gtksourceview-2.0")
|
|
|
|
|
(setenv "XDG_DATA_HOME" (getcwd))
|
2013-11-30 11:11:54 +01:00
|
|
|
|
|
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 17:28:42 +02:00
|
|
|
|
;; Finally, the mimetypes must be available.
|
|
|
|
|
(setenv "XDG_DATA_DIRS" (string-append mime "/share/")))
|
|
|
|
|
#t)))))
|
2013-11-30 11:11:54 +01:00
|
|
|
|
(synopsis "Widget that extends the standard GTK+ 2.x 'GtkTextView' widget")
|
|
|
|
|
(description
|
|
|
|
|
"GtkSourceView is a portable C library that extends the standard GTK+
|
|
|
|
|
framework for multiline text editing with support for configurable syntax
|
|
|
|
|
highlighting, unlimited undo/redo, search and replace, a completion framework,
|
|
|
|
|
printing and other features typical of a source code editor.")
|
|
|
|
|
(license license:lgpl2.0+)
|
|
|
|
|
(home-page "https://developer.gnome.org/gtksourceview/")))
|
|
|
|
|
|
2015-11-08 20:51:46 +01:00
|
|
|
|
(define-public gtksourceview
|
|
|
|
|
(package
|
|
|
|
|
(name "gtksourceview")
|
2019-07-12 17:37:32 +02:00
|
|
|
|
(version "4.2.0")
|
2015-11-08 20:51:46 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2019-03-18 14:32:39 +01:00
|
|
|
|
(uri (string-append "mirror://gnome/sources/gtksourceview/"
|
2015-11-08 20:51:46 +01:00
|
|
|
|
(version-major+minor version) "/"
|
2019-03-18 14:32:39 +01:00
|
|
|
|
"gtksourceview-" version ".tar.xz"))
|
2015-11-08 20:51:46 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-07-12 17:37:32 +02:00
|
|
|
|
"0xgnjj7jd56wbl99s76sa1vjq9bkz4mdsxwgwlcphg689liyncf4"))))
|
2015-11-08 20:51:46 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before
|
|
|
|
|
'check 'pre-check
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((xorg-server (assoc-ref inputs "xorg-server")))
|
|
|
|
|
;; Tests require a running X server.
|
|
|
|
|
(system (format #f "~a/bin/Xvfb :1 &" xorg-server))
|
|
|
|
|
(setenv "DISPLAY" ":1")
|
|
|
|
|
;; For the missing /etc/machine-id.
|
|
|
|
|
(setenv "DBUS_FATAL_WARNINGS" "0")
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
|
|
|
|
|
("intltool" ,intltool)
|
gnu: Fix misplaced commas (unquote).
Fix many occurrences of comma (unquote) being placed immediately after the
previous list item, e.g. ("ncurses", ncurses) in the inputs.
* gnu/packages/base.scm (patch, gnu-make),
gnu/packages/bioinformatics.scm (hmmer),
gnu/packages/bittorrent.scm (aria2),
gnu/packages/compression.scm (pbzip2),
gnu/packages/databases.scm (recutils),
gnu/packages/fonts.scm (font-terminus),
gnu/packages/freedesktop.scm (xdg-utils, elogind),
gnu/packages/games.scm (gnujump),
gnu/packages/gnome.scm (libidl, gnumeric, eog, gedit),
gnu/packages/gnunet.scm (gnunet),
gnu/packages/gnuzilla.scm (mozjs, nspr),
gnu/packages/gtk.scm (gtksourceview, gdk-pixbuf),
gnu/packages/lua.scm (lua),
gnu/packages/openstack.scm (python-swiftclient),
gnu/packages/perl.scm (perl-json-any),
gnu/packages/polkit.scm (polkit-qt),
gnu/packages/python.scm (wrap-python3, python-oauthlib)
(python-mccabe-0.2.1, python-contextlib2, python2-rauth),
gnu/packages/qt.scm (qtkeychain),
gnu/packages/ruby.scm (ruby-nokogiri),
gnu/packages/screen.scm (screen),
gnu/packages/ssh.scm (libssh),
gnu/packages/video.scm (ffmpeg, mplayer),
gnu/packages/vim.scm (vim),
gnu/packages/xdisorg.scm (redshift),
gnu/packages/xfce.scm (xfce4-panel, xfce4-settings),
gnu/packages/xnee.scm (xnee),
gnu/packages/xorg.scm (font-adobe100dpi, font-adobe75dpi),
gnu/packages/zsh.scm (zsh): Fix misplaced commas (unquote).
2016-02-27 14:37:28 +01:00
|
|
|
|
("itstool" ,itstool)
|
2015-11-08 20:51:46 +01:00
|
|
|
|
("gobject-introspection" ,gobject-introspection)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("vala" ,vala)
|
|
|
|
|
;; For testing.
|
gnu: Use the test-only Xorg variant for tests.
* gnu/packages/education.scm (gcompris-qt)[native-inputs]: Change XORG-SERVER
to XORG-SERVER-FOR-TESTS.
* gnu/packages/engineering.scm (pcb, qucs, openscad)[native-inputs]: Likewise.
* gnu/packages/gnome.scm (libbonoboui, d-feet, gspell, libdazzle, libhandy)[native-inputs]: Likewise.
* gnu/packages/gnupg.scm (parcimonie)[native-inputs]: Likewise.
* gnu/packages/graphics.scm (opensubdiv, rapicorn)[native-inputs]: Likewise.
* gnu/packages/gtk.scm (gtksourceview-2, gtksourceview)[native-inputs]: Likewise.
* gnu/packages/image-processing.scm (opencv)[native-inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (kconfig, kcoreaddons, kwidgetsaddons,
kwindowsystem, kdeclarative)[native-inputs]: Likewise.
* gnu/packages/kde-plasma.scm (kscreenlocker)[native-inputs]: Likewise.
* gnu/packages/messaging.scm (gajim)[native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-seaborn)[native-inputs]: Likewise.
2019-11-27 22:19:13 +01:00
|
|
|
|
("xorg-server" ,xorg-server-for-tests)
|
2015-11-08 20:51:46 +01:00
|
|
|
|
("shared-mime-info" ,shared-mime-info)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
;; gtksourceview-3.0.pc refers to all these.
|
|
|
|
|
`(("glib" ,glib)
|
|
|
|
|
("gtk+" ,gtk+)
|
|
|
|
|
("libxml2" ,libxml2)))
|
|
|
|
|
(home-page "https://wiki.gnome.org/Projects/GtkSourceView")
|
|
|
|
|
(synopsis "GNOME source code widget")
|
|
|
|
|
(description "GtkSourceView is a text widget that extends the standard
|
|
|
|
|
GTK+ text widget GtkTextView. It improves GtkTextView by implementing syntax
|
|
|
|
|
highlighting and other features typical of a source code editor.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
2018-08-05 13:09:06 +02:00
|
|
|
|
(define-public gtksourceview-3
|
|
|
|
|
(package (inherit gtksourceview)
|
|
|
|
|
(name "gtksourceview")
|
2019-03-21 23:18:54 +01:00
|
|
|
|
(version "3.24.10")
|
2018-08-05 13:09:06 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnome/sources/" name "/"
|
|
|
|
|
(version-major+minor version) "/"
|
|
|
|
|
name "-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-03-21 23:18:54 +01:00
|
|
|
|
"16ym7jwiki4s1pilwr4incx0yg7ll94f1cajrnpndkxxs36hcm5b"))))))
|
2018-08-05 13:09:06 +02:00
|
|
|
|
|
2013-06-15 09:26:07 +02:00
|
|
|
|
(define-public gdk-pixbuf
|
|
|
|
|
(package
|
2021-03-11 16:29:02 +01:00
|
|
|
|
(name "gdk-pixbuf")
|
2021-03-11 16:53:43 +01:00
|
|
|
|
(version "2.42.4")
|
2021-03-11 16:29:02 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnome/sources/" name "/"
|
|
|
|
|
(version-major+minor version) "/"
|
|
|
|
|
name "-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-03-11 16:53:43 +01:00
|
|
|
|
"0k9f9177qxaryaxprwrhqnv5p2gdq4a8i6y05gm98qa8izc5v77y"))))
|
2021-03-11 16:29:02 +01:00
|
|
|
|
(build-system meson-build-system)
|
2021-03-11 12:55:07 +01:00
|
|
|
|
(outputs '("out" "debug"))
|
2021-03-11 16:29:02 +01:00
|
|
|
|
(arguments
|
2021-05-16 09:25:11 +02:00
|
|
|
|
`(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
|
2021-03-11 16:41:10 +01:00
|
|
|
|
#:configure-flags '("-Dinstalled_tests=false" "-Djasper=true")
|
2021-03-11 16:29:02 +01:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2021-03-11 16:50:46 +01:00
|
|
|
|
(add-after 'unpack 'patch-docbook
|
2021-08-25 16:04:59 +02:00
|
|
|
|
;; TODO(core-updates): Unconditionally look in (or native-inputs inputs)
|
|
|
|
|
(lambda* (#:key ,@(if (%current-target-system)
|
|
|
|
|
'(native-inputs)
|
|
|
|
|
'())
|
|
|
|
|
inputs #:allow-other-keys)
|
2021-03-11 16:50:46 +01:00
|
|
|
|
(with-directory-excursion "docs"
|
|
|
|
|
(substitute* "meson.build"
|
|
|
|
|
(("http://docbook.sourceforge.net/release/xsl/current/")
|
2021-08-25 16:04:59 +02:00
|
|
|
|
(string-append (assoc-ref ,(if (%current-target-system)
|
|
|
|
|
'(or native-inputs inputs)
|
|
|
|
|
'inputs) "docbook-xsl")
|
2021-03-11 16:50:46 +01:00
|
|
|
|
"/xml/xsl/docbook-xsl-1.79.2/")))
|
|
|
|
|
(substitute* (find-files "." "\\.xml$")
|
|
|
|
|
(("http://www.oasis-open.org/docbook/xml/4\\.3/")
|
2021-08-25 16:04:59 +02:00
|
|
|
|
(string-append (assoc-ref ,(if (%current-target-system)
|
|
|
|
|
'(or native-inputs inputs)
|
|
|
|
|
'inputs) "docbook-xml")
|
2021-03-11 12:55:07 +01:00
|
|
|
|
"/xml/dtd/docbook/"))))))
|
2021-03-11 17:00:10 +01:00
|
|
|
|
(add-before 'configure 'disable-failing-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "tests/meson.build"
|
|
|
|
|
(("\\[ 'pixbuf-fail', \\['conform', 'slow'\\], \\],")
|
2021-03-11 12:55:07 +01:00
|
|
|
|
""))))
|
2021-03-11 16:29:02 +01:00
|
|
|
|
;; The slow tests take longer than the specified timeout.
|
|
|
|
|
,@(if (any (cute string=? <> (%current-system))
|
|
|
|
|
'("armhf-linux" "aarch64-linux"))
|
|
|
|
|
'((replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "meson" "test" "--timeout-multiplier" "5"))))
|
|
|
|
|
'()))))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`( ;; Required by gdk-pixbuf-2.0.pc
|
|
|
|
|
("glib" ,glib)
|
2021-03-11 16:35:56 +01:00
|
|
|
|
;; Required by gdk-pixbuf-xlib-2.0.pc
|
|
|
|
|
("libx11" ,libx11)
|
2021-03-11 16:29:02 +01:00
|
|
|
|
;; Used for testing and required at runtime.
|
|
|
|
|
("shared-mime-info" ,shared-mime-info)))
|
|
|
|
|
(inputs
|
2021-08-25 16:06:06 +02:00
|
|
|
|
`(,@(if (%current-target-system)
|
|
|
|
|
`(("bash-minimal" ,bash-minimal)) ; for glib-or-gtk-wrap
|
|
|
|
|
'())
|
|
|
|
|
("jasper" ,jasper)
|
2021-03-11 16:41:10 +01:00
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
2021-03-11 16:35:56 +01:00
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libtiff" ,libtiff)))
|
2021-03-11 16:29:02 +01:00
|
|
|
|
(native-inputs
|
2021-03-11 16:50:46 +01:00
|
|
|
|
`(("docbook-xml" ,docbook-xml-4.3)
|
|
|
|
|
("docbook-xsl" ,docbook-xsl)
|
2018-09-07 22:26:44 +02:00
|
|
|
|
("gettext" ,gettext-minimal)
|
2021-03-11 16:29:02 +01:00
|
|
|
|
("glib" ,glib "bin") ; glib-mkenums, etc.
|
2021-03-11 16:50:46 +01:00
|
|
|
|
("gobject-introspection" ,gobject-introspection) ; g-ir-compiler, etc.
|
2021-03-11 16:53:43 +01:00
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("xsltproc" ,libxslt)))
|
2021-03-11 16:56:29 +01:00
|
|
|
|
(synopsis "Image loading library")
|
|
|
|
|
(description "GdkPixbuf is a library that loads image data in various
|
|
|
|
|
formats and stores it as linear buffers in memory. The buffers can then be
|
|
|
|
|
scaled, composited, modified, saved, or rendered.")
|
|
|
|
|
(home-page "https://wiki.gnome.org/Projects/GdkPixbuf")
|
|
|
|
|
(license license:lgpl2.1+)))
|
2021-03-12 09:51:45 +01:00
|
|
|
|
|
2016-03-14 13:10:43 +01:00
|
|
|
|
;; To build gdk-pixbuf with SVG support, we need librsvg, and librsvg depends
|
2021-03-11 12:57:40 +01:00
|
|
|
|
;; on gdk-pixbuf, so this new variable. Also, librsvg adds 90MiB to the
|
2016-03-14 13:10:43 +01:00
|
|
|
|
;; closure size.
|
|
|
|
|
(define-public gdk-pixbuf+svg
|
2021-03-12 09:51:45 +01:00
|
|
|
|
(package/inherit gdk-pixbuf
|
2016-03-14 13:10:43 +01:00
|
|
|
|
(name "gdk-pixbuf+svg")
|
|
|
|
|
(inputs
|
|
|
|
|
`(("librsvg" ,librsvg)
|
|
|
|
|
,@(package-inputs gdk-pixbuf)))
|
|
|
|
|
(arguments
|
2021-03-11 17:08:24 +01:00
|
|
|
|
(substitute-keyword-arguments (package-arguments gdk-pixbuf)
|
|
|
|
|
((#:phases phases)
|
|
|
|
|
`(modify-phases ,phases
|
2016-03-14 13:10:43 +01:00
|
|
|
|
(add-after 'install 'register-svg-loader
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(librsvg (assoc-ref inputs "librsvg"))
|
|
|
|
|
(loaders
|
|
|
|
|
(append
|
|
|
|
|
(find-files out "^libpixbufloader-.*\\.so$")
|
|
|
|
|
(find-files librsvg "^libpixbufloader-.*\\.so$")))
|
|
|
|
|
(gdk-pixbuf-query-loaders
|
|
|
|
|
(string-append out "/bin/gdk-pixbuf-query-loaders")))
|
2018-03-23 07:20:18 +01:00
|
|
|
|
(apply invoke
|
|
|
|
|
gdk-pixbuf-query-loaders
|
|
|
|
|
"--update-cache"
|
2021-03-11 17:08:24 +01:00
|
|
|
|
loaders))))))))
|
|
|
|
|
(synopsis "Image loading library, with SVG support")))
|
2016-03-14 13:10:43 +01:00
|
|
|
|
|
2021-10-05 06:46:26 +02:00
|
|
|
|
;;; A minimal variant used to prevent a cycle with Inkscape.
|
|
|
|
|
(define-public at-spi2-core-minimal
|
|
|
|
|
(hidden-package
|
|
|
|
|
(package
|
|
|
|
|
(name "at-spi2-core")
|
|
|
|
|
(version "2.40.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnome/sources/" name "/"
|
|
|
|
|
(version-major+minor version) "/"
|
|
|
|
|
name "-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0a9l6cfxynjn6jcp29d72i75xbkrzs1l5kmqcwmfal801b9sg5j1"))))
|
|
|
|
|
(build-system meson-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "HOME" (getenv "TMPDIR")) ; xfconfd requires a writable HOME
|
|
|
|
|
;; Run test-suite under a dbus session.
|
|
|
|
|
(setenv "XDG_DATA_DIRS" ; for finding org.xfce.Xfconf.service
|
|
|
|
|
(string-append %output "/share"))
|
|
|
|
|
;; Don't fail on missing '/etc/machine-id'.
|
|
|
|
|
(setenv "DBUS_FATAL_WARNINGS" "0") ;
|
|
|
|
|
(invoke "dbus-launch" "ninja" "test")))
|
|
|
|
|
(delete 'check))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("bash-minimal" ,bash-minimal)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
;; atspi-2.pc refers to all these.
|
|
|
|
|
`(("dbus" ,dbus)
|
|
|
|
|
("glib" ,glib)
|
|
|
|
|
("libx11" ,libx11)
|
|
|
|
|
("libxi" ,libxi)
|
|
|
|
|
("libxtst" ,libxtst)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("gettext" ,gettext-minimal)
|
|
|
|
|
("glib" ,glib "bin")
|
|
|
|
|
("gobject-introspection" ,gobject-introspection)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("python" ,python-wrapper)))
|
|
|
|
|
(synopsis "Assistive Technology Service Provider Interface, core components")
|
|
|
|
|
(description
|
|
|
|
|
"The Assistive Technology Service Provider Interface, core components,
|
2013-10-01 00:08:45 +02:00
|
|
|
|
is part of the GNOME accessibility project.")
|
2021-10-05 06:46:26 +02:00
|
|
|
|
(license license:lgpl2.1+)
|
|
|
|
|
(home-page "https://wiki.gnome.org/Accessibility/"))))
|
2013-10-01 00:08:45 +02:00
|
|
|
|
|
2021-10-05 06:46:26 +02:00
|
|
|
|
(define-public at-spi2-core
|
|
|
|
|
(package/inherit at-spi2-core-minimal
|
|
|
|
|
(outputs (cons "doc" (package-outputs at-spi2-core-minimal)))
|
2020-01-09 05:18:17 +01:00
|
|
|
|
(arguments
|
2021-10-05 06:46:26 +02:00
|
|
|
|
(substitute-keyword-arguments (package-arguments at-spi2-core-minimal)
|
|
|
|
|
((#:configure-flags flags ''())
|
|
|
|
|
`(cons ,(if (%current-target-system)
|
|
|
|
|
"-Ddocs=false"
|
|
|
|
|
"-Ddocs=true")
|
|
|
|
|
,flags))
|
2020-01-09 05:18:17 +01:00
|
|
|
|
((#:phases phases)
|
|
|
|
|
`(modify-phases ,phases
|
2021-10-05 06:46:26 +02:00
|
|
|
|
(add-after 'unpack 'set-documentation-path
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Ensure that the cross-references point to the "doc" output.
|
|
|
|
|
(substitute* "doc/libatspi/meson.build"
|
|
|
|
|
(("docpath =.*")
|
|
|
|
|
(string-append "docpath = '" (assoc-ref outputs "doc")
|
|
|
|
|
"/share/gtk-doc/html'\n")))))
|
|
|
|
|
(add-before 'install 'prepare-doc-directory
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(mkdir-p (string-append (assoc-ref outputs "doc") "/share"))))
|
|
|
|
|
,@(if (%current-target-system)
|
|
|
|
|
'()
|
|
|
|
|
'((add-after 'install 'move-documentation
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(doc (assoc-ref outputs "doc")))
|
|
|
|
|
(copy-recursively
|
|
|
|
|
(string-append out "/share/gtk-doc")
|
|
|
|
|
(string-append doc "/share/gtk-doc"))
|
|
|
|
|
(delete-file-recursively
|
|
|
|
|
(string-append out "/share/gtk-doc")))))))))))
|
2020-01-09 05:18:17 +01:00
|
|
|
|
(native-inputs
|
2021-10-05 06:46:26 +02:00
|
|
|
|
(append `(("docbook-xml" ,docbook-xml-4.3)
|
|
|
|
|
("gtk-doc" ,gtk-doc/stable)
|
|
|
|
|
("libxml2" ,libxml2)) ;for XML_CATALOG_FILES
|
|
|
|
|
(package-native-inputs at-spi2-core-minimal)))
|
|
|
|
|
(properties (alist-delete 'hidden?
|
|
|
|
|
(package-properties at-spi2-core-minimal)))))
|
2020-01-09 05:18:17 +01:00
|
|
|
|
|
2013-10-01 00:26:54 +02:00
|
|
|
|
(define-public at-spi2-atk
|
|
|
|
|
(package
|
2021-03-26 15:13:08 +01:00
|
|
|
|
(name "at-spi2-atk")
|
|
|
|
|
(version "2.38.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnome/sources/" name "/"
|
|
|
|
|
(version-major+minor version) "/"
|
|
|
|
|
name "-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0ks6r9sx27l80n3a7yjmkilxv48cqj183wc7cap3caw2myjhi86g"))))
|
|
|
|
|
(build-system meson-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
|
2021-08-25 16:08:23 +02:00
|
|
|
|
;; Compiling tests requires "libxml2" to be in 'inputs'.
|
|
|
|
|
,@(if (%current-target-system)
|
|
|
|
|
`(#:configure-flags '("-Dtests=false"))
|
|
|
|
|
'())
|
2021-03-26 15:13:08 +01:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
;; Run test-suite under a dbus session.
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "DBUS_FATAL_WARNINGS" "0")
|
|
|
|
|
(invoke "dbus-launch" "meson" "test"))))))
|
|
|
|
|
(propagated-inputs
|
2021-10-05 06:49:05 +02:00
|
|
|
|
`(("at-spi2-core" ,at-spi2-core-minimal))) ; required by atk-bridge-2.0.pc
|
2021-03-26 15:13:08 +01:00
|
|
|
|
(inputs
|
|
|
|
|
`(("atk" ,atk)
|
|
|
|
|
("glib" ,glib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("dbus" ,dbus) ; For tests
|
|
|
|
|
("gobject-introspection" ,gobject-introspection)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(synopsis "Assistive Technology Service Provider Interface, ATK bindings")
|
|
|
|
|
(description
|
|
|
|
|
"The Assistive Technology Service Provider Interface
|
2013-10-01 00:26:54 +02:00
|
|
|
|
is part of the GNOME accessibility project.")
|
2021-03-11 19:35:04 +01:00
|
|
|
|
(license license:lgpl2.1+)
|
|
|
|
|
(home-page "https://wiki.gnome.org/Accessibility/")))
|
2013-10-01 00:26:54 +02:00
|
|
|
|
|
2013-10-01 19:46:45 +02:00
|
|
|
|
(define-public gtk+-2
|
2013-07-15 22:41:19 +02:00
|
|
|
|
(package
|
2021-03-26 15:51:11 +01:00
|
|
|
|
(name "gtk+")
|
2021-03-12 18:04:56 +01:00
|
|
|
|
(version "2.24.33")
|
2021-03-26 15:51:11 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnome/sources/" name "/"
|
|
|
|
|
(version-major+minor version) "/"
|
|
|
|
|
name "-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-03-12 18:04:56 +01:00
|
|
|
|
"1nn6kks1zyvb5xikr9y2k7r9bwjy1g4b0m0s66532bclymbwfamc"))
|
2021-03-26 15:51:11 +01:00
|
|
|
|
(patches (search-patches "gtk2-respect-GUIX_GTK2_PATH.patch"
|
|
|
|
|
"gtk2-respect-GUIX_GTK2_IM_MODULE_FILE.patch"
|
2021-10-12 20:10:18 +02:00
|
|
|
|
"gtk2-theme-paths.patch"
|
|
|
|
|
"gtk2-fix-builder-test.patch"))))
|
2021-03-26 15:51:11 +01:00
|
|
|
|
(build-system gnu-build-system)
|
2021-03-10 18:14:59 +01:00
|
|
|
|
(outputs '("out" "bin" "doc" "debug"))
|
2021-03-26 15:51:11 +01:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("atk" ,atk)
|
2021-03-12 14:05:28 +01:00
|
|
|
|
("cairo" ,cairo)
|
2021-03-26 15:51:11 +01:00
|
|
|
|
;; SVG support is optional and requires librsvg, which pulls in rust.
|
|
|
|
|
;; Rust is not supported well on every architecture yet.
|
|
|
|
|
("gdk-pixbuf" ,(if (string-prefix? "x86_64" (or (%current-target-system)
|
|
|
|
|
(%current-system)))
|
|
|
|
|
gdk-pixbuf+svg
|
|
|
|
|
gdk-pixbuf))
|
2021-03-12 14:05:28 +01:00
|
|
|
|
("glib" ,glib)
|
2021-03-26 15:51:11 +01:00
|
|
|
|
("pango" ,pango)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("cups" ,cups)
|
2021-03-12 14:05:28 +01:00
|
|
|
|
("libx11" ,libx11)
|
2021-03-26 15:51:11 +01:00
|
|
|
|
("libxcomposite" ,libxcomposite)
|
|
|
|
|
("libxcursor" ,libxcursor)
|
2021-03-12 14:05:28 +01:00
|
|
|
|
("libxext" ,libxext)
|
2021-03-26 15:51:11 +01:00
|
|
|
|
("libxdamage" ,libxdamage)
|
|
|
|
|
("libxi" ,libxi)
|
|
|
|
|
("libxinerama" ,libxinerama)
|
2021-03-12 14:05:28 +01:00
|
|
|
|
("libxkbcommon" ,libxkbcommon)
|
|
|
|
|
("libxrandr" ,libxrandr)
|
|
|
|
|
("libxrender" ,libxrender)
|
|
|
|
|
("libxshmfence" ,libxshmfence)))
|
2021-03-26 15:51:11 +01:00
|
|
|
|
(native-inputs
|
2021-03-12 14:05:28 +01:00
|
|
|
|
`(("gettext" ,gettext-minimal)
|
2021-03-26 15:51:11 +01:00
|
|
|
|
("glib" ,glib "bin")
|
|
|
|
|
("gobject-introspection" ,gobject-introspection)
|
2021-03-12 14:05:28 +01:00
|
|
|
|
("intltool" ,intltool)
|
|
|
|
|
("perl" ,perl)
|
2021-03-26 15:51:11 +01:00
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("python-wrapper" ,python-wrapper)
|
|
|
|
|
("xorg-server" ,xorg-server-for-tests)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:parallel-tests? #f
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(list "--with-xinput=yes"
|
|
|
|
|
(string-append "--with-html-dir="
|
|
|
|
|
(assoc-ref %outputs "doc")
|
|
|
|
|
"/share/gtk-doc/html"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'disable-failing-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "gtk/Makefile.in"
|
|
|
|
|
(("aliasfilescheck\\.sh") ""))
|
|
|
|
|
(substitute* "gtk/tests/recentmanager.c"
|
|
|
|
|
(("g_test_add_func \\(\"/recent-manager.*;") ""))
|
|
|
|
|
(substitute* "gtk/tests/defaultvalue.c"
|
|
|
|
|
(("return g_test_run\\(\\);") ""))
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'check 'pre-check
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Tests require a running X server.
|
|
|
|
|
(system "Xvfb :1 +extension GLX &")
|
|
|
|
|
(setenv "DISPLAY" ":1")
|
|
|
|
|
;; Tests write to $HOME.
|
|
|
|
|
(setenv "HOME" (getcwd))
|
|
|
|
|
;; Tests look for $XDG_RUNTIME_DIR.
|
|
|
|
|
(setenv "XDG_RUNTIME_DIR" (getcwd))
|
|
|
|
|
;; For missing '/etc/machine-id'.
|
|
|
|
|
(setenv "DBUS_FATAL_WARNINGS" "0")
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'remove-cache
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(for-each
|
2019-12-14 19:47:57 +01:00
|
|
|
|
delete-file
|
|
|
|
|
(find-files (assoc-ref outputs "out") "immodules.cache"))
|
2021-03-26 15:51:11 +01:00
|
|
|
|
#t)))))
|
|
|
|
|
(native-search-paths
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "GUIX_GTK2_PATH")
|
|
|
|
|
(files '("lib/gtk-2.0")))))
|
2021-03-12 14:05:28 +01:00
|
|
|
|
(search-paths native-search-paths)
|
2021-03-26 15:51:11 +01:00
|
|
|
|
(synopsis "Cross-platform toolkit for creating graphical user interfaces")
|
|
|
|
|
(description
|
|
|
|
|
"GTK+, or the GIMP Toolkit, is a multi-platform toolkit for creating
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 06:46:59 +02:00
|
|
|
|
graphical user interfaces. Offering a complete set of widgets, GTK+ is
|
2013-07-15 22:41:19 +02:00
|
|
|
|
suitable for projects ranging from small one-off tools to complete
|
|
|
|
|
application suites.")
|
2021-03-26 15:51:11 +01:00
|
|
|
|
(license license:lgpl2.0+)
|
|
|
|
|
(home-page "https://www.gtk.org/")))
|
2013-09-28 21:42:02 +02:00
|
|
|
|
|
2013-10-01 19:46:45 +02:00
|
|
|
|
(define-public gtk+
|
2021-03-26 15:53:09 +01:00
|
|
|
|
(package
|
|
|
|
|
(inherit gtk+-2)
|
|
|
|
|
(name "gtk+")
|
2021-08-19 10:49:43 +02:00
|
|
|
|
(version "3.24.30")
|
2021-03-26 15:53:09 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnome/sources/" name "/"
|
|
|
|
|
(version-major+minor version) "/"
|
|
|
|
|
name "-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-08-19 10:49:43 +02:00
|
|
|
|
"1a9vg840fjq1mmm403b67k624qrkxh9shaz9pv7z9l8a6bzvyxds"))
|
2021-03-26 15:53:09 +01:00
|
|
|
|
(patches (search-patches "gtk3-respect-GUIX_GTK3_PATH.patch"
|
|
|
|
|
"gtk3-respect-GUIX_GTK3_IM_MODULE_FILE.patch"))))
|
|
|
|
|
(propagated-inputs
|
gnu: gtk+: Add missing inputs.
* gnu/packages/gtk.scm (gtk+) [native-inputs]: Add docbook-xml,
hicolor-icon-theme, intltool, sassc and libxslt.
[inputs]: Add graphene, harfbuzz, iso-codes and papi.
[propagated-inputs]: Add cairo, fribidi, fontconfig, freetype, glib,
libx11, libxcomposite, libxext, libxfixes and libxrender.
Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-12 14:32:10 +01:00
|
|
|
|
`(("atk" ,atk)
|
|
|
|
|
("at-spi2-atk" ,at-spi2-atk)
|
|
|
|
|
("cairo" ,cairo)
|
|
|
|
|
("fribidi" ,fribidi)
|
|
|
|
|
("fontconfig" ,fontconfig)
|
|
|
|
|
("freetype" ,freetype)
|
2021-03-26 15:53:09 +01:00
|
|
|
|
;; SVG support is optional and requires librsvg, which pulls in rust.
|
|
|
|
|
;; Rust is not supported well on every architecture yet.
|
2021-09-15 01:24:37 +02:00
|
|
|
|
("gdk-pixbuf" ,(if (target-x86-64?)
|
2021-03-26 15:53:09 +01:00
|
|
|
|
gdk-pixbuf+svg
|
|
|
|
|
gdk-pixbuf))
|
gnu: gtk+: Add missing inputs.
* gnu/packages/gtk.scm (gtk+) [native-inputs]: Add docbook-xml,
hicolor-icon-theme, intltool, sassc and libxslt.
[inputs]: Add graphene, harfbuzz, iso-codes and papi.
[propagated-inputs]: Add cairo, fribidi, fontconfig, freetype, glib,
libx11, libxcomposite, libxext, libxfixes and libxrender.
Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-12 14:32:10 +01:00
|
|
|
|
("glib" ,glib)
|
2021-10-15 22:42:20 +02:00
|
|
|
|
("libcloudproviders" ,libcloudproviders-minimal)
|
2021-03-26 15:53:09 +01:00
|
|
|
|
("libepoxy" ,libepoxy)
|
gnu: gtk+: Add missing inputs.
* gnu/packages/gtk.scm (gtk+) [native-inputs]: Add docbook-xml,
hicolor-icon-theme, intltool, sassc and libxslt.
[inputs]: Add graphene, harfbuzz, iso-codes and papi.
[propagated-inputs]: Add cairo, fribidi, fontconfig, freetype, glib,
libx11, libxcomposite, libxext, libxfixes and libxrender.
Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-12 14:32:10 +01:00
|
|
|
|
("libx11" ,libx11)
|
|
|
|
|
("libxcomposite" ,libxcomposite)
|
2021-03-26 15:53:09 +01:00
|
|
|
|
("libxcursor" ,libxcursor)
|
gnu: gtk+: Add missing inputs.
* gnu/packages/gtk.scm (gtk+) [native-inputs]: Add docbook-xml,
hicolor-icon-theme, intltool, sassc and libxslt.
[inputs]: Add graphene, harfbuzz, iso-codes and papi.
[propagated-inputs]: Add cairo, fribidi, fontconfig, freetype, glib,
libx11, libxcomposite, libxext, libxfixes and libxrender.
Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-12 14:32:10 +01:00
|
|
|
|
("libxdamage" ,libxdamage)
|
|
|
|
|
("libxext" ,libxext)
|
|
|
|
|
("libxfixes" ,libxfixes)
|
2021-03-26 15:53:09 +01:00
|
|
|
|
("libxi" ,libxi)
|
|
|
|
|
("libxinerama" ,libxinerama)
|
|
|
|
|
("libxkbcommon" ,libxkbcommon)
|
|
|
|
|
("libxrandr" ,libxrandr)
|
gnu: gtk+: Add missing inputs.
* gnu/packages/gtk.scm (gtk+) [native-inputs]: Add docbook-xml,
hicolor-icon-theme, intltool, sassc and libxslt.
[inputs]: Add graphene, harfbuzz, iso-codes and papi.
[propagated-inputs]: Add cairo, fribidi, fontconfig, freetype, glib,
libx11, libxcomposite, libxext, libxfixes and libxrender.
Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-12 14:32:10 +01:00
|
|
|
|
("libxrender" ,libxrender)
|
2021-03-26 15:53:09 +01:00
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("pango" ,pango)
|
|
|
|
|
("wayland" ,wayland)
|
|
|
|
|
("wayland-protocols" ,wayland-protocols)))
|
|
|
|
|
(inputs
|
2021-10-15 22:24:26 +02:00
|
|
|
|
`(("colord" ,colord-minimal) ;to prevent a cycle with inkscape
|
gnu: gtk+: Add missing inputs.
* gnu/packages/gtk.scm (gtk+) [native-inputs]: Add docbook-xml,
hicolor-icon-theme, intltool, sassc and libxslt.
[inputs]: Add graphene, harfbuzz, iso-codes and papi.
[propagated-inputs]: Add cairo, fribidi, fontconfig, freetype, glib,
libx11, libxcomposite, libxext, libxfixes and libxrender.
Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-12 14:32:10 +01:00
|
|
|
|
("cups" ,cups)
|
|
|
|
|
("graphene" ,graphene)
|
|
|
|
|
("harfbuzz" ,harfbuzz)
|
|
|
|
|
("iso-codes" ,iso-codes)
|
2021-10-15 21:51:52 +02:00
|
|
|
|
("json-glib" ,json-glib-minimal)
|
gnu: gtk+: Add missing inputs.
* gnu/packages/gtk.scm (gtk+) [native-inputs]: Add docbook-xml,
hicolor-icon-theme, intltool, sassc and libxslt.
[inputs]: Add graphene, harfbuzz, iso-codes and papi.
[propagated-inputs]: Add cairo, fribidi, fontconfig, freetype, glib,
libx11, libxcomposite, libxext, libxfixes and libxrender.
Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-12 14:32:10 +01:00
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("rest" ,rest)))
|
2021-03-26 15:53:09 +01:00
|
|
|
|
(native-inputs
|
gnu: gtk+: Add missing inputs.
* gnu/packages/gtk.scm (gtk+) [native-inputs]: Add docbook-xml,
hicolor-icon-theme, intltool, sassc and libxslt.
[inputs]: Add graphene, harfbuzz, iso-codes and papi.
[propagated-inputs]: Add cairo, fribidi, fontconfig, freetype, glib,
libx11, libxcomposite, libxext, libxfixes and libxrender.
Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-12 14:32:10 +01:00
|
|
|
|
`(("docbook-xml" ,docbook-xml-4.1.2)
|
2021-03-26 15:53:09 +01:00
|
|
|
|
("gettext" ,gettext-minimal)
|
gnu: gtk+: Add missing inputs.
* gnu/packages/gtk.scm (gtk+) [native-inputs]: Add docbook-xml,
hicolor-icon-theme, intltool, sassc and libxslt.
[inputs]: Add graphene, harfbuzz, iso-codes and papi.
[propagated-inputs]: Add cairo, fribidi, fontconfig, freetype, glib,
libx11, libxcomposite, libxext, libxfixes and libxrender.
Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-12 14:32:10 +01:00
|
|
|
|
("glib" ,glib "bin")
|
2021-03-26 15:53:09 +01:00
|
|
|
|
("gobject-introspection" ,gobject-introspection)
|
gnu: gtk+: Add missing inputs.
* gnu/packages/gtk.scm (gtk+) [native-inputs]: Add docbook-xml,
hicolor-icon-theme, intltool, sassc and libxslt.
[inputs]: Add graphene, harfbuzz, iso-codes and papi.
[propagated-inputs]: Add cairo, fribidi, fontconfig, freetype, glib,
libx11, libxcomposite, libxext, libxfixes and libxrender.
Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-12 14:32:10 +01:00
|
|
|
|
("hicolor-icon-theme" ,hicolor-icon-theme)
|
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
2021-03-26 15:53:09 +01:00
|
|
|
|
("python-wrapper" ,python-wrapper)
|
gnu: gtk+: Add missing inputs.
* gnu/packages/gtk.scm (gtk+) [native-inputs]: Add docbook-xml,
hicolor-icon-theme, intltool, sassc and libxslt.
[inputs]: Add graphene, harfbuzz, iso-codes and papi.
[propagated-inputs]: Add cairo, fribidi, fontconfig, freetype, glib,
libx11, libxcomposite, libxext, libxfixes and libxrender.
Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-12 14:32:10 +01:00
|
|
|
|
("sassc" ,sassc)
|
2021-03-26 15:53:09 +01:00
|
|
|
|
;; By using a special xorg-server for GTK+'s tests, we reduce the impact
|
|
|
|
|
;; of updating xorg-server directly on the master branch.
|
gnu: gtk+: Add missing inputs.
* gnu/packages/gtk.scm (gtk+) [native-inputs]: Add docbook-xml,
hicolor-icon-theme, intltool, sassc and libxslt.
[inputs]: Add graphene, harfbuzz, iso-codes and papi.
[propagated-inputs]: Add cairo, fribidi, fontconfig, freetype, glib,
libx11, libxcomposite, libxext, libxfixes and libxrender.
Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-12 14:32:10 +01:00
|
|
|
|
("xorg-server" ,xorg-server-for-tests)
|
|
|
|
|
("xsltproc" ,libxslt)))
|
2021-03-26 15:53:09 +01:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:disallowed-references (,xorg-server-for-tests)
|
|
|
|
|
;; 47 MiB goes to "out" (24 of which is locale data!), and 26 MiB goes
|
|
|
|
|
;; to "doc".
|
|
|
|
|
#:configure-flags (list (string-append "--with-html-dir="
|
|
|
|
|
(assoc-ref %outputs "doc")
|
|
|
|
|
"/share/gtk-doc/html")
|
2021-03-12 14:36:52 +01:00
|
|
|
|
"--enable-cloudproviders"
|
2021-03-26 15:53:09 +01:00
|
|
|
|
;; The header file <gdk/gdkwayland.h> is required
|
|
|
|
|
;; by gnome-control-center
|
|
|
|
|
"--enable-wayland-backend"
|
|
|
|
|
;; This is necessary to build both backends.
|
|
|
|
|
"--enable-x11-backend"
|
|
|
|
|
;; This enables the HTML5 websocket backend.
|
|
|
|
|
"--enable-broadway-backend")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'disable-failing-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "testsuite/gtk/Makefile.in"
|
|
|
|
|
(("builderparser cellarea check-icon-names check-cursor-names")
|
|
|
|
|
"builderparser cellarea check-cursor-names")
|
|
|
|
|
(("notify no-gtk-init object objects-finalize papersize rbtree")
|
|
|
|
|
"no-gtk-init papersize rbtree")
|
|
|
|
|
(("stylecontext templates textbuffer textiter treemodel treepath")
|
2021-09-15 01:24:37 +02:00
|
|
|
|
"stylecontext textbuffer textiter treemodel treepath")
|
|
|
|
|
;; The ‘icontheme’ test needs SVG support.
|
|
|
|
|
,@(if (not (target-x86-64?))
|
|
|
|
|
'((("floating focus gestures grid gtkmenu icontheme keyhash listbox")
|
|
|
|
|
"floating focus gestures grid gtkmenu keyhash listbox"))
|
|
|
|
|
'()))
|
2021-03-26 15:53:09 +01:00
|
|
|
|
(substitute* "testsuite/a11y/Makefile.in"
|
|
|
|
|
(("accessibility-dump tree-performance text children derive")
|
|
|
|
|
"tree-performance text children derive"))
|
|
|
|
|
(substitute* "testsuite/reftests/Makefile.in"
|
|
|
|
|
(("TEST_PROGS = gtk-reftest")
|
|
|
|
|
"TEST_PROGS = "))
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'check 'pre-check
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Tests require a running X server.
|
|
|
|
|
(system "Xvfb :1 +extension GLX &")
|
|
|
|
|
(setenv "DISPLAY" ":1")
|
|
|
|
|
;; Tests write to $HOME.
|
|
|
|
|
(setenv "HOME" (getcwd))
|
|
|
|
|
;; Tests look for $XDG_RUNTIME_DIR.
|
|
|
|
|
(setenv "XDG_RUNTIME_DIR" (getcwd))
|
|
|
|
|
;; For missing '/etc/machine-id'.
|
|
|
|
|
(setenv "DBUS_FATAL_WARNINGS" "0")
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'move-desktop-files
|
|
|
|
|
;; Move desktop files into 'bin' to avoid cycle references.
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (assoc-ref outputs "bin")))
|
|
|
|
|
(mkdir-p (string-append bin "/share"))
|
|
|
|
|
(rename-file (string-append out "/share/applications")
|
|
|
|
|
(string-append bin "/share/applications"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-search-paths
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "GUIX_GTK3_PATH")
|
|
|
|
|
(files '("lib/gtk-3.0")))))))
|
2013-10-01 00:26:54 +02:00
|
|
|
|
|
2021-05-21 06:08:24 +02:00
|
|
|
|
(define-public gtk
|
|
|
|
|
(package
|
|
|
|
|
(name "gtk")
|
|
|
|
|
(version "4.2.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnome/sources/" name "/"
|
|
|
|
|
(version-major+minor version) "/"
|
|
|
|
|
name "-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1rh9fd5axf79pmd93hb2fmmflic5swcvqvq6vqghlgz4bmvnjc82"))
|
|
|
|
|
(patches
|
|
|
|
|
(search-patches "gtk4-respect-GUIX_GTK4_PATH.patch"))))
|
|
|
|
|
(build-system meson-build-system)
|
|
|
|
|
(outputs '("out" "bin" "doc"))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list
|
|
|
|
|
"-Dbroadway-backend=true" ;for broadway display-backend
|
|
|
|
|
"-Dcloudproviders=enabled" ;for cloud-providers support
|
|
|
|
|
"-Dtracker=enabled" ;for filechooser search support
|
|
|
|
|
"-Dcolord=enabled" ;for color printing support
|
|
|
|
|
,@(if (%current-target-system)
|
|
|
|
|
;; If true, gtkdoc-scangobj will try to execute a
|
|
|
|
|
;; cross-compiled binary.
|
|
|
|
|
'("-Dgtk_doc=false")
|
|
|
|
|
'("-Dgtk_doc=true"))
|
|
|
|
|
"-Dman-pages=true")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch
|
|
|
|
|
(lambda* (#:key inputs native-inputs outputs #:allow-other-keys)
|
|
|
|
|
;; Correct DTD resources of docbook.
|
|
|
|
|
(substitute* (find-files "docs" "\\.xml$")
|
|
|
|
|
(("http://www.oasis-open.org/docbook/xml/4.3/")
|
|
|
|
|
(string-append
|
|
|
|
|
(assoc-ref (or native-inputs inputs) "docbook-xml-4.3")
|
|
|
|
|
"/xml/dtd/docbook/")))
|
|
|
|
|
;; Disable building of icon cache.
|
|
|
|
|
(substitute* "meson.build"
|
|
|
|
|
(("gtk_update_icon_cache: true")
|
|
|
|
|
"gtk_update_icon_cache: false"))
|
|
|
|
|
;; Disable failing tests.
|
|
|
|
|
(substitute* (find-files "testsuite" "meson.build")
|
|
|
|
|
(("[ \t]*'empty-text.node',") "")
|
|
|
|
|
(("[ \t]*'testswitch.node',") "")
|
|
|
|
|
(("[ \t]*'widgetfactory.node',") ""))
|
|
|
|
|
(substitute* "testsuite/reftests/meson.build"
|
|
|
|
|
(("[ \t]*'label-wrap-justify.ui',") "")) ))
|
|
|
|
|
(add-before 'build 'set-cache
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "XDG_CACHE_HOME" (getcwd))))
|
|
|
|
|
(add-before 'check 'pre-check
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Tests require a running X server.
|
|
|
|
|
(system "Xvfb :1 +extension GLX &")
|
|
|
|
|
(setenv "DISPLAY" ":1")
|
|
|
|
|
;; Tests write to $HOME.
|
|
|
|
|
(setenv "HOME" (getcwd))
|
|
|
|
|
;; Tests look for those variables.
|
|
|
|
|
(setenv "XDG_RUNTIME_DIR" (getcwd))
|
|
|
|
|
;; For missing '/etc/machine-id'.
|
|
|
|
|
(setenv "DBUS_FATAL_WARNINGS" "0")))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
(setenv "MESON_TESTTHREADS" "1")
|
|
|
|
|
;; Run tests using the x11 setup,
|
|
|
|
|
;; instead of the default wayland.
|
|
|
|
|
(invoke "meson" "test" "--setup=x11"))))
|
|
|
|
|
(add-after 'install 'move-files
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (assoc-ref outputs "bin"))
|
|
|
|
|
(doc (assoc-ref outputs "doc")))
|
|
|
|
|
(for-each mkdir-p
|
|
|
|
|
(list
|
|
|
|
|
(string-append bin "/bin")
|
|
|
|
|
(string-append bin "/share/applications")
|
|
|
|
|
(string-append bin "/share/icons")
|
|
|
|
|
(string-append bin "/share/man")
|
|
|
|
|
(string-append bin "/share/metainfo")
|
|
|
|
|
(string-append doc "/share/doc")))
|
|
|
|
|
;; Move programs and related files to output 'bin'.
|
|
|
|
|
(for-each (lambda (dir)
|
|
|
|
|
(rename-file
|
|
|
|
|
(string-append out dir)
|
|
|
|
|
(string-append bin dir)))
|
|
|
|
|
(list
|
|
|
|
|
"/bin"
|
|
|
|
|
"/share/applications"
|
|
|
|
|
"/share/icons"
|
|
|
|
|
"/share/man"
|
|
|
|
|
"/share/metainfo"))
|
|
|
|
|
;; Move HTML documentation to output 'doc'.
|
|
|
|
|
(rename-file
|
|
|
|
|
(string-append out "/share/doc")
|
|
|
|
|
(string-append doc "/share/doc"))))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("docbook-xml-4.3" ,docbook-xml-4.3)
|
|
|
|
|
("docbook-xsl" ,docbook-xsl)
|
|
|
|
|
("gettext-minimal" ,gettext-minimal)
|
|
|
|
|
("glib:bin" ,glib "bin")
|
|
|
|
|
("gobject-introspection" ,gobject-introspection) ;for building introspection data
|
|
|
|
|
("gtk-doc" ,gtk-doc) ;for building documentation
|
|
|
|
|
("intltool" ,intltool)
|
|
|
|
|
("libxslt" ,libxslt) ;for building man-pages
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
;; These python modules are required for building documentation.
|
|
|
|
|
("python-jinja2" ,python-jinja2)
|
|
|
|
|
("python-markdown" ,python-markdown)
|
|
|
|
|
("python-markupsafe" ,python-markupsafe)
|
|
|
|
|
("python-pygments" ,python-pygments)
|
|
|
|
|
("python-toml" ,python-toml)
|
|
|
|
|
("python-typogrify" ,python-typogrify)
|
|
|
|
|
("sassc" ,sassc) ;for building themes
|
|
|
|
|
("vala" ,vala)
|
|
|
|
|
("xorg-server-for-tests" ,xorg-server-for-tests)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("colord" ,colord) ;for color printing support
|
|
|
|
|
("cups" ,cups) ;for CUPS print-backend
|
|
|
|
|
("ffmpeg" ,ffmpeg) ;for ffmpeg media-backend
|
|
|
|
|
("fribidi" ,fribidi)
|
|
|
|
|
("gstreamer" ,gstreamer) ;for gstreamer media-backend
|
|
|
|
|
("gst-plugins-bad" ,gst-plugins-bad) ;provides gstreamer-player
|
|
|
|
|
("gst-plugins-base" ,gst-plugins-base) ;provides gstreamer-gl
|
|
|
|
|
("harfbuzz" ,harfbuzz)
|
|
|
|
|
("iso-codes" ,iso-codes)
|
|
|
|
|
("json-glib" ,json-glib)
|
|
|
|
|
("libcloudproviders" ,libcloudproviders) ;for cloud-providers support
|
|
|
|
|
("librsvg" ,librsvg)
|
|
|
|
|
("python" ,python)
|
|
|
|
|
("rest" ,rest)
|
|
|
|
|
("tracker" ,tracker))) ;for filechooser search support
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
;; Following dependencies are referenced in .pc files.
|
|
|
|
|
`(("cairo" ,cairo)
|
|
|
|
|
("fontconfig" ,fontconfig)
|
|
|
|
|
("gdk-pixbuf+svg" ,gdk-pixbuf+svg)
|
|
|
|
|
("glib" ,glib)
|
|
|
|
|
("graphene" ,graphene)
|
|
|
|
|
("libepoxy" ,libepoxy)
|
|
|
|
|
("libx11" ,libx11) ;for x11 display-backend
|
|
|
|
|
("libxcomposite" ,libxcomposite)
|
|
|
|
|
("libxcursor" ,libxcursor)
|
|
|
|
|
("libxdamage" ,libxdamage)
|
|
|
|
|
("libxext" ,libxext)
|
|
|
|
|
("libxfixes" ,libxfixes)
|
|
|
|
|
("libxi" ,libxi)
|
|
|
|
|
("libxinerama" ,libxinerama) ;for xinerama support
|
|
|
|
|
("libxkbcommon" ,libxkbcommon)
|
|
|
|
|
("libxrandr" ,libxrandr)
|
|
|
|
|
("libxrender" ,libxrender)
|
|
|
|
|
("pango" ,pango)
|
|
|
|
|
("vulkan-headers" ,vulkan-headers)
|
|
|
|
|
("vulkan-loader" ,vulkan-loader) ;for vulkan graphics API support
|
|
|
|
|
("wayland" ,wayland) ;for wayland display-backend
|
|
|
|
|
("wayland-protocols" ,wayland-protocols)))
|
|
|
|
|
(native-search-paths
|
|
|
|
|
(list
|
|
|
|
|
(search-path-specification
|
|
|
|
|
(variable "GUIX_GTK4_PATH")
|
|
|
|
|
(files '("lib/gtk-4.0")))))
|
|
|
|
|
(search-paths native-search-paths)
|
|
|
|
|
(home-page "https://www.gtk.org/")
|
|
|
|
|
(synopsis "Cross-platform widget toolkit")
|
|
|
|
|
(description "GTK is a multi-platform toolkit for creating graphical user
|
|
|
|
|
interfaces. Offering a complete set of widgets, GTK is suitable for projects
|
|
|
|
|
ranging from small one-off tools to complete application suites.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
2013-09-28 21:42:02 +02:00
|
|
|
|
;;;
|
|
|
|
|
;;; Guile bindings.
|
|
|
|
|
;;;
|
|
|
|
|
|
|
|
|
|
(define-public guile-cairo
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-cairo")
|
2021-02-04 09:40:49 +01:00
|
|
|
|
(version "1.11.2")
|
2013-09-28 21:42:02 +02:00
|
|
|
|
(source (origin
|
2017-03-13 22:18:13 +01:00
|
|
|
|
(method url-fetch)
|
2018-10-02 16:18:30 +02:00
|
|
|
|
(uri (string-append "mirror://savannah/guile-cairo/guile-cairo-"
|
|
|
|
|
version ".tar.gz"))
|
2017-03-13 22:18:13 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-02-04 09:40:49 +01:00
|
|
|
|
"0yx0844p61ljd4d3d63qrawiygiw6ks02fwv2cqx7nav5kfd8ck2"))
|
2018-10-02 16:18:30 +02:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
(begin
|
|
|
|
|
'(begin
|
|
|
|
|
;; Install Scheme files in …/guile/site/X.Y.
|
|
|
|
|
(substitute* (find-files "." "^Makefile\\.in$")
|
|
|
|
|
(("^(.*)dir = (.*)/guile/site(.*)" _ name prefix suffix)
|
|
|
|
|
(string-append name "dir = " prefix
|
|
|
|
|
"/guile/site/@GUILE_EFFECTIVE_VERSION@"
|
|
|
|
|
suffix)))
|
|
|
|
|
#t)))))
|
2013-09-28 21:42:02 +02:00
|
|
|
|
(build-system gnu-build-system)
|
2020-02-23 00:20:30 +01:00
|
|
|
|
(arguments
|
|
|
|
|
;; Uses of 'scm_t_uint8' & co. are deprecated; don't stop the build
|
|
|
|
|
;; because of them.
|
2021-01-03 21:18:58 +01:00
|
|
|
|
`(#:configure-flags '("--disable-Werror")
|
|
|
|
|
#:make-flags '("GUILE_AUTO_COMPILE=0") ; to prevent guild warnings
|
|
|
|
|
#:modules ((guix build gnu-build-system)
|
|
|
|
|
(guix build utils)
|
|
|
|
|
(ice-9 rdelim)
|
|
|
|
|
(ice-9 popen))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'install-go-files
|
|
|
|
|
(lambda* (#:key outputs inputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(effective (read-line
|
|
|
|
|
(open-pipe* OPEN_READ
|
|
|
|
|
"guile" "-c"
|
|
|
|
|
"(display (effective-version))")))
|
|
|
|
|
(module-dir (string-append out "/share/guile/site/"
|
|
|
|
|
effective))
|
|
|
|
|
(object-dir (string-append out "/lib/guile/" effective
|
|
|
|
|
"/site-ccache"))
|
|
|
|
|
(prefix (string-length module-dir)))
|
|
|
|
|
;; compile to the destination
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(let* ((base (string-drop (string-drop-right file 4)
|
|
|
|
|
prefix))
|
|
|
|
|
(go (string-append object-dir base ".go")))
|
|
|
|
|
(invoke "guild" "compile" "-L" module-dir
|
|
|
|
|
file "-o" go)))
|
|
|
|
|
(find-files module-dir "\\.scm$"))
|
|
|
|
|
#t))))))
|
2013-09-28 21:42:02 +02:00
|
|
|
|
(inputs
|
2017-07-01 22:02:46 +02:00
|
|
|
|
`(("guile-lib" ,guile-lib)
|
2013-09-28 21:42:02 +02:00
|
|
|
|
("expat" ,expat)
|
2020-02-23 00:20:30 +01:00
|
|
|
|
("guile" ,guile-3.0)))
|
2014-08-28 10:06:48 +02:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
;; The .pc file refers to 'cairo'.
|
|
|
|
|
`(("cairo" ,cairo)))
|
gnu: Move numerous "inputs" which should be "native-inputs".
* gnu/packages/avahi.scm, gnu/packages/cdrom.scm, gnu/packages/cryptsetup.scm,
gnu/packages/curl.scm, gnu/packages/emacs.scm, gnu/packages/fontutils.scm,
gnu/packages/gdb.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/graphviz.scm,
gnu/packages/groff.scm, gnu/packages/gstreamer.scm, gnu/packages/gtk.scm,
gnu/packages/gv.scm, gnu/packages/imagemagick.scm, gnu/packages/irssi.scm,
gnu/packages/kde.scm, gnu/packages/libcanberra.scm, gnu/packages/libtiff.scm,
gnu/packages/linux.scm, gnu/packages/lvm.scm, gnu/packages/mp3.scm,
gnu/packages/netpbm.scm, gnu/packages/parted.scm, gnu/packages/pdf.scm,
gnu/packages/pulseaudio.scm, gnu/packages/qemu.scm, gnu/packages/qt.scm,
gnu/packages/ratpoison.scm, gnu/packages/rdf.scm, gnu/packages/slim.scm,
gnu/packages/texlive.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/xml.scm, gnu/packages/xnee.scm, gnu/packages/xorg.scm,
gnu/packages/zip.scm: Move some build-time dependencies from `inputs' to
`native-inputs'.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-12-15 12:01:56 +01:00
|
|
|
|
(native-inputs
|
2017-03-13 22:18:13 +01:00
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
gnu: Use HTTPS for supported nongnu.org home pages.
* gnu/packages/acl.scm (acl)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (dmidecode)[home-page]: Likewise.
* gnu/packages/attr.scm (attr)[home-page]: Likewise.
* gnu/packages/audio.scm (lash)[home-page]: Likewise.
* gnu/packages/avr.scm (avr-libc)[home-page]: Likewise.
* gnu/packages/backup.scm (rdiff-backup, libchop)[home-page]: Likewise.
* gnu/packages/compression.scm (fastjar, lzip, lziprecover, atool)
(lunzip, clzip, lzlib, plzip)[home-page]: Likewise.
* gnu/packages/emacs.scm (geiser, bbdb, m17n-lib, m17n-lib)[home-page]:
Likewise.
* gnu/packages/flashing-tools.scm (avrdude)[home-page]: Likewise.
* gnu/packages/fontutils.scm (libotf)[home-page]: Likewise.
* gnu/packages/game-development.scm (gzochi)[home-page]: Likewise.
* gnu/packages/games.scm (enigma)[home-page]: Likewise.
* gnu/packages/gsasl.scm (libntlm)[home-page]: Likewise.
* gnu/packages/gtk.scm (guile-cairo)[home-page]: Likewise.
* gnu/packages/guile.scm (guile-reader, guile-lib, guile-json)
(guile-redis, g-wrap)[home-page]: Likewise.
* gnu/packages/libunwind.scm (libunwind)[home-page]: Likewise.
* gnu/packages/lout.scm (lout)[home-page]: Likewise.
* gnu/packages/mpd.scm (sonata)[home-page]: Likewise.
* gnu/packages/networking.scm (quagga)[home-page]: Likewise.
* gnu/packages/ratpoison.scm (ratpoison)[home-page]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[home-page]: Likewise.
* gnu/packages/telephony.scm (exosip)[home-page]: Likewise.
* gnu/packages/texinfo.scm (texi2html)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (xbindkeys)[home-page]: Likewise.
2018-02-16 04:20:44 +01:00
|
|
|
|
(home-page "https://www.nongnu.org/guile-cairo/")
|
2013-09-28 21:42:02 +02:00
|
|
|
|
(synopsis "Cairo bindings for GNU Guile")
|
|
|
|
|
(description
|
|
|
|
|
"Guile-Cairo wraps the Cairo graphics library for Guile Scheme.
|
|
|
|
|
Guile-Cairo is complete, wrapping almost all of the Cairo API. It is API
|
|
|
|
|
stable, providing a firm base on which to do graphics work. Finally, and
|
|
|
|
|
importantly, it is pleasant to use. You get a powerful and well-maintained
|
|
|
|
|
graphics library with all of the benefits of Scheme: memory management,
|
|
|
|
|
exceptions, macros, and a dynamic programming environment.")
|
|
|
|
|
(license license:lgpl3+)))
|
2013-10-07 23:45:55 +02:00
|
|
|
|
|
2020-02-23 00:20:30 +01:00
|
|
|
|
(define-public guile2.2-cairo
|
2020-01-23 11:10:14 +01:00
|
|
|
|
(package
|
|
|
|
|
(inherit guile-cairo)
|
2020-02-23 00:20:30 +01:00
|
|
|
|
(name "guile2.2-cairo")
|
2020-01-23 11:10:14 +01:00
|
|
|
|
(inputs
|
2020-02-23 00:20:30 +01:00
|
|
|
|
`(("guile" ,guile-2.2)
|
|
|
|
|
("guile-lib" ,guile2.2-lib)
|
2020-01-23 11:10:14 +01:00
|
|
|
|
,@(fold alist-delete (package-inputs guile-cairo)
|
|
|
|
|
'("guile" "guile-lib"))))))
|
|
|
|
|
|
2020-02-23 00:20:30 +01:00
|
|
|
|
(define-public guile3.0-cairo
|
|
|
|
|
(deprecated-package "guile3.0-cairo" guile-cairo))
|
|
|
|
|
|
2015-08-31 22:46:32 +02:00
|
|
|
|
(define-public guile-rsvg
|
2017-07-02 22:45:33 +02:00
|
|
|
|
;; Use a recent snapshot that supports Guile 2.2 and beyond.
|
|
|
|
|
(let ((commit "05c6a2fd67e4fea1a7c3ff776729dc931bae6678")
|
|
|
|
|
(revision "0"))
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-rsvg")
|
|
|
|
|
(version (string-append "2.18.1-" revision "."
|
|
|
|
|
(string-take commit 7)))
|
|
|
|
|
(source (origin
|
2020-06-04 23:25:54 +02:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://gitlab.com/wingo/guile-rsvg/")
|
|
|
|
|
(commit commit)))
|
2017-07-02 22:45:33 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-06-04 23:25:54 +02:00
|
|
|
|
"0cnbl40df2sbhpc32cma6j6w312rfvcgbxxqaixgf0ymim3fb248"))
|
2017-07-02 22:45:33 +02:00
|
|
|
|
(patches (search-patches "guile-rsvg-pkgconfig.patch"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 12:47:34 +01:00
|
|
|
|
'(begin
|
|
|
|
|
(substitute* (find-files "." "Makefile\\.am")
|
|
|
|
|
(("/share/guile/site")
|
|
|
|
|
"/share/guile/site/@GUILE_EFFECTIVE_VERSION@"))
|
|
|
|
|
#t))
|
2017-07-02 22:45:33 +02:00
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))))
|
|
|
|
|
(build-system gnu-build-system)
|
2018-03-28 08:17:37 +02:00
|
|
|
|
(arguments
|
2021-01-03 21:19:46 +01:00
|
|
|
|
`(#:modules ((guix build gnu-build-system)
|
|
|
|
|
(guix build utils)
|
|
|
|
|
(ice-9 rdelim)
|
|
|
|
|
(ice-9 popen))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'bootstrap
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "autoreconf" "-vfi")))
|
|
|
|
|
(add-after 'install 'install-go-files
|
|
|
|
|
(lambda* (#:key outputs inputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(effective (read-line
|
|
|
|
|
(open-pipe* OPEN_READ
|
|
|
|
|
"guile" "-c"
|
|
|
|
|
"(display (effective-version))")))
|
|
|
|
|
(module-dir (string-append out "/share/guile/site/"
|
|
|
|
|
effective))
|
|
|
|
|
(object-dir (string-append out "/lib/guile/" effective
|
|
|
|
|
"/site-ccache"))
|
|
|
|
|
(prefix (string-length module-dir)))
|
|
|
|
|
;; compile to the destination
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(let* ((base (string-drop (string-drop-right file 4)
|
|
|
|
|
prefix))
|
|
|
|
|
(go (string-append object-dir base ".go")))
|
|
|
|
|
(invoke "guild" "compile" "-L" module-dir
|
|
|
|
|
file "-o" go)))
|
|
|
|
|
(find-files module-dir "\\.scm$"))
|
|
|
|
|
#t))))))
|
2017-07-02 22:45:33 +02:00
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)
|
|
|
|
|
("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("libtool" ,libtool)
|
|
|
|
|
("texinfo" ,texinfo)))
|
2020-02-23 00:20:30 +01:00
|
|
|
|
(inputs `(("guile" ,guile-3.0)
|
2017-07-02 22:45:33 +02:00
|
|
|
|
("librsvg" ,librsvg)
|
|
|
|
|
("guile-lib" ,guile-lib))) ;for (unit-test)
|
|
|
|
|
(propagated-inputs `(("guile-cairo" ,guile-cairo)))
|
|
|
|
|
(synopsis "Render SVG images using Cairo from Guile")
|
|
|
|
|
(description
|
|
|
|
|
"Guile-RSVG wraps the RSVG library for Guile, allowing you to render SVG
|
2015-08-31 22:46:32 +02:00
|
|
|
|
images onto Cairo surfaces.")
|
2020-03-21 00:23:31 +01:00
|
|
|
|
(home-page "https://wingolog.org/projects/guile-rsvg/")
|
2017-07-02 22:45:33 +02:00
|
|
|
|
(license license:lgpl2.1+))))
|
2015-02-27 23:53:57 +01:00
|
|
|
|
|
2020-02-23 00:20:30 +01:00
|
|
|
|
(define-public guile2.2-rsvg
|
2020-01-23 11:15:39 +01:00
|
|
|
|
(package
|
|
|
|
|
(inherit guile-rsvg)
|
2020-02-23 00:20:30 +01:00
|
|
|
|
(name "guile2.2-rsvg")
|
2020-01-23 11:15:39 +01:00
|
|
|
|
(inputs
|
2020-02-23 00:20:30 +01:00
|
|
|
|
`(("guile" ,guile-2.2)
|
|
|
|
|
("guile-lib" ,guile2.2-lib)
|
2020-01-23 11:15:39 +01:00
|
|
|
|
,@(fold alist-delete (package-inputs guile-rsvg)
|
|
|
|
|
'("guile" "guile-lib"))))
|
2020-02-23 00:20:30 +01:00
|
|
|
|
(propagated-inputs `(("guile-cairo" ,guile2.2-cairo)))))
|
|
|
|
|
|
|
|
|
|
(define-public guile3.0-rsvg
|
|
|
|
|
(deprecated-package "guile3.0-rsvg" guile-rsvg))
|
2020-01-23 11:15:39 +01:00
|
|
|
|
|
2015-08-31 23:00:18 +02:00
|
|
|
|
(define-public guile-present
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-present")
|
|
|
|
|
(version "0.3.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://wingolog.org/pub/guile-present/"
|
|
|
|
|
"guile-present-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1qam447m05sxxv6x8dlzg7qnyfc4dh8apjw1idpfhpns671gfr6m"))
|
2020-01-23 11:18:14 +01:00
|
|
|
|
(patches (search-patches "guile-present-coding.patch"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
2020-01-23 11:26:08 +01:00
|
|
|
|
;; Allow builds with Guile 3.0.
|
|
|
|
|
(substitute* "configure"
|
|
|
|
|
(("2\\.2 2\\.0")
|
|
|
|
|
"3.0 2.2 2.0"))
|
|
|
|
|
|
2020-01-23 11:18:14 +01:00
|
|
|
|
;; Install .go files in the right place.
|
|
|
|
|
(substitute* "Makefile.in"
|
|
|
|
|
(("/ccache") "/site-ccache"))
|
|
|
|
|
#t))))
|
2015-08-31 23:00:18 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2020-01-23 11:22:20 +01: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 17:28:42 +02:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'post-install
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
2020-01-23 11:22:20 +01:00
|
|
|
|
(guile (assoc-ref inputs "guile"))
|
|
|
|
|
(version
|
|
|
|
|
,(match (assoc "guile" (package-inputs this-package))
|
|
|
|
|
(("guile" guile)
|
|
|
|
|
(version-major+minor (package-version guile))))))
|
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 17:28:42 +02:00
|
|
|
|
(substitute* (find-files bin ".*")
|
|
|
|
|
(("guile")
|
|
|
|
|
(string-append guile "/bin/guile -L "
|
2020-01-23 11:22:20 +01:00
|
|
|
|
out "/share/guile/site/" version " -C "
|
|
|
|
|
out "/lib/guile/" version "/site-ccache "))))
|
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 17:28:42 +02:00
|
|
|
|
#t)))))
|
2015-08-31 23:00:18 +02:00
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
2020-02-23 00:20:30 +01:00
|
|
|
|
(inputs `(("guile" ,guile-3.0)))
|
2015-08-31 23:00:18 +02:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
;; These are used by the (present …) modules.
|
2017-07-01 22:02:46 +02:00
|
|
|
|
`(("guile-lib" ,guile-lib)
|
2015-08-31 23:00:18 +02:00
|
|
|
|
("guile-cairo" ,guile-cairo)
|
|
|
|
|
("guile-rsvg" ,guile-rsvg)))
|
2020-01-18 20:00:55 +01:00
|
|
|
|
(home-page "https://wingolog.org/software/guile-present/")
|
2015-08-31 23:00:18 +02:00
|
|
|
|
(synopsis "Create SVG or PDF presentations in Guile")
|
|
|
|
|
(description
|
|
|
|
|
"Guile-Present defines a declarative vocabulary for presentations,
|
|
|
|
|
together with tools to render presentation documents as SVG or PDF.
|
|
|
|
|
Guile-Present can be used to make presentations programmatically, but also
|
|
|
|
|
includes a tools to generate PDF presentations out of Org mode and Texinfo
|
|
|
|
|
documents.")
|
|
|
|
|
(license license:lgpl3+)))
|
2015-02-27 23:53:57 +01:00
|
|
|
|
|
2020-02-23 00:20:30 +01:00
|
|
|
|
(define-public guile2.2-present
|
2020-01-23 11:26:08 +01:00
|
|
|
|
(package
|
|
|
|
|
(inherit guile-present)
|
2020-02-23 00:20:30 +01:00
|
|
|
|
(name "guile2.2-present")
|
|
|
|
|
(inputs `(("guile" ,guile-2.2)))
|
2020-01-23 11:26:08 +01:00
|
|
|
|
(propagated-inputs
|
2020-02-23 00:20:30 +01:00
|
|
|
|
`(("guile-lib" ,guile2.2-lib)
|
|
|
|
|
("guile-cairo" ,guile2.2-cairo)
|
|
|
|
|
("guile-rsvg" ,guile2.2-rsvg)))))
|
|
|
|
|
|
|
|
|
|
(define-public guile3.0-present
|
|
|
|
|
(deprecated-package "guile3.0-present" guile-present))
|
2020-01-23 11:26:08 +01:00
|
|
|
|
|
2016-05-28 18:01:48 +02:00
|
|
|
|
(define-public guile-gnome
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-gnome")
|
2017-07-02 22:45:33 +02:00
|
|
|
|
(version "2.16.5")
|
2016-05-28 18:01:48 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "mirror://gnu/" name
|
|
|
|
|
"/guile-gnome-platform/guile-gnome-platform-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-07-02 22:45:33 +02:00
|
|
|
|
"1gnf3j96nip5kl99a268i0dy1hj7s1cfs66sps3zwysnkd7qr399"))))
|
2016-05-28 18:01:48 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("atk" ,atk)
|
|
|
|
|
;;("corba" ,corba) ; not packaged yet
|
|
|
|
|
("gconf" ,gconf)
|
|
|
|
|
("gobject-introspection" ,gobject-introspection)
|
|
|
|
|
;;("gthread" ,gthread) ; not packaged yet
|
|
|
|
|
("gnome-vfs" ,gnome-vfs)
|
|
|
|
|
("gdk-pixbuf" ,gdk-pixbuf)
|
|
|
|
|
("gtk+" ,gtk+-2)
|
|
|
|
|
("libglade" ,libglade)
|
|
|
|
|
("libgnome" ,libgnome)
|
|
|
|
|
("libgnomecanvas" ,libgnomecanvas)
|
|
|
|
|
("libgnomeui" ,libgnomeui)
|
|
|
|
|
("pango" ,pango)
|
|
|
|
|
("libffi" ,libffi)
|
|
|
|
|
("glib" ,glib)))
|
2017-07-02 22:45:33 +02:00
|
|
|
|
(inputs `(("guile" ,guile-2.2)))
|
2016-05-28 18:01:48 +02:00
|
|
|
|
(propagated-inputs
|
2020-02-23 00:20:30 +01:00
|
|
|
|
`(("guile-cairo" ,guile2.2-cairo)
|
2016-05-28 18:01:48 +02:00
|
|
|
|
("g-wrap" ,g-wrap)
|
2020-02-23 00:20:30 +01:00
|
|
|
|
("guile-lib" ,guile2.2-lib)))
|
2016-05-28 18:01:48 +02:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;FIXME
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'pre-configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(substitute* (find-files "." "^Makefile.in$")
|
|
|
|
|
(("guilesite :=.*guile/site" all)
|
2017-07-02 22:45:33 +02:00
|
|
|
|
(string-append all "/@GUILE_EFFECTIVE_VERSION@")))
|
2016-05-28 18:01:48 +02:00
|
|
|
|
#t))))))
|
|
|
|
|
(outputs '("out" "debug"))
|
|
|
|
|
(synopsis "Guile interface for GTK+ programming for GNOME")
|
|
|
|
|
(description
|
|
|
|
|
"Includes guile-clutter, guile-gnome-gstreamer,
|
|
|
|
|
guile-gnome-platform (GNOME developer libraries), and guile-gtksourceview.")
|
2017-03-30 00:48:16 +02:00
|
|
|
|
(home-page "https://www.gnu.org/software/guile-gnome/")
|
2017-07-02 22:45:33 +02:00
|
|
|
|
(license license:gpl2+)
|
|
|
|
|
(properties '((upstream-name . "guile-gnome-platform")
|
|
|
|
|
(ftp-directory . "/gnu/guile-gnome/guile-gnome-platform")))))
|
2016-05-28 18:01:48 +02:00
|
|
|
|
|
2013-10-07 23:45:55 +02:00
|
|
|
|
;;;
|
|
|
|
|
;;; C++ bindings.
|
|
|
|
|
;;;
|
|
|
|
|
|
|
|
|
|
(define-public cairomm
|
|
|
|
|
(package
|
|
|
|
|
(name "cairomm")
|
2021-03-25 11:49:16 +01:00
|
|
|
|
(version "1.16.0")
|
2013-10-07 23:45:55 +02:00
|
|
|
|
(source (origin
|
2015-10-15 17:36:39 +02:00
|
|
|
|
(method url-fetch)
|
2016-12-25 06:50:14 +01:00
|
|
|
|
(uri (string-append "https://www.cairographics.org/releases/"
|
2021-03-25 11:49:16 +01:00
|
|
|
|
name "-" version ".tar.xz"))
|
2015-10-15 17:36:39 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-03-25 11:49:16 +01:00
|
|
|
|
"1ya4y7qa000cjawqwswbqv26y5icfkmhs5iiiil4dxgrqn91923y"))))
|
|
|
|
|
(build-system meson-build-system)
|
2021-03-25 12:07:14 +01:00
|
|
|
|
(outputs '("out" "doc"))
|
2013-10-07 23:45:55 +02:00
|
|
|
|
(arguments
|
2021-03-25 11:49:16 +01:00
|
|
|
|
`(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(list
|
2021-03-25 12:07:14 +01:00
|
|
|
|
"-Dbuild-documentation=true"
|
|
|
|
|
"-Dboost-shared=true")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'move-doc
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(doc (assoc-ref outputs "doc")))
|
|
|
|
|
(mkdir-p (string-append doc "/share"))
|
|
|
|
|
(rename-file
|
|
|
|
|
(string-append out "/share/doc")
|
|
|
|
|
(string-append doc "/share/doc"))
|
|
|
|
|
#t))))))
|
2021-03-25 11:49:16 +01:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("boost" ,boost)
|
2021-03-25 12:07:14 +01:00
|
|
|
|
("dot" ,graphviz)
|
|
|
|
|
("doxygen" ,doxygen)
|
2021-03-25 11:49:16 +01:00
|
|
|
|
("mm-common" ,mm-common)
|
2021-03-25 12:07:14 +01:00
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("xsltproc" ,libxslt)))
|
2021-05-15 15:41:29 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("fontconfig" ,fontconfig)))
|
2013-10-07 23:45:55 +02:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("libsigc++" ,libsigc++)
|
|
|
|
|
("cairo" ,cairo)))
|
2016-12-25 06:50:14 +01:00
|
|
|
|
(home-page "https://cairographics.org/")
|
2013-10-07 23:45:55 +02:00
|
|
|
|
(synopsis "C++ bindings to the Cairo 2D graphics library")
|
|
|
|
|
(description
|
|
|
|
|
"Cairomm provides a C++ programming interface to the Cairo 2D graphics
|
|
|
|
|
library.")
|
|
|
|
|
(license license:lgpl2.0+)))
|
2013-10-09 23:32:27 +02:00
|
|
|
|
|
2021-05-15 21:23:32 +02:00
|
|
|
|
(define-public cairomm-1.14
|
2020-07-18 10:01:18 +02:00
|
|
|
|
(package
|
|
|
|
|
(inherit cairomm)
|
|
|
|
|
(name "cairomm")
|
2021-05-15 21:23:32 +02:00
|
|
|
|
(version "1.14.2")
|
2020-07-18 10:01:18 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "https://www.cairographics.org/releases/"
|
2021-05-15 21:23:32 +02:00
|
|
|
|
name "-" version ".tar.xz"))
|
2020-07-18 10:01:18 +02:00
|
|
|
|
(sha256
|
2021-05-15 21:23:32 +02:00
|
|
|
|
(base32 "1qwdj9xw1w651kqwh82nipbryimm1ir5n3c6q34nphsx576bj9h1"))))
|
2020-07-18 10:01:18 +02:00
|
|
|
|
(propagated-inputs
|
2021-03-26 20:14:54 +01:00
|
|
|
|
`(("libsigc++" ,libsigc++-2)
|
|
|
|
|
,@(package-propagated-inputs cairomm)))))
|
2020-07-18 10:01:18 +02:00
|
|
|
|
|
2013-10-09 23:32:27 +02:00
|
|
|
|
(define-public pangomm
|
|
|
|
|
(package
|
|
|
|
|
(name "pangomm")
|
2021-03-25 12:42:10 +01:00
|
|
|
|
(version "2.48.0")
|
2013-10-09 23:32:27 +02:00
|
|
|
|
(source (origin
|
2021-03-25 12:42:10 +01:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnome/sources/" name "/"
|
|
|
|
|
(version-major+minor version) "/"
|
|
|
|
|
name "-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0y2vyp6azvhrii6rzs89kr08wg8z1p562awyr812131zqdsd83ly"))))
|
|
|
|
|
(build-system meson-build-system)
|
2021-03-25 12:47:41 +01:00
|
|
|
|
(outputs '("out" "doc"))
|
2021-03-25 12:42:10 +01:00
|
|
|
|
(arguments
|
2021-03-25 12:47:41 +01:00
|
|
|
|
`(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(list
|
|
|
|
|
"-Dbuild-documentation=true")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'move-doc
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(doc (assoc-ref outputs "doc")))
|
|
|
|
|
(mkdir-p (string-append doc "/share"))
|
|
|
|
|
(rename-file
|
|
|
|
|
(string-append out "/share/doc")
|
|
|
|
|
(string-append doc "/share/doc"))
|
|
|
|
|
#t))))))
|
2021-03-25 12:42:10 +01:00
|
|
|
|
(native-inputs
|
2021-03-25 12:47:41 +01:00
|
|
|
|
`(("dot" ,graphviz)
|
|
|
|
|
("doxygen" ,doxygen)
|
|
|
|
|
("m4" ,m4)
|
2021-03-25 12:42:10 +01:00
|
|
|
|
("mm-common" ,mm-common)
|
2021-03-25 12:47:41 +01:00
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("xsltproc" ,libxslt)))
|
2013-10-09 23:32:27 +02:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("cairo" ,cairo)
|
|
|
|
|
("cairomm" ,cairomm)
|
|
|
|
|
("glibmm" ,glibmm)
|
|
|
|
|
("pango" ,pango)))
|
2020-01-19 00:06:51 +01:00
|
|
|
|
(home-page "https://pango.gnome.org//")
|
2013-10-09 23:32:27 +02:00
|
|
|
|
(synopsis "C++ interface to the Pango text rendering library")
|
|
|
|
|
(description
|
|
|
|
|
"Pangomm provides a C++ programming interface to the Pango text rendering
|
|
|
|
|
library.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
2021-05-15 21:45:11 +02:00
|
|
|
|
(define-public pangomm-2.46
|
2020-07-18 10:42:20 +02:00
|
|
|
|
(package
|
|
|
|
|
(inherit pangomm)
|
|
|
|
|
(name "pangomm")
|
2021-05-15 21:45:11 +02:00
|
|
|
|
(version "2.46.0")
|
2020-07-18 10:42:20 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "mirror://gnome/sources/" name "/"
|
|
|
|
|
(version-major+minor version) "/"
|
|
|
|
|
name "-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
2021-05-15 21:45:11 +02:00
|
|
|
|
(base32 "06zczkaxf5p5kjgnzrfylzi40w9a8lxpndgs7rpn12qrsq27sy6k"))))
|
2020-07-18 10:42:20 +02:00
|
|
|
|
(propagated-inputs
|
2021-05-15 21:23:32 +02:00
|
|
|
|
`(("cairomm" ,cairomm-1.14)
|
2020-07-18 10:42:20 +02:00
|
|
|
|
("glibmm" ,glibmm-2.64)
|
|
|
|
|
("pango" ,pango)))))
|
|
|
|
|
|
2013-10-09 23:32:27 +02:00
|
|
|
|
(define-public atkmm
|
|
|
|
|
(package
|
|
|
|
|
(name "atkmm")
|
2021-03-11 18:50:53 +01:00
|
|
|
|
(version "2.36.0")
|
2013-10-09 23:32:27 +02:00
|
|
|
|
(source (origin
|
2021-03-11 18:50:53 +01:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnome/sources/" name "/"
|
|
|
|
|
(version-major+minor version) "/"
|
|
|
|
|
name "-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0wwr0663jrqx2klsasffd9wpk3kqnwisj1y3ahdkjdk5hzrsjgy9"))))
|
|
|
|
|
(build-system meson-build-system)
|
2021-03-25 03:46:44 +01:00
|
|
|
|
(outputs '("out" "doc"))
|
2021-03-11 18:50:53 +01:00
|
|
|
|
(arguments
|
2021-03-25 03:46:44 +01:00
|
|
|
|
`(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(list
|
|
|
|
|
"-Dbuild-documentation=true")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'move-doc
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(doc (assoc-ref outputs "doc")))
|
|
|
|
|
(mkdir-p (string-append doc "/share"))
|
|
|
|
|
(rename-file
|
|
|
|
|
(string-append out "/share/doc")
|
|
|
|
|
(string-append doc "/share/doc"))
|
|
|
|
|
#t))))))
|
2021-03-11 18:50:53 +01:00
|
|
|
|
(native-inputs
|
2021-03-25 03:46:44 +01:00
|
|
|
|
`(("dot" ,graphviz)
|
|
|
|
|
("doxygen" ,doxygen)
|
|
|
|
|
("m4" ,m4)
|
2021-03-11 18:50:53 +01:00
|
|
|
|
("mm-common" ,mm-common)
|
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("xsltproc" ,libxslt)))
|
2013-10-09 23:32:27 +02:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("glibmm" ,glibmm) ("atk" ,atk)))
|
2021-03-11 19:01:19 +01:00
|
|
|
|
(synopsis "C++ bindings for ATK")
|
|
|
|
|
(description "ATKmm is the C++ binding for the ATK library.")
|
|
|
|
|
(home-page "https://wiki.gnome.org/Accessibility")
|
|
|
|
|
(license
|
|
|
|
|
(list
|
|
|
|
|
;; Library
|
|
|
|
|
license:lgpl2.1+
|
|
|
|
|
;; Tools
|
|
|
|
|
license:gpl2+))))
|
2013-10-09 23:32:27 +02:00
|
|
|
|
|
2021-03-26 20:54:09 +01:00
|
|
|
|
(define-public atkmm-2.28
|
|
|
|
|
(package
|
|
|
|
|
(inherit atkmm)
|
|
|
|
|
(name "atkmm")
|
|
|
|
|
(version "2.28.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "mirror://gnome/sources/" name "/"
|
|
|
|
|
(version-major+minor version) "/"
|
|
|
|
|
name "-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1b8vycqzr3lfvk2l73f4kk74hj48081zbh9r1r2ilr3h8xh7cs0i"))))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("glibmm" ,glibmm-2.64)
|
|
|
|
|
,@(package-propagated-inputs atkmm)))))
|
|
|
|
|
|
2013-10-09 23:32:27 +02:00
|
|
|
|
(define-public gtkmm
|
|
|
|
|
(package
|
|
|
|
|
(name "gtkmm")
|
2021-09-02 19:32:57 +02:00
|
|
|
|
(version "4.2.0")
|
2021-03-26 16:03:36 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "mirror://gnome/sources/" name "/"
|
|
|
|
|
(version-major+minor version) "/"
|
|
|
|
|
name "-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
2021-09-02 19:32:57 +02:00
|
|
|
|
(base32 "12x9j82y37r4v0ngs22rzp4wmw7k2bbb9d3bymcczzz7y8w4q328"))))
|
2021-04-27 11:23:27 +02:00
|
|
|
|
(build-system meson-build-system)
|
2021-03-26 16:03:36 +01:00
|
|
|
|
(outputs '("out" "doc"))
|
|
|
|
|
(arguments
|
2021-04-27 11:23:27 +02:00
|
|
|
|
`(#:configure-flags '("-Dbuild-documentation=true")
|
|
|
|
|
#:phases
|
2021-03-26 16:03:36 +01:00
|
|
|
|
(modify-phases %standard-phases
|
2021-09-02 19:32:57 +02:00
|
|
|
|
(add-before 'build 'set-cache
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "XDG_CACHE_HOME" (getcwd))))
|
2021-03-26 16:03:36 +01:00
|
|
|
|
(add-before 'check 'pre-check
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Tests require a running X server.
|
|
|
|
|
(system "Xvfb :1 +extension GLX &")
|
|
|
|
|
(setenv "DISPLAY" ":1")
|
2021-09-02 19:32:57 +02:00
|
|
|
|
;; Tests write to $HOME.
|
|
|
|
|
(setenv "HOME" (getcwd))
|
|
|
|
|
(setenv "XDG_RUNTIME_DIR" (getcwd))
|
2021-03-26 16:03:36 +01:00
|
|
|
|
;; For missing '/etc/machine-id'.
|
|
|
|
|
(setenv "DBUS_FATAL_WARNINGS" "0")
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'move-doc
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(doc (assoc-ref outputs "doc")))
|
|
|
|
|
(mkdir-p (string-append doc "/share"))
|
|
|
|
|
(rename-file
|
|
|
|
|
(string-append out "/share/doc")
|
|
|
|
|
(string-append doc "/share/doc"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("dot" ,graphviz)
|
|
|
|
|
("doxygen" ,doxygen)
|
2021-05-15 21:47:00 +02:00
|
|
|
|
("glib:bin" ,glib "bin")
|
2021-03-26 16:03:36 +01:00
|
|
|
|
("m4" ,m4)
|
|
|
|
|
("mm-common" ,mm-common)
|
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("xsltproc" ,libxslt)
|
|
|
|
|
("xorg-server" ,xorg-server-for-tests)))
|
2013-10-09 23:32:27 +02:00
|
|
|
|
(propagated-inputs
|
2021-09-02 19:32:57 +02:00
|
|
|
|
`(("atkmm" ,atkmm)
|
|
|
|
|
("cairomm" ,cairomm)
|
2021-03-26 16:03:36 +01:00
|
|
|
|
("glibmm" ,glibmm)
|
2021-09-02 19:32:57 +02:00
|
|
|
|
("gtk" ,gtk)
|
|
|
|
|
("pangomm" ,pangomm)))
|
2021-03-26 16:03:36 +01:00
|
|
|
|
(synopsis "C++ Interfaces for GTK+ and GNOME")
|
|
|
|
|
(description "GTKmm is the official C++ interface for the popular GUI
|
2021-09-02 19:32:57 +02:00
|
|
|
|
library GTK+. Highlights include typesafe callbacks, and a comprehensive set
|
|
|
|
|
of widgets that are easily extensible via inheritance. You can create user
|
2021-03-26 16:03:36 +01:00
|
|
|
|
interfaces either in code or with the Glade User Interface designer, using
|
|
|
|
|
libglademm. There's extensive documentation, including API reference and a
|
|
|
|
|
tutorial.")
|
2018-03-07 13:15:15 +01:00
|
|
|
|
(home-page "https://gtkmm.org/")
|
2021-03-26 16:03:36 +01:00
|
|
|
|
(license
|
|
|
|
|
(list
|
|
|
|
|
;; Library
|
|
|
|
|
license:lgpl2.1+
|
|
|
|
|
;; Tools
|
|
|
|
|
license:gpl2+))))
|
2014-02-02 11:27:36 +01:00
|
|
|
|
|
2021-09-02 19:32:57 +02:00
|
|
|
|
(define-public gtkmm-3
|
|
|
|
|
(package
|
|
|
|
|
(inherit gtkmm)
|
|
|
|
|
(name "gtkmm")
|
|
|
|
|
(version "3.24.4")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "mirror://gnome/sources/" name "/"
|
|
|
|
|
(version-major+minor version) "/"
|
|
|
|
|
name "-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0hv7pviln4cpjvpz7m7ga5krcsbibqzixdcn0dwzpz0cx71p3swv"))))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("atkmm-2.28" ,atkmm-2.28)
|
|
|
|
|
("cairomm-1.14" ,cairomm-1.14)
|
|
|
|
|
("glibmm" ,glibmm)
|
|
|
|
|
("gtk+" ,gtk+)
|
|
|
|
|
("pangomm-2.42" ,pangomm-2.46)))))
|
|
|
|
|
|
2014-02-02 11:27:36 +01:00
|
|
|
|
(define-public gtkmm-2
|
2020-07-18 12:18:38 +02:00
|
|
|
|
(package
|
|
|
|
|
(inherit gtkmm)
|
gnu: Use version-major+minor in gnome and gtk.
* gnu/packages/gnome.scm (gnome-desktop, gnome-doc-utils,
libgnome-keyring, evince, gsettings-desktop-schemas,
gnome-icon-theme, libnotify, lipeas, glade, libcroco, libgsf,
librsvg, libidl, orbit2, gconf, gnome-mime-data, gnome-vfs,
libgnome, libart-lgpl, libgnomecanvas, libgnomeui, libglade,
libgnomeprint, libgnomeprintui, libbonoboui, goffice, gnumeric): Use
version-major+minor.
(shared-mime-info, hicolor-icon-theme): Wrap long uri lines.
* gnu/packages/gtk.scm (atk, pangox-compat, gtksourceview, gdk-pixbuf,
at-spi2-core, at-spi2-atk, gtk+-2, gtk+, pangomm, atkmm, gtkmm,
gtkmm-2): Use version-major+minor.
2014-11-04 12:02:51 +01:00
|
|
|
|
(name "gtkmm")
|
2017-01-09 06:26:43 +01:00
|
|
|
|
(version "2.24.5")
|
2020-07-18 12:18:38 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "mirror://gnome/sources/" name "/"
|
|
|
|
|
(version-major+minor version) "/"
|
|
|
|
|
name "-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0wkbzvsx4kgw16f6xjdc1dz7f77ldngdila4yi5lw2zrgcxsb006"))))
|
2021-04-27 11:23:28 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2021-09-02 19:32:57 +02:00
|
|
|
|
(strip-keyword-arguments
|
|
|
|
|
'(#:configure-flags) (package-arguments gtkmm)))
|
2014-02-02 11:27:36 +01:00
|
|
|
|
(propagated-inputs
|
2020-07-18 12:18:38 +02:00
|
|
|
|
`(("atkmm" ,atkmm-2.28)
|
2021-05-15 21:23:32 +02:00
|
|
|
|
("cairomm" ,cairomm-1.14)
|
2020-07-18 12:18:38 +02:00
|
|
|
|
("glibmm" ,glibmm-2.64)
|
2014-02-02 11:27:36 +01:00
|
|
|
|
("gtk+" ,gtk+-2)
|
2021-05-15 21:45:11 +02:00
|
|
|
|
("pangomm" ,pangomm-2.46)))))
|
2014-11-21 05:37:23 +01:00
|
|
|
|
|
2018-03-07 13:27:09 +01:00
|
|
|
|
(define-public gtksourceviewmm
|
|
|
|
|
(package
|
|
|
|
|
(name "gtksourceviewmm")
|
|
|
|
|
(version "3.18.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnome/sources/" name "/"
|
|
|
|
|
(version-major+minor version) "/"
|
|
|
|
|
name "-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0fgvmhm4h4qmxig87qvangs6ijw53mi40siz7pixlxbrsgiil22i"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
;; In 'Requires' of gtksourceviewmm-3.0.pc.
|
|
|
|
|
`(("glibmm" ,glibmm)
|
2021-09-02 19:32:57 +02:00
|
|
|
|
("gtkmm" ,gtkmm-3)
|
2019-06-30 20:14:58 +02:00
|
|
|
|
("gtksourceview" ,gtksourceview-3)))
|
2018-03-07 13:27:09 +01:00
|
|
|
|
(synopsis "C++ interface to the GTK+ 'GtkTextView' widget")
|
|
|
|
|
(description
|
|
|
|
|
"gtksourceviewmm is a portable C++ library that extends the standard GTK+
|
|
|
|
|
framework for multiline text editing with support for configurable syntax
|
|
|
|
|
highlighting, unlimited undo/redo, search and replace, a completion framework,
|
|
|
|
|
printing and other features typical of a source code editor.")
|
|
|
|
|
(license license:lgpl2.1+)
|
|
|
|
|
(home-page "https://developer.gnome.org/gtksourceview/")))
|
|
|
|
|
|
|
|
|
|
;;;
|
|
|
|
|
;;; Python bindings.
|
|
|
|
|
;;;
|
|
|
|
|
|
2014-11-21 05:37:23 +01:00
|
|
|
|
(define-public python-pycairo
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pycairo")
|
2021-05-10 16:52:37 +02:00
|
|
|
|
(version "1.20.0")
|
2014-11-21 05:37:23 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2018-03-28 21:54:05 +02:00
|
|
|
|
(uri (string-append "https://github.com/pygobject/pycairo/releases/download/v"
|
|
|
|
|
version "/pycairo-" version ".tar.gz"))
|
2014-11-21 05:37:23 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-05-10 16:52:37 +02:00
|
|
|
|
"1326aa2ybhhhrvz3n4p22z5sic25m016ddb5yq0hvbprnw6a35an"))))
|
2018-03-28 21:54:05 +02:00
|
|
|
|
(build-system python-build-system)
|
2014-11-21 05:37:23 +01:00
|
|
|
|
(native-inputs
|
2015-04-20 07:45:43 +02:00
|
|
|
|
`(("pkg-config" ,pkg-config)
|
2018-03-28 21:54:05 +02:00
|
|
|
|
("python-pytest" ,python-pytest)))
|
2014-11-21 05:37:23 +01:00
|
|
|
|
(propagated-inputs ;pycairo.pc references cairo
|
|
|
|
|
`(("cairo" ,cairo)))
|
2018-03-28 21:54:05 +02:00
|
|
|
|
(home-page "https://cairographics.org/pycairo/")
|
2014-11-21 05:37:23 +01:00
|
|
|
|
(synopsis "Python bindings for cairo")
|
|
|
|
|
(description
|
|
|
|
|
"Pycairo is a set of Python bindings for the Cairo graphics library.")
|
2016-02-07 22:55:08 +01:00
|
|
|
|
(license license:lgpl3+)
|
|
|
|
|
(properties `((python2-variant . ,(delay python2-pycairo))))))
|
2014-11-21 05:37:23 +01:00
|
|
|
|
|
2020-01-24 00:06:22 +01:00
|
|
|
|
;; Pycairo no longer supports Python 2 since version 1.19.0, so we stick
|
|
|
|
|
;; with this older version here.
|
2015-02-27 23:53:57 +01:00
|
|
|
|
(define-public python2-pycairo
|
2018-03-28 21:54:05 +02:00
|
|
|
|
(let ((pycairo (package-with-python2
|
|
|
|
|
(strip-python2-variant python-pycairo))))
|
|
|
|
|
(package
|
|
|
|
|
(inherit pycairo)
|
2020-01-24 00:06:22 +01:00
|
|
|
|
(version "1.18.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/pygobject/pycairo/releases"
|
|
|
|
|
"/download/v" version "/pycairo-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0cb5n4r4nl0k1g90b1gz9iyk4lp7hi03db98i1p52a870bym7f6w"))))
|
2018-03-28 21:54:05 +02:00
|
|
|
|
;; Dual-licensed under LGPL 2.1 or Mozilla Public License 1.1
|
|
|
|
|
(license (list license:lgpl2.1 license:mpl1.1)))))
|
2014-11-21 05:37:23 +01:00
|
|
|
|
|
|
|
|
|
(define-public python2-pygtk
|
|
|
|
|
(package
|
|
|
|
|
(name "python2-pygtk")
|
|
|
|
|
(version "2.24.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2016-11-19 18:42:12 +01:00
|
|
|
|
(uri (string-append "mirror://gnome/sources"
|
2014-11-21 05:37:23 +01:00
|
|
|
|
"/pygtk/" (version-major+minor version)
|
|
|
|
|
"/pygtk-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"04k942gn8vl95kwf0qskkv6npclfm31d78ljkrkgyqxxcni1w76d"))))
|
|
|
|
|
(build-system gnu-build-system)
|
2015-12-18 11:01:33 +01:00
|
|
|
|
(outputs '("out"
|
|
|
|
|
"doc")) ;13 MiB of gtk-doc HTML
|
2014-11-21 05:37:23 +01:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("python" ,python-2)
|
2020-01-24 18:49:10 +01:00
|
|
|
|
|
|
|
|
|
;; XXX: The package fails to build with the latest Pango (propagated
|
|
|
|
|
;; from GTK+2), so we provide it with this older version.
|
|
|
|
|
("pango" ,pango-1.42)
|
|
|
|
|
|
2016-02-26 08:05:40 +01:00
|
|
|
|
("libglade" ,libglade)
|
2014-11-21 05:37:23 +01:00
|
|
|
|
("glib" ,glib)))
|
|
|
|
|
(propagated-inputs
|
2015-02-27 23:53:57 +01:00
|
|
|
|
`(("python-pycairo" ,python2-pycairo) ;loaded at runtime
|
2014-11-21 05:37:23 +01:00
|
|
|
|
("python-pygobject" ,python2-pygobject-2) ;referenced in pc file
|
|
|
|
|
("gtk+" ,gtk+-2)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
2015-12-18 10:57:53 +01:00
|
|
|
|
#:phases (modify-phases %standard-phases
|
2015-12-18 11:01:33 +01:00
|
|
|
|
(add-before 'configure 'set-gtk-doc-directory
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Install documentation to "doc".
|
|
|
|
|
(let ((doc (assoc-ref outputs "doc")))
|
|
|
|
|
(substitute* "docs/Makefile.in"
|
|
|
|
|
(("TARGET_DIR = \\$\\(datadir\\)")
|
|
|
|
|
(string-append "TARGET_DIR = " doc))))))
|
2015-12-18 10:57:53 +01:00
|
|
|
|
(add-after 'configure 'fix-codegen
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "pygtk-codegen-2.0"
|
|
|
|
|
(("^prefix=.*$")
|
|
|
|
|
(string-append
|
|
|
|
|
"prefix="
|
|
|
|
|
(assoc-ref inputs "python-pygobject") "\n")))))
|
|
|
|
|
(add-after 'install 'install-pth
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
;; pygtk's modules are stored in a subdirectory of
|
|
|
|
|
;; python's site-packages directory. Add a .pth file so
|
|
|
|
|
;; that python will add that subdirectory to its module
|
|
|
|
|
;; search path.
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(site (string-append out "/lib/python"
|
|
|
|
|
,(version-major+minor
|
|
|
|
|
(package-version python-2))
|
|
|
|
|
"/site-packages")))
|
|
|
|
|
(call-with-output-file (string-append site "/pygtk.pth")
|
|
|
|
|
(lambda (port)
|
|
|
|
|
(format port "gtk-2.0~%")))))))))
|
2014-11-21 05:37:23 +01:00
|
|
|
|
(home-page "http://www.pygtk.org/")
|
|
|
|
|
(synopsis "Python bindings for GTK+")
|
|
|
|
|
(description
|
|
|
|
|
"PyGTK allows you to write full featured GTK programs in Python. It is
|
2017-04-16 18:06:57 +02:00
|
|
|
|
targeted at GTK 2.x, and can be used in conjunction with gnome-python to
|
2014-11-21 05:37:23 +01:00
|
|
|
|
write GNOME applications.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
2015-03-02 00:25:10 +01:00
|
|
|
|
|
2018-02-24 23:48:47 +01:00
|
|
|
|
(define-public perl-cairo
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-cairo")
|
2021-05-18 22:06:08 +02:00
|
|
|
|
(version "1.109")
|
2018-02-24 23:48:47 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://cpan/authors/id/X/XA/XAOC/Cairo-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-05-18 22:06:08 +02:00
|
|
|
|
"0zq78dv22arg35ma6kah9cwfd1zx8gg7amsibzd128qw81p766c2"))))
|
2018-02-24 23:48:47 +01:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-extutils-depends" ,perl-extutils-depends)
|
|
|
|
|
("perl-extutils-pkgconfig" ,perl-extutils-pkgconfig)))
|
2021-06-24 13:12:31 +02:00
|
|
|
|
(propagated-inputs
|
2018-02-24 23:48:47 +01:00
|
|
|
|
`(("cairo" ,cairo)))
|
2018-08-11 15:53:20 +02:00
|
|
|
|
(home-page "https://metacpan.org/release/Cairo")
|
2018-02-24 23:48:47 +01:00
|
|
|
|
(synopsis "Perl interface to the cairo 2d vector graphics library")
|
|
|
|
|
(description "Cairo provides Perl bindings for the vector graphics library
|
|
|
|
|
cairo. It supports multiple output targets, including PNG, PDF and SVG. Cairo
|
|
|
|
|
produces identical output on all those targets.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
2021-06-22 10:09:46 +02:00
|
|
|
|
(define-public perl-cairo-gobject
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-cairo-gobject")
|
|
|
|
|
(version "1.005")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/X/XA/XAOC/"
|
|
|
|
|
"Cairo-GObject-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0l2wcz77ndmbgvxx34gdm919a3dxh9fixqr47p50n78ysx2692cd"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-extutils-depends" ,perl-extutils-depends)
|
|
|
|
|
("perl-extutils-pkgconfig" ,perl-extutils-pkgconfig)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-cairo" ,perl-cairo)
|
|
|
|
|
("perl-glib" ,perl-glib)))
|
|
|
|
|
(home-page "https://metacpan.org/dist/Cairo-GObject")
|
|
|
|
|
(synopsis "Integrate Cairo into the Glib type system")
|
|
|
|
|
(description "Cairo::GObject registers Cairo's types with Glib's type systems,
|
|
|
|
|
so that they can be used normally in signals and properties.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
2018-02-24 23:51:09 +01:00
|
|
|
|
(define-public perl-gtk2
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-gtk2")
|
2019-10-16 03:06:10 +02:00
|
|
|
|
(version "1.24993")
|
2018-02-24 23:51:09 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/X/XA/XAOC/Gtk2-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-10-16 03:06:10 +02:00
|
|
|
|
"0ry9jfvfgdwzalxcvwsgr7plhk3agx7p40l0fqdf3vrf7ds47i29"))))
|
2018-02-24 23:51:09 +01:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-extutils-depends" ,perl-extutils-depends)
|
|
|
|
|
("perl-extutils-pkgconfig" ,perl-extutils-pkgconfig)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("gtk+" ,gtk+-2)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-pango" ,perl-pango)))
|
2020-01-13 18:25:34 +01:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'remove-broken-test
|
|
|
|
|
;; See https://gitlab.gnome.org/GNOME/perl-gtk2/issues/3.
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "t/GdkPixbuf.t"
|
|
|
|
|
(("tests => 112") "tests => 111")
|
|
|
|
|
(("ok \\(defined \\$pixbuf, \"Don't crash on partial pixmap data\"\\);")
|
|
|
|
|
"# ok (defined $pixbuf, \"Don't crash on partial pixmap data\");")))))))
|
2018-08-11 15:53:20 +02:00
|
|
|
|
(home-page "https://metacpan.org/release/Gtk2")
|
2018-02-24 23:51:09 +01:00
|
|
|
|
(synopsis "Perl interface to the 2.x series of the Gimp Toolkit library")
|
|
|
|
|
(description "Perl bindings to the 2.x series of the Gtk+ widget set.
|
|
|
|
|
This module allows you to write graphical user interfaces in a Perlish and
|
|
|
|
|
object-oriented way, freeing you from the casting and memory management in C,
|
|
|
|
|
yet remaining very close in spirit to original API.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
2021-06-22 10:50:14 +02:00
|
|
|
|
(define-public perl-gtk3
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-gtk3")
|
|
|
|
|
(version "0.038")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/X/XA/XAOC/Gtk3-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1k3sfcvxxx7ir7ail7w1lkmr4np0k3criljzw5wir63lmbr4pp3h"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'check 'pre-check
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Tests require a running X server.
|
|
|
|
|
(system "Xvfb :1 +extension GLX &")
|
|
|
|
|
(setenv "DISPLAY" ":1"))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("adwaita-icon-theme" ,adwaita-icon-theme)
|
|
|
|
|
("gtk+:bin" ,gtk+ "bin")
|
|
|
|
|
("gobject-introspection" ,gobject-introspection)
|
|
|
|
|
("perl-extutils-depends" ,perl-extutils-depends)
|
|
|
|
|
("perl-extutils-pkgconfig" ,perl-extutils-pkgconfig)
|
|
|
|
|
("perl-test-simple" ,perl-test-simple)
|
|
|
|
|
("xorg-server" ,xorg-server-for-tests)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("gtk+" ,gtk+)
|
|
|
|
|
("perl-cairo-gobject" ,perl-cairo-gobject)
|
|
|
|
|
("perl-carp" ,perl-carp)
|
|
|
|
|
("perl-exporter" ,perl-exporter)
|
|
|
|
|
("perl-glib-object-introspection" ,perl-glib-object-introspection)))
|
|
|
|
|
(home-page "https://metacpan.org/dist/Gtk3")
|
|
|
|
|
(synopsis "Perl interface to the 3.x series of the gtk+ toolkit")
|
|
|
|
|
(description "Perl bindings to the 3.x series of the gtk+ toolkit.
|
|
|
|
|
This module allows you to write graphical user interfaces in a Perlish and
|
|
|
|
|
object-oriented way, freeing you from the casting and memory management in C,
|
2018-02-24 23:51:09 +01:00
|
|
|
|
yet remaining very close in spirit to original API.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
2018-02-24 23:51:43 +01:00
|
|
|
|
(define-public perl-pango
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-pango")
|
|
|
|
|
(version "1.227")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/X/XA/XAOC/Pango-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0wdcidnfnb6nm79fzfs39ivawj3x8m98a147fmcxgv1zvwia9c1l"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-extutils-depends" ,perl-extutils-depends)
|
|
|
|
|
("perl-extutils-pkgconfig" ,perl-extutils-pkgconfig)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("pango" ,pango)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-cairo" ,perl-cairo)
|
|
|
|
|
("perl-glib" ,perl-glib)))
|
2018-08-11 15:53:20 +02:00
|
|
|
|
(home-page "https://metacpan.org/release/Pango")
|
2018-02-24 23:51:43 +01:00
|
|
|
|
(synopsis "Layout and render international text")
|
|
|
|
|
(description "Pango is a library for laying out and rendering text, with an
|
|
|
|
|
emphasis on internationalization. Pango can be used anywhere that text layout
|
|
|
|
|
is needed, but using Pango in conjunction with Cairo and/or Gtk2 provides a
|
|
|
|
|
complete solution with high quality text handling and graphics rendering.
|
|
|
|
|
|
|
|
|
|
Dynamically loaded modules handle text layout for particular combinations of
|
|
|
|
|
script and font backend. Pango provides a wide selection of modules, including
|
|
|
|
|
modules for Hebrew, Arabic, Hangul, Thai, and a number of Indic scripts.
|
|
|
|
|
Virtually all of the world's major scripts are supported.
|
|
|
|
|
|
|
|
|
|
In addition to the low level layout rendering routines, Pango includes
|
|
|
|
|
@code{Pango::Layout}, a high level driver for laying out entire blocks of text,
|
|
|
|
|
and routines to assist in editing internationalized text.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
2015-03-02 00:25:10 +01:00
|
|
|
|
(define-public girara
|
|
|
|
|
(package
|
|
|
|
|
(name "girara")
|
2021-08-01 16:50:13 +02:00
|
|
|
|
(version "0.3.6")
|
2019-12-04 22:56:17 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://git.pwmt.org/pwmt/girara")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2021-08-01 16:50:13 +02:00
|
|
|
|
(base32 "0whwwj31fxfaf4r4qvxb4kl3mj05xj3n9c6nzdn46r30bkg9z4dw"))))
|
2015-03-02 00:25:10 +01:00
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)
|
2020-07-25 00:56:31 +02:00
|
|
|
|
("check" ,check-0.14)
|
2017-12-26 22:12:29 +01:00
|
|
|
|
("gettext" ,gettext-minimal)
|
2017-12-27 01:24:18 +01:00
|
|
|
|
("glib:bin" ,glib "bin")
|
2018-08-26 16:17:31 +02:00
|
|
|
|
("xorg-server" ,xorg-server-for-tests)))
|
2017-12-27 01:16:48 +01:00
|
|
|
|
;; Listed in 'Requires.private' of 'girara.pc'.
|
|
|
|
|
(propagated-inputs `(("gtk+" ,gtk+)))
|
2015-03-02 00:25:10 +01:00
|
|
|
|
(arguments
|
2018-03-19 18:48:27 +01:00
|
|
|
|
`(#:phases (modify-phases %standard-phases
|
2017-12-27 01:24:18 +01:00
|
|
|
|
(add-before 'check 'start-xserver
|
|
|
|
|
;; Tests require a running X server.
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((xorg-server (assoc-ref inputs "xorg-server"))
|
|
|
|
|
(display ":1"))
|
|
|
|
|
(setenv "DISPLAY" display)
|
2018-02-17 00:04:16 +01:00
|
|
|
|
|
|
|
|
|
;; On busy machines, tests may take longer than
|
|
|
|
|
;; the default of four seconds.
|
|
|
|
|
(setenv "CK_DEFAULT_TIMEOUT" "20")
|
|
|
|
|
|
2017-12-27 01:24:18 +01:00
|
|
|
|
;; Don't fail due to missing '/etc/machine-id'.
|
|
|
|
|
(setenv "DBUS_FATAL_WARNINGS" "0")
|
|
|
|
|
(zero? (system (string-append xorg-server "/bin/Xvfb "
|
|
|
|
|
display " &")))))))))
|
2018-03-19 18:48:27 +01:00
|
|
|
|
(build-system meson-build-system)
|
2015-03-02 00:25:10 +01:00
|
|
|
|
(home-page "https://pwmt.org/projects/girara/")
|
|
|
|
|
(synopsis "Library for minimalistic gtk+3 user interfaces")
|
|
|
|
|
(description "Girara is a library that implements a user interface that
|
|
|
|
|
focuses on simplicity and minimalism. Currently based on GTK+, a
|
|
|
|
|
cross-platform widget toolkit, it provides an interface that focuses on three
|
|
|
|
|
main components: a so-called view widget that represents the actual
|
|
|
|
|
application, an input bar that is used to execute commands of the
|
|
|
|
|
application and the status bar which provides the user with current
|
|
|
|
|
information.")
|
|
|
|
|
(license license:zlib)))
|
2015-08-08 19:34:58 +02:00
|
|
|
|
|
|
|
|
|
(define-public gtk-doc
|
|
|
|
|
(package
|
|
|
|
|
(name "gtk-doc")
|
2021-08-19 10:50:23 +02:00
|
|
|
|
(version "1.33.2")
|
2015-08-08 19:34:58 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnome/sources/" name "/"
|
|
|
|
|
(version-major+minor version) "/"
|
|
|
|
|
name "-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-08-19 10:50:23 +02:00
|
|
|
|
"0hxza8qp52lrq7s1vbilz2vh4170cail560zi8khl0zb42d706yc"))
|
|
|
|
|
(patches
|
|
|
|
|
(search-patches "gtk-doc-respect-xml-catalog.patch"))))
|
|
|
|
|
(build-system meson-build-system)
|
2015-08-08 19:34:58 +02:00
|
|
|
|
(arguments
|
2016-08-04 12:45:34 +02:00
|
|
|
|
`(#:parallel-tests? #f
|
|
|
|
|
#:phases
|
2016-02-24 15:31:15 +01:00
|
|
|
|
(modify-phases %standard-phases
|
2018-06-13 22:06:11 +02:00
|
|
|
|
(add-after 'unpack 'patch-gtk-doc-scan
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "gtk-doc.xsl"
|
2021-03-12 14:51:02 +01:00
|
|
|
|
(("http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl")
|
|
|
|
|
(string-append (assoc-ref inputs "docbook-xsl")
|
|
|
|
|
"/xml/xsl/docbook-xsl-"
|
|
|
|
|
,(package-version docbook-xsl)
|
|
|
|
|
"/html/chunk.xsl"))
|
|
|
|
|
(("http://docbook.sourceforge.net/release/xsl/current/common/en.xml")
|
|
|
|
|
(string-append (assoc-ref inputs "docbook-xsl")
|
|
|
|
|
"/xml/xsl/docbook-xsl-"
|
|
|
|
|
,(package-version docbook-xsl)
|
|
|
|
|
"/common/en.xml")))
|
2018-06-13 22:06:11 +02:00
|
|
|
|
#t))
|
2021-03-12 15:08:32 +01:00
|
|
|
|
(add-after 'unpack 'disable-failing-tests
|
2018-06-13 22:06:11 +02:00
|
|
|
|
(lambda _
|
2021-08-19 10:50:23 +02:00
|
|
|
|
(substitute* "tests/Makefile.am"
|
2021-03-12 15:08:32 +01:00
|
|
|
|
(("annotations.sh bugs.sh empty.sh fail.sh gobject.sh program.sh")
|
|
|
|
|
""))
|
2018-06-13 22:06:11 +02:00
|
|
|
|
#t))
|
2018-06-24 17:35:31 +02:00
|
|
|
|
(add-after 'install 'wrap-executables
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(for-each (lambda (prog)
|
|
|
|
|
(wrap-program prog
|
gnu: Adjust package collection to Wrap using GUIX_PYTHONPATH.
This change was automated using:
$ git ls-files | grep .scm | \
xargs sed 's/(getenv "PYTHONPATH")/(getenv "GUIX_PYTHONPATH")/' -i
$ git ls-files | grep .scm | \
xargs sed 's/`("PYTHONPATH"/`("GUIX_PYTHONPATH"/' -i
* gnu/packages/admin.scm (nmap):
(dstat): Wrap using GUIX_PYTHONPATH.
* gnu/packages/audio.scm (jack-2):
(carla): Likewise.
* gnu/packages/benchmark.scm (fio): Likewise.
* gnu/packages/bioinformatics.scm (couger): Likewise.
(gess, find-circ, filtlong, nanopolish): Likewise.
* gnu/packages/cdrom.scm (cdemu-client): Likewise.
* gnu/packages/chemistry.scm (avogadro): Likewise.
* gnu/packages/connman.scm (econnman): Likewise.
* gnu/packages/cups.scm (hplip): Likewise.
* gnu/packages/debug.scm (scanmem): Likewise.
* gnu/packages/display-managers.scm (lightdm): Likewise.
* gnu/packages/ebook.scm (cozy): Likewise.
* gnu/packages/education.scm (anki): Likewise.
* gnu/packages/engineering.scm (kicad, volk, freecad): Likewise.
* gnu/packages/game-development.scm (renpy): Likewise.
* gnu/packages/games.scm (roguebox-adventures)
(seahorse-adventures, kajongg): Likewise.
* gnu/packages/gimp.scm (gimp, glimpse): Likewise.
* gnu/packages/glib.scm (itstool): Likewise.
* gnu/packages/gnome.scm (gnome-music, gtg, rhythmbox): Likewise.
(eolie, d-feet, gedit, caribou, gnome-shell, authenticator)
(gnome-todo, orca, passwordsafe, terminator, setzer)
(libratbag, komikku): Likewise.
* gnu/packages/gps.scm (gpsd): Likewise.
* gnu/packages/gtk.scm (gtk-doc): Likewise.
* gnu/packages/ibus.scm (ibus, ibus-libpinyin, ibus-anthy)
(ibus-libhangul): Likewise.
* gnu/packages/inkscape.scm (inkscape-1.0): Likewise.
* gnu/packages/linux.scm (bcc): Likewise.
* gnu/packages/mail.scm (notifymuch): Likewise.
* gnu/packages/maths.scm (units): Likewise.
* gnu/packages/music.scm (solfege): Likewise.
* gnu/packages/networking.scm (blueman): Likewise.
* gnu/packages/patchutils.scm (patchwork): Likewise.
* gnu/packages/photo.scm (rapid-photo-downloader, entangle): Likewise.
* gnu/packages/plotutils.scm (asymptote): Likewise.
* gnu/packages/presentation.scm (presentty): Likewise.
* gnu/packages/screen.scm (byobu): Likewise.
* gnu/packages/storage.scm (ceph): Likewise.
* gnu/packages/syndication.scm (liferea): Likewise.
* gnu/packages/task-management.scm (blanket): Likewise.
* gnu/packages/text-editors.scm (manuskript): Likewise.
* gnu/packages/version-control.scm (gitless, cgit, git-when-merged)
(git-imerge): Likewise.
* gnu/packages/video.scm (pitivi): Likewise.
* gnu/packages/virtualization.scm (criu): Likewise.
* gnu/packages/xfce.scm (catfish): Likewise.
2021-01-27 23:33:13 +01:00
|
|
|
|
`("GUIX_PYTHONPATH" ":" prefix (,(getenv "GUIX_PYTHONPATH")))))
|
2021-08-19 10:50:23 +02:00
|
|
|
|
(find-files (string-append out "/bin")))))))))
|
2015-08-08 19:34:58 +02:00
|
|
|
|
(native-inputs
|
2021-03-12 14:58:34 +01:00
|
|
|
|
`(("gettext" ,gettext-minimal)
|
|
|
|
|
("glib:bin" ,glib "bin")
|
|
|
|
|
("gobject-introspection" ,gobject-introspection)
|
2015-08-08 19:34:58 +02:00
|
|
|
|
("itstool" ,itstool)
|
2021-03-12 14:58:34 +01:00
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("python-wrapper" ,python-wrapper)))
|
2015-08-08 19:34:58 +02:00
|
|
|
|
(inputs
|
2021-03-12 14:58:34 +01:00
|
|
|
|
`(("bc" ,bc)
|
2015-08-08 19:34:58 +02:00
|
|
|
|
("dblatex" ,dblatex)
|
|
|
|
|
("docbook-xml" ,docbook-xml-4.3)
|
|
|
|
|
("docbook-xsl" ,docbook-xsl)
|
2018-06-25 21:48:11 +02:00
|
|
|
|
("glib" ,glib)
|
2021-03-12 14:58:34 +01:00
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("libxslt" ,libxslt)
|
|
|
|
|
("python" ,python)
|
|
|
|
|
("python-anytree" ,python-anytree)
|
|
|
|
|
("python-lxml" ,python-lxml)
|
|
|
|
|
("python-parameterized" ,python-parameterized)
|
|
|
|
|
("python-pygments" ,python-pygments)
|
|
|
|
|
("python-unittest2" ,python-unittest2)
|
|
|
|
|
("source-highlight" ,source-highlight)
|
|
|
|
|
("yelp-tools" ,yelp-tools)))
|
2021-03-12 15:20:40 +01:00
|
|
|
|
(home-page "https://wiki.gnome.org/DocumentationProject/GtkDoc")
|
|
|
|
|
(synopsis "GTK+ DocBook Documentation Generator")
|
|
|
|
|
(description "GtkDoc is a tool used to extract API documentation from C-code
|
|
|
|
|
like Doxygen, but handles documentation of GObject (including signals and
|
|
|
|
|
properties) that makes it very suitable for GTK+ apps and libraries. It uses
|
|
|
|
|
docbook for intermediate files and can produce html by default and pdf/man-pages
|
|
|
|
|
with some extra work.")
|
|
|
|
|
(license
|
|
|
|
|
(list
|
|
|
|
|
;; Docs.
|
|
|
|
|
license:fdl1.1+
|
|
|
|
|
;; Others.
|
|
|
|
|
license:gpl2+))))
|
2016-02-06 06:10:39 +01:00
|
|
|
|
|
2021-03-27 12:29:25 +01:00
|
|
|
|
;; This is a variant of the 'gtk-doc' package that is not updated often. It
|
|
|
|
|
;; is intended to be used as a native-input at build-time only. This allows
|
|
|
|
|
;; the main 'gtk-doc', 'dblatex' and 'imagemagick' packages to be freely
|
|
|
|
|
;; updated on the 'master' branch without triggering an excessive number of
|
|
|
|
|
;; rebuilds.
|
|
|
|
|
(define-public gtk-doc/stable
|
|
|
|
|
(hidden-package
|
|
|
|
|
(package/inherit gtk-doc
|
|
|
|
|
(inputs (alist-replace "dblatex" `(,dblatex/stable)
|
|
|
|
|
(package-inputs gtk-doc))))))
|
|
|
|
|
|
2016-02-06 06:10:39 +01:00
|
|
|
|
(define-public gtk-engines
|
|
|
|
|
(package
|
|
|
|
|
(name "gtk-engines")
|
|
|
|
|
(version "2.20.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnome/sources/" name "/"
|
|
|
|
|
(version-major+minor version) "/"
|
|
|
|
|
name "-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1db65pb0j0mijmswrvpgkdabilqd23x22d95hp5kwxvcramq1dhm"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
`("--enable-animation")))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("intltool" ,intltool)))
|
2016-11-20 04:59:38 +01:00
|
|
|
|
(inputs
|
|
|
|
|
;; Don't propagate GTK+ to reduce "profile pollution".
|
2016-02-06 06:10:39 +01:00
|
|
|
|
`(("gtk+" ,gtk+-2))) ; required by gtk-engines-2.pc
|
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-09 00:49:35 +02:00
|
|
|
|
(home-page "https://live.gnome.org/GnomeArt")
|
2016-02-06 06:10:39 +01:00
|
|
|
|
(synopsis "Theming engines for GTK+ 2.x")
|
|
|
|
|
(description
|
|
|
|
|
"This package contains the standard GTK+ 2.x theming engines including
|
|
|
|
|
Clearlooks, Crux, High Contrast, Industrial, LighthouseBlue, Metal, Mist,
|
|
|
|
|
Redmond95 and ThinIce.")
|
|
|
|
|
(license (list license:gpl2+ license:lgpl2.1+))))
|
2016-02-06 06:34:34 +01:00
|
|
|
|
|
|
|
|
|
(define-public murrine
|
|
|
|
|
(package
|
|
|
|
|
(name "murrine")
|
|
|
|
|
(version "0.98.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnome/sources/" name "/"
|
|
|
|
|
(version-major+minor version) "/"
|
|
|
|
|
name "-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"129cs5bqw23i76h3nmc29c9mqkm9460iwc8vkl7hs4xr07h8mip9"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
`("--enable-animation"
|
|
|
|
|
"--enable-animationrtl")))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("intltool" ,intltool)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("gtk+" ,gtk+-2)))
|
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-09 00:49:35 +02:00
|
|
|
|
(home-page "https://live.gnome.org/GnomeArt")
|
2016-02-06 06:34:34 +01:00
|
|
|
|
(synopsis "Cairo-based theming engine for GTK+ 2.x")
|
|
|
|
|
(description
|
|
|
|
|
"Murrine is a cairo-based GTK+ theming engine. It is named after the
|
|
|
|
|
glass artworks done by Venicians glass blowers.")
|
|
|
|
|
(license license:gpl2+)))
|
2016-05-11 00:15:54 +02:00
|
|
|
|
|
|
|
|
|
(define-public gtkspell3
|
|
|
|
|
(package
|
|
|
|
|
(name "gtkspell3")
|
2020-06-10 02:20:02 +02:00
|
|
|
|
(version "3.0.10")
|
2016-05-11 00:15:54 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/gtkspell/"
|
2018-01-10 17:52:20 +01:00
|
|
|
|
version "/" name "-" version ".tar.xz"))
|
2016-05-11 00:15:54 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-06-10 02:20:02 +02:00
|
|
|
|
"0cjp6xdcnzh6kka42w9g0w2ihqjlq8yl8hjm9wsfnixk6qwgch5h"))))
|
2016-05-11 00:15:54 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("intltool" ,intltool)
|
2019-08-18 17:42:19 +02:00
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("vala" ,vala)))
|
2016-05-11 00:15:54 +02:00
|
|
|
|
(inputs
|
2018-08-28 04:03:23 +02:00
|
|
|
|
`(("gobject-introspection" ,gobject-introspection)
|
2016-05-11 00:15:54 +02:00
|
|
|
|
("gtk+" ,gtk+)
|
|
|
|
|
("pango" ,pango)))
|
2018-03-25 14:04:18 +02:00
|
|
|
|
(propagated-inputs
|
2020-06-10 02:20:02 +02:00
|
|
|
|
`(("enchant" ,enchant))) ; gtkspell3-3.0.pc refers to it
|
2016-05-11 00:15:54 +02:00
|
|
|
|
(home-page "http://gtkspell.sourceforge.net")
|
|
|
|
|
(synopsis "Spell-checking addon for GTK's TextView widget")
|
|
|
|
|
(description
|
|
|
|
|
"GtkSpell provides word-processor-style highlighting and replacement of
|
|
|
|
|
misspelled words in a GtkTextView widget.")
|
|
|
|
|
(license license:gpl2+)))
|
2016-09-01 03:15:01 +02:00
|
|
|
|
|
|
|
|
|
(define-public clipit
|
|
|
|
|
(package
|
|
|
|
|
(name "clipit")
|
2019-02-16 21:45:19 +01:00
|
|
|
|
(version "1.4.4")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 22:53:28 +02:00
|
|
|
|
(url "https://github.com/CristianHenzel/ClipIt")
|
2019-02-16 21:45:19 +01:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "05xi29v2y0rvb33fmvrz7r9j4l858qj7ngwd7dp4pzpkkaybjln0"))))
|
2016-09-01 03:15:01 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2019-02-16 21:45:19 +01:00
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("intltool" ,intltool)
|
2016-09-01 03:15:01 +02:00
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("gtk+" ,gtk+-2)))
|
|
|
|
|
(home-page "https://github.com/CristianHenzel/ClipIt")
|
|
|
|
|
(synopsis "Lightweight GTK+ clipboard manager")
|
|
|
|
|
(description
|
|
|
|
|
"ClipIt is a clipboard manager with features such as a history, search
|
|
|
|
|
thereof, global hotkeys and clipboard item actions. It was forked from
|
|
|
|
|
Parcellite and adds bugfixes and features.")
|
|
|
|
|
(license license:gpl2+)))
|
2017-04-15 14:33:39 +02:00
|
|
|
|
|
|
|
|
|
(define-public graphene
|
|
|
|
|
(package
|
|
|
|
|
(name "graphene")
|
2021-09-26 09:27:20 +02:00
|
|
|
|
(version "1.10.6")
|
2020-06-09 15:44:44 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(git-reference
|
|
|
|
|
(url "https://github.com/ebassi/graphene.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2021-09-26 09:27:20 +02:00
|
|
|
|
(base32 "0g2jjy6xizzjxlp0dr81h1f5l16dzcnhznhj6jvhpdjqcvgp98xr"))))
|
2020-04-19 20:56:09 +02:00
|
|
|
|
(build-system meson-build-system)
|
2017-04-15 14:33:39 +02:00
|
|
|
|
(arguments
|
2020-06-09 15:44:44 +02:00
|
|
|
|
`(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(list
|
2021-08-24 14:38:57 +02:00
|
|
|
|
"-Dinstalled_tests=false"
|
|
|
|
|
,@(if (%current-target-system)
|
|
|
|
|
;; Introspection requires running binaries for 'host' on 'build'.
|
|
|
|
|
'("-Dintrospection=false")
|
|
|
|
|
'()))))
|
2017-04-15 14:33:39 +02:00
|
|
|
|
(native-inputs
|
2020-06-09 15:44:44 +02:00
|
|
|
|
`(("git" ,git-minimal)
|
|
|
|
|
("gobject-introspection" ,gobject-introspection)
|
|
|
|
|
("mutest" ,mutest)
|
2020-04-19 20:56:09 +02:00
|
|
|
|
("pkg-config" ,pkg-config)))
|
2017-04-15 14:33:39 +02:00
|
|
|
|
(inputs
|
2020-06-09 15:44:44 +02:00
|
|
|
|
`(("glib" ,glib)
|
|
|
|
|
("python" ,python)))
|
2017-04-15 14:33:39 +02:00
|
|
|
|
(synopsis "Thin layer of graphic data types")
|
2020-06-09 15:44:44 +02:00
|
|
|
|
(description "Graphene provides graphic types and their relative API; it
|
|
|
|
|
does not deal with windowing system surfaces, drawing, scene graphs, or input.")
|
|
|
|
|
(home-page "https://ebassi.github.io/graphene/")
|
2017-04-15 14:33:39 +02:00
|
|
|
|
(license license:expat)))
|
2018-09-08 22:54:58 +02:00
|
|
|
|
|
2018-11-07 16:23:18 +01:00
|
|
|
|
(define-public spread-sheet-widget
|
|
|
|
|
(package
|
|
|
|
|
(name "spread-sheet-widget")
|
2020-10-16 16:34:18 +02:00
|
|
|
|
(version "0.7")
|
2018-11-07 16:23:18 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://alpha.gnu.org/gnu/ssw/"
|
2019-06-23 15:22:28 +02:00
|
|
|
|
"spread-sheet-widget-" version ".tar.gz"))
|
2018-11-07 16:23:18 +01:00
|
|
|
|
(sha256
|
2020-10-16 16:34:18 +02:00
|
|
|
|
(base32 "09rzgp7gabnzab460x874a1ibgyjiibpwzsz5srn9zs6jv2jdxjb"))))
|
2018-11-07 16:23:18 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2019-06-23 15:22:28 +02:00
|
|
|
|
`(("glib" ,glib "bin") ; for glib-genmarshal, etc.
|
2018-11-07 16:23:18 +01:00
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
;; In 'Requires' of spread-sheet-widget.pc.
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("glib" ,glib)
|
|
|
|
|
("gtk+" ,gtk+)))
|
|
|
|
|
(home-page "https://www.gnu.org/software/ssw/")
|
|
|
|
|
(synopsis "Gtk+ widget for dealing with 2-D tabular data")
|
|
|
|
|
(description
|
|
|
|
|
"GNU Spread Sheet Widget is a library for Gtk+ which provides a widget for
|
|
|
|
|
viewing and manipulating 2 dimensional tabular data in a manner similar to many
|
|
|
|
|
popular spread sheet programs.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2019-06-23 20:07:05 +02:00
|
|
|
|
(define-public volumeicon
|
|
|
|
|
(package
|
|
|
|
|
(name "volumeicon")
|
|
|
|
|
(version "0.5.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://nullwise.com/files/volumeicon/volumeicon-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "182xl2w8syv6ky2h2bc9imc6ap8pzh0p7rp63hh8nw0xm38c3f14"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list "--enable-notify"))) ; optional libnotify support
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("intltool" ,intltool)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("gtk+" ,gtk+)
|
|
|
|
|
("libnotify" ,libnotify)))
|
|
|
|
|
(home-page "http://nullwise.com/volumeicon.html")
|
|
|
|
|
(synopsis "System tray volume applet")
|
|
|
|
|
(description
|
|
|
|
|
"Volume Icon is a volume indicator and control applet for @acronym{the
|
|
|
|
|
Advanced Linux Sound Architecture, ALSA}. It sits in the system tray,
|
|
|
|
|
independent of your desktop environment, and supports global key bindings.")
|
|
|
|
|
(license (list license:expat ; src/{bind.c,keybinder.h}
|
|
|
|
|
license:isc ; src/alsa_volume_mapping.c
|
|
|
|
|
license:gpl3)))) ; the rest & combined work
|
|
|
|
|
|
2018-09-08 22:54:58 +02:00
|
|
|
|
(define-public yad
|
|
|
|
|
(package
|
|
|
|
|
(name "yad")
|
2019-11-01 20:02:00 +01:00
|
|
|
|
(version "5.0")
|
2018-09-08 22:54:58 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 22:53:28 +02:00
|
|
|
|
(url "https://github.com/v1cont/yad")
|
2018-09-08 22:54:58 +02:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2019-11-01 20:02:00 +01:00
|
|
|
|
(base32 "07rd61hvilsxxrj7lf8c9k0a8glj07s48m7ya8d45030r90g3lvc"))))
|
|
|
|
|
(build-system glib-or-gtk-build-system)
|
2018-09-08 22:54:58 +02:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
2019-11-01 20:02:00 +01:00
|
|
|
|
;; Passing --enable-foo will silently disable foo if prerequisite
|
|
|
|
|
;; inputs are missing, not abort the build as one might expect.
|
|
|
|
|
;; ‘--enable-html’ adds a huge webkitgtk dependency. It was never
|
|
|
|
|
;; present in the past and nobody complained.
|
|
|
|
|
'("--enable-icon-browser"
|
|
|
|
|
"--enable-spell") ; gspell checking support
|
2018-09-08 22:54:58 +02:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2019-11-01 20:02:00 +01:00
|
|
|
|
(add-after 'bootstrap 'intltoolize
|
2018-09-08 22:54:58 +02:00
|
|
|
|
(lambda _
|
2019-11-01 20:02:00 +01:00
|
|
|
|
(invoke "intltoolize" "--force" "--automake"))))))
|
2018-09-08 22:54:58 +02:00
|
|
|
|
(inputs
|
2019-11-01 20:02:00 +01:00
|
|
|
|
`(("gspell" ,gspell)
|
|
|
|
|
("gtk+" ,gtk+)))
|
2018-09-08 22:54:58 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("intltool" ,intltool)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "https://sourceforge.net/projects/yad-dialog/")
|
|
|
|
|
(synopsis "GTK+ dialog boxes for shell scripts")
|
|
|
|
|
(description
|
|
|
|
|
"This program allows you to display GTK+ dialog boxes from command line or
|
|
|
|
|
shell scripts. Example of how to use @code{yad} can be consulted at
|
|
|
|
|
@url{https://sourceforge.net/p/yad-dialog/wiki/browse_pages/}.")
|
|
|
|
|
(license license:gpl3+)))
|
2019-05-15 06:51:27 +02:00
|
|
|
|
|
2021-03-12 02:26:20 +01:00
|
|
|
|
(define-public dragon-drop
|
|
|
|
|
(package
|
|
|
|
|
(name "dragon-drop")
|
|
|
|
|
(version "1.1.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(git-reference
|
|
|
|
|
(url "https://github.com/mwh/dragon")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0fgzz39007fdjwq72scp0qygp2v3zc5f1xkm0sxaa8zxm25g1bra"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("gtk+" ,gtk+)))
|
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no check
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list (string-append "CC=" ,(cc-for-target))
|
|
|
|
|
;; makefile uses PREFIX for the binary location
|
|
|
|
|
(string-append "PREFIX=" (assoc-ref %outputs "out")
|
|
|
|
|
"/bin"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)))) ; no configure script
|
|
|
|
|
(synopsis "Drag and drop source/target for X")
|
|
|
|
|
(description
|
|
|
|
|
"Dragon is a lightweight drag-and-drop source for X where you can run:
|
|
|
|
|
|
|
|
|
|
@example
|
|
|
|
|
dragon file.tar.gz
|
|
|
|
|
@end example
|
|
|
|
|
|
|
|
|
|
to get a window with just that file in it, ready to be dragged where you need it.
|
|
|
|
|
What if you need to drag into something? Using:
|
|
|
|
|
|
|
|
|
|
@example
|
|
|
|
|
dragon --target
|
|
|
|
|
@end example
|
|
|
|
|
|
|
|
|
|
you get a window you can drag files and text into. Dropped items are
|
|
|
|
|
printed to standard output.")
|
|
|
|
|
(home-page "https://github.com/mwh/dragon")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2019-05-15 06:51:27 +02:00
|
|
|
|
(define-public libdbusmenu
|
|
|
|
|
(package
|
|
|
|
|
(name "libdbusmenu")
|
|
|
|
|
(version "16.04.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://launchpad.net/libdbusmenu/"
|
|
|
|
|
(version-major+minor version) "/" version
|
|
|
|
|
"/+download/libdbusmenu-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "12l7z8dhl917iy9h02sxmpclnhkdjryn08r8i4sr8l3lrlm4mk5r"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
'("--sysconfdir=/etc"
|
|
|
|
|
"--localstatedir=/var"
|
|
|
|
|
;; The shebang of the generated test files should be patched before
|
|
|
|
|
;; enabling tests.
|
|
|
|
|
"--disable-tests")
|
|
|
|
|
#:make-flags
|
|
|
|
|
`(,(string-append "typelibdir=" (assoc-ref %outputs "out")
|
|
|
|
|
"/lib/girepository-1.0"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2020-05-02 12:52:47 +02:00
|
|
|
|
(add-before 'configure 'do-not-treat-warnings-as-errors
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Prevent the build from failing due to deprecation warnings
|
|
|
|
|
;; from newer GLib and GTK versions.
|
|
|
|
|
(substitute* (find-files "." "^Makefile.in$")
|
|
|
|
|
((" -Werror")
|
|
|
|
|
""))
|
|
|
|
|
#t))
|
2019-05-15 06:51:27 +02:00
|
|
|
|
(add-before 'configure 'set-environment
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "HAVE_VALGRIND_TRUE" "")
|
|
|
|
|
(setenv "HAVE_VALGRIND_FALSE" "#")
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("glib" ,glib)
|
|
|
|
|
("gtk+" ,gtk+)
|
|
|
|
|
("gtk+-2" ,gtk+-2)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("glib:bin" ,glib "bin")
|
|
|
|
|
("gnome-doc-utils" ,gnome-doc-utils)
|
|
|
|
|
("gobject-introspection" ,gobject-introspection)
|
|
|
|
|
("intltool" ,intltool)
|
|
|
|
|
("json-glib" ,json-glib)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("python" ,python-2)
|
|
|
|
|
("vala" ,vala)))
|
|
|
|
|
(home-page "https://launchpad.net/libdbusmenu")
|
|
|
|
|
(synopsis "Library for passing menus over DBus")
|
|
|
|
|
(description "@code{libdbusmenu} passes a menu structure across DBus so
|
|
|
|
|
that a program can create a menu simply without worrying about how it is
|
|
|
|
|
displayed on the other side of the bus.")
|
2019-05-20 23:20:51 +02:00
|
|
|
|
|
|
|
|
|
;; Dual-licensed under either LGPLv2.1 or LGPLv3.
|
|
|
|
|
(license (list license:lgpl2.1 license:lgpl3))))
|
2020-03-15 06:28:52 +01:00
|
|
|
|
|
|
|
|
|
(define-public gtk-layer-shell
|
|
|
|
|
(package
|
|
|
|
|
(name "gtk-layer-shell")
|
2021-03-22 15:43:15 +01:00
|
|
|
|
(version "0.6.0")
|
2020-03-15 06:28:52 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2021-03-22 15:43:15 +01:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/wmww/gtk-layer-shell")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2020-03-15 06:28:52 +01:00
|
|
|
|
(sha256
|
2021-03-22 15:43:15 +01:00
|
|
|
|
(base32 "1kcp4p3s7sdh9lwniybjdarfy8z69j2j23hfrw98amhwhq39gdcc"))))
|
2020-03-15 06:28:52 +01:00
|
|
|
|
(build-system meson-build-system)
|
2021-03-22 15:43:15 +01:00
|
|
|
|
(arguments `(#:configure-flags (list "-Dtests=true")))
|
2020-03-15 06:28:52 +01:00
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)
|
|
|
|
|
("gobject-introspection" ,gobject-introspection)))
|
|
|
|
|
(inputs `(("wayland" ,wayland)
|
|
|
|
|
("gtk+" ,gtk+)))
|
|
|
|
|
(home-page "https://github.com/wmww/gtk-layer-shell")
|
|
|
|
|
(synopsis "Library to create Wayland desktop components using the Layer
|
|
|
|
|
Shell protocol")
|
|
|
|
|
(description "Layer Shell is a Wayland protocol for desktop shell
|
|
|
|
|
components, such as panels, notifications and wallpapers. It can be used to
|
|
|
|
|
anchor windows to a corner or edge of the output, or stretch them across the
|
|
|
|
|
entire output. It supports all Layer Shell features including popups and
|
|
|
|
|
popovers.")
|
|
|
|
|
(license license:expat)))
|
2020-04-05 14:46:06 +02:00
|
|
|
|
|
|
|
|
|
(define-public goocanvas
|
|
|
|
|
(package
|
|
|
|
|
(name "goocanvas")
|
|
|
|
|
(version "2.0.4")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnome/sources/goocanvas/"
|
|
|
|
|
(version-major+minor version)
|
|
|
|
|
"/goocanvas-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "141fm7mbqib0011zmkv3g8vxcjwa7hypmq71ahdyhnj2sjvy4a67"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("gettext" ,gettext-minimal)
|
|
|
|
|
("glib-bin" ,glib "bin")
|
|
|
|
|
("gobject-introspection" ,gobject-introspection)
|
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 12:35:02 +01:00
|
|
|
|
("gtk-doc" ,gtk-doc/stable)
|
2020-04-05 14:46:06 +02:00
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("python" ,python)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("cairo" ,cairo)
|
|
|
|
|
("glib" ,glib)
|
|
|
|
|
("gtk+" ,gtk+)
|
|
|
|
|
("python-pygobject" ,python-pygobject)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags '("--disable-rebuilds"
|
|
|
|
|
"--disable-static")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-install-path
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(substitute* "configure"
|
|
|
|
|
(("\\(gi._overridesdir\\)")
|
|
|
|
|
(string-append "((gi._overridesdir).replace(\\\""
|
|
|
|
|
(assoc-ref inputs "python-pygobject")
|
|
|
|
|
"\\\", \\\""
|
|
|
|
|
(assoc-ref outputs "out")
|
|
|
|
|
"\\\"))")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(synopsis "Canvas widget for GTK+")
|
|
|
|
|
(description "GooCanvas is a canvas widget for GTK+ that uses the cairo 2D
|
|
|
|
|
library for drawing.")
|
|
|
|
|
(home-page "https://wiki.gnome.org/GooCanvas")
|
|
|
|
|
(license license:lgpl2.0)))
|
2020-03-08 19:06:04 +01:00
|
|
|
|
|
|
|
|
|
(define-public gtksheet
|
|
|
|
|
(package
|
|
|
|
|
(name "gtksheet")
|
2020-12-26 23:11:09 +01:00
|
|
|
|
(version "4.3.5")
|
2020-03-08 19:06:04 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/fpaquet/gtksheet")
|
|
|
|
|
(commit (string-append "V" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-12-26 23:11:09 +01:00
|
|
|
|
"13jwr1vly4ga3f09dajwky1cdrz5bmggwga3vnnd6j6zzia7dpyr"))))
|
2020-03-08 19:06:04 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags (list "--enable-glade"
|
2021-10-21 17:58:06 +02:00
|
|
|
|
"--enable-introspection"
|
|
|
|
|
"CFLAGS=-fcommon")
|
2020-03-08 19:06:04 +01:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; The "configure" script is present, but otherwise the project is
|
|
|
|
|
;; not bootstrapped properly. Delete configure so the bootstrap phase
|
|
|
|
|
;; will take over.
|
|
|
|
|
(add-after 'unpack 'delete-configure
|
|
|
|
|
(lambda _
|
|
|
|
|
(delete-file "configure")
|
|
|
|
|
#t))
|
2021-10-21 17:58:06 +02:00
|
|
|
|
(add-after 'unpack 'patch-for-compatibility
|
2020-12-26 23:11:09 +01:00
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "glade/glade-gtksheet-editor.c"
|
|
|
|
|
(("GladeEditableIface") "GladeEditableInterface"))
|
2021-10-21 17:58:06 +02:00
|
|
|
|
;; Glade 3.37 renamed the macro GWA_GET_CLASS to
|
|
|
|
|
;; GLADE_WIDGET_ADAPTOR_GET_ADAPTOR_CLASS.
|
|
|
|
|
(substitute* "glade/glade-gtksheet-editor.c"
|
|
|
|
|
(("GWA_GET_CLASS") "GLADE_WIDGET_ADAPTOR_GET_ADAPTOR_CLASS"))))
|
2020-03-08 19:06:04 +01:00
|
|
|
|
;; Fix glade install directories.
|
|
|
|
|
(add-before 'bootstrap 'configure-glade-directories
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(substitute* "configure.ac"
|
|
|
|
|
(("`\\$PKG_CONFIG --variable=catalogdir gladeui-2.0`")
|
|
|
|
|
(string-append (assoc-ref outputs "out") "/share/glade/catalogs"))
|
|
|
|
|
(("`\\$PKG_CONFIG --variable=moduledir gladeui-2.0`")
|
|
|
|
|
(string-append (assoc-ref outputs "out") "/lib/glade/modules"))
|
|
|
|
|
(("`\\$PKG_CONFIG --variable=pixmapdir gladeui-2.0`")
|
|
|
|
|
(string-append (assoc-ref outputs "out") "/share/pixmaps")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("glade" ,glade3)
|
|
|
|
|
("glib" ,glib)
|
|
|
|
|
("gtk+" ,gtk+)
|
|
|
|
|
("libxml2" ,libxml2)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("gobject-introspection" ,gobject-introspection)
|
|
|
|
|
("libtool" ,libtool)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "https://fpaquet.github.io/gtksheet/")
|
|
|
|
|
(synopsis "Spreadsheet widget for GTK+")
|
|
|
|
|
(description "GtkSheet is a matrix widget for GTK+. It consists of an
|
|
|
|
|
scrollable grid of cells where you can allocate text. Cell contents can be
|
|
|
|
|
edited interactively through a specially designed entry, GtkItemEntry. It is
|
|
|
|
|
also a container subclass, allowing you to display buttons, images and any
|
|
|
|
|
other widget in it. You can also set many attributes such as border,
|
|
|
|
|
foreground and background colors, text justification and more.")
|
|
|
|
|
(native-search-paths
|
|
|
|
|
(list
|
|
|
|
|
(search-path-specification
|
|
|
|
|
(variable "GLADE_CATALOG_SEARCH_PATH")
|
|
|
|
|
(files '("share/glade/catalogs")))
|
|
|
|
|
(search-path-specification
|
|
|
|
|
(variable "GLADE_MODULE_SEARCH_PATH")
|
|
|
|
|
(files '("lib/glade/modules")))))
|
|
|
|
|
(license license:lgpl2.0+)))
|
2021-02-16 20:08:27 +01:00
|
|
|
|
|
|
|
|
|
(define-public gtkdatabox
|
|
|
|
|
(package
|
|
|
|
|
(name "gtkdatabox")
|
2021-04-20 11:08:02 +02:00
|
|
|
|
(version "1.0.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2021-04-26 10:19:32 +02:00
|
|
|
|
(uri (string-append "mirror://sourceforge/gtkdatabox/gtkdatabox-1/"
|
2021-04-20 11:08:02 +02:00
|
|
|
|
"gtkdatabox-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1qykm551bx8j8pfgxs60l2vhpi8lv4r8va69zvn2594lchh71vlb"))))
|
2021-02-16 20:08:27 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
2021-04-20 11:08:02 +02:00
|
|
|
|
`(("gtk+" ,gtk+)))
|
2021-02-16 20:08:27 +01:00
|
|
|
|
(synopsis "Display widget for dynamic data")
|
|
|
|
|
(description "GtkDatabox is a widget for live display of large amounts of
|
|
|
|
|
fluctuating numerical data. It enables data presentation (for example, on
|
|
|
|
|
linear or logarithmic scales, as dots or lines, with markers/labels) as well as
|
|
|
|
|
user interaction (e.g. measuring distances).")
|
|
|
|
|
(home-page "https://sourceforge.net/projects/gtkdatabox/")
|
|
|
|
|
(license license:lgpl2.1+)))
|
2021-05-06 11:22:08 +02:00
|
|
|
|
|
|
|
|
|
(define-public volctl
|
|
|
|
|
(package
|
|
|
|
|
(name "volctl")
|
|
|
|
|
(version "0.8.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference (url "https://github.com/buzz/volctl")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1cx27j83pz2qffnzb85fbl1x6pp3irv1kbw7g1hri7kaw6ky4xiz"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-path
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((pulse (assoc-ref inputs "pulseaudio"))
|
|
|
|
|
(xfixes (assoc-ref inputs "libxfixes")))
|
|
|
|
|
(substitute* "volctl/lib/xwrappers.py"
|
|
|
|
|
(("libXfixes.so")
|
|
|
|
|
(string-append xfixes "/lib/libXfixes.so")))
|
|
|
|
|
(substitute* "volctl/lib/pulseaudio.py"
|
|
|
|
|
(("libpulse.so.0")
|
|
|
|
|
(string-append pulse "/lib/libpulse.so.0")))
|
|
|
|
|
#t))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("gtk+" ,gtk+)
|
|
|
|
|
("libxfixes" ,libxfixes)
|
|
|
|
|
("pulseaudio" ,pulseaudio)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("python-click" ,python-click)
|
|
|
|
|
("python-pycairo" ,python-pycairo)
|
|
|
|
|
("python-pygobject" ,python-pygobject)
|
|
|
|
|
("python-pyyaml" ,python-pyyaml)))
|
|
|
|
|
(home-page "https://buzz.github.io/volctl/")
|
|
|
|
|
(synopsis "Per-application volume control and on-screen display (OSD) for graphical desktops")
|
|
|
|
|
(description "Volctl is a PulseAudio-enabled tray icon volume control and
|
|
|
|
|
OSD applet for graphical desktops. It's not meant to be an replacement for a
|
|
|
|
|
full-featured mixer application. If you're looking for that check out the
|
|
|
|
|
excellent pavucontrol.")
|
2021-05-08 14:46:47 +02:00
|
|
|
|
|
|
|
|
|
;; XXX: 'setup.py' says "GPLv2" but nothing says "version 2 only". Is
|
|
|
|
|
;; GPLv2+ intended?
|
2021-05-06 11:22:08 +02:00
|
|
|
|
(license license:gpl2)))
|