Hello community,

here is the log from the commit of package PackageKit for openSUSE:Factory
checked in at Fri Sep 9 13:08:51 CEST 2011.



--------
--- PackageKit/PackageKit.changes       2011-08-11 21:18:40.000000000 +0200
+++ /mounts/work_src_done/STABLE/PackageKit/PackageKit.changes  2011-09-07 
01:00:29.000000000 +0200
@@ -1,0 +2,25 @@
+Tue Sep  6 22:28:58 UTC 2011 - [email protected]
+
+- Update to version 0.6.18:
+  + Libraries (glib): Fix a small memory leak
+  + Libraries (qt): Do not dist the moc files
+  + Non-zypp backends updates.
+  + Bugfixes:
+    - Fix the browser-plugin build with GTK+ < 2.24
+    - Make the lsof plugin code support distros with /lib64
+    - Make the lsof plugin not lookup hostnames
+    - Remove the duplicate 'The software is not from a trusted
+      source'
+- Drop PackageKit-gtk224.patch: fixed upstream.
+- Add PackageKit-glib-2.29.19.patch: fix build with recent versions
+  of glib.
+- Manually remove .moc files in %prep so that they get re-generated
+  with our version of Qt. See fdo#40662 for more details.
+
+-------------------------------------------------------------------
+Fri Sep  2 10:54:09 UTC 2011 - [email protected]
+
+- Add PackageKit-gtk224.patch: fix build with GTK+ < 2.24
+- Pass V=1 to make, to enable verbose build log.
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  PackageKit-0.6.17.tar.xz

New:
----
  PackageKit-0.6.18.tar.xz
  PackageKit-glib-2.29.19.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ PackageKit.spec ++++++
--- /var/tmp/diff_new_pack.wD7avy/_old  2011-09-09 13:08:47.000000000 +0200
+++ /var/tmp/diff_new_pack.wD7avy/_new  2011-09-09 13:08:47.000000000 +0200
@@ -34,8 +34,9 @@
 %endif
 
 Name:           PackageKit
-Version:        0.6.17
-Release:        2
+Version:        0.6.18
+Release:        1
+# FIXME: on update, check if we can remove the rm hack for .moc files in 
%%prep (see fdo#40662). Last checked: 0.6.18.
 License:        GPLv2+
 BuildRequires:  NetworkManager-devel
 BuildRequires:  dbus-1-glib-devel
@@ -75,6 +76,8 @@
 Patch0:         PackageKit-sysconfig-cron.patch
 # PATCH-FIX-UPSTREAM PackageKit-npapi.patch fdo#40026 [email protected] -- 
Build against npapi-sdk instead of xulrunner
 Patch1:         PackageKit-npapi.patch
+# PATCH-FIX-UPSTREAM PackageKit-glib-2.29.19.patch [email protected] -- Fix 
usage of glib 2.29 API that got changed, taken from git
+Patch2:         PackageKit-glib-2.29.19.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Requires:       %{name}-branding = %{version}
 Recommends:     %{name}-lang
@@ -300,6 +303,9 @@
 %if 0%{suse_version} > 1140
 %patch1 -p1
 %endif
+%patch2 -p1
+# Remove .moc files, as they make the build fail with our qt. They will be 
re-created during the build. See fdo#40662.
+rm lib/packagekit-qt/src/*.moc lib/packagekit-qt2/*.moc
 
 %build
 %configure \
@@ -312,7 +318,7 @@
         --disable-command-not-found \
 %endif
         %{nil}
-%__make %{?jobs: -j%jobs}
+%__make %{?jobs: -j%jobs} V=1
 
 %install
 %makeinstall

++++++ PackageKit-glib-2.29.19.patch ++++++
commit 8b3573d08851b8607e8ffd84c379127a27caa64b
Author: Denis Washington <[email protected]>
Date:   Wed Aug 31 22:41:20 2011 +0100

    Use g_unix_signal_add_full() which has been renamed in the unstable GLib 
branch
    
    Signed-off-by: Richard Hughes <[email protected]>

diff --git a/src/pk-main.c b/src/pk-main.c
index 4b1ecb5..96b06b5 100644
--- a/src/pk-main.c
+++ b/src/pk-main.c
@@ -31,7 +31,7 @@
 #include <dbus/dbus-glib-lowlevel.h>
 #include <packagekit-glib2/pk-debug.h>
 
-#if GLIB_CHECK_VERSION(2,29,4)
+#if GLIB_CHECK_VERSION(2,29,19)
  #include <glib-unix.h>
 #endif
 
@@ -86,7 +86,7 @@ pk_main_quit_cb (PkEngine *engine, GMainLoop *mainloop)
        g_main_loop_quit (mainloop);
 }
 
-#if GLIB_CHECK_VERSION(2,29,4)
+#if GLIB_CHECK_VERSION(2,29,19)
 
 /**
  * pk_main_sigint_cb:
@@ -185,13 +185,13 @@ main (int argc, char *argv[])
                goto exit_program;
        }
 
-#if GLIB_CHECK_VERSION(2,29,4)
+#if GLIB_CHECK_VERSION(2,29,19)
        /* do stuff on ctrl-c */
-       g_unix_signal_add_watch_full (SIGINT,
-                                     G_PRIORITY_DEFAULT,
-                                     pk_main_sigint_cb,
-                                     loop,
-                                     NULL);
+       g_unix_signal_add_full (G_PRIORITY_DEFAULT,
+                               SIGINT,
+                               pk_main_sigint_cb,
+                               loop,
+                               NULL);
 #else
        signal (SIGINT, pk_main_sigint_handler);
 #endif

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to