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