all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Inkscape 1.0 upgrade
@ 2020-05-06 18:20 Ekaitz Zarraga
  2020-05-06 21:54 ` Nicolò Balzarotti
  0 siblings, 1 reply; 4+ messages in thread
From: Ekaitz Zarraga @ 2020-05-06 18:20 UTC (permalink / raw)
  To: guix-devel@gnu.org

Hi all,

With the release of the 1.0 version of Inkscape I wanted to update our package and I'm encountering some problems I'm unable to solve myself.

First, it depends on GDL (Gnome Devtool Libraries) which is not included in Guix so I'm packaging that too. I found an issue I don't know how to solve on it:

GDL makes its bootstrap with this ./autogen.sh:
  https://gitlab.gnome.org/GNOME/gdl/-/blob/master/autogen.sh

That autogen is calling gnome-common's (gnome-common is already on guix) autogen for everything else but, even if I'm able to patch the autogen from GDL to find the correct `sh`, gnome-common's one is still failing because it's looking for `/bin/sh`. I don't find any way to solve this.

Ideas?

Thanks!

This is the GDL package I have at the moment:

(define-public gdl
  (package
    (name "gdl")
    (version "GDL_3_34_0")
    (source (origin
                (method git-fetch)
                (uri (git-reference
                       (url "https://gitlab.gnome.org/GNOME/gdl.git")
                       (commit version)))
                (sha256
                  (base32 "154qcr0x6f68f4q526y87imv0rscmp34n47nk1pp82rsq52h2zna"))))

    (build-system gnu-build-system)
    (inputs `())
    (native-inputs `(("gnome-common" ,gnome-common)
                    ("autoconf" ,autoconf)
                    ("automake" ,automake)
                    ("libtool" ,libtool)
                    ("intltool" ,intltool)
                    ("pkg-config" ,pkg-config)
                    ("gtk-doc" ,gtk-doc)
                    ("which" ,which)))
    (arguments
       `(#:phases
        (modify-phases %standard-phases
         (add-after 'unpack 'autogen
           (lambda _
             (with-directory-excursion "."
                 (for-each make-file-writable (find-files "." ".*"))
                 ;; Use autogen so that 'configure' works.
                 (substitute* "autogen.sh" (("/bin/sh") (which "sh")))
                 (setenv "CONFIG_SHELL" (which "sh"))
                 (invoke "./autogen.sh"))
             #t)))))
    (home-page "...")
    (synopsis "...")
    (description "...")
    (license license:lgpl3+)))


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-05-07  9:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-06 18:20 Inkscape 1.0 upgrade Ekaitz Zarraga
2020-05-06 21:54 ` Nicolò Balzarotti
2020-05-07  4:39   ` Maxim Cournoyer
2020-05-07  9:21     ` Ekaitz Zarraga

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.