pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/print
Module Name: pkgsrc
Committed By: prlw1
Date: Tue May 4 14:12:06 UTC 2021
Modified Files:
pkgsrc/print: Makefile
Added Files:
pkgsrc/print/libharu: DESCR Makefile PLIST buildlink3.mk distinfo
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.807 -r1.808 pkgsrc/print/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/print/libharu/DESCR \
pkgsrc/print/libharu/Makefile pkgsrc/print/libharu/PLIST \
pkgsrc/print/libharu/buildlink3.mk pkgsrc/print/libharu/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/print/Makefile
diff -u pkgsrc/print/Makefile:1.807 pkgsrc/print/Makefile:1.808
--- pkgsrc/print/Makefile:1.807 Thu Apr 29 13:16:00 2021
+++ pkgsrc/print/Makefile Tue May 4 14:12:05 2021
@@ -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+= latexmk
SUBDIR+= lgrind
SUBDIR+= libcups
SUBDIR+= libgxps
+SUBDIR+= libharu
SUBDIR+= libpaper
SUBDIR+= libspectre
SUBDIR+= lilypond
Added files:
Index: pkgsrc/print/libharu/DESCR
diff -u /dev/null pkgsrc/print/libharu/DESCR:1.1
--- /dev/null Tue May 4 14:12:06 2021
+++ pkgsrc/print/libharu/DESCR Tue May 4 14:12:05 2021
@@ -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.
Index: pkgsrc/print/libharu/Makefile
diff -u /dev/null pkgsrc/print/libharu/Makefile:1.1
--- /dev/null Tue May 4 14:12:06 2021
+++ pkgsrc/print/libharu/Makefile Tue May 4 14:12:05 2021
@@ -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"
Index: pkgsrc/print/libharu/PLIST
diff -u /dev/null pkgsrc/print/libharu/PLIST:1.1
--- /dev/null Tue May 4 14:12:06 2021
+++ pkgsrc/print/libharu/PLIST Tue May 4 14:12:05 2021
@@ -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
Index: pkgsrc/print/libharu/buildlink3.mk
diff -u /dev/null pkgsrc/print/libharu/buildlink3.mk:1.1
--- /dev/null Tue May 4 14:12:06 2021
+++ pkgsrc/print/libharu/buildlink3.mk Tue May 4 14:12:05 2021
@@ -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
Index: pkgsrc/print/libharu/distinfo
diff -u /dev/null pkgsrc/print/libharu/distinfo:1.1
--- /dev/null Tue May 4 14:12:06 2021
+++ pkgsrc/print/libharu/distinfo Tue May 4 14:12:05 2021
@@ -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