All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-gnome 1/2] nautilus: fix compile errors by removing G_DISABLE_DEPRECATED
@ 2011-10-16 23:51 Andreas Müller
  2011-10-16 23:51 ` [meta-gnome 2/2] nautilus: cleanup package directories Andreas Müller
  2011-10-17  6:59 ` [meta-gnome 1/2] nautilus: fix compile errors by removing G_DISABLE_DEPRECATED Koen Kooi
  0 siblings, 2 replies; 4+ messages in thread
From: Andreas Müller @ 2011-10-16 23:51 UTC (permalink / raw)
  To: openembedded-devel

* build tested
* reported gnome-bugzills [1]
* error messages:
| In file included from eel-alert-dialog.c:24:0:
| eel-i18n.h:31:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
| eel-alert-dialog.c: In function 'eel_alert_dialog_class_init':
| eel-alert-dialog.c:114:43: warning: passing argument 2 of 'g_param_spec_int' makes pointer from integer without a cast
| /home/Superandy/tmp/oe-core-eglibc/sysroots/overo/usr/include/glib-2.0/gobject/gparamspecs.h:993:13: note: expected 'const gchar *' but argument is of type 'int'
| eel-alert-dialog.c:114:43: warning: passing argument 3 of 'g_param_spec_int' makes pointer from integer without a cast
| /home/Superandy/tmp/oe-core-eglibc/sysroots/overo/usr/include/glib-2.0/gobject/gparamspecs.h:993:13: note: expected 'const gchar *' but argument is of type 'int'
| eel-alert-dialog.c:123:35: warning: passing argument 2 of 'g_param_spec_enum' makes pointer from integer without a cast
| /home/Superandy/tmp/oe-core-eglibc/sysroots/overo/usr/include/glib-2.0/gobject/gparamspecs.h:1040:13: note: expected 'const gchar *' but argument is of type 'int'
| eel-alert-dialog.c:123:35: warning: passing argument 3 of 'g_param_spec_enum' makes pointer from integer without a cast
| /home/Superandy/tmp/oe-core-eglibc/sysroots/overo/usr/include/glib-2.0/gobject/gparamspecs.h:1040:13: note: expected 'const gchar *' but argument is of type 'int'
| eel-alert-dialog.c:132:35: warning: passing argument 2 of 'g_param_spec_enum' makes pointer from integer without a cast
| /home/Superandy/tmp/oe-core-eglibc/sysroots/overo/usr/include/glib-2.0/gobject/gparamspecs.h:1040:13: note: expected 'const gchar *' but argument is of type 'int'
| eel-alert-dialog.c:132:35: warning: passing argument 3 of 'g_param_spec_enum' makes pointer from integer without a cast
| /home/Superandy/tmp/oe-core-eglibc/sysroots/overo/usr/include/glib-2.0/gobject/gparamspecs.h:1040:13: note: expected 'const gchar *' but argument is of type 'int'
| eel-alert-dialog.c: In function 'eel_alert_dialog_init':
| eel-alert-dialog.c:193:2: warning: passing argument 1 of 'gtk_expander_new_with_mnemonic' makes pointer from integer without a cast
| /home/Superandy/tmp/oe-core-eglibc/sysroots/overo/usr/include/gtk-2.0/gtk/gtkexpander.h:66:12: note: expected 'const gchar *' but argument is of type 'int'

and

| In file included from nautilus-file.h:31:0,
|                  from nautilus-bookmark.c:28:
| ../libnautilus-private/nautilus-icon-info.h:75:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
| ../libnautilus-private/nautilus-icon-info.h:76:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
| make[2]: *** [nautilus-bookmark.lo] Error 1

[1] https://bugzilla.gnome.org/show_bug.cgi?id=661949

Signed-off-by: Andreas Müller <schnitzeltony@gmx.de>
---
 .../nautilus/no-G_DISABLE_DEPRECATED.patch         |   44 ++++++++++++++++++++
 .../recipes-gnome/nautilus/nautilus_2.32.2.bb      |    3 +-
 2 files changed, 46 insertions(+), 1 deletions(-)
 create mode 100644 meta-gnome/recipes-gnome/nautilus/nautilus/no-G_DISABLE_DEPRECATED.patch

