From unknown Mon Aug 18 09:01:07 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#35842] [PATCH] gnu: Add pcb2gcode. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 21 May 2019 12:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35842 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 35842@debbugs.gnu.org Cc: Arun Isaac X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15584423557647 (code B ref -1); Tue, 21 May 2019 12:40:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 May 2019 12:39:15 +0000 Received: from localhost ([127.0.0.1]:38913 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hT42t-0001z8-6z for submit@debbugs.gnu.org; Tue, 21 May 2019 08:39:14 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hT42q-0001yc-IQ for submit@debbugs.gnu.org; Tue, 21 May 2019 08:39:06 -0400 Received: from lists.gnu.org ([209.51.188.17]:49430) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hT42l-0007tM-Dm for submit@debbugs.gnu.org; Tue, 21 May 2019 08:38:59 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48534) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hT42i-0002Ie-FA for guix-patches@gnu.org; Tue, 21 May 2019 08:38:59 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hT42f-0007hd-2Z for guix-patches@gnu.org; Tue, 21 May 2019 08:38:56 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:37864) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hT42d-0007VV-VI for guix-patches@gnu.org; Tue, 21 May 2019 08:38:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=bCuXHFxgjAd2YKxUwkaBJ2Q7NnKQl4NgIg1/PTUIAsM=; b=GwrL5BLbheGvAcmj6ogcbCun+q fGxx0yvLnsQ02f0lYXD2eI9nodc8e+z6xfjad9WLcjaOEmZ9PlEX6YLl5Chi+PBwOs4/i3njMnb4U 8lgkKFfFBq4OGejk+5yVd3Qwh1ILpN7Iw/zn7VIYgydY9bqSdxXkahBSnbx7iB6SpJf4=; Received: from [49.206.13.26] (helo=steel.lan) by systemreboot.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1hT42W-0002Yr-2d; Tue, 21 May 2019 18:08:44 +0530 From: Arun Isaac Date: Tue, 21 May 2019 18:08:25 +0530 Message-Id: <20190521123825.11547-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 139.59.75.54 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) * gnu/packages/boost.scm (boost-for-pcb2gcode): New variable. * gnu/packages/engineering.scm (pcb2gcode): New variable. --- gnu/packages/boost.scm | 27 +++++++++++++++++++- gnu/packages/engineering.scm | 48 ++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+), 1 deletion(-) diff --git a/gnu/packages/boost.scm b/gnu/packages/boost.scm index b83bd73a39..3919f7fa70 100644 --- a/gnu/packages/boost.scm +++ b/gnu/packages/boost.scm @@ -6,7 +6,7 @@ ;;; Copyright © 2015, 2019 Ludovic Courtès ;;; Copyright © 2017 Thomas Danckaert ;;; Copyright © 2018 Tobias Geerinckx-Rice -;;; Copyright © 2018 Arun Isaac +;;; Copyright © 2018, 2019 Arun Isaac ;;; Copyright © 2018, 2019 Ricardo Wurmus ;;; Copyright © 2018 Maxim Cournoyer ;;; Copyright © 2018 Efraim Flashner @@ -150,6 +150,31 @@ across a broad spectrum of applications.") (delete 'provide-libboost_python))))) (properties '((hidden? . #t))))) +(define-public boost-for-pcb2gcode + ;; Older version for pcb2gcode + (package + (inherit boost) + (version "1.66.0") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://sourceforge/boost/boost/" version "/boost_" + (string-map (lambda (x) (if (eq? x #\.) #\_ x)) version) + ".tar.bz2")) + (sha256 + (base32 + "1aaw48cmimsskzgiclwn0iifp62a5iw9cbqrhfari876af1828ap")))) + (arguments (substitute-keyword-arguments (package-arguments boost) + ((#:phases phases) + `(modify-phases ,phases + ;; This was removed after boost-1.67. + (add-before 'configure 'more-bin-sh-patching + (lambda _ + (substitute* "tools/build/doc/bjam.qbk" + (("/bin/sh") (which "sh"))))) + (delete 'provide-libboost_python))))) + (properties '((hidden? . #t))))) + (define-public boost-sync (let ((commit "c72891d9b90e2ceb466ec859f640cd012b2d8709") (version "1.55") diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 359503e9e1..4f59f0b391 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -2062,3 +2062,51 @@ purpose circuit simulator and can perform DC and transient analyses, fourier analysis and AC analysis. The engine is designed to do true mixed-mode simulation.") (license license:gpl3+))) + +(define-public pcb2gcode + (package + (name "pcb2gcode") + (version "2.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pcb2gcode/pcb2gcode") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "08y6b5ybwh4fwn6gja0lbmmk7vwpz7axza3bwljbc10n9wbpqwfk")))) + (build-system gnu-build-system) + (inputs + `(;; pcb2gcode requires boost < 1.67. See configure.ac. + ("boost" ,boost-for-pcb2gcode) + ("gerbv" ,gerbv) + ("glibmm" ,glibmm) + ("gtkmm" ,gtkmm-2) + ("librsvg" ,librsvg))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool) + ("pkg-config" ,pkg-config))) + (arguments + `(#:configure-flags + (list (string-append "--with-boost=" (assoc-ref %build-inputs "boost"))) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'disable-failing-tests + (lambda _ + (substitute* "Makefile.am" + ;; gerberimporter_tests fail since they slightly overshoot the + ;; specified error threshold. Disable it for this release. + (("gerberimporter_tests ") "") + (("^gerberimporter_tests_" all) (string-append "#" all))) + #t))))) + (home-page "https://github.com/pcb2gcode/pcb2gcode") + (synopsis "Generate G-code for milling PCBs") + (description "pcb2gcode is a command-line program for isolation routing +and drilling of PCBs. It takes Gerber files as input and outputs G-code files +for the milling of PCBs. It also includes an autoleveller for the automatic +dynamic calibration of the milling depth.") + (license license:gpl3+))) -- 2.21.0 From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 24 13:00:17 2020 Received: (at control) by debbugs.gnu.org; 24 Nov 2020 18:00:17 +0000 Received: from localhost ([127.0.0.1]:32934 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khcbx-0004m9-GB for submit@debbugs.gnu.org; Tue, 24 Nov 2020 13:00:17 -0500 Received: from mugam.systemreboot.net ([139.59.75.54]:45198) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khcbu-0004ly-W4 for control@debbugs.gnu.org; Tue, 24 Nov 2020 13:00:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=nwj2fBYxSWTUid+CllRDIRdgfN+yXOPgZLltneuLvXo=; b=IYzJawhNqRmlg1OBEIWmpUrcYK PPa5r1u38gLHfZsGd/iMqN2vt9+n9Z+iUkb0zmeuQW5FrPFFwovuv6SSy1IWEU0wE5XLzWOtnJw7H KogIMfblD/i11/cQWUs2Gud+53YadhgxMMF8TzEfJ0H0jw6C8iU13ZgE0Ve7jS5h0ALgCl534DF83 1mFgUrC6ney8lJ3QbKkn5RGuWhQ4TJbyEzzuuKHlYTCPtQPEQqVhW+NBbML5OSTZn+auQ/KAvwINR rrMwEleCkjkWkxBv8xVWNTHKj/QDB8vlLRc1LvNeuA8W8CFqF+Dok+BT+2rPKtiaR2+lAanGLpjb2 Xnrv6IWQ==; Received: from [192.168.2.1] (helo=steel) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1khcYh-000uiQ-Vi for control@debbugs.gnu.org; Tue, 24 Nov 2020 23:26:56 +0530 From: Arun Isaac To: control@debbugs.gnu.org Subject: control message for bug #35842 Date: Tue, 24 Nov 2020 23:30:01 +0530 Message-ID: <87r1oiprdq.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable tags 35842 fixed close 35842=20 quit --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFPBAEBCAA5FiEEf3MDQ/Lwnzx3v3nTLiXui2GAK7MFAl+9SiIbHGFydW5pc2Fh Y0BzeXN0ZW1yZWJvb3QubmV0AAoJEC4l7othgCuzFH0IAJ4KqfE69E1YonEb8zzi Tmfeq9f79zoKSBA0FxAOnhBHGi8ZgZPuLatvbfgSA09pLG1EKQpLCdG429lLL6GM IgBn1/jkaYiOUq0ehZtsRW1FLsSJVjMuNqkqVw7/XT0wFjsxd5NM+G2ubd+8ZC5x EJto61n2gcyxWTwWJ+dlW1PxP/TxMK63xd/7ePUpgW5w3M7yU40BjP+x6zaktX5k 7z5pQrKGiTkN2DMWwPycqN6BcjOH9IOJsNps69/Z3Snp9UikrrHAJG39ct2us3l6 /uXucMCMm6W2QnAOVL4HaxtyZ+bItNWXYzydSqwSw/gLdkLeIiewpgOwEycjf9aU zhA= =4d2O -----END PGP SIGNATURE----- --=-=-=--