[gnome-keyring] - Update to 2.31.92 - Built against gtk3

Tomas Bzatek tbzatek at fedoraproject.org
Mon Sep 13 12:52:56 UTC 2010


commit 1491244d5b37a836271a22da1792207d5812879e
Author: Tomas Bzatek <tbzatek at redhat.com>
Date:   Mon Sep 13 14:51:31 2010 +0200

    - Update to 2.31.92
    - Built against gtk3

 gnome-keyring-2.30.0-better-error-handling.patch   | 1361 --------------------
 ...-2.30.0-dont-save-session-keyring-to-disk.patch |  259 ----
 gnome-keyring-2.30.0-fix-storing-autounlock.patch  |  335 -----
 ...e-keyring-2.30.0-hide-automaticall-unlock.patch |   26 -
 ...keyring-2.30.0-unlocking-when-unavailable.patch |   52 -
 gnome-keyring-2.31.5-ssh-agent-unlock.patch        |   67 -
 gnome-keyring.spec                                 |   48 +-
 sources                                            |    2 +-
 8 files changed, 28 insertions(+), 2122 deletions(-)
---
diff --git a/gnome-keyring.spec b/gnome-keyring.spec
index dd565e9..fcc2057 100644
--- a/gnome-keyring.spec
+++ b/gnome-keyring.spec
@@ -1,5 +1,5 @@
-%define glib2_version 2.16.0
-%define gtk2_version 2.20.0
+%define glib2_version 2.25.0
+%define gtk3_version 2.90.0
 %define dbus_version 1.0
 %define hal_version 0.5.7
 %define gcrypt_version 1.2.2
@@ -7,7 +7,7 @@
 
 Summary: Framework for managing passwords and other secrets
 Name: gnome-keyring
-Version: 2.31.91
+Version: 2.31.92
 Release: 1%{?dist}
 License: GPLv2+ and LGPLv2+
 Group: System Environment/Libraries
@@ -15,12 +15,13 @@ Group: System Environment/Libraries
 Source: http://download.gnome.org/sources/gnome-keyring/2.31/gnome-keyring-%{version}.tar.bz2
 URL: http://www.gnome.org
 
-# https://bugzilla.gnome.org/show_bug.cgi?id=628457
-Patch0: pam-headers.patch
+# http://bugzilla.redhat.com/529709
+# http://bugs.gnome.org/598494
+Patch3: gnome-keyring-2.28.1-nopass.patch
+
 
 BuildRequires: glib2-devel >= %{glib2_version}
-BuildRequires: gtk2-devel >= %{gtk2_version}
-BuildRequires: GConf2-devel
+BuildRequires: gtk3-devel >= %{gtk3_version}
 BuildRequires: dbus-devel >= %{dbus_version}
 BuildRequires: libgcrypt-devel >= %{gcrypt_version}
 BuildRequires: libtasn1-devel >= %{libtasn1_version}
@@ -30,9 +31,7 @@ BuildRequires: gettext
 BuildRequires: intltool
 BuildRequires: libtasn1-tools
 BuildRequires: libgnome-keyring-devel
-Requires(pre): GConf2
-Requires(preun): GConf2
-Requires(post): GConf2
+BuildRequires: gtk-doc
 # for smooth transition since the core was split
 Requires: libgnome-keyring
 
@@ -69,8 +68,7 @@ automatically unlock the "login" keyring when the user logs in.
 
 %prep
 %setup -q -n gnome-keyring-%{version}
-%patch0 -p1 -b .pam-headers
-
+%patch3 -p1 -b .no-pass
 
 # Enable daemon autostart in XFCE
 for i in daemon/*.desktop.in.in; do
@@ -84,7 +82,8 @@ autoreconf -i -f
 %configure --disable-gtk-doc \
            --with-pam-dir=/%{_lib}/security \
            --disable-acl-prompts \
-           --enable-pam
+           --enable-pam \
+           --with-gtk=3.0
 
 # avoid unneeded direct dependencies
 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' libtool
@@ -92,9 +91,7 @@ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' libtool
 make %{?_smp_mflags}
 
 %install
-export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
 make install DESTDIR=$RPM_BUILD_ROOT
-unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
 
 rm $RPM_BUILD_ROOT/%{_lib}/security/*.la
 rm $RPM_BUILD_ROOT%{_libdir}/*.la
@@ -107,13 +104,15 @@ rm $RPM_BUILD_ROOT%{_libdir}/gnome-keyring/standalone/*.la
 %post
 /sbin/ldconfig
 
-%pre
-%gconf_schema_obsolete gnome-keyring
+%postun
+/sbin/ldconfig
+if [ $1 -eq 0 ]; then
+  glib-compile-schemas %{_datadir}/glib-2.0/schemas
+fi
 
-%preun
-%gconf_schema_remove gnome-keyring
+%posttrans
+glib-compile-schemas %{_datadir}/glib-2.0/schemas
 
-%postun -p /sbin/ldconfig
 
 %files -f gnome-keyring.lang
 %defattr(-, root, root)
@@ -128,9 +127,12 @@ rm $RPM_BUILD_ROOT%{_libdir}/gnome-keyring/standalone/*.la
 %{_bindir}/*
 %{_libexecdir}/*
 %{_datadir}/dbus-1/services/*.service
-%{_datadir}/gcr
+%{_datadir}/gcr-3
 %{_datadir}/gnome-keyring
+%{_datadir}/gnome-keyring-3
 %{_sysconfdir}/xdg/autostart/*
+%{_datadir}/GConf/gsettings/*.convert
+%{_datadir}/glib-2.0/schemas/*.gschema.xml
 
 %files devel
 %defattr(-, root, root)
@@ -145,6 +147,10 @@ rm $RPM_BUILD_ROOT%{_libdir}/gnome-keyring/standalone/*.la
 
 
 %changelog
+* Mon Sep 13 2010 Tomas Bzatek <tbzatek at redhat.com> - 2.31.92-1
+- Update to 2.31.92
+- Built against gtk3
+
 * Tue Aug 31 2010 Matthias Clasen <mclasen at redhat.com> - 2.31.91-1
 - Update to 2.31.91
 
diff --git a/sources b/sources
index 28d32b0..ea78f64 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8abae3120341351a66e0ccd9cacf5218  gnome-keyring-2.31.91.tar.bz2
+666ce443754505ccae6d047348c8d1ea  gnome-keyring-2.31.92.tar.bz2


More information about the scm-commits mailing list