projects/guix·blob ruby-team · refs

1905 lines · 62.6 KiB

1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2016 Fabian Harfert <[email protected]>
3;;; Copyright © 2016, 2017, 2024 Efraim Flashner <[email protected]>
4;;; Copyright © 2017 Nikita <[email protected]>
5;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <[email protected]>
6;;; Copyright © 2019, 2020, 2021 Ludovic Courtès <[email protected]>
7;;; Copyright © 2019 Guy Fleury Iteriteka <[email protected]>
8;;; Copyright © 2020 Jonathan Brielmaier <[email protected]>
9;;; Copyright © 2020 Mathieu Othacehe <[email protected]>
10;;; Copyright © 2021 Guillaume Le Vaillant <[email protected]>
11;;; Copyright © 2021 Maxime Devos <[email protected]>
12;;;
13;;; This file is part of GNU Guix.
14;;;
15;;; GNU Guix is free software; you can redistribute it and/or modify it
16;;; under the terms of the GNU General Public License as published by
17;;; the Free Software Foundation; either version 3 of the License, or (at
18;;; your option) any later version.
19;;;
20;;; GNU Guix is distributed in the hope that it will be useful, but
21;;; WITHOUT ANY WARRANTY; without even the implied warranty of
22;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23;;; GNU General Public License for more details.
24;;;
25;;; You should have received a copy of the GNU General Public License
26;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
27
28(define-module (gnu packages mate)
29 #:use-module ((guix licenses) #:prefix license:)
30 #:use-module (guix build-system glib-or-gtk)
31 #:use-module (guix build-system gnu)
32 #:use-module (guix build-system pyproject)
33 #:use-module (guix build-system trivial)
34 #:use-module (guix download)
35 #:use-module (guix git-download)
36 #:use-module (guix gexp)
37 #:use-module (guix packages)
38 #:use-module (guix utils)
39 #:use-module (gnu packages)
40 #:use-module (gnu packages attr)
41 #:use-module (gnu packages autotools)
42 #:use-module (gnu packages backup)
43 #:use-module (gnu packages base)
44 #:use-module (gnu packages compression)
45 #:use-module (gnu packages djvu)
46 #:use-module (gnu packages docbook)
47 #:use-module (gnu packages documentation)
48 #:use-module (gnu packages enchant)
49 #:use-module (gnu packages file)
50 #:use-module (gnu packages fonts)
51 #:use-module (gnu packages fontutils)
52 #:use-module (gnu packages freedesktop)
53 #:use-module (gnu packages gettext)
54 #:use-module (gnu packages ghostscript)
55 #:use-module (gnu packages glib)
56 #:use-module (gnu packages gnome)
57 #:use-module (gnu packages gnupg)
58 #:use-module (gnu packages gstreamer)
59 #:use-module (gnu packages gtk)
60 #:use-module (gnu packages image)
61 #:use-module (gnu packages imagemagick)
62 #:use-module (gnu packages iso-codes)
63 #:use-module (gnu packages javascript)
64 #:use-module (gnu packages libcanberra)
65 #:use-module (gnu packages linux)
66 #:use-module (gnu packages messaging)
67 #:use-module (gnu packages multiprecision)
68 #:use-module (gnu packages nss)
69 #:use-module (gnu packages perl)
70 #:use-module (gnu packages pdf)
71 #:use-module (gnu packages photo)
72 #:use-module (gnu packages pkg-config)
73 #:use-module (gnu packages polkit)
74 #:use-module (gnu packages pulseaudio)
75 #:use-module (gnu packages python)
76 #:use-module (gnu packages python-build)
77 #:use-module (gnu packages python-xyz)
78 #:use-module (gnu packages tex)
79 #:use-module (gnu packages webkit)
80 #:use-module (gnu packages xdisorg)
81 #:use-module (gnu packages xdisorg)
82 #:use-module (gnu packages xml)
83 #:use-module (gnu packages xorg))
84
85(define-public mate-common
86 (package
87 (name "mate-common")
88 (version "1.28.0")
89 (source
90 (origin
91 (method url-fetch)
92 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
93 name "-" version ".tar.xz"))
94 (sha256
95 (base32
96 "02ms4s6kfxkbghc24rx9g1axdv50rndzdm0s3iz1vxv8wb7c5ds2"))
97 (patches
98 (search-patches "mate-common-honor-aclocal.patch"))))
99 (build-system gnu-build-system)
100 (home-page "https://mate-desktop.org/")
101 (synopsis "Common files for development of MATE packages")
102 (description
103 "Mate Common includes common files and macros used by
104MATE applications.")
105 (license license:gpl3+)))
106
107(define-public mate-power-manager
108 (package
109 (name "mate-power-manager")
110 (version "1.28.1")
111 (source
112 (origin
113 (method url-fetch)
114 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
115 "mate-power-manager-" version ".tar.xz"))
116 (sha256
117 (base32 "08gf3vvmh335pyrhqaswag77pygqvrn19a59dcrnis07nrscpgcf"))))
118 (build-system gnu-build-system)
119 (native-inputs
120 (list pkg-config
121 yelp-tools
122 gettext-minimal
123 `(,glib "bin") ; glib-gettextize
124 polkit)) ; for ITS rules
125 (inputs
126 (list gtk+
127 glib
128 dbus-glib
129 libgnome-keyring
130 cairo
131 dbus
132 libnotify
133 mate-desktop
134 mate-panel
135 libxrandr
136 libcanberra
137 libsecret
138 startup-notification
139 upower))
140 (home-page "https://mate-desktop.org/")
141 (synopsis "Power manager for MATE")
142 (description
143 "MATE Power Manager is a MATE session daemon that acts as a policy agent on
144top of UPower. It listens to system events and responds with user-configurable
145actions.")
146 (license license:gpl2+)))
147
148(define-public mate-icon-theme
149 (package
150 (name "mate-icon-theme")
151 (version "1.28.0")
152 (source
153 (origin
154 (method url-fetch)
155 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
156 name "-" version ".tar.xz"))
157 (sha256
158 (base32
159 "0fkdk9pqgplmdlsikjb1fp804zcblgpf87cj892zfpfac280gmll"))))
160 (build-system gnu-build-system)
161 (native-inputs
162 (list pkg-config intltool icon-naming-utils))
163 (home-page "https://mate-desktop.org/")
164 (synopsis "The MATE desktop environment icon theme")
165 (description
166 "This package contains the default icon theme used by the MATE desktop.")
167 (license license:lgpl3+)))
168
169(define-public mate-icon-theme-faenza
170 (package
171 (name "mate-icon-theme-faenza")
172 (version "1.20.0")
173 (source
174 (origin
175 (method url-fetch)
176 (uri (string-append "mirror://mate/"
177 (version-major+minor version)
178 "/"
179 name
180 "-"
181 version
182 ".tar.xz"))
183 (sha256
184 (base32 "000vr9cnbl2qlysf2gyg1lsjirqdzmwrnh6d3hyrsfc0r2vh4wna"))))
185 (build-system gnu-build-system)
186 (arguments
187 (list
188 #:phases
189 #~(modify-phases %standard-phases
190 (add-after 'unpack 'autoconf
191 (lambda _
192 (setenv "SHELL" (which "sh"))
193 (setenv "CONFIG_SHELL" (which "sh"))
194 (invoke "sh" "autogen.sh"))))))
195 (native-inputs
196 ;; autoconf-wrapper is required due to the non-standard
197 ;; 'autoconf phase.
198 (list autoconf-wrapper
199 automake
200 intltool
201 icon-naming-utils
202 libtool
203 mate-common
204 pkg-config
205 which))
206 (home-page "https://mate-desktop.org/")
207 (synopsis "MATE desktop environment icon theme faenza")
208 (description
209 "Icon theme using Faenza and Faience icon themes and some customized
210icons for MATE. Furthermore it includes some icons from Mint-X-F and
211Faenza-Fresh icon packs.")
212 (license license:gpl2+)))
213
214(define-public mate-themes
215 (package
216 (name "mate-themes")
217 (version "3.22.26")
218 (source
219 (origin
220 (method url-fetch)
221 (uri (string-append "mirror://mate/themes/" (version-major+minor version)
222 "/mate-themes-" version ".tar.xz"))
223 (sha256
224 (base32 "1msyfpmhgijzr2i4jhzmrf9ilhlq994havbmrzqp6fzbck9qjki2"))))
225 (build-system gnu-build-system)
226 (native-inputs
227 (list pkg-config intltool gdk-pixbuf ; gdk-pixbuf+svg isn't needed
228 gtk+-2))
229 (home-page "https://mate-desktop.org/")
230 (synopsis
231 "Official themes for the MATE desktop")
232 (description
233 "This package includes the standard themes for the MATE desktop, for
234example Menta, TraditionalOk, GreenLaguna or BlackMate. This package has
235themes for both gtk+-2 and gtk+-3.")
236 (license (list license:lgpl2.1+ license:cc-by-sa3.0 license:gpl3+
237 license:gpl2+))))
238
239(define-public mate-desktop
240 (package
241 (name "mate-desktop")
242 (version "1.28.2")
243 (source
244 (origin
245 (method url-fetch)
246 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
247 "mate-desktop-" version ".tar.xz"))
248 (sha256
249 (base32 "18jajrj5bs98gnx4qjwqa1v48k9bm0c9rbmqw70r3cql41wlpfrj"))))
250 (build-system gnu-build-system)
251 (native-inputs
252 (list pkg-config
253 intltool
254 `(,glib "bin")
255 gobject-introspection
256 yelp-tools
257 gtk-doc/stable))
258 (inputs
259 (list gtk+ libxrandr iso-codes/pinned startup-notification))
260 (propagated-inputs
261 (list dconf)) ; mate-desktop-2.0.pc
262 (home-page "https://mate-desktop.org/")
263 (synopsis "Library with common API for various MATE modules")
264 (description
265 "This package contains a public API shared by several applications on the
266desktop and the mate-about program.")
267 (license (list license:gpl2+ license:lgpl2.0+ license:fdl1.1+))))
268
269(define-public libmateweather
270 (package
271 (name "libmateweather")
272 (version "1.28.2")
273 (source
274 (origin
275 (method git-fetch)
276 (uri (git-reference
277 (url "https://github.com/mate-desktop/libmateweather")
278 (commit (string-append "v" version))
279 (recursive? #t)))
280 (file-name (git-file-name name version))
281 (sha256
282 (base32 "15ajz83na76lcnw9cy1m36f9xfzl1nywk9xwwjax1cklfz63vl0g"))))
283 (build-system gnu-build-system)
284 (arguments
285 (list
286 #:configure-flags #~(list "--with-zoneinfo-dir=/var/empty")
287 #:phases
288 #~(modify-phases %standard-phases
289 (add-before 'check 'fix-tzdata-location
290 (lambda* (#:key inputs #:allow-other-keys)
291 (setenv "TZDIR"
292 (search-input-directory inputs "/share/zoneinfo"))
293 (substitute* "data/check-timezones.sh"
294 (("/usr/share/zoneinfo/zone.tab")
295 (search-input-file inputs "/share/zoneinfo/zone.tab"))
296 ;; XXX: Ignore this test for now, which requires tzdata-2023c.
297 (("exit 1")
298 "exit 0")))))))
299 (native-inputs
300 (list autoconf
301 autoconf-archive
302 automake
303 dconf
304 (list glib "bin")
305 intltool
306 gtk-doc/stable
307 libtool
308 mate-common
309 which
310 pkg-config))
311 (inputs
312 (list gtk+
313 tzdata-for-tests))
314 (propagated-inputs
315 ;; both of these are requires.private in mateweather.pc
316 (list libsoup-minimal-2
317 libxml2))
318 (home-page "https://mate-desktop.org/")
319 (synopsis "MATE library for weather information from the Internet")
320 (description
321 "This library provides access to weather information from the internet
322for the MATE desktop environment.")
323 (license license:lgpl2.1+)))
324
325(define-public mate-terminal
326 (package
327 (name "mate-terminal")
328 (version "1.28.1")
329 (source
330 (origin
331 (method url-fetch)
332 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
333 "mate-terminal-" version ".tar.xz"))
334 (sha256
335 (base32 "14ly8v4wcz735caw0rdvwrsdgkxlzla1kp5jxjc2gqiakqdfndgi"))))
336 (build-system glib-or-gtk-build-system)
337 (native-inputs
338 (list pkg-config
339 intltool
340 itstool
341 gobject-introspection
342 libxml2
343 yelp-tools))
344 (inputs
345 (list dconf
346 gtk+
347 libice
348 libsm
349 libx11
350 mate-desktop
351 pango
352 vte/gtk+-3))
353 (home-page "https://mate-desktop.org/")
354 (synopsis "MATE Terminal Emulator")
355 (description
356 "MATE Terminal is a terminal emulation application that you can
357use to access a shell. With it, you can run any application that
358is designed to run on VT102, VT220, and xterm terminals.
359MATE Terminal also has the ability to use multiple terminals
360in a single window (tabs) and supports management of different
361configurations (profiles).")
362 (license license:gpl3)))
363
364(define-public mate-session-manager
365 (package
366 (name "mate-session-manager")
367 (version "1.28.0")
368 (source
369 (origin
370 (method url-fetch)
371 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
372 "mate-session-manager-" version ".tar.xz"))
373 (sha256
374 (base32 "0yrd1acnhp7gl60418532jr77n9br0mky83p0wlnbnm1bdcy8b6k"))))
375 (build-system glib-or-gtk-build-system)
376 (arguments
377 `(#:configure-flags (list "--with-elogind"
378 "--disable-schemas-compile")
379 #:phases
380 (modify-phases %standard-phases
381 (add-after 'install 'update-xsession-dot-desktop
382 (lambda* (#:key outputs #:allow-other-keys)
383 ;; Record the absolute file name of 'mate-session' in the
384 ;; '.desktop' file.
385 (let* ((out (assoc-ref outputs "out"))
386 (xsession (string-append
387 out "/share/xsessions/mate.desktop")))
388 (substitute* xsession
389 (("^Exec=.*$")
390 (string-append "Exec=" out "/bin/mate-session\n"))
391 (("^TryExec=.*$")
392 (string-append "Exec=" out "/bin/mate-session\n")))
393 #t))))))
394 (native-inputs
395 (list pkg-config intltool libxcomposite xtrans
396 gobject-introspection))
397 (inputs
398 (list gtk+ dbus-glib elogind libsm mate-desktop))
399 (home-page "https://mate-desktop.org/")
400 (synopsis "Session manager for MATE")
401 (description
402 "Mate-session contains the MATE session manager, as well as a
403configuration program to choose applications starting on login.")
404 (license license:gpl2)))
405
406(define-public mate-settings-daemon
407 (package
408 (name "mate-settings-daemon")
409 (version "1.28.0")
410 (source
411 (origin
412 (method url-fetch)
413 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
414 "mate-settings-daemon-" version ".tar.xz"))
415 (sha256
416 (base32 "0fhsc505p34zk1bln764fbh7dfq32x0vi0h2zkzrxjd4manwvmsf"))))
417 (build-system glib-or-gtk-build-system)
418 (native-inputs
419 (list pkg-config intltool gobject-introspection))
420 (inputs
421 (list cairo
422 dbus
423 dbus-glib
424 dconf
425 fontconfig
426 gtk+
427 libcanberra
428 libmatekbd
429 libmatemixer
430 libnotify
431 libx11
432 libxext
433 libxi
434 libxklavier
435 mate-desktop
436 nss
437 polkit
438 startup-notification))
439 (home-page "https://mate-desktop.org/")
440 (synopsis "Settings Daemon for MATE")
441 (description
442 "Mate-settings-daemon is a fork of gnome-settings-daemon.")
443 (license (list license:lgpl2.1 license:gpl2))))
444
445(define-public libmatemixer
446 (package
447 (name "libmatemixer")
448 (version "1.28.0")
449 (source
450 (origin
451 (method url-fetch)
452 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
453 "libmatemixer-" version ".tar.xz"))
454 (sha256
455 (base32 "1ix0f3c40b535wsvbc9d4q7c6inf5d9ync4m7j76hq3z74ibjwsx"))))
456 (build-system glib-or-gtk-build-system)
457 (native-inputs
458 (list pkg-config intltool gobject-introspection))
459 (inputs
460 (list glib pulseaudio alsa-lib))
461 (home-page "https://mate-desktop.org/")
462 (synopsis "Mixer library for the MATE desktop")
463 (description
464 "Libmatemixer is a mixer library for MATE desktop. It provides an abstract
465API allowing access to mixer functionality available in the PulseAudio and ALSA
466sound systems.")
467 (license license:lgpl2.1)))
468
469(define-public libmatekbd
470 (package
471 (name "libmatekbd")
472 (version "1.28.0")
473 (source
474 (origin
475 (method url-fetch)
476 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
477 "libmatekbd-" version ".tar.xz"))
478 (sha256
479 (base32 "03p8dx7n0fi77qdh1r6pi40wqa0ap7w8hk6j0csx68rb7i45hbjx"))))
480 (build-system glib-or-gtk-build-system)
481 (native-inputs
482 (list pkg-config intltool gobject-introspection))
483 (inputs
484 (list cairo
485 (librsvg-for-system)
486 glib
487 gtk+
488 libx11
489 libxklavier))
490 (home-page "https://mate-desktop.org/")
491 (synopsis "MATE keyboard configuration library")
492 (description
493 "Libmatekbd is a keyboard configuration library for the
494MATE desktop environment.")
495 (license license:lgpl2.1)))
496
497(define-public mate-menus
498 (package
499 (name "mate-menus")
500 (version "1.28.0")
501 (source
502 (origin
503 (method url-fetch)
504 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
505 "mate-menus-" version ".tar.xz"))
506 (sha256
507 (base32 "13ahf1cy9mzasswhnkx8qqmj5ii54338z0k994fss2kggmfcfh6g"))))
508 (build-system gnu-build-system)
509 (arguments
510 `(#:phases
511 (modify-phases %standard-phases
512 (add-after
513 'unpack 'fix-introspection-install-dir
514 (lambda* (#:key outputs #:allow-other-keys)
515 (let ((out (assoc-ref outputs "out")))
516 (substitute* '("configure")
517 (("`\\$PKG_CONFIG --variable=girdir gobject-introspection-1.0`")
518 (string-append "\"" out "/share/gir-1.0/\""))
519 (("\\$\\(\\$PKG_CONFIG --variable=typelibdir gobject-introspection-1.0\\)")
520 (string-append out "/lib/girepository-1.0/")))
521 #t))))))
522 (native-inputs
523 (list pkg-config intltool gobject-introspection))
524 (inputs
525 (list glib))
526 (home-page "https://mate-desktop.org/")
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+))))
533
534(define-public mate-applets
535 (package
536 (name "mate-applets")
537 (version "1.28.0")
538 (source
539 (origin
540 (method url-fetch)
541 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
542 "mate-applets-" version ".tar.xz"))
543 (sha256
544 (base32 "11k66nfgs403r70isc8ccss994hv9c793zr8r2fzn9nksmmyysqv"))))
545 (build-system glib-or-gtk-build-system)
546 (native-inputs
547 (list pkg-config
548 intltool
549 libxslt
550 yelp-tools
551 gettext-minimal
552 docbook-xml
553 gobject-introspection))
554 (inputs
555 (list at-spi2-core
556 dbus
557 dbus-glib
558 glib
559 gucharmap
560 gtk+
561 gtksourceview-4
562 libgtop
563 libmateweather
564 libnl
565 libnotify
566 libx11
567 libxml2
568 libwnck
569 mate-desktop
570 mate-panel
571 pango
572 polkit ; either polkit or setuid
573 upower
574 wireless-tools))
575 (propagated-inputs
576 (list python-pygobject))
577 (home-page "https://mate-desktop.org/")
578 (synopsis "Various applets for the MATE Panel")
579 (description
580 "Mate-applets includes various small applications for Mate-panel:
581
582@enumerate
583@item accessx-status: indicates keyboard accessibility settings,
584including the current state of the keyboard, if those features are in use.
585@item Battstat: monitors the power subsystem on a laptop.
586@item Character palette: provides a convenient way to access
587non-standard characters, such as accented characters,
588mathematical symbols, special symbols, and punctuation marks.
589@item MATE CPUFreq Applet: CPU frequency scaling monitor
590@item Drivemount: lets you mount and unmount drives and file systems.
591@item Geyes: pair of eyes which follow the mouse pointer around the screen.
592@item Keyboard layout switcher: lets you assign different keyboard
593layouts for different locales.
594@item Modem Monitor: monitors the modem.
595@item Invest: downloads current stock quotes from the Internet and
596displays the quotes in a scrolling display in the applet. The
597applet downloads the stock information from Yahoo! Finance.
598@item System monitor: CPU, memory, network, swap file and resource.
599@item Trash: lets you drag items to the trash folder.
600@item Weather report: downloads weather information from the
601U.S National Weather Service (NWS) servers, including the
602Interactive Weather Information Network (IWIN).
603@end enumerate\n")
604 (license (list license:gpl2+ license:lgpl2.0+ license:gpl3+))))
605
606(define-public mate-indicator-applet
607 (package
608 (name "mate-indicator-applet")
609 (version "1.28.0")
610 (source
611 (origin
612 (method url-fetch)
613 (uri (string-append "mirror://mate/"
614 (version-major+minor version)
615 "/"
616 "mate-indicator-applet-"
617 version
618 ".tar.xz"))
619 (sha256
620 (base32 "1ka9mplw28p2sb75lj9559sszqvi44f0ppypgj6maghajw1xgcyf"))))
621 (build-system glib-or-gtk-build-system)
622 (native-inputs (list pkg-config gettext-minimal))
623 (inputs (list gtk+ libindicator mate-common mate-panel hicolor-icon-theme))
624 (home-page "https://mate-desktop.org/")
625 (synopsis
626 "Applet for displaying application indicators on the MATE panel")
627 (description "This applet displays information from various applications
628consistently in the MATE panel.")
629 (license
630 ;; Dual-licensed under GPL-3+ and LGPL-2.1+
631 (list
632 license:gpl3+
633 license:lgpl2.1+))))
634
635(define-public mate-sensors-applet
636 (package
637 (name "mate-sensors-applet")
638 (version "1.28.0")
639 (source
640 (origin
641 (method url-fetch)
642 (uri (string-append "mirror://mate/"
643 (version-major+minor version)
644 "/"
645 "mate-sensors-applet-"
646 version
647 ".tar.xz"))
648 (sha256
649 (base32 "10as64102wbgmi8ak3ya2zyvc3dpx24rfg18323fp3xgh9k3crfl"))))
650 (build-system glib-or-gtk-build-system)
651 (arguments
652 (list
653 #:configure-flags
654 #~(list "--enable-in-process")))
655 (native-inputs (list pkg-config
656 intltool
657 itstool
658 yelp-tools
659 gettext-minimal
660 gobject-introspection))
661 (inputs (list at-spi2-core
662 dbus
663 dbus-glib
664 glib
665 gtk+
666 libnotify
667 lm-sensors
668 libx11
669 libxml2
670 libxslt
671 libatasmart
672 libwnck
673 mate-desktop
674 mate-menus
675 mate-panel
676 pango
677 polkit ;either polkit or setuid
678 upower
679 wireless-tools))
680 (home-page "https://mate-desktop.org/")
681 (synopsis "MATE panel applet for hardware monitoring")
682 (description
683 "MATE Sensors Applet displays readings from hardware sensors in the MATE
684panel, these include CPU temperature, fan speeds and voltage reading under
685GNU plus Linux distributions.")
686 (license license:gpl2+)))
687
688(define-public mate-media
689 (package
690 (name "mate-media")
691 (version "1.28.1")
692 (source
693 (origin
694 (method url-fetch)
695 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
696 "mate-media-" version ".tar.xz"))
697 (sha256
698 (base32 "04lr7bl0k1m88m1qf2m3wrq3a48wx44cgmb667k5agzn48p11p5w"))))
699 (build-system glib-or-gtk-build-system)
700 (native-inputs
701 (list pkg-config intltool gettext-minimal gobject-introspection))
702 (inputs
703 (list cairo
704 gtk+
705 libcanberra
706 libmatemixer
707 libxml2
708 mate-applets
709 mate-desktop
710 mate-panel
711 pango
712 startup-notification))
713 (home-page "https://mate-desktop.org/")
714 (synopsis "Multimedia related programs for the MATE desktop")
715 (description
716 "Mate-media includes the MATE media tools for MATE, including
717mate-volume-control, a MATE volume control application and applet.")
718 (license (list license:gpl2+ license:lgpl2.0+ license:fdl1.1+))))
719
720(define-public mate-notification-daemon
721 (package
722 (name "mate-notification-daemon")
723 (version "1.28.3")
724 (source
725 (origin
726 (method url-fetch)
727 (uri (string-append "mirror://mate/"
728 (version-major+minor version)
729 "/"
730 "mate-notification-daemon-"
731 version
732 ".tar.xz"))
733 (sha256
734 (base32 "04zlmli3kv80h7fpf0xlxm0hkf238gj5hib4qb6bjxczzyqyq370"))))
735 (build-system glib-or-gtk-build-system)
736 (native-inputs (list pkg-config gettext-minimal libxml2))
737 (inputs (list gtk+
738 dbus-glib
739 libwnck
740 libnotify
741 libcanberra
742 mate-desktop
743 mate-panel
744 hicolor-icon-theme))
745 (home-page "https://mate-desktop.org/")
746 (synopsis "Notification daemon for MATE")
747 (description
748 "This MATE Desktop component is meant to run on the background and
749deliver notifications to the user.")
750 (license license:gpl2+)))
751
752(define-public mate-panel
753 (package
754 (name "mate-panel")
755 (version "1.28.4")
756 (source
757 (origin
758 (method url-fetch)
759 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
760 name "-" version ".tar.xz"))
761 (sha256
762 (base32 "0x48jqm2axzxp2hc7mh3znds7nqwaw59b2ghnsbw2ajc66q9xw02"))))
763 (build-system glib-or-gtk-build-system)
764 (arguments
765 `(#:configure-flags
766 (list (string-append "--with-zoneinfo-dir="
767 (assoc-ref %build-inputs "tzdata")
768 "/share/zoneinfo")
769 "--with-in-process-applets=all")
770 #:phases
771 (modify-phases %standard-phases
772 (add-before 'configure 'fix-timezone-path
773 (lambda* (#:key inputs #:allow-other-keys)
774 (let* ((tzdata (assoc-ref inputs "tzdata")))
775 (substitute* "applets/clock/system-timezone.h"
776 (("/usr/share/lib/zoneinfo/tab")
777 (string-append tzdata "/share/zoneinfo/zone.tab"))
778 (("/usr/share/zoneinfo")
779 (string-append tzdata "/share/zoneinfo"))))
780 #t))
781 (add-after 'unpack 'fix-introspection-install-dir
782 (lambda* (#:key outputs #:allow-other-keys)
783 (let ((out (assoc-ref outputs "out")))
784 (substitute* '("configure")
785 (("`\\$PKG_CONFIG --variable=girdir gobject-introspection-1.0`")
786 (string-append "\"" out "/share/gir-1.0/\""))
787 (("\\$\\(\\$PKG_CONFIG --variable=typelibdir gobject-introspection-1.0\\)")
788 (string-append out "/lib/girepository-1.0/")))
789 #t))))))
790 (native-inputs
791 (list pkg-config intltool itstool xtrans gobject-introspection))
792 (inputs
793 (list dconf
794 dconf-editor
795 cairo
796 dbus-glib
797 gtk-layer-shell
798 gtk+
799 libcanberra
800 libice
801 libmateweather
802 (librsvg-for-system)
803 libsm
804 libx11
805 libxau
806 libxml2
807 libxrandr
808 libwnck
809 mate-desktop
810 mate-menus
811 pango
812 tzdata
813 wayland))
814 (native-search-paths
815 (list
816 (search-path-specification
817 (variable "MATE_PANEL_APPLETS_DIR")
818 (files '("share/mate-panel/applets")))
819 (search-path-specification
820 (variable "MATE_PANEL_EXTRA_MODULES")
821 (files '("lib/mate-panel/modules")))))
822 (home-page "https://mate-desktop.org/")
823 (synopsis "Panel for MATE")
824 (description
825 "Mate-panel contains the MATE panel, the libmate-panel-applet library and
826several applets. The applets supplied here include the Workspace Switcher,
827the Window List, the Window Selector, the Notification Area, the Clock and the
828infamous 'Wanda the Fish'.")
829 (license (list license:gpl2+ license:lgpl2.0+))))
830
831(define-public atril
832 (package
833 (name "atril")
834 (version "1.28.1")
835 (source
836 (origin
837 (method url-fetch)
838 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
839 name "-" version ".tar.xz"))
840 (sha256
841 (base32
842 "0ghrx1nhjjs016swj0qy88azgmvas1478xi3xwnxbspkg4lz9i3l"))))
843 (build-system glib-or-gtk-build-system)
844 (arguments
845 (list
846 #:configure-flags
847 #~(list "--enable-introspection" "--disable-schemas-compile"
848 ;; FIXME: Enable build of Caja extensions.
849 "--disable-caja"
850 (string-append "--with-openjpeg="
851 #$(this-package-input "openjpeg")))
852 #:tests? #f
853 #:phases
854 #~(modify-phases %standard-phases
855 (add-after 'unpack 'fix-mathjax-path
856 (lambda _
857 (let* ((mathjax (assoc-ref %build-inputs "js-mathjax"))
858 (mathjax-path (string-append mathjax
859 "/share/javascript/mathjax")))
860 (substitute* "backend/epub/epub-document.c"
861 (("/usr/share/javascript/mathjax")
862 mathjax-path))) #t))
863 (add-after 'unpack 'fix-introspection-install-dir
864 (lambda _
865 (substitute* '("configure")
866 (("\\$\\(\\$PKG_CONFIG --variable=girdir gobject-introspection-1.0\\)")
867 (string-append "\""
868 #$output "/share/gir-1.0/\""))
869 (("\\$\\(\\$PKG_CONFIG --variable=typelibdir gobject-introspection-1.0\\)")
870 (string-append #$output "/lib/girepository-1.0/")))))
871 (add-before 'install 'skip-gtk-update-icon-cache
872 ;; Don't create 'icon-theme.cache'.
873 (lambda _
874 (substitute* "data/Makefile"
875 (("gtk-update-icon-cache")
876 "true")) #t)))))
877 (native-inputs
878 (list pkg-config
879 intltool
880 itstool
881 yelp-tools
882 (list glib "bin")
883 gobject-introspection
884 gtk-doc/stable
885 texlive-bin ;synctex
886 libxml2
887 zlib))
888 (inputs
889 (list at-spi2-core
890 cairo
891 caja
892 dconf
893 dbus
894 dbus-glib
895 djvulibre
896 fontconfig
897 freetype
898 ghostscript
899 glib
900 gtk+
901 js-mathjax
902 libcanberra
903 libsecret
904 libspectre
905 libtiff
906 libx11
907 libice
908 libsm
909 libgxps
910 libjpeg-turbo
911 libxml2
912 mate-desktop
913 python-dogtail
914 shared-mime-info
915 gdk-pixbuf
916 gsettings-desktop-schemas
917 libgnome-keyring
918 libarchive
919 marco
920 openjpeg
921 pango
922 ;;texlive
923 ;; TODO:
924 ;; Build libkpathsea as a shared library for DVI support.
925 ;; ("libkpathsea" ,texlive-bin)
926 poppler
927 startup-notification
928 webkitgtk-for-gtk3))
929 (home-page "https://mate-desktop.org")
930 (synopsis "Document viewer for Mate")
931 (description
932 "Atril is a simple multi-page document viewer. It can display and print
933@acronym{PostScript, PS}, @acronym{Encapsulated PostScript EPS}, DJVU, DVI, XPS
934and @acronym{Portable Document Format PDF} files. When supported by the
935document, it also allows searching for text, copying text to the clipboard,
936hypertext navigation, and table-of-contents bookmarks.")
937 (license license:gpl2)))
938
939(define-public caja
940 (package
941 (name "caja")
942 (version "1.28.0")
943 (source
944 (origin
945 (method url-fetch)
946 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
947 name "-" version ".tar.xz"))
948 (sha256
949 (base32
950 "0ylm46wgg7linppid6pdfaixhdb8zgyrxl3lxz17x0am2k718c0y"))))
951 (build-system glib-or-gtk-build-system)
952 (arguments
953 (list
954 #:tests? #f ; tests fail even with display set
955 #:configure-flags #~(list "--disable-update-mimedb")
956 #:phases
957 #~(modify-phases %standard-phases
958 (add-before 'check 'pre-check
959 (lambda _
960 ;; Tests require a running X server.
961 (system "Xvfb :1 &")
962 (setenv "DISPLAY" ":1")
963 ;; For the missing /etc/machine-id.
964 (setenv "DBUS_FATAL_WARNINGS" "0"))))))
965 (native-inputs
966 (list pkg-config
967 intltool
968 (list glib "bin")
969 xorg-server
970 gobject-introspection))
971 (inputs
972 (list exempi
973 gtk+
974 gvfs
975 libexif
976 libnotify
977 libsm
978 libxml2
979 mate-desktop
980 startup-notification))
981 (native-search-paths
982 (list (search-path-specification
983 (variable "CAJA_EXTENSION_DIRS")
984 (files (list "lib/caja/extensions-2.0")))))
985 (home-page "https://mate-desktop.org/")
986 (synopsis "File manager for the MATE desktop")
987 (description
988 "Caja is the official file manager for the MATE desktop.
989It allows for browsing directories, as well as previewing files and launching
990applications associated with them. Caja is also responsible for handling the
991icons on the MATE desktop. It works on local and remote file systems.")
992 ;; There is a note about a TRADEMARKS_NOTICE file in COPYING which
993 ;; does not exist. It is safe to assume that this is of no concern
994 ;; for us.
995 (license license:gpl2+)))
996
997
998(define-public caja-actions
999 (package
1000 (name "caja-actions")
1001 (version "1.28.0")
1002 (source
1003 (origin
1004 (method git-fetch)
1005 (uri (git-reference
1006 (url "https://github.com/mate-desktop/caja-actions")
1007 (commit (string-append "v" version))
1008 (recursive? #t)))
1009 (file-name (git-file-name name version))
1010 (sha256
1011 (base32 "1a21kz5796prdq88a3yjc8jnd6qv8jg5zji43m057ra46qjbjazf"))))
1012 (build-system glib-or-gtk-build-system)
1013 (arguments
1014 (list
1015 #:configure-flags
1016 #~(list (string-append "--with-caja-extdir="
1017 #$output "/lib/caja/extensions-2.0/"
1018 "--disable-static"
1019 "--enable-html-manuals"))
1020 #:phases
1021 #~(modify-phases %standard-phases
1022 (add-after 'unpack 'preconfigure
1023 (lambda _
1024 ;; Danish translations cause a segmentation
1025 ;; fault at compile time. We are removing them
1026 ;; for now.
1027 (delete-file-recursively "docs/help/da"))))))
1028 (native-inputs (list autoconf
1029 autoconf-archive
1030 automake
1031 gettext-minimal
1032 intltool
1033 libice
1034 libxml2
1035 libtool
1036 gobject-introspection
1037 gtk-doc/stable
1038 mate-common
1039 pkg-config
1040 yelp-tools
1041 which))
1042 (inputs (list caja
1043 dbus
1044 dbus-glib
1045 gtk+
1046 (list glib "bin")
1047 libgtop
1048 libsm
1049 mate-desktop))
1050 (home-page "https://mate-desktop.org/")
1051 (synopsis "Execute commands from the caja popup menu")
1052 (description
1053 "This package is an extension for the MATE caja file manager
1054it allows users to add arbitrary programs and launch them through the popup
1055menu of selected files.")
1056 (license license:gpl2+)))
1057
1058(define-public caja-extensions
1059 (package
1060 (name "caja-extensions")
1061 (version "1.28.0")
1062 (source
1063 (origin
1064 (method url-fetch)
1065 (uri (string-append "mirror://mate/"
1066 (version-major+minor version)
1067 "/"
1068 "caja-extensions-"
1069 version
1070 ".tar.xz"))
1071 (sha256
1072 (base32 "0x9ikq8biaq08wzj0qqpmy8k5w7axqimigfgf7i5z0s00xg6r66j"))))
1073 (build-system glib-or-gtk-build-system)
1074 (arguments
1075 `(#:configure-flags (list "--enable-sendto"
1076 ;; TODO: package "gupnp" to enable 'upnp', package
1077 ;; "gksu" to enable 'gksu'.
1078 (string-append
1079 "--with-sendto-plugins=removable-devices,"
1080 "caja-burn,emailclient,pidgin,gajim")
1081 "--enable-image-converter"
1082 "--enable-open-terminal"
1083 "--enable-share"
1084 "--enable-wallpaper"
1085 "--enable-xattr-tags"
1086 "--enable-av=yes"
1087
1088 (string-append "--with-cajadir="
1089 (assoc-ref %outputs "out")
1090 "/lib/caja/extensions-2.0/"))))
1091 (native-inputs
1092 `(("intltool" ,intltool)
1093 ("gettext" ,gettext-minimal)
1094 ("glib:bin" ,glib "bin")
1095 ("gobject-introspection" ,gobject-introspection)
1096 ("gtk-doc" ,gtk-doc/stable)
1097 ("libxml2" ,libxml2)
1098 ("pkg-config" ,pkg-config)))
1099 (inputs
1100 (list attr
1101 brasero
1102 caja
1103 dbus
1104 dbus-glib
1105 gajim ;runtime only?
1106 gst-plugins-base
1107 gtk+
1108 graphicsmagick
1109 mate-desktop
1110 pidgin ;runtime only?
1111 startup-notification))
1112 (home-page "https://mate-desktop.org/")
1113 (synopsis "Extensions for the File manager Caja")
1114 (description
1115 "Caja is the official file manager for the MATE desktop.
1116It allows for browsing directories, as well as previewing files and launching
1117applications associated with them. Caja is also responsible for handling the
1118icons on the MATE desktop. It works on local and remote file systems.")
1119 (license license:gpl2+)))
1120
1121(define-public python-caja
1122 (package
1123 (name "python-caja")
1124 (version "1.28.0")
1125 (source
1126 (origin
1127 (method url-fetch)
1128 (uri (string-append "mirror://mate/"
1129 (version-major+minor version)
1130 "/"
1131 name
1132 "-"
1133 version
1134 ".tar.xz"))
1135 (sha256
1136 (base32 "1ml0yrkbly1mz5gmz1wynn3zff5900szncc4rk83xqyzvcww4mmh"))))
1137 (build-system glib-or-gtk-build-system)
1138 (arguments
1139 (list
1140 #:configure-flags
1141 #~(list (string-append "--with-cajadir="
1142 #$output
1143 "/lib/caja/extensions-2.0/"))))
1144 (native-inputs
1145 (list pkg-config
1146 gettext-minimal
1147 python-wrapper))
1148 (inputs
1149 (list caja
1150 gtk+
1151 python-pygobject))
1152 (home-page "https://mate-desktop.org/")
1153 (synopsis "Python bindings for Caja components")
1154 (description
1155 "This package provides Python bindings to Caja, a file manager for the
1156MATE desktop.")
1157 (license license:gpl2+)))
1158
1159(define-public mate-control-center
1160 (package
1161 (name "mate-control-center")
1162 (version "1.28.0")
1163 (source
1164 (origin
1165 (method url-fetch)
1166 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
1167 "mate-control-center-" version ".tar.xz"))
1168 (sha256
1169 (base32 "1g0lg4x3idilaxhwq1s90pajkvv9i012kzrnk0pxqj2jzl2cgwpb"))))
1170 (build-system glib-or-gtk-build-system)
1171 (arguments
1172 (list
1173 #:phases
1174 #~(modify-phases %standard-phases
1175 (add-before 'configure 'use-elogind-as-systemd
1176 (lambda _
1177 (substitute* "configure"
1178 (("systemd") "libelogind"))))
1179 (add-before 'build 'fix-polkit-action
1180 (lambda _
1181 ;; Make sure the polkit file refers to the right
1182 ;; executable.
1183 (substitute*
1184 '("capplets/display/org.mate.randr.policy.in"
1185 "capplets/display/org.mate.randr.policy")
1186 (("/usr/sbin")
1187 (string-append #$output "/sbin"))))))))
1188 (native-inputs
1189 (list pkg-config
1190 intltool
1191 yelp-tools
1192 desktop-file-utils
1193 xorgproto
1194 xmodmap
1195 gobject-introspection))
1196 (inputs
1197 (list at-spi2-core
1198 cairo
1199 caja
1200 dconf
1201 dbus
1202 dbus-glib
1203 elogind
1204 fontconfig
1205 freetype
1206 glib
1207 gsettings-desktop-schemas
1208 gtk+
1209 libappindicator
1210 libcanberra
1211 libgtop
1212 libmatekbd
1213 libx11
1214 libxcursor
1215 libxext
1216 libxi
1217 libxklavier
1218 libxml2
1219 libxrandr
1220 libxrender
1221 libxscrnsaver
1222 marco
1223 mate-desktop
1224 mate-menus
1225 mate-settings-daemon
1226 pango
1227 polkit
1228 startup-notification
1229 udisks))
1230 (propagated-inputs
1231 (list (librsvg-for-system))) ;mate-slab.pc
1232 (home-page "https://mate-desktop.org/")
1233 (synopsis "MATE Desktop configuration tool")
1234 (description
1235 "MATE control center is MATE's main interface for configuration
1236of various aspects of your desktop.")
1237 (license license:gpl2+)))
1238
1239(define-public marco
1240 (package
1241 (name "marco")
1242 (version "1.28.1")
1243 (source
1244 (origin
1245 (method url-fetch)
1246 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
1247 name "-" version ".tar.xz"))
1248 (sha256
1249 (base32 "1qf219zmg6m1kf6xlx66h65yq3gxz3hc6fj995lcv0791vjfb5i4"))))
1250 (build-system glib-or-gtk-build-system)
1251 (native-inputs
1252 (list pkg-config
1253 intltool
1254 itstool
1255 glib
1256 gobject-introspection
1257 libxft
1258 libxml2
1259 zenity))
1260 (inputs
1261 (list gtk+
1262 libcanberra
1263 libgtop
1264 libice
1265 libsm
1266 libx11
1267 libxcomposite
1268 libxcursor
1269 libxdamage
1270 libxext
1271 libxfixes
1272 libxinerama
1273 libxrandr
1274 libxrender
1275 libxres
1276 mate-desktop
1277 pango
1278 startup-notification))
1279 (home-page "https://mate-desktop.org/")
1280 (synopsis "Window manager for the MATE desktop")
1281 (description
1282 "Marco is a minimal X window manager that uses GTK+ for drawing
1283window frames. It is aimed at non-technical users and is designed to integrate
1284well with the MATE desktop. It lacks some features that may be expected by
1285some users; these users may want to investigate other available window managers
1286for use with MATE or as a standalone window manager.")
1287 (license license:gpl2+)))
1288
1289(define-public mate-user-guide
1290 (package
1291 (name "mate-user-guide")
1292 (version "1.28.0")
1293 (source
1294 (origin
1295 (method url-fetch)
1296 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
1297 name "-" version ".tar.xz"))
1298 (sha256
1299 (base32
1300 "17jb0537xzlhiilzjzjgy6lx7j0w4bjppav1xla4cm06yla0ivsk"))))
1301 (build-system gnu-build-system)
1302 (arguments
1303 `(#:phases
1304 (modify-phases %standard-phases
1305 (add-after 'unpack 'adjust-desktop-file
1306 (lambda* (#:key inputs #:allow-other-keys)
1307 (let* ((yelp (assoc-ref inputs "yelp")))
1308 (substitute* "mate-user-guide.desktop.in.in"
1309 (("yelp")
1310 (string-append yelp "/bin/yelp"))))
1311 #t)))))
1312 (native-inputs
1313 `(("pkg-config" ,pkg-config)
1314 ("intltool" ,intltool)
1315 ("gettext" ,gettext-minimal)
1316 ("yelp-tools" ,yelp-tools)
1317 ("yelp-xsl" ,yelp-xsl)))
1318 (inputs
1319 (list yelp))
1320 (home-page "https://mate-desktop.org/")
1321 (synopsis "User Documentation for Mate software")
1322 (description
1323 "MATE User Guide is a collection of documentation which details
1324general use of the MATE Desktop environment. Topics covered include
1325sessions, panels, menus, file management, and preferences.")
1326 (license (list license:fdl1.1+ license:gpl2+))))
1327
1328(define-public mate-calc
1329 (package
1330 (name "mate-calc")
1331 (version "1.28.0")
1332 (source
1333 (origin
1334 (method url-fetch)
1335 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
1336 "mate-calc-" version ".tar.xz"))
1337 (sha256
1338 (base32 "1x98wsjssmbkxqvl95xgp5r99cdq5adxl5pq9bkv2r183rfi4jw0"))))
1339 (build-system glib-or-gtk-build-system)
1340 (native-inputs
1341 (list gettext-minimal intltool pkg-config yelp-tools))
1342 (inputs
1343 (list at-spi2-core
1344 glib
1345 gtk+
1346 libxml2
1347 libcanberra
1348 mpc
1349 mpfr
1350 pango))
1351 (home-page "https://mate-desktop.org/")
1352 (synopsis "Calculator for MATE")
1353 (description
1354 "Mate Calc is the GTK+ calculator application for the MATE Desktop.")
1355 (license license:gpl2+)))
1356
1357(define-public mate-backgrounds
1358 (package
1359 (name "mate-backgrounds")
1360 (version "1.28.0")
1361 (source
1362 (origin
1363 (method url-fetch)
1364 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
1365 name "-" version ".tar.xz"))
1366 (sha256
1367 (base32
1368 "0hv97805gb89v64f90laskq4h483lgpvd9m54an0ggc64k8azlah"))))
1369 (build-system glib-or-gtk-build-system)
1370 (native-inputs
1371 (list intltool))
1372 (home-page "https://mate-desktop.org/")
1373 (synopsis "Calculator for MATE")
1374 (description
1375 "This package contains a collection of graphics files which
1376can be used as backgrounds in the MATE Desktop environment.")
1377 (license license:gpl2+)))
1378
1379(define-public mate-netbook
1380 (package
1381 (name "mate-netbook")
1382 (version "1.26.0")
1383 (source
1384 (origin
1385 (method url-fetch)
1386 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
1387 name "-" version ".tar.xz"))
1388 (sha256
1389 (base32
1390 "12gdy69nfysl8vmd8lv8b0lknkaagplrrz88nh6n0rmjkxnipgz3"))))
1391 (build-system glib-or-gtk-build-system)
1392 (native-inputs
1393 (list gettext-minimal intltool pkg-config))
1394 (inputs
1395 (list cairo
1396 glib
1397 gtk+
1398 libfakekey
1399 libwnck
1400 libxtst
1401 libx11
1402 mate-panel
1403 xorgproto))
1404 (home-page "https://mate-desktop.org/")
1405 (synopsis "Tool for MATE on Netbooks")
1406 (description
1407 "Mate Netbook is a simple window management tool which:
1408
1409@enumerate
1410@item Allows you to set basic rules for a window type, such as maximise|undecorate
1411@item Allows exceptions to the rules, based on string matching for window name
1412and window class.
1413@item Allows @code{reversing} of rules when the user manually changes something:
1414Re-decorates windows on un-maximise.
1415@end enumerate\n")
1416 (license license:gpl3+)))
1417
1418(define-public mate-screensaver
1419 (package
1420 (name "mate-screensaver")
1421 (version "1.28.0")
1422 (source
1423 (origin
1424 (method url-fetch)
1425 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
1426 "mate-screensaver-" version ".tar.xz"))
1427 (sha256
1428 (base32 "0w7awc8a9q2hsqz51p2zln4adb6l7zk57aql07hrabsaz2l283va"))))
1429 (build-system glib-or-gtk-build-system)
1430 (arguments
1431 `(#:configure-flags
1432 ;; FIXME: There is a permissions problem with screen locking
1433 ;; which effectively locks you out completely. Enable locking
1434 ;; once this has been fixed.
1435 (list "--enable-locking" "--with-kbd-layout-indicator"
1436 "--with-xf86gamma-ext" "--enable-pam"
1437 "--disable-schemas-compile" "--without-console-kit")
1438 #:phases
1439 (modify-phases %standard-phases
1440 (add-after 'unpack 'autoconf
1441 (lambda* (#:key outputs #:allow-other-keys)
1442 (let* ((out (assoc-ref outputs "out"))
1443 (dbus-dir (string-append out "/share/dbus-1/services")))
1444 (setenv "SHELL" (which "sh"))
1445 (setenv "CONFIG_SHELL" (which "sh"))
1446 (substitute* "configure"
1447 (("dbus-1") ""))))))))
1448 (native-inputs
1449 `(("automake" ,automake)
1450 ("autoconf" ,autoconf)
1451 ("gettext" ,gettext-minimal)
1452 ("intltool" ,intltool)
1453 ("mate-common" ,mate-common)
1454 ("pkg-config" ,pkg-config)
1455 ("which" ,which)
1456 ("xorgproto" ,xorgproto)))
1457 (inputs
1458 (list cairo
1459 dconf
1460 dbus
1461 dbus-glib
1462 glib
1463 gtk+
1464 (librsvg-for-system)
1465 libcanberra
1466 libglade
1467 libmatekbd
1468 libnotify
1469 libx11
1470 libxext
1471 libxklavier
1472 libxrandr
1473 libxrender
1474 libxscrnsaver
1475 libxxf86vm
1476 linux-pam
1477 mate-desktop
1478 mate-menus
1479 pango
1480 startup-notification))
1481 (home-page "https://mate-desktop.org/")
1482 (synopsis "Screensaver for MATE")
1483 (description
1484 "MATE backgrounds package contains a collection of graphics files which
1485can be used as backgrounds in the MATE Desktop environment.")
1486 (license license:gpl2+)))
1487
1488(define-public mate-utils
1489 (package
1490 (name "mate-utils")
1491 (version "1.28.0")
1492 (source
1493 (origin
1494 (method url-fetch)
1495 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
1496 name "-" version ".tar.xz"))
1497 (sha256
1498 (base32
1499 "1lw85zr38666y5zywsy2gzs9f7n2k1z9zjkq7gq0z40x1mx9si2q"))))
1500 (build-system glib-or-gtk-build-system)
1501 (arguments
1502 ;; Newer itstool does the following--and that causes parallel builds to fail:
1503 ;; <https://github.com/itstool/itstool/commit/d3adf0264ee2b6fd28b7eff7dec33501d6e75a7c>
1504 (list #:parallel-build? #f))
1505 (native-inputs
1506 (list gettext-minimal
1507 gtk-doc/stable
1508 intltool
1509 libice
1510 libsm
1511 pkg-config
1512 xorgproto
1513 yelp-tools))
1514 (inputs
1515 (list at-spi2-core
1516 cairo
1517 glib
1518 gtk+
1519 (librsvg-for-system)
1520 libcanberra
1521 libgtop
1522 libx11
1523 libxext
1524 mate-desktop
1525 mate-panel
1526 pango
1527 startup-notification
1528 udisks
1529 zlib))
1530 (home-page "https://mate-desktop.org/")
1531 (synopsis "Utilities for the MATE Desktop")
1532 (description
1533 "Mate Utilities for the MATE Desktop containing:
1534
1535@enumerate
1536@item mate-system-log
1537@item mate-search-tool
1538@item mate-dictionary
1539@item mate-screenshot
1540@item mate-disk-usage-analyzer
1541@end enumerate\n")
1542 (license (list license:gpl2
1543 license:fdl1.1+
1544 license:lgpl2.1))))
1545
1546(define-public eom
1547 (package
1548 (name "eom")
1549 (version "1.28.0")
1550 (source
1551 (origin
1552 (method url-fetch)
1553 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
1554 "eom-" version ".tar.xz"))
1555 (sha256
1556 (base32 "1g1sspnj7r077bfaywj6qhq4gvc2y7jylrf8b1r8q6jsk6rcl0cs"))))
1557 (build-system glib-or-gtk-build-system)
1558 (native-inputs
1559 (list gettext-minimal
1560 gtk-doc/stable
1561 gobject-introspection
1562 intltool
1563 pkg-config
1564 yelp-tools))
1565 (inputs
1566 (list at-spi2-core
1567 cairo
1568 dconf
1569 dbus
1570 dbus-glib
1571 exempi
1572 glib
1573 gtk+
1574 libcanberra
1575 libx11
1576 libxext
1577 libpeas
1578 libxml2
1579 libexif
1580 libjpeg-turbo
1581 (librsvg-for-system)
1582 lcms
1583 mate-desktop
1584 pango
1585 shared-mime-info
1586 startup-notification
1587 zlib))
1588 (home-page "https://mate-desktop.org/")
1589 (synopsis "Eye of MATE")
1590 (description
1591 "Eye of MATE is the Image viewer for the MATE Desktop.")
1592 (license license:gpl2)))
1593
1594(define-public engrampa
1595 (package
1596 (name "engrampa")
1597 (version "1.28.2")
1598 (source
1599 (origin
1600 (method url-fetch)
1601 (uri (string-append "mirror://mate/"
1602 (version-major+minor version)
1603 "/"
1604 "engrampa-"
1605 version
1606 ".tar.xz"))
1607 (sha256
1608 (base32 "1vq9mi87c0agfwysrbki155835xgv5qm2cbzld1qigs56z17g68y"))))
1609 (build-system glib-or-gtk-build-system)
1610 (arguments
1611 (list
1612 #:configure-flags
1613 #~(list "--disable-schemas-compile" "--disable-run-in-place"
1614 "--enable-magic" "--enable-packagekit"
1615 (string-append "--with-cajadir="
1616 #$output "/lib/caja/extensions-2.0/"))
1617 #:phases
1618 #~(modify-phases %standard-phases
1619 (add-before 'install 'skip-gtk-update-icon-cache
1620 ;; Don't create 'icon-theme.cache'.
1621 (lambda _
1622 (substitute* "data/Makefile"
1623 (("gtk-update-icon-cache")
1624 "true")) #t)))))
1625 (native-inputs
1626 (list gettext-minimal
1627 gtk-doc/stable
1628 intltool
1629 pkg-config
1630 yelp-tools))
1631 (inputs (list caja
1632 file
1633 glib
1634 gtk+
1635 (librsvg-for-system)
1636 json-glib
1637 libcanberra
1638 libx11
1639 libsm
1640 packagekit
1641 pango))
1642 (home-page "https://mate-desktop.org/")
1643 (synopsis "Archive Manager for MATE")
1644 (description "Engrampa is the archive manager for the MATE Desktop.")
1645 (license license:gpl2)))
1646
1647(define-public pluma
1648 (package
1649 (name "pluma")
1650 (version "1.28.0")
1651 (source
1652 (origin
1653 (method url-fetch)
1654 (uri (string-append "mirror://mate/"
1655 (version-major+minor version)
1656 "/"
1657 name
1658 "-"
1659 version
1660 ".tar.xz"))
1661 (sha256
1662 (base32 "1m51cmcl6z68bx37zhi72wfl58kq9bg7xcih1sjr6l1li6axz2ma"))))
1663 (build-system glib-or-gtk-build-system)
1664 (arguments
1665 (list
1666 #:configure-flags
1667 #~(list "--enable-python")
1668 #:phases
1669 #~(modify-phases %standard-phases
1670 (add-after 'install 'wrap-pluma
1671 (lambda* (#:key outputs #:allow-other-keys)
1672 (wrap-program (search-input-file outputs "bin/pluma")
1673 ;; For plugins (same as gedit).
1674 `("GI_TYPELIB_PATH" ":" prefix
1675 (,(getenv "GI_TYPELIB_PATH")))
1676 `("GUIX_PYTHONPATH" ":" prefix
1677 (,(getenv "GUIX_PYTHONPATH")))
1678 ;; For language-specs.
1679 `("XDG_DATA_DIRS" ":" prefix
1680 (,(string-append #$(this-package-input "gtksourceview")
1681 "/share")))))))
1682 ;; Tests can not succeed.
1683 ;; https://github.com/mate-desktop/mate-text-editor/issues/33
1684 #:tests? #f))
1685 (native-inputs (list gettext-minimal
1686 gtk-doc/stable
1687 gobject-introspection
1688 intltool
1689 libtool
1690 perl
1691 pkg-config
1692 yelp-tools))
1693 (inputs (list at-spi2-core
1694 cairo
1695 enchant
1696 glib
1697 gtk+
1698 gtksourceview-4
1699 gdk-pixbuf
1700 iso-codes/pinned
1701 libcanberra
1702 libx11
1703 libsm
1704 libpeas
1705 libxml2
1706 libice
1707 mate-desktop
1708 packagekit
1709 pango
1710 python
1711 python-pygobject
1712 python-wrapper
1713 python-pycairo
1714 python-six
1715 startup-notification))
1716 (home-page "https://mate-desktop.org/")
1717 (synopsis "Text Editor for MATE")
1718 (description "Pluma is the text editor for the MATE Desktop.")
1719 (license license:gpl2)))
1720
1721(define-public mate-system-monitor
1722 (package
1723 (name "mate-system-monitor")
1724 (version "1.28.1")
1725 (source
1726 (origin
1727 (method url-fetch)
1728 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
1729 "mate-system-monitor-" version ".tar.xz"))
1730 (sha256
1731 (base32 "09asjqln7sn6rbqy8anwfnnf5wfnhdwm9xhkphg3dd8gp7b67mj2"))))
1732 (build-system glib-or-gtk-build-system)
1733 (arguments
1734 `(#:configure-flags '("--enable-systemd=no")))
1735 (native-inputs
1736 (list autoconf gettext-minimal intltool pkg-config yelp-tools))
1737 (inputs
1738 (list cairo
1739 glib
1740 glibmm
1741 gtkmm-3
1742 gtk+
1743 gdk-pixbuf
1744 libsigc++
1745 libcanberra
1746 libxml2
1747 libwnck
1748 libgtop
1749 (librsvg-for-system)
1750 polkit))
1751 (home-page "https://mate-desktop.org/")
1752 (synopsis "System Monitor for MATE")
1753 (description
1754 "Mate System Monitor provides a tool for for the
1755MATE Desktop to monitor your system resources and usage.")
1756 (license license:gpl2)))
1757
1758(define-public mate-polkit
1759 (package
1760 (name "mate-polkit")
1761 (version "1.28.1")
1762 (source
1763 (origin
1764 (method url-fetch)
1765 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
1766 name "-" version ".tar.xz"))
1767 (sha256
1768 (base32
1769 "1s2ac2p5smiwr7lf4snciyb9waclychjmzrw32f2qspdm381s2im"))))
1770 (build-system glib-or-gtk-build-system)
1771 (arguments
1772 (list
1773 #:phases
1774 #~(modify-phases %standard-phases
1775 (add-after 'install 'enable-autostart-for-xfce
1776 (lambda _
1777 ;; We also use mate-polkit in Xfce.
1778 (substitute* (string-append
1779 #$output
1780 "/etc/xdg/autostart/"
1781 "polkit-mate-authentication-agent-1.desktop")
1782 (("OnlyShowIn=MATE;") "OnlyShowIn=MATE;XFCE;")))))))
1783 (native-inputs
1784 (list gettext-minimal gtk-doc/stable intltool libtool pkg-config))
1785 (inputs
1786 (list accountsservice
1787 glib
1788 gobject-introspection
1789 gtk+
1790 gdk-pixbuf
1791 polkit))
1792 (home-page "https://mate-desktop.org/")
1793 (synopsis "Polkit authentication agent for MATE")
1794 (description
1795 "MATE Polkit is a MATE specific D-Bus service that is
1796used to bring up authentication dialogs.")
1797 (license license:lgpl2.1)))
1798
1799(define-public mozo
1800 (package
1801 (name "mozo")
1802 (version "1.28.0")
1803 (source
1804 (origin
1805 (method url-fetch)
1806 (uri (string-append "mirror://mate/" (version-major+minor version) "/"
1807 "mozo-" version ".tar.xz"))
1808 (sha256
1809 (base32 "0929yk7g7103d18p400ysi19pqrxl3dyzg4l0mnw7a3azm7ri67y"))))
1810 (build-system glib-or-gtk-build-system)
1811 (arguments
1812 (list
1813 #:imported-modules (append %glib-or-gtk-build-system-modules
1814 %pyproject-build-system-modules)
1815 #:modules '((guix build utils)
1816 (guix build glib-or-gtk-build-system)
1817 ((guix build pyproject-build-system) #:prefix python:))
1818 #:phases
1819 #~(modify-phases %standard-phases
1820 (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
1821 (lambda* (#:key inputs outputs #:allow-other-keys)
1822 (wrap-program (search-input-file outputs "bin/mozo")
1823 `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")
1824 ,(python:site-packages inputs outputs)))
1825 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))))
1826 (native-inputs
1827 (list pkg-config))
1828 (inputs
1829 (list gettext-minimal
1830 gtk+
1831 mate-menus
1832 mate-panel
1833 python
1834 python-pygobject))
1835 (home-page "https://mate-desktop.org/")
1836 (synopsis "Menu editor for MATE")
1837 (description "Mozo is a menu editor for MATE using the freedesktop.org
1838menu specification.")
1839 (license (list license:lgpl2.1+))))
1840
1841
1842(define-public mate
1843 (package
1844 (name "mate")
1845 (version (package-version mate-desktop))
1846 (source #f)
1847 (build-system trivial-build-system)
1848 (arguments '(#:builder (mkdir %output)))
1849 (propagated-inputs
1850 ;; TODO: Add more packages
1851 (append (if (or (%current-target-system)
1852 (supported-package? gnome-keyring))
1853 (list gnome-keyring)
1854 '())
1855 (list at-spi2-core
1856 atril
1857 caja
1858 dbus
1859 dconf
1860 dconf-editor
1861 desktop-file-utils
1862 engrampa
1863 eom
1864 font-abattis-cantarell
1865 font-dejavu ;default font
1866 glib-networking
1867 gvfs
1868 hicolor-icon-theme
1869 marco
1870 mate-session-manager
1871 mate-settings-daemon
1872 mate-desktop
1873 mate-terminal
1874 mate-themes
1875 mate-icon-theme
1876 mate-power-manager
1877 mate-menus
1878 mate-notification-daemon
1879 mate-panel
1880 mate-control-center
1881 mate-media
1882 mate-applets
1883 mate-sensors-applet
1884 mate-user-guide
1885 mate-calc
1886 mate-backgrounds
1887 mate-netbook
1888 mate-polkit
1889 mate-system-monitor
1890 mate-utils
1891 mozo
1892 pluma
1893 pinentry-gnome3
1894 pulseaudio
1895 shared-mime-info
1896 yelp
1897 zenity)))
1898 (synopsis "The MATE desktop environment")
1899 (home-page "https://mate-desktop.org/")
1900 (description
1901 "The MATE Desktop Environment is the continuation of GNOME 2. It provides
1902an intuitive and attractive desktop environment using traditional metaphors for
1903GNU/Linux systems. MATE is under active development to add support for new
1904technologies while preserving a traditional desktop experience.")
1905 (license license:gpl2+)))