From patchwork Sun Feb 16 21:28:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brice Waegeneire X-Patchwork-Id: 20286 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 36AB017B9F; Sun, 16 Feb 2020 21:29:26 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id EEB7517B39 for ; Sun, 16 Feb 2020 21:29:25 +0000 (GMT) Received: from localhost ([::1]:36652 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j3RTh-0000Xl-IJ for patchwork@mira.cbaines.net; Sun, 16 Feb 2020 16:29:25 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45885) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j3RTM-0008Qo-Rr for guix-patches@gnu.org; Sun, 16 Feb 2020 16:29:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j3RTL-0002zB-Kw for guix-patches@gnu.org; Sun, 16 Feb 2020 16:29:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60063) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j3RTL-0002yz-I2 for guix-patches@gnu.org; Sun, 16 Feb 2020 16:29:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j3RTL-00087J-G6 for guix-patches@gnu.org; Sun, 16 Feb 2020 16:29:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#39636] [PATCH 4/6] gnu: Remove kicad-library. Resent-From: Brice Waegeneire Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 16 Feb 2020 21:29:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39636 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39636@debbugs.gnu.org Received: via spool by 39636-submit@debbugs.gnu.org id=B39636.158188853031121 (code B ref 39636); Sun, 16 Feb 2020 21:29:03 +0000 Received: (at 39636) by debbugs.gnu.org; 16 Feb 2020 21:28:50 +0000 Received: from localhost ([127.0.0.1]:37792 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j3RT8-00085t-6w for submit@debbugs.gnu.org; Sun, 16 Feb 2020 16:28:50 -0500 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:37675) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j3RT6-00085j-Fz for 39636@debbugs.gnu.org; Sun, 16 Feb 2020 16:28:49 -0500 X-Originating-IP: 78.237.113.178 Received: from localhost (luy13-1-78-237-113-178.fbx.proxad.net [78.237.113.178]) (Authenticated sender: brice@waegenei.re) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 8661CFF806 for <39636@debbugs.gnu.org>; Sun, 16 Feb 2020 21:28:47 +0000 (UTC) From: Brice Waegeneire Date: Sun, 16 Feb 2020 22:28:32 +0100 Message-Id: <20200216212834.3862-4-brice@waegenei.re> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200216212621.3063-1-brice@waegenei.re> References: <20200216212621.3063-1-brice@waegenei.re> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/engineering.scm (kicad-library): Remove variable. --- gnu/packages/engineering.scm | 62 ------------------------------------ 1 file changed, 62 deletions(-) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index adee1761d6..0d7b0db2c4 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -864,68 +864,6 @@ perform specific functions, for example, pcbnew (Editing PCB), eeschema (editing electrical diagrams), gerbview (viewing Gerber files) and others.") (license license:gpl3+))) -(define-public kicad-library - (let ((version "4.0.7")) - (package - (name "kicad-library") - (version version) - (source - (origin - (method url-fetch) - (uri (string-append - "https://kicad-downloads.s3.cern.ch/libraries/kicad-library-" - version ".tar.gz")) - (sha256 - (base32 "1azb7v1y3l6j329r9gg7f4zlg0wz8nh4s4i5i0l9s4yh9r6i9zmv")))) - (build-system cmake-build-system) - (arguments - `(#:out-of-source? #t - #:tests? #f ; no tests - #:phases - (modify-phases %standard-phases - (add-after 'install 'install-footprints ; from footprints tarball - (lambda* (#:key inputs outputs #:allow-other-keys) - (invoke "tar" "xvf" - (assoc-ref inputs "kicad-footprints") - "-C" (string-append (assoc-ref outputs "out") - "/share/kicad/modules") - "--strip-components=1"))) - ;; We change the default global footprint file, which is generated if - ;; it doesn't exist in user's home directory, from the one using the - ;; github plugin, to the one using the KISYSMOD environment path. - (add-after 'install-footprints 'use-pretty-footprint-table - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (template-dir (string-append out "/share/kicad/template")) - (fp-lib-table (string-append template-dir "/fp-lib-table"))) - (delete-file fp-lib-table) - (copy-file (string-append fp-lib-table ".for-pretty") - fp-lib-table)) - #t))))) - (native-search-paths - (list (search-path-specification - (variable "KISYSMOD") ; footprint path - (files '("share/kicad/modules"))) - (search-path-specification - (variable "KISYS3DMOD") ; 3D model path - (files '("share/kicad/modules/packages3d"))))) - ;; Kicad distributes footprints in a separate tarball. - (native-inputs - `(("kicad-footprints" - ,(origin - (method url-fetch) - (uri (string-append - "http://downloads.kicad-pcb.org/libraries/kicad-footprints-" - version ".tar.gz")) - (sha256 - (base32 - "08qrz5zzsb5127jlnv24j0sgiryd5nqwg3lfnwi8j9a25agqk13j")))))) - (home-page "https://kicad-pcb.org/") - (synopsis "Libraries for kicad") - (description "This package provides Kicad component, footprint and 3D -render model libraries.") - (license license:lgpl2.0+)))) - (define-public kicad-symbols (package (name "kicad-symbols")