From: "Dušan Xmetov" <merkur32@gmail.com>
To: guix-devel@gnu.org
Subject: Re: [PATCH 2/3]: Add openjpeg
Date: Sun, 14 Sep 2014 11:16:41 +0200 [thread overview]
Message-ID: <CAN=wXfAwB_P8vsB8a44R3=K4gT0DoM8XgYr5jGEuNQ_A=Sbg=Q@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 56 bytes --]
Oops, seems like I forgot the actual patch, here it is.
[-- Attachment #2: openjpeg.patch --]
[-- Type: application/octet-stream, Size: 2498 bytes --]
From 5083b8479a08b29e22c2277f1b144c7cd98d3d4b Mon Sep 17 00:00:00 2001
From: Marek Benc <merkur32@gmail.com>
Date: Sun, 14 Sep 2014 11:03:35 +0200
Subject: [PATCH] gnu: Add openjpeg
* gnu/packages/image.scm (openjpeg): New variable.
---
gnu/packages/image.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index c45baa0..b4e437c 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -21,11 +21,13 @@
#:use-module (gnu packages compression)
#:use-module (gnu packages file)
#:use-module (gnu packages fontutils)
+ #:use-module (gnu packages ghostscript)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages xml)
#:use-module ((guix licenses) #:renamer (symbol-prefix-proc 'license:))
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix build-system cmake)
#:use-module (guix build-system gnu))
(define-public libpng
@@ -184,3 +186,38 @@ meaning it doesn't completely work yet. However, it is 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
next reply other threads:[~2014-09-14 9:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-14 9:16 Dušan Xmetov [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-09-15 6:11 [PATCH 2/3]: Add openjpeg Dušan Xmetov
2014-09-15 7:00 ` Ludovic Courtès
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=wXfAwB_P8vsB8a44R3=K4gT0DoM8XgYr5jGEuNQ_A=Sbg=Q@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).