Accepting request 58459 from GNOME:Factory

Accepted submit request 58459 from user vuntz

OBS-URL: https://build.opensuse.org/request/show/58459
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-desktop?expand=0&rev=77
This commit is contained in:
Marcus Rückert 2011-01-17 17:48:49 +00:00 committed by Git OBS Bridge
commit 3de324392d
5 changed files with 124 additions and 8 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c3742e2f5ff79188a656d9908ea0e4a0f583fa8f1fc159a2e04a8b9cf4c9445a
size 1226137

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:32d7dd48bac932ac1d1c9b2b34b996e6d6939800badffad4766d74c67c9e4311
size 1187401

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,3 +1,43 @@
-------------------------------------------------------------------
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:
+ 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 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

@ -1,5 +1,5 @@
#
# spec file for package gnome-desktop
# spec file for package gnome-desktop (Version 2.91.6)
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -19,7 +19,7 @@
%define IS_DEFAULT_GNOME_DESKTOP 0
Name: gnome-desktop
Version: 2.91.4
Version: 2.91.6
Release: 1
License: LGPLv2.1+
Summary: The GNOME Desktop API Library
@ -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)
@ -40,12 +42,26 @@ BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(libstartup-notification-1.0)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xrandr)
%if 0%{?BUILD_FROM_VCS}
BuildRequires: gnome-common
BuildRequires: gtk-doc
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
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 version of GNOME that is installed.
%endif
%package -n libgnome-desktop-3-0
License: LGPLv2.1+
Summary: The GNOME Desktop API Library
@ -87,6 +103,13 @@ 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
%endif
%build
%configure --with-pic\
@ -94,8 +117,12 @@ translation-update-upstream
%if ! %IS_DEFAULT_GNOME_DESKTOP
--disable-desktop-docs \
%endif
--disable-scrollkeeper
make %{?jobs:-j%jobs}
%if 0%{?BUILD_FROM_VCS}
--enable-gtk-doc \
%endif
--disable-scrollkeeper \
--with-gnome-distributor="SUSE" \
--disable-date-in-gnome-version
%install
%makeinstall
@ -114,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}
@ -130,14 +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