| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 |
|
| 23 | (define-module (gnu packages gnustep)
|
| 24 | #:use-module (guix download)
|
| 25 | #:use-module (guix git-download)
|
| 26 | #:use-module (guix gexp)
|
| 27 | #:use-module (guix packages)
|
| 28 | #:use-module (guix build-system gnu)
|
| 29 | #:use-module (guix build-system cmake)
|
| 30 | #:use-module ((guix licenses) #:prefix license:)
|
| 31 | #:use-module (gnu packages)
|
| 32 | #:use-module (gnu packages base)
|
| 33 | #:use-module (gnu packages bash)
|
| 34 | #:use-module (gnu packages datastructures)
|
| 35 | #:use-module (gnu packages xorg)
|
| 36 | #:use-module (gnu packages libffcall)
|
| 37 | #:use-module (gnu packages gcc)
|
| 38 | #:use-module (gnu packages gnome)
|
| 39 | #:use-module (gnu packages gtk)
|
| 40 | #:use-module (gnu packages linux)
|
| 41 | #:use-module (gnu packages llvm)
|
| 42 | #:use-module (gnu packages texinfo)
|
| 43 | #:use-module (gnu packages autotools)
|
| 44 | #:use-module (gnu packages glib)
|
| 45 | #:use-module (gnu packages fontutils)
|
| 46 | #:use-module (gnu packages image)
|
| 47 | #:use-module (gnu packages pkg-config)
|
| 48 | #:use-module (gnu packages xml)
|
| 49 | #:use-module (ice-9 match))
|
| 50 |
|
| 51 | (define-public fsviewer
|
| 52 | (package
|
| 53 | (name "fsviewer")
|
| 54 | (version "0.2.7")
|
| 55 | (source
|
| 56 | (origin
|
| 57 | (method git-fetch)
|
| 58 | (uri (git-reference
|
| 59 | (url "https://github.com/roblillack/fsviewer")
|
| 60 | (commit (string-append "v" version))))
|
| 61 | (sha256
|
| 62 | (base32
|
| 63 | "067fvbq7b4lbnn1flmwf8lm0vq4n6qz5yz6hhab30l4gksfk51cg"))
|
| 64 | (file-name (git-file-name name version))))
|
| 65 | (build-system cmake-build-system)
|
| 66 | (arguments (list #:tests? #f)) |
| 67 | (inputs
|
| 68 | (list windowmaker libxmu libxpm))
|
| 69 | (native-inputs
|
| 70 | (list pkg-config))
|
| 71 | (home-page "https://github.com/roblillack/fsviewer")
|
| 72 | (synopsis "File viewer for Window Maker")
|
| 73 | (description "FSViewer is a NeXT FileViewer lookalike for Window
|
| 74 | Maker supporting browser mode and list mode. This version is a fork of
|
| 75 | FSViewer.app originally written by George Clernon (1998-99) and later
|
| 76 | maintained by Guido Scholz (2002-07).")
|
| 77 | (license license:gpl2)))
|
| 78 |
|
| 79 | (define-public gnustep-make
|
| 80 | (package
|
| 81 | (name "gnustep-make")
|
| 82 | (version "2.7.0")
|
| 83 | (source (origin
|
| 84 | (method url-fetch)
|
| 85 | (uri (string-append "ftp://ftp.gnustep.org/pub/gnustep/core/"
|
| 86 | name "-" version ".tar.gz"))
|
| 87 | (sha256
|
| 88 | (base32
|
| 89 | "1khiygfkz0zhh9b5nybn40g0xnnjxchk24n49hff1bwanszir84h"))))
|
| 90 | (build-system gnu-build-system)
|
| 91 | (arguments
|
| 92 | '(#:tests? #f)) |
| 93 | (native-inputs
|
| 94 | (list which))
|
| 95 | (home-page "http://gnustep.org")
|
| 96 | (synopsis "GNUstep make package")
|
| 97 | (description "The makefile package is a simple, powerful and extensible way
|
| 98 | to write makefiles for a GNUstep-based project. It allows the user to write a
|
| 99 | project without having to deal with the complex issues associated with
|
| 100 | configuration, building, installation, and packaging. It also allows the user
|
| 101 | to easily create cross-compiled binaries.")
|
| 102 | (license license:gpl3+)))
|
| 103 |
|
| 104 | (define-public libobjc2
|
| 105 | (package
|
| 106 | (name "libobjc2")
|
| 107 | (version "2.3")
|
| 108 | (source (origin
|
| 109 | (method git-fetch)
|
| 110 | (uri (git-reference
|
| 111 | (url "https://github.com/gnustep/libobjc2")
|
| 112 | (commit (string-append "v" version))))
|
| 113 | (sha256
|
| 114 | (base32
|
| 115 | "0790mxwq1na5gm5czi3phw384r44lfckb7wcp1hx1hjyksmg1c0b"))
|
| 116 | (file-name (git-file-name name version))
|
| 117 | (patches
|
| 118 | (search-patches "libobjc2-clang22.patch"))))
|
| 119 | (build-system cmake-build-system)
|
| 120 | (arguments
|
| 121 | (list
|
| 122 | |
| 123 | |
| 124 | |
| 125 | #:configure-flags #~(list "-DCMAKE_C_COMPILER=clang"
|
| 126 | "-DCMAKE_CXX_COMPILER=clang++"
|
| 127 | "-DTESTS=ON")))
|
| 128 | (native-inputs
|
| 129 | (list clang))
|
| 130 | (inputs
|
| 131 | (list robin-map))
|
| 132 | (home-page "https://www.gnustep.org/")
|
| 133 | (synopsis "Objective-C runtime library for Clang")
|
| 134 | (description "Libobjc2 is an Objective-C runtime library designed as a
|
| 135 | drop-in replacement for GCC runtime. It supports following features beyond
|
| 136 | GCC runtime.
|
| 137 |
|
| 138 | @itemize
|
| 139 | @item Modern Objective-C runtime APIs.
|
| 140 | @item Blocks (Closures).
|
| 141 | @item Synthesised property accessors.
|
| 142 | @item Efficient support for @code{@@synchronized()}.
|
| 143 | @item Type-dependent dispatch.
|
| 144 | @item Associated reference API.
|
| 145 | @item Automatic Reference Counting.
|
| 146 | @end itemize")
|
| 147 | (license license:expat)))
|
| 148 |
|
| 149 | (define-public windowmaker
|
| 150 | (package
|
| 151 | (name "windowmaker")
|
| 152 | (version "0.96.0")
|
| 153 | (synopsis "NeXTSTEP-like window manager")
|
| 154 | (source (origin
|
| 155 | (method url-fetch)
|
| 156 | (uri (string-append
|
| 157 | "https://github.com/window-maker/wmaker/releases/download/"
|
| 158 | "wmaker-" version "/WindowMaker-" version ".tar.gz"))
|
| 159 | (sha256
|
| 160 | (base32
|
| 161 | "0vbgjbqnv2gcpimnrh2fc383gxcdfhgz1j3f2lfa4jng4fx31qag"))))
|
| 162 | (build-system gnu-build-system)
|
| 163 | (arguments
|
| 164 | (list
|
| 165 | #:modules '((guix build gnu-build-system)
|
| 166 | (guix build utils)
|
| 167 | (ice-9 match))
|
| 168 | #:phases
|
| 169 | #~(modify-phases %standard-phases
|
| 170 | (add-before 'configure 'pre-configure
|
| 171 | (lambda _
|
| 172 | |
| 173 | |
| 174 | |
| 175 | |
| 176 | (let* ((bin (string-append #$output "/bin")))
|
| 177 | (substitute* "src/main.c"
|
| 178 | (("\"wmaker\\.inst")
|
| 179 | (string-append "\"" bin "/wmaker.inst")))
|
| 180 | (substitute* '("src/defaults.c" "WPrefs.app/Menu.c")
|
| 181 | (("\"wmsetbg")
|
| 182 | (string-append "\"" bin "/wmsetbg")))
|
| 183 | |
| 184 | |
| 185 | |
| 186 | (substitute* "src/defaults.c"
|
| 187 | (("len = strlen\\(text\\) \\+ 40;")
|
| 188 | (string-append "len = strlen(text) + 107;"))))))
|
| 189 | (add-after 'install 'install-xsession
|
| 190 | (lambda _
|
| 191 | (let* ((xsessions (string-append #$output "/share/xsessions")))
|
| 192 | (mkdir-p xsessions)
|
| 193 | (call-with-output-file
|
| 194 | (string-append xsessions "/windowmaker.desktop")
|
| 195 | (lambda (port)
|
| 196 | (format port "~
|
| 197 | [Desktop Entry]~@
|
| 198 | Name=Window Maker~@
|
| 199 | Comment=~a~@
|
| 200 | Exec=~a/bin/wmaker~@
|
| 201 | Type=Application~%"
|
| 202 | (string-map (match-lambda
|
| 203 | (#\newline #\space)
|
| 204 | (chr chr))
|
| 205 | #$synopsis) #$output))))))
|
| 206 | (add-after 'install-xsession 'wrap
|
| 207 | (lambda _
|
| 208 | (let* ((bin (string-append #$output "/bin")))
|
| 209 | |
| 210 | |
| 211 | (wrap-program (string-append bin "/wmaker.inst")
|
| 212 | `("PATH" ":" prefix (,bin)))))))))
|
| 213 | (inputs
|
| 214 | (list bash-minimal |
| 215 | fontconfig
|
| 216 | giflib
|
| 217 | libjpeg-turbo
|
| 218 | libpng
|
| 219 | libtiff
|
| 220 | libx11
|
| 221 | libxft
|
| 222 | libxinerama
|
| 223 | libxmu))
|
| 224 | (native-inputs
|
| 225 | (list pkg-config))
|
| 226 | (home-page "https://windowmaker.org/")
|
| 227 | (description
|
| 228 | "Window Maker is an X11 window manager originally designed to provide
|
| 229 | integration support for the GNUstep Desktop Environment. In every way
|
| 230 | possible, it reproduces the elegant look and feel of the NeXTSTEP user
|
| 231 | interface. It is fast, feature rich, easy to configure, and easy to use.")
|
| 232 |
|
| 233 | |
| 234 | (license license:gpl2+)))
|
| 235 |
|
| 236 | (define-public wmbattery
|
| 237 | (package
|
| 238 | (name "wmbattery")
|
| 239 | (version "2.54")
|
| 240 | (source (origin
|
| 241 | (method url-fetch)
|
| 242 | (uri (string-append
|
| 243 | "mirror://debian/pool/main/w/wmbattery/wmbattery_"
|
| 244 | version ".orig.tar.gz"))
|
| 245 | (sha256
|
| 246 | (base32
|
| 247 | "1r4n58mwkm69y1pjs7l64hg8r1lpndrzyrfl2rdgd4zi6v0jhyyw"))))
|
| 248 | (build-system gnu-build-system)
|
| 249 | (arguments '(#:tests? #f)) |
| 250 | (inputs
|
| 251 | (list glib libx11 libxext libxpm upower))
|
| 252 | (native-inputs
|
| 253 | (list pkg-config))
|
| 254 | (home-page "https://www.dockapps.net/wmbattery")
|
| 255 | (synopsis "Display laptop battery info")
|
| 256 | (description
|
| 257 | "Wmbattery displays the status of your laptop's battery in a small icon.
|
| 258 | This includes if it is plugged in, if the battery is charging, how many minutes
|
| 259 | of battery life remain, battery life remaining (with both a percentage and a
|
| 260 | graph), and battery status (high - green, low - yellow, or critical - red).")
|
| 261 | (license license:gpl2)))
|
| 262 |
|
| 263 | (define-public wmnd
|
| 264 | (package
|
| 265 | (name "wmnd")
|
| 266 | (version "0.4.18")
|
| 267 | (source (origin
|
| 268 | (method url-fetch)
|
| 269 | (uri (string-append
|
| 270 | "http://www.thregr.org/~wavexx/software/wmnd/releases/"
|
| 271 | name "-" version ".tar.gz"))
|
| 272 | (sha256
|
| 273 | (base32
|
| 274 | "01s37d8cfpncza1mlw13ar4rcwbrc1vgaj3ifhglmlcnzvvayg0n"))))
|
| 275 | (build-system gnu-build-system)
|
| 276 | (inputs
|
| 277 | (list libx11 libxext libxpm))
|
| 278 | (native-inputs
|
| 279 | (list pkg-config))
|
| 280 | (home-page "https://www.thregr.org/~wavexx/software/wmnd/")
|
| 281 | (synopsis "Network interface monitor")
|
| 282 | (description
|
| 283 | "WMND is a dockapp for monitoring network interfaces under WindowMaker and
|
| 284 | other compatible window managers.")
|
| 285 | (license license:gpl2+)))
|
| 286 |
|
| 287 | (define-public wmcpuload
|
| 288 | (package
|
| 289 | (name "wmcpuload")
|
| 290 | (version "1.1.1")
|
| 291 | (source (origin
|
| 292 | (method url-fetch)
|
| 293 | (uri (string-append
|
| 294 | "mirror://debian/pool/main/w/wmcpuload/"
|
| 295 | name "_" version ".orig.tar.gz"))
|
| 296 | (sha256
|
| 297 | (base32
|
| 298 | "1334y0axnxydwv05d172f405iljrfakg4kcyg9kmn46v6ywv424g"))))
|
| 299 | (build-system gnu-build-system)
|
| 300 | (inputs
|
| 301 | (list libx11 libxext libxpm))
|
| 302 | (native-inputs
|
| 303 | (list pkg-config))
|
| 304 | (home-page "https://www.dockapps.net/wmcpuload")
|
| 305 | (synopsis "Monitor CPU usage")
|
| 306 | (description
|
| 307 | "Wmcpuload displays the current CPU usage, expressed as a percentile and a
|
| 308 | chart, and has an LCD look-alike user interface. The back-light may be turned
|
| 309 | on and off by clicking the mouse button over the application. If the CPU usage
|
| 310 | hits a certain threshold, an alarm-mode will alert you by turning back-light
|
| 311 | on.")
|
| 312 | (license license:gpl2+)))
|
| 313 |
|
| 314 | (define-public wmclock
|
| 315 | (package
|
| 316 | (name "wmclock")
|
| 317 | (version "1.0.16")
|
| 318 | (source (origin
|
| 319 | (method url-fetch)
|
| 320 | (uri (string-append
|
| 321 | "mirror://debian/pool/main/w/wmclock/"
|
| 322 | name "_" version ".orig.tar.gz"))
|
| 323 | (sha256
|
| 324 | (base32
|
| 325 | "1lx276ba8r2yydhmwj1g586jdqg695ad89ng36fr3mb067gvb2rz"))))
|
| 326 | (build-system gnu-build-system)
|
| 327 | (inputs
|
| 328 | (list libx11 libxext libxpm))
|
| 329 | |
| 330 | (native-inputs
|
| 331 | (list autoconf automake pkg-config))
|
| 332 | (home-page "https://www.dockapps.net/wmclock")
|
| 333 | (synopsis "Display the date and time")
|
| 334 | (description
|
| 335 | "wmclock is an applet for Window Maker which displays the date and time in
|
| 336 | a dockable tile. It features multiple language support, 24h or 12h time
|
| 337 | display, and can run a user-specified program on mouse click.")
|
| 338 | (license license:gpl2+)))
|
| 339 |
|
| 340 | (define-public wmfire
|
| 341 | (package
|
| 342 | (name "wmfire")
|
| 343 | (version "1.2.4")
|
| 344 | (source (origin
|
| 345 | (method url-fetch)
|
| 346 | (uri (string-append "https://www.improbability.net/"
|
| 347 | name "/" name "-" version ".tar.gz"))
|
| 348 | (sha256
|
| 349 | (base32
|
| 350 | "101grahd80n97y2dczb629clmcgiavdpbbwy78kk5wgs362m12z3"))
|
| 351 | (patches
|
| 352 | (search-patches "wmfire-dont-inline-draw-fire.patch"
|
| 353 | "wmfire-update-for-new-gdk-versions.patch"))))
|
| 354 | (build-system gnu-build-system)
|
| 355 | (inputs
|
| 356 | (list gtk+-2 libgtop))
|
| 357 | (native-inputs
|
| 358 | (list pkg-config))
|
| 359 | (home-page "https://www.improbability.net/")
|
| 360 | (synopsis "Display flames to represent resource usage")
|
| 361 | (description
|
| 362 | "wmfire is an applet for Window Maker that can monitor the average cpu
|
| 363 | load, or individual cpu load on SMP computers. Additionally it can monitor the
|
| 364 | memory, network load, a file or just be set to show a pretty flame. On
|
| 365 | entering the dock a burning spot replaces the cursor, and after two seconds
|
| 366 | symbols to represent the current monitor are \"burnt\" onscreen. The flame
|
| 367 | colour can also be changed.")
|
| 368 | (license license:gpl2+)))
|
| 369 |
|
| 370 | (define-public wmamixer
|
| 371 | (package
|
| 372 | (name "wmamixer")
|
| 373 | (version "1.0")
|
| 374 | (source (origin
|
| 375 | (method git-fetch)
|
| 376 | (uri (git-reference
|
| 377 | (url "https://github.com/gryf/wmamixer")
|
| 378 | (commit version)))
|
| 379 | (file-name (git-file-name name version))
|
| 380 | (sha256
|
| 381 | (base32
|
| 382 | "04vv4kr4mj1nwri6zqgdg4yzbbmmng73qd4h0azliril75m7sldf"))))
|
| 383 | (inputs (list libx11 libxpm libxext alsa-lib))
|
| 384 | (build-system gnu-build-system)
|
| 385 | (arguments
|
| 386 | (list #:phases #~(modify-phases %standard-phases
|
| 387 | (delete 'configure)
|
| 388 | (delete 'check)
|
| 389 | (replace 'install
|
| 390 | (lambda* (#:key inputs outputs #:allow-other-keys)
|
| 391 | (let* ((out (assoc-ref outputs "out"))
|
| 392 | (bin (string-append out "/bin")))
|
| 393 | (install-file "wmamixer" bin)))))))
|
| 394 | (synopsis "Window maker applet to display the current volume")
|
| 395 | (description
|
| 396 | "wmamixer is an applet for window maker which displays the
|
| 397 | current volume level both numerically and visiaully with a volume bar. It
|
| 398 | includes the ability to toggle through different outputs to show their
|
| 399 | respective volume level.")
|
| 400 | (home-page "https://github.com/gryf/wmamixer")
|
| 401 | (license license:gpl2+)))
|
| 402 |
|