pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
libharu: Update to 2.4.3
Module Name: pkgsrc-wip
Committed By: Atsushi Toyokura <asteria.at%gmail.com@localhost>
Pushed By: steleto
Date: Sat Mar 18 15:47:54 2023 +0900
Changeset: e46d38402af7d1afb1a8aba6713fccc439783572
Modified Files:
libharu/DESCR
libharu/Makefile
libharu/PLIST
libharu/buildlink3.mk
libharu/distinfo
Log Message:
libharu: Update to 2.4.3
Version 2.4.3 (2022.10.14)
- 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.
Version 2.4.2 (2022.9.11)
- Reinstated hpdf_version.h #237 #240
Version 2.4.1 (2022.9.5)
- Fixed library name #236 from @jschueller
- Set correct version number #237 pointed out by @xantares
Version 2.4.0 (2022.8.7)
- 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
Version 2.3.0 RC3 (2013.10.24)
- Support huge fonts
Version 2.3.0 RC2 (2011.10.12)
- Changed package naming, no other changes.
Version 2.3.0 RC1 (2011.09.28)
- Added support for 3dMeasures of subtype PD3 and 3DC, projection
annotations, ExData and javascript attached to a U3D model. (Robert
Würfel)
- Added support for 1- and 2-byte UTF8 codes. (Clayman)
- Added full PDF/A1-b support. (Petr Pytelka)
- Added support for CCITT compression for B/W images. (Petr Pytelka)
- Add support for TwoPageLeft and TwoPageRight layouts. (Vincent
Dupont)
- Const-ified arrays used in the sources. (Ilkka Lehtoranta)
- Fixed build with libpng 1.5.0
- Fixed bug in HPDF_GetContents() - isize variable was not
initialized. (Vincent Dupont)
- Fixed possible endless loop in PNG handling code.
(reported by Mathew Waters)
- Fixed several issues based on the warnings generated by
clang-analyzer. (Daniel Höpfl)
- Fixed quite a number of warnings. (Davide Achilli)
- Added 'd' postfix to debug build, fixed wrong filename. (Wim Dumon)
- Fixed HPDF_Text_Rect() not to split words in some obscure cases.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e46d38402af7d1afb1a8aba6713fccc439783572
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
libharu/DESCR | 15 ++++-----------
libharu/Makefile | 49 +++++++++++++++++++++----------------------------
libharu/PLIST | 6 ++++--
libharu/buildlink3.mk | 11 +++++++----
libharu/distinfo | 8 ++++----
5 files changed, 40 insertions(+), 49 deletions(-)
diffs:
diff --git a/libharu/DESCR b/libharu/DESCR
index c2ffbf151d..d02b9c6f8e 100644
--- a/libharu/DESCR
+++ b/libharu/DESCR
@@ -1,7 +1,5 @@
-libHaru is a free, cross platform, open source library for generating
-PDF files.
-
-It supports the following features:
+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.
@@ -9,12 +7,7 @@ It supports the following features:
4. Embedding PNG, Jpeg images.
5. Embedding Type1 font and TrueType font.
6. Creating encrypted PDF files.
- 7. Using various character sets (ISO8859-1~16, MSCP1250~8,
- KOI8-R).
+ 7. Using various character set (ISO8859-1~16, MSCP1250~8, KOI8-R).
8. Supporting CJK fonts and encodings.
-You can add the feature of PDF creation by using HARU without
-understanding complicated internal structure of PDF.
-
-libHaru is written in ANSI C, so theoretically it supports most of the
-modern OSes.
+The project is looking for a maintainer.
diff --git a/libharu/Makefile b/libharu/Makefile
index 8b40a31f83..d9ef9252a2 100644
--- a/libharu/Makefile
+++ b/libharu/Makefile
@@ -1,42 +1,35 @@
-# $NetBSD: Makefile,v 1.8 2012/10/03 09:10:39 asau Exp $
-#
+# $NetBSD: Makefile,v 1.2 2021/12/28 19:22:04 adam Exp $
-DISTNAME= libharu-2.2.1
+DISTNAME= libharu-2.4.3
CATEGORIES= print
-MASTER_SITES= http://libharu.org/files/
-LICENSE= zlib
+MASTER_SITES= ${MASTER_SITE_GITHUB:=libharu/}
+GITHUB_TAG= v2.4.3
+DIST_SUBDIR= libharu
-MAINTAINER= esg%sdf.lonestar.org@localhost
-HOMEPAGE= http://libharu.org/
-COMMENT= Library for generating PDF files
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/libharu/libharu/
+COMMENT= Software library for generating PDF
+LICENSE= zlib
-GNU_CONFIGURE= yes
-USE_LIBTOOL= yes
+USE_CMAKE= yes
USE_LANGUAGES= c c++
-PKG_OPTIONS_VAR= PKG_OPTIONS.libharu
-PKG_SUPPORTED_OPTIONS= png zlib
-PKG_SUGGESTED_OPTIONS= png zlib
+CMAKE_ARGS+= -DLIBHPDF_STATIC=OFF
-.include "../../mk/bsd.options.mk"
+INSTALLATION_DIRS= include lib
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/include/*.h ${DESTDIR}${PREFIX}/include
+ ${INSTALL_DATA} ${WRKSRC}/src/libhpdf.* ${DESTDIR}${PREFIX}/lib
-# Package-specific option-handling
+.include "../../mk/bsd.prefs.mk"
-.if !empty(PKG_OPTIONS:Mpng)
-CONFIGURE_ARGS+= --with-png=${BUILDLINK_PREFIX.png}
+.if ${OPSYS} == "Darwin"
+post-install: fix-darwin-install-name
+fix-darwin-install-name:
+ install_name_tool -id ${PREFIX}/lib/libhpdf.dylib \
+ ${DESTDIR}${PREFIX}/lib/libhpdf.dylib
.endif
-.if !empty(PKG_OPTIONS:Mzlib)
-CONFIGURE_ARGS+= --with-zlib=${BUILDLINK_PREFIX.zlib}
-.endif
-
-
-.if !empty(PKG_OPTIONS:Mzlib)
.include "../../devel/zlib/buildlink3.mk"
-.endif
-
-.if !empty(PKG_OPTIONS:Mpng)
.include "../../graphics/png/buildlink3.mk"
-.endif
-
.include "../../mk/bsd.pkg.mk"
diff --git a/libharu/PLIST b/libharu/PLIST
index bd0fa02c74..3aa36601b1 100644
--- a/libharu/PLIST
+++ b/libharu/PLIST
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.2 2010/11/01 14:22:53 emil_s Exp $
+@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
@@ -11,6 +12,7 @@ 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
@@ -30,4 +32,4 @@ include/hpdf_types.h
include/hpdf_u3d.h
include/hpdf_utils.h
include/hpdf_version.h
-lib/libhpdf.la
+lib/libhpdf.so
diff --git a/libharu/buildlink3.mk b/libharu/buildlink3.mk
index c9cd4d0107..be405317e3 100644
--- a/libharu/buildlink3.mk
+++ b/libharu/buildlink3.mk
@@ -1,12 +1,15 @@
-# $NetBSD: buildlink3.mk,v 1.2 2009/03/20 19:43:48 jsonn Exp $
+# $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.1.0
-BUILDLINK_PKGSRCDIR.libharu?= ../../wip/libharu
-.endif # 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 --git a/libharu/distinfo b/libharu/distinfo
index 9f0f28d6f6..abec435f48 100644
--- a/libharu/distinfo
+++ b/libharu/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2011/01/17 09:26:28 emil_s Exp $
+$NetBSD: distinfo,v 1.3 2021/10/26 11:12:09 nia Exp $
-RMD160 (libharu-2.2.1.tar.gz) = d18f1998df1ccc9bd5d399b01816b44e8cf2eefd
-SHA512 (libharu-2.2.1.tar.gz) = fbe234e1f9e64ea0d532cd5900d7dab39d91ff266b7cdd7eb3a60bcfb32f73a78f7f3582ff18a97640f3e766f0bd35d854abde75f72458fab687754230b1d51c
-Size (libharu-2.2.1.tar.gz) = 967530 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
Home |
Main Index |
Thread Index |
Old Index