Skip to contentSkip to conversation

gnome-world-fixes

PATCH In review Andreas Müller 2 participants 7 messages Apr 29, 2013

lore
Share & tools
lore
#0 lore raw

cover gnome-world-fixes

The following changes since commit 3c47bd59d0315c98364a175a686e8a4b8ba66867:

apache2: fix multilib builds (2013-04-29 10:25:17 +0100)

are available in the git repository at:
git://gitorious.org/schnitzeltony-oe-meta/meta-openembedded.git gnome-world-fixes

Andreas Müller (5):
zenity: fix build
libgnomecanvas: update 2.30.3 to fix build
gnome-power-manager: fix configure
gnome-power-manager: fix compile
libgnome: fix compile

 .../0001-Makefile.am-don-t-build-help-man.patch    |   37 +++++++++++++++++++
 .../gnome-power-manager_2.32.0.bb                  |   15 ++++----
 ...nome-Makefile.am-allow-deprecated-symbols.patch |   35 ++++++++++++++++++
 .../recipes-gnome/libgnome/libgnome_2.32.1.bb      |    3 +-
 ...mecanvas_2.26.0.bb => libgnomecanvas_2.30.3.bb} |    8 ++---
 .../files/0001-Makefile.am-don-t-build-help.patch  |   39 ++++++++++++++++++++
 meta-gnome/recipes-gnome/zenity/zenity_2.32.1.bb   |    3 +-
 7 files changed, 125 insertions(+), 15 deletions(-)
 create mode 100644 meta-gnome/recipes-gnome/gnome-power-manager/gnome-power-manager-2.32.0/0001-Makefile.am-don-t-build-help-man.patch
 create mode 100644 meta-gnome/recipes-gnome/libgnome/libgnome/0001-libgnome-Makefile.am-allow-deprecated-symbols.patch
 rename meta-gnome/recipes-gnome/libgnome/{libgnomecanvas_2.26.0.bb => libgnomecanvas_2.30.3.bb} (77%)
 create mode 100644 meta-gnome/recipes-gnome/zenity/files/0001-Makefile.am-don-t-build-help.patch
Signature · 1 line
1.7.6.5
#1 lore raw

PATCH 1/5 zenity: fix build

error message was:

| warning: failed to load external entity "/usr/share/xml/gnome/xslt/docbook/omf/db2omf.xsl"
| cannot parse /usr/share/xml/gnome/xslt/docbook/omf/db2omf.xsl
| make[2]: *** [zenity-C.omf] Error 1
---
 .../files/0001-Makefile.am-don-t-build-help.patch  |   39 ++++++++++++++++++++
 meta-gnome/recipes-gnome/zenity/zenity_2.32.1.bb   |    3 +-
 2 files changed, 41 insertions(+), 1 deletions(-)
 create mode 100644 meta-gnome/recipes-gnome/zenity/files/0001-Makefile.am-don-t-build-help.patch
