gnu: mate-menus: 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.0")
532 (source
533 (origin
534 (method url-fetch)
535 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
536 name "-" version ".tar.xz"))
537 (sha256
538 (base32
539 "0nm3amb3v458mxv1mbz9y8f4230gldmydmkkm7vqxsrxbccynkxq"))))
540 (build-system glib-or-gtk-build-system)
541 (native-inputs
542 `(("pkg-config" ,pkg-config)
543 ("intltool" ,intltool)
544 ("libxslt" ,libxslt)
545 ("yelp-tools" ,yelp-tools)
546 ("scrollkeeper" ,scrollkeeper)
547 ("gettext" ,gettext-minimal)
548 ("docbook-xml" ,docbook-xml)
549 ("gobject-introspection" ,gobject-introspection)))
550 (inputs
551 `(("atk" ,atk)
552 ("dbus" ,dbus)
553 ("dbus-glib" ,dbus-glib)
554 ("glib" ,glib)
555 ("gucharmap" ,gucharmap)
556 ("gtk+" ,gtk+)
557 ("gtksourceview" ,gtksourceview-3)
558 ("libgtop" ,libgtop)
559 ("libmateweather" ,libmateweather)
560 ("libnotify" ,libnotify)
561 ("libx11" ,libx11)
562 ("libxml2" ,libxml2)
563 ("libwnck" ,libwnck)
564 ("mate-panel" ,mate-panel)
565 ("pango" ,pango)
566 ("polkit" ,polkit) ; either polkit or setuid
567 ("python" ,python-2)
568 ("upower" ,upower)
569 ("wireless-tools" ,wireless-tools)))
570 (propagated-inputs
571 `(("python-pygobject" ,python-pygobject)))
572 (home-page "https://mate-desktop.org/")
573 (synopsis "Various applets for the MATE Panel")
574 (description
575 "Mate-applets includes various small applications for Mate-panel:
576
577 @enumerate
578 @item accessx-status: indicates keyboard accessibility settings,
579 including the current state of the keyboard, if those features are in use.
580 @item Battstat: monitors the power subsystem on a laptop.
581 @item Character palette: provides a convenient way to access
582 non-standard characters, such as accented characters,
583 mathematical symbols, special symbols, and punctuation marks.
584 @item MATE CPUFreq Applet: CPU frequency scaling monitor
585 @item Drivemount: lets you mount and unmount drives and file systems.
586 @item Geyes: pair of eyes which follow the mouse pointer around the screen.
587 @item Keyboard layout switcher: lets you assign different keyboard
588 layouts for different locales.
589 @item Modem Monitor: monitors the modem.
590 @item Invest: downloads current stock quotes from the Internet and
591 displays the quotes in a scrolling display in the applet. The
592 applet downloads the stock information from Yahoo! Finance.
593 @item System monitor: CPU, memory, network, swap file and resource.
594 @item Trash: lets you drag items to the trash folder.
595 @item Weather report: downloads weather information from the
596 U.S National Weather Service (NWS) servers, including the
597 Interactive Weather Information Network (IWIN).
598 @end enumerate\n")
599 (license (list license:gpl2+ license:lgpl2.0+ license:gpl3+))))
600
601 (define-public mate-media
602 (package
603 (name "mate-media")
604 (version "1.24.0")
605 (source
606 (origin
607 (method url-fetch)
608 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
609 name "-" version ".tar.xz"))
610 (sha256
611 (base32
612 "1d5dx79yfqghjaxrdrdh053nfnvkbx8p3ma7j87s7rsvy5irs963"))))
613 (build-system glib-or-gtk-build-system)
614 (native-inputs
615 `(("pkg-config" ,pkg-config)
616 ("intltool" ,intltool)
617 ("gettext" ,gettext-minimal)
618 ("gobject-introspection" ,gobject-introspection)))
619 (inputs
620 `(("cairo" ,cairo)
621 ("gtk+" ,gtk+)
622 ("libcanberra" ,libcanberra)
623 ("libmatemixer" ,libmatemixer)
624 ("libxml2" ,libxml2)
625 ("mate-applets" ,mate-applets)
626 ("mate-desktop" ,mate-desktop)
627 ("mate-panel" ,mate-panel)
628 ("pango" ,pango)
629 ("startup-notification" ,startup-notification)))
630 (home-page "https://mate-desktop.org/")
631 (synopsis "Multimedia related programs for the MATE desktop")
632 (description
633 "Mate-media includes the MATE media tools for MATE, including
634 mate-volume-control, a MATE volume control application and applet.")
635 (license (list license:gpl2+ license:lgpl2.0+ license:fdl1.1+))))
636
637 (define-public mate-panel
638 (package
639 (name "mate-panel")
640 (version "1.24.1")
641 (source
642 (origin
643 (method url-fetch)
644 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
645 name "-" version ".tar.xz"))
646 (sha256
647 (base32 "0xblqrhfazd01h0jdmx4hvavkb7f9anbd4rjsk5r6wxhp027l64l"))))
648 (build-system glib-or-gtk-build-system)
649 (arguments
650 `(#:configure-flags
651 (list (string-append "--with-zoneinfo-dir="
652 (assoc-ref %build-inputs "tzdata")
653 "/share/zoneinfo")
654 "--with-in-process-applets=all")
655 #:phases
656 (modify-phases %standard-phases
657 (add-before 'configure 'fix-timezone-path
658 (lambda* (#:key inputs #:allow-other-keys)
659 (let* ((tzdata (assoc-ref inputs "tzdata")))
660 (substitute* "applets/clock/system-timezone.h"
661 (("/usr/share/lib/zoneinfo/tab")
662 (string-append tzdata "/share/zoneinfo/zone.tab"))
663 (("/usr/share/zoneinfo")
664 (string-append tzdata "/share/zoneinfo"))))
665 #t))
666 (add-after 'unpack 'fix-introspection-install-dir
667 (lambda* (#:key outputs #:allow-other-keys)
668 (let ((out (assoc-ref outputs "out")))
669 (substitute* '("configure")
670 (("`\\$PKG_CONFIG --variable=girdir gobject-introspection-1.0`")
671 (string-append "\"" out "/share/gir-1.0/\""))
672 (("\\$\\(\\$PKG_CONFIG --variable=typelibdir gobject-introspection-1.0\\)")
673 (string-append out "/lib/girepository-1.0/")))
674 #t))))))
675 (native-inputs
676 `(("pkg-config" ,pkg-config)
677 ("intltool" ,intltool)
678 ("itstool" ,itstool)
679 ("xtrans" ,xtrans)
680 ("gobject-introspection" ,gobject-introspection)))
681 (inputs
682 `(("dconf" ,dconf)
683 ("cairo" ,cairo)
684 ("dbus-glib" ,dbus-glib)
685 ("gtk+" ,gtk+)
686 ("libcanberra" ,libcanberra)
687 ("libice" ,libice)
688 ("libmateweather" ,libmateweather)
689 ("librsvg" ,librsvg)
690 ("libsm" ,libsm)
691 ("libx11" ,libx11)
692 ("libxau" ,libxau)
693 ("libxml2" ,libxml2)
694 ("libxrandr" ,libxrandr)
695 ("libwnck" ,libwnck)
696 ("mate-desktop" ,mate-desktop)
697 ("mate-menus" ,mate-menus)
698 ("pango" ,pango)
699 ("tzdata" ,tzdata)))
700 (home-page "https://mate-desktop.org/")
701 (synopsis "Panel for MATE")
702 (description
703 "Mate-panel contains the MATE panel, the libmate-panel-applet library and
704 several applets. The applets supplied here include the Workspace Switcher,
705 the Window List, the Window Selector, the Notification Area, the Clock and the
706 infamous 'Wanda the Fish'.")
707 (license (list license:gpl2+ license:lgpl2.0+))))
708
709 (define-public atril
710 (package
711 (name "atril")
712 (version "1.22.0")
713 (source
714 (origin
715 (method url-fetch)
716 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
717 name "-" version ".tar.xz"))
718 (sha256
719 (base32
720 "1xd49j4qwrlg2nh2zvspf91yk033dp8a58dy9azqg2yz4bcvywxb"))))
721 (build-system glib-or-gtk-build-system)
722 (arguments
723 `(#:configure-flags (list (string-append "--with-openjpeg="
724 (assoc-ref %build-inputs "openjpeg"))
725 "--enable-introspection"
726 "--disable-schemas-compile"
727 ;; FIXME: Enable build of Caja extensions.
728 "--disable-caja")
729 #:tests? #f
730 #:phases
731 (modify-phases %standard-phases
732 (add-after 'unpack 'fix-mathjax-path
733 (lambda _
734 (let* ((mathjax (assoc-ref %build-inputs "js-mathjax"))
735 (mathjax-path (string-append mathjax
736 "/share/javascript/mathjax")))
737 (substitute* "backend/epub/epub-document.c"
738 (("/usr/share/javascript/mathjax")
739 mathjax-path)))
740 #t))
741 (add-after 'unpack 'fix-introspection-install-dir
742 (lambda* (#:key outputs #:allow-other-keys)
743 (let ((out (assoc-ref outputs "out")))
744 (substitute* '("configure")
745 (("\\$\\(\\$PKG_CONFIG --variable=girdir gobject-introspection-1.0\\)")
746 (string-append "\"" out "/share/gir-1.0/\""))
747 (("\\$\\(\\$PKG_CONFIG --variable=typelibdir gobject-introspection-1.0\\)")
748 (string-append out "/lib/girepository-1.0/")))
749 #t)))
750 (add-before 'install 'skip-gtk-update-icon-cache
751 ;; Don't create 'icon-theme.cache'.
752 (lambda _
753 (substitute* "data/Makefile"
754 (("gtk-update-icon-cache") "true"))
755 #t)))))
756 (native-inputs
757 `(("pkg-config" ,pkg-config)
758 ("intltool" ,intltool)
759 ("itstool" ,itstool)
760 ("yelp-tools" ,yelp-tools)
761 ("glib:bin" ,glib "bin")
762 ("gobject-introspection" ,gobject-introspection)
763 ("gtk-doc" ,gtk-doc)
764 ("xmllint" ,libxml2)
765 ("zlib" ,zlib)))
766 (inputs
767 `(("atk" ,atk)
768 ("cairo" ,cairo)
769 ("caja" ,caja)
770 ("dconf" ,dconf)
771 ("dbus" ,dbus)
772 ("dbus-glib" ,dbus-glib)
773 ("djvulibre" ,djvulibre)
774 ("fontconfig" ,fontconfig)
775 ("freetype" ,freetype)
776 ("ghostscript" ,ghostscript)
777 ("glib" ,glib)
778 ("gtk+" ,gtk+)
779 ("js-mathjax" ,js-mathjax)
780 ("libcanberra" ,libcanberra)
781 ("libsecret" ,libsecret)
782 ("libspectre" ,libspectre)
783 ("libtiff" ,libtiff)
784 ("libx11" ,libx11)
785 ("libice" ,libice)
786 ("libsm" ,libsm)
787 ("libgxps" ,libgxps)
788 ("libjpeg" ,libjpeg-turbo)
789 ("libxml2" ,libxml2)
790 ("dogtail" ,python2-dogtail)
791 ("shared-mime-info" ,shared-mime-info)
792 ("gdk-pixbuf" ,gdk-pixbuf)
793 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
794 ("libgnome-keyring" ,libgnome-keyring)
795 ("libarchive" ,libarchive)
796 ("marco" ,marco)
797 ("openjpeg" ,openjpeg-1)
798 ("pango" ,pango)
799 ;;("texlive" ,texlive)
800 ;; TODO:
801 ;; Build libkpathsea as a shared library for DVI support.
802 ;; ("libkpathsea" ,texlive-bin)
803 ("poppler" ,poppler)
804 ("webkitgtk" ,webkitgtk)))
805 (home-page "https://mate-desktop.org")
806 (synopsis "Document viewer for Mate")
807 (description
808 "Document viewer for Mate")
809 (license license:gpl2)))
810
811 (define-public caja
812 (package
813 (name "caja")
814 (version "1.24.0")
815 (source
816 (origin
817 (method url-fetch)
818 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
819 name "-" version ".tar.xz"))
820 (sha256
821 (base32
822 "1cnfy481hcwjv3ia3kw0d4h7ga8cng0pqm3z349v4qcmfdapmqc0"))))
823 (build-system glib-or-gtk-build-system)
824 (arguments
825 `(#:configure-flags '("--disable-update-mimedb")
826 #:tests? #f ; tests fail even with display set
827 #:phases
828 (modify-phases %standard-phases
829 (add-before 'check 'pre-check
830 (lambda _
831 ;; Tests require a running X server.
832 (system "Xvfb :1 &")
833 (setenv "DISPLAY" ":1")
834 ;; For the missing /etc/machine-id.
835 (setenv "DBUS_FATAL_WARNINGS" "0")
836 #t)))))
837 (native-inputs
838 `(("pkg-config" ,pkg-config)
839 ("intltool" ,intltool)
840 ("glib:bin" ,glib "bin")
841 ("xorg-server" ,xorg-server)
842 ("gobject-introspection" ,gobject-introspection)))
843 (inputs
844 `(("exempi" ,exempi)
845 ("gtk+" ,gtk+)
846 ("gvfs" ,gvfs)
847 ("libexif" ,libexif)
848 ("libnotify" ,libnotify)
849 ("libsm" ,libsm)
850 ("libxml2" ,libxml2)
851 ("mate-desktop" ,mate-desktop)
852 ("startup-notification" ,startup-notification)))
853 (native-search-paths
854 (list (search-path-specification
855 (variable "CAJA_EXTENSIONDIR")
856 (files (list "lib/caja/extensions-2.0/**")))))
857 (home-page "https://mate-desktop.org/")
858 (synopsis "File manager for the MATE desktop")
859 (description
860 "Caja is the official file manager for the MATE desktop.
861 It allows for browsing directories, as well as previewing files and launching
862 applications associated with them. Caja is also responsible for handling the
863 icons on the MATE desktop. It works on local and remote file systems.")
864 ;; There is a note about a TRADEMARKS_NOTICE file in COPYING which
865 ;; does not exist. It is safe to assume that this is of no concern
866 ;; for us.
867 (license license:gpl2+)))
868
869 (define-public caja-extensions
870 (package
871 (name "caja-extensions")
872 (version "1.24.0")
873 (source
874 (origin
875 (method url-fetch)
876 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
877 name "-" version ".tar.xz"))
878 (sha256
879 (base32
880 "175v5c05nrdliya23rbqma49alldq67dklmvpq18nq71sfry4pp6"))))
881 (build-system glib-or-gtk-build-system)
882 (arguments
883 `(#:configure-flags (list "--enable-sendto"
884 ;; TODO: package "gupnp" to enable 'upnp', package
885 ;; "gksu" to enable 'gksu'.
886 (string-append "--with-sendto-plugins=removable-devices,"
887 "caja-burn,emailclient,pidgin,gajim")
888 "--enable-image-converter"
889 "--enable-open-terminal" "--enable-share"
890 "--enable-wallpaper" "--enable-xattr-tags"
891 (string-append "--with-cajadir="
892 (assoc-ref %outputs "out")
893 "/lib/caja/extensions-2.0/"))))
894 (native-inputs
895 `(("intltool" ,intltool)
896 ("gettext" ,gettext-minimal)
897 ("glib:bin" ,glib "bin")
898 ("gobject-introspection" ,gobject-introspection)
899 ("gtk-doc" ,gtk-doc)
900 ("libxml2" ,libxml2)
901 ("pkg-config" ,pkg-config)))
902 (inputs
903 `(("attr" ,attr)
904 ("brasero" ,brasero)
905 ("caja" ,caja)
906 ("dbus" ,dbus)
907 ("dbus-glib" ,dbus-glib)
908 ("gajim" ,gajim) ;runtime only?
909 ("gtk+" ,gtk+)
910 ("imagemagick" ,imagemagick)
911 ("graphicsmagick" ,graphicsmagick)
912 ("mate-desktop" ,mate-desktop)
913 ("pidgin" ,pidgin) ;runtime only?
914 ("startup-notification" ,startup-notification)))
915 (home-page "https://mate-desktop.org/")
916 (synopsis "Extensions for the File manager Caja")
917 (description
918 "Caja is the official file manager for the MATE desktop.
919 It allows for browsing directories, as well as previewing files and launching
920 applications associated with them. Caja is also responsible for handling the
921 icons on the MATE desktop. It works on local and remote file systems.")
922 (license license:gpl2+)))
923
924 (define-public mate-control-center
925 (package
926 (name "mate-control-center")
927 (version "1.24.0")
928 (source
929 (origin
930 (method url-fetch)
931 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
932 name "-" version ".tar.xz"))
933 (sha256
934 (base32
935 "192plsh83m2qz7jgakns2yvhqbj53v7i54iwb0z26i2awy0j9rcd"))))
936 (build-system glib-or-gtk-build-system)
937 (arguments
938 '(#:phases (modify-phases %standard-phases
939 (add-before 'build 'fix-polkit-action
940 (lambda* (#:key outputs #:allow-other-keys)
941 ;; Make sure the polkit file refers to the right
942 ;; executable.
943 (let ((out (assoc-ref outputs "out")))
944 (substitute*
945 '("capplets/display/org.mate.randr.policy.in"
946 "capplets/display/org.mate.randr.policy")
947 (("/usr/sbin")
948 (string-append out "/sbin")))
949 #t))))))
950 (native-inputs
951 `(("pkg-config" ,pkg-config)
952 ("intltool" ,intltool)
953 ("yelp-tools" ,yelp-tools)
954 ("desktop-file-utils" ,desktop-file-utils)
955 ("xorgproto" ,xorgproto)
956 ("xmodmap" ,xmodmap)
957 ("gobject-introspection" ,gobject-introspection)))
958 (inputs
959 `(("atk" ,atk)
960 ("cairo" ,cairo)
961 ("caja" ,caja)
962 ("dconf" ,dconf)
963 ("dbus" ,dbus)
964 ("dbus-glib" ,dbus-glib)
965 ("fontconfig" ,fontconfig)
966 ("freetype" ,freetype)
967 ("glib" ,glib)
968 ("gtk+" ,gtk+)
969 ("libcanberra" ,libcanberra)
970 ("libmatekbd" ,libmatekbd)
971 ("libx11" ,libx11)
972 ("libxcursor" ,libxcursor)
973 ("libxext" ,libxext)
974 ("libxi" ,libxi)
975 ("libxklavier" ,libxklavier)
976 ("libxml2" ,libxml2)
977 ("libxrandr" ,libxrandr)
978 ("libxrender" ,libxrender)
979 ("libxscrnsaver" ,libxscrnsaver)
980 ("marco" ,marco)
981 ("mate-desktop" ,mate-desktop)
982 ("mate-menus" ,mate-menus)
983 ("mate-settings-daemon" ,mate-settings-daemon)
984 ("pango" ,pango)
985 ("polkit" ,polkit)
986 ("startup-notification" ,startup-notification)))
987 (propagated-inputs
988 `(("gdk-pixbuf" ,gdk-pixbuf+svg) ; mate-slab.pc
989 ("librsvg" ,librsvg))) ; mate-slab.pc
990 (home-page "https://mate-desktop.org/")
991 (synopsis "MATE Desktop configuration tool")
992 (description
993 "MATE control center is MATE's main interface for configuration
994 of various aspects of your desktop.")
995 (license license:gpl2+)))
996
997 (define-public marco
998 (package
999 (name "marco")
1000 (version "1.24.1")
1001 (source
1002 (origin
1003 (method url-fetch)
1004 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
1005 name "-" version ".tar.xz"))
1006 (sha256
1007 (base32 "109b41pjrc1b4slw6sx1lakdhrc46x829vczzk4bz3j15kcszg54"))))
1008 (build-system glib-or-gtk-build-system)
1009 (native-inputs
1010 `(("pkg-config" ,pkg-config)
1011 ("intltool" ,intltool)
1012 ("itstool" ,itstool)
1013 ("glib" ,glib)
1014 ("gobject-introspection" ,gobject-introspection)
1015 ("libxft" ,libxft)
1016 ("libxml2" ,libxml2)
1017 ("zenity" ,zenity)))
1018 (inputs
1019 `(("gtk+" ,gtk+)
1020 ("libcanberra" ,libcanberra)
1021 ("libgtop" ,libgtop)
1022 ("libice" ,libice)
1023 ("libsm" ,libsm)
1024 ("libx11" ,libx11)
1025 ("libxcomposite" ,libxcomposite)
1026 ("libxcursor" ,libxcursor)
1027 ("libxdamage" ,libxdamage)
1028 ("libxext" ,libxext)
1029 ("libxfixes" ,libxfixes)
1030 ("libxinerama" ,libxinerama)
1031 ("libxrandr" ,libxrandr)
1032 ("libxrender" ,libxrender)
1033 ("mate-desktop" ,mate-desktop)
1034 ("pango" ,pango)
1035 ("startup-notification" ,startup-notification)))
1036 (home-page "https://mate-desktop.org/")
1037 (synopsis "Window manager for the MATE desktop")
1038 (description
1039 "Marco is a minimal X window manager that uses GTK+ for drawing
1040 window frames. It is aimed at non-technical users and is designed to integrate
1041 well with the MATE desktop. It lacks some features that may be expected by
1042 some users; these users may want to investigate other available window managers
1043 for use with MATE or as a standalone window manager.")
1044 (license license:gpl2+)))
1045
1046 (define-public mate-user-guide
1047 (package
1048 (name "mate-user-guide")
1049 (version "1.24.0")
1050 (source
1051 (origin
1052 (method url-fetch)
1053 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
1054 name "-" version ".tar.xz"))
1055 (sha256
1056 (base32
1057 "0ddxya84iydvy85dbqls0wmz2rph87wri3rsdhv4rkbhh5g4sd7f"))))
1058 (build-system gnu-build-system)
1059 (arguments
1060 `(#:phases
1061 (modify-phases %standard-phases
1062 (add-after 'unpack 'adjust-desktop-file
1063 (lambda* (#:key inputs #:allow-other-keys)
1064 (let* ((yelp (assoc-ref inputs "yelp")))
1065 (substitute* "mate-user-guide.desktop.in.in"
1066 (("yelp")
1067 (string-append yelp "/bin/yelp"))))
1068 #t)))))
1069 (native-inputs
1070 `(("pkg-config" ,pkg-config)
1071 ("intltool" ,intltool)
1072 ("gettext" ,gettext-minimal)
1073 ("yelp-tools" ,yelp-tools)
1074 ("yelp-xsl" ,yelp-xsl)))
1075 (inputs
1076 `(("yelp" ,yelp)))
1077 (home-page "https://mate-desktop.org/")
1078 (synopsis "User Documentation for Mate software")
1079 (description
1080 "MATE User Guide is a collection of documentation which details
1081 general use of the MATE Desktop environment. Topics covered include
1082 sessions, panels, menus, file management, and preferences.")
1083 (license (list license:fdl1.1+ license:gpl2+))))
1084
1085 (define-public mate-calc
1086 (package
1087 (name "mate-calc")
1088 (version "1.24.0")
1089 (source
1090 (origin
1091 (method url-fetch)
1092 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
1093 name "-" version ".tar.xz"))
1094 (sha256
1095 (base32
1096 "0f7hc1gg41kcwcyvsqqg79qylrp0qqymris8qizk2x3cfvvg7261"))))
1097 (build-system glib-or-gtk-build-system)
1098 (native-inputs
1099 `(("gettext" ,gettext-minimal)
1100 ("intltool" ,intltool)
1101 ("pkg-config" ,pkg-config)
1102 ("yelp-tools" ,yelp-tools)))
1103 (inputs
1104 `(("atk" ,atk)
1105 ("glib" ,glib)
1106 ("gtk+" ,gtk+)
1107 ("libxml2" ,libxml2)
1108 ("libcanberra" ,libcanberra)
1109 ("pango" ,pango)))
1110 (home-page "https://mate-desktop.org/")
1111 (synopsis "Calculator for MATE")
1112 (description
1113 "Mate Calc is the GTK+ calculator application for the MATE Desktop.")
1114 (license license:gpl2+)))
1115
1116 (define-public mate-backgrounds
1117 (package
1118 (name "mate-backgrounds")
1119 (version "1.24.1")
1120 (source
1121 (origin
1122 (method url-fetch)
1123 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
1124 name "-" version ".tar.xz"))
1125 (sha256
1126 (base32
1127 "0b9yx68p9l867bqsl9z2g4wrs8p396ls673jgaliys5snmk8n8dn"))))
1128 (build-system glib-or-gtk-build-system)
1129 (native-inputs
1130 `(("intltool" ,intltool)))
1131 (home-page "https://mate-desktop.org/")
1132 (synopsis "Calculator for MATE")
1133 (description
1134 "This package contains a collection of graphics files which
1135 can be used as backgrounds in the MATE Desktop environment.")
1136 (license license:gpl2+)))
1137
1138 (define-public mate-netbook
1139 (package
1140 (name "mate-netbook")
1141 (version "1.24.0")
1142 (source
1143 (origin
1144 (method url-fetch)
1145 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
1146 name "-" version ".tar.xz"))
1147 (sha256
1148 (base32
1149 "1bmk9gq5gcqkvfppa7i1hqfph8sajc3xs189s4ha97g0ifwd98a8"))))
1150 (build-system glib-or-gtk-build-system)
1151 (native-inputs
1152 `(("gettext" ,gettext-minimal)
1153 ("intltool" ,intltool)
1154 ("pkg-config" ,pkg-config)))
1155 (inputs
1156 `(("cairo" ,cairo)
1157 ("glib" ,glib)
1158 ("gtk+" ,gtk+)
1159 ("libfakekey" ,libfakekey)
1160 ("libwnck" ,libwnck)
1161 ("libxtst" ,libxtst)
1162 ("libx11" ,libx11)
1163 ("mate-panel" ,mate-panel)
1164 ("xorgproto" ,xorgproto)))
1165 (home-page "https://mate-desktop.org/")
1166 (synopsis "Tool for MATE on Netbooks")
1167 (description
1168 "Mate Netbook is a simple window management tool which:
1169
1170 @enumerate
1171 @item Allows you to set basic rules for a window type, such as maximise|undecorate
1172 @item Allows exceptions to the rules, based on string matching for window name
1173 and window class.
1174 @item Allows @code{reversing} of rules when the user manually changes something:
1175 Re-decorates windows on un-maximise.
1176 @end enumerate\n")
1177 (license license:gpl3+)))
1178
1179 (define-public mate-screensaver
1180 (package
1181 (name "mate-screensaver")
1182 (version "1.24.0")
1183 (source
1184 (origin
1185 (method url-fetch)
1186 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
1187 name "-" version ".tar.xz"))
1188 (sha256
1189 (base32
1190 "0gpw6x9d0b77f14vjl7ghq5dya1mwcnvmgigg00manfwlksr5zby"))))
1191 (build-system glib-or-gtk-build-system)
1192 (arguments
1193 `(#:configure-flags
1194 ;; FIXME: There is a permissions problem with screen locking
1195 ;; which effectively locks you out completely. Enable locking
1196 ;; once this has been fixed.
1197 (list "--enable-locking" "--with-kbd-layout-indicator"
1198 "--with-xf86gamma-ext" "--enable-pam"
1199 "--disable-schemas-compile" "--without-console-kit")
1200 #:phases
1201 (modify-phases %standard-phases
1202 (add-after 'unpack 'autoconf
1203 (lambda* (#:key outputs #:allow-other-keys)
1204 (let* ((out (assoc-ref outputs "out"))
1205 (dbus-dir (string-append out "/share/dbus-1/services")))
1206 (setenv "SHELL" (which "sh"))
1207 (setenv "CONFIG_SHELL" (which "sh"))
1208 (substitute* "configure"
1209 (("dbus-1") ""))))))))
1210 (native-inputs
1211 `(("automake" ,automake)
1212 ("autoconf" ,autoconf-wrapper)
1213 ("gettext" ,gettext-minimal)
1214 ("intltool" ,intltool)
1215 ("mate-common" ,mate-common)
1216 ("pkg-config" ,pkg-config)
1217 ("which" ,which)
1218 ("xorgproto" ,xorgproto)))
1219 (inputs
1220 `(("cairo" ,cairo)
1221 ("dconf" ,dconf)
1222 ("dbus" ,dbus)
1223 ("dbus-glib" ,dbus-glib)
1224 ("glib" ,glib)
1225 ("gtk+" ,gtk+)
1226 ("gdk-pixbuf" ,gdk-pixbuf+svg)
1227 ("libcanberra" ,libcanberra)
1228 ("libglade" ,libglade)
1229 ("libmatekbd" ,libmatekbd)
1230 ("libnotify" ,libnotify)
1231 ("libx11" ,libx11)
1232 ("libxext" ,libxext)
1233 ("libxklavier" ,libxklavier)
1234 ("libxrandr" ,libxrandr)
1235 ("libxrender" ,libxrender)
1236 ("libxscrnsaver" ,libxscrnsaver)
1237 ("libxxf86vm" ,libxxf86vm)
1238 ("linux-pam" ,linux-pam)
1239 ("mate-desktop" ,mate-desktop)
1240 ("mate-menus" ,mate-menus)
1241 ("pango" ,pango)
1242 ("startup-notification" ,startup-notification)))
1243 (home-page "https://mate-desktop.org/")
1244 (synopsis "Screensaver for MATE")
1245 (description
1246 "MATE backgrounds package contains a collection of graphics files which
1247 can be used as backgrounds in the MATE Desktop environment.")
1248 (license license:gpl2+)))
1249
1250 (define-public mate-utils
1251 (package
1252 (name "mate-utils")
1253 (version "1.24.0")
1254 (source
1255 (origin
1256 (method url-fetch)
1257 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
1258 name "-" version ".tar.xz"))
1259 (sha256
1260 (base32
1261 "1b16n1628gcsym5mph6lr9x5xm4rgkxsa8xwr2wlx8g2gw2775i1"))))
1262 (build-system glib-or-gtk-build-system)
1263 (native-inputs
1264 `(("gettext" ,gettext-minimal)
1265 ("gtk-doc" ,gtk-doc)
1266 ("intltool" ,intltool)
1267 ("libice" ,libice)
1268 ("libsm" ,libsm)
1269 ("pkg-config" ,pkg-config)
1270 ("scrollkeeper" ,scrollkeeper)
1271 ("xorgproto" ,xorgproto)
1272 ("yelp-tools" ,yelp-tools)))
1273 (inputs
1274 `(("atk" ,atk)
1275 ("cairo" ,cairo)
1276 ("glib" ,glib)
1277 ("gtk+" ,gtk+)
1278 ("gdk-pixbuf" ,gdk-pixbuf+svg)
1279 ("libcanberra" ,libcanberra)
1280 ("libgtop" ,libgtop)
1281 ("libx11" ,libx11)
1282 ("libxext" ,libxext)
1283 ("mate-panel" ,mate-panel)
1284 ("pango" ,pango)
1285 ("udisks" ,udisks)
1286 ("zlib" ,zlib)))
1287 (home-page "https://mate-desktop.org/")
1288 (synopsis "Utilities for the MATE Desktop")
1289 (description
1290 "Mate Utilities for the MATE Desktop containing:
1291
1292 @enumerate
1293 @item mate-system-log
1294 @item mate-search-tool
1295 @item mate-dictionary
1296 @item mate-screenshot
1297 @item mate-disk-usage-analyzer
1298 @end enumerate\n")
1299 (license (list license:gpl2
1300 license:fdl1.1+
1301 license:lgpl2.1))))
1302
1303 (define-public eom
1304 (package
1305 (name "eom")
1306 (version "1.24.0")
1307 (source
1308 (origin
1309 (method url-fetch)
1310 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
1311 name "-" version ".tar.xz"))
1312 (sha256
1313 (base32
1314 "0zzximp2534bky0vac219alafblw6m0lis0gncq92017s6c1mb77"))))
1315 (build-system glib-or-gtk-build-system)
1316 (native-inputs
1317 `(("gettext" ,gettext-minimal)
1318 ("gtk-doc" ,gtk-doc)
1319 ("gobject-introspection" ,gobject-introspection)
1320 ("intltool" ,intltool)
1321 ("pkg-config" ,pkg-config)
1322 ("yelp-tools" ,yelp-tools)))
1323 (inputs
1324 `(("atk" ,atk)
1325 ("cairo" ,cairo)
1326 ("dconf" ,dconf)
1327 ("dbus" ,dbus)
1328 ("dbus-glib" ,dbus-glib)
1329 ("exempi" ,exempi)
1330 ("glib" ,glib)
1331 ("gtk+" ,gtk+)
1332 ("gdk-pixbuf" ,gdk-pixbuf+svg)
1333 ("libcanberra" ,libcanberra)
1334 ("libx11" ,libx11)
1335 ("libxext" ,libxext)
1336 ("libpeas" ,libpeas)
1337 ("libxml2" ,libxml2)
1338 ("libexif" ,libexif)
1339 ("libjpeg" ,libjpeg-turbo)
1340 ("librsvg" ,librsvg)
1341 ("lcms" ,lcms)
1342 ("mate-desktop" ,mate-desktop)
1343 ("pango" ,pango)
1344 ("shared-mime-info" ,shared-mime-info)
1345 ("startup-notification" ,startup-notification)
1346 ("zlib" ,zlib)))
1347 (home-page "https://mate-desktop.org/")
1348 (synopsis "Eye of MATE")
1349 (description
1350 "Eye of MATE is the Image viewer for the MATE Desktop.")
1351 (license (list license:gpl2))))
1352
1353 (define-public engrampa
1354 (package
1355 (name "engrampa")
1356 (version "1.24.0")
1357 (source
1358 (origin
1359 (method url-fetch)
1360 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
1361 name "-" version ".tar.xz"))
1362 (sha256
1363 (base32
1364 "13cak3qgrzqj74x9jq1sf155793v2bqqz4mk4i04g9f9xn3g85fl"))))
1365 (build-system glib-or-gtk-build-system)
1366 (arguments
1367 `(#:configure-flags (list "--disable-schemas-compile"
1368 "--disable-run-in-place"
1369 "--enable-magic"
1370 "--enable-packagekit"
1371 (string-append "--with-cajadir="
1372 (assoc-ref %outputs "out")
1373 "/lib/caja/extensions-2.0/"))
1374 #:phases
1375 (modify-phases %standard-phases
1376 (add-before 'install 'skip-gtk-update-icon-cache
1377 ;; Don't create 'icon-theme.cache'.
1378 (lambda _
1379 (substitute* "data/Makefile"
1380 (("gtk-update-icon-cache") "true"))
1381 #t)))))
1382 (native-inputs
1383 `(("gettext" ,gettext-minimal)
1384 ("gtk-doc" ,gtk-doc)
1385 ("intltool" ,intltool)
1386 ("pkg-config" ,pkg-config)
1387 ("yelp-tools" ,yelp-tools)))
1388 (inputs
1389 `(("caja" ,caja)
1390 ("file" ,file)
1391 ("glib" ,glib)
1392 ("gtk+" ,gtk+)
1393 ("gdk-pixbuf" ,gdk-pixbuf+svg)
1394 ("json-glib" ,json-glib)
1395 ("libcanberra" ,libcanberra)
1396 ("libx11" ,libx11)
1397 ("libsm" ,libsm)
1398 ("packagekit" ,packagekit)
1399 ("pango" ,pango)))
1400 (home-page "https://mate-desktop.org/")
1401 (synopsis "Archive Manager for MATE")
1402 (description
1403 "Engrampa is the archive manager for the MATE Desktop.")
1404 (license license:gpl2)))
1405
1406 (define-public pluma
1407 (package
1408 (name "pluma")
1409 (version "1.24.0")
1410 (source
1411 (origin
1412 (method url-fetch)
1413 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
1414 name "-" version ".tar.xz"))
1415 (sha256
1416 (base32
1417 "1vmndhlhy3qkf3xs5kkv0xhbv5ar25pqz0kp17hc4qhgjzycfr0r"))))
1418 (build-system glib-or-gtk-build-system)
1419 (arguments
1420 `(; Tests can not succeed.
1421 ;; https://github.com/mate-desktop/mate-text-editor/issues/33
1422 #:tests? #f))
1423 (native-inputs
1424 `(("gettext" ,gettext-minimal)
1425 ("gtk-doc" ,gtk-doc)
1426 ("gobject-introspection" ,gobject-introspection)
1427 ("intltool" ,intltool)
1428 ("libtool" ,libtool)
1429 ("pkg-config" ,pkg-config)
1430 ("yelp-tools" ,yelp-tools)))
1431 (inputs
1432 `(("atk" ,atk)
1433 ("cairo" ,cairo)
1434 ("enchant" ,enchant-1.6)
1435 ("glib" ,glib)
1436 ("gtk+" ,gtk+)
1437 ("gtksourceview" ,gtksourceview-3)
1438 ("gdk-pixbuf" ,gdk-pixbuf)
1439 ("iso-codes" ,iso-codes)
1440 ("libcanberra" ,libcanberra)
1441 ("libx11" ,libx11)
1442 ("libsm" ,libsm)
1443 ("libpeas" ,libpeas)
1444 ("libxml2" ,libxml2)
1445 ("libice" ,libice)
1446 ("packagekit" ,packagekit)
1447 ("pango" ,pango)
1448 ("python" ,python)
1449 ("scrollkeeper" ,scrollkeeper)))
1450 (home-page "https://mate-desktop.org/")
1451 (synopsis "Text Editor for MATE")
1452 (description
1453 "Pluma is the text editor for the MATE Desktop.")
1454 (license license:gpl2)))
1455
1456 (define-public mate-system-monitor
1457 (package
1458 (name "mate-system-monitor")
1459 (version "1.24.0")
1460 (source
1461 (origin
1462 (method url-fetch)
1463 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
1464 name "-" version ".tar.xz"))
1465 (sha256
1466 (base32
1467 "1cb36lrsn4fhsryl2kl4yq0qhp1p4r7k21w3fc2ywjga8fdxx6y5"))))
1468 (build-system glib-or-gtk-build-system)
1469 (native-inputs
1470 `(("autoconf" ,autoconf)
1471 ("gettext" ,gettext-minimal)
1472 ("intltool" ,intltool)
1473 ("pkg-config" ,pkg-config)
1474 ("yelp-tools" ,yelp-tools)))
1475 (inputs
1476 `(("cairo" ,cairo)
1477 ("glib" ,glib)
1478 ("glibmm" ,glibmm)
1479 ("gtkmm" ,gtkmm)
1480 ("gtk+" ,gtk+)
1481 ("gdk-pixbuf" ,gdk-pixbuf)
1482 ("libsigc++" ,libsigc++)
1483 ("libcanberra" ,libcanberra)
1484 ("libxml2" ,libxml2)
1485 ("libwnck" ,libwnck)
1486 ("libgtop" ,libgtop)
1487 ("librsvg" ,librsvg)
1488 ("polkit" ,polkit)))
1489 (home-page "https://mate-desktop.org/")
1490 (synopsis "System Monitor for MATE")
1491 (description
1492 "Mate System Monitor provides a tool for for the
1493 MATE Desktop to monitor your system resources and usage.")
1494 (license license:gpl2)))
1495
1496 (define-public mate-polkit
1497 (package
1498 (name "mate-polkit")
1499 (version "1.24.0")
1500 (source
1501 (origin
1502 (method url-fetch)
1503 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
1504 name "-" version ".tar.xz"))
1505 (sha256
1506 (base32
1507 "1450bqzlnvwy3xa98lj102j2cf7piqbxcd1cy2zp41rdl8ri3gvn"))))
1508 (build-system glib-or-gtk-build-system)
1509 (native-inputs
1510 `(("gettext" ,gettext-minimal)
1511 ("gtk-doc" ,gtk-doc)
1512 ("intltool" ,intltool)
1513 ("libtool" ,libtool)
1514 ("pkg-config" ,pkg-config)))
1515 (inputs
1516 `(("accountsservice" ,accountsservice)
1517 ("glib" ,glib)
1518 ("gobject-introspection" ,gobject-introspection)
1519 ("gtk+" ,gtk+)
1520 ("gdk-pixbuf" ,gdk-pixbuf)
1521 ("polkit" ,polkit)))
1522 (home-page "https://mate-desktop.org/")
1523 (synopsis "DBus specific service for MATE")
1524 (description
1525 "MATE Polkit is a MATE specific DBUS service that is
1526 used to bring up authentication dialogs.")
1527 (license license:lgpl2.1)))
1528
1529 (define-public mate
1530 (package
1531 (name "mate")
1532 (version (package-version mate-desktop))
1533 (source #f)
1534 (build-system trivial-build-system)
1535 (arguments
1536 `(#:modules ((guix build union))
1537 #:builder
1538 (begin
1539 (use-modules (ice-9 match)
1540 (guix build union))
1541 (match %build-inputs
1542 (((names . directories) ...)
1543 (union-build (assoc-ref %outputs "out")
1544 directories)
1545 #t)))))
1546 (native-inputs `(("desktop-file-utils" ,desktop-file-utils)))
1547 (inputs
1548 ;; TODO: Add more packages
1549 `(("at-spi2-core" ,at-spi2-core)
1550 ("atril" ,atril)
1551 ("caja" ,caja)
1552 ("dbus" ,dbus)
1553 ("dconf" ,dconf)
1554 ("engrampa" ,engrampa)
1555 ("eom" ,eom)
1556 ("font-cantarell" ,font-cantarell)
1557 ("glib-networking" ,glib-networking)
1558 ("gnome-keyring" ,gnome-keyring)
1559 ("gvfs" ,gvfs)
1560 ("hicolor-icon-theme" ,hicolor-icon-theme)
1561 ("libmatekbd" ,libmatekbd)
1562 ("libmateweather" ,libmateweather)
1563 ("libmatemixer" ,libmatemixer)
1564 ("marco" ,marco)
1565 ("mate-session-manager" ,mate-session-manager)
1566 ("mate-settings-daemon" ,mate-settings-daemon)
1567 ("mate-desktop" ,mate-desktop)
1568 ("mate-terminal" ,mate-terminal)
1569 ("mate-themes" ,mate-themes)
1570 ("mate-icon-theme" ,mate-icon-theme)
1571 ("mate-power-manager" ,mate-power-manager)
1572 ("mate-menu" ,mate-menus)
1573 ("mate-panel" ,mate-panel)
1574 ("mate-control-center" ,mate-control-center)
1575 ("mate-media" ,mate-media)
1576 ("mate-applets" ,mate-applets)
1577 ("mate-user-guide" ,mate-user-guide)
1578 ("mate-calc" ,mate-calc)
1579 ("mate-backgrounds" ,mate-backgrounds)
1580 ("mate-netbook" ,mate-netbook)
1581 ("mate-utils" ,mate-utils)
1582 ("mate-polkit" ,mate-polkit)
1583 ("mate-system-monitor" ,mate-system-monitor)
1584 ("mate-utils" ,mate-utils)
1585 ("pluma" ,pluma)
1586 ("pinentry-gnome3" ,pinentry-gnome3)
1587 ("pulseaudio" ,pulseaudio)
1588 ("shared-mime-info" ,shared-mime-info)
1589 ("yelp" ,yelp)
1590 ("zenity" ,zenity)))
1591 (synopsis "The MATE desktop environment")
1592 (home-page "https://mate-desktop.org/")
1593 (description
1594 "The MATE Desktop Environment is the continuation of GNOME 2. It provides
1595 an intuitive and attractive desktop environment using traditional metaphors for
1596 GNU/Linux systems. MATE is under active development to add support for new
1597 technologies while preserving a traditional desktop experience.")
1598 (license license:gpl2+)))