1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2013, 2014, 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org>
4 ;;; Copyright © 2014, 2015, 2017 Mark H Weaver <mhw@netris.org>
5 ;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
6 ;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch>
7 ;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
8 ;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
9 ;;; Copyright © 2015 Andy Wingo <wingo@igalia.com>
10 ;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
11 ;;; Coypright © 2015, 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
12 ;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
13 ;;; Copyright © 2016 Fabian Harfert <fhmgufs@web.de>
14 ;;; Copyright © 2016 Kei Kebreau <kkebreau@posteo.net>
15 ;;; Copyright © 2016 Patrick Hetu <patrick.hetu@auf.org>
16 ;;; Coypright © 2016 ng0 <ng0@we.make.ritual.n0.is>
17 ;;; Coypright © 2017 Roel Janssen <roel@gnu.org>
18 ;;; Coypright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
19 ;;; Coypright © 2017 Marius Bakke <mbakke@fastmail.com>
21 ;;; This file is part of GNU Guix.
23 ;;; GNU Guix is free software; you can redistribute it and/or modify it
24 ;;; under the terms of the GNU General Public License as published by
25 ;;; the Free Software Foundation; either version 3 of the License, or (at
26 ;;; your option) any later version.
28 ;;; GNU Guix is distributed in the hope that it will be useful, but
29 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
30 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31 ;;; GNU General Public License for more details.
33 ;;; You should have received a copy of the GNU General Public License
34 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
36 (define-module (gnu packages gtk)
37 #:use-module ((guix licenses) #:prefix license:)
38 #:use-module (guix utils)
39 #:use-module (guix packages)
40 #:use-module (guix download)
41 #:use-module (guix git-download)
42 #:use-module (guix build-system gnu)
43 #:use-module (guix build-system python)
44 #:use-module (guix build-system waf)
45 #:use-module (gnu packages)
46 #:use-module (gnu packages algebra)
47 #:use-module (gnu packages autotools)
48 #:use-module (gnu packages base)
49 #:use-module (gnu packages texinfo)
50 #:use-module (gnu packages check)
51 #:use-module (gnu packages compression)
52 #:use-module (gnu packages docbook)
53 #:use-module (gnu packages enchant)
54 #:use-module (gnu packages fontutils)
55 #:use-module (gnu packages freedesktop)
56 #:use-module (gnu packages gettext)
57 #:use-module (gnu packages ghostscript)
58 #:use-module (gnu packages gl)
59 #:use-module (gnu packages glib)
60 #:use-module (gnu packages gnome)
61 #:use-module (gnu packages icu4c)
62 #:use-module (gnu packages image)
63 #:use-module (gnu packages libffi)
64 #:use-module (gnu packages pdf)
65 #:use-module (gnu packages perl)
66 #:use-module (gnu packages pkg-config)
67 #:use-module (gnu packages pretty-print)
68 #:use-module (gnu packages python)
69 #:use-module (gnu packages guile)
70 #:use-module (gnu packages cups)
71 #:use-module (gnu packages xml)
72 #:use-module (gnu packages xorg)
73 #:use-module (gnu packages xdisorg))
81 (uri (string-append "mirror://gnome/sources/" name "/"
82 (version-major+minor version) "/"
83 name "-" version ".tar.xz"))
86 "1jwpx8az0iifw176dc2hl4mmg6gvxzxdkd1qvg4ds7c5hdmzy07g"))))
87 (build-system gnu-build-system)
88 (outputs '("out" "doc"))
91 (list (string-append "--with-html-dir="
92 (assoc-ref %outputs "doc")
93 "/share/gtk-doc/html"))))
94 (propagated-inputs `(("glib" ,glib))) ; required by atk.pc
96 `(("pkg-config" ,pkg-config)
97 ("glib" ,glib "bin") ; glib-mkenums, etc.
98 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
99 (synopsis "GNOME accessibility toolkit")
101 "ATK provides the set of accessibility interfaces that are implemented
102 by other toolkits and applications. Using the ATK interfaces, accessibility
103 tools have full access to view and control running applications.")
104 (license license:lgpl2.0+)
105 (home-page "https://developer.gnome.org/atk/")))
113 (uri (string-append "https://cairographics.org/releases/cairo-"
117 "02banr0wxckq62nbhc3mqidfdh2q956i2r7w2hd9bjgjb238g1vy"))
118 (patches (search-patches "cairo-CVE-2016-9082.patch"))))
119 (build-system gnu-build-system)
121 `(("fontconfig" ,fontconfig)
122 ("freetype" ,freetype)
127 ("libxrender" ,libxrender)
130 `(("ghostscript" ,ghostscript)
131 ("libspectre" ,libspectre)
133 ("xextproto" ,xextproto)
136 `(("pkg-config" ,pkg-config)
137 ("python" ,python-wrapper)))
139 `(#:tests? #f ; see http://lists.gnu.org/archive/html/bug-guix/2013-06/msg00085.html
140 #:configure-flags '("--enable-tee"))) ; needed for GNU Icecat
141 (synopsis "2D graphics library")
143 "Cairo is a 2D graphics library with support for multiple output devices.
144 Currently supported output targets include the X Window System (via both
145 Xlib and XCB), Quartz, Win32, image buffers, PostScript, PDF, and SVG file
146 output. Experimental backends include OpenGL, BeOS, OS/2, and DirectFB.
148 Cairo is designed to produce consistent output on all output media while
149 taking advantage of display hardware acceleration when available
150 eg. through the X Render Extension).
152 The cairo API provides operations similar to the drawing operators of
153 PostScript and PDF. Operations in cairo including stroking and filling cubic
154 Bézier splines, transforming and compositing translucent images, and
155 antialiased text rendering. All drawing operations can be transformed by any
156 affine transformation (scale, rotation, shear, etc.).")
157 (license license:lgpl2.1) ; or Mozilla Public License 1.1
158 (home-page "https://cairographics.org/")))
160 (define-public cairo-xcb
166 ,@(package-inputs cairo)))
170 '("--enable-xlib-xcb" "--enable-gl" "--enable-egl")))
171 (synopsis "2D graphics library (with X11 support)")))
173 (define-public harfbuzz
179 (uri (string-append "https://www.freedesktop.org/software/"
180 "harfbuzz/release/harfbuzz-"
184 "1zh5n3q3mb6y6kr5m7zz1ags9z1vjwai57d6warx8qhzfrwn8lyd"))))
185 (build-system gnu-build-system)
187 "bin")) ; 160K, only hb-view depend on cairo
191 ;; There are all in the Requires or Requires.private field of '.pc'.
193 ("graphite2" ,graphite2)
196 `(("gobject-introspection" ,gobject-introspection)
197 ("pkg-config" ,pkg-config)
198 ("python" ,python-2))) ; incompatible with Python 3 (print syntax)
200 `(#:configure-flags `("--with-graphite2"
203 "--bindir=" (assoc-ref %outputs "bin") "/bin"))))
204 (synopsis "OpenType text shaping engine")
206 "HarfBuzz is an OpenType text shaping engine.")
207 (license (license:x11-style "file://COPYING"
208 "See 'COPYING' in the distribution."))
209 (home-page "https://www.freedesktop.org/wiki/Software/HarfBuzz/")))
217 (uri (string-append "mirror://gnome/sources/pango/"
218 (version-major+minor version) "/"
219 name "-" version ".tar.xz"))
222 "1qqpd8x1pl483ynj3mc5q4n8y2pxqhg2bv19vd94r7mzlzm1pbwh"))))
223 (build-system gnu-build-system)
226 ("harfbuzz" ,harfbuzz)))
230 ;; Some packages, such as Openbox, expect Pango to be built with the
231 ;; optional libxft support.
234 `(("pkg-config" ,pkg-config)
235 ("glib" ,glib "bin") ; glib-mkenums, etc.
236 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
237 (synopsis "GNOME text and font handling library")
239 "Pango is the core text and font handling library used in GNOME
240 applications. It has extensive support for the different writing systems
241 used throughout the world.")
242 (license license:lgpl2.0+)
243 (home-page "https://developer.gnome.org/pango/")))
245 (define-public pangox-compat
247 (name "pangox-compat")
251 (uri (string-append "mirror://gnome/sources/" name "/"
252 (version-major+minor version) "/"
253 name "-" version ".tar.xz"))
256 "0ip0ziys6mrqqmz4n71ays0kf5cs1xflj1gfpvs4fgy2nsrr482m"))))
257 (build-system gnu-build-system)
262 `(("intltool" ,intltool)
263 ("pkg-config" ,pkg-config)))
264 (home-page "https://developer.gnome.org/pango")
265 (synopsis "Obsolete pango functions")
266 (description "Pangox was a X backend to pango. It is now obsolete and no
267 longer provided by recent pango releases. pangox-compat provides the
268 functions which were removed.")
269 (license license:lgpl2.0+)))
277 (uri (string-append "http://download.drobilla.net/ganv-"
281 "0g7s5mp14qgbfjdql0k1s8464r21g47ssn5dws6jazsnw6njhl0l"))))
282 (build-system waf-build-system)
285 (modify-phases %standard-phases
286 (add-before 'configure 'set-flags
287 (lambda* (#:key outputs #:allow-other-keys)
288 ;; Compile with C++11, required by gtkmm.
289 (setenv "CXXFLAGS" "-std=c++11")
290 ;; Allow 'bin/ganv_bench' to find libganv-1.so.
292 (string-append "-Wl,-rpath="
293 (assoc-ref outputs "out") "/lib"))
295 #:tests? #f)) ; no check target
300 `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
301 ("pkg-config" ,pkg-config)))
302 (home-page "http://drobilla.net/software/ganv/")
303 (synopsis "GTK+ widget for interactive graph-like environments")
305 "Ganv is an interactive GTK+ widget for interactive “boxes and lines” or
306 graph-like environments, e.g. modular synths or finite state machine
308 (license license:gpl3+)))
310 (define-public ganv-devel
311 (let ((commit "12f7d6b0438c94dd87f773a92eee3453d971846e")
316 (version (string-append "1.5.4-" revision "."
317 (string-take commit 9)))
321 (url "http://git.drobilla.net/ganv.git")
325 "1cr8w02lr6bk9mkxa12j3imq721b2an2yn4bj5wnwmpm91ddn2gi")))))))
327 (define-public gtksourceview-2
329 (name "gtksourceview")
330 (version "2.10.5") ; This is the last version which builds against gtk+2
333 (uri (string-append "mirror://gnome/sources/" name "/"
334 (version-major+minor version) "/"
335 name "-" version ".tar.bz2"))
338 "07hrabhpl6n8ajz10s0d960jdwndxs87szxyn428mpxi8cvpg1f5"))))
339 (build-system gnu-build-system)
341 `(("intltool" ,intltool)
342 ("glib" ,glib "bin") ; for glib-genmarshal, etc.
343 ("pkg-config" ,pkg-config)
345 ("xorg-server" ,xorg-server)
346 ("shared-mime-info" ,shared-mime-info)))
348 ;; As per the pkg-config file.
350 ("libxml2" ,libxml2)))
353 ;; Unfortunately, some of the tests in "make check" are highly dependent
354 ;; on the environment therefore, some black magic is required.
355 (modify-phases %standard-phases
356 (add-before 'check 'start-xserver
357 (lambda* (#:key inputs #:allow-other-keys)
358 (let ((xorg-server (assoc-ref inputs "xorg-server"))
359 (mime (assoc-ref inputs "shared-mime-info")))
361 ;; There must be a running X server and make check doesn't start one.
362 ;; Therefore we must do it.
363 (system (format #f "~a/bin/Xvfb :1 &" xorg-server))
364 (setenv "DISPLAY" ":1")
366 ;; The .lang files must be found in $XDG_DATA_HOME/gtksourceview-2.0
367 (system "ln -s gtksourceview gtksourceview-2.0")
368 (setenv "XDG_DATA_HOME" (getcwd))
370 ;; Finally, the mimetypes must be available.
371 (setenv "XDG_DATA_DIRS" (string-append mime "/share/")))
373 (synopsis "Widget that extends the standard GTK+ 2.x 'GtkTextView' widget")
375 "GtkSourceView is a portable C library that extends the standard GTK+
376 framework for multiline text editing with support for configurable syntax
377 highlighting, unlimited undo/redo, search and replace, a completion framework,
378 printing and other features typical of a source code editor.")
379 (license license:lgpl2.0+)
380 (home-page "https://developer.gnome.org/gtksourceview/")))
382 (define-public gtksourceview
384 (name "gtksourceview")
388 (uri (string-append "mirror://gnome/sources/" name "/"
389 (version-major+minor version) "/"
390 name "-" version ".tar.xz"))
393 "1261fwjpwn3qizmvjns9z3k3a264j3ql5anyvmisfwywpkzbv9ks"))))
394 (build-system gnu-build-system)
397 (modify-phases %standard-phases
400 (lambda* (#:key inputs #:allow-other-keys)
401 (let ((xorg-server (assoc-ref inputs "xorg-server")))
402 ;; Tests require a running X server.
403 (system (format #f "~a/bin/Xvfb :1 &" xorg-server))
404 (setenv "DISPLAY" ":1")
405 ;; For the missing /etc/machine-id.
406 (setenv "DBUS_FATAL_WARNINGS" "0")
409 `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
410 ("intltool" ,intltool)
412 ("gobject-introspection" ,gobject-introspection)
413 ("pkg-config" ,pkg-config)
416 ("xorg-server" ,xorg-server)
417 ("shared-mime-info" ,shared-mime-info)))
419 ;; gtksourceview-3.0.pc refers to all these.
422 ("libxml2" ,libxml2)))
423 (home-page "https://wiki.gnome.org/Projects/GtkSourceView")
424 (synopsis "GNOME source code widget")
425 (description "GtkSourceView is a text widget that extends the standard
426 GTK+ text widget GtkTextView. It improves GtkTextView by implementing syntax
427 highlighting and other features typical of a source code editor.")
428 (license license:lgpl2.1+)))
430 (define-public gdk-pixbuf
436 (uri (string-append "mirror://gnome/sources/" name "/"
437 (version-major+minor version) "/"
438 name "-" version ".tar.xz"))
441 "1wz2vpciwdpdv612s8kbww08q80hgcs5dxrfsxp1a4q44n3snqmf"))))
442 (build-system gnu-build-system)
444 '(#:configure-flags '("--with-x11")
446 (modify-phases %standard-phases
448 'unpack 'disable-failing-tests
450 (substitute* "tests/Makefile.in"
451 ;; XXX FIXME: This test fails on armhf machines with:
452 ;; SKIP Not enough memory to load bitmap image
453 ;; ERROR: cve-2015-4491 - too few tests run (expected 4, got 2)
454 (("cve-2015-4491\\$\\(EXEEXT\\) ") "")
455 ;; XXX FIXME: This test fails with:
456 ;; ERROR:pixbuf-jpeg.c:74:test_type9_rotation_exif_tag:
457 ;; assertion failed (error == NULL): Data differ
458 ;; (gdk-pixbuf-error-quark, 0)
459 (("pixbuf-jpeg\\$\\(EXEEXT\\) ") ""))
462 `(;; Required by gdk-pixbuf-2.0.pc
465 ;; Used for testing and required at runtime.
466 ("shared-mime-info" ,shared-mime-info)))
468 `(("libjpeg" ,libjpeg)
472 `(("pkg-config" ,pkg-config)
473 ("glib" ,glib "bin") ; glib-mkenums, etc.
474 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
475 (synopsis "GNOME image loading and manipulation library")
477 "GdkPixbuf is a library for image loading and manipulation developed
478 in the GNOME project.")
479 (license license:lgpl2.0+)
480 (home-page "https://developer.gnome.org/gdk-pixbuf/")))
482 ;; To build gdk-pixbuf with SVG support, we need librsvg, and librsvg depends
483 ;; on gdk-pixbuf, so this new varibale. Also, librsvg adds 90MiB to the
485 (define-public gdk-pixbuf+svg
486 (package (inherit gdk-pixbuf)
487 (name "gdk-pixbuf+svg")
489 `(("librsvg" ,librsvg)
490 ,@(package-inputs gdk-pixbuf)))
492 '(#:configure-flags '("--with-x11")
493 #:tests? #f ; tested by the gdk-pixbuf package already
495 (modify-phases %standard-phases
496 (add-after 'install 'register-svg-loader
497 (lambda* (#:key inputs outputs #:allow-other-keys)
498 (let* ((out (assoc-ref outputs "out"))
499 (librsvg (assoc-ref inputs "librsvg"))
502 (find-files out "^libpixbufloader-.*\\.so$")
503 (find-files librsvg "^libpixbufloader-.*\\.so$")))
504 (gdk-pixbuf-query-loaders
505 (string-append out "/bin/gdk-pixbuf-query-loaders")))
506 (zero? (apply system* `(,gdk-pixbuf-query-loaders
507 "--update-cache" ,@loaders)))))))))
509 "GNOME image loading and manipulation library, with SVG support")))
511 (define-public at-spi2-core
513 (name "at-spi2-core")
517 (uri (string-append "mirror://gnome/sources/" name "/"
518 (version-major+minor version) "/"
519 name "-" version ".tar.xz"))
522 "0596ghkamkxgv08r4a1pdhm06qd5zzgcfqsv64038w9xbvghq3n8"))))
523 (build-system gnu-build-system)
524 (outputs '("out" "doc"))
527 (list (string-append "--with-html-dir="
528 (assoc-ref %outputs "doc")
529 "/share/gtk-doc/html"))
531 (modify-phases %standard-phases
533 ;; Run test-suite under a dbus session.
535 ;; Don't fail on missing '/etc/machine-id'.
536 (setenv "DBUS_FATAL_WARNINGS" "0")
537 (zero? (system* "dbus-launch" "make" "check")))))))
539 ;; atspi-2.pc refers to all these.
544 ("libxtst" ,libxtst)))
546 `(("gobject-introspection" ,gobject-introspection)
547 ("intltool" ,intltool)
548 ("pkg-config" ,pkg-config)))
549 (synopsis "Assistive Technology Service Provider Interface, core components")
551 "The Assistive Technology Service Provider Interface, core components,
552 is part of the GNOME accessibility project.")
553 (license license:lgpl2.0+)
554 (home-page "https://projects.gnome.org/accessibility/")))
556 (define-public at-spi2-atk
562 (uri (string-append "mirror://gnome/sources/" name "/"
563 (version-major+minor version) "/"
564 name "-" version ".tar.xz"))
567 "0x9vc99ni46fg5dzlx67vbw0zqffr24gz8jvbdxbmzyvc5xw5w5l"))))
568 (build-system gnu-build-system)
571 (modify-phases %standard-phases
573 ;; Run test-suite under a dbus session.
575 (setenv "DBUS_FATAL_WARNINGS" "0")
576 (zero? (system* "dbus-launch" "make" "check")))))))
578 `(("at-spi2-core" ,at-spi2-core))) ; required by atk-bridge-2.0.pc
582 `(("dbus" ,dbus) ; for testing
583 ("pkg-config" ,pkg-config)))
584 (synopsis "Assistive Technology Service Provider Interface, ATK bindings")
586 "The Assistive Technology Service Provider Interface
587 is part of the GNOME accessibility project.")
588 (license license:lgpl2.0+)
589 (home-page "https://projects.gnome.org/accessibility/")))
591 (define-public gtk+-2
597 (uri (string-append "mirror://gnome/sources/" name "/"
598 (version-major+minor version) "/"
599 name "-" version ".tar.xz"))
602 "0n26jm09n03nqbd00d2ij63xrby3vik56sk5yj6w1vy768kr5hb8"))
603 (patches (search-patches "gtk2-respect-GUIX_GTK2_PATH.patch"
604 "gtk2-respect-GUIX_GTK2_IM_MODULE_FILE.patch"
605 "gtk2-theme-paths.patch"
606 "gtk2-fix-failing-test.patch"))))
607 (build-system gnu-build-system)
608 (outputs '("out" "doc"))
611 ("gdk-pixbuf" ,gdk-pixbuf+svg)
615 ("libxcomposite" ,libxcomposite)
616 ("libxcursor" ,libxcursor)
617 ("libxdamage" ,libxdamage)
619 ("libxinerama" ,libxinerama)
620 ("libxrandr" ,libxrandr)))
623 ("gettext" ,gettext-minimal)
625 ("gobject-introspection" ,gobject-introspection)
626 ("pkg-config" ,pkg-config)
627 ("python-wrapper" ,python-wrapper)))
630 (list "--with-xinput=yes"
631 (string-append "--with-html-dir="
632 (assoc-ref %outputs "doc")
633 "/share/gtk-doc/html"))
636 'configure 'disable-tests
638 ;; FIXME: re-enable tests requiring an X server
639 (substitute* "gtk/Makefile.in"
640 (("SUBDIRS = theme-bits . tests") "SUBDIRS = theme-bits .")))
643 (list (search-path-specification
644 (variable "GUIX_GTK2_PATH")
645 (files '("lib/gtk-2.0")))))
646 (synopsis "Cross-platform toolkit for creating graphical user interfaces")
648 "GTK+, or the GIMP Toolkit, is a multi-platform toolkit for creating
649 graphical user interfaces. Offering a complete set of widgets, GTK+ is
650 suitable for projects ranging from small one-off tools to complete
651 application suites.")
652 (license license:lgpl2.0+)
653 (home-page "http://www.gtk.org/")))
656 (package (inherit gtk+-2)
658 ;; NOTE: When updating the version of 'gtk+', the hash of 'mate-themes' in
659 ;; mate.scm will also need to be updated.
663 (uri (string-append "mirror://gnome/sources/" name "/"
664 (version-major+minor version) "/"
665 name "-" version ".tar.xz"))
668 "0rxrsh6bcp13hihxxs8f0m9xwniby4lmfi7y5mp9fhg5439z1vk1"))
669 (patches (search-patches "gtk3-respect-GUIX_GTK3_PATH.patch"
670 "gtk3-respect-GUIX_GTK3_IM_MODULE_FILE.patch"))))
671 (outputs '("out" "bin" "doc"))
673 `(("at-spi2-atk" ,at-spi2-atk)
675 ("gdk-pixbuf" ,gdk-pixbuf+svg)
676 ("libepoxy" ,libepoxy)
677 ("libxcursor" ,libxcursor)
679 ("libxinerama" ,libxinerama)
680 ("libxkbcommon" ,libxkbcommon)
681 ("libxdamage" ,libxdamage)
685 ("wayland-protocols" ,wayland-protocols)))
687 `(("libxml2" ,libxml2)
688 ;; XXX: colord depends on mozjs (through polkit), which fails on
689 ;; on non-intel systems now.
691 ("cups" ,cups) ;for printing support
692 ;; XXX: rest depends on p11-kit, which fails on mips64el now.
694 ("json-glib" ,json-glib)))
698 ("gettext" ,gettext-minimal)
699 ("pkg-config" ,pkg-config)
700 ("gobject-introspection" ,gobject-introspection)
701 ("python-wrapper" ,python-wrapper)
702 ;; By using a special xorg-server for GTK+'s tests, we reduce the impact
703 ;; of updating xorg-server directly on the master branch.
704 ("xorg-server" ,xorg-server-1.19.3)))
706 `(#:disallowed-references (,xorg-server-1.19.3)
707 ;; 47 MiB goes to "out" (24 of which is locale data!), and 26 MiB goes
709 #:configure-flags (list (string-append "--with-html-dir="
710 (assoc-ref %outputs "doc")
711 "/share/gtk-doc/html")
712 ;; The header file <gdk/gdkwayland.h> is required
713 ;; by gnome-control-center
714 "--enable-wayland-backend"
715 ;; This is necessary to build both backends.
716 "--enable-x11-backend"
717 ;; This enables the HTML5 websocket backend.
718 "--enable-broadway-backend")
719 #:phases (modify-phases %standard-phases
720 (add-before 'configure 'pre-configure
722 ;; Disable most tests, failing in the chroot with the message:
723 ;; D-Bus library appears to be incorrectly set up; failed to read
724 ;; machine uuid: Failed to open "/etc/machine-id": No such file or
726 ;; See the manual page for dbus-uuidgen to correct this issue.
727 (substitute* "testsuite/Makefile.in"
728 (("SUBDIRS = gdk gtk a11y css reftests")
731 (add-after 'install 'move-desktop-files
732 ;; Move desktop files into 'bin' to avoid cycle references.
733 (lambda* (#:key outputs #:allow-other-keys)
734 (let ((out (assoc-ref outputs "out"))
735 (bin (assoc-ref outputs "bin")))
736 (mkdir-p (string-append bin "/share"))
737 (rename-file (string-append out "/share/applications")
738 (string-append bin "/share/applications"))
741 (list (search-path-specification
742 (variable "GUIX_GTK3_PATH")
743 (files '("lib/gtk-3.0")))))))
749 (define-public guile-cairo
756 "http://download.gna.org/guile-cairo/guile-cairo-"
761 "1f5nd9n46n6cwfl1byjml02q3y2hgn7nkx98km1czgwarxl7ws3x"))))
762 (build-system gnu-build-system)
764 '(#:modules ((guix build utils)
765 (guix build gnu-build-system)
769 #:phases (modify-phases %standard-phases
770 (add-before 'configure 'set-module-directory
771 (lambda* (#:key outputs #:allow-other-keys)
772 ;; Install modules under $out/share/guile/site/2.0.
773 (let ((out (assoc-ref outputs "out"))
776 (open-pipe* OPEN_READ "guile" "-c"
777 "(display (effective-version))"))))
778 (substitute* "Makefile.in"
779 (("scmdir = ([[:graph:]]+).*" _ value)
780 (string-append "scmdir = " value "/" effective "\n")))
781 (substitute* "cairo/Makefile.in"
782 (("moduledir = ([[:graph:]]+).*" _ value)
783 (string-append "moduledir = "
784 "$(prefix)/share/guile/site/"
785 effective "/cairo\n'")))
787 (add-after 'install 'install-missing-file
788 (lambda* (#:key outputs #:allow-other-keys)
789 ;; By default 'vector-types.scm' is not installed, so do
791 (let ((out (assoc-ref outputs "out"))
794 (open-pipe* OPEN_READ "guile" "-c"
795 "(display (effective-version))"))))
796 (install-file "cairo/vector-types.scm"
797 (string-append out "/share/guile/site/"
801 `(("guile-lib" ,guile-lib)
803 ("guile" ,guile-2.2)))
805 ;; The .pc file refers to 'cairo'.
808 `(("pkg-config" ,pkg-config)))
809 (home-page "http://www.nongnu.org/guile-cairo/")
810 (synopsis "Cairo bindings for GNU Guile")
812 "Guile-Cairo wraps the Cairo graphics library for Guile Scheme.
813 Guile-Cairo is complete, wrapping almost all of the Cairo API. It is API
814 stable, providing a firm base on which to do graphics work. Finally, and
815 importantly, it is pleasant to use. You get a powerful and well-maintained
816 graphics library with all of the benefits of Scheme: memory management,
817 exceptions, macros, and a dynamic programming environment.")
818 (license license:lgpl3+)))
820 (define-public guile-rsvg
821 ;; Use a recent snapshot that supports Guile 2.2 and beyond.
822 (let ((commit "05c6a2fd67e4fea1a7c3ff776729dc931bae6678")
826 (version (string-append "2.18.1-" revision "."
827 (string-take commit 7)))
830 (uri (string-append "https://gitlab.com/wingo/guile-rsvg/"
831 "repository/archive.tar.gz?ref="
835 "0vdzjx8l5nc4y2xjqs0g1rqn1zrwfsm30brh5gz00r1x41a2pvv2"))
836 (patches (search-patches "guile-rsvg-pkgconfig.patch"))
837 (modules '((guix build utils)))
839 '(substitute* (find-files "." "Makefile\\.am")
840 (("/share/guile/site")
841 "/share/guile/site/@GUILE_EFFECTIVE_VERSION@")))
842 (file-name (string-append name "-" version ".tar.gz"))))
843 (build-system gnu-build-system)
845 `(#:phases (modify-phases %standard-phases
846 (add-after 'unpack 'bootstrap
848 (zero? (system* "autoreconf" "-vfi")))))))
849 (native-inputs `(("pkg-config" ,pkg-config)
850 ("autoconf" ,autoconf)
851 ("automake" ,automake)
853 ("texinfo" ,texinfo)))
854 (inputs `(("guile" ,guile-2.2)
856 ("guile-lib" ,guile-lib))) ;for (unit-test)
857 (propagated-inputs `(("guile-cairo" ,guile-cairo)))
858 (synopsis "Render SVG images using Cairo from Guile")
860 "Guile-RSVG wraps the RSVG library for Guile, allowing you to render SVG
861 images onto Cairo surfaces.")
862 (home-page "http://wingolog.org/projects/guile-rsvg/")
863 (license license:lgpl2.1+))))
865 (define-public guile-present
867 (name "guile-present")
871 (uri (string-append "http://wingolog.org/pub/guile-present/"
872 "guile-present-" version ".tar.gz"))
875 "1qam447m05sxxv6x8dlzg7qnyfc4dh8apjw1idpfhpns671gfr6m"))
876 (patches (search-patches "guile-present-coding.patch"))
877 (modules '((guix build utils)))
879 '(substitute* "Makefile.in"
881 "godir = $(moddir)\n")))))
882 (build-system gnu-build-system)
885 (modify-phases %standard-phases
886 (add-after 'install 'post-install
887 (lambda* (#:key inputs outputs #:allow-other-keys)
888 (let* ((out (assoc-ref outputs "out"))
889 (bin (string-append out "/bin"))
890 (guile (assoc-ref inputs "guile")))
891 (substitute* (find-files bin ".*")
893 (string-append guile "/bin/guile -L "
894 out "/share/guile/site/2.0 -C "
895 out "/share/guile/site/2.0 "))))
897 (native-inputs `(("pkg-config" ,pkg-config)))
898 (inputs `(("guile" ,guile-2.2)))
900 ;; These are used by the (present …) modules.
901 `(("guile-lib" ,guile-lib)
902 ("guile-cairo" ,guile-cairo)
903 ("guile-rsvg" ,guile-rsvg)))
904 (home-page "http://wingolog.org/software/guile-present/")
905 (synopsis "Create SVG or PDF presentations in Guile")
907 "Guile-Present defines a declarative vocabulary for presentations,
908 together with tools to render presentation documents as SVG or PDF.
909 Guile-Present can be used to make presentations programmatically, but also
910 includes a tools to generate PDF presentations out of Org mode and Texinfo
912 (license license:lgpl3+)))
914 (define-public guile-gnome
921 (string-append "mirror://gnu/" name
922 "/guile-gnome-platform/guile-gnome-platform-"
926 "1gnf3j96nip5kl99a268i0dy1hj7s1cfs66sps3zwysnkd7qr399"))))
927 (build-system gnu-build-system)
929 `(("pkg-config" ,pkg-config)
931 ;;("corba" ,corba) ; not packaged yet
933 ("gobject-introspection" ,gobject-introspection)
934 ;;("gthread" ,gthread) ; not packaged yet
935 ("gnome-vfs" ,gnome-vfs)
936 ("gdk-pixbuf" ,gdk-pixbuf)
938 ("libglade" ,libglade)
939 ("libgnome" ,libgnome)
940 ("libgnomecanvas" ,libgnomecanvas)
941 ("libgnomeui" ,libgnomeui)
945 (inputs `(("guile" ,guile-2.2)))
947 `(("guile-cairo" ,guile-cairo)
949 ("guile-lib" ,guile-lib)))
952 #:phases (modify-phases %standard-phases
953 (add-before 'configure 'pre-configure
954 (lambda* (#:key outputs #:allow-other-keys)
955 (let ((out (assoc-ref outputs "out")))
956 (substitute* (find-files "." "^Makefile.in$")
957 (("guilesite :=.*guile/site" all)
958 (string-append all "/@GUILE_EFFECTIVE_VERSION@")))
960 (outputs '("out" "debug"))
961 (synopsis "Guile interface for GTK+ programming for GNOME")
963 "Includes guile-clutter, guile-gnome-gstreamer,
964 guile-gnome-platform (GNOME developer libraries), and guile-gtksourceview.")
965 (home-page "https://www.gnu.org/software/guile-gnome/")
966 (license license:gpl2+)
967 (properties '((upstream-name . "guile-gnome-platform")
968 (ftp-directory . "/gnu/guile-gnome/guile-gnome-platform")))))
974 (define-public cairomm
980 (uri (string-append "https://www.cairographics.org/releases/"
981 name "-" version ".tar.gz"))
984 "16fmigxsaz85c3lgcls7biwyz8zy8c8h3jndfm54cxxas3a7zi25"))))
985 (build-system gnu-build-system)
987 ;; The examples lack -lcairo.
988 '(#:make-flags '("LDFLAGS=-lcairo")))
989 (native-inputs `(("pkg-config" ,pkg-config)))
991 `(("libsigc++" ,libsigc++)
992 ("freetype" ,freetype)
993 ("fontconfig" ,fontconfig)
995 (home-page "https://cairographics.org/")
996 (synopsis "C++ bindings to the Cairo 2D graphics library")
998 "Cairomm provides a C++ programming interface to the Cairo 2D graphics
1000 (license license:lgpl2.0+)))
1002 (define-public pangomm
1008 (uri (string-append "mirror://gnome/sources/" name "/"
1009 (version-major+minor version) "/"
1010 name "-" version ".tar.xz"))
1013 "1bz3gciff23bpw9bqc4v2l3lkq9w7394v3a4jxkvx0ap5lmfwqlp"))))
1014 (build-system gnu-build-system)
1015 (native-inputs `(("pkg-config" ,pkg-config)))
1018 ("cairomm" ,cairomm)
1021 (home-page "http://www.pango.org/")
1022 (synopsis "C++ interface to the Pango text rendering library")
1024 "Pangomm provides a C++ programming interface to the Pango text rendering
1026 (license license:lgpl2.1+)))
1028 (define-public atkmm
1034 (uri (string-append "mirror://gnome/sources/" name "/"
1035 (version-major+minor version) "/"
1036 name "-" version ".tar.xz"))
1039 "1gaqwhviadsmy0fsr47686yglv1p4mpkamj0in127bz2b5bki5gz"))))
1040 (build-system gnu-build-system)
1041 (native-inputs `(("pkg-config" ,pkg-config)))
1043 `(("glibmm" ,glibmm) ("atk" ,atk)))
1044 (home-page "http://www.gtkmm.org")
1045 (synopsis "C++ interface to the ATK accessibility library")
1047 "ATKmm provides a C++ programming interface to the ATK accessibility
1049 (license license:lgpl2.1+)))
1051 (define-public gtkmm
1057 (uri (string-append "mirror://gnome/sources/" name "/"
1058 (version-major+minor version) "/"
1059 name "-" version ".tar.xz"))
1062 "1x8l0ny6r3ym53z82q9d5fan4m9vi93xy3b3hj1hrclgc95lvnh5"))))
1063 (build-system gnu-build-system)
1064 (native-inputs `(("pkg-config" ,pkg-config)
1065 ("glib" ,glib "bin") ;for 'glib-compile-resources'
1066 ("xorg-server" ,xorg-server)))
1068 `(("pangomm" ,pangomm)
1069 ("cairomm" ,cairomm)
1072 ("glibmm" ,glibmm)))
1074 '(#:phases (modify-phases %standard-phases
1075 (add-before 'check 'run-xvfb
1076 (lambda* (#:key inputs #:allow-other-keys)
1077 (let ((xorg-server (assoc-ref inputs "xorg-server")))
1078 ;; Tests such as 'object_move/test' require a running
1080 (system (string-append xorg-server "/bin/Xvfb :1 &"))
1081 (setenv "DISPLAY" ":1")
1082 ;; Don't fail because of the missing /etc/machine-id.
1083 (setenv "DBUS_FATAL_WARNINGS" "0")
1085 (home-page "http://gtkmm.org/")
1087 "C++ interface to the GTK+ graphical user interface library")
1089 "gtkmm is the official C++ interface for the popular GUI library GTK+.
1090 Highlights include typesafe callbacks, and a comprehensive set of widgets that
1091 are easily extensible via inheritance. You can create user interfaces either
1092 in code or with the Glade User Interface designer, using libglademm. There's
1093 extensive documentation, including API reference and a tutorial.")
1094 (license license:lgpl2.1+)))
1097 (define-public gtkmm-2
1098 (package (inherit gtkmm)
1103 (uri (string-append "mirror://gnome/sources/" name "/"
1104 (version-major+minor version) "/"
1105 name "-" version ".tar.xz"))
1108 "0wkbzvsx4kgw16f6xjdc1dz7f77ldngdila4yi5lw2zrgcxsb006"))))
1110 '(#:configure-flags '("CPPFLAGS=-std=c++11"))) ; required by libsigc++
1111 (native-inputs `(("pkg-config" ,pkg-config)))
1113 `(("pangomm" ,pangomm)
1114 ("cairomm" ,cairomm)
1117 ("glibmm" ,glibmm)))))
1119 (define-public python-pycairo
1121 (name "python-pycairo")
1126 (uri (string-append "http://cairographics.org/releases/pycairo-"
1127 version ".tar.bz2"))
1130 "1gjkf8x6hyx1skq3hhwcbvwifxvrf9qxis5vx8x5igmmgs70g94s"))
1131 (patches (search-patches "pycairo-wscript.patch"))))
1132 (build-system waf-build-system)
1134 `(("pkg-config" ,pkg-config)
1135 ("python-waf" ,python-waf)))
1136 (propagated-inputs ;pycairo.pc references cairo
1137 `(("cairo" ,cairo)))
1141 (modify-phases %standard-phases
1143 'configure 'patch-waf
1144 (lambda* (#:key inputs #:allow-other-keys)
1145 ;; The bundled `waf' doesn't work with python-3.4.x.
1146 (copy-file (assoc-ref %build-inputs "python-waf") "./waf"))))))
1147 (home-page "http://cairographics.org/pycairo/")
1148 (synopsis "Python bindings for cairo")
1150 "Pycairo is a set of Python bindings for the Cairo graphics library.")
1151 (license license:lgpl3+)
1152 (properties `((python2-variant . ,(delay python2-pycairo))))))
1154 (define-public python2-pycairo
1155 (package (inherit (strip-python2-variant python-pycairo))
1156 (name "python2-pycairo")
1161 (uri (string-append "http://cairographics.org/releases/py2cairo-"
1162 version ".tar.bz2"))
1165 "0cblk919wh6w0pgb45zf48xwxykfif16qk264yga7h9fdkq3j16k"))))
1167 `(#:python ,python-2
1168 ,@(substitute-keyword-arguments (package-arguments python-pycairo)
1170 `(modify-phases ,phases (delete 'patch-waf)))
1171 ((#:native-inputs native-inputs)
1172 `(alist-delete "python-waf" ,native-inputs)))))
1173 ;; Dual-licensed under LGPL 2.1 or Mozilla Public License 1.1
1174 (license (list license:lgpl2.1 license:mpl1.1))))
1176 (define-public python2-pygtk
1178 (name "python2-pygtk")
1183 (uri (string-append "mirror://gnome/sources"
1184 "/pygtk/" (version-major+minor version)
1185 "/pygtk-" version ".tar.bz2"))
1188 "04k942gn8vl95kwf0qskkv6npclfm31d78ljkrkgyqxxcni1w76d"))))
1189 (build-system gnu-build-system)
1191 "doc")) ;13 MiB of gtk-doc HTML
1193 `(("pkg-config" ,pkg-config)))
1195 `(("python" ,python-2)
1196 ("libglade" ,libglade)
1199 `(("python-pycairo" ,python2-pycairo) ;loaded at runtime
1200 ("python-pygobject" ,python2-pygobject-2) ;referenced in pc file
1204 #:phases (modify-phases %standard-phases
1205 (add-before 'configure 'set-gtk-doc-directory
1206 (lambda* (#:key outputs #:allow-other-keys)
1207 ;; Install documentation to "doc".
1208 (let ((doc (assoc-ref outputs "doc")))
1209 (substitute* "docs/Makefile.in"
1210 (("TARGET_DIR = \\$\\(datadir\\)")
1211 (string-append "TARGET_DIR = " doc))))))
1212 (add-after 'configure 'fix-codegen
1213 (lambda* (#:key inputs #:allow-other-keys)
1214 (substitute* "pygtk-codegen-2.0"
1218 (assoc-ref inputs "python-pygobject") "\n")))))
1219 (add-after 'install 'install-pth
1220 (lambda* (#:key inputs outputs #:allow-other-keys)
1221 ;; pygtk's modules are stored in a subdirectory of
1222 ;; python's site-packages directory. Add a .pth file so
1223 ;; that python will add that subdirectory to its module
1225 (let* ((out (assoc-ref outputs "out"))
1226 (site (string-append out "/lib/python"
1227 ,(version-major+minor
1228 (package-version python-2))
1230 (call-with-output-file (string-append site "/pygtk.pth")
1232 (format port "gtk-2.0~%")))))))))
1233 (home-page "http://www.pygtk.org/")
1234 (synopsis "Python bindings for GTK+")
1236 "PyGTK allows you to write full featured GTK programs in Python. It is
1237 targeted at GTK 2.x, and can be used in conjunction with gnome-python to
1238 write GNOME applications.")
1239 (license license:lgpl2.1+)))
1241 (define-public girara
1248 (string-append "https://pwmt.org/projects/girara/download/girara-"
1252 "18wss3sak3djip090v2vdbvq1mvkwcspfswc87zbvv3magihan98"))))
1253 (native-inputs `(("pkg-config" ,pkg-config)
1255 ("gettext" ,gettext-minimal)
1256 ("glib:bin" ,glib "bin")
1257 ("xorg-server" ,xorg-server)))
1258 ;; Listed in 'Requires.private' of 'girara.pc'.
1259 (propagated-inputs `(("gtk+" ,gtk+)))
1262 `(,(string-append "PREFIX=" (assoc-ref %outputs "out"))
1264 #:test-target "test"
1265 #:phases (modify-phases %standard-phases
1267 (add-before 'check 'start-xserver
1268 ;; Tests require a running X server.
1269 (lambda* (#:key inputs #:allow-other-keys)
1270 (let ((xorg-server (assoc-ref inputs "xorg-server"))
1272 (setenv "DISPLAY" display)
1273 ;; Don't fail due to missing '/etc/machine-id'.
1274 (setenv "DBUS_FATAL_WARNINGS" "0")
1275 (zero? (system (string-append xorg-server "/bin/Xvfb "
1276 display " &")))))))))
1277 (build-system gnu-build-system)
1278 (home-page "https://pwmt.org/projects/girara/")
1279 (synopsis "Library for minimalistic gtk+3 user interfaces")
1280 (description "Girara is a library that implements a user interface that
1281 focuses on simplicity and minimalism. Currently based on GTK+, a
1282 cross-platform widget toolkit, it provides an interface that focuses on three
1283 main components: a so-called view widget that represents the actual
1284 application, an input bar that is used to execute commands of the
1285 application and the status bar which provides the user with current
1287 (license license:zlib)))
1289 (define-public gtk-doc
1295 (uri (string-append "mirror://gnome/sources/" name "/"
1296 (version-major+minor version) "/"
1297 name "-" version ".tar.xz"))
1300 "0hpxcij9xx9ny3gs9p0iz4r8zslw8wqymbyababiyl7603a6x90y"))))
1301 (build-system gnu-build-system)
1303 `(#:parallel-tests? #f
1305 (modify-phases %standard-phases
1306 (add-before 'build 'set-HOME
1308 ;; FIXME: dblatex with texlive-union does not find the built
1309 ;; metafonts, so it tries to generate them in HOME.
1310 (setenv "HOME" "/tmp")
1312 (add-before 'configure 'fix-docbook
1313 (lambda* (#:key inputs #:allow-other-keys)
1314 (substitute* "configure"
1315 ;; The configure check is overzealous about making sure that
1316 ;; things are in place -- it uses the xmlcatalog tool to make
1317 ;; sure that docbook-xsl is available, but this tool can only
1318 ;; look in one catalog file, unlike the $XML_CATALOG_FILES
1319 ;; variable that Guix defines. Fool the test by using the
1320 ;; docbook-xsl catalog explicitly and get on with life.
1321 (("\"\\$XML_CATALOG_FILE\" \
1322 \"http://docbook.sourceforge.net/release/xsl/")
1323 (string-append (car (find-files (assoc-ref inputs "docbook-xsl")
1325 " \"http://docbook.sourceforge.net/release/xsl/")))
1328 (list (string-append "--with-xml-catalog="
1329 (assoc-ref %build-inputs "docbook-xml")
1330 "/xml/dtd/docbook/catalog.xml"))))
1332 `(("pkg-config" ,pkg-config)
1333 ("itstool" ,itstool)
1335 ("gettext" ,gettext-minimal)
1340 ("xsltproc" ,libxslt)
1341 ("dblatex" ,dblatex)
1342 ("docbook-xml" ,docbook-xml-4.3)
1343 ("docbook-xsl" ,docbook-xsl)
1344 ("source-highlight" ,source-highlight)
1346 (home-page "http://www.gtk.org/gtk-doc/")
1347 (synopsis "Documentation generator from C source code")
1349 "GTK-Doc generates API documentation from comments added to C code. It is
1350 typically used to document the public API of GTK+ and GNOME libraries, but it
1351 can also be used to document application code.")
1352 (license license:gpl2+)))
1354 (define-public gtk-engines
1356 (name "gtk-engines")
1360 (uri (string-append "mirror://gnome/sources/" name "/"
1361 (version-major+minor version) "/"
1362 name "-" version ".tar.bz2"))
1365 "1db65pb0j0mijmswrvpgkdabilqd23x22d95hp5kwxvcramq1dhm"))))
1366 (build-system gnu-build-system)
1369 `("--enable-animation")))
1371 `(("pkg-config" ,pkg-config)
1372 ("intltool" ,intltool)))
1374 ;; Don't propagate GTK+ to reduce "profile pollution".
1375 `(("gtk+" ,gtk+-2))) ; required by gtk-engines-2.pc
1376 (home-page "https://live.gnome.org/GnomeArt")
1377 (synopsis "Theming engines for GTK+ 2.x")
1379 "This package contains the standard GTK+ 2.x theming engines including
1380 Clearlooks, Crux, High Contrast, Industrial, LighthouseBlue, Metal, Mist,
1381 Redmond95 and ThinIce.")
1382 (license (list license:gpl2+ license:lgpl2.1+))))
1384 (define-public murrine
1390 (uri (string-append "mirror://gnome/sources/" name "/"
1391 (version-major+minor version) "/"
1392 name "-" version ".tar.xz"))
1395 "129cs5bqw23i76h3nmc29c9mqkm9460iwc8vkl7hs4xr07h8mip9"))))
1396 (build-system gnu-build-system)
1399 `("--enable-animation"
1400 "--enable-animationrtl")))
1402 `(("pkg-config" ,pkg-config)
1403 ("intltool" ,intltool)))
1405 `(("gtk+" ,gtk+-2)))
1406 (home-page "https://live.gnome.org/GnomeArt")
1407 (synopsis "Cairo-based theming engine for GTK+ 2.x")
1409 "Murrine is a cairo-based GTK+ theming engine. It is named after the
1410 glass artworks done by Venicians glass blowers.")
1411 (license license:gpl2+)))
1413 (define-public gtkspell3
1419 (uri (string-append "mirror://sourceforge/gtkspell/"
1420 version "/" name "-" version ".tar.gz"))
1423 "1zrz5pz4ryvcssk898liynmy2wyxgj95ak7mp2jv7x62yzihq6h1"))))
1424 (build-system gnu-build-system)
1426 `(("intltool" ,intltool)
1427 ("pkg-config" ,pkg-config)))
1429 `(("enchant" ,enchant)
1430 ("gobject-introspection" ,gobject-introspection)
1433 (home-page "http://gtkspell.sourceforge.net")
1434 (synopsis "Spell-checking addon for GTK's TextView widget")
1436 "GtkSpell provides word-processor-style highlighting and replacement of
1437 misspelled words in a GtkTextView widget.")
1438 (license license:gpl2+)))
1440 (define-public clipit
1447 "https://github.com/downloads/ClipIt/clipit-"
1451 "0jrwn8qfgb15rwspdp1p8hb1nc0ngmpvgr87d4k3lhlvqg2cfqva"))))
1452 (build-system gnu-build-system)
1454 `(("intltool" ,intltool)
1455 ("pkg-config" ,pkg-config)))
1457 `(("gtk+" ,gtk+-2)))
1458 (home-page "https://github.com/CristianHenzel/ClipIt")
1459 (synopsis "Lightweight GTK+ clipboard manager")
1461 "ClipIt is a clipboard manager with features such as a history, search
1462 thereof, global hotkeys and clipboard item actions. It was forked from
1463 Parcellite and adds bugfixes and features.")
1464 (license license:gpl2+)))
1466 (define-public graphene
1473 "https://github.com/ebassi/graphene/archive/"
1475 (file-name (string-append name "-" version ".tar.gz"))
1477 (base32 "1zd2daj7y590wnzn4jw0niyc4fnzgxrcl9i7nwhy8b25ks2hz5wq"))))
1478 (build-system gnu-build-system)
1480 `(#:configure-flags '("--enable-introspection=yes")
1482 (modify-phases %standard-phases
1483 (add-before 'configure 'autogen
1485 (zero? (system* "./autogen.sh")))))))
1487 `(("autoconf" ,autoconf)
1489 ("pkg-config" ,pkg-config)
1490 ("automake" ,automake)
1491 ("libtool" ,libtool)))
1493 `(("python" ,python)
1494 ("python-2" ,python-2)
1496 ("gobject-introspection" ,gobject-introspection)))
1497 (home-page "http://ebassi.github.io/graphene")
1498 (synopsis "Thin layer of graphic data types")
1499 (description "This library provides graphic types and their relative API;
1500 it does not deal with windowing system surfaces, drawing, scene graphs, or
1502 (license license:expat)))