commit eca1cc49a9abeee849742841fed965be3abdf4eb parent 70f7394a294bd919d5ec7665b651f61a096fe850 Author: Yuval Langer <yuval.langer@gmail.com> Date: Fri, 3 May 2024 05:42:19 +0300 Remove g-golf. Diffstat:
M | kakafarm/packages/guile-xyz.scm | | | 87 | ------------------------------------------------------------------------------- |
1 file changed, 0 insertions(+), 87 deletions(-)
diff --git a/kakafarm/packages/guile-xyz.scm b/kakafarm/packages/guile-xyz.scm @@ -119,93 +119,6 @@ press a keybinding / shortcut you've set in the windows manager, and clipboard-speaker would read that aloud.") (license license:agpl3+)))) -(define-public guile-g-golf - (package - (name "guile-g-golf") - (version "0.8.0-rc-2") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://git.savannah.gnu.org/git/g-golf.git") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "1hbxc812cr3rl4w3q4bf2pm2wds31vp7r78f26kj94qm71shh29l")))) - (build-system gnu-build-system) - (arguments - (list - #:configure-flags #~(list "--with-guile-site=no") - #:parallel-build? #f - #:phases #~(modify-phases %standard-phases - (add-after 'unpack 'fix-guile-site-directory - (lambda _ - (substitute* "configure.ac" - (("SITEDIR=.*$") - "SITEDIR=\"$datadir/guile/site/$GUILE_EFFECTIVE_VERSION\"; -") - (("SITECCACHEDIR=\"\\$libdir/g-golf/") - "SITECCACHEDIR=\"$libdir/")))) - (add-before 'configure 'tests-work-arounds - (lambda* (#:key inputs #:allow-other-keys) - ;; In build environment, There is no /dev/tty - (substitute* "test-suite/tests/gobject.scm" - (("/dev/tty") - "/dev/null")))) - (add-before 'configure 'substitute-libs - (lambda* (#:key inputs outputs #:allow-other-keys) - (define (get lib) - (search-input-file inputs - (string-append "lib/" lib ".so"))) - - (let* ((libgi (get "libgirepository-1.0")) - (libglib (get "libglib-2.0")) - (libgobject (get "libgobject-2.0")) - (libg-golf (string-append #$output - "/lib/libg-golf"))) - (substitute* "g-golf/init.scm" - (("libgirepository-1.0") - libgi) - (("libglib-2.0") - libglib) - (("libgobject-2.0") - libgobject) - (("\\(dynamic-link \"libg-golf\"\\)") - (format #f "~s" - `(catch #t - (lambda () - (dynamic-link "libg-golf")) - (lambda _ - (dynamic-link ,libg-golf)))))) - (setenv "GUILE_AUTO_COMPILE" "0") #t))) - (add-before 'check 'start-xorg-server - (lambda* (#:key inputs #:allow-other-keys) - ;; The test suite requires a running X server. - (system "Xvfb :1 &") - (setenv "DISPLAY" ":1") #t))))) - (inputs (list gnu:packages:guile:guile-3.0 - gnu:packages:guile-xyz:guile-lib glib-next)) - (native-inputs (list autoconf - automake - texinfo - gettext-minimal - libtool - pkg-config - ;; required for tests - gtk+ - clutter - xorg-server-for-tests)) - (propagated-inputs (list gobject-introspection-next)) - (home-page "https://www.gnu.org/software/g-golf/") - (synopsis "Guile bindings for GObject Introspection") - (description - "G-Golf (Gnome: (Guile Object Library for)) is a library for developing -modern applications in Guile Scheme. It comprises a direct binding to the -GObject Introspection API and higher-level functionality for importing Gnome -libraries and making GObject classes (and methods) available in Guile's -object-oriented programming system, GOOPS.") - (license license:lgpl3+))) - (define-public guile-rsv (let ((commit "41b04c85eef31d4d51001c6d66e8fd339fcc614c") (revision "1")