mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: sugar-toolkit-gtk3: Add missing inputs and patch references.
* gnu/packages/sugar.scm (sugar-toolkit-gtk3)[arguments]: Add phase 'patch-references. [inputs]: Add shared-mime-info and unzip. Change-Id: Id34b0e8696b655b4788cd5d40b1ca78a5eb34597
This commit is contained in:
parent
bef48dd553
commit
ae748e9ba6
1 changed files with 21 additions and 1 deletions
|
@ -23,6 +23,7 @@
|
||||||
#:use-module (gnu packages autotools)
|
#:use-module (gnu packages autotools)
|
||||||
#:use-module (gnu packages base)
|
#:use-module (gnu packages base)
|
||||||
#:use-module (gnu packages bash)
|
#:use-module (gnu packages bash)
|
||||||
|
#:use-module (gnu packages compression)
|
||||||
#:use-module (gnu packages freedesktop)
|
#:use-module (gnu packages freedesktop)
|
||||||
#:use-module (gnu packages game-development)
|
#:use-module (gnu packages game-development)
|
||||||
#:use-module (gnu packages gettext)
|
#:use-module (gnu packages gettext)
|
||||||
|
@ -329,6 +330,23 @@ and metadata, and the journal with querying and full text search.")
|
||||||
(substitute* "autogen.sh"
|
(substitute* "autogen.sh"
|
||||||
(("^\"\\$srcdir/configure" m)
|
(("^\"\\$srcdir/configure" m)
|
||||||
(string-append "#" m)))))
|
(string-append "#" m)))))
|
||||||
|
(add-after 'unpack 'patch-references
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(substitute* "src/sugar3/eggsmclient-xsmp.c"
|
||||||
|
(("/bin/rm") (search-input-file inputs "/bin/rm")))
|
||||||
|
(substitute* "src/sugar3/mime.py"
|
||||||
|
(("'/usr/local/share/'" m)
|
||||||
|
(string-append m ", '/run/current-system/profile/share'")))
|
||||||
|
(substitute* "src/sugar3/bundle/activitybundle.py"
|
||||||
|
(("'update-mime-database', mime_dir")
|
||||||
|
(string-append "'"
|
||||||
|
(search-input-file inputs "/bin/update-mime-database")
|
||||||
|
"', mime_dir")))
|
||||||
|
(substitute* "src/sugar3/bundle/bundle.py"
|
||||||
|
(("'unzip', '-o'")
|
||||||
|
(string-append "'"
|
||||||
|
(search-input-file inputs "/bin/unzip")
|
||||||
|
"', '-o'")))))
|
||||||
(add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
|
(add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(wrap-program (search-input-file outputs "bin/sugar-activity3")
|
(wrap-program (search-input-file outputs "bin/sugar-activity3")
|
||||||
|
@ -345,7 +363,9 @@ and metadata, and the journal with querying and full text search.")
|
||||||
libx11
|
libx11
|
||||||
libxfixes
|
libxfixes
|
||||||
libxi
|
libxi
|
||||||
python))
|
python
|
||||||
|
shared-mime-info
|
||||||
|
unzip))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
;; The gi typelib files are needed by users of this library.
|
;; The gi typelib files are needed by users of this library.
|
||||||
(list gdk-pixbuf
|
(list gdk-pixbuf
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue