gnu: abiword: Enable gobject introspection.

* gnu/packages/abiword.scm (abiword)[native-inputs]: Add gobject-introspection
and python-wrapper.
[arguments]: Enable building of gobject introspection files.
This commit is contained in:
Ricardo Wurmus 2023-03-05 23:13:36 +01:00
parent a7790d3085
commit dbd085ff5f
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -40,6 +40,7 @@ (define-module (gnu packages abiword)
#:use-module (gnu packages ots)
#:use-module (gnu packages popt)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages readline)
#:use-module (gnu packages wv)
#:use-module (gnu packages xml))
@ -73,7 +74,14 @@ (define-public abiword
"latex " "loadbindings " "mht " "mif " "mswrite " "opendocument "
"openwriter " "openxml " "opml " "ots " "paint " "passepartout "
"pdb " "pdf " "presentation " "s5 " "sdw " "t602 " "urldict "
"wikipedia " "wml " "xslfo"))
"wikipedia " "wml " "xslfo")
"--enable-introspection"
(string-append "--with-gir-dir="
(assoc-ref %outputs "out")
"/share/gir-1.0")
(string-append "--with-typelib-dir="
(assoc-ref %outputs "out")
"/lib/girepository-1.0"))
;; tests fail with: Gtk-CRITICAL **: gtk_settings_get_for_screen:
;; assertion 'GDK_IS_SCREEN (screen)' failed
;; GLib-GObject-CRITICAL **: g_object_get_qdata:
@ -106,10 +114,12 @@ (define-public abiword
wv
zlib))
(native-inputs
(list intltool
(list gobject-introspection
intltool
`(,glib "bin")
libtool
pkg-config))
pkg-config
python-wrapper))
(home-page "https://www.abisource.com/")
(synopsis "Word processing program")