Tue Jul 25 12:30:28 2023 UTC ()
print/libharu: update to 2.4.3

(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


(thor)
diff -r1.2 -r1.3 pkgsrc/print/libharu/Makefile
diff -r1.1 -r1.2 pkgsrc/print/libharu/PLIST
diff -r1.3 -r1.4 pkgsrc/print/libharu/distinfo

cvs diff -r1.2 -r1.3 pkgsrc/print/libharu/Makefile (expand / switch to unified diff)

--- pkgsrc/print/libharu/Makefile 2021/12/28 19:22:04 1.2
+++ pkgsrc/print/libharu/Makefile 2023/07/25 12:30:28 1.3
@@ -1,48 +1,30 @@ @@ -1,48 +1,30 @@
1# $NetBSD: Makefile,v 1.2 2021/12/28 19:22:04 adam Exp $ 1# $NetBSD: Makefile,v 1.3 2023/07/25 12:30:28 thor Exp $
2 2
3PKGNAME= libharu-2.4.0 3DISTNAME= libharu-2.4.3
4DISTNAME= libharu-2.3.0 
5CATEGORIES= print 4CATEGORIES= print
6MASTER_SITES= ${MASTER_SITE_GITHUB:=libharu/} 5MASTER_SITES= ${MASTER_SITE_GITHUB:=libharu/}
7GITHUB_TAG= RELEASE_2_3_0 6GITHUB_TAG= v${PKGVERSION_NOREV}
8DIST_SUBDIR= libharu 7DIST_SUBDIR= libharu
9 8
10# Kitware (vtk) calls this version 2.4.0 with the addition of 9MAINTAINER= thomas.orgis@uni-hamburg.de
11PATCHFILES= 157.diff 187.diff 
12PATCH_SITES= ${MASTER_SITE_GITHUB:=libharu/}libharu/pull/ 
13 
14MAINTAINER= prlw1@cam.ac.uk 
15HOMEPAGE= https://github.com/libharu/libharu/ 10HOMEPAGE= https://github.com/libharu/libharu/
16COMMENT= Software library for generating PDF 11COMMENT= Software library for generating PDF
17LICENSE= zlib 12LICENSE= zlib
18 13
19USE_CMAKE= yes 
20USE_LANGUAGES= c c++ 14USE_LANGUAGES= c c++
21 15
22CMAKE_ARGS+= -DLIBHPDF_STATIC=OFF 16CMAKE_ARGS+= -DLIBHPDF_STATIC=OFF
23 17
24PATCH_DIST_STRIP= -p1 
25SUBST_CLASSES+= version 
26SUBST_STAGE.version= pre-configure 
27SUBST_MESSAGE.version= Change version to 2.4.0 
28SUBST_FILES.version= include/hpdf_version.h 
29SUBST_SED.version= -e 's/3/4/' 
30SUBST_SED.version+= -e 's/RC2/dev/' 
31 
32INSTALLATION_DIRS= include lib 
33do-install: 
34 ${INSTALL_DATA} ${WRKSRC}/include/*.h ${DESTDIR}${PREFIX}/include 
35 ${INSTALL_DATA} ${WRKSRC}/src/libhpdf.* ${DESTDIR}${PREFIX}/lib 
36 
37.include "../../mk/bsd.prefs.mk" 18.include "../../mk/bsd.prefs.mk"
38 19
39.if ${OPSYS} == "Darwin" 20.if ${OPSYS} == "Darwin"
40post-install: fix-darwin-install-name 21post-install: fix-darwin-install-name
41fix-darwin-install-name: 22fix-darwin-install-name:
42 install_name_tool -id ${PREFIX}/lib/libhpdf.dylib \ 23 install_name_tool -id ${PREFIX}/lib/libhpdf.dylib \
43 ${DESTDIR}${PREFIX}/lib/libhpdf.dylib 24 ${DESTDIR}${PREFIX}/lib/libhpdf.dylib
44.endif 25.endif
45 26
 27.include "../../devel/cmake/build.mk"
46.include "../../devel/zlib/buildlink3.mk" 28.include "../../devel/zlib/buildlink3.mk"
47.include "../../graphics/png/buildlink3.mk" 29.include "../../graphics/png/buildlink3.mk"
48.include "../../mk/bsd.pkg.mk" 30.include "../../mk/bsd.pkg.mk"

cvs diff -r1.1 -r1.2 pkgsrc/print/libharu/PLIST (expand / switch to unified diff)

--- pkgsrc/print/libharu/PLIST 2021/05/04 14:12:05 1.1
+++ pkgsrc/print/libharu/PLIST 2023/07/25 12:30:28 1.2
@@ -1,35 +1,135 @@ @@ -1,35 +1,135 @@
1@comment $NetBSD: PLIST,v 1.1 2021/05/04 14:12:05 prlw1 Exp $ 1@comment $NetBSD: PLIST,v 1.2 2023/07/25 12:30:28 thor Exp $
2include/hpdf.h 2include/hpdf.h
3include/hpdf_3dmeasure.h 3include/hpdf_3dmeasure.h
4include/hpdf_annotation.h 4include/hpdf_annotation.h
5include/hpdf_catalog.h 5include/hpdf_catalog.h
6include/hpdf_conf.h 6include/hpdf_conf.h
7include/hpdf_config.h 7include/hpdf_config.h
8include/hpdf_consts.h 8include/hpdf_consts.h
9include/hpdf_destination.h 9include/hpdf_destination.h
10include/hpdf_doc.h 10include/hpdf_doc.h
11include/hpdf_encoder.h 11include/hpdf_encoder.h
12include/hpdf_encrypt.h 12include/hpdf_encrypt.h
13include/hpdf_encryptdict.h 13include/hpdf_encryptdict.h
14include/hpdf_error.h 14include/hpdf_error.h
15include/hpdf_exdata.h 15include/hpdf_exdata.h
16include/hpdf_ext_gstate.h 16include/hpdf_ext_gstate.h
17include/hpdf_font.h 17include/hpdf_font.h
18include/hpdf_fontdef.h 18include/hpdf_fontdef.h
19include/hpdf_gstate.h 19include/hpdf_gstate.h
20include/hpdf_image.h 20include/hpdf_image.h
21include/hpdf_info.h 21include/hpdf_info.h
22include/hpdf_list.h 22include/hpdf_list.h
23include/hpdf_mmgr.h 23include/hpdf_mmgr.h
24include/hpdf_namedict.h 
25include/hpdf_objects.h 24include/hpdf_objects.h
26include/hpdf_outline.h 25include/hpdf_outline.h
27include/hpdf_page_label.h 26include/hpdf_page_label.h
28include/hpdf_pages.h 27include/hpdf_pages.h
29include/hpdf_pdfa.h 28include/hpdf_pdfa.h
30include/hpdf_streams.h 29include/hpdf_streams.h
31include/hpdf_types.h 30include/hpdf_types.h
32include/hpdf_u3d.h 31include/hpdf_u3d.h
33include/hpdf_utils.h 32include/hpdf_utils.h
34include/hpdf_version.h 33include/hpdf_version.h
35lib/libhpdf.so 34lib/libhpdf.so
 35share/libharu/CHANGES
 36share/libharu/INSTALL
 37share/libharu/README.md
 38share/libharu/bindings/c#/README.c#
 39share/libharu/bindings/c#/demo/Encryption.cs
 40share/libharu/bindings/c#/demo/FontDemo.cs
 41share/libharu/bindings/c#/demo/ImageDemo.cs
 42share/libharu/bindings/c#/demo/JPFontDemo.cs
 43share/libharu/bindings/c#/demo/LineDemo.cs
 44share/libharu/bindings/c#/demo/OutlineDemo.cs
 45share/libharu/bindings/c#/demo/Permission.cs
 46share/libharu/bindings/c#/demo/RawImageDemo.cs
 47share/libharu/bindings/c#/demo/SlideShowDemo.cs
 48share/libharu/bindings/c#/demo/TextDemo.cs
 49share/libharu/bindings/c#/hpdf.cs
 50share/libharu/bindings/delphi/ExtGStateDemo.dpr
 51share/libharu/bindings/delphi/LineDemo.dpr
 52share/libharu/bindings/delphi/README.delphi
 53share/libharu/bindings/delphi/hpdf.pas
 54share/libharu/bindings/delphi/hpdf_consts.pas
 55share/libharu/bindings/delphi/hpdf_types.pas
 56share/libharu/bindings/freebasic/README.freebasic
 57share/libharu/bindings/freebasic/hpdf.bi
 58share/libharu/bindings/freebasic/hpdf_consts.bi
 59share/libharu/bindings/freebasic/hpdf_types.bi
 60share/libharu/bindings/freebasic/hpdftest.bas
 61share/libharu/bindings/oberon-2/README.oberon-2
 62share/libharu/bindings/oberon-2/build.bat
 63share/libharu/bindings/oberon-2/hpdf.ob2
 64share/libharu/bindings/oberon-2/test.ob2
 65share/libharu/bindings/oberon-2/test.prj
 66share/libharu/bindings/python/History.txt
 67share/libharu/bindings/python/README.python
 68share/libharu/bindings/python/__init__.py
 69share/libharu/bindings/python/c_func.py
 70share/libharu/bindings/python/demo/arc_demo.py
 71share/libharu/bindings/python/demo/character_map.py
 72share/libharu/bindings/python/demo/chfont_demo.py
 73share/libharu/bindings/python/demo/cnfont_demo.py
 74share/libharu/bindings/python/demo/encoding_list.py
 75share/libharu/bindings/python/demo/encryption.py
 76share/libharu/bindings/python/demo/ext_gstate_demo.py
 77share/libharu/bindings/python/demo/font_demo.py
 78share/libharu/bindings/python/demo/grid_sheet.py
 79share/libharu/bindings/python/demo/image_demo.py
 80share/libharu/bindings/python/demo/jpeg_demo.py
 81share/libharu/bindings/python/demo/jpfont_demo.py
 82share/libharu/bindings/python/demo/line_demo.py
 83share/libharu/bindings/python/demo/link_annotation.py
 84share/libharu/bindings/python/demo/make_rawimage.py
 85share/libharu/bindings/python/demo/outline_demo.py
 86share/libharu/bindings/python/demo/outline_demo_jp.py
 87share/libharu/bindings/python/demo/permission.py
 88share/libharu/bindings/python/demo/png_demo.py
 89share/libharu/bindings/python/demo/raw_image_demo.py
 90share/libharu/bindings/python/demo/slide_show_demo.py
 91share/libharu/bindings/python/demo/text_annotation.py
 92share/libharu/bindings/python/demo/text_demo.py
 93share/libharu/bindings/python/demo/text_demo2.py
 94share/libharu/bindings/python/demo/ttfont_demo.py
 95share/libharu/bindings/python/demo/ttfont_demo_cn.py
 96share/libharu/bindings/python/demo/ttfont_demo_jp.py
 97share/libharu/bindings/python/hpdf.py
 98share/libharu/bindings/python/hpdf_consts.py
 99share/libharu/bindings/python/hpdf_errorcode.py
 100share/libharu/bindings/python/hpdf_types.py
 101share/libharu/bindings/ruby/Makefile.msvc
 102share/libharu/bindings/ruby/demo/arc_demo.rb
 103share/libharu/bindings/ruby/demo/demo.rb
 104share/libharu/bindings/ruby/demo/encryption.rb
 105share/libharu/bindings/ruby/demo/ext_gstater_demo.rb
 106share/libharu/bindings/ruby/demo/font_demo.rb
 107share/libharu/bindings/ruby/demo/jpfont_demo.rb
 108share/libharu/bindings/ruby/demo/line_demo.rb
 109share/libharu/bindings/ruby/demo/slide_show_demo.rb
 110share/libharu/bindings/ruby/demo/text_demo2.rb
 111share/libharu/bindings/ruby/demo/ttfont_demo.rb
 112share/libharu/bindings/ruby/extconf.rb
 113share/libharu/bindings/ruby/extconf.rb.all
 114share/libharu/bindings/ruby/extconf.rb.nopnglib
 115share/libharu/bindings/ruby/extconf.rb.nozlib
 116share/libharu/bindings/ruby/hpdf.c
 117share/libharu/bindings/vb.net/README.vbnet
 118share/libharu/bindings/vb.net/demo/Encryption.vb
 119share/libharu/bindings/vb.net/demo/FontDemo.vb
 120share/libharu/bindings/vb.net/demo/ImageDemo.vb
 121share/libharu/bindings/vb.net/demo/LineDemo.vb
 122share/libharu/bindings/vb.net/demo/OutlineDemo.vb
 123share/libharu/bindings/vb.net/demo/Permission.vb
 124share/libharu/bindings/vb.net/demo/RawImageDemo.vb
 125share/libharu/bindings/vb.net/demo/SlideShowDemo.vb
 126share/libharu/bindings/vb.net/demo/TextDemo.vb
 127share/libharu/bindings/vb.net/hpdfvb.vb
 128share/libharu/bindings/vb6/Form1.frm
 129share/libharu/bindings/vb6/MSSCCPRJ.SCC
 130share/libharu/bindings/vb6/Project1.vbp
 131share/libharu/bindings/vb6/Project1.vbw
 132share/libharu/bindings/vb6/README.vb
 133share/libharu/bindings/vb6/hpdf.bas
 134share/libharu/bindings/vb6/hpdf_consts.bas
 135share/libharu/bindings/vb6/hpdf_types.bas

cvs diff -r1.3 -r1.4 pkgsrc/print/libharu/distinfo (expand / switch to unified diff)

--- pkgsrc/print/libharu/distinfo 2021/10/26 11:12:09 1.3
+++ pkgsrc/print/libharu/distinfo 2023/07/25 12:30:28 1.4
@@ -1,11 +1,5 @@ @@ -1,11 +1,5 @@
1$NetBSD: distinfo,v 1.3 2021/10/26 11:12:09 nia Exp $ 1$NetBSD: distinfo,v 1.4 2023/07/25 12:30:28 thor Exp $
2 2
3BLAKE2s (libharu/157.diff) = 495dee7f8348231bb021824d8c0a60c62d22bc5c1e743793838bba14841e087b 3BLAKE2s (libharu/libharu-2.4.3.tar.gz) = 1e722ebc3d6a1ab0f8c83098391b0d006fcf9e701cc8854be7910d9b36d61fc0
4SHA512 (libharu/157.diff) = f2ddb22b54b4eccc79400b6a4b2d245a221898f75456a5a559523eab7a523a87dfc5dfd0ec5fb17a771697e03c7ea6ed4c6095eff73e0a4302cd6eb24584c957 4SHA512 (libharu/libharu-2.4.3.tar.gz) = 4b01dd0d23bdcaec6f69fe5f059902e7f49eafdf19d53d4cce8b4d52a54b2057b764de29390f4da9e75aeb32cb6af8606b23478b04edf9f7dcb1e4b769c5fff2
5Size (libharu/157.diff) = 15274 bytes 5Size (libharu/libharu-2.4.3.tar.gz) = 1411024 bytes
6BLAKE2s (libharu/187.diff) = 954d245d1611bafd49a723f32e61db138f2e256cf41d696befa96bae5b84006a 
7SHA512 (libharu/187.diff) = f0d9b0774f108d1dc09b62428ae568c4ca0ed6116209418dbe2d430f2ac6b9ad7fdfb5cf7dd7eec6a45980981be2182c19ed05a44a9d732abe9d79a79c44591f 
8Size (libharu/187.diff) = 2416 bytes 
9BLAKE2s (libharu/libharu-2.3.0.tar.gz) = ad6c1b83d9cca9ccf07e789ed875d9b4152ade6a89a3d91f1d662c5dce420fce 
10SHA512 (libharu/libharu-2.3.0.tar.gz) = ebcabf1e8488e21185a231e97b4c16f9de742ae0ac2ebc7535b72b6b8e2045c2619bc6a94a820f7f923b0dfeceb217408f4e4c613ef3602104373cdf000d3f41 
11Size (libharu/libharu-2.3.0.tar.gz) = 1396413 bytes