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