Skip to contentSkip to conversation

gthumb: Fix to work with disabled static libs

PATCH New Richard Purdie 1 participant 12 messages Feb 22, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/12 gthumb: Fix to work with disabled static libs

---
 meta-gnome/recipes-gnome/gthumb/gthumb_2.12.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-gnome/recipes-gnome/gthumb/gthumb_2.12.4.bb +1 -1
index a1c0347..0bf1321 100644
@@ -17,7 +17,7 @@ GNOME_COMPRESS_TYPE="bz2"
 SRC_URI += "file://parallel.patch"
 
 do_install_append () {
-    rm ${D}${libdir}/${BPN}/extensions/*.a
+    rm -f ${D}${libdir}/${BPN}/extensions/*.a
 }
 
 FILES_${PN} += "${datadir}/icons"
Signature · 1 line
2.5.0
#1 lore raw

PATCH 2/12 fio: Fix to work with disabled static libs

---
 meta-oe/recipes-benchmark/fio/fio_2.2.6.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-benchmark/fio/fio_2.2.6.bb +1 -0
index dca0e64..69be80d 100644
@@ -26,6 +26,7 @@ SRC_URI = "git://git.kernel.dk/fio.git"
 S = "${WORKDIR}/git"
 
 EXTRA_OEMAKE = "CC='${CC}' LDFLAGS='${LDFLAGS}'"
+DISABLE_STATIC = ""
 
 do_configure() {
     ./configure ${EXTRA_OECONF}
Signature · 1 line
2.5.0
#2 lore raw

PATCH 3/12 mongodb: Fix to work with disabled static libs

In reply to Richard Purdie
---
 meta-oe/recipes-support/mongodb/mongodb_git.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-support/mongodb/mongodb_git.bb +1 -0
index a91240a..6522a67 100644
@@ -44,6 +44,7 @@ EXTRA_OESCONS = "--prefix=${D}${prefix} \
                  --nostrip \
                  ${EXTRA_OECONF} \
                  mongod mongos"
+DISABLE_STATIC = ""
 
 scons_do_compile() {
         ${STAGING_BINDIR_NATIVE}/scons ${PARALLEL_MAKE} ${EXTRA_OESCONS} || \
Signature · 1 line
2.5.0
#3 lore raw

PATCH 4/12 poppler-data: Fix to work with changed makeflags

In reply to Richard Purdie

Without this, the data is installed into /usr/local and fails QA checks.

---
 meta-oe/recipes-support/poppler/poppler-data_0.4.7.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/poppler/poppler-data_0.4.7.bb +1 -1
index 27c4110..e530a48 100644
@@ -28,7 +28,7 @@ do_compile() {
 }
 
 do_install() {
-    oe_runmake install DESTDIR=${D}
+    oe_runmake install DESTDIR=${D} prefix=${prefix} datadir=${datadir}
     install -d ${D}${datadir}/poppler/cMap
     install -m644 ${WORKDIR}/Identity-* ${D}${datadir}/poppler/cMap/
 }
Signature · 1 line
2.5.0
#4 lore raw

PATCH 5/12 monkey: Fix to work with disabled static libs

In reply to Richard Purdie
---
 meta-webserver/recipes-httpd/monkey/monkey_1.5.6.bb | 1 +
 1 file changed, 1 insertion(+)
meta-webserver/recipes-httpd/monkey/monkey_1.5.6.bb +1 -0
index d7330a1..22d88f8 100644
@@ -24,6 +24,7 @@ EXTRA_OECONF = "--plugdir=${libdir}/monkey/ \
                 --disable-plugins=mbedtls \
                 --debug \
                 --malloc-libc"
+DISABLE_STATIC = ""
 
 inherit autotools-brokensep pkgconfig update-rc.d systemd
 
Signature · 1 line
2.5.0
#5 lore raw

PATCH 6/12 xmlstarlet: Disable PARALLEL_MAKE

In reply to Richard Purdie
---
 meta-oe/recipes-support/xmlstarlet/xmlstarlet_1.5.0.bb | 7 +++++++
 1 file changed, 7 insertions(+)
meta-oe/recipes-support/xmlstarlet/xmlstarlet_1.5.0.bb +7 -0
index d9a03c6..2b8603e 100644
@@ -24,3 +24,10 @@ inherit autotools
 EXTRA_OECONF="--disable-build-docs \
   --with-libxml-prefix=${STAGING_LIBDIR}/.. \
   --with-libxslt-prefix=${STAGING_LIBDIR}/.."
+
+#Makefile:2116: recipe for target 'src/elem-usage.c' failed
+#make[1]: *** [src/elem-usage.c] Error 1
+#/bin/bash: src/escape-usage.c: No such file or directory
+#Makefile:2116: recipe for target 'src/escape-usage.c' failed
+#make[1]: *** [src/escape-usage.c] Error 1
+PARALLEL_MAKE = ""
\ No newline at end of file
Signature · 1 line
2.5.0
#6 lore raw

PATCH 7/12 inetutils: Fix build when static libs disabled

In reply to Richard Purdie
---
 meta-networking/recipes-connectivity/inetutils/inetutils_1.9.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-connectivity/inetutils/inetutils_1.9.4.bb +1 -1
index 50aedd3..68487ea 100644
@@ -79,7 +79,7 @@ do_install_append () {
 
     rm -rf ${D}${libexecdir}/
     # remove usr/lib if empty
-    rmdir ${D}${libdir}
+    rmdir ${D}${libdir} || true
 }
 
 PACKAGES =+ "${PN}-ping ${PN}-ping6 ${PN}-hostname ${PN}-ifconfig \
Signature · 1 line
2.5.0
#7 lore raw

PATCH 8/12 libtalloc: Fix build when static libs disabled

In reply to Richard Purdie
---
 meta-networking/recipes-support/libtalloc/libtalloc_2.1.3.bb | 1 +
 1 file changed, 1 insertion(+)
meta-networking/recipes-support/libtalloc/libtalloc_2.1.3.bb +1 -0
index 5c2238d..8209264 100644
@@ -27,6 +27,7 @@ EXTRA_OECONF += "--disable-rpath \
                  --disable-silent-rules \
                  --with-libiconv=${STAGING_DIR_HOST}${prefix}\
                 "
+DISABLE_STATIC = ""
 
 PACKAGES += "pytalloc pytalloc-dbg pytalloc-dev"
 
Signature · 1 line
2.5.0
#8 lore raw

PATCH 9/12 libtdb: Fix build when static libs disabled

In reply to Richard Purdie
---
 meta-networking/recipes-support/libtdb/libtdb_1.3.7.bb | 1 +
 1 file changed, 1 insertion(+)
meta-networking/recipes-support/libtdb/libtdb_1.3.7.bb +1 -0
index 9dc4808..c6a689b 100644
@@ -20,6 +20,7 @@ EXTRA_OECONF += "--disable-rpath \
                  --builtin-libraries=replace \
                  --with-libiconv=${STAGING_DIR_HOST}${prefix}\
                 "
+DISABLE_STATIC = ""
 
 PACKAGES += "tdb-tools python-tdb python-tdb-dbg"
 
Signature · 1 line
2.5.0
#9 lore raw

PATCH 10/12 libtevent: Fix build when static libs disabled

In reply to Richard Purdie
---
 meta-networking/recipes-support/libtevent/libtevent_0.9.25.bb | 1 +
 1 file changed, 1 insertion(+)
meta-networking/recipes-support/libtevent/libtevent_0.9.25.bb +1 -0
index 2ec79e9..aa61ea6 100644
@@ -26,6 +26,7 @@ EXTRA_OECONF += "--disable-rpath \
                  --with-libiconv=${STAGING_DIR_HOST}${prefix}\
                  --without-gettext \
                 "
+DISABLE_STATIC = ""
 
 PACKAGES += "python-tevent python-tevent-dbg"
 
Signature · 1 line
2.5.0
#10 lore raw

PATCH 11/12 soci: Fix build when static libs disabled

In reply to Richard Purdie
---
 meta-oe/recipes-support/soci/soci_3.2.2.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-support/soci/soci_3.2.2.bb +1 -0
index d1964eb..1f5a485 100644
@@ -36,6 +36,7 @@ PACKAGECONFIG ??= "empty"
 
 # Take the flags added by PACKAGECONFIG and pass them to cmake.
 EXTRA_OECMAKE = "${EXTRA_OECONF} -DSOCI_LIBDIR=${libdir}"
+DISABLE_STATIC = ""
 
 inherit cmake
 
Signature · 1 line
2.5.0
#11 lore raw

PATCH 12/12 nginx: Fix build when static libs disabled

In reply to Richard Purdie
---
 meta-webserver/recipes-httpd/nginx/nginx_1.9.10.bb | 1 +
 1 file changed, 1 insertion(+)
meta-webserver/recipes-httpd/nginx/nginx_1.9.10.bb +1 -0
index 5d63d41..6fa82ff 100644
@@ -31,6 +31,7 @@ NGINX_WWWDIR ?= "${localstatedir}/www/localhost"
 NGINX_USER   ?= "www"
 
 EXTRA_OECONF = ""
+DISABLE_STATIC = ""
 
 do_configure () {
 	if [ "${SITEINFO_BITS}" = "64" ]; then
Signature · 1 line
2.5.0