Accepting request 58272 from home:vuntz:branches:GNOME:Factory

OBS-URL: https://build.opensuse.org/request/show/58272
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-desktop?expand=0&rev=101
This commit is contained in:
Dominique Leuenberger 2011-01-16 15:44:53 +00:00 committed by Git OBS Bridge
parent f9911c669a
commit 09b7c55677
4 changed files with 91 additions and 22 deletions

View File

@ -1,3 +0,0 @@
<services>
<service name="tar_scm"><param name="versionprefix">2.91.6git</param><param name="url">git://git.gnome.org/gnome-desktop</param><param name="scm">git</param></service>
<service name="recompress"><param name="file">*.tar</param><param name="compression">bz2</param></service><service name="set_version"/></services>

View File

@ -0,0 +1,36 @@
commit a2c837a301a0a0a6d1b94b329af16359c2c701e6
Author: Vincent Untz <vuntz@gnome.org>
Date: Fri Jan 14 16:22:16 2011 +0100
build: Do not pretend we need gconf for introspection
Index: gnome-desktop-2.91.6/libgnome-desktop/Makefile.am
===================================================================
--- gnome-desktop-2.91.6.orig/libgnome-desktop/Makefile.am
+++ gnome-desktop-2.91.6/libgnome-desktop/Makefile.am
@@ -73,8 +73,8 @@ INTROSPECTION_COMPILER_ARGS = --included
if HAVE_INTROSPECTION
GnomeDesktop-3.0.gir: libgnome-desktop-3.la
-GnomeDesktop_3_0_gir_INCLUDES = GObject-2.0 Gtk-3.0 GConf-2.0
-GnomeDesktop_3_0_gir_PACKAGES = gdk-pixbuf-2.0 glib-2.0 gobject-2.0 gio-2.0 gtk+-3.0 gconf-2.0 gsettings-desktop-schemas
+GnomeDesktop_3_0_gir_INCLUDES = GObject-2.0 Gtk-3.0
+GnomeDesktop_3_0_gir_PACKAGES = gdk-pixbuf-2.0 glib-2.0 gobject-2.0 gio-2.0 gtk+-3.0 gsettings-desktop-schemas
GnomeDesktop_3_0_gir_CFLAGS = -DGNOME_DESKTOP_USE_UNSTABLE_API -I$(top_srcdir)
GnomeDesktop_3_0_gir_LIBS = libgnome-desktop-3.la
GnomeDesktop_3_0_gir_FILES = $(introspection_sources) $(libgnome_desktop_HEADERS)
Index: gnome-desktop-2.91.6/libgnome-desktop/Makefile.in
===================================================================
--- gnome-desktop-2.91.6.orig/libgnome-desktop/Makefile.in
+++ gnome-desktop-2.91.6/libgnome-desktop/Makefile.in
@@ -382,8 +382,8 @@ pnpdata_DATA_dist = pnp.ids
INTROSPECTION_GIRS = $(am__append_1)
INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir) --warn-all
INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
-@HAVE_INTROSPECTION_TRUE@GnomeDesktop_3_0_gir_INCLUDES = GObject-2.0 Gtk-3.0 GConf-2.0
-@HAVE_INTROSPECTION_TRUE@GnomeDesktop_3_0_gir_PACKAGES = gdk-pixbuf-2.0 glib-2.0 gobject-2.0 gio-2.0 gtk+-3.0 gconf-2.0 gsettings-desktop-schemas
+@HAVE_INTROSPECTION_TRUE@GnomeDesktop_3_0_gir_INCLUDES = GObject-2.0 Gtk-3.0
+@HAVE_INTROSPECTION_TRUE@GnomeDesktop_3_0_gir_PACKAGES = gdk-pixbuf-2.0 glib-2.0 gobject-2.0 gio-2.0 gtk+-3.0 gsettings-desktop-schemas
@HAVE_INTROSPECTION_TRUE@GnomeDesktop_3_0_gir_CFLAGS = -DGNOME_DESKTOP_USE_UNSTABLE_API -I$(top_srcdir)
@HAVE_INTROSPECTION_TRUE@GnomeDesktop_3_0_gir_LIBS = libgnome-desktop-3.la
@HAVE_INTROSPECTION_TRUE@GnomeDesktop_3_0_gir_FILES = $(introspection_sources) $(libgnome_desktop_HEADERS)

View File