diff --git a/meta-gnome/recipes-gnome/nautilus/nautilus/no-G_DISABLE_DEPRECATED.patch b/meta-gnome/recipes-gnome/nautilus/nautilus/no-G_DISABLE_DEPRECATED.patch
new file mode 100644
index 0000000..43a6152
--- /dev/null
+++ b/meta-gnome/recipes-gnome/nautilus/nautilus/no-G_DISABLE_DEPRECATED.patch
@@ -0,0 +1,44 @@
+From e7233d98c114b03c7c8b96d1f41770452da14aa7 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmx.de>
+Date: Mon, 17 Oct 2011 00:59:01 +0200
+Subject: [PATCH] nautilus build fails for newer glib versions
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+build with glib-2.0 v2.30.0 run into errors for at least G_CONST_RETURN missing
+
+Signed-off-by: Andreas Müller <schnitzeltony@gmx.de>
+---
+ configure.in    |    2 +-
+ eel/Makefile.am |    1 -
+ 2 files changed, 1 insertions(+), 2 deletions(-)
+
+diff --git a/configure.in b/configure.in
+index 97e171e..859a097 100644
+--- a/configure.in
++++ b/configure.in
+@@ -342,7 +342,7 @@ AC_SUBST(CORE_CFLAGS)
+ CORE_LIBS="`$PKG_CONFIG --libs $CORE_MODULES` $x_libs"
+ AC_SUBST(CORE_LIBS)
+ 
+-DISABLE_DEPRECATED_CFLAGS="-DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED"
++DISABLE_DEPRECATED_CFLAGS="-DGDK_PIXBUF_DISABLE_DEPRECATED"
+ AC_SUBST(DISABLE_DEPRECATED_CFLAGS)
+ 
+ dnl Multimedia keys
+diff --git a/eel/Makefile.am b/eel/Makefile.am
+index b1fe356..c1d56cd 100644
+--- a/eel/Makefile.am
++++ b/eel/Makefile.am
+@@ -10,7 +10,6 @@ INCLUDES =						\
+ 	-DDATADIR=\""$(datadir)"\"			\
+ 	-DSOURCE_DATADIR=\""$(top_srcdir)/data"\"	\
+ 	-DGNOMELOCALEDIR=\""$(prefix)/${DATADIRNAME}/locale"\"	\
+-	-DG_DISABLE_DEPRECATED				\
+ 	-DGDK_PIXBUF_DISABLE_DEPRECATED			\
+ 	-DGMENU_I_KNOW_THIS_IS_UNSTABLE			\
+ 	$(NULL)
+-- 
+1.7.4.4
+
diff --git a/meta-gnome/recipes-gnome/nautilus/nautilus_2.32.2.bb b/meta-gnome/recipes-gnome/nautilus/nautilus_2.32.2.bb
index 334679c..f34cbbe 100644
--- a/meta-gnome/recipes-gnome/nautilus/nautilus_2.32.2.bb
+++ b/meta-gnome/recipes-gnome/nautilus/nautilus_2.32.2.bb
@@ -6,7 +6,7 @@ LICENSE="GPLv2 && LGPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=7c0048536e43642a1f3a724c2909872b \
                     file://COPYING.LIB;md5=f30a9716ef3762e3467a2f62bf790f0a"
 
-PR = "r4"
+PR = "r5"
 
 DEPENDS = "libunique gvfs librsvg libexif esound gnome-desktop orbit2-native"
 # optional: tracker
@@ -18,6 +18,7 @@ SRC_URI[archive.sha256sum] = "2d4ff28c7a7aa5d40eb2468149954a564c257a305183773057
 
 SRC_URI += "file://idl-sysroot.patch \
             file://no-try-run-strftime.diff \
+            file://no-G_DISABLE_DEPRECATED.patch \
 "
 
 
-- 
1.7.4.4




^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [meta-gnome 2/2] nautilus: cleanup package directories
  2011-10-16 23:51 [meta-gnome 1/2] nautilus: fix compile errors by removing G_DISABLE_DEPRECATED Andreas Müller