meta-gnome/recipes-gnome/zenity/files/0001-Makefile.am-don-t-build-help.patch new file +39 -0
new file mode 100644
index 0000000..50c9cb9
@@ -0,0 +1,39 @@
+From 17e5606f8c4c8ff26ba18489aad4c484cf8e2949 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]>
+Date: Mon, 29 Apr 2013 11:34:27 +0200
+Subject: [PATCH] Makefile.am: don't build help
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+it crashes with:
+
+| warning: failed to load external entity "/usr/share/xml/gnome/xslt/docbook/omf/db2omf.xsl"
+| cannot parse /usr/share/xml/gnome/xslt/docbook/omf/db2omf.xsl
+| make[2]: *** [zenity-bg.omf] Error 1
+| make[2]: Leaving directory `/home/andreas/tmp/oe-core-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/zenity/2.32.1-r2/zenity-2.32.1/help'
+
+Upstream-Status: Inappropriate [configuration]
+
+Signed-off-by: Andreas Müller <[email protected]>
+---
+ Makefile.am |    3 +--
+ 1 files changed, 1 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 03accc1..caec7f0 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,8 +1,7 @@
+ SUBDIRS = \
+ 	src	\
+ 	po	\
+-	data	\
+-	help
++	data
+ 
+ EXTRA_DIST = \
+ 	autogen.sh		\
+-- 
+1.7.6.5
+
meta-gnome/recipes-gnome/zenity/zenity_2.32.1.bb +2 -1
index 89d95de..17fe0ee 100644
@@ -2,11 +2,12 @@ DESCRIPTION = "Display dialog boxes from the commandline and shell scripts"
 LICENSE = "LGPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7"
 
-PR = "r1"
+PR = "r2"
 
 DEPENDS = "gtk+ glib-2.0 libnotify gnome-doc-utils"
 
 inherit gnome
+SRC_URI += "file://0001-Makefile.am-don-t-build-help.patch"
 SRC_URI[archive.md5sum] = "aa66ec35451b16e424519b4973082170"
 SRC_URI[archive.sha256sum] = "8838be041a07364b62a4281c971392e4a09bb01bb3237a836ec0457ec0ea18ac"
 
Signature · 1 line
1.7.6.5
#2 lore raw

PATCH 2/5 libgnomecanvas: update 2.30.3 to fix build

In reply to Andreas Müller

error message was:
| gnome-canvas-rich-text.c: In function 'gnome_canvas_rich_text_draw':
| gnome-canvas-rich-text.c:2150:2: error: implicit declaration of function 'gtk_text_layout_draw' [-Werror=implicit-function-declaration]

---
 ...mecanvas_2.26.0.bb => libgnomecanvas_2.30.3.bb} |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)
 rename meta-gnome/recipes-gnome/libgnome/{libgnomecanvas_2.26.0.bb => libgnomecanvas_2.30.3.bb} (77%)
meta-gnome/recipes-gnome/libgnome/libgnomecanvas_2.30.3.bb renamed from meta-gnome/recipes-gnome/libgnome/libgnomecanvas_2.26.0.bb +3 -5
similarity index 77%
rename from meta-gnome/recipes-gnome/libgnome/libgnomecanvas_2.26.0.bb
rename to meta-gnome/recipes-gnome/libgnome/libgnomecanvas_2.30.3.bb
index efb88ff..0821abb 100644
@@ -5,10 +5,11 @@ SECTION = "x11/gnome/libs"
 
 inherit gnome
 
-PR = "r1"
-
 DEPENDS = "gtk+ libglade libart-lgpl xineramaproto"
 
+SRC_URI[archive.md5sum] = "ffcbb719c671ff5cd86e59aeba8d0b92"
+SRC_URI[archive.sha256sum] = "859b78e08489fce4d5c15c676fec1cd79782f115f516e8ad8bed6abcb8dedd40"
+
 EXTRA_OECONF = "--disable-gtk-doc"
 
 FILES_${PN} += "${libdir}/libglade/*/libcanvas.so"
@@ -19,6 +20,3 @@ FILES_${PN}-staticdev += "${libdir}/libglade/*/libcanvas*.a"
 do_configure_prepend() {
     sed -i -e s:docs::g ${S}/Makefile.am
 }
-
-SRC_URI[archive.md5sum] = "9bbc635e5ae70e63af071af74ba7e72f"
-SRC_URI[archive.sha256sum] = "80b480acc33d7303f651e9c5bc8fea51c9e9a9ed59ebfdbbb730dd798bcbc58d"
Signature · 1 line
1.7.6.5
#3 lore raw

PATCH 3/5 gnome-power-manager: fix configure

In reply to Andreas Müller

* configure looks for libgnome-keyring (there is no option --disable-keyring)
* to have a daemon put gnome-keyring to RRECOMMENDS.

Error message was:

| Package gnome-keyring-1 was not found in the pkg-config search path.
| Perhaps you should add the directory containing `gnome-keyring-1.pc'
| to the PKG_CONFIG_PATH environment variable
| No package 'gnome-keyring-1' found
| configure:13934: $? = 1
| configure:13952: result: no
| No package 'gnome-keyring-1' found
| configure:13978: error: Package requirements (
---
 .../gnome-power-manager_2.32.0.bb                  |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
meta-gnome/recipes-gnome/gnome-power-manager/gnome-power-manager_2.32.0.bb +3 -3
index cc4c0c4..c11d6ea 100644
@@ -2,9 +2,10 @@ DESCRIPTION = "Power management daemon"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 
-PR = "r2"
+PR = "r3"
 
-DEPENDS = "glib-2.0 gtk+ gconf gnome-keyring dbus dbus-glib libnotify libwnck cairo libunique xrandr virtual/libx11 libxrender libcanberra upower"
+DEPENDS = "glib-2.0 gtk+ gconf libgnome-keyring dbus dbus-glib libnotify libwnck cairo libunique xrandr virtual/libx11 libxrender libcanberra upower"
+RRECOMMENDS_${PN} += "gnome-keyring"
 
 inherit gnome
 
@@ -14,7 +15,6 @@ SRC_URI[archive.md5sum] = "9a08e85dce3ffb90775f15e3bda4adda"
 SRC_URI[archive.sha256sum] = "17fa301bf7e133285c0e054ae3be2b0f690c48f59b09f67e04d6ed339b330476"
 
 EXTRA_OECONF = " --disable-scrollkeeper \
-                 --disable-keyring \
                  --disable-applets \
                  --x-includes=${STAGING_INCDIR} \
                  --x-libraries=${STAGING_LIBDIR} \
Signature · 1 line
1.7.6.5
#4 lore raw

PATCH 4/5 gnome-power-manager: fix compile

In reply to Andreas Müller

* on some machines help crashed with:

| xsltproc -o gnome-power-manager-C.omf --stringparam db2omf.basename gnome-power-manager --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.3//EN" --stringparam db2omf.lang C --stringparam db2omf.omf_dir "/usr/share/omf" --stringparam db2omf.help_dir "/usr/share/gnome/help" --stringparam db2omf.omf_in "/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gnome-power-manager/2.32.0-r2/gnome-power-manager-2.32.0/help/gnome-power-manager.omf.in"  /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm`/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/pkg-config --variable db2omf gnome-doc-utils` C/gnome-power-manager.xml || { rm -f "gnome-power-manager-C.omf"; exit 1; }
| unable to parse fr/gnome-power-manager.xml

* disable man in recipe did not work

---
 .../0001-Makefile.am-don-t-build-help-man.patch    |   37 ++++++++++++++++++++
 .../gnome-power-manager_2.32.0.bb                  |   11 +++---
 2 files changed, 42 insertions(+), 6 deletions(-)
 create mode 100644 meta-gnome/recipes-gnome/gnome-power-manager/gnome-power-manager-2.32.0/0001-Makefile.am-don-t-build-help-man.patch
meta-gnome/recipes-gnome/gnome-power-manager/gnome-power-manager-2.32.0/0001-Makefile.am-don-t-build-help-man.patch new file +37 -0
new file mode 100644
index 0000000..d6d49bb
@@ -0,0 +1,37 @@
+From 3ed15a3c6ae4ab94c7e3af306644bb5d7f3fd1fa Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]>
+Date: Mon, 29 Apr 2013 13:08:10 +0200
+Subject: [PATCH] Makefile.am: don't build help/man
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+help crashes with:
+
+| xsltproc -o gnome-power-manager-C.omf --stringparam db2omf.basename gnome-power-manager --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.3//EN" --stringparam db2omf.lang C --stringparam db2omf.omf_dir "/usr/share/omf" --stringparam db2omf.help_dir "/usr/share/gnome/help" --stringparam db2omf.omf_in "/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gnome-power-manager/2.32.0-r2/gnome-power-manager-2.32.0/help/gnome-power-manager.omf.in"  /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm`/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/pkg-config --variable db2omf gnome-doc-utils` C/gnome-power-manager.xml || { rm -f "gnome-power-manager-C.omf"; exit 1; }
+| unable to parse fr/gnome-power-manager.xml
+
+Upstream-Status: Inappropriate [configuration]
+
+Signed-off-by: Andreas Müller <[email protected]>
+---
+ Makefile.am |    2 --
+ 1 files changed, 0 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 005b8a0..5b9e318 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -5,9 +5,7 @@ SUBDIRS = 						\
+ 	src						\
+ 	po						\
+ 	docs						\
+-	man						\
+ 	data						\
+-	help						\
+ 	policy						\
+ 	tools
+ 
+-- 
+1.7.6.5
+
meta-gnome/recipes-gnome/gnome-power-manager/gnome-power-manager_2.32.0.bb +5 -6
index c11d6ea..aac6b6c 100644
@@ -2,14 +2,17 @@ DESCRIPTION = "Power management daemon"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 
-PR = "r3"
+PR = "r4"
 
 DEPENDS = "glib-2.0 gtk+ gconf libgnome-keyring dbus dbus-glib libnotify libwnck cairo libunique xrandr virtual/libx11 libxrender libcanberra upower"
 RRECOMMENDS_${PN} += "gnome-keyring"
 
 inherit gnome
 
