Commit | Line | Data |
---|---|---|
d7a9ed37 LC |
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org> | |
f9ab1da0 | 3 | ;;; Copyright © 2016 Kei Yamashita <kei@openmailbox.org> |
d7a9ed37 LC |
4 | ;;; |
5 | ;;; This file is part of GNU Guix. | |
6 | ;;; | |
7 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
8 | ;;; under the terms of the GNU General Public License as published by | |
9 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
10 | ;;; your option) any later version. | |
11 | ;;; | |
12 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
13 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | ;;; GNU General Public License for more details. | |
16 | ;;; | |
17 | ;;; You should have received a copy of the GNU General Public License | |
18 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
19 | ||
20 | (define-module (gnu packages gnustep) | |
21 | #:use-module (guix download) | |
22 | #:use-module (guix packages) | |
23 | #:use-module (guix build-system gnu) | |
24 | #:use-module (guix licenses) | |
25 | #:use-module (gnu packages xorg) | |
f9ab1da0 KY |
26 | #:use-module (gnu packages gnome) |
27 | #:use-module (gnu packages texinfo) | |
28 | #:use-module (gnu packages autotools) | |
29 | #:use-module (gnu packages glib) | |
d7a9ed37 | 30 | #:use-module (gnu packages fontutils) |
e55354b8 | 31 | #:use-module (gnu packages image) |
d7a9ed37 LC |
32 | #:use-module (gnu packages pkg-config)) |
33 | ||
34 | (define-public windowmaker | |
35 | (package | |
36 | (name "windowmaker") | |
79982002 | 37 | (version "0.95.6") |
d7a9ed37 LC |
38 | (source (origin |
39 | (method url-fetch) | |
40 | (uri (string-append | |
41 | "http://windowmaker.org/pub/source/release/WindowMaker-" | |
42 | version ".tar.gz")) | |
43 | (sha256 | |
44 | (base32 | |
79982002 | 45 | "1i3dw1yagsa3rs9x2na2ynqlgmbahayws0kz4vl00fla6550nns3")))) |
d7a9ed37 LC |
46 | (build-system gnu-build-system) |
47 | (arguments | |
be05e643 LC |
48 | '(#:phases (alist-cons-before |
49 | 'configure 'pre-configure | |
d7a9ed37 | 50 | (lambda* (#:key outputs #:allow-other-keys) |
be05e643 LC |
51 | ;; 'wmaker' wants to invoke 'wmaker.inst' the first time, |
52 | ;; and the 'wmsetbg', so make sure it uses the right ones. | |
53 | ;; We can't use a wrapper here because that would pollute | |
54 | ;; $PATH in the whole session. | |
d7a9ed37 LC |
55 | (let* ((out (assoc-ref outputs "out")) |
56 | (bin (string-append out "/bin"))) | |
be05e643 LC |
57 | (substitute* "src/main.c" |
58 | (("\"wmaker\\.inst") | |
59 | (string-append "\"" bin "/wmaker.inst"))) | |
60 | (substitute* '("src/defaults.c" "WPrefs.app/Menu.c") | |
61 | (("\"wmsetbg") | |
62 | (string-append "\"" bin "/wmsetbg"))))) | |
63 | (alist-cons-after | |
64 | 'install 'wrap | |
65 | (lambda* (#:key outputs #:allow-other-keys) | |
66 | (let* ((out (assoc-ref outputs "out")) | |
67 | (bin (string-append out "/bin"))) | |
68 | ;; In turn, 'wmaker.inst' wants to invoke 'wmmenugen' | |
69 | ;; etc., so make sure everything is in $PATH. | |
70 | (wrap-program (string-append bin "/wmaker.inst") | |
71 | `("PATH" ":" prefix (,bin))))) | |
72 | %standard-phases)))) | |
d7a9ed37 LC |
73 | (inputs |
74 | `(("libxmu" ,libxmu) | |
75 | ("libxft" ,libxft) | |
76 | ("libx11" ,libx11) | |
77 | ("fontconfig" ,fontconfig) | |
78 | ("libjpeg" ,libjpeg))) | |
79 | (native-inputs | |
80 | `(("pkg-config" ,pkg-config))) | |
81 | (home-page "http://windowmaker.org/") | |
82 | (synopsis "NeXTSTEP-like window manager") | |
83 | (description | |
84 | "Window Maker is an X11 window manager originally designed to provide | |
85 | integration support for the GNUstep Desktop Environment. In every way | |
86 | possible, it reproduces the elegant look and feel of the NeXTSTEP user | |
87 | interface. It is fast, feature rich, easy to configure, and easy to use.") | |
88 | ||
89 | ;; Artwork is distributed under the WTFPL. | |
90 | (license gpl2+))) | |
f9ab1da0 KY |
91 | |
92 | (define-public wmbattery | |
93 | (package | |
94 | (name "wmbattery") | |
95 | (version "2.50") | |
96 | (source (origin | |
97 | (method url-fetch) | |
98 | (uri (string-append | |
99 | "mirror://debian/pool/main/w/wmbattery/wmbattery_" | |
100 | version ".orig.tar.gz")) | |
101 | (sha256 | |
102 | (base32 | |
103 | "0hi6bivv3xd2k68w08krndfl68wdx7nmc2wjzsmcd4q3qgwgyk44")))) | |
104 | (build-system gnu-build-system) | |
105 | (arguments | |
106 | `(#:tests? #f ; no "check" target | |
107 | #:phases | |
108 | (modify-phases %standard-phases | |
109 | (add-after 'unpack 'autoconf | |
110 | (lambda _ (zero? (system* "autoreconf" "-vfi"))))))) | |
111 | (inputs | |
112 | `(("glib" ,glib) | |
113 | ("libx11" ,libx11) | |
114 | ("libxext" ,libxext) | |
115 | ("libxpm" ,libxpm) | |
116 | ("upower" ,upower))) | |
117 | (native-inputs | |
118 | `(("autoconf" ,autoconf) | |
119 | ("automake" ,automake) | |
120 | ("pkg-config" ,pkg-config))) | |
121 | (home-page "http://windowmaker.org/dockapps/?name=wmbattery") | |
122 | (synopsis "Display laptop battery info") | |
123 | (description | |
124 | "Wmbattery displays the status of your laptop's battery in a small icon. | |
125 | This includes if it is plugged in, if the battery is charging, how many minutes | |
126 | of battery life remain, battery life remaining (with both a percentage and a | |
127 | graph), and battery status (high - green, low - yellow, or critical - red).") | |
128 | (license gpl2))) | |
129 | ||
7407f7fe KY |
130 | (define-public wmnd |
131 | (package | |
132 | (name "wmnd") | |
133 | (version "0.4.17") | |
134 | (source (origin | |
135 | (method url-fetch) | |
136 | (uri (string-append | |
137 | "http://www.thregr.org/~wavexx/software/wmnd/releases/" | |
138 | name "-" version ".tar.gz")) | |
139 | (sha256 | |
140 | (base32 | |
141 | "1amkbiwgr31gwkcp7wrjsr7aj1kns8bpmjpv70n86wb8v9mpm828")))) | |
142 | (build-system gnu-build-system) | |
143 | (inputs | |
144 | `(("libx11" ,libx11) | |
145 | ("libxext" ,libxext) | |
146 | ("libxpm" ,libxpm))) | |
147 | (native-inputs | |
148 | `(("pkg-config" ,pkg-config))) | |
149 | (home-page "http://www.thregr.org/~wavexx/software/wmnd/") | |
150 | (synopsis "Network interface monitor") | |
151 | (description | |
152 | "WMND is a dockapp for monitoring network interfaces under WindowMaker and | |
153 | other compatible window managers.") | |
154 | (license gpl2+))) | |
bd688698 KY |
155 | |
156 | (define-public wmcpuload | |
157 | (package | |
158 | (name "wmcpuload") | |
159 | (version "1.0.1") | |
160 | (source (origin | |
161 | (method url-fetch) | |
162 | (uri (string-append | |
163 | "mirror://debian/pool/main/w/wmcpuload/" | |
164 | name "_" version ".orig.tar.gz")) | |
165 | (sha256 | |
166 | (base32 | |
167 | "0irlns4cvxy2mnicx75bya166hdxq7h8bphds3ligijcl9fzgs6n")))) | |
168 | (build-system gnu-build-system) | |
169 | (inputs | |
170 | `(("libx11" ,libx11) | |
171 | ("libxext" ,libxext) | |
172 | ("libxpm" ,libxpm))) | |
173 | (native-inputs | |
174 | `(("pkg-config" ,pkg-config))) | |
175 | (home-page "http://windowmaker.org/dockapps/?name=wmcpuload") | |
176 | (synopsis "Monitor CPU usage") | |
177 | (description | |
178 | "Wmcpuload displays the current CPU usage, expressed as a percentile and a | |
179 | chart, and has an LCD look-alike user interface. The back-light may be turned | |
180 | on and off by clicking the mouse button over the application. If the CPU usage | |
181 | hits a certain threshold, an alarm-mode will alert you by turning back-light | |
182 | on.") | |
183 | (license gpl2+))) | |
2331e5e8 KY |
184 | |
185 | (define-public wmclock | |
186 | (package | |
187 | (name "wmclock") | |
188 | (version "1.0.16") | |
189 | (source (origin | |
190 | (method url-fetch) | |
191 | (uri (string-append | |
192 | "mirror://debian/pool/main/w/wmclock/" | |
193 | name "_" version ".orig.tar.gz")) | |
194 | (sha256 | |
195 | (base32 | |
196 | "1lx276ba8r2yydhmwj1g586jdqg695ad89ng36fr3mb067gvb2rz")))) | |
197 | (build-system gnu-build-system) | |
198 | (arguments | |
199 | `(#:phases | |
200 | (modify-phases %standard-phases | |
201 | (add-after 'unpack 'autoconf | |
202 | (lambda _ (zero? (system* "autoreconf" "-vfi"))))))) | |
203 | ;; wmclock requires autoreconf to generate its configure script. | |
204 | (inputs | |
205 | `(("libx11" ,libx11) | |
206 | ("libxext" ,libxext) | |
207 | ("libxpm" ,libxpm))) | |
208 | (native-inputs | |
209 | `(("autoconf" ,autoconf) | |
210 | ("automake" ,automake) | |
211 | ("pkg-config" ,pkg-config))) | |
212 | (home-page "http://windowmaker.org/dockapps/?name=wmclock") | |
213 | (synopsis "Display the date and time") | |
214 | (description | |
215 | "wmclock is an applet for Window Maker which displays the date and time in | |
216 | a dockable tile. It features multiple language support, 24h or 12h time | |
217 | display, and can run a user-specified program on mouse click.") | |
218 | (license gpl2+))) |