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