me
/
guix
Archived
1
0
Fork 0

gnu: abiword: Switch to the site mirror.

* gnu/packages/abiword.scm (abiword): Switch to the site mirror as the original
  site is down since around August 2023 (see
  <https://web.archive.org/web/20230801000000*/https://www.abisource.com/>).
  [source]: Use a site mirror.
  [home-page]: Likewise.
  [arguments]: Use gexps.

Change-Id: I4b02ea4e3c60d56547249f83fc1addf56e55055c
Signed-off-by: jgart <jgart@dismail.de>
master
Artyom V. Poptsov 2024-06-15 21:54:16 +03:00 committed by jgart
parent f001b821c1
commit b81e20e23d
No known key found for this signature in database
GPG Key ID: A52AA2B477B6DD35
1 changed files with 35 additions and 31 deletions

View File

@ -5,6 +5,7 @@
;;; Copyright © 2017 Leo Famulari <leo@famulari.name> ;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
;;; Copyright © 2018, 2021 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2018, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com> ;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -26,6 +27,7 @@
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system glib-or-gtk)
#:use-module (guix gexp)
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages autotools) #:use-module (gnu packages autotools)
#:use-module (gnu packages boost) #:use-module (gnu packages boost)
@ -53,7 +55,9 @@
(origin (origin
(method url-fetch) (method url-fetch)
(uri (uri
(string-append "https://www.abisource.com/downloads/abiword/" version ;; XXX: The main site <https://www.abisource.com/> is down. Only a (partial)
;; mirror is available at <http://www.nl.abisource.com/>.
(string-append "http://www.nl.abisource.com/downloads/abiword/" version
"/source/abiword-" version ".tar.gz")) "/source/abiword-" version ".tar.gz"))
(sha256 (sha256
(base32 "1d1179pnslijpjhz1q155fsc828rrlqf7lsn2inqsl3hk5z28mqj")) (base32 "1d1179pnslijpjhz1q155fsc828rrlqf7lsn2inqsl3hk5z28mqj"))
@ -62,8 +66,8 @@
(build-system glib-or-gtk-build-system) (build-system glib-or-gtk-build-system)
(arguments ;; NOTE: rsvg is disabled, since Abiword (arguments ;; NOTE: rsvg is disabled, since Abiword
`(#:configure-flags ;; supports it directly, and its BS is broken. (list #:configure-flags ;; supports it directly, and its BS is broken.
(list ;; wmf was removed from Guix for security. #~(list ;; wmf was removed from Guix for security.
"--enable-clipart" ;; TODO: The following plugins have unresolved "--enable-clipart" ;; TODO: The following plugins have unresolved
"--enable-templates" ;; dependencies: aiksaurus, grammar, wpg, gda, "--enable-templates" ;; dependencies: aiksaurus, grammar, wpg, gda,
(string-append ;; wordperfect, psion, mathview. (string-append ;; wordperfect, psion, mathview.
@ -77,10 +81,10 @@
"wikipedia " "wml " "xslfo") "wikipedia " "wml " "xslfo")
"--enable-introspection" "--enable-introspection"
(string-append "--with-gir-dir=" (string-append "--with-gir-dir="
(assoc-ref %outputs "out") #$output
"/share/gir-1.0") "/share/gir-1.0")
(string-append "--with-typelib-dir=" (string-append "--with-typelib-dir="
(assoc-ref %outputs "out") #$output
"/lib/girepository-1.0")) "/lib/girepository-1.0"))
;; tests fail with: Gtk-CRITICAL **: gtk_settings_get_for_screen: ;; tests fail with: Gtk-CRITICAL **: gtk_settings_get_for_screen:
;; assertion 'GDK_IS_SCREEN (screen)' failed ;; assertion 'GDK_IS_SCREEN (screen)' failed
@ -90,7 +94,7 @@
;; the tests to pass. ;; the tests to pass.
#:tests? #f #:tests? #f
#:make-flags #:make-flags
(list "gtk_update_icon_cache=true"))) #~(list "gtk_update_icon_cache=true")))
(inputs (inputs
(list boost (list boost
enchant enchant
@ -120,7 +124,7 @@
libtool libtool
pkg-config pkg-config
python-wrapper)) python-wrapper))
(home-page "https://www.abisource.com/") (home-page "http://www.nl.abisource.com/")
(synopsis "Word processing program") (synopsis "Word processing program")
;; HACKERS: The comment below is here so that it shows up early in the ;; HACKERS: The comment below is here so that it shows up early in the