gnu: mate-polkit: Update to 1.24.0.
[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>
30bbe72d 5;;; Copyright © 2018, 2019, 2020 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)
aff0cce9 59 #:use-module (gnu packages nss)
909f02dd 60 #:use-module (gnu packages pkg-config)
69428571 61 #:use-module (gnu packages pdf)
42a6eaac 62 #:use-module (gnu packages photo)
0bb3d6bf 63 #:use-module (gnu packages polkit)
133cb876 64 #:use-module (gnu packages pulseaudio)
909f02dd 65 #:use-module (gnu packages python)
44d10b1f 66 #:use-module (gnu packages python-xyz)
69428571 67 #:use-module (gnu packages tex)
68 #:use-module (gnu packages webkit)
909f02dd 69 #:use-module (gnu packages xdisorg)
70 #:use-module (gnu packages xml)
9f7d5768 71 #:use-module (gnu packages xdisorg)
909f02dd 72 #:use-module (gnu packages xorg))
bb2fe79e 73
538b752b 74(define-public mate-common
75 (package
76 (name "mate-common")
8b493c7c 77 (version "1.22.0")
538b752b 78 (source
79 (origin
80 (method url-fetch)
66fca504 81 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
538b752b 82 name "-" version ".tar.xz"))
83 (sha256
84 (base32
8b493c7c 85 "11lwckndizawbq993ws8lqp59vsc873zri0m8s1i5zyc4qx9f69z"))))
538b752b 86 (build-system gnu-build-system)
87 (home-page "https://mate-desktop.org/")
88 (synopsis "Common files for development of MATE packages")
89 (description
90 "Mate Common includes common files and macros used by
91MATE applications.")
92 (license license:gpl3+)))
93
f254e308 94(define-public mate-power-manager
95 (package
96 (name "mate-power-manager")
97 (version "1.22.0")
98 (source
99 (origin
100 (method url-fetch)
5e319c15 101 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
f254e308 102 name "-" version ".tar.xz"))
103 (sha256
104 (base32
105 "03c09h41qfz83wmjfvwzkq4xqc54aswmki4h034qcxbgfnyfmk1i"))))
106 (build-system gnu-build-system)
107 (native-inputs
108 `(("pkg-config" ,pkg-config)
109 ("intltool" ,intltool)
110 ("yelp-tools" ,yelp-tools)
111 ("glib" ,glib "bin") ; glib-gettextize
112 ("libtool" ,libtool)))
113 (inputs
114 `(("gtk+" ,gtk+)
115 ("glib" ,glib)
116 ("dbus-glib" ,dbus-glib)
117 ("libgnome-keyring" ,libgnome-keyring)
118 ("cairo" ,cairo)
119 ("dbus" ,dbus)
120 ("libnotify" ,libnotify)
121 ("mate-panel" ,mate-panel)
122 ("libxrandr" ,libxrandr)
123 ("libcanberra" ,libcanberra)
124 ("upower" ,upower)))
125 (home-page "https://mate-desktop.org/")
5e319c15 126 (synopsis "Power manager for MATE")
f254e308 127 (description
128 "MATE Power Manager is a MATE session daemon that acts as a policy agent on
5e319c15 129top of UPower. It listens to system events and responds with user-configurable
f254e308 130actions.")
3bb293b6 131 (license license:gpl2+)))
f254e308 132
bb2fe79e
FH
133(define-public mate-icon-theme
134 (package
135 (name "mate-icon-theme")
947dc39e 136 (version "1.24.0")
66fca504 137 (source
138 (origin
139 (method url-fetch)
140 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
141 name "-" version ".tar.xz"))
142 (sha256
143 (base32
947dc39e 144 "0a2lz61ivwwcdznmwlmgjr6ipr9sdl5g2czbagnpxkwz8f3m77na"))))
bb2fe79e
FH
145 (build-system gnu-build-system)
146 (native-inputs
147 `(("pkg-config" ,pkg-config)
148 ("intltool" ,intltool)
bb2fe79e 149 ("icon-naming-utils" ,icon-naming-utils)))
833b7e0a 150 (home-page "https://mate-desktop.org/")
bb2fe79e
FH
151 (synopsis "The MATE desktop environment icon theme")
152 (description
153 "This package contains the default icon theme used by the MATE desktop.")
154 (license license:lgpl3+)))
f2c71f82 155
156(define-public mate-icon-theme-faenza
157 (package
158 (name "mate-icon-theme-faenza")
80790080 159 (version "1.20.0")
66fca504 160 (source
161 (origin
162 (method url-fetch)
163 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
164 name "-" version ".tar.xz"))
165 (sha256
166 (base32
167 "000vr9cnbl2qlysf2gyg1lsjirqdzmwrnh6d3hyrsfc0r2vh4wna"))))
f2c71f82 168 (build-system gnu-build-system)
169 (arguments
170 `(#:phases
171 (modify-phases %standard-phases
172 (add-after 'unpack 'autoconf
173 (lambda _
174 (setenv "SHELL" (which "sh"))
175 (setenv "CONFIG_SHELL" (which "sh"))
176 (invoke "sh" "autogen.sh"))))))
177 (native-inputs
464f5447 178 `(("autoconf" ,autoconf-wrapper)
f2c71f82 179 ("automake" ,automake)
180 ("intltool" ,intltool)
181 ("icon-naming-utils" ,icon-naming-utils)
182 ("libtool" ,libtool)
183 ("mate-common" ,mate-common)
184 ("pkg-config" ,pkg-config)
185 ("which" ,which)))
186 (home-page "https://mate-desktop.org/")
187 (synopsis "MATE desktop environment icon theme faenza")
188 (description
189 "Icon theme using Faenza and Faience icon themes and some
190customized icons for MATE. Furthermore it includes some icons
191from Mint-X-F and Faenza-Fresh icon packs.")
192 (license license:gpl2+)))
cbfe494d
FH
193
194(define-public mate-themes
195 (package
196 (name "mate-themes")
f205f6be 197 (version "3.22.20")
66fca504 198 (source
199 (origin
200 (method url-fetch)
201 (uri (string-append "mirror://mate/themes/" (version-major+minor version)
202 "/mate-themes-" version ".tar.xz"))
f205f6be
TGR
203 (sha256
204 (base32 "0c3dhf8p9nc2maky4g9xr04iil9wwbdkmhpzynlc6lfg4ksqq2bx"))))
cbfe494d
FH
205 (build-system gnu-build-system)
206 (native-inputs
207 `(("pkg-config" ,pkg-config)
68d2eea0 208 ("intltool" ,intltool)
f205f6be 209 ("gdk-pixbuf" ,gdk-pixbuf) ; gdk-pixbuf+svg isn't needed
68d2eea0 210 ("gtk" ,gtk+-2)))
833b7e0a 211 (home-page "https://mate-desktop.org/")
cbfe494d
FH
212 (synopsis
213 "Official themes for the MATE desktop")
214 (description
215 "This package includes the standard themes for the MATE desktop, for
e3ec6c80
EF
216example Menta, TraditionalOk, GreenLaguna or BlackMate. This package has
217themes for both gtk+-2 and gtk+-3.")
cbfe494d
FH
218 (license (list license:lgpl2.1+ license:cc-by-sa3.0 license:gpl3+
219 license:gpl2+))))
4b48a9fe
FH
220
221(define-public mate-desktop
222 (package
223 (name "mate-desktop")
ea5b0a6f 224 (version "1.24.0")
66fca504 225 (source
226 (origin
227 (method url-fetch)
228 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
229 name "-" version ".tar.xz"))
230 (sha256
231 (base32
ea5b0a6f 232 "0l4bbj6nz315s5ndq5sw1jcgi3s1whk59bj12c4mbpsvmlb33adg"))))
4b48a9fe
FH
233 (build-system gnu-build-system)
234 (native-inputs
235 `(("pkg-config" ,pkg-config)
236 ("intltool" ,intltool)
237 ("glib:bin" ,glib "bin")
238 ("gobject-introspection" ,gobject-introspection)
6a548c56 239 ("yelp-tools" ,yelp-tools)
240 ("gtk-doc" ,gtk-doc)))
4b48a9fe 241 (inputs
9927943c
EF
242 `(("gtk+" ,gtk+)
243 ("libxrandr" ,libxrandr)
2dc975d7 244 ("iso-codes" ,iso-codes)
4b48a9fe 245 ("startup-notification" ,startup-notification)))
9927943c
EF
246 (propagated-inputs
247 `(("dconf" ,dconf))) ; mate-desktop-2.0.pc
833b7e0a 248 (home-page "https://mate-desktop.org/")
4b48a9fe
FH
249 (synopsis "Library with common API for various MATE modules")
250 (description
251 "This package contains a public API shared by several applications on the
252desktop and the mate-about program.")
253 (license (list license:gpl2+ license:lgpl2.0+ license:fdl1.1+))))
f2c7369a
FH
254
255(define-public libmateweather
256 (package
257 (name "libmateweather")
42096be5 258 (version "1.24.0")
66fca504 259 (source
260 (origin
261 (method url-fetch)
262 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
263 name "-" version ".tar.xz"))
264 (sha256
265 (base32
42096be5 266 "094mnlczxq9crjj8z7dzs1zmwscdkbp54l3qjaf4a4bhd8lihv8d"))))
f2c7369a
FH
267 (build-system gnu-build-system)
268 (arguments
5804c7b6 269 '(#:configure-flags
d954e569
KK
270 (list (string-append "--with-zoneinfo-dir="
271 (assoc-ref %build-inputs "tzdata")
272 "/share/zoneinfo"))
f2c7369a
FH
273 #:phases
274 (modify-phases %standard-phases
5804c7b6 275 (add-before 'check 'fix-tzdata-location
f2c7369a
FH
276 (lambda* (#:key inputs #:allow-other-keys)
277 (substitute* "data/check-timezones.sh"
278 (("/usr/share/zoneinfo/zone.tab")
279 (string-append (assoc-ref inputs "tzdata")
280 "/share/zoneinfo/zone.tab")))
281 #t)))))
282 (native-inputs
283 `(("pkg-config" ,pkg-config)
284 ("intltool" ,intltool)
5804c7b6 285 ("dconf" ,dconf)
f2c7369a
FH
286 ("glib:bin" ,glib "bin")))
287 (inputs
5804c7b6 288 `(("gtk+" ,gtk+)
f2c7369a
FH
289 ("tzdata" ,tzdata)))
290 (propagated-inputs
06599980
EF
291 ;; both of these are requires.private in mateweather.pc
292 `(("libsoup" ,libsoup)
293 ("libxml2" ,libxml2)))
833b7e0a 294 (home-page "https://mate-desktop.org/")
f2c7369a
FH
295 (synopsis "MATE library for weather information from the Internet")
296 (description
06599980 297 "This library provides access to weather information from the internet for
f2c7369a
FH
298the MATE desktop environment.")
299 (license license:lgpl2.1+)))
7af1ca29 300
17df429c 301(define-public mate-terminal
302 (package
303 (name "mate-terminal")
6129b046 304 (version "1.24.0")
17df429c 305 (source
306 (origin
307 (method url-fetch)
66fca504 308 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
30bbe72d 309 "mate-terminal-" version ".tar.xz"))
17df429c 310 (sha256
6129b046 311 (base32 "0nc23nmbkya2fgf7j65z85dcibwi5akkr8nscqrvk039ckirhk97"))))
17df429c 312 (build-system glib-or-gtk-build-system)
313 (native-inputs
314 `(("pkg-config" ,pkg-config)
315 ("intltool" ,intltool)
316 ("itstool" ,itstool)
317 ("gobject-introspection" ,gobject-introspection)
318 ("libxml2" ,libxml2)
319 ("yelp-tools" ,yelp-tools)))
320 (inputs
321 `(("dconf" ,dconf)
322 ("gtk+" ,gtk+)
323 ("libice" ,libice)
324 ("libsm" ,libsm)
325 ("libx11" ,libx11)
326 ("mate-desktop" ,mate-desktop)
327 ("pango" ,pango)
328 ("vte" ,vte)))
329 (home-page "https://mate-desktop.org/")
330 (synopsis "MATE Terminal Emulator")
331 (description
332 "MATE Terminal is a terminal emulation application that you can
333use to access a shell. With it, you can run any application that
334is designed to run on VT102, VT220, and xterm terminals.
335MATE Terminal also has the ability to use multiple terminals
336in a single window (tabs) and supports management of different
337configurations (profiles).")
338 (license license:gpl3)))
339
a8376ca5 340(define-public mate-session-manager
341 (package
342 (name "mate-session-manager")
42da8176 343 (version "1.24.0")
a8376ca5 344 (source
345 (origin
346 (method url-fetch)
66fca504 347 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
a8376ca5 348 name "-" version ".tar.xz"))
349 (sha256
350 (base32
42da8176 351 "01scj5d1xlri9b2id8gm9kfni9nzhdjdf7rag7fvcxwqp7baz3h3"))))
a8376ca5 352 (build-system glib-or-gtk-build-system)
1b332539 353 (arguments
354 `(#:configure-flags (list "--enable-elogind"
355 "--disable-schemas-compile")
356 #:phases
357 (modify-phases %standard-phases
358 (add-before 'configure 'pre-configure
359 (lambda* (#:key outputs #:allow-other-keys)
360 ;; Use elogind instead of systemd.
361 (substitute* "configure"
362 (("libsystemd-login")
363 "libelogind")
364 (("systemd") "elogind"))
365 (substitute* "mate-session/gsm-systemd.c"
366 (("#include <systemd/sd-login.h>")
367 "#include <elogind/sd-login.h>"))
368 ;; Remove uses of the systemd journal.
369 (substitute* "mate-session/main.c"
370 (("#ifdef HAVE_SYSTEMD") "#if 0"))
371 (substitute* "mate-session/gsm-manager.c"
372 (("#ifdef HAVE_SYSTEMD") "#if 0"))
373 (substitute* "mate-session/gsm-autostart-app.c"
374 (("#ifdef HAVE_SYSTEMD") "#if 0"))
bfac6366
LC
375 #t))
376 (add-after 'install 'update-xsession-dot-desktop
377 (lambda* (#:key outputs #:allow-other-keys)
378 ;; Record the absolute file name of 'mate-session' in the
379 ;; '.desktop' file.
380 (let* ((out (assoc-ref outputs "out"))
381 (xsession (string-append
382 out "/share/xsessions/mate.desktop")))
383 (substitute* xsession
384 (("^Exec=.*$")
385 (string-append "Exec=" out "/bin/mate-session\n"))
386 (("^TryExec=.*$")
387 (string-append "Exec=" out "/bin/mate-session\n")))
388 #t))))))
a8376ca5 389 (native-inputs
390 `(("pkg-config" ,pkg-config)
391 ("intltool" ,intltool)
42da8176 392 ("libxcomposite" ,libxcomposite)
a8376ca5 393 ("xtrans" ,xtrans)
394 ("gobject-introspection" ,gobject-introspection)))
395 (inputs
396 `(("gtk+" ,gtk+)
397 ("dbus-glib" ,dbus-glib)
1b332539 398 ("elogind" ,elogind)
a8376ca5 399 ("libsm" ,libsm)
400 ("mate-desktop" ,mate-desktop)))
401 (home-page "https://mate-desktop.org/")
402 (synopsis "Session manager for MATE")
403 (description
404 "Mate-session contains the MATE session manager, as well as a
405configuration program to choose applications starting on login.")
406 (license license:gpl2)))
407
0bb3d6bf 408(define-public mate-settings-daemon
409 (package
410 (name "mate-settings-daemon")
d4c466b7 411 (version "1.24.0")
0bb3d6bf 412 (source
413 (origin
414 (method url-fetch)
66fca504 415 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
0bb3d6bf 416 name "-" version ".tar.xz"))
417 (sha256
418 (base32
d4c466b7 419 "1hc5a36wqpjv9i2lgrn1h12s8y910xab3phx5vzbzq47kj6m3gw9"))))
0bb3d6bf 420 (build-system glib-or-gtk-build-system)
421 (native-inputs
422 `(("pkg-config" ,pkg-config)
423 ("intltool" ,intltool)
424 ("gobject-introspection" ,gobject-introspection)))
425 (inputs
426 `(("cairo" ,cairo)
427 ("dbus" ,dbus)
428 ("dbus-glib" ,dbus-glib)
429 ("dconf" ,dconf)
430 ("fontconfig" ,fontconfig)
431 ("gtk+" ,gtk+)
432 ("libcanberra" ,libcanberra)
433 ("libmatekbd" ,libmatekbd)
434 ("libmatemixer" ,libmatemixer)
435 ("libnotify" ,libnotify)
436 ("libx11" ,libx11)
437 ("libxext" ,libxext)
438 ("libxi" ,libxi)
439 ("libxklavier" ,libxklavier)
440 ("mate-desktop" ,mate-desktop)
441 ("nss" ,nss)
442 ("polkit" ,polkit)
443 ("startup-notification" ,startup-notification)))
444 (home-page "https://mate-desktop.org/")
445 (synopsis "Settings Daemon for MATE")
446 (description
447 "Mate-settings-daemon is a fork of gnome-settings-daemon.")
448 (license (list license:lgpl2.1 license:gpl2))))
449
133cb876 450(define-public libmatemixer
451 (package
452 (name "libmatemixer")
900db206 453 (version "1.24.0")
133cb876 454 (source
455 (origin
456 (method url-fetch)
66fca504 457 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
133cb876 458 name "-" version ".tar.xz"))
459 (sha256
460 (base32
900db206 461 "08vkdp2kzy27xwscwp2jj5nz0yblrka2482l6cx3wl4dnk0rpznm"))))
133cb876 462 (build-system glib-or-gtk-build-system)
463 (native-inputs
464 `(("pkg-config" ,pkg-config)
465 ("intltool" ,intltool)
466 ("gobject-introspection" ,gobject-introspection)))
467 (inputs
468 `(("glib" ,glib)
469 ("pulseaudio" ,pulseaudio)
470 ("alsa-lib" ,alsa-lib)))
471 (home-page "https://mate-desktop.org/")
472 (synopsis "Mixer library for the MATE desktop")
473 (description
474 "Libmatemixer is a mixer library for MATE desktop. It provides an abstract
475API allowing access to mixer functionality available in the PulseAudio and ALSA
476sound systems.")
477 (license license:lgpl2.1)))
478
9c9909ef 479(define-public libmatekbd
480 (package
481 (name "libmatekbd")
4107a56e 482 (version "1.24.0")
9c9909ef 483 (source
484 (origin
485 (method url-fetch)
66fca504 486 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
9c9909ef 487 name "-" version ".tar.xz"))
488 (sha256
489 (base32
4107a56e 490 "1sq7gwr9q3hq4q0vx32qqa68qcqf5by9mqyxnq6lwgaq8ydq16ab"))))
9c9909ef 491 (build-system glib-or-gtk-build-system)
492 (native-inputs
493 `(("pkg-config" ,pkg-config)
494 ("intltool" ,intltool)
495 ("gobject-introspection" ,gobject-introspection)))
496 (inputs
497 `(("cairo" ,cairo)
498 ("gdk-pixbuf" ,gdk-pixbuf+svg)
499 ("glib" ,glib)
500 ("gtk+" ,gtk+)
501 ("libx11" ,libx11)
502 ("libxklavier" ,libxklavier)))
503 (home-page "https://mate-desktop.org/")
504 (synopsis "MATE keyboard configuration library")
505 (description
506 "Libmatekbd is a keyboard configuration library for the
507MATE desktop environment.")
508 (license license:lgpl2.1)))
509
7af1ca29
FH
510(define-public mate-menus
511 (package
512 (name "mate-menus")
424f58f5 513 (version "1.24.0")
66fca504 514 (source
515 (origin
516 (method url-fetch)
517 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
518 name "-" version ".tar.xz"))
519 (sha256
520 (base32
424f58f5 521 "1vv4j38h7mrbfrsj99k25z6y7b5dg30fzd2qnhk7pl8ca8s1jhrd"))))
7af1ca29
FH
522 (build-system gnu-build-system)
523 (arguments
524 `(#:phases
525 (modify-phases %standard-phases
526 (add-after
527 'unpack 'fix-introspection-install-dir
528 (lambda* (#:key outputs #:allow-other-keys)
529 (let ((out (assoc-ref outputs "out")))
530 (substitute* '("configure")
531 (("`\\$PKG_CONFIG --variable=girdir gobject-introspection-1.0`")
532 (string-append "\"" out "/share/gir-1.0/\""))
533 (("\\$\\(\\$PKG_CONFIG --variable=typelibdir gobject-introspection-1.0\\)")
27caff1b
EF
534 (string-append out "/lib/girepository-1.0/")))
535 #t))))))
7af1ca29
FH
536 (native-inputs
537 `(("pkg-config" ,pkg-config)
538 ("intltool" ,intltool)
539 ("gobject-introspection" ,gobject-introspection)))
540 (inputs
27caff1b
EF
541 `(("glib" ,glib)
542 ("python" ,python-2)))
833b7e0a 543 (home-page "https://mate-desktop.org/")
7af1ca29
FH
544 (synopsis "Freedesktop menu specification implementation for MATE")
545 (description
546 "The package contains an implementation of the freedesktop menu
547specification, the MATE menu layout configuration files, .directory files and
548assorted menu related utility programs.")
549 (license (list license:gpl2+ license:lgpl2.0+))))
42a6eaac 550
da78e01b 551(define-public mate-applets
552 (package
553 (name "mate-applets")
2f45b568 554 (version "1.24.0")
da78e01b 555 (source
556 (origin
557 (method url-fetch)
66fca504 558 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
da78e01b 559 name "-" version ".tar.xz"))
560 (sha256
561 (base32
2f45b568 562 "0nm3amb3v458mxv1mbz9y8f4230gldmydmkkm7vqxsrxbccynkxq"))))
da78e01b 563 (build-system glib-or-gtk-build-system)
564 (native-inputs
565 `(("pkg-config" ,pkg-config)
566 ("intltool" ,intltool)
567 ("libxslt" ,libxslt)
4ed041d9 568 ("yelp-tools" ,yelp-tools/fixed)
da78e01b 569 ("scrollkeeper" ,scrollkeeper)
570 ("gettext" ,gettext-minimal)
571 ("docbook-xml" ,docbook-xml)
572 ("gobject-introspection" ,gobject-introspection)))
573 (inputs
574 `(("atk" ,atk)
575 ("dbus" ,dbus)
576 ("dbus-glib" ,dbus-glib)
577 ("glib" ,glib)
578 ("gucharmap" ,gucharmap)
579 ("gtk+" ,gtk+)
2f869b02 580 ("gtksourceview" ,gtksourceview-3)
da78e01b 581 ("libgtop" ,libgtop)
582 ("libmateweather" ,libmateweather)
583 ("libnotify" ,libnotify)
584 ("libx11" ,libx11)
585 ("libxml2" ,libxml2)
586 ("libwnck" ,libwnck)
587 ("mate-panel" ,mate-panel)
588 ("pango" ,pango)
589 ("polkit" ,polkit) ; either polkit or setuid
590 ("python" ,python-2)
591 ("upower" ,upower)
592 ("wireless-tools" ,wireless-tools)))
593 (propagated-inputs
594 `(("python-pygobject" ,python-pygobject)))
595 (home-page "https://mate-desktop.org/")
596 (synopsis "Various applets for the MATE Panel")
597 (description
598 "Mate-applets includes various small applications for Mate-panel:
599
600@enumerate
601@item accessx-status: indicates keyboard accessibility settings,
602including the current state of the keyboard, if those features are in use.
603@item Battstat: monitors the power subsystem on a laptop.
604@item Character palette: provides a convenient way to access
605non-standard characters, such as accented characters,
606mathematical symbols, special symbols, and punctuation marks.
607@item MATE CPUFreq Applet: CPU frequency scaling monitor
608@item Drivemount: lets you mount and unmount drives and file systems.
609@item Geyes: pair of eyes which follow the mouse pointer around the screen.
610@item Keyboard layout switcher: lets you assign different keyboard
611layouts for different locales.
612@item Modem Monitor: monitors the modem.
613@item Invest: downloads current stock quotes from the Internet and
614displays the quotes in a scrolling display in the applet. The
615applet downloads the stock information from Yahoo! Finance.
616@item System monitor: CPU, memory, network, swap file and resource.
617@item Trash: lets you drag items to the trash folder.
618@item Weather report: downloads weather information from the
619U.S National Weather Service (NWS) servers, including the
620Interactive Weather Information Network (IWIN).
621@end enumerate\n")
622 (license (list license:gpl2+ license:lgpl2.0+ license:gpl3+))))
623
4d553e0a 624(define-public mate-media
625 (package
626 (name "mate-media")
61863475 627 (version "1.24.0")
4d553e0a 628 (source
629 (origin
630 (method url-fetch)
66fca504 631 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
4d553e0a 632 name "-" version ".tar.xz"))
633 (sha256
634 (base32
61863475 635 "1d5dx79yfqghjaxrdrdh053nfnvkbx8p3ma7j87s7rsvy5irs963"))))
4d553e0a 636 (build-system glib-or-gtk-build-system)
637 (native-inputs
638 `(("pkg-config" ,pkg-config)
639 ("intltool" ,intltool)
640 ("gettext" ,gettext-minimal)
641 ("gobject-introspection" ,gobject-introspection)))
642 (inputs
643 `(("cairo" ,cairo)
644 ("gtk+" ,gtk+)
645 ("libcanberra" ,libcanberra)
646 ("libmatemixer" ,libmatemixer)
647 ("libxml2" ,libxml2)
648 ("mate-applets" ,mate-applets)
649 ("mate-desktop" ,mate-desktop)
650 ("mate-panel" ,mate-panel)
651 ("pango" ,pango)
652 ("startup-notification" ,startup-notification)))
653 (home-page "https://mate-desktop.org/")
654 (synopsis "Multimedia related programs for the MATE desktop")
655 (description
656 "Mate-media includes the MATE media tools for MATE, including
657mate-volume-control, a MATE volume control application and applet.")
658 (license (list license:gpl2+ license:lgpl2.0+ license:fdl1.1+))))
659
c3812bec 660(define-public mate-panel
661 (package
662 (name "mate-panel")
9ab39e36 663 (version "1.24.0")
c3812bec 664 (source
665 (origin
666 (method url-fetch)
66fca504 667 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
c3812bec 668 name "-" version ".tar.xz"))
669 (sha256
670 (base32
9ab39e36 671 "1hrh10pqk8mva1ix2nmsp3cbbn81cgqy0b9lqhsl0b5p0s40i7in"))))
c3812bec 672 (build-system glib-or-gtk-build-system)
673 (arguments
674 `(#:configure-flags
675 (list (string-append "--with-zoneinfo-dir="
676 (assoc-ref %build-inputs "tzdata")
677 "/share/zoneinfo")
678 "--with-in-process-applets=all")
679 #:phases
680 (modify-phases %standard-phases
681 (add-before 'configure 'fix-timezone-path
682 (lambda* (#:key inputs #:allow-other-keys)
683 (let* ((tzdata (assoc-ref inputs "tzdata")))
684 (substitute* "applets/clock/system-timezone.h"
685 (("/usr/share/lib/zoneinfo/tab")
686 (string-append tzdata "/share/zoneinfo/zone.tab"))
687 (("/usr/share/zoneinfo")
688 (string-append tzdata "/share/zoneinfo"))))
689 #t))
690 (add-after 'unpack 'fix-introspection-install-dir
691 (lambda* (#:key outputs #:allow-other-keys)
692 (let ((out (assoc-ref outputs "out")))
693 (substitute* '("configure")
694 (("`\\$PKG_CONFIG --variable=girdir gobject-introspection-1.0`")
695 (string-append "\"" out "/share/gir-1.0/\""))
696 (("\\$\\(\\$PKG_CONFIG --variable=typelibdir gobject-introspection-1.0\\)")
697 (string-append out "/lib/girepository-1.0/")))
698 #t))))))
699 (native-inputs
700 `(("pkg-config" ,pkg-config)
701 ("intltool" ,intltool)
702 ("itstool" ,itstool)
703 ("xtrans" ,xtrans)
704 ("gobject-introspection" ,gobject-introspection)))
705 (inputs
706 `(("dconf" ,dconf)
707 ("cairo" ,cairo)
708 ("dbus-glib" ,dbus-glib)
709 ("gtk+" ,gtk+)
710 ("libcanberra" ,libcanberra)
711 ("libice" ,libice)
712 ("libmateweather" ,libmateweather)
713 ("librsvg" ,librsvg)
714 ("libsm" ,libsm)
715 ("libx11" ,libx11)
716 ("libxau" ,libxau)
717 ("libxml2" ,libxml2)
718 ("libxrandr" ,libxrandr)
719 ("libwnck" ,libwnck)
720 ("mate-desktop" ,mate-desktop)
721 ("mate-menus" ,mate-menus)
722 ("pango" ,pango)
723 ("tzdata" ,tzdata)))
724 (home-page "https://mate-desktop.org/")
725 (synopsis "Panel for MATE")
726 (description
727 "Mate-panel contains the MATE panel, the libmate-panel-applet library and
728several applets. The applets supplied here include the Workspace Switcher,
729the Window List, the Window Selector, the Notification Area, the Clock and the
730infamous 'Wanda the Fish'.")
731 (license (list license:gpl2+ license:lgpl2.0+))))
732
69428571 733(define-public atril
734 (package
735 (name "atril")
98b81c2e 736 (version "1.22.0")
69428571 737 (source
738 (origin
739 (method url-fetch)
66fca504 740 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
69428571 741 name "-" version ".tar.xz"))
742 (sha256
743 (base32
98b81c2e 744 "1xd49j4qwrlg2nh2zvspf91yk033dp8a58dy9azqg2yz4bcvywxb"))))
69428571 745 (build-system glib-or-gtk-build-system)
746 (arguments
747 `(#:configure-flags (list (string-append "--with-openjpeg="
748 (assoc-ref %build-inputs "openjpeg"))
749 "--enable-introspection"
69428571 750 "--disable-schemas-compile"
751 ;; FIXME: Enable build of Caja extensions.
752 "--disable-caja")
753 #:tests? #f
754 #:phases
755 (modify-phases %standard-phases
756 (add-after 'unpack 'fix-mathjax-path
757 (lambda _
758 (let* ((mathjax (assoc-ref %build-inputs "js-mathjax"))
759 (mathjax-path (string-append mathjax
760 "/share/javascript/mathjax")))
761 (substitute* "backend/epub/epub-document.c"
762 (("/usr/share/javascript/mathjax")
763 mathjax-path)))
764 #t))
765 (add-after 'unpack 'fix-introspection-install-dir
766 (lambda* (#:key outputs #:allow-other-keys)
767 (let ((out (assoc-ref outputs "out")))
768 (substitute* '("configure")
769 (("\\$\\(\\$PKG_CONFIG --variable=girdir gobject-introspection-1.0\\)")
770 (string-append "\"" out "/share/gir-1.0/\""))
771 (("\\$\\(\\$PKG_CONFIG --variable=typelibdir gobject-introspection-1.0\\)")
772 (string-append out "/lib/girepository-1.0/")))
773 #t)))
774 (add-before 'install 'skip-gtk-update-icon-cache
775 ;; Don't create 'icon-theme.cache'.
776 (lambda _
777 (substitute* "data/Makefile"
778 (("gtk-update-icon-cache") "true"))
779 #t)))))
780 (native-inputs
781 `(("pkg-config" ,pkg-config)
782 ("intltool" ,intltool)
783 ("itstool" ,itstool)
784 ("yelp-tools" ,yelp-tools)
785 ("glib:bin" ,glib "bin")
786 ("gobject-introspection" ,gobject-introspection)
787 ("gtk-doc" ,gtk-doc)
788 ("xmllint" ,libxml2)
789 ("zlib" ,zlib)))
790 (inputs
791 `(("atk" ,atk)
792 ("cairo" ,cairo)
793 ("caja" ,caja)
794 ("dconf" ,dconf)
795 ("dbus" ,dbus)
796 ("dbus-glib" ,dbus-glib)
797 ("djvulibre" ,djvulibre)
798 ("fontconfig" ,fontconfig)
799 ("freetype" ,freetype)
800 ("ghostscript" ,ghostscript)
801 ("glib" ,glib)
802 ("gtk+" ,gtk+)
803 ("js-mathjax" ,js-mathjax)
804 ("libcanberra" ,libcanberra)
805 ("libsecret" ,libsecret)
806 ("libspectre" ,libspectre)
807 ("libtiff" ,libtiff)
808 ("libx11" ,libx11)
809 ("libice" ,libice)
810 ("libsm" ,libsm)
811 ("libgxps" ,libgxps)
812 ("libjpeg" ,libjpeg)
813 ("libxml2" ,libxml2)
814 ("dogtail" ,python2-dogtail)
815 ("shared-mime-info" ,shared-mime-info)
816 ("gdk-pixbuf" ,gdk-pixbuf)
817 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
818 ("libgnome-keyring" ,libgnome-keyring)
819 ("libarchive" ,libarchive)
820 ("marco" ,marco)
69428571 821 ("openjpeg" ,openjpeg-1)
822 ("pango" ,pango)
823 ;;("texlive" ,texlive)
824 ;; TODO:
825 ;; Build libkpathsea as a shared library for DVI support.
826 ;; ("libkpathsea" ,texlive-bin)
827 ("poppler" ,poppler)
828 ("webkitgtk" ,webkitgtk)))
829 (home-page "https://mate-desktop.org")
830 (synopsis "Document viewer for Mate")
831 (description
832 "Document viewer for Mate")
833 (license license:gpl2)))
834
42a6eaac 835(define-public caja
836 (package
837 (name "caja")
755fe58d 838 (version "1.24.0")
42a6eaac 839 (source
840 (origin
841 (method url-fetch)
66fca504 842 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
42a6eaac 843 name "-" version ".tar.xz"))
844 (sha256
845 (base32
755fe58d 846 "1cnfy481hcwjv3ia3kw0d4h7ga8cng0pqm3z349v4qcmfdapmqc0"))))
42a6eaac 847 (build-system glib-or-gtk-build-system)
848 (arguments
849 `(#:configure-flags '("--disable-update-mimedb")
850 #:tests? #f ; tests fail even with display set
851 #:phases
852 (modify-phases %standard-phases
853 (add-before 'check 'pre-check
854 (lambda _
855 ;; Tests require a running X server.
856 (system "Xvfb :1 &")
857 (setenv "DISPLAY" ":1")
858 ;; For the missing /etc/machine-id.
859 (setenv "DBUS_FATAL_WARNINGS" "0")
860 #t)))))
861 (native-inputs
862 `(("pkg-config" ,pkg-config)
863 ("intltool" ,intltool)
864 ("glib:bin" ,glib "bin")
865 ("xorg-server" ,xorg-server)
866 ("gobject-introspection" ,gobject-introspection)))
867 (inputs
868 `(("exempi" ,exempi)
869 ("gtk+" ,gtk+)
870 ("gvfs" ,gvfs)
871 ("libexif" ,libexif)
872 ("libnotify" ,libnotify)
873 ("libsm" ,libsm)
874 ("libxml2" ,libxml2)
875 ("mate-desktop" ,mate-desktop)
876 ("startup-notification" ,startup-notification)))
5a97a262 877 (native-search-paths
878 (list (search-path-specification
879 (variable "CAJA_EXTENSIONDIR")
880 (files (list "lib/caja/extensions-2.0/**")))))
42a6eaac 881 (home-page "https://mate-desktop.org/")
882 (synopsis "File manager for the MATE desktop")
883 (description
884 "Caja is the official file manager for the MATE desktop.
885It allows for browsing directories, as well as previewing files and launching
886applications associated with them. Caja is also responsible for handling the
162a1374 887icons on the MATE desktop. It works on local and remote file systems.")
42a6eaac 888 ;; There is a note about a TRADEMARKS_NOTICE file in COPYING which
889 ;; does not exist. It is safe to assume that this is of no concern
890 ;; for us.
891 (license license:gpl2+)))
4d26a340 892
d58b0abd 893(define-public caja-extensions
894 (package
895 (name "caja-extensions")
eec293d2 896 (version "1.24.0")
d58b0abd 897 (source
898 (origin
899 (method url-fetch)
66fca504 900 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
d58b0abd 901 name "-" version ".tar.xz"))
902 (sha256
903 (base32
eec293d2 904 "175v5c05nrdliya23rbqma49alldq67dklmvpq18nq71sfry4pp6"))))
d58b0abd 905 (build-system glib-or-gtk-build-system)
906 (arguments
907 `(#:configure-flags (list "--enable-sendto"
908 ;; TODO: package "gupnp" to enable 'upnp', package
909 ;; "gksu" to enable 'gksu'.
910 (string-append "--with-sendto-plugins=removable-devices,"
911 "caja-burn,emailclient,pidgin,gajim")
912 "--enable-image-converter"
913 "--enable-open-terminal" "--enable-share"
914 "--enable-wallpaper" "--enable-xattr-tags"
915 (string-append "--with-cajadir="
916 (assoc-ref %outputs "out")
917 "/lib/caja/extensions-2.0/"))))
918 (native-inputs
919 `(("intltool" ,intltool)
920 ("gettext" ,gettext-minimal)
921 ("glib:bin" ,glib "bin")
922 ("gobject-introspection" ,gobject-introspection)
923 ("gtk-doc" ,gtk-doc)
eec293d2 924 ("libxml2" ,libxml2)
d58b0abd 925 ("pkg-config" ,pkg-config)))
926 (inputs
927 `(("attr" ,attr)
928 ("brasero" ,brasero)
929 ("caja" ,caja)
930 ("dbus" ,dbus)
931 ("dbus-glib" ,dbus-glib)
932 ("gajim" ,gajim) ;runtime only?
933 ("gtk+" ,gtk+)
934 ("imagemagick" ,imagemagick)
935 ("graphicsmagick" ,graphicsmagick)
936 ("mate-desktop" ,mate-desktop)
937 ("pidgin" ,pidgin) ;runtime only?
938 ("startup-notification" ,startup-notification)))
939 (home-page "https://mate-desktop.org/")
940 (synopsis "Extensions for the File manager Caja")
941 (description
942 "Caja is the official file manager for the MATE desktop.
943It allows for browsing directories, as well as previewing files and launching
944applications associated with them. Caja is also responsible for handling the
162a1374 945icons on the MATE desktop. It works on local and remote file systems.")
d58b0abd 946 (license license:gpl2+)))
947
16cd07c1 948(define-public mate-control-center
949 (package
950 (name "mate-control-center")
dedd7d41 951 (version "1.24.0")
16cd07c1 952 (source
953 (origin
954 (method url-fetch)
66fca504 955 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
16cd07c1 956 name "-" version ".tar.xz"))
957 (sha256
958 (base32
dedd7d41 959 "192plsh83m2qz7jgakns2yvhqbj53v7i54iwb0z26i2awy0j9rcd"))))
16cd07c1 960 (build-system glib-or-gtk-build-system)
961 (native-inputs
962 `(("pkg-config" ,pkg-config)
963 ("intltool" ,intltool)
964 ("yelp-tools" ,yelp-tools)
965 ("desktop-file-utils" ,desktop-file-utils)
6a6db57f 966 ("xorgproto" ,xorgproto)
16cd07c1 967 ("xmodmap" ,xmodmap)
968 ("gobject-introspection" ,gobject-introspection)))
969 (inputs
970 `(("atk" ,atk)
971 ("cairo" ,cairo)
972 ("caja" ,caja)
973 ("dconf" ,dconf)
974 ("dbus" ,dbus)
975 ("dbus-glib" ,dbus-glib)
976 ("fontconfig" ,fontconfig)
977 ("freetype" ,freetype)
978 ("glib" ,glib)
979 ("gtk+" ,gtk+)
980 ("libcanberra" ,libcanberra)
981 ("libmatekbd" ,libmatekbd)
982 ("libx11" ,libx11)
983 ("libxcursor" ,libxcursor)
984 ("libxext" ,libxext)
985 ("libxi" ,libxi)
986 ("libxklavier" ,libxklavier)
987 ("libxml2" ,libxml2)
988 ("libxrandr" ,libxrandr)
989 ("libxrender" ,libxrender)
990 ("libxscrnsaver" ,libxscrnsaver)
991 ("marco" ,marco)
992 ("mate-desktop" ,mate-desktop)
993 ("mate-menus" ,mate-menus)
994 ("mate-settings-daemon" ,mate-settings-daemon)
995 ("pango" ,pango)
dedd7d41 996 ("polkit" ,polkit)
16cd07c1 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")
ac17c544 1011 (version "1.24.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
ac17c544 1019 "0hcbyv8czymhwz5q9rwig7kkhlhik6y080bls736f3wsbqnnirc2"))))
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")
204deed7 1061 (version "1.24.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
204deed7 1069 "0ddxya84iydvy85dbqls0wmz2rph87wri3rsdhv4rkbhh5g4sd7f"))))
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")
b30b55b3 1100 (version "1.24.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
b30b55b3 1108 "0f7hc1gg41kcwcyvsqqg79qylrp0qqymris8qizk2x3cfvvg7261"))))
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")
66adc72e 1131 (version "1.24.1")
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
66adc72e 1139 "0b9yx68p9l867bqsl9z2g4wrs8p396ls673jgaliys5snmk8n8dn"))))
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")
6df282a7 1153 (version "1.24.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
6df282a7 1161 "1bmk9gq5gcqkvfppa7i1hqfph8sajc3xs189s4ha97g0ifwd98a8"))))
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")
bfa66d64 1194 (version "1.24.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
bfa66d64 1202 "0gpw6x9d0b77f14vjl7ghq5dya1mwcnvmgigg00manfwlksr5zby"))))
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")
6e5be55b 1265 (version "1.24.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
6e5be55b 1273 "1b16n1628gcsym5mph6lr9x5xm4rgkxsa8xwr2wlx8g2gw2775i1"))))
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)
423c680d 1284 ("yelp-tools" ,yelp-tools/fixed)))
8a990b29 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)
6e5be55b 1297 ("udisks" ,udisks)
8a990b29 1298 ("zlib" ,zlib)))
1299 (home-page "https://mate-desktop.org/")
1300 (synopsis "Utilities for the MATE Desktop")
1301 (description
1302 "Mate Utilities for the MATE Desktop containing:
1303
1304@enumerate
1305@item mate-system-log
1306@item mate-search-tool
1307@item mate-dictionary
1308@item mate-screenshot
1309@item mate-disk-usage-analyzer
1310@end enumerate\n")
1311 (license (list license:gpl2
1312 license:fdl1.1+
1313 license:lgpl2.1))))
1314
432c41ee 1315(define-public eom
1316 (package
1317 (name "eom")
04cf2fff 1318 (version "1.24.0")
432c41ee 1319 (source
1320 (origin
1321 (method url-fetch)
66fca504 1322 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
432c41ee 1323 name "-" version ".tar.xz"))
1324 (sha256
1325 (base32
04cf2fff 1326 "0zzximp2534bky0vac219alafblw6m0lis0gncq92017s6c1mb77"))))
432c41ee 1327 (build-system glib-or-gtk-build-system)
1328 (native-inputs
1329 `(("gettext" ,gettext-minimal)
1330 ("gtk-doc" ,gtk-doc)
1331 ("gobject-introspection" ,gobject-introspection)
1332 ("intltool" ,intltool)
1333 ("pkg-config" ,pkg-config)
1334 ("yelp-tools" ,yelp-tools)))
1335 (inputs
1336 `(("atk" ,atk)
1337 ("cairo" ,cairo)
1338 ("dconf" ,dconf)
1339 ("dbus" ,dbus)
1340 ("dbus-glib" ,dbus-glib)
1341 ("exempi" ,exempi)
1342 ("glib" ,glib)
1343 ("gtk+" ,gtk+)
1344 ("gdk-pixbuf" ,gdk-pixbuf+svg)
1345 ("libcanberra" ,libcanberra)
1346 ("libx11" ,libx11)
1347 ("libxext" ,libxext)
1348 ("libpeas" ,libpeas)
1349 ("libxml2" ,libxml2)
1350 ("libexif" ,libexif)
1351 ("libjpeg" ,libjpeg)
1352 ("librsvg" ,librsvg)
1353 ("lcms" ,lcms)
1354 ("mate-desktop" ,mate-desktop)
1355 ("pango" ,pango)
1356 ("shared-mime-info" ,shared-mime-info)
1357 ("startup-notification" ,startup-notification)
1358 ("zlib" ,zlib)))
1359 (home-page "https://mate-desktop.org/")
1360 (synopsis "Eye of MATE")
1361 (description
1362 "Eye of MATE is the Image viewer for the MATE Desktop.")
1363 (license (list license:gpl2))))
1364
446131be 1365(define-public engrampa
1366 (package
1367 (name "engrampa")
3877fe35 1368 (version "1.24.0")
446131be 1369 (source
1370 (origin
1371 (method url-fetch)
66fca504 1372 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
446131be 1373 name "-" version ".tar.xz"))
1374 (sha256
1375 (base32
3877fe35 1376 "13cak3qgrzqj74x9jq1sf155793v2bqqz4mk4i04g9f9xn3g85fl"))))
446131be 1377 (build-system glib-or-gtk-build-system)
1378 (arguments
1379 `(#:configure-flags (list "--disable-schemas-compile"
1380 "--disable-run-in-place"
1381 "--enable-magic"
1382 "--enable-packagekit"
1383 (string-append "--with-cajadir="
1384 (assoc-ref %outputs "out")
1385 "/lib/caja/extensions-2.0/"))
1386 #:phases
1387 (modify-phases %standard-phases
1388 (add-before 'install 'skip-gtk-update-icon-cache
1389 ;; Don't create 'icon-theme.cache'.
1390 (lambda _
1391 (substitute* "data/Makefile"
1392 (("gtk-update-icon-cache") "true"))
1393 #t)))))
1394 (native-inputs
1395 `(("gettext" ,gettext-minimal)
1396 ("gtk-doc" ,gtk-doc)
1397 ("intltool" ,intltool)
1398 ("pkg-config" ,pkg-config)
1399 ("yelp-tools" ,yelp-tools)))
1400 (inputs
1401 `(("caja" ,caja)
1402 ("file" ,file)
1403 ("glib" ,glib)
1404 ("gtk+" ,gtk+)
1405 ("gdk-pixbuf" ,gdk-pixbuf+svg)
1406 ("json-glib" ,json-glib)
1407 ("libcanberra" ,libcanberra)
1408 ("libx11" ,libx11)
1409 ("libsm" ,libsm)
1410 ("packagekit" ,packagekit)
1411 ("pango" ,pango)))
1412 (home-page "https://mate-desktop.org/")
1413 (synopsis "Archive Manager for MATE")
1414 (description
1415 "Engrampa is the archive manager for the MATE Desktop.")
1416 (license license:gpl2)))
1417
a1eef825 1418(define-public pluma
1419 (package
1420 (name "pluma")
0a60386f 1421 (version "1.24.0")
a1eef825 1422 (source
1423 (origin
1424 (method url-fetch)
66fca504 1425 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
a1eef825 1426 name "-" version ".tar.xz"))
1427 (sha256
1428 (base32
0a60386f 1429 "1vmndhlhy3qkf3xs5kkv0xhbv5ar25pqz0kp17hc4qhgjzycfr0r"))))
a1eef825 1430 (build-system glib-or-gtk-build-system)
1431 (arguments
1432 `(; Tests can not succeed.
1433 ;; https://github.com/mate-desktop/mate-text-editor/issues/33
1434 #:tests? #f))
1435 (native-inputs
1436 `(("gettext" ,gettext-minimal)
1437 ("gtk-doc" ,gtk-doc)
1438 ("gobject-introspection" ,gobject-introspection)
1439 ("intltool" ,intltool)
1440 ("libtool" ,libtool)
1441 ("pkg-config" ,pkg-config)
1442 ("yelp-tools" ,yelp-tools)))
1443 (inputs
1444 `(("atk" ,atk)
1445 ("cairo" ,cairo)
c1d59b3c 1446 ("enchant" ,enchant-1.6)
a1eef825 1447 ("glib" ,glib)
1448 ("gtk+" ,gtk+)
82329a17 1449 ("gtksourceview" ,gtksourceview-3)
a1eef825 1450 ("gdk-pixbuf" ,gdk-pixbuf)
1451 ("iso-codes" ,iso-codes)
1452 ("libcanberra" ,libcanberra)
1453 ("libx11" ,libx11)
1454 ("libsm" ,libsm)
1455 ("libpeas" ,libpeas)
1456 ("libxml2" ,libxml2)
1457 ("libice" ,libice)
1458 ("packagekit" ,packagekit)
1459 ("pango" ,pango)
0a60386f 1460 ("python" ,python)
a1eef825 1461 ("scrollkeeper" ,scrollkeeper)))
1462 (home-page "https://mate-desktop.org/")
1463 (synopsis "Text Editor for MATE")
1464 (description
1465 "Pluma is the text editor for the MATE Desktop.")
1466 (license license:gpl2)))
1467
1da3338c 1468(define-public mate-system-monitor
1469 (package
1470 (name "mate-system-monitor")
16d9b459 1471 (version "1.24.0")
1da3338c 1472 (source
1473 (origin
1474 (method url-fetch)
66fca504 1475 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
1da3338c 1476 name "-" version ".tar.xz"))
1477 (sha256
1478 (base32
16d9b459 1479 "1cb36lrsn4fhsryl2kl4yq0qhp1p4r7k21w3fc2ywjga8fdxx6y5"))))
1da3338c 1480 (build-system glib-or-gtk-build-system)
1481 (native-inputs
1482 `(("autoconf" ,autoconf)
1483 ("gettext" ,gettext-minimal)
1484 ("intltool" ,intltool)
1485 ("pkg-config" ,pkg-config)
1486 ("yelp-tools" ,yelp-tools)))
1487 (inputs
1488 `(("cairo" ,cairo)
1489 ("glib" ,glib)
1490 ("glibmm" ,glibmm)
1491 ("gtkmm" ,gtkmm)
1492 ("gtk+" ,gtk+)
1493 ("gdk-pixbuf" ,gdk-pixbuf)
1494 ("libsigc++" ,libsigc++)
1495 ("libcanberra" ,libcanberra)
1496 ("libxml2" ,libxml2)
1497 ("libwnck" ,libwnck)
1498 ("libgtop" ,libgtop)
1499 ("librsvg" ,librsvg)
1500 ("polkit" ,polkit)))
1501 (home-page "https://mate-desktop.org/")
1502 (synopsis "System Monitor for MATE")
1503 (description
1504 "Mate System Monitor provides a tool for for the
1505MATE Desktop to monitor your system resources and usage.")
1506 (license license:gpl2)))
1507
95073bfc 1508(define-public mate-polkit
1509 (package
1510 (name "mate-polkit")
65afb911 1511 (version "1.24.0")
95073bfc 1512 (source
1513 (origin
1514 (method url-fetch)
66fca504 1515 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
95073bfc 1516 name "-" version ".tar.xz"))
1517 (sha256
1518 (base32
65afb911 1519 "1450bqzlnvwy3xa98lj102j2cf7piqbxcd1cy2zp41rdl8ri3gvn"))))
95073bfc 1520 (build-system glib-or-gtk-build-system)
1521 (native-inputs
1522 `(("gettext" ,gettext-minimal)
1523 ("gtk-doc" ,gtk-doc)
1524 ("intltool" ,intltool)
1525 ("libtool" ,libtool)
1526 ("pkg-config" ,pkg-config)))
1527 (inputs
1528 `(("accountsservice" ,accountsservice)
1529 ("glib" ,glib)
1530 ("gobject-introspection" ,gobject-introspection)
1531 ("gtk+" ,gtk+)
1532 ("gdk-pixbuf" ,gdk-pixbuf)
1533 ("polkit" ,polkit)))
1534 (home-page "https://mate-desktop.org/")
1535 (synopsis "DBus specific service for MATE")
1536 (description
1537 "MATE Polkit is a MATE specific DBUS service that is
1538used to bring up authentication dialogs.")
1539 (license license:lgpl2.1)))
1540
b5831eb7 1541(define-public mate
1542 (package
1543 (name "mate")
1544 (version (package-version mate-desktop))
1545 (source #f)
1546 (build-system trivial-build-system)
1547 (arguments
1548 `(#:modules ((guix build union))
1549 #:builder
1550 (begin
1551 (use-modules (ice-9 match)
1552 (guix build union))
1553 (match %build-inputs
1554 (((names . directories) ...)
1555 (union-build (assoc-ref %outputs "out")
e3cfef22
MW
1556 directories)
1557 #t)))))
b5831eb7 1558 (inputs
1559 ;; TODO: Add more packages
1560 `(("at-spi2-core" ,at-spi2-core)
6ce4fc69 1561 ("atril" ,atril)
b5831eb7 1562 ("caja" ,caja)
1563 ("dbus" ,dbus)
1564 ("dconf" ,dconf)
1565 ("desktop-file-utils" ,desktop-file-utils)
6ce4fc69 1566 ("engrampa" ,engrampa)
1567 ("eom" ,eom)
b5831eb7 1568 ("font-cantarell" ,font-cantarell)
1569 ("glib-networking" ,glib-networking)
1570 ("gnome-keyring" ,gnome-keyring)
1571 ("gvfs" ,gvfs)
6ce4fc69 1572 ("hicolor-icon-theme" ,hicolor-icon-theme)
b5831eb7 1573 ("libmatekbd" ,libmatekbd)
1574 ("libmateweather" ,libmateweather)
1575 ("libmatemixer" ,libmatemixer)
1576 ("marco" ,marco)
1577 ("mate-session-manager" ,mate-session-manager)
1578 ("mate-settings-daemon" ,mate-settings-daemon)
1579 ("mate-desktop" ,mate-desktop)
1580 ("mate-terminal" ,mate-terminal)
1581 ("mate-themes" ,mate-themes)
1582 ("mate-icon-theme" ,mate-icon-theme)
5dff38d4 1583 ("mate-power-manager" ,mate-power-manager)
b5831eb7 1584 ("mate-menu" ,mate-menus)
1585 ("mate-panel" ,mate-panel)
1586 ("mate-control-center" ,mate-control-center)
1587 ("mate-media" ,mate-media)
1588 ("mate-applets" ,mate-applets)
6ce4fc69 1589 ("mate-user-guide" ,mate-user-guide)
1590 ("mate-calc" ,mate-calc)
1591 ("mate-backgrounds" ,mate-backgrounds)
1592 ("mate-netbook" ,mate-netbook)
1593 ("mate-utils" ,mate-utils)
1594 ("mate-polkit" ,mate-polkit)
1595 ("mate-system-monitor" ,mate-system-monitor)
1596 ("mate-utils" ,mate-utils)
1597 ("pluma" ,pluma)
b5831eb7 1598 ("pinentry-gnome3" ,pinentry-gnome3)
1599 ("pulseaudio" ,pulseaudio)
1600 ("shared-mime-info" ,shared-mime-info)
1601 ("yelp" ,yelp)
1602 ("zenity" ,zenity)))
1603 (synopsis "The MATE desktop environment")
1604 (home-page "https://mate-desktop.org/")
1605 (description
1606 "The MATE Desktop Environment is the continuation of GNOME 2. It provides
1607an intuitive and attractive desktop environment using traditional metaphors for
1608GNU/Linux systems. MATE is under active development to add support for new
1609technologies while preserving a traditional desktop experience.")
1610 (license license:gpl2+)))