pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/jbig2enc Add jbig2enc-0.29pre:
details: https://anonhg.NetBSD.org/pkgsrc/rev/67ac95fa5740
branches: trunk
changeset: 392858:67ac95fa5740
user: joerg <joerg%pkgsrc.org@localhost>
date: Wed Mar 06 13:00:02 2019 +0000
description:
Add jbig2enc-0.29pre:
jbig2enc is a encoder for the JBIG2 image compression format. JBIG2 is
designed for lossy and lossless encoding of monochrome images at
moderately high resolutions. For scanned paper documents, compression
ratios on the order of 100:1 are often seen.
diffstat:
graphics/jbig2enc/DESCR | 4 +++
graphics/jbig2enc/Makefile | 28 +++++++++++++++++++++++++
graphics/jbig2enc/PLIST | 18 ++++++++++++++++
graphics/jbig2enc/distinfo | 8 +++++++
graphics/jbig2enc/patches/patch-Makefile.am | 13 +++++++++++
graphics/jbig2enc/patches/patch-src_Makefile.am | 15 +++++++++++++
6 files changed, 86 insertions(+), 0 deletions(-)
diffs (110 lines):
diff -r 4394d15227b8 -r 67ac95fa5740 graphics/jbig2enc/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/jbig2enc/DESCR Wed Mar 06 13:00:02 2019 +0000
@@ -0,0 +1,4 @@
+jbig2enc is a encoder for the JBIG2 image compression format. JBIG2 is
+designed for lossy and lossless encoding of monochrome images at
+moderately high resolutions. For scanned paper documents, compression
+ratios on the order of 100:1 are often seen.
diff -r 4394d15227b8 -r 67ac95fa5740 graphics/jbig2enc/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/jbig2enc/Makefile Wed Mar 06 13:00:02 2019 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2019/03/06 13:00:02 joerg Exp $
+
+DISTNAME= jbig2enc-0.29pre
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_GITHUB:=agl/}
+GITHUB_TAG= 0693dcd027f333d8499a4717b6452de08b6834ed
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/agl/jbig2enc
+COMMENT= JBIG2 encoder
+LICENSE= apache-2.0
+
+USE_LANGUAGES= c c++
+USE_LIBTOOL= yes
+USE_TOOLS+= aclocal autoconf autoheader automake
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --libdir=${PREFIX}/lib
+
+pre-configure:
+ cd ${WRKSRC} && ./autogen.sh
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/giflib/buildlink3.mk"
+.include "../../graphics/leptonica/buildlink3.mk"
+.include "../../graphics/libwebp/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../graphics/tiff/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 4394d15227b8 -r 67ac95fa5740 graphics/jbig2enc/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/jbig2enc/PLIST Wed Mar 06 13:00:02 2019 +0000
@@ -0,0 +1,18 @@
+@comment $NetBSD: PLIST,v 1.1 2019/03/06 13:00:02 joerg Exp $
+bin/jbig2
+include/jbig2arith.h
+include/jbig2comparator.h
+include/jbig2enc.h
+include/jbig2segments.h
+include/jbig2structs.h
+include/jbig2sym.h
+lib/libjbig2enc.la
+share/doc/jbig2enc-0.28/AUTHORS
+share/doc/jbig2enc-0.28/COPYING
+share/doc/jbig2enc-0.28/ChangeLog
+share/doc/jbig2enc-0.28/INSTALL
+share/doc/jbig2enc-0.28/NEWS
+share/doc/jbig2enc-0.28/PATENTS
+share/doc/jbig2enc-0.28/README
+share/doc/jbig2enc-0.28/jbig2enc.html
+share/doc/jbig2enc-0.28/pdf.py
diff -r 4394d15227b8 -r 67ac95fa5740 graphics/jbig2enc/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/jbig2enc/distinfo Wed Mar 06 13:00:02 2019 +0000
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2019/03/06 13:00:02 joerg Exp $
+
+SHA1 (jbig2enc-0.29pre-0693dcd027f333d8499a4717b6452de08b6834ed.tar.gz) = 4152c4ee57fc26f90ce48af27b9b41a97a4db011
+RMD160 (jbig2enc-0.29pre-0693dcd027f333d8499a4717b6452de08b6834ed.tar.gz) = 9910e8787d9bfe02904b555853ddfade3963238b
+SHA512 (jbig2enc-0.29pre-0693dcd027f333d8499a4717b6452de08b6834ed.tar.gz) =
a40da34018596aed76ce1bbf2fa951df95f9159a4a3b22f545fefff85dc748ba0299b5956b3c6e984c3731ef60bacce588ffd0e5e7831ff08149cd8f20422108
+Size (jbig2enc-0.29pre-0693dcd027f333d8499a4717b6452de08b6834ed.tar.gz) = 40240 bytes
+SHA1 (patch-Makefile.am) = 5f0bd89e21c7657ac275ff65c06091af9db5e2f3
+SHA1 (patch-src_Makefile.am) = 4a757a78c15c2a979e168d3052a857632b61e21b
diff -r 4394d15227b8 -r 67ac95fa5740 graphics/jbig2enc/patches/patch-Makefile.am
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/jbig2enc/patches/patch-Makefile.am Wed Mar 06 13:00:02 2019 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-Makefile.am,v 1.1 2019/03/06 13:00:03 joerg Exp $
+
+Don't install the PDF conversion script, it is of limited usefulness.
+
+--- Makefile.am.orig 2016-08-09 14:25:57.812939920 +0000
++++ Makefile.am
+@@ -1,5 +1,4 @@
+ ACLOCAL_AMFLAGS = -I m4
+ SUBDIRS = src doc
+-dist_bin_SCRIPTS = pdf.py
+-dist_doc_DATA = AUTHORS ChangeLog COPYING INSTALL NEWS README
++dist_doc_DATA = AUTHORS ChangeLog COPYING INSTALL NEWS README pdf.py
+ EXTRA_DIST = autogen.sh
diff -r 4394d15227b8 -r 67ac95fa5740 graphics/jbig2enc/patches/patch-src_Makefile.am
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/jbig2enc/patches/patch-src_Makefile.am Wed Mar 06 13:00:02 2019 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_Makefile.am,v 1.1 2019/03/06 13:00:03 joerg Exp $
+
+Install missing main header.
+
+--- src/Makefile.am.orig 2016-08-09 14:34:10.312725761 +0000
++++ src/Makefile.am
+@@ -7,7 +7,7 @@ endif
+ lib_LTLIBRARIES = libjbig2enc.la
+ libjbig2enc_la_SOURCES = jbig2enc.cc jbig2arith.cc jbig2sym.cc jbig2comparator.cc
+ libjbig2enc_la_LDFLAGS = -no-undefined -version-info $(GENERIC_LIBRARY_VERSION)
+-include_HEADERS = jbig2arith.h jbig2sym.h jbig2structs.h jbig2segments.h jbig2comparator.h
++include_HEADERS = jbig2arith.h jbig2enc.h jbig2sym.h jbig2structs.h jbig2segments.h jbig2comparator.h
+
+ bin_PROGRAMS = jbig2
+ jbig2_SOURCES = jbig2.cc
Home |
Main Index |
Thread Index |
Old Index