emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#42778: closed ([PATCH] gnu: Add libredwg.)


From: GNU bug Tracking System
Subject: bug#42778: closed ([PATCH] gnu: Add libredwg.)
Date: Mon, 10 Aug 2020 09:50:02 +0000

Your message dated Mon, 10 Aug 2020 11:49:10 +0200
with message-id <878semhlux.fsf@gnu.org>
and subject line Re: [bug#42778] [PATCH] gnu: Add libredwg.
has caused the debbugs.gnu.org bug report #42778,
regarding [PATCH] gnu: Add libredwg.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
42778: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42778
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: Add libredwg. Date: Sun, 9 Aug 2020 12:53:46 -0300
* gnu/packages/engineering.scm (libredwg): New variable.
---
Not sure if bindings should be a part of this package or a separate package or 
output.
There's also no documentation for them. Disabling for now.

Parallel is an optional input to "speed up special tests". Could be removed, 
but I
didn't attempt to build without it.

 gnu/packages/engineering.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index a227fdbdad..169c4d5c7b 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -19,6 +19,7 @@
 ;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
 ;;; Copyright © 2020 Ekaitz Zarraga <ekaitz@elenq.tech>
 ;;; Copyright © 2020 B. Wilson <elaexuotee@wilsonb.com>
+;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -95,6 +96,8 @@
   #:use-module (gnu packages multiprecision)
   #:use-module (gnu packages mpi)
   #:use-module (gnu packages ncurses)
+  #:use-module (gnu packages parallel)
+  #:use-module (gnu packages pcre)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
@@ -1075,6 +1078,36 @@ provides a machine-independent interface to select the 
best such procedures to
 use on a given system.")
     (license license:gpl3+)))
 
+(define-public libredwg
+  (package
+    (name "libredwg")
+    (version "0.11")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://gnu/libredwg/libredwg-"
+             version ".tar.xz"))
+       (sha256
+        (base32 "1vd7ii32k5447z7k4w9s005hv1ffpj6dyf1w40x6c53qksrblny2"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:configure-flags '("--disable-bindings")))
+    (native-inputs
+     `(("libxml2" ,libxml2)
+       ("parallel" ,parallel)
+       ("pkg-config" ,pkg-config)
+       ("python" ,python)
+       ("python-libxml2" ,python-libxml2)))
+    (inputs
+     `(("pcre2" ,pcre2)))
+    (home-page "https://www.gnu.org/software/libredwg/";)
+    (synopsis "C library to handle DWG (CAD-related) files")
+    (description
+     "GNU LibreDWG is a free C library to handle DWG files.  It aims to be a
+free replacement for the OpenDWG libraries.")
+    (license license:gpl3+)))
+
 (define-public minicom
   (package
     (name "minicom")
-- 
2.20.1




--- End Message ---
--- Begin Message --- Subject: Re: [bug#42778] [PATCH] gnu: Add libredwg. Date: Mon, 10 Aug 2020 11:49:10 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
Hello,

> Not sure if bindings should be a part of this package or a separate package 
> or output.
> There's also no documentation for them. Disabling for now.

https://www.gnu.org/software/libredwg/manual/html_node/Bindings.html
says that bindings can be "quite huge". Depending on how "huge",
separate output(s) could be nice.

You can have a look to "sudo" for an example of separate python bindings
package output.

In the meantime, this looks fine. Pushed!

Thanks,

Mathieu


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]