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