Skip to contentSkip to conversation

This weekend fixes for meta-openembedded

PATCH In review Andreas Müller 1 participant 13 messages Feb 12, 2017

lore
Share & tools
lore
#0 lore raw

cover This weekend fixes for meta-openembedded

It's a start...

Andreas Müller (10):
audiofile: add alsa-lib to DEPENDS
esound: fix build
libglade: fix build and cleanup
poppler: add qttools-native to qt5 dependency to fix build
evolution-data-server: fix build
libgnomeui: fix build
gegl: fix build
gedit: fix build
abiword: fix build
geany: fix build

Martin Jansa (1):
glibmm: add dependency on glib-2.0-native

 meta-gnome/recipes-gnome/abiword/abiword_3.0.1.bb  |  2 ++
 .../recipes-gnome/eds/evolution-data-server_git.bb |  2 +-
 meta-gnome/recipes-gnome/gedit/gedit_2.30.4.bb     |  4 ++-
 .../recipes-gnome/libgnome/libgnomeui_2.24.5.bb    |  2 ++
 meta-oe/recipes-core/glib-2.0/glibmm_2.50.0.bb     |  2 +-
 meta-oe/recipes-devtools/geany/geany_1.29.bb       |  3 ++-
 ...re.in-remove-deprecated-GNOME_COMMON_INIT.patch | 30 ++++++++++++++++++++++
 meta-oe/recipes-gnome/libglade/libglade_2.6.4.bb   | 11 +++++---
 meta-oe/recipes-graphics/gegl/gegl_0.3.4.bb        |  2 ++
 .../audiofile/audiofile_0.3.6.bb                   |  7 ++++-
 meta-oe/recipes-multimedia/esound/esound_0.2.36.bb |  3 +++
 meta-oe/recipes-support/poppler/poppler_0.51.0.bb  |  2 +-
 12 files changed, 61 insertions(+), 9 deletions(-)
 create mode 100644 meta-oe/recipes-gnome/libglade/libglade-2.6.4/0001-configure.in-remove-deprecated-GNOME_COMMON_INIT.patch
Signature · 1 line
2.9.3
#1 lore raw

PATCH 1/11 audiofile: add alsa-lib to DEPENDS

---
 meta-oe/recipes-multimedia/audiofile/audiofile_0.3.6.bb | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
meta-oe/recipes-multimedia/audiofile/audiofile_0.3.6.bb +6 -1
index 2d67b5a..b23bfed 100644
@@ -19,4 +19,9 @@ SRC_URI[sha256sum] = "ea2449ad3f201ec590d811db9da6d02ffc5e87a677d06b92ab15363d8c
 
 inherit autotools lib_package binconfig
 
-DEPENDS = "asciidoc-native libogg flac"
+DEPENDS = " \
+    asciidoc-native \
+    alsa-lib \
+    libogg \
+    flac \
+"
Signature · 1 line
2.9.3
#2 lore raw

PATCH 2/11 esound: fix build

In reply to Andreas Müller

| /usr/src/debug/esound/0.2.36-r1/esound-0.2.36/esd.c:144: error: undefined reference to 'sin' | /usr/src/debug/esound/0.2.36-r1/esound-0.2.36/esd.c:137: error: undefined reference to 'sin'

---
 meta-oe/recipes-multimedia/esound/esound_0.2.36.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-multimedia/esound/esound_0.2.36.bb +3 -0
index dc6c366..49a49a5 100644
@@ -24,6 +24,9 @@ EXTRA_OECONF = " \
     --disable-arts \
     --disable-artstest \
 "
+
+CFLAGS += "-lm"
+
 do_configure_prepend() {
     sed -i -e 's:/usr/include/mme:${STAGING_INCDIR}/mme:g' ${S}/configure.ac
 }
Signature · 1 line
2.9.3
#3 lore raw

PATCH 3/11 glibmm: add dependency on glib-2.0-native

In reply to Andreas Müller

From: Martin Jansa <[email protected]>

---
 meta-oe/recipes-core/glib-2.0/glibmm_2.50.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-core/glib-2.0/glibmm_2.50.0.bb +1 -1
index ebe7747..2677bf5 100644
@@ -5,7 +5,7 @@ LICENSE = "LGPLv2.1 & GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d8045f3b8f929c1cb29a1e3fd737b499 \
                     file://COPYING.tools;md5=751419260aa954499f7abaabaa882bbe"
 
-DEPENDS = "mm-common glib-2.0 libsigc++-2.0"
+DEPENDS = "mm-common glib-2.0 libsigc++-2.0 glib-2.0-native"
 inherit autotools pkgconfig
 
 SHRT_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}"
Signature · 1 line
2.9.3
#4 lore raw

Re: [PATCH 03/11] glibmm: add dependency on glib-2.0-native

Quoted 2 lines · Andreas Müller

From: Martin Jansa <[email protected]>

Oops - this one slipped into my series. It is already in master-next so please ignore.

Andreas

#5 lore raw

PATCH 4/11 libglade: fix build and cleanup

