All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 3/3] gconf: add upstream GNOME gconf 3.2.3 and drop gconf-dbus
Date: Wed, 09 Nov 2011 15:18:56 +0000	[thread overview]
Message-ID: <1320851936.10843.185.camel@ted> (raw)
In-Reply-To: <227a87e41b4906aeadd7f878c221beb9f938b1af.1320799787.git.josh@linux.intel.com>

On Tue, 2011-11-08 at 16:53 -0800, Joshua Lock wrote:
> The D-Bus backend has been integrated into upstream GConf so we can
> switch to upstream and drop gconf-dbus.
> 
> I've gone for a release in the 3.2 series as we disable Gtk+, and
> therefore are not impacted by the gtk+3 changes, and the D-Bus backend
> was unstable before this release.
> 
> Signed-off-by: Joshua Lock <josh@linux.intel.com>
> ---
>  meta/conf/distro/include/default-providers.inc     |    2 -
>  meta/conf/multilib.conf                            |    2 +-
>  meta/recipes-gnome/gnome/gconf-3.2.3/nointro.patch |   59 ++++++++++++++++++++
>  meta/recipes-gnome/gnome/gconf-dbus_705.bb         |   43 --------------
>  meta/recipes-gnome/gnome/gconf_3.2.3.bb            |   43 ++++++++++++++
>  5 files changed, 103 insertions(+), 46 deletions(-)
>  create mode 100644 meta/recipes-gnome/gnome/gconf-3.2.3/nointro.patch
>  delete mode 100644 meta/recipes-gnome/gnome/gconf-dbus_705.bb
>  create mode 100644 meta/recipes-gnome/gnome/gconf_3.2.3.bb
> 
> diff --git a/meta/conf/distro/include/default-providers.inc b/meta/conf/distro/include/default-providers.inc
> index be23d36..afea5e7 100644
> --- a/meta/conf/distro/include/default-providers.inc
> +++ b/meta/conf/distro/include/default-providers.inc
> @@ -21,8 +21,6 @@ VIRTUAL-RUNTIME_update-alternatives ?= "update-alternatives-cworth"
>  #
>  PREFERRED_PROVIDER_dbus-glib ?= "dbus-glib"
>  PREFERRED_PROVIDER_dbus-glib-native ?= "dbus-glib-native"
> -PREFERRED_PROVIDER_gconf ?= "gconf-dbus"
> -PREFERRED_PROVIDER_gconf-native ?= "gconf-dbus-native"
>  PREFERRED_PROVIDER_gdk-pixbuf ?= "gdk-pixbuf"
>  PREFERRED_PROVIDER_libgcc ?= "libgcc"
>  PREFERRED_PROVIDER_libgcc-nativesdk ?= "libgcc-nativesdk"
> diff --git a/meta/conf/multilib.conf b/meta/conf/multilib.conf
> index 5e4b435..de53540 100644
> --- a/meta/conf/multilib.conf
> +++ b/meta/conf/multilib.conf
> @@ -103,7 +103,7 @@ BBCLASSEXTEND_append_pn-gcc-cross-initial = " ${MULTILIBS}"
>  BBCLASSEXTEND_append_pn-gcc-cross-intermediate = " ${MULTILIBS}"
>  BBCLASSEXTEND_append_pn-gcc-cross = " ${MULTILIBS}"
>  BBCLASSEXTEND_append_pn-gcc-runtime = " ${MULTILIBS}"
> -BBCLASSEXTEND_append_pn-gconf-dbus = " ${MULTILIBS}"
> +BBCLASSEXTEND_append_pn-gconf = " ${MULTILIBS}"
>  BBCLASSEXTEND_append_pn-gdbm = " ${MULTILIBS}"
>  BBCLASSEXTEND_append_pn-gdb = " ${MULTILIBS}"
>  BBCLASSEXTEND_append_pn-gdk-pixbuf = " ${MULTILIBS}"
> diff --git a/meta/recipes-gnome/gnome/gconf-3.2.3/nointro.patch b/meta/recipes-gnome/gnome/gconf-3.2.3/nointro.patch
> new file mode 100644
> index 0000000..29181e3
> --- /dev/null
> +++ b/meta/recipes-gnome/gnome/gconf-3.2.3/nointro.patch
> @@ -0,0 +1,59 @@
> +This is a hacky way to prevent GConf from trying to build the introspection related pieces.
> +Clearly not appropriate for upstream.
> +
> +Upstream-Status: Inappropriate
> +
> +Signed-off-by: Joshua Lock <josh@linux.intel.com>
> +
> +Index: GConf-3.2.2/gconf/Makefile.am
> +===================================================================
> +--- GConf-3.2.2.orig/gconf/Makefile.am
> ++++ GConf-3.2.2/gconf/Makefile.am
> +@@ -145,34 +145,6 @@ libgconf_2_la_LDFLAGS = -version-info $(
> + 
> + libgconf_2_la_LIBADD = $(INTLLIBS) $(DEPENDENT_LIBS) $(DEPENDENT_DBUS_LIBS) $(DEPENDENT_ORBIT_LIBS)
> + 
> +--include $(INTROSPECTION_MAKEFILE)
> +-INTROSPECTION_GIRS =
> +-INTROSPECTION_SCANNER_ARGS = --warn-all --add-include-path=$(srcdir)
> +-INTROSPECTION_COMPILER_ARGS= --includedir=$(srcdir)
> +-
> +-if HAVE_INTROSPECTION
> +-introspection_files =				\
> +-	$(gconfinclude_HEADERS)			\
> +-	$(filter-out $(CORBA_SOURCECODE), $(filter %.c,$(libgconf_2_la_SOURCES)))
> +-GConf-2.0.gir: libgconf-2.la Makefile
> +-GConf_2_0_gir_INCLUDES = GObject-2.0
> +-GConf_2_0_gir_CFLAGS = \
> +-	$(INCLUDES)
> +-GConf_2_0_gir_LIBS = libgconf-2.la
> +-GConf_2_0_gir_FILES = $(addprefix $(srcdir)/, $(introspection_files))
> +-GConf_2_0_gir_SCANNERFLAGS = --identifier-prefix=GConf --symbol-prefix=gconf --c-include "gconf/gconf.h"
> +-GConf_2_0_gir_EXPORT_PACKAGES = gconf-2.0
> +-INTROSPECTION_GIRS += GConf-2.0.gir
> +-
> +-girdir = $(datadir)/gir-1.0/
> +-gir_DATA = $(INTROSPECTION_GIRS)
> +-
> +-typelibsdir = $(libdir)/girepository-1.0/
> +-typelibs_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
> +-
> +-CLEANFILES += $(gir_DATA) $(typelibs_DATA)
> +-endif
> +-
> + EXTRA_DIST=GConfX.idl default.path.in org.gnome.GConf.service.in gconfmarshal.list regenerate-enum-header.sh regenerate-enum-footer.sh
> + 
> + default.path: $(srcdir)/default.path.in
> +Index: GConf-3.2.2/configure.in
> +===================================================================
> +--- GConf-3.2.2.orig/configure.in
> ++++ GConf-3.2.2/configure.in
> +@@ -354,8 +354,6 @@ AM_GLIB_GNU_GETTEXT
> + 
> + AC_CHECK_FUNCS(bind_textdomain_codeset)
> + 
> +-GOBJECT_INTROSPECTION_CHECK([0.9.5])
> +-
> + AC_SUBST(CFLAGS)
> + AC_SUBST(CPPFLAGS)
> + AC_SUBST(LDFLAGS)
> diff --git a/meta/recipes-gnome/gnome/gconf-dbus_705.bb b/meta/recipes-gnome/gnome/gconf-dbus_705.bb
> deleted file mode 100644
> index 52e8a08..0000000
> --- a/meta/recipes-gnome/gnome/gconf-dbus_705.bb
> +++ /dev/null
> @@ -1,43 +0,0 @@
> -DESCRIPTION = "Settings daemon using DBUS for communication."
> -SECTION = "x11/utils"
> -LICENSE = "LGPLv2+"
> -LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605"
> -
> -DEPENDS = "intltool-native virtual/libintl glib-2.0 dbus dbus-glib libxml2 popt gtk-doc-native"
> -PROVIDES = "gconf"
> -RPROVIDES_${PN} = "gconf"
> -RPROVIDES_${PN}-dev = "gconf-dev"
> -
> -#SRCREV = "705"
> -#PV = "2.16.0+svnr${SRCPV}"
> -PR = "r2"
> -
> -# This SVN repo is no longer available use a tarball mirror site until
> -# we move to proper gconf recipe.
> -#SRC_URI = "svn://developer.imendio.com/svn/gconf-dbus;module=trunk;proto=http"
> -SRC_URI = "http://autobuilder.pokylinux.org/sources/trunk_developer.imendio.com_.svn.gconf-dbus_705_.tar.gz"
> -
> -SRC_URI[md5sum] = "dba8d534b0c6262d24817c842b36369d"
> -SRC_URI[sha256sum] = "5552b1884d42d4072a199c93e35a28dc1799f9166baefbf9243394966039e416"
> -
> -S = "${WORKDIR}/trunk"
> -
> -inherit pkgconfig autotools
> -
> -PARALLEL_MAKE = ""
> -
> -
> -EXTRA_OECONF = "--disable-gtk-doc --disable-gtk --enable-shared --disable-static --enable-debug=yes"
> -
> -
> -do_configure_prepend() {
> -        touch gtk-doc.make
> -}
> -
> -FILES_${PN} = "${libdir}/GConf-dbus/2/*.so ${libdir}/dbus-1.0 ${sysconfdir} ${datadir}/dbus* ${libdir}/*.so.* ${bindir}/* ${libexecdir}/*"
> -FILES_${PN}-dbg += " ${libdir}/GConf-dbus/2/.debug"
> -FILES_${PN}-dev += "${datadir}/sgml/gconf/gconf-1.0.dtd \
> -		    ${libdir}/GConf-dbus/2/*.la"
> -
> -BBCLASSEXTEND = "native"
> -
> diff --git a/meta/recipes-gnome/gnome/gconf_3.2.3.bb b/meta/recipes-gnome/gnome/gconf_3.2.3.bb
> new file mode 100644
> index 0000000..0e06cb5
> --- /dev/null
> +++ b/meta/recipes-gnome/gnome/gconf_3.2.3.bb
> @@ -0,0 +1,43 @@
> +DESCRIPTION = "GNOME configuration system"
> +SECTION = "x11/gnome"
> +LICENSE = "LGPLv2+"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605"
> +
> +DEPENDS = "glib-2.0 dbus dbus-glib libxml2 intltool-native polkit"

I can't build a sato image with this due to nothing providing
polkit-native :(

Cheers,

Richard




  reply	other threads:[~2011-11-09 15:25 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-09  0:53 [PATCH 0/3] Switch to upstream GConf Joshua Lock
2011-11-09  0:53 ` [PATCH 1/3] shared-mime-info: package runtime data separately Joshua Lock
2011-11-18 12:20   ` Rainer Koenig
2011-11-23 21:45     ` Khem Raj
2011-11-23 21:59       ` Koen Kooi
2011-11-09  0:53 ` [PATCH 2/3] classes/[gnome|gnomebase|mime]: enhance gnome related classes Joshua Lock
2011-11-09  9:27   ` Koen Kooi
2011-11-09  9:37     ` Richard Purdie
2011-11-09 10:27       ` Koen Kooi
2011-11-09 10:35         ` Richard Purdie
2011-11-09 11:18           ` Koen Kooi
2011-11-09 20:20             ` Joshua Lock
2011-11-09 19:14     ` Joshua Lock
2011-11-09  0:53 ` [PATCH 3/3] gconf: add upstream GNOME gconf 3.2.3 and drop gconf-dbus Joshua Lock
2011-11-09 15:18   ` Richard Purdie [this message]
2011-11-10 12:26 ` [PATCH 0/3] Switch to upstream GConf Richard Purdie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1320851936.10843.185.camel@ted \
    --to=richard.purdie@linuxfoundation.org \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.