From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aHhQBq3fiWPFjgAAbAwnHQ (envelope-from ) for ; Fri, 02 Dec 2022 12:21:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id kCh+Ba3fiWPbKwAAG6o9tA (envelope-from ) for ; Fri, 02 Dec 2022 12:21:17 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.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 A95C62FC2 for ; Fri, 2 Dec 2022 12:21:16 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p146P-0008Cv-Mt; Fri, 02 Dec 2022 06:21:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p146I-0008C1-GO for bug-guix@gnu.org; Fri, 02 Dec 2022 06:21:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p146I-0002AD-8C for bug-guix@gnu.org; Fri, 02 Dec 2022 06:21:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p146I-0007rF-1q for bug-guix@gnu.org; Fri, 02 Dec 2022 06:21:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#59160: Acknowledgement (Fritzing parts are missing) Resent-From: Gabriel Wicki Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 02 Dec 2022 11:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59160 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 59160@debbugs.gnu.org Received: via spool by 59160-submit@debbugs.gnu.org id=B59160.166998005530191 (code B ref 59160); Fri, 02 Dec 2022 11:21:02 +0000 Received: (at 59160) by debbugs.gnu.org; 2 Dec 2022 11:20:55 +0000 Received: from localhost ([127.0.0.1]:46091 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1469-0007qt-4t for submit@debbugs.gnu.org; Fri, 02 Dec 2022 06:20:55 -0500 Received: from chimborazo.ee.ethz.ch ([129.132.2.15]:33759) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1463-0007ql-TD for 59160@debbugs.gnu.org; Fri, 02 Dec 2022 06:20:51 -0500 Received: from silvi (unknown [85.195.207.206]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: gabriel) by chimborazo.ee.ethz.ch (Postfix) with ESMTPSA id 06F77401FE for <59160@debbugs.gnu.org>; Fri, 2 Dec 2022 12:20:41 +0100 (CET) From: Gabriel Wicki References: <871qqblitc.fsf@erlikon.ch> <87wn83k39i.fsf@erlikon.ch> <87leo5hfhb.fsf@nckx> <87y1s3an08.fsf@erlikon.ch> Date: Fri, 02 Dec 2022 12:20:38 +0100 In-Reply-To: <87y1s3an08.fsf@erlikon.ch> (Gabriel Wicki's message of "Tue, 22 Nov 2022 00:47:19 +0100") Message-ID: <87wn7aaw6x.fsf@erlikon.ch> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1669980076; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=IwYjLcgPJVh4Yy8vhEeHf7elGXJBrFYPgyZayXiUCEI=; b=a3aSXWlAkNmAyZQK9wZI/J2yk4fruKyVU+UyfWJFvJhaZHTQH6JMcvWQOHKx83UKa4k01/ bo2/PWgXXdJ6MM3OogJg1CMZuPb4Kg6d78R7f/ZuLXeNGV0blCdtOIDqCumm4D81OAMQOZ 7gtkPT+SJcvmrUnz8ELWY82d6f5Hk9lX76NiRmmveXcvzcU2CMwk99nIRxenJOsf+/TUQk L4Pr/xjbFc+TuI9GKj9Da81UXh4DaH6QiVI6j0BffZ1ikSnTk18yUTVLHdz8CwrHbryqr6 at9YCHqAeu8LKjYtP2eAbkaUV9jN+fBuM1ZelMvNBrnf0YcOtapSHQUPQ7b1GA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669980076; a=rsa-sha256; cv=none; b=YWl3Z1M1j2dR+OcORiQ5CzIwhOJH2Tui1TSFvUesqysV6g7BQDZZerpCYVonavNUW3lU5x +kjmoaHX/GNz/qeUe7nAnYODrk4blfdZzShUEQyXVigV1lMbgryxCoWhP/dIvltJOCSRc8 iyMtgHpF3tMjsW3hlmI6Ha7i0Qz/Zan2fW9yO6TXNDiLoC4zgSUhiRXDoV1PLmDHpRWOg1 oGcfUcASPHnX2BYG5HS1tibPxfjJTtg3gjfO91qkGq8thCHyAnoOcJwPps5TCOfkVOtyVH V9JBOWCuMavKMxJtoPXu1z03AcqM9e1+DnZe2PnwPChjZ9i1N+sAQTnbOlhazw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.47 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: A95C62FC2 X-Spam-Score: -1.47 X-Migadu-Scanner: scn1.migadu.com X-TUID: 1Gi4TdjHgtc1 Resending this to debbugs since the mail previously was only sent to Tobias Hi Tobias Thanks for the review! The line in question will make all functions return prematurely that are intended to use libgit2 (that's why the git_libgit2_init is patched). Fritzing still reports "Sorry, we have a problem with the swapping mechanism. Fritzing still works, but you won't be able to change parts properties.Error 1", but seems to work fine apart from that. Since the content of the returned String doesn't seem to matter (as long as it's not an empty string) I've adjusted it to a less ugly "true". I'm sorry i don't have the capacity to provide a more satisfying solution ATM but at least Fritzing is back to a usable state. Best wishes, g > From 242f0f7858435600303333a811635c0c4a72d81b Mon Sep 17 00:00:00 2001 From: Gabriel Wicki Date: Tue, 22 Nov 2022 00:35:19 +0100 Subject: [PATCH] gnu: fritzing: Update to 0.9.6. * gnu/packages/engineering.scm (fritzing): Update to 0.9.6. [arguments]<#:phases>{'configure}: Modify to work with new version. --- gnu/packages/engineering.scm | 34 ++++++++++++++-------------------- 1 file changed, 14 insertions(+), 20 deletions(-) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 43e23e30a8..edfef77a5c 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -669,7 +669,7 @@ (define-public fasthenry (define-public fritzing (package (name "fritzing") - (version "0.9.3b") + (version "0.9.6") (source (origin (method git-fetch) (uri (git-reference @@ -678,7 +678,7 @@ (define-public fritzing (file-name (git-file-name name version)) (sha256 (base32 - "0hpyc550xfhr6gmnc85nq60w00rm0ljm0y744dp0z88ikl04f4s3")))) + "083nz7vj7a334575smjry6257535h68gglh8a381xxa36dw96aqs")))) (build-system gnu-build-system) (arguments `(#:phases @@ -687,24 +687,18 @@ (define-public fritzing (lambda* (#:key inputs outputs #:allow-other-keys) (copy-recursively (assoc-ref inputs "fritzing-parts-db") "parts") - ;; Make compatible with libgit2 > 0.24 - (substitute* "src/version/partschecker.cpp" - (("error = git_remote_connect\\(remote, GIT_DIRECTION_FETCH, &callbacks\\)") - "error = git_remote_connect(remote, GIT_DIRECTION_FETCH, &callbacks, NULL, NULL)")) - ;; Use system libgit2 and boost. (substitute* "phoenix.pro" - (("^LIBGIT2INCLUDE =.*") - (string-append "LIBGIT2INCLUDE=" - (assoc-ref inputs "libgit2") "/include\n")) - (("^ LIBGIT2LIB =.*") - (string-append " LIBGIT2LIB=" - (assoc-ref inputs "libgit2") "/lib\n"))) - ;; This file checks for old versions of Boost, insisting on - ;; having us download the boost sources and placing them in the - ;; build directory. - (substitute* "pri/utils.pri" - (("error\\(") "message(")) + (("^LIBGIT_STATIC.*") + (string-append "LIBGIT2INCLUDE=" (assoc-ref inputs "libgit2") "/include\n" + "LIBGIT2LIB=" (assoc-ref inputs "libgit2") "/lib\n" + "INCLUDEPATH += $$LIBGIT2INCLUDE\n" + "LIBS += -L$$LIBGIT2LIB -lgit2\n")) + (("^.*pri/libgit2detect.pri.") "")) + ;; Trick the internal mechanism to load the parts + (substitute* "src/version/partschecker.cpp" + ((".*git_libgit2_init.*") + "return \"true\";")) (let ((out (assoc-ref outputs "out"))) (invoke "qmake" @@ -723,11 +717,11 @@ (define-public fritzing (method git-fetch) (uri (git-reference (url "https://github.com/fritzing/fritzing-parts") - (commit version))) + (commit (string-append "release_" version)))) (file-name (git-file-name "fritzing-parts" version)) (sha256 (base32 - "1d2v8k7p176j0lczx4vx9n9gbg3vw09n2c4b6w0wj5wqmifywhc1")))))) + "0wsvn57v6n0ygnhk2my94rrfzb962z1cj4d1xmp1farwck3811h6")))))) (home-page "https://fritzing.org") (synopsis "Electronic circuit design") (description -- 2.38.0