From patchwork Tue Apr 18 20:19:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 49295 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 EF7B817A38; Tue, 18 Apr 2023 21:21:15 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8568617A31 for ; Tue, 18 Apr 2023 21:21:12 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1porp2-0002o1-Gu; Tue, 18 Apr 2023 16:21: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 1porp0-0002nc-Pb for guix-patches@gnu.org; Tue, 18 Apr 2023 16:21:03 -0400 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 1porp0-0007vc-E6 for guix-patches@gnu.org; Tue, 18 Apr 2023 16:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1porp0-0006XA-7G for guix-patches@gnu.org; Tue, 18 Apr 2023 16:21:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62941] [PATCH 1/3] gnu: Add fritzing-parts. References: <20230418200934.10785-1-sharlatanus@gmail.com> In-Reply-To: <20230418200934.10785-1-sharlatanus@gmail.com> Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 18 Apr 2023 20:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62941 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62941@debbugs.gnu.org Cc: Sharlatan Hellseher Received: via spool by 62941-submit@debbugs.gnu.org id=B62941.168184921425005 (code B ref 62941); Tue, 18 Apr 2023 20:21:02 +0000 Received: (at 62941) by debbugs.gnu.org; 18 Apr 2023 20:20:14 +0000 Received: from localhost ([127.0.0.1]:60493 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1poroD-0006VE-Uh for submit@debbugs.gnu.org; Tue, 18 Apr 2023 16:20:14 -0400 Received: from mail-wm1-f48.google.com ([209.85.128.48]:62735) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1poro9-0006Un-9V for 62941@debbugs.gnu.org; Tue, 18 Apr 2023 16:20:12 -0400 Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-3f17b967bfbso16941575e9.1 for <62941@debbugs.gnu.org>; Tue, 18 Apr 2023 13:20:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681849203; x=1684441203; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ap4s2g2Xi0aoyXaC7WNp5HsjeEhNjOo4+tjFYl+p22Y=; b=BPAnD5krWrg7K9fy0mBD5f3gRmfRHB8XkEuwD1WpsBqlqZWXBJm1JzJFi0rMfv62Td pfemkeI9lm/YhHcsuXrdwTh5mYoj9wzkC5yCu5eborNpt3KKQa/mP4boi9YZLxzoUxQy D9VaagVsVzVX6IXZbexOnkXoh17dUAQ4yomyHo68hAtlWOjwep4xYZkUjjFUjGveyeJc epHXewosPS8VjIcBt3gKRfAgcONK2t/TQn+G7xgk40oJ7ISgJqW9Q5OFjBKPbQOf7/9g rt5fo31oQ+9BrlxYUkDV8sQITiWRHfWZqHoFdsvNAp3BUYx4ieTQq9CNf8p/9/ak0jpi V6zA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681849203; x=1684441203; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ap4s2g2Xi0aoyXaC7WNp5HsjeEhNjOo4+tjFYl+p22Y=; b=kWLUsYeU449V7klnk7GJDTEfwahBM2TfXKM/hXW/sLWgAGFxH6NxzYpodlmyasZ+hg ttD0QQhf4nb2FeeGP5qAeBn26eaMuM8j+Y8ReeDjIf5hDmKPOgmi3N6KvZzh0Nfwpr7q gtHoyKuT+QbJJx/A7qxv6wiqjLb/QdrnPg17wB9ec5XcibesFtk6AIYp71+i9s+mfA0b KU6t9Y5RQIMaiFrAVOR9KaifaKxm8h/PTGW5LiL60O+53v0AuAtaS+WeYIcZvO0l1a1H oa1ix4yTLhwBRfTG95dSSZYOYh8BkRzlgn/qaCwMrpliMbQFCvGjL3gtGPprN9FTa98j iYew== X-Gm-Message-State: AAQBX9dTMx3ejcnYOoDWrm5sAYi8Yhv7UuD7p9OSGWzTmjbVp+UZRBeM 9P93VZ/35KIJtNTM8+UHzEZUUN7zdi4= X-Google-Smtp-Source: AKy350ZBlhx/+UAQHw8fc/i9JRmwGBoT/XMeqSAYtT4Dayq0pXGIzYGJYbHs5qXrgDoAXwRxNuX6Xw== X-Received: by 2002:adf:faca:0:b0:2f6:1bb2:8348 with SMTP id a10-20020adffaca000000b002f61bb28348mr3024wrs.34.1681849203150; Tue, 18 Apr 2023 13:20:03 -0700 (PDT) Received: from guxtil.incerto.xyz (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id i15-20020a5d630f000000b002f27dd92643sm13721202wru.99.2023.04.18.13.20.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Apr 2023 13:20:02 -0700 (PDT) From: Sharlatan Hellseher Date: Tue, 18 Apr 2023 21:19:58 +0100 Message-Id: <20230418202000.11729-1-sharlatanus@gmail.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/engineering.scm (fritzing-parts): New variable. --- gnu/packages/engineering.scm | 38 ++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 49a12f70be..dd8a711566 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -66,6 +66,7 @@ (define-module (gnu packages engineering) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system ant) #:use-module (guix build-system cmake) + #:use-module (guix build-system copy) #:use-module (guix build-system emacs) #:use-module (guix build-system gnu) #:use-module (guix build-system meson) @@ -775,6 +776,43 @@ (define-public fritzing ;; released under GPLv3+. (license (list license:gpl3+ license:cc-by-sa3.0)))) +(define-public fritzing-parts + ;; XXX: Release of the parts stopped in 2016 and it looks like develop + ;; branch has latest changes comparing to other branches. + (let ((commit "d61d63de9294343b1b6e86f149e78e4b1d3a0009") + (revision "0")) + (package + (name "fritzing-parts") + (version (git-version "0.9.6" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/fritzing/fritzing-parts") + (commit commit))) + (file-name (git-file-name "fritzing-parts" version)) + (sha256 + (base32 "0g39ja1aqw5qx8alf61m6zcy6y78j9ky556x6x1cnd6g7kkzd861")))) + (build-system copy-build-system) + (arguments + (list + #:install-plan + #~'(("." "share/library/" + #:exclude-regexp (".github.*" + ".gitignore" + "CONTRIBUTING.md" + "LICENSE.txt" + "README.md"))) + #:modules '(((guix build gnu-build-system) #:prefix gnu:) + (guix build copy-build-system) + (guix build utils) + (ice-9 match)))) + (home-page "https://fritzing.org") + (synopsis "Electronic components (parts library) for use in the Fritzing app") + (description "This package contains all part definitions that are +required for Fritzing app.") + (license license:cc-by-sa3.0)))) + (define-public qelectrotech (package (name "qelectrotech") From patchwork Tue Apr 18 20:19:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 49296 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 7C10E17A38; Tue, 18 Apr 2023 21:21:19 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_PDS_PRO_TLD,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8F70817A31 for ; Tue, 18 Apr 2023 21:21:18 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1porp3-0002oI-Fj; Tue, 18 Apr 2023 16:21:05 -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 1porp1-0002nt-SE for guix-patches@gnu.org; Tue, 18 Apr 2023 16:21:03 -0400 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 1porp1-0007wV-K7 for guix-patches@gnu.org; Tue, 18 Apr 2023 16:21:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1porp1-0006XP-8v for guix-patches@gnu.org; Tue, 18 Apr 2023 16:21:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62941] [PATCH 2/3] gnu: fritzing: Improve package style. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 18 Apr 2023 20:21:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62941 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62941@debbugs.gnu.org Cc: Sharlatan Hellseher Received: via spool by 62941-submit@debbugs.gnu.org id=B62941.168184922025033 (code B ref 62941); Tue, 18 Apr 2023 20:21:03 +0000 Received: (at 62941) by debbugs.gnu.org; 18 Apr 2023 20:20:20 +0000 Received: from localhost ([127.0.0.1]:60497 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1poroK-0006Vh-5O for submit@debbugs.gnu.org; Tue, 18 Apr 2023 16:20:20 -0400 Received: from mail-wm1-f43.google.com ([209.85.128.43]:61931) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1poro9-0006Up-Nr for 62941@debbugs.gnu.org; Tue, 18 Apr 2023 16:20:18 -0400 Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-3f0a0c4e1ebso28233475e9.3 for <62941@debbugs.gnu.org>; Tue, 18 Apr 2023 13:20:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681849204; x=1684441204; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=tZrVRRaDW6OJR8hnsKobWQiSFR10uTOY65fV35KbKZE=; b=Ymbo5YU+RtacYjpV33m7RZqjcuFlngS3kuzPJBe63NDyw5tbL58fovD+HFBB+Ii3+T vJlCZMzxSQUk6ysZjyhw5upF9Ti+TODe5JKUvQhHrLLBr7CDh5TbQaBEkauFpsG0ITID tssZwEfTAaF88J+nVa9EQEjLBFsH0ZLVLKBkyWn30gCB4eQIv151/5UHpFNkzU6c4fJl 8FoxXEY5sPP4duu0RN41+bcqoIbYrZR2O4q/wpR6QSnfTEjrlR4SQIC4ifLgUSHb90GJ TDQDDPToWbdqeAklRfTHrhRt4QDs4yH/s4L9mdUNsT3FLb6Wqr9z6U3Cr/hzhiNBAS5R jnmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681849204; x=1684441204; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tZrVRRaDW6OJR8hnsKobWQiSFR10uTOY65fV35KbKZE=; b=ejnQdbgt1zyZVAP5IwcxexpcYtV567JGg5G+J8jIcdFR1Q+sS74BKVRzdFqz/DD+Dv QMq9XBxasd8L1aLvrywiniarDhHzBOHHFm8sVsuMIsaf4ycP5IY2IbW+RkWOy7g7rXkU QaQgdEUwvKdNf7PPBJDl0kzaWsXC/JamL5nYq6rIakj2g1MHnR4iGD9mvk4Sjode6dlB irDnWW5ChSBdjTygVmKp54MuoVk6iZOc1T41evbHWwGmXHo9fNBWfWPXoTJYuLrAgdtK BfKjy/3D8HHfCYHS+XpbEhCHkJIiJiFRrE+jjuMMHRtAr3dQQI0gQZrBrygzHsYnoxRd wNCg== X-Gm-Message-State: AAQBX9cXcLYdpBK2iE/F1V9Ro7Fwl70CcGr2KnLb+FaTZivPsE53YSOo ll3t/MRm0wg7Kaa/fEu8kLkBtXULG9g= X-Google-Smtp-Source: AKy350bM2/Gi1JpZuT/gz77bervdM0yvob/YLOxxnlEQwVLnfe6QeFy4Dx2Wi8cH/90InPPGdOVldA== X-Received: by 2002:a5d:4490:0:b0:2f8:a17c:dedc with SMTP id j16-20020a5d4490000000b002f8a17cdedcmr2753967wrq.42.1681849204002; Tue, 18 Apr 2023 13:20:04 -0700 (PDT) Received: from guxtil.incerto.xyz (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id i15-20020a5d630f000000b002f27dd92643sm13721202wru.99.2023.04.18.13.20.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Apr 2023 13:20:03 -0700 (PDT) From: Sharlatan Hellseher Date: Tue, 18 Apr 2023 21:19:59 +0100 Message-Id: <20230418202000.11729-2-sharlatanus@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230418202000.11729-1-sharlatanus@gmail.com> References: <20230418202000.11729-1-sharlatanus@gmail.com> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/package/engineering.scm (fritzing): Improve package style. Use Gexp. [inputs]: Remove labels. Sort alphabetically. [native-inputs]: Introduce it, use fritzing-parts instead local source. --- gnu/packages/engineering.scm | 95 +++++++++++++++++------------------- 1 file changed, 46 insertions(+), 49 deletions(-) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index dd8a711566..67e72b58a3 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -711,58 +711,55 @@ (define-public fritzing (package (name "fritzing") (version "0.9.6") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/fritzing/fritzing-app") - (commit version))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "083nz7vj7a334575smjry6257535h68gglh8a381xxa36dw96aqs")))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/fritzing/fritzing-app") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "083nz7vj7a334575smjry6257535h68gglh8a381xxa36dw96aqs")))) (build-system gnu-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'configure - (lambda* (#:key inputs outputs #:allow-other-keys) - (copy-recursively (assoc-ref inputs "fritzing-parts-db") - "parts") - ;; Use system libgit2 and boost. - (substitute* "phoenix.pro" - (("^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 \"083nz7vj7a334575smjry6257535h68gglh8a381xxa36dw96aqs\";")) - - (let ((out (assoc-ref outputs "out"))) - (invoke "qmake" - (string-append "QMAKE_LFLAGS_RPATH=-Wl,-rpath," out "/lib") - (string-append "PREFIX=" out) - "phoenix.pro"))))))) + (list + #:phases + #~(modify-phases %standard-phases + (replace 'configure + (lambda _ + ;; Integrate parts library + (copy-recursively + (string-append #$(this-package-native-input "fritzing-parts") + "/share/library") + "parts") + ;; Use system libgit2 and boost. + (substitute* "phoenix.pro" + (("^LIBGIT_STATIC.*") + (string-append + "LIBGIT2INCLUDE=" #$(this-package-input "libgit2") "/include\n" + "LIBGIT2LIB=" #$(this-package-input "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 \"083nz7vj7a334575smjry6257535h68gglh8a381xxa36dw96aqs\";")) + (invoke "qmake" + (string-append "QMAKE_LFLAGS_RPATH=-Wl,-rpath," #$output "/lib") + (string-append "PREFIX=" #$output) + "phoenix.pro")))))) + (native-inputs + (list fritzing-parts)) (inputs - `(("qtbase" ,qtbase-5) - ("qtserialport" ,qtserialport) - ("qtsvg-5" ,qtsvg-5) - ("libgit2" ,libgit2) - ("boost" ,boost) - ("zlib" ,zlib) - ("fritzing-parts-db" - ,(origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/fritzing/fritzing-parts") - (commit (string-append "release_" version)))) - (file-name (git-file-name "fritzing-parts" version)) - (sha256 - (base32 - "0wsvn57v6n0ygnhk2my94rrfzb962z1cj4d1xmp1farwck3811h6")))))) + (list boost + libgit2 + qtbase-5 + ;; TODO: Needs to be renamed to qtserialport-5. when version 6 is + ;; packed. + qtserialport + qtsvg-5 + zlib)) (home-page "https://fritzing.org") (synopsis "Electronic circuit design") (description From patchwork Tue Apr 18 20:20:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 49297 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 177BC17A37; Tue, 18 Apr 2023 21:21:32 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 6C12717A31 for ; Tue, 18 Apr 2023 21:21:29 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1porp3-0002oJ-I3; Tue, 18 Apr 2023 16:21:05 -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 1porp1-0002nk-GR for guix-patches@gnu.org; Tue, 18 Apr 2023 16:21:03 -0400 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 1porp0-0007w2-SL for guix-patches@gnu.org; Tue, 18 Apr 2023 16:21:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1porp0-0006XI-Nb for guix-patches@gnu.org; Tue, 18 Apr 2023 16:21:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62941] [PATCH 3/3] gnu: Sort use-module alphabetically in (gnu packages engineering) Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 18 Apr 2023 20:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62941 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62941@debbugs.gnu.org Cc: Sharlatan Hellseher Received: via spool by 62941-submit@debbugs.gnu.org id=B62941.168184921525014 (code B ref 62941); Tue, 18 Apr 2023 20:21:02 +0000 Received: (at 62941) by debbugs.gnu.org; 18 Apr 2023 20:20:15 +0000 Received: from localhost ([127.0.0.1]:60495 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1poroE-0006VG-Bt for submit@debbugs.gnu.org; Tue, 18 Apr 2023 16:20:15 -0400 Received: from mail-wm1-f54.google.com ([209.85.128.54]:62742) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1poroA-0006Us-JO for 62941@debbugs.gnu.org; Tue, 18 Apr 2023 16:20:13 -0400 Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-3f17b967bfbso16941945e9.1 for <62941@debbugs.gnu.org>; Tue, 18 Apr 2023 13:20:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681849205; x=1684441205; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=XYHZO8UQnOHL/rcYY5E/52i7+L5+QXTvd2SOlvWmcGs=; b=CINm/zMoUkicWR1BV2vTdFksGN2xS7RbP+34HEAdH0SgutnmiYCoIoGBFHEAyPpbSM bxfzF09qJukL7OwApGCGelXij86Y7htBbGN8WBZ+/b9K0Yes1y8NVO7BpTZ4XsSefC5l t5TbZhcVKT7wOVnIucgtK98Zpikd/ljt1WrAqCLHGKGnMo19z2jxtB6Vf9st23VRyVMJ aF2oiYIGF/sivYOJc7YO2ACf+y7JR942PPlQ0bPlIA5BA3nPEGVBD1KWlEH4H5dcqKe3 ujvSATilEeqR20oUv88+7bH62vlTuXAHRX2OQsApkKadajV+96qKCoGMIR6kYYaN11uY H4FA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681849205; x=1684441205; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XYHZO8UQnOHL/rcYY5E/52i7+L5+QXTvd2SOlvWmcGs=; b=JntOBxdqYd4wtBvWP2WMcDEY3YXYCM36UnMPI239ONOALfZHeq3gU2JuLQiqQEc9GG z49gonvJKcxMKbYiB58F8OPFZ/Ez/nWPX7JuULHIteD92IA65PrBIDPr5qLHProIn8ZJ 6FOB8r95frb/G+rox5ujvlGIKHtEYrouFn8ZbWEbAIAonyV5e62m6vWR0P6UuEPQ3Zx+ cZXRYrhaIQzojyIDDg5oV85Fpm7AI0yXKwwLnXMJgARNReOWuBGTDHpnbkZ28m/8XzUe tWn4H82HctE/21SQuwIgV8TWQQJDY+o0b81aV28Njg7n+cnzIb5J6CR/6JbwNPdSoXRl Swhw== X-Gm-Message-State: AAQBX9fV1YqK+55Ko9f4aisQU+PqpkON8p/pASuZtNiDfj8jb3Gh37z4 3W+JkijBNJKbB6y9wCuzBlMUIQgEYwc= X-Google-Smtp-Source: AKy350beoiMVVLA54cqvSmgl7mZV9OYTjQ0cQM8yQ2o9qikJUEzhYwo6ldCynZUmHo0HXsbF9swF2g== X-Received: by 2002:a5d:6346:0:b0:2f1:b74:5d8a with SMTP id b6-20020a5d6346000000b002f10b745d8amr69103wrw.5.1681849204754; Tue, 18 Apr 2023 13:20:04 -0700 (PDT) Received: from guxtil.incerto.xyz (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id i15-20020a5d630f000000b002f27dd92643sm13721202wru.99.2023.04.18.13.20.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Apr 2023 13:20:04 -0700 (PDT) From: Sharlatan Hellseher Date: Tue, 18 Apr 2023 21:20:00 +0100 Message-Id: <20230418202000.11729-3-sharlatanus@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230418202000.11729-1-sharlatanus@gmail.com> References: <20230418202000.11729-1-sharlatanus@gmail.com> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/engineering.scm: Sort use-module alphabetically to ease maintenance. --- gnu/packages/engineering.scm | 40 ++++++++++++++++++++---------------- 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 67e72b58a3..85177d2c7c 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -37,6 +37,7 @@ ;;; Copyright © 2022 Maxim Cournoyer ;;; Copyright © 2022, 2023 Felix Gruber ;;; Copyright © 2023 Theofilos Pechlivanis +;;; Copyright © 2023 Sharlatan Hellseher ;;; ;;; This file is part of GNU Guix. ;;; @@ -54,15 +55,6 @@ ;;; along with GNU Guix. If not, see . (define-module (gnu packages engineering) - #:use-module (guix packages) - #:use-module (guix download) - #:use-module (guix gexp) - #:use-module (guix git-download) - #:use-module (guix svn-download) - #:use-module (guix monads) - #:use-module (guix store) - #:use-module (guix utils) - #:use-module ((srfi srfi-1) #:hide (zip)) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system ant) #:use-module (guix build-system cmake) @@ -73,6 +65,14 @@ (define-module (gnu packages engineering) #:use-module (guix build-system pyproject) #:use-module (guix build-system python) #:use-module (guix build-system qt) + #:use-module (guix download) + #:use-module (guix gexp) + #:use-module (guix git-download) + #:use-module (guix monads) + #:use-module (guix packages) + #:use-module (guix store) + #:use-module (guix svn-download) + #:use-module (guix utils) #:use-module (gnu packages) #:use-module (gnu packages algebra) #:use-module (gnu packages autotools) @@ -90,7 +90,6 @@ (define-module (gnu packages engineering) #:use-module (gnu packages cpp) #:use-module (gnu packages curl) #:use-module (gnu packages databases) - #:use-module (gnu packages gawk) #:use-module (gnu packages dejagnu) #:use-module (gnu packages digest) #:use-module (gnu packages docbook) @@ -100,6 +99,7 @@ (define-module (gnu packages engineering) #:use-module (gnu packages fontutils) #:use-module (gnu packages fpga) #:use-module (gnu packages freedesktop) + #:use-module (gnu packages gawk) #:use-module (gnu packages gcc) #:use-module (gnu packages gd) #:use-module (gnu packages geo) @@ -123,11 +123,12 @@ (define-module (gnu packages engineering) #:use-module (gnu packages linux) ;FIXME: for pcb #:use-module (gnu packages lisp) #:use-module (gnu packages m4) - #:use-module (gnu packages maths) #:use-module (gnu packages man) - #:use-module (gnu packages multiprecision) + #:use-module (gnu packages maths) #:use-module (gnu packages mpi) + #:use-module (gnu packages multiprecision) #:use-module (gnu packages ncurses) + #:use-module (gnu packages openkinect) #:use-module (gnu packages parallel) #:use-module (gnu packages pcre) #:use-module (gnu packages perl) @@ -150,19 +151,19 @@ (define-module (gnu packages engineering) #:use-module (gnu packages swig) #:use-module (gnu packages tbb) #:use-module (gnu packages tcl) + #:use-module (gnu packages tex) #:use-module (gnu packages texinfo) #:use-module (gnu packages text-editors) - #:use-module (gnu packages tree-sitter) #:use-module (gnu packages tls) - #:use-module (gnu packages tex) + #:use-module (gnu packages tree-sitter) #:use-module (gnu packages version-control) #:use-module (gnu packages web) #:use-module (gnu packages wxwidgets) - #:use-module (gnu packages xml) - #:use-module (gnu packages xiph) - #:use-module (gnu packages openkinect) #:use-module (gnu packages xdisorg) - #:use-module (gnu packages xorg)) + #:use-module (gnu packages xiph) + #:use-module (gnu packages xml) + #:use-module (gnu packages xorg) + #:use-module ((srfi srfi-1) #:hide (zip))) (define-public librecad (package @@ -745,6 +746,9 @@ (define-public fritzing (substitute* "src/version/partschecker.cpp" ((".*git_libgit2_init.*") "return \"083nz7vj7a334575smjry6257535h68gglh8a381xxa36dw96aqs\";")) + ;; XXX: NixOS and Gento have a phase where they generate part + ;; SQLite library, have proper investigation if it's required in + ;; Guix as well. (invoke "qmake" (string-append "QMAKE_LFLAGS_RPATH=-Wl,-rpath," #$output "/lib") (string-append "PREFIX=" #$output)