gnu: packages: Use 'search-patches' everywhere.
[jackhill/guix/guix.git] / gnu / packages / xfce.scm
CommitLineData
62ac2ed9 1;;; GNU Guix --- Functional package management for GNU
b2836799 2;;; Copyright © 2014, 2015 Sou Bunnbu <iyzsong@gmail.com>
e013220e 3;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
5a179844 4;;; Copyright © 2016 Andreas Enge <andreas@enge.fr>
c29e5fda 5;;; Copyright © 2016 Florian Paul Schmidt <mista.tapas@gmx.net>
62ac2ed9
SB
6;;;
7;;; This file is part of GNU Guix.
8;;;
9;;; GNU Guix is free software; you can redistribute it and/or modify it
10;;; under the terms of the GNU General Public License as published by
11;;; the Free Software Foundation; either version 3 of the License, or (at
12;;; your option) any later version.
13;;;
14;;; GNU Guix is distributed in the hope that it will be useful, but
15;;; WITHOUT ANY WARRANTY; without even the implied warranty of
16;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17;;; GNU General Public License for more details.
18;;;
19;;; You should have received a copy of the GNU General Public License
20;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
21
22(define-module (gnu packages xfce)
305bc4cc 23 #:use-module ((guix licenses) #:hide (freetype))
62ac2ed9
SB
24 #:use-module (guix packages)
25 #:use-module (guix download)
79c2528f 26 #:use-module (guix utils)
62ac2ed9 27 #:use-module (guix build-system gnu)
6150b5c7 28 #:use-module (guix build-system trivial)
d814f921 29 #:use-module (gnu packages)
62ac2ed9
SB
30 #:use-module (gnu packages pkg-config)
31 #:use-module (gnu packages glib)
6cec9818
SB
32 #:use-module (gnu packages gtk)
33 #:use-module (gnu packages xorg)
2eb7d77d 34 #:use-module (gnu packages xdisorg)
305bc4cc
SB
35 #:use-module (gnu packages web)
36 #:use-module (gnu packages fontutils)
37 #:use-module (gnu packages image)
38 #:use-module (gnu packages gnome)
39 #:use-module (gnu packages pdf)
25a21c7f 40 #:use-module (gnu packages polkit)
5c776d27
SB
41 #:use-module (gnu packages gstreamer)
42 #:use-module (gnu packages linux)
43 #:use-module (gnu packages photo)
0f0c586a
SB
44 #:use-module (gnu packages pcre)
45 #:use-module (gnu packages pulseaudio))
62ac2ed9
SB
46
47(define-public gtk-xfce-engine
48 (package
49 (name "gtk-xfce-engine")
221d4572 50 (version "2.10.1")
62ac2ed9
SB
51 (source (origin
52 (method url-fetch)
221d4572
SB
53 (uri (string-append "http://archive.xfce.org/src/xfce/"
54 name "/" (version-major+minor version) "/"
62ac2ed9
SB
55 name "-" version ".tar.bz2"))
56 (sha256
57 (base32
221d4572 58 "0g86ywkx0ghzhhn96k88p67bbzlm1aqckly85izp07w80l1934ja"))))
62ac2ed9
SB
59 (build-system gnu-build-system)
60 (native-inputs
61 `(("pkg-config" ,pkg-config)
62 ("intltool" ,intltool)))
63 (inputs `(("gtk+" ,gtk+-2)))
64 (home-page "http://www.xfce.org/")
65 (synopsis "GTK+ theme engine for Xfce")
66 (description
67 "Default GTK+ engine and themes for Xfce Desktop Environment.")
68 (license gpl2+)))
79c2528f
SB
69
70(define-public libxfce4util
71 (package
72 (name "libxfce4util")
96fffede 73 (version "4.12.1")
79c2528f
SB
74 (source (origin
75 (method url-fetch)
76 (uri (string-append "http://archive.xfce.org/xfce/"
77 (version-major+minor version)
78 "/src/" name "-" version ".tar.bz2"))
79 (sha256
80 (base32
96fffede 81 "07c8r3xwx5is298zk77m3r784gmr5y4mh8bbca5zdjqk5vxdwsw7"))))
79c2528f
SB
82 (build-system gnu-build-system)
83 (native-inputs
84 `(("pkg-config" ,pkg-config)
85 ("intltool" ,intltool)))
86 (propagated-inputs `(("glib" ,glib))) ; required by libxfce4util-1.0.pc
87 (home-page "http://www.xfce.org/")
88 (synopsis "Basic utility library for Xfce")
89 (description
90 "A general-purpose utility library with core application support for the
91Xfce Desktop Environment.")
92 (license lgpl2.0+)))
471dbb70
SB
93
94(define-public xfconf
95 (package
96 (name "xfconf")
e013220e 97 (version "4.12.0")
471dbb70
SB
98 (source (origin
99 (method url-fetch)
100 (uri (string-append "http://archive.xfce.org/xfce/"
101 (version-major+minor version)
102 "/src/" name "-" version ".tar.bz2"))
103 (sha256
104 (base32
e013220e 105 "0mmi0g30aln3x98y5p507g17pipq0dj0bwypshan8cq5hkmfl44r"))))
471dbb70 106 (build-system gnu-build-system)
b2836799
SB
107 (arguments
108 '(#:phases
109 ;; Run check after install phase to test dbus activation.
110 (alist-cons-after
111 'install 'check
112 (lambda _
113 (setenv "HOME" (getenv "TMPDIR")) ; xfconfd requires a writable HOME
114 ;; Run test-suite under a dbus session.
115 (setenv "XDG_DATA_DIRS" ; for finding org.xfce.Xfconf.service
116 (string-append %output "/share"))
406766c0
SB
117 ;; For the missing '/etc/machine-id'.
118 (setenv "DBUS_FATAL_WARNINGS" "0");
b2836799
SB
119 (zero? (system* "dbus-launch" "make" "check")))
120 (alist-delete 'check %standard-phases))))
471dbb70
SB
121 (native-inputs
122 `(("pkg-config" ,pkg-config)
123 ("intltool" ,intltool)))
124 (propagated-inputs
125 ;; libxfconf-0.pc refers to all these.
126 `(("glib" ,glib)
127 ("dbus" ,dbus)
128 ("dbus-glib" ,dbus-glib)))
129 (inputs
130 `(("libxfce4util" ,libxfce4util)))
131 (home-page "http://www.xfce.org/")
132 (synopsis "Configuration storage and query system for Xfce")
133 (description
134 "Settings daemon for Xfce, implemented as a D-Bus-based configuration
135storage system.")
136 (license lgpl2.0+)))
6cec9818
SB
137
138(define-public libxfce4ui
139 (package
140 (name "libxfce4ui")
7379ffc1 141 (version "4.12.0")
6cec9818
SB
142 (source (origin
143 (method url-fetch)
144 (uri (string-append "http://archive.xfce.org/xfce/"
145 (version-major+minor version)
146 "/src/" name "-" version ".tar.bz2"))
147 (sha256
148 (base32
7379ffc1 149 "11rrhqxnfwx5jls3nlg9s2x8saag9f2zqk9cdm6hr3bs6cr9a781"))))
6cec9818
SB
150 (build-system gnu-build-system)
151 (native-inputs
152 `(("pkg-config" ,pkg-config)
153 ("intltool" ,intltool)))
154 (propagated-inputs
75beb7e1
SB
155 `(("gtk+-2" ,gtk+-2) ; required by libxfce4ui-1.pc
156 ("gtk+-3" ,gtk+) ; required by libxfce4ui-2.pc
157 ;; libxfce4kbd-private-2.pc refers to all these.
6cec9818
SB
158 ("libxfce4util" ,libxfce4util)
159 ("xfconf" ,xfconf)))
160 (inputs `(("libsm" ,libsm)
161 ("libice" ,libice)
162 ("startup-notification" ,startup-notification)))
163 (home-page "http://www.xfce.org/")
164 (synopsis "Widgets library for Xfce")
165 (description
166 "Libxfce4ui is the replacement of the old libxfcegui4 library. It is used
e881752c 167to share commonly used Xfce widgets among the Xfce applications.")
6cec9818 168 (license lgpl2.0+)))
2eb7d77d
SB
169
170(define-public exo
171 (package
172 (name "exo")
9ade90ae 173 (version "0.10.3")
2eb7d77d
SB
174 (source (origin
175 (method url-fetch)
9ade90ae 176 (uri (string-append "http://archive.xfce.org/xfce/4.12/src/"
2eb7d77d
SB
177 name "-" version ".tar.bz2"))
178 (sha256
179 (base32
9ade90ae 180 "1g9651ra395v2fmzb943l68b9pg0rfxc19x97a62crchxwa4nw4m"))))
2eb7d77d
SB
181 (build-system gnu-build-system)
182 (native-inputs
183 `(("pkg-config" ,pkg-config)
184 ("intltool" ,intltool)))
185 (propagated-inputs
186 ;; exo-1.pc refers to all these.
187 `(("gtk+" ,gtk+-2)
188 ("libxfce4util" ,libxfce4util)))
189 (inputs
190 `(("libxfce4ui" ,libxfce4ui)
191 ("perl-uri" ,perl-uri)))
192 (home-page "http://www.xfce.org/")
193 (synopsis "Extension library for Xfce")
194 (description
195 "An extension library to Xfce. While Xfce comes with quite a few libraries
196that are targeted at desktop development, libexo is targeted at application
197development.")
198 ;; Libraries are under LGPLv2+, and programs under GPLv2+.
199 (license (list gpl2+ lgpl2.1+))))
7fc3d5f3
SB
200
201(define-public garcon
202 (package
203 (name "garcon")
ea3fb8f1 204 (version "0.4.0")
7fc3d5f3
SB
205 (source (origin
206 (method url-fetch)
ea3fb8f1 207 (uri (string-append "http://archive.xfce.org/xfce/4.12/src/"
7fc3d5f3
SB
208 name "-" version ".tar.bz2"))
209 (sha256
210 (base32
ea3fb8f1 211 "0wm9pjbwq53s3n3nwvsyf0q8lbmhiy2ln3bn5ncihr9vf5cwhzbq"))))
7fc3d5f3
SB
212 (build-system gnu-build-system)
213 (native-inputs
214 `(("pkg-config" ,pkg-config)
215 ("intltool" ,intltool)
216 ("glib:bin" ,glib "bin")))
ea3fb8f1
SB
217 (propagated-inputs
218 `(("libxfce4ui" ,libxfce4ui))) ; required by garcon-gtk2-1.pc
7fc3d5f3
SB
219 (home-page "http://www.xfce.org/")
220 (synopsis "Implementation of the freedesktop.org menu specification")
221 (description
222 "Garcon is a freedesktop.org compliant menu implementation based on
223GLib and GIO. It was started as a complete rewrite of the former Xfce menu
224library called libxfce4menu, which, in contrast to garcon, was lacking menu
225merging features essential for loading menus modified with menu editors.")
226 (license lgpl2.0+)))
305bc4cc
SB
227
228(define-public tumbler
229 (package
230 (name "tumbler")
3786be08 231 (version "0.1.31")
305bc4cc
SB
232 (source (origin
233 (method url-fetch)
710f3ce4 234 (uri (string-append "http://archive.xfce.org/src/xfce/tumbler/0.1/"
305bc4cc
SB
235 name "-" version ".tar.bz2"))
236 (sha256
237 (base32
3786be08 238 "0wvip28gm2w061hn84zp2q4dv947ihylrppahn4cjspzff935zfh"))))
305bc4cc
SB
239 (build-system gnu-build-system)
240 (native-inputs
241 `(("pkg-config" ,pkg-config)
242 ("intltool" ,intltool)
243 ("glib:bin" ,glib "bin") ; need glib-genmarshal
244 ("dbus-glib" ,dbus-glib))) ; need dbus-binding-tool
245 (propagated-inputs
246 `(("glib" ,glib))) ; required by tumbler-1.pc
247 (inputs
248 `(("dbus" ,dbus)
249 ("gdk-pixbuf" ,gdk-pixbuf)
250 ("freetype" ,freetype)
251 ("libjpeg" ,libjpeg)
252 ("libgsf" ,libgsf)
253 ("poppler" ,poppler)
710f3ce4 254 ("gstreamer" ,gstreamer)))
305bc4cc
SB
255 (home-page "http://www.xfce.org/")
256 (synopsis "D-Bus service for applications to request thumbnails")
257 (description
258 "Tumbler is a D-Bus service for applications to request thumbnails for
259various URI schemes and MIME types. It is an implementation of the thumbnail
260management D-Bus specification.")
261 (license gpl2+)))
3b3a7fe7
SB
262
263(define-public xfce4-panel
264 (package
265 (name "xfce4-panel")
bcd54994 266 (version "4.12.0")
3b3a7fe7
SB
267 (source (origin
268 (method url-fetch)
269 (uri (string-append "http://archive.xfce.org/xfce/"
270 (version-major+minor version)
271 "/src/" name "-" version ".tar.bz2"))
272 (sha256
273 (base32
bcd54994 274 "1c4p3ckghvsad1sj5v8wmar5mh9cbhail9mmhad2f9pwwb10z4ih"))
fc1adab1 275 (patches (search-patches "xfce4-panel-plugins.patch"))))
3b3a7fe7 276 (build-system gnu-build-system)
7ee2005e
SB
277 (arguments
278 '(#:configure-flags '("--enable-gtk3")))
3b3a7fe7
SB
279 (native-inputs
280 `(("pkg-config" ,pkg-config)
281 ("intltool" ,intltool)))
282 (propagated-inputs
283 `(("libxfce4util" ,libxfce4util))) ; required by libxfce4panel-1.0.pc
284 (inputs
285 `(("exo" ,exo)
b3546174 286 ("garcon" ,garcon)
dbb7a081 287 ("libwnck" ,libwnck-2)
3b3a7fe7 288 ("libxfce4ui" ,libxfce4ui)))
d814f921
MW
289 (native-search-paths
290 (list (search-path-specification
291 (variable "X_XFCE4_LIB_DIRS")
af070955 292 (files '("lib/xfce4")))))
3b3a7fe7
SB
293 (home-page "http://www.xfce.org/")
294 (synopsis "Xfce desktop panel")
295 (description
296 "Desktop panel for Xfce, which contains program launchers, window buttons,
297applications menu, workspace switcher and more.")
298 ;; Libraries are under LGPLv2.1+, and programs under GPLv2+.
299 (license (list gpl2+ lgpl2.1+))))
c5c2f9bb 300
bfb84869
MW
301(define-public xfce4-battery-plugin
302 (package
303 (name "xfce4-battery-plugin")
304 (version "1.0.5")
305 (source (origin
306 (method url-fetch)
307 (uri (string-append "http://archive.xfce.org/src/panel-plugins/"
308 name "/" (version-major+minor version) "/"
309 name "-" version ".tar.bz2"))
310 (sha256
311 (base32
312 "04gbplcj8z4vg5xbks8cc2jjf62mmf9sdymg90scjwmb82pv2ngn"))))
313 (build-system gnu-build-system)
314 (native-inputs `(("pkg-config" ,pkg-config)
315 ("intltool" ,intltool)))
316 (inputs `(("glib" ,glib)
317 ("gtk+" ,gtk+-2)
318 ("libxfce4util" ,libxfce4util)
319 ("libxfce4ui" ,libxfce4ui)
320 ("xfce4-panel" ,xfce4-panel)))
321 (home-page
322 "http://goodies.xfce.org/projects/panel-plugins/xfce4-battery-plugin")
323 (synopsis "Battery monitor panel plugin for Xfce4")
324 (description
325 "A battery monitor panel plugin for Xfce4, compatible with APM and ACPI.")
326 ;; The main plugin code is covered by gpl2+, but the files containing code
327 ;; to read the battery state via ACPI or APM are covered by lgpl2.0+.
328 (license (list gpl2+ lgpl2.0+))))
329
d692678f
SB
330(define-public xfce4-clipman-plugin
331 (package
332 (name "xfce4-clipman-plugin")
333 (version "1.2.6")
334 (source (origin
335 (method url-fetch)
336 (uri (string-append "http://archive.xfce.org/src/panel-plugins/"
337 name "/" (version-major+minor version) "/"
338 name "-" version ".tar.bz2"))
339 (sha256
340 (base32
341 "19a8gwcqc0r5qqi8w28dc8arqip34m8yxdb87lgps9g5qfcky113"))))
342 (build-system gnu-build-system)
343 (native-inputs
344 `(("intltool" ,intltool)
345 ("pkg-config" ,pkg-config)))
346 (inputs
347 `(("exo" ,exo)
348 ("libxfce4ui" ,libxfce4ui)
349 ("libxtst" ,libxtst)
350 ("xfce4-panel" ,xfce4-panel)))
351 (home-page
352 "http://goodies.xfce.org/projects/panel-plugins/xfce4-clipman-plugin")
353 (synopsis "Clipboard manager for Xfce")
354 (description
355 "Clipman is a clipboard manager for Xfce. It keeps the clipboard contents
356around while it is usually lost when you close an application. It is able to
357handle text and images, and has a feature to execute actions on specific text by
358matching them against regular expressions.")
359 (license (list gpl2+))))
360
0f0c586a
SB
361(define-public xfce4-pulseaudio-plugin
362 (package
363 (name "xfce4-pulseaudio-plugin")
364 (version "0.2.3")
365 (source (origin
366 (method url-fetch)
367 (uri (string-append "http://archive.xfce.org/src/panel-plugins/"
368 name "/" (version-major+minor version) "/"
369 name "-" version ".tar.bz2"))
370 (sha256
371 (base32
372 "0crvb2gyxbnlf46712arg3m2vqx81dixqhqdwss0bngpijy3ca78"))))
373 (build-system gnu-build-system)
374 (native-inputs
375 `(("intltool" ,intltool)
376 ("pkg-config" ,pkg-config)))
377 (inputs
378 `(("exo" ,exo)
379 ("libnotify" ,libnotify)
380 ("libxfce4ui" ,libxfce4ui)
381 ("pulseaudio" ,pulseaudio)
382 ("xfce4-panel" ,xfce4-panel)))
383 (home-page "http://git.xfce.org/panel-plugins/xfce4-pulseaudio-plugin/")
384 (synopsis "PulseAudio panel plugin for Xfce")
385 (description
386 "Xfce PulseAudio plugin is a plugin for the Xfce panel which provides a
387convenient way to adjust the audio volume of the PulseAudio sound system and
388to an auto mixer tool like pavucontrol. It can optionally handle multimedia
389keys for controlling the audio volume.")
390 (license gpl2+)))
391
5a179844
AE
392(define-public xfce4-xkb-plugin
393 (package
394 (name "xfce4-xkb-plugin")
395 (version "0.7.1")
396 (source (origin
397 (method url-fetch)
398 (uri (string-append "http://archive.xfce.org/src/panel-plugins/"
399 name "/" (version-major+minor version) "/"
400 name "-" version ".tar.bz2"))
401 (sha256
402 (base32
403 "10g65j5ia389ahhn3b9hr52ghpp0817fk0m60rfrv4wrzqrjxzk1"))))
404 (build-system gnu-build-system)
405 (native-inputs
406 `(("intltool" ,intltool)
407 ("pkg-config" ,pkg-config)))
408 (inputs
409 `(("garcon" ,garcon)
410 ("librsvg" ,librsvg)
dbb7a081 411 ("libwnck" ,libwnck-2)
5a179844
AE
412 ("libx11" ,libx11)
413 ("libxfce4ui" ,libxfce4ui)
414 ("libxklavier" ,libxklavier)
415 ("xfce4-panel" ,xfce4-panel)))
416 (home-page "http://git.xfce.org/panel-plugins/xfce4-xkb-plugin/")
417 (synopsis "XKB layout switching panel plug-in for Xfce")
418 (description
419 "Xfce XKB plugin makes it possible to set up and use multiple
420keyboard layouts.
421
422One can choose the keyboard model, what key combination to
423use to switch between the layouts, the actual keyboard layouts,
424the way in which the current layout is being displayed (country
425flag image or text) and the layout policy, which is whether to
426store the layout globally (for all windows), per application or
427per window.")
428 (license bsd-2)))
429
c5c2f9bb
SB
430(define-public xfce4-appfinder
431 (package
432 (name "xfce4-appfinder")
be3db25a 433 (version "4.12.0")
c5c2f9bb
SB
434 (source (origin
435 (method url-fetch)
436 (uri (string-append "http://archive.xfce.org/xfce/"
437 (version-major+minor version)
438 "/src/" name "-" version ".tar.bz2"))
439 (sha256
440 (base32
be3db25a 441 "0ry5hin8xhgnkmm9vs7jq8blk1cnbyr0s18nm1j6nsm7360abm1a"))))
c5c2f9bb
SB
442 (build-system gnu-build-system)
443 (native-inputs
444 `(("pkg-config" ,pkg-config)
445 ("intltool" ,intltool)))
446 (inputs
447 `(("garcon" ,garcon)
448 ("libxfce4ui" ,libxfce4ui)))
449 (home-page "http://www.xfce.org/")
450 (synopsis "Xfce application finder")
451 (description
452 "Application finder for Xfce, it will show the applications installed on
453your system in categories, so you can quickly find and launch them.")
454 (license gpl2+)))
9a8a040d
SB
455
456(define-public xfce4-session
457 (package
458 (name "xfce4-session")
3d75c320 459 (version "4.12.0")
9a8a040d
SB
460 (source (origin
461 (method url-fetch)
462 (uri (string-append "http://archive.xfce.org/xfce/"
463 (version-major+minor version)
464 "/src/" name "-" version ".tar.bz2"))
465 (sha256
466 (base32
b90e7e5d
DT
467 "01kvbd09c06j20n155hracsgrq06rlmfgdywffjsvlwpn19m9j38"))
468 (patches
469 ;; See: https://bugzilla.xfce.org/show_bug.cgi?id=12282
fc1adab1 470 (search-patches "xfce4-session-fix-xflock4.patch"))
25a21c7f
RW
471 (modules '((guix build utils)))
472 (snippet
473 '(begin
474 (substitute* "xfsm-shutdown-helper/main.c"
475 (("/sbin/shutdown -h now") "halt")
476 (("/sbin/shutdown -r now") "restart")
477 (("/usr/sbin/pm-suspend") "pm-suspend")
478 (("/usr/sbin/pm-hibernate") "pm-hibernate"))
479 #t))))
9a8a040d
SB
480 (build-system gnu-build-system)
481 (arguments
482 '(#:configure-flags
483 (list (string-append "--with-xsession-prefix=" %output))))
484 (native-inputs
485 `(("pkg-config" ,pkg-config)
486 ("intltool" ,intltool)))
487 (inputs
488 `(("iceauth" ,iceauth)
25a21c7f
RW
489 ("upower" ,upower)
490 ("polkit" ,polkit)
9a8a040d 491 ("libsm" ,libsm)
dbb7a081 492 ("libwnck" ,libwnck-2)
9a8a040d
SB
493 ("libxfce4ui" ,libxfce4ui)))
494 (home-page "http://www.xfce.org/")
495 (synopsis "Xfce session manager")
496 (description
497 "Session manager for Xfce, it will restore your session on startup and
498allows you to shutdown the computer from Xfce.")
499 (license gpl2+)))
55613927
SB
500
501(define-public xfce4-settings
502 (package
503 (name "xfce4-settings")
2998f718 504 (version "4.12.0")
55613927
SB
505 (source (origin
506 (method url-fetch)
507 (uri (string-append "http://archive.xfce.org/xfce/"
508 (version-major+minor version)
509 "/src/" name "-" version ".tar.bz2"))
510 (sha256
511 (base32
363ccf9f 512 "108za1cmjslwzkdl76x9kwxkq8z734kg9nz8rxk057f10pqwxgh4"))
fc1adab1 513 (patches (search-patches "xfce4-settings-defaults.patch"))))
55613927
SB
514 (build-system gnu-build-system)
515 (native-inputs
516 `(("pkg-config" ,pkg-config)
517 ("intltool" ,intltool)))
518 (inputs
519 `(("exo" ,exo)
520 ("garcon" ,garcon)
521 ("libnotify" ,libnotify)
b3546174 522 ("libxcursor" ,libxcursor)
55613927 523 ("libxi" ,libxi)
2f8339c8 524 ("libxklavier" ,libxklavier)
55613927 525 ("libxrandr" ,libxrandr)
2f8339c8
SB
526 ("libxfce4ui" ,libxfce4ui)
527 ("upower" ,upower)
528 ("xf86-input-libinput" ,xf86-input-libinput)))
55613927
SB
529 (home-page "http://www.xfce.org/")
530 (synopsis "Xfce settings manager")
531 (description
532 "Settings manager for Xfce, it can control various aspects of the desktop
533like appearance, display, keyboard and mouse settings.")
534 (license gpl2+)))
5c776d27
SB
535
536(define-public thunar
537 (package
538 (name "thunar")
78daf79b 539 (version "1.6.6")
5c776d27
SB
540 (source (origin
541 (method url-fetch)
78daf79b 542 (uri (string-append "http://archive.xfce.org/xfce/4.12/src/"
5c776d27
SB
543 "Thunar-" version ".tar.bz2"))
544 (sha256
545 (base32
78daf79b 546 "1cl9v3rdzipyyxml3pyrzspxfmmssz5h5snpj18irq4an42539dr"))))
5c776d27
SB
547 (build-system gnu-build-system)
548 (native-inputs
549 `(("pkg-config" ,pkg-config)
550 ("intltool" ,intltool)))
551 (inputs
552 `(("exo" ,exo)
5c776d27 553 ("libexif" ,libexif)
ea226291 554 ("libgudev" ,libgudev)
5c776d27
SB
555 ("libnotify" ,libnotify)
556 ("libxfce4ui" ,libxfce4ui)
557 ("pcre" ,pcre)
558 ("xfce4-panel" ,xfce4-panel)
559 ("startup-notification" ,startup-notification)))
560 (home-page "http://www.xfce.org/")
561 (synopsis "Xfce file manager")
562 (description
563 "A modern file manager for graphical desktop, aiming to be easy-to-use and
564fast.")
565 (license gpl2+)))
aac03800
SB
566
567(define-public thunar-volman
568 (package
569 (name "thunar-volman")
ad154006 570 (version "0.8.1")
aac03800
SB
571 (source (origin
572 (method url-fetch)
ad154006 573 (uri (string-append "http://archive.xfce.org/xfce/4.12/src/"
aac03800
SB
574 name "-" version ".tar.bz2"))
575 (sha256
576 (base32
ad154006 577 "1gf259n1v3y23n1zlkhyr6r0i8j59rnl1cmxvxj6la9cwdfbn22s"))))
aac03800
SB
578 (build-system gnu-build-system)
579 (native-inputs
580 `(("pkg-config" ,pkg-config)
581 ("intltool" ,intltool)))
582 (inputs
583 `(("exo" ,exo)
ea226291 584 ("libgudev" ,libgudev)
aac03800
SB
585 ("libnotify" ,libnotify)
586 ("libxfce4ui" ,libxfce4ui)))
587 (home-page "http://www.xfce.org/")
588 (synopsis "Removable media manager for Thunar")
589 (description
590 "Thunar-volman is an extension for the Thunar File Manager, which enables
591automatic management of removable drives and media. For example, if
592thunar-volman is installed and configured properly, and you plug in your
e881752c 593digital camera, it will automatically spawn your preferred photo application
aac03800
SB
594and import the new pictures from your camera.")
595 (license gpl2+)))
3a4bfdde
SB
596
597(define-public xfwm4
598 (package
599 (name "xfwm4")
39a4d761 600 (version "4.12.0")
3a4bfdde
SB
601 (source (origin
602 (method url-fetch)
603 (uri (string-append "http://archive.xfce.org/xfce/"
604 (version-major+minor version)
605 "/src/" name "-" version ".tar.bz2"))
606 (sha256
607 (base32
39a4d761 608 "0fnc2ps4k733n9qfpxrz047h1myyqjzxczl7fmkjmqwshvicpx19"))))
3a4bfdde
SB
609 (build-system gnu-build-system)
610 (native-inputs
611 `(("pkg-config" ,pkg-config)
612 ("intltool" ,intltool)))
613 (inputs
8ccf68f9 614 `(("libdrm" ,libdrm)
dbb7a081 615 ("libwnck" ,libwnck-2)
8ccf68f9
SB
616 ("libxcomposite" ,libxcomposite)
617 ("libxdamage" ,libxdamage)
3a4bfdde 618 ("libxfce4ui" ,libxfce4ui)
8ccf68f9 619 ("libxrandr" ,libxrandr)))
3a4bfdde
SB
620 (home-page "http://www.xfce.org/")
621 (synopsis "Xfce window manager")
622 (description
623 "Window manager for Xfce, it handles the placement of windows
624on the screen.")
625 (license gpl2+)))
8a3c54e0
SB
626
627(define-public xfdesktop
628 (package
629 (name "xfdesktop")
046bcf29 630 (version "4.12.0")
8a3c54e0
SB
631 (source (origin
632 (method url-fetch)
633 (uri (string-append "http://archive.xfce.org/xfce/"
634 (version-major+minor version)
635 "/src/" name "-" version ".tar.bz2"))
636 (sha256
637 (base32
046bcf29 638 "1ivzgg4792nid6wcgd1nq5vc3z0y5ip6ymq7ci5j2qkp663qnykf"))))
8a3c54e0
SB
639 (build-system gnu-build-system)
640 (native-inputs
641 `(("pkg-config" ,pkg-config)
642 ("intltool" ,intltool)))
643 (inputs
644 `(("exo" ,exo)
645 ("garcon" ,garcon)
646 ("libnotify" ,libnotify)
dbb7a081 647 ("libwnck" ,libwnck-2)
8a3c54e0
SB
648 ("libxfce4ui" ,libxfce4ui)
649 ("thunar" ,thunar)))
650 (home-page "http://www.xfce.org/")
651 (synopsis "Xfce desktop manager")
652 (description
653 "Desktop manager for Xfce, it sets the background color or image with
654optional application menu or icons for minimized applications or launchers,
655devices and folders.")
656 (license gpl2+)))
eea3e54c
SB
657
658(define-public xfce4-terminal
659 (package
660 (name "xfce4-terminal")
661 (version "0.6.3")
662 (source (origin
663 (method url-fetch)
664 (uri (string-append "http://archive.xfce.org/src/apps/" name "/"
665 (version-major+minor version) "/"
666 name "-" version ".tar.bz2"))
667 (sha256
668 (base32
669 "023y0lkfijifh05yz8grimxadqpi98mrivr00sl18nirq8b4fbwi"))))
670 (build-system gnu-build-system)
671 (native-inputs
672 `(("pkg-config" ,pkg-config)
673 ("intltool" ,intltool)))
674 (inputs
675 `(("libxfce4ui" ,libxfce4ui)
676 ("vte" ,vte/gtk+-2)))
677 (home-page "http://www.xfce.org/")
678 (synopsis "Xfce terminal emulator")
679 (description
680 "A lightweight and easy to use terminal emulator for Xfce. Features
681include a simple configuration interface, the ability to use multiple tabs
682with terminals within a single window, the possibility to have a
683pseudo-transparent terminal background, and a compact mode (where both the
684menubar and the window decorations are hidden) that helps you to save space
685on your desktop.")
686 (license gpl2+)))
0ca0ce53
SB
687
688(define-public xfce
689 (package
690 (name "xfce")
691 (version (package-version xfce4-session))
692 (source #f)
6150b5c7
SB
693 (build-system trivial-build-system)
694 (arguments '(#:builder (mkdir %output)))
0ca0ce53
SB
695 (propagated-inputs
696 `(("exo" ,exo)
697 ("garcon" ,garcon)
698 ("gnome-icon-theme" ,gnome-icon-theme)
699 ("gtk-xfce-engine" ,gtk-xfce-engine)
700 ("hicolor-icon-theme" ,hicolor-icon-theme)
701 ("shared-mime-info" ,shared-mime-info)
702 ("thunar" ,thunar)
703 ("thunar-volman" ,thunar-volman)
704 ("tumlber" ,tumbler)
705 ("xfce4-appfinder" ,xfce4-appfinder)
0ca0ce53 706 ("xfce4-panel" ,xfce4-panel)
20095cc5 707 ("xfce4-power-manager" ,xfce4-power-manager)
0ca0ce53
SB
708 ("xfce4-session" ,xfce4-session)
709 ("xfce4-settings" ,xfce4-settings)
710 ("xfce4-terminal" ,xfce4-terminal)
711 ("xfconf" ,xfconf)
712 ("xfdesktop" ,xfdesktop)
35557712
SB
713 ("xfwm4" ,xfwm4)
714 ;; Panel plugins.
715 ("xfce4-battery-plugin" ,xfce4-battery-plugin)
716 ("xfce4-clipman-plugin" ,xfce4-clipman-plugin)
5a179844
AE
717 ("xfce4-pulseaudio-plugin" ,xfce4-pulseaudio-plugin)
718 ("xfce4-xkb-plugin" ,xfce4-xkb-plugin)))
0ca0ce53
SB
719 (home-page "http://www.xfce.org/")
720 (synopsis "Desktop environment (meta-package)")
721 (description
722 "Xfce is a lightweight desktop environment. It aims to be fast and low on
723system resources, while still being visually appealing and user friendly.")
724 (license gpl2+)))
c29e5fda
FPS
725
726(define-public xfce4-power-manager
727 (package
728 (name "xfce4-power-manager")
729 (version "1.4.3")
730 (source (origin
731 (method url-fetch)
732 (uri (string-append "http://archive.xfce.org/xfce/4.12"
733 "/src/" name "-" version ".tar.bz2"))
734 (sha256
735 (base32
736 "04909sfc2nrj2wg9cw6y9y2r9yrp3l3vc201sy1gaiap67fi33h1"))))
737 (build-system gnu-build-system)
738 (arguments
739 '(#:configure-flags '("--enable-gtk3")))
740 (native-inputs
741 `(("pkg-config" ,pkg-config)
742 ("intltool" ,intltool)))
743 (inputs
744 `(("lbxrandr" ,libxrandr)
745 ("upower" ,upower)
746 ("libnotify" ,libnotify)
747 ("libxfce4ui" ,libxfce4ui)))
748 (home-page "http://www.xfce.org/")
749 (synopsis "Xfce Power Manager")
750 (description
751 "This is a power manager for the Xfce desktop. It manages the power
752sources on the computer and the devices that can be controlled to reduce their
753power consumption (such as LCD brightness level, monitor sleep, CPU frequency
754scaling, etc). In addition, xfce4-power-manager provides a set of
755freedesktop-compliant DBus interfaces to inform other applications about current
756power level so that they can adjust their power consumption, and it provides the
757inhibit interface which allows applications to prevent automatic sleep.")
758 (license gpl2+)))