Subject: bug#27044: closed (Re: bug#27044: [PATCH 1/3] gnu: cpp: libzen: Add libzen.)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 31 May 2017 14:45:02 +0000

Your bug report

#27044: [PATCH 1/3] gnu: video: Add libzen.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
27044: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27044
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#27044: [PATCH 1/3] gnu: cpp: libzen: Add libzen.
From: [email-masked] (Ludovic Courtès)
To: "Ethan R. Jones" <[email-masked]>
Cc: [email-masked], [email-masked]
Date: Wed, 31 May 2017 16:44:29 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Ethan,

"Ethan R. Jones" <[email-masked]> skribis:

> * gnu/local.mk (GNU_SYSTEM_MODULES): Add new file.
> * gnu/packages/cpp.scm (libzen): New varible.

[...]

> +    (home-page "https://github.com/MediaArea/ZenLib")
> +    (synopsis "C++ utility library")
> +    (description "ZenLib is a C++ utility library.  It includes classes for handling
> +strings, configuration, bit streams, threading, translation, and cross-platform
> +operating system functions.")
> +    (license license:bsd-2)))

I changed the license to ‘license:zlib’ since that’s what it is and
committed.  Thanks!

Ludo’.

Subject: [PATCH 1/3] gnu: video: Add libzen.
From: "Ethan R. Jones" <[email-masked]>
To: [email-masked]
Cc: "Ethan R. Jones" <[email-masked]>
Date: Tue, 23 May 2017 16:43:04 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/video.scm (libzen): New variable.
---
 gnu/packages/video.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index b7c26a042..bc3fa48b8 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -2052,3 +2052,39 @@ file format that has been used as a multimedia file format in a variety of platf
 applications.  It is a very powerful and extensible format that can accommodate
 practically any type of media.")
     (license license:mpl1.1)))
+
+(define-public libzen
+  (package
+    (name "libzen")
+    (version "0.4.35")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://mediaarea.net/download/source/"
+                                  name "/" version "/"
+                                  name "_" version ".tar.bz2"))
+              (file-name (string-append name "-" version ".tar.bz2"))
+              (sha256
+               (base32
+                "12a1icgcffgv503ii2k1453kxg5hfly09mf4zjcc80aq8a6rf8by"))))
+    (native-inputs
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)
+       ("libtool" ,libtool)))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:phases
+       ;; build scripts not in root of archive
+       (modify-phases %standard-phases
+         (add-before
+             'configure 'pre-configure
+           (lambda _
+             (chdir "Project/GNU/Library")))
+         (add-before 'configure 'autogen
+           (lambda _
+             (zero? (system* "./autogen.sh")))))))
+    (home-page "https://github.com/MediaArea/ZenLib")
+    (synopsis "C++ utility library")
+    (description "ZenLib is a C++ utility library.  It includes classes for handling
+strings, configuration, bit streams, threading, translation, and cross-platform
+operating system functions.")
+    (license license:bsd-2)))
-- 
2.13.0