bug-guix
[Top][All Lists]
Advanced

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

[PATCH 2/2] gnu: Add libopenjpeg.


From: Cyril Roelandt
Subject: [PATCH 2/2] gnu: Add libopenjpeg.
Date: Tue, 26 Mar 2013 22:27:23 +0100

This is quite a dummy commit: the tests are disabled because they fail. This
package is not ready to be pushed, but it allows us to try the new cmake build
system.

* gnu/packages/libopenjpeg.scm: New file.
* Makefile.am: Add it.
---
 Makefile.am                  |    1 +
 gnu/packages/libopenjpeg.scm |   56 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)
 create mode 100644 gnu/packages/libopenjpeg.scm

diff --git a/Makefile.am b/Makefile.am
index 3cda470..1973657 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -110,6 +110,7 @@ MODULES =                                   \
   gnu/packages/libffi.scm                      \
   gnu/packages/libidn.scm                      \
   gnu/packages/libjpeg.scm                     \
+  gnu/packages/libopenjpeg.scm                 \
   gnu/packages/libpng.scm                      \
   gnu/packages/libsigsegv.scm                  \
   gnu/packages/libtiff.scm                     \
diff --git a/gnu/packages/libopenjpeg.scm b/gnu/packages/libopenjpeg.scm
new file mode 100644
index 0000000..778860b
--- /dev/null
+++ b/gnu/packages/libopenjpeg.scm
@@ -0,0 +1,56 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2013 Cyril Roelandt <address@hidden>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages libopenjpeg)
+  #:use-module (guix licenses)
+  #:use-module (guix packages)
+  #:use-module (guix download)
+  #:use-module (guix build-system cmake)
+  #:use-module (gnu packages)
+  #:use-module (gnu packages autotools)
+  #:use-module (gnu packages base)
+  #:use-module (gnu packages ncurses))
+
+(define-public libopenjpeg
+  (package
+    (name "libopenjpeg")
+    (version "2.0.0")
+    (source (origin
+             (method url-fetch)
+             (uri (string-append
+                    "http://openjpeg.googlecode.com/files/openjpeg-";
+                    version ".tar.gz"))
+             (sha256
+              (base32 
"1n05yrmscpgksrh2kfh12h18l0lw9j03mgmvwcg3hm8m0lwgak9k"))))
+    (build-system cmake-build-system)
+    (arguments
+     `(#:tests? #f
+       #:configure-flags
+        '("-DBUILD_DOC:BOOL=ON"
+          "-DBUILD_TESTING:BOOL=ON")))
+    (home-page "http://www.openjpeg.org/";)
+    (synopsis "A JPEG 2000 codec")
+    (description
+      "The OpenJPEG library is an open-source JPEG 2000 codec written in C
+language.  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, ... ")
+    (license bsd-2)))
-- 
1.7.10.4




reply via email to

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