projects/guix·blob python-team · refs

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