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