unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] Add zimg.
@ 2016-05-29 11:51 Efraim Flashner
  2016-05-29 18:34 ` Ricardo Wurmus
  0 siblings, 1 reply; 4+ messages in thread
From: Efraim Flashner @ 2016-05-29 11:51 UTC (permalink / raw)
  To: guix-devel


[-- Attachment #1.1: Type: text/plain, Size: 302 bytes --]

here's a patch to add zimg, a new dependency for vapoursynth in versions
29 and above.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #1.2: 0001-gnu-Add-zimg.patch --]
[-- Type: text/plain, Size: 2011 bytes --]

From 280b1d63e16d223eb29291421b652a13bc077795 Mon Sep 17 00:00:00 2001
From: Efraim Flashner <efraim@flashner.co.il>
Date: Sun, 29 May 2016 14:48:42 +0300
Subject: [PATCH] gnu: Add zimg.

* gnu/packages/image.scm (zimg): New variable.
---
 gnu/packages/image.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 3651e97..17d1bdd 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -766,3 +766,35 @@ implementation of the codec specified in the JPEG-2000 Part-1 standard (i.e.,
 ISO/IEC 15444-1).")
     (home-page "https://www.ece.uvic.ca/~frodo/jasper/")
     (license (license:x11-style "file://LICENSE"))))
+
+(define-public zimg
+  (package
+    (name "zimg")
+    (version "2.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append "https://github.com/sekrit-twc/zimg/archive/"
+                            "release-" version ".tar.gz"))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "1hqp1gcsa2zhypms5dnasb1srjgxdqm7cip3w5i571kk9nxkn289"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)
+       ("libtool" ,libtool)))
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'autogen
+           (lambda _
+             (zero? (system* "sh" "autogen.sh")))))))
+    (synopsis "Scaling, colorspace conversion, and dithering library")
+    (description "Zimg implements the commonly required image processing basics
+of scaling, colorspace conversion, and depth conversion.  A simple API enables
+conversion between any supported formats to operate with minimal knowledge from
+the programmer.")
+    (home-page "https://github.com/sekrit-twc/zimg")
+    (license (license:fsf-free "file://COPYING")))) ;WTFPL version 2
-- 
2.8.3


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

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

* Re: [PATCH] Add zimg.
  2016-05-29 11:51 [PATCH] Add zimg Efraim Flashner
@ 2016-05-29 18:34 ` Ricardo Wurmus
  2016-05-30 19:21   ` Efraim Flashner
  0 siblings, 1 reply; 4+ messages in thread
From: Ricardo Wurmus @ 2016-05-29 18:34 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: guix-devel


Efraim Flashner <efraim@flashner.co.il> writes:

> here's a patch to add zimg, a new dependency for vapoursynth in versions
> 29 and above.

Thanks, this looks good to me.  Too bad the release tarball is not
bootstrapped.

I found that the tests contain third-party libs under Expat license
(e.g. “musl”).  Not sure if this needs to be declared.

~~ Ricardo

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

* Re: [PATCH] Add zimg.
  2016-05-29 18:34 ` Ricardo Wurmus
@ 2016-05-30 19:21   ` Efraim Flashner
  2016-05-30 19:35     ` Ricardo Wurmus
  0 siblings, 1 reply; 4+ messages in thread
From: Efraim Flashner @ 2016-05-30 19:21 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

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

On Sun, May 29, 2016 at 08:34:15PM +0200, Ricardo Wurmus wrote:
> 
> Efraim Flashner <efraim@flashner.co.il> writes:
> 
> > here's a patch to add zimg, a new dependency for vapoursynth in versions
> > 29 and above.
> 
> Thanks, this looks good to me.  Too bad the release tarball is not
> bootstrapped.
> 
> I found that the tests contain third-party libs under Expat license
> (e.g. “musl”).  Not sure if this needs to be declared.
> 
> ~~ Ricardo
> 

I've thought about it, and no one else has chimed in. Its in the test
folder and doesn't affect the rest of the code so I've made a note of it
next to the license field but haven't included it as one of the licenses
for the program.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

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

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

* Re: [PATCH] Add zimg.
  2016-05-30 19:21   ` Efraim Flashner
@ 2016-05-30 19:35     ` Ricardo Wurmus
  0 siblings, 0 replies; 4+ messages in thread
From: Ricardo Wurmus @ 2016-05-30 19:35 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: guix-devel


Efraim Flashner <efraim@flashner.co.il> writes:

> On Sun, May 29, 2016 at 08:34:15PM +0200, Ricardo Wurmus wrote:
>> 
>> Efraim Flashner <efraim@flashner.co.il> writes:
>> 
>> > here's a patch to add zimg, a new dependency for vapoursynth in versions
>> > 29 and above.
>> 
>> Thanks, this looks good to me.  Too bad the release tarball is not
>> bootstrapped.
>> 
>> I found that the tests contain third-party libs under Expat license
>> (e.g. “musl”).  Not sure if this needs to be declared.
>> 
>> ~~ Ricardo
>> 
>
> I've thought about it, and no one else has chimed in. Its in the test
> folder and doesn't affect the rest of the code so I've made a note of it
> next to the license field but haven't included it as one of the licenses
> for the program.

I think that’s reasonable.  Thanks!

~~ Ricardo

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

end of thread, other threads:[~2016-05-30 19:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-29 11:51 [PATCH] Add zimg Efraim Flashner
2016-05-29 18:34 ` Ricardo Wurmus
2016-05-30 19:21   ` Efraim Flashner
2016-05-30 19:35     ` Ricardo Wurmus

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).