From d5930c35f9c179451fa6d0be3c250d6b36a2bc7c Mon Sep 17 00:00:00 2001 From: thor Date: Tue, 25 Jul 2023 12:30:28 +0000 Subject: [PATCH] print/libharu: update to 2.4.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (also taking over maintainership after confirming with Patrick) v.2.4.3 Add static hpdf_version.h header by @vszakats in #241 hpdf_version.h included again by hpdf.h #241 #246 File attachment issue resolved @hvanbrug #159 Renamed *_LIBZ defines to _*ZLIB, thanks to @karstenBriksoft #249, enables compression of PDF files again. v.2.4.2 Reinstated hpdf_version.h #237 #240 v.2.4.1 Fixed library name #236 from @jschueller Set correct version number #237 pointed out by @xantares v.2.4.0 Add support for free-form triangle shading objects. by @allisonvacanti in #157 Fix config constant to match use in hpdf_mmgr.c by @bvirlet in #167 Improve small number writing in HPDF_FToA. by @allisonvacanti in #187 Fix missing /CapHeight key in font definition by @yabaud in #138 Change HPDF_Page_CreateXObjectFromImage zoom parameter type to HPDF… by @extensia in #114 Fix another case of png files with background mask save uncompressed by @igor-niv in #221 Avoid issue with libtiff duplicate symbols by @bvirlet in #168 Reajust bit_depth of png image after striping depth from 16 to 8. by @joelhecht in #125 Fixed typo in Japanese font name: Mincyo -> Mincho by @qtamaki in #80 Fix various typos by @luzpaz in #226 hpdf.h: add missing HPDF_Boolean typedef by @mathstuf in #189 Moved to a CMake only build environment. Fix bad unicode in comment by @gix in #229 Fix various typos by @luzpaz in #230 --- print/libharu/Makefile | 28 ++--------- print/libharu/PLIST | 104 ++++++++++++++++++++++++++++++++++++++++- print/libharu/distinfo | 14 ++---- 3 files changed, 111 insertions(+), 35 deletions(-) diff --git a/print/libharu/Makefile b/print/libharu/Makefile index 9fc796842241..b63213b582b6 100644 --- a/print/libharu/Makefile +++ b/print/libharu/Makefile @@ -1,39 +1,20 @@ -# $NetBSD: Makefile,v 1.2 2021/12/28 19:22:04 adam Exp $ +# $NetBSD: Makefile,v 1.3 2023/07/25 12:30:28 thor Exp $ -PKGNAME= libharu-2.4.0 -DISTNAME= libharu-2.3.0 +DISTNAME= libharu-2.4.3 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_GITHUB:=libharu/} -GITHUB_TAG= RELEASE_2_3_0 +GITHUB_TAG= v${PKGVERSION_NOREV} 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 +MAINTAINER= thomas.orgis@uni-hamburg.de 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.* ${DESTDIR}${PREFIX}/lib - .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "Darwin" @@ -43,6 +24,7 @@ fix-darwin-install-name: ${DESTDIR}${PREFIX}/lib/libhpdf.dylib .endif +.include "../../devel/cmake/build.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../graphics/png/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/print/libharu/PLIST b/print/libharu/PLIST index 3aa36601b111..3f4929dd1bdc 100644 --- a/print/libharu/PLIST +++ b/print/libharu/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1 2021/05/04 14:12:05 prlw1 Exp $ +@comment $NetBSD: PLIST,v 1.2 2023/07/25 12:30:28 thor Exp $ include/hpdf.h include/hpdf_3dmeasure.h include/hpdf_annotation.h @@ -21,7 +21,6 @@ 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 @@ -33,3 +32,104 @@ include/hpdf_u3d.h include/hpdf_utils.h include/hpdf_version.h lib/libhpdf.so +share/libharu/CHANGES +share/libharu/INSTALL +share/libharu/README.md +share/libharu/bindings/c#/README.c# +share/libharu/bindings/c#/demo/Encryption.cs +share/libharu/bindings/c#/demo/FontDemo.cs +share/libharu/bindings/c#/demo/ImageDemo.cs +share/libharu/bindings/c#/demo/JPFontDemo.cs +share/libharu/bindings/c#/demo/LineDemo.cs +share/libharu/bindings/c#/demo/OutlineDemo.cs +share/libharu/bindings/c#/demo/Permission.cs +share/libharu/bindings/c#/demo/RawImageDemo.cs +share/libharu/bindings/c#/demo/SlideShowDemo.cs +share/libharu/bindings/c#/demo/TextDemo.cs +share/libharu/bindings/c#/hpdf.cs +share/libharu/bindings/delphi/ExtGStateDemo.dpr +share/libharu/bindings/delphi/LineDemo.dpr +share/libharu/bindings/delphi/README.delphi +share/libharu/bindings/delphi/hpdf.pas +share/libharu/bindings/delphi/hpdf_consts.pas +share/libharu/bindings/delphi/hpdf_types.pas +share/libharu/bindings/freebasic/README.freebasic +share/libharu/bindings/freebasic/hpdf.bi +share/libharu/bindings/freebasic/hpdf_consts.bi +share/libharu/bindings/freebasic/hpdf_types.bi +share/libharu/bindings/freebasic/hpdftest.bas +share/libharu/bindings/oberon-2/README.oberon-2 +share/libharu/bindings/oberon-2/build.bat +share/libharu/bindings/oberon-2/hpdf.ob2 +share/libharu/bindings/oberon-2/test.ob2 +share/libharu/bindings/oberon-2/test.prj +share/libharu/bindings/python/History.txt +share/libharu/bindings/python/README.python +share/libharu/bindings/python/__init__.py +share/libharu/bindings/python/c_func.py +share/libharu/bindings/python/demo/arc_demo.py +share/libharu/bindings/python/demo/character_map.py +share/libharu/bindings/python/demo/chfont_demo.py +share/libharu/bindings/python/demo/cnfont_demo.py +share/libharu/bindings/python/demo/encoding_list.py +share/libharu/bindings/python/demo/encryption.py +share/libharu/bindings/python/demo/ext_gstate_demo.py +share/libharu/bindings/python/demo/font_demo.py +share/libharu/bindings/python/demo/grid_sheet.py +share/libharu/bindings/python/demo/image_demo.py +share/libharu/bindings/python/demo/jpeg_demo.py +share/libharu/bindings/python/demo/jpfont_demo.py +share/libharu/bindings/python/demo/line_demo.py +share/libharu/bindings/python/demo/link_annotation.py +share/libharu/bindings/python/demo/make_rawimage.py +share/libharu/bindings/python/demo/outline_demo.py +share/libharu/bindings/python/demo/outline_demo_jp.py +share/libharu/bindings/python/demo/permission.py +share/libharu/bindings/python/demo/png_demo.py +share/libharu/bindings/python/demo/raw_image_demo.py +share/libharu/bindings/python/demo/slide_show_demo.py +share/libharu/bindings/python/demo/text_annotation.py +share/libharu/bindings/python/demo/text_demo.py +share/libharu/bindings/python/demo/text_demo2.py +share/libharu/bindings/python/demo/ttfont_demo.py +share/libharu/bindings/python/demo/ttfont_demo_cn.py +share/libharu/bindings/python/demo/ttfont_demo_jp.py +share/libharu/bindings/python/hpdf.py +share/libharu/bindings/python/hpdf_consts.py +share/libharu/bindings/python/hpdf_errorcode.py +share/libharu/bindings/python/hpdf_types.py +share/libharu/bindings/ruby/Makefile.msvc +share/libharu/bindings/ruby/demo/arc_demo.rb +share/libharu/bindings/ruby/demo/demo.rb +share/libharu/bindings/ruby/demo/encryption.rb +share/libharu/bindings/ruby/demo/ext_gstater_demo.rb +share/libharu/bindings/ruby/demo/font_demo.rb +share/libharu/bindings/ruby/demo/jpfont_demo.rb +share/libharu/bindings/ruby/demo/line_demo.rb +share/libharu/bindings/ruby/demo/slide_show_demo.rb +share/libharu/bindings/ruby/demo/text_demo2.rb +share/libharu/bindings/ruby/demo/ttfont_demo.rb +share/libharu/bindings/ruby/extconf.rb +share/libharu/bindings/ruby/extconf.rb.all +share/libharu/bindings/ruby/extconf.rb.nopnglib +share/libharu/bindings/ruby/extconf.rb.nozlib +share/libharu/bindings/ruby/hpdf.c +share/libharu/bindings/vb.net/README.vbnet +share/libharu/bindings/vb.net/demo/Encryption.vb +share/libharu/bindings/vb.net/demo/FontDemo.vb +share/libharu/bindings/vb.net/demo/ImageDemo.vb +share/libharu/bindings/vb.net/demo/LineDemo.vb +share/libharu/bindings/vb.net/demo/OutlineDemo.vb +share/libharu/bindings/vb.net/demo/Permission.vb +share/libharu/bindings/vb.net/demo/RawImageDemo.vb +share/libharu/bindings/vb.net/demo/SlideShowDemo.vb +share/libharu/bindings/vb.net/demo/TextDemo.vb +share/libharu/bindings/vb.net/hpdfvb.vb +share/libharu/bindings/vb6/Form1.frm +share/libharu/bindings/vb6/MSSCCPRJ.SCC +share/libharu/bindings/vb6/Project1.vbp +share/libharu/bindings/vb6/Project1.vbw +share/libharu/bindings/vb6/README.vb +share/libharu/bindings/vb6/hpdf.bas +share/libharu/bindings/vb6/hpdf_consts.bas +share/libharu/bindings/vb6/hpdf_types.bas diff --git a/print/libharu/distinfo b/print/libharu/distinfo index 865dde885a98..9f131d114f6f 100644 --- a/print/libharu/distinfo +++ b/print/libharu/distinfo @@ -1,11 +1,5 @@ -$NetBSD: distinfo,v 1.3 2021/10/26 11:12:09 nia Exp $ +$NetBSD: distinfo,v 1.4 2023/07/25 12:30:28 thor Exp $ -BLAKE2s (libharu/157.diff) = 495dee7f8348231bb021824d8c0a60c62d22bc5c1e743793838bba14841e087b -SHA512 (libharu/157.diff) = f2ddb22b54b4eccc79400b6a4b2d245a221898f75456a5a559523eab7a523a87dfc5dfd0ec5fb17a771697e03c7ea6ed4c6095eff73e0a4302cd6eb24584c957 -Size (libharu/157.diff) = 15274 bytes -BLAKE2s (libharu/187.diff) = 954d245d1611bafd49a723f32e61db138f2e256cf41d696befa96bae5b84006a -SHA512 (libharu/187.diff) = f0d9b0774f108d1dc09b62428ae568c4ca0ed6116209418dbe2d430f2ac6b9ad7fdfb5cf7dd7eec6a45980981be2182c19ed05a44a9d732abe9d79a79c44591f -Size (libharu/187.diff) = 2416 bytes -BLAKE2s (libharu/libharu-2.3.0.tar.gz) = ad6c1b83d9cca9ccf07e789ed875d9b4152ade6a89a3d91f1d662c5dce420fce -SHA512 (libharu/libharu-2.3.0.tar.gz) = ebcabf1e8488e21185a231e97b4c16f9de742ae0ac2ebc7535b72b6b8e2045c2619bc6a94a820f7f923b0dfeceb217408f4e4c613ef3602104373cdf000d3f41 -Size (libharu/libharu-2.3.0.tar.gz) = 1396413 bytes +BLAKE2s (libharu/libharu-2.4.3.tar.gz) = 1e722ebc3d6a1ab0f8c83098391b0d006fcf9e701cc8854be7910d9b36d61fc0 +SHA512 (libharu/libharu-2.4.3.tar.gz) = 4b01dd0d23bdcaec6f69fe5f059902e7f49eafdf19d53d4cce8b4d52a54b2057b764de29390f4da9e75aeb32cb6af8606b23478b04edf9f7dcb1e4b769c5fff2 +Size (libharu/libharu-2.4.3.tar.gz) = 1411024 bytes