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