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