Skip to contentSkip to conversation

exiv2: upgrade 0.27.1 -> 0.27.3

PATCH New Andreas Müller 1 participant 4 messages Jul 31, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 exiv2: upgrade 0.27.1 -> 0.27.3

---
 ...-protection-only-if-compiler-arch-su.patch | 40 +++++++++++++++++++
 .../{exiv2_0.27.1.bb => exiv2_0.27.3.bb}      |  7 +++-
 2 files changed, 45 insertions(+), 2 deletions(-)
 create mode 100644 meta-oe/recipes-support/exiv2/exiv2/0001-Use-compiler-fcf-protection-only-if-compiler-arch-su.patch
 rename meta-oe/recipes-support/exiv2/{exiv2_0.27.1.bb => exiv2_0.27.3.bb} (52%)
meta-oe/recipes-support/exiv2/exiv2/0001-Use-compiler-fcf-protection-only-if-compiler-arch-su.patch new file +40 -0
new file mode 100644
index 000000000..96146a195
@@ -0,0 +1,40 @@
+From 04d5f4805a86302a0e135a28d58a6c1ff6a68d52 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]>
+Date: Thu, 30 Jul 2020 23:03:51 +0200
+Subject: [PATCH] Use compiler -fcf-protection only if compiler/arch supports
+ it
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+There have been some PRs they were either rejected or some general suggestion
+for more flags suggested. So
+
+Upstream-Status: Pending
+
+Signed-off-by: Andreas Müller <[email protected]>
+---
+ cmake/compilerFlags.cmake | 7 ++++++-
+ 1 file changed, 6 insertions(+), 1 deletion(-)
+
+diff --git a/cmake/compilerFlags.cmake b/cmake/compilerFlags.cmake
+index 12caf42..455525e 100644
+--- a/cmake/compilerFlags.cmake
++++ b/cmake/compilerFlags.cmake
+@@ -26,7 +26,12 @@ if ( MINGW OR UNIX OR MSYS ) # MINGW, Linux, APPLE, CYGWIN
+         # This fails under Fedora, MinGW GCC 8.3.0 and CYGWIN/MSYS 9.3.0
+         if (NOT (MINGW OR CMAKE_HOST_SOLARIS OR CYGWIN OR MSYS) )
+             if (COMPILER_IS_GCC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 8.0)
+-                add_compile_options(-fstack-clash-protection -fcf-protection)
++                # Gcc does support -fcf-protection on few arches only
++                CHECK_CXX_COMPILER_FLAG(-fcf-protection COMPILER_SUPPORTS_FCF_PROTECTION)
++                if (COMPILER_SUPPORTS_FCF_PROTECTION)
++                    add_compile_options(-fcf-protection)
++                endif()
++                add_compile_options(-fstack-clash-protection)
+             endif()
+ 
+             if( (COMPILER_IS_GCC   AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 5.0) # Not in GCC 4.8
+-- 
+2.21.3
+
meta-oe/recipes-support/exiv2/exiv2_0.27.3.bb renamed from meta-oe/recipes-support/exiv2/exiv2_0.27.1.bb +5 -2
similarity index 52%
rename from meta-oe/recipes-support/exiv2/exiv2_0.27.1.bb
rename to meta-oe/recipes-support/exiv2/exiv2_0.27.3.bb
index 97116ee2d..ed1e8de5c 100644
@@ -5,8 +5,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=625f055f41728f84a8d7938acc35bdc2"
 DEPENDS = "zlib expat"
 
 SRC_URI = "https://exiv2.org/releases/${BPN}-${PV}-Source.tar.gz"
-SRC_URI[md5sum] = "56d064517ae5903dd963b84514a121c1"
-SRC_URI[sha256sum] = "f125286980fd1bcb28e188c02a93946951c61e10784720be2301b661a65b3081"
+SRC_URI[sha256sum] = "a79f5613812aa21755d578a297874fb59a85101e793edc64ec2c6bd994e3e778"
+
+# Once patch is obsolete (project should be aware due to PRs), dos2unix can be removed either
+inherit dos2unix
+SRC_URI += "file://0001-Use-compiler-fcf-protection-only-if-compiler-arch-su.patch"
 
 S = "${WORKDIR}/${BPN}-${PV}-Source"
 
Signature · 1 line
2.26.2
#1 lore raw

PATCH 2/4 poppler: upgrade 0.89.0 -> 0.90.1

Release 0.90.1:
core:
* Fix regression on PS conversion.
Regression only happened on applications that are locale enabled i.e. Okular but not pdftops, when using a quite new lcms and the user locale uses , as decimal separator instead of .
* Add UTF16LE support to TextStringToUCS4.
Even if the standard clearly says it should be UTF16BE

Release 0.90.0:
core:
* Color profile tweaks
* Small signature improvements
* BBoxOutputDev: Fix calculation when type3 fonts are involved
* Fix potential crash when reading Forms
* Fix infinite loop in broken file

glib:
* Fix adding annots in rotated pages
* Add ability to reset forms
* Several fixes to the documentation

qt5:
* Make it clear we require Qt 5.5
* demo: Fix crash on broken files
* Small documentation improvements

utils:
* pdftoppm: Add option to set display profile
* pdftops: Add a -rasterize option with values always, never, or whenneeded

build system:
* Require cmake 3.5
* More modern cmake way to link against curl

---
 .../poppler/poppler/basename-include.patch               | 9 ++++++---
 .../poppler/{poppler_0.89.0.bb => poppler_0.90.1.bb}     | 4 ++--
 2 files changed, 8 insertions(+), 5 deletions(-)
 rename meta-oe/recipes-support/poppler/{poppler_0.89.0.bb => poppler_0.90.1.bb} (93%)
meta-oe/recipes-support/poppler/poppler/basename-include.patch +6 -3
index 3d6d7a8f1..4a18ba350 100644
@@ -5,6 +5,9 @@ Subject: [PATCH 3/3] Minic GNU basename() API for non-glibc library e.g. musl
 
 Upstream-Status: Pending
 
+Rework for poppler 0.90.1
+Signed-off-by: Andreas Müller <[email protected]>
+
 Signed-off-by: Khem Raj <[email protected]>
 Signed-off-by: Randy MacLeod <[email protected]>
 ---
@@ -12,7 +15,7 @@ Signed-off-by: Randy MacLeod <[email protected]>
  1 file changed, 4 insertions(+)
 
 diff --git a/goo/gbasename.cc b/goo/gbasename.cc
-index 830c1c80..e93eb368 100644
+index 69236d8..3858415 100644
 --- a/goo/gbasename.cc
 +++ b/goo/gbasename.cc
 @@ -46,6 +46,10 @@
@@ -23,9 +26,9 @@ index 830c1c80..e93eb368 100644
 +#define basename(src) (strrchr(src,'/') ? strrchr(src,'/')+1 : src)
 +#endif
 +
- std::string gbasename(const char* filename)
+ std::string gbasename(const char *filename)
  {
  #ifdef _MSC_VER
 -- 
-2.17.0
+2.21.3
 
meta-oe/recipes-support/poppler/poppler_0.90.1.bb renamed from meta-oe/recipes-support/poppler/poppler_0.89.0.bb +2 -2
similarity index 93%
rename from meta-oe/recipes-support/poppler/poppler_0.89.0.bb
rename to meta-oe/recipes-support/poppler/poppler_0.90.1.bb
index f8b7c075a..bb5a782ae 100644
@@ -7,8 +7,8 @@ SRC_URI = "http://poppler.freedesktop.org/${BP}.tar.xz \
            file://0001-Do-not-overwrite-all-our-build-flags.patch \
            file://basename-include.patch \
            "
-SRC_URI[md5sum] = "92ac57f60ae8c3a1f8bfe01c9530b7b5"
-SRC_URI[sha256sum] = "fba230364537782cc5d43b08d693ef69c36586286349683c7b127156a8ef9b5c"
+SRC_URI[md5sum] = "b80a82f14459d31d929db421b0e8cf05"
+SRC_URI[sha256sum] = "984d82e72e91418d280885298c8bdc855a2fd92665fd52a1345b27235e0c71c4"
 
 DEPENDS = "fontconfig zlib cairo lcms glib-2.0"
 
Signature · 1 line
2.26.2
#2 lore raw

PATCH 3/4 live555: merge recipe with inc

In reply to Andreas Müller
---
 .../recipes-multimedia/live555/live555.inc    | 56 ------------------
 .../live555/live555_20190828.bb               | 58 +++++++++++++++++--
 2 files changed, 53 insertions(+), 61 deletions(-)
 delete mode 100644 meta-oe/recipes-multimedia/live555/live555.inc
meta-oe/recipes-multimedia/live555/live555.inc deleted +0 -56
deleted file mode 100644
index e08d11b0c..000000000
@@ -1,56 +0,0 @@
-# live555 OE build file
-# Copyright (C) 2005, Koninklijke Philips Electronics NV.  All Rights Reserved
-# Released under the MIT license (see packages/COPYING)
-
-DESCRIPTION = "LIVE555 Streaming Media libraries"
-HOMEPAGE = "http://live.com/"
-LICENSE = "LGPLv3"
-SECTION = "devel"
-
-URLV = "${@d.getVar('PV')[0:4]}.${@d.getVar('PV')[4:6]}.${@d.getVar('PV')[6:8]}"
-SRC_URI = "https://download.videolan.org/pub/contrib/live555/live.${URLV}.tar.gz \
-           file://config.linux-cross"
-# only latest live version stays on http://www.live555.com/liveMedia/public/, add mirror for older
-MIRRORS += "http://www.live555.com/liveMedia/public/ http://download.videolan.org/contrib/live555/ \n"
-
-S = "${WORKDIR}/live"
-TARGET_CC_ARCH += "${LDFLAGS}"
-
-do_configure() {
-    cp ${WORKDIR}/config.linux-cross .
-    echo "COMPILE_OPTS+=" -fPIC -DXLOCALE_NOT_USED"" >> config.linux-cross
-    ./genMakefiles linux-cross
-}
-
-do_compile() {
-    oe_runmake
-}
-
-do_install() {
-    install -d ${D}${includedir}/BasicUsageEnvironment
-    install -d ${D}${includedir}/groupsock
-    install -d ${D}${includedir}/liveMedia
-    install -d ${D}${includedir}/UsageEnvironment
-    install -d ${D}${libdir}
-    cp -R --no-dereference --preserve=mode,links -v ${S}/BasicUsageEnvironment/include/*.hh ${D}${includedir}/BasicUsageEnvironment/
-    cp -R --no-dereference --preserve=mode,links -v ${S}/groupsock/include/*.h ${D}${includedir}/groupsock/
-    cp -R --no-dereference --preserve=mode,links -v ${S}/groupsock/include/*.hh ${D}${includedir}/groupsock/
-    cp -R --no-dereference --preserve=mode,links -v ${S}/liveMedia/include/*.hh ${D}${includedir}/liveMedia/
-    cp -R --no-dereference --preserve=mode,links -v ${S}/UsageEnvironment/include/*.hh ${D}${includedir}/UsageEnvironment/
-    # Find all the headers
-    for i in $(find . -name "*.hh") $(find . -name "*.h") ; do
-        install ${i} ${D}${includedir}
-    done
-    cp ${S}/*/*.a ${D}${libdir}
-    install -d ${D}${bindir}
-    for i in MPEG2TransportStreamIndexer openRTSP playSIP sapWatch testMPEG1or2ProgramToTransportStream testMPEG1or2Splitter testMPEG1or2VideoReceiver testMPEG2TransportStreamTrickPlay testOnDemandRTSPServer testRelay testAMRAudioStreamer testDVVideoStreamer testMP3Receiver testMP3Streamer testMPEG1or2AudioVideoStreamer testMPEG1or2VideoStreamer testMPEG2TransportStreamer testMPEG4VideoStreamer testWAVAudioStreamer vobStreamer; do
-        install -m 0755 ${S}/testProgs/${i} ${D}${bindir}/
-    done
-    install -m 0755 ${S}/mediaServer/live555MediaServer ${D}${bindir}/
-}
-
-PACKAGES =+ "live555-openrtsp live555-playsip live555-mediaserver live555-examples"
-FILES_live555-openrtsp = "${bindir}/openRTSP"
-FILES_live555-playsip = "${bindir}/playSIP"
-FILES_live555-mediaserver = "${bindir}/live555MediaServer"
-FILES_live555-examples = "${bindir}/*"
meta-oe/recipes-multimedia/live555/live555_20190828.bb +53 -5

64 lines not on this page · raw message

Signature · 1 line
2.26.2
#3 lore raw

PATCH 4/4 live555: upgrade 20190828 -> 20200721

In reply to Andreas Müller
---
 .../live555/{files => live555}/config.linux-cross            | 2 +-
 .../live555/{live555_20190828.bb => live555_20200721.bb}     | 5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-multimedia/live555/{files => live555}/config.linux-cross (90%)
 rename meta-oe/recipes-multimedia/live555/{live555_20190828.bb => live555_20200721.bb} (96%)
meta-oe/recipes-multimedia/live555/live555/config.linux-cross renamed from meta-oe/recipes-multimedia/live555/files/config.linux-cross +1 -1
similarity index 90%
rename from meta-oe/recipes-multimedia/live555/files/config.linux-cross
rename to meta-oe/recipes-multimedia/live555/live555/config.linux-cross
index d1277da8d..fe6a28604 100644
@@ -12,6 +12,6 @@ CONSOLE_LINK_OPTS =	$(LINK_OPTS)
 LIBRARY_LINK =		$(LD) -o
 LIBRARY_LINK_OPTS =	$(LINK_OPTS) -r -Bstatic
 LIB_SUFFIX =			a
-LIBS_FOR_CONSOLE_APPLICATION =
+LIBS_FOR_CONSOLE_APPLICATION = -lssl -lcrypto
 LIBS_FOR_GUI_APPLICATION =
 EXE =
meta-oe/recipes-multimedia/live555/live555_20200721.bb renamed from meta-oe/recipes-multimedia/live555/live555_20190828.bb +4 -1
similarity index 96%
rename from meta-oe/recipes-multimedia/live555/live555_20190828.bb
rename to meta-oe/recipes-multimedia/live555/live555_20200721.bb
index 39e1fddfc..df85cd484 100644
@@ -7,13 +7,16 @@ HOMEPAGE = "http://live.com/"
 LICENSE = "LGPLv3"
 SECTION = "devel"
 
+DEPENDS = "openssl"
+
 URLV = "${@d.getVar('PV')[0:4]}.${@d.getVar('PV')[4:6]}.${@d.getVar('PV')[6:8]}"
 SRC_URI = "https://download.videolan.org/pub/contrib/live555/live.${URLV}.tar.gz \
            file://config.linux-cross"
+
 # only latest live version stays on http://www.live555.com/liveMedia/public/, add mirror for older
 MIRRORS += "http://www.live555.com/liveMedia/public/ http://download.videolan.org/contrib/live555/ \n"
 
-SRC_URI[sha256sum] = "a3dcd157865186cf883c3a80b4bb09637e91fff96b234b2c780a7f7dcc7a35dc"
+SRC_URI[sha256sum] = "89b2d99589de2ce9b4007ea6625dfce28317421604cf5131f4e1bf5bf7040b63"
 
 S = "${WORKDIR}/live"
 
Signature · 1 line
2.26.2