2013-05-05 00:06:32 +02:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
|
|
|
;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
|
2018-03-11 21:46:30 +01:00
|
|
|
;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018 Ludovic Courtès <ludo@gnu.org>
|
2018-03-23 07:20:18 +01:00
|
|
|
;;; Copyright © 2014, 2015, 2017, 2018 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>
|
2018-06-14 04:30:50 +02:00
|
|
|
;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
|
2017-10-01 20:52:41 +02:00
|
|
|
;;; Copyright © 2016, 2017 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>
|
Correct name and Email for ng0.
* .mailmap: Correct name and Email for ng0.
* 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/emacs.scm, gnu/packages/enlightenment.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/gnuzilla.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm,
gnu/packages/guile.scm, gnu/packages/haskell-check.scm,
gnu/packages/haskell-crypto.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.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-crypto.scm, gnu/packages/python-web.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: Tobias Geerinckx-Rice <me@tobias.gr>
2018-03-20 16:39:45 +01:00
|
|
|
;;; Copyright © 2016 Nils Gillmann <ng0@n0.is>
|
2018-01-10 17:55:37 +01:00
|
|
|
;;; Copyright © 2017 Roel Janssen <roel@gnu.org>
|
|
|
|
;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
|
|
|
;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
|
2018-02-24 23:48:47 +01:00
|
|
|
;;; Copyright © 2018 Alex Vong <alexvong1995@gmail.com>
|
2018-03-28 21:54:05 +02:00
|
|
|
;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
|
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:)
|
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)
|
2013-05-05 00:06:32 +02:00
|
|
|
#:use-module (guix build-system gnu)
|
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)
|
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)
|
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)
|
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)
|
2016-05-28 18:01:48 +02:00
|
|
|
#:use-module (gnu packages libffi)
|
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)
|
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)
|
2013-09-28 21:42:02 +02:00
|
|
|
#:use-module (gnu packages guile)
|
2015-01-23 16:07:20 +01:00
|
|
|
#:use-module (gnu packages cups)
|
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)
|
|
|
|
#:use-module (gnu packages xdisorg))
|
2013-05-05 00:06:32 +02:00
|
|
|
|
|
|
|
(define-public atk
|
|
|
|
(package
|
|
|
|
(name "atk")
|
2018-04-15 14:27:44 +02:00
|
|
|
(version "2.28.1")
|
2013-05-05 00:06:32 +02:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2013-10-01 00:23:43 +02:00
|
|
|
(uri (string-append "mirror://gnome/sources/" name "/"
|
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
|
|
|
(version-major+minor version) "/"
|
|
|
|
name "-" version ".tar.xz"))
|
2013-05-05 00:06:32 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
2018-04-15 14:27:44 +02:00
|
|
|
"1z7laf6qwv5zsqcnj222dm5f43c6f3liil0cgx4s4s62xjk1wfnd"))))
|
2013-05-05 00:06:32 +02:00
|
|
|
(build-system gnu-build-system)
|
2015-04-08 05:07:12 +02:00
|
|
|
(outputs '("out" "doc"))
|
|
|
|
(arguments
|
|
|
|
`(#:configure-flags
|
|
|
|
(list (string-append "--with-html-dir="
|
|
|
|
(assoc-ref %outputs "doc")
|
|
|
|
"/share/gtk-doc/html"))))
|
2015-04-08 05:11:50 +02:00
|
|
|
(propagated-inputs `(("glib" ,glib))) ; required by atk.pc
|
2014-05-06 22:40:33 +02:00
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)
|
gnu: glib: Add "bin" output.
Fixes <http://bugs.gnu.org/17853>.
* gnu/packages/glib.scm (glib)[outputs]: Add "bin".
(gobject-introspection)[native-inputs]: New field.
* gnu/packages/avahi.scm (avahi)[native-inputs]: Add glib:bin.
* gnu/packages/gnome.scm (brasero, libgnome-keyring, evince,
gsettings-desktop-schemas, libnotify, gtkglext): Likewise.
* gnu/packages/gstreamer.scm (gstreamer, gst-plugins-base,
gst-plugins-base-0.10): Likewise.
* gnu/packages/gtk.scm (atk, pango, gdk-pixbuf, gtk+-2, gtk+):
Likewise.
* gnu/packages/linux.scm (udev): Likewise.
* gnu/packages/pdf.scm (poppler): Likewise.
2014-06-30 18:05:57 +02:00
|
|
|
("glib" ,glib "bin") ; glib-mkenums, etc.
|
2014-05-06 22:40:33 +02:00
|
|
|
("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
|
2013-10-09 23:32:27 +02:00
|
|
|
(synopsis "GNOME accessibility toolkit")
|
2013-05-05 00:06:32 +02:00
|
|
|
(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.")
|
|
|
|
(license license:lgpl2.0+)
|
|
|
|
(home-page "https://developer.gnome.org/atk/")))
|
2013-06-14 20:57:43 +02:00
|
|
|
|
|
|
|
(define-public cairo
|
|
|
|
(package
|
|
|
|
(name "cairo")
|
2017-09-02 16:45:13 +02:00
|
|
|
(version "1.14.10")
|
2013-06-14 20:57:43 +02:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2016-12-25 06:44:12 +01:00
|
|
|
(uri (string-append "https://cairographics.org/releases/cairo-"
|
2013-06-14 20:57:43 +02:00
|
|
|
version ".tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2017-09-02 16:45:13 +02:00
|
|
|
"02banr0wxckq62nbhc3mqidfdh2q956i2r7w2hd9bjgjb238g1vy"))
|
2016-11-30 18:31:37 +01:00
|
|
|
(patches (search-patches "cairo-CVE-2016-9082.patch"))))
|
2013-06-14 20:57:43 +02:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(propagated-inputs
|
|
|
|
`(("fontconfig" ,fontconfig)
|
|
|
|
("freetype" ,freetype)
|
|
|
|
("glib" ,glib)
|
|
|
|
("libpng" ,libpng)
|
|
|
|
("libx11" ,libx11)
|
|
|
|
("libxext" ,libxext)
|
|
|
|
("libxrender" ,libxrender)
|
|
|
|
("pixman" ,pixman)))
|
|
|
|
(inputs
|
|
|
|
`(("ghostscript" ,ghostscript)
|
|
|
|
("libspectre" ,libspectre)
|
|
|
|
("poppler" ,poppler)
|
2018-03-10 12:49:27 +01:00
|
|
|
("xorgproto" ,xorgproto)
|
2013-06-14 20:57:43 +02:00
|
|
|
("zlib" ,zlib)))
|
gnu: Move numerous "inputs" which should be "native-inputs".
* gnu/packages/avahi.scm, gnu/packages/cdrom.scm, gnu/packages/cryptsetup.scm,
gnu/packages/curl.scm, gnu/packages/emacs.scm, gnu/packages/fontutils.scm,
gnu/packages/gdb.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/graphviz.scm,
gnu/packages/groff.scm, gnu/packages/gstreamer.scm, gnu/packages/gtk.scm,
gnu/packages/gv.scm, gnu/packages/imagemagick.scm, gnu/packages/irssi.scm,
gnu/packages/kde.scm, gnu/packages/libcanberra.scm, gnu/packages/libtiff.scm,
gnu/packages/linux.scm, gnu/packages/lvm.scm, gnu/packages/mp3.scm,
gnu/packages/netpbm.scm, gnu/packages/parted.scm, gnu/packages/pdf.scm,
gnu/packages/pulseaudio.scm, gnu/packages/qemu.scm, gnu/packages/qt.scm,
gnu/packages/ratpoison.scm, gnu/packages/rdf.scm, gnu/packages/slim.scm,
gnu/packages/texlive.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/xml.scm, gnu/packages/xnee.scm, gnu/packages/xorg.scm,
gnu/packages/zip.scm: Move some build-time dependencies from `inputs' to
`native-inputs'.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-12-15 12:01:56 +01:00
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
("python" ,python-wrapper)))
|
2013-06-14 20:57:43 +02:00
|
|
|
(arguments
|
2015-02-27 01:21:42 +01:00
|
|
|
`(#:tests? #f ; see http://lists.gnu.org/archive/html/bug-guix/2013-06/msg00085.html
|
|
|
|
#:configure-flags '("--enable-tee"))) ; needed for GNU Icecat
|
2013-06-14 20:57:43 +02:00
|
|
|
(synopsis "2D graphics library")
|
|
|
|
(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
|
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
|
|
|
output. Experimental backends include OpenGL, BeOS, OS/2, and DirectFB.
|
2013-06-14 20:57:43 +02:00
|
|
|
|
|
|
|
Cairo is designed to produce consistent output on all output media while
|
|
|
|
taking advantage of display hardware acceleration when available
|
|
|
|
eg. through the X Render Extension).
|
|
|
|
|
|
|
|
The cairo API provides operations similar to the drawing operators of
|
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
|
|
|
PostScript and PDF. Operations in cairo including stroking and filling cubic
|
2013-06-14 20:57:43 +02:00
|
|
|
Bézier splines, transforming and compositing translucent images, and
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 06:46:59 +02:00
|
|
|
antialiased text rendering. All drawing operations can be transformed by any
|
gnu packages: Clean up synopses and descriptions.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/bittorrent.scm,
gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/databases.scm, gnu/packages/enchant.scm,
gnu/packages/firmware.scm, gnu/packages/fonts.scm,
gnu/packages/freedesktop.scm, gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gsasl.scm,
gnu/packages/gstreamer.scm, gnu/packages/gtk.scm, gnu/packages/guile.scm,
gnu/packages/haskell.scm, gnu/packages/language.scm,
gnu/packages/lesstif.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/llvm.scm, gnu/packages/maths.scm,
gnu/packages/mcrypt.scm, gnu/packages/mit-krb5.scm, gnu/packages/mp3.scm,
gnu/packages/ncdu.scm, gnu/packages/networking.scm, gnu/packages/ntp.scm,
gnu/packages/ocaml.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/pretty-print.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm,
gnu/packages/rdesktop.scm, gnu/packages/rdf.scm, gnu/packages/ruby.scm,
gnu/packages/slang.scm, gnu/packages/slim.scm, gnu/packages/telephony.scm,
gnu/packages/tls.scm, gnu/packages/tmux.scm, gnu/packages/tre.scm,
gnu/packages/unrtf.scm, gnu/packages/version-control.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wget.scm,
gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xiph.scm:
Fix typos. Trim long lines. Add missing periods in the end of sentences.
Use double spaces between sentences. Remove trailing whitespaces.
2015-07-17 14:16:07 +02:00
|
|
|
affine transformation (scale, rotation, shear, etc.).")
|
2013-06-14 20:57:43 +02:00
|
|
|
(license license:lgpl2.1) ; or Mozilla Public License 1.1
|
2016-12-25 06:44:12 +01:00
|
|
|
(home-page "https://cairographics.org/")))
|
2013-06-14 23:28:58 +02:00
|
|
|
|
2016-09-04 15:20:24 +02:00
|
|
|
(define-public cairo-xcb
|
|
|
|
(package
|
|
|
|
(inherit cairo)
|
|
|
|
(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")
|
2018-03-08 13:47:10 +01:00
|
|
|
(version "1.7.6")
|
2013-06-14 23:28:58 +02:00
|
|
|
(source (origin
|
2015-09-15 14:02:40 +02:00
|
|
|
(method url-fetch)
|
2016-02-19 14:23:38 +01:00
|
|
|
(uri (string-append "https://www.freedesktop.org/software/"
|
2015-09-15 14:02:40 +02:00
|
|
|
"harfbuzz/release/harfbuzz-"
|
|
|
|
version ".tar.bz2"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2018-03-08 13:47:10 +01:00
|
|
|
"16rf7qwgy1gza74v2ws79zdwwb1lpvgz2abwwm8ws9j82cwysyys"))))
|
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
|
2015-05-23 04:25:44 +02:00
|
|
|
`(("gobject-introspection" ,gobject-introspection)
|
|
|
|
("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
|
|
|
|
|
|
|
(define-public pango
|
|
|
|
(package
|
|
|
|
(name "pango")
|
2018-03-14 23:48:21 +01:00
|
|
|
(version "1.42.0")
|
2013-06-14 23:33:17 +02:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2014-12-16 20:34:10 +01:00
|
|
|
(uri (string-append "mirror://gnome/sources/pango/"
|
|
|
|
(version-major+minor version) "/"
|
|
|
|
name "-" version ".tar.xz"))
|
2013-06-14 23:33:17 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
2018-03-14 23:48:21 +01:00
|
|
|
"0illn78nfwpa8y5knh9ir74wa1skc2hi8f3ny19zgpyf7n5dh94r"))))
|
2013-06-14 23:33:17 +02:00
|
|
|
(build-system gnu-build-system)
|
2013-07-15 22:41:19 +02:00
|
|
|
(propagated-inputs
|
2018-03-14 23:55:58 +01:00
|
|
|
;; These are all in Requires or Requires.private of the '.pc' files.
|
2013-06-14 23:33:17 +02:00
|
|
|
`(("cairo" ,cairo)
|
2018-03-14 23:55:58 +01:00
|
|
|
("fontconfig" ,fontconfig)
|
|
|
|
("freetype" ,freetype)
|
|
|
|
("glib" ,glib)
|
2013-07-15 23:15:45 +02:00
|
|
|
("harfbuzz" ,harfbuzz)))
|
|
|
|
(inputs
|
2018-02-19 21:26:12 +01:00
|
|
|
`(("fribidi" ,fribidi)
|
|
|
|
("zlib" ,zlib)
|
2014-11-18 21:57:25 +01:00
|
|
|
|
|
|
|
;; Some packages, such as Openbox, expect Pango to be built with the
|
|
|
|
;; optional libxft support.
|
|
|
|
("libxft" ,libxft)))
|
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-05-06 22:40:33 +02:00
|
|
|
`(("pkg-config" ,pkg-config)
|
gnu: glib: Add "bin" output.
Fixes <http://bugs.gnu.org/17853>.
* gnu/packages/glib.scm (glib)[outputs]: Add "bin".
(gobject-introspection)[native-inputs]: New field.
* gnu/packages/avahi.scm (avahi)[native-inputs]: Add glib:bin.
* gnu/packages/gnome.scm (brasero, libgnome-keyring, evince,
gsettings-desktop-schemas, libnotify, gtkglext): Likewise.
* gnu/packages/gstreamer.scm (gstreamer, gst-plugins-base,
gst-plugins-base-0.10): Likewise.
* gnu/packages/gtk.scm (atk, pango, gdk-pixbuf, gtk+-2, gtk+):
Likewise.
* gnu/packages/linux.scm (udev): Likewise.
* gnu/packages/pdf.scm (poppler): Likewise.
2014-06-30 18:05:57 +02:00
|
|
|
("glib" ,glib "bin") ; glib-mkenums, etc.
|
2014-05-06 22:40:33 +02:00
|
|
|
("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
|
2013-06-14 23:33:17 +02:00
|
|
|
(synopsis "GNOME text and font handling library")
|
|
|
|
(description
|
|
|
|
"Pango is the core text and font handling library used in GNOME
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 06:46:59 +02:00
|
|
|
applications. It has extensive support for the different writing systems
|
2013-06-14 23:33:17 +02:00
|
|
|
used throughout the world.")
|
|
|
|
(license license:lgpl2.0+)
|
|
|
|
(home-page "https://developer.gnome.org/pango/")))
|
2013-06-15 09:26:07 +02: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)
|
|
|
|
("pango" ,pango)))
|
|
|
|
(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")
|
|
|
|
(version "1.4.2")
|
|
|
|
(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
|
|
|
|
"0g7s5mp14qgbfjdql0k1s8464r21g47ssn5dws6jazsnw6njhl0l"))))
|
|
|
|
(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)
|
|
|
|
;; Compile with C++11, required by gtkmm.
|
|
|
|
(setenv "CXXFLAGS" "-std=c++11")
|
|
|
|
;; 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
|
|
|
|
2016-11-27 23:32:06 +01:00
|
|
|
(define-public ganv-devel
|
2017-10-22 11:57:20 +02:00
|
|
|
(let ((commit "12f7d6b0438c94dd87f773a92eee3453d971846e")
|
2016-11-27 23:32:06 +01:00
|
|
|
(revision "1"))
|
|
|
|
(package
|
|
|
|
(inherit ganv)
|
|
|
|
(name "ganv")
|
2017-10-22 11:57:20 +02:00
|
|
|
(version (string-append "1.5.4-" revision "."
|
2016-11-27 23:32:06 +01:00
|
|
|
(string-take commit 9)))
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
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
|
|
|
(url "https://git.drobilla.net/ganv.git")
|
2016-11-27 23:32:06 +01:00
|
|
|
(commit commit)))
|
2018-03-13 19:03:45 +01:00
|
|
|
(file-name (git-file-name name version))
|
2016-11-27 23:32:06 +01:00
|
|
|
(sha256
|
|
|
|
(base32
|
2017-10-22 11:57:20 +02:00
|
|
|
"1cr8w02lr6bk9mkxa12j3imq721b2an2yn4bj5wnwmpm91ddn2gi")))))))
|
2016-11-27 23:32:06 +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
|
|
|
|
"07hrabhpl6n8ajz10s0d960jdwndxs87szxyn428mpxi8cvpg1f5"))))
|
|
|
|
(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.
|
|
|
|
("xorg-server" ,xorg-server)
|
|
|
|
("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")
|
2018-03-15 04:06:44 +01:00
|
|
|
(version "3.24.7")
|
2015-11-08 20:51:46 +01:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://gnome/sources/" name "/"
|
|
|
|
(version-major+minor version) "/"
|
|
|
|
name "-" version ".tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2018-03-15 04:06:44 +01:00
|
|
|
"1rp8zspwyw3mmdgccsas3pa6v7s0hqjaaglg6n4kcls7ccx0vhm5"))))
|
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.
|
|
|
|
("xorg-server" ,xorg-server)
|
|
|
|
("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+)))
|
|
|
|
|
2013-06-15 09:26:07 +02:00
|
|
|
(define-public gdk-pixbuf
|
|
|
|
(package
|
|
|
|
(name "gdk-pixbuf")
|
2018-04-15 14:42:09 +02:00
|
|
|
(version "2.36.12")
|
2013-06-15 09:26:07 +02:00
|
|
|
(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"))
|
2013-06-15 09:26:07 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
2018-04-15 14:42:09 +02:00
|
|
|
"0d534ysa6n9prd17wwzisq7mj6qkhwh8wcf8qgin1ar3hbs5ry7z"))))
|
2013-06-15 09:26:07 +02:00
|
|
|
(build-system gnu-build-system)
|
2015-02-01 06:14:53 +01:00
|
|
|
(arguments
|
2015-08-22 05:38:23 +02:00
|
|
|
'(#:configure-flags '("--with-x11")
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after
|
|
|
|
'unpack 'disable-failing-tests
|
|
|
|
(lambda _
|
|
|
|
(substitute* "tests/Makefile.in"
|
2015-12-17 15:52:46 +01:00
|
|
|
;; XXX FIXME: This test fails on armhf machines with:
|
|
|
|
;; SKIP Not enough memory to load bitmap image
|
|
|
|
;; ERROR: cve-2015-4491 - too few tests run (expected 4, got 2)
|
2015-08-22 05:38:23 +02:00
|
|
|
(("cve-2015-4491\\$\\(EXEEXT\\) ") "")
|
|
|
|
;; XXX FIXME: This test fails with:
|
|
|
|
;; ERROR:pixbuf-jpeg.c:74:test_type9_rotation_exif_tag:
|
|
|
|
;; assertion failed (error == NULL): Data differ
|
|
|
|
;; (gdk-pixbuf-error-quark, 0)
|
|
|
|
(("pixbuf-jpeg\\$\\(EXEEXT\\) ") ""))
|
|
|
|
#t)))))
|
2016-04-27 15:51:32 +02:00
|
|
|
(propagated-inputs
|
|
|
|
`(;; Required by gdk-pixbuf-2.0.pc
|
|
|
|
("glib" ,glib)
|
|
|
|
("libpng" ,libpng)
|
|
|
|
;; Used for testing and required at runtime.
|
|
|
|
("shared-mime-info" ,shared-mime-info)))
|
2014-12-10 13:25:20 +01:00
|
|
|
(inputs
|
|
|
|
`(("libjpeg" ,libjpeg)
|
2015-02-01 06:14:53 +01:00
|
|
|
("libtiff" ,libtiff)
|
2016-04-06 13:29:03 +02:00
|
|
|
("libx11" ,libx11)))
|
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-05-06 22:40:33 +02:00
|
|
|
`(("pkg-config" ,pkg-config)
|
gnu: glib: Add "bin" output.
Fixes <http://bugs.gnu.org/17853>.
* gnu/packages/glib.scm (glib)[outputs]: Add "bin".
(gobject-introspection)[native-inputs]: New field.
* gnu/packages/avahi.scm (avahi)[native-inputs]: Add glib:bin.
* gnu/packages/gnome.scm (brasero, libgnome-keyring, evince,
gsettings-desktop-schemas, libnotify, gtkglext): Likewise.
* gnu/packages/gstreamer.scm (gstreamer, gst-plugins-base,
gst-plugins-base-0.10): Likewise.
* gnu/packages/gtk.scm (atk, pango, gdk-pixbuf, gtk+-2, gtk+):
Likewise.
* gnu/packages/linux.scm (udev): Likewise.
* gnu/packages/pdf.scm (poppler): Likewise.
2014-06-30 18:05:57 +02:00
|
|
|
("glib" ,glib "bin") ; glib-mkenums, etc.
|
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
|
|
|
("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
|
2013-06-15 09:26:07 +02:00
|
|
|
(synopsis "GNOME image loading and manipulation library")
|
|
|
|
(description
|
|
|
|
"GdkPixbuf is a library for image loading and manipulation developed
|
|
|
|
in the GNOME project.")
|
|
|
|
(license license:lgpl2.0+)
|
|
|
|
(home-page "https://developer.gnome.org/gdk-pixbuf/")))
|
2013-07-15 22:41:19 +02:00
|
|
|
|
2016-03-14 13:10:43 +01:00
|
|
|
;; To build gdk-pixbuf with SVG support, we need librsvg, and librsvg depends
|
|
|
|
;; on gdk-pixbuf, so this new varibale. Also, librsvg adds 90MiB to the
|
|
|
|
;; closure size.
|
|
|
|
(define-public gdk-pixbuf+svg
|
2017-01-09 06:09:41 +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
|
|
|
|
'(#:configure-flags '("--with-x11")
|
|
|
|
#:tests? #f ; tested by the gdk-pixbuf package already
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(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"
|
|
|
|
loaders)))))))
|
2016-03-14 13:10:43 +01:00
|
|
|
(synopsis
|
|
|
|
"GNOME image loading and manipulation library, with SVG support")))
|
|
|
|
|
2013-10-01 00:08:45 +02:00
|
|
|
(define-public at-spi2-core
|
|
|
|
(package
|
|
|
|
(name "at-spi2-core")
|
2017-12-06 16:50:00 +01:00
|
|
|
(version "2.26.2")
|
2013-10-01 00:08:45 +02:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://gnome/sources/" name "/"
|
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
|
|
|
(version-major+minor version) "/"
|
|
|
|
name "-" version ".tar.xz"))
|
2013-10-01 00:08:45 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
2017-12-06 16:50:00 +01:00
|
|
|
"0596ghkamkxgv08r4a1pdhm06qd5zzgcfqsv64038w9xbvghq3n8"))))
|
2013-10-01 00:08:45 +02:00
|
|
|
(build-system gnu-build-system)
|
2015-04-08 05:30:58 +02:00
|
|
|
(outputs '("out" "doc"))
|
2013-10-01 00:08:45 +02:00
|
|
|
(arguments
|
Remove all the 'CC=gcc' hacks for 'g-ir-scanner'.
* gnu/packages/glib.scm (telepathy-glib)[arguments]: Remove.
* gnu/packages/gtk.scm (at-spi2-core, gtk+-2): Remove #:make-flags.
* gnu/packages/gnome.scm (libpeas, librsvg, vala, vte, json-glib,
libxklavier, libsoup, libsecret, colord, geocode-glib, libgweather):
Remove #:make-flags or the '(setenv "CC" "gcc")' phase.
2015-04-22 04:23:59 +02:00
|
|
|
'(#:configure-flags
|
2015-04-08 05:30:58 +02:00
|
|
|
(list (string-append "--with-html-dir="
|
|
|
|
(assoc-ref %outputs "doc")
|
|
|
|
"/share/gtk-doc/html"))
|
2015-04-08 04:44:05 +02:00
|
|
|
#:phases
|
2015-04-08 04:31:21 +02:00
|
|
|
(modify-phases %standard-phases
|
2015-04-10 11:35:50 +02:00
|
|
|
(replace 'check
|
2015-04-08 04:31:21 +02:00
|
|
|
;; Run test-suite under a dbus session.
|
|
|
|
(lambda _
|
2015-10-16 15:07:48 +02:00
|
|
|
;; Don't fail on missing '/etc/machine-id'.
|
|
|
|
(setenv "DBUS_FATAL_WARNINGS" "0")
|
2018-03-23 09:45:35 +01:00
|
|
|
(invoke "dbus-launch" "make" "check"))))))
|
2015-04-08 04:39:02 +02:00
|
|
|
(propagated-inputs
|
|
|
|
;; atspi-2.pc refers to all these.
|
|
|
|
`(("dbus" ,dbus)
|
|
|
|
("glib" ,glib)))
|
|
|
|
(inputs
|
|
|
|
`(("libxi" ,libxi)
|
|
|
|
("libxtst" ,libxtst)))
|
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
|
2015-04-08 04:44:05 +02:00
|
|
|
`(("gobject-introspection" ,gobject-introspection)
|
|
|
|
("intltool" ,intltool)
|
|
|
|
("pkg-config" ,pkg-config)))
|
2013-10-01 00:08:45 +02:00
|
|
|
(synopsis "Assistive Technology Service Provider Interface, core components")
|
|
|
|
(description
|
|
|
|
"The Assistive Technology Service Provider Interface, core components,
|
|
|
|
is part of the GNOME accessibility project.")
|
|
|
|
(license license:lgpl2.0+)
|
|
|
|
(home-page "https://projects.gnome.org/accessibility/")))
|
|
|
|
|
2013-10-01 00:26:54 +02:00
|
|
|
(define-public at-spi2-atk
|
|
|
|
(package
|
|
|
|
(name "at-spi2-atk")
|
2017-12-06 16:50:22 +01:00
|
|
|
(version "2.26.1")
|
2013-10-01 00:26:54 +02:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://gnome/sources/" name "/"
|
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
|
|
|
(version-major+minor version) "/"
|
|
|
|
name "-" version ".tar.xz"))
|
2013-10-01 00:26:54 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
2017-12-06 16:50:22 +01:00
|
|
|
"0x9vc99ni46fg5dzlx67vbw0zqffr24gz8jvbdxbmzyvc5xw5w5l"))))
|
2013-10-01 00:26:54 +02:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
2015-04-08 05:17:06 +02:00
|
|
|
'(#:phases
|
|
|
|
(modify-phases %standard-phases
|
2015-04-10 11:35:50 +02:00
|
|
|
(replace 'check
|
2015-04-08 05:17:06 +02:00
|
|
|
;; Run test-suite under a dbus session.
|
|
|
|
(lambda _
|
2015-10-17 11:52:54 +02:00
|
|
|
(setenv "DBUS_FATAL_WARNINGS" "0")
|
2018-03-23 09:46:47 +01:00
|
|
|
(invoke "dbus-launch" "make" "check"))))))
|
2015-04-08 05:24:40 +02:00
|
|
|
(propagated-inputs
|
|
|
|
`(("at-spi2-core" ,at-spi2-core))) ; required by atk-bridge-2.0.pc
|
|
|
|
(inputs
|
|
|
|
`(("atk" ,atk)))
|
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
|
2015-04-08 05:24:40 +02:00
|
|
|
`(("dbus" ,dbus) ; for testing
|
|
|
|
("pkg-config" ,pkg-config)))
|
2013-10-01 00:26:54 +02:00
|
|
|
(synopsis "Assistive Technology Service Provider Interface, ATK bindings")
|
|
|
|
(description
|
|
|
|
"The Assistive Technology Service Provider Interface
|
|
|
|
is part of the GNOME accessibility project.")
|
|
|
|
(license license:lgpl2.0+)
|
|
|
|
(home-page "https://projects.gnome.org/accessibility/")))
|
|
|
|
|
2013-10-01 19:46:45 +02:00
|
|
|
(define-public gtk+-2
|
2013-07-15 22:41:19 +02:00
|
|
|
(package
|
|
|
|
(name "gtk+")
|
2018-02-20 14:33:22 +01:00
|
|
|
(version "2.24.32")
|
2013-07-15 22:41:19 +02:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2013-10-01 20:25:30 +02:00
|
|
|
(uri (string-append "mirror://gnome/sources/" name "/"
|
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
|
|
|
(version-major+minor version) "/"
|
|
|
|
name "-" version ".tar.xz"))
|
2013-07-15 22:41:19 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
2018-02-20 14:33:22 +01:00
|
|
|
"0bjq7ja9gwcv6n5q4qkvdjjx40wsdiikksz1zqxvxsm5vlyskj5n"))
|
2016-04-27 15:51:32 +02:00
|
|
|
(patches (search-patches "gtk2-respect-GUIX_GTK2_PATH.patch"
|
2016-08-24 22:59:16 +02:00
|
|
|
"gtk2-respect-GUIX_GTK2_IM_MODULE_FILE.patch"
|
2018-02-20 14:33:22 +01:00
|
|
|
"gtk2-theme-paths.patch"))))
|
2013-07-15 22:41:19 +02:00
|
|
|
(build-system gnu-build-system)
|
2015-04-08 09:09:26 +02:00
|
|
|
(outputs '("out" "doc"))
|
2013-07-15 23:15:45 +02:00
|
|
|
(propagated-inputs
|
2013-07-15 22:41:19 +02:00
|
|
|
`(("atk" ,atk)
|
2016-04-27 15:51:32 +02:00
|
|
|
("gdk-pixbuf" ,gdk-pixbuf+svg)
|
2013-07-15 23:15:45 +02:00
|
|
|
("pango" ,pango)))
|
2015-04-08 09:05:11 +02:00
|
|
|
(inputs
|
|
|
|
`(("cups" ,cups)
|
|
|
|
("libxcomposite" ,libxcomposite)
|
|
|
|
("libxcursor" ,libxcursor)
|
|
|
|
("libxdamage" ,libxdamage)
|
|
|
|
("libxi" ,libxi)
|
|
|
|
("libxinerama" ,libxinerama)
|
|
|
|
("libxrandr" ,libxrandr)))
|
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
|
2013-10-01 20:25:30 +02:00
|
|
|
`(("perl" ,perl)
|
2016-09-25 09:33:02 +02:00
|
|
|
("gettext" ,gettext-minimal)
|
gnu: glib: Add "bin" output.
Fixes <http://bugs.gnu.org/17853>.
* gnu/packages/glib.scm (glib)[outputs]: Add "bin".
(gobject-introspection)[native-inputs]: New field.
* gnu/packages/avahi.scm (avahi)[native-inputs]: Add glib:bin.
* gnu/packages/gnome.scm (brasero, libgnome-keyring, evince,
gsettings-desktop-schemas, libnotify, gtkglext): Likewise.
* gnu/packages/gstreamer.scm (gstreamer, gst-plugins-base,
gst-plugins-base-0.10): Likewise.
* gnu/packages/gtk.scm (atk, pango, gdk-pixbuf, gtk+-2, gtk+):
Likewise.
* gnu/packages/linux.scm (udev): Likewise.
* gnu/packages/pdf.scm (poppler): Likewise.
2014-06-30 18:05:57 +02:00
|
|
|
("glib" ,glib "bin")
|
2015-03-15 23:12:32 +01:00
|
|
|
("gobject-introspection" ,gobject-introspection)
|
2013-10-01 20:25:30 +02:00
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
("python-wrapper" ,python-wrapper)))
|
2013-07-15 22:41:19 +02:00
|
|
|
(arguments
|
Remove all the 'CC=gcc' hacks for 'g-ir-scanner'.
* gnu/packages/glib.scm (telepathy-glib)[arguments]: Remove.
* gnu/packages/gtk.scm (at-spi2-core, gtk+-2): Remove #:make-flags.
* gnu/packages/gnome.scm (libpeas, librsvg, vala, vte, json-glib,
libxklavier, libsoup, libsecret, colord, geocode-glib, libgweather):
Remove #:make-flags or the '(setenv "CC" "gcc")' phase.
2015-04-22 04:23:59 +02:00
|
|
|
`(#:configure-flags
|
2015-04-08 09:09:26 +02:00
|
|
|
(list "--with-xinput=yes"
|
|
|
|
(string-append "--with-html-dir="
|
|
|
|
(assoc-ref %outputs "doc")
|
|
|
|
"/share/gtk-doc/html"))
|
2015-03-15 23:12:32 +01:00
|
|
|
#:phases
|
2014-03-31 01:09:10 +02:00
|
|
|
(alist-cons-before
|
|
|
|
'configure 'disable-tests
|
|
|
|
(lambda _
|
|
|
|
;; FIXME: re-enable tests requiring an X server
|
|
|
|
(substitute* "gtk/Makefile.in"
|
2018-03-23 07:38:33 +01:00
|
|
|
(("SUBDIRS = theme-bits . tests") "SUBDIRS = theme-bits ."))
|
|
|
|
#t)
|
2015-12-03 08:30:04 +01:00
|
|
|
%standard-phases)))
|
|
|
|
(native-search-paths
|
|
|
|
(list (search-path-specification
|
|
|
|
(variable "GUIX_GTK2_PATH")
|
|
|
|
(files '("lib/gtk-2.0")))))
|
2013-08-05 19:55:01 +02:00
|
|
|
(synopsis "Cross-platform toolkit for creating graphical user interfaces")
|
2013-07-15 22:41:19 +02:00
|
|
|
(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.")
|
|
|
|
(license license:lgpl2.0+)
|
|
|
|
(home-page "http://www.gtk.org/")))
|
2013-09-28 21:42:02 +02:00
|
|
|
|
2013-10-01 19:46:45 +02:00
|
|
|
(define-public gtk+
|
|
|
|
(package (inherit gtk+-2)
|
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 "gtk+")
|
2017-01-14 22:03:06 +01:00
|
|
|
;; NOTE: When updating the version of 'gtk+', the hash of 'mate-themes' in
|
|
|
|
;; mate.scm will also need to be updated.
|
2018-03-22 15:04:10 +01:00
|
|
|
(version "3.22.29")
|
2013-10-01 19:46:45 +02:00
|
|
|
(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"))
|
2013-10-01 19:46:45 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
2018-03-22 15:04:10 +01:00
|
|
|
"1y5vzdbgww9l7xcrg13azff2rs94kggkywmpcsh39h7w76wn8zd0"))
|
2016-08-24 23:01:11 +02:00
|
|
|
(patches (search-patches "gtk3-respect-GUIX_GTK3_PATH.patch"
|
|
|
|
"gtk3-respect-GUIX_GTK3_IM_MODULE_FILE.patch"))))
|
2016-08-06 12:27:17 +02:00
|
|
|
(outputs '("out" "bin" "doc"))
|
2013-10-01 22:59:06 +02:00
|
|
|
(propagated-inputs
|
2013-10-01 19:46:45 +02:00
|
|
|
`(("at-spi2-atk" ,at-spi2-atk)
|
2013-10-01 22:59:06 +02:00
|
|
|
("atk" ,atk)
|
2016-04-27 15:51:32 +02:00
|
|
|
("gdk-pixbuf" ,gdk-pixbuf+svg)
|
2015-04-04 22:46:47 +02:00
|
|
|
("libepoxy" ,libepoxy)
|
2015-10-18 09:02:41 +02:00
|
|
|
("libxcursor" ,libxcursor)
|
2013-10-01 19:46:45 +02:00
|
|
|
("libxi" ,libxi)
|
|
|
|
("libxinerama" ,libxinerama)
|
2017-05-10 14:23:30 +02:00
|
|
|
("libxkbcommon" ,libxkbcommon)
|
2014-12-19 19:56:28 +01:00
|
|
|
("libxdamage" ,libxdamage)
|
2017-05-10 14:23:30 +02:00
|
|
|
("mesa" ,mesa)
|
|
|
|
("pango" ,pango)
|
|
|
|
("wayland" ,wayland)
|
|
|
|
("wayland-protocols" ,wayland-protocols)))
|
2013-10-01 22:59:06 +02:00
|
|
|
(inputs
|
2016-04-27 15:51:32 +02:00
|
|
|
`(("libxml2" ,libxml2)
|
2015-10-19 15:39:46 +02:00
|
|
|
;; XXX: colord depends on mozjs (through polkit), which fails on
|
|
|
|
;; on non-intel systems now.
|
|
|
|
;;("colord" ,colord)
|
2015-10-18 09:02:41 +02:00
|
|
|
("cups" ,cups) ;for printing support
|
2015-10-24 03:22:15 +02:00
|
|
|
;; XXX: rest depends on p11-kit, which fails on mips64el now.
|
|
|
|
;;("rest" ,rest)
|
2015-10-18 09:02:41 +02:00
|
|
|
("json-glib" ,json-glib)))
|
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-05-06 22:40:33 +02:00
|
|
|
`(("perl" ,perl)
|
gnu: glib: Add "bin" output.
Fixes <http://bugs.gnu.org/17853>.
* gnu/packages/glib.scm (glib)[outputs]: Add "bin".
(gobject-introspection)[native-inputs]: New field.
* gnu/packages/avahi.scm (avahi)[native-inputs]: Add glib:bin.
* gnu/packages/gnome.scm (brasero, libgnome-keyring, evince,
gsettings-desktop-schemas, libnotify, gtkglext): Likewise.
* gnu/packages/gstreamer.scm (gstreamer, gst-plugins-base,
gst-plugins-base-0.10): Likewise.
* gnu/packages/gtk.scm (atk, pango, gdk-pixbuf, gtk+-2, gtk+):
Likewise.
* gnu/packages/linux.scm (udev): Likewise.
* gnu/packages/pdf.scm (poppler): Likewise.
2014-06-30 18:05:57 +02:00
|
|
|
("glib" ,glib "bin")
|
2016-09-25 09:33:02 +02:00
|
|
|
("gettext" ,gettext-minimal)
|
2013-10-01 19:46:45 +02:00
|
|
|
("pkg-config" ,pkg-config)
|
2014-05-06 22:40:33 +02:00
|
|
|
("gobject-introspection" ,gobject-introspection)
|
2013-10-01 19:46:45 +02:00
|
|
|
("python-wrapper" ,python-wrapper)
|
2017-03-08 06:40:37 +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.
|
2017-04-06 15:58:59 +02:00
|
|
|
("xorg-server" ,xorg-server-1.19.3)))
|
2013-10-01 19:46:45 +02:00
|
|
|
(arguments
|
2017-04-06 15:58:59 +02:00
|
|
|
`(#:disallowed-references (,xorg-server-1.19.3)
|
2017-03-08 06:40:37 +01:00
|
|
|
;; 47 MiB goes to "out" (24 of which is locale data!), and 26 MiB goes
|
2015-04-12 14:45:08 +02:00
|
|
|
;; to "doc".
|
|
|
|
#:configure-flags (list (string-append "--with-html-dir="
|
|
|
|
(assoc-ref %outputs "doc")
|
2017-05-10 14:23:30 +02:00
|
|
|
"/share/gtk-doc/html")
|
|
|
|
;; The header file <gdk/gdkwayland.h> is required
|
|
|
|
;; by gnome-control-center
|
|
|
|
"--enable-wayland-backend"
|
|
|
|
;; This is necessary to build both backends.
|
2017-12-30 18:45:47 +01:00
|
|
|
"--enable-x11-backend"
|
|
|
|
;; This enables the HTML5 websocket backend.
|
|
|
|
"--enable-broadway-backend")
|
2016-09-18 10:15:39 +02:00
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
(add-before 'configure 'pre-configure
|
|
|
|
(lambda _
|
|
|
|
;; Disable most tests, failing in the chroot with the message:
|
|
|
|
;; D-Bus library appears to be incorrectly set up; failed to read
|
|
|
|
;; machine uuid: Failed to open "/etc/machine-id": No such file or
|
|
|
|
;; directory.
|
|
|
|
;; See the manual page for dbus-uuidgen to correct this issue.
|
|
|
|
(substitute* "testsuite/Makefile.in"
|
|
|
|
(("SUBDIRS = gdk gtk a11y css reftests")
|
|
|
|
"SUBDIRS = gdk"))
|
2016-10-14 16:57:53 +02:00
|
|
|
#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))))))
|
2015-12-03 08:32:06 +01:00
|
|
|
(native-search-paths
|
|
|
|
(list (search-path-specification
|
|
|
|
(variable "GUIX_GTK3_PATH")
|
|
|
|
(files '("lib/gtk-3.0")))))))
|
2013-10-01 00:26:54 +02:00
|
|
|
|
2013-09-28 21:42:02 +02:00
|
|
|
;;;
|
|
|
|
;;; Guile bindings.
|
|
|
|
;;;
|
|
|
|
|
|
|
|
(define-public guile-cairo
|
|
|
|
(package
|
|
|
|
(name "guile-cairo")
|
|
|
|
(version "1.4.1")
|
|
|
|
(source (origin
|
2017-03-13 22:18:13 +01:00
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"http://download.gna.org/guile-cairo/guile-cairo-"
|
|
|
|
version
|
|
|
|
".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1f5nd9n46n6cwfl1byjml02q3y2hgn7nkx98km1czgwarxl7ws3x"))))
|
2013-09-28 21:42:02 +02:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
2017-03-13 22:26:54 +01:00
|
|
|
'(#:modules ((guix build utils)
|
|
|
|
(guix build gnu-build-system)
|
|
|
|
(ice-9 popen)
|
|
|
|
(ice-9 rdelim))
|
|
|
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
2017-03-13 22:18:13 +01:00
|
|
|
(add-before 'configure 'set-module-directory
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
;; Install modules under $out/share/guile/site/2.0.
|
2017-03-13 22:26:54 +01:00
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
(effective
|
|
|
|
(read-line
|
|
|
|
(open-pipe* OPEN_READ "guile" "-c"
|
|
|
|
"(display (effective-version))"))))
|
2017-03-13 22:18:13 +01:00
|
|
|
(substitute* "Makefile.in"
|
|
|
|
(("scmdir = ([[:graph:]]+).*" _ value)
|
2017-03-13 22:26:54 +01:00
|
|
|
(string-append "scmdir = " value "/" effective "\n")))
|
2017-03-13 22:18:13 +01:00
|
|
|
(substitute* "cairo/Makefile.in"
|
|
|
|
(("moduledir = ([[:graph:]]+).*" _ value)
|
|
|
|
(string-append "moduledir = "
|
2017-03-13 22:26:54 +01:00
|
|
|
"$(prefix)/share/guile/site/"
|
|
|
|
effective "/cairo\n'")))
|
|
|
|
#t)))
|
2017-03-13 22:18:13 +01:00
|
|
|
(add-after 'install 'install-missing-file
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
;; By default 'vector-types.scm' is not installed, so do
|
|
|
|
;; it here.
|
2017-03-13 22:26:54 +01:00
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
(effective
|
|
|
|
(read-line
|
|
|
|
(open-pipe* OPEN_READ "guile" "-c"
|
|
|
|
"(display (effective-version))"))))
|
|
|
|
(install-file "cairo/vector-types.scm"
|
|
|
|
(string-append out "/share/guile/site/"
|
|
|
|
effective "/cairo"))
|
|
|
|
#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)
|
2017-07-02 22:45:33 +02:00
|
|
|
("guile" ,guile-2.2)))
|
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
|
|
|
|
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
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://gitlab.com/wingo/guile-rsvg/"
|
|
|
|
"repository/archive.tar.gz?ref="
|
|
|
|
commit))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0vdzjx8l5nc4y2xjqs0g1rqn1zrwfsm30brh5gz00r1x41a2pvv2"))
|
|
|
|
(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
|
|
|
|
`(#:phases (modify-phases %standard-phases
|
|
|
|
(replace 'bootstrap
|
|
|
|
(lambda _
|
|
|
|
(invoke "autoreconf" "-vfi"))))))
|
2017-07-02 22:45:33 +02:00
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)
|
|
|
|
("autoconf" ,autoconf)
|
|
|
|
("automake" ,automake)
|
|
|
|
("libtool" ,libtool)
|
|
|
|
("texinfo" ,texinfo)))
|
|
|
|
(inputs `(("guile" ,guile-2.2)
|
|
|
|
("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.")
|
2017-07-02 22:45:33 +02:00
|
|
|
(home-page "http://wingolog.org/projects/guile-rsvg/")
|
|
|
|
(license license:lgpl2.1+))))
|
2015-02-27 23:53:57 +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"))
|
2016-04-08 14:18:13 +02:00
|
|
|
(patches (search-patches "guile-present-coding.patch"))
|
2015-08-31 23:00:18 +02:00
|
|
|
(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* "Makefile.in"
|
|
|
|
(("godir = .*$")
|
|
|
|
"godir = $(moddir)\n"))
|
|
|
|
#t))))
|
2015-08-31 23:00:18 +02:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(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-after 'install 'post-install
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
(guile (assoc-ref inputs "guile")))
|
|
|
|
(substitute* (find-files bin ".*")
|
|
|
|
(("guile")
|
|
|
|
(string-append guile "/bin/guile -L "
|
|
|
|
out "/share/guile/site/2.0 -C "
|
|
|
|
out "/share/guile/site/2.0 "))))
|
|
|
|
#t)))))
|
2015-08-31 23:00:18 +02:00
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
2017-07-02 22:45:33 +02:00
|
|
|
(inputs `(("guile" ,guile-2.2)))
|
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)))
|
|
|
|
(home-page "http://wingolog.org/software/guile-present/")
|
|
|
|
(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
|
|
|
|
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
|
|
|
|
`(("guile-cairo" ,guile-cairo)
|
|
|
|
("g-wrap" ,g-wrap)
|
2017-07-01 22:02:46 +02:00
|
|
|
("guile-lib" ,guile-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")
|
2016-12-25 06:50:14 +01:00
|
|
|
(version "1.12.2")
|
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/"
|
|
|
|
name "-" version ".tar.gz"))
|
2015-10-15 17:36:39 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
2016-12-25 06:50:14 +01:00
|
|
|
"16fmigxsaz85c3lgcls7biwyz8zy8c8h3jndfm54cxxas3a7zi25"))))
|
2013-10-07 23:45:55 +02:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
;; The examples lack -lcairo.
|
|
|
|
'(#:make-flags '("LDFLAGS=-lcairo")))
|
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 `(("pkg-config" ,pkg-config)))
|
2013-10-07 23:45:55 +02:00
|
|
|
(propagated-inputs
|
|
|
|
`(("libsigc++" ,libsigc++)
|
|
|
|
("freetype" ,freetype)
|
|
|
|
("fontconfig" ,fontconfig)
|
|
|
|
("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
|
|
|
|
|
|
|
(define-public pangomm
|
|
|
|
(package
|
|
|
|
(name "pangomm")
|
2016-08-22 15:44:24 +02:00
|
|
|
(version "2.40.1")
|
2013-10-09 23:32:27 +02:00
|
|
|
(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"))
|
2013-10-09 23:32:27 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
2016-08-22 15:44:24 +02:00
|
|
|
"1bz3gciff23bpw9bqc4v2l3lkq9w7394v3a4jxkvx0ap5lmfwqlp"))))
|
2013-10-09 23:32:27 +02: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 `(("pkg-config" ,pkg-config)))
|
2013-10-09 23:32:27 +02:00
|
|
|
(propagated-inputs
|
|
|
|
`(("cairo" ,cairo)
|
|
|
|
("cairomm" ,cairomm)
|
|
|
|
("glibmm" ,glibmm)
|
|
|
|
("pango" ,pango)))
|
|
|
|
(home-page "http://www.pango.org/")
|
|
|
|
(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+)))
|
|
|
|
|
|
|
|
(define-public atkmm
|
|
|
|
(package
|
|
|
|
(name "atkmm")
|
2016-02-05 10:16:15 +01:00
|
|
|
(version "2.24.2")
|
2013-10-09 23:32:27 +02:00
|
|
|
(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"))
|
2013-10-09 23:32:27 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
2016-02-05 10:16:15 +01:00
|
|
|
"1gaqwhviadsmy0fsr47686yglv1p4mpkamj0in127bz2b5bki5gz"))))
|
2013-10-09 23:32:27 +02: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 `(("pkg-config" ,pkg-config)))
|
2013-10-09 23:32:27 +02:00
|
|
|
(propagated-inputs
|
|
|
|
`(("glibmm" ,glibmm) ("atk" ,atk)))
|
2018-03-07 13:15:15 +01:00
|
|
|
(home-page "https://www.gtkmm.org")
|
2013-10-09 23:32:27 +02:00
|
|
|
(synopsis "C++ interface to the ATK accessibility library")
|
|
|
|
(description
|
|
|
|
"ATKmm provides a C++ programming interface to the ATK accessibility
|
|
|
|
toolkit.")
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
|
|
(define-public gtkmm
|
|
|
|
(package
|
|
|
|
(name "gtkmm")
|
2018-03-07 13:10:07 +01:00
|
|
|
(version "3.22.2")
|
2013-10-09 23:32:27 +02:00
|
|
|
(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"))
|
2013-10-09 23:32:27 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
2018-03-07 13:10:07 +01:00
|
|
|
"1400535lhyya462pfx8bp11k3mg3jsbdghlpygskd5ai665dkbwi"))))
|
2013-10-09 23:32:27 +02:00
|
|
|
(build-system gnu-build-system)
|
2015-10-27 10:08:02 +01:00
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)
|
2016-04-27 18:17:25 +02:00
|
|
|
("glib" ,glib "bin") ;for 'glib-compile-resources'
|
2018-03-07 13:10:57 +01:00
|
|
|
("xorg-server" ,xorg-server-1.19.3)))
|
2013-10-09 23:32:27 +02:00
|
|
|
(propagated-inputs
|
|
|
|
`(("pangomm" ,pangomm)
|
|
|
|
("cairomm" ,cairomm)
|
|
|
|
("atkmm" ,atkmm)
|
|
|
|
("gtk+" ,gtk+)
|
|
|
|
("glibmm" ,glibmm)))
|
2016-04-27 18:17:25 +02:00
|
|
|
(arguments
|
2018-03-07 13:10:57 +01:00
|
|
|
`(;; XXX: Tests require C++14 or later. Remove this when the default
|
2018-03-07 13:10:07 +01:00
|
|
|
;; compiler is >= GCC6.
|
|
|
|
#:configure-flags '("CXXFLAGS=-std=gnu++14")
|
2018-03-07 13:10:57 +01:00
|
|
|
#:disallowed-references (,xorg-server-1.19.3)
|
2018-03-07 13:10:07 +01:00
|
|
|
#:phases (modify-phases %standard-phases
|
2016-04-27 18:17:25 +02:00
|
|
|
(add-before 'check 'run-xvfb
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
(let ((xorg-server (assoc-ref inputs "xorg-server")))
|
|
|
|
;; Tests such as 'object_move/test' require a running
|
|
|
|
;; X server.
|
|
|
|
(system (string-append xorg-server "/bin/Xvfb :1 &"))
|
|
|
|
(setenv "DISPLAY" ":1")
|
|
|
|
;; Don't fail because of the missing /etc/machine-id.
|
|
|
|
(setenv "DBUS_FATAL_WARNINGS" "0")
|
|
|
|
#t))))))
|
2018-03-07 13:15:15 +01:00
|
|
|
(home-page "https://gtkmm.org/")
|
2013-10-09 23:32:27 +02:00
|
|
|
(synopsis
|
|
|
|
"C++ interface to the GTK+ graphical user interface library")
|
|
|
|
(description
|
|
|
|
"gtkmm is the official C++ interface for the popular GUI library GTK+.
|
|
|
|
Highlights include typesafe callbacks, and a comprehensive set of widgets that
|
|
|
|
are easily extensible via inheritance. You can create user interfaces either
|
|
|
|
in code or with the Glade User Interface designer, using libglademm. There's
|
|
|
|
extensive documentation, including API reference and a tutorial.")
|
|
|
|
(license license:lgpl2.1+)))
|
2014-02-02 11:27:36 +01:00
|
|
|
|
|
|
|
|
|
|
|
(define-public gtkmm-2
|
|
|
|
(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")
|
2014-02-02 11:27:36 +01:00
|
|
|
(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"))
|
2014-02-02 11:27:36 +01:00
|
|
|
(sha256
|
|
|
|
(base32
|
2017-01-09 06:26:43 +01:00
|
|
|
"0wkbzvsx4kgw16f6xjdc1dz7f77ldngdila4yi5lw2zrgcxsb006"))))
|
2015-10-16 16:19:20 +02:00
|
|
|
(arguments
|
|
|
|
'(#:configure-flags '("CPPFLAGS=-std=c++11"))) ; required by libsigc++
|
2015-10-27 10:08:02 +01:00
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
2014-02-02 11:27:36 +01:00
|
|
|
(propagated-inputs
|
|
|
|
`(("pangomm" ,pangomm)
|
|
|
|
("cairomm" ,cairomm)
|
|
|
|
("atkmm" ,atkmm)
|
|
|
|
("gtk+" ,gtk+-2)
|
|
|
|
("glibmm" ,glibmm)))))
|
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)
|
|
|
|
("gtkmm" ,gtkmm)
|
|
|
|
("gtksourceview" ,gtksourceview)))
|
|
|
|
(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")
|
2018-03-28 21:54:05 +02:00
|
|
|
(version "1.16.3")
|
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
|
2018-03-28 21:54:05 +02:00
|
|
|
"1xq1bwhyi5imca5kvd28szh2rdzi8g0kaspwaqgsbczqskjj3csv"))))
|
|
|
|
(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
|
|
|
|
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)
|
|
|
|
(propagated-inputs
|
|
|
|
`(("python2-funcsigs" ,python2-funcsigs)
|
|
|
|
,@(package-propagated-inputs pycairo)))
|
|
|
|
;; 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)
|
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")
|
|
|
|
(version "1.106")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"mirror://cpan/authors/id/X/XA/XAOC/Cairo-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1i25kks408c54k2zxskvg54l5k3qadzm8n72ffga9jy7ic0h6j76"))))
|
|
|
|
(build-system perl-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("perl-extutils-depends" ,perl-extutils-depends)
|
|
|
|
("perl-extutils-pkgconfig" ,perl-extutils-pkgconfig)))
|
|
|
|
(inputs
|
|
|
|
`(("cairo" ,cairo)))
|
|
|
|
(home-page "http://search.cpan.org/dist/Cairo/")
|
|
|
|
(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+)))
|
|
|
|
|
2018-02-24 23:51:09 +01:00
|
|
|
(define-public perl-gtk2
|
|
|
|
(package
|
|
|
|
(name "perl-gtk2")
|
|
|
|
(version "1.24992")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/X/XA/XAOC/Gtk2-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1044rj3wbfmgaif2jb0k28m2aczli6ai2n5yvn6pr7zjyw16kvd2"))))
|
|
|
|
(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)))
|
|
|
|
(home-page "http://search.cpan.org/dist/Gtk2/")
|
|
|
|
(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+)))
|
|
|
|
|
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)))
|
|
|
|
(home-page "http://search.cpan.org/dist/Pango/")
|
|
|
|
(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")
|
2017-12-26 22:12:29 +01:00
|
|
|
(version "0.2.8")
|
2015-03-02 00:25:10 +01:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri
|
|
|
|
(string-append "https://pwmt.org/projects/girara/download/girara-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2017-12-26 22:12:29 +01:00
|
|
|
"18wss3sak3djip090v2vdbvq1mvkwcspfswc87zbvv3magihan98"))))
|
2015-03-02 00:25:10 +01:00
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)
|
2017-12-27 01:16:48 +01:00
|
|
|
("check" ,check)
|
2017-12-26 22:12:29 +01:00
|
|
|
("gettext" ,gettext-minimal)
|
2017-12-27 01:24:18 +01:00
|
|
|
("glib:bin" ,glib "bin")
|
2018-02-17 00:10:08 +01:00
|
|
|
("xorg-server" ,xorg-server-1.19.3)))
|
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
|
|
|
|
`(#:make-flags
|
|
|
|
`(,(string-append "PREFIX=" (assoc-ref %outputs "out"))
|
|
|
|
"COLOR=0" "CC=gcc")
|
|
|
|
#:test-target "test"
|
2018-02-17 00:10:08 +01:00
|
|
|
#:disallowed-references (,xorg-server-1.19.3)
|
2017-12-27 01:24:18 +01:00
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
(delete 'configure)
|
|
|
|
(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 " &")))))))))
|
2015-03-02 00:25:10 +01:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(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")
|
2016-08-04 12:19:23 +02:00
|
|
|
(version "1.25")
|
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
|
2016-08-04 12:19:23 +02:00
|
|
|
"0hpxcij9xx9ny3gs9p0iz4r8zslw8wqymbyababiyl7603a6x90y"))))
|
2015-08-08 19:34:58 +02:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(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
|
2017-07-09 16:40:59 +02:00
|
|
|
(add-before 'build 'set-HOME
|
|
|
|
(lambda _
|
|
|
|
;; FIXME: dblatex with texlive-union does not find the built
|
|
|
|
;; metafonts, so it tries to generate them in HOME.
|
|
|
|
(setenv "HOME" "/tmp")
|
|
|
|
#t))
|
|
|
|
(add-before 'configure 'fix-docbook
|
2016-02-24 15:31:15 +01:00
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
(substitute* "configure"
|
|
|
|
;; The configure check is overzealous about making sure that
|
|
|
|
;; things are in place -- it uses the xmlcatalog tool to make
|
|
|
|
;; sure that docbook-xsl is available, but this tool can only
|
|
|
|
;; look in one catalog file, unlike the $XML_CATALOG_FILES
|
|
|
|
;; variable that Guix defines. Fool the test by using the
|
|
|
|
;; docbook-xsl catalog explicitly and get on with life.
|
|
|
|
(("\"\\$XML_CATALOG_FILE\" \
|
|
|
|
\"http://docbook.sourceforge.net/release/xsl/")
|
2016-02-26 04:20:58 +01:00
|
|
|
(string-append (car (find-files (assoc-ref inputs "docbook-xsl")
|
|
|
|
"^catalog.xml$"))
|
|
|
|
" \"http://docbook.sourceforge.net/release/xsl/")))
|
|
|
|
#t)))
|
2016-02-24 15:31:15 +01:00
|
|
|
#:configure-flags
|
2015-08-08 19:34:58 +02:00
|
|
|
(list (string-append "--with-xml-catalog="
|
|
|
|
(assoc-ref %build-inputs "docbook-xml")
|
|
|
|
"/xml/dtd/docbook/catalog.xml"))))
|
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
("itstool" ,itstool)
|
|
|
|
("libxml" ,libxml2)
|
2016-09-25 09:33:02 +02:00
|
|
|
("gettext" ,gettext-minimal)
|
2015-08-08 19:34:58 +02:00
|
|
|
("bc" ,bc)))
|
|
|
|
(inputs
|
|
|
|
`(("perl" ,perl)
|
|
|
|
("python" ,python)
|
|
|
|
("xsltproc" ,libxslt)
|
|
|
|
("dblatex" ,dblatex)
|
|
|
|
("docbook-xml" ,docbook-xml-4.3)
|
|
|
|
("docbook-xsl" ,docbook-xsl)
|
|
|
|
("source-highlight" ,source-highlight)
|
|
|
|
("glib" ,glib)))
|
|
|
|
(home-page "http://www.gtk.org/gtk-doc/")
|
|
|
|
(synopsis "Documentation generator from C source code")
|
|
|
|
(description
|
gnu: Adjust formatting as recommended by 'guix lint'.
* gnu/packages/aidc.scm (barcode, qrencode),
gnu/packages/bash.scm (bash, bash-completion),
gnu/packages/busybox.scm (busybox),
gnu/packages/cdrom.scm (cdparanoia),
gnu/packages/cmake.scm (cmake),
gnu/packages/conkeror.scm (conkeror),
gnu/packages/cook.scm (cook),
gnu/packages/curl.scm (curl),
gnu/packages/docbook.scm (docbook-xsl),
gnu/packages/enlightenment.scm (enlightenment),
gnu/packages/games.scm (abbaye),
gnu/packages/geeqie.scm (exiv2),
gnu/packages/gimp.scm (gegl),
gnu/packages/gl.scm (glu, freeglut, ftgl),
gnu/packages/glib.scm (glib),
gnu/packages/gnome.scm (orbit2, gconf, geocode-glib),
gnu/packages/gstreamer.scm (gstreamer, gst-plugins-base),
gnu/packages/linux.scm (util-linux),
gnu/packages/lisp.scm (gcl, ecl),
gnu/packages/maths.scm (gnuplot, hdf5),
gnu/packages/ssh.scm (dropbear),
gnu/packages/web.scm (json-c): Remove tabulations and trailing
white spaces or reformat to fit within 80 columns.
* gnu/packages/audio.scm (aubio),
gnu/packages/emacs.scm (emacs-s),
gnu/packages/engineering.scm (geda-gaf),
gnu/packages/games.scm (dosbox),
gnu/packages/gnome.scm (gusb),
gnu/packages/gtk.scm (gtk+),
gnu/packages/guile.scm (guile-wisp),
gnu/packages/hurd.scm (hurd-headers),
gnu/packages/wm.scm (i3-wm): Adjust synopsis or description.
2015-11-13 15:50:36 +01:00
|
|
|
"GTK-Doc generates API documentation from comments added to C code. It is
|
2015-08-08 19:34:58 +02:00
|
|
|
typically used to document the public API of GTK+ and GNOME libraries, but it
|
|
|
|
can also be used to document application code.")
|
|
|
|
(license license:gpl2+)))
|
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")
|
2018-01-10 17:52:20 +01:00
|
|
|
(version "3.0.9")
|
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
|
2018-01-10 17:52:20 +01:00
|
|
|
"09jdicmpipmj4v84gnkqwbmj4lh8v0i6pn967rb9jx4zg2ia9x54"))))
|
2016-05-11 00:15:54 +02:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("intltool" ,intltool)
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
(inputs
|
|
|
|
`(("enchant" ,enchant)
|
|
|
|
("gobject-introspection" ,gobject-introspection)
|
|
|
|
("gtk+" ,gtk+)
|
|
|
|
("pango" ,pango)))
|
2018-03-25 14:04:18 +02:00
|
|
|
(propagated-inputs
|
|
|
|
`(("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")
|
|
|
|
(version "1.4.2")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"https://github.com/downloads/ClipIt/clipit-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0jrwn8qfgb15rwspdp1p8hb1nc0ngmpvgr87d4k3lhlvqg2cfqva"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("intltool" ,intltool)
|
|
|
|
("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")
|
|
|
|
(version "1.6.0")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"https://github.com/ebassi/graphene/archive/"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32 "1zd2daj7y590wnzn4jw0niyc4fnzgxrcl9i7nwhy8b25ks2hz5wq"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:configure-flags '("--enable-introspection=yes")
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-before 'configure 'autogen
|
|
|
|
(lambda _
|
|
|
|
(zero? (system* "./autogen.sh")))))))
|
|
|
|
(native-inputs
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
("which" ,which)
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
("automake" ,automake)
|
|
|
|
("libtool" ,libtool)))
|
|
|
|
(inputs
|
|
|
|
`(("python" ,python)
|
|
|
|
("python-2" ,python-2)
|
|
|
|
("glib" ,glib)
|
|
|
|
("gobject-introspection" ,gobject-introspection)))
|
|
|
|
(home-page "http://ebassi.github.io/graphene")
|
|
|
|
(synopsis "Thin layer of graphic data types")
|
|
|
|
(description "This library provides graphic types and their relative API;
|
|
|
|
it does not deal with windowing system surfaces, drawing, scene graphs, or
|
|
|
|
input.")
|
|
|
|
(license license:expat)))
|