Hello community,
here is the log from the commit of package colord for openSUSE:Factory checked in at 2012-03-01 07:24:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/colord (Old)
and /work/SRC/openSUSE:Factory/.colord.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "colord", Maintainer is ""
Changes:
--------
--- /work/SRC/openSUSE:Factory/colord/colord.changes 2012-01-25 11:07:33.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.colord.new/colord.changes 2012-03-01 07:24:59.000000000 +0100
@@ -1,0 +2,29 @@
+Mon Feb 27 13:24:10 UTC 2012 - vuntz(a)opensuse.org
+
+- Fix systemd-related packaging:
+ + Use %{?systemd_requires}.
+ + Call %service_{add,del}_* macros in scriptlets for
+ colord.service.
+
+-------------------------------------------------------------------
+Thu Feb 23 07:51:54 UTC 2012 - vuntz(a)opensuse.org
+
+- Update to version 0.1.17:
+ + New Features:
+ - Add an LED sample type
+ - Add a metadata key to store the calibration brightness
+ - Show the profile title when using colormgr get-profiles
+ + Bugfixes:
+ - Add PrivateNetwork and PrivateTmp to the systemd service file
+ - Don't leak a GVariantIter when setting the device metadata
+ - Fix a critical warning if a client tries to get the profile
+ metadata
+ - Fix InstallSystemWide() when running as the colord user
+ - Increase the colorhug sample timeout to 5 seconds
+ - Make underscores into spaces for the profile title
+ - Return from cd_profile_has_access() with TRUE for virtual
+ profiles
+- Remove xz BuildRequires now that it comes for free in the build
+ system.
+
+-------------------------------------------------------------------
Old:
----
colord-0.1.16.tar.xz
New:
----
colord-0.1.17.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ colord.spec ++++++
--- /var/tmp/diff_new_pack.iw8Cim/_old 2012-03-01 07:25:00.000000000 +0100
+++ /var/tmp/diff_new_pack.iw8Cim/_new 2012-03-01 07:25:00.000000000 +0100
@@ -17,7 +17,7 @@
Name: colord
-Version: 0.1.16
+Version: 0.1.17
Release: 0
Summary: System Daemon for Managing Color Devices
License: GPL-2.0+
@@ -29,8 +29,6 @@
BuildRequires: intltool
BuildRequires: sane-backends-devel
BuildRequires: vala
-# Only needed because we don't (and won't) support building xz tarballs by default... See bnc#697467
-BuildRequires: xz
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gio-unix-2.0)
@@ -47,6 +45,7 @@
Requires: shared-color-profiles
Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%{?systemd_requires}
%description
colord is a system activated daemon that maps devices to color profiles.
@@ -112,12 +111,23 @@
%find_lang %{name}
%pre
+%service_add_pre colord.service
+# Create colord user
getent group colord >/dev/null || groupadd -r colord
getent passwd colord >/dev/null || useradd -r -g colord -d %{_localstatedir}/lib/colord -s /sbin/nologin -c "user for colord" colord
# Fix ownership of /var/lib/colord from first packages (in 12.1)
test ! -d %{_localstatedir}/lib/colord || chown -R colord:colord %{_localstatedir}/lib/colord
exit 0
+%post
+%service_add_post colord.service
+
+%preun
+%service_del_preun colord.service
+
+%postun
+%service_del_postun colord.service
+
%post -n libcolord1 -p /sbin/ldconfig
%postun -n libcolord1 -p /sbin/ldconfig
@@ -125,7 +135,7 @@
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README
-/lib/systemd/system/colord.service
+%{_unitdir}/colord.service
/lib/udev/rules.d/*.rules
%attr(755,colord,colord) %dir %{_localstatedir}/lib/colord
%config(noreplace) %{_sysconfdir}/%{name}.conf
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
Hello community,
here is the log from the commit of package gconf2 for openSUSE:Factory checked in at 2012-03-01 07:24:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gconf2 (Old)
and /work/SRC/openSUSE:Factory/.gconf2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gconf2", Maintainer is "gnome-maintainers(a)suse.de"
Changes:
--------
--- /work/SRC/openSUSE:Factory/gconf2/gconf2.changes 2012-02-16 16:13:10.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.gconf2.new/gconf2.changes 2012-03-01 07:24:48.000000000 +0100
@@ -1,0 +2,6 @@
+Mon Feb 27 15:55:27 UTC 2012 - fcrozat(a)suse.com
+
+- Add gconf2-fix-crash-sync-shutdown.patch: fix crash during
+ syncing is done if gconfd is shutting down (bgo#670033).
+
+-------------------------------------------------------------------
New:
----
gconf2-fix-crash-sync-shutdown.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gconf2.spec ++++++
--- /var/tmp/diff_new_pack.CFOjgD/_old 2012-03-01 07:24:50.000000000 +0100
+++ /var/tmp/diff_new_pack.CFOjgD/_new 2012-03-01 07:24:50.000000000 +0100
@@ -47,6 +47,8 @@
Patch4: gconf2-sabayon.patch
# PATCH-FIX-OPENSUSE gconf2-pk-default-path.patch vuntz(a)novell.com -- Use the right gconf path for the defaults in the pk helper
Patch5: gconf2-pk-default-path.patch
+# PATCH-FIX-UPSTREAM gconf2-fix-crash-sync-dbus.patch bgo#670033 fcrozat(a)suse.com -- Fix crash during sync if gconfd is shutting down
+Patch6: gconf2-fix-crash-sync-shutdown.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Recommends: %{name}-lang = %{version}
@@ -109,6 +111,7 @@
%patch3
%patch4
%patch5 -p1
+%patch6 -p1
cp -a %{S:1} %{S:2} .
%build
++++++ gconf2-fix-crash-sync-shutdown.patch ++++++
>From 6f3e127330cb0820a373be77be3cb2cacd0b352e Mon Sep 17 00:00:00 2001
From: Ray Strode <rstrode(a)redhat.com>
Date: Mon, 13 Feb 2012 23:35:06 -0500
Subject: [PATCH] gconf-dbus: don't crash during sync if gconfd shutting down
The gconfd shuts down after a bit of inactivity. When that
happens there's a window where it refuses requests from the
client library with an error. The library is resposible for
gracefully handling this condition and reacting appropriately.
There are many places in the code where the client library has
this idiom:
db = gconf_engine_get_database (conf, TRUE, err);
if (db == NULL)
{
g_return_if_fail(err == NULL || *err != NULL);
return;
}
In the event gconfd is shutting down, db will be NULL, and the
code will return early from whatever (non-critical) operation
it was doing.
gconf_engine_suggest_sync has a similiar chunk of code, but it
neglected the "return;" and then promptly crashed since it wasn't
expecting db to be NULL.
This commit adds the return;
https://bugzilla.gnome.org/show_bug.cgi?id=670033
---
gconf/gconf-dbus.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/gconf/gconf-dbus.c b/gconf/gconf-dbus.c
index 9f92125..442a94b 100644
--- a/gconf/gconf-dbus.c
+++ b/gconf/gconf-dbus.c
@@ -2029,6 +2029,7 @@ gconf_engine_suggest_sync(GConfEngine* conf, GError** err)
if (db == NULL)
{
g_return_if_fail (err == NULL || *err != NULL);
+ return;
}
message = dbus_message_new_method_call (GCONF_DBUS_SERVICE,
--
1.7.7
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org