diff options
author | 2009-06-04 10:54:37 +0530 | |
---|---|---|
committer | 2009-06-04 13:15:37 +0530 | |
commit | 37a9a10631bb1875c4d9ff2de9819378e48d2d93 (patch) | |
tree | 20e912cb447016cd778922b683afa1472819cc6e | |
parent | app-crypt/seahorse-plugins,seahorse: Update ebuild (diff) | |
download | gnome-live-37a9a10631bb1875c4d9ff2de9819378e48d2d93.tar.gz gnome-live-37a9a10631bb1875c4d9ff2de9819378e48d2d93.tar.bz2 gnome-live-37a9a10631bb1875c4d9ff2de9819378e48d2d93.zip |
gnome-base/gconf: Sync with tree
-rw-r--r-- | gnome-base/gconf/Manifest | 5 | ||||
-rw-r--r-- | gnome-base/gconf/files/gconf-2.24.0-no-gconfd.patch (renamed from gnome-base/gconf/files/gconf-no-gconfd.patch) | 0 | ||||
-rw-r--r-- | gnome-base/gconf/files/gconf-HEAD-autofoo.patch | 299 | ||||
-rw-r--r-- | gnome-base/gconf/gconf-9999.ebuild | 57 |
4 files changed, 38 insertions, 323 deletions
diff --git a/gnome-base/gconf/Manifest b/gnome-base/gconf/Manifest index ad886e7..1d4b353 100644 --- a/gnome-base/gconf/Manifest +++ b/gnome-base/gconf/Manifest @@ -1,3 +1,2 @@ -AUX gconf-HEAD-autofoo.patch 9431 RMD160 6611671dfa1ac5945fe582533546fe509db55b5a SHA1 85ac3c120066fcf346d27dce297cd2ee14005a52 SHA256 e40349228788df2d2b6acb42da4a709f0efff59181b024a6f2feedf2fcf363c1 -AUX gconf-no-gconfd.patch 787 RMD160 bbcd0e1dd0f49053522e703c33a9befb392b2203 SHA1 ccc94c4766a29f1bb3f16c1d1995996ba682686a SHA256 f8352648276d2a2dab162ddade55ec0371e7c4f8bc3834de246fda8c32c66d3c -EBUILD gconf-9999.ebuild 1676 RMD160 837dbcdaf9e31f559e1fa936e14832112e3a1577 SHA1 88dc96f96047c5667f8095b3712beb28eb668989 SHA256 ee8a39b7d6a5da8f4a74495f0af406281089a67d518b3273a1e5339a6ca2eddb +AUX gconf-2.24.0-no-gconfd.patch 787 RMD160 bbcd0e1dd0f49053522e703c33a9befb392b2203 SHA1 ccc94c4766a29f1bb3f16c1d1995996ba682686a SHA256 f8352648276d2a2dab162ddade55ec0371e7c4f8bc3834de246fda8c32c66d3c +EBUILD gconf-9999.ebuild 2260 RMD160 d7f17e249ef93753f8e37c9e7dbb1e510e5a4156 SHA1 2e8a9522faee6fd1a0a4db73aee7615be01486f0 SHA256 723875a469b40111077512248903a45c98e8a36aeef80e70f0d2bf1cd067911c diff --git a/gnome-base/gconf/files/gconf-no-gconfd.patch b/gnome-base/gconf/files/gconf-2.24.0-no-gconfd.patch index 8ca6a0d..8ca6a0d 100644 --- a/gnome-base/gconf/files/gconf-no-gconfd.patch +++ b/gnome-base/gconf/files/gconf-2.24.0-no-gconfd.patch diff --git a/gnome-base/gconf/files/gconf-HEAD-autofoo.patch b/gnome-base/gconf/files/gconf-HEAD-autofoo.patch deleted file mode 100644 index 060291b..0000000 --- a/gnome-base/gconf/files/gconf-HEAD-autofoo.patch +++ /dev/null @@ -1,299 +0,0 @@ ---- configure.in.old 2008-09-20 23:56:00.000000000 +0200 -+++ configure.in 2008-09-20 23:56:44.000000000 +0200 -@@ -1,11 +1,16 @@ --AC_INIT([GConf],[2.24.0],[http://bugzilla.gnome.org/enter_bug.cgi?product=GConf],[GConf]) -+AC_PREREQ(2.60) -+ -+AC_INIT([GConf], -+ [2.23.2], -+ [http://bugzilla.gnome.org/enter_bug.cgi?product=GConf], -+ [GConf]) - - AC_DEFUN([AC_FYI], [echo "FYI: " $1]) - - AC_CONFIG_SRCDIR([gconf/gconf.h]) --AM_CONFIG_HEADER(config.h) -+AM_CONFIG_HEADER([config.h]) - --AM_INIT_AUTOMAKE([1.9 no-dist-gzip dist-bzip2]) -+AM_INIT_AUTOMAKE([1.9 no-dist-gzip dist-bzip2 -Wall]) - - AM_MAINTAINER_MODE - -@@ -19,14 +24,14 @@ - ;; - esac - --AM_CONDITIONAL(OS_WIN32, [test "$os_win32" = "yes"]) -+AM_CONDITIONAL(OS_WIN32, [test "x$os_win32" = "xyes"]) - --if test "$os_win32" = "yes"; then -- if test x$enable_static = xyes -o x$enable_static = x; then -+if test "x$os_win32" = "xyes"; then -+ if test "x$enable_static" = "xyes" -o "x$enable_static" = "x"; then - AC_MSG_WARN([Disabling static library build, must build as DLL on Windows.]) - enable_static=no - fi -- if test x$enable_shared = xno; then -+ if test "x$enable_shared" = "xno"; then - AC_MSG_WARN([Enabling shared library build, must build as DLL on Windows.]) - fi - enable_shared=yes -@@ -44,19 +49,19 @@ - changequote(,)dnl - if test "x$GCC" = "xyes"; then - case " $CFLAGS " in -- *[\ \ ]-Wall[\ \ ]*) ;; -- *) CFLAGS="$CFLAGS -Wall" ;; -+ *[\ \ ]-Wall[\ \ ]*) ;; -+ *) CFLAGS="$CFLAGS -Wall" ;; - esac - - if test "x$enable_ansi" = "xyes"; then - case " $CFLAGS " in -- *[\ \ ]-ansi[\ \ ]*) ;; -- *) CFLAGS="$CFLAGS -ansi" ;; -+ *[\ \ ]-ansi[\ \ ]*) ;; -+ *) CFLAGS="$CFLAGS -ansi" ;; - esac - - case " $CFLAGS " in -- *[\ \ ]-pedantic[\ \ ]*) ;; -- *) CFLAGS="$CFLAGS -pedantic" ;; -+ *[\ \ ]-pedantic[\ \ ]*) ;; -+ *) CFLAGS="$CFLAGS -pedantic" ;; - esac - fi - fi -@@ -76,12 +81,12 @@ - dnl increment if the interface has additions, changes, removals. - GCONF_CURRENT=5 - --dnl increment any time the source changes; set to -+dnl increment any time the source changes; set to - dnl 0 if you increment CURRENT - GCONF_REVISION=5 - - dnl increment if any interfaces have been added; set to 0 --dnl if any interfaces have been removed. removal has -+dnl if any interfaces have been removed. removal has - dnl precedence over adding, so set to 0 if both happened. - GCONF_AGE=1 - -@@ -97,14 +102,16 @@ - REAL_PREFIX=$prefix - fi - --AC_ARG_WITH(sysconfsubdir, AC_HELP_STRING([--with-sysconfsubdir], -- [directory name used under sysconfdir, default=gconf]), -- sysconfsubdir=${withval}, sysconfsubdir=gconf) -+AC_ARG_WITH(sysconfsubdir, -+ AS_HELP_STRING([--with-sysconfsubdir], -+ [directory name used under sysconfdir @<:@default=gconf@:>@]), -+ sysconfsubdir=${withval}, sysconfsubdir=gconf) - AC_SUBST(sysconfsubdir) --if test x"${sysconfsubdir}" != x; then -- sysgconfdir='${sysconfdir}/${sysconfsubdir}' -+ -+if test "x${sysconfsubdir}" != "x"; then -+ sysgconfdir='${sysconfdir}/${sysconfsubdir}' - else -- sysgconfdir='${sysconfdir}' -+ sysgconfdir='${sysconfdir}' - fi - AC_SUBST(sysgconfdir) - -@@ -112,24 +119,29 @@ - ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS" - - dnl Default to debug spew in unstable branch --AC_ARG_ENABLE(debug, -- [ --enable-debug=[no/yes/minimum] Compile with debug checks.],,enable_debug=minimum) -+AC_ARG_ENABLE(debug, -+ AS_HELP_STRING([--enable-debug=@<:@no/yes/minimum@:>@], -+ [Compile with debug checks.]), -+ ,enable_debug=minimum) - - if test "x$enable_debug" = "xyes"; then -- CFLAGS="$CFLAGS -DGCONF_ENABLE_DEBUG=1" -- AC_FYI("Will build with debugging spew and checks") -+ CFLAGS="$CFLAGS -DGCONF_ENABLE_DEBUG=1" -+ AC_FYI("Will build with debugging spew and checks") - else - if test "x$enable_debug" = "xno"; then -- CFLAGS="$CFLAGS -DG_DISABLE_CHECKS=1 -DG_DISABLE_ASSERT=1" -- AC_FYI("Will build without *any* debugging code") -+ CFLAGS="$CFLAGS -DG_DISABLE_CHECKS=1 -DG_DISABLE_ASSERT=1" -+ AC_FYI("Will build without *any* debugging code") - else -- AC_FYI("Will build with debug checks but no debug spew") -+ AC_FYI("Will build with debug checks but no debug spew") - fi - fi - - GTK_DOC_CHECK([1.0]) - --AC_ARG_ENABLE(gtk, [ --enable-gtk Enable GTK+ support (for gconf-sanity-check) [default=auto]], enable_gtk="$enableval", enable_gtk=auto) -+AC_ARG_ENABLE(gtk, -+ AS_HELP_STRING([--enable-gtk], -+ [Enable GTK+ support (for gconf-sanity-check) @<:@default=auto@:>@]), -+ enable_gtk="$enableval", enable_gtk=auto) - - PKGCONFIG_MODULES='glib-2.0 > 2.14.0 gmodule-2.0 >= 2.7.0 gobject-2.0 >= 2.7.0 ORBit-2.0 >= 2.4.0 dbus-1 >= 1.0.0 dbus-glib-1 >= 0.74' - PKGCONFIG_MODULES_WITH_XML="$PKGCONFIG_MODULES libxml-2.0" -@@ -141,8 +153,7 @@ - - if test "x$enable_gtk" != "xno"; then - PKG_CHECK_MODULES(DEPENDENT_WITH_GTK, $PKGCONFIG_MODULES_WITH_GTK, HAVE_GTK=yes, HAVE_GTK=no) -- PKG_CHECK_MODULES(DEPENDENT_WITH_XML_AND_GTK, $PKGCONFIG_MODULES_WITH_XML_AND_GTK, , -- DEPENDENT_WITH_XML_AND_GTK_CFLAGS=$DEPENDENT_WITH_XML_CFLAGS DEPENDENT_WITH_XML_AND_GTK_LIBS=$DEPENDENT_WITH_XML_LIBS) -+ PKG_CHECK_MODULES(DEPENDENT_WITH_XML_AND_GTK, $PKGCONFIG_MODULES_WITH_XML_AND_GTK, , DEPENDENT_WITH_XML_AND_GTK_CFLAGS=$DEPENDENT_WITH_XML_CFLAGS DEPENDENT_WITH_XML_AND_GTK_LIBS=$DEPENDENT_WITH_XML_LIBS) - - if test "x$enable_gtk" = "xyes" && test "x$HAVE_GTK" = "xno"; then - AC_MSG_ERROR([[ -@@ -155,7 +166,7 @@ - DEPENDENT_WITH_XML_AND_GTK_LIBS=$DEPENDENT_WITH_XML_LIBS - fi - --AM_CONDITIONAL(GTK, test x$HAVE_GTK != xno) -+AM_CONDITIONAL(GTK, [test "x$HAVE_GTK" != "xno"]) - - AC_SUBST(DEPENDENT_LIBS) - AC_SUBST(DEPENDENT_CFLAGS) -@@ -166,19 +177,20 @@ - AC_SUBST(DEPENDENT_WITH_XML_AND_GTK_LIBS) - AC_SUBST(DEPENDENT_WITH_XML_AND_GTK_CFLAGS) - -+enable_defaults_service=no -+HAVE_POLKIT=no - AC_ARG_ENABLE(defaults-service, -- [AC_HELP_STRING([--enable-defaults-service], -- [build the defaults DBus service [default=auto]])], -- [enable_defaults_service="$enableval"], -- [enable_defaults_service=auto]) -+ AS_HELP_STRING([--enable-defaults-service], -+ [build the defaults DBus service @<:@default=auto@:>@])], -+ [enable_defaults_service="$enableval"], -+ [enable_defaults_service=auto]) -+ - if test "x$enable_defaults_service" != "xno" ; then -- PKG_CHECK_MODULES(DEFAULTS, glib-2.0 gobject-2.0 dbus-1 dbus-glib-1 polkit-dbus, HAVE_POLKIT=yes, HAVE_POLKIT=no) -+ PKG_CHECK_MODULES(DEFAULTS, glib-2.0 gobject-2.0 dbus-1 dbus-glib-1 polkit-dbus, HAVE_POLKIT=yes) - if test "x$HAVE_POLKIT" = "xno"; then - if test "x$enable_defaults_service" = "xyes" ; then - AC_MSG_ERROR([[ - *** Could not find PolicyKit.]]) -- else -- enable_defaults_service=no - fi - else - enable_defaults_service=yes -@@ -201,42 +213,63 @@ - AC_SUBST(ORBIT_IDL) - - AC_CHECK_HEADER(pthread.h, have_pthreads=yes) --AM_CONDITIONAL(PTHREADS, test -n "$have_pthreads") -+AM_CONDITIONAL(PTHREADS, [test -n "$have_pthreads"]) - - AC_CHECK_HEADERS(syslog.h sys/wait.h) - - AC_CHECK_FUNCS(getuid sigaction fsync fchmod fdwalk) - -+dnl ************************************************** -+dnl LDAP support. -+dnl ************************************************** -+ -+AC_ARG_WITH(openldap, -+ AS_HELP_STRING([--with-openldap], -+ [Enable LDAP backend @<:@default=auto@:>@]), -+ ,with_openldap=auto) - - LDAP_LIBS= --AC_CHECK_HEADER(ldap.h, [ -+ -+if test "x$with_openldap" != "xno"; then -+ AC_CHECK_HEADER(ldap.h, [ - AC_CHECK_LIB(ldap, ldap_init, AC_CHECK_LIB(lber, ber_free, [LDAP_LIBS="-lldap -llber"])) - ]) --AC_SUBST(LDAP_LIBS) --AM_CONDITIONAL(LDAP_SUPPORT, test -n "$LDAP_LIBS") - --dnl ************************************************** --dnl LDAP support. --dnl ************************************************** --if test "$os_win32" != yes; then -+ if test "x$os_win32" != "xyes"; then -+ SAVE_CFLAGS="$CFLAGS" -+ SAVE_LIBS="$LIBS" -+ LDAP_CFLAGS="-DLDAP_DEPRECATED" -+ CFLAGS="$CFLAGS $LDAP_CFLAGS" -+ LIBS="$LIBS $LDAP_LIBS" -+ AC_CHECK_FUNCS(ldap_ntlm_bind) -+ CFLAGS="$SAVE_CFLAGS" -+ LIBS="$SAVE_LIBS" -+ -+ else # Win32 -+ LDAP_CFLAGS="-DLDAP_DEPRECATED" -+ LDAP_LIBS="-lwldap32" -+ AC_SUBST(LDAP_CFLAGS) -+ AC_SUBST(LDAP_LIBS) -+ AC_DEFINE(HAVE_LDAP,1,[Define if you have LDAP support]) -+ msg_ldap="yes" -+ -+ fi # Win32 -+ -+ if test -z "$LDAP_LIBS"; then -+ if test "x$with_openldap" = "xyes"; then -+ AC_MSG_ERROR([*** LDAP support explicitely requested but not found ***]) -+ else -+ AC_MSG_WARN([*** LDAP support not found ***]) -+ fi -+ fi - --SAVE_CFLAGS="$CFLAGS" --SAVE_LIBS="$LIBS" --LDAP_CFLAGS="-DLDAP_DEPRECATED" --CFLAGS="$CFLAGS $LDAP_CFLAGS" --LIBS="$LIBS $LDAP_LIBS" --AC_CHECK_FUNCS(ldap_ntlm_bind) --CFLAGS="$SAVE_CFLAGS" --LIBS="$SAVE_LIBS" -- --else # Win32 --LDAP_CFLAGS="-DLDAP_DEPRECATED" --LDAP_LIBS="-lwldap32" -+ have_ldap=yes -+else -+ have_ldap=no -+fi - AC_SUBST(LDAP_CFLAGS) - AC_SUBST(LDAP_LIBS) --AC_DEFINE(HAVE_LDAP,1,[Define if you have LDAP support]) --msg_ldap="yes" --fi # Win32 -+AM_CONDITIONAL(LDAP_SUPPORT, [test -n "$LDAP_LIBS"]) - - IT_PROG_INTLTOOL([0.35.0]) - -@@ -274,7 +307,7 @@ - - REBUILD=\# - if test $_found_perl -eq 1; then -- if test -n "$AWK" ; then -+ if test -n "$AWK" ; then - REBUILD= - fi - fi -@@ -296,3 +329,12 @@ - ]) - - AC_OUTPUT -+ -+echo " -+ sysconfsubdir: ${sysconfsubdir} -+ -+ gtk+: ${HAVE_GTK} -+ ldap: ${have_ldap} -+ policykit: ${HAVE_POLKIT} -+ -+" diff --git a/gnome-base/gconf/gconf-9999.ebuild b/gnome-base/gconf/gconf-9999.ebuild index 47a97bd..9b2a175 100644 --- a/gnome-base/gconf/gconf-9999.ebuild +++ b/gnome-base/gconf/gconf-9999.ebuild @@ -1,49 +1,62 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: $ +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gconf/gconf-2.26.2.ebuild,v 1.1 2009/05/16 09:47:56 eva Exp $ -inherit gnome2 gnome2-live +EAPI="2" + +inherit eutils gnome2 gnome2-live DESCRIPTION="Gnome Configuration System and Daemon" HOMEPAGE="http://www.gnome.org/" LICENSE="LGPL-2" SLOT="2" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" IUSE="debug doc ldap policykit" -RDEPEND=">=dev-libs/glib-2.10 - >=x11-libs/gtk+-2.8.16 - >=gnome-base/orbit-2.4 - >=dev-libs/libxml2-2 - ldap? ( net-nds/openldap )" +RDEPEND=">=dev-libs/glib-2.14 + >=x11-libs/gtk+-2.8.16 + >=dev-libs/dbus-glib-0.74 + >=sys-apps/dbus-1 + >=gnome-base/orbit-2.4 + >=dev-libs/libxml2-2 + ldap? ( net-nds/openldap ) + policykit? ( >=sys-auth/policykit-0.7 )" DEPEND="${RDEPEND} - >=dev-util/intltool-0.35 - >=dev-util/pkgconfig-0.9 - >=dev-util/gtk-doc-am-1.10 - doc? ( >=dev-util/gtk-doc-1 )" + >=dev-util/intltool-0.35 + >=dev-util/pkgconfig-0.9 + >=dev-util/gtk-doc-am-1.10 + doc? ( >=dev-util/gtk-doc-1 )" DOCS="AUTHORS ChangeLog NEWS README TODO" -#PATCHES="${PN}-HEAD-autofoo.patch -PATCHES=" ${PN}-no-gconfd.patch" +PATCHES="${FILESDIR}/${PN}-2.24.0-no-gconfd.patch" pkg_setup() { G2CONF="${G2CONF} --enable-gtk + --disable-static $(use_enable debug) - $(use_enable policykit defaults-service) - $(use_with ldap openldap)" + $(use_with ldap openldap) + $(use_enable policykit defaults-service)" kill_gconf + + # Need host's IDL compiler for cross or native build, bug #262747 + export EXTRA_EMAKE="${EXTRA_EMAKE} ORBIT_IDL=/usr/bin/orbit-idl-2" } +# Can't run tests, missing script. +#src_test() { +# emake -C tests || die "make tests failed" +# sh "${S}"/tests/runtests.sh || die "running tests failed" +#} + src_install() { gnome2_src_install - # hack hack - #dodir /etc/gconf/gconf.xml.mandatory - #dodir /etc/gconf/gconf.xml.defaults keepdir /etc/gconf/gconf.xml.mandatory keepdir /etc/gconf/gconf.xml.defaults + # Make sure this directory exists, bug #268070, upstream #572027 + keepdir /etc/gconf/gconf.xml.system echo 'CONFIG_PROTECT_MASK="/etc/gconf"' > 50gconf doenvd 50gconf || die "doenv failed" @@ -57,12 +70,14 @@ pkg_preinst() { pkg_postinst() { kill_gconf - #change the permissions to avoid some gconf bugs + # change the permissions to avoid some gconf bugs einfo "changing permissions for gconf dirs" find /etc/gconf/ -type d -exec chmod ugo+rx "{}" \; einfo "changing permissions for gconf files" find /etc/gconf/ -type f -exec chmod ugo+r "{}" \; + + gnome2-live_pkg_postinst } kill_gconf() { |