[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Inkscape 1.0 upgrade

From: Ekaitz Zarraga
Subject: Inkscape 1.0 upgrade
Date: Wed, 06 May 2020 18:20:39 +0000

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 

GDL makes its bootstrap with this ./

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.



This is the GDL package I have at the moment:

(define-public gdl
    (name "gdl")
    (version "GDL_3_34_0")
    (source (origin
                (method git-fetch)
                (uri (git-reference
                       (url "";)
                       (commit version)))

    (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)))
        (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* "" (("/bin/sh") (which "sh")))
                 (setenv "CONFIG_SHELL" (which "sh"))
                 (invoke "./"))
    (home-page "...")
    (synopsis "...")
    (description "...")
    (license license:lgpl3+)))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]