unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#33562] [PATCH] gnu: Add librepcb.
@ 2018-12-01 13:30 Arun Isaac
  2018-12-12  2:15 ` Leo Famulari
  0 siblings, 1 reply; 5+ messages in thread
From: Arun Isaac @ 2018-12-01 13:30 UTC (permalink / raw)
  To: 33562

* gnu/packages/engineering.scm (librepcb): New variable.
---
 gnu/packages/engineering.scm | 52 ++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 008035649..4b9c76fd5 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -9,6 +9,7 @@
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org>
 ;;; Copyright © 2018 Jonathan Brielmaier <jonathan.brielmaier@web.de>
+;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1846,3 +1847,54 @@ The S letter indicates SPICE.  The purpose of the Qucs-S subproject is to use
 free SPICE circuit simulation kernels with the Qucs GUI.  It provides the
 simulator backends @code{Qucsator}, @code{ngspice} and @code{Xyce}.")
     (license license:gpl2+)))
+
+(define-public librepcb
+  (package
+    (name "librepcb")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://download.librepcb.org/releases/0.1.0/librepcb-"
+                           version "-source.zip"))
+       (sha256
+        (base32
+         "0affvwwgs1j2wx6bb3zfa2jbfxpckklr8cka2nkswca0p82wd3dv"))))
+    (build-system gnu-build-system)
+    (inputs
+     `(("qtbase" ,qtbase)
+       ("zlib" ,zlib)))
+    (native-inputs
+     `(("qttools" ,qttools) ; for lrelease
+       ("unzip" ,unzip)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'configure
+           (lambda* (#:key inputs outputs #:allow-other-keys)
+             (mkdir-p "build")
+             (chdir "build")
+             (let ((lrelease (string-append (assoc-ref inputs "qttools")
+                                            "/bin/lrelease"))
+                   (out (assoc-ref outputs "out")))
+               (invoke "qmake"
+                       (string-append "QMAKE_LRELEASE=" lrelease)
+                       (string-append "PREFIX=" out)
+                       "../librepcb.pro")))))))
+    (home-page "https://librepcb.org/")
+    (synopsis "Electronic Design Automation tool")
+    (description "LibrePCB is Electronic Design Automation (EDA) software to
+develop printed circuit boards.  It features human readable file formats and
+complete project management with library, schematic and board editors.")
+    (license (list license:gpl3+
+                   license:boost1.0 ; libs/clipper,
+                                    ; libs/optional/tests/catch.hpp,
+                                    ; libs/sexpresso/tests/catch.hpp
+                   license:expat ; libs/delaunay-triangulation,
+                                 ; libs/parseagle, libs/type_safe
+                   license:asl2.0 ; libs/fontobene, libs/googletest,
+                                  ; libs/parseagle
+                   license:isc ; libs/hoedown
+                   license:cc0 ; libs/optional, libs/sexpresso
+                   license:bsd-2 ; libs/optional/tests/catch.hpp
+                   license:lgpl2.1+)))) ; libs/quazip
-- 
2.19.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#33562] [PATCH] gnu: Add librepcb.
  2018-12-01 13:30 [bug#33562] [PATCH] gnu: Add librepcb Arun Isaac
@ 2018-12-12  2:15 ` Leo Famulari
  2018-12-12 19:40   ` Arun Isaac
  0 siblings, 1 reply; 5+ messages in thread
From: Leo Famulari @ 2018-12-12  2:15 UTC (permalink / raw)
  To: Arun Isaac; +Cc: 33562

[-- Attachment #1: Type: text/plain, Size: 289 bytes --]

On Sat, Dec 01, 2018 at 07:00:32PM +0530, Arun Isaac wrote:
> * gnu/packages/engineering.scm (librepcb): New variable.

Cool, thanks!

> +    (description "LibrePCB is Electronic Design Automation (EDA) software to

How about some texinfo markup?

@dfn{Electronic Design Automation} (EDA)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#33562] [PATCH] gnu: Add librepcb.
  2018-12-12  2:15 ` Leo Famulari
@ 2018-12-12 19:40   ` Arun Isaac
  2018-12-12 23:15     ` Leo Famulari
  0 siblings, 1 reply; 5+ messages in thread
From: Arun Isaac @ 2018-12-12 19:40 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 33562


>> +    (description "LibrePCB is Electronic Design Automation (EDA) software to
>
> How about some texinfo markup?
>
> @dfn{Electronic Design Automation} (EDA)

Thanks for the review! Will that be the only change? Can I push to
master with that change?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#33562] [PATCH] gnu: Add librepcb.
  2018-12-12 19:40   ` Arun Isaac
@ 2018-12-12 23:15     ` Leo Famulari
  2018-12-13 13:02       ` bug#33562: " Arun Isaac
  0 siblings, 1 reply; 5+ messages in thread
From: Leo Famulari @ 2018-12-12 23:15 UTC (permalink / raw)
  To: Arun Isaac; +Cc: 33562

On Thu, Dec 13, 2018 at 01:10:31AM +0530, Arun Isaac wrote:
> Thanks for the review! Will that be the only change? Can I push to
> master with that change?

That's the only thing I noticed. Please push according to your judgement
:)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#33562: [PATCH] gnu: Add librepcb.
  2018-12-12 23:15     ` Leo Famulari
@ 2018-12-13 13:02       ` Arun Isaac
  0 siblings, 0 replies; 5+ messages in thread
From: Arun Isaac @ 2018-12-13 13:02 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 33562-done


Pushed to master, thanks!

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-12-13 13:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-01 13:30 [bug#33562] [PATCH] gnu: Add librepcb Arun Isaac
2018-12-12  2:15 ` Leo Famulari
2018-12-12 19:40   ` Arun Isaac
2018-12-12 23:15     ` Leo Famulari
2018-12-13 13:02       ` bug#33562: " Arun Isaac

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).