summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authoralperak <alperyasinak1@gmail.com>2023-12-26 09:32:50 +0300
committerKhem Raj <raj.khem@gmail.com>2023-12-29 09:04:15 -0800
commitb9b9a9578b484741edfe451cac324c2761c07454 (patch)
treef1740d4813f55d375992de99b72b4cbe6c941235 /meta-oe
parentbf4d7f62840ceef1f6319f161a40c4cdc8b2338a (diff)
downloadmeta-openembedded-b9b9a9578b484741edfe451cac324c2761c07454.tar.gz
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 Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-support/libharu/libharu/0001-Install-static-lib-into-var-libdir-rather-than-hardc.patch30
-rw-r--r--meta-oe/recipes-support/libharu/libharu/libharu-RELEASE_2_3_0_cmake.patch52
-rw-r--r--meta-oe/recipes-support/libharu/libharu_2.3.0.bb24
-rw-r--r--meta-oe/recipes-support/libharu/libharu_2.4.4.bb16
4 files changed, 16 insertions, 106 deletions
diff --git a/meta-oe/recipes-support/libharu/libharu/0001-Install-static-lib-into-var-libdir-rather-than-hardc.patch b/meta-oe/recipes-support/libharu/libharu/0001-Install-static-lib-into-var-libdir-rather-than-hardc.patch
deleted file mode 100644
index 0947de196c..0000000000
--- a/meta-oe/recipes-support/libharu/libharu/0001-Install-static-lib-into-var-libdir-rather-than-hardc.patch
+++ /dev/null
@@ -1,30 +0,0 @@
1From 9341ac4f6ae38efe95dfd188105a9ea30941ccf6 Mon Sep 17 00:00:00 2001
2From: Lei Maohui <leimaohui@cn.fujitsu.com>
3Date: Wed, 18 Nov 2020 23:09:51 +0900
4Subject: [PATCH] Install static lib into var-libdir rather than hardcod lib.
5
6Lei Maohui <leimaohui@cn.fujitsu.com>
7
8Upstream-Status: Pending
9---
10 src/CMakeLists.txt | 4 ++--
11 1 file changed, 2 insertions(+), 2 deletions(-)
12
13diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
14index 249916c..fb06ea3 100644
15--- a/src/CMakeLists.txt
16+++ b/src/CMakeLists.txt
17@@ -75,8 +75,8 @@ if(LIBHPDF_STATIC)
18 target_link_libraries(${LIBHPDF_NAME_STATIC} ${ADDITIONAL_LIBRARIES})
19 install(
20 TARGETS ${LIBHPDF_NAME_STATIC}
21- ARCHIVE DESTINATION lib
22- LIBRARY DESTINATION lib
23+ ARCHIVE DESTINATION ${LIB_INSTALL_DIR}
24+ LIBRARY DESTINATION ${LIB_INSTALL_DIR}
25 RUNTIME DESTINATION bin
26 )
27 if(WIN32 AND NOT CYGWIN)
28--
292.25.1
30
diff --git a/meta-oe/recipes-support/libharu/libharu/libharu-RELEASE_2_3_0_cmake.patch b/meta-oe/recipes-support/libharu/libharu/libharu-RELEASE_2_3_0_cmake.patch
deleted file mode 100644
index 05f78ed735..0000000000
--- a/meta-oe/recipes-support/libharu/libharu/libharu-RELEASE_2_3_0_cmake.patch
+++ /dev/null
@@ -1,52 +0,0 @@
1Backport from Fedora Project.
2https://src.fedoraproject.org/rpms/libharu
3
4Fix the install destination of some files.
5
6Upstream-Status: Inappropriate
7
8Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
9
10diff -urp libharu-RELEASE_2_3_0/CMakeLists.txt libharu-RELEASE_2_3_0_cmake/CMakeLists.txt
11--- libharu-RELEASE_2_3_0/CMakeLists.txt 2013-10-30 20:11:59.000000000 +0700
12+++ libharu-RELEASE_2_3_0_cmake/CMakeLists.txt 2017-06-01 15:56:06.533552795 +0700
13@@ -25,7 +25,7 @@ endif(MSVC)
14
15 # information about libharu
16 set(LIBHPDF_MAJOR 2)
17-set(LIBHPDF_MINOR 2)
18+set(LIBHPDF_MINOR 3)
19 set(LIBHPDF_PATCH 0)
20 set(LIBHPDF_VERSION ${LIBHPDF_MAJOR}.${LIBHPDF_MINOR}.${LIBHPDF_PATCH})
21 set(LIBHPDF_DESCRIPTION "libHaru is a free, cross platform, open source library for generating PDF files.")
22@@ -210,9 +210,9 @@ set(
23 install(FILES ${haru_HDRS} DESTINATION include)
24
25 # install various files
26-install(FILES README CHANGES INSTALL DESTINATION .)
27+install(FILES README CHANGES INSTALL DESTINATION ${SHARE_INSTALL_PREFIX}/libharu)
28 if(NOT DEVPAK)
29- install(DIRECTORY if DESTINATION .)
30+ install(DIRECTORY if DESTINATION ${SHARE_INSTALL_PREFIX}/libharu)
31 endif(NOT DEVPAK)
32 if(DEVPAK)
33 install(FILES ${CMAKE_BINARY_DIR}/libharu.DevPackage DESTINATION .)
34diff -urp libharu-RELEASE_2_3_0/src/CMakeLists.txt libharu-RELEASE_2_3_0_cmake/src/CMakeLists.txt
35--- libharu-RELEASE_2_3_0/src/CMakeLists.txt 2013-10-30 20:11:59.000000000 +0700
36+++ libharu-RELEASE_2_3_0_cmake/src/CMakeLists.txt 2017-06-01 16:08:45.425105746 +0700
37@@ -90,11 +90,13 @@ if(LIBHPDF_SHARED)
38 target_link_libraries(${LIBHPDF_NAME} ${ADDITIONAL_LIBRARIES})
39 if(WIN32 AND NOT CYGWIN)
40 set_target_properties(${LIBHPDF_NAME} PROPERTIES DEFINE_SYMBOL HPDF_DLL_MAKE)
41+ else(WIN32 AND NOT CYGWIN)
42+ set_target_properties(${LIBHPDF_NAME} PROPERTIES SOVERSION ${LIBHPDF_VERSION})
43 endif(WIN32 AND NOT CYGWIN)
44 install(
45 TARGETS ${LIBHPDF_NAME}
46- ARCHIVE DESTINATION lib
47- LIBRARY DESTINATION lib
48+ ARCHIVE DESTINATION ${LIB_INSTALL_DIR}
49+ LIBRARY DESTINATION ${LIB_INSTALL_DIR}
50 RUNTIME DESTINATION bin
51 )
52 endif(LIBHPDF_SHARED)
diff --git a/meta-oe/recipes-support/libharu/libharu_2.3.0.bb b/meta-oe/recipes-support/libharu/libharu_2.3.0.bb
deleted file mode 100644
index 7477c5f03b..0000000000
--- a/meta-oe/recipes-support/libharu/libharu_2.3.0.bb
+++ /dev/null
@@ -1,24 +0,0 @@
1SUMMARY = "free PDF library"
2HOMEPAGE = "http://libharu.org"
3DESCRIPTION = "libHaru is a library for generating PDF files. \
4 It is free, open source, written in ANSI C and cross platform. "
5
6LICENSE = "Zlib"
7LIC_FILES_CHKSUM = "file://README;md5=3ee6bc1f64d9cc7907f44840c8e50cb1"
8
9SRC_URI = "git://github.com/libharu/libharu.git;branch=2_3;protocol=https \
10 file://libharu-RELEASE_2_3_0_cmake.patch \
11 file://0001-Install-static-lib-into-var-libdir-rather-than-hardc.patch \
12 "
13
14SRCREV = "4ae1d5f4c84459f130bf1b1ef4c5c330af8eca5d"
15
16S = "${WORKDIR}/git"
17
18inherit cmake
19DEPENDS += "libpng zlib"
20
21do_install:append() {
22 mkdir -p ${D}/${datadir}/libharu
23 mv ${D}/libharu ${D}/${datadir}
24}
diff --git a/meta-oe/recipes-support/libharu/libharu_2.4.4.bb b/meta-oe/recipes-support/libharu/libharu_2.4.4.bb
new file mode 100644
index 0000000000..02dc499e03
--- /dev/null
+++ b/meta-oe/recipes-support/libharu/libharu_2.4.4.bb
@@ -0,0 +1,16 @@
1SUMMARY = "free PDF library"
2HOMEPAGE = "http://libharu.org"
3DESCRIPTION = "libHaru is a library for generating PDF files. \
4 It is free, open source, written in ANSI C and cross platform. "
5
6LICENSE = "Zlib"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=924546dab2bef90e370d7c0c090ddcf0"
8
9DEPENDS += "libpng zlib"
10
11SRC_URI = "git://github.com/libharu/libharu.git;branch=master;protocol=https"
12SRCREV = "0c598becaadaef8e3d12b883f9fc2864a118c12d"
13
14S = "${WORKDIR}/git"
15
16inherit cmake