gnu: Add mate-common.
[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)
69428571 31 #:use-module (gnu packages backup)
909f02dd 32 #:use-module (gnu packages base)
69428571 33 #:use-module (gnu packages compression)
34 #:use-module (gnu packages djvu)
909f02dd 35 #:use-module (gnu packages docbook)
36 #:use-module (gnu packages documentation)
b5831eb7 37 #:use-module (gnu packages fonts)
909f02dd 38 #:use-module (gnu packages fontutils)
39 #:use-module (gnu packages freedesktop)
da78e01b 40 #:use-module (gnu packages gettext)
69428571 41 #:use-module (gnu packages ghostscript)
909f02dd 42 #:use-module (gnu packages glib)
4b48a9fe 43 #:use-module (gnu packages gnome)
b5831eb7 44 #:use-module (gnu packages gnupg)
0bb3d6bf 45 #:use-module (gnu packages gnuzilla)
909f02dd 46 #:use-module (gnu packages gtk)
69428571 47 #:use-module (gnu packages image)
d58b0abd 48 #:use-module (gnu packages imagemagick)
69428571 49 #:use-module (gnu packages javascript)
909f02dd 50 #:use-module (gnu packages libcanberra)
51 #:use-module (gnu packages linux)
d58b0abd 52 #:use-module (gnu packages messaging)
69428571 53 #:use-module (gnu packages nettle)
909f02dd 54 #:use-module (gnu packages pkg-config)
69428571 55 #:use-module (gnu packages pdf)
42a6eaac 56 #:use-module (gnu packages photo)
0bb3d6bf 57 #:use-module (gnu packages polkit)
133cb876 58 #:use-module (gnu packages pulseaudio)
909f02dd 59 #:use-module (gnu packages python)
69428571 60 #:use-module (gnu packages tex)
61 #:use-module (gnu packages webkit)
909f02dd 62 #:use-module (gnu packages xdisorg)
63 #:use-module (gnu packages xml)
64 #:use-module (gnu packages xorg))
bb2fe79e 65
538b752b 66(define-public mate-common
67 (package
68 (name "mate-common")
69 (version "1.18.0")
70 (source
71 (origin
72 (method url-fetch)
73 (uri (string-append "https://pub.mate-desktop.org/releases/"
74 (version-major+minor version) "/"
75 name "-" version ".tar.xz"))
76 (sha256
77 (base32
78 "1005laf3z1h8qczm7pmwr40r842665cv6ykhjg7r93vldra48z6p"))))
79 (build-system gnu-build-system)
80 (home-page "https://mate-desktop.org/")
81 (synopsis "Common files for development of MATE packages")
82 (description
83 "Mate Common includes common files and macros used by
84MATE applications.")
85 (license license:gpl3+)))
86
bb2fe79e
FH
87(define-public mate-icon-theme
88 (package
89 (name "mate-icon-theme")
d84f7182 90 (version "1.18.2")
bb2fe79e
FH
91 (source (origin
92 (method url-fetch)
833b7e0a 93 (uri (string-append "https://pub.mate-desktop.org/releases/"
bb2fe79e
FH
94 (version-major+minor version) "/"
95 name "-" version ".tar.xz"))
96 (sha256
97 (base32
d84f7182 98 "0si3li3kza7s45zhasjvqn5f85zpkn0x8i4kq1dlnqvjjqzkg4ch"))))
bb2fe79e
FH
99 (build-system gnu-build-system)
100 (native-inputs
101 `(("pkg-config" ,pkg-config)
102 ("intltool" ,intltool)
bb2fe79e 103 ("icon-naming-utils" ,icon-naming-utils)))
833b7e0a 104 (home-page "https://mate-desktop.org/")
bb2fe79e
FH
105 (synopsis "The MATE desktop environment icon theme")
106 (description
107 "This package contains the default icon theme used by the MATE desktop.")
108 (license license:lgpl3+)))
cbfe494d
FH
109
110(define-public mate-themes
111 (package
112 (name "mate-themes")
60692df2 113 (version "3.22.13")
cbfe494d
FH
114 (source (origin
115 (method url-fetch)
833b7e0a 116 (uri (string-append "https://pub.mate-desktop.org/releases/themes/"
4e85f8d9
KK
117 (version-major+minor version) "/mate-themes-"
118 version ".tar.xz"))
cbfe494d
FH
119 (sha256
120 (base32
60692df2 121 "1p7w63an8qs15hkj79nppy7471glv0rm1b0himn3c4w69q8qdc9i"))))
cbfe494d
FH
122 (build-system gnu-build-system)
123 (native-inputs
124 `(("pkg-config" ,pkg-config)
68d2eea0 125 ("intltool" ,intltool)
126 ("gdk-pixbuf" ,gdk-pixbuf) ; gdk-pixbuf+svg isn't needed
127 ("gtk" ,gtk+-2)))
833b7e0a 128 (home-page "https://mate-desktop.org/")
cbfe494d
FH
129 (synopsis
130 "Official themes for the MATE desktop")
131 (description
132 "This package includes the standard themes for the MATE desktop, for
e3ec6c80
EF
133example Menta, TraditionalOk, GreenLaguna or BlackMate. This package has
134themes for both gtk+-2 and gtk+-3.")
cbfe494d
FH
135 (license (list license:lgpl2.1+ license:cc-by-sa3.0 license:gpl3+
136 license:gpl2+))))
4b48a9fe
FH
137
138(define-public mate-desktop
139 (package
140 (name "mate-desktop")
3bbdf641 141 (version "1.18.0")
4b48a9fe
FH
142 (source (origin
143 (method url-fetch)
833b7e0a 144 (uri (string-append "https://pub.mate-desktop.org/releases/"
4b48a9fe
FH
145 (version-major+minor version) "/"
146 name "-" version ".tar.xz"))
147 (sha256
148 (base32
3bbdf641 149 "12iv2y4dan962fs7vkkxbjkp77pbvjnwfa43ggr0zkdsc3ydjbbg"))))
4b48a9fe
FH
150 (build-system gnu-build-system)
151 (native-inputs
152 `(("pkg-config" ,pkg-config)
153 ("intltool" ,intltool)
154 ("glib:bin" ,glib "bin")
155 ("gobject-introspection" ,gobject-introspection)
6a548c56 156 ("yelp-tools" ,yelp-tools)
157 ("gtk-doc" ,gtk-doc)))
4b48a9fe 158 (inputs
9927943c
EF
159 `(("gtk+" ,gtk+)
160 ("libxrandr" ,libxrandr)
4b48a9fe 161 ("startup-notification" ,startup-notification)))
9927943c
EF
162 (propagated-inputs
163 `(("dconf" ,dconf))) ; mate-desktop-2.0.pc
833b7e0a 164 (home-page "https://mate-desktop.org/")
4b48a9fe
FH
165 (synopsis "Library with common API for various MATE modules")
166 (description
167 "This package contains a public API shared by several applications on the
168desktop and the mate-about program.")
169 (license (list license:gpl2+ license:lgpl2.0+ license:fdl1.1+))))
f2c7369a
FH
170
171(define-public libmateweather
172 (package
173 (name "libmateweather")
d954e569 174 (version "1.18.1")
f2c7369a
FH
175 (source (origin
176 (method url-fetch)
833b7e0a 177 (uri (string-append "https://pub.mate-desktop.org/releases/"
f2c7369a
FH
178 (version-major+minor version) "/"
179 name "-" version ".tar.xz"))
180 (sha256
181 (base32
d954e569 182 "0z6vfh42fv9rqjrraqfpf6h9nd9h662bxy3l3r48j19xvxrwmx3a"))))
f2c7369a
FH
183 (build-system gnu-build-system)
184 (arguments
5804c7b6 185 '(#:configure-flags
d954e569
KK
186 (list (string-append "--with-zoneinfo-dir="
187 (assoc-ref %build-inputs "tzdata")
188 "/share/zoneinfo"))
f2c7369a
FH
189 #:phases
190 (modify-phases %standard-phases
5804c7b6 191 (add-before 'check 'fix-tzdata-location
f2c7369a
FH
192 (lambda* (#:key inputs #:allow-other-keys)
193 (substitute* "data/check-timezones.sh"
194 (("/usr/share/zoneinfo/zone.tab")
195 (string-append (assoc-ref inputs "tzdata")
196 "/share/zoneinfo/zone.tab")))
197 #t)))))
198 (native-inputs
199 `(("pkg-config" ,pkg-config)
200 ("intltool" ,intltool)
5804c7b6 201 ("dconf" ,dconf)
f2c7369a
FH
202 ("glib:bin" ,glib "bin")))
203 (inputs
5804c7b6 204 `(("gtk+" ,gtk+)
f2c7369a
FH
205 ("tzdata" ,tzdata)))
206 (propagated-inputs
06599980
EF
207 ;; both of these are requires.private in mateweather.pc
208 `(("libsoup" ,libsoup)
209 ("libxml2" ,libxml2)))
833b7e0a 210 (home-page "https://mate-desktop.org/")
f2c7369a
FH
211 (synopsis "MATE library for weather information from the Internet")
212 (description
06599980 213 "This library provides access to weather information from the internet for
f2c7369a
FH
214the MATE desktop environment.")
215 (license license:lgpl2.1+)))
7af1ca29 216
17df429c 217(define-public mate-terminal
218 (package
219 (name "mate-terminal")
220 (version "1.18.1")
221 (source
222 (origin
223 (method url-fetch)
224 (uri (string-append "https://pub.mate-desktop.org/releases/"
225 (version-major+minor version) "/"
226 name "-" version ".tar.xz"))
227 (sha256
228 (base32
229 "1zihm609d2d9cw53ry385whshjl1dnkifpk41g1ddm9f58hv4da1"))))
230 (build-system glib-or-gtk-build-system)
231 (native-inputs
232 `(("pkg-config" ,pkg-config)
233 ("intltool" ,intltool)
234 ("itstool" ,itstool)
235 ("gobject-introspection" ,gobject-introspection)
236 ("libxml2" ,libxml2)
237 ("yelp-tools" ,yelp-tools)))
238 (inputs
239 `(("dconf" ,dconf)
240 ("gtk+" ,gtk+)
241 ("libice" ,libice)
242 ("libsm" ,libsm)
243 ("libx11" ,libx11)
244 ("mate-desktop" ,mate-desktop)
245 ("pango" ,pango)
246 ("vte" ,vte)))
247 (home-page "https://mate-desktop.org/")
248 (synopsis "MATE Terminal Emulator")
249 (description
250 "MATE Terminal is a terminal emulation application that you can
251use to access a shell. With it, you can run any application that
252is designed to run on VT102, VT220, and xterm terminals.
253MATE Terminal also has the ability to use multiple terminals
254in a single window (tabs) and supports management of different
255configurations (profiles).")
256 (license license:gpl3)))
257
a8376ca5 258(define-public mate-session-manager
259 (package
260 (name "mate-session-manager")
261 (version "1.18.1")
262 (source
263 (origin
264 (method url-fetch)
265 (uri (string-append "https://pub.mate-desktop.org/releases/"
266 (version-major+minor version) "/"
267 name "-" version ".tar.xz"))
268 (sha256
269 (base32
270 "0i0xq6041x2qmb26x9bawx0qpfkgjn6x9w3phnm9s7rc4s0z20ll"))))
271 (build-system glib-or-gtk-build-system)
1b332539 272 (arguments
273 `(#:configure-flags (list "--enable-elogind"
274 "--disable-schemas-compile")
275 #:phases
276 (modify-phases %standard-phases
277 (add-before 'configure 'pre-configure
278 (lambda* (#:key outputs #:allow-other-keys)
279 ;; Use elogind instead of systemd.
280 (substitute* "configure"
281 (("libsystemd-login")
282 "libelogind")
283 (("systemd") "elogind"))
284 (substitute* "mate-session/gsm-systemd.c"
285 (("#include <systemd/sd-login.h>")
286 "#include <elogind/sd-login.h>"))
287 ;; Remove uses of the systemd journal.
288 (substitute* "mate-session/main.c"
289 (("#ifdef HAVE_SYSTEMD") "#if 0"))
290 (substitute* "mate-session/gsm-manager.c"
291 (("#ifdef HAVE_SYSTEMD") "#if 0"))
292 (substitute* "mate-session/gsm-autostart-app.c"
293 (("#ifdef HAVE_SYSTEMD") "#if 0"))
294 #t)))))
a8376ca5 295 (native-inputs
296 `(("pkg-config" ,pkg-config)
297 ("intltool" ,intltool)
298 ("xtrans" ,xtrans)
299 ("gobject-introspection" ,gobject-introspection)))
300 (inputs
301 `(("gtk+" ,gtk+)
302 ("dbus-glib" ,dbus-glib)
1b332539 303 ("elogind" ,elogind)
a8376ca5 304 ("libsm" ,libsm)
305 ("mate-desktop" ,mate-desktop)))
306 (home-page "https://mate-desktop.org/")
307 (synopsis "Session manager for MATE")
308 (description
309 "Mate-session contains the MATE session manager, as well as a
310configuration program to choose applications starting on login.")
311 (license license:gpl2)))
312
0bb3d6bf 313(define-public mate-settings-daemon
314 (package
315 (name "mate-settings-daemon")
316 (version "1.18.1")
317 (source
318 (origin
319 (method url-fetch)
320 (uri (string-append "https://pub.mate-desktop.org/releases/"
321 (version-major+minor version) "/"
322 name "-" version ".tar.xz"))
323 (sha256
324 (base32
325 "07b2jkxqv07njdrgkdck93d872p6lch1lrvi7ydnpicspg3rfid6"))))
326 (build-system glib-or-gtk-build-system)
327 (native-inputs
328 `(("pkg-config" ,pkg-config)
329 ("intltool" ,intltool)
330 ("gobject-introspection" ,gobject-introspection)))
331 (inputs
332 `(("cairo" ,cairo)
333 ("dbus" ,dbus)
334 ("dbus-glib" ,dbus-glib)
335 ("dconf" ,dconf)
336 ("fontconfig" ,fontconfig)
337 ("gtk+" ,gtk+)
338 ("libcanberra" ,libcanberra)
339 ("libmatekbd" ,libmatekbd)
340 ("libmatemixer" ,libmatemixer)
341 ("libnotify" ,libnotify)
342 ("libx11" ,libx11)
343 ("libxext" ,libxext)
344 ("libxi" ,libxi)
345 ("libxklavier" ,libxklavier)
346 ("mate-desktop" ,mate-desktop)
347 ("nss" ,nss)
348 ("polkit" ,polkit)
349 ("startup-notification" ,startup-notification)))
350 (home-page "https://mate-desktop.org/")
351 (synopsis "Settings Daemon for MATE")
352 (description
353 "Mate-settings-daemon is a fork of gnome-settings-daemon.")
354 (license (list license:lgpl2.1 license:gpl2))))
355
133cb876 356(define-public libmatemixer
357 (package
358 (name "libmatemixer")
359 (version "1.18.0")
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 "09vyxnlnalws318gsafdfi5c6jwpp92pbafn1ddlqqds23ihk4mr"))))
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 `(("glib" ,glib)
376 ("pulseaudio" ,pulseaudio)
377 ("alsa-lib" ,alsa-lib)))
378 (home-page "https://mate-desktop.org/")
379 (synopsis "Mixer library for the MATE desktop")
380 (description
381 "Libmatemixer is a mixer library for MATE desktop. It provides an abstract
382API allowing access to mixer functionality available in the PulseAudio and ALSA
383sound systems.")
384 (license license:lgpl2.1)))
385
9c9909ef 386(define-public libmatekbd
387 (package
388 (name "libmatekbd")
389 (version "1.18.2")
390 (source
391 (origin
392 (method url-fetch)
393 (uri (string-append "https://pub.mate-desktop.org/releases/"
394 (version-major+minor version) "/"
395 name "-" version ".tar.xz"))
396 (sha256
397 (base32
398 "030bl18qbjm7l92bp1bhs7v82bp8j3mv7c1j1a4gd89iz4611pq3"))))
399 (build-system glib-or-gtk-build-system)
400 (native-inputs
401 `(("pkg-config" ,pkg-config)
402 ("intltool" ,intltool)
403 ("gobject-introspection" ,gobject-introspection)))
404 (inputs
405 `(("cairo" ,cairo)
406 ("gdk-pixbuf" ,gdk-pixbuf+svg)
407 ("glib" ,glib)
408 ("gtk+" ,gtk+)
409 ("libx11" ,libx11)
410 ("libxklavier" ,libxklavier)))
411 (home-page "https://mate-desktop.org/")
412 (synopsis "MATE keyboard configuration library")
413 (description
414 "Libmatekbd is a keyboard configuration library for the
415MATE desktop environment.")
416 (license license:lgpl2.1)))
417
7af1ca29
FH
418(define-public mate-menus
419 (package
420 (name "mate-menus")
78a52051 421 (version "1.18.0")
7af1ca29
FH
422 (source (origin
423 (method url-fetch)
833b7e0a 424 (uri (string-append "https://pub.mate-desktop.org/releases/"
7af1ca29
FH
425 (version-major+minor version) "/"
426 name "-" version ".tar.xz"))
427 (sha256
428 (base32
78a52051 429 "05kyr37xqv6hm1rlvnqd5ng0x1n883brqynkirkk5drl56axnz7h"))))
7af1ca29
FH
430 (build-system gnu-build-system)
431 (arguments
432 `(#:phases
433 (modify-phases %standard-phases
434 (add-after
435 'unpack 'fix-introspection-install-dir
436 (lambda* (#:key outputs #:allow-other-keys)
437 (let ((out (assoc-ref outputs "out")))
438 (substitute* '("configure")
439 (("`\\$PKG_CONFIG --variable=girdir gobject-introspection-1.0`")
440 (string-append "\"" out "/share/gir-1.0/\""))
441 (("\\$\\(\\$PKG_CONFIG --variable=typelibdir gobject-introspection-1.0\\)")
27caff1b
EF
442 (string-append out "/lib/girepository-1.0/")))
443 #t))))))
7af1ca29
FH
444 (native-inputs
445 `(("pkg-config" ,pkg-config)
446 ("intltool" ,intltool)
447 ("gobject-introspection" ,gobject-introspection)))
448 (inputs
27caff1b
EF
449 `(("glib" ,glib)
450 ("python" ,python-2)))
833b7e0a 451 (home-page "https://mate-desktop.org/")
7af1ca29
FH
452 (synopsis "Freedesktop menu specification implementation for MATE")
453 (description
454 "The package contains an implementation of the freedesktop menu
455specification, the MATE menu layout configuration files, .directory files and
456assorted menu related utility programs.")
457 (license (list license:gpl2+ license:lgpl2.0+))))
42a6eaac 458
da78e01b 459(define-public mate-applets
460 (package
461 (name "mate-applets")
462 (version "1.18.1")
463 (source
464 (origin
465 (method url-fetch)
466 (uri (string-append "https://pub.mate-desktop.org/releases/"
467 (version-major+minor version) "/"
468 name "-" version ".tar.xz"))
469 (sha256
470 (base32
471 "1nplr8i1mxbxd7pqhcy8j69v25nsp5dk9fq7ffrmjmp39lrf3fh5"))))
472 (build-system glib-or-gtk-build-system)
473 (native-inputs
474 `(("pkg-config" ,pkg-config)
475 ("intltool" ,intltool)
476 ("libxslt" ,libxslt)
477 ("yelp-tools" ,yelp-tools)
478 ("scrollkeeper" ,scrollkeeper)
479 ("gettext" ,gettext-minimal)
480 ("docbook-xml" ,docbook-xml)
481 ("gobject-introspection" ,gobject-introspection)))
482 (inputs
483 `(("atk" ,atk)
484 ("dbus" ,dbus)
485 ("dbus-glib" ,dbus-glib)
486 ("glib" ,glib)
487 ("gucharmap" ,gucharmap)
488 ("gtk+" ,gtk+)
489 ("gtksourceview" ,gtksourceview)
490 ("libgtop" ,libgtop)
491 ("libmateweather" ,libmateweather)
492 ("libnotify" ,libnotify)
493 ("libx11" ,libx11)
494 ("libxml2" ,libxml2)
495 ("libwnck" ,libwnck)
496 ("mate-panel" ,mate-panel)
497 ("pango" ,pango)
498 ("polkit" ,polkit) ; either polkit or setuid
499 ("python" ,python-2)
500 ("upower" ,upower)
501 ("wireless-tools" ,wireless-tools)))
502 (propagated-inputs
503 `(("python-pygobject" ,python-pygobject)))
504 (home-page "https://mate-desktop.org/")
505 (synopsis "Various applets for the MATE Panel")
506 (description
507 "Mate-applets includes various small applications for Mate-panel:
508
509@enumerate
510@item accessx-status: indicates keyboard accessibility settings,
511including the current state of the keyboard, if those features are in use.
512@item Battstat: monitors the power subsystem on a laptop.
513@item Character palette: provides a convenient way to access
514non-standard characters, such as accented characters,
515mathematical symbols, special symbols, and punctuation marks.
516@item MATE CPUFreq Applet: CPU frequency scaling monitor
517@item Drivemount: lets you mount and unmount drives and file systems.
518@item Geyes: pair of eyes which follow the mouse pointer around the screen.
519@item Keyboard layout switcher: lets you assign different keyboard
520layouts for different locales.
521@item Modem Monitor: monitors the modem.
522@item Invest: downloads current stock quotes from the Internet and
523displays the quotes in a scrolling display in the applet. The
524applet downloads the stock information from Yahoo! Finance.
525@item System monitor: CPU, memory, network, swap file and resource.
526@item Trash: lets you drag items to the trash folder.
527@item Weather report: downloads weather information from the
528U.S National Weather Service (NWS) servers, including the
529Interactive Weather Information Network (IWIN).
530@end enumerate\n")
531 (license (list license:gpl2+ license:lgpl2.0+ license:gpl3+))))
532
4d553e0a 533(define-public mate-media
534 (package
535 (name "mate-media")
536 (version "1.18.1")
537 (source
538 (origin
539 (method url-fetch)
540 (uri (string-append "https://pub.mate-desktop.org/releases/"
541 (version-major+minor version) "/"
542 name "-" version ".tar.xz"))
543 (sha256
544 (base32
545 "1l0j71d07898wb6ily09sj1xczwrmcw13wyhxwns7sxw592nwi04"))))
546 (build-system glib-or-gtk-build-system)
547 (native-inputs
548 `(("pkg-config" ,pkg-config)
549 ("intltool" ,intltool)
550 ("gettext" ,gettext-minimal)
551 ("gobject-introspection" ,gobject-introspection)))
552 (inputs
553 `(("cairo" ,cairo)
554 ("gtk+" ,gtk+)
555 ("libcanberra" ,libcanberra)
556 ("libmatemixer" ,libmatemixer)
557 ("libxml2" ,libxml2)
558 ("mate-applets" ,mate-applets)
559 ("mate-desktop" ,mate-desktop)
560 ("mate-panel" ,mate-panel)
561 ("pango" ,pango)
562 ("startup-notification" ,startup-notification)))
563 (home-page "https://mate-desktop.org/")
564 (synopsis "Multimedia related programs for the MATE desktop")
565 (description
566 "Mate-media includes the MATE media tools for MATE, including
567mate-volume-control, a MATE volume control application and applet.")
568 (license (list license:gpl2+ license:lgpl2.0+ license:fdl1.1+))))
569
c3812bec 570(define-public mate-panel
571 (package
572 (name "mate-panel")
573 (version "1.18.4")
574 (source
575 (origin
576 (method url-fetch)
577 (uri (string-append "https://pub.mate-desktop.org/releases/"
578 (version-major+minor version) "/"
579 name "-" version ".tar.xz"))
580 (sha256
581 (base32
582 "1n565ff1n7jrfx223i3cl3m69wjda506nvbn8gra7m1jwdfzpbw1"))))
583 (build-system glib-or-gtk-build-system)
584 (arguments
585 `(#:configure-flags
586 (list (string-append "--with-zoneinfo-dir="
587 (assoc-ref %build-inputs "tzdata")
588 "/share/zoneinfo")
589 "--with-in-process-applets=all")
590 #:phases
591 (modify-phases %standard-phases
592 (add-before 'configure 'fix-timezone-path
593 (lambda* (#:key inputs #:allow-other-keys)
594 (let* ((tzdata (assoc-ref inputs "tzdata")))
595 (substitute* "applets/clock/system-timezone.h"
596 (("/usr/share/lib/zoneinfo/tab")
597 (string-append tzdata "/share/zoneinfo/zone.tab"))
598 (("/usr/share/zoneinfo")
599 (string-append tzdata "/share/zoneinfo"))))
600 #t))
601 (add-after 'unpack 'fix-introspection-install-dir
602 (lambda* (#:key outputs #:allow-other-keys)
603 (let ((out (assoc-ref outputs "out")))
604 (substitute* '("configure")
605 (("`\\$PKG_CONFIG --variable=girdir gobject-introspection-1.0`")
606 (string-append "\"" out "/share/gir-1.0/\""))
607 (("\\$\\(\\$PKG_CONFIG --variable=typelibdir gobject-introspection-1.0\\)")
608 (string-append out "/lib/girepository-1.0/")))
609 #t))))))
610 (native-inputs
611 `(("pkg-config" ,pkg-config)
612 ("intltool" ,intltool)
613 ("itstool" ,itstool)
614 ("xtrans" ,xtrans)
615 ("gobject-introspection" ,gobject-introspection)))
616 (inputs
617 `(("dconf" ,dconf)
618 ("cairo" ,cairo)
619 ("dbus-glib" ,dbus-glib)
620 ("gtk+" ,gtk+)
621 ("libcanberra" ,libcanberra)
622 ("libice" ,libice)
623 ("libmateweather" ,libmateweather)
624 ("librsvg" ,librsvg)
625 ("libsm" ,libsm)
626 ("libx11" ,libx11)
627 ("libxau" ,libxau)
628 ("libxml2" ,libxml2)
629 ("libxrandr" ,libxrandr)
630 ("libwnck" ,libwnck)
631 ("mate-desktop" ,mate-desktop)
632 ("mate-menus" ,mate-menus)
633 ("pango" ,pango)
634 ("tzdata" ,tzdata)))
635 (home-page "https://mate-desktop.org/")
636 (synopsis "Panel for MATE")
637 (description
638 "Mate-panel contains the MATE panel, the libmate-panel-applet library and
639several applets. The applets supplied here include the Workspace Switcher,
640the Window List, the Window Selector, the Notification Area, the Clock and the
641infamous 'Wanda the Fish'.")
642 (license (list license:gpl2+ license:lgpl2.0+))))
643
69428571 644(define-public atril
645 (package
646 (name "atril")
647 (version "1.18.1")
648 (source
649 (origin
650 (method url-fetch)
651 (uri (string-append "https://pub.mate-desktop.org/releases/"
652 (version-major+minor version) "/"
653 name "-" version ".tar.xz"))
654 (sha256
655 (base32
656 "1wl332v80c0nzz7nw36d1pfmbiibvl3l0i4d25ihg6mg9wbc0145"))))
657 (build-system glib-or-gtk-build-system)
658 (arguments
659 `(#:configure-flags (list (string-append "--with-openjpeg="
660 (assoc-ref %build-inputs "openjpeg"))
661 "--enable-introspection"
662 "--with-gtk=3.0"
663 "--disable-schemas-compile"
664 ;; FIXME: Enable build of Caja extensions.
665 "--disable-caja")
666 #:tests? #f
667 #:phases
668 (modify-phases %standard-phases
669 (add-after 'unpack 'fix-mathjax-path
670 (lambda _
671 (let* ((mathjax (assoc-ref %build-inputs "js-mathjax"))
672 (mathjax-path (string-append mathjax
673 "/share/javascript/mathjax")))
674 (substitute* "backend/epub/epub-document.c"
675 (("/usr/share/javascript/mathjax")
676 mathjax-path)))
677 #t))
678 (add-after 'unpack 'fix-introspection-install-dir
679 (lambda* (#:key outputs #:allow-other-keys)
680 (let ((out (assoc-ref outputs "out")))
681 (substitute* '("configure")
682 (("\\$\\(\\$PKG_CONFIG --variable=girdir gobject-introspection-1.0\\)")
683 (string-append "\"" out "/share/gir-1.0/\""))
684 (("\\$\\(\\$PKG_CONFIG --variable=typelibdir gobject-introspection-1.0\\)")
685 (string-append out "/lib/girepository-1.0/")))
686 #t)))
687 (add-before 'install 'skip-gtk-update-icon-cache
688 ;; Don't create 'icon-theme.cache'.
689 (lambda _
690 (substitute* "data/Makefile"
691 (("gtk-update-icon-cache") "true"))
692 #t)))))
693 (native-inputs
694 `(("pkg-config" ,pkg-config)
695 ("intltool" ,intltool)
696 ("itstool" ,itstool)
697 ("yelp-tools" ,yelp-tools)
698 ("glib:bin" ,glib "bin")
699 ("gobject-introspection" ,gobject-introspection)
700 ("gtk-doc" ,gtk-doc)
701 ("xmllint" ,libxml2)
702 ("zlib" ,zlib)))
703 (inputs
704 `(("atk" ,atk)
705 ("cairo" ,cairo)
706 ("caja" ,caja)
707 ("dconf" ,dconf)
708 ("dbus" ,dbus)
709 ("dbus-glib" ,dbus-glib)
710 ("djvulibre" ,djvulibre)
711 ("fontconfig" ,fontconfig)
712 ("freetype" ,freetype)
713 ("ghostscript" ,ghostscript)
714 ("glib" ,glib)
715 ("gtk+" ,gtk+)
716 ("js-mathjax" ,js-mathjax)
717 ("libcanberra" ,libcanberra)
718 ("libsecret" ,libsecret)
719 ("libspectre" ,libspectre)
720 ("libtiff" ,libtiff)
721 ("libx11" ,libx11)
722 ("libice" ,libice)
723 ("libsm" ,libsm)
724 ("libgxps" ,libgxps)
725 ("libjpeg" ,libjpeg)
726 ("libxml2" ,libxml2)
727 ("dogtail" ,python2-dogtail)
728 ("shared-mime-info" ,shared-mime-info)
729 ("gdk-pixbuf" ,gdk-pixbuf)
730 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
731 ("libgnome-keyring" ,libgnome-keyring)
732 ("libarchive" ,libarchive)
733 ("marco" ,marco)
734 ("nettle" ,nettle)
735 ("openjpeg" ,openjpeg-1)
736 ("pango" ,pango)
737 ;;("texlive" ,texlive)
738 ;; TODO:
739 ;; Build libkpathsea as a shared library for DVI support.
740 ;; ("libkpathsea" ,texlive-bin)
741 ("poppler" ,poppler)
742 ("webkitgtk" ,webkitgtk)))
743 (home-page "https://mate-desktop.org")
744 (synopsis "Document viewer for Mate")
745 (description
746 "Document viewer for Mate")
747 (license license:gpl2)))
748
42a6eaac 749(define-public caja
750 (package
751 (name "caja")
752 (version "1.18.3")
753 (source
754 (origin
755 (method url-fetch)
756 (uri (string-append "https://pub.mate-desktop.org/releases/"
757 (version-major+minor version) "/"
758 name "-" version ".tar.xz"))
759 (sha256
760 (base32
761 "0mljqcx7k8p27854zm7qzzn8ca6hs7hva9p43hp4p507z52caqmm"))))
762 (build-system glib-or-gtk-build-system)
763 (arguments
764 `(#:configure-flags '("--disable-update-mimedb")
765 #:tests? #f ; tests fail even with display set
766 #:phases
767 (modify-phases %standard-phases
768 (add-before 'check 'pre-check
769 (lambda _
770 ;; Tests require a running X server.
771 (system "Xvfb :1 &")
772 (setenv "DISPLAY" ":1")
773 ;; For the missing /etc/machine-id.
774 (setenv "DBUS_FATAL_WARNINGS" "0")
775 #t)))))
776 (native-inputs
777 `(("pkg-config" ,pkg-config)
778 ("intltool" ,intltool)
779 ("glib:bin" ,glib "bin")
780 ("xorg-server" ,xorg-server)
781 ("gobject-introspection" ,gobject-introspection)))
782 (inputs
783 `(("exempi" ,exempi)
784 ("gtk+" ,gtk+)
785 ("gvfs" ,gvfs)
786 ("libexif" ,libexif)
787 ("libnotify" ,libnotify)
788 ("libsm" ,libsm)
789 ("libxml2" ,libxml2)
790 ("mate-desktop" ,mate-desktop)
791 ("startup-notification" ,startup-notification)))
5a97a262 792 (native-search-paths
793 (list (search-path-specification
794 (variable "CAJA_EXTENSIONDIR")
795 (files (list "lib/caja/extensions-2.0/**")))))
42a6eaac 796 (home-page "https://mate-desktop.org/")
797 (synopsis "File manager for the MATE desktop")
798 (description
799 "Caja is the official file manager for the MATE desktop.
800It allows for browsing directories, as well as previewing files and launching
801applications associated with them. Caja is also responsible for handling the
802icons on the MATE desktop. It works on local and remote filesystems.")
803 ;; There is a note about a TRADEMARKS_NOTICE file in COPYING which
804 ;; does not exist. It is safe to assume that this is of no concern
805 ;; for us.
806 (license license:gpl2+)))
4d26a340 807
d58b0abd 808(define-public caja-extensions
809 (package
810 (name "caja-extensions")
811 (version "1.18.1")
812 (source
813 (origin
814 (method url-fetch)
815 (uri (string-append "https://pub.mate-desktop.org/releases/"
816 (version-major+minor version) "/"
817 name "-" version ".tar.xz"))
818 (sha256
819 (base32
820 "0hgala7zkfsa60jflq3s4n9yd11dhfdcla40l83cmgc3r1az7cmw"))))
821 (build-system glib-or-gtk-build-system)
822 (arguments
823 `(#:configure-flags (list "--enable-sendto"
824 ;; TODO: package "gupnp" to enable 'upnp', package
825 ;; "gksu" to enable 'gksu'.
826 (string-append "--with-sendto-plugins=removable-devices,"
827 "caja-burn,emailclient,pidgin,gajim")
828 "--enable-image-converter"
829 "--enable-open-terminal" "--enable-share"
830 "--enable-wallpaper" "--enable-xattr-tags"
831 (string-append "--with-cajadir="
832 (assoc-ref %outputs "out")
833 "/lib/caja/extensions-2.0/"))))
834 (native-inputs
835 `(("intltool" ,intltool)
836 ("gettext" ,gettext-minimal)
837 ("glib:bin" ,glib "bin")
838 ("gobject-introspection" ,gobject-introspection)
839 ("gtk-doc" ,gtk-doc)
840 ("pkg-config" ,pkg-config)))
841 (inputs
842 `(("attr" ,attr)
843 ("brasero" ,brasero)
844 ("caja" ,caja)
845 ("dbus" ,dbus)
846 ("dbus-glib" ,dbus-glib)
847 ("gajim" ,gajim) ;runtime only?
848 ("gtk+" ,gtk+)
849 ("imagemagick" ,imagemagick)
850 ("graphicsmagick" ,graphicsmagick)
851 ("mate-desktop" ,mate-desktop)
852 ("pidgin" ,pidgin) ;runtime only?
853 ("startup-notification" ,startup-notification)))
854 (home-page "https://mate-desktop.org/")
855 (synopsis "Extensions for the File manager Caja")
856 (description
857 "Caja is the official file manager for the MATE desktop.
858It allows for browsing directories, as well as previewing files and launching
859applications associated with them. Caja is also responsible for handling the
860icons on the MATE desktop. It works on local and remote filesystems.")
861 (license license:gpl2+)))
862
16cd07c1 863(define-public mate-control-center
864 (package
865 (name "mate-control-center")
866 (version "1.18.2")
867 (source
868 (origin
869 (method url-fetch)
870 (uri (string-append "https://pub.mate-desktop.org/releases/"
871 (version-major+minor version) "/"
872 name "-" version ".tar.xz"))
873 (sha256
874 (base32
875 "0flnn0h8f5aqyccwrlv7qxchvr3kqmlfdga6wq28d55zkpv5m7dl"))))
876 (build-system glib-or-gtk-build-system)
877 (native-inputs
878 `(("pkg-config" ,pkg-config)
879 ("intltool" ,intltool)
880 ("yelp-tools" ,yelp-tools)
881 ("desktop-file-utils" ,desktop-file-utils)
882 ("kbproto" ,kbproto)
883 ("randrproto" ,randrproto)
884 ("renderproto" ,renderproto)
885 ("scrnsaverproto" ,scrnsaverproto)
886 ("xextpro" ,xextproto)
887 ("xproto" ,xproto)
888 ("xmodmap" ,xmodmap)
889 ("gobject-introspection" ,gobject-introspection)))
890 (inputs
891 `(("atk" ,atk)
892 ("cairo" ,cairo)
893 ("caja" ,caja)
894 ("dconf" ,dconf)
895 ("dbus" ,dbus)
896 ("dbus-glib" ,dbus-glib)
897 ("fontconfig" ,fontconfig)
898 ("freetype" ,freetype)
899 ("glib" ,glib)
900 ("gtk+" ,gtk+)
901 ("libcanberra" ,libcanberra)
902 ("libmatekbd" ,libmatekbd)
903 ("libx11" ,libx11)
904 ("libxcursor" ,libxcursor)
905 ("libxext" ,libxext)
906 ("libxi" ,libxi)
907 ("libxklavier" ,libxklavier)
908 ("libxml2" ,libxml2)
909 ("libxrandr" ,libxrandr)
910 ("libxrender" ,libxrender)
911 ("libxscrnsaver" ,libxscrnsaver)
912 ("marco" ,marco)
913 ("mate-desktop" ,mate-desktop)
914 ("mate-menus" ,mate-menus)
915 ("mate-settings-daemon" ,mate-settings-daemon)
916 ("pango" ,pango)
917 ("startup-notification" ,startup-notification)))
918 (propagated-inputs
919 `(("gdk-pixbuf" ,gdk-pixbuf+svg) ; mate-slab.pc
920 ("librsvg" ,librsvg))) ; mate-slab.pc
921 (home-page "https://mate-desktop.org/")
922 (synopsis "MATE Desktop configuration tool")
923 (description
924 "MATE control center is MATE's main interface for configuration
925of various aspects of your desktop.")
926 (license license:gpl2+)))
927
4d26a340 928(define-public marco
929 (package
930 (name "marco")
931 (version "1.18.1")
932 (source
933 (origin
934 (method url-fetch)
935 (uri (string-append "https://pub.mate-desktop.org/releases/"
936 (version-major+minor version) "/"
937 name "-" version ".tar.xz"))
938 (sha256
939 (base32
940 "0lwbp9wyd66hl5d7g272l8g3k1pb9s4s2p9fb04750a58w87d8k5"))))
941 (build-system glib-or-gtk-build-system)
942 (native-inputs
943 `(("pkg-config" ,pkg-config)
944 ("intltool" ,intltool)
945 ("itstool" ,itstool)
946 ("glib" ,glib)
947 ("gobject-introspection" ,gobject-introspection)
948 ("libxft" ,libxft)
949 ("libxml2" ,libxml2)
950 ("zenity" ,zenity)))
951 (inputs
952 `(("gtk+" ,gtk+)
953 ("libcanberra" ,libcanberra)
954 ("libgtop" ,libgtop)
955 ("libice" ,libice)
956 ("libsm" ,libsm)
957 ("libx11" ,libx11)
958 ("libxcomposite" ,libxcomposite)
959 ("libxcursor" ,libxcursor)
960 ("libxdamage" ,libxdamage)
961 ("libxext" ,libxext)
962 ("libxfixes" ,libxfixes)
963 ("libxinerama" ,libxinerama)
964 ("libxrandr" ,libxrandr)
965 ("libxrender" ,libxrender)
966 ("mate-desktop" ,mate-desktop)
967 ("pango" ,pango)
968 ("startup-notification" ,startup-notification)))
969 (home-page "https://mate-desktop.org/")
970 (synopsis "Window manager for the MATE desktop")
971 (description
972 "Marco is a minimal X window manager that uses GTK+ for drawing
973window frames. It is aimed at non-technical users and is designed to integrate
974well with the MATE desktop. It lacks some features that may be expected by
975some users; these users may want to investigate other available window managers
976for use with MATE or as a standalone window manager.")
977 (license license:gpl2+)))
b5831eb7 978
75282ec1 979(define-public mate-user-guide
980 (package
981 (name "mate-user-guide")
982 (version "1.18.0")
983 (source
984 (origin
985 (method url-fetch)
986 (uri (string-append "https://pub.mate-desktop.org/releases/"
987 (version-major+minor version) "/"
988 name "-" version ".tar.xz"))
989 (sha256
990 (base32
991 "0f3b46r9a3cywm7rpj08xlkfnlfr9db58xfcpix8i33qp50fxqmb"))))
992 (build-system gnu-build-system)
993 (arguments
994 `(#:phases
995 (modify-phases %standard-phases
996 (add-after 'unpack 'adjust-desktop-file
997 (lambda* (#:key inputs #:allow-other-keys)
998 (let* ((yelp (assoc-ref inputs "yelp")))
999 (substitute* "mate-user-guide.desktop.in.in"
1000 (("yelp")
1001 (string-append yelp "/bin/yelp"))))
1002 #t)))))
1003 (native-inputs
1004 `(("pkg-config" ,pkg-config)
1005 ("intltool" ,intltool)
1006 ("gettext" ,gettext-minimal)
1007 ("yelp-tools" ,yelp-tools)
1008 ("yelp-xsl" ,yelp-xsl)))
1009 (inputs
1010 `(("yelp" ,yelp)))
1011 (home-page "https://mate-desktop.org/")
1012 (synopsis "User Documentation for Mate software")
1013 (description
1014 "MATE User Guide is a collection of documentation which details
1015general use of the MATE Desktop environment. Topics covered include
1016sessions, panels, menus, file management, and preferences.")
1017 (license (list license:fdl1.1+ license:gpl2+))))
1018
033a2ac6 1019(define-public mate-calc
1020 (package
1021 (name "mate-calc")
1022 (version "1.18.0")
1023 (source
1024 (origin
1025 (method url-fetch)
1026 (uri (string-append "https://pub.mate-desktop.org/releases/"
1027 (version-major+minor version) "/"
1028 name "-" version ".tar.xz"))
1029 (sha256
1030 (base32
1031 "0qfs6kx2nymbn6j3mnzgvk8p54ghc78jslsf4wjqsdq021qyl0ly"))))
1032 (build-system glib-or-gtk-build-system)
1033 (native-inputs
1034 `(("gettext" ,gettext-minimal)
1035 ("intltool" ,intltool)
1036 ("pkg-config" ,pkg-config)
1037 ("yelp-tools" ,yelp-tools)))
1038 (inputs
1039 `(("atk" ,atk)
1040 ("glib" ,glib)
1041 ("gtk+" ,gtk+)
1042 ("libxml2" ,libxml2)
1043 ("libcanberra" ,libcanberra)
1044 ("pango" ,pango)))
1045 (home-page "https://mate-desktop.org/")
1046 (synopsis "Calculator for MATE")
1047 (description
1048 "Mate Calc is the GTK+ calculator application for the MATE Desktop.")
1049 (license license:gpl2+)))
1050
bf7f2949 1051(define-public mate-backgrounds
1052 (package
1053 (name "mate-backgrounds")
1054 (version "1.18.0")
1055 (source
1056 (origin
1057 (method url-fetch)
1058 (uri (string-append "https://pub.mate-desktop.org/releases/"
1059 (version-major+minor version) "/"
1060 name "-" version ".tar.xz"))
1061 (sha256
1062 (base32
1063 "06q8ksjisijps2wn959arywsimhzd3j35mqkr048c26ck24d60zi"))))
1064 (build-system glib-or-gtk-build-system)
1065 (native-inputs
1066 `(("intltool" ,intltool)))
1067 (home-page "https://mate-desktop.org/")
1068 (synopsis "Calculator for MATE")
1069 (description
1070 "This package contains a collection of graphics files which
1071can be used as backgrounds in the MATE Desktop environment.")
1072 (license license:gpl2+)))
1073
b5831eb7 1074(define-public mate
1075 (package
1076 (name "mate")
1077 (version (package-version mate-desktop))
1078 (source #f)
1079 (build-system trivial-build-system)
1080 (arguments
1081 `(#:modules ((guix build union))
1082 #:builder
1083 (begin
1084 (use-modules (ice-9 match)
1085 (guix build union))
1086 (match %build-inputs
1087 (((names . directories) ...)
1088 (union-build (assoc-ref %outputs "out")
1089 directories))))))
1090 (inputs
1091 ;; TODO: Add more packages
1092 `(("at-spi2-core" ,at-spi2-core)
1093 ("caja" ,caja)
1094 ("dbus" ,dbus)
1095 ("dconf" ,dconf)
1096 ("desktop-file-utils" ,desktop-file-utils)
1097 ("font-cantarell" ,font-cantarell)
1098 ("glib-networking" ,glib-networking)
1099 ("gnome-keyring" ,gnome-keyring)
1100 ("gvfs" ,gvfs)
1101 ("libmatekbd" ,libmatekbd)
1102 ("libmateweather" ,libmateweather)
1103 ("libmatemixer" ,libmatemixer)
1104 ("marco" ,marco)
1105 ("mate-session-manager" ,mate-session-manager)
1106 ("mate-settings-daemon" ,mate-settings-daemon)
1107 ("mate-desktop" ,mate-desktop)
1108 ("mate-terminal" ,mate-terminal)
1109 ("mate-themes" ,mate-themes)
1110 ("mate-icon-theme" ,mate-icon-theme)
1111 ("mate-menu" ,mate-menus)
1112 ("mate-panel" ,mate-panel)
1113 ("mate-control-center" ,mate-control-center)
1114 ("mate-media" ,mate-media)
1115 ("mate-applets" ,mate-applets)
1116 ("pinentry-gnome3" ,pinentry-gnome3)
1117 ("pulseaudio" ,pulseaudio)
1118 ("shared-mime-info" ,shared-mime-info)
1119 ("yelp" ,yelp)
1120 ("zenity" ,zenity)))
1121 (synopsis "The MATE desktop environment")
1122 (home-page "https://mate-desktop.org/")
1123 (description
1124 "The MATE Desktop Environment is the continuation of GNOME 2. It provides
1125an intuitive and attractive desktop environment using traditional metaphors for
1126GNU/Linux systems. MATE is under active development to add support for new
1127technologies while preserving a traditional desktop experience.")
1128 (license license:gpl2+)))