From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 2xKrGAMys16XFQAA0tVLHw (envelope-from ) for ; Wed, 06 May 2020 21:54:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id wIwSFA8ys168ZwAAB5/wlQ (envelope-from ) for ; Wed, 06 May 2020 21:54:23 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 28DB99400AF for ; Wed, 6 May 2020 21:54:21 +0000 (UTC) Received: from localhost ([::1]:33922 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWRzh-0005CU-MT for larch@yhetil.org; Wed, 06 May 2020 17:54:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55494) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWRzZ-0005Av-Na for guix-devel@gnu.org; Wed, 06 May 2020 17:54:13 -0400 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:41397) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jWRzW-00077T-PU for guix-devel@gnu.org; Wed, 06 May 2020 17:54:13 -0400 Received: by mail-wr1-x431.google.com with SMTP id g13so3946291wrb.8 for ; Wed, 06 May 2020 14:54:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=SX7lSUvJyLlcTG7HPuPimG6vuHQMlgjCs1/QAs9ZV8Y=; b=EBzH+ruNXLyrew3PsNJkDHFPB3JW5ooLpIMqVFgJaBo9gGaPJiKgg4Bqc5TS0zcW3Z 7cxXTkY1XpgrFcmrJLvRcjGDVSPihZ8ulPO1PTc0Cg8kiMacg3SV8L+OL+9Efh6TTkLO 2AW1o2rX7SNcWkfymJl7+xrmhuE30vZH4rUMcrSaiWViAwgwLlUO+59Nwto2ut0m5k67 AdIYBrANrNR6RPDCCOVeCi5+0OJRskbLmAXumBEeeT2H7/59PsCM6U3bi1eJ6biz5WXw 8X2rbLFRh8swantx83GSx8FGooi3AkGoBgr8qRfTqzjhbrs/SpFPM1JbaRgjHoVi5RvS wuUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=SX7lSUvJyLlcTG7HPuPimG6vuHQMlgjCs1/QAs9ZV8Y=; b=kdWClC0UBtqbCgeQNarDp8tY+vLKAmLbztysB4TTlZqNWcQ8RlQjEYlqJlp04Zr+x+ ZD73gRwiVTSJ9/CuH9OjGOhSF+1+nIa5CcLn03fGD9/jp1JVOyD+NJVNtv9p1nGN9YPy KgYgvplHjUA6jv2/5bDxDvi7m6pHWe2TkewoVdCsGdmu1lIzEU7EsdlGctGNER0MaK57 C6dM/dJWByQ1uJO5oDEoexB/nDmMGXqiMbUj0DuJeUzG9v7bBV7wPnk8cdOtxu0h2HNb 1nFWB3XpUJz7FzHk/6q0eYkkOmuSeGDMhjSvWtif8IMNk+oep1CAVZoOwFBaFT01HmVY DeRA== X-Gm-Message-State: AGi0PuZU/+ClJfHszfxH1d+MYX1wZgQk9mPnN64C9nj0GDphkmjctOSk lwEzzZ/sZWSRtGU3yFLmPWvWDFqK X-Google-Smtp-Source: APiQypKGOgd0b2dhJagur2FtZ/NFOQ1mLwJ2fbgaZyFbKcEw8Siej3uoJSWebEa+iOROlMpWm45xUw== X-Received: by 2002:adf:f2c5:: with SMTP id d5mr10878109wrp.285.1588802048468; Wed, 06 May 2020 14:54:08 -0700 (PDT) Received: from guixSD ([95.237.164.204]) by smtp.gmail.com with ESMTPSA id d133sm5469495wmc.27.2020.05.06.14.54.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 May 2020 14:54:07 -0700 (PDT) From: =?utf-8?Q?Nicol=C3=B2?= Balzarotti To: Ekaitz Zarraga , "guix-devel\@gnu.org" Subject: Re: Inkscape 1.0 upgrade In-Reply-To: References: Date: Wed, 06 May 2020 23:54:05 +0200 Message-ID: <87y2q420hu.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=anothersms@gmail.com; helo=mail-wr1-x431.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 X-Spam-Score: -1.71 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=EBzH+ruN; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Scan-Result: default: False [-1.71 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.49711397180012]; DWL_DNSWL_FAIL(0.00)[gmail.com:server fail,2001:470:142::17:server fail]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; FREEMAIL_FROM(0.00)[gmail.com]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.11), country: US(-0.00), ip: 2001:470:142::17(-0.50)]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_IN_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[anothersms@gmail.com,guix-devel-bounces@gnu.org]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RCVD_COUNT_FIVE(0.00)[6]; FROM_HAS_DN(0.00)[]; URIBL_BLOCKED(0.00)[gnu.org:url,gitlab.com:url,inkscape.org:url,gnome.org:url,elenq.tech:email]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[guix-devel@gnu.org]; HAS_LIST_UNSUB(-0.01)[]; RECEIVED_SPAMHAUS_PBL(0.00)[95.237.164.204:received]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: 5M3lmiMwQuoO Hi, I wanted the same. My package is working but I cannot replace the current inkscape as there's a dependency loop, so I called it inkscape-1.0. But in today's blogpost Ludo installed inkscape 1.0, so maybe he already solved it. Here's my working definition btw, if you want to submit it please go ahead :) Nicol=C3=B2 [1] https://guix.gnu.org/blog/2020/grafts-continued/ (define-public libgdl (package (name "libgdl") (version "3.34.0") (source (origin (method url-fetch) (uri (string-append "mirror://gnome/sources/gdl/" (version-major+minor version) "/gdl-" version ".tar.xz")) (sha256 (base32 "00ldva6wg6s4wlxmisiqzyz8ihsprra7sninx2rlqk6frpq312w5")))) (build-system gnu-build-system) (native-inputs `(("automake" ,automake) ("autoconf" ,autoconf) ("intltool" ,intltool) ("libtool" ,libtool)=20 ("pkg-config" ,pkg-config) ("gtk-doc" ,gtk-doc) ("gtk+" ,gtk+) ("which" ,which))) (inputs `( ("libxml2" ,libxml2) ;; ("boost" ,boost) )) ;; (native-inputs ;; `(("intltool" ,intltool) ;; ("glib" ,glib "bin") ;; ("perl" ,perl) ;; ("pkg-config" ,pkg-config))) ;; (arguments ;; `(#:phases ;; (modify-phases %standard-phases ;; (add-before 'bootstrap 'disable-maintainer-mode ;; (lambda _ ;; (substitute* "autogen.sh" ;; (("/bin/sh") (which "sh"))) ;; #t)) ;; (replace 'bootstrap ;; (lambda _ ;; (system* "./autogen.sh") ;; (substitute* "./configure" ;; (("/bin/sh") (which "sh"))) ;; (invoke "./autogen.sh") ;; #t))))) (home-page "https://inkscape.org/") (synopsis "Vector graphics editor") (description "Inkscape is a vector graphics editor. What sets Inkscape apart is its use of Scalable Vector Graphics (SVG), an XML-based W3C standa= rd, as the native format.") (license license:gpl2+))) (define-public inkscape-1.0 (package (name "inkscape") (version "1.0") (source (origin (method git-fetch) (uri (git-reference (url "https://gitlab.com/inkscape/inkscape.git") (commit "INKSCAPE_1_0") (recursive? #t))) ;; (patches (search-patches "inkscape-poppler-0.76.patch")) (sha256 (base32 "119j1yhjgjh49dhlxzy9xmprkgw2d8q8ypvr23wac0ppv2kklp57")))) (build-system cmake-build-system) (inputs `(("aspell" ,aspell) ("double-conversion" ,double-conversion) ("gtkmm" ,gtkmm) ("gtk" ,gtk+) ("gsl" ,gsl) ("poppler" ,poppler) ("libpng" ,libpng) ("libxml2" ,libxml2) ("libxslt" ,libxslt) ("libgc" ,libgc) ("libgdl" ,libgdl) ("libjpeg" ,libjpeg) ("libsoup" ,libsoup) ("libvisio" ,libvisio) ("libwpg" ,libwpg) ("libwpd" ,libwpd) ("libcdr" ,libcdr) ("freetype" ,freetype) ("gtkspell3" ,gtkspell3) ("imagemagick" ,imagemagick) ("popt" ,popt) ("potrace" ,potrace) ("python" ,python-3) ("lcms" ,lcms) ("boost" ,boost))) (native-inputs `(("intltool" ,intltool) ("glib" ,glib "bin") ("googletest" ,googletest) ("perl" ,perl) ("pkg-config" ,pkg-config))) (arguments ;; RE-enable=20 `(#:tests? #f ;; Defaults to RelWithDebInfo #:configure-flags '("-DCMAKE_BUILD_TYPE=3DRelease") #:phases (modify-phases %standard-phases ;; (add-after 'unpack 'patch-icon-cache-generator ;; (lambda _ ;; (substitute* "share/icons/application/CMakeLists.txt" ;; (("gtk-update-icon-cache") "true")) ;; #t)) (add-before 'configure 'dont-use-system-includes (lambda _ ;; Don't add redundant -isystem includes which confuses GCC7. (substitute* "CMakeScripts/DefineDependsandFlags.cmake" (("include_directories\\(SYSTEM") "include_directories(")) #t)) (add-before 'configure 'dont-use-werror-format (lambda _ ;; Don't add redundant -isystem includes which confuses GCC7. (substitute* "CMakeScripts/DefineDependsandFlags.cmake" (("-Werror=3Dformat\"") "\"") (("-Werror=3Dformat-security\"") "\"")) #t))))) (home-page "https://inkscape.org/") (synopsis "Vector graphics editor") (description "Inkscape is a vector graphics editor. What sets Inkscape apart is its use of Scalable Vector Graphics (SVG), an XML-based W3C standa= rd, as the native format.") (license license:gpl2+))) Ekaitz Zarraga writes: > Hi all, > > With the release of the 1.0 version of Inkscape I wanted to update our pa= ckage 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 sol= ve 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 "154qcr0x6f68f4q526y87imv0rscmp34n47nk1pp82rsq5= 2h2zna")))) > > (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+)))