@ -1,21 +1,42 @@
-------------------------------------------------------------------
Fri Jan 14 15:25:14 CET 2011 - vuntz@opensuse.org
- Remove pkgconfig(gconf-2.0) BuildRequires: it's all ported to
GSettings now.
- Add gobject-introspection-devel BuildRequires to build
introspection data.
- Add gnome-desktop-gir-no-gconf.patch to fix build of
introspection data, taken from git.
- Add back --disable-date-in-gnome-version and
--with-gnome-distributor="SUSE" to configure: gnome-version.xml
is back.
- Do not build the gnome-version subpackage if
IS_DEFAULT_GNOME_DESKTOP is 0, unless BUILD_FROM_VCS is defined.
-------------------------------------------------------------------
Wed Jan 12 10:20:36 UTC 2011 - fcrozat@novell.com
- Update to version 2.91.6:
+ Prevent gnome-settings-daemon from crashing at startup
- Change from 2.91.5 :
+ libgnome-desktop :
* gnome-desktop-utils has been ported to GSettings (bgo#638169)
* GnomeRRScreen, GnomeRRConfig and GnomeOutputInfo have been
turned into a GObjects (bgo#630913) API change!
* The GnomeRR api is introspectable now
* Switch thumbnailers from GConf to key files (bgo#638172)
+ Translations update
+ libgnome-desktop:
- Prevent gnome-settings-daemon from crashing at startup
+ Misc:
- Add back gnome-version.xml.
- Changes from version 2.91.5:
+ libgnome-desktop:
- gnome-desktop-utils has been ported to GSettings (bgo#638169)
- GnomeRRScreen, GnomeRRConfig and GnomeOutputInfo have been
turned into a GObjects (bgo#630913).
- The GnomeRR api is introspectable now
- Switch thumbnailers from GConf to key files (bgo#638172)
+ Updated translations.
- Add support for source service checkout, with %BUILD_FROM_VCS:
+ Add call to ./autogen.sh (if present)
+ Enforce gtk-doc html generation by passing --enable-gtk-doc to
configure.
+ Add build dependencies when building from checkout
+ Add gnome-common, gtk-doc BuildRequires.
- Create a gnome-version subpackage to contain the xml file with
the GNOME verison.
-------------------------------------------------------------------
Fri Jan 7 17:48:32 CET 2011 - vuntz@opensuse.org

View File

@ -27,12 +27,14 @@ Url: http://www.gnome.org
Group: System/GUI/GNOME
Source: %{name}-%{version}.tar.bz2
Source99: baselibs.conf
# PATCH-FIX-UPSTREAM gnome-desktop-gir-no-gconf.patch vuntz@opensuse.org -- Fix build of introspection, taken from git.
Patch0: gnome-desktop-gir-no-gconf.patch
BuildRequires: fdupes
BuildRequires: gnome-doc-utils-devel
BuildRequires: gobject-introspection-devel
BuildRequires: intltool
BuildRequires: translation-update-upstream
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(gconf-2.0)
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gsettings-desktop-schemas)
@ -43,7 +45,6 @@ BuildRequires: pkgconfig(xrandr)
%if 0%{?BUILD_FROM_VCS}
BuildRequires: gnome-common
BuildRequires: gtk-doc
BuildRequires: gobject-introspection
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -51,13 +52,15 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
This package contains the gnome-about program as well as some
desktop-wide documents.
%if %IS_DEFAULT_GNOME_DESKTOP || 0%{?BUILD_FROM_VCS}
%package -n gnome-version
License: LGPLv2.1+
Summary: GNOME version
Group: System/GUI/GNOME
%description -n gnome-version
This package contains information on the GNOME version installed.
This package contains information on the version of GNOME that is installed.
%endif
%package -n libgnome-desktop-3-0
License: LGPLv2.1+
@ -100,6 +103,9 @@ gtk-doc.
%prep
%setup -q
translation-update-upstream
%if !0%{?BUILD_FROM_VCS}
%patch0 -p1
%endif
%if 0%{?BUILD_FROM_VCS}
[ -x ./autogen.sh] && NOCONFIGURE=1 ./autogen.sh
@ -114,8 +120,9 @@ translation-update-upstream
%if 0%{?BUILD_FROM_VCS}
--enable-gtk-doc \
%endif
--disable-scrollkeeper
make %{?jobs:-j%jobs}
--disable-scrollkeeper \
--with-gnome-distributor="SUSE" \
--disable-date-in-gnome-version
%install
%makeinstall
@ -134,6 +141,10 @@ make %{?jobs:-j%jobs}
%find_lang gpl %{name}-3.0.lang
%find_lang lgpl %{name}-3.0.lang
%suse_update_desktop_file gnome-about Documentation
%else
%if ! 0%{?BUILD_FROM_VCS}
rm %{buildroot}%{_datadir}/gnome/gnome-version.xml
%endif
%endif
%{__rm} -vf %{buildroot}%{_libdir}/*.la
%fdupes %{buildroot}
@ -150,19 +161,23 @@ rm -rf %{buildroot}
%doc AUTHORS COPYING.LIB NEWS README
%{_datadir}/libgnome-desktop-3.0/
%{_libdir}/libgnome-desktop-3.so.*
%{_libdir}/girepository-1.0/GnomeDesktop-3.0.typelib
%files -n libgnome-desktop-3-devel
%defattr (-, root, root)
%{_includedir}/gnome-desktop-3.0/
%{_libdir}/libgnome-desktop-3.so
%{_libdir}/pkgconfig/gnome-desktop-3.0.pc
%{_datadir}/gir-1.0/*.gir
%doc %{_datadir}/gtk-doc/html/gnome-desktop3/
%files lang -f %{name}-3.0.lang
%if %IS_DEFAULT_GNOME_DESKTOP || 0%{?BUILD_FROM_VCS}
%files -n gnome-version
%defattr (-, root, root)
%dir %{_datadir}/gnome
%{_datadir}/gnome/gnome-version.xml
%endif
%changelog