From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id IA0NEf8nhmZqCgAAe85BDQ:P1 (envelope-from ) for ; Thu, 04 Jul 2024 04:41:35 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id IA0NEf8nhmZqCgAAe85BDQ (envelope-from ) for ; Thu, 04 Jul 2024 06:41:35 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1720068095; 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:list-id:list-help:list-unsubscribe:list-subscribe: list-post; bh=f/JdyUFFCoW5t0ow/OObo4TW5mWpDAO23phVcphPanE=; b=IjwetVFZ40QgeL+mfWl9JH7v1erDbbWUNdtKARBn6zkNI7QM7s0B1t0ahMBUe5OXXExuCV Jq/5bhazs42Gx2GmRwNHND4dOZoWrmzHz1xb5E3AD4G+UQL/d9PsUAHA435kYJ4xyr0xvI En9TNVNR6kokT7iWUTRfI+A/dgcVsbsTIyqPSTEfhw3/qG3WgJfLFxneXlBixLYlVv5m+j H0Mi385OWtJdDOMhbG6/VAoyRknxgr/xQto6Ct0TrQ5L7+RDFTSNhATK/dtfnNN5+/i9+C AlrJtBrSuJ6MHxV5o2gE/CrNCSr4M735VWCHsMWOBPPbWZG7xA9EIqIXxJOeCA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720068095; a=rsa-sha256; cv=none; b=aZy5W4Bv4c/W3h0qeG9KkSsm6032Y4Gs8hzju+LNH+vtk5Wez5rH4IfwkBx5RtDLBKrqt/ zk/VOYF7tuBo/moMqA7P+pObs7jUoEVni4jy+XiD4nScVbyvkuekduHVHyius7M2oPeN+M QhicBlVWbRG+fcjtrbwA2GpYQQ9145pW39p1PrlfHNb3+g+nbAsIgi7WpzUKrG6mIT2ZpG JD5w3scBqN2gH8HpfhyU3RJC66C/PpOaU/lurUqdNY4MX+ZYK4GwURHUtmj+lcrkWvvlqw v6S7SOwNNkPhd905ufYzjV9teSgdwMksUzA3ZU3e5KG3hXSV4mnkmnG0mc3ApA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" 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 E47C31FC56 for ; Thu, 4 Jul 2024 06:41:34 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sPEHI-0003QH-C0; Thu, 04 Jul 2024 00:41:04 -0400 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 1sPEHE-0003Ps-Rb for guix-patches@gnu.org; Thu, 04 Jul 2024 00:41:01 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sPEHE-0007ug-JH for guix-patches@gnu.org; Thu, 04 Jul 2024 00:41:00 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sPEHG-0000SH-DF for guix-patches@gnu.org; Thu, 04 Jul 2024 00:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71930] Subject: [PATCH] gnu: pcb2gcode: Fix build. Resent-From: Evgeny Pisemsky Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 04 Jul 2024 04:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71930 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71930@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17200680301688 (code B ref -1); Thu, 04 Jul 2024 04:41:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Jul 2024 04:40:30 +0000 Received: from localhost ([127.0.0.1]:41195 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sPEGj-0000R3-A7 for submit@debbugs.gnu.org; Thu, 04 Jul 2024 00:40:29 -0400 Received: from lists.gnu.org ([209.51.188.17]:44722) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sP1YT-0003x9-O1 for submit@debbugs.gnu.org; Wed, 03 Jul 2024 11:05:58 -0400 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 1sP1YR-0005D5-M2 for guix-patches@gnu.org; Wed, 03 Jul 2024 11:05:55 -0400 Received: from roxy-shared.hosting.energy ([137.74.182.160] helo=roxy.hosting.energy) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sP1YP-0003Fn-OO for guix-patches@gnu.org; Wed, 03 Jul 2024 11:05:55 -0400 Received: from [185.211.158.231] (helo=laptop) by roxy.hosting.energy with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1sP1Xw-000000001uU-23te for guix-patches@gnu.org; Wed, 03 Jul 2024 18:05:24 +0300 From: Evgeny Pisemsky Date: Wed, 03 Jul 2024 18:05:20 +0300 Message-ID: <87le2iv7m7.fsf@pisemsky.site> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Scanned-By: ClamAV 0.101.4; Wed, 03 Jul 2024 18:05:24 +0300 Received-SPF: pass client-ip=137.74.182.160; envelope-from=mail@pisemsky.site; helo=roxy.hosting.energy X-Spam_score_int: 14 X-Spam_score: 1.4 X-Spam_bar: + X-Spam_report: (1.4 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_SBL_CSS=3.335, SPF_HELO_FAIL=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 04 Jul 2024 00:40:26 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: E47C31FC56 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.59 X-Spam-Score: -6.59 X-TUID: Ao0sSEU+ZPvR --=-=-= Content-Type: text/plain This patch is related to the following issue: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=68036 Tried to send it there without success, maybe because of email change. Found two issues - unspecified version in pkgconfig of gerbv and some incompatibility with optional geos library. Related discussions: - https://github.com/gerbv/gerbv/issues/130 - https://github.com/pcb2gcode/pcb2gcode/issues/626 The attached patch fixes those problems and allows to build pcb2gcode. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-pcb2gcode-Fix-build.patch >From 2f73c340abf3df2690b3778cbf0eb1de7a63ab33 Mon Sep 17 00:00:00 2001 Message-ID: <2f73c340abf3df2690b3778cbf0eb1de7a63ab33.1720013503.git.mail@pisemsky.site> From: Evgeny Pisemsky Date: Wed, 3 Jul 2024 15:15:25 +0300 Subject: [PATCH] gnu: pcb2gcode: Fix build. * gnu/packages/engineering.scm (pcb2gcode): Fix build. Change-Id: Id9a167c8859520f6e051c9b5efb4b960d50e4b7b --- gnu/packages/engineering.scm | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 64335d89f7..0855f44d13 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -844,7 +844,15 @@ (define-public gerbv "06bcm5zw7whsnnmfld3gl2j907lxc68gnsbzr2pc4w6qc923rgmj")))) (build-system gnu-build-system) (arguments - '(#:configure-flags '("CFLAGS=-fcommon"))) + (list + #:configure-flags '(list "CFLAGS=-fcommon") + #:phases #~(modify-phases %standard-phases + (add-after 'install 'fix-pkg-config-version + (lambda* (#:key outputs #:allow-other-keys) + (substitute* (string-append (assoc-ref outputs "out") + "/lib/pkgconfig/libgerbv.pc") + (("^Version:.*$") + (string-append "Version: " #$version "\n")))))))) (native-inputs (list autoconf automake desktop-file-utils @@ -3257,7 +3265,8 @@ (define-public pcb2gcode (build-system gnu-build-system) (inputs (list boost - geos + ;; TODO: Try to build with geos in the following revisions. + ;; geos gerbv glibmm gtkmm-2 base-commit: bab73e413b3421f4aa051e9438d147040a52e1be -- 2.45.2 --=-=-=--