From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: =?UTF-8?q?=5BPATCH=202/2=5D=20gnu=3A=20Add=20libopenjpeg=2E?= Date: Tue, 26 Mar 2013 22:27:23 +0100 Message-ID: <1364333243-27199-3-git-send-email-tipecaml@gmail.com> References: <1364333243-27199-1-git-send-email-tipecaml@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55431) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKbcL-0004cn-DJ for bug-guix@gnu.org; Tue, 26 Mar 2013 17:41:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKbcJ-00037l-LB for bug-guix@gnu.org; Tue, 26 Mar 2013 17:41:17 -0400 Received: from mail-we0-x235.google.com ([2a00:1450:400c:c03::235]:39854) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKbcJ-00037H-F9 for bug-guix@gnu.org; Tue, 26 Mar 2013 17:41:15 -0400 Received: by mail-we0-f181.google.com with SMTP id d7so1505576wer.26 for ; Tue, 26 Mar 2013 14:41:14 -0700 (PDT) In-Reply-To: <1364333243-27199-1-git-send-email-tipecaml@gmail.com> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: bug-guix@gnu.org 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 +;;; +;;; 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 . + +(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