all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Cyril Roelandt <tipecaml@gmail.com>
To: bug-guix@gnu.org
Subject: [PATCH 2/2] gnu: Add libopenjpeg.
Date: Tue, 26 Mar 2013 22:27:23 +0100	[thread overview]
Message-ID: <1364333243-27199-3-git-send-email-tipecaml@gmail.com> (raw)
In-Reply-To: <1364333243-27199-1-git-send-email-tipecaml@gmail.com>

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 <tipecaml@gmail.com>
+;;;
+;;; 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

  parent reply	other threads:[~2013-03-26 21:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-26 21:27 [PATCH 0/2] Add a cmake build system Cyril Roelandt
2013-03-26 21:27 ` [PATCH 1/2] Add (guix build-system cmake) Cyril Roelandt
2013-03-26 22:09   ` Ludovic Courtès
2013-03-28 20:16     ` Cyril Roelandt
2013-03-26 21:27 ` Cyril Roelandt [this message]
2013-03-26 22:11   ` [PATCH 2/2] gnu: Add libopenjpeg Ludovic Courtès
2013-03-26 22:40   ` Nikita Karetnikov
2013-03-27  8:44     ` Andreas Enge
2013-03-28 20:34     ` Cyril Roelandt
2013-03-27  8:47   ` Andreas Enge
2013-03-28 20:33     ` Cyril Roelandt

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

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

  git send-email \
    --in-reply-to=1364333243-27199-3-git-send-email-tipecaml@gmail.com \
    --to=tipecaml@gmail.com \
    --cc=bug-guix@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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.