1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org>
5 ;;; This file is part of GNU Guix.
7 ;;; GNU Guix is free software; you can redistribute it and/or modify it
8 ;;; under the terms of the GNU General Public License as published by
9 ;;; the Free Software Foundation; either version 3 of the License, or (at
10 ;;; your option) any later version.
12 ;;; GNU Guix is distributed in the hope that it will be useful, but
13 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
14 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 ;;; GNU General Public License for more details.
17 ;;; You should have received a copy of the GNU General Public License
18 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
20 (define-module (gnu packages gnome)
21 #:use-module ((guix licenses)
22 #:renamer (symbol-prefix-proc 'license:))
23 #:use-module (guix packages)
24 #:use-module (guix download)
25 #:use-module (guix build-system gnu)
26 #:use-module (gnu packages)
27 #:use-module (gnu packages bison)
28 #:use-module (gnu packages flex)
29 #:use-module (gnu packages glib)
30 #:use-module (gnu packages gnupg)
31 #:use-module (gnu packages gstreamer)
32 #:use-module (gnu packages gtk)
33 #:use-module (gnu packages pdf)
34 #:use-module (gnu packages popt)
35 #:use-module (gnu packages ghostscript)
36 #:use-module (gnu packages iso-codes)
37 #:use-module (gnu packages libcanberra)
38 #:use-module (gnu packages image)
39 #:use-module (gnu packages perl)
40 #:use-module (gnu packages pkg-config)
41 #:use-module (gnu packages python)
42 #:use-module (gnu packages xml)
43 #:use-module (gnu packages gl)
44 #:use-module (gnu packages compression)
45 #:use-module (gnu packages xorg))
47 (define-public brasero
53 (uri (string-append "mirror://gnome/sources/brasero/3.8/brasero-"
57 "1r5wjsrm47amdaf862ymkdlwlb636c45wg14x20hdr99c653d2nr"))))
58 (build-system gnu-build-system)
60 `(("hicolor-icon-theme" ,hicolor-icon-theme)))
62 `(("intltool" ,intltool)
63 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
64 ("pkg-config" ,pkg-config)))
67 ("gnome-doc-utils" ,gnome-doc-utils)
68 ("gstreamer" ,gstreamer)
69 ("gst-plugins-base" ,gst-plugins-base)
72 ("libcanberra" ,libcanberra)
74 ("libnotify" ,libnotify)
76 ("libxml2" ,libxml2)))
77 (home-page "https://projects.gnome.org/brasero/")
78 (synopsis "CD/DVD burning tool for Gnome")
79 (description "Brasero is an application to burn CD/DVD for the Gnome
80 Desktop. It is designed to be as simple as possible and has some unique
81 features to enable users to create their discs easily and quickly.")
82 (license license:gpl2+)))
84 (define-public gnome-desktop
86 (name "gnome-desktop")
91 (uri (string-append "mirror://gnome/sources/" name "/3.10/"
92 name "-" version ".tar.xz"))
95 "0p5p6wvmy5zvcdnmp5h2biz7rjrcw99chq5kkwcnb68flcmkb1ry"))))
96 (build-system gnu-build-system)
98 `(("intltool" ,intltool)
99 ("pkg-config" ,pkg-config)))
101 `(("gdk-pixbuf" ,gdk-pixbuf)
103 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
105 ("iso-codes" ,iso-codes)
109 ("libxkbfile" ,libxkbfile)
110 ("libxrandr" ,libxrandr)
111 ("xkeyboard-config" ,xkeyboard-config)))
112 (home-page "https://www.gnome.org/")
114 "libgnome-desktop, gnome-about, and desktop-wide documents")
116 "The libgnome-desktop library provides API shared by several applications
117 on the desktop, but that cannot live in the platform for various reasons. There
118 is no API or ABI guarantee, although we are doing our best to provide
119 stability. Documentation for the API is available with gtk-doc.
121 The gnome-about program helps find which version of GNOME is installed.")
122 ; Some bits under the LGPL.
123 (license license:gpl2+)))
125 (define-public gnome-doc-utils
127 (name "gnome-doc-utils")
132 (uri (string-append "mirror://gnome/sources/" name "/0.20/"
133 name "-" version ".tar.xz"))
136 "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
137 (build-system gnu-build-system)
139 `(("intltool" ,intltool)
142 ("pkg-config" ,pkg-config)
143 ("python-2" ,python-2)))
145 `(#:tests? #f)) ; tries to load http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd
146 (home-page "https://wiki.gnome.org/GnomeDocUtils")
148 "Documentation utilities for the Gnome project")
150 "Gnome-doc-utils is a collection of documentation utilities for the
151 Gnome project. It includes xml2po tool which makes it easier to translate
152 and keep up to date translations of documentation.")
153 (license license:gpl2+))) ; xslt under lgpl
155 (define-public libgnome-keyring
157 (name "libgnome-keyring")
162 "mirror://gnome/sources/libgnome-keyring/3.6/libgnome-keyring-"
167 "0c4qrjpmv1hqga3xv6wsq2z10x2n78qgw7q3k3s01y1pggxkgjkd"))))
168 (build-system gnu-build-system)
170 `(("libgcrypt" ,libgcrypt)
173 `(("pkg-config" ,pkg-config)
175 ("intltool" ,intltool)))
177 ;; Referred to in .h files and .pc.
179 (home-page "http://www.gnome.org")
180 (synopsis "Accessing passwords from the GNOME keyring")
182 "Client library to access passwords from the GNOME keyring.")
184 ;; Though a couple of files are LGPLv2.1+.
185 (license license:lgpl2.0+)))
187 (define-public evince
193 (uri (string-append "mirror://gnome/sources/evince/3.6/evince-"
197 "1da1pij030dh8mb0pr0jnyszgsbjnh8lc17rj5ii52j3kmbv51qv"))))
198 (build-system gnu-build-system)
200 `(#:configure-flags '("--disable-nautilus")
202 ;; FIXME: Tests fail with:
203 ;; ImportError: No module named gi.repository
204 ;; Where should that module come from?
207 #:phases (alist-cons-after
208 'install 'set-mime-search-path
209 (lambda* (#:key inputs outputs #:allow-other-keys)
210 ;; Wrap 'evince' so that it knows where MIME info is.
211 (let ((out (assoc-ref outputs "out"))
212 (mime (assoc-ref inputs "shared-mime-info")))
213 (wrap-program (string-append out "/bin/evince")
214 `("XDG_DATA_DIRS" ":" prefix
215 ,(list (string-append mime "/share")
216 (string-append out "/share"))))))
219 `(("libspectre" ,libspectre)
220 ;; ("djvulibre" ,djvulibre)
221 ("ghostscript" ,ghostscript)
223 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
224 ("libgnome-keyring" ,libgnome-keyring)
225 ("gnome-icon-theme" ,gnome-icon-theme)
227 ("gdk-pixbuf" ,gdk-pixbuf)
235 ("shared-mime-info" ,shared-mime-info)
238 ("dogtail" ,python2-dogtail)))
240 `(("intltool" ,intltool)
242 ("pkg-config" ,pkg-config)))
244 "http://www.gnome.org/projects/evince/")
245 (synopsis "GNOME's document viewer")
247 "Evince is a document viewer for multiple document formats. It
248 currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal
249 of Evince is to replace the multiple document viewers that exist
250 on the GNOME Desktop with a single simple application.")
251 (license license:gpl2+)))
253 (define-public gsettings-desktop-schemas
255 (name "gsettings-desktop-schemas")
260 (uri (string-append "mirror://gnome/sources/" name "/"
261 (string-copy version 0 (string-rindex version #\.)) "/"
262 name "-" version ".tar.xz"))
265 "1km8qxwrzvravmg8j680qv64bwnwbdgrmy8bqmhs0dgxn2b1as6a"))))
266 (build-system gnu-build-system)
270 `(("intltool" ,intltool)
271 ("glib" ,glib "bin") ; glib-compile-schemas, etc.
272 ("pkg-config" ,pkg-config)))
273 (home-page "https://launchpad.net/gsettings-desktop-schemas")
275 "GNOME settings for various desktop components")
277 "Gsettings-desktop-schemas contains a collection of GSettings schemas
278 for settings shared by various components of the GNOME desktop.")
279 (license license:lgpl2.1+)))
281 (define-public icon-naming-utils
283 (name "icon-naming-utils")
288 (uri (string-append "http://tango.freedesktop.org/releases/icon-naming-utils-"
292 "1mc3v28fdfqanx3lqx233vcr4glb4c2376k0kx2v91a4vxwqcdxi"))))
293 (build-system gnu-build-system)
296 ("perl-xml-simple" ,perl-xml-simple)))
297 (home-page "http://tango.freedesktop.org/Standard_Icon_Naming_Specification")
299 "Utility to implement the Freedesktop Icon Naming Specification")
301 "To help with the transition to the Freedesktop Icon Naming
302 Specification, the icon naming utility maps the icon names used by the
303 GNOME and KDE desktops to the icon names proposed in the specification.")
304 (license license:lgpl2.1+)))
306 (define-public gnome-icon-theme
308 (name "gnome-icon-theme")
313 (uri (string-append "mirror://gnome/sources/" name "/"
314 (string-copy version 0 (string-rindex version #\.)) "/"
315 name "-" version ".tar.xz"))
318 "1xinbgkkvlhazj887ajcl13i7kdc1wcca02jwxzvjrvchjsp4m66"))))
319 (build-system gnu-build-system)
322 ("icon-naming-utils" ,icon-naming-utils)))
324 `(("intltool" ,intltool)
325 ("pkg-config" ,pkg-config)))
326 (home-page "http://art.gnome.org/")
330 "Icons for the GNOME desktop.")
331 (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
333 (define-public shared-mime-info
335 (name "shared-mime-info")
339 (uri (string-append "http://freedesktop.org/~hadess/shared-mime-info-"
343 "0y5vi0vr6rbhvfzcfg57cfskn362bpvcpca9cy598nmr87i6lld5"))))
344 (build-system gnu-build-system)
346 ;; The build system appears not to be parallel-safe.
347 '(#:parallel-build? #f))
350 ("libxml2" ,libxml2)))
352 `(("intltool" ,intltool)
353 ("pkg-config" ,pkg-config)))
354 (home-page "http://freedesktop.org/wiki/Software/shared-mime-info")
355 (synopsis "Database of common MIME types")
357 "The shared-mime-info package contains the core database of common types
358 and the update-mime-database command used to extend it. It requires glib2 to
359 be installed for building the update command. Additionally, it uses intltool
360 for translations, though this is only a dependency for the maintainers. This
361 database is translated at Transifex.")
362 (license license:gpl2+)))
364 (define-public hicolor-icon-theme
366 (name "hicolor-icon-theme")
371 (uri (string-append "http://icon-theme.freedesktop.org/releases/hicolor-icon-theme-"
375 "0wzc7g4ldb2l8zc0x2785ck808c03i857jji942ikakyc68adp4y"))))
376 (build-system gnu-build-system)
378 `(#:tests? #f)) ; no check target
379 (home-page "http://icon-theme.freedesktop.org/releases/")
381 "Freedesktop icon theme")
383 "Freedesktop icon theme.")
384 (license license:gpl2)))
386 (define-public libnotify
393 (uri (string-append "mirror://gnome/sources/" name "/"
394 (string-copy version 0 (string-rindex version #\.)) "/"
395 name "-" version ".tar.xz"))
398 "0dyq8zgjnnzcah31axnx6afb21kl7bks1gvrg4hjh3nk02j1rxhf"))))
399 (build-system gnu-build-system)
401 `(("gdk-pixbuf" ,gdk-pixbuf)
406 `(("pkg-config" ,pkg-config)
407 ("glib" ,glib "bin")))
408 (home-page "https://developer-next.gnome.org/libnotify/")
410 "GNOME desktop notification library")
412 "Libnotify is a library that sends desktop notifications to a
413 notification daemon, as defined in the Desktop Notifications spec. These
414 notifications can be used to inform the user about an event or display
415 some form of information without getting in the user's way.")
416 (license license:lgpl2.1+)))
418 (define-public libpeas
425 (uri (string-append "mirror://gnome/sources/" name "/"
426 (substring version 0 (string-rindex version #\.)) "/"
427 name "-" version ".tar.xz"))
430 "13fzyzv6c0cfdj83z1s16lv8k997wpnzyzr0wfwcfkcmvz64g1q0"))))
431 (build-system gnu-build-system)
434 ("gdk-pixbuf" ,gdk-pixbuf)
439 `(("pkg-config" ,pkg-config)
440 ("gobject-introspection" ,gobject-introspection)
441 ("intltool" ,intltool)))
442 (home-page "https://wiki.gnome.org/Libpeas")
443 (synopsis "GObject plugin system")
445 "libpeas is a gobject-based plugins engine, and is targetted at giving
446 every application the chance to assume its own extensibility. It also has a
447 set of features including, but not limited to: multiple extension points; on
448 demand (lazy) programming language support for C, Python and JS; simplicity of
451 (license license:lgpl2.0+)))
453 (define-public gtkglext
459 (uri (string-append "mirror://sourceforge/project/gtkglext/gtkglext/"
460 version "/gtkglext-" version ".tar.gz"))
462 (base32 "1ya4d2j2aacr9ii5zj4ac95fjpdvlm2rg79mgnk7yvl1dcy3y1z5"))
464 (search-patch "gtkglext-disable-disable-deprecated.patch")))))
465 (build-system gnu-build-system)
466 (inputs `(("gtk+" ,gtk+-2)
470 (native-inputs `(("pkg-config" ,pkg-config)
471 ("glib" ,glib "bin")))
472 (propagated-inputs `(("pangox-compat" ,pangox-compat)))
473 (home-page "https://projects.gnome.org/gtkglext")
474 (synopsis "OpenGL extension to GTK+.")
475 (description "GtkGLExt is an OpenGL extension to GTK+. It provides
476 additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget
477 API add-ons to make GTK+ widgets OpenGL-capable.")
478 (license license:lgpl2.1+)))
480 (define-public glade3
487 (uri (string-append "mirror://gnome/sources/" name "/"
488 (substring version 0 (string-rindex version #\.)) "/"
489 name "3-" version ".tar.xz"))
491 (base32 "021xgq2l18w3rvwms9aq2idm0fk66vwb4f777gs0qh3ap5shgbn7"))))
492 (build-system gnu-build-system)
495 ("libxml2" ,libxml2)))
497 `(("intltool" ,intltool)
499 ("pkg-config" ,pkg-config)))
500 (home-page "https://glade.gnome.org")
501 (synopsis "GTK+ rapid application development tool")
502 (description "Glade is a rapid application development (RAD) tool to
503 enable quick & easy development of user interfaces for the GTK+ toolkit and
504 the GNOME desktop environment.")
505 (license license:lgpl2.0+)))
507 (define-public libcroco
514 "mirror://gnome/sources/libcroco/0.6/libcroco-"
519 "0w453f3nnkbkrly7spx5lx5pf6mwynzmd5qhszprq8amij2invpa"))))
520 (build-system gnu-build-system)
522 `(("pkg-config" ,pkg-config)))
527 (home-page "https://github.com/GNOME/libcroco")
528 (synopsis "CSS2 parsing and manipulation library")
530 "Libcroco is a standalone CSS2 parsing and manipulation library.
531 The parser provides a low level event driven SAC-like API and a CSS object
532 model like API. Libcroco provides a CSS2 selection engine and an experimental
533 XML/CSS rendering engine.")
536 (license license:lgpl2.1)))
538 (define-public libgsf
544 (uri (string-append "mirror://gnome/sources/libgsf/1.14/libgsf-"
548 "0w2v1a9sxsymd1mcy4mwsz4r6za9iwq69rj86nb939p41d4c6j6b"))))
549 (build-system gnu-build-system)
551 `(("intltool" ,intltool)
552 ("pkg-config" ,pkg-config)))
558 `(("gdk-pixbuf" ,gdk-pixbuf)
560 ("libxml2" ,libxml2)))
561 (home-page "http://www.gnome.org/projects/libgsf")
562 (synopsis "GNOME's Structured File Library")
564 "Libgsf aims to provide an efficient extensible I/O abstraction for
565 dealing with different structured file formats.")
568 (license license:lgpl2.1)))
570 (define-public librsvg
577 "mirror://gnome/sources/librsvg/2.40/librsvg-"
581 "071959yjb2i1bja7ciy4bmpnd6fn2is9jjqsvvvnsqwl69j9n128"))))
582 (build-system gnu-build-system)
586 'configure 'augment-gir-search-path
587 (lambda* (#:key inputs #:allow-other-keys)
588 (substitute* "gdk-pixbuf-loader/Makefile.in"
589 ;; By default the gdk-pixbuf loader is installed under
590 ;; gdk-pixbuf's prefix. Work around that.
591 (("gdk_pixbuf_moduledir = .*$")
592 (string-append "gdk_pixbuf_moduledir = "
593 "$(prefix)/lib/gdk-pixbuf-2.0/2.0.10/"
595 ;; Likewise, create a separate 'loaders.cache' file.
596 (("gdk_pixbuf_cache_file = .*$")
597 "gdk_pixbuf_cache_file = $(gdk_pixbuf_moduledir).cache\n")))
600 `(("pkg-config" ,pkg-config)
601 ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
604 ("libcroco" ,libcroco)
607 ("libxml2" ,libxml2)))
609 ;; librsvg-2.0.pc refers to all of that.
611 ("gdk-pixbuf" ,gdk-pixbuf)
613 (home-page "https://wiki.gnome.org/LibRsvg")
614 (synopsis "Render SVG files using Cairo")
616 "librsvg is a C library to render SVG files using the Cairo 2D graphics
618 (license license:lgpl2.0+)))
620 (define-public libidl
626 (uri (let ((upstream-name "libIDL"))
628 "mirror://gnome/sources/" upstream-name "/" (string-take version 3) "/" upstream-name "-"
633 "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5"))))
634 (build-system gnu-build-system)
635 (inputs `(("glib" ,glib)))
637 `(("pkg-config" ,pkg-config)
640 (home-page "http://freecode.com/projects/libidl")
641 (synopsis "Create trees of CORBA Interface Definition Language files")
642 (description "libidl is a library for creating trees of CORBA Interface
643 Definition Language (idl) files, which is a specification for defining
644 portable interfaces. libidl was initially written for orbit (the orb from the
645 GNOME project, and the primary means of libidl distribution). However, the
646 functionality was designed to be as reusable and portable as possible.")
647 (license license:lgpl2.0+)))
650 (define-public orbit2
656 (uri (let ((upstream-name "ORBit2"))
658 "mirror://gnome/sources/" upstream-name "/" (string-take version 4) "/" upstream-name "-"
662 (base32 "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"))))
663 (build-system gnu-build-system)
665 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
666 `(#:configure-flags '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
667 ;; ... which they then completly ignore !!
670 'configure 'ignore-deprecations
672 (substitute* "linc2/src/Makefile.in"
673 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
675 (inputs `(("glib" ,glib)
678 `(("pkg-config" ,pkg-config)))
679 (home-page "https://projects.gnome.org/orbit2/")
680 (synopsis "CORBA 2.4-compliant Object Request Broker")
681 (description "orbit2 is a CORBA 2.4-compliant Object Request Broker (orb)
682 featuring mature C, C++ and Python bindings.")
683 ;; Licence notice is unclear. The Web page simply say "GPL" without giving a version.
684 ;; SOME of the code files have licence notices for GPLv2+
685 ;; The tarball contains files of the text of GPLv2 and LGPLv2
686 (license license:gpl2+)))
689 (define-public libbonobo
696 "mirror://gnome/sources/" name "/" (string-take version 4) "/" name "-"
700 (base32 "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"))))
701 (build-system gnu-build-system)
703 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
704 `(#:configure-flags '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
705 ;; ... which they then completly ignore !!
708 'configure 'ignore-deprecations
710 (substitute* "activation-server/Makefile.in"
711 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
713 (inputs `(("popt" ,popt)
714 ("libxml2" ,libxml2)))
715 ;; The following are Required by the .pc file
720 `(("intltool" ,intltool)
721 ("pkg-config" ,pkg-config)
724 (home-page "https://developer.gnome.org/libbonobo/")
725 (synopsis "Framework for creating reusable components for use in GNOME applications")
726 (description "Bonobo is a framework for creating reusable components for
727 use in GNOME applications, built on top of CORBA.")
728 ;; Licence not explicitly stated. Source files contain no licence notices.
729 ;; Tarball contains text of both GPLv2 and LGPLv2
730 ;; GPLv2 covers both conditions
731 (license license:gpl2+)))
741 (let ((upstream-name "GConf"))
743 "mirror://gnome/sources/" upstream-name "/" (string-take version 3) "/" upstream-name "-"
747 (base32 "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr"))))
748 (build-system gnu-build-system)
749 (inputs `(("glib" ,glib)
751 ("dbus-glib" ,dbus-glib)
752 ("libxml2" ,libxml2)))
753 (propagated-inputs `(("orbit2" ,orbit2))) ; referred to in the .pc file
755 `(("intltool" ,intltool)
756 ("pkg-config" ,pkg-config)))
757 (home-page "https://projects.gnome.org/gconf/")
758 (synopsis "store application preferences")
759 (description "gconf is a system for storing application preferences. It
760 is intended for user preferences; not arbitrary data storage.")
761 (license license:lgpl2.0+)))
764 (define-public gnome-mime-data
766 (name "gnome-mime-data")
771 "mirror://gnome/sources/" name "/" (string-take version 4) "/" name "-"
776 "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"))))
777 (build-system gnu-build-system)
780 ("intltool" ,intltool)))
781 (home-page "http://www.gnome.org")
782 (synopsis "base MIME and Application database for GNOME")
783 (description "GNOME Mime Data is a module which contains the base MIME
784 and Application database for GNOME. The data stored by this module is
785 designed to be accessed through the MIME functions in GnomeVFS.")
786 (license license:gpl2+)))
789 (define-public gnome-vfs
796 "mirror://gnome/sources/" name "/" (string-take version 4) "/" name "-"
800 (base32 "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"))))
801 (build-system gnu-build-system)
803 ;; The programmer kindly gives us a hook to turn off deprecation warnings ...
804 `(#:configure-flags '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
805 ;; ... which they then completly ignore !!
808 'configure 'ignore-deprecations
811 (substitute* "libgnomevfs/Makefile.in"
812 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))
813 (substitute* "daemon/Makefile.in"
814 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS"))))
816 (inputs `(("glib" ,glib)
818 ("dbus-glib" ,dbus-glib)
821 ("gnome-mime-data" ,gnome-mime-data)
824 `(("intltool" ,intltool)
825 ("pkg-config" ,pkg-config)))
826 (home-page "https://developer.gnome.org/gnome-vfs/")
827 (synopsis "access files and folders in GNOME applications")
828 (description "GnomeVFS is the core library used to access files and
829 folders in GNOME applications. It provides a file system abstraction which
830 allows applications to access local and remote files with a single consistent API.")
831 (license license:lgpl2.0+)))
835 (define-public libgnome
842 "mirror://gnome/sources/" name "/"
843 (string-take version 4) "/" name "-"
848 "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"))))
849 (build-system gnu-build-system)
853 'configure 'enable-deprecated
855 (substitute* "libgnome/Makefile.in"
856 (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")))
858 (inputs `(("popt" ,popt)
859 ("libxml2" ,libxml2)))
861 `(("intltool" ,intltool)
862 ("pkg-config" ,pkg-config)))
863 ;; The following are listed as Required in the .pc file
864 ;; (except for libcanberra -- which seems to be oversight on the part
865 ;; of the upstream developers -- anything that links against libgnome,
866 ;; must also link against libcanberra
868 `(("libcanberra" ,libcanberra)
869 ("libbonobo" ,libbonobo)
871 ("gnome-vfs" ,gnome-vfs)
873 (home-page "https://developer.gnome.org/libgnome/")
874 (synopsis "Useful routines for building applications")
875 (description "The libgnome library provides a number of useful routines
876 for building modern applications, including session management, activation of
877 files and URIs, and displaying help.")
878 (license license:lgpl2.0+)))
881 (define-public libart-lgpl
887 (uri (let ((upstream-name "libart_lgpl"))
889 "mirror://gnome/sources/" upstream-name "/"
890 (string-take version 3) "/" upstream-name "-" version
894 "072r4svs4hjf2f4gxzx02n3f970kdv9fpx54r2m8bd42fjyyawrw"))))
895 (build-system gnu-build-system)
897 `(("pkg-config" ,pkg-config)))
898 (home-page "https://people.gnome.org/~mathieu/libart")
899 (synopsis "2D drawing library")
900 (description "Libart is a 2D drawing library intended as a
901 high-quality vector-based 2D library with antialiasing and alpha composition.")
902 (license license:lgpl2.0+)))
906 (define-public libgnomecanvas
908 (name "libgnomecanvas")
913 "mirror://gnome/sources/" name "/" (string-take version 4) "/" name "-"
918 "1nhnq4lfkk8ljkdafscwaggx0h95mq0rxnd7zgqyq0xb6kkqbjm8"))))
919 (build-system gnu-build-system)
920 ;; Mentioned as Required in the .pc file
921 (propagated-inputs `(("libart-lgpl" ,libart-lgpl)
924 `(("intltool" ,intltool)
925 ("pkg-config" ,pkg-config)))
926 (home-page "https://developer.gnome.org/libgnomecanvas/")
927 (synopsis "Flexible widget for creating interactive structured graphics")
928 (description "The GnomeCanvas widget provides a flexible widget for
929 creating interactive structured graphics.")
930 (license license:lgpl2.0+)))
932 (define-public libgnomeui
939 "mirror://gnome/sources/" name "/" (string-take version 4) "/" name "-"
944 "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf"))))
945 (build-system gnu-build-system)
946 ;; Mentioned as Required in the .pc file
947 (propagated-inputs `(("libgnome" ,libgnome)
948 ("libgnome-keyring" ,libgnome-keyring)))
949 (inputs `(("libgnomecanvas" ,libgnomecanvas)
950 ("libbonoboui" ,libbonoboui)
953 ("libbonobo" ,libbonobo)
955 ("libglade" ,libglade)))
957 `(("intltool" ,intltool)
958 ("pkg-config" ,pkg-config)))
959 (home-page "https://developer.gnome.org/libgnomeui/")
960 (synopsis "Additional widgets for applications")
961 (description "The libgnomeui library provides additional widgets for
962 applications. Many of the widgets from libgnomeui have already been ported to GTK+.")
963 (license license:lgpl2.0+)))
965 (define-public libglade
972 "mirror://gnome/sources/" name "/" (string-take version 3) "/" name "-"
977 "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"))))
978 (build-system gnu-build-system)
982 ("python" ,python))) ;; needed for the optional libglade-convert program
984 `(("pkg-config" ,pkg-config)))
985 (home-page "https://developer.gnome.org/libglade")
986 (synopsis "load glade interfaces and access the glade built widgets")
987 (description "libglade is a library that provides interfaces for loading
988 graphical interfaces described in glade files and for accessing the
989 widgets built in the loading process.")
990 (license license:gpl2+))) ; This is correct. GPL not LGPL
992 (define-public libgnomeprint
994 (name "libgnomeprint")
999 "mirror://gnome/sources/" name "/" (string-take version 3) "/" name "-"
1004 "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm"))))
1005 (build-system gnu-build-system)
1008 ("libart-lgpl" ,libart-lgpl)
1010 ("libxml2" ,libxml2)))
1012 `(("intltool" ,intltool)
1013 ("pkg-config" ,pkg-config)))
1014 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1015 (synopsis "printing framework for GNOME")
1016 (description "Gnome-print is a high-quality printing framework for GNOME.")
1017 (license license:lgpl2.0+)))
1020 (define-public libgnomeprintui
1022 (name "libgnomeprintui")
1027 "mirror://gnome/sources/" name "/" (string-take version 3) "/" name "-"
1032 "1ivipk7r61rg90p9kp889j28xlyyj6466ypvwa4jvnrcllnaajsw"))))
1033 (build-system gnu-build-system)
1034 ;; Mentioned as Required in the .pc file
1035 (propagated-inputs `(("libgnomeprint" ,libgnomeprint)))
1036 (inputs `(("gtk+" ,gtk+-2)
1038 ("gnome-icon-theme" ,gnome-icon-theme)
1039 ("libgnomecanvas" ,libgnomecanvas)
1040 ("libxml2" ,libxml2)))
1042 `(("intltool" ,intltool)
1043 ("pkg-config" ,pkg-config)))
1044 (home-page "https://projects.gnome.org/gnome-print/home/faq.html")
1045 (synopsis "Printing framework for GNOME")
1046 (description "Gnome-print is a high-quality printing framework for GNOME.")
1047 (license license:lgpl2.0+)))
1050 (define-public libbonoboui
1052 (name "libbonoboui")
1057 "mirror://gnome/sources/" name "/" (string-take version 3) "/" name "-"
1062 "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs"))))
1063 (build-system gnu-build-system)
1067 'check 'start-xserver
1068 (lambda* (#:key inputs #:allow-other-keys)
1069 (let ((xorg-server (assoc-ref inputs "xorg-server"))
1072 (setenv "HOME" (getcwd))
1073 (setenv "DISPLAY" disp)
1074 ;; There must be a running X server and make check doesn't start one.
1075 ;; Therefore we must do it.
1076 (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))
1078 ;; Mentioned as Required by the .pc file
1079 (propagated-inputs `(("libxml2" ,libxml2)))
1082 ("pangox-compat" ,pangox-compat)
1083 ("libgnome" ,libgnome)
1084 ("libgnomecanvas" ,libgnomecanvas)
1085 ("libglade" ,libglade)))
1087 `(("intltool" ,intltool)
1088 ("xorg-server" ,xorg-server) ; For running the tests
1089 ("pkg-config" ,pkg-config)))
1090 (home-page "https://developer.gnome.org/libbonoboui/")
1091 (synopsis "Some user interface controls using Bonobo")
1092 (description "The Bonobo UI library provides a number of user interface
1093 controls using the Bonobo component framework.")
1094 (license license:lgpl2.0+)))