-SRC_URI += "file://sysrooted-pkg-config.patch"
+SRC_URI += " \
+    file://sysrooted-pkg-config.patch \
+    file://0001-Makefile.am-don-t-build-help-man.patch \
+"
 
 SRC_URI[archive.md5sum] = "9a08e85dce3ffb90775f15e3bda4adda"
 SRC_URI[archive.sha256sum] = "17fa301bf7e133285c0e054ae3be2b0f690c48f59b09f67e04d6ed339b330476"
@@ -23,10 +26,6 @@ EXTRA_OECONF = " --disable-scrollkeeper \
                  ac_cv_header_X11_extensions_dpms_h=yes \
 "
 
-do_configure_prepend() {
-    sed -i -e 's:    man    ::g' ${S}/Makefile.am
-}
-
 do_configure_append() {
     rm config.log
     # Sigh... --enable-compile-warnings=no doesn't actually turn off -Werror
Signature · 1 line
1.7.6.5
#5 lore raw

PATCH 5/5 libgnome: fix compile

In reply to Andreas Müller

error message was:
| gnome-program.c: In function 'gnome_program_init_common':
| gnome-program.c:2067:2: error: implicit declaration of function 'g_atexit' [-Werror=implicit-function-declaration]

---
 ...nome-Makefile.am-allow-deprecated-symbols.patch |   35 ++++++++++++++++++++
 .../recipes-gnome/libgnome/libgnome_2.32.1.bb      |    3 +-
 2 files changed, 37 insertions(+), 1 deletions(-)
 create mode 100644 meta-gnome/recipes-gnome/libgnome/libgnome/0001-libgnome-Makefile.am-allow-deprecated-symbols.patch
meta-gnome/recipes-gnome/libgnome/libgnome/0001-libgnome-Makefile.am-allow-deprecated-symbols.patch new file +35 -0
new file mode 100644
index 0000000..b658303
@@ -0,0 +1,35 @@
+From ce1cd20fceea7dbcc5b983d94de771461eccf7cf Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]>
+Date: Mon, 29 Apr 2013 14:17:13 +0200
+Subject: [PATCH] libgnome/Makefile.am: allow deprecated symbols
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+fixes:
+
+| gnome-program.c: In function 'gnome_program_init_common':
+| gnome-program.c:2067:2: error: implicit declaration of function 'g_atexit' [-Werror=implicit-function-declaration]
+
+Upstream-Status: Inappropriate [configuration]
+
+Signed-off-by: Andreas Müller <[email protected]>
+---
+ libgnome/Makefile.am |    1 -
+ 1 files changed, 0 insertions(+), 1 deletions(-)
+
+diff --git a/libgnome/Makefile.am b/libgnome/Makefile.am
+index 9c8cd3e..aa01f6c 100644
+--- a/libgnome/Makefile.am
++++ b/libgnome/Makefile.am
+@@ -17,7 +17,6 @@ INCLUDES = \
+ 	-I$(srcdir)/..						\
+ 	$(WARN_CFLAGS)						\
+ 	$(LIBGNOME_CFLAGS)					\
+-	-DG_DISABLE_DEPRECATED					\
+ 	-DLIBGNOME_PREFIX=\""$(prefix)"\"			\
+ 	-DLIBGNOME_LIBDIR=\""$(libdir)"\"			\
+ 	-DLIBGNOME_DATADIR=\""$(datadir)"\"			\
+-- 
+1.7.6.5
+
meta-gnome/recipes-gnome/libgnome/libgnome_2.32.1.bb +2 -1
index 0813973..325912f 100644
@@ -5,10 +5,11 @@ SECTION = "x11/gnome/libs"
 
 inherit gnome lib_package
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI[archive.md5sum] = "a4345e6087ae6195d65a4674ffdca559"
 SRC_URI[archive.sha256sum] = "b2c63916866485793b87398266dd7778548c1734923c272a94d84ee011b6f7a4"
