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
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
|
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2014, 2015, 2016 Alex Kost <alezost@gmail.com>
;;; Copyright © 2013, 2015, 2017-2019, 2021-2022 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2015, 2016 Mathieu Lirzin <mthl@gnu.org>
;;; Copyright © 2015 Alexander I.Grafov <grafov@gmail.com>
;;; Copyright © 2015 Andy Wingo <wingo@igalia.com>
;;; Copyright © 2015 xd1le <elisp.vim@gmail.com>
;;; Copyright © 2015 Florian Paul Schmidt <mista.tapas@gmx.net>
;;; Copyright © 2016 Christine Lemmer-Webber <cwebber@dustycloud.org>
;;; Copyright © 2016, 2018 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
;;; Copyright © 2016, 2017, 2019, 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2016 Petter <petter@mykolab.ch>
;;; Copyright © 2017 Mekeor Melire <mekeor.melire@gmail.com>
;;; Copyright © 2017 Nikita <nikita@n0.is>
;;; Copyright © 2017–2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2017 Marek Benc <dusxmt@gmx.com>
;;; Copyright © 2017 Mike Gerwitz <mtg@gnu.org>
;;; Copyright © 2018 Thomas Sigurdsen <tonton@riseup.net>
;;; Copyright © 2018, 2019 Rutger Helling <rhelling@mykolab.com>
;;; Copyright © 2018, 2019 Pierre Neidhardt <mail@ambrevar.xyz>
;;; Copyright © 2018 Nam Nguyen <namn@berkeley.edu>
;;; Copyright © 2019 Wiktor Żelazny <wzelazny@vurv.cz>
;;; Copyright © 2019 Kyle Andrews <kyle.c.andrews@gmail.com>
;;; Copyright © 2019, 2020 Josh Holland <josh@inv.alid.pw>
;;; Copyright © 2019, 2021 Tanguy Le Carrour <tanguy@bioneland.org>
;;; Copyright © 2020, 2021 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2020 David Wilson <david@daviwil.com>
;;; Copyright © 2020 Ivan Vilata i Balaguer <ivan@selidor.net>
;;; Copyright © 2020, 2021 Brice Waegeneire <brice@waegenei.re>
;;; Copyright © 2020 Damien Cassou <damien@cassou.me>
;;; Copyright © 2020 John Soo <jsoo1@asu.edu>
;;; Copyright © 2020 Boris A. Dekshteyn <boris.dekshteyn@gmail.com>
;;; Copyright © 2020 Alex McGrath <amk@amk.ie>
;;; Copyright © 2020 Ivan Kozlov <kanichos@yandex.ru>
;;; Copyright © 2020 Brett Gilio <brettg@gnu.org>
;;; Copyright © 2020 Gabriel Arazas <foo.dogsquared@gmail.com>
;;; Copyright © 2020 James Smith <jsubuntuxp@disroot.org>
;;; Copyright © 2020 B. Wilson <elaexuotee@wilsonb.com>
;;; Copyright © 2020, 2021 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021, 2022 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
;;; Copyright © 2021 Renzo Poddighe <renzo@poddighe.nl>
;;; Copyright © 2021 Paul A. Patience <paul@apatience.com>
;;; Copyright © 2021 Niklas Eklund <niklas.eklund@posteo.net>
;;; Copyright © 2021 Nikita Domnitskii <nikita@domnitskii.me>
;;; Copyright © 2021 ikasero <ahmed@ikasero.com>
;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
;;; Copyright © 2021 jgart <jgart@dismail.de>
;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com>
;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com>
;;; Copyright © 2022 Derek Chuank <derekchuank@outlook.com>
;;; Copyright © 2022 Wamm K. D. <jaft.r@outlook.com>
;;;
;;; 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 xdisorg)
#:use-module (guix build-system cmake)
#:use-module (guix build-system copy)
#:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system gnu)
#:use-module (guix build-system meson)
#:use-module (guix build-system python)
#:use-module (guix build-system scons)
#:use-module (guix download)
#:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix hg-download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (gnu packages admin)
#:use-module (gnu packages algebra)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
#:use-module (gnu packages bison)
#:use-module (gnu packages build-tools)
#:use-module (gnu packages check)
#:use-module (gnu packages compression)
#:use-module (gnu packages documentation)
#:use-module (gnu packages flex)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gawk)
#:use-module (gnu packages gettext)
#:use-module (gnu packages gl)
#:use-module (gnu packages gl)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gtk)
#:use-module (gnu packages guile)
#:use-module (gnu packages haskell-xyz)
#:use-module (gnu packages icu4c)
#:use-module (gnu packages image)
#:use-module (gnu packages libbsd)
#:use-module (gnu packages libevent)
#:use-module (gnu packages linux)
#:use-module (gnu packages m4)
#:use-module (gnu packages man)
#:use-module (gnu packages maths)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages qt)
#:use-module (gnu packages sphinx)
#:use-module (gnu packages tcl)
#:use-module (gnu packages terminals)
#:use-module (gnu packages xml)
#:use-module (gnu packages xorg)
#:use-module (gnu packages)
#:use-module (ice-9 match))
;; packages outside the x.org system proper
(define-public xtitle
(package
(name "xtitle")
(version "0.4.4")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/baskerville/xtitle")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "0f5070k2bwarghl1vq886pl52xck1x5p7x3qhlfchsc2y3dcqms9"))))
(build-system gnu-build-system)
(inputs
(list libxcb xcb-util xcb-util-wm))
(arguments
`(#:tests? #f ;no test suite
#:make-flags (list (string-append "CC=" ,(cc-for-target))
(string-append "PREFIX=" %output))
#:phases (modify-phases %standard-phases (delete 'configure))))
(home-page "https://github.com/baskerville/xtitle")
(synopsis "Output X window titles")
(description
"If arguments are given, @code{xtitle} outputs the title of each
specified window, otherwise it outputs the title of the active window. With
@emph{snoop} mode on, it continuously monitors the specified windows and
outputs when titles change.")
(license license:unlicense)))
(define-public xvkbd
(package
(name "xvkbd")
(version "4.1")
(source
(origin
(method url-fetch)
(uri (string-append "http://t-sato.in.coocan.jp/xvkbd/xvkbd-"
version ".tar.gz"))
(sha256
(base32 "1x5yldv9y99cw5hzzs73ygdn1z80zns9hz0baa355r711zghfbcm"))))
(build-system gnu-build-system)
(arguments
(list #:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'remove-bugs
;; Both variables are inexplicably but explicitly set to
;; $(pkg-config --variable=VARIABLE xt) instead of our own.
(lambda _
(substitute* "Makefile.in"
(("^(appdefaultdir|datarootdir) = .*" _ variable)
(string-append variable " = @" variable "@\n"))))))))
(native-inputs
(list pkg-config))
(inputs
(list libxaw libxmu libxtst))
(home-page "http://t-sato.in.coocan.jp/xvkbd/")
(synopsis "Virtual computer keyboard for the X Window System")
(description
"The @acronym{xvkbd, X virtual keyboard} displays a drawing of a computer
keyboard in a window on the screen. Clicking on its keys sends the
corresponding keystroke(s) to other X clients, as if typed on a physical
keyboard.
This is useful for systems without keyboard hardware but with a pointing device,
such as kiosk terminals or handheld devices with touch screens.
A limited number of keyboard layouts are available, as is dictionary completion.
You can also use xvkbd to send a series of predetermined keystrokes from the
command line, without displaying a keyboard at all.")
(license license:gpl2+)))
(define-public arandr
(package
(name "arandr")
(version "0.1.10")
(source (origin
(method url-fetch)
(uri (string-append "https://christian.amsuess.com/tools/arandr"
"/files/arandr-" version ".tar.gz"))
(sha256
(base32
"135q0llvm077jil2fr92ssw3p095m4r8jfj0lc5rr3m71n4srj6v"))
(modules '((guix build utils)))
(snippet
'(begin
;; Do not record a timestamp and file name in gzipped man
;; pages (this is equivalent to 'gzip --no-name'.)
(substitute* "setup.py"
(("gzip\\.open\\(gzfile, 'w', 9\\)")
"gzip.GzipFile('', 'wb', 9, open(gzfile, 'wb'), 0.)"))
#t))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'build 'configure
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "screenlayout/xrandr.py"
(("\"xrandr\"") (string-append "\"" (assoc-ref inputs "xrandr")
"/bin/xrandr\"")))
#t))
(add-after 'install 'wrap-gi-typelib
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))
(gi-typelib-path (getenv "GI_TYPELIB_PATH")))
(wrap-program (string-append out "/bin/arandr")
`("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
#t)))
#:tests? #f)) ;no tests
(inputs `(("gtk+" ,gtk+)
("pycairo" ,python-pycairo)
("pygobject" ,python-pygobject)
("xrandr" ,xrandr)))
(native-inputs `(("gettext" ,gettext-minimal)
("python-docutils" ,python-docutils)))
(home-page "https://christian.amsuess.com/tools/arandr/")
(synopsis "Another RandR graphical user interface")
;; TRANSLATORS: "X11 resize-and-rotate" should not be translated.
(description "ARandR is designed to provide a simple visual front end for
the X11 resize-and-rotate (RandR) extension. Relative monitor positions are
shown graphically and can be changed in a drag-and-drop way. Configurations
are saved as executable shell scripts which can be loaded without using this
program.")
(license license:gpl3+)))
(define-public autorandr
(package
(name "autorandr")
(version "1.10.1")
(home-page "https://github.com/phillipberndt/autorandr")
(source
(origin
(method git-fetch)
(uri (git-reference
(url home-page)
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "0msw9b1hdy3gbq9w5d04mfizhyirz1c648x84mlcbzl8salm7vpg"))))
(build-system python-build-system)
(native-inputs
(list pkg-config))
(inputs
(list xrandr libxcb))
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'build 'configure
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((xrandr (search-input-file inputs "/bin/xrandr")))
(substitute* "contrib/etc/xdg/autostart/autorandr.desktop"
(("/usr") (assoc-ref outputs "out")))
(substitute* "autorandr.py"
(("popen\\(\"xrandr") (string-append "popen(\"" xrandr))
(("\\[\"xrandr") (string-append "[\"" xrandr)))
(substitute* "contrib/autorandr_launcher/autorandr_launcher.c"
(("/usr/bin/autorandr")
(string-append (assoc-ref outputs "out") "/bin/autorandr")))
(setenv "CC" "gcc"))
#t))
(add-after 'install 'install-contrib
(lambda* (#:key outputs #:allow-other-keys)
(invoke "make"
(string-append "DESTDIR=" (assoc-ref outputs "out"))
"PREFIX="
"BASH_COMPLETIONS_DIR=etc/bash_completion.d"
"install"
"TARGETS=autorandr launcher manpage bash_completion"))))))
(synopsis "Auto-detect connected displays and load appropriate setup")
(description "Autorandr wraps around xrandr to help with X11
multi-screen configuration management. It allows the user to create profiles
for various multi-screen setups. Autorandr automatically detects the profiles
that can be activated based on the connected hardware. Hook scripts can be
used to further tweak the behaviour of the different profiles.")
(license license:gpl3+)))
(define-public bemenu
(package
(name "bemenu")
(version "0.6.4")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/Cloudef/bemenu")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "18vplvnymgc6576sdh84lm5rlwyb9d038plqpjs638hzskf4q577"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f
#:make-flags (list ,(string-append "CC=" (cc-for-target))
"CFLAGS=-O2 -fPIC"
(string-append "LDFLAGS=-Wl,-rpath="
(assoc-ref %outputs "out") "/lib")
(string-append "PREFIX=" (assoc-ref %outputs "out")))
#:phases
(modify-phases %standard-phases
(delete 'configure)))) ; no configure script
(inputs
`(("cairo" ,cairo)
("libx11" ,libx11)
("libxkbcomon" ,libxkbcommon)
("libxinerama" ,libxinerama)
("ncurses" ,ncurses)
("pango" ,pango)
("wayland" ,wayland)
("wayland-protocols" ,wayland-protocols)))
(native-inputs
(list doxygen pkg-config))
(home-page "https://github.com/Cloudef/bemenu")
(synopsis "Dynamic menu library and client program inspired by dmenu")
(description
"bemenu is a dynamic menu which allows the user to flexibly select from a
list of options (usually programs to launch). It renders the menu graphically
with X11 or Wayland, or in a text terminal with ncurses.")
(license (list license:gpl3+ ; client program[s] and other sources
license:lgpl3+)))) ; library and bindings
(define-public copyq
(package
(name "copyq")
(version "3.9.3")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/hluk/CopyQ")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0wlwq9xg8rzsbj0b29z358k4mbrqy04iraa8x0p26pa95yskgcma"))))
(build-system cmake-build-system)
(arguments
`(#:configure-flags '("-DCMAKE_BUILD_TYPE=Release")
#:tests? #f)) ; Test suite is a rather manual process.
(inputs
(list qtbase-5 qtscript qtsvg-5 qtx11extras))
(synopsis "Clipboard manager with advanced features")
(description "CopyQ is clipboard manager with editing and scripting
features. CopyQ monitors system clipboard and saves its content in customized
tabs. Saved clipboard can be later copied and pasted directly into any
application.")
(home-page "https://hluk.github.io/CopyQ/")
(license license:gpl3+)))
(define-public xkeysnail
(package
(name "xkeysnail")
(version "0.4.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "xkeysnail" version))
(sha256
(base32
"1xyqp6yqxcwmxaqj86qcsiz0ly7bwr0a2w835myz909irhip3ngf"))))
(build-system python-build-system)
(arguments
`(#:tests? #f)) ;tests need /dev/uinput
(inputs
(list python-appdirs python-evdev python-inotify-simple python-xlib
python-six))
(home-page "https://github.com/mooz/xkeysnail")
(synopsis "Keyboard remapping tool for the X11 environment")
(description
"Xkeysnail is an X environment keyboard remapping tool, featuring
high-level and flexible remapping mechanisms. It affects the low-level
layers (evdev and uinput), making remapping work in almost all the places.")
(license license:gpl3+))) ; see README.md (no licence headers)
(define-public xkb-switch
(package
(name "xkb-switch")
(version "1.8.5")
(source
(origin
(method git-fetch)
(uri
(git-reference
(url "https://github.com/grwlf/xkb-switch")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1sd6ihgsswp6hjm1i4y092n4gl3gj0bc22grz4n7iy43mwphi40d"))))
(build-system cmake-build-system)
(arguments
`(#:tests? #f)) ;no test target
(inputs
(list libx11 libxkbfile))
(home-page "https://github.com/grwlf/xkb-switch")
(synopsis "Switch your X keyboard layouts from the command line")
(description
"xkb-switch is a C++ program that queries and changes the XKB layout
state.")
(license license:gpl3+)))
(define-public xkblayout
;; Upstream doesn't have any version numbers
(let ((version "0.0.0")
(revision "0")
(commit "c0851b0f4bc9bc1a07240605baac8e50abe63fa8"))
(package
(name "xkblayout")
(version (git-version version revision commit))
(home-page "https://gitlab.freedesktop.org/whot/xkblayout")
(source
(origin
(method git-fetch)
(uri (git-reference
(url home-page)
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "0057988l5l7pmwg7dp6cqvj5l4lr0g5z3wq189g6kz36l9rmh675"))))
(build-system python-build-system)
(synopsis "XKB layout template generator")
(description "xkblayout is a CLI application to generate templates for
a new XKB layout, either in the user's home directory or the system directory.")
(license license:gpl3+))))
(define-public xclip
(package
(name "xclip")
(version "0.13")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/astrand/xclip")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"0q0hmvcjlv8arhh1pzhja2wglyj6n7z209jnpnzd281kqqv4czcs"))))
(build-system gnu-build-system)
(arguments
'(#:tests? #f)) ;there is no test suite
(native-inputs
(list autoconf automake))
(inputs (list libxmu libxt))
(home-page "https://github.com/astrand/xclip")
(synopsis "Command line interface to X11 clipboard")
(description "Xclip is a command line interface to the X11 clipboard. It
can also be used for copying files, as an alternative to sftp/scp, thus
avoiding password prompts when X11 forwarding has already been setup.")
(license license:gpl2+)))
(define-public libxkbcommon
(package
(name "libxkbcommon")
(version "1.4.1")
(source (origin
(method url-fetch)
(uri (string-append "https://xkbcommon.org/download/libxkbcommon-"
version ".tar.xz"))
(sha256
(base32
"0fbb2dyjvf71p42y2jmwdcylsvj03w52f5rb23c2d00rwahhfg4l"))))
(build-system meson-build-system)
(inputs
(list libx11
libxcb
libxml2
wayland
wayland-protocols
xkeyboard-config))
(native-inputs
(list bison doxygen pkg-config python))
(arguments
(list #:configure-flags
#~(list (string-append "-Dxkb-config-root="
(search-input-directory %build-inputs
"share/X11/xkb"))
(string-append "-Dx-locale-root="
(search-input-directory %build-inputs
"share/X11/locale")))))
(home-page "https://xkbcommon.org/")
(synopsis "Library to handle keyboard descriptions")
(description "Xkbcommon is a library to handle keyboard descriptions,
including loading them from disk, parsing them and handling their
state. It is mainly meant for client toolkits, window systems, and other
system applications; currently that includes Wayland, kmscon, GTK+, Qt,
Clutter, and more. Despite the name, it is not currently used by anything
X11 (yet).")
(license (license:x11-style "file://COPYING"
"See 'COPYING' in the distribution."))
(properties '((cpe-name . "xkbcommon")))))
(define-public libfakekey
(package
(name "libfakekey")
(version "0.3")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://git.yoctoproject.org/git/libfakekey")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1jw1d4wc1ysiijirc7apnz3sryrxbl9akgb92mh06dvfkz2nblj0"))))
(build-system gnu-build-system)
(arguments
`(#:make-flags (list "AM_LDFLAGS=-lX11")
#:phases
(modify-phases %standard-phases
(replace 'bootstrap
;; ./autogen.sh calls ./configure before shebangs have been patched.
(lambda _
(invoke "autoreconf" "-vfi"))))))
(native-inputs
(list pkg-config
;; For bootstrapping from git.
autoconf automake libtool))
(inputs
(list libxtst libx11))
(home-page "https://www.yoctoproject.org/tools-resources/projects/matchbox")
(synopsis "X virtual keyboard library")
(description
"Libfakekey is a virtual keyboard library for X.")
(license license:gpl2)))
(define-public xdotool
(package
(name "xdotool")
(version "3.20211022.1")
(source
(origin
(method url-fetch)
(uri (string-append
"https://github.com/jordansissel/xdotool/releases/download/v"
version "/xdotool-" version ".tar.gz"))
(sha256
(base32
"1nlsbwsdsgys607f00sc8xgb7l7cdzsb14avsg5fly3dvv7zmw4n"))))
(build-system gnu-build-system)
(arguments
'(#:tests? #f ; Test suite requires a lot of black magic
#:phases
(modify-phases %standard-phases
(replace 'configure
(lambda* (#:key outputs #:allow-other-keys #:rest args)
(let ((out (assoc-ref outputs "out")))
(mkdir-p (string-append out "/lib"))
(setenv "PREFIX" out)
(setenv "LDFLAGS" (string-append "-Wl,-rpath=" out "/lib"))
(setenv "CC" "gcc")
#t))))))
(native-inputs (list perl)) ; for pod2man
(inputs (list libx11
libxext
libxi
libxinerama
libxtst
libxkbcommon))
(home-page "https://www.semicomplete.com/projects/xdotool/")
(synopsis "Fake keyboard/mouse input, window management, and more")
(description "Xdotool lets you simulate keyboard input and mouse activity,
move and resize windows, etc. It does this using X11's XTEST extension and
other Xlib functions. Additionally, you can search for windows and move,
resize, hide, and modify window properties like the title. If your window
manager supports it, you can use xdotool to switch desktops, move windows
between desktops, and change the number of desktops.")
(license license:bsd-3)))
(define-public xdo
(package
(name "xdo")
(version "0.5.7")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/baskerville/xdo")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1h3jrygcjjbavdbkpx2hscsf0yf97gk487lzjdlvymd7dxdv9hy9"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; no tests
#:make-flags
(list (string-append "CC=" ,(cc-for-target))
(string-append "PREFIX=" %output))
#:phases
(modify-phases %standard-phases
(delete 'configure))))
(inputs
(list libxcb xcb-util-wm xcb-util))
(home-page "https://github.com/baskerville/xdo")
(synopsis "Small X utility to perform elementary actions on windows")
(description
"Apply the given action to the given windows. If no window IDs and no
options are given, the action applies to the focused window.")
(license license:bsd-2)))
(define-public xeyes
(package
(name "xeyes")
(version "1.1.2")
(source
(origin
(method url-fetch)
(uri (string-append "https://www.x.org/releases/individual/app/"
name "-" version ".tar.bz2"))
(sha256
(base32 "0lq5j7fryx1wn998jq6h3icz1h6pqrsbs3adskjzjyhn5l6yrg2p"))))
(build-system gnu-build-system)
(inputs
(list libxext libxmu libxrender libxt))
(native-inputs
(list pkg-config))
(home-page "https://www.x.org/") ; no dedicated Xeyes page exists
(synopsis "Follow-the-mouse X demo")
(description "Xeyes is a demo program for x.org. It shows eyes
following the mouse.")
(license license:x11)))
(define-public pixman
(package
(name "pixman")
(version "0.40.0")
(source
(origin
(method url-fetch)
(uri
(string-append
"https://www.cairographics.org/releases/pixman-"
version ".tar.gz"))
(sha256
(base32 "1z13n96m7x91j25qq9wlkxsbq04wfwjhw66ir17frna06zn0s83d"))
(patches
(search-patches
"pixman-CVE-2016-5296.patch"))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags
(list
"--disable-static"
"--enable-timers"
"--enable-gnuplot")))
(native-inputs
(list pkg-config))
(inputs
(list libpng zlib))
(synopsis "Low-level pixel manipulation library")
(description "Pixman is a low-level software library for pixel
manipulation, providing features such as image compositing and trapezoid
rasterisation.")
(home-page "http://www.pixman.org/")
(license license:expat)))
(define-public libdrm
(package
(name "libdrm")
(version "2.4.112")
(source (origin
(method url-fetch)
(uri (string-append
"https://dri.freedesktop.org/libdrm/libdrm-"
version ".tar.xz"))
(sha256
(base32
"1zr0hi7k5s7my4q9hyj6ryzg89zyjx24zbqfv3c5rcq9pl87gc00"))))
(build-system meson-build-system)
(arguments
(list #:configure-flags
(match (%current-system)
((or "armhf-linux" "aarch64-linux")
#~(list "-Dexynos=true"
"-Domap=true"
"-Detnaviv=true"
"-Dtegra=true"
"-Dfreedreno-kgsl=true"))
(_ ''()))
#:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "meson" "test" "--timeout-multiplier" "5")))))))
(propagated-inputs
(list libpciaccess))
(native-inputs
(list pkg-config))
(home-page "https://dri.freedesktop.org/wiki/")
(synopsis "Direct rendering userspace library")
(description "The Direct Rendering Infrastructure, also known as the DRI,
is a framework for allowing direct access to graphics hardware under the
X Window System in a safe and efficient manner. It includes changes to the
X server, to several client libraries, and to the kernel (DRM, Direct
Rendering Manager). The most important use for the DRI is to create fast
OpenGL implementations providing hardware acceleration for Mesa.
Several 3D accelerated drivers have been written to the DRI specification,
including drivers for chipsets produced by 3DFX, AMD (formerly ATI), Intel
and Matrox.")
(license license:x11)))
(define-public mtdev
(package
(name "mtdev")
(version "1.1.6")
(source
(origin
(method url-fetch)
(uri (string-append
"http://bitmath.org/code/mtdev/mtdev-"
version ".tar.bz2"))
(sha256
(base32
"1q700h9dqcm3zl6c3gj0qxxjcx6ibw2c51wjijydhwdcm26v5mqm"))))
(build-system gnu-build-system)
(arguments '(#:configure-flags '("--disable-static")))
(home-page "http://bitmath.org/code/mtdev/")
(synopsis "Multitouch protocol translation library")
(description "Mtdev is a stand-alone library which transforms all
variants of kernel MT events to the slotted type B protocol. The events
put into mtdev may be from any MT device, specifically type A without
contact tracking, type A with contact tracking, or type B with contact
tracking.")
(license license:x11)))
(define-public startup-notification
(package
(name "startup-notification")
(version "0.12")
(source
(origin
(method url-fetch)
(uri (string-append "https://www.freedesktop.org/software/" name
"/releases/" name "-" version ".tar.gz"))
(sha256
(base32
"0jmyryrpqb35y9hd5sgxqy2z0r1snw7d3ljw0jak0n0cjdz1yf9w"))))
(build-system gnu-build-system)
(native-inputs (list pkg-config))
(inputs
(list libx11 xcb-util))
(home-page "https://www.freedesktop.org/wiki/Software/startup-notification/")
(synopsis "Application startup notification and feedback library")
(description
"Startup-notification contains a reference implementation of the startup
notification protocol. The reference implementation is mostly under an X Window
System style license, and has no special dependencies.")
;; Most of the code is provided under x11 license.
(license license:lgpl2.0+)))
(define-public wmctrl
(package
(name "wmctrl")
(version "1.07")
(source (origin
(method url-fetch)
(uri (string-append
"https://sites.google.com/site/tstyblo/wmctrl/wmctrl-"
version ".tar.gz"))
(sha256
(base32
"1afclc57b9017a73mfs9w7lbdvdipmf9q0xdk116f61gnvyix2np"))
(patches (search-patches "wmctrl-64-fix.patch"))))
(build-system gnu-build-system)
(arguments
'(#:configure-flags
(list (string-append "--mandir="
(assoc-ref %outputs "out")
"/share/man"))))
(native-inputs
(list pkg-config))
(inputs
(list libx11 libxmu glib))
(home-page "http://tomas.styblo.name/wmctrl/")
(synopsis "Command-line tool to control X window managers")
(description
"Wmctrl interacts with an X window manager that is compatible
with the EWMH/NetWM specification. It can query the window manager for
information, and request for certain window management actions (resize and
move windows, switch between desktops, etc.).")
(license license:gpl2+)))
(define-public scrot
(package
(name "scrot")
(version "1.7")
(source
(origin
(method git-fetch)
(uri
(git-reference
(url "https://github.com/resurrecting-open-source-projects/scrot")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "0rls08mpalx4xp5ysmg7m5lgx9q8g8m8q40m47f11mqa84z88nd1"))))
(build-system gnu-build-system)
(native-inputs
(list autoconf autoconf-archive automake pkg-config))
(inputs
(list giblib
imlib2
libbsd
libx11
libxcomposite
libxext
libxfixes))
(home-page "https://github.com/resurrecting-open-source-projects/scrot")
(synopsis "Command-line screen capture utility for X Window System")
(description
"Scrot saves a screenshot of a full screen, a window or a part
of the screen selected by mouse.")
;; This license removes a clause about X Consortium from the original
;; X11 license.
(license (license:x11-style "file://COPYING"
"See 'COPYING' in the distribution."))))
(define-public slop
(package
(name "slop")
(version "7.6")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/naelstrof/slop")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1xaka98vka5kh3wmby68ifwi6rp0985dj13fgs96bw8a1z3m1l1d"))))
(build-system cmake-build-system)
(arguments
'(#:tests? #f)) ; no "check" target
(inputs
(list glew
glm
icu4c
libxext
libxrender
mesa))
(home-page "https://github.com/naelstrof/slop")
(synopsis "Select a region and print its bounds to stdout")
(description
"slop (Select Operation) is a tool that queries for a selection from a
user and prints the region to stdout. It grabs the mouse and turns it into a
crosshair, lets the user click and drag to make a selection (or click on a
window) while drawing a pretty box around it, then finally prints the
selection's dimensions to stdout.")
(license license:gpl3+)))
(define-public maim
(package
(name "maim")
(version "5.6.3")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/naelstrof/maim")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"181mjjrjb9fs1ficcv9miqbk94v95j1yli7fjp2dj514g7nj9l3x"))))
(build-system cmake-build-system)
(arguments
'(#:tests? #f)) ; no "check" target
(inputs
`(("glm" ,glm)
("libjpeg" ,libjpeg-turbo)
("libpng" ,libpng)
("libxcomposite" ,libxcomposite)
("libxfixes" ,libxfixes)
("libxrandr" ,libxrandr)
("mesa" ,mesa)
("slop" ,slop)
("zlib" ,zlib)))
(home-page "https://github.com/naelstrof/maim")
(synopsis "Screenshot utility for X Window System")
(description
"maim (Make Image) is a tool that takes screenshots of your desktop and
saves it in any format. Along with a full screen, it allows you to capture a
predefined region or a particular window. Also, it makes it possible to
include cursor in the resulting image.")
(license license:gpl3+)))
(define-public unclutter
(package
(name "unclutter")
(version "8")
(source (origin
(method url-fetch)
(uri (string-append
"http://ftp.x.org/contrib/utilities/unclutter-"
version ".tar.Z"))
(sha256
(base32
"0ahrr5z6wxqqfyihm112hnq0859zlxisrb3y5232zav58j6sfmdq"))))
(build-system gnu-build-system)
(arguments
'(#:tests? #f ; no check target
#:phases
(modify-phases %standard-phases
(delete 'configure)
(replace 'install
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin"))
(man1 (string-append out "/share/man/man1")))
(mkdir-p bin)
(mkdir-p man1)
(invoke "make" "install" "install.man"
(string-append "BINDIR=" bin)
(string-append "MANDIR=" man1))))))))
(inputs (list libx11))
(home-page "http://ftp.x.org/contrib/utilities/")
(synopsis "Hide idle mouse cursor")
(description
"Unclutter is a program which runs permanently in the background of an
X11 session. It checks on the X11 pointer (cursor) position every few
seconds, and when it finds it has not moved (and no buttons are pressed
on the mouse, and the cursor is not in the root window) it creates a
small sub-window as a child of the window the cursor is in. The new
window installs a cursor of size 1x1 but a mask of all 0, i.e. an
invisible cursor. This allows you to see all the text in an xterm or
xedit, for example. The human factors crowd would agree it should make
things less distracting.")
(license license:public-domain)))
(define-public unclutter-xfixes
(package
(name "unclutter-xfixes")
(version "1.5")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/Airblader/unclutter-xfixes")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"148m4wx8v57s3l2wb69y9imb00y8ca2li27hsxibwnl1wrkb7z4b"))))
(build-system gnu-build-system)
(arguments `(#:tests? #f
#:make-flags
(list ,(string-append "CC=" (cc-for-target))
(string-append "PREFIX=" (assoc-ref %outputs "out")))
#:phases
(modify-phases %standard-phases
(delete 'configure))))
(inputs
(list libx11 libev libxfixes libxi))
(native-inputs
(list asciidoc pkg-config))
(home-page "https://github.com/Airblader/unclutter-xfixes")
(synopsis "Hide idle mouse cursor")
(description
"unclutter-xfixes is a rewrite of the popular tool unclutter, but
using the x11-xfixes extension. This means that this rewrite doesn't
use fake windows or pointer grabbing and hence causes less problems
with window managers and/or applications.
Unclutter is a program which runs permanently in the background of an
X11 session. It checks on the X11 pointer (cursor) position every few
seconds, and when it finds it has not moved (and no buttons are pressed
on the mouse, and the cursor is not in the root window) it creates a
small sub-window as a child of the window the cursor is in. The new
window installs a cursor of size 1x1 but a mask of all 0, i.e. an
invisible cursor. This allows you to see all the text in an xterm or
xedit, for example. The human factors crowd would agree it should make
things less distracting.")
(license license:expat)))
(define-public xautomation
(package
(name "xautomation")
(version "1.09")
(source
(origin
(method url-fetch)
(uri (string-append "https://www.hoopajoo.net/static/projects/"
"xautomation-" version ".tar.gz"))
(sha256
(base32
"03azv5wpg65h40ip2kk1kdh58vix4vy1r9bihgsq59jx2rhjr3zf"))))
(build-system gnu-build-system)
(inputs
(list libpng libx11 libxi libxtst))
(native-inputs
(list xorgproto))
(synopsis "Tools to automate tasks in X such as detecting on screen images")
(description
"Xautomation can control X from the command line for scripts, and
do visual scraping to find things on the screen. The control interface
allows mouse movement, clicking, button up/down, key up/down, etc, and
uses the XTest extension so you don't have the annoying problems that
xse has when apps ignore sent events. The visgrep program can find
images inside of images and reports the coordinates, allowing programs
to find buttons, etc, on the screen to click on.")
(home-page "https://www.hoopajoo.net/projects/xautomation.html")
(license license:gpl2+)))
(define-public xbanish
(package
(name "xbanish")
(version "1.8")
(home-page "https://github.com/jcs/xbanish")
(source (origin
(method git-fetch)
(uri (git-reference (url home-page)
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"12mjwn8hvrrhwyg3wi20bqr6k8d57xf9m5qr3s4nn511dcksh04g"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; no tests
#:make-flags (list ,(string-append "CC=" (cc-for-target))
(string-append "PREFIX=" (assoc-ref %outputs "out")))
#:phases (modify-phases %standard-phases
(delete 'configure)))) ; no configure script
(inputs
(list libx11 libxfixes libxi libxt))
(synopsis "Banish the mouse cursor")
(description
"@command{xbanish} hides the mouse cursor when you start typing, and
shows it again when the mouse cursor moves or a mouse button is pressed.")
(license license:bsd-3)))
(define-public xlockmore
(package
(name "xlockmore")
(version "5.68")
(source (origin
(method url-fetch)
(uri (list (string-append "http://sillycycle.com/xlock/"
"xlockmore-" version ".tar.xz")
;; Previous releases are moved to a subdirectory.
(string-append "http://sillycycle.com/xlock/"
"recent-releases/"
"xlockmore-" version ".tar.xz")))
(sha256
(base32
"0vndfwccnvkaaraprjam8pmx0aj55va0ag64q6snxw83nbf1ywrh"))))
(build-system gnu-build-system)
(arguments
(list
#:configure-flags
#~(list (string-append "--enable-appdefaultdir="
#$output
"/lib/X11/app-defaults"))
#:tests? #f)) ;no such thing as a test suite
(inputs
(list libx11 libxext libxt linux-pam))
(home-page "https://sillycycle.com/xlockmore.html")
(synopsis "Screen locker for the X Window System")
(description
"XLockMore is a classic screen locker and screen saver for the
X Window System.")
(license (license:non-copyleft #f "See xlock.c.")
))) ; + GPLv2 in modes/glx/biof.c.
(define-public xosd
(package
(name "xosd")
(version "2.2.14")
(source (origin
(method url-fetch)
(uri (string-append
"mirror://sourceforge/libxosd/libxosd/xosd-" version "/"
name "-" version ".tar.gz"))
(sha256
(base32
"025m7ha89q29swkc7s38knnbn8ysl24g2h5s7imfxflm91psj7sg"))))
(build-system gnu-build-system)
(arguments
'(#:configure-flags
(list (string-append "--mandir=" %output "/share/man"))))
(inputs
(list libx11 libxt libxext libxinerama))
(home-page "https://sourceforge.net/projects/libxosd/")
(synopsis "X On Screen Display")
(description
"XOSD provides a C library and a simple utility (osd_cat) for displaying
transparent text on your screen.")
(license license:gpl2+)))
(define-public wob
(package
(name "wob")
(version "0.13")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/francma/wob/releases/download/"
version "/wob-" version ".tar.gz"))
(sha256
(base32 "0i8y6kq37qcgdq85ll4rapisjl7zw6aa11yx2f2xw2d3j93kdxh8"))))
(build-system meson-build-system)
(native-inputs
(list pkg-config scdoc))
(inputs
(list libseccomp wayland wayland-protocols))
(home-page "https://github.com/francma/wob")
(synopsis "Lightweight overlay bar for Wayland")
(description
"Wob, or Wayland Overlay Bar, is a lightweight overlay volume,
backlight, progress, or anything bar for Wayland.")
(license license:isc)))
(define-public xbindkeys
(package
(name "xbindkeys")
(version "1.8.7")
(source (origin
(method url-fetch)
;; Download from the savannah mirror list fails
(uri (string-append
"http://www.nongnu.org/xbindkeys/xbindkeys-"
version
".tar.gz"))
(sha256
(base32
"1wl2vc5alisiwyk8m07y1ryq8w3ll9ym83j27g4apm4ixjl8d6x2"))))
(build-system gnu-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'sanitise-shebang
;; This wish script uses a strange double shebang that escapes our
;; patch-shebangs phase. Assume that it's unnecessary & replace it.
(lambda _
(substitute* "xbindkeys_show"
(("^#!.*|^exec wish.*") "")
(("^# \\\\") (string-append "#!" (which "wish"))))
#t))
(add-after 'unpack 'patch-references
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(substitute* "xbindkeys_show"
(("\"(xbindkeys)\"" _ command)
(format #f "\"~a/bin/~a\"" out command)))
#t))))))
(native-inputs
(list pkg-config))
(inputs
(list guile-2.2 libx11 tk))
(home-page "https://www.nongnu.org/xbindkeys/")
(synopsis "Associate a combination of keys with a shell command")
(description
"XBindKeys is a program that allows you to launch shell commands with
your keyboard or your mouse under the X Window System. It links commands to
keys or mouse buttons, using a configuration file. It's independent of the
window manager and can capture all keyboard keys (ex: Power, Wake...). It
optionally supports a Guile-based configuration file layout, which enables you
to access all XBindKeys internals, so you can have key combinations, double
clicks or timed double clicks take actions. Also all functions that work in
Guile will work for XBindKeys.")
(license license:gpl2+)))
(define-public sxhkd
(package
(name "sxhkd")
(version "0.6.2")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/baskerville/sxhkd")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1winwzdy9yxvxnrv8gqpigl9y0c2px27mnms62bdilp4x6llrs9r"))))
(build-system gnu-build-system)
(inputs
(list asciidoc libxcb xcb-util xcb-util-keysyms xcb-util-wm))
(arguments
`(#:phases (modify-phases %standard-phases (delete 'configure))
#:tests? #f ; no check target
#:make-flags
(list ,(string-append "CC=" (cc-for-target))
(string-append "PREFIX=" %output)
;; Keep the documentation where the build system installs LICENSE.
(string-append "DOCPREFIX=" %output
"/share/doc/" ,name "-" ,version))))
(home-page "https://github.com/baskerville/sxhkd")
(synopsis "Simple X hotkey daemon")
(description "sxhkd is a simple X hotkey daemon with a powerful and
compact configuration syntax.")
(license license:bsd-2)))
(define-public rxvt-unicode
(package
(name "rxvt-unicode")
(version "9.30")
(source (origin
(method url-fetch)
(uri (string-append "http://dist.schmorp.de/rxvt-unicode/Attic/"
name "-" version ".tar.bz2"))
(sha256
(base32
"0badnkjsn3zps24r5iggj8k5v4f00npc77wqg92pcn1q5z8r677y"))))
(build-system gnu-build-system)
(arguments
;; This sets the destination when installing the necessary terminal
;; capability data, which are not provided by 'ncurses'. See
;; https://lists.gnu.org/archive/html/bug-ncurses/2009-10/msg00031.html
`(#:configure-flags (list "--enable-256-color")
#:make-flags (list (string-append "TERMINFO="
(assoc-ref %outputs "out")
"/share/terminfo"))
#:phases
(modify-phases %standard-phases
(add-after 'install 'install-desktop-urxvt
(lambda* (#:key outputs #:allow-other-keys)
(let* ((output (assoc-ref outputs "out"))
(desktop (string-append output "/share/applications")))
(mkdir-p desktop)
(with-output-to-file
(string-append desktop "/urxvt.desktop")
(lambda _
(format #t
"[Desktop Entry]~@
Name=rxvt-unicode~@
Comment=~@
Exec=~a/bin/urxvt~@
TryExec=~@*~a/bin/urxvt~@
Icon=~@
Type=Application~%"
output))))))
(add-after 'install 'install-desktop-urxvtc
(lambda* (#:key outputs #:allow-other-keys)
(let* ((output (assoc-ref outputs "out"))
(desktop (string-append output "/share/applications")))
(mkdir-p desktop)
(with-output-to-file
(string-append desktop "/urxvtc.desktop")
(lambda _
(format #t
"[Desktop Entry]~@
Name=rxvt-unicode (client)~@
Comment=Rxvt clone with XFT and unicode support~@
Exec=~a/bin/urxvtc~@
TryExec=~@*~a/bin/urxvtc~@
Icon=~@
Type=Application~%"
output)))))))))
(inputs
`(("libptytty" ,libptytty)
("libXft" ,libxft)
("libX11" ,libx11)
("libXt" ,libxt)))
(native-inputs
(list ncurses ;trigger the installation of terminfo data
perl pkg-config))
;; FIXME: This should only be located in 'ncurses'. Nonetheless it is
;; provided for usability reasons. See <https://bugs.gnu.org/22138>.
(native-search-paths
(list (search-path-specification
(variable "TERMINFO_DIRS")
(files '("share/terminfo")))))
(home-page "http://software.schmorp.de/pkg/rxvt-unicode.html")
(synopsis "Rxvt clone with XFT and unicode support")
(description "Rxvt-unicode (urxvt) is a colour vt102 terminal emulator
intended as an xterm replacement for users who do not require features such as
Tektronix 4014 emulation and toolkit-style configurability. It supports
unicode, XFT and may be extended with Perl plugins. It also comes with a
client/daemon pair that lets you open any number of terminal windows from
within a single process.")
(license license:gpl3+)))
(define-public xcape
(package
(name "xcape")
(version "1.2")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/alols/xcape")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"09a05cxgrip6nqy1qmwblamp2bhknqnqmxn7i2a1rgxa0nba95dm"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; no check target
;; no configure script
#:phases (modify-phases %standard-phases (delete 'configure))
#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
"MANDIR=/share/man/man1"
,(string-append "CC=" (cc-for-target)))))
(inputs
(list libxtst libx11))
(native-inputs
(list pkg-config))
(home-page "https://github.com/alols/xcape")
(synopsis "Use a modifier key in X.org as another key")
(description
"This utility for X.org uses a modifier key as another key when
pressed and released on its own. The default behaviour is to generate the
Escape key when Left Control is pressed and released on its own.")
(license license:gpl3+)))
(define-public libwacom
(package
(name "libwacom")
(version "2.4.0")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/linuxwacom/libwacom/releases/download/"
"libwacom-" version "/libwacom-" version ".tar.xz"))
(sha256
(base32
"056l5dndd8654bmwlxxhvx8082s7pp9bg0wm68zb56iz3rv25l6h"))))
(build-system meson-build-system)
(arguments
(list
#:configure-flags #~(list "--default-library=shared")
#:phases #~(modify-phases %standard-phases
(add-after 'unpack 'fix-tests
(lambda _
;; Do not attempt to run systemd-specific commands.
(substitute* "test/test_udev_rules.py"
(("(systemd-hwdb|systemctl)")
"true")))))))
(native-inputs
(list pkg-config
;; For tests.
python
python-evdev
python-libevdev
python-pytest
python-pyudev))
(inputs
(list gtk+ eudev libxml2))
(propagated-inputs
;; libwacom.pc 'Requires' these:
(list glib libgudev))
(home-page "https://linuxwacom.github.io/")
(synopsis "Helper library for Wacom tablet settings")
(description
"Libwacom is a library to help implement Wacom tablet settings. It is
intended to be used by client-programs that need model identification. It is
already being used by the gnome-settings-daemon and the GNOME Control Center
Wacom tablet applet.")
(license license:x11)))
(define-public xf86-input-wacom
(package
(name "xf86-input-wacom")
(version "1.1.0")
(source
(origin
(method url-fetch)
(uri (string-append
"https://github.com/linuxwacom/xf86-input-wacom/releases/download/"
"xf86-input-wacom-" version "/"
"xf86-input-wacom-" version ".tar.bz2"))
(sha256
(base32 "04ks577ag2yir7kssv8zhig4rx9xqj2wifmlrcmy4k9lgw379di3"))))
(arguments
(list #:configure-flags
#~(list (string-append "--with-sdkdir=" #$output "/include/xorg")
(string-append "--with-xorg-conf-dir=" #$output
"/share/X11/xorg.conf.d"))))
(build-system gnu-build-system)
(native-inputs (list pkg-config))
(inputs (list xorg-server libxrandr libxinerama libxi eudev))
(home-page "https://linuxwacom.github.io/")
(synopsis "Wacom input driver for X")
(description "The xf86-input-wacom driver is the wacom-specific X11 input
driver for the X.Org X Server version 1.7 and later (X11R7.5 or later).")
(license license:x11)))
(define-public redshift
(package
(name "redshift")
(version "1.12")
(source
(origin
(method url-fetch)
(uri
(string-append "https://github.com/jonls/redshift/"
"releases/download/v" version
"/redshift-" version ".tar.xz"))
(sha256
(base32
"1fi27b73x85qqar526dbd33av7mahca2ykaqwr7siqiw1qqcby6j"))))
(build-system gnu-build-system)
(arguments
`(#:imported-modules (,@%gnu-build-system-modules
(guix build python-build-system))
#:phases
(modify-phases %standard-phases
(add-after 'install 'split-outputs
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))
(gtk (assoc-ref outputs "gtk"))
(desktop-file "/share/applications/redshift-gtk.desktop"))
(mkdir-p (string-append gtk "/bin"))
(link (string-append out "/bin/redshift-gtk")
(string-append gtk "/bin/redshift-gtk"))
(delete-file (string-append out "/bin/redshift-gtk"))
(copy-recursively (string-append out "/lib")
(string-append gtk "/lib"))
(delete-file-recursively (string-append out "/lib"))
(mkdir-p (string-append gtk "/share/applications"))
(link (string-append out desktop-file)
(string-append gtk desktop-file))
(delete-file (string-append out desktop-file))
(with-directory-excursion (string-append out "/share")
(for-each (lambda (dir)
(copy-recursively
(string-append out "/share/" dir)
(string-append gtk "/share/" dir))
(delete-file-recursively dir))
'("appdata" "icons")))
#t)))
(add-after 'split-outputs 'wrap
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((gtk (assoc-ref outputs "gtk"))
(site-packages (@ (guix build python-build-system)
site-packages))
(site (site-packages inputs outputs)))
(wrap-program (string-append gtk "/bin/redshift-gtk")
`("GUIX_PYTHONPATH" ":" prefix
(,(string-append site ":" (getenv "GUIX_PYTHONPATH"))))
`("GI_TYPELIB_PATH" ":" prefix (,(getenv "GI_TYPELIB_PATH"))))
#t))))))
(outputs '("out" "gtk"))
(native-inputs
(list pkg-config intltool))
(inputs
(list libdrm
libx11
libxcb
libxxf86vm
glib ;for Geoclue2 support
;; To build the GTK3 GUI, we need these.
gtk+
python
python-pygobject
python-pyxdg))
(home-page "https://github.com/jonls/redshift")
(synopsis "Adjust the color temperature of your screen")
(description
"Redshift adjusts the color temperature according to the position of the
sun. A different color temperature is set during night and daytime. During
twilight and early morning, the color temperature transitions smoothly from
night to daytime temperature to allow your eyes to slowly adapt. At night the
color temperature should be set to match the lamps in your room.")
(license license:gpl3+)))
(define-public redshift-wayland
(let ((commit "7da875d34854a6a34612d5ce4bd8718c32bec804")
(revision "1"))
(package
(name "redshift-wayland")
(version (string-append "1.12-"
revision "." (string-take commit 7)))
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/minus7/redshift")
(commit commit)))
(file-name (string-append name "-" version))
(sha256
(base32
"0nbkcw3avmzjg1jr1g9yfpm80kzisy55idl09b6wvzv2sz27n957"))))
(build-system gnu-build-system)
(arguments
'(#:phases (modify-phases %standard-phases
(add-after 'install 'create-desktop-file
(lambda* (#:key outputs #:allow-other-keys)
;; For the GeoClue provider to work, a .desktop file
;; needs to be provided. A template is available,
;; but it only gets installed when the GUI is enabled.
;; Install it manually for this Wayland variant.
(let* ((out (assoc-ref outputs "out"))
(desktop-file
(string-append
out "/share/applications/redshift.desktop")))
(mkdir-p (dirname desktop-file))
(copy-file "data/applications/redshift.desktop.in"
desktop-file)
(substitute* desktop-file
(("^_") ""))
#t))))))
(native-inputs
(list autoconf automake libtool pkg-config intltool))
(inputs
(list libdrm
libx11
libxcb
libxxf86vm
glib ; for Geoclue2 support
wayland))
(home-page "https://github.com/minus7/redshift")
(synopsis "Adjust the color temperature of your screen (with Wayland support)")
(description
"Redshift adjusts the color temperature according to the position of the
sun. A different color temperature is set during night and daytime. During
twilight and early morning, the color temperature transitions smoothly from
night to daytime temperature to allow your eyes to slowly adapt. At night the
color temperature should be set to match the lamps in your room.
This is a fork with added support for Wayland using the wlr-gamma-control
protocol.")
(license license:gpl3+))))
(define-public xwhite
(package
(name "xwhite")
(version "0.0.2")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/derekchuank/xwhite/"
"releases/download/v" version
"/xwhite-" version ".tar.gz"))
(sha256
(base32
"0jbnlj5a91ib4anprmylqqnbv9wa73cr7fsc1s54df0a0w5yq8sz"))))
(build-system meson-build-system)
(arguments
`(#:tests? #f)) ;No test suite.
(native-inputs (list pkg-config))
(inputs (list libxrandr))
(home-page "https://github.com/derekchuank/xwhite")
(synopsis "Adjust the color balance")
(description
"@command{xwhite} is a command line tool for adjusting the colour
balance of screen. It is based on xrandr's gamma correction and brightness adjustment.
As such, it can only be used for X displays and not Wayland displays. It is typically
used for tuning the color balance and color temperature. It has a similar function as
@command{redshift -P -g R:G:B -O temperature}, but @command{xwhite} is more flexible
in that it does not keep the white color fixed, suitable for setting the white color
to an arbitrary balanced color.")
(license license:gpl2)))
(define-public gammastep
(package
(name "gammastep")
(version "2.0.9")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://gitlab.com/chinstrap/gammastep")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1rcciccnwhxh97wlr9gcirdxv33za369jsrgrfzcp3042824pm8i"))))
(build-system gnu-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'install 'wrap-python-and-typelib
(lambda _
;; Gammastep GUI needs Typelib files from GTK and access to
;; Python libraries.
(wrap-program (string-append #$output "/bin/gammastep-indicator")
`("PYTHONPATH" ":" prefix (,(getenv "GUIX_PYTHONPATH")))
`("GI_TYPELIB_PATH" ":" prefix
(,(getenv "GI_TYPELIB_PATH")))))))))
(native-inputs
(list autoconf
automake
gettext-minimal
intltool
libtool
pkg-config))
(inputs
(list glib
gtk+
libappindicator
libdrm
libx11
libxxf86vm
libxcb
python
python-pygobject
python-pyxdg
wayland))
(home-page "https://gitlab.com/chinstrap/gammastep")
(synopsis "Adjust the color temperature of your screen")
(description
"Gammastep automatically adjusts the color temperature of your
screen according to your surroundings. This may help your eyes hurt
less if you are working in front of the screen at night.")
(license license:gpl3)))
(define-public xscreensaver
(package
(name "xscreensaver")
(version "6.04")
(source
(origin
(method url-fetch)
(uri
(string-append "https://www.jwz.org/xscreensaver/xscreensaver-"
version ".tar.gz"))
(sha256
(base32 "0lmiyvp3qs2gngd53f191jmlizs9l04i2gnrqbn96mqckyr18w3q"))
(modules '((guix build utils)))
(snippet
;; 'configure.ac' checks for $ac_unrecognized_opts and exits if it's
;; non-empty. Since the default 'configure' phases passes options
;; that may or may not be recognized, such as '--enable-fast-install',
;; these need to be tolerated, hence this snippet.
'(substitute* "configure"
(("exit 2") "true")))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; no check target
#:phases
(modify-phases %standard-phases
(add-before 'configure 'adjust-gtk-resource-paths
(lambda _
(substitute* '("driver/Makefile.in" "po/Makefile.in.in")
(("@GTK_DATADIR@") "@datadir@")
(("@PO_DATADIR@") "@datadir@"))
#t)))
#:configure-flags '("--with-pam"
;; Don't check /proc/interrupts in the build
;; environment to avoid non-deterministic failures
;; of the 'configure' script.
"--without-proc-interrupts"
"--without-readdisplay")
#:make-flags (list (string-append "AD_DIR="
(assoc-ref %outputs "out")
"/lib/X11/app-defaults"))))
(native-inputs
(list pkg-config intltool))
(inputs
(list libx11
libxext
libxi
libxt
libxft
libxmu
libxpm
libglade
libxml2
libsm
libjpeg-turbo
linux-pam
pango
gdk-pixbuf-xlib
gtk+
perl
cairo
bc
libxrandr
glu
glib))
(home-page "https://www.jwz.org/xscreensaver/")
(synopsis "Classic screen saver suite supporting screen locking")
(description
"xscreensaver is a popular screen saver collection with many entertaining
demos. It also acts as a nice screen locker.")
;; xscreensaver doesn't have a single copyright file and instead relies on
;; source comment headers, though most files have the same lax
;; permissions. To reduce complexity, we're pointing at Debian's
;; breakdown of the copyright information.
(license (license:non-copyleft
(string-append
"http://metadata.ftp-master.debian.org/changelogs/"
"/main/x/xscreensaver/xscreensaver_5.36-1_copyright")))))
(define-public xssproxy
(package
(name "xssproxy")
(version "1.0.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/timakro/xssproxy")
(commit (string-append "v" version))))
(file-name (string-append name "-" version "-checkout"))
(sha256
(base32
"0c83wmipnsdnbihc5niyczs7jrkss2s8n6iwwjdia7hkjzbd0hl7"))))
(build-system gnu-build-system)
(arguments `(#:make-flags `("bindir=/bin"
"man1dir=/share/man/man1"
,(string-append "DESTDIR=" (assoc-ref %outputs "out"))
,,(string-append "CC=" (cc-for-target)))
#:phases (modify-phases %standard-phases
(delete 'configure)
(delete 'check))))
(native-inputs
(list pkg-config))
(inputs
(list glib libx11 libxext libxscrnsaver dbus))
(synopsis "Forward freedesktop.org Idle Inhibition Service calls to Xss")
(description "xssproxy implements the @code{org.freedesktop.ScreenSaver}
D-Bus interface described in the Idle Inhibition Service Draft by the
freedesktop.org developers. The inhibition of the screensaver is then
controlled using the XScreenSaverSuspend function from the Xss (X11 Screen
Saver extension) library.")
(home-page "https://github.com/timakro/xssproxy")
(license license:gpl3+)))
(define-public xsel
;; The 1.2.0 release no longer compiles with GCC 8 and upper, see:
;; https://github.com/kfish/xsel/commit/d88aa9a8dba9228e6780d6bb5a5720a36f854918.
(let ((commit "062e6d373537c60829fa9b5dcddbcd942986b3c3")
(revision "1"))
(package
(name "xsel")
(version (git-version "1.2.0" revision commit))
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/kfish/xsel")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"0fbf80zsc22vcqp59r9fdx4icxhrkv7l3lphw83326jrmkzy6kri"))))
(build-system gnu-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'bootstrap
(lambda _
(invoke "autoreconf" "-vfi"))))))
(native-inputs (list autoconf automake libtool))
(inputs
(list libxt))
(home-page "http://www.vergenet.net/~conrad/software/xsel/")
(synopsis "Manipulate X selection")
(description
"XSel is a command-line program for getting and setting the contents of
the X selection. Normally this is only accessible by manually highlighting
information and pasting it with the middle mouse button.
XSel reads from standard input and writes to standard output by default,
but can also follow a growing file, display contents, delete entries and more.")
(license (license:x11-style "file://COPYING"
"See COPYING in the distribution.")))))
(define-public xdpyprobe
(package
(name "xdpyprobe")
(version "0.1")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/alezost/" name
"/releases/download/v" version
"/" name "-" version ".tar.gz"))
(sha256
(base32
"1h09wd2qcg08rj5hcakvdh9q01hkrj8vxly94ax3ch2x06lm0zq8"))))
(build-system gnu-build-system)
(inputs
(list libx11))
(home-page "https://github.com/alezost/xdpyprobe")
(synopsis "Probe X server for connectivity")
(description
"Xdpyprobe is a tiny C program whose only purpose is to probe a
connectivity of the X server running on a particular @code{DISPLAY}.")
(license license:gpl3+)))
(define-public rofi
(package
(name "rofi")
(version "1.7.3")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/davatorium/rofi/"
"releases/download/"
version "/rofi-" version ".tar.xz"))
(sha256
(base32
"0yxn9pmn9zp0k5ygnjqbj1pmp73g53wa47r145a8qcwqzxl8p1i5"))))
(build-system gnu-build-system)
(native-inputs
(list bison
check
flex
`(,glib "bin")
pkg-config))
(inputs
(list cairo
glib
libjpeg-turbo
librsvg
libxcb
libxkbcommon
pango
startup-notification
xcb-util
xcb-util-cursor
xcb-util-wm
xcb-util-xrm))
(native-search-paths
;; This is where rofi will search for plugins by default.
(list (search-path-specification
(variable "ROFI_PLUGIN_PATH")
(files '("lib/rofi")))))
(arguments
`(#:parallel-tests? #f ; fails in some circumstances
#:phases
(modify-phases %standard-phases
(add-before 'configure 'adjust-tests
(lambda _
(substitute* '("test/helper-expand.c")
(("~root") "/root")
(("~") "")
(("g_get_home_dir \\(\\)") "\"/\"")))))))
(home-page "https://github.com/davatorium/rofi")
(synopsis "Application launcher")
(description "Rofi is a minimalist application launcher. It memorizes which
applications you regularly use and also allows you to search for an application
by name.")
(license license:expat)))
(define-public rofi-calc
(package
(name "rofi-calc")
(version "2.1.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/svenstaro/rofi-calc")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"021z7hwvdcs3g7icyp6xhry0xlq29gg1288hg2kzyzqq4l2irxdi"))))
(build-system gnu-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
;; Don't try to install directly to rofi, instead install
;; to lib/rofi to match rofi's search-path ROFI_PLUGIN_PATH.
(add-after 'unpack 'patch-plugindir
(lambda _
(substitute* "Makefile.am"
(("plugindir=\\$\\{rofi_PLUGIN_INSTALL_DIR\\}\\/")
"plugindir=${libdir}/rofi/"))))
(add-after 'unpack 'patch-qalc-path
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "src/calc.c"
(("\"qalc\"")
(string-append "\""
(search-input-file inputs "bin/qalc")
"\""))))))))
(inputs
(list cairo libqalculate rofi))
(native-inputs
(list autoconf automake libtool pkg-config))
(home-page
"https://github.com/svenstaro/rofi-calc")
(synopsis "Do live calculations in rofi with qalc")
(description
"@code{rofi-calc} is a rofi plugin that uses qalculate's @code{qalc} to parse
natural language input and provide results.")
(license license:expat)))
(define-public tint2
(package
(name "tint2")
(version "17.0.2")
(source (origin
(method git-fetch)
(uri (git-reference
(url (string-append "https://gitlab.com/o9000/" name "/"))
(commit version)))
(sha256
(base32
"123apmgs6x2zfv1q57dyl4mwqf0vsw5ndh5jsg6p3fvhr66l1aja"))))
(build-system cmake-build-system)
(arguments
'(#:tests? #f)) ;no test target
(inputs
(list gtk+
imlib2
librsvg
libxcomposite
libxdamage
libxft
libxinerama
libxrandr
startup-notification))
(native-inputs
`(("gettext" ,gettext-minimal)
("pkg-config" ,pkg-config)))
(home-page "https://gitlab.com/o9000/tint2")
(synopsis "Lightweight task bar")
(description
"Tint2 is a simple task bar made for modern X window managers. It was
specifically made for Openbox but it should also work with other window
managers (GNOME, KDE, XFCE etc.).
The taskbar includes transparency and color settings for the font, icons,
border, and background. It also supports multihead setups, customized mouse
actions, a built-in clock, a battery monitor and a system tray.")
(license license:gpl2)))
(define-public dzen
(let ((commit "488ab66019f475e35e067646621827c18a879ba1")
(revision "1"))
(package
(name "dzen")
(version (string-append "0.9.5-" ; Taken from `config.mk`.
revision "." (string-take commit 7)))
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/robm/dzen")
(commit commit)))
(file-name (string-append name "-" version))
(sha256
(base32
"0y47d6ii87vf4a517gi4fh0yl06f8b085sra77immnsasbq9pxnw"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; No test suite.
#:make-flags ; Replacement for `config.mk`.
(list
(string-append "VERSION = " ,version)
(string-append "PREFIX = " %output)
"MANPREFIX = ${PREFIX}/share/man"
"INCS = -I."
"LIBS = -lc -lX11 -lXinerama -lXpm $(shell pkg-config --libs xft)"
"CFLAGS = -Wall -Os ${INCS} -DVERSION=\\\"${VERSION}\\\"\
-DDZEN_XINERAMA -DDZEN_XPM -DDZEN_XFT $(shell pkg-config --cflags xft)"
"LDFLAGS = ${LIBS}"
"CC = gcc"
"LD = ${CC}")
#:phases
(modify-phases %standard-phases
(delete 'configure) ; No configuration script.
;; Use own make-flags instead of `config.mk`.
(add-before 'build 'dont-include-config-mk
(lambda _
(substitute* "Makefile" (("include config.mk") ""))
#t)))))
(inputs
(list libx11 libxft libxpm libxinerama))
(native-inputs (list pkg-config))
(synopsis "General purpose messaging, notification and menuing program for X11")
(description "Dzen is a general purpose messaging, notification and menuing
program for X11. It was designed to be fast, tiny and scriptable in any language.")
(home-page "https://github.com/robm/dzen")
(license license:expat))))
(define-public xftwidth
(package
(name "xftwidth")
(version "20170402")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "http://github.com/vixus0/xftwidth")
(commit "35ff963908d41a8a6a7101c434c88255728025ee")))
(sha256
(base32
"1jwl25785li24kbp0m1wxfwk4dgxkliynn03nsj813cjr34kq16h"))
(file-name (string-append name "-" version "-checkout"))))
(build-system gnu-build-system)
(inputs `(("freetype" ,freetype)
("libx11" ,libx11)
("fontconfig" ,fontconfig)
("libxft" ,libxft)))
(native-inputs
(list pkg-config))
(arguments
'(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'fix-makefile ; /usr/bin doesn't show up in PATH
(lambda _ (substitute* "Makefile" (("usr/") "")) #t))
(delete 'check) ; no check included in Makefile
(delete 'configure))
#:make-flags
(let ((out (assoc-ref %outputs "out")))
(list (string-append "DESTDIR=" out)))))
(home-page "https://github.com/vixus0/xftwidth")
(synopsis "Calculator for determining pixel widths of displayed text using Xft fonts")
(description "xftwidth is a small C program for calculating the pixel
widths of displayed text using Xft fonts. It is especially useful in scripts
for displaying text in graphical panels, menus, popups, and notification
windows generated using dzen. These scripts are often used in conjunction with
minimalistic tiling window managers such as herbstluftwm and bspwm.")
(license license:expat)))
(define-public xcb-util-xrm
(package
(name "xcb-util-xrm")
(version "1.3")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/Airblader/xcb-util-xrm/releases"
"/download/v" version "/xcb-util-xrm-" version ".tar.bz2"))
(sha256
(base32
"118cj1ybw86pgw0l5whn9vbg5n5b0ijcpx295mwahzi004vz671h"))
(modules '((guix build utils)))
(snippet
;; Drop bundled m4.
'(begin
(delete-file-recursively "m4")
#t))))
(build-system gnu-build-system)
(native-inputs
(list pkg-config m4 libx11)) ; for tests
(inputs
(list libxcb xcb-util))
(home-page "https://github.com/Airblader/xcb-util-xrm")
(synopsis "XCB utility functions for the X resource manager")
(description
"The XCB util module provides a number of libraries which sit on
top of libxcb, the core X protocol library, and some of the extension
libraries. These experimental libraries provide convenience functions
and interfaces which make the raw X protocol more usable. Some of the
libraries also provide client-side code which is not strictly part of
the X protocol but which has traditionally been provided by Xlib.
XCB util-xrm module provides the following libraries:
- xrm: utility functions for the X resource manager.")
(license license:x11)))
(define-public xcalib
(package
(name "xcalib")
(version "0.10")
(home-page "https://github.com/OpenICC/xcalib")
(source (origin
(method git-fetch)
(uri (git-reference
(url home-page)
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"05fzdjmhiafgi2jf0k41i3nm0837a78sb6yv59cwc23nla8g0bhr"))
(patches
(list
;; Add missing documentation for the new --output option.
;; This upstream patch can be removed on the next update.
(origin
(method url-fetch)
(uri (string-append
home-page "/commit/"
"ae03889b91fe984b18e925ad2b5e6f2f7354e058.patch"))
(file-name "xcalib-update-man-page.patch")
(sha256
(base32
"0f7b4d5484x4b9n1bwhqmar0kcaa029ffff7bp3xpr734n1qgqb6")))))))
(build-system cmake-build-system)
(arguments
'(#:tests? #f)) ; no test suite
(inputs (list libx11 libxext libxrandr libxxf86vm))
(synopsis "Tiny monitor calibration loader for XFree86 (or X.org)")
(description "xcalib is a tiny tool to load the content of vcgt-Tags in ICC
profiles to the video card's gamma ramp. It does work with most video card
drivers except the generic VESA driver. Alter brightness, contrast, RGB, and
invert colors on a specific display/screen.")
(license license:gpl2)))
(define-public nxbelld
(package
(name "nxbelld")
(version "0.1.2")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/dusxmt/nxbelld")
(commit version)))
(sha256
(base32
"04qwhmjs51irinz5mjlxdb3dc6vr79dqmc5fkj80x1ll3ylh5n3z"))
(file-name (git-file-name name version))))
(build-system gnu-build-system)
(arguments '(#:configure-flags `("--enable-sound"
"--enable-wave"
"--enable-alsa")))
(native-inputs (list autoconf automake pkg-config perl))
(inputs (list libx11 alsa-lib))
(synopsis "Daemon that performs an action every time the X11 bell is rung")
(description "nxbelld is a tiny utility to aid people who either don't
like the default PC speaker beep, or use a sound driver that doesn't have
support for the PC speaker. The utility performs a given action every time
the X bell is rung. The actions nxbelld can currently perform include running
a specified program, emulating the PC speaker beep using the sound card (default),
or playing a PCM encoded WAVE file.")
(home-page "https://github.com/dusxmt/nxbelld")
(license license:gpl3+)))
(define-public xautolock
(package
(name "xautolock")
(version "2.2")
(source (origin
(method url-fetch)
(uri (string-append "https://www.ibiblio.org/pub/linux/X11/"
"screensavers/xautolock-" version ".tgz"))
(sha256
(base32
"18jd3k3pvlm5x1adyqw63z2b3f4ixh9mfvz9asvnskk3fm8jgw0i"))))
(build-system gnu-build-system)
(native-inputs
(list imake))
(inputs
(list libx11 libxext libxscrnsaver))
(arguments
`(#:tests? #f
#:phases
(modify-phases %standard-phases
(replace 'configure
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((imake (assoc-ref inputs "imake"))
(out (assoc-ref outputs "out")))
;; Generate Makefile
(invoke "xmkmf")
(substitute* "Makefile"
;; These imake variables somehow remain undefined
(("DefaultGcc2[[:graph:]]*Opt") "-O2")
;; Reset a few variable defaults that are set in imake templates
((imake) out)
(("(MANPATH = )[[:graph:]]*" _ front)
(string-append front out "/share/man")))
;; Old BSD-style 'union wait' is unneeded (defining
;; _USE_BSD did not seem to fix it)
(substitute* "src/engine.c"
(("union wait status") "int status = 0"))
#t)))
(add-after 'install 'install/man
(lambda _
(invoke "make" "install.man"))))))
(home-page "https://ibiblio.org/pub/Linux/X11/screensavers/")
(synopsis "Program launcher for idle X sessions")
(description "Xautolock monitors input devices under the X Window
System, and launches a program of your choice if there is no activity after
a user-configurable period of time.")
(license license:gpl2)))
(define-public screen-message
(package
(name "screen-message")
(version "0.26")
(source (origin
(method url-fetch)
(uri (string-append
"https://www.joachim-breitner.de/archive/screen-message"
"/screen-message-" version ".tar.gz"))
(sha256
(base32
"0dwgm4z3dfk6xz41w8xiv0hmnwr74gf3ykb91b090hc4ffwsf4mw"))))
(build-system gnu-build-system)
(inputs `(("gtk3" ,gtk+)
("gdk" ,gdk-pixbuf)
("pango" ,pango)))
(native-inputs (list pkg-config))
(arguments
;; The default configure puts the 'sm' binary in games/ instead of bin/ -
;; this fixes it:
`(#:make-flags (list (string-append "execgamesdir=" %output "/bin"))))
(synopsis "Print messages on your screen")
(description "@code{screen-message} is a tool for displaying text on
your screen. It will make the text as large as possible and display it
with black color on a white background (colors are configurable on the
commandline).")
(home-page "https://www.joachim-breitner.de/projects#screen-message")
(license license:gpl2+)))
(define-public xss-lock
;; xss-lock does not seem to be maintained any longer, but the last commits
;; fix important issues so we package them.
(let ((version "0.3.0")
(revision "1")
(commit "1e158fb20108058dbd62bd51d8e8c003c0a48717"))
(package
(name "xss-lock")
(version (git-version version revision commit))
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://bitbucket.org/raymonad/xss-lock.git")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"10hx7k7ga8g08akwz8qrsvj8iqr5nd4siiva6sjx789jvf0sak7r"))))
(build-system cmake-build-system)
(inputs (list glib xcb-util))
(native-inputs
(list python-docutils pkg-config))
(arguments
`(#:tests? #f))
(synopsis "Use external screen locker on events")
(description "@code{xss-lock} listens to X signals to fire up a
user-defined screensaver. In effect this automatically locks the
screen when closing a laptop lid or after a period of user inactivity (as set
with @code{xset s TIMEOUT}). The notifier command, if specified, is executed
first. Additionally, xss-lock uses the inhibition logic to lock the screen
before the system goes to sleep.")
(home-page "https://bitbucket.org/raymonad/xss-lock")
(license license:expat))))
(define-public python-pyperclip
(package
(name "python-pyperclip")
(version "1.8.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pyperclip" version))
(sha256
(base32
"0mxzm43z2anr55gyz7awagvam4d5c2rlxhp9hjyg0d29n2l58lhh"))))
(build-system python-build-system)
(arguments
'(#:tests? #f)) ; Not clear how to make tests pass.
(inputs
(list xclip xsel))
(home-page "https://github.com/asweigart/pyperclip")
(synopsis "Python clipboard module")
(description
"Pyperclip is a clipboard module for Python, handling copy/pasting from
the X11 clipboard")
(license license:bsd-3)))
(define-public numlockx
(package
(name "numlockx")
(version "1.2")
(source (origin
(method git-fetch)
(uri (git-reference
;; It seems that upstream is gone.
(url "https://github.com/rg3/numlockx")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"1w49fayhwzn5rx0z1q2lrvm7z8jrd34lgb89p853a024bixc3cf2"))))
(build-system gnu-build-system)
(inputs
(list xorg-server))
(home-page "https://github.com/rg3/numlockx")
(synopsis "Turns on the numlock key in X11")
(description "@command{numlockx} is a tiny program that lets you turn on
the numlock key in X11. It can be called from the user's initialization files
to automatically turn it on on login.")
(license license:expat)))
(define-public xrandr-invert-colors
(package
(name "xrandr-invert-colors")
(version "0.02")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/zoltanp/xrandr-invert-colors")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0gk1fgxb2kjyr78xn8m0ckjdic99ras7msa67piwnhj3j4scg1ih"))))
(build-system gnu-build-system)
(arguments
`(#:make-flags (list ,(string-append "CC=" (cc-for-target)))
#:tests? #f ; there are none
#:phases
(modify-phases %standard-phases
(delete 'configure)
(replace 'install
;; It's simpler to install the single binary ourselves than to patch
;; the Makefile's install target into working.
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin")))
(mkdir-p bin)
(copy-file "xrandr-invert-colors.bin"
(string-append bin "/xrandr-invert-colors"))))))))
(inputs
(list libxrandr))
(home-page "https://github.com/zoltanp/xrandr-invert-colors")
(synopsis "Invert display colors")
(description "This package provides a small utility for inverting the
colors on all monitors attached to an XRandR-capable X11 display server.")
(license license:gpl3+)))
(define-public sct
(package
(name "sct")
(version "0.5")
(source
(origin
(method url-fetch)
(uri
(string-append "https://www.umaxx.net/dl/sct-"
version ".tar.gz"))
(sha256
(base32 "0lrhx771iccbw04wrhj0ygids1pzmjfc4hvklm30m3p3flvhqf0m"))))
(build-system gnu-build-system)
(arguments
`(#:make-flags
(list ,(string-append "CC=" (cc-for-target)))
#:tests? #f ; no test suite
#:phases
(modify-phases %standard-phases
(delete 'configure)
(add-after 'unpack 'fix-sctd-paths
(lambda* (#:key outputs inputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))
(coreutils (assoc-ref inputs "coreutils"))
(inetutils (assoc-ref inputs "inetutils"))
(sed (assoc-ref inputs "sed")))
(substitute* "sctd.sh"
(("\\$\\(which sct\\)") (string-append out "/bin/sct"))
(("date") (string-append coreutils "/bin/date"))
(("printf") (string-append coreutils "/bin/printf"))
(("sleep") (string-append coreutils "/bin/sleep"))
(("logger") (string-append inetutils "/bin/logger"))
(("sed") (string-append sed "/bin/sed"))))))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(install-file "sct" (string-append out "/bin"))
(install-file "sctd.sh" (string-append out "/bin"))
(install-file "sct.1" (string-append out "/man/man1"))
(install-file "sctd.1" (string-append out "/man/man1"))
(rename-file (string-append out "/bin/sctd.sh")
(string-append out "/bin/sctd"))
#t))))))
(inputs
(list coreutils ; sctd uses "date", "printf" and "sleep"
inetutils ; sctd uses "logger"
libxrandr
sed)) ; sctd uses "sed"
(home-page "https://www.umaxx.net")
(synopsis "Set the color temperature of the screen")
(description "@code{sct} is a lightweight utility to set the color
temperature of the screen.")
(license (license:non-copyleft "file://sct.c")))) ; "OpenBSD" license
(define-public xsecurelock
(package
(name "xsecurelock")
(version "1.7.0")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/google/xsecurelock/releases"
"/download/v" version "/xsecurelock-" version ".tar.gz"))
(sha256
(base32 "0s2q69g1xhvs18q2jhcval5vpa9j0kkrdv02r176vvxvdms7hhc7"))))
(build-system gnu-build-system)
(arguments
'(#:configure-flags
'("--with-pam-service-name=login"
"--with-xkb"
"--with-default-authproto-module=/run/setuid-programs/authproto_pam")))
(native-inputs
(list pandoc pkg-config))
(inputs
(list fontconfig
libx11
libxcomposite
libxext
libxfixes
libxft
libxmu
libxrandr
libxscrnsaver
linux-pam))
(home-page "https://github.com/google/xsecurelock")
(synopsis "X11 screen lock utility with the primary goal of security")
(description "@code{xsecurelock} is an X11 screen locker which uses
a modular design to avoid the usual pitfalls of screen locking utility design.
As a consequence of the modular design, the usual screen locker service
shouldn't be used with @code{xsecurelock}. Instead, you need to add a helper
binary to setuid-binaries:
@example
(setuid-programs
(cons*
(setuid-program
(program (file-append xsecurelock \"/libexec/xsecurelock/authproto_pam\")))
%setuid-programs))
@end example")
(license license:asl2.0)))
(define-public wl-clipboard
(package
(name "wl-clipboard")
(version "2.0.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/bugaevc/wl-clipboard")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0c4w87ipsw09aii34szj9p0xfy0m00wyjpll0gb0aqmwa60p0c5d"))))
(build-system meson-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-file-names
(lambda* (#:key inputs #:allow-other-keys)
(substitute* (find-files "src" "\\.c$")
(("\"(cat|rm)\"" _ command)
(string-append "\"" (assoc-ref inputs "coreutils")
"/bin/" command "\""))
(("\"xdg-mime\"")
(string-append "\"" (assoc-ref inputs "xdg-utils")
"/bin/xdg-mime\""))))))))
(native-inputs
(list pkg-config))
(inputs
(list coreutils wayland wayland-protocols xdg-utils))
(home-page "https://github.com/bugaevc/wl-clipboard")
(synopsis "Command-line copy/paste utilities for Wayland")
(description "Wl-clipboard is a set of command-line copy/paste utilities for
Wayland.")
(license license:gpl3+)))
(define-public wl-clipboard-x11
(package
(name "wl-clipboard-x11")
(version "5")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/brunelli/wl-clipboard-x11")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1y7jv7rps0sdzmm859wn2l8q4pg2x35smcrm7mbfxn5vrga0bslb"))))
(build-system copy-build-system)
(arguments
`(#:install-plan
'(("src/" "bin/")
("man/" "man/man1"))
#:phases
(modify-phases %standard-phases
(add-after 'install 'wrap-binary
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))
(wl-clipboard (assoc-ref inputs "wl-clipboard")))
(wrap-program (string-append out "/bin/wl-clipboard-x11")
`("PATH" prefix (,(string-append wl-clipboard "/bin")))))
#t))
(add-after 'wrap-binary 'symlink-utilities
;; As seen in the Makefile.
(lambda* (#:key outputs #:allow-other-keys)
(let ((bin (string-append (assoc-ref outputs "out") "/bin/")))
(symlink "wl-clipboard-x11" (string-append bin "xclip"))
(symlink "wl-clipboard-x11" (string-append bin "xsel")))
#t)))))
(inputs
(list bash-minimal wl-clipboard))
(home-page "https://github.com/brunelli/wl-clipboard-x11")
(synopsis "Use wl-clipboard as a drop-in replacement to X11 clipboard tools")
(description "This package provides a wrapper script around
@code{x11-clipboard} to use it as a clipboard on X11 also. It also contains
helper scripts for @code{xclip} and @code{xsel} to assist with the transition.")
(license license:gpl3+)))
(define-public autocutsel
(package
(name "autocutsel")
(version "0.10.1")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/sigmike/autocutsel"
"/releases/download/" version "/"
"autocutsel-" version ".tar.gz"))
(sha256
(base32
"05zb85imp42birvrc320q20r98qddc5vxx169dnl753l5za0czpi"))))
(build-system gnu-build-system)
(arguments
'(#:tests? #f)) ; no "check" target
(native-inputs (list libx11 libxaw))
(home-page "https://www.nongnu.org/autocutsel/")
(synopsis "Automated X11 clipboard and cutbuffer synchronization")
(description "@code{autocutsel} tracks changes in the server's cutbuffer
and clipboard selection. When the clipboard is changed, it updates the
cutbuffer. When the cutbuffer is changed, it owns the clipboard selection.
The cutbuffer and clipboard selection are always synchronized.")
(license license:gpl2+)))
(define-public jgmenu
(package
(name "jgmenu")
(version "4.4.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/johanmalm/jgmenu")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "08dyygclayyipa0p2qsxqa3fsfyflkrkhpi25dkc3ybkicvynk24"))))
(build-system gnu-build-system)
(native-inputs
(list cppcheck perl pkg-config))
(inputs
(list cairo
glib
librsvg
libx11
libxml2
libxrandr
pango))
(arguments
`(#:test-target "test"
#:phases
(modify-phases %standard-phases
(replace 'configure
(lambda* (#:key outputs #:allow-other-keys)
(setenv "CC" ,(cc-for-target))
(invoke "./configure"
(string-append "--prefix=" (assoc-ref outputs "out")))
#t)))))
(synopsis "Simple X11 menu")
(description
"This is a simple menu for X11 designed for scripting and tweaking. It
can optionally use some appearance settings from XSettings, tint2 and GTK.")
(home-page "https://jgmenu.github.io/")
(license license:gpl2)))
(define-public xwallpaper
(package
(name "xwallpaper")
(version "0.7.3")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/stoeckmann/xwallpaper")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1rsv42cl0s149sbpdxz9yqqjip3si95jv3dglwzrcm7pjfg7519v"))))
(build-system gnu-build-system)
(native-inputs
(list autoconf automake pkg-config))
(inputs
(list libjpeg-turbo
libpng
libxpm
pixman
xcb-util
xcb-util-image))
(home-page "https://github.com/stoeckmann/xwallpaper")
(synopsis "Wallpaper setting utility for X")
(description
"The xwallpaper utility allows you to set image files as your X
wallpaper. JPEG, PNG, and XPM file formats are supported.
The wallpaper is also advertised to programs which support semi-transparent
backgrounds.")
(license license:isc)))
(define-public xwrits
(package
(name "xwrits")
(version "2.26")
(source
(origin
(method url-fetch)
(uri (string-append "https://www.lcdf.org/~eddietwo/xwrits/"
"xwrits-" version ".tar.gz"))
(sha256
(base32 "1n7y0fqpcvmzznvbsn14hzy5ddaa3lilm8aw6ckscqndnh4lijma"))))
(build-system gnu-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'install 'install-docs
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(doc (string-append out "/share/doc/xwrits")))
(install-file "GESTURES" doc)
(install-file "README" doc)
#t))))))
(inputs
(list libx11 libxinerama))
(home-page "https://www.lcdf.org/~eddietwo/xwrits/")
(synopsis "Reminds you to take wrist breaks")
(description "Xwrits reminds you to take wrist breaks for prevention or
management of repetitive stress injuries. When you should take a break, it
pops up an X window, the warning window. You click on the warning window,
then take a break. The window changes appearance while you take the break.
It changes again when your break is over. Then you just resume typing.
Xwrits hides itself until you should take another break.")
(license license:gpl2)))
(define-public xsettingsd
(package
(name "xsettingsd")
(version "1.0.2")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/derat/xsettingsd")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "14gnkz18dipsa2v24f4nm9syxaa7g21iqjm7y65jn849ka2jr1h8"))))
(build-system scons-build-system)
(inputs
(list libx11))
(native-inputs
`(("pkg-config" ,pkg-config)
("googletest" ,googletest)
("googletest-source" ,(package-source googletest))))
(arguments
`(#:scons ,scons-python2
#:scons-flags
(list ,(string-append "CC=" (cc-for-target)))
#:phases
(modify-phases %standard-phases
(add-before 'build 'patch-sconstruct
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "SConstruct"
;; scons doesn't pick up environment variables automatically
;; so it needs help to find path variables
(("env = Environment\\(")
"env = Environment(
ENV = {
'PATH': os.environ['PATH'],
'CPATH': os.environ['C_INCLUDE_PATH'],
'LIBRARY_PATH': os.environ['LIBRARY_PATH'],
'PKG_CONFIG_PATH': os.environ['PKG_CONFIG_PATH']
},")
;; Update path to gtest source files used in tests
(("/usr/src/gtest") (string-append
(assoc-ref inputs "googletest-source")
"/googletest"))
;; Exclude one warning that causes a build error
(("-Werror") "-Werror -Wno-error=sign-compare"))
#t))
;; The SConstruct script doesn't configure installation so
;; binaries must be copied to the output path directly
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin"))
(man (string-append out "/share/man/man1")))
(mkdir-p bin)
(install-file "xsettingsd" bin)
(install-file "dump_xsettings" bin)
(install-file "xsettingsd.1" man)
(install-file "dump_xsettings.1" man)
#t))))))
(home-page "https://github.com/derat/xsettingsd")
(synopsis "Xorg settings daemon")
(description "@command{xsettingsd} is a lightweight daemon that provides settings to
Xorg applications via the XSETTINGS specification. It is used for defining
font and theme settings when a complete desktop environment (GNOME, KDE) is
not running. With a simple @file{.xsettingsd} configuration file one can avoid
configuring visual settings in different UI toolkits separately.")
(license license:bsd-3)))
(define-public clipnotify
(package
(name "clipnotify")
(version "1.0.2")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/cdown/clipnotify")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"1v3ydm5ljy8z1savmdxrjyx7a5bm5013rzw80frp3qbbjaci0wbg"))))
(build-system gnu-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(delete 'configure)
(replace 'install
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin"))
(doc (string-append %output "/share/doc/" ,name "-" ,version)))
(install-file "clipnotify" bin)
(install-file "README.md" doc)
#t))))
#:make-flags
(list ,(string-append "CC=" (cc-for-target)))
#:tests? #f)) ; no test suite
(inputs
`(("libx11" ,libx11)
("libXfixes" ,libxfixes)))
(home-page "https://github.com/cdown/clipnotify")
(synopsis "Notify on new X clipboard events")
(description "@command{clipnotify} is a simple program that, using the
XFIXES extension to X11, waits until a new selection is available and then
exits.
It was primarily designed for clipmenu, to avoid polling for new selections.
@command{clipnotify} doesn't try to print anything about the contents of the
selection, it just exits when it changes. This is intentional -- X11's
selection API is verging on the insane, and there are plenty of others who
have already lost their sanity to bring us xclip/xsel/etc. Use one of those
tools to complement clipnotify.")
(license license:public-domain)))
(define-public clipmenu
(let ((commit "bcbe7b144598db4a103f14e8408c4b7327d6d5e1")
(revision "1"))
(package
(name "clipmenu")
(version (string-append "6.0.1-"
revision "." (string-take commit 7)))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/cdown/clipmenu")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"0053j4i14lz5m2bzc5sch5id5ilr1bl196mp8fp0q8x74w3vavs9"))))
(build-system gnu-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(delete 'configure)
(delete 'build)
(replace 'install
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin"))
(doc (string-append %output "/share/doc/"
,name "-" ,version)))
(install-file "clipdel" bin)
(install-file "clipmenu" bin)
(install-file "clipmenud" bin)
(install-file "README.md" doc)
#t)))
(add-after 'install 'wrap-script
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(clipnotify (assoc-ref inputs "clipnotify"))
(coreutils-minimal (assoc-ref inputs "coreutils-minimal"))
(gawk (assoc-ref inputs "gawk"))
(util-linux (assoc-ref inputs "util-linux"))
(xdotool (assoc-ref inputs "xdotool"))
(xsel (assoc-ref inputs "xsel"))
(guile (search-input-file inputs "bin/guile")))
(for-each
(lambda (prog)
(wrap-script (string-append out "/bin/" prog)
#:guile guile
`("PATH" ":" prefix
,(map (lambda (dir)
(string-append dir "/bin"))
(list clipnotify coreutils-minimal
gawk util-linux xdotool xsel)))))
'("clipmenu" "clipmenud" "clipdel")))
#t))
(replace 'check
(lambda* (#:key inputs outputs #:allow-other-keys)
;; substitute a shebang appearing inside a string (the test
;; file writes this string to a temporary file):
(substitute* "tests/test-clipmenu"
(("#!/usr/bin/env bash")
(string-append "#!" (which "bash"))))
(invoke "tests/test-clipmenu")
#t)))))
(inputs
(list clipnotify
coreutils-minimal
gawk
guile-3.0 ; for wrap-script
util-linux
xdotool
xsel))
(home-page "https://github.com/cdown/clipmenu")
(synopsis "Simple clipboard manager using dmenu or rofi and xsel")
(description "Start @command{clipmenud}, then run @command{clipmenu} to
select something to put on the clipboard.
When @command{clipmenud} detects changes to the clipboard contents, it writes
them out to the cache directory. @command{clipmenu} reads the cache directory
to find all available clips and launches @command{dmenu} (or @command{rofi},
depending on the value of @code{CM_LAUNCHER}) to let the user select a clip.
After selection, the clip is put onto the PRIMARY and CLIPBOARD X selections.")
(license license:public-domain))))
(define-public kbdd
(package
(name "kbdd")
(version "0.7.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/qnikst/kbdd")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0qkq75grbd4wkx4nlvswgavpijk9ad0pzqyj89a0ayjsbsn36pqy"))))
(build-system gnu-build-system)
(native-inputs
(list autoconf automake
`(,glib "bin") pkg-config))
(inputs
(list dbus-glib glib libx11))
(home-page "https://github.com/qnikst/kbdd")
(synopsis "Per-window keyboard layout switching daemon for X")
(description "@command{kbdd} is a simple keyboard layout switching
program, which is designed to run in an X11 session and remember
keyboard layouts on a per-window basis. That can be very handy for a
user of a non-US keyboard who does not want to jump through layouts back
and forth while typing in terminals (mostly in a latin alphabet) and
some kind of chat (in native language).
@command{kbdd} also supports D-Bus signals, which makes it possible to
create layout indicator widgets.")
(license license:bsd-2)))
(define-public j4-dmenu-desktop
(package
(name "j4-dmenu-desktop")
(version "2.18")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/enkore/j4-dmenu-desktop")
(commit (string-append "r" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1gxpgifzy0hnpd0ymw3r32amzr32z3bgb90ldjzl438p6h1q0i26"))))
(build-system cmake-build-system)
(native-inputs
(list catch2))
(arguments
`(#:configure-flags '("-DWITH_GIT_CATCH=off")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'find-catch
(lambda _
(substitute* "CMakeLists.txt"
(("PATH_SUFFIXES catch") "PATH_SUFFIXES catch2"))
#t))
(replace 'check
(lambda _
(invoke "./j4-dmenu-tests" "exclude:SearchPath/XDG_DATA_HOME"))))))
(synopsis "Fast desktop menu")
(description
"j4-dmenu-desktop is a replacement for i3-dmenu-desktop. Its purpose
is to find @file{.desktop} files and offer you a menu to start an application
using @command{dmenu}.")
(home-page "https://github.com/enkore/j4-dmenu-desktop")
(license license:gpl3+)))
(define-public wofi
(package
(name "wofi")
(version "1.2.4")
(source (origin
(method hg-fetch)
(uri (hg-reference
(url "https://hg.sr.ht/~scoopta/wofi")
(changeset (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1bnf078fg1kwslzwm1mjxwcqqq3bhk1dzymwfw9gk3brqbxrl75c"))))
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t))
(native-inputs
(list pkg-config))
(inputs
`(("gtk3" ,gtk+)
("wayland" ,wayland)))
(synopsis "Launcher/menu program for wayland")
(description
"Wofi is a launcher/menu program for wlroots based wayland compositors
such as sway, similar to @command{rofi}.")
(home-page "https://hg.sr.ht/~scoopta/wofi")
(license license:gpl3+)))
(define-public dex
(package
(name "dex")
(version "0.9.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url (string-append "https://github.com/jceb/dex"))
(commit (string-append "v" version))))
(sha256
(base32
"03aapcywnz4kl548cygpi25m8adwbmqlmwgxa66v4156ax9dqs86"))
(file-name (git-file-name name version))))
(build-system gnu-build-system)
(arguments
`(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
#:phases
(modify-phases %standard-phases
(delete 'configure))
#:tests? #f))
(inputs
(list python))
(native-inputs
(list python-sphinx))
(home-page "https://github.com/jceb/dex")
(synopsis "Execute DesktopEntry files")
(description
"@command{dex}, @dfn{DesktopEntry Execution}, is a program to generate
and execute @file{.desktop} files of the Application type.")
(license license:gpl3+)))
(define-public sx
(package
(name "sx")
(version "2.1.7")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/Earnestly/sx")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"0xv15m30nhcknasqiybj5wwf7l91q4a4jf6xind8x5x00c6br6nl"))))
(build-system gnu-build-system)
(arguments
'(#:tests? #f ; no tests
#:make-flags
(let ((out (assoc-ref %outputs "out")))
(list (string-append "PREFIX=" out)))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'refer-to-xauth
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "sx"
(("\\bxauth\\b" command)
(string-append (assoc-ref inputs "xauth") "/bin/" command)))))
(delete 'configure)))) ; no configure script
(inputs
(list xauth))
(home-page "https://github.com/Earnestly/sx")
(synopsis "Start an xorg server")
(description
"@command{sx} is a simple alternative to both @command{xinit} and
@command{startx} for starting an Xorg server.")
(license license:x11)))
(define-public hsetroot
(package
(name "hsetroot")
(version "1.0.5")
(home-page "https://github.com/himdel/hsetroot")
(source (origin
(method git-fetch)
(file-name (git-file-name name version))
(uri (git-reference
(url home-page)
(commit version)))
(sha256
(base32
"1jbk5hlxm48zmjzkaq5946s58rqwg1v1ds2sdyd2ba029hmvr722"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f
#:make-flags
(list
,(string-append "CC=" (cc-for-target))
(string-append "PREFIX=" (assoc-ref %outputs "out")))
#:phases
(modify-phases %standard-phases
(delete 'configure)
(add-before 'install 'mkdir-install-path
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(mkdir-p (string-append out "/bin"))))))))
(inputs
(list libx11 imlib2 libxinerama))
(native-inputs
(list pkg-config))
(synopsis "Imlib2-based wallpaper changer")
(description
"The @command{hsetroot} command composes wallpapers for X.
This package is the fork of hsetroot by Hyriand.")
(license license:gpl2+)))
(define-public jumpapp
(package
(name "jumpapp")
(version "1.2")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/mkropat/jumpapp")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "05shgw4agkhgk5vbvc05s12q7m0djc0m4qrd328hmis37bxp9j7n"))))
(build-system gnu-build-system)
(arguments `(#:phases
(modify-phases %standard-phases
(delete 'configure)
(delete 'check)
(add-before 'install 'set-prefix-in-makefile
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(substitute* "Makefile"
(("PREFIX =.*")
(string-append "PREFIX = " out "\n")))))))))
(propagated-inputs
(list wmctrl xdotool xprop))
(native-inputs
(list pandoc perl))
(synopsis "Run-or-raise application switcher for any X11 desktop")
(description
"Bind a key for any given application that will launch the application,
if it's not already running, or focus the application's window,if it is running.
Pressing the key again will cycle to the application's next window,
if there's more than one.")
(home-page "https://github.com/mkropat/jumpapp")
(license license:expat)))
(define-public xkbset
(package
(name "xkbset")
(version "0.6")
(source
(origin
(method url-fetch)
(uri (string-append "https://faculty.missouri.edu/~stephen/software/"
name "/" name "-" version ".tar.gz"))
(sha256
(base32 "199mlm127zk1lr8nrq22n68l2l8cjwc4cgwd67rg1i6497n2y0xc"))))
(build-system gnu-build-system)
(inputs
(list libx11 perl perl-tk))
(arguments
`(#:tests? #f ; There are none.
#:make-flags
`(,,(string-append "CC=" (cc-for-target))
,(string-append "X11PREFIX=" %output)
,(string-append "X11BASE=" (assoc-ref %build-inputs "libx11"))
,(string-append "INSTALL_MAN1=" %output "/share/man/man1"))
#:phases
(modify-phases %standard-phases
(delete 'configure)
(add-before 'install 'create-install-directories
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(mkdir-p out)
(with-directory-excursion out
(for-each mkdir-p '("bin" "share/man/man1"))))
#t))
(add-after 'install 'wrap-perl-script
(lambda* (#:key outputs #:allow-other-keys)
(wrap-program (string-append (assoc-ref outputs "out")
"/bin/xkbset-gui")
`("PERL5LIB" ":" prefix (,(getenv "PERL5LIB"))))
#t))
(replace 'install-license-files
(lambda* (#:key outputs #:allow-other-keys)
(install-file "COPYRIGHT"
(string-append (assoc-ref outputs "out")
"/share/doc/" ,name "-" ,version))
#t)))))
(home-page "https://faculty.missouri.edu/~stephen/software/")
(synopsis "User-preference utility for XKB extensions for X")
(description
"This is a program to help manage many of the XKB features of the X Window
System. This includes such features as MouseKeys, AccessX, StickyKeys,
BounceKeys, and SlowKeys. It includes a graphical program to help with
MouseKeys-acceleration management.")
(license license:bsd-3)))
(define-public wlsunset
(package
(name "wlsunset")
(version "0.2.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://git.sr.ht/~kennylevinsen/wlsunset/")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"0hhsddh3rs066rbsjksr8kcwg8lvglbvs67dq0r5wx5c1xcwb51w"))))
(build-system meson-build-system)
(inputs
(list wayland wayland-protocols))
(native-inputs
(list pkg-config))
(synopsis "Day/night gamma adjustments for Wayland compositors")
(home-page "https://sr.ht/~kennylevinsen/wlsunset/")
(description
"wlunset adjusts gamma based on day-night cycles on Wayland compositors
that support @samp{wlr-gamma-control-unstable-v1}. It is also known as a blue
light filter or night light.")
(license license:expat)))
|