pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print Add libharu 2.4.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/2b1200a4dda4
branches: trunk
changeset: 451972:2b1200a4dda4
user: prlw1 <prlw1%pkgsrc.org@localhost>
date: Tue May 04 14:12:05 2021 +0000
description:
Add libharu 2.4.0
Version 2.4.0 is the name given by kitware to version 2.3.0 + 2 patches
Haru is a free, cross platform, open-sourced software library for generating
PDF. It supports the following features:
1. Generating PDF files with lines, text, images.
2. Outline, text annotation, link annotation.
3. Compressing document with deflate-decode.
4. Embedding PNG, Jpeg images.
5. Embedding Type1 font and TrueType font.
6. Creating encrypted PDF files.
7. Using various character set (ISO8859-1~16, MSCP1250~8, KOI8-R).
8. Supporting CJK fonts and encodings.
The project is looking for a maintainer.
diffstat:
print/Makefile | 3 ++-
print/libharu/DESCR | 13 +++++++++++++
print/libharu/Makefile | 40 ++++++++++++++++++++++++++++++++++++++++
print/libharu/PLIST | 35 +++++++++++++++++++++++++++++++++++
print/libharu/buildlink3.mk | 15 +++++++++++++++
print/libharu/distinfo | 14 ++++++++++++++
6 files changed, 119 insertions(+), 1 deletions(-)
diffs (154 lines):
diff -r fa6124c6b17a -r 2b1200a4dda4 print/Makefile
--- a/print/Makefile Tue May 04 14:11:36 2021 +0000
+++ b/print/Makefile Tue May 04 14:12:05 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.807 2021/04/29 13:16:00 joerg Exp $
+# $NetBSD: Makefile,v 1.808 2021/05/04 14:12:05 prlw1 Exp $
#
COMMENT= Desktop publishing
@@ -81,6 +81,7 @@
SUBDIR+= lgrind
SUBDIR+= libcups
SUBDIR+= libgxps
+SUBDIR+= libharu
SUBDIR+= libpaper
SUBDIR+= libspectre
SUBDIR+= lilypond
diff -r fa6124c6b17a -r 2b1200a4dda4 print/libharu/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/libharu/DESCR Tue May 04 14:12:05 2021 +0000
@@ -0,0 +1,13 @@
+Haru is a free, cross platform, open-sourced software library for generating
+PDF. It supports the following features:
+
+ 1. Generating PDF files with lines, text, images.
+ 2. Outline, text annotation, link annotation.
+ 3. Compressing document with deflate-decode.
+ 4. Embedding PNG, Jpeg images.
+ 5. Embedding Type1 font and TrueType font.
+ 6. Creating encrypted PDF files.
+ 7. Using various character set (ISO8859-1~16, MSCP1250~8, KOI8-R).
+ 8. Supporting CJK fonts and encodings.
+
+The project is looking for a maintainer.
diff -r fa6124c6b17a -r 2b1200a4dda4 print/libharu/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/libharu/Makefile Tue May 04 14:12:05 2021 +0000
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1 2021/05/04 14:12:05 prlw1 Exp $
+
+PKGNAME= libharu-2.4.0
+DISTNAME= libharu-2.3.0
+CATEGORIES= print
+MASTER_SITES= ${MASTER_SITE_GITHUB:=libharu/}
+GITHUB_TAG= RELEASE_2_3_0
+DIST_SUBDIR= libharu
+
+# Kitware (vtk) calls this version 2.4.0 with the addition of
+PATCHFILES= 157.diff 187.diff
+PATCH_SITES= ${MASTER_SITE_GITHUB:=libharu/}libharu/pull/
+
+MAINTAINER= prlw1%cam.ac.uk@localhost
+HOMEPAGE= https://github.com/libharu/libharu/
+COMMENT= Software library for generating PDF
+LICENSE= zlib
+
+USE_CMAKE= yes
+USE_LANGUAGES= c c++
+
+
+CMAKE_ARGS+= -DLIBHPDF_STATIC=OFF
+
+PATCH_DIST_STRIP= -p1
+SUBST_CLASSES+= version
+SUBST_STAGE.version= pre-configure
+SUBST_MESSAGE.version= Change version to 2.4.0
+SUBST_FILES.version= include/hpdf_version.h
+SUBST_SED.version= -e 's/3/4/'
+SUBST_SED.version+= -e 's/RC2/dev/'
+
+INSTALLATION_DIRS= include lib
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/include/*.h ${DESTDIR}${PREFIX}/include
+ ${INSTALL_DATA} ${WRKSRC}/src/libhpdf.so ${DESTDIR}${PREFIX}/lib
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r fa6124c6b17a -r 2b1200a4dda4 print/libharu/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/libharu/PLIST Tue May 04 14:12:05 2021 +0000
@@ -0,0 +1,35 @@
+@comment $NetBSD: PLIST,v 1.1 2021/05/04 14:12:05 prlw1 Exp $
+include/hpdf.h
+include/hpdf_3dmeasure.h
+include/hpdf_annotation.h
+include/hpdf_catalog.h
+include/hpdf_conf.h
+include/hpdf_config.h
+include/hpdf_consts.h
+include/hpdf_destination.h
+include/hpdf_doc.h
+include/hpdf_encoder.h
+include/hpdf_encrypt.h
+include/hpdf_encryptdict.h
+include/hpdf_error.h
+include/hpdf_exdata.h
+include/hpdf_ext_gstate.h
+include/hpdf_font.h
+include/hpdf_fontdef.h
+include/hpdf_gstate.h
+include/hpdf_image.h
+include/hpdf_info.h
+include/hpdf_list.h
+include/hpdf_mmgr.h
+include/hpdf_namedict.h
+include/hpdf_objects.h
+include/hpdf_outline.h
+include/hpdf_page_label.h
+include/hpdf_pages.h
+include/hpdf_pdfa.h
+include/hpdf_streams.h
+include/hpdf_types.h
+include/hpdf_u3d.h
+include/hpdf_utils.h
+include/hpdf_version.h
+lib/libhpdf.so
diff -r fa6124c6b17a -r 2b1200a4dda4 print/libharu/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/libharu/buildlink3.mk Tue May 04 14:12:05 2021 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/05/04 14:12:05 prlw1 Exp $
+
+BUILDLINK_TREE+= libharu
+
+.if !defined(LIBHARU_BUILDLINK3_MK)
+LIBHARU_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libharu+= libharu>=2.4.0
+BUILDLINK_PKGSRCDIR.libharu?= ../../print/libharu
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.endif # LIBHARU_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libharu
diff -r fa6124c6b17a -r 2b1200a4dda4 print/libharu/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/libharu/distinfo Tue May 04 14:12:05 2021 +0000
@@ -0,0 +1,14 @@
+$NetBSD: distinfo,v 1.1 2021/05/04 14:12:05 prlw1 Exp $
+
+SHA1 (libharu/157.diff) = afe64b18d45496403871a55ff85d6bdfa9761635
+RMD160 (libharu/157.diff) = 5ad7c01511cd944b2f5aaa594f9d12bfccadd140
+SHA512 (libharu/157.diff) = f2ddb22b54b4eccc79400b6a4b2d245a221898f75456a5a559523eab7a523a87dfc5dfd0ec5fb17a771697e03c7ea6ed4c6095eff73e0a4302cd6eb24584c957
+Size (libharu/157.diff) = 15274 bytes
+SHA1 (libharu/187.diff) = 421a60d6e092c6266bebcfcad51ca8feac28dc7e
+RMD160 (libharu/187.diff) = 54a3f93274c420738fc0732c02fb9897fd6ab153
+SHA512 (libharu/187.diff) = f0d9b0774f108d1dc09b62428ae568c4ca0ed6116209418dbe2d430f2ac6b9ad7fdfb5cf7dd7eec6a45980981be2182c19ed05a44a9d732abe9d79a79c44591f
+Size (libharu/187.diff) = 2416 bytes
+SHA1 (libharu/libharu-2.3.0.tar.gz) = 434177d4baaf2a37b2d2d16467dd786961919e0d
+RMD160 (libharu/libharu-2.3.0.tar.gz) = c90ec08c3cc04e4d93f6aa9565368dd3a31a74bc
+SHA512 (libharu/libharu-2.3.0.tar.gz) = ebcabf1e8488e21185a231e97b4c16f9de742ae0ac2ebc7535b72b6b8e2045c2619bc6a94a820f7f923b0dfeceb217408f4e4c613ef3602104373cdf000d3f41
+Size (libharu/libharu-2.3.0.tar.gz) = 1396413 bytes
Home |
Main Index |
Thread Index |
Old Index