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