@ 2011-10-16 23:51 ` Andreas Müller
  2011-10-17  6:46   ` Koen Kooi
  2011-10-17  6:59 ` [meta-gnome 1/2] nautilus: fix compile errors by removing G_DISABLE_DEPRECATED Koen Kooi
  1 sibling, 1 reply; 4+ messages in thread
From: Andreas Müller @ 2011-10-16 23:51 UTC (permalink / raw)
  To: openembedded-devel


Signed-off-by: Andreas Müller <schnitzeltony@gmx.de>
---
 .../recipes-gnome/nautilus/nautilus_2.32.2.bb      |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/meta-gnome/recipes-gnome/nautilus/nautilus_2.32.2.bb b/meta-gnome/recipes-gnome/nautilus/nautilus_2.32.2.bb
index f34cbbe..e076ca1 100644
--- a/meta-gnome/recipes-gnome/nautilus/nautilus_2.32.2.bb
+++ b/meta-gnome/recipes-gnome/nautilus/nautilus_2.32.2.bb
@@ -33,8 +33,7 @@ do_configure() {
 }
 
 RDEPENDS_${PN} = "gvfs gvfsd-ftp gvfsd-sftp gvfsd-trash glib-networking"
-FILES_${PN} += "${datadir}/icons  /usr/libexec/ "
-FILES_${PN}-dbg += "/usr/libexec/.debug"
+FILES_${PN} += "${datadir}/icons"
 
 # Don't make nautils3 drag us in
 PRIVATE_LIBS = "libnautilus-extension.so.1"
-- 
1.7.4.4




^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [meta-gnome 2/2] nautilus: cleanup package directories
  2011-10-16 23:51 ` [meta-gnome 2/2] nautilus: cleanup package directories Andreas Müller
@ 2011-10-17  6:46   ` Koen Kooi
  0 siblings, 0 replies; 4+ messages in thread
From: Koen Kooi @ 2011-10-17  6:46 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 17-10-11 01:51, Andreas Müller schreef:
> 
> Signed-off-by: Andreas Müller <schnitzeltony@gmx.de> --- 
> .../recipes-gnome/nautilus/nautilus_2.32.2.bb      |    3 +-- 1 files
> changed, 1 insertions(+), 2 deletions(-)
> 
> diff --git a/meta-gnome/recipes-gnome/nautilus/nautilus_2.32.2.bb
> b/meta-gnome/recipes-gnome/nautilus/nautilus_2.32.2.bb index
> f34cbbe..e076ca1 100644 ---
> a/meta-gnome/recipes-gnome/nautilus/nautilus_2.32.2.bb +++
> b/meta-gnome/recipes-gnome/nautilus/nautilus_2.32.2.bb @@ -33,8 +33,7 @@
> do_configure() { }
> 
> RDEPENDS_${PN} = "gvfs gvfsd-ftp gvfsd-sftp gvfsd-trash glib-networking" 
> -FILES_${PN} += "${datadir}/icons  /usr/libexec/ " -FILES_${PN}-dbg +=
> "/usr/libexec/.debug" +FILES_${PN} += "${datadir}/icons"

So nautilus stopped installing helpers in /usr/libexec?

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFOm89gMkyGM64RGpERAqvtAJ9AgQwxHX1QcHvGvgYRlIaQUImjMQCfYg5F
q/yL8Vd5Edz7lVmNXYLcG7A=
=PknH
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [meta-gnome 1/2] nautilus: fix compile errors by removing G_DISABLE_DEPRECATED
  2011-10-16 23:51 [meta-gnome 1/2] nautilus: fix compile errors by removing G_DISABLE_DEPRECATED Andreas Müller
  2011-10-16 23:51 ` [meta-gnome 2/2] nautilus: cleanup package directories Andreas Müller
