GNU bug report logs - #41288
[PATCH] gnu: Add lib3ds.

Previous Next

Package: guix-patches;

Reported by: Ekaitz Zarraga <ekaitz <at> elenq.tech>

Date: Fri, 15 May 2020 14:13:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#41288: closed ([PATCH] gnu: Add lib3ds.)
Date: Sat, 16 May 2020 17:32:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 16 May 2020 19:31:11 +0200
with message-id <87367zrdls.fsf <at> gnu.org>
and subject line Re: [bug#41288] [PATCH] gnu: Add lib3ds.
has caused the debbugs.gnu.org bug report #41288,
regarding [PATCH] gnu: Add lib3ds.
to be marked as done.

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


-- 
41288: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=41288
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ekaitz Zarraga <ekaitz <at> elenq.tech>
To: "guix-patches <at> gnu.org" <guix-patches <at> gnu.org>
Subject: [PATCH] gnu: Add lib3ds.
Date: Fri, 15 May 2020 14:12:34 +0000
Hi,

Added lib3ds as discussed here:

https://issues.guix.gnu.org/40492

I think everything is fine in the package but in building there are some messages about ldconfig not being available as we don't have it in guix. I checked that everything was installed correctly and it is but I'm not sure if that's going to have any other effect I didn't consider.

Thanks,
Ekaitz

From d295cb56c8ffa7df6a75ef9e97c6ba364d493405 Mon Sep 17 00:00:00 2001
From: Ekaitz Zarraga <ekaitz <at> elenq.tech>
Date: Fri, 15 May 2020 16:05:11 +0200
Subject: [PATCH] gnu: Add lib3ds.

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

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 172f8481eb..5d0fca030a 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -2533,3 +2533,26 @@ without any changes.  And programmers that are familiar with the magellan API
 can continue using it with a free library without the restrictions of the
 official SDK.")
     (license license:bsd-3)))
+
+(define-public lib3ds
+  (let ((version "1.3.0"))
+    (package
+      (name "lib3ds")
+      (version version)
+      (source
+       (origin
+         (method url-fetch)
+         (uri (string-append
+               "https://storage.googleapis.com/google-code-archive-downloads"
+               "/v2/code.google.com/lib3ds/lib3ds-" version ".zip"))
+         (sha256
+          (base32 "1qr9arfdkjf7q11xhvxwzmhxqz3nhcjkyb8zzfjpz9jm54q0rc7m"))))
+      (build-system gnu-build-system)
+      (native-inputs
+       `(("unzip" ,unzip)))
+      (home-page "http://lib3ds.sourceforge.net")
+      (synopsis "3DS format file toolkit")
+      (description "Lib3ds is a toolkit for handling the 3DS format for 3D
+model files.  Its main goal is to simplify the creation of 3DS import and
+export filters.")
+      (license license:lgpl3+))))
--
2.26.1




[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Ekaitz Zarraga <ekaitz <at> elenq.tech>
Cc: 41288-done <at> debbugs.gnu.org
Subject: Re: [bug#41288] [PATCH] gnu: Add lib3ds.
Date: Sat, 16 May 2020 19:31:11 +0200
[Message part 4 (text/plain, inline)]
Hi,

Ekaitz Zarraga <ekaitz <at> elenq.tech> skribis:

> Added lib3ds as discussed here:
>
> https://issues.guix.gnu.org/40492
>
> I think everything is fine in the package but in building there are some messages about ldconfig not being available as we don't have it in guix. I checked that everything was installed correctly and it is but I'm not sure if that's going to have any other effect I didn't consider.

The ‘ldconfig’ messages from Libtool can be ignored; Guix doesn’t rely
on ‘ldconfig’.

>>From d295cb56c8ffa7df6a75ef9e97c6ba364d493405 Mon Sep 17 00:00:00 2001
> From: Ekaitz Zarraga <ekaitz <at> elenq.tech>
> Date: Fri, 15 May 2020 16:05:11 +0200
> Subject: [PATCH] gnu: Add lib3ds.
>
>     * gnu/packages/engineering.scm (lib3ds): New variable.

Applied with the changes below (the license is LGPLv2.1+ according to
source file headers; the home page change addresses a ‘guix lint’
warning).

Thanks,
Ludo’.

[Message part 5 (text/x-patch, inline)]
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 9c66880e6f..37b42ca3f5 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -2597,10 +2597,9 @@ accessible through a simple API")
       (home-page "http://openctm.sourceforge.net/"))))
 
 (define-public lib3ds
-  (let ((version "1.3.0"))
   (package
     (name "lib3ds")
-      (version version)
+    (version "1.3.0")
     (source
      (origin
        (method url-fetch)
@@ -2612,9 +2611,9 @@ accessible through a simple API")
     (build-system gnu-build-system)
     (native-inputs
      `(("unzip" ,unzip)))
-      (home-page "http://lib3ds.sourceforge.net")
+    (home-page "https://code.google.com/archive/p/lib3ds")
     (synopsis "3DS format file toolkit")
     (description "Lib3ds is a toolkit for handling the 3DS format for 3D
 model files.  Its main goal is to simplify the creation of 3DS import and
 export filters.")
-      (license license:lgpl3+))))
+    (license license:lgpl2.1+)))

This bug report was last modified 5 years and 58 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.