gnu: Add xfconf.
[jackhill/guix/guix.git] / gnu / packages / xfce.scm
CommitLineData
62ac2ed9
SB
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2014 Sou Bunnbu <iyzsong@gmail.com>
3;;;
4;;; This file is part of GNU Guix.
5;;;
6;;; GNU Guix is free software; you can redistribute it and/or modify it
7;;; under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 3 of the License, or (at
9;;; your option) any later version.
10;;;
11;;; GNU Guix is distributed in the hope that it will be useful, but
12;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
18
19(define-module (gnu packages xfce)
20 #:use-module (guix licenses)
21 #:use-module (guix packages)
22 #:use-module (guix download)
79c2528f 23 #:use-module (guix utils)
62ac2ed9
SB
24 #:use-module (guix build-system gnu)
25 #:use-module (gnu packages pkg-config)
26 #:use-module (gnu packages glib)
27 #:use-module (gnu packages gtk))
28
29(define-public gtk-xfce-engine
30 (package
31 (name "gtk-xfce-engine")
32 (version "3.0.0")
33 (source (origin
34 (method url-fetch)
35 (uri (string-append "http://archive.xfce.org/xfce/4.10/src/"
36 name "-" version ".tar.bz2"))
37 (sha256
38 (base32
39 "13c3ajfqkdr6jlqjyhcp4nls0ddanypr83q9qib2ciffik78zq4h"))))
40 (build-system gnu-build-system)
41 (native-inputs
42 `(("pkg-config" ,pkg-config)
43 ("intltool" ,intltool)))
44 (inputs `(("gtk+" ,gtk+-2)))
45 (home-page "http://www.xfce.org/")
46 (synopsis "GTK+ theme engine for Xfce")
47 (description
48 "Default GTK+ engine and themes for Xfce Desktop Environment.")
49 (license gpl2+)))
79c2528f
SB
50
51(define-public libxfce4util
52 (package
53 (name "libxfce4util")
54 (version "4.10.0")
55 (source (origin
56 (method url-fetch)
57 (uri (string-append "http://archive.xfce.org/xfce/"
58 (version-major+minor version)
59 "/src/" name "-" version ".tar.bz2"))
60 (sha256
61 (base32
62 "13k0wwbbqvdmbj4xmk4nxdlgvrdgr5y6r3dk380mzfw053hzwy89"))))
63 (build-system gnu-build-system)
64 (native-inputs
65 `(("pkg-config" ,pkg-config)
66 ("intltool" ,intltool)))
67 (propagated-inputs `(("glib" ,glib))) ; required by libxfce4util-1.0.pc
68 (home-page "http://www.xfce.org/")
69 (synopsis "Basic utility library for Xfce")
70 (description
71 "A general-purpose utility library with core application support for the
72Xfce Desktop Environment.")
73 (license lgpl2.0+)))
471dbb70
SB
74
75(define-public xfconf
76 (package
77 (name "xfconf")
78 (version "4.10.0")
79 (source (origin
80 (method url-fetch)
81 (uri (string-append "http://archive.xfce.org/xfce/"
82 (version-major+minor version)
83 "/src/" name "-" version ".tar.bz2"))
84 (sha256
85 (base32
86 "0xh520z0qh0ib0ijgnyrgii9h5d4pc53n6mx1chhyzfc86j1jlhp"))))
87 (build-system gnu-build-system)
88 (native-inputs
89 `(("pkg-config" ,pkg-config)
90 ("intltool" ,intltool)))
91 (propagated-inputs
92 ;; libxfconf-0.pc refers to all these.
93 `(("glib" ,glib)
94 ("dbus" ,dbus)
95 ("dbus-glib" ,dbus-glib)))
96 (inputs
97 `(("libxfce4util" ,libxfce4util)))
98 (home-page "http://www.xfce.org/")
99 (synopsis "Configuration storage and query system for Xfce")
100 (description
101 "Settings daemon for Xfce, implemented as a D-Bus-based configuration
102storage system.")
103 (license lgpl2.0+)))