In reply to Andreas Müller
---
 ...re.in-remove-deprecated-GNOME_COMMON_INIT.patch | 30 ++++++++++++++++++++++
 meta-oe/recipes-gnome/libglade/libglade_2.6.4.bb   | 11 +++++---
 2 files changed, 38 insertions(+), 3 deletions(-)
 create mode 100644 meta-oe/recipes-gnome/libglade/libglade-2.6.4/0001-configure.in-remove-deprecated-GNOME_COMMON_INIT.patch
meta-oe/recipes-gnome/libglade/libglade-2.6.4/0001-configure.in-remove-deprecated-GNOME_COMMON_INIT.patch new file +30 -0
new file mode 100644
index 0000000..4738274
@@ -0,0 +1,30 @@
+From ceefcb19cebf8bc3d45ee502f8eabd3bc5bd0aac Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]>
+Date: Sat, 11 Feb 2017 16:42:12 +0100
+Subject: [PATCH] configure.in: remove deprecated GNOME_COMMON_INIT
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Upstream-Status: Pending
+
+Signed-off-by: Andreas Müller <[email protected]>
+---
+ configure.in | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/configure.in b/configure.in
+index 8905f1c..3901398 100644
+--- a/configure.in
++++ b/configure.in
+@@ -15,7 +15,6 @@ AC_CONFIG_HEADERS([config.h])
+ 
+ AM_INIT_AUTOMAKE([1.9 no-dist-gzip dist-bzip2])
+ 
+-GNOME_COMMON_INIT
+ 
+ if test "$enable_debug" != "no"; then
+   AC_DEFINE([DEBUG],[1],[enable use of LIBGLADE_DEBUG environment variable])
+-- 
+2.9.3
+
meta-oe/recipes-gnome/libglade/libglade_2.6.4.bb +8 -3
index 8cd023a..b730d5b 100644
@@ -15,17 +15,22 @@ inherit autotools pkgconfig gnomebase gtk-doc distro_features_check
 ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
 GNOME_COMPRESS_TYPE="bz2"
 
-SRC_URI += "file://glade-cruft.patch file://no-xml2.patch file://python_environment.patch"
+SRC_URI += " \
+    file://glade-cruft.patch \
+    file://no-xml2.patch \
+    file://python_environment.patch \
+    file://0001-configure.in-remove-deprecated-GNOME_COMMON_INIT.patch \
+"
 
 SRC_URI[archive.md5sum] = "d1776b40f4e166b5e9c107f1c8fe4139"
 SRC_URI[archive.sha256sum] = "64361e7647839d36ed8336d992fd210d3e8139882269bed47dc4674980165dec"
 
 EXTRA_OECONF += "--without-libxml2 --disable-gtk-doc"
 
-CFLAGS += "-lz"
+CFLAGS += "-lz -lgmodule-2.0"
 
 PACKAGES += " ${PN}-data"
 FILES_${PN} = "${libdir}/lib*.so.*"
 FILES_${PN}-data = "${datadir}/xml/libglade/glade-2.0.dtd"
 FILES_${PN}-dev += "${bindir}/libglade-convert"
-#RDEPENDS_${PN} = "${PN}-data"
+
Signature · 1 line
2.9.3
#6 lore raw

PATCH 5/11 poppler: add qttools-native to qt5 dependency to fix build

In reply to Andreas Müller
---
 meta-oe/recipes-support/poppler/poppler_0.51.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/poppler/poppler_0.51.0.bb +1 -1
index 4aa2dba..f683a3a 100644
@@ -20,7 +20,7 @@ PACKAGECONFIG[png] = "--enable-libpng,--disable-libpng,libpng"
 PACKAGECONFIG[tiff] = "--enable-libtiff,--disable-libtiff,tiff"
 PACKAGECONFIG[curl] = "--enable-libcurl,--disable-libcurl,curl"
 PACKAGECONFIG[openjpeg] = "--enable-libopenjpeg=openjpeg2,--disable-libopenjpeg,openjpeg"
-PACKAGECONFIG[qt5] = "--enable-poppler-qt5 --with-moc-qt5=${STAGING_BINDIR_NATIVE}/qt5/moc,--disable-poppler-qt5,qtbase"
+PACKAGECONFIG[qt5] = "--enable-poppler-qt5 --with-moc-qt5=${STAGING_BINDIR_NATIVE}/qt5/moc,--disable-poppler-qt5,qtbase qttools-native"
 PACKAGECONFIG[qt4e] = "--enable-poppler-qt4 --with-moc-qt4=${STAGING_BINDIR_NATIVE}/moc4,--disable-poppler-qt4,qt4-embedded"
 PACKAGECONFIG[nss] = "--enable-libnss,--disable-libnss,nss"
 
Signature · 1 line
2.9.3
#7 lore raw

PATCH 6/11 evolution-data-server: fix build

In reply to Andreas Müller
---
 meta-gnome/recipes-gnome/eds/evolution-data-server_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-gnome/recipes-gnome/eds/evolution-data-server_git.bb +1 -1
