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