gnu: Add mate-screensaver.
[jackhill/guix/guix.git] / gnu / packages / mate.scm
CommitLineData
bb2fe79e
FH
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2016 Fabian Harfert <fhmgufs@web.de>
68d2eea0 3;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
833b7e0a 4;;; Copyright © 2017 ng0 <ng0@infotropique.org>
bb2fe79e
FH
5;;;
6;;; This file is part of GNU Guix.
7;;;
8;;; GNU Guix is free software; you can redistribute it and/or modify it
9;;; under the terms of the GNU General Public License as published by
10;;; the Free Software Foundation; either version 3 of the License, or (at
11;;; your option) any later version.
12;;;
13;;; GNU Guix is distributed in the hope that it will be useful, but
14;;; WITHOUT ANY WARRANTY; without even the implied warranty of
15;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16;;; GNU General Public License for more details.
17;;;
18;;; You should have received a copy of the GNU General Public License
19;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
20
21(define-module (gnu packages mate)
22 #:use-module ((guix licenses) #:prefix license:)
23 #:use-module (guix packages)
24 #:use-module (guix download)
25 #:use-module (guix utils)
26 #:use-module (guix build-system gnu)
42a6eaac 27 #:use-module (guix build-system glib-or-gtk)
b5831eb7 28 #:use-module (guix build-system trivial)
bb2fe79e 29 #:use-module (gnu packages)
d58b0abd 30 #:use-module (gnu packages attr)
f2c71f82 31 #:use-module (gnu packages autotools)
69428571 32 #:use-module (gnu packages backup)
909f02dd 33 #:use-module (gnu packages base)
69428571 34 #:use-module (gnu packages compression)
35 #:use-module (gnu packages djvu)
909f02dd 36 #:use-module (gnu packages docbook)
37 #:use-module (gnu packages documentation)
b5831eb7 38 #:use-module (gnu packages fonts)
909f02dd 39 #:use-module (gnu packages fontutils)
40 #:use-module (gnu packages freedesktop)
da78e01b 41 #:use-module (gnu packages gettext)
69428571 42 #:use-module (gnu packages ghostscript)
909f02dd 43 #:use-module (gnu packages glib)
4b48a9fe 44 #:use-module (gnu packages gnome)
b5831eb7 45 #:use-module (gnu packages gnupg)
0bb3d6bf 46 #:use-module (gnu packages gnuzilla)
909f02dd 47 #:use-module (gnu packages gtk)
69428571 48 #:use-module (gnu packages image)
d58b0abd 49 #:use-module (gnu packages imagemagick)
69428571 50 #:use-module (gnu packages javascript)
909f02dd 51 #:use-module (gnu packages libcanberra)
52 #:use-module (gnu packages linux)
d58b0abd 53 #:use-module (gnu packages messaging)
69428571 54 #:use-module (gnu packages nettle)
909f02dd 55 #:use-module (gnu packages pkg-config)
69428571 56 #:use-module (gnu packages pdf)
42a6eaac 57 #:use-module (gnu packages photo)
0bb3d6bf 58 #:use-module (gnu packages polkit)
133cb876 59 #:use-module (gnu packages pulseaudio)
909f02dd 60 #:use-module (gnu packages python)
69428571 61 #:use-module (gnu packages tex)
62 #:use-module (gnu packages webkit)
909f02dd 63 #:use-module (gnu packages xdisorg)
64 #:use-module (gnu packages xml)
9f7d5768 65 #:use-module (gnu packages xdisorg)
909f02dd 66 #:use-module (gnu packages xorg))
bb2fe79e 67
538b752b 68(define-public mate-common
69 (package
70 (name "mate-common")
71 (version "1.18.0")
72 (source
73 (origin
74 (method url-fetch)
75 (uri (string-append "https://pub.mate-desktop.org/releases/"
76 (version-major+minor version) "/"
77 name "-" version ".tar.xz"))
78 (sha256
79 (base32
80 "1005laf3z1h8qczm7pmwr40r842665cv6ykhjg7r93vldra48z6p"))))
81 (build-system gnu-build-system)
82 (home-page "https://mate-desktop.org/")
83 (synopsis "Common files for development of MATE packages")
84 (description
85 "Mate Common includes common files and macros used by
86MATE applications.")
87 (license license:gpl3+)))
88
bb2fe79e
FH
89(define-public mate-icon-theme
90 (package
91 (name "mate-icon-theme")
d84f7182 92 (version "1.18.2")
bb2fe79e
FH
93 (source (origin
94 (method url-fetch)
833b7e0a 95 (uri (string-append "https://pub.mate-desktop.org/releases/"
bb2fe79e
FH
96 (version-major+minor version) "/"
97 name "-" version ".tar.xz"))
98 (sha256
99 (base32
d84f7182 100 "0si3li3kza7s45zhasjvqn5f85zpkn0x8i4kq1dlnqvjjqzkg4ch"))))
bb2fe79e
FH
101 (build-system gnu-build-system)
102 (native-inputs
103 `(("pkg-config" ,pkg-config)
104 ("intltool" ,intltool)
bb2fe79e 105 ("icon-naming-utils" ,icon-naming-utils)))
833b7e0a 106 (home-page "https://mate-desktop.org/")
bb2fe79e
FH
107 (synopsis "The MATE desktop environment icon theme")
108 (description
109 "This package contains the default icon theme used by the MATE desktop.")
110 (license license:lgpl3+)))
f2c71f82 111
112(define-public mate-icon-theme-faenza
113 (package
114 (name "mate-icon-theme-faenza")
115 (version "1.18.1")
116 (source (origin
117 (method url-fetch)
118 (uri (string-append "https://pub.mate-desktop.org/releases/"
119 (version-major+minor version) "/"
120 name "-" version ".tar.xz"))
121 (sha256
122 (base32
123 "0vc3wg9l5yrxm0xmligz4lw2g3nqj1dz8fwv90xvym8pbjds2849"))))
124 (build-system gnu-build-system)
125 (arguments
126 `(#:phases
127 (modify-phases %standard-phases
128 (add-after 'unpack 'autoconf
129 (lambda _
130 (setenv "SHELL" (which "sh"))
131 (setenv "CONFIG_SHELL" (which "sh"))
132 (invoke "sh" "autogen.sh"))))))
133 (native-inputs
134 `(("autoconf" ,(autoconf-wrapper))
135 ("automake" ,automake)
136 ("intltool" ,intltool)
137 ("icon-naming-utils" ,icon-naming-utils)
138 ("libtool" ,libtool)
139 ("mate-common" ,mate-common)
140 ("pkg-config" ,pkg-config)
141 ("which" ,which)))
142 (home-page "https://mate-desktop.org/")
143 (synopsis "MATE desktop environment icon theme faenza")
144 (description
145 "Icon theme using Faenza and Faience icon themes and some
146customized icons for MATE. Furthermore it includes some icons
147from Mint-X-F and Faenza-Fresh icon packs.")
148 (license license:gpl2+)))
cbfe494d
FH
149
150(define-public mate-themes
151 (package
152 (name "mate-themes")
60692df2 153 (version "3.22.13")
cbfe494d
FH
154 (source (origin
155 (method url-fetch)
833b7e0a 156 (uri (string-append "https://pub.mate-desktop.org/releases/themes/"
4e85f8d9
KK
157 (version-major+minor version) "/mate-themes-"
158 version ".tar.xz"))
cbfe494d
FH
159 (sha256
160 (base32
60692df2 161 "1p7w63an8qs15hkj79nppy7471glv0rm1b0himn3c4w69q8qdc9i"))))
cbfe494d
FH
162 (build-system gnu-build-system)
163 (native-inputs
164 `(("pkg-config" ,pkg-config)
68d2eea0 165 ("intltool" ,intltool)
166 ("gdk-pixbuf" ,gdk-pixbuf) ; gdk-pixbuf+svg isn't needed
167 ("gtk" ,gtk+-2)))
833b7e0a 168 (home-page "https://mate-desktop.org/")
cbfe494d
FH
169 (synopsis
170 "Official themes for the MATE desktop")
171 (description
172 "This package includes the standard themes for the MATE desktop, for
e3ec6c80
EF
173example Menta, TraditionalOk, GreenLaguna or BlackMate. This package has
174themes for both gtk+-2 and gtk+-3.")
cbfe494d
FH
175 (license (list license:lgpl2.1+ license:cc-by-sa3.0 license:gpl3+
176 license:gpl2+))))
4b48a9fe
FH
177
178(define-public mate-desktop
179 (package
180 (name "mate-desktop")
3bbdf641 181 (version "1.18.0")
4b48a9fe
FH
182 (source (origin
183 (method url-fetch)
833b7e0a 184 (uri (string-append "https://pub.mate-desktop.org/releases/"
4b48a9fe
FH
185 (version-major+minor version) "/"
186 name "-" version ".tar.xz"))
187 (sha256
188 (base32
3bbdf641 189 "12iv2y4dan962fs7vkkxbjkp77pbvjnwfa43ggr0zkdsc3ydjbbg"))))
4b48a9fe
FH
190 (build-system gnu-build-system)
191 (native-inputs
192 `(("pkg-config" ,pkg-config)
193 ("intltool" ,intltool)
194 ("glib:bin" ,glib "bin")
195 ("gobject-introspection" ,gobject-introspection)
6a548c56 196 ("yelp-tools" ,yelp-tools)
197 ("gtk-doc" ,gtk-doc)))
4b48a9fe 198 (inputs
9927943c
EF
199 `(("gtk+" ,gtk+)
200 ("libxrandr" ,libxrandr)
4b48a9fe 201 ("startup-notification" ,startup-notification)))
9927943c
EF
202 (propagated-inputs
203 `(("dconf" ,dconf))) ; mate-desktop-2.0.pc
833b7e0a 204 (home-page "https://mate-desktop.org/")
4b48a9fe
FH
205 (synopsis "Library with common API for various MATE modules")
206 (description
207 "This package contains a public API shared by several applications on the
208desktop and the mate-about program.")
209 (license (list license:gpl2+ license:lgpl2.0+ license:fdl1.1+))))
f2c7369a
FH
210
211(define-public libmateweather
212 (package
213 (name "libmateweather")
d954e569 214 (version "1.18.1")
f2c7369a
FH
215 (source (origin
216 (method url-fetch)
833b7e0a 217 (uri (string-append "https://pub.mate-desktop.org/releases/"
f2c7369a
FH
218 (version-major+minor version) "/"
219 name "-" version ".tar.xz"))
220 (sha256
221 (base32
d954e569 222 "0z6vfh42fv9rqjrraqfpf6h9nd9h662bxy3l3r48j19xvxrwmx3a"))))
f2c7369a
FH
223 (build-system gnu-build-system)
224 (arguments
5804c7b6 225 '(#:configure-flags
d954e569
KK
226 (list (string-append "--with-zoneinfo-dir="
227 (assoc-ref %build-inputs "tzdata")
228 "/share/zoneinfo"))
f2c7369a
FH
229 #:phases
230 (modify-phases %standard-phases
5804c7b6 231 (add-before 'check 'fix-tzdata-location
f2c7369a
FH
232 (lambda* (#:key inputs #:allow-other-keys)
233 (substitute* "data/check-timezones.sh"
234 (("/usr/share/zoneinfo/zone.tab")
235 (string-append (assoc-ref inputs "tzdata")
236 "/share/zoneinfo/zone.tab")))
237 #t)))))
238 (native-inputs
239 `(("pkg-config" ,pkg-config)
240 ("intltool" ,intltool)
5804c7b6 241 ("dconf" ,dconf)
f2c7369a
FH
242 ("glib:bin" ,glib "bin")))
243 (inputs
5804c7b6 244 `(("gtk+" ,gtk+)
f2c7369a
FH
245 ("tzdata" ,tzdata)))
246 (propagated-inputs
06599980
EF
247 ;; both of these are requires.private in mateweather.pc
248 `(("libsoup" ,libsoup)
249 ("libxml2" ,libxml2)))
833b7e0a 250 (home-page "https://mate-desktop.org/")
f2c7369a
FH
251 (synopsis "MATE library for weather information from the Internet")
252 (description
06599980 253 "This library provides access to weather information from the internet for
f2c7369a
FH
254the MATE desktop environment.")
255 (license license:lgpl2.1+)))
7af1ca29 256
17df429c 257(define-public mate-terminal
258 (package
259 (name "mate-terminal")
260 (version "1.18.1")
261 (source
262 (origin
263 (method url-fetch)
264 (uri (string-append "https://pub.mate-desktop.org/releases/"
265 (version-major+minor version) "/"
266 name "-" version ".tar.xz"))
267 (sha256
268 (base32
269 "1zihm609d2d9cw53ry385whshjl1dnkifpk41g1ddm9f58hv4da1"))))
270 (build-system glib-or-gtk-build-system)
271 (native-inputs
272 `(("pkg-config" ,pkg-config)
273 ("intltool" ,intltool)
274 ("itstool" ,itstool)
275 ("gobject-introspection" ,gobject-introspection)
276 ("libxml2" ,libxml2)
277 ("yelp-tools" ,yelp-tools)))
278 (inputs
279 `(("dconf" ,dconf)
280 ("gtk+" ,gtk+)
281 ("libice" ,libice)
282 ("libsm" ,libsm)
283 ("libx11" ,libx11)
284 ("mate-desktop" ,mate-desktop)
285 ("pango" ,pango)
286 ("vte" ,vte)))
287 (home-page "https://mate-desktop.org/")
288 (synopsis "MATE Terminal Emulator")
289 (description
290 "MATE Terminal is a terminal emulation application that you can
291use to access a shell. With it, you can run any application that
292is designed to run on VT102, VT220, and xterm terminals.
293MATE Terminal also has the ability to use multiple terminals
294in a single window (tabs) and supports management of different
295configurations (profiles).")
296 (license license:gpl3)))
297
a8376ca5 298(define-public mate-session-manager
299 (package
300 (name "mate-session-manager")
301 (version "1.18.1")
302 (source
303 (origin
304 (method url-fetch)
305 (uri (string-append "https://pub.mate-desktop.org/releases/"
306 (version-major+minor version) "/"
307 name "-" version ".tar.xz"))
308 (sha256
309 (base32
310 "0i0xq6041x2qmb26x9bawx0qpfkgjn6x9w3phnm9s7rc4s0z20ll"))))
311 (build-system glib-or-gtk-build-system)
1b332539 312 (arguments
313 `(#:configure-flags (list "--enable-elogind"
314 "--disable-schemas-compile")
315 #:phases
316 (modify-phases %standard-phases
317 (add-before 'configure 'pre-configure
318 (lambda* (#:key outputs #:allow-other-keys)
319 ;; Use elogind instead of systemd.
320 (substitute* "configure"
321 (("libsystemd-login")
322 "libelogind")
323 (("systemd") "elogind"))
324 (substitute* "mate-session/gsm-systemd.c"
325 (("#include <systemd/sd-login.h>")
326 "#include <elogind/sd-login.h>"))
327 ;; Remove uses of the systemd journal.
328 (substitute* "mate-session/main.c"
329 (("#ifdef HAVE_SYSTEMD") "#if 0"))
330 (substitute* "mate-session/gsm-manager.c"
331 (("#ifdef HAVE_SYSTEMD") "#if 0"))
332 (substitute* "mate-session/gsm-autostart-app.c"
333 (("#ifdef HAVE_SYSTEMD") "#if 0"))
334 #t)))))
a8376ca5 335 (native-inputs
336 `(("pkg-config" ,pkg-config)
337 ("intltool" ,intltool)
338 ("xtrans" ,xtrans)
339 ("gobject-introspection" ,gobject-introspection)))
340 (inputs
341 `(("gtk+" ,gtk+)
342 ("dbus-glib" ,dbus-glib)
1b332539 343 ("elogind" ,elogind)
a8376ca5 344 ("libsm" ,libsm)
345 ("mate-desktop" ,mate-desktop)))
346 (home-page "https://mate-desktop.org/")
347 (synopsis "Session manager for MATE")
348 (description
349 "Mate-session contains the MATE session manager, as well as a
350configuration program to choose applications starting on login.")
351 (license license:gpl2)))
352
0bb3d6bf 353(define-public mate-settings-daemon
354 (package
355 (name "mate-settings-daemon")
356 (version "1.18.1")
357 (source
358 (origin
359 (method url-fetch)
360 (uri (string-append "https://pub.mate-desktop.org/releases/"
361 (version-major+minor version) "/"
362 name "-" version ".tar.xz"))
363 (sha256
364 (base32
365 "07b2jkxqv07njdrgkdck93d872p6lch1lrvi7ydnpicspg3rfid6"))))
366 (build-system glib-or-gtk-build-system)
367 (native-inputs
368 `(("pkg-config" ,pkg-config)
369 ("intltool" ,intltool)
370 ("gobject-introspection" ,gobject-introspection)))
371 (inputs
372 `(("cairo" ,cairo)
373 ("dbus" ,dbus)
374 ("dbus-glib" ,dbus-glib)
375 ("dconf" ,dconf)
376 ("fontconfig" ,fontconfig)
377 ("gtk+" ,gtk+)
378 ("libcanberra" ,libcanberra)
379 ("libmatekbd" ,libmatekbd)
380 ("libmatemixer" ,libmatemixer)
381 ("libnotify" ,libnotify)
382 ("libx11" ,libx11)
383 ("libxext" ,libxext)
384 ("libxi" ,libxi)
385 ("libxklavier" ,libxklavier)
386 ("mate-desktop" ,mate-desktop)
387 ("nss" ,nss)
388 ("polkit" ,polkit)
389 ("startup-notification" ,startup-notification)))
390 (home-page "https://mate-desktop.org/")
391 (synopsis "Settings Daemon for MATE")
392 (description
393 "Mate-settings-daemon is a fork of gnome-settings-daemon.")
394 (license (list license:lgpl2.1 license:gpl2))))
395
133cb876 396(define-public libmatemixer
397 (package
398 (name "libmatemixer")
399 (version "1.18.0")
400 (source
401 (origin
402 (method url-fetch)
403 (uri (string-append "https://pub.mate-desktop.org/releases/"
404 (version-major+minor version) "/"
405 name "-" version ".tar.xz"))
406 (sha256
407 (base32
408 "09vyxnlnalws318gsafdfi5c6jwpp92pbafn1ddlqqds23ihk4mr"))))
409 (build-system glib-or-gtk-build-system)
410 (native-inputs
411 `(("pkg-config" ,pkg-config)
412 ("intltool" ,intltool)
413 ("gobject-introspection" ,gobject-introspection)))
414 (inputs
415 `(("glib" ,glib)
416 ("pulseaudio" ,pulseaudio)
417 ("alsa-lib" ,alsa-lib)))
418 (home-page "https://mate-desktop.org/")
419 (synopsis "Mixer library for the MATE desktop")
420 (description
421 "Libmatemixer is a mixer library for MATE desktop. It provides an abstract
422API allowing access to mixer functionality available in the PulseAudio and ALSA
423sound systems.")
424 (license license:lgpl2.1)))
425
9c9909ef 426(define-public libmatekbd
427 (package
428 (name "libmatekbd")
429 (version "1.18.2")
430 (source
431 (origin
432 (method url-fetch)
433 (uri (string-append "https://pub.mate-desktop.org/releases/"
434 (version-major+minor version) "/"
435 name "-" version ".tar.xz"))
436 (sha256
437 (base32
438 "030bl18qbjm7l92bp1bhs7v82bp8j3mv7c1j1a4gd89iz4611pq3"))))
439 (build-system glib-or-gtk-build-system)
440 (native-inputs
441 `(("pkg-config" ,pkg-config)
442 ("intltool" ,intltool)
443 ("gobject-introspection" ,gobject-introspection)))
444 (inputs
445 `(("cairo" ,cairo)
446 ("gdk-pixbuf" ,gdk-pixbuf+svg)
447 ("glib" ,glib)
448 ("gtk+" ,gtk+)
449 ("libx11" ,libx11)
450 ("libxklavier" ,libxklavier)))
451 (home-page "https://mate-desktop.org/")
452 (synopsis "MATE keyboard configuration library")
453 (description
454 "Libmatekbd is a keyboard configuration library for the
455MATE desktop environment.")
456 (license license:lgpl2.1)))
457
7af1ca29
FH
458(define-public mate-menus
459 (package
460 (name "mate-menus")
78a52051 461 (version "1.18.0")
7af1ca29
FH
462 (source (origin
463 (method url-fetch)
833b7e0a 464 (uri (string-append "https://pub.mate-desktop.org/releases/"
7af1ca29
FH
465 (version-major+minor version) "/"
466 name "-" version ".tar.xz"))
467 (sha256
468 (base32
78a52051 469 "05kyr37xqv6hm1rlvnqd5ng0x1n883brqynkirkk5drl56axnz7h"))))
7af1ca29
FH
470 (build-system gnu-build-system)
471 (arguments
472 `(#:phases
473 (modify-phases %standard-phases
474 (add-after
475 'unpack 'fix-introspection-install-dir
476 (lambda* (#:key outputs #:allow-other-keys)
477 (let ((out (assoc-ref outputs "out")))
478 (substitute* '("configure")
479 (("`\\$PKG_CONFIG --variable=girdir gobject-introspection-1.0`")
480 (string-append "\"" out "/share/gir-1.0/\""))
481 (("\\$\\(\\$PKG_CONFIG --variable=typelibdir gobject-introspection-1.0\\)")
27caff1b
EF
482 (string-append out "/lib/girepository-1.0/")))
483 #t))))))
7af1ca29
FH
484 (native-inputs
485 `(("pkg-config" ,pkg-config)
486 ("intltool" ,intltool)
487 ("gobject-introspection" ,gobject-introspection)))
488 (inputs
27caff1b
EF
489 `(("glib" ,glib)
490 ("python" ,python-2)))
833b7e0a 491 (home-page "https://mate-desktop.org/")
7af1ca29
FH
492 (synopsis "Freedesktop menu specification implementation for MATE")
493 (description
494 "The package contains an implementation of the freedesktop menu
495specification, the MATE menu layout configuration files, .directory files and
496assorted menu related utility programs.")
497 (license (list license:gpl2+ license:lgpl2.0+))))
42a6eaac 498
da78e01b 499(define-public mate-applets
500 (package
501 (name "mate-applets")
502 (version "1.18.1")
503 (source
504 (origin
505 (method url-fetch)
506 (uri (string-append "https://pub.mate-desktop.org/releases/"
507 (version-major+minor version) "/"
508 name "-" version ".tar.xz"))
509 (sha256
510 (base32
511 "1nplr8i1mxbxd7pqhcy8j69v25nsp5dk9fq7ffrmjmp39lrf3fh5"))))
512 (build-system glib-or-gtk-build-system)
513 (native-inputs
514 `(("pkg-config" ,pkg-config)
515 ("intltool" ,intltool)
516 ("libxslt" ,libxslt)
517 ("yelp-tools" ,yelp-tools)
518 ("scrollkeeper" ,scrollkeeper)
519 ("gettext" ,gettext-minimal)
520 ("docbook-xml" ,docbook-xml)
521 ("gobject-introspection" ,gobject-introspection)))
522 (inputs
523 `(("atk" ,atk)
524 ("dbus" ,dbus)
525 ("dbus-glib" ,dbus-glib)
526 ("glib" ,glib)
527 ("gucharmap" ,gucharmap)
528 ("gtk+" ,gtk+)
529 ("gtksourceview" ,gtksourceview)
530 ("libgtop" ,libgtop)
531 ("libmateweather" ,libmateweather)
532 ("libnotify" ,libnotify)
533 ("libx11" ,libx11)
534 ("libxml2" ,libxml2)
535 ("libwnck" ,libwnck)
536 ("mate-panel" ,mate-panel)
537 ("pango" ,pango)
538 ("polkit" ,polkit) ; either polkit or setuid
539 ("python" ,python-2)
540 ("upower" ,upower)
541 ("wireless-tools" ,wireless-tools)))
542 (propagated-inputs
543 `(("python-pygobject" ,python-pygobject)))
544 (home-page "https://mate-desktop.org/")
545 (synopsis "Various applets for the MATE Panel")
546 (description
547 "Mate-applets includes various small applications for Mate-panel:
548
549@enumerate
550@item accessx-status: indicates keyboard accessibility settings,
551including the current state of the keyboard, if those features are in use.
552@item Battstat: monitors the power subsystem on a laptop.
553@item Character palette: provides a convenient way to access
554non-standard characters, such as accented characters,
555mathematical symbols, special symbols, and punctuation marks.
556@item MATE CPUFreq Applet: CPU frequency scaling monitor
557@item Drivemount: lets you mount and unmount drives and file systems.
558@item Geyes: pair of eyes which follow the mouse pointer around the screen.
559@item Keyboard layout switcher: lets you assign different keyboard
560layouts for different locales.
561@item Modem Monitor: monitors the modem.
562@item Invest: downloads current stock quotes from the Internet and
563displays the quotes in a scrolling display in the applet. The
564applet downloads the stock information from Yahoo! Finance.
565@item System monitor: CPU, memory, network, swap file and resource.
566@item Trash: lets you drag items to the trash folder.
567@item Weather report: downloads weather information from the
568U.S National Weather Service (NWS) servers, including the
569Interactive Weather Information Network (IWIN).
570@end enumerate\n")
571 (license (list license:gpl2+ license:lgpl2.0+ license:gpl3+))))
572
4d553e0a 573(define-public mate-media
574 (package
575 (name "mate-media")
576 (version "1.18.1")
577 (source
578 (origin
579 (method url-fetch)
580 (uri (string-append "https://pub.mate-desktop.org/releases/"
581 (version-major+minor version) "/"
582 name "-" version ".tar.xz"))
583 (sha256
584 (base32
585 "1l0j71d07898wb6ily09sj1xczwrmcw13wyhxwns7sxw592nwi04"))))
586 (build-system glib-or-gtk-build-system)
587 (native-inputs
588 `(("pkg-config" ,pkg-config)
589 ("intltool" ,intltool)
590 ("gettext" ,gettext-minimal)
591 ("gobject-introspection" ,gobject-introspection)))
592 (inputs
593 `(("cairo" ,cairo)
594 ("gtk+" ,gtk+)
595 ("libcanberra" ,libcanberra)
596 ("libmatemixer" ,libmatemixer)
597 ("libxml2" ,libxml2)
598 ("mate-applets" ,mate-applets)
599 ("mate-desktop" ,mate-desktop)
600 ("mate-panel" ,mate-panel)
601 ("pango" ,pango)
602 ("startup-notification" ,startup-notification)))
603 (home-page "https://mate-desktop.org/")
604 (synopsis "Multimedia related programs for the MATE desktop")
605 (description
606 "Mate-media includes the MATE media tools for MATE, including
607mate-volume-control, a MATE volume control application and applet.")
608 (license (list license:gpl2+ license:lgpl2.0+ license:fdl1.1+))))
609
c3812bec 610(define-public mate-panel
611 (package
612 (name "mate-panel")
613 (version "1.18.4")
614 (source
615 (origin
616 (method url-fetch)
617 (uri (string-append "https://pub.mate-desktop.org/releases/"
618 (version-major+minor version) "/"
619 name "-" version ".tar.xz"))
620 (sha256
621 (base32
622 "1n565ff1n7jrfx223i3cl3m69wjda506nvbn8gra7m1jwdfzpbw1"))))
623 (build-system glib-or-gtk-build-system)
624 (arguments
625 `(#:configure-flags
626 (list (string-append "--with-zoneinfo-dir="
627 (assoc-ref %build-inputs "tzdata")
628 "/share/zoneinfo")
629 "--with-in-process-applets=all")
630 #:phases
631 (modify-phases %standard-phases
632 (add-before 'configure 'fix-timezone-path
633 (lambda* (#:key inputs #:allow-other-keys)
634 (let* ((tzdata (assoc-ref inputs "tzdata")))
635 (substitute* "applets/clock/system-timezone.h"
636 (("/usr/share/lib/zoneinfo/tab")
637 (string-append tzdata "/share/zoneinfo/zone.tab"))
638 (("/usr/share/zoneinfo")
639 (string-append tzdata "/share/zoneinfo"))))
640 #t))
641 (add-after 'unpack 'fix-introspection-install-dir
642 (lambda* (#:key outputs #:allow-other-keys)
643 (let ((out (assoc-ref outputs "out")))
644 (substitute* '("configure")
645 (("`\\$PKG_CONFIG --variable=girdir gobject-introspection-1.0`")
646 (string-append "\"" out "/share/gir-1.0/\""))
647 (("\\$\\(\\$PKG_CONFIG --variable=typelibdir gobject-introspection-1.0\\)")
648 (string-append out "/lib/girepository-1.0/")))
649 #t))))))
650 (native-inputs
651 `(("pkg-config" ,pkg-config)
652 ("intltool" ,intltool)
653 ("itstool" ,itstool)
654 ("xtrans" ,xtrans)
655 ("gobject-introspection" ,gobject-introspection)))
656 (inputs
657 `(("dconf" ,dconf)
658 ("cairo" ,cairo)
659 ("dbus-glib" ,dbus-glib)
660 ("gtk+" ,gtk+)
661 ("libcanberra" ,libcanberra)
662 ("libice" ,libice)
663 ("libmateweather" ,libmateweather)
664 ("librsvg" ,librsvg)
665 ("libsm" ,libsm)
666 ("libx11" ,libx11)
667 ("libxau" ,libxau)
668 ("libxml2" ,libxml2)
669 ("libxrandr" ,libxrandr)
670 ("libwnck" ,libwnck)
671 ("mate-desktop" ,mate-desktop)
672 ("mate-menus" ,mate-menus)
673 ("pango" ,pango)
674 ("tzdata" ,tzdata)))
675 (home-page "https://mate-desktop.org/")
676 (synopsis "Panel for MATE")
677 (description
678 "Mate-panel contains the MATE panel, the libmate-panel-applet library and
679several applets. The applets supplied here include the Workspace Switcher,
680the Window List, the Window Selector, the Notification Area, the Clock and the
681infamous 'Wanda the Fish'.")
682 (license (list license:gpl2+ license:lgpl2.0+))))
683
69428571 684(define-public atril
685 (package
686 (name "atril")
687 (version "1.18.1")
688 (source
689 (origin
690 (method url-fetch)
691 (uri (string-append "https://pub.mate-desktop.org/releases/"
692 (version-major+minor version) "/"
693 name "-" version ".tar.xz"))
694 (sha256
695 (base32
696 "1wl332v80c0nzz7nw36d1pfmbiibvl3l0i4d25ihg6mg9wbc0145"))))
697 (build-system glib-or-gtk-build-system)
698 (arguments
699 `(#:configure-flags (list (string-append "--with-openjpeg="
700 (assoc-ref %build-inputs "openjpeg"))
701 "--enable-introspection"
702 "--with-gtk=3.0"
703 "--disable-schemas-compile"
704 ;; FIXME: Enable build of Caja extensions.
705 "--disable-caja")
706 #:tests? #f
707 #:phases
708 (modify-phases %standard-phases
709 (add-after 'unpack 'fix-mathjax-path
710 (lambda _
711 (let* ((mathjax (assoc-ref %build-inputs "js-mathjax"))
712 (mathjax-path (string-append mathjax
713 "/share/javascript/mathjax")))
714 (substitute* "backend/epub/epub-document.c"
715 (("/usr/share/javascript/mathjax")
716 mathjax-path)))
717 #t))
718 (add-after 'unpack 'fix-introspection-install-dir
719 (lambda* (#:key outputs #:allow-other-keys)
720 (let ((out (assoc-ref outputs "out")))
721 (substitute* '("configure")
722 (("\\$\\(\\$PKG_CONFIG --variable=girdir gobject-introspection-1.0\\)")
723 (string-append "\"" out "/share/gir-1.0/\""))
724 (("\\$\\(\\$PKG_CONFIG --variable=typelibdir gobject-introspection-1.0\\)")
725 (string-append out "/lib/girepository-1.0/")))
726 #t)))
727 (add-before 'install 'skip-gtk-update-icon-cache
728 ;; Don't create 'icon-theme.cache'.
729 (lambda _
730 (substitute* "data/Makefile"
731 (("gtk-update-icon-cache") "true"))
732 #t)))))
733 (native-inputs
734 `(("pkg-config" ,pkg-config)
735 ("intltool" ,intltool)
736 ("itstool" ,itstool)
737 ("yelp-tools" ,yelp-tools)
738 ("glib:bin" ,glib "bin")
739 ("gobject-introspection" ,gobject-introspection)
740 ("gtk-doc" ,gtk-doc)
741 ("xmllint" ,libxml2)
742 ("zlib" ,zlib)))
743 (inputs
744 `(("atk" ,atk)
745 ("cairo" ,cairo)
746 ("caja" ,caja)
747 ("dconf" ,dconf)
748 ("dbus" ,dbus)
749 ("dbus-glib" ,dbus-glib)
750 ("djvulibre" ,djvulibre)
751 ("fontconfig" ,fontconfig)
752 ("freetype" ,freetype)
753 ("ghostscript" ,ghostscript)
754 ("glib" ,glib)
755 ("gtk+" ,gtk+)
756 ("js-mathjax" ,js-mathjax)
757 ("libcanberra" ,libcanberra)
758 ("libsecret" ,libsecret)
759 ("libspectre" ,libspectre)
760 ("libtiff" ,libtiff)
761 ("libx11" ,libx11)
762 ("libice" ,libice)
763 ("libsm" ,libsm)
764 ("libgxps" ,libgxps)
765 ("libjpeg" ,libjpeg)
766 ("libxml2" ,libxml2)
767 ("dogtail" ,python2-dogtail)
768 ("shared-mime-info" ,shared-mime-info)
769 ("gdk-pixbuf" ,gdk-pixbuf)
770 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
771 ("libgnome-keyring" ,libgnome-keyring)
772 ("libarchive" ,libarchive)
773 ("marco" ,marco)
774 ("nettle" ,nettle)
775 ("openjpeg" ,openjpeg-1)
776 ("pango" ,pango)
777 ;;("texlive" ,texlive)
778 ;; TODO:
779 ;; Build libkpathsea as a shared library for DVI support.
780 ;; ("libkpathsea" ,texlive-bin)
781 ("poppler" ,poppler)
782 ("webkitgtk" ,webkitgtk)))
783 (home-page "https://mate-desktop.org")
784 (synopsis "Document viewer for Mate")
785 (description
786 "Document viewer for Mate")
787 (license license:gpl2)))
788
42a6eaac 789(define-public caja
790 (package
791 (name "caja")
792 (version "1.18.3")
793 (source
794 (origin
795 (method url-fetch)
796 (uri (string-append "https://pub.mate-desktop.org/releases/"
797 (version-major+minor version) "/"
798 name "-" version ".tar.xz"))
799 (sha256
800 (base32
801 "0mljqcx7k8p27854zm7qzzn8ca6hs7hva9p43hp4p507z52caqmm"))))
802 (build-system glib-or-gtk-build-system)
803 (arguments
804 `(#:configure-flags '("--disable-update-mimedb")
805 #:tests? #f ; tests fail even with display set
806 #:phases
807 (modify-phases %standard-phases
808 (add-before 'check 'pre-check
809 (lambda _
810 ;; Tests require a running X server.
811 (system "Xvfb :1 &")
812 (setenv "DISPLAY" ":1")
813 ;; For the missing /etc/machine-id.
814 (setenv "DBUS_FATAL_WARNINGS" "0")
815 #t)))))
816 (native-inputs
817 `(("pkg-config" ,pkg-config)
818 ("intltool" ,intltool)
819 ("glib:bin" ,glib "bin")
820 ("xorg-server" ,xorg-server)
821 ("gobject-introspection" ,gobject-introspection)))
822 (inputs
823 `(("exempi" ,exempi)
824 ("gtk+" ,gtk+)
825 ("gvfs" ,gvfs)
826 ("libexif" ,libexif)
827 ("libnotify" ,libnotify)
828 ("libsm" ,libsm)
829 ("libxml2" ,libxml2)
830 ("mate-desktop" ,mate-desktop)
831 ("startup-notification" ,startup-notification)))
5a97a262 832 (native-search-paths
833 (list (search-path-specification
834 (variable "CAJA_EXTENSIONDIR")
835 (files (list "lib/caja/extensions-2.0/**")))))
42a6eaac 836 (home-page "https://mate-desktop.org/")
837 (synopsis "File manager for the MATE desktop")
838 (description
839 "Caja is the official file manager for the MATE desktop.
840It allows for browsing directories, as well as previewing files and launching
841applications associated with them. Caja is also responsible for handling the
842icons on the MATE desktop. It works on local and remote filesystems.")
843 ;; There is a note about a TRADEMARKS_NOTICE file in COPYING which
844 ;; does not exist. It is safe to assume that this is of no concern
845 ;; for us.
846 (license license:gpl2+)))
4d26a340 847
d58b0abd 848(define-public caja-extensions
849 (package
850 (name "caja-extensions")
851 (version "1.18.1")
852 (source
853 (origin
854 (method url-fetch)
855 (uri (string-append "https://pub.mate-desktop.org/releases/"
856 (version-major+minor version) "/"
857 name "-" version ".tar.xz"))
858 (sha256
859 (base32
860 "0hgala7zkfsa60jflq3s4n9yd11dhfdcla40l83cmgc3r1az7cmw"))))
861 (build-system glib-or-gtk-build-system)
862 (arguments
863 `(#:configure-flags (list "--enable-sendto"
864 ;; TODO: package "gupnp" to enable 'upnp', package
865 ;; "gksu" to enable 'gksu'.
866 (string-append "--with-sendto-plugins=removable-devices,"
867 "caja-burn,emailclient,pidgin,gajim")
868 "--enable-image-converter"
869 "--enable-open-terminal" "--enable-share"
870 "--enable-wallpaper" "--enable-xattr-tags"
871 (string-append "--with-cajadir="
872 (assoc-ref %outputs "out")
873 "/lib/caja/extensions-2.0/"))))
874 (native-inputs
875 `(("intltool" ,intltool)
876 ("gettext" ,gettext-minimal)
877 ("glib:bin" ,glib "bin")
878 ("gobject-introspection" ,gobject-introspection)
879 ("gtk-doc" ,gtk-doc)
880 ("pkg-config" ,pkg-config)))
881 (inputs
882 `(("attr" ,attr)
883 ("brasero" ,brasero)
884 ("caja" ,caja)
885 ("dbus" ,dbus)
886 ("dbus-glib" ,dbus-glib)
887 ("gajim" ,gajim) ;runtime only?
888 ("gtk+" ,gtk+)
889 ("imagemagick" ,imagemagick)
890 ("graphicsmagick" ,graphicsmagick)
891 ("mate-desktop" ,mate-desktop)
892 ("pidgin" ,pidgin) ;runtime only?
893 ("startup-notification" ,startup-notification)))
894 (home-page "https://mate-desktop.org/")
895 (synopsis "Extensions for the File manager Caja")
896 (description
897 "Caja is the official file manager for the MATE desktop.
898It allows for browsing directories, as well as previewing files and launching
899applications associated with them. Caja is also responsible for handling the
900icons on the MATE desktop. It works on local and remote filesystems.")
901 (license license:gpl2+)))
902
16cd07c1 903(define-public mate-control-center
904 (package
905 (name "mate-control-center")
906 (version "1.18.2")
907 (source
908 (origin
909 (method url-fetch)
910 (uri (string-append "https://pub.mate-desktop.org/releases/"
911 (version-major+minor version) "/"
912 name "-" version ".tar.xz"))
913 (sha256
914 (base32
915 "0flnn0h8f5aqyccwrlv7qxchvr3kqmlfdga6wq28d55zkpv5m7dl"))))
916 (build-system glib-or-gtk-build-system)
917 (native-inputs
918 `(("pkg-config" ,pkg-config)
919 ("intltool" ,intltool)
920 ("yelp-tools" ,yelp-tools)
921 ("desktop-file-utils" ,desktop-file-utils)
922 ("kbproto" ,kbproto)
923 ("randrproto" ,randrproto)
924 ("renderproto" ,renderproto)
925 ("scrnsaverproto" ,scrnsaverproto)
926 ("xextpro" ,xextproto)
927 ("xproto" ,xproto)
928 ("xmodmap" ,xmodmap)
929 ("gobject-introspection" ,gobject-introspection)))
930 (inputs
931 `(("atk" ,atk)
932 ("cairo" ,cairo)
933 ("caja" ,caja)
934 ("dconf" ,dconf)
935 ("dbus" ,dbus)
936 ("dbus-glib" ,dbus-glib)
937 ("fontconfig" ,fontconfig)
938 ("freetype" ,freetype)
939 ("glib" ,glib)
940 ("gtk+" ,gtk+)
941 ("libcanberra" ,libcanberra)
942 ("libmatekbd" ,libmatekbd)
943 ("libx11" ,libx11)
944 ("libxcursor" ,libxcursor)
945 ("libxext" ,libxext)
946 ("libxi" ,libxi)
947 ("libxklavier" ,libxklavier)
948 ("libxml2" ,libxml2)
949 ("libxrandr" ,libxrandr)
950 ("libxrender" ,libxrender)
951 ("libxscrnsaver" ,libxscrnsaver)
952 ("marco" ,marco)
953 ("mate-desktop" ,mate-desktop)
954 ("mate-menus" ,mate-menus)
955 ("mate-settings-daemon" ,mate-settings-daemon)
956 ("pango" ,pango)
957 ("startup-notification" ,startup-notification)))
958 (propagated-inputs
959 `(("gdk-pixbuf" ,gdk-pixbuf+svg) ; mate-slab.pc
960 ("librsvg" ,librsvg))) ; mate-slab.pc
961 (home-page "https://mate-desktop.org/")
962 (synopsis "MATE Desktop configuration tool")
963 (description
964 "MATE control center is MATE's main interface for configuration
965of various aspects of your desktop.")
966 (license license:gpl2+)))
967
4d26a340 968(define-public marco
969 (package
970 (name "marco")
971 (version "1.18.1")
972 (source
973 (origin
974 (method url-fetch)
975 (uri (string-append "https://pub.mate-desktop.org/releases/"
976 (version-major+minor version) "/"
977 name "-" version ".tar.xz"))
978 (sha256
979 (base32
980 "0lwbp9wyd66hl5d7g272l8g3k1pb9s4s2p9fb04750a58w87d8k5"))))
981 (build-system glib-or-gtk-build-system)
982 (native-inputs
983 `(("pkg-config" ,pkg-config)
984 ("intltool" ,intltool)
985 ("itstool" ,itstool)
986 ("glib" ,glib)
987 ("gobject-introspection" ,gobject-introspection)
988 ("libxft" ,libxft)
989 ("libxml2" ,libxml2)
990 ("zenity" ,zenity)))
991 (inputs
992 `(("gtk+" ,gtk+)
993 ("libcanberra" ,libcanberra)
994 ("libgtop" ,libgtop)
995 ("libice" ,libice)
996 ("libsm" ,libsm)
997 ("libx11" ,libx11)
998 ("libxcomposite" ,libxcomposite)
999 ("libxcursor" ,libxcursor)
1000 ("libxdamage" ,libxdamage)
1001 ("libxext" ,libxext)
1002 ("libxfixes" ,libxfixes)
1003 ("libxinerama" ,libxinerama)
1004 ("libxrandr" ,libxrandr)
1005 ("libxrender" ,libxrender)
1006 ("mate-desktop" ,mate-desktop)
1007 ("pango" ,pango)
1008 ("startup-notification" ,startup-notification)))
1009 (home-page "https://mate-desktop.org/")
1010 (synopsis "Window manager for the MATE desktop")
1011 (description
1012 "Marco is a minimal X window manager that uses GTK+ for drawing
1013window frames. It is aimed at non-technical users and is designed to integrate
1014well with the MATE desktop. It lacks some features that may be expected by
1015some users; these users may want to investigate other available window managers
1016for use with MATE or as a standalone window manager.")
1017 (license license:gpl2+)))
b5831eb7 1018
75282ec1 1019(define-public mate-user-guide
1020 (package
1021 (name "mate-user-guide")
1022 (version "1.18.0")
1023 (source
1024 (origin
1025 (method url-fetch)
1026 (uri (string-append "https://pub.mate-desktop.org/releases/"
1027 (version-major+minor version) "/"
1028 name "-" version ".tar.xz"))
1029 (sha256
1030 (base32
1031 "0f3b46r9a3cywm7rpj08xlkfnlfr9db58xfcpix8i33qp50fxqmb"))))
1032 (build-system gnu-build-system)
1033 (arguments
1034 `(#:phases
1035 (modify-phases %standard-phases
1036 (add-after 'unpack 'adjust-desktop-file
1037 (lambda* (#:key inputs #:allow-other-keys)
1038 (let* ((yelp (assoc-ref inputs "yelp")))
1039 (substitute* "mate-user-guide.desktop.in.in"
1040 (("yelp")
1041 (string-append yelp "/bin/yelp"))))
1042 #t)))))
1043 (native-inputs
1044 `(("pkg-config" ,pkg-config)
1045 ("intltool" ,intltool)
1046 ("gettext" ,gettext-minimal)
1047 ("yelp-tools" ,yelp-tools)
1048 ("yelp-xsl" ,yelp-xsl)))
1049 (inputs
1050 `(("yelp" ,yelp)))
1051 (home-page "https://mate-desktop.org/")
1052 (synopsis "User Documentation for Mate software")
1053 (description
1054 "MATE User Guide is a collection of documentation which details
1055general use of the MATE Desktop environment. Topics covered include
1056sessions, panels, menus, file management, and preferences.")
1057 (license (list license:fdl1.1+ license:gpl2+))))
1058
033a2ac6 1059(define-public mate-calc
1060 (package
1061 (name "mate-calc")
1062 (version "1.18.0")
1063 (source
1064 (origin
1065 (method url-fetch)
1066 (uri (string-append "https://pub.mate-desktop.org/releases/"
1067 (version-major+minor version) "/"
1068 name "-" version ".tar.xz"))
1069 (sha256
1070 (base32
1071 "0qfs6kx2nymbn6j3mnzgvk8p54ghc78jslsf4wjqsdq021qyl0ly"))))
1072 (build-system glib-or-gtk-build-system)
1073 (native-inputs
1074 `(("gettext" ,gettext-minimal)
1075 ("intltool" ,intltool)
1076 ("pkg-config" ,pkg-config)
1077 ("yelp-tools" ,yelp-tools)))
1078 (inputs
1079 `(("atk" ,atk)
1080 ("glib" ,glib)
1081 ("gtk+" ,gtk+)
1082 ("libxml2" ,libxml2)
1083 ("libcanberra" ,libcanberra)
1084 ("pango" ,pango)))
1085 (home-page "https://mate-desktop.org/")
1086 (synopsis "Calculator for MATE")
1087 (description
1088 "Mate Calc is the GTK+ calculator application for the MATE Desktop.")
1089 (license license:gpl2+)))
1090
bf7f2949 1091(define-public mate-backgrounds
1092 (package
1093 (name "mate-backgrounds")
1094 (version "1.18.0")
1095 (source
1096 (origin
1097 (method url-fetch)
1098 (uri (string-append "https://pub.mate-desktop.org/releases/"
1099 (version-major+minor version) "/"
1100 name "-" version ".tar.xz"))
1101 (sha256
1102 (base32
1103 "06q8ksjisijps2wn959arywsimhzd3j35mqkr048c26ck24d60zi"))))
1104 (build-system glib-or-gtk-build-system)
1105 (native-inputs
1106 `(("intltool" ,intltool)))
1107 (home-page "https://mate-desktop.org/")
1108 (synopsis "Calculator for MATE")
1109 (description
1110 "This package contains a collection of graphics files which
1111can be used as backgrounds in the MATE Desktop environment.")
1112 (license license:gpl2+)))
1113
9f7d5768 1114(define-public mate-netbook
1115 (package
1116 (name "mate-netbook")
1117 (version "1.18.1")
1118 (source
1119 (origin
1120 (method url-fetch)
1121 (uri (string-append "https://pub.mate-desktop.org/releases/"
1122 (version-major+minor version) "/"
1123 name "-" version ".tar.xz"))
1124 (sha256
1125 (base32
1126 "0zj4x9qis8dw0irxzb4va1189k8bqbvymxq3h7phnjwvr1m983gf"))))
1127 (build-system glib-or-gtk-build-system)
1128 (native-inputs
1129 `(("gettext" ,gettext-minimal)
1130 ("intltool" ,intltool)
1131 ("pkg-config" ,pkg-config)))
1132 (inputs
1133 `(("cairo" ,cairo)
1134 ("glib" ,glib)
1135 ("gtk+" ,gtk+)
1136 ("libfakekey" ,libfakekey)
1137 ("libwnck" ,libwnck)
1138 ("libxtst" ,libxtst)
1139 ("libx11" ,libx11)
1140 ("mate-panel" ,mate-panel)
1141 ("xproto" ,xproto)))
1142 (home-page "https://mate-desktop.org/")
1143 (synopsis "Tool for MATE on Netbooks")
1144 (description
1145 "Mate Netbook is a simple window management tool which:
1146
1147@enumerate
1148@item Allows you to set basic rules for a window type, such as maximise|undecorate
1149@item Allows exceptions to the rules, based on string matching for window name
1150and window class.
1151@item Allows 'reversing' of rules when the user manually changes something:
1152Re-decorates windows on un-maximise.
1153@end enumerate\n")
1154 (license license:gpl3+)))
1155
c44838f9 1156(define-public mate-screensaver
1157 (package
1158 (name "mate-screensaver")
1159 (version "1.18.1")
1160 (source
1161 (origin
1162 (method url-fetch)
1163 (uri (string-append "https://pub.mate-desktop.org/releases/"
1164 (version-major+minor version) "/"
1165 name "-" version ".tar.xz"))
1166 (sha256
1167 (base32
1168 "0dfi10faf1fnvrm7c7wnfqg35ygq09ws1vjyv8394jlf0nn39g9j"))))
1169 (build-system glib-or-gtk-build-system)
1170 (arguments
1171 `(#:configure-flags
1172 ;; FIXME: There is a permissions problem with screen locking
1173 ;; which effectively locks you out completely. Enable locking
1174 ;; once this has been fixed.
1175 (list "--enable-locking" "--with-kbd-layout-indicator"
1176 "--with-xf86gamma-ext" "--enable-pam"
1177 "--disable-schemas-compile" "--without-console-kit")
1178 #:phases
1179 (modify-phases %standard-phases
1180 (add-after 'unpack 'autoconf
1181 (lambda* (#:key outputs #:allow-other-keys)
1182 (let* ((out (assoc-ref outputs "out"))
1183 (dbus-dir (string-append out "/share/dbus-1/services")))
1184 (setenv "SHELL" (which "sh"))
1185 (setenv "CONFIG_SHELL" (which "sh"))
1186 (substitute* "configure"
1187 (("dbus-1") ""))))))))
1188 (native-inputs
1189 `(("automake" ,automake)
1190 ("autoconf" ,(autoconf-wrapper))
1191 ("gettext" ,gettext-minimal)
1192 ("intltool" ,intltool)
1193 ("kbproto" ,kbproto)
1194 ("mate-common" ,mate-common)
1195 ("pkg-config" ,pkg-config)
1196 ("randrproto" ,randrproto)
1197 ("renderproto" ,renderproto)
1198 ("scrnsaverproto" ,scrnsaverproto)
1199 ("which" ,which)
1200 ("xextpro" ,xextproto)
1201 ("xproto" ,xproto)))
1202 (inputs
1203 `(("cairo" ,cairo)
1204 ("dconf" ,dconf)
1205 ("dbus" ,dbus)
1206 ("dbus-glib" ,dbus-glib)
1207 ("glib" ,glib)
1208 ("gtk+" ,gtk+)
1209 ("gdk-pixbuf" ,gdk-pixbuf+svg)
1210 ("libcanberra" ,libcanberra)
1211 ("libglade" ,libglade)
1212 ("libmatekbd" ,libmatekbd)
1213 ("libnotify" ,libnotify)
1214 ("libx11" ,libx11)
1215 ("libxext" ,libxext)
1216 ("libxklavier" ,libxklavier)
1217 ("libxrandr" ,libxrandr)
1218 ("libxrender" ,libxrender)
1219 ("libxscrnsaver" ,libxscrnsaver)
1220 ("libxxf86vm" ,libxxf86vm)
1221 ("linux-pam" ,linux-pam)
1222 ("mate-desktop" ,mate-desktop)
1223 ("mate-menus" ,mate-menus)
1224 ("pango" ,pango)
1225 ("startup-notification" ,startup-notification)))
1226 (home-page "https://mate-desktop.org/")
1227 (synopsis "Screensaver for MATE")
1228 (description
1229 "MATE backgrounds package contains a collection of graphics files which
1230can be used as backgrounds in the MATE Desktop environment.")
1231 (license license:gpl2+)))
1232
b5831eb7 1233(define-public mate
1234 (package
1235 (name "mate")
1236 (version (package-version mate-desktop))
1237 (source #f)
1238 (build-system trivial-build-system)
1239 (arguments
1240 `(#:modules ((guix build union))
1241 #:builder
1242 (begin
1243 (use-modules (ice-9 match)
1244 (guix build union))
1245 (match %build-inputs
1246 (((names . directories) ...)
1247 (union-build (assoc-ref %outputs "out")
1248 directories))))))
1249 (inputs
1250 ;; TODO: Add more packages
1251 `(("at-spi2-core" ,at-spi2-core)
1252 ("caja" ,caja)
1253 ("dbus" ,dbus)
1254 ("dconf" ,dconf)
1255 ("desktop-file-utils" ,desktop-file-utils)
1256 ("font-cantarell" ,font-cantarell)
1257 ("glib-networking" ,glib-networking)
1258 ("gnome-keyring" ,gnome-keyring)
1259 ("gvfs" ,gvfs)
1260 ("libmatekbd" ,libmatekbd)
1261 ("libmateweather" ,libmateweather)
1262 ("libmatemixer" ,libmatemixer)
1263 ("marco" ,marco)
1264 ("mate-session-manager" ,mate-session-manager)
1265 ("mate-settings-daemon" ,mate-settings-daemon)
1266 ("mate-desktop" ,mate-desktop)
1267 ("mate-terminal" ,mate-terminal)
1268 ("mate-themes" ,mate-themes)
1269 ("mate-icon-theme" ,mate-icon-theme)
1270 ("mate-menu" ,mate-menus)
1271 ("mate-panel" ,mate-panel)
1272 ("mate-control-center" ,mate-control-center)
1273 ("mate-media" ,mate-media)
1274 ("mate-applets" ,mate-applets)
1275 ("pinentry-gnome3" ,pinentry-gnome3)
1276 ("pulseaudio" ,pulseaudio)
1277 ("shared-mime-info" ,shared-mime-info)
1278 ("yelp" ,yelp)
1279 ("zenity" ,zenity)))
1280 (synopsis "The MATE desktop environment")
1281 (home-page "https://mate-desktop.org/")
1282 (description
1283 "The MATE Desktop Environment is the continuation of GNOME 2. It provides
1284an intuitive and attractive desktop environment using traditional metaphors for
1285GNU/Linux systems. MATE is under active development to add support for new
1286technologies while preserving a traditional desktop experience.")
1287 (license license:gpl2+)))