index aecf6a7..ff3365b 100644
@@ -31,7 +31,7 @@ S = "${WORKDIR}/git"
 inherit autotools gtk-doc pkgconfig gettext gobject-introspection
 
 # -ldb needs this on some platforms
-LDFLAGS += "-lpthread"
+LDFLAGS += "-lpthread -lgmodule-2.0 -lgthread-2.0"
 
 # Parallel make shows many issues with this source code.
 # Current problems seem to be duplicate execution of the calander/backends
Signature · 1 line
2.9.3
#8 lore raw

PATCH 7/11 libgnomeui: fix build

In reply to Andreas Müller
---
 meta-gnome/recipes-gnome/libgnome/libgnomeui_2.24.5.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-gnome/recipes-gnome/libgnome/libgnomeui_2.24.5.bb +2 -0
index c4801a9..45219d4 100644
@@ -27,3 +27,5 @@ EXTRA_OECONF = "--disable-gtk-doc"
 do_configure_prepend() {
     install -m 0644 ${WORKDIR}/gnome-stock-pixbufs.h ${S}/libgnomeui/pixmaps/gnome-stock-pixbufs.h
 }
+
+LDFLAGS += "-lm"
Signature · 1 line
2.9.3
#9 lore raw

PATCH 8/11 gegl: fix build

In reply to Andreas Müller
---
 meta-oe/recipes-graphics/gegl/gegl_0.3.4.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-graphics/gegl/gegl_0.3.4.bb +2 -0
index 9de8489..90f0216 100644
@@ -19,6 +19,8 @@ SRC_URI = "http://ftp.gimp.org/pub/${BPN}/0.3/${BP}.tar.bz2 \
 SRC_URI[md5sum] = "c19478321594d715a4cb324a0decda6f"
 SRC_URI[sha256sum] = "846290a790854d1e6b7c17a2d6f82ad7cb14c72e240bd3b81b98cc0ceddbc3ec"
 
+LDFLAGS += "-lm"
+
 # There are a couple of non-symlink .so files installed into libdir, which need to go into main package
 FILES_${PN}_append = " ${libdir}/gegl-0.3/*.so ${libdir}/gegl-0.3/*.json ${libdir}/libgegl-npd-0.3.so ${libdir}/libgegl-sc-0.3.so"
 FILES_${PN}-dev_append = " ${libdir}/gegl-0.3/*.la ${libdir}/libgegl-0.3.so"
Signature · 1 line
2.9.3
#10 lore raw

PATCH 9/11 gedit: fix build

In reply to Andreas Müller
---
 meta-gnome/recipes-gnome/gedit/gedit_2.30.4.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-gnome/recipes-gnome/gedit/gedit_2.30.4.bb +3 -1
index 175b832..03d7fa4 100644
@@ -3,7 +3,7 @@ SECTION = "x11/gnome"
 LICENSE = "GPLv2+"
 PR = "r2"
 
-DEPENDS = "gvfs enchant gconf gnome-doc-utils glib-2.0 gtk+ gtksourceview2 iso-codes intltool-native gnome-common-native"
+DEPENDS = "gvfs enchant gconf gnome-doc-utils glib-2.0 gtk+ gtksourceview2 iso-codes intltool-native gnome-common-native libice"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 
@@ -20,5 +20,7 @@ GNOME_COMPRESS_TYPE="bz2"
 EXTRA_OECONF = "--disable-scrollkeeper \
                 --enable-gvfs-metadata"
 
+LDFLAGS += "-lgmodule-2.0 -lICE"
+
 FILES_${PN} += "${libdir}/gedit-2/plugin* ${datadir}/gedit-2"
 FILES_${PN}-dbg += "${libdir}/gedit-2/plugin-loaders/.debug ${libdir}/gedit-2/plugins/.debug"
Signature · 1 line
2.9.3
#11 lore raw

PATCH 10/11 abiword: fix build

In reply to Andreas Müller
---
 meta-gnome/recipes-gnome/abiword/abiword_3.0.1.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-gnome/recipes-gnome/abiword/abiword_3.0.1.bb +2 -0
index ec17c75..d13a273 100644
@@ -47,6 +47,8 @@ EXTRA_OECONF = " --disable-static  \
                  --with-libwmf-config=${STAGING_DIR} \
 "
 
+LDFLAGS += "-lgmodule-2.0"
+
 do_compile() {
     cd goffice-bits2
     make goffice-paths.h
Signature · 1 line
2.9.3
#12 lore raw

PATCH 11/11 geany: fix build

In reply to Andreas Müller
---
 meta-oe/recipes-devtools/geany/geany_1.29.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-oe/recipes-devtools/geany/geany_1.29.bb +2 -1
index db6a34a..f979b71 100644
@@ -2,7 +2,8 @@ SUMMARY = "A fast and lightweight IDE"
 HOMEPAGE = "http://www.geany.org/"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=bd7b2c994af21d318bd2cd3b3f80c2d5"
-DEPENDS = "gtk+ python3-docutils-native"
+
+DEPENDS = "gtk+ libxml-parser-perl-native python3-docutils-native"
 
 inherit autotools pkgconfig perlnative pythonnative
 
Signature · 1 line
2.9.3