aboutsummaryrefs
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/classpath-miscompilation.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/patches/classpath-miscompilation.patch')
0 files changed, 0 insertions, 0 deletions
) #:phases #~(modify-phases %standard-phases (add-after 'unpack 'patch-paths (lambda* (#:key outputs #:allow-other-keys) (substitute* "src/platform/posix/paths.c" (("/usr/local") (assoc-ref outputs "out"))))) ;; Normally, it tries to fetch patched openal with git ;; but copying files manually in the right place seems ;; to work too. (add-after 'unpack 'prepare-static-openal (lambda* (#:key inputs #:allow-other-keys) (let ((arcan-openal (assoc-ref inputs "arcan-openal"))) (copy-recursively arcan-openal "external/git/openal")) #t)) (add-after 'prepare-static-openal 'generate-man (lambda _ (with-directory-excursion "doc" (invoke "ruby" "docgen.rb" "mangen")) #t)) (add-before 'configure 'chdir (lambda _ (chdir "src") #t))) #:tests? #f)) (inputs `(("bash-minimal" ,bash-minimal) ("espeak" ,espeak) ("ffmpeg" ,ffmpeg) ("freetype" ,freetype) ("gumbo-parser" ,gumbo-parser) ("harfbuzz" ,harfbuzz) ("jbig2dec" ,jbig2dec) ("leptonica" ,leptonica) ("libdrm" ,libdrm) ("libjpeg-turbo" ,libjpeg-turbo) ("libseccomp" ,libseccomp) ("libusb" ,libusb) ("libvnc" ,libvnc) ("libxkbcommon" ,libxkbcommon) ("luajit" ,luajit) ("mupdf" ,mupdf) ("openal" ,openal) ("openjpeg" ,openjpeg) ("sdl2" ,sdl2) ("sqlite" ,sqlite) ("tesseract-ocr" ,tesseract-ocr) ("vlc" ,vlc) ("wayland" ,wayland) ("wayland-protocols" ,wayland-protocols) ("xcb-util" ,xcb-util) ("xcb-util-wm" ,xcb-util-wm) ("zlib" ,zlib) ;; To build arcan_lwa, we need a patched version of openal. ;; https://github.com/letoram/arcan/wiki/packaging ("arcan-openal" ,(origin (method git-fetch) (file-name "arcan-openal-0.6.2") (uri (git-reference (url "https://github.com/letoram/openal") (commit "0.6.2"))) (sha256 (base32 "0vg3fda47q2dk1n43ijcc64q39z044pa8h6scmfyi22g6r6bfw2z")))))) (native-inputs (list pkg-config ruby)) ;For documentation and testing (home-page "https://arcan-fe.com") (synopsis "Display server, multimedia framework and game engine") (description "Arcan is a development framework for creating virtually anything from user interfaces for specialized embedded applications all the way to full-blown desktop environments. At its heart lies a multimedia engine with a Lua scripting interface.") ;; https://github.com/letoram/arcan/blob/master/COPYING (license (list license:asl2.0 license:bsd-3 license:cc-by3.0 license:expat license:gpl2+ license:lgpl2.0 license:lgpl2.0+ license:public-domain license:silofl1.1 license:zlib)))) (define-public arcan-sdl (package (inherit arcan) (name "arcan-sdl") (inputs (modify-inputs (package-inputs arcan) (delete "libdrm") (prepend glu libglvnd mesa sdl2))) (arguments `(,@(ensure-keyword-arguments (package-arguments arcan) '(#:configure-flags '("-DCMAKE_C_FLAGS=-fcommon" "-DHYBRID_SDL=on" "-DBUILTIN_LUA=off" "-DSTATIC_OPENAL=off" "-DDISABLE_JIT=off" "-DENABLE_LWA=on" "-DSTATIC_SQLITE3=off" "-DSTATIC_FREETYPE=off" "-DSHMIF_TUI_ACCEL=on"))))) (synopsis "Combined display server, multimedia framework and game engine (SDL)"))) (define-public durden ;; Match Arcan 0.6.3 (let ((commit "a8938b9c835f55bedc2c42aec4ddc5c9739eb949") (revision "1")) (package (name "durden") (version (git-version "0.6.1" revision commit)) (source (origin (method git-fetch) (file-name (git-file-name name version)) (uri (git-reference (url "https://github.com/letoram/durden") (commit commit))) (sha256 (base32 "1ybi6x2kwn597kjqycrqmlvp6z79yv2jfwzgx937wcckm55xlpvk")) (patches (search-patches "durden-shadow-arcan.patch")))) (build-system copy-build-system) (arguments (list #:install-plan #~'(("durden/" "share/arcan/appl/durden/") ("util/" "share/arcan/appl/durden/util/") ("distr/durden" "bin/durden")) #:phases #~(modify-phases %standard-phases (add-after 'unpack 'patch-paths (lambda* (#:key inputs outputs #:allow-other-keys) (substitute* "distr/durden" (("/usr/share/\\$applname") (string-append (assoc-ref outputs "out") "/share/arcan/appl")) (("@ARCAN_STORE_PATH@") (string-append (assoc-ref inputs "arcan") "/bin/arcan")) (("([\\([:blank:]]+)basename " _ separator) (string-append separator (assoc-ref inputs "coreutils") "/bin/basename ")) (("([\\([:blank:]]+)date " _ separator) (string-append separator (assoc-ref inputs "coreutils") "/bin/date ")) (("([\\([:blank:]]+)ln " _ separator) (string-append separator (assoc-ref inputs "coreutils") "/bin/ln ")) (("([\\([:blank:]]+)mkdir " _ separator) (string-append separator (assoc-ref inputs "coreutils") "/bin/mkdir ")) (("([\\([:blank:]]+)true; " _ separator) (string-append separator (assoc-ref inputs "coreutils") "/bin/true; ")) (("([\\([:blank:]]+)\\[ " _ separator) (string-append separator (assoc-ref inputs "coreutils") "/bin/[ ")))))))) (inputs (list arcan coreutils)) (home-page "https://durden.arcan-fe.com/") (synopsis "Desktop Environment for Arcan") (description "Durden is a desktop environment for the Arcan Display Server. It serves both as a reference showcase on how to take advantage of some of the features in Arcan, and as an entry to the advanced-user side of the desktop environment spectrum.") (license (list license:bsd-3 license:expat license:cc-by3.0 license:cc-by4.0 license:asl2.0))))) (define-public xarcan (package (name "xarcan") (version "0.6.3") (source (origin (method git-fetch) (file-name (git-file-name name version)) (uri (git-reference (url "https://github.com/letoram/xarcan") (commit version))) (sha256 (base32 "1g24mmwnc45ig0x8jk0v91488k8933w07vxi4305sla56q4n82p4")))) (build-system meson-build-system) (arguments (list #:configure-flags #~(list "-Dglamor=true" "-Dint10=false" "-Dipv6=true" "-Dsystemd_logind=false" ;; The following arguments were taken from the Xwayland package. ;; The build system insist on providing a default font path; give ;; that of dejavu, the same used for our fontconfig package. (string-append "-Ddefault_font_path=" #$(this-package-input "font-dejavu") "/share/fonts") (string-append "-Dxkb_dir=" #$(this-package-input "xkeyboard-config") "/share/X11/xkb") (string-append "-Dxkb_bin_dir=" #$(this-package-input "xkbcomp") "/bin") (format #f "-Dbuilder_string=\"Build ID: ~a ~a\"" #$name #$version)))) (native-inputs (list pkg-config autoconf automake libtool util-macros)) (inputs (list arcan font-dejavu font-util libdrm libepoxy libtirpc libx11 libxfont2 libxkbfile libxshmfence mesa openssl pixman xcb-util xcb-util-wm xkbcomp xkeyboard-config xorgproto xtrans)) (home-page "https://arcan-fe.com") (synopsis "Patched Xserver that bridges connections to Arcan") (description "Patched Xserver with a KDrive backend that uses the arcan-shmif to map Xlib/Xcb/X clients to a running arcan instance. It allows running an X session as a window under Arcan.") (license (list license:bsd-3 license:expat)))) ;; Package was merged into arcan in upstream. (define-public arcan-wayland (deprecated-package "arcan-wayland" arcan))