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