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