unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Dušan Xmetov" <merkur32@gmail.com>
To: guix-devel@gnu.org
Subject: Re: [PATCH 2/3]: Add openjpeg
Date: Mon, 15 Sep 2014 08:11:28 +0200	[thread overview]
Message-ID: <CAN=wXfDve-vSwAMRUn=POQtXZ4iEv4_T_Om5QU70ezwwJNb=xg@mail.gmail.com> (raw)

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

A fixed-up version, thanks to Alex Kost.

[-- Attachment #2: openjpeg.patch --]
[-- Type: application/octet-stream, Size: 1938 bytes --]

From 8a3c7f47623d07b034172a711062a70f6a21aacd Mon Sep 17 00:00:00 2001
From: Marek Benc <merkur32@gmail.com>
Date: Mon, 15 Sep 2014 07:56:22 +0200
Subject: [PATCH] gnu: Add openjpeg

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

diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index d163d70..39a716e 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -185,3 +185,39 @@ maintaining parity with available encoders, so it is useful for real
 work.")
     (home-page "http://jbig2dec.sourceforge.net/")
     (license license:gpl2+)))
+
+(define-public openjpeg
+  (package
+    (name "openjpeg")
+    (version "2.0.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri
+          (string-append "http://openjpeg.googlecode.com/files/" name "-"
+                         version ".tar.gz"))
+        (sha256
+          (base32 "1n05yrmscpgksrh2kfh12h18l0lw9j03mgmvwcg3hm8m0lwgak9k"))))
+
+    (build-system cmake-build-system)
+    (arguments
+      ;; Trying to run `$ make check' results in a no rule fault.
+      '(#:tests? #f))
+    (inputs
+      `(("lcms" ,lcms)
+        ("libpng" ,libpng)
+        ("libtiff" ,libtiff)
+        ("zlib" ,zlib)))
+    (synopsis "JPEG 2000 codec")
+    (description
+      "The OpenJPEG library is a JPEG 2000 codec written in C.  It has
+been developed in order to promote the use of JPEG 2000, the new
+still-image compression standard from the Joint Photographic Experts
+Group (JPEG).
+
+In addition to the basic codec, various other features are under
+development, among them the JP2 and MJ2 (Motion JPEG 2000) file formats,
+an indexing tool useful for the JPIP protocol, JPWL-tools for
+error-resilience, a Java-viewer for j2k-images, ...")
+    (home-page "http://jbig2dec.sourceforge.net/")
+    (license license:bsd-2)))
-- 
1.8.4


             reply	other threads:[~2014-09-15  6:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-15  6:11 Dušan Xmetov [this message]
2014-09-15  7:00 ` [PATCH 2/3]: Add openjpeg Ludovic Courtès
  -- strict thread matches above, loose matches on Subject: below --
2014-09-14  9:16 Dušan Xmetov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAN=wXfDve-vSwAMRUn=POQtXZ4iEv4_T_Om5QU70ezwwJNb=xg@mail.gmail.com' \
    --to=merkur32@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).