@ 2011-10-17  6:59 ` Koen Kooi
  1 sibling, 0 replies; 4+ messages in thread
From: Koen Kooi @ 2011-10-17  6:59 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Applied, thanks!

Op 17-10-11 01:51, Andreas Müller schreef:
> * build tested * reported gnome-bugzills [1] * error messages: | In file
> included from eel-alert-dialog.c:24:0: | eel-i18n.h:31:16: error:
> expected '=', ',', ';', 'asm' or '__attribute__' before 'char' |
> eel-alert-dialog.c: In function 'eel_alert_dialog_class_init': |
> eel-alert-dialog.c:114:43: warning: passing argument 2 of
> 'g_param_spec_int' makes pointer from integer without a cast |
> /home/Superandy/tmp/oe-core-eglibc/sysroots/overo/usr/include/glib-2.0/gobject/gparamspecs.h:993:13:
> note: expected 'const gchar *' but argument is of type 'int' |
> eel-alert-dialog.c:114:43: warning: passing argument 3 of
> 'g_param_spec_int' makes pointer from integer without a cast |
> /home/Superandy/tmp/oe-core-eglibc/sysroots/overo/usr/include/glib-2.0/gobject/gparamspecs.h:993:13:
> note: expected 'const gchar *' but argument is of type 'int' |
> eel-alert-dialog.c:123:35: warning: passing argument 2 of
> 'g_param_spec_enum' makes pointer from integer without a cast |
> /home/Superandy/tmp/oe-core-eglibc/sysroots/overo/usr/include/glib-2.0/gobject/gparamspecs.h:1040:13:
> note: expected 'const gchar *' but argument is of type 'int' |
> eel-alert-dialog.c:123:35: warning: passing argument 3 of
> 'g_param_spec_enum' makes pointer from integer without a cast |
> /home/Superandy/tmp/oe-core-eglibc/sysroots/overo/usr/include/glib-2.0/gobject/gparamspecs.h:1040:13:
> note: expected 'const gchar *' but argument is of type 'int' |
> eel-alert-dialog.c:132:35: warning: passing argument 2 of
> 'g_param_spec_enum' makes pointer from integer without a cast |
> /home/Superandy/tmp/oe-core-eglibc/sysroots/overo/usr/include/glib-2.0/gobject/gparamspecs.h:1040:13:
> note: expected 'const gchar *' but argument is of type 'int' |
> eel-alert-dialog.c:132:35: warning: passing argument 3 of
> 'g_param_spec_enum' makes pointer from integer without a cast |
> /home/Superandy/tmp/oe-core-eglibc/sysroots/overo/usr/include/glib-2.0/gobject/gparamspecs.h:1040:13:
> note: expected 'const gchar *' but argument is of type 'int' |
> eel-alert-dialog.c: In function 'eel_alert_dialog_init': |
> eel-alert-dialog.c:193:2: warning: passing argument 1 of
> 'gtk_expander_new_with_mnemonic' makes pointer from integer without a
> cast |
> /home/Superandy/tmp/oe-core-eglibc/sysroots/overo/usr/include/gtk-2.0/gtk/gtkexpander.h:66:12:
> note: expected 'const gchar *' but argument is of type 'int'
> 
> and
> 
> | In file included from nautilus-file.h:31:0, |                  from
> nautilus-bookmark.c:28: |
> ../libnautilus-private/nautilus-icon-info.h:75:16: error: expected '=',
> ',', ';', 'asm' or '__attribute__' before 'char' |
> ../libnautilus-private/nautilus-icon-info.h:76:16: error: expected '=',
> ',', ';', 'asm' or '__attribute__' before 'char' | make[2]: ***
> [nautilus-bookmark.lo] Error 1
> 
> [1] https://bugzilla.gnome.org/show_bug.cgi?id=661949
> 
> Signed-off-by: Andreas Müller <schnitzeltony@gmx.de> --- 
> .../nautilus/no-G_DISABLE_DEPRECATED.patch         |   44
> ++++++++++++++++++++ .../recipes-gnome/nautilus/nautilus_2.32.2.bb      |
> 3 +- 2 files changed, 46 insertions(+), 1 deletions(-) create mode 100644
> meta-gnome/recipes-gnome/nautilus/nautilus/no-G_DISABLE_DEPRECATED.patch
> 
> diff --git
> a/meta-gnome/recipes-gnome/nautilus/nautilus/no-G_DISABLE_DEPRECATED.patch
> b/meta-gnome/recipes-gnome/nautilus/nautilus/no-G_DISABLE_DEPRECATED.patch
>
> 
new file mode 100644
> index 0000000..43a6152 --- /dev/null +++
> b/meta-gnome/recipes-gnome/nautilus/nautilus/no-G_DISABLE_DEPRECATED.patch
>
> 
@@ -0,0 +1,44 @@
> +From e7233d98c114b03c7c8b96d1f41770452da14aa7 Mon Sep 17 00:00:00 2001 
> +From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmx.de> +Date:
> Mon, 17 Oct 2011 00:59:01 +0200 +Subject: [PATCH] nautilus build fails
> for newer glib versions +MIME-Version: 1.0 +Content-Type: text/plain;
> charset=UTF-8 +Content-Transfer-Encoding: 8bit + +build with glib-2.0
> v2.30.0 run into errors for at least G_CONST_RETURN missing + 
> +Signed-off-by: Andreas Müller <schnitzeltony@gmx.de> +--- + configure.in
> |    2 +- + eel/Makefile.am |    1 - + 2 files changed, 1 insertions(+),
> 2 deletions(-) + +diff --git a/configure.in b/configure.in +index
> 97e171e..859a097 100644 +--- a/configure.in ++++ b/configure.in +@@
> -342,7 +342,7 @@ AC_SUBST(CORE_CFLAGS) + CORE_LIBS="`$PKG_CONFIG --libs
> $CORE_MODULES` $x_libs" + AC_SUBST(CORE_LIBS) + 
> +-DISABLE_DEPRECATED_CFLAGS="-DG_DISABLE_DEPRECATED
> -DGDK_PIXBUF_DISABLE_DEPRECATED" 
> ++DISABLE_DEPRECATED_CFLAGS="-DGDK_PIXBUF_DISABLE_DEPRECATED" +
> AC_SUBST(DISABLE_DEPRECATED_CFLAGS) + + dnl Multimedia keys +diff --git
> a/eel/Makefile.am b/eel/Makefile.am +index b1fe356..c1d56cd 100644 +---
> a/eel/Makefile.am ++++ b/eel/Makefile.am +@@ -10,7 +10,6 @@ INCLUDES =
> \ + 	-DDATADIR=\""$(datadir)"\"			\ +
> -DSOURCE_DATADIR=\""$(top_srcdir)/data"\"	\ +
> -DGNOMELOCALEDIR=\""$(prefix)/${DATADIRNAME}/locale"\"	\ +-
> -DG_DISABLE_DEPRECATED				\ + 	-DGDK_PIXBUF_DISABLE_DEPRECATED			\ +
> -DGMENU_I_KNOW_THIS_IS_UNSTABLE			\ + 	$(NULL) +-- +1.7.4.4 + diff --git
> a/meta-gnome/recipes-gnome/nautilus/nautilus_2.32.2.bb
> b/meta-gnome/recipes-gnome/nautilus/nautilus_2.32.2.bb index
> 334679c..f34cbbe 100644 ---
> a/meta-gnome/recipes-gnome/nautilus/nautilus_2.32.2.bb +++
> b/meta-gnome/recipes-gnome/nautilus/nautilus_2.32.2.bb @@ -6,7 +6,7 @@
> LICENSE="GPLv2 && LGPLv2" LIC_FILES_CHKSUM =
> "file://COPYING;md5=7c0048536e43642a1f3a724c2909872b \ 
> file://COPYING.LIB;md5=f30a9716ef3762e3467a2f62bf790f0a"
> 
> -PR = "r4" +PR = "r5"
> 
> DEPENDS = "libunique gvfs librsvg libexif esound gnome-desktop
> orbit2-native" # optional: tracker @@ -18,6 +18,7 @@
> SRC_URI[archive.sha256sum] =
> "2d4ff28c7a7aa5d40eb2468149954a564c257a305183773057
> 
> SRC_URI += "file://idl-sysroot.patch \ file://no-try-run-strftime.diff \ 
> +            file://no-G_DISABLE_DEPRECATED.patch \ "
> 
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFOm9JNMkyGM64RGpERAj5AAKC2ixcQ1jG1rvwte5RDsdtCmaoMtACgmBmh
xfkDOPx2Vf7x9GtqjQGW4so=
=qWec
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-10-17  7:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-16 23:51 [meta-gnome 1/2] nautilus: fix compile errors by removing G_DISABLE_DEPRECATED Andreas Müller
2011-10-16 23:51 ` [meta-gnome 2/2] nautilus: cleanup package directories Andreas Müller
2011-10-17  6:46   ` Koen Kooi
2011-10-17  6:59 ` [meta-gnome 1/2] nautilus: fix compile errors by removing G_DISABLE_DEPRECATED Koen Kooi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.