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