+SRC_URI += "file://0001-libgnome-Makefile.am-allow-deprecated-symbols.patch"
 
 DEPENDS += "libcanberra gconf-native gnome-vfs libbonobo esound"
 
Signature · 1 line
1.7.6.5
#6 lore raw
In reply to Andreas Müller
Quoted 7 lines · Andreas Müller

The following changes since commit 3c47bd59d0315c98364a175a686e8a4b8ba66867:

apache2: fix multilib builds (2013-04-29 10:25:17 +0100)

are available in the git repository at:
git://gitorious.org/schnitzeltony-oe-meta/meta-openembedded.git gnome-world-fixes

Quoted 6 lines

Andreas Müller (5):
zenity: fix build
libgnomecanvas: update 2.30.3 to fix build
gnome-power-manager: fix configure
gnome-power-manager: fix compile
libgnome: fix compile

Thanks a lot!

Quoted 22 lines
 .../0001-Makefile.am-don-t-build-help-man.patch    |   37 +++++++++++++++++++
 .../gnome-power-manager_2.32.0.bb                  |   15 ++++----
 ...nome-Makefile.am-allow-deprecated-symbols.patch |   35 ++++++++++++++++++
 .../recipes-gnome/libgnome/libgnome_2.32.1.bb      |    3 +-
 ...mecanvas_2.26.0.bb => libgnomecanvas_2.30.3.bb} |    8 ++---
 .../files/0001-Makefile.am-don-t-build-help.patch  |   39 ++++++++++++++++++++
 meta-gnome/recipes-gnome/zenity/zenity_2.32.1.bb   |    3 +-
 7 files changed, 125 insertions(+), 15 deletions(-)
 create mode 100644 meta-gnome/recipes-gnome/gnome-power-manager/gnome-power-manager-2.32.0/0001-Makefile.am-don-t-build-help-man.patch
 create mode 100644 meta-gnome/recipes-gnome/libgnome/libgnome/0001-libgnome-Makefile.am-allow-deprecated-symbols.patch
 rename meta-gnome/recipes-gnome/libgnome/{libgnomecanvas_2.26.0.bb => libgnomecanvas_2.30.3.bb} (77%)
 create mode 100644 meta-gnome/recipes-gnome/zenity/files/0001-Makefile.am-don-t-build-help.patch
Signature · 7 lines
1.7.6.5


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]