Skip to contentSkip to conversation

libharu: upgrade 2.3.0 -> 2.4.4

PATCH Applied alperak 2 participants 2 messages Dec 26, 2023 – Dec 31, 2023

lore
Share & tools
lore

alperak

author
#0 lore raw

PATCH 1/1 libharu: upgrade 2.3.0 -> 2.4.4

* Dropped patches because fixed in the new version.

Changelog:

* Add copy hpdf_namedict.h at install
* Added page boundary support.
* fixed glyph index to be 16 bit unsigned instead of signed
* Bug fixes
* Shared library has an SOVERSION now
* Fixed HPDF_FToA for small values
* Add static hpdf_version.h header
* hpdf_version.h included again
* File attachment issue resolved
* Renamed *_LIBZ defines to _*ZLIB, enables compression of PDF files again.
* Reinstated hpdf_version.h
* Fixed library name
* Set correct version number
* Add support for free-form triangle shading objects.
* Fix config constant to match use in hpdf_mmgr.c
* Improve small number writing in HPDF_FToA.
* Fix missing /CapHeight key in font definition
* Change HPDF_Page_CreateXObjectFromImage zoom parameter type to HPDF
* Fix another case of png files with background mask save uncompressed
* Avoid issue with libtiff duplicate symbols
* Reajust bit_depth of png image after striping depth from 16 to 8.
* Fixed typo in Japanese font name: Mincyo -> Mincho
* Fix various typos
* hpdf.h: add missing HPDF_Boolean typedef
* Moved to a CMake only build environment.
* Fix bad unicode in comment
* Fix various typos

---
 ...ib-into-var-libdir-rather-than-hardc.patch | 30 -----------
 .../libharu/libharu-RELEASE_2_3_0_cmake.patch | 52 -------------------
 .../recipes-support/libharu/libharu_2.3.0.bb  | 24 ---------
 .../recipes-support/libharu/libharu_2.4.4.bb  | 16 ++++++
 4 files changed, 16 insertions(+), 106 deletions(-)
 delete mode 100644 meta-oe/recipes-support/libharu/libharu/0001-Install-static-lib-into-var-libdir-rather-than-hardc.patch
 delete mode 100644 meta-oe/recipes-support/libharu/libharu/libharu-RELEASE_2_3_0_cmake.patch
 delete mode 100644 meta-oe/recipes-support/libharu/libharu_2.3.0.bb
 create mode 100644 meta-oe/recipes-support/libharu/libharu_2.4.4.bb
meta-oe/recipes-support/libharu/libharu/0001-Install-static-lib-into-var-libdir-rather-than-hardc.patch deleted +0 -30
deleted file mode 100644
index 0947de196..000000000
@@ -1,30 +0,0 @@
-From 9341ac4f6ae38efe95dfd188105a9ea30941ccf6 Mon Sep 17 00:00:00 2001
-From: Lei Maohui <[email protected]>
-Date: Wed, 18 Nov 2020 23:09:51 +0900
-Subject: [PATCH] Install static lib into var-libdir rather than hardcod lib.
-
-Lei Maohui <[email protected]>
-
-Upstream-Status: Pending
----
- src/CMakeLists.txt | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
-index 249916c..fb06ea3 100644
---- a/src/CMakeLists.txt
-+++ b/src/CMakeLists.txt
-@@ -75,8 +75,8 @@ if(LIBHPDF_STATIC)
-   target_link_libraries(${LIBHPDF_NAME_STATIC} ${ADDITIONAL_LIBRARIES})
-   install(
-     TARGETS ${LIBHPDF_NAME_STATIC}
--    ARCHIVE DESTINATION lib
--    LIBRARY DESTINATION lib
-+    ARCHIVE DESTINATION ${LIB_INSTALL_DIR}
-+    LIBRARY DESTINATION ${LIB_INSTALL_DIR}
-     RUNTIME DESTINATION bin
-   )
-   if(WIN32 AND NOT CYGWIN)
--- 
-2.25.1
-
meta-oe/recipes-support/libharu/libharu/libharu-RELEASE_2_3_0_cmake.patch deleted +0 -52

52 lines not on this page · raw message

meta-oe/recipes-support/libharu/libharu_2.3.0.bb deleted +0 -24
deleted file mode 100644
index 7477c5f03..000000000
@@ -1,24 +0,0 @@
-SUMMARY = "free PDF library"
-HOMEPAGE = "http://libharu.org"
-DESCRIPTION = "libHaru is a library for generating PDF files. \
-               It is free, open source, written in ANSI C and cross platform. "
-
-LICENSE = "Zlib"
-LIC_FILES_CHKSUM = "file://README;md5=3ee6bc1f64d9cc7907f44840c8e50cb1"
-
-SRC_URI = "git://github.com/libharu/libharu.git;branch=2_3;protocol=https \
-           file://libharu-RELEASE_2_3_0_cmake.patch \
-           file://0001-Install-static-lib-into-var-libdir-rather-than-hardc.patch \
-	   "
-
-SRCREV = "4ae1d5f4c84459f130bf1b1ef4c5c330af8eca5d"
-
-S = "${WORKDIR}/git"
-
-inherit cmake
-DEPENDS += "libpng zlib"
-
-do_install:append() {
-     mkdir -p ${D}/${datadir}/libharu
-     mv ${D}/libharu ${D}/${datadir}
-}
meta-oe/recipes-support/libharu/libharu_2.4.4.bb new file +16 -0
new file mode 100644
index 000000000..02dc499e0
@@ -0,0 +1,16 @@
+SUMMARY = "free PDF library"
+HOMEPAGE = "http://libharu.org"
+DESCRIPTION = "libHaru is a library for generating PDF files. \
+               It is free, open source, written in ANSI C and cross platform. "
+
+LICENSE = "Zlib"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=924546dab2bef90e370d7c0c090ddcf0"
+
+DEPENDS += "libpng zlib"
+
+SRC_URI = "git://github.com/libharu/libharu.git;branch=master;protocol=https"
+SRCREV = "0c598becaadaef8e3d12b883f9fc2864a118c12d"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
Signature · 1 line
2.25.1
Applied
#1 lore raw
Quoted 32 lines · alperak

* Dropped patches because fixed in the new version.

Changelog:

* Add copy hpdf_namedict.h at install
* Added page boundary support.
* fixed glyph index to be 16 bit unsigned instead of signed
* Bug fixes
* Shared library has an SOVERSION now
* Fixed HPDF_FToA for small values
* Add static hpdf_version.h header
* hpdf_version.h included again
* File attachment issue resolved
* Renamed *_LIBZ defines to _*ZLIB, enables compression of PDF files again.
* Reinstated hpdf_version.h
* Fixed library name
* Set correct version number
* Add support for free-form triangle shading objects.
* Fix config constant to match use in hpdf_mmgr.c
* Improve small number writing in HPDF_FToA.
* Fix missing /CapHeight key in font definition
* Change HPDF_Page_CreateXObjectFromImage zoom parameter type to HPDF
* Fix another case of png files with background mask save uncompressed
* Avoid issue with libtiff duplicate symbols
* Reajust bit_depth of png image after striping depth from 16 to 8.
* Fixed typo in Japanese font name: Mincyo -> Mincho
* Fix various typos
* hpdf.h: add missing HPDF_Boolean typedef
* Moved to a CMake only build environment.
* Fix bad unicode in comment
* Fix various typos

Quoted 1 line

[...]

Applied, thanks!

[1/1] libharu: upgrade 2.3.0 -> 2.4.4

      commit: b9b9a9578b484741edfe451cac324c2761c07454

Best regards,

Signature · 1 line
Khem Raj <[email protected]>