commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2020-11-09 13:57:06 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new.11331 (New) Package is "PackageKit" Mon Nov 9 13:57:06 2020 rev:208 rq:846473 version:1.2.1 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2020-11-02 09:38:53.217523194 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new.11331/PackageKit.changes 2020-11-09 13:58:24.327834027 +0100 @@ -1,0 +2,6 @@ +Wed Nov 4 02:43:07 UTC 2020 - Jonathan Kang + +- Update summary and description of gstreamer-plugin and + gtk3-module subpackages in spec file (bsc#1104313). + +--- Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.9YGwJg/_old 2020-11-09 13:58:25.383831724 +0100 +++ /var/tmp/diff_new_pack.9YGwJg/_new 2020-11-09 13:58:25.387831715 +0100 @@ -147,7 +147,7 @@ %endif %package gstreamer-plugin -Summary:GStreamer plugin for the PackageKit installation management software +Summary:Install GStreamer codecs using PackageKit License:GPL-2.0-or-later Group: Productivity/Multimedia/Other Requires(post): update-alternatives @@ -156,14 +156,11 @@ Supplements:(%{name} and gstreamer-plugins-base) %description gstreamer-plugin -PackageKit is a system designed to make installing and updating -software on your computer easier. The primary design goal is to unify -all the software graphical tools used in different distributions, and -use some of the latest technology like PolicyKit to make the process -suck less. +The PackageKit GStreamer plugin allows any Gstreamer application to install +codecs from configured repositories using PackageKit. %package gtk3-module -Summary:GTK3 backend for the PackageKit installation management software +Summary:Install fonts automatically using PackageKit License:GPL-2.0-or-later Group: System/Libraries Recommends: %{name} = %{version} @@ -171,11 +168,8 @@ %glib2_gsettings_schema_requires %description gtk3-module -PackageKit is a system designed to make installing and updating -software on your computer easier. The primary design goal is to unify -all the software graphical tools used in different distributions, and -use some of the latest technology like PolicyKit to make the process -suck less. +The PackageKit GTK3+ module allows any Pango application to install +fonts from configured repositories using PackageKit. %package devel Summary:Header files for development with PackageKit
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2020-11-02 09:38:34 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new.3463 (New) Package is "PackageKit" Mon Nov 2 09:38:34 2020 rev:207 rq:844984 version:1.2.1 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2020-10-15 13:47:51.261235473 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new.3463/PackageKit.changes 2020-11-02 09:38:53.217523194 +0100 @@ -1,0 +2,14 @@ +Fri Oct 30 03:12:47 UTC 2020 - Jonathan Kang + +- Add PackageKit-bsc1169739.patch: main: notify the service manager + when it's beginning to shutdown + (gh#/hughsie/PackageKit/commit/d8dd484d, bsc#1169739). + +--- +Wed Oct 28 07:04:45 UTC 2020 - Franck Bui + +- Replace $DISABLE_RESTART_ON_UPDATE=yes with %service_del_postun_without_restart + + Use of $DISABLE_RESTART_ON_UPDATE is deprecated. + +--- New: PackageKit-bsc1169739.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.VG5Rd4/_old 2020-11-02 09:38:53.933523881 +0100 +++ /var/tmp/diff_new_pack.VG5Rd4/_new 2020-11-02 09:38:53.937523885 +0100 @@ -56,6 +56,8 @@ Patch5: PackageKit-zypp-set-PATH.patch # PATCH-FIX-UPSTREAM PackageKit-zypp-dont-refresh-repos-on-offline-update.patch gh#/hughsie/PackageKit/commit/81207bd3, bsc#1173562 sck...@suse.com -- zypp: Don’t refresh repos again when actually updating packages Patch6: PackageKit-zypp-dont-refresh-repos-on-offline-update.patch +# PATCH-FIX-UPSTREAM PackageKit-bsc1169739.patch gh#/hughsie/PackageKit/commit/d8dd484d, bsc#1169739 sck...@suse.com -- main: notify the service manager when it's beginning to shutdown +Patch7: PackageKit-bsc1169739.patch BuildRequires: fdupes BuildRequires: gcc-c++ @@ -335,11 +337,10 @@ %postun %mime_database_postun # Do not restart PackageKit on upgrade - it kills the transaction -export DISABLE_RESTART_ON_UPDATE=yes -%service_del_postun packagekit.service -%service_del_postun packagekit-background.service packagekit-background.timer +%service_del_postun_without_restart packagekit.service +%service_del_postun_without_restart packagekit-background.service packagekit-background.timer %if %{with offline_updates} -%service_del_postun packagekit-offline-update.service +%service_del_postun_without_restart packagekit-offline-update.service %endif %post gstreamer-plugin ++ PackageKit-bsc1169739.patch ++ >From 4a11b7fabb85f110c5e00084bd3800362909defe Mon Sep 17 00:00:00 2001 From: Jonathan Kang Date: Fri, 30 Oct 2020 10:01:28 +0800 Subject: [PATCH 1/2] main: notify the service manager when it's beginning to shutdown This makes sure that the main process won't get SIGTERM on shutdown, for example timed exit after idling for a while. This fix the problem that libzypp fails to clean up some temporary files when packagekitd quits. --- meson.build | 1 + src/pk-main.c | 7 +++ 2 files changed, 8 insertions(+) diff --git a/meson.build b/meson.build index c0db907ea..2820e9366 100644 --- a/meson.build +++ b/meson.build @@ -29,6 +29,7 @@ if get_option('systemd') systemd_system_unit_dir = systemd.get_pkgconfig_variable('systemdsystemunitdir') endif + add_project_arguments ('-DHAVE_SYSTEMD_SD_DAEMON_H=1', language: 'c') add_project_arguments ('-DHAVE_SYSTEMD_SD_LOGIN_H=1', language: 'c') else if get_option('offline_update') diff --git a/src/pk-main.c b/src/pk-main.c index 5791c5fef..40bc783b8 100644 --- a/src/pk-main.c +++ b/src/pk-main.c @@ -32,6 +32,9 @@ #include #include #include +#ifdef HAVE_SYSTEMD_SD_DAEMON_H +#include +#endif #include "pk-engine.h" #include "pk-shared.h" @@ -245,6 +248,10 @@ out: syslog (LOG_DAEMON | LOG_DEBUG, "daemon quit"); closelog (); +#ifdef HAVE_SYSTEMD_SD_DAEMON_H + sd_notify (0, "STOPPING=1"); +#endif + if (helper.timer_id > 0) g_source_remove (helper.timer_id); if (loop != NULL) -- 2.26.2 >From 66c30ef3ad11e125b84ab32362d6597d91c819f5 Mon Sep 17 00:00:00 2001 From: Jonathan Kang Date: Fri, 30 Oct 2020 10:19:15 +0800 Subject: [PATCH 2/2] Revert "zypp: Clean up temporary files when PK quits" The previous commit was meant to workaround the fact that PackageKit doesn't quit normally on a timed exit. Since commit 8b621738 fixes that, this is no longer needed. This reverts commit 807f410e28074c8ad2b99682446bbb460fd54adf. --- backends/zypp/pk-backend-zypp.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/backends/zypp/pk-backend-zypp.cpp
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2020-10-15 13:47:09 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new.3486 (New) Package is "PackageKit" Thu Oct 15 13:47:09 2020 rev:206 rq:841480 version:1.2.1 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2020-09-25 16:28:14.235715137 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new.3486/PackageKit.changes 2020-10-15 13:47:51.261235473 +0200 @@ -1,0 +2,7 @@ +Tue Oct 13 01:56:23 UTC 2020 - Jonathan Kang + +- Add PackageKit-zypp-dont-refresh-repos-on-offline-update.patch: + zypp: Don’t refresh repos again when actually updating packages + (gh#/hughsie/PackageKit/commit/81207bd3, bsc#1173562). + +--- New: PackageKit-zypp-dont-refresh-repos-on-offline-update.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.unpFiB/_old 2020-10-15 13:47:52.425235960 +0200 +++ /var/tmp/diff_new_pack.unpFiB/_new 2020-10-15 13:47:52.429235962 +0200 @@ -54,6 +54,8 @@ Patch4: PackageKit-test-Install-required-helper-files.patch # PATCH-FIX-UPSTREAM PackageKit-zypp-set-PATH.patch gh#/hughsie/PackageKit/commit/2fb7fc6e, bsc#1175315 sck...@suse.com -- zypp: Set PATH variable Patch5: PackageKit-zypp-set-PATH.patch +# PATCH-FIX-UPSTREAM PackageKit-zypp-dont-refresh-repos-on-offline-update.patch gh#/hughsie/PackageKit/commit/81207bd3, bsc#1173562 sck...@suse.com -- zypp: Don’t refresh repos again when actually updating packages +Patch6: PackageKit-zypp-dont-refresh-repos-on-offline-update.patch BuildRequires: fdupes BuildRequires: gcc-c++ ++ PackageKit-zypp-dont-refresh-repos-on-offline-update.patch ++ >From 81207bd3ac347199e72d227a0cf0e90403dcb568 Mon Sep 17 00:00:00 2001 From: Jonathan Kang Date: Mon, 12 Oct 2020 15:18:40 +0800 Subject: [PATCH] =?UTF-8?q?zypp:=20Don=E2=80=99t=20refresh=20repos=20again?= =?UTF-8?q?=20when=20actually=20updating=20packages?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://bugzilla.suse.com/show_bug.cgi?id=1173562 --- backends/zypp/pk-backend-zypp.cpp | 21 - 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/backends/zypp/pk-backend-zypp.cpp b/backends/zypp/pk-backend-zypp.cpp index d936a2b43..9404abb1a 100644 --- a/backends/zypp/pk-backend-zypp.cpp +++ b/backends/zypp/pk-backend-zypp.cpp @@ -3423,16 +3423,19 @@ upgrade_system (PkBackendJob *job, { set candidates; - /* refresh the repos before checking for updates. */ - if (!zypp_refresh_cache (job, zypp, FALSE)) { - return; - } - zypp_get_updates (job, zypp, candidates); - if (candidates.empty ()) { - pk_backend_job_error_code (job, PK_ERROR_ENUM_NO_DISTRO_UPGRADE_DATA, - "No Distribution Upgrade Available."); + /* Only refresh repos when it's simulating. */ + if (pk_bitfield_contain (transaction_flags, PK_TRANSACTION_FLAG_ENUM_SIMULATE)) { + /* refresh the repos before checking for updates. */ + if (!zypp_refresh_cache (job, zypp, FALSE)) { + return; + } + zypp_get_updates (job, zypp, candidates); + if (candidates.empty ()) { + pk_backend_job_error_code (job, PK_ERROR_ENUM_NO_DISTRO_UPGRADE_DATA, + "No Distribution Upgrade Available."); - return; + return; + } } zypp->resolver ()->dupSetAllowVendorChange (ZConfig::instance ().solver_dupAllowVendorChange ()); -- 2.26.2
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2020-09-25 16:25:14 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new.4249 (New) Package is "PackageKit" Fri Sep 25 16:25:14 2020 rev:205 rq:836045 version:1.2.1 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2020-09-14 12:15:41.048385257 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new.4249/PackageKit.changes 2020-09-25 16:28:14.235715137 +0200 @@ -1,0 +2,6 @@ +Mon Sep 21 06:37:58 UTC 2020 - Jonathan Kang + +- Add PackageKit-zypp-set-PATH.patch: zypp: Set PATH variable + (gh#/hughsie/PackageKit/commit/2fb7fc6e, bsc#1175315). + +--- New: PackageKit-zypp-set-PATH.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.QJBdeV/_old 2020-09-25 16:28:14.931715753 +0200 +++ /var/tmp/diff_new_pack.QJBdeV/_new 2020-09-25 16:28:14.935715756 +0200 @@ -52,6 +52,8 @@ Patch3: PackageKit-dnf-Add-support-for-AppStream-repodata-basenames-use.patch # PATCH-FIX-UPSTREAM PackageKit-test-Install-required-helper-files.patch gh#/hughsie/PackageKit/commit/a6904b4 ngomp...@gmail.com -- Fix installation of test backend files Patch4: PackageKit-test-Install-required-helper-files.patch +# PATCH-FIX-UPSTREAM PackageKit-zypp-set-PATH.patch gh#/hughsie/PackageKit/commit/2fb7fc6e, bsc#1175315 sck...@suse.com -- zypp: Set PATH variable +Patch5: PackageKit-zypp-set-PATH.patch BuildRequires: fdupes BuildRequires: gcc-c++ ++ PackageKit-zypp-set-PATH.patch ++ >From 2fb7fc6efa67351c05ec13495a50d1333191ed67 Mon Sep 17 00:00:00 2001 From: Jonathan Kang Date: Fri, 18 Sep 2020 15:18:24 +0800 Subject: [PATCH] zypp: set PATH variable https://bugzilla.suse.com/show_bug.cgi?id=1175315 --- backends/zypp/pk-backend-zypp.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backends/zypp/pk-backend-zypp.cpp b/backends/zypp/pk-backend-zypp.cpp index 0a5ed7766..5975b86f9 100644 --- a/backends/zypp/pk-backend-zypp.cpp +++ b/backends/zypp/pk-backend-zypp.cpp @@ -1829,6 +1829,9 @@ pk_backend_initialize (GKeyFile *conf, PkBackend *backend) priv->zypp_mutex = PTHREAD_MUTEX_INITIALIZER; zypp_logging (); + /* Set PATH variable to avoid problems when installing packges(bsc#1175315). */ + g_setenv("PATH", "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", TRUE); + g_debug ("zypp_backend_initialize"); } -- 2.26.2
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2020-09-14 12:13:14 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new.4249 (New) Package is "PackageKit" Mon Sep 14 12:13:14 2020 rev:204 rq:833698 version:1.2.1 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2020-08-15 21:17:16.255516852 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new.4249/PackageKit.changes 2020-09-14 12:15:41.048385257 +0200 @@ -1,0 +2,35 @@ +Mon Sep 7 14:04:19 UTC 2020 - Neal Gompa + +- Update to version 1.2.1 + + Port to the meson build system + + Remove the GTK2 gtk-module support + + Do not do failable actions in the PkDbus constructor + + Do not do failable actions in the PkTransaction constructor + + Revert "Shutdown the daemon on idle by default" + + Actually merge in the PolicyKit translation + + Fix setting libexecdir for command-not-found helper + + Fix command-not-found handling arguments with spaces + + Use SQL statements for queries with input + + Exit pkcon with retval 5 if no packages needed be installed + + dnf: Load all the repos and vars directories + + dnf: Add vendor configuration for openSUSE + + zypp: Ignore already installed package when installing + + zypp: Remove upgrade-system implementation + + zypp: Clean up temporary files when PK quits + + zypp: Ensure ResPool is built before is_tumbleweed() +- Remove upstreamed patches + + PackageKit-dnf-Add-openSUSE-vendor.patch + + PackageKit-drop-gtk2.patch + + PackageKit-pkcon-exit-with-retval-5.patch + + PackageKit-zypp-cleanup-tmp-files.patch + + PackageKit-zypp-ensure-ResPool-before-is_tumbleweed.patch + + PackageKit-zypp-ignore-already-installed-packages.patch + + PackageKit-zypp-update-packages-in-all-openSUSE.patch +- Add patch from upstream + + PackageKit-test-Install-required-helper-files.patch +- Refresh existing patches + + PackageKit-remove-polkit-rules.patch + + PackageKit-systemd-timers.patch +- Clean up legacy cruft, assume openSUSE Leap 15 or newer + +--- Old: PackageKit-1.1.13.tar.xz PackageKit-1.1.13.tar.xz.asc PackageKit-dnf-Add-openSUSE-vendor.patch PackageKit-drop-gtk2.patch PackageKit-pkcon-exit-with-retval-5.patch PackageKit-zypp-cleanup-tmp-files.patch PackageKit-zypp-ensure-ResPool-before-is_tumbleweed.patch PackageKit-zypp-ignore-already-installed-packages.patch PackageKit-zypp-update-packages-in-all-openSUSE.patch New: PackageKit-1.2.1.tar.xz PackageKit-1.2.1.tar.xz.asc PackageKit-test-Install-required-helper-files.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.PrX7kL/_old 2020-09-14 12:15:43.748388016 +0200 +++ /var/tmp/diff_new_pack.PrX7kL/_new 2020-09-14 12:15:43.752388020 +0200 @@ -16,28 +16,23 @@ # -%define BUILD_CNF 0 +%bcond_with cnf + %if 0%{?sle_version} %bcond_with offline_updates %else %bcond_without offline_updates %endif -# Only make DNF backend available on openSUSE flavors +# Only make DNF backend available openSUSE Leap 15.1+ %if 0%{?sle_version} >= 150100 || 0%{?suse_version} >= 1550 %bcond_without dnf %else %bcond_with dnf %endif -# $ pkcon search file /usr/bin/anjuta -#Compat macro for new _fillupdir macro introduced in Nov 2017 -%if ! %{defined _fillupdir} - %define _fillupdir %{_localstatedir}/adm/fillup-templates -%endif - Name: PackageKit -Version:1.1.13 +Version:1.2.1 Release:0 Summary:Simple software installation management software License:GPL-2.0-or-later @@ -53,26 +48,11 @@ Patch1: PackageKit-systemd-timers.patch # PATCH-FIX-OPENSUSE PackageKit-remove-polkit-rules.patch bsc#1125434 sck...@suse.com -- Remove polkit rules file Patch2: PackageKit-remove-polkit-rules.patch -# PATCH-FIX-UPSTREAM PackageKit-drop-gtk2.patch gh#/hughsie/PackageKit#333 - Port away from gtk2 dependency -Patch3: PackageKit-drop-gtk2.patch -# PATCH-FIX-UPSTREAM PackageKit-zypp-update-packages-in-all-openSUSE.patch sck...@suse.com -- Handle Tumbleweed upgrade in update-packages as well so that it doesn't break other components. -Patch4: PackageKit-zypp-update-packages-in-all-openSUSE.patch -# PATCH-FIX-UPSTREAM PackageKit-zypp-ignore-already-installed-packages.patch bsc#1155624, gh#/hughsie/PackageKit/commit/d9233011 songchuan.k...@suse.com -- zypp: Ignore already installed package when installing. -Patch5: PackageKit-zypp-ignore-already-installed-packages.patch -# PATCH-FIX-UPSTREAM PackageKit-zypp-ensure-ResPool-before-is_tumbleweed.patch
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2020-08-15 21:16:45 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new.3399 (New) Package is "PackageKit" Sat Aug 15 21:16:45 2020 rev:203 rq:826638 version:1.1.13 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2020-06-18 10:35:59.062326329 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new.3399/PackageKit.changes 2020-08-15 21:17:16.255516852 +0200 @@ -1,0 +2,7 @@ +Thu Aug 13 03:26:49 UTC 2020 - Jonathan Kang + +- Add PackageKit-zypp-cleanup-tmp-files.patch: zypp: Cleanup + temporary files when PackageKit quits + (gh#/hughsie/PackageKit/commit/807f410, bsc#1169739). + +--- New: PackageKit-zypp-cleanup-tmp-files.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.1GjJ04/_old 2020-08-15 21:17:17.055517309 +0200 +++ /var/tmp/diff_new_pack.1GjJ04/_new 2020-08-15 21:17:17.055517309 +0200 @@ -63,6 +63,8 @@ Patch6: PackageKit-zypp-ensure-ResPool-before-is_tumbleweed.patch # PATCH-FIX-UPSTREAM PackageKit-pkcon-exit-with-retval-5.patch gh#/hughsie/PackageKit#405 bsc#1170562 sck...@suse.com -- pkcon: exit with retval 5 if no packages needed be installed. Patch7: PackageKit-pkcon-exit-with-retval-5.patch +# PATCH-FIX-UPSTREAM PackageKit-zypp-cleanup-tmp-files.patch gh#/hughsie/PackageKit/commit/807f410, bsc#1169739 sck...@suse.com -- zypp: Cleanup temporary files when PackageKit quits. +Patch8: PackageKit-zypp-cleanup-tmp-files.patch # PATCH-FIX-OPENSUSE PackageKit-dnf-Add-openSUSE-vendor.patch ngomp...@gmail.com -- Add openSUSE vendor Patch1001: PackageKit-dnf-Add-openSUSE-vendor.patch # PATCH-FIX-OPENSUSE PackageKit-dnf-Add-support-for-AppStream-repodata-basenames-use.patch ngomp...@gmail.com -- Band-aid to deal with OBS producing differently named appstream repodata files ++ PackageKit-zypp-cleanup-tmp-files.patch ++ Index: PackageKit-1.1.13/backends/zypp/pk-backend-zypp.cpp === --- PackageKit-1.1.13.orig/backends/zypp/pk-backend-zypp.cpp +++ PackageKit-1.1.13/backends/zypp/pk-backend-zypp.cpp @@ -1838,6 +1838,8 @@ pk_backend_destroy (PkBackend *backend) { g_debug ("zypp_backend_destroy"); + filesystem::recursive_rmdir (zypp::myTmpDir ()); + g_free (_repoName); delete priv; }
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2020-06-18 10:35:42 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new.3606 (New) Package is "PackageKit" Thu Jun 18 10:35:42 2020 rev:202 rq:815257 version:1.1.13 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2020-06-08 23:48:12.266136714 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new.3606/PackageKit.changes 2020-06-18 10:35:59.062326329 +0200 @@ -1,0 +2,7 @@ +Tue Jun 16 02:07:15 UTC 2020 - Jonathan Kang + +- Add PackageKit-pkcon-exit-with-retval-5.patch: pkcon: exit with + retval 5 if no packages needed be installed + (gh#/hughsie/PackageKit#405 bsc#1170562). + +--- New: PackageKit-pkcon-exit-with-retval-5.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.6u2wMJ/_old 2020-06-18 10:36:01.030332688 +0200 +++ /var/tmp/diff_new_pack.6u2wMJ/_new 2020-06-18 10:36:01.030332688 +0200 @@ -61,6 +61,8 @@ Patch5: PackageKit-zypp-ignore-already-installed-packages.patch # PATCH-FIX-UPSTREAM PackageKit-zypp-ensure-ResPool-before-is_tumbleweed.patch gh#/hughsie/PackageKit/commit/5c0fd7d7 sck...@suse.com -- zypp: Ensure ResPool is built before is_tumbleweed(). Patch6: PackageKit-zypp-ensure-ResPool-before-is_tumbleweed.patch +# PATCH-FIX-UPSTREAM PackageKit-pkcon-exit-with-retval-5.patch gh#/hughsie/PackageKit#405 bsc#1170562 sck...@suse.com -- pkcon: exit with retval 5 if no packages needed be installed. +Patch7: PackageKit-pkcon-exit-with-retval-5.patch # PATCH-FIX-OPENSUSE PackageKit-dnf-Add-openSUSE-vendor.patch ngomp...@gmail.com -- Add openSUSE vendor Patch1001: PackageKit-dnf-Add-openSUSE-vendor.patch # PATCH-FIX-OPENSUSE PackageKit-dnf-Add-support-for-AppStream-repodata-basenames-use.patch ngomp...@gmail.com -- Band-aid to deal with OBS producing differently named appstream repodata files ++ PackageKit-pkcon-exit-with-retval-5.patch ++ >From 221d6f32268f280de007dcea5a1f44510825ef9b Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 11 Jun 2020 17:50:13 +0200 Subject: [PATCH] pkcon: exit with retval 5 if no packages needed be installed In case a user asks pkcon to install an already installed package, so far we returned with: Fatal error: The packages are already all installed (detailed string provided by the backend) and retval 7. Taking pkcon's manpage into account, retval 5 is more appropriate: RETURN VALUES 0 Success 5 Nothing useful was done. 7 The transaction failed, see the detailed error for more information. --- client/pk-console.c | 1 + 1 file changed, 1 insertion(+) diff --git a/client/pk-console.c b/client/pk-console.c index 8052e411f..44da4b257 100644 --- a/client/pk-console.c +++ b/client/pk-console.c @@ -666,6 +666,7 @@ pk_console_finished_cb (GObject *object, GAsyncResult *res, gpointer data) * fatal in my book */ g_print ("%s: %s\n", _("Fatal error"), error->message); switch (error->code - 0xff) { + case PK_ERROR_ENUM_ALL_PACKAGES_ALREADY_INSTALLED: case PK_ERROR_ENUM_REPO_NOT_AVAILABLE: ctx->retval = PK_EXIT_CODE_NOTHING_USEFUL; break; -- 2.24.0
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2020-06-08 23:47:29 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new.3606 (New) Package is "PackageKit" Mon Jun 8 23:47:29 2020 rev:201 rq:811416 version:1.1.13 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2020-04-29 20:42:32.211666813 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new.3606/PackageKit.changes 2020-06-08 23:48:12.266136714 +0200 @@ -1,0 +2,7 @@ +Tue May 26 02:37:45 UTC 2020 - Jonathan Kang + +- Add PackageKit-zypp-ensure-ResPool-before-is_tumbleweed.patch: + zypp: Ensure ResPool is built before is_tumbleweed() + (gh#/hughsie/PackageKit/commit/5c0fd7d7). + +--- New: PackageKit-zypp-ensure-ResPool-before-is_tumbleweed.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.FddHIX/_old 2020-06-08 23:48:14.446143439 +0200 +++ /var/tmp/diff_new_pack.FddHIX/_new 2020-06-08 23:48:14.450143451 +0200 @@ -59,6 +59,8 @@ Patch4: PackageKit-zypp-update-packages-in-all-openSUSE.patch # PATCH-FIX-UPSTREAM PackageKit-zypp-ignore-already-installed-packages.patch bsc#1155624, gh#/hughsie/PackageKit/commit/d9233011 songchuan.k...@suse.com -- zypp: Ignore already installed package when installing. Patch5: PackageKit-zypp-ignore-already-installed-packages.patch +# PATCH-FIX-UPSTREAM PackageKit-zypp-ensure-ResPool-before-is_tumbleweed.patch gh#/hughsie/PackageKit/commit/5c0fd7d7 sck...@suse.com -- zypp: Ensure ResPool is built before is_tumbleweed(). +Patch6: PackageKit-zypp-ensure-ResPool-before-is_tumbleweed.patch # PATCH-FIX-OPENSUSE PackageKit-dnf-Add-openSUSE-vendor.patch ngomp...@gmail.com -- Add openSUSE vendor Patch1001: PackageKit-dnf-Add-openSUSE-vendor.patch # PATCH-FIX-OPENSUSE PackageKit-dnf-Add-support-for-AppStream-repodata-basenames-use.patch ngomp...@gmail.com -- Band-aid to deal with OBS producing differently named appstream repodata files ++ PackageKit-zypp-ensure-ResPool-before-is_tumbleweed.patch ++ Index: PackageKit-1.1.13/backends/zypp/pk-backend-zypp.cpp === --- PackageKit-1.1.13.orig/backends/zypp/pk-backend-zypp.cpp +++ PackageKit-1.1.13/backends/zypp/pk-backend-zypp.cpp @@ -3422,7 +3422,6 @@ upgrade_system (PkBackendJob *job, if (!zypp_refresh_cache (job, zypp, FALSE)) { return; } - zypp_build_pool (zypp, TRUE); zypp_get_updates (job, zypp, candidates); if (candidates.empty ()) { pk_backend_job_error_code (job, PK_ERROR_ENUM_NO_DISTRO_UPGRADE_DATA, @@ -3434,8 +3433,6 @@ upgrade_system (PkBackendJob *job, zypp->resolver ()->dupSetAllowVendorChange (ZConfig::instance ().solver_dupAllowVendorChange ()); zypp->resolver ()->doUpgrade (); - PoolStatusSaver saver; - zypp_perform_execution (job, zypp, UPGRADE_SYSTEM, FALSE, transaction_flags); zypp->resolver ()->setUpgradeMode (FALSE); @@ -3458,16 +3455,15 @@ backend_update_packages_thread (PkBacken return; } + ResPool pool = zypp_build_pool (zypp, TRUE); + PkRestartEnum restart = PK_RESTART_ENUM_NONE; + PoolStatusSaver saver; + if (is_tumbleweed ()) { upgrade_system (job, zypp, transaction_flags); return; } - ResPool pool = zypp_build_pool (zypp, TRUE); - PkRestartEnum restart = PK_RESTART_ENUM_NONE; - - PoolStatusSaver saver; - for (guint i = 0; package_ids[i]; i++) { sat::Solvable solvable = zypp_get_package_by_id (package_ids[i]);
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2020-04-29 20:42:13 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new.2738 (New) Package is "PackageKit" Wed Apr 29 20:42:13 2020 rev:200 rq:798329 version:1.1.13 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2020-03-16 10:16:24.975540262 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new.2738/PackageKit.changes 2020-04-29 20:42:32.211666813 +0200 @@ -1,0 +2,6 @@ +Wed Apr 22 02:54:02 UTC 2020 - Jonathan Kang + +- Remove is_opensuse macro in spec file to sync SLE and openSUSE + differences(jsc#SLE-11804). + +--- Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.7arHC2/_old 2020-04-29 20:42:32.935668700 +0200 +++ /var/tmp/diff_new_pack.7arHC2/_new 2020-04-29 20:42:32.939668711 +0200 @@ -24,7 +24,7 @@ %endif # Only make DNF backend available on openSUSE flavors -%if (0%{?sle_version} >= 150100 || 0%{?suse_version} >= 1550) && 0%{?is_opensuse} +%if 0%{?sle_version} >= 150100 || 0%{?suse_version} >= 1550 %bcond_without dnf %else %bcond_with dnf @@ -278,9 +278,6 @@ %build NOCONFIGURE=1 ./autogen.sh -%if !0%{?is_opensuse} -export CFLAGS="%{optflags} -DSLE" -%endif %configure \ --disable-static \ %{?with_dnf:--enable-dnf} \
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2020-03-16 10:15:56 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new.3160 (New) Package is "PackageKit" Mon Mar 16 10:15:56 2020 rev:199 rq:784412 version:1.1.13 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2020-03-11 18:32:50.690917020 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new.3160/PackageKit.changes 2020-03-16 10:16:24.975540262 +0100 @@ -1,0 +2,13 @@ +Thu Mar 12 01:47:44 UTC 2020 - Jonathan Kang + +- Add PackageKit-zypp-ignore-already-installed-packages.patch, + remove PackageKit-zypp-revert-fail-on-already-installed.patch: + zypp: Ignore already installed package when installing + (bsc#1155624, gh#/hughsie/PackageKit/commit/d9233011). + +--- +Tue Mar 10 03:04:40 UTC 2020 - Jonathan Kang + +- Fix source URL in the spec file. + +--- Old: PackageKit-zypp-revert-fail-on-already-installed.patch New: PackageKit-zypp-ignore-already-installed-packages.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.KWYAaV/_old 2020-03-16 10:16:25.987540675 +0100 +++ /var/tmp/diff_new_pack.KWYAaV/_new 2020-03-16 10:16:25.991540676 +0100 @@ -1,7 +1,7 @@ # # spec file for package PackageKit # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -42,7 +42,7 @@ Summary:Simple software installation management software License:GPL-2.0-or-later Group: System/Daemons -URL:https://www.freedesktop.org/software/PackageKit/ +URL:https://www.freedesktop.org/software/PackageKit Source0:%{url}/releases/%{name}-%{version}.tar.xz Source1:%{url}/releases/%{name}-%{version}.tar.xz.asc Source2:baselibs.conf @@ -57,8 +57,8 @@ Patch3: PackageKit-drop-gtk2.patch # PATCH-FIX-UPSTREAM PackageKit-zypp-update-packages-in-all-openSUSE.patch sck...@suse.com -- Handle Tumbleweed upgrade in update-packages as well so that it doesn't break other components. Patch4: PackageKit-zypp-update-packages-in-all-openSUSE.patch -# PATCH-FIX-OPENSUSE PackageKit-zypp-revert-fail-on-already-installed.patch boo#1155624 ngomp...@gmail.com -- Stop PK from erroring on already installed files -Patch5: PackageKit-zypp-revert-fail-on-already-installed.patch +# PATCH-FIX-UPSTREAM PackageKit-zypp-ignore-already-installed-packages.patch bsc#1155624, gh#/hughsie/PackageKit/commit/d9233011 songchuan.k...@suse.com -- zypp: Ignore already installed package when installing. +Patch5: PackageKit-zypp-ignore-already-installed-packages.patch # PATCH-FIX-OPENSUSE PackageKit-dnf-Add-openSUSE-vendor.patch ngomp...@gmail.com -- Add openSUSE vendor Patch1001: PackageKit-dnf-Add-openSUSE-vendor.patch # PATCH-FIX-OPENSUSE PackageKit-dnf-Add-support-for-AppStream-repodata-basenames-use.patch ngomp...@gmail.com -- Band-aid to deal with OBS producing differently named appstream repodata files ++ PackageKit-zypp-ignore-already-installed-packages.patch ++ >From d9233011cbc7b69f5318ae2c2e03712e11e3dea0 Mon Sep 17 00:00:00 2001 From: Jonathan Kang Date: Wed, 11 Mar 2020 09:37:19 +0800 Subject: [PATCH] zypp: Ignore already installed package when installing Previously, when users are installing multiple packages at the same time using "pkcon install", if one/some of those packages is/are already installed, the whole installing process terminates, withouting installing those uninstalled packages. Fix that by ignoring those already installed pacakge and proceeding to install those which are not yet installed. --- backends/zypp/pk-backend-zypp.cpp | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/backends/zypp/pk-backend-zypp.cpp b/backends/zypp/pk-backend-zypp.cpp index 9aa24741c..62b78ec0c 100644 --- a/backends/zypp/pk-backend-zypp.cpp +++ b/backends/zypp/pk-backend-zypp.cpp @@ -2785,12 +2785,7 @@ backend_install_packages_thread (PkBackendJob *job, GVariant *params, gpointer u if (relations[i] == EQUAL_VERSION && !pk_bitfield_contain (transaction_flags, PK_TRANSACTION_FLAG_ENUM_ALLOW_REINSTALL)) { - g_autofree gchar *printable_tmp = pk_package_id_to_printable (package_ids[i]); -
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2020-03-11 18:32:36 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new.3160 (New) Package is "PackageKit" Wed Mar 11 18:32:36 2020 rev:198 rq:782591 version:1.1.13 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2020-03-06 08:02:02.755478854 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new.3160/PackageKit.changes 2020-03-11 18:32:50.690917020 +0100 @@ -1,0 +2,56 @@ +Sat Mar 7 15:34:03 UTC 2020 - Neal Gompa + +- Add patch to stop zypp backend failing on already installed packages (boo#1155624) + + Patch: PackageKit-zypp-revert-fail-on-already-installed.patch + +--- +Sat Jan 25 14:04:56 UTC 2020 - Dominique Leuenberger + +- No longer recommend -lang: supplements are in use + +--- +Sun Jan 19 22:48:36 UTC 2020 - Neal Gompa + +- Fix autotools modifications in openSUSE vendor patch + + Patch: PackageKit-dnf-Add-openSUSE-vendor.patch + +--- +Sun Jan 12 19:25:24 UTC 2020 - Neal Gompa + +- Update to version 1.1.13 + + New APIs for pk-client-helper in packagekit-glib2 + + dnf, zypp: Various fixes related to upgrades + + Added support for user services + + New plymouth "system-upgrade" and "reboot" modes used now + + Add mutex lock to protect EULAs array + + Correct bug tracker links on website + + Support non-x86 arches in gstreamer helper + + List installed, removed and obsoleted packages in pkcon get-updates + + Properly mark obsoleted packages when simulating upgrade + + Provide information about obsoleted packages + + Return directly when its state is going backwards + + Shrink the progress bar to fit when run in small spaces + + Improve the 'using' documentation with a link to API +- Remove upstreamed patches: + + PackageKit-add-mutex-lock-to-protect-backend-priv-eulas.patch + + PackageKit-return-on-transactions-going-backwards.patch + + PackageKit-zypp-dont-set-upgrade-mode-on-updating-specific-packages.patch + + PackageKit-zypp-fix-newest-filter.patch + + PackageKit-zypp-fix-what-provides-newest-filter.patch + + PackageKit-zypp-get-files-string-array.patch + + PackageKit-zypp-get-updates-dup-or-up.patch + + PackageKit-zypp-upgrade-system.patch + + zypp-perform-actions-disallowed-by-update-in-upgrade-mode.patch + + 0001-dnf-Don-t-override-DnfContext-s-release_ver-for-the-.patch + + 0001-dnf-Invalidate-the-sack-cache-after-downloading-new-.patch + + 0001-offline-update-Use-new-plymouth-system-upgrade-and-r.patch +- Add new openSUSE specific patches for DNF backend: + + PackageKit-dnf-Add-openSUSE-vendor.patch + + PackageKit-dnf-Add-support-for-AppStream-repodata-basenames-use.patch +- Remove old openSUSE patches for the DNF backend: + + 1001-dnf-Add-openSUSE-Tumbleweed-vendor.patch + + 1002-dnf-Add-support-for-AppStream-repodata-basenames-use.patch +- Refresh patches: + + PackageKit-drop-gtk2.patch + +--- @@ -38,0 +95,13 @@ + +--- +Sun Sep 1 02:29:07 UTC 2019 - Neal Gompa + +- Build PackageKit DNF backend +- Add patches to support backend + + 0001-dnf-Invalidate-the-sack-cache-after-downloading-new-.patch + + 0001-dnf-Don-t-override-DnfContext-s-release_ver-for-the-.patch + + 1001-dnf-Add-openSUSE-Tumbleweed-vendor.patch + + 1002-dnf-Add-support-for-AppStream-repodata-basenames-use.patch +- Add patch to improve offline updates with plymouth + + 0001-offline-update-Use-new-plymouth-system-upgrade-and-r.patch +- Fix Supplements to use modern rich Supplements statements Old: PackageKit-1.1.12.tar.xz PackageKit-1.1.12.tar.xz.asc PackageKit-add-mutex-lock-to-protect-backend-priv-eulas.patch PackageKit-return-on-transactions-going-backwards.patch PackageKit-zypp-dont-set-upgrade-mode-on-updating-specific-packages.patch PackageKit-zypp-fix-newest-filter.patch PackageKit-zypp-fix-what-provides-newest-filter.patch PackageKit-zypp-get-files-string-array.patch PackageKit-zypp-get-updates-dup-or-up.patch PackageKit-zypp-upgrade-system.patch zypp-perform-actions-disallowed-by-update-in-upgrade-mode.patch New: PackageKit-1.1.13.tar.xz PackageKit-1.1.13.tar.xz.asc PackageKit-dnf-Add-openSUSE-vendor.patch PackageKit-dnf-Add-support-for-AppStream-repodata-basenames-use.patch PackageKit-zypp-revert-fail-on-already-installed.patch Other differences: -- ++ PackageKit.spec ++ ---
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2020-03-06 08:01:59 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new.26092 (New) Package is "PackageKit" Fri Mar 6 08:01:59 2020 rev:197 rq: version:1.1.12 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2020-03-04 09:37:52.445836749 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new.26092/PackageKit.changes 2020-03-06 08:02:02.755478854 +0100 @@ -2,50 +1,0 @@ -Sat Jan 25 14:04:56 UTC 2020 - Dominique Leuenberger - -- No longer recommend -lang: supplements are in use - -Sun Jan 19 22:48:36 UTC 2020 - Neal Gompa - -- Fix autotools modifications in openSUSE vendor patch - + Patch: PackageKit-dnf-Add-openSUSE-vendor.patch - -Sun Jan 12 19:25:24 UTC 2020 - Neal Gompa - -- Update to version 1.1.13 - + New APIs for pk-client-helper in packagekit-glib2 - + dnf, zypp: Various fixes related to upgrades - + Added support for user services - + New plymouth "system-upgrade" and "reboot" modes used now - + Add mutex lock to protect EULAs array - + Correct bug tracker links on website - + Support non-x86 arches in gstreamer helper - + List installed, removed and obsoleted packages in pkcon get-updates - + Properly mark obsoleted packages when simulating upgrade - + Provide information about obsoleted packages - + Return directly when its state is going backwards - + Shrink the progress bar to fit when run in small spaces - + Improve the 'using' documentation with a link to API -- Remove upstreamed patches: - + PackageKit-add-mutex-lock-to-protect-backend-priv-eulas.patch - + PackageKit-return-on-transactions-going-backwards.patch - + PackageKit-zypp-dont-set-upgrade-mode-on-updating-specific-packages.patch - + PackageKit-zypp-fix-newest-filter.patch - + PackageKit-zypp-fix-what-provides-newest-filter.patch - + PackageKit-zypp-get-files-string-array.patch - + PackageKit-zypp-get-updates-dup-or-up.patch - + PackageKit-zypp-upgrade-system.patch - + zypp-perform-actions-disallowed-by-update-in-upgrade-mode.patch - + 0001-dnf-Don-t-override-DnfContext-s-release_ver-for-the-.patch - + 0001-dnf-Invalidate-the-sack-cache-after-downloading-new-.patch - + 0001-offline-update-Use-new-plymouth-system-upgrade-and-r.patch -- Add new openSUSE specific patches for DNF backend: - + PackageKit-dnf-Add-openSUSE-vendor.patch - + PackageKit-dnf-Add-support-for-AppStream-repodata-basenames-use.patch -- Remove old openSUSE patches for the DNF backend: - + 1001-dnf-Add-openSUSE-Tumbleweed-vendor.patch - + 1002-dnf-Add-support-for-AppStream-repodata-basenames-use.patch -- Refresh patches: - + PackageKit-drop-gtk2.patch - @@ -89,13 +38,0 @@ - -Sun Sep 1 02:29:07 UTC 2019 - Neal Gompa - -- Build PackageKit DNF backend -- Add patches to support backend - + 0001-dnf-Invalidate-the-sack-cache-after-downloading-new-.patch - + 0001-dnf-Don-t-override-DnfContext-s-release_ver-for-the-.patch - + 1001-dnf-Add-openSUSE-Tumbleweed-vendor.patch - + 1002-dnf-Add-support-for-AppStream-repodata-basenames-use.patch -- Add patch to improve offline updates with plymouth - + 0001-offline-update-Use-new-plymouth-system-upgrade-and-r.patch -- Fix Supplements to use modern rich Supplements statements Old: PackageKit-1.1.13.tar.xz PackageKit-1.1.13.tar.xz.asc PackageKit-dnf-Add-openSUSE-vendor.patch PackageKit-dnf-Add-support-for-AppStream-repodata-basenames-use.patch New: PackageKit-1.1.12.tar.xz PackageKit-1.1.12.tar.xz.asc PackageKit-add-mutex-lock-to-protect-backend-priv-eulas.patch PackageKit-return-on-transactions-going-backwards.patch PackageKit-zypp-dont-set-upgrade-mode-on-updating-specific-packages.patch PackageKit-zypp-fix-newest-filter.patch PackageKit-zypp-fix-what-provides-newest-filter.patch PackageKit-zypp-get-files-string-array.patch PackageKit-zypp-get-updates-dup-or-up.patch PackageKit-zypp-upgrade-system.patch zypp-perform-actions-disallowed-by-update-in-upgrade-mode.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.7nkLUK/_old 2020-03-06 08:02:04.207480017 +0100 +++ /var/tmp/diff_new_pack.7nkLUK/_new 2020-03-06 08:02:04.211480019 +0100 @@ -22,14 +22,6 @@ %else %bcond_without offline_updates %endif - -# Only make DNF backend available on openSUSE flavors -%if (0%{?sle_version} >= 150100 || 0%{?suse_version} >= 1550) &&
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2020-03-04 09:37:51 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new.26092 (New) Package is "PackageKit" Wed Mar 4 09:37:51 2020 rev:196 rq:780741 version:1.1.13 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2019-11-29 15:57:05.856965467 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new.26092/PackageKit.changes 2020-03-04 09:37:52.445836749 +0100 @@ -1,0 +2,50 @@ +Sat Jan 25 14:04:56 UTC 2020 - Dominique Leuenberger + +- No longer recommend -lang: supplements are in use + +--- +Sun Jan 19 22:48:36 UTC 2020 - Neal Gompa + +- Fix autotools modifications in openSUSE vendor patch + + Patch: PackageKit-dnf-Add-openSUSE-vendor.patch + +--- +Sun Jan 12 19:25:24 UTC 2020 - Neal Gompa + +- Update to version 1.1.13 + + New APIs for pk-client-helper in packagekit-glib2 + + dnf, zypp: Various fixes related to upgrades + + Added support for user services + + New plymouth "system-upgrade" and "reboot" modes used now + + Add mutex lock to protect EULAs array + + Correct bug tracker links on website + + Support non-x86 arches in gstreamer helper + + List installed, removed and obsoleted packages in pkcon get-updates + + Properly mark obsoleted packages when simulating upgrade + + Provide information about obsoleted packages + + Return directly when its state is going backwards + + Shrink the progress bar to fit when run in small spaces + + Improve the 'using' documentation with a link to API +- Remove upstreamed patches: + + PackageKit-add-mutex-lock-to-protect-backend-priv-eulas.patch + + PackageKit-return-on-transactions-going-backwards.patch + + PackageKit-zypp-dont-set-upgrade-mode-on-updating-specific-packages.patch + + PackageKit-zypp-fix-newest-filter.patch + + PackageKit-zypp-fix-what-provides-newest-filter.patch + + PackageKit-zypp-get-files-string-array.patch + + PackageKit-zypp-get-updates-dup-or-up.patch + + PackageKit-zypp-upgrade-system.patch + + zypp-perform-actions-disallowed-by-update-in-upgrade-mode.patch + + 0001-dnf-Don-t-override-DnfContext-s-release_ver-for-the-.patch + + 0001-dnf-Invalidate-the-sack-cache-after-downloading-new-.patch + + 0001-offline-update-Use-new-plymouth-system-upgrade-and-r.patch +- Add new openSUSE specific patches for DNF backend: + + PackageKit-dnf-Add-openSUSE-vendor.patch + + PackageKit-dnf-Add-support-for-AppStream-repodata-basenames-use.patch +- Remove old openSUSE patches for the DNF backend: + + 1001-dnf-Add-openSUSE-Tumbleweed-vendor.patch + + 1002-dnf-Add-support-for-AppStream-repodata-basenames-use.patch +- Refresh patches: + + PackageKit-drop-gtk2.patch + +--- @@ -38,0 +89,13 @@ + +--- +Sun Sep 1 02:29:07 UTC 2019 - Neal Gompa + +- Build PackageKit DNF backend +- Add patches to support backend + + 0001-dnf-Invalidate-the-sack-cache-after-downloading-new-.patch + + 0001-dnf-Don-t-override-DnfContext-s-release_ver-for-the-.patch + + 1001-dnf-Add-openSUSE-Tumbleweed-vendor.patch + + 1002-dnf-Add-support-for-AppStream-repodata-basenames-use.patch +- Add patch to improve offline updates with plymouth + + 0001-offline-update-Use-new-plymouth-system-upgrade-and-r.patch +- Fix Supplements to use modern rich Supplements statements Old: PackageKit-1.1.12.tar.xz PackageKit-1.1.12.tar.xz.asc PackageKit-add-mutex-lock-to-protect-backend-priv-eulas.patch PackageKit-return-on-transactions-going-backwards.patch PackageKit-zypp-dont-set-upgrade-mode-on-updating-specific-packages.patch PackageKit-zypp-fix-newest-filter.patch PackageKit-zypp-fix-what-provides-newest-filter.patch PackageKit-zypp-get-files-string-array.patch PackageKit-zypp-get-updates-dup-or-up.patch PackageKit-zypp-upgrade-system.patch zypp-perform-actions-disallowed-by-update-in-upgrade-mode.patch New: PackageKit-1.1.13.tar.xz PackageKit-1.1.13.tar.xz.asc PackageKit-dnf-Add-openSUSE-vendor.patch PackageKit-dnf-Add-support-for-AppStream-repodata-basenames-use.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.U8QGAF/_old 2020-03-04 09:37:55.161838377 +0100 +++ /var/tmp/diff_new_pack.U8QGAF/_new 2020-03-04 09:37:55.197838398 +0100 @@ -22,6 +22,14 @@ %else %bcond_without offline_updates %endif + +# Only make DNF backend available on openSUSE flavors +%if (0%{?sle_version} >= 150100 || 0%{?suse_version} >=
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2019-11-29 15:56:22 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new.26869 (New) Package is "PackageKit" Fri Nov 29 15:56:22 2019 rev:195 rq:750926 version:1.1.12 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2019-11-06 15:46:26.134854406 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new.26869/PackageKit.changes 2019-11-29 15:57:05.856965467 +0100 @@ -1,0 +2,17 @@ +Thu Nov 21 01:09:07 UTC 2019 - Jonathan Kang + +- Add PackageKit-zypp-update-packages-in-all-openSUSE.patch: Handle + Tumbleweed upgrade in update-packages as well so that it doesn't + break other components. + +--- +Wed Nov 13 02:00:32 UTC 2019 - Jonathan Kang + +- Add PackageKit-zypp-upgrade-system.patch: zypp: implement + upgrade-system method (bsc#1155638, bsc#1154973, + gh#hughsie/PackageKit/commit/d060dd24). +- Add PackageKit-zypp-get-files-string-array.patch: zypp: pass an + array of strings to pk_backend_job_files() + (gh#hughsie/PackageKit#351). + +-- New: PackageKit-zypp-get-files-string-array.patch PackageKit-zypp-update-packages-in-all-openSUSE.patch PackageKit-zypp-upgrade-system.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.ZQBb3O/_old 2019-11-29 15:57:06.712964976 +0100 +++ /var/tmp/diff_new_pack.ZQBb3O/_new 2019-11-29 15:57:06.716964973 +0100 @@ -1,7 +1,7 @@ # # spec file for package PackageKit # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -60,6 +60,12 @@ # PATCH-FIX-UPSTREAM PackageKit-zypp-dont-set-upgrade-mode-on-updating-specific-packages.patch gh#hughsie/PackageKit#345 sck...@suse.com -- zypp: Don't set upgrade mode in update-packages Patch9: PackageKit-zypp-dont-set-upgrade-mode-on-updating-specific-packages.patch Patch10:zypp-perform-actions-disallowed-by-update-in-upgrade-mode.patch +# PATCH-FIX-UPSTREAM PackageKit-zypp-upgrade-system.patch bsc#1155638, bsc#1154973, gh#hughsie/PackageKit/commit/d060dd24 sck...@suse.com -- zypp: implement upgrade-system method +Patch11:PackageKit-zypp-upgrade-system.patch +# PATCH-FIX-UPSTREAM PackageKit-zypp-get-files-string-array.patch gh#hughsie/PackageKit#351 sck...@suse.com -- zypp: pass an array of strings to pk_backend_job_files() +Patch12:PackageKit-zypp-get-files-string-array.patch +# PATCH-FIX-UPSTREAM PackageKit-zypp-update-packages-in-all-openSUSE.patch sck...@suse.com -- Handle Tumbleweed upgrade in update-packages as well so that it doesn't break other components. +Patch13:PackageKit-zypp-update-packages-in-all-openSUSE.patch BuildRequires: autoconf-archive BuildRequires: fdupes ++ PackageKit-zypp-get-files-string-array.patch ++ >From 98dd535f594bf43eb5f9ab6d27aa55b75d3ea4e5 Mon Sep 17 00:00:00 2001 From: Jonathan Kang Date: Fri, 8 Nov 2019 10:55:29 +0800 Subject: [PATCH] zypp: pass an array of strings to pk_backend_job_files() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previous, a list of file strings were joined a single string with ";" inserted between each of them and the generated long string was passed to pk_backend_job_files(). While pk_backend_job_files() expects an array of strings. Fix that by passing an array of string instread of a long string to pk_backend_job_files(). https://github.com/hughsie/PackageKit/issues/351 --- backends/zypp/pk-backend-zypp.cpp | 21 + 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/backends/zypp/pk-backend-zypp.cpp b/backends/zypp/pk-backend-zypp.cpp index 572c63e02..ffa8a2425 100644 --- a/backends/zypp/pk-backend-zypp.cpp +++ b/backends/zypp/pk-backend-zypp.cpp @@ -3351,7 +3351,7 @@ backend_get_files_thread (PkBackendJob *job, GVariant *params, gpointer user_dat for (uint i = 0; package_ids[i]; i++) { pk_backend_job_set_status (job, PK_STATUS_ENUM_QUERY); sat::Solvable solvable = zypp_get_package_by_id (package_ids[i]); - +
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2019-11-06 15:46:21 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new.2990 (New) Package is "PackageKit" Wed Nov 6 15:46:21 2019 rev:194 rq: version:1.1.12 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2019-10-30 14:38:52.765611618 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new.2990/PackageKit.changes 2019-11-06 15:46:26.134854406 +0100 @@ -2,10 +1,0 @@ -Tue Oct 22 00:45:02 UTC 2019 - Jonathan Kang - -- Add PackageKit-zypp-reset-upgrade-mode-when-not-needed.patch: - zypp: Reset upgrade mode to FALSE when not needed - (gh#hughsie/PackageKit/commit/57e846f0). -- Add PackageKit-zypp-promt-installing-already-installed-packages.patch: - zypp: Promt users when installing already installed packages - (gh#hughsie/PackageKit/commit/c45e0f22). - Old: PackageKit-zypp-promt-installing-already-installed-packages.patch PackageKit-zypp-reset-upgrade-mode-when-not-needed.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.isxcbv/_old 2019-11-06 15:46:30.126858583 +0100 +++ /var/tmp/diff_new_pack.isxcbv/_new 2019-11-06 15:46:30.166858625 +0100 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -60,10 +60,6 @@ # PATCH-FIX-UPSTREAM PackageKit-zypp-dont-set-upgrade-mode-on-updating-specific-packages.patch gh#hughsie/PackageKit#345 sck...@suse.com -- zypp: Don't set upgrade mode in update-packages Patch9: PackageKit-zypp-dont-set-upgrade-mode-on-updating-specific-packages.patch Patch10:zypp-perform-actions-disallowed-by-update-in-upgrade-mode.patch -# PATCH-FIX-UPSTREAM PackageKit-zypp-reset-upgrade-mode-when-not-needed.patch gh#hughsie/PackageKit/commit/57e846f0 sck...@suse.com -- zypp: Reset upgrade mode to FALSE when not needed -Patch11:PackageKit-zypp-reset-upgrade-mode-when-not-needed.patch -# PATCH-FIX-UPSTREAM PackageKit-zypp-promt-installing-already-installed-packages.patch gh#hughsie/PackageKit/commit/c45e0f22 sck...@suse.com -- zypp: Promt users when installing already installed packages -Patch12: PackageKit-zypp-promt-installing-already-installed-packages.patch BuildRequires: autoconf-archive BuildRequires: fdupes
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2019-10-30 14:38:49 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new.2990 (New) Package is "PackageKit" Wed Oct 30 14:38:49 2019 rev:193 rq:742520 version:1.1.12 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2019-10-17 13:05:56.880288924 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new.2990/PackageKit.changes 2019-10-30 14:38:52.765611618 +0100 @@ -1,0 +2,10 @@ +Tue Oct 22 00:45:02 UTC 2019 - Jonathan Kang + +- Add PackageKit-zypp-reset-upgrade-mode-when-not-needed.patch: + zypp: Reset upgrade mode to FALSE when not needed + (gh#hughsie/PackageKit/commit/57e846f0). +- Add PackageKit-zypp-promt-installing-already-installed-packages.patch: + zypp: Promt users when installing already installed packages + (gh#hughsie/PackageKit/commit/c45e0f22). + +--- New: PackageKit-zypp-promt-installing-already-installed-packages.patch PackageKit-zypp-reset-upgrade-mode-when-not-needed.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.oZgFmf/_old 2019-10-30 14:38:53.389612283 +0100 +++ /var/tmp/diff_new_pack.oZgFmf/_new 2019-10-30 14:38:53.393612287 +0100 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -60,6 +60,10 @@ # PATCH-FIX-UPSTREAM PackageKit-zypp-dont-set-upgrade-mode-on-updating-specific-packages.patch gh#hughsie/PackageKit#345 sck...@suse.com -- zypp: Don't set upgrade mode in update-packages Patch9: PackageKit-zypp-dont-set-upgrade-mode-on-updating-specific-packages.patch Patch10:zypp-perform-actions-disallowed-by-update-in-upgrade-mode.patch +# PATCH-FIX-UPSTREAM PackageKit-zypp-reset-upgrade-mode-when-not-needed.patch gh#hughsie/PackageKit/commit/57e846f0 sck...@suse.com -- zypp: Reset upgrade mode to FALSE when not needed +Patch11:PackageKit-zypp-reset-upgrade-mode-when-not-needed.patch +# PATCH-FIX-UPSTREAM PackageKit-zypp-promt-installing-already-installed-packages.patch gh#hughsie/PackageKit/commit/c45e0f22 sck...@suse.com -- zypp: Promt users when installing already installed packages +Patch12: PackageKit-zypp-promt-installing-already-installed-packages.patch BuildRequires: autoconf-archive BuildRequires: fdupes ++ PackageKit-zypp-promt-installing-already-installed-packages.patch ++ >From 3b120142433ab5fcee63199d2ee6f9cb415a4e69 Mon Sep 17 00:00:00 2001 From: Jonathan Kang Date: Thu, 17 Oct 2019 14:31:29 +0800 Subject: [PATCH] zypp: Promt users when installing already installed packages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previously, zypp backend doesn’t check if package of newer version or the same version has been already installed. It simply installs the package as long as that package does exist. Fix that by adding relation checks before installing a package and promt users accordingly. --- backends/zypp/pk-backend-zypp.cpp | 83 --- 1 file changed, 77 insertions(+), 6 deletions(-) diff --git a/backends/zypp/pk-backend-zypp.cpp b/backends/zypp/pk-backend-zypp.cpp index 3a26c73a3..572c63e02 100644 --- a/backends/zypp/pk-backend-zypp.cpp +++ b/backends/zypp/pk-backend-zypp.cpp @@ -103,6 +103,11 @@ typedef enum { UPDATE } PerformType; +typedef enum { +NEWER_VERSION, +OLDER_VERSION, +EQUAL_VERSION +} VersionRelation; class ZyppJob { public: @@ -2727,7 +2732,7 @@ backend_install_packages_thread (PkBackendJob *job, GVariant *params, gpointer u PkBitfield transaction_flags = 0; gchar **package_ids; - + g_variant_get(params, "(t^a)", _flags, _ids); @@ -2745,18 +2750,24 @@ backend_install_packages_thread (PkBackendJob *job, GVariant *params, gpointer u pk_backend_job_set_status (job, PK_STATUS_ENUM_QUERY); pk_backend_job_set_percentage (job, 0); - + try { ResPool pool = zypp_build_pool (zypp, TRUE); PoolStatusSaver saver; pk_backend_job_set_percentage (job, 10); vector items; - + VersionRelation relations[g_strv_length (package_ids)]; guint to_install = 0; + for (guint i = 0; package_ids[i]; i++) {
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2019-10-17 13:05:55 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new.2352 (New) Package is "PackageKit" Thu Oct 17 13:05:55 2019 rev:192 rq:738470 version:1.1.12 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2019-09-11 10:18:17.487526412 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new.2352/PackageKit.changes 2019-10-17 13:05:56.880288924 +0200 @@ -1,0 +2,15 @@ +Mon Oct 14 07:00:32 UTC 2019 - Jonathan Kang + +- Remove zypp-Switch-to-doUpgrade-solver-when-required-by-distribution.patch, + rebase zypp-perform-actions-disallowed-by-update-in-upgrade-mode.patch, + add PackageKit-zypp-dont-set-upgrade-mode-on-updating-specific-packages.patch: + zypp: Don't set upgrade mode in update-packages + (gh#hughsie/PackageKit#345). + +--- +Wed Oct 9 06:19:11 UTC 2019 - Jonathan Kang + +- Add PackageKit-zypp-get-updates-dup-or-up.patch: Fix get-updates + in Tumbleweed(gh#hughsie/PackageKit#343). + +--- Old: zypp-Switch-to-doUpgrade-solver-when-required-by-distribution.patch New: PackageKit-zypp-dont-set-upgrade-mode-on-updating-specific-packages.patch PackageKit-zypp-get-updates-dup-or-up.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.Ma0Y6D/_old 2019-10-17 13:05:57.916286256 +0200 +++ /var/tmp/diff_new_pack.Ma0Y6D/_new 2019-10-17 13:05:57.920286246 +0200 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -47,16 +47,19 @@ Patch2: PackageKit-add-mutex-lock-to-protect-backend-priv-eulas.patch # PATCH-FEATURE-OPENSUSE PackageKit-systemd-timers.patch bsc#1115410 sck...@suse.com -- Migrate from cron to systemd timers Patch3: PackageKit-systemd-timers.patch -Patch4: zypp-Switch-to-doUpgrade-solver-when-required-by-distribution.patch # PATCH-FIX-OPENSUSE PackageKit-remove-polkit-rules.patch bsc#1125434 sck...@suse.com -- Remove polkit rules file -Patch5: PackageKit-remove-polkit-rules.patch -Patch6: zypp-perform-actions-disallowed-by-update-in-upgrade-mode.patch +Patch4: PackageKit-remove-polkit-rules.patch # PATCH-FIX-UPSTREAM PackageKit-zypp-fix-newest-filter.patch bsc#1137019 gh#hughsie/PackageKit#329 sck...@suse.com -- zypp: Emit installed package for newest filter -Patch7: PackageKit-zypp-fix-newest-filter.patch +Patch5: PackageKit-zypp-fix-newest-filter.patch # PATCH-FIX-UPSTREAM PackageKit-zypp-fix-what-provides-newest-filter.patch bsc#984865, gh#hughsie/PackageKit#335 sck...@suse.com -- zypp: Add support for newest filter in what-provides -Patch8: PackageKit-zypp-fix-what-provides-newest-filter.patch +Patch6: PackageKit-zypp-fix-what-provides-newest-filter.patch # PATCH-FIX-UPSTREAM PackageKit-drop-gtk2.patch gh#/hughsie/PackageKit#333 - Port away from gtk2 dependency -Patch9: PackageKit-drop-gtk2.patch +Patch7: PackageKit-drop-gtk2.patch +# PATCH-FIX-UPSTREAM PackageKit-zypp-get-updates-dup-or-up.patch gh#hughsie/PackageKit#343 sck...@suse.com -- zypp: Fix get-updates in Tumbleweed +Patch8: PackageKit-zypp-get-updates-dup-or-up.patch +# PATCH-FIX-UPSTREAM PackageKit-zypp-dont-set-upgrade-mode-on-updating-specific-packages.patch gh#hughsie/PackageKit#345 sck...@suse.com -- zypp: Don't set upgrade mode in update-packages +Patch9: PackageKit-zypp-dont-set-upgrade-mode-on-updating-specific-packages.patch +Patch10:zypp-perform-actions-disallowed-by-update-in-upgrade-mode.patch BuildRequires: autoconf-archive BuildRequires: fdupes ++ PackageKit-zypp-dont-set-upgrade-mode-on-updating-specific-packages.patch ++ >From 44a2887864b7c0ac54d342126069b6a7ff3c5822 Mon Sep 17 00:00:00 2001 From: Jonathan Kang Date: Mon, 14 Oct 2019 15:17:34 +0800 Subject: [PATCH] zypp: Don't set upgrade mode in update-packages update-packages does two things: 1. update the whole system. 2. update specific packages. setting upgrade mode to TRUE in update-packages can lead to inability to update specific packages, as the resolver always trys to upgrade the whole system in upgrade mode. Since calling "pkcon update" in Tumbleweed invokes get-updates where upgrade mode is set to TRUE, we don't have to set it in update-packages anymore.
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2019-09-11 10:18:16 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new.7948 (New) Package is "PackageKit" Wed Sep 11 10:18:16 2019 rev:191 rq:729386 version:1.1.12 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2019-08-28 16:01:15.498802520 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new.7948/PackageKit.changes 2019-09-11 10:18:17.487526412 +0200 @@ -1,0 +2,7 @@ +Mon Sep 9 08:27:28 UTC 2019 - Jonathan Kang + +- Modify PackageKit-systemd-timers.patch: Port the cron + configuration variables to the script, and add -sendwait + parameter to mail in the script(bsc#1130306). + +--- Other differences: -- ++ PackageKit-systemd-timers.patch ++ --- /var/tmp/diff_new_pack.zxQqp8/_old 2019-09-11 10:18:18.847526243 +0200 +++ /var/tmp/diff_new_pack.zxQqp8/_new 2019-09-11 10:18:18.851526243 +0200 @@ -65,7 +65,7 @@ === --- /dev/null +++ PackageKit-1.1.12/data/packagekit-background.sh -@@ -0,0 +1,58 @@ +@@ -0,0 +1,102 @@ +#!/bin/bash +# Copyright (C) 2008 Richard Hughes +# @@ -77,7 +77,51 @@ +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. + -+[ -f /etc/sysconfig/packagekit-background ] && . /etc/sysconfig/packagekit-background ++## Type:yesno ++## Default: no ++# ++# Run the cron job. ++# ++ENABLED=no ++ ++## Type:yesno ++## Default: no ++# ++# Check if updates are available, instead of installing. ++# ++CHECK_ONLY=no ++ ++## Type:yesno ++## Default: no ++# ++# Trigger updates, so they will be installed on reboot. ++# ++UPDATE_OFFLINE=no ++ ++## Type:string ++## Default: "" ++# ++# If MAILTO is set, the mail command is used to deliver PackageKit output. ++# By default MAILTO is unset, so crond mails the output by itself. ++# ++MAILTO="" ++ ++## Type:string ++## Default: "" ++# ++# You may set SYSTEM_NAME if you want your PackageKit emails tagged differently. ++# Default is output of hostname command. ++# ++SYSTEM_NAME="" ++ ++## Type:integer ++## Default: 3600 ++# ++# Update checks will sleep random time before contacting the servers to ++# avoid hammering them with thousands of request at the same time - this ++# is the maximum sleep time (in seconds) for the random wait period. ++# ++SLEEP_MAX=3600 + +# are we disabled? +if [ "$ENABLED" = "no" ]; then @@ -115,7 +159,7 @@ +if [ $PKCON_RETVAL -ne 5 ]; then + # send email + if [ -n "$MAILTO" ]; then -+ mail -s "System updates available: $SYSTEM_NAME" $MAILTO < $PKTMP ++ mail -Ssendwait -s "System updates available: $SYSTEM_NAME" $MAILTO < $PKTMP + else + # default behavior is to use cron's internal mailing of output from cron-script + cat $PKTMP
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2019-08-28 16:01:10 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new.7948 (New) Package is "PackageKit" Wed Aug 28 16:01:10 2019 rev:190 rq:725537 version:1.1.12 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2019-08-22 15:04:37.662577916 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new.7948/PackageKit.changes 2019-08-28 16:01:15.498802520 +0200 @@ -1,0 +2,11 @@ +Mon Aug 19 01:10:02 UTC 2019 - Bjørn Lie + +- Refresh patches with quilt. +- Drop PackageKit-cron-without-sleep.patch: Not needed for any + current version of openSUSE. +- Add PackageKit-drop-gtk2.patch: Port away from gtk2 dependency, + drop gtk2-devel BuildRequires (gh#/hughsie/PackageKit#333). +- Add autoconf-archive BuildRequires and run autogen.sh, needed as + above patch touches buildsystem. + +--- Old: PackageKit-cron-without-sleep.patch New: PackageKit-drop-gtk2.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.tYMUjw/_old 2019-08-28 16:01:16.266802404 +0200 +++ /var/tmp/diff_new_pack.tYMUjw/_new 2019-08-28 16:01:16.270802404 +0200 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -27,6 +27,7 @@ %if ! %{defined _fillupdir} %define _fillupdir %{_localstatedir}/adm/fillup-templates %endif + Name: PackageKit Version:1.1.12 Release:0 @@ -34,13 +35,12 @@ License:GPL-2.0-or-later Group: System/Daemons URL:https://www.freedesktop.org/software/PackageKit/ -Source0: http://www.freedesktop.org/software/PackageKit/releases/%{name}-%{version}.tar.xz -Source1: http://www.freedesktop.org/software/PackageKit/releases/%{name}-%{version}.tar.xz.asc +Source0:%{url}/releases/%{name}-%{version}.tar.xz +Source1:%{url}/releases/%{name}-%{version}.tar.xz.asc Source2:baselibs.conf Source3:PackageKit.tmpfiles Source99: PackageKit.keyring -# PATCH-FIX-OPENSUSE PackageKit-cron-without-sleep.patch boo#1071521 dims...@opensuse.org -- Do not sleep in the cron job; our cron mechansim has sufficient randomization -Patch0: PackageKit-cron-without-sleep.patch + # PATCH-FIX-UPSTREAM PackageKit-return-on-transactions-going-backwards.patch gh#hughsie/PackageKit#301, bsc#1038425 sck...@suse.com -- transaction: Return directly when its state is going backwards Patch1: PackageKit-return-on-transactions-going-backwards.patch # PATCH-FIX-UPSTREAM PackageKit-add-mutex-lock-to-protect-backend-priv-eulas.patch gh#hughsie/PackageKit#303, bsc#1038425 sck...@suse.com -- Remove pk_is_thread_default() check in pk_backend_is_eula_valid @@ -55,13 +55,16 @@ Patch7: PackageKit-zypp-fix-newest-filter.patch # PATCH-FIX-UPSTREAM PackageKit-zypp-fix-what-provides-newest-filter.patch bsc#984865, gh#hughsie/PackageKit#335 sck...@suse.com -- zypp: Add support for newest filter in what-provides Patch8: PackageKit-zypp-fix-what-provides-newest-filter.patch +# PATCH-FIX-UPSTREAM PackageKit-drop-gtk2.patch gh#/hughsie/PackageKit#333 - Port away from gtk2 dependency +Patch9: PackageKit-drop-gtk2.patch + +BuildRequires: autoconf-archive BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gobject-introspection-devel BuildRequires: gstreamer-devel BuildRequires: gstreamer-plugins-base-devel BuildRequires: gtk-doc -BuildRequires: gtk2-devel BuildRequires: gtk3-devel BuildRequires: intltool BuildRequires: libarchive-devel @@ -233,23 +236,11 @@ %lang_package %prep -%setup -q -%if 0%{suse_version} < 1500 -%patch0 -p1 -%endif -%patch1 -p1 -%patch2 -p1 -%if 0%{suse_version} >= 1500 -%patch3 -p1 -%endif -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 -%patch8 -p1 +%autosetup -p1 translation-update-upstream %build +NOCONFIGURE=1 ./autogen.sh %if !0%{?is_opensuse} export CFLAGS="%{optflags} -DSLE" %endif @@ -272,7 +263,7 @@ --disable-cron \ %endif %{nil} -make %{?_smp_mflags} +%make_build %install %make_install @@ -444,7 +435,6 @@ %dir %{_libdir}/gnome-settings-daemon-3.0/gtk-modules %{_libdir}/gnome-settings-daemon-3.0/gtk-modules/pk-gtk-module.desktop %{_libdir}/gtk-3.0/modules/* -%{_libdir}/gtk-2.0/modules/* %files devel %doc %{_datadir}/gtk-doc/html/PackageKit ++
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2019-08-22 15:03:01 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new.7948 (New) Package is "PackageKit" Thu Aug 22 15:03:01 2019 rev:189 rq:724486 version:1.1.12 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2019-06-27 15:53:07.371911583 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new.7948/PackageKit.changes 2019-08-22 15:04:37.662577916 +0200 @@ -1,0 +2,14 @@ +Mon Aug 19 01:10:01 UTC 2019 - Jonathan Kang + +- Add PackageKit-zypp-fix-what-provides-newest-filter.patch: + zypp: Add support for newest filter in what-provides(bsc#984865, + gh#hughsie/PackageKit#335). + +--- +Wed Aug 14 01:32:01 UTC 2019 - Jonathan Kang + +- Rename PackageKit-remove-default-thread-check.patch to + PackageKit-add-mutex-lock-to-protect-backend-priv-eulas.patch, + and update it with the one accepted upstream. + +--- Old: PackageKit-remove-default-thread-check.patch New: PackageKit-add-mutex-lock-to-protect-backend-priv-eulas.patch PackageKit-zypp-fix-what-provides-newest-filter.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.f8azT8/_old 2019-08-22 15:04:38.246577702 +0200 +++ /var/tmp/diff_new_pack.f8azT8/_new 2019-08-22 15:04:38.250577701 +0200 @@ -43,8 +43,8 @@ Patch0: PackageKit-cron-without-sleep.patch # PATCH-FIX-UPSTREAM PackageKit-return-on-transactions-going-backwards.patch gh#hughsie/PackageKit#301, bsc#1038425 sck...@suse.com -- transaction: Return directly when its state is going backwards Patch1: PackageKit-return-on-transactions-going-backwards.patch -# PATCH-FIX-UPSTREAM PackageKit-remove-default-thread-check.patch gh#hughsie/PackageKit#303, bsc#1038425 sck...@suse.com -- Remove pk_is_thread_default() check in pk_backend_is_eula_valid -Patch2: PackageKit-remove-default-thread-check.patch +# PATCH-FIX-UPSTREAM PackageKit-add-mutex-lock-to-protect-backend-priv-eulas.patch gh#hughsie/PackageKit#303, bsc#1038425 sck...@suse.com -- Remove pk_is_thread_default() check in pk_backend_is_eula_valid +Patch2: PackageKit-add-mutex-lock-to-protect-backend-priv-eulas.patch # PATCH-FEATURE-OPENSUSE PackageKit-systemd-timers.patch bsc#1115410 sck...@suse.com -- Migrate from cron to systemd timers Patch3: PackageKit-systemd-timers.patch Patch4: zypp-Switch-to-doUpgrade-solver-when-required-by-distribution.patch @@ -53,6 +53,8 @@ Patch6: zypp-perform-actions-disallowed-by-update-in-upgrade-mode.patch # PATCH-FIX-UPSTREAM PackageKit-zypp-fix-newest-filter.patch bsc#1137019 gh#hughsie/PackageKit#329 sck...@suse.com -- zypp: Emit installed package for newest filter Patch7: PackageKit-zypp-fix-newest-filter.patch +# PATCH-FIX-UPSTREAM PackageKit-zypp-fix-what-provides-newest-filter.patch bsc#984865, gh#hughsie/PackageKit#335 sck...@suse.com -- zypp: Add support for newest filter in what-provides +Patch8: PackageKit-zypp-fix-what-provides-newest-filter.patch BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gobject-introspection-devel @@ -244,6 +246,7 @@ %patch5 -p1 %patch6 -p1 %patch7 -p1 +%patch8 -p1 translation-update-upstream %build ++ PackageKit-add-mutex-lock-to-protect-backend-priv-eulas.patch ++ >From 1b028d0598224fbb1510355c4a7dee7d25873872 Mon Sep 17 00:00:00 2001 From: Jonathan Kang Date: Fri, 8 Mar 2019 21:44:08 +0800 Subject: [PATCH] Add mutex lock to protect backend->priv->eulas (#303) pk_is_thread_default() check was introduced in commit 44bd3ab6 to detect possible threading problems. Some backends need call pk_backend_is_eula_valid() in a thread which is not the default one to perform EULA related actions. This way pk_is_thread_default() check fails. Fix that by removing the pk_is_thread_default() checks in related functions and add mutex lock to avoid eulas to be accessed in multiple threads at the same time. Fixes #300 --- src/pk-backend.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/src/pk-backend.c b/src/pk-backend.c index 38f32a04c..c05f6c0cd 100644 --- a/src/pk-backend.c +++ b/src/pk-backend.c @@ -189,6 +189,7 @@ struct PkBackendPrivate gchar *name; gpointer file_changed_data; GHashTable *eulas; + GMutex eulas_mutex; GModule *handle; PkBackendDesc *desc; PkBackendFileChanged
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2019-06-27 15:53:05 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new.4615 (New) Package is "PackageKit" Thu Jun 27 15:53:05 2019 rev:188 rq:710955 version:1.1.12 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2019-05-10 09:15:28.77995 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new.4615/PackageKit.changes 2019-06-27 15:53:07.371911583 +0200 @@ -1,0 +2,6 @@ +Wed Jun 19 08:17:22 UTC 2019 - Jonathan Kang + +- Add PackageKit-zypp-fix-newest-filter.patch: zypp: Emit installed + package for newest filter (bsc#1125434, gh#hughsie/PackageKit#329). + +--- New: PackageKit-zypp-fix-newest-filter.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.AvSxvA/_old 2019-06-27 15:53:08.787913851 +0200 +++ /var/tmp/diff_new_pack.AvSxvA/_new 2019-06-27 15:53:08.791913858 +0200 @@ -51,6 +51,8 @@ # PATCH-FIX-OPENSUSE PackageKit-remove-polkit-rules.patch bsc#1125434 sck...@suse.com -- Remove polkit rules file Patch5: PackageKit-remove-polkit-rules.patch Patch6: zypp-perform-actions-disallowed-by-update-in-upgrade-mode.patch +# PATCH-FIX-UPSTREAM PackageKit-zypp-fix-newest-filter.patch bsc#1137019 gh#hughsie/PackageKit#329 sck...@suse.com -- zypp: Emit installed package for newest filter +Patch7: PackageKit-zypp-fix-newest-filter.patch BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gobject-introspection-devel @@ -241,6 +243,7 @@ %patch4 -p1 %patch5 -p1 %patch6 -p1 +%patch7 -p1 translation-update-upstream %build ++ PackageKit-zypp-fix-newest-filter.patch ++ >From 1c497c904959978229899ead80e7e94be73a6e15 Mon Sep 17 00:00:00 2001 From: Jonathan Kang Date: Wed, 19 Jun 2019 16:07:31 +0800 Subject: [PATCH] zypp: Emit installed package for newest filter Previously, zypp backend only emit newest package in backend_resolve_thread(). The newest filter processes installed and available package lists separately, so the installed package should be emitted as well. https://bugzilla.suse.com/show_bug.cgi?id=1137019 --- backends/zypp/pk-backend-zypp.cpp | 32 +-- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/backends/zypp/pk-backend-zypp.cpp b/backends/zypp/pk-backend-zypp.cpp index 13a5c5db1..a8d50593b 100644 --- a/backends/zypp/pk-backend-zypp.cpp +++ b/backends/zypp/pk-backend-zypp.cpp @@ -2895,6 +2895,7 @@ backend_resolve_thread (PkBackendJob *job, GVariant *params, gpointer user_data) zypp_get_packages_by_name (search[i], ResKind::pattern, v2); v.insert (v.end (), v2.begin (), v2.end ()); + sat::Solvable installed; sat::Solvable newest; vector pkgs; @@ -2906,7 +2907,11 @@ backend_resolve_thread (PkBackendJob *job, GVariant *params, gpointer user_data) if (zypp_filter_solvable (_filters, *it) || zypp_is_no_solvable(*it)) continue; - + + if (it->isSystem ()) { + installed = *it; + } + if (zypp_is_no_solvable(newest)) { newest = *it; } else if (it->edition() > newest.edition() || Arch::compare(it->arch(), newest.arch()) > 0) { @@ -2915,19 +2920,26 @@ backend_resolve_thread (PkBackendJob *job, GVariant *params, gpointer user_data) MIL << "emit " << *it << endl; pkgs.push_back (*it); } - - if (!zypp_is_no_solvable(newest)) { - - /* 'newest' filter support */ - if (pk_bitfield_contain (_filters, PK_FILTER_ENUM_NEWEST)) { - pkgs.clear(); - MIL << "emit just newest " << newest << endl; + + /* The newest filter processes installed and available package +* lists separately. */ + if (pk_bitfield_contain (_filters, PK_FILTER_ENUM_NEWEST)) { + pkgs.clear (); + + if (!zypp_is_no_solvable (installed)) { + MIL << "emit installed " << installed << endl; + pkgs.push_back (installed); + } + if (!zypp_is_no_solvable (newest)) { +
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2019-05-10 09:15:25 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new.5148 (New) Package is "PackageKit" Fri May 10 09:15:25 2019 rev:187 rq:701598 version:1.1.12 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2019-03-26 15:37:31.144369988 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new.5148/PackageKit.changes 2019-05-10 09:15:28.77995 +0200 @@ -1,0 +2,6 @@ +Tue Apr 23 15:39:37 UTC 2019 - Stasiek Michalski + +- Add zypp-perform-actions-disallowed-by-update-in-upgrade-mode.patch + to fix switch to upgrade mode in the backend + +--- New: zypp-perform-actions-disallowed-by-update-in-upgrade-mode.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.eEqZZl/_old 2019-05-10 09:15:29.336009811 +0200 +++ /var/tmp/diff_new_pack.eEqZZl/_new 2019-05-10 09:15:29.340009822 +0200 @@ -50,6 +50,7 @@ Patch4: zypp-Switch-to-doUpgrade-solver-when-required-by-distribution.patch # PATCH-FIX-OPENSUSE PackageKit-remove-polkit-rules.patch bsc#1125434 sck...@suse.com -- Remove polkit rules file Patch5: PackageKit-remove-polkit-rules.patch +Patch6: zypp-perform-actions-disallowed-by-update-in-upgrade-mode.patch BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gobject-introspection-devel @@ -239,6 +240,7 @@ %endif %patch4 -p1 %patch5 -p1 +%patch6 -p1 translation-update-upstream %build ++ zypp-perform-actions-disallowed-by-update-in-upgrade-mode.patch ++ >From 8db2a405634b0a98c78a8a1e0ebf339643a645b2 Mon Sep 17 00:00:00 2001 From: Stasiek Michalski Date: Thu, 14 Mar 2019 19:48:13 +0100 Subject: [PATCH] [zypp] Perform actions disallowed by update in upgrade mode --- backends/zypp/pk-backend-zypp.cpp | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/backends/zypp/pk-backend-zypp.cpp b/backends/zypp/pk-backend-zypp.cpp index b607d5632..13a5c5db1 100644 --- a/backends/zypp/pk-backend-zypp.cpp +++ b/backends/zypp/pk-backend-zypp.cpp @@ -1470,7 +1470,7 @@ zypp_perform_execution (PkBackendJob *job, ZYpp::Ptr zypp, PerformType type, gbo case INSTALL: case UPDATE: // for updates we only care for updates - if (it->status ().isToBeUninstalledDueToUpgrade ()) + if (it->status ().isToBeUninstalledDueToUpgrade () && !zypp->resolver()->upgradeMode()) continue; break; } @@ -3305,6 +3305,10 @@ backend_update_packages_thread (PkBackendJob *job, GVariant *params, gpointer us } } + if ( zypp->resolver()->upgradeMode() ) { + zypp->resolver()->dupSetAllowVendorChange ( ZConfig::instance().solver_dupAllowVendorChange() ); + } + PoolStatusSaver saver; for (guint i = 0; package_ids[i]; i++) { @@ -3323,12 +3327,12 @@ backend_update_packages_thread (PkBackendJob *job, GVariant *params, gpointer us // patches are special - they are not installed and can't have update candidates if (sel->kind() != ResKind::patch) { MIL << "sel " << sel->kind() << " " << sel->ident() << endl; - if (sel->installedEmpty()) { + if (sel->installedEmpty() && !zypp->resolver()->upgradeMode()) { zypp_backend_finished_error (job, PK_ERROR_ENUM_DEP_RESOLUTION_FAILED, "Package %s is not installed", package_ids[i]); return; } item = sel->updateCandidateObj(); - if (!item) { + if (!item && !zypp->resolver()->upgradeMode()) { zypp_backend_finished_error(job, PK_ERROR_ENUM_DEP_RESOLUTION_FAILED, "There is no update candidate for %s", sel->installedObj().satSolvable().asString().c_str()); return; }
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2019-03-26 15:37:30 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new.25356 (New) Package is "PackageKit" Tue Mar 26 15:37:30 2019 rev:186 rq:687765 version:1.1.12 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2019-03-22 14:57:13.789956504 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new.25356/PackageKit.changes 2019-03-26 15:37:31.144369988 +0100 @@ -1,0 +2,6 @@ +Tue Mar 19 08:31:13 UTC 2019 - sck...@suse.com + +- Add PackageKit-remove-polkit-rules.patch: Remove polkit rules + file (bsc#1125434). + +--- New: PackageKit-remove-polkit-rules.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.z9krdM/_old 2019-03-26 15:37:31.952369667 +0100 +++ /var/tmp/diff_new_pack.z9krdM/_new 2019-03-26 15:37:31.956369666 +0100 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -48,6 +48,8 @@ # PATCH-FEATURE-OPENSUSE PackageKit-systemd-timers.patch bsc#1115410 sck...@suse.com -- Migrate from cron to systemd timers Patch3: PackageKit-systemd-timers.patch Patch4: zypp-Switch-to-doUpgrade-solver-when-required-by-distribution.patch +# PATCH-FIX-OPENSUSE PackageKit-remove-polkit-rules.patch bsc#1125434 sck...@suse.com -- Remove polkit rules file +Patch5: PackageKit-remove-polkit-rules.patch BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gobject-introspection-devel @@ -236,6 +238,7 @@ %patch3 -p1 %endif %patch4 -p1 +%patch5 -p1 translation-update-upstream %build @@ -365,7 +368,7 @@ %files %license COPYING -%doc AUTHORS HACKING NEWS README +%doc AUTHORS HACKING NEWS README policy/org.freedesktop.packagekit.rules %dir %{_sysconfdir}/PackageKit %dir %{_datadir}/PackageKit %dir %{_datadir}/PackageKit/helpers @@ -400,7 +403,6 @@ %endif %verify(not md5 size mtime) %{_datadir}/PackageKit/transactions.db %{_datadir}/polkit-1/actions/org.freedesktop.packagekit.policy -%{_datadir}/polkit-1/rules.d/org.freedesktop.packagekit.rules %{_datadir}/dbus-1/system-services/* %{_unitdir}/packagekit.service %if 0%{suse_version} >= 1500 ++ PackageKit-remove-polkit-rules.patch ++ Index: PackageKit-1.1.12/policy/Makefile.am === --- PackageKit-1.1.12.orig/policy/Makefile.am +++ PackageKit-1.1.12/policy/Makefile.am @@ -1,8 +1,4 @@ -polkit_rulesdir = $(datadir)/polkit-1/rules.d -dist_polkit_rules_DATA = \ - org.freedesktop.packagekit.rules - polkit_policydir = $(datadir)/polkit-1/actions dist_polkit_policy_DATA = \ org.freedesktop.packagekit.policy
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2019-03-22 14:57:04 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new.25356 (New) Package is "PackageKit" Fri Mar 22 14:57:04 2019 rev:185 rq:686197 version:1.1.12 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2019-03-08 11:59:09.575977674 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new.25356/PackageKit.changes 2019-03-22 14:57:13.789956504 +0100 @@ -1,0 +2,9 @@ +Sun Mar 17 10:28:35 UTC 2019 - Jan Engelhardt + +- Limit fdupes to the btrfs subvolume. +- Combine %service_* calls to reduce generated boilerplate. +- Redo summaries without em dashes. +- Reduce %systemd_requires to %systemd_ordering; %service_* + can deal with the absence of it. + +--- Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.uzGfvT/_old 2019-03-22 14:57:15.189955539 +0100 +++ /var/tmp/diff_new_pack.uzGfvT/_new 2019-03-22 14:57:15.189955539 +0100 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -89,7 +89,7 @@ Obsoletes: ruck <= 0.6.3 # the browser-plugin was dropped with version 1.1.0 Obsoletes: %{name}-browser-plugin < 1.1.0 -%{?systemd_requires} +%{?systemd_ordering} %description PackageKit is a system designed to make installing and updating @@ -99,7 +99,7 @@ suck less. %package backend-zypp -Summary:Simple software installation management software -- Zypp Backend +Summary:Zypp backend for the PackageKit installation management software License:GPL-2.0-or-later Group: System/Daemons Requires: %{name} = %{version} @@ -113,7 +113,7 @@ suck less. %package gstreamer-plugin -Summary:Simple software installation management software +Summary:GStreamer plugin for the PackageKit installation management software License:GPL-2.0-or-later Group: Productivity/Multimedia/Other Requires(post): update-alternatives @@ -129,7 +129,7 @@ suck less. %package gtk3-module -Summary:Simple software installation management software +Summary:GTK3 backend for the PackageKit installation management software License:GPL-2.0-or-later Group: System/Libraries Recommends: %{name} = %{version} @@ -144,7 +144,7 @@ suck less. %package devel -Summary:Needed include files and libraries for development +Summary:Header files for development with PackageKit License:GPL-2.0-or-later Group: Development/Libraries/C and C++ Requires: %{name} = %{version} @@ -156,7 +156,7 @@ compile and link applications using PackageKit. %package -n libpackagekit-glib2-18 -Summary:Simple software installation management software +Summary:GLib integration of PackageKit License:LGPL-2.1-or-later Group: System/Libraries Recommends: %{name} @@ -172,7 +172,7 @@ suck less. %package -n typelib-1_0-PackageKitGlib-1_0 -Summary:Simple software installation management software -- Introspection bindings +Summary:Introspection bindings for PackageKit's GLib integration License:LGPL-2.1-or-later Group: System/Libraries @@ -187,7 +187,7 @@ PackageKit client library. %package -n libpackagekit-glib2-devel -Summary:Simple software installation management software +Summary:GLib integration of PackageKit License:LGPL-2.1-or-later Group: Development/Libraries/GNOME Requires: libpackagekit-glib2-18 = %{version} @@ -203,7 +203,7 @@ suck less. %package branding-upstream -Summary:Simple software installation management software -- Upstream configuration +Summary:Upstream configuration for the PackageKit installation management software License:GPL-2.0-or-later Group: System/Daemons Requires: %{name} = %{version} @@ -288,13 +288,12 @@ install -m 0644 %{SOURCE3} %{buildroot}%{_prefix}/lib/tmpfiles.d/%{name}.conf %find_lang %{name} %{?no_lang_C} -%fdupes %{buildroot} +%fdupes %{buildroot}/%{_prefix} %pre %service_add_pre packagekit.service %if 0%{suse_version} >= 1500 -%service_add_pre packagekit-background.service -%service_add_pre packagekit-background.timer +%service_add_pre packagekit-background.service packagekit-background.timer %endif %if %{with offline_updates}
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2019-03-08 11:59:08 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new.28833 (New) Package is "PackageKit" Fri Mar 8 11:59:08 2019 rev:184 rq:681224 version:1.1.12 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2019-02-17 12:19:25.520232149 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new.28833/PackageKit.changes 2019-03-08 11:59:09.575977674 +0100 @@ -1,0 +2,6 @@ +Mon Mar 4 02:32:57 UTC 2019 - sck...@suse.com + +- Modify PackageKit-systemd-timers.patch: Fix unit field in + packagekit-background.timer (boo#1126943). + +--- Other differences: -- ++ PackageKit-systemd-timers.patch ++ --- /var/tmp/diff_new_pack.RDskiz/_old 2019-03-08 11:59:10.067977591 +0100 +++ /var/tmp/diff_new_pack.RDskiz/_new 2019-03-08 11:59:10.067977591 +0100 @@ -136,7 +136,7 @@ +OnCalendar=daily +AccuracySec=12h +Persistent=true -+Unit=package-background.service ++Unit=packagekit-background.service + +[Install] +WantedBy=timers.target
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2019-02-17 12:19:24 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new.28833 (New) Package is "PackageKit" Sun Feb 17 12:19:24 2019 rev:183 rq:676261 version:1.1.12 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2019-01-26 22:17:41.771085171 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new.28833/PackageKit.changes 2019-02-17 12:19:25.520232149 +0100 @@ -1,0 +2,6 @@ +Thu Feb 14 02:45:13 UTC 2019 - Stasiek Michalski + +- Add zypp-Switch-to-doUpgrade-solver-when-required-by-distribution.patch + so Tumbleweed can properly update + +--- New: zypp-Switch-to-doUpgrade-solver-when-required-by-distribution.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.EBlJuY/_old 2019-02-17 12:19:26.092231992 +0100 +++ /var/tmp/diff_new_pack.EBlJuY/_new 2019-02-17 12:19:26.092231992 +0100 @@ -47,6 +47,7 @@ Patch2: PackageKit-remove-default-thread-check.patch # PATCH-FEATURE-OPENSUSE PackageKit-systemd-timers.patch bsc#1115410 sck...@suse.com -- Migrate from cron to systemd timers Patch3: PackageKit-systemd-timers.patch +Patch4: zypp-Switch-to-doUpgrade-solver-when-required-by-distribution.patch BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gobject-introspection-devel @@ -234,6 +235,7 @@ %if 0%{suse_version} >= 1500 %patch3 -p1 %endif +%patch4 -p1 translation-update-upstream %build ++ zypp-Switch-to-doUpgrade-solver-when-required-by-distribution.patch ++ >From 98d8547cc3abfbb2a1fb2aad1f11f05a9d394636 Mon Sep 17 00:00:00 2001 From: Stasiek Michalski Date: Thu, 24 Jan 2019 16:14:39 +0100 Subject: [PATCH] zypp: Switch to doUpgrade solver when required by distribution --- backends/zypp/pk-backend-zypp.cpp | 8 1 file changed, 8 insertions(+) diff --git a/backends/zypp/pk-backend-zypp.cpp b/backends/zypp/pk-backend-zypp.cpp index 77fc69639..b607d5632 100644 --- a/backends/zypp/pk-backend-zypp.cpp +++ b/backends/zypp/pk-backend-zypp.cpp @@ -3297,6 +3297,14 @@ backend_update_packages_thread (PkBackendJob *job, GVariant *params, gpointer us ResPool pool = zypp_build_pool (zypp, TRUE); PkRestartEnum restart = PK_RESTART_ENUM_NONE; + for ( const PoolItem & pi : pool.byKind() ) { + static const Capability indicator( "product-update()", Rel::EQ, "dup" ); + if ( pi->asKind()->referencePackage().provides().matches( indicator ) ) { + zypp->resolver()->setUpgradeMode(TRUE); + break; + } + } + PoolStatusSaver saver; for (guint i = 0; package_ids[i]; i++) {
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2019-01-26 22:17:41 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new.28833 (New) Package is "PackageKit" Sat Jan 26 22:17:41 2019 rev:182 rq:668676 version:1.1.12 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2018-12-28 12:33:36.788034947 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new.28833/PackageKit.changes 2019-01-26 22:17:41.771085171 +0100 @@ -1,0 +2,6 @@ +Mon Jan 7 08:15:52 UTC 2019 - sck...@suse.com + +- Add PackageKit-systemd-timers.patch: Migrate from cron to + systemd timer (bsc#1115410). + +--- New: PackageKit-systemd-timers.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.bYScLK/_old 2019-01-26 22:17:42.351084700 +0100 +++ /var/tmp/diff_new_pack.bYScLK/_new 2019-01-26 22:17:42.355084697 +0100 @@ -1,7 +1,7 @@ # # spec file for package PackageKit # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -45,6 +45,8 @@ Patch1: PackageKit-return-on-transactions-going-backwards.patch # PATCH-FIX-UPSTREAM PackageKit-remove-default-thread-check.patch gh#hughsie/PackageKit#303, bsc#1038425 sck...@suse.com -- Remove pk_is_thread_default() check in pk_backend_is_eula_valid Patch2: PackageKit-remove-default-thread-check.patch +# PATCH-FEATURE-OPENSUSE PackageKit-systemd-timers.patch bsc#1115410 sck...@suse.com -- Migrate from cron to systemd timers +Patch3: PackageKit-systemd-timers.patch BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gobject-introspection-devel @@ -75,7 +77,9 @@ Requires: %{name}-branding = %{version} Requires(post): %fillup_prereq Recommends: %{name}-lang +%if 0%{suse_version} < 1500 Suggests: cron +%endif # doc package only contained the website, and got removed in 0.7.4 Obsoletes: %{name}-doc < 0.7.4 # gtk+ 2 module was removed in 0.7.0 @@ -222,9 +226,14 @@ %prep %setup -q +%if 0%{suse_version} < 1500 %patch0 -p1 +%endif %patch1 -p1 %patch2 -p1 +%if 0%{suse_version} >= 1500 +%patch3 -p1 +%endif translation-update-upstream %build @@ -246,15 +255,20 @@ %else --disable-offline-update \ %endif +%if 0%{suse_version} >= 1500 +--disable-cron \ +%endif %{nil} make %{?_smp_mflags} %install %make_install find %{buildroot} -type f -name "*.la" -delete -print +%if 0%{suse_version} < 1500 # move the cron configuration to a sysconfig template install -d %{buildroot}%{_fillupdir} mv %{buildroot}%{_sysconfdir}/sysconfig/packagekit-background %{buildroot}%{_fillupdir}/sysconfig.packagekit-background +%endif # Prepare for update-alternatives mkdir -p %{buildroot}%{_sysconfdir}/alternatives ln -s -f %{_sysconfdir}/alternatives/gst-install-plugins-helper %{buildroot}/%{_libexecdir}/gst-install-plugins-helper @@ -276,14 +290,24 @@ %pre %service_add_pre packagekit.service +%if 0%{suse_version} >= 1500 +%service_add_pre packagekit-background.service +%service_add_pre packagekit-background.timer +%endif %if %{with offline_updates} %service_add_pre packagekit-offline-update.service %endif %post +%if 0%{suse_version} < 1500 %{fillup_only -n packagekit-background} +%endif %mime_database_post %service_add_post packagekit.service +%if 0%{suse_version} >= 1500 +%service_add_post packagekit-background.service +%service_add_post packagekit-background.timer +%endif %if %{with offline_updates} %service_add_post packagekit-offline-update.service %else @@ -298,6 +322,10 @@ %preun %service_del_preun packagekit.service +%if 0%{suse_version} >= 1500 +%service_del_preun packagekit-background.service +%service_del_preun packagekit-background.timer +%endif %if %{with offline_updates} %service_del_preun packagekit-offline-update.service %endif @@ -307,6 +335,10 @@ # Do not restart PackageKit on upgrade - it kills the transaction export DISABLE_RESTART_ON_UPDATE=yes %service_del_postun packagekit.service +%if 0%{suse_version} >= 1500 +%service_del_postun packagekit-background.service +%service_del_postun packagekit-background.timer
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2018-12-28 12:33:34 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new.28833 (New) Package is "PackageKit" Fri Dec 28 12:33:34 2018 rev:181 rq:661478 version:1.1.12 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2018-12-05 09:36:21.253167408 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new.28833/PackageKit.changes 2018-12-28 12:33:36.788034947 +0100 @@ -1,0 +2,15 @@ +Wed Dec 26 06:36:22 UTC 2018 - sck...@suse.com + +- Drop PackageKit-avoid-endless-loop-on-autoupdate.patch: With + PackageKit-return-on-transactions-going-backwards.patch and + PackageKit-remove-default-thread-check.patch, EULA promt works + without any issue (bsc#1038425). +- Add PackageKit-remove-default-thread-check.patch: Remove the + pk_is_thread_default() check in pk_backend_is_eula_valid() so + that we can call it in zypp backend without any issue + (gh#hughsie/PackageKit#301, bsc#1038425). +- Add PackageKit-return-on-transactions-going-backwards.patch: + transaction: Return directly when its state is going backwards + (gh#hughsie/PackageKit#301, bsc#1038425). + +--- Old: PackageKit-avoid-endless-loop-on-autoupdate.patch New: PackageKit-remove-default-thread-check.patch PackageKit-return-on-transactions-going-backwards.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.92Gh04/_old 2018-12-28 12:33:37.188034669 +0100 +++ /var/tmp/diff_new_pack.92Gh04/_new 2018-12-28 12:33:37.192034666 +0100 @@ -39,10 +39,12 @@ Source2:baselibs.conf Source3:PackageKit.tmpfiles Source99: PackageKit.keyring -# PATCH-FIX-UPSTREAM PackageKit-avoid-endless-loop-on-autoupdate.patch zai...@opensuse.org -- Avoid a endless loop on autoupdates. -Patch0: PackageKit-avoid-endless-loop-on-autoupdate.patch # PATCH-FIX-OPENSUSE PackageKit-cron-without-sleep.patch boo#1071521 dims...@opensuse.org -- Do not sleep in the cron job; our cron mechansim has sufficient randomization -Patch2: PackageKit-cron-without-sleep.patch +Patch0: PackageKit-cron-without-sleep.patch +# PATCH-FIX-UPSTREAM PackageKit-return-on-transactions-going-backwards.patch gh#hughsie/PackageKit#301, bsc#1038425 sck...@suse.com -- transaction: Return directly when its state is going backwards +Patch1: PackageKit-return-on-transactions-going-backwards.patch +# PATCH-FIX-UPSTREAM PackageKit-remove-default-thread-check.patch gh#hughsie/PackageKit#303, bsc#1038425 sck...@suse.com -- Remove pk_is_thread_default() check in pk_backend_is_eula_valid +Patch2: PackageKit-remove-default-thread-check.patch BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gobject-introspection-devel @@ -221,6 +223,7 @@ %prep %setup -q %patch0 -p1 +%patch1 -p1 %patch2 -p1 translation-update-upstream ++ PackageKit-remove-default-thread-check.patch ++ >From 8060817fcc4fa31c5fc66da988027c4ea5810be9 Mon Sep 17 00:00:00 2001 From: Jonathan Kang Date: Wed, 26 Dec 2018 11:18:42 +0800 Subject: [PATCH] Remove pk_is_thread_default check in pk_backend_is_eula_valid pk_is_thread_default() check was introduced in commit 44bd3ab6 to detect possible threading problems. Some backends need call pk_backend_is_eula_valid() in a thread which is not the default one to perform EULA related actions. This way pk_is_thread_default() check fails. Fix that by removing the pk_is_thread_default() check in pk_backend_is_eula_valid(). Fixes #300 --- src/pk-backend.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pk-backend.c b/src/pk-backend.c index 38f32a04c..2dc464938 100644 --- a/src/pk-backend.c +++ b/src/pk-backend.c @@ -955,7 +955,6 @@ pk_backend_is_eula_valid (PkBackend *backend, const gchar *eula_id) g_return_val_if_fail (PK_IS_BACKEND (backend), FALSE); g_return_val_if_fail (eula_id != NULL, FALSE); - g_return_val_if_fail (pk_is_thread_default (), FALSE); present = g_hash_table_lookup (backend->priv->eulas, eula_id); if (present != NULL) -- 2.20.1 ++ PackageKit-return-on-transactions-going-backwards.patch ++ >From d1b76c05ebb4c5643bcf0072f271bcd958812560 Mon Sep 17 00:00:00 2001 From: Jonathan Kang Date: Fri, 21 Dec 2018 16:17:34 +0800 Subject: [PATCH] =?UTF-8?q?transaction:=20Return=20directly=20when=20its?= =?UTF-8?q?=C2=A0state=20is=20going=20backwards?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We should return directly while failing to set transaction’s state because
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2018-12-05 09:36:15 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new.19453 (New) Package is "PackageKit" Wed Dec 5 09:36:15 2018 rev:180 rq:652493 version:1.1.12 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2018-10-23 20:34:33.620962230 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new.19453/PackageKit.changes 2018-12-05 09:36:21.253167408 +0100 @@ -1,0 +2,28 @@ +Wed Nov 28 10:40:29 UTC 2018 - Dominique Leuenberger + +- Update to version 1.1.12: + + common: Handle quoted strings in /etc/os-release. + + offline update: Fix translations to show up. + + Backends: +- zypp: Implement GetFilesLocal in zypp backend. +- Various changes related to aptcc and dnf. +- Changes from version 1.1.11: + + New Features: +- Add --autoremove option to pkcon. +- Shutdown the daemon on idle by default. + + Bugfixes: +- De-register callbacks on PkClientHelper finalize. +- Don't complain if command-not-found get uninstalled while + running. +- Fix critical on idle shutdown. +- Fix issues with debconf helper not working. +- Never assert when an interactive TTY is not available. +- Schedule offline update service to run after + system-update-pre.target. +- Shut down services cleanly before rebooting after offline + updates. + + Backends: +- Various changes related to aptcc, dnf and nix. +- Drop PackageKit-get-files-local.patch: fixed upstream. + +--- Old: PackageKit-1.1.10.tar.xz PackageKit-1.1.10.tar.xz.asc PackageKit-get-files-local.patch New: PackageKit-1.1.12.tar.xz PackageKit-1.1.12.tar.xz.asc Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.Y9Z8uj/_old 2018-12-05 09:36:23.009165484 +0100 +++ /var/tmp/diff_new_pack.Y9Z8uj/_new 2018-12-05 09:36:23.009165484 +0100 @@ -28,7 +28,7 @@ %define _fillupdir %{_localstatedir}/adm/fillup-templates %endif Name: PackageKit -Version:1.1.10 +Version:1.1.12 Release:0 Summary:Simple software installation management software License:GPL-2.0-or-later @@ -43,8 +43,6 @@ Patch0: PackageKit-avoid-endless-loop-on-autoupdate.patch # PATCH-FIX-OPENSUSE PackageKit-cron-without-sleep.patch boo#1071521 dims...@opensuse.org -- Do not sleep in the cron job; our cron mechansim has sufficient randomization Patch2: PackageKit-cron-without-sleep.patch -# PATCH-FIX-UPSTREAM PackageKit-get-files-local.patch bsc#1097581 xw...@suse.com -- Implement GetFilesLocal method in zypp backend -Patch3: PackageKit-get-files-local.patch BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gobject-introspection-devel @@ -224,7 +222,6 @@ %setup -q %patch0 -p1 %patch2 -p1 -%patch3 -p1 translation-update-upstream %build @@ -268,8 +265,8 @@ install -m 0644 %{buildroot}%{_localstatedir}/lib/PackageKit/transactions.db %{buildroot}%{_datadir}/PackageKit/transactions.db rm %{buildroot}%{_localstatedir}/lib/PackageKit/transactions.db # install PackageKit.conf in tempfiles.d -install -d -m 0755 %{buildroot}/usr/lib/tmpfiles.d/ -install -m 0644 %{SOURCE3} %{buildroot}/usr/lib/tmpfiles.d/%{name}.conf +install -d -m 0755 %{buildroot}%{_prefix}/lib/tmpfiles.d/ +install -m 0644 %{SOURCE3} %{buildroot}%{_prefix}/lib/tmpfiles.d/%{name}.conf %find_lang %{name} %{?no_lang_C} %fdupes %{buildroot} ++ PackageKit-1.1.10.tar.xz -> PackageKit-1.1.12.tar.xz ++ 73317 lines of diff (skipped)
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2018-10-23 20:34:29 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is "PackageKit" Tue Oct 23 20:34:29 2018 rev:179 rq:642594 version:1.1.10 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2018-09-05 13:47:35.470160582 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2018-10-23 20:34:33.620962230 +0200 @@ -1,0 +2,6 @@ +Tue Oct 16 10:40:44 UTC 2018 - Antonio Larrosa + +- Add files/directories created by tmpfiles.d under /var as ghost + entries to the rpm filelist. + +--- Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.IPwJVH/_old 2018-10-23 20:34:34.360961346 +0200 +++ /var/tmp/diff_new_pack.IPwJVH/_new 2018-10-23 20:34:34.364961341 +0200 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -368,7 +368,7 @@ %{_unitdir}/packagekit.service %{_sbindir}/rcpackagekit %{_mandir}/man?/*%{ext_man} -%{_usr}/lib/tmpfiles.d/PackageKit.conf +%{_tmpfilesdir}/PackageKit.conf %if %{with offline_updates} %{_libexecdir}/pk-offline-update %{_unitdir}/packagekit-offline-update.service @@ -376,6 +376,9 @@ %{_unitdir}/system-update.target.wants/packagekit-offline-update.service %{_sbindir}/rcpackagekit-offline-update %endif +%ghost %dir %{_localstatedir}/lib/PackageKit +%ghost %dir %{_localstatedir}/cache/PackageKit +%ghost %{_localstatedir}/lib/PackageKit/transactions.db %files backend-zypp %{_libdir}/packagekit-backend/libpk_backend_zypp.so
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2018-09-05 13:47:34 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is "PackageKit" Wed Sep 5 13:47:34 2018 rev:178 rq:632820 version:1.1.10 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2018-08-17 23:59:35.710268541 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2018-09-05 13:47:35.470160582 +0200 @@ -1,0 +2,6 @@ +Fri Aug 31 05:46:47 UTC 2018 - xw...@suse.com + +- Add PackageKit-get-files-local.patch: Implement GetFilesLocal + method in zypp backend (bsc#1097581). + +--- New: PackageKit-get-files-local.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.dlfSrw/_old 2018-09-05 13:47:36.158161735 +0200 +++ /var/tmp/diff_new_pack.dlfSrw/_new 2018-09-05 13:47:36.158161735 +0200 @@ -43,6 +43,8 @@ Patch0: PackageKit-avoid-endless-loop-on-autoupdate.patch # PATCH-FIX-OPENSUSE PackageKit-cron-without-sleep.patch boo#1071521 dims...@opensuse.org -- Do not sleep in the cron job; our cron mechansim has sufficient randomization Patch2: PackageKit-cron-without-sleep.patch +# PATCH-FIX-UPSTREAM PackageKit-get-files-local.patch bsc#1097581 xw...@suse.com -- Implement GetFilesLocal method in zypp backend +Patch3: PackageKit-get-files-local.patch BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gobject-introspection-devel @@ -222,6 +224,7 @@ %setup -q %patch0 -p1 %patch2 -p1 +%patch3 -p1 translation-update-upstream %build ++ PackageKit-get-files-local.patch ++ >From db9e6a239e9bb0b8927fe9f4f31a0c8409aacbfc Mon Sep 17 00:00:00 2001 From: xiaoguang wang Date: Tue, 3 Jul 2018 15:26:09 +0800 Subject: [PATCH] zypp: Implement GetFilesLocal in zypp backend --- backends/zypp/pk-backend-zypp.cpp | 103 -- 1 file changed, 100 insertions(+), 3 deletions(-) diff --git a/backends/zypp/pk-backend-zypp.cpp b/backends/zypp/pk-backend-zypp.cpp index fffe4d337..717c71731 100644 --- a/backends/zypp/pk-backend-zypp.cpp +++ b/backends/zypp/pk-backend-zypp.cpp @@ -874,6 +874,26 @@ zypp_get_packages_by_file (ZYpp::Ptr zypp, } } +/** + * Return the package is from a local file or not. + */ +bool +zypp_package_is_local (const gchar *package_id) +{ + MIL << package_id << endl; + bool ret = false; + + if (!pk_package_id_check (package_id)) + return false; + + gchar **id_parts = pk_package_id_split (package_id); + if (!strncmp (id_parts[PK_PACKAGE_ID_DATA], "local", 5)) + ret = true; + + g_strfreev (id_parts); + return ret; +} + /** * Returns the Resolvable for the specified package_id. * e.g. gnome-packagekit;3.6.1-132.1;x86_64;G:F @@ -986,8 +1006,6 @@ static gboolean zypp_refresh_meta_and_cache (RepoManager , RepoInfo , bool force = false) { try { - sat::Pool pool = sat::Pool::instance (); - manager.refreshMetadata (repo, force ? RepoManager::RefreshForced : RepoManager::RefreshIfNeededIgnoreDelay); @@ -2093,6 +2111,11 @@ backend_get_details_thread (PkBackendJob *job, GVariant *params, gpointer user_d for (uint i = 0; package_ids[i]; i++) { MIL << package_ids[i] << endl; + if (zypp_package_is_local(package_ids[i])) { + pk_backend_job_details (job, package_ids[i], "", "", PK_GROUP_ENUM_UNKNOWN, "", "", (gulong)0); + return; + } + sat::Solvable solv = zypp_get_package_by_id( package_ids[i] ); if (zypp_is_no_solvable(solv)) { @@ -2182,14 +2205,23 @@ backend_get_details_local_thread (PkBackendJob *job, GVariant *params, gpointer return; } + gchar *package_id; + package_id = g_strjoin (";", rpmHeader->tag_name ().c_str(), + (rpmHeader->tag_version () + "-" + rpmHeader->tag_release ()).c_str(), + rpmHeader->tag_arch ().asString ().c_str(), + "local", + NULL); + pk_backend_job_details (job, - (rpmHeader->tag_name () + ";" + rpmHeader->tag_version () + "-" + rpmHeader->tag_release () + ";" + rpmHeader->tag_arch ().asString () + ";").c_str (), +
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2018-08-17 23:58:59 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is "PackageKit" Fri Aug 17 23:58:59 2018 rev:177 rq:628553 version:1.1.10 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2018-05-10 15:46:49.678919615 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2018-08-17 23:59:35.710268541 +0200 @@ -1,0 +2,6 @@ +Thu Aug 9 01:42:03 UTC 2018 - sck...@suse.com + +- Add PackageKit.tmpfiles: Use tmpfile.d to make sure PackageKit + doesn't package files in /var (bsc#1098042). + +--- New: PackageKit.tmpfiles Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.uPg8HA/_old 2018-08-17 23:59:36.358270470 +0200 +++ /var/tmp/diff_new_pack.uPg8HA/_new 2018-08-17 23:59:36.370270506 +0200 @@ -37,6 +37,7 @@ Source0: http://www.freedesktop.org/software/PackageKit/releases/%{name}-%{version}.tar.xz Source1: http://www.freedesktop.org/software/PackageKit/releases/%{name}-%{version}.tar.xz.asc Source2:baselibs.conf +Source3:PackageKit.tmpfiles Source99: PackageKit.keyring # PATCH-FIX-UPSTREAM PackageKit-avoid-endless-loop-on-autoupdate.patch zai...@opensuse.org -- Avoid a endless loop on autoupdates. Patch0: PackageKit-avoid-endless-loop-on-autoupdate.patch @@ -260,6 +261,12 @@ %if %{with offline_updates} ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rcpackagekit-offline-update %endif +# install transactions.db to another directory so that we can use tmpfiles.d to create a link to it under /var/lib/PackageKit +install -m 0644 %{buildroot}%{_localstatedir}/lib/PackageKit/transactions.db %{buildroot}%{_datadir}/PackageKit/transactions.db +rm %{buildroot}%{_localstatedir}/lib/PackageKit/transactions.db +# install PackageKit.conf in tempfiles.d +install -d -m 0755 %{buildroot}/usr/lib/tmpfiles.d/ +install -m 0644 %{SOURCE3} %{buildroot}/usr/lib/tmpfiles.d/%{name}.conf %find_lang %{name} %{?no_lang_C} %fdupes %{buildroot} @@ -284,6 +291,7 @@ rm var/lib/PackageKit/prepared-update fi %endif +%tmpfiles_create %_tmpfilesdir/%{name}.conf %preun %service_del_preun packagekit.service @@ -330,7 +338,7 @@ %dir %{_datadir}/PackageKit/helpers %dir %{_datadir}/PackageKit/helpers/test_spawn %dir %{_libdir}/packagekit-backend -%dir %{_localstatedir}/lib/PackageKit +%dir %{_usr}/lib/tmpfiles.d %{_datadir}/bash-completion/completions/pkcon %{_sysconfdir}/cron.daily/packagekit-background.cron %{_sysconfdir}/dbus-1/system.d/org.freedesktop.PackageKit.conf @@ -350,14 +358,14 @@ %{_datadir}/dbus-1/interfaces/org.freedesktop.PackageKit.xml %{_datadir}/PackageKit/helpers/test_spawn/search-name.sh %{_datadir}/PackageKit/pk-upgrade-distro.sh +%verify(not md5 size mtime) %{_datadir}/PackageKit/transactions.db %{_datadir}/polkit-1/actions/org.freedesktop.packagekit.policy %{_datadir}/polkit-1/rules.d/org.freedesktop.packagekit.rules %{_datadir}/dbus-1/system-services/* -%dir %{_localstatedir}/cache/%{name} %{_unitdir}/packagekit.service %{_sbindir}/rcpackagekit %{_mandir}/man?/*%{ext_man} -%verify(not md5 size mtime) %{_localstatedir}/lib/PackageKit/transactions.db +%{_usr}/lib/tmpfiles.d/PackageKit.conf %if %{with offline_updates} %{_libexecdir}/pk-offline-update %{_unitdir}/packagekit-offline-update.service ++ PackageKit.tmpfiles ++ d /var/cache/PackageKit 0755 root root - d /var/lib/PackageKit/ 0755 root root - L+ /var/lib/PackageKit/transactions.db - - - - ../../../usr/share/PackageKit/transactions.db
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2018-05-10 15:46:47 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is "PackageKit" Thu May 10 15:46:47 2018 rev:176 rq:605349 version:1.1.10 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2018-04-30 22:50:01.371980105 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2018-05-10 15:46:49.678919615 +0200 @@ -1,0 +2,5 @@ +Mon May 7 12:13:59 UTC 2018 - lnus...@suse.de + +- offline updates should be disabled in Leap too, just like SLE + +--- Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.wEdi7C/_old 2018-05-10 15:46:50.366894401 +0200 +++ /var/tmp/diff_new_pack.wEdi7C/_new 2018-05-10 15:46:50.370894254 +0200 @@ -17,10 +17,10 @@ %define BUILD_CNF 0 -%if 0%{?is_opensuse} -%bcond_without offline_updates -%else +%if 0%{?sle_version} %bcond_with offline_updates +%else +%bcond_without offline_updates %endif # $ pkcon search file /usr/bin/anjuta #Compat macro for new _fillupdir macro introduced in Nov 2017
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2018-04-30 22:49:59 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is "PackageKit" Mon Apr 30 22:49:59 2018 rev:175 rq:601533 version:1.1.10 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2018-04-19 15:26:12.503087226 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2018-04-30 22:50:01.371980105 +0200 @@ -1,0 +2,16 @@ +Mon Apr 23 15:23:45 UTC 2018 - dims...@opensuse.org + +- Update to version 1.1.10: + + Notes: This release fixes CVE-2018-1106 which is a moderate +security issue (boo#1086936). + + Backends: +- zypp: + . Implement GetDetailsLocal in zypp backend. + . Improve refresh-cache function in zypp backend. +- Various changes related to aptcc and dnf. +- Drop PackageKit-zypp-backend-improve-refresh-cache.patch and + PackageKit-zypp-backend-get-details-local.patch: Fixed upstream. +- Drop NetworkManager-devel BuildRequires: Not used since version + 1.1.7. + +--- Old: PackageKit-1.1.9.tar.xz PackageKit-1.1.9.tar.xz.asc PackageKit-zypp-backend-get-details-local.patch PackageKit-zypp-backend-improve-refresh-cache.patch New: PackageKit-1.1.10.tar.xz PackageKit-1.1.10.tar.xz.asc Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.GCL9LE/_old 2018-04-30 22:50:02.263947561 +0200 +++ /var/tmp/diff_new_pack.GCL9LE/_new 2018-04-30 22:50:02.267947415 +0200 @@ -17,38 +17,31 @@ %define BUILD_CNF 0 - %if 0%{?is_opensuse} %bcond_without offline_updates %else %bcond_with offline_updates %endif - # $ pkcon search file /usr/bin/anjuta #Compat macro for new _fillupdir macro introduced in Nov 2017 %if ! %{defined _fillupdir} %define _fillupdir %{_localstatedir}/adm/fillup-templates %endif Name: PackageKit -Version:1.1.9 +Version:1.1.10 Release:0 Summary:Simple software installation management software License:GPL-2.0-or-later Group: System/Daemons -Url:https://www.freedesktop.org/software/PackageKit/ +URL:https://www.freedesktop.org/software/PackageKit/ Source0: http://www.freedesktop.org/software/PackageKit/releases/%{name}-%{version}.tar.xz Source1: http://www.freedesktop.org/software/PackageKit/releases/%{name}-%{version}.tar.xz.asc Source2:baselibs.conf Source99: PackageKit.keyring # PATCH-FIX-UPSTREAM PackageKit-avoid-endless-loop-on-autoupdate.patch zai...@opensuse.org -- Avoid a endless loop on autoupdates. Patch0: PackageKit-avoid-endless-loop-on-autoupdate.patch -# PATCH-FIX-OPENSUSE PackageKit-zypp-backend-improve-refresh-cache.patch bsc#899755 sck...@suse.com -- Improve refresh-cache function in zypp backend. -Patch1: PackageKit-zypp-backend-improve-refresh-cache.patch # PATCH-FIX-OPENSUSE PackageKit-cron-without-sleep.patch boo#1071521 dims...@opensuse.org -- Do not sleep in the cron job; our cron mechansim has sufficient randomization Patch2: PackageKit-cron-without-sleep.patch -# PATCH-FIX-UPSTREAM PackageKit-zypp-backend-get-details-local.patch bsc#1008287 sckang -- Implement GetDetailsLocal method in zypp backend -Patch3: PackageKit-zypp-backend-get-details-local.patch -BuildRequires: NetworkManager-devel BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gobject-introspection-devel @@ -227,9 +220,7 @@ %prep %setup -q %patch0 -p1 -%patch1 -p1 %patch2 -p1 -%patch3 -p1 translation-update-upstream %build @@ -392,6 +383,7 @@ %files devel %doc %{_datadir}/gtk-doc/html/PackageKit +%dir %{_datadir}/vala/vapi %{_datadir}/vala/vapi/packagekit-glib2.vapi # Test backends are not useful, except for developers %{_libdir}/packagekit-backend/libpk_backend_test_fail.so ++ PackageKit-1.1.9.tar.xz -> PackageKit-1.1.10.tar.xz ++ 50347 lines of diff (skipped)
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2018-04-19 15:26:10 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is "PackageKit" Thu Apr 19 15:26:10 2018 rev:174 rq:597329 version:1.1.9 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2018-04-07 20:48:43.436486783 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2018-04-19 15:26:12.503087226 +0200 @@ -1,0 +2,5 @@ +Mon Apr 9 12:38:01 UTC 2018 - fcro...@suse.com + +- Disable offline-update when building for SLE. + +--- Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.RNHxgK/_old 2018-04-19 15:26:13.403050622 +0200 +++ /var/tmp/diff_new_pack.RNHxgK/_new 2018-04-19 15:26:13.407050459 +0200 @@ -17,7 +17,13 @@ %define BUILD_CNF 0 -%define with_offline_updates 1 + +%if 0%{?is_opensuse} +%bcond_without offline_updates +%else +%bcond_with offline_updates +%endif + # $ pkcon search file /usr/bin/anjuta #Compat macro for new _fillupdir macro introduced in Nov 2017 %if ! %{defined _fillupdir} @@ -29,7 +35,7 @@ Summary:Simple software installation management software License:GPL-2.0-or-later Group: System/Daemons -URL:http://packagekit.org/ +Url:https://www.freedesktop.org/software/PackageKit/ Source0: http://www.freedesktop.org/software/PackageKit/releases/%{name}-%{version}.tar.xz Source1: http://www.freedesktop.org/software/PackageKit/releases/%{name}-%{version}.tar.xz.asc Source2:baselibs.conf @@ -240,7 +246,7 @@ --enable-command-not-found \ %endif --enable-systemd \ -%if %{with_offline_updates} +%if %{with offline_updates} --enable-offline-update \ %else --disable-offline-update \ @@ -260,7 +266,7 @@ # Add rcFOO symlinks mkdir -p %{buildroot}%{_sbindir} ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rcpackagekit -%if %{with_offline_updates} +%if %{with offline_updates} ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rcpackagekit-offline-update %endif @@ -269,7 +275,7 @@ %pre %service_add_pre packagekit.service -%if %{with_offline_updates} +%if %{with offline_updates} %service_add_pre packagekit-offline-update.service %endif @@ -277,7 +283,7 @@ %{fillup_only -n packagekit-background} %mime_database_post %service_add_post packagekit.service -%if %{with_offline_updates} +%if %{with offline_updates} %service_add_post packagekit-offline-update.service %else if [ -L system-update ]; then @@ -290,7 +296,7 @@ %preun %service_del_preun packagekit.service -%if %{with_offline_updates} +%if %{with offline_updates} %service_del_preun packagekit-offline-update.service %endif @@ -299,7 +305,7 @@ # Do not restart PackageKit on upgrade - it kills the transaction export DISABLE_RESTART_ON_UPDATE=yes %service_del_postun packagekit.service -%if %{with_offline_updates} +%if %{with offline_updates} %service_del_postun packagekit-offline-update.service %endif @@ -361,7 +367,7 @@ %{_sbindir}/rcpackagekit %{_mandir}/man?/*%{ext_man} %verify(not md5 size mtime) %{_localstatedir}/lib/PackageKit/transactions.db -%if %{with_offline_updates} +%if %{with offline_updates} %{_libexecdir}/pk-offline-update %{_unitdir}/packagekit-offline-update.service %dir %{_unitdir}/system-update.target.wants
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2018-04-07 20:48:32 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is "PackageKit" Sat Apr 7 20:48:32 2018 rev:173 rq:593804 version:1.1.9 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2018-03-26 12:37:42.820249110 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2018-04-07 20:48:43.436486783 +0200 @@ -1,0 +2,6 @@ +Thu Apr 5 11:48:50 UTC 2018 - fcro...@suse.com + +- Remove pkgconfig(npapi-sdk) BuildRequires:, it is no longer + needed as browser plugin is not built since 1.1.0. + +--- Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.v7eKna/_old 2018-04-07 20:48:45.316418743 +0200 +++ /var/tmp/diff_new_pack.v7eKna/_new 2018-04-07 20:48:45.320418599 +0200 @@ -67,7 +67,6 @@ BuildRequires: vala BuildRequires: pkgconfig(bash-completion) >= 2.0 BuildRequires: pkgconfig(libsystemd) -BuildRequires: pkgconfig(npapi-sdk) BuildRequires: pkgconfig(systemd) # We really want a working backend (likely zypp) Requires: %{name}-backend
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2018-03-26 12:37:35 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is "PackageKit" Mon Mar 26 12:37:35 2018 rev:172 rq:589966 version:1.1.9 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2018-03-12 12:09:57.339252734 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2018-03-26 12:37:42.820249110 +0200 @@ -1,0 +2,7 @@ +Tue Mar 20 16:50:56 UTC 2018 - dims...@opensuse.org + +- Unconditionally enable translation-update-upstream: on + Tumbleweed, this results in a NOP and for Leap in SLE paid + translations being used (boo#1086036). + +--- Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.iZNLLY/_old 2018-03-26 12:37:44.876174775 +0200 +++ /var/tmp/diff_new_pack.iZNLLY/_new 2018-03-26 12:37:44.876174775 +0200 @@ -63,6 +63,7 @@ # We need the %%mime_database_* macros BuildRequires: shared-mime-info BuildRequires: sqlite-devel +BuildRequires: translation-update-upstream BuildRequires: vala BuildRequires: pkgconfig(bash-completion) >= 2.0 BuildRequires: pkgconfig(libsystemd) @@ -83,9 +84,6 @@ # the browser-plugin was dropped with version 1.1.0 Obsoletes: %{name}-browser-plugin < 1.1.0 %{?systemd_requires} -%if !0%{?is_opensuse} -BuildRequires: translation-update-upstream -%endif %description PackageKit is a system designed to make installing and updating @@ -227,9 +225,7 @@ %patch1 -p1 %patch2 -p1 %patch3 -p1 -%if !0%{?is_opensuse} translation-update-upstream -%endif %build %if !0%{?is_opensuse}
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2018-03-12 12:09:52 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is "PackageKit" Mon Mar 12 12:09:52 2018 rev:171 rq:584774 version:1.1.9 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2018-03-05 13:33:03.470365307 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2018-03-12 12:09:57.339252734 +0100 @@ -1,0 +2,19 @@ +Mon Mar 5 17:11:37 UTC 2018 - dims...@opensuse.org + +- Update to version 1.1.9: + + Fix missing PK_STATUS_ENUM_RUN_HOOK in pk-enum.c. + + Fix Qt annotation on DBus signature. + + client: Fix an invalid read when cancelling races with Finish. + + engine: Fix a memory leak when handling GetTransactionList. + + Fix getting user session ID with D-Bus "user bus" model. + + Fix g_object_ref() type cast warnings with glib 2.56. + + Rename "Software Sources" to "Software Repositories". + + transaction: Don't leak polkit authority. + + transaction: Fix a memory leak when authorizing actions. + + transaction: Log transaction completed messages on debug, not +info level. + + Backends: +- zypp: remove memory leak from zypp backend. +- Various changes related to aptcc, dnf, slack and urpmi. + +--- @@ -4,0 +24,6 @@ + +--- +Thu Feb 22 06:51:52 UTC 2018 - sck...@suse.com + +- Add PackageKit-zypp-backend-get-details-local.patch: Implement + GetDetailsLocal method in zypp backend (bsc#1008287). Old: PackageKit-1.1.8.tar.xz PackageKit-1.1.8.tar.xz.asc New: PackageKit-1.1.9.tar.xz PackageKit-1.1.9.tar.xz.asc PackageKit-zypp-backend-get-details-local.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.NQVRip/_old 2018-03-12 12:09:58.359216350 +0100 +++ /var/tmp/diff_new_pack.NQVRip/_new 2018-03-12 12:09:58.359216350 +0100 @@ -24,7 +24,7 @@ %define _fillupdir %{_localstatedir}/adm/fillup-templates %endif Name: PackageKit -Version:1.1.8 +Version:1.1.9 Release:0 Summary:Simple software installation management software License:GPL-2.0-or-later @@ -40,6 +40,8 @@ Patch1: PackageKit-zypp-backend-improve-refresh-cache.patch # PATCH-FIX-OPENSUSE PackageKit-cron-without-sleep.patch boo#1071521 dims...@opensuse.org -- Do not sleep in the cron job; our cron mechansim has sufficient randomization Patch2: PackageKit-cron-without-sleep.patch +# PATCH-FIX-UPSTREAM PackageKit-zypp-backend-get-details-local.patch bsc#1008287 sckang -- Implement GetDetailsLocal method in zypp backend +Patch3: PackageKit-zypp-backend-get-details-local.patch BuildRequires: NetworkManager-devel BuildRequires: fdupes BuildRequires: gcc-c++ @@ -224,6 +226,7 @@ %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 %if !0%{?is_opensuse} translation-update-upstream %endif ++ PackageKit-1.1.8.tar.xz -> PackageKit-1.1.9.tar.xz ++ 19215 lines of diff (skipped) ++ PackageKit-zypp-backend-get-details-local.patch ++ Index: PackageKit-1.1.7/backends/zypp/pk-backend-zypp.cpp === --- PackageKit-1.1.7.orig/backends/zypp/pk-backend-zypp.cpp +++ PackageKit-1.1.7/backends/zypp/pk-backend-zypp.cpp @@ -2151,6 +2151,59 @@ pk_backend_get_details (PkBackend *backe pk_backend_job_thread_create (job, backend_get_details_thread, NULL, NULL); } +/** + * backend_get_details_local_thread: + */ +static void +backend_get_details_local_thread (PkBackendJob *job, GVariant *params, gpointer user_data) +{ + MIL << endl; + RepoManager manager; + ZyppJob zjob(job); + ZYpp::Ptr zypp = zjob.get_zypp(); + + gchar **full_paths; + g_variant_get (params, "(^a)", _paths); + + if (zypp == NULL){ + return; + } + + pk_backend_job_set_status (job, PK_STATUS_ENUM_QUERY); + + for (guint i = 0; full_paths[i]; i++) { + + // check if file is really a rpm + Pathname rpmPath (full_paths[i]); + target::rpm::RpmHeader::constPtr rpmHeader = target::rpm::RpmHeader::readPackage (rpmPath, target::rpm::RpmHeader::NOSIGNATURE); + + if (rpmHeader == NULL) { + zypp_backend_finished_error ( + job, PK_ERROR_ENUM_INTERNAL_ERROR, + "%s is not valid rpm-File", full_paths[i]); + return; + } + +
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2018-03-05 13:32:55 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is "PackageKit" Mon Mar 5 13:32:55 2018 rev:170 rq:581646 version:1.1.8 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2018-02-25 11:34:13.408349148 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2018-03-05 13:33:03.470365307 +0100 @@ -1,0 +2,5 @@ +Wed Feb 28 16:38:10 UTC 2018 - dims...@opensuse.org + +- Modernize spec-file by calling spec-cleaner + +--- Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.Hhu4TD/_old 2018-03-05 13:33:05.238301325 +0100 +++ /var/tmp/diff_new_pack.Hhu4TD/_new 2018-03-05 13:33:05.242301181 +0100 @@ -16,21 +16,20 @@ # +%define BUILD_CNF 0 +%define with_offline_updates 1 # $ pkcon search file /usr/bin/anjuta #Compat macro for new _fillupdir macro introduced in Nov 2017 %if ! %{defined _fillupdir} - %define _fillupdir /var/adm/fillup-templates + %define _fillupdir %{_localstatedir}/adm/fillup-templates %endif - -%define BUILD_CNF 0 -%define with_offline_updates 1 Name: PackageKit Version:1.1.8 Release:0 Summary:Simple software installation management software -License:GPL-2.0+ +License:GPL-2.0-or-later Group: System/Daemons -Url:http://packagekit.org/ +URL:http://packagekit.org/ Source0: http://www.freedesktop.org/software/PackageKit/releases/%{name}-%{version}.tar.xz Source1: http://www.freedesktop.org/software/PackageKit/releases/%{name}-%{version}.tar.xz.asc Source2:baselibs.conf @@ -81,7 +80,6 @@ Obsoletes: ruck <= 0.6.3 # the browser-plugin was dropped with version 1.1.0 Obsoletes: %{name}-browser-plugin < 1.1.0 -BuildRoot: %{_tmppath}/%{name}-%{version}-build %{?systemd_requires} %if !0%{?is_opensuse} BuildRequires: translation-update-upstream @@ -96,7 +94,7 @@ %package backend-zypp Summary:Simple software installation management software -- Zypp Backend -License:GPL-2.0+ +License:GPL-2.0-or-later Group: System/Daemons Requires: %{name} = %{version} Provides: %{name}-backend = %{version} @@ -110,7 +108,7 @@ %package gstreamer-plugin Summary:Simple software installation management software -License:GPL-2.0+ +License:GPL-2.0-or-later Group: Productivity/Multimedia/Other Requires(post): update-alternatives Requires(postun): update-alternatives @@ -126,7 +124,7 @@ %package gtk3-module Summary:Simple software installation management software -License:GPL-2.0+ +License:GPL-2.0-or-later Group: System/Libraries Recommends: %{name} = %{version} Supplements:packageand(%{name}:gtk3) @@ -141,7 +139,7 @@ %package devel Summary:Needed include files and libraries for development -License:GPL-2.0+ +License:GPL-2.0-or-later Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Requires: libpackagekit-glib2-devel @@ -153,7 +151,7 @@ %package -n libpackagekit-glib2-18 Summary:Simple software installation management software -License:LGPL-2.1+ +License:LGPL-2.1-or-later Group: System/Libraries Recommends: %{name} Conflicts: %{name} < %{version} @@ -169,7 +167,7 @@ %package -n typelib-1_0-PackageKitGlib-1_0 Summary:Simple software installation management software -- Introspection bindings -License:LGPL-2.1+ +License:LGPL-2.1-or-later Group: System/Libraries %description -n typelib-1_0-PackageKitGlib-1_0 @@ -184,7 +182,7 @@ %package -n libpackagekit-glib2-devel Summary:Simple software installation management software -License:LGPL-2.1+ +License:LGPL-2.1-or-later Group: Development/Libraries/GNOME Requires: libpackagekit-glib2-18 = %{version} Requires: typelib-1_0-PackageKitGlib-1_0 = %{version} @@ -200,11 +198,11 @@ %package branding-upstream Summary:Simple software installation management software -- Upstream configuration -License:GPL-2.0+ +License:GPL-2.0-or-later Group: System/Daemons Requires: %{name} = %{version} Supplements:packageand(%{name}:branding-upstream) -Conflicts: otherproviders(%{name}-branding) +Conflicts: %{name}-branding Provides: %{name}-branding = %{version} BuildArch:
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2018-02-25 11:34:08 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is "PackageKit" Sun Feb 25 11:34:08 2018 rev:169 rq:579026 version:1.1.8 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2017-12-09 20:26:10.165317370 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2018-02-25 11:34:13.408349148 +0100 @@ -1,0 +2,31 @@ +Mon Feb 19 11:25:34 UTC 2018 - dims...@opensuse.org + +- Update to version 1.1.8: + + Notes: The Slackware backend was renamed from "katja" to +"slack". + + Libraries: +- Add getters for PkEulaRequired. +- Add new pk_results_set_role() API. + + New Features: Save transaction role to the offline update +results file. + + Bugfixes: +- Various fixes to docs. +- Bring introspection and vapigen m4 macros into the source. +- command-not-found: Be more explicit when ignoring path + components. +- service: Use ConditionPathExists=!/run/ostree-booted. + + Backends: +- zypp: Return error if invalid package IDs are detected. +- Various changes related to aptcc and slack. +- Drop PK-zypp-return-error-invalid-package-ids.patch: fixed + upstream. +- Drop autoconf-archive and automake BuildRequires and no longer + call autoreconf: no patch changes the build system. +- Replace --enable/disable-systemd-updates configure parameter with + --enable/disable-offline-update: the relevant systemd-updates + parameters have not been valid since PackageKit 1.0.0. +- Drop --with-default-backend=zypp configure parameter: this has + not been udnerstood since PackageKit 1.0. PK just used the one + and only backend installed in the distro. + +--- Old: PK-zypp-return-error-invalid-package-ids.patch PackageKit-1.1.7.tar.xz PackageKit-1.1.7.tar.xz.asc New: PackageKit-1.1.8.tar.xz PackageKit-1.1.8.tar.xz.asc Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.eWSr1Q/_old 2018-02-25 11:34:14.312316324 +0100 +++ /var/tmp/diff_new_pack.eWSr1Q/_new 2018-02-25 11:34:14.316316180 +0100 @@ -1,7 +1,7 @@ # # spec file for package PackageKit # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,7 +25,7 @@ %define BUILD_CNF 0 %define with_offline_updates 1 Name: PackageKit -Version:1.1.7 +Version:1.1.8 Release:0 Summary:Simple software installation management software License:GPL-2.0+ @@ -39,14 +39,9 @@ Patch0: PackageKit-avoid-endless-loop-on-autoupdate.patch # PATCH-FIX-OPENSUSE PackageKit-zypp-backend-improve-refresh-cache.patch bsc#899755 sck...@suse.com -- Improve refresh-cache function in zypp backend. Patch1: PackageKit-zypp-backend-improve-refresh-cache.patch -# PATCH-FIX-UPSTREAM PK-zypp-return-error-invalid-package-ids.patch bsc#981011 sck...@suse.com -- zypp: Return error if invalid package IDs are detected -Patch2: PK-zypp-return-error-invalid-package-ids.patch # PATCH-FIX-OPENSUSE PackageKit-cron-without-sleep.patch boo#1071521 dims...@opensuse.org -- Do not sleep in the cron job; our cron mechansim has sufficient randomization -Patch3: PackageKit-cron-without-sleep.patch +Patch2: PackageKit-cron-without-sleep.patch BuildRequires: NetworkManager-devel -# Needed in order to be able to bootstrap (patch2) -BuildRequires: autoconf-archive -BuildRequires: automake BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gobject-introspection-devel @@ -231,14 +226,11 @@ %patch0 -p1 %patch1 -p1 %patch2 -p1 -%patch3 -p1 %if !0%{?is_opensuse} translation-update-upstream %endif %build -# Needed for patch2 -autoreconf -fiv %if !0%{?is_opensuse} export CFLAGS="%{optflags} -DSLE" %endif @@ -246,7 +238,6 @@ --disable-static \ --enable-zypp \ --enable-gstreamer-plugin \ - --with-default-backend=zypp \ %if ! %{BUILD_CNF} --disable-command-not-found \ %else @@ -254,9 +245,9 @@ %endif --enable-systemd \ %if %{with_offline_updates} ---enable-systemd-updates \ +--enable-offline-update \ %else ---disable-systemd-updates \ +--disable-offline-update \ %endif %{nil} make %{?_smp_mflags} ++ PackageKit-1.1.7.tar.xz -> PackageKit-1.1.8.tar.xz ++
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2017-12-09 20:26:07 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is "PackageKit" Sat Dec 9 20:26:07 2017 rev:168 rq:555203 version:1.1.7 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2017-11-30 16:32:06.505655547 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2017-12-09 20:26:10.165317370 +0100 @@ -1,0 +2,8 @@ +Wed Dec 6 12:48:41 UTC 2017 - dims...@opensuse.org + +- Add PackageKit-cron-without-sleep.patch: Do not sleep while + running scripts called by cron. openSUSE's run-crons has + sufficient logic to not have all machines start at the same time + (boo#1071521). + +--- New: PackageKit-cron-without-sleep.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.Wiilbf/_old 2017-12-09 20:26:11.005277361 +0100 +++ /var/tmp/diff_new_pack.Wiilbf/_new 2017-12-09 20:26:11.009277171 +0100 @@ -41,6 +41,8 @@ Patch1: PackageKit-zypp-backend-improve-refresh-cache.patch # PATCH-FIX-UPSTREAM PK-zypp-return-error-invalid-package-ids.patch bsc#981011 sck...@suse.com -- zypp: Return error if invalid package IDs are detected Patch2: PK-zypp-return-error-invalid-package-ids.patch +# PATCH-FIX-OPENSUSE PackageKit-cron-without-sleep.patch boo#1071521 dims...@opensuse.org -- Do not sleep in the cron job; our cron mechansim has sufficient randomization +Patch3: PackageKit-cron-without-sleep.patch BuildRequires: NetworkManager-devel # Needed in order to be able to bootstrap (patch2) BuildRequires: autoconf-archive @@ -229,6 +231,7 @@ %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 %if !0%{?is_opensuse} translation-update-upstream %endif ++ PackageKit-cron-without-sleep.patch ++ Index: PackageKit-1.1.7/contrib/cron/packagekit-background.cron === --- PackageKit-1.1.7.orig/contrib/cron/packagekit-background.cron +++ PackageKit-1.1.7/contrib/cron/packagekit-background.cron @@ -28,8 +28,10 @@ else fi # wait a random amount of time to avoid hammering the servers -[ -z "$SLEEP_MAX" ] && SLEEP_MAX=$RANDOM -sleep $(( $RANDOM % $SLEEP_MAX + 1 )) +# code disabled on openSUSE - cron.daily is not executed at a specific time of the day +# https://bugzilla.opensuse.org/1071521 +#[ -z "$SLEEP_MAX" ] && SLEEP_MAX=$RANDOM +#sleep $(( $RANDOM % $SLEEP_MAX + 1 )) # do action if [ "$CHECK_ONLY" = "yes" ]; then
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2017-11-30 16:32:05 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is "PackageKit" Thu Nov 30 16:32:05 2017 rev:167 rq:544850 version:1.1.7 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2017-11-10 14:44:34.299905861 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2017-11-30 16:32:06.505655547 +0100 @@ -1,0 +2,6 @@ +Thu Nov 23 13:37:14 UTC 2017 - rbr...@suse.com + +- Replace references to /var/adm/fillup-templates with new + %_fillupdir macro (boo#1069468) + +--- Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.g8P6H1/_old 2017-11-30 16:32:07.977602000 +0100 +++ /var/tmp/diff_new_pack.g8P6H1/_new 2017-11-30 16:32:07.981601854 +0100 @@ -17,6 +17,11 @@ # $ pkcon search file /usr/bin/anjuta +#Compat macro for new _fillupdir macro introduced in Nov 2017 +%if ! %{defined _fillupdir} + %define _fillupdir /var/adm/fillup-templates +%endif + %define BUILD_CNF 0 %define with_offline_updates 1 Name: PackageKit @@ -257,8 +262,8 @@ make DESTDIR=%{buildroot} install %{?_smp_mflags} find %{buildroot} -type f -name "*.la" -delete -print # move the cron configuration to a sysconfig template -install -d %{buildroot}%{_localstatedir}/adm/fillup-templates -mv %{buildroot}%{_sysconfdir}/sysconfig/packagekit-background %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.packagekit-background +install -d %{buildroot}%{_fillupdir} +mv %{buildroot}%{_sysconfdir}/sysconfig/packagekit-background %{buildroot}%{_fillupdir}/sysconfig.packagekit-background # Prepare for update-alternatives mkdir -p %{buildroot}%{_sysconfdir}/alternatives ln -s -f %{_sysconfdir}/alternatives/gst-install-plugins-helper %{buildroot}/%{_libexecdir}/gst-install-plugins-helper @@ -347,7 +352,7 @@ %if %{BUILD_CNF} %{_sysconfdir}/profile.d/PackageKit.sh %endif -%{_localstatedir}/adm/fillup-templates/sysconfig.packagekit-background +%{_fillupdir}/sysconfig.packagekit-background %{_bindir}/pkcon %{_bindir}/pkmon %{_libdir}/packagekit-backend/libpk_backend_dummy.so
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2017-11-10 14:44:29 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is "PackageKit" Fri Nov 10 14:44:29 2017 rev:166 rq:539461 version:1.1.7 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2017-11-01 11:06:25.752806825 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2017-11-10 14:44:34.299905861 +0100 @@ -1,0 +2,11 @@ +Thu Nov 2 15:38:31 UTC 2017 - dims...@opensuse.org + +- Drop py_requires from PackageKit: there are no python scripts in + the main package. +- Drop python-devel BuildRequires: we do not package the python + packagend anyway. +- Have post/postun script for PackageKit-gtk3-module post/postun + only for suse_version < 1330: newer versions have file triggers + to trigger schema compilation. + +--- Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.qVqmKj/_old 2017-11-10 14:44:35.659856696 +0100 +++ /var/tmp/diff_new_pack.qVqmKj/_new 2017-11-10 14:44:35.663856552 +0100 @@ -57,7 +57,6 @@ BuildRequires: mozilla-nspr-devel >= 4.8 BuildRequires: pkgconfig BuildRequires: polkit-devel >= 0.98 -BuildRequires: python-devel # We need the %%mime_database_* macros BuildRequires: shared-mime-info BuildRequires: sqlite-devel @@ -81,7 +80,6 @@ # the browser-plugin was dropped with version 1.1.0 Obsoletes: %{name}-browser-plugin < 1.1.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build -%py_requires %{?systemd_requires} %if !0%{?is_opensuse} BuildRequires: translation-update-upstream @@ -319,11 +317,13 @@ update-alternatives --remove gst-install-plugins-helper %{_libexecdir}/pk-gstreamer-install fi +%if 0%{?suse_version} < 1330 %post gtk3-module %glib2_gsettings_schema_post %postun gtk3-module %glib2_gsettings_schema_postun +%endif %post -n libpackagekit-glib2-18 -p /sbin/ldconfig
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2017-11-01 11:06:26 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is "PackageKit" Wed Nov 1 11:06:26 2017 rev:165 rq:537471 version:1.1.7 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2017-10-13 14:09:04.518729354 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2017-11-01 11:06:25.752806825 +0100 @@ -1,0 +2,7 @@ +Mon Oct 30 06:11:17 UTC 2017 - sck...@suse.com + +- Modify PackageKit-zypp-backend-improve-refresh-cache.patch: + Prevent PK from being killed by unhandled exceptions + (boo#1064380). + +--- Other differences: -- ++ PackageKit-zypp-backend-improve-refresh-cache.patch ++ --- /var/tmp/diff_new_pack.YmrX3n/_old 2017-11-01 11:06:26.420782423 +0100 +++ /var/tmp/diff_new_pack.YmrX3n/_new 2017-11-01 11:06:26.420782423 +0100 @@ -1,7 +1,7 @@ -Index: PackageKit-1.1.4/backends/zypp/pk-backend-zypp.cpp +Index: PackageKit-1.1.7/backends/zypp/pk-backend-zypp.cpp === PackageKit-1.1.4.orig/backends/zypp/pk-backend-zypp.cpp -+++ PackageKit-1.1.4/backends/zypp/pk-backend-zypp.cpp +--- PackageKit-1.1.7.orig/backends/zypp/pk-backend-zypp.cpp PackageKit-1.1.7/backends/zypp/pk-backend-zypp.cpp @@ -986,20 +986,27 @@ static gboolean zypp_refresh_meta_and_cache (RepoManager , RepoInfo , bool force = false) { @@ -37,7 +37,7 @@ return TRUE; } catch (const AbortTransactionException ) { return FALSE; -@@ -1580,9 +1587,44 @@ zypp_refresh_cache (PkBackendJob *job, Z +@@ -1580,9 +1587,30 @@ zypp_refresh_cache (PkBackendJob *job, Z if (zypp == NULL) return FALSE; filesystem::Pathname pathname("/"); @@ -63,29 +63,15 @@ + } + else + { -+ // interim storage to avoid delete while iterating -+ std::set idsToDelete; -+ const std::set (zypp->target ()->rpmDb ().pubkeyEditions ()); -+ + // load rpmdb trusted keys into zypp keyring + target->rpmDb ().exportTrustedKeysInZyppKeyRing (); -+ -+ // keys no longer stored in the rpmdb need to be removed from the zypp keyring! -+ for (const PublicKeyData : zypp->keyRing ()->trustedPublicKeyData ()) -+ { -+ if(!rpmdbKeys.count (Edition(el.gpgPubkeyVersion (), el.gpgPubkeyRelease ( -+ idsToDelete.insert (el.id ()); -+ } -+ -+ for (const std::string & idToDelete : idsToDelete) -+ zypp->keyRing ()->deleteKey (idToDelete, true); + } + // load installed packages to pool + target->load (); pk_backend_job_set_status (job, PK_STATUS_ENUM_REFRESH_CACHE); pk_backend_job_set_percentage (job, 0); -@@ -1600,6 +1642,22 @@ zypp_refresh_cache (PkBackendJob *job, Z +@@ -1600,6 +1628,22 @@ zypp_refresh_cache (PkBackendJob *job, Z return FALSE; } @@ -108,7 +94,7 @@ int i = 1; int num_of_repos = repos.size (); gchar *repo_messages = NULL; -@@ -1614,7 +1672,11 @@ zypp_refresh_cache (PkBackendJob *job, Z +@@ -1614,7 +1658,11 @@ zypp_refresh_cache (PkBackendJob *job, Z // skip disabled repos if (repo.enabled () == false) @@ -120,7 +106,7 @@ // do as zypper does if (!force && !repo.autorefresh()) -@@ -1623,7 +1685,11 @@ zypp_refresh_cache (PkBackendJob *job, Z +@@ -1623,7 +1671,11 @@ zypp_refresh_cache (PkBackendJob *job, Z // skip changeable media (DVDs and CDs). Without doing this, // the disc would be required to be physically present. if (repo.baseUrlsBegin ()->schemeIsVolatile())
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2017-10-13 14:09:02 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is "PackageKit" Fri Oct 13 14:09:02 2017 rev:164 rq:532850 version:1.1.7 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2017-09-25 13:54:35.151613451 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2017-10-13 14:09:04.518729354 +0200 @@ -1,0 +2,6 @@ +Mon Oct 9 02:20:58 UTC 2017 - sck...@suse.com + +- Add PK-zypp-return-error-invalid-package-ids.patch: Return error + if invalid package IDs are detected in zypp backend (bsc#981011). + +--- New: PK-zypp-return-error-invalid-package-ids.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.NIBxMM/_old 2017-10-13 14:09:05.314694353 +0200 +++ /var/tmp/diff_new_pack.NIBxMM/_new 2017-10-13 14:09:05.314694353 +0200 @@ -34,6 +34,8 @@ Patch0: PackageKit-avoid-endless-loop-on-autoupdate.patch # PATCH-FIX-OPENSUSE PackageKit-zypp-backend-improve-refresh-cache.patch bsc#899755 sck...@suse.com -- Improve refresh-cache function in zypp backend. Patch1: PackageKit-zypp-backend-improve-refresh-cache.patch +# PATCH-FIX-UPSTREAM PK-zypp-return-error-invalid-package-ids.patch bsc#981011 sck...@suse.com -- zypp: Return error if invalid package IDs are detected +Patch2: PK-zypp-return-error-invalid-package-ids.patch BuildRequires: NetworkManager-devel # Needed in order to be able to bootstrap (patch2) BuildRequires: autoconf-archive @@ -223,6 +225,7 @@ %setup -q %patch0 -p1 %patch1 -p1 +%patch2 -p1 %if !0%{?is_opensuse} translation-update-upstream %endif ++ PK-zypp-return-error-invalid-package-ids.patch ++ >From 6c97a7f05953e91b156fdb783e24357ed03b20c7 Mon Sep 17 00:00:00 2001 From: Jonathan KangDate: Mon, 7 Aug 2017 14:48:37 +0800 Subject: [PATCH] zypp: Return error if invalid package IDs are detected --- backends/zypp/pk-backend-zypp.cpp | 24 +++- 1 file changed, 23 insertions(+), 1 deletion(-) Index: PackageKit-1.1.7/backends/zypp/pk-backend-zypp.cpp === --- PackageKit-1.1.7.orig/backends/zypp/pk-backend-zypp.cpp +++ PackageKit-1.1.7/backends/zypp/pk-backend-zypp.cpp @@ -1805,7 +1805,7 @@ pk_backend_destroy (PkBackend *backend) static bool zypp_is_no_solvable (const sat::Solvable ) { - return solv.id() == sat::detail::noSolvableId; + return solv == sat::Solvable::noSolvable; } /** @@ -2111,6 +2111,13 @@ backend_get_details_thread (PkBackendJob sat::Solvable solv = zypp_get_package_by_id( package_ids[i] ); + if (zypp_is_no_solvable(solv)) { + // Previously stored package_id no longer matches any solvable. + zypp_backend_finished_error (job, PK_ERROR_ENUM_PACKAGE_NOT_FOUND, +"couldn't find package"); + return; + } + ResObject::constPtr obj = make( solv ); if (obj == NULL) { zypp_backend_finished_error (job, PK_ERROR_ENUM_PACKAGE_NOT_FOUND, @@ -2584,6 +2591,13 @@ backend_install_packages_thread (PkBacke for (guint i = 0; package_ids[i]; i++) { MIL << package_ids[i] << endl; sat::Solvable solvable = zypp_get_package_by_id (package_ids[i]); + + if (zypp_is_no_solvable(solvable)) { + // Previously stored package_id no longer matches any solvable. + zypp_backend_finished_error (job, PK_ERROR_ENUM_PACKAGE_NOT_FOUND, +"couldn't find package"); + return; + } to_install++; PoolItem item(solvable); @@ -3222,6 +3236,14 @@ backend_update_packages_thread (PkBacken for (guint i = 0; package_ids[i]; i++) { sat::Solvable solvable = zypp_get_package_by_id (package_ids[i]); + + if (zypp_is_no_solvable(solvable)) { + // Previously stored package_id no longer matches any solvable. + zypp_backend_finished_error (job, PK_ERROR_ENUM_PACKAGE_NOT_FOUND, +"couldn't find package"); +
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2017-09-25 13:54:32 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is "PackageKit" Mon Sep 25 13:54:32 2017 rev:163 rq:527712 version:1.1.7 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2017-09-13 21:55:11.568350877 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2017-09-25 13:54:35.151613451 +0200 @@ -1,0 +2,6 @@ +Wed Sep 20 14:56:55 UTC 2017 - fcro...@suse.com + +- No longer BuildRequires libqt4-devel, this part is in a separate + project since version 0.8.6. + +--- Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.2ETQX5/_old 2017-09-25 13:54:35.787523981 +0200 +++ /var/tmp/diff_new_pack.2ETQX5/_new 2017-09-25 13:54:35.795522855 +0200 @@ -50,7 +50,6 @@ BuildRequires: libarchive-devel BuildRequires: libcppunit-devel BuildRequires: libgudev-1_0-devel -BuildRequires: libqt4-devel BuildRequires: libtool BuildRequires: libzypp-devel BuildRequires: mozilla-nspr-devel >= 4.8
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2017-09-13 21:55:10 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is "PackageKit" Wed Sep 13 21:55:10 2017 rev:162 rq:523667 version:1.1.7 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2017-07-05 23:46:55.333560782 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2017-09-13 21:55:11.568350877 +0200 @@ -1,0 +2,17 @@ +Mon Sep 11 20:20:17 UTC 2017 - zai...@opensuse.org + +- Update to version 1.1.7: + + Libraries: Add missing context pushes and pops. + + Backends: zypp: Fix stack smashing on 32-bit system. + + New Features: Add the ability to install updates on reboot in +PackageKit-cron. + + Bugfixes: +- Don't search for NetworkManager or ConnMan anymore. +- Effectively check for previous proxy entries. +- Fix proxy environment variables. +- Show a different progress message for system upgrades. + + Updated translations. +- Drop PackageKit-avoid-stack-smashing-on-i586.patch: Fixed + upstream. + +--- Old: PackageKit-1.1.6.tar.xz PackageKit-1.1.6.tar.xz.asc PackageKit-avoid-stack-smashing-on-i586.patch New: PackageKit-1.1.7.tar.xz PackageKit-1.1.7.tar.xz.asc Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.Ihtt9j/_old 2017-09-13 21:55:12.248255216 +0200 +++ /var/tmp/diff_new_pack.Ihtt9j/_new 2017-09-13 21:55:12.248255216 +0200 @@ -20,7 +20,7 @@ %define BUILD_CNF 0 %define with_offline_updates 1 Name: PackageKit -Version:1.1.6 +Version:1.1.7 Release:0 Summary:Simple software installation management software License:GPL-2.0+ @@ -34,8 +34,6 @@ Patch0: PackageKit-avoid-endless-loop-on-autoupdate.patch # PATCH-FIX-OPENSUSE PackageKit-zypp-backend-improve-refresh-cache.patch bsc#899755 sck...@suse.com -- Improve refresh-cache function in zypp backend. Patch1: PackageKit-zypp-backend-improve-refresh-cache.patch -# PATCH-FIX-UPSTREAM PackageKit-avoid-stack-smashing-on-i586.patch fdo#101267, bsc#1020028 sck...@suse.com -- Fix PackageKit stack smashing when running "pkcon get-updates" on 32-bit system. -Patch2: PackageKit-avoid-stack-smashing-on-i586.patch BuildRequires: NetworkManager-devel # Needed in order to be able to bootstrap (patch2) BuildRequires: autoconf-archive @@ -226,7 +224,6 @@ %setup -q %patch0 -p1 %patch1 -p1 -%patch2 -p1 %if !0%{?is_opensuse} translation-update-upstream %endif ++ PackageKit-1.1.6.tar.xz -> PackageKit-1.1.7.tar.xz ++ 11263 lines of diff (skipped)
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2017-07-05 23:46:53 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is "PackageKit" Wed Jul 5 23:46:53 2017 rev:161 rq:507067 version:1.1.6 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2017-06-12 15:09:37.485435280 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2017-07-05 23:46:55.333560782 +0200 @@ -1,0 +2,10 @@ +Wed Jun 28 09:04:56 UTC 2017 - dims...@opensuse.org + +- Explicitly call autoreconf, as one of the patches touches the + build system. As long as the version of automake available is the + same as was used to bootstrap the tarball, there is no issue, but + if the version changes, the call must be explicit. +- Add autoconf-archive BuildRequires in order to actually be able + to successfully bootstrap. + +--- Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.fcIHJv/_old 2017-07-05 23:46:56.133448121 +0200 +++ /var/tmp/diff_new_pack.fcIHJv/_new 2017-07-05 23:46:56.133448121 +0200 @@ -37,6 +37,8 @@ # PATCH-FIX-UPSTREAM PackageKit-avoid-stack-smashing-on-i586.patch fdo#101267, bsc#1020028 sck...@suse.com -- Fix PackageKit stack smashing when running "pkcon get-updates" on 32-bit system. Patch2: PackageKit-avoid-stack-smashing-on-i586.patch BuildRequires: NetworkManager-devel +# Needed in order to be able to bootstrap (patch2) +BuildRequires: autoconf-archive BuildRequires: automake BuildRequires: fdupes BuildRequires: gcc-c++ @@ -54,14 +56,12 @@ BuildRequires: libtool BuildRequires: libzypp-devel BuildRequires: mozilla-nspr-devel >= 4.8 +BuildRequires: pkgconfig BuildRequires: polkit-devel >= 0.98 BuildRequires: python-devel # We need the %%mime_database_* macros BuildRequires: shared-mime-info BuildRequires: sqlite-devel -%if !0%{?is_opensuse} -BuildRequires: translation-update-upstream -%endif BuildRequires: vala BuildRequires: pkgconfig(bash-completion) >= 2.0 BuildRequires: pkgconfig(libsystemd) @@ -84,6 +84,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires %{?systemd_requires} +%if !0%{?is_opensuse} +BuildRequires: translation-update-upstream +%endif %description PackageKit is a system designed to make installing and updating @@ -229,6 +232,8 @@ %endif %build +# Needed for patch2 +autoreconf -fiv %if !0%{?is_opensuse} export CFLAGS="%{optflags} -DSLE" %endif
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2017-06-12 15:09:35 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is "PackageKit" Mon Jun 12 15:09:35 2017 rev:160 rq:501801 version:1.1.6 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2017-06-05 18:49:26.820788044 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2017-06-12 15:09:37.485435280 +0200 @@ -1,0 +2,13 @@ +Wed Jun 7 15:24:01 UTC 2017 - dims...@opensuse.org + +- Update to version 1.1.6: + + New Feature: Add new status "Running hooks". + + Bugfixes: +- Checks NULL strings inside pk_progress_bar_start. +- Fix segfault when config file is not found. +- Return success to avoid reboot in pk-offline-update. +- Use g_printerr() for errors instead g_print(). +- Various tweaks to the offline-updates service file. + + Backends: fixes for alpm, aptcc and dnf. + +--- Old: PackageKit-1.1.5.tar.xz PackageKit-1.1.5.tar.xz.asc New: PackageKit-1.1.6.tar.xz PackageKit-1.1.6.tar.xz.asc Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.yra53X/_old 2017-06-12 15:09:38.189335913 +0200 +++ /var/tmp/diff_new_pack.yra53X/_new 2017-06-12 15:09:38.193335349 +0200 @@ -20,7 +20,7 @@ %define BUILD_CNF 0 %define with_offline_updates 1 Name: PackageKit -Version:1.1.5 +Version:1.1.6 Release:0 Summary:Simple software installation management software License:GPL-2.0+ ++ PackageKit-1.1.5.tar.xz -> PackageKit-1.1.6.tar.xz ++ 10588 lines of diff (skipped)
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2017-06-05 18:49:24 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is "PackageKit" Mon Jun 5 18:49:24 2017 rev:159 rq:500675 version:1.1.5 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2017-03-22 22:59:22.236549509 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2017-06-05 18:49:26.820788044 +0200 @@ -1,0 +2,7 @@ +Thu Jun 1 06:33:41 UTC 2017 - sck...@suse.com + +- Add PackageKit-avoid-stack-smashing-on-i586.patch: Fix PackageKit + stack smashing when running "pkcon get-updates" on 32-bit system + (fdo#101267, bsc#1020028). + +--- New: PackageKit-avoid-stack-smashing-on-i586.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.kPMJC4/_old 2017-06-05 18:49:27.644671915 +0200 +++ /var/tmp/diff_new_pack.kPMJC4/_new 2017-06-05 18:49:27.648671352 +0200 @@ -34,6 +34,8 @@ Patch0: PackageKit-avoid-endless-loop-on-autoupdate.patch # PATCH-FIX-OPENSUSE PackageKit-zypp-backend-improve-refresh-cache.patch bsc#899755 sck...@suse.com -- Improve refresh-cache function in zypp backend. Patch1: PackageKit-zypp-backend-improve-refresh-cache.patch +# PATCH-FIX-UPSTREAM PackageKit-avoid-stack-smashing-on-i586.patch fdo#101267, bsc#1020028 sck...@suse.com -- Fix PackageKit stack smashing when running "pkcon get-updates" on 32-bit system. +Patch2: PackageKit-avoid-stack-smashing-on-i586.patch BuildRequires: NetworkManager-devel BuildRequires: automake BuildRequires: fdupes @@ -221,6 +223,7 @@ %setup -q %patch0 -p1 %patch1 -p1 +%patch2 -p1 %if !0%{?is_opensuse} translation-update-upstream %endif ++ PackageKit-avoid-stack-smashing-on-i586.patch ++ Index: PackageKit-1.1.5/backends/zypp/Makefile.am === --- PackageKit-1.1.5.orig/backends/zypp/Makefile.am +++ PackageKit-1.1.5/backends/zypp/Makefile.am @@ -9,6 +9,6 @@ libpk_backend_zypp_la_LIBADD = $(PK_PLUG libpk_backend_zypp_la_LDFLAGS = -module -avoid-version $(ZYPP_LIBS) libpk_backend_zypp_la_CFLAGS = $(PK_PLUGIN_CFLAGS) $(WARNINGFLAGS_CPP) libpk_backend_zypp_la_CXXFLAGS = $(PK_PLUGIN_CXXFLAGS) --std=c++0x -Wall -Woverloaded-virtual -Wnon-virtual-dtor -libpk_backend_zypp_la_CPPFLAGS = $(PK_PLUGIN_CFLAGS) $(ZYPP_CFLAGS) -Wno-deprecated +libpk_backend_zypp_la_CPPFLAGS = $(PK_PLUGIN_CFLAGS) $(ZYPP_CFLAGS) -Wno-deprecated -D_FILE_OFFSET_BITS=64 -include $(top_srcdir)/git.mk
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2017-03-22 22:59:20 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is "PackageKit" Wed Mar 22 22:59:20 2017 rev:158 rq:461114 version:1.1.5 Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2017-01-25 22:36:28.711310559 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2017-03-22 22:59:22.236549509 +0100 @@ -1,0 +2,7 @@ +Mon Feb 13 02:47:07 UTC 2017 - sck...@suse.com + +- Add PackageKit-zypp-backend-improve-refresh-cache.patch: Improve + zypp_refresh_cache in zypp backend to make PK works better with + zypper (bsc#899755). + +--- New: PackageKit-zypp-backend-improve-refresh-cache.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.xRONO4/_old 2017-03-22 22:59:23.160418540 +0100 +++ /var/tmp/diff_new_pack.xRONO4/_new 2017-03-22 22:59:23.164417973 +0100 @@ -32,6 +32,8 @@ Source99: PackageKit.keyring # PATCH-FIX-UPSTREAM PackageKit-avoid-endless-loop-on-autoupdate.patch zai...@opensuse.org -- Avoid a endless loop on autoupdates. Patch0: PackageKit-avoid-endless-loop-on-autoupdate.patch +# PATCH-FIX-OPENSUSE PackageKit-zypp-backend-improve-refresh-cache.patch bsc#899755 sck...@suse.com -- Improve refresh-cache function in zypp backend. +Patch1: PackageKit-zypp-backend-improve-refresh-cache.patch BuildRequires: NetworkManager-devel BuildRequires: automake BuildRequires: fdupes @@ -218,6 +220,7 @@ %prep %setup -q %patch0 -p1 +%patch1 -p1 %if !0%{?is_opensuse} translation-update-upstream %endif ++ PackageKit-zypp-backend-improve-refresh-cache.patch ++ Index: PackageKit-1.1.4/backends/zypp/pk-backend-zypp.cpp === --- PackageKit-1.1.4.orig/backends/zypp/pk-backend-zypp.cpp +++ PackageKit-1.1.4/backends/zypp/pk-backend-zypp.cpp @@ -986,20 +986,27 @@ static gboolean zypp_refresh_meta_and_cache (RepoManager , RepoInfo , bool force = false) { try { - if (manager.checkIfToRefreshMetadata (repo, repo.url()) //RepoManager::RefreshIfNeededIgnoreDelay) - != RepoManager::REFRESH_NEEDED) - return TRUE; - sat::Pool pool = sat::Pool::instance (); - // Erase old solv file - pool.reposErase (repo.alias ()); + manager.refreshMetadata (repo, force ? RepoManager::RefreshForced : RepoManager::RefreshIfNeededIgnoreDelay); manager.buildCache (repo, force ? RepoManager::BuildForced : RepoManager::BuildIfNeeded); - manager.loadFromCache (repo); + try + { + manager.loadFromCache (repo); + } + catch (const Exception ) + { + // cachefile has old fomat (or is corrupted): rebuild it + manager.cleanCache (repo); + manager.buildCache (repo, force ? + RepoManager::BuildForced : + RepoManager::BuildIfNeeded); + manager.loadFromCache (repo); + } return TRUE; } catch (const AbortTransactionException ) { return FALSE; @@ -1580,9 +1587,44 @@ zypp_refresh_cache (PkBackendJob *job, Z if (zypp == NULL) return FALSE; filesystem::Pathname pathname("/"); - // This call is needed to refresh system rpmdb status while refresh cache - zypp->finishTarget (); - zypp->initializeTarget (pathname); + + bool poolIsClean = sat::Pool::instance ().reposEmpty (); + // Erase and reload all if pool is too holey (densyity [100: good | 0 bad]) + // NOTE sat::Pool::capacity() > 2 is asserted in division + if (!poolIsClean && + sat::Pool::instance ().solvablesSize () * 100 / sat::Pool::instance ().capacity () < 33) + { + sat::Pool::instance ().reposEraseAll (); + poolIsClean = true; + } + + Target_Ptr target = zypp->getTarget (); + if (!target) + { + zypp->initializeTarget (pathname); // initial target + target = zypp->getTarget (); + } + else + { + //
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2017-01-25 22:36:27 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is "PackageKit" Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2016-09-21 18:39:16.0 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2017-01-25 22:36:28.711310559 +0100 @@ -1,0 +2,14 @@ +Fri Jan 20 12:42:25 UTC 2017 - dims...@opensuse.org + +- Update to version 1.1.5: + + This release removes the hif backend which is superseded by the +new dnf backend. + + Bugfixes: +- Fix redeclaration of polkit autocleanup functions. +- Check for a zero-length search string before passing to + backends. +- command-not-found: Ignore commands of only one character. + + Backends: fixes for alpm, aptcc and katja. + + Updated translations. + +--- Old: PackageKit-1.1.4.tar.xz PackageKit-1.1.4.tar.xz.asc New: PackageKit-1.1.5.tar.xz PackageKit-1.1.5.tar.xz.asc Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.hzTb9u/_old 2017-01-25 22:36:29.387208370 +0100 +++ /var/tmp/diff_new_pack.hzTb9u/_new 2017-01-25 22:36:29.391207766 +0100 @@ -1,7 +1,7 @@ # # spec file for package PackageKit # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ %define BUILD_CNF 0 %define with_offline_updates 1 Name: PackageKit -Version:1.1.4 +Version:1.1.5 Release:0 Summary:Simple software installation management software License:GPL-2.0+ ++ PackageKit-1.1.4.tar.xz -> PackageKit-1.1.5.tar.xz ++ 21560 lines of diff (skipped)
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2016-09-21 18:39:14 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is "PackageKit" Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2016-09-05 21:14:52.0 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2016-09-21 18:39:16.0 +0200 @@ -1,0 +2,66 @@ +Mon Sep 19 20:26:10 UTC 2016 - zai...@opensuse.org + +- Update to version 1.1.4: + + Backends: +- aptcc: + . Add get-files-local support. + . Add support for pk_backend_get_details_local. + . Add support for searching for relative paths. + . Convert a few more loops to C++11 range for. + . Drop DebFile helper class. + . Fix locating package which a file list belongs to. + . Fix NULL assertion warning. + . Fix typo. + . Install local files using APT API. + . Update pk-matrix for GetDetailsLocal. + . Use C++11 range for loops. + . Use FindGrp instead of manual matching every package when +resolving. +- apt: Remove reference from pk-matrix.html. +- dnf: Port from libhif to libdnf. +- hif/dnf: + . Fix a tiny memory leak when installing packages. + . Fix a tiny memory leak when invalidating repo cache. +- zypp: + . Pass the patch "Application Restart Suggested" flag down +to PK. + . Return error if invalid package IDs are detected. + + New Features: +- Add a new DNF backend. +- Use GetFilesLocal in pkcon get-files if argument is a file. + + Bugfixes: +- Add a new REPO_ALREADY_SET error enum and use it in backends. +- Annotate PreparedUpgrade DBus property for usage in + PackageKit-Qt. +- Change the configuration of the cron script to a + sysconfig-like config. +- Do not try to exec plymouth if it is not installed. +- Don't crash when emitting PropertiesChanged for NULL values. +- Fix a leak in get_prepared_sack(). +- Fix a tiny memory leak on error path. +- Fix a tiny memory leak when setting a proxy. +- Fix "cache-age changed to -1" debug message (when cache-age + is G_MAXUINT). +- Fix two small memory leaks when processing signals from the + daemon. +- Fix updates and change code to aid in not breaking this again + (gh#hughsie/PackageKit#149). +- Fix various g_variant_get ^a leaks. +- Invalidate PreparedUpgrade property when the prepared file + changes. +- Look for command-not-found dbus socket in /run instead of + /var/run. +- Remove declaration of non-existent + pk_task_{get,set}_interactive(). +- Drop + 0001-Change-the-configuration-of-the-cron-script-to-a-sys.patch, + PackageKit-dbus-location.patch, + PackageKit-annotate-dbus-interface.patch, + 0001-zypp-Return-error-if-invalid-package-IDs-are-detecte.patch + and bnc#881245-update-test-affects-package-manager-should-restart-gpk-update-viewer.patch: + Fixed upstream. +- Conditionally apply translations-update-upstream BuildRequires + and macro for non-openSUSE only. +- Stop passing V=1 to make, we do debugging locally. + +--- Old: 0001-Change-the-configuration-of-the-cron-script-to-a-sys.patch 0001-zypp-Return-error-if-invalid-package-IDs-are-detecte.patch PackageKit-1.1.3.tar.xz PackageKit-1.1.3.tar.xz.asc PackageKit-annotate-dbus-interface.patch PackageKit-dbus-location.patch bnc#881245-update-test-affects-package-manager-should-restart-gpk-update-viewer.patch New: PackageKit-1.1.4.tar.xz PackageKit-1.1.4.tar.xz.asc Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.tp036y/_old 2016-09-21 18:39:17.0 +0200 +++ /var/tmp/diff_new_pack.tp036y/_new 2016-09-21 18:39:17.0 +0200 @@ -20,7 +20,7 @@ %define BUILD_CNF 0 %define with_offline_updates 1 Name: PackageKit -Version:1.1.3 +Version:1.1.4 Release:0 Summary:Simple software installation management software License:GPL-2.0+ @@ -30,18 +30,8 @@ Source1: http://www.freedesktop.org/software/PackageKit/releases/%{name}-%{version}.tar.xz.asc Source2:baselibs.conf Source99: PackageKit.keyring -# PATCH-FEATURE-OPENSUSE 0001-Change-the-configuration-of-the-cron-script-to-a-sys.patch vu...@opensuse.org -- Change the configuration of the cron script to a sysconfig-like config -Patch1: 0001-Change-the-configuration-of-the-cron-script-to-a-sys.patch -# PATCH-FIX-UPSTREAM PackageKit-dbus-location.patch bnc#829944
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2016-09-05 21:14:51 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is "PackageKit" Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2016-08-28 12:17:00.0 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2016-09-05 21:14:52.0 +0200 @@ -71,0 +72,5 @@ +Thu May 19 19:40:59 CEST 2016 - h...@suse.com + +- Update to GNOME 3.20.2 (FATE#318572). + +--- @@ -95,0 +101,5 @@ +Thu Apr 14 15:59:34 UTC 2016 - mgo...@suse.com + +- Update to GNOME 3.20 Fate#318572 + +--- @@ -373,0 +384,8 @@ +Fri Sep 19 12:23:59 UTC 2014 - fcro...@suse.com + +- Add patch + bnc#881245-update-test-affects-package-manager-should-restart-gpk-update-viewer.patch: + ensure PackageKit asks to be restarted when restart_suggested is + part of the update flags. Patch by Roy Ley Mu (bnc#881245). + +--- @@ -497 +515 @@ -Fri Jun 6 14:58:02 CEST 2014 - h...@suse.com +Fri Jun 6 13:09:41 CEST 2014 - h...@suse.com @@ -524 +542,17 @@ -- Drop PackageKit-dbus-interface-annotation.patch: fixed upstream. + +- Drop PackageKit-dbus-interface-annotation.patch, + bsc#951592-zypp-Raise-priority-of-ZYPP-stack-updates-if-a-secur.patch, + and PackageKit-gstreamer1.patch: fixed upstream. + +--- +Mon Jan 5 10:24:22 CET 2014 - m...@suse.com + +- Add bsc#951592-zypp-Raise-priority-of-ZYPP-stack-updates-if-a-secur.patch: + zypp: Raise priority of ZYPP stack updates if a security patch + is shadowed. (bsc#951592) + +--- +Sat Jan 4 08:42:16 UTC 2014 - fcro...@suse.com + +- Add PackageKit-gstreamer1.patch: Build against gstreamer 1.0, not + 0.10. New: bnc#881245-update-test-affects-package-manager-should-restart-gpk-update-viewer.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.FdMRQY/_old 2016-09-05 21:14:53.0 +0200 +++ /var/tmp/diff_new_pack.FdMRQY/_new 2016-09-05 21:14:53.0 +0200 @@ -40,6 +40,8 @@ Patch7: PackageKit-annotate-dbus-interface.patch # PATCH-FIX-UPSTREAM 0001-zypp-Return-error-if-invalid-package-IDs-are-detecte.patch bsc#981011 gh#hughsie/PackageKit#148 -- Return error if invalid package IDs are detected; fixes segfault in some cases Patch8: 0001-zypp-Return-error-if-invalid-package-IDs-are-detecte.patch +# PATCH-FIX-SLED bnc#881245-update-test-affects-package-manager-should-restart-gpk-update-viewer.patch r...@suse.com -- gpk-update-viewer should restart after certain kind of update. +Patch9: bnc#881245-update-test-affects-package-manager-should-restart-gpk-update-viewer.patch BuildRequires: NetworkManager-devel BuildRequires: automake BuildRequires: fdupes @@ -228,6 +230,9 @@ %patch6 -p1 %patch7 -p1 %patch8 -p1 +%if !0%{?is_opensuse} +%patch9 -p1 +%endif translation-update-upstream %build ++ bnc#881245-update-test-affects-package-manager-should-restart-gpk-update-viewer.patch ++ Index: PackageKit-0.8.16/client/pk-console.c === --- PackageKit-0.8.16.orig/client/pk-console.c +++ PackageKit-0.8.16/client/pk-console.c @@ -893,6 +893,9 @@ pk_console_finished_cb (GObject *object, if (restart == PK_RESTART_ENUM_SYSTEM) { /* TRANSLATORS: a package needs to restart their system */ g_print ("%s\n", _("Please restart the computer to complete the update.")); +} else if (restart == PK_RESTART_ENUM_APPLICATION) { +/* TRANSLATORS: a package needs to restart this application */ +g_print ("%s\n", _("Please restart this application to complete the update.")); } else if (restart == PK_RESTART_ENUM_SESSION) { /* TRANSLATORS: a package needs to restart the session */ g_print ("%s\n", _("Please logout and login to complete the update.")); Index: PackageKit-0.8.16/backends/zypp/pk-backend-zypp.cpp === --- PackageKit-0.8.16.orig/backends/zypp/pk-backend-zypp.cpp +++ PackageKit-0.8.16/backends/zypp/pk-backend-zypp.cpp @@ -1289,7 +1289,9 @@ zypp_check_restart (PkRestartEnum *resta ( patch->reloginSuggested () || patch->restartSuggested () ||
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2016-08-28 12:16:59 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is "PackageKit" Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2016-08-22 10:48:52.0 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2016-08-28 12:17:00.0 +0200 @@ -1,0 +2,17 @@ +Thu Aug 25 11:17:18 UTC 2016 - dims...@opensuse.org + +- Drop PackageKit-1.0.1-fix-bashisms.patch: this patch has been + submitted upstream for discussion (gh#hughsie/PackageKit#162). If + accepted, we'll inherit with a future update, if declined, it is + not important enough to carry around. The code it touches is only + used by the internal test suite. + +--- +Thu Aug 25 10:30:17 UTC 2016 - dims...@opensuse.org + +- Drop PackageKit-fix-offline-trigger.patch: in line with upstreams + expectation we package /var/cache/PackageKit. With this present + the symlink produced for offline update can correctly symlink + to an existing directory. + +--- Old: PackageKit-1.0.1-fix-bashisms.patch PackageKit-fix-offline-trigger.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.ggePfs/_old 2016-08-28 12:17:01.0 +0200 +++ /var/tmp/diff_new_pack.ggePfs/_new 2016-08-28 12:17:01.0 +0200 @@ -34,9 +34,6 @@ Patch1: 0001-Change-the-configuration-of-the-cron-script-to-a-sys.patch # PATCH-FIX-UPSTREAM PackageKit-dbus-location.patch bnc#829944 dims...@opensuse.org -- Look for dbus socket in /run instead of /var/run. Sent to upstream. Patch3: PackageKit-dbus-location.patch -Patch4: PackageKit-1.0.1-fix-bashisms.patch -# PATCH-FIX-UPSTREAM PackageKit-fix-offline-trigger.patch boo#954125 dims...@opensuse.org -- Fix the PK trigger detection; if not done properly, PK might believe that something else triggered the system update and expects something else to handle the update -Patch5: PackageKit-fix-offline-trigger.patch # PATCH-FIX-UPSTREAM PackageKit-avoid-endless-loop-on-autoupdate.patch zai...@opensuse.org -- Avoid a endless loop on autoupdates. Patch6: PackageKit-avoid-endless-loop-on-autoupdate.patch # PATCH-FIX-UPSTREAM PackageKit-annotate-dbus-interface.patch gh#hughsie/PackageKit#147 dims...@opensuse.org -- Annotate new DBus interface, which is too complex for Qt @@ -228,8 +225,6 @@ %setup -q %patch1 -p1 %patch3 -p1 -%patch4 -p1 -%patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -p1 @@ -365,6 +360,7 @@ %{_datadir}/polkit-1/actions/org.freedesktop.packagekit.policy %{_datadir}/polkit-1/rules.d/org.freedesktop.packagekit.rules %{_datadir}/dbus-1/system-services/* +%dir %{_localstatedir}/cache/%{name} %{_unitdir}/packagekit.service %{_sbindir}/rcpackagekit %{_mandir}/man?/*.*
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2016-08-22 10:48:51 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is "PackageKit" Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2016-08-16 13:01:18.0 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2016-08-22 10:48:52.0 +0200 @@ -1,0 +2,14 @@ +Fri Aug 12 11:31:11 UTC 2016 - zai...@opensuse.org + +- Stop Providing/Obsoleting opensuse-codecs-installer, it was + dropped more than 5 years ago. + +--- +Mon Jul 25 08:37:41 UTC 2016 - m...@suse.com + +- Add + 0001-zypp-Return-error-if-invalid-package-IDs-are-detecte.patch: + Fix segfaults when detecting invalid package IDs + (gh#hughsie/PackageKit#148). + +--- New: 0001-zypp-Return-error-if-invalid-package-IDs-are-detecte.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.6Lmf2b/_old 2016-08-22 10:48:53.0 +0200 +++ /var/tmp/diff_new_pack.6Lmf2b/_new 2016-08-22 10:48:53.0 +0200 @@ -41,6 +41,8 @@ Patch6: PackageKit-avoid-endless-loop-on-autoupdate.patch # PATCH-FIX-UPSTREAM PackageKit-annotate-dbus-interface.patch gh#hughsie/PackageKit#147 dims...@opensuse.org -- Annotate new DBus interface, which is too complex for Qt Patch7: PackageKit-annotate-dbus-interface.patch +# PATCH-FIX-UPSTREAM 0001-zypp-Return-error-if-invalid-package-IDs-are-detecte.patch bsc#981011 gh#hughsie/PackageKit#148 -- Return error if invalid package IDs are detected; fixes segfault in some cases +Patch8: 0001-zypp-Return-error-if-invalid-package-IDs-are-detecte.patch BuildRequires: NetworkManager-devel BuildRequires: automake BuildRequires: fdupes @@ -117,8 +119,6 @@ Requires(postun): update-alternatives Recommends: %{name} = %{version} Supplements:packageand(%{name}:gstreamer-plugins-base) -Provides: opensuse-codecs-installer = 10.3.1 -Obsoletes: opensuse-codecs-installer <= 10.3.1 %description gstreamer-plugin PackageKit is a system designed to make installing and updating @@ -232,6 +232,7 @@ %patch5 -p1 %patch6 -p1 %patch7 -p1 +%patch8 -p1 translation-update-upstream %build ++ 0001-zypp-Return-error-if-invalid-package-IDs-are-detecte.patch ++ >From 90224f3cd99d8f2f4371f7ae9fb8f602e740838d Mon Sep 17 00:00:00 2001 From: Michael AndresDate: Fri, 22 Jul 2016 09:17:51 +0200 Subject: [PATCH] zypp: Return error if invalid package IDs are detected --- backends/zypp/pk-backend-zypp.cpp | 6 ++ 1 file changed, 6 insertions(+) diff --git a/backends/zypp/pk-backend-zypp.cpp b/backends/zypp/pk-backend-zypp.cpp index 49282fb..96a8180 100644 --- a/backends/zypp/pk-backend-zypp.cpp +++ b/backends/zypp/pk-backend-zypp.cpp @@ -2403,6 +2403,12 @@ backend_get_update_detail_thread (PkBackendJob *job, GVariant *params, gpointer for (uint i = 0; package_ids[i]; i++) { sat::Solvable solvable = zypp_get_package_by_id (package_ids[i]); MIL << package_ids[i] << " " << solvable << endl; + if (!solvable) { + // Previously stored package_id no longer matches any solvable. + zypp_backend_finished_error (job, PK_ERROR_ENUM_PACKAGE_NOT_FOUND, +"couldn't find package"); + return; + } Capabilities obs = solvable.obsoletes (); -- 2.1.4
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2016-08-16 13:01:17 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is "PackageKit" Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2016-05-23 17:29:45.0 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2016-08-16 13:01:18.0 +0200 @@ -1,0 +2,39 @@ +Fri Jul 15 11:21:56 UTC 2016 - dims...@opensuse.org + +- Add PackageKit-annotate-dbus-interface.patch: annotate the DBus + interface introduced with version 1.1.2 in order for PK-Qt to + be able to build. + +--- +Thu Jul 14 13:02:14 UTC 2016 - dims...@opensuse.org + +- Update to version 1.1.3: + + Bugfixes: +- backend job: Avoid emitting duplicates with parallel + download. +- Revert a patch that caused PackageKit to always request auth + when installing packages. +- Update the GPLv2 text in COPYING. + + Backends: zypp: PK_FILTER_ENUM_ARCH is supposed to filter on +primary arch. + +--- +Wed Jul 13 10:37:28 UTC 2016 - dims...@opensuse.org + +- Update to version 1.1.2: + + This release adds a new backend for the Nix package manager. + + New Features: +- Add a test for offline distro upgrades. +- Add PreparedUpgrade DBus property. + + Bugfixes: +- Make pk_console_get_prompt() big endian safe. +- Require admin authorisation to trigger a distro upgrade. +- build: Avoid g_simple_async_result deprecation warnings. +- task: Fix only-trusted property notifications. +- task: Honour the only_trusted property when setting up + transactions. + + Backends: fixes for alpm. aptcc, hif and katja. +- Add trusted key of Kalev Lember (8F62AF74) to the keyring. +- Fix update-alternatives usage. + +--- Old: PackageKit-1.1.1.tar.xz PackageKit-1.1.1.tar.xz.asc New: PackageKit-1.1.3.tar.xz PackageKit-1.1.3.tar.xz.asc PackageKit-annotate-dbus-interface.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.inJPYg/_old 2016-08-16 13:01:19.0 +0200 +++ /var/tmp/diff_new_pack.inJPYg/_new 2016-08-16 13:01:19.0 +0200 @@ -20,7 +20,7 @@ %define BUILD_CNF 0 %define with_offline_updates 1 Name: PackageKit -Version:1.1.1 +Version:1.1.3 Release:0 Summary:Simple software installation management software License:GPL-2.0+ @@ -39,6 +39,8 @@ Patch5: PackageKit-fix-offline-trigger.patch # PATCH-FIX-UPSTREAM PackageKit-avoid-endless-loop-on-autoupdate.patch zai...@opensuse.org -- Avoid a endless loop on autoupdates. Patch6: PackageKit-avoid-endless-loop-on-autoupdate.patch +# PATCH-FIX-UPSTREAM PackageKit-annotate-dbus-interface.patch gh#hughsie/PackageKit#147 dims...@opensuse.org -- Annotate new DBus interface, which is too complex for Qt +Patch7: PackageKit-annotate-dbus-interface.patch BuildRequires: NetworkManager-devel BuildRequires: automake BuildRequires: fdupes @@ -229,6 +231,7 @@ %patch4 -p1 %patch5 -p1 %patch6 -p1 +%patch7 -p1 translation-update-upstream %build @@ -259,8 +262,9 @@ # move the cron configuration to a sysconfig template install -d %{buildroot}%{_localstatedir}/adm/fillup-templates mv %{buildroot}%{_sysconfdir}/sysconfig/packagekit-background %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.packagekit-background -# create ghost file -touch %{buildroot}%{_libexecdir}/gst-install-plugins-helper +# Prepare for update-alternatives +mkdir -p %{buildroot}%{_sysconfdir}/alternatives +ln -s -f %{_sysconfdir}/alternatives/gst-install-plugins-helper %{buildroot}/%{_libexecdir}/gst-install-plugins-helper # Add rcFOO symlinks mkdir -p %{buildroot}%{_sbindir} ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rcpackagekit @@ -378,7 +382,8 @@ %files gstreamer-plugin %defattr(-,root,root) -%ghost %attr(755,root,root) %{_libexecdir}/gst-install-plugins-helper +%ghost %{_sysconfdir}/alternatives/gst-install-plugins-helper +%{_libexecdir}/gst-install-plugins-helper %{_libexecdir}/pk-gstreamer-install %files gtk3-module ++ PackageKit-1.1.1.tar.xz -> PackageKit-1.1.3.tar.xz ++ 12946 lines of diff (skipped) ++ PackageKit-annotate-dbus-interface.patch ++ >From a2f8be68442529ab7c9883d55631bcfb6395b86d Mon Sep 17 00:00:00 2001 From: Dominique LeuenbergerDate: Fri, 15 Jul 2016 13:17:57 +0200 Subject: [PATCH] Annotate
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2016-05-23 17:29:43 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is "PackageKit" Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2016-05-05 12:11:58.0 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2016-05-23 17:29:45.0 +0200 @@ -1,0 +2,6 @@ +Wed May 18 09:12:12 UTC 2016 - zai...@opensuse.org + +- Drop docbook-utils BuildRequires: No longer needed for man pages + building. + +--- Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.y7CmqJ/_old 2016-05-23 17:29:46.0 +0200 +++ /var/tmp/diff_new_pack.y7CmqJ/_new 2016-05-23 17:29:46.0 +0200 @@ -41,7 +41,6 @@ Patch6: PackageKit-avoid-endless-loop-on-autoupdate.patch BuildRequires: NetworkManager-devel BuildRequires: automake -BuildRequires: docbook-utils BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gobject-introspection-devel
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2016-05-05 12:11:57 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is "PackageKit" Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2016-03-29 14:27:59.0 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2016-05-05 12:11:58.0 +0200 @@ -1,0 +2,18 @@ +Fri Apr 29 13:40:11 UTC 2016 - zai...@opensuse.org + +- Update to version 1.1.1: + + Backends: +- alpm: port to g_autoptr(). +- hif: Set ALLOW_DOWNGRADE flag for all transactions. +- zypp: Enforce formatting input as string. + + New Features: +- Add UpdateTriggered / UpgradeTriggered DBus properties. +- Add TriggerUpgrade DBus method handling. + + Bugfixes: +- Emit UpdatesChanges when installing packages. +- Fix GIR annotations for progress callbacks. +- Increase the number of packages that can be resolved. +- Point offline update/upgrade trigger to the prepared update. +- Unlink any existing offline update triggers before creating. + +--- Old: PackageKit-1.1.0.tar.xz PackageKit-1.1.0.tar.xz.asc New: PackageKit-1.1.1.tar.xz PackageKit-1.1.1.tar.xz.asc Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.6DmdQx/_old 2016-05-05 12:11:59.0 +0200 +++ /var/tmp/diff_new_pack.6DmdQx/_new 2016-05-05 12:11:59.0 +0200 @@ -20,7 +20,7 @@ %define BUILD_CNF 0 %define with_offline_updates 1 Name: PackageKit -Version:1.1.0 +Version:1.1.1 Release:0 Summary:Simple software installation management software License:GPL-2.0+ ++ PackageKit-1.1.0.tar.xz -> PackageKit-1.1.1.tar.xz ++ 22121 lines of diff (skipped)
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2016-03-29 14:27:58 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is "PackageKit" Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2015-12-17 15:52:04.0 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2016-03-29 14:27:59.0 +0200 @@ -1,0 +2,49 @@ +Tue Feb 16 10:56:48 UTC 2016 - dims...@opensuse.org + +- Update to version 1.1.0: + + New Features: +- Add client side API for triggering offline system upgrades. +- Add getters for PkProgress. +- Add pk_get_distro_version_id. +- Add system upgrade API to PkTask. +- Port to g_autoptr(). +- Remove the PackageKit browser plugin. +- Use the GLib network monitoring support. + + Backends: +- zypp: + . Avoid media access when testing for cd/dvd URL scheme. + . Fix build. + . Use libzypp's arch compatibility check. +- Other fixes for alpm, aptcc and hif. + + Bugfixes: +- Add missing description for obsoleted packages. +- Add support for offline system upgrades. +- Allow to enable or disable systemd units for offline update. +- Correctly store file descriptor from logind (bgo#94070). +- Do not crash on GetPrepared when there are no offline + updates. +- Do not crash on transaction database corruption. +- Do not crash when parsing a very broken transaction log. +- Do not install offline update related files if disabled. +- Emit PropertiesChanged for UpgradeSystem transaction flags. +- Fix download-size-remaining property type. +- Fix various minor memory leaks. +- Make transaction get_proxy() return TRUE for no proxy + settings. +- Minor fixes in command_not_found_handle{,r}() for bash and + zsh. +- Relax validation performed on input strings passed to + backends. +- Require dbus.socket for offline update. +- Set PACKAGEKIT_CALLER_UID environment. +- Sort package names when printing out simulation. +- Use new PkTask API for system upgrades. +- Rebase PackageKit-dbus-location.patch. +- Drop PackageKit-zypp-buildfix.patch: fixed upstream. +- Drop PackageKit-browser-plugin subpackage: the plugin was removed + upstream. +- No longer pass --with-mozilla-plugin-dir to configure: without + the plugin there is no need to know where it would need to be + installed. + +--- Old: PackageKit-1.0.11.tar.xz PackageKit-1.0.11.tar.xz.asc PackageKit-zypp-buildfix.patch New: PackageKit-1.1.0.tar.xz PackageKit-1.1.0.tar.xz.asc Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.dk94DP/_old 2016-03-29 14:28:00.0 +0200 +++ /var/tmp/diff_new_pack.dk94DP/_new 2016-03-29 14:28:00.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package PackageKit # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ %define BUILD_CNF 0 %define with_offline_updates 1 Name: PackageKit -Version:1.0.11 +Version:1.1.0 Release:0 Summary:Simple software installation management software License:GPL-2.0+ @@ -39,8 +39,6 @@ Patch5: PackageKit-fix-offline-trigger.patch # PATCH-FIX-UPSTREAM PackageKit-avoid-endless-loop-on-autoupdate.patch zai...@opensuse.org -- Avoid a endless loop on autoupdates. Patch6: PackageKit-avoid-endless-loop-on-autoupdate.patch -# PATCH-FIX-UPSTREAM PackageKit-zypp-buildfix.patch dims...@opensuse.org -- Fix build of the zypp backend -Patch7: PackageKit-zypp-buildfix.patch BuildRequires: NetworkManager-devel BuildRequires: automake BuildRequires: docbook-utils @@ -83,6 +81,8 @@ Obsoletes: %{name}-gtk-module < 0.7.0 # ruck was removed in 0.6.4, make sure it gets removed Obsoletes: ruck <= 0.6.3 +# the browser-plugin was dropped with version 1.1.0 +Obsoletes: %{name}-browser-plugin < 1.1.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires %{?systemd_requires} @@ -200,21 +200,6 @@ use some of the latest technology like PolicyKit to make the process suck less. -%package browser-plugin -Summary:Simple software installation management software -License:GPL-2.0+ -Group: Productivity/Networking/Web/Browsers -Recommends: %{name} = %{version}
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2015-12-17 15:52:02 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is "PackageKit" Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2015-11-18 22:33:26.0 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2015-12-17 15:52:04.0 +0100 @@ -1,0 +2,19 @@ +Sun Nov 29 19:09:25 UTC 2015 - zai...@opensuse.org + +- Update to version 1.0.11: + + By popular demand, reintroduce the UpgradeSystem method. + + Backends: +- python: + . Make PackagekitProgress an Iterable. + . Set steps on PackagekitProgress instanciation. +- zypp: Raise priority of ZYPP stack updates if a security + patch is shadowed (bsc#951592). +- dummy: Implement simulating UpgradeSystem and respect the + transaction flags. +- Lots of fixes for aptcc, hif and portage backends. + + New Features: Allow the use of variadic functions in vala. + + Bugfixes: Make pk_details_get_size documentation more specific. +- Add PackageKit-zypp-buildfix.patch: Fix build of the zypp + backend. + +--- Old: PackageKit-1.0.10.tar.xz PackageKit-1.0.10.tar.xz.asc New: PackageKit-1.0.11.tar.xz PackageKit-1.0.11.tar.xz.asc PackageKit-zypp-buildfix.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.iUVtts/_old 2015-12-17 15:52:05.0 +0100 +++ /var/tmp/diff_new_pack.iUVtts/_new 2015-12-17 15:52:05.0 +0100 @@ -20,7 +20,7 @@ %define BUILD_CNF 0 %define with_offline_updates 1 Name: PackageKit -Version:1.0.10 +Version:1.0.11 Release:0 Summary:Simple software installation management software License:GPL-2.0+ @@ -39,6 +39,8 @@ Patch5: PackageKit-fix-offline-trigger.patch # PATCH-FIX-UPSTREAM PackageKit-avoid-endless-loop-on-autoupdate.patch zai...@opensuse.org -- Avoid a endless loop on autoupdates. Patch6: PackageKit-avoid-endless-loop-on-autoupdate.patch +# PATCH-FIX-UPSTREAM PackageKit-zypp-buildfix.patch dims...@opensuse.org -- Fix build of the zypp backend +Patch7: PackageKit-zypp-buildfix.patch BuildRequires: NetworkManager-devel BuildRequires: automake BuildRequires: docbook-utils @@ -243,6 +245,7 @@ %patch4 -p1 %patch5 -p1 %patch6 -p1 +%patch7 -p1 translation-update-upstream %build ++ PackageKit-1.0.10.tar.xz -> PackageKit-1.0.11.tar.xz ++ 24612 lines of diff (skipped) ++ PackageKit-zypp-buildfix.patch ++ >From 62459d11647b69e0573f13327536221d7c813135 Mon Sep 17 00:00:00 2001 From: Dominique LeuenbergerDate: Fri, 11 Dec 2015 13:02:05 +0100 Subject: [PATCH] zypp: fix build b47f98 changed a bunch of gchar* to const gchar* to address some memory leaks. uri should not have been touched - and it is being g_free()'d as needed. --- backends/zypp/pk-backend-zypp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backends/zypp/pk-backend-zypp.cpp b/backends/zypp/pk-backend-zypp.cpp index 005ffb5..af4585a 100644 --- a/backends/zypp/pk-backend-zypp.cpp +++ b/backends/zypp/pk-backend-zypp.cpp @@ -3577,10 +3577,10 @@ pk_backend_start_job (PkBackend *backend, PkBackendJob *job) const gchar *proxy_http; const gchar *proxy_https; const gchar *proxy_ftp; - const gchar *uri; const gchar *proxy_socks; const gchar *no_proxy; const gchar *pac; + gchar *uri; locale = pk_backend_job_get_locale(job); if (!pk_strzero (locale)) { -- 2.6.3
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2015-11-18 22:33:25 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is "PackageKit" Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2015-11-12 19:36:14.0 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2015-11-18 22:33:26.0 +0100 @@ -1,0 +2,14 @@ +Fri Nov 13 16:17:39 UTC 2015 - zai...@opensuse.org + +- Add PackageKit-avoid-endless-loop-on-autoupdate.patch: Avoid a + endless loop on autoupdates. + +--- +Fri Nov 13 16:16:15 UTC 2015 - dims...@opensuse.org + +- Add PackageKit-fix-offline-trigger.patch: Fix the PK trigger + detection: if not done properly, PK might believe that something + else triggered the system update and expects something else to + handle the update (boo#954125). + +--- New: PackageKit-avoid-endless-loop-on-autoupdate.patch PackageKit-fix-offline-trigger.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.wV3qQJ/_old 2015-11-18 22:33:27.0 +0100 +++ /var/tmp/diff_new_pack.wV3qQJ/_new 2015-11-18 22:33:27.0 +0100 @@ -35,6 +35,10 @@ # PATCH-FIX-UPSTREAM PackageKit-dbus-location.patch bnc#829944 dims...@opensuse.org -- Look for dbus socket in /run instead of /var/run. Sent to upstream. Patch3: PackageKit-dbus-location.patch Patch4: PackageKit-1.0.1-fix-bashisms.patch +# PATCH-FIX-UPSTREAM PackageKit-fix-offline-trigger.patch boo#954125 dims...@opensuse.org -- Fix the PK trigger detection; if not done properly, PK might believe that something else triggered the system update and expects something else to handle the update +Patch5: PackageKit-fix-offline-trigger.patch +# PATCH-FIX-UPSTREAM PackageKit-avoid-endless-loop-on-autoupdate.patch zai...@opensuse.org -- Avoid a endless loop on autoupdates. +Patch6: PackageKit-avoid-endless-loop-on-autoupdate.patch BuildRequires: NetworkManager-devel BuildRequires: automake BuildRequires: docbook-utils @@ -237,6 +241,8 @@ %patch1 -p1 %patch3 -p1 %patch4 -p1 +%patch5 -p1 +%patch6 -p1 translation-update-upstream %build ++ PackageKit-avoid-endless-loop-on-autoupdate.patch ++ ndex: PackageKit-1.0.10/backends/zypp/pk-backend-zypp.cpp === --- PackageKit-1.0.10.orig/backends/zypp/pk-backend-zypp.cpp +++ PackageKit-1.0.10/backends/zypp/pk-backend-zypp.cpp @@ -1471,6 +1471,7 @@ zypp_perform_execution (PkBackendJob *jo for (ResPool::const_iterator it = pool.begin (); it != pool.end (); ++it) { if (it->status ().isToBeInstalled ()) _dl_count++; +#ifdef SLE if (it->status ().isToBeInstalled () && !(it->resolvable()->licenseToConfirm().empty ())) { gchar *eula_id = g_strdup ((*it)->name ().c_str ()); gboolean has_eula = pk_backend_is_eula_valid (backend, eula_id); @@ -1488,6 +1489,7 @@ zypp_perform_execution (PkBackendJob *jo } g_free (eula_id); } +#endif } // Perform the installation ++ PackageKit-fix-offline-trigger.patch ++ Index: PackageKit-1.0.10/lib/packagekit-glib2/pk-offline.c === --- PackageKit-1.0.10.orig/lib/packagekit-glib2/pk-offline.c +++ PackageKit-1.0.10/lib/packagekit-glib2/pk-offline.c @@ -238,8 +238,7 @@ pk_offline_get_action (GError **error) g_return_val_if_fail (error == NULL || *error == NULL, PK_OFFLINE_ACTION_UNKNOWN); /* is the trigger set? */ - if (!g_file_test (PK_OFFLINE_TRIGGER_FILENAME, G_FILE_TEST_EXISTS) || - !g_file_test (PK_OFFLINE_ACTION_FILENAME, G_FILE_TEST_EXISTS)) + if (!g_file_test (PK_OFFLINE_ACTION_FILENAME, G_FILE_TEST_EXISTS)) return PK_OFFLINE_ACTION_UNSET; /* read data file */
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2015-11-12 19:36:12 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is "PackageKit" Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2015-10-06 16:34:43.0 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2015-11-12 19:36:14.0 +0100 @@ -1,0 +2,6 @@ +Mon Nov 9 19:23:41 UTC 2015 - tchva...@suse.com + +- Add Suggests: cron due to existing cronscript +- Slight whitespace with spec-cleaner + +--- Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.dCTLEF/_old 2015-11-12 19:36:15.0 +0100 +++ /var/tmp/diff_new_pack.dCTLEF/_new 2015-11-12 19:36:15.0 +0100 @@ -19,7 +19,6 @@ # $ pkcon search file /usr/bin/anjuta %define BUILD_CNF 0 %define with_offline_updates 1 - Name: PackageKit Version:1.0.10 Release:0 @@ -57,20 +56,21 @@ BuildRequires: mozilla-nspr-devel >= 4.8 BuildRequires: polkit-devel >= 0.98 BuildRequires: python-devel -BuildRequires: pkgconfig(bash-completion) >= 2.0 -BuildRequires: pkgconfig(npapi-sdk) # We need the %%mime_database_* macros BuildRequires: shared-mime-info BuildRequires: sqlite-devel BuildRequires: translation-update-upstream BuildRequires: vala +BuildRequires: pkgconfig(bash-completion) >= 2.0 BuildRequires: pkgconfig(libsystemd) +BuildRequires: pkgconfig(npapi-sdk) BuildRequires: pkgconfig(systemd) -Requires: %{name}-branding = %{version} # We really want a working backend (likely zypp) Requires: %{name}-backend +Requires: %{name}-branding = %{version} +Requires(post): %fillup_prereq Recommends: %{name}-lang -PreReq: %fillup_prereq +Suggests: cron # doc package only contained the website, and got removed in 0.7.4 Obsoletes: %{name}-doc < 0.7.4 # gtk+ 2 module was removed in 0.7.0 @@ -214,9 +214,9 @@ License:GPL-2.0+ Group: System/Daemons Requires: %{name} = %{version} -Provides: %{name}-branding = %{version} -Conflicts: otherproviders(%{name}-branding) Supplements:packageand(%{name}:branding-upstream) +Conflicts: otherproviders(%{name}-branding) +Provides: %{name}-branding = %{version} BuildArch: noarch #BRAND: Provide configuration files - #BRAND: /etc/PackageKit/* @@ -231,6 +231,7 @@ This package provides the upstream default configuration for PackageKit. %lang_package + %prep %setup -q %patch1 -p1 @@ -247,7 +248,7 @@ --enable-gstreamer-plugin \ --with-default-backend=zypp \ --with-mozilla-plugin-dir=%{_libdir}/browser-plugins \ -%if ! %BUILD_CNF +%if ! %{BUILD_CNF} --disable-command-not-found \ %else --enable-command-not-found \ @@ -262,7 +263,7 @@ make %{?_smp_mflags} V=1 %install -%makeinstall +make DESTDIR=%{buildroot} install %{?_smp_mflags} find %{buildroot} -type f -name "*.la" -delete -print # move the cron configuration to a sysconfig template install -d %{buildroot}%{_localstatedir}/adm/fillup-templates @@ -277,7 +278,7 @@ %endif %find_lang %{name} %{?no_lang_C} -%fdupes $RPM_BUILD_ROOT +%fdupes %{buildroot} %pre %service_add_pre packagekit.service @@ -335,6 +336,7 @@ %postun -n libpackagekit-glib2-18 -p /sbin/ldconfig %files lang -f %{name}.lang +%defattr(-,root,root) %files %defattr(-,root,root) @@ -348,7 +350,7 @@ %{_datadir}/bash-completion/completions/pkcon %{_sysconfdir}/cron.daily/packagekit-background.cron %{_sysconfdir}/dbus-1/system.d/org.freedesktop.PackageKit.conf -%if %BUILD_CNF +%if %{BUILD_CNF} %{_sysconfdir}/profile.d/PackageKit.sh %endif %{_localstatedir}/adm/fillup-templates/sysconfig.packagekit-background @@ -357,7 +359,7 @@ %{_libdir}/packagekit-backend/libpk_backend_dummy.so %{_libexecdir}/packagekitd %{_libexecdir}/packagekit-direct -%if %BUILD_CNF +%if %{BUILD_CNF} %{_libexecdir}/pk-command-not-found %endif %{_datadir}/dbus-1/interfaces/org.freedesktop.PackageKit.Transaction.xml @@ -369,7 +371,7 @@ %{_datadir}/dbus-1/system-services/* %{_unitdir}/packagekit.service %{_sbindir}/rcpackagekit -%doc %{_mandir}/man?/*.* +%{_mandir}/man?/*.* %verify(not md5 size mtime) %{_localstatedir}/lib/PackageKit/transactions.db %if %{with_offline_updates} %{_libexecdir}/pk-offline-update @@ -431,7 +433,7 @@ %files branding-upstream %defattr(-,root,root) -%if %BUILD_CNF +%if %{BUILD_CNF} %config(noreplace) %{_sysconfdir}/PackageKit/CommandNotFound.conf %endif %config(noreplace)
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2015-10-06 16:34:42 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is "PackageKit" Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2015-07-23 15:21:41.0 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2015-10-06 16:34:43.0 +0200 @@ -1,0 +2,37 @@ +Tue Sep 22 19:28:51 UTC 2015 - zai...@opensuse.org + +- Update to version 1.0.10: + + Process the offline update triggered by older PK versions. + + Use Glib for reading symlink to prevent crash with some +compilers. + +--- +Wed Sep 16 08:58:19 UTC 2015 - dims...@opensuse.org + +- Update to version 1.0.9: + + Check the offline action trigger before performing the update. + + Fix two critical warnings. + + Add PackageKitGlib-1.0.metadata to release tarball. + + Fix a race with the backend job thread creation. + + Updated translations. +- Drop PackageKitGlib-1.0.metadata source: it is now part of the + tarball. + +--- +Tue Sep 1 10:47:38 UTC 2015 - dims...@opensuse.org + +- Update to version 1.0.8: + + New Feature: Generate Vala bindings. + + Bugfixes: +- Correctly register enum properties. +- Exit quietly if we didn't prepare the offline update. +- Fix various docstring errors in the library. +- Look for libsystemd now that journal/login are merged. + + Backend enhancements/fixes: hif, urpmi and yum. +- Replace pkgconfig(libsystemd-journal) BuildRequires with + pkgconfig(libsystemd), following upstreams changes. +- Add vala BuildRequires in order to build the vala bindings. +- Inject PackageKitGlib-1.0.metadata as source into the package: it + was forgotten in the 1.0.8 release tarball. + +--- Old: PackageKit-1.0.7.tar.xz PackageKit-1.0.7.tar.xz.asc New: PackageKit-1.0.10.tar.xz PackageKit-1.0.10.tar.xz.asc Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.kDnzI3/_old 2015-10-06 16:34:44.0 +0200 +++ /var/tmp/diff_new_pack.kDnzI3/_new 2015-10-06 16:34:44.0 +0200 @@ -21,7 +21,7 @@ %define with_offline_updates 1 Name: PackageKit -Version:1.0.7 +Version:1.0.10 Release:0 Summary:Simple software installation management software License:GPL-2.0+ @@ -63,7 +63,8 @@ BuildRequires: shared-mime-info BuildRequires: sqlite-devel BuildRequires: translation-update-upstream -BuildRequires: pkgconfig(libsystemd-journal) +BuildRequires: vala +BuildRequires: pkgconfig(libsystemd) BuildRequires: pkgconfig(systemd) Requires: %{name}-branding = %{version} # We really want a working backend (likely zypp) @@ -398,6 +399,7 @@ %files devel %defattr(-,root,root) %doc %{_datadir}/gtk-doc/html/PackageKit +%{_datadir}/vala/vapi/packagekit-glib2.vapi # Test backends are not useful, except for developers %{_libdir}/packagekit-backend/libpk_backend_test_fail.so %{_libdir}/packagekit-backend/libpk_backend_test_nop.so ++ PackageKit-1.0.7.tar.xz -> PackageKit-1.0.10.tar.xz ++ 40012 lines of diff (skipped)
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2015-07-23 15:21:40 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is PackageKit Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2015-04-12 00:07:47.0 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2015-07-23 15:21:41.0 +0200 @@ -1,0 +2,15 @@ +Thu Jul 16 09:43:39 UTC 2015 - dims...@opensuse.org + +- Update to version 1.0.7: + + New Feature: Define command_not_found_handler for zsh. + + Bugfixes: +- Correct punctuation while applying offline updates. +- Don't run if bash command completion is being run. +- Fix Details() from spawned backends. +- Port GTK+ module to org.freedesktop.PackageKit.Modify2. +- Return the correct error for syntax errors in pkcon. +- Return the correct error if nothing was done for repo-enable. + + Backend enhancements/fixes: alpm, entropy, hif, portage, urpm +and yum. + +--- Old: PackageKit-1.0.6.tar.xz PackageKit-1.0.6.tar.xz.asc New: PackageKit-1.0.7.tar.xz PackageKit-1.0.7.tar.xz.asc Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.QReALS/_old 2015-07-23 15:21:42.0 +0200 +++ /var/tmp/diff_new_pack.QReALS/_new 2015-07-23 15:21:42.0 +0200 @@ -21,7 +21,7 @@ %define with_offline_updates 1 Name: PackageKit -Version:1.0.6 +Version:1.0.7 Release:0 Summary:Simple software installation management software License:GPL-2.0+ ++ PackageKit-1.0.6.tar.xz - PackageKit-1.0.7.tar.xz ++ 29581 lines of diff (skipped)
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2015-04-12 00:07:46 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is PackageKit Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2015-02-13 08:34:23.0 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2015-04-12 00:07:47.0 +0200 @@ -1,0 +2,18 @@ +Tue Apr 7 17:27:33 UTC 2015 - dims...@opensuse.org + +- Update to version 1.0.6: + + New Features: +- Add dbus method for returning prepared packages. +- Add pk_backend_is_transaction_inhibited. +- gstreamer plugin: Add support for v2 of the PK session + service interface. + + Bugfixes: +- Don't recursive lock the debug mutex when using --verbose + without a tty. +- Make reboot the default action for no action file. +- gstreamer plugin: Adapt to gstreamer missing plugin changes. +- gstreamer plugin: Avoid criticals when some of the parameters + are NULL. + + Backend enhancements/fixes: alpm and hif. + +--- Old: PackageKit-1.0.5.tar.xz PackageKit-1.0.5.tar.xz.asc New: PackageKit-1.0.6.tar.xz PackageKit-1.0.6.tar.xz.asc Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.CW9YqG/_old 2015-04-12 00:07:48.0 +0200 +++ /var/tmp/diff_new_pack.CW9YqG/_new 2015-04-12 00:07:48.0 +0200 @@ -21,7 +21,7 @@ %define with_offline_updates 1 Name: PackageKit -Version:1.0.5 +Version:1.0.6 Release:0 Summary:Simple software installation management software License:GPL-2.0+ ++ PackageKit-1.0.5.tar.xz - PackageKit-1.0.6.tar.xz ++ 20071 lines of diff (skipped)
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2015-02-13 08:34:21 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is PackageKit Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2015-01-27 12:35:45.0 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2015-02-13 08:34:23.0 +0100 @@ -1,0 +2,8 @@ +Wed Feb 11 08:39:14 UTC 2015 - dims...@opensuse.org + +- Update to version 1.0.5: + + Add missing --allow-downgrade and --allow-reinstall to the man +page. + + Backend enhancements/fixes: alpm and hif. + +--- Old: PackageKit-1.0.4.tar.xz PackageKit-1.0.4.tar.xz.asc New: PackageKit-1.0.5.tar.xz PackageKit-1.0.5.tar.xz.asc Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.72VtJb/_old 2015-02-13 08:34:24.0 +0100 +++ /var/tmp/diff_new_pack.72VtJb/_new 2015-02-13 08:34:24.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package PackageKit # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,7 +21,7 @@ %define with_offline_updates 1 Name: PackageKit -Version:1.0.4 +Version:1.0.5 Release:0 Summary:Simple software installation management software License:GPL-2.0+ ++ PackageKit-1.0.4.tar.xz - PackageKit-1.0.5.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PackageKit-1.0.4/NEWS new/PackageKit-1.0.5/NEWS --- old/PackageKit-1.0.4/NEWS 2015-01-19 17:24:45.0 +0100 +++ new/PackageKit-1.0.5/NEWS 2015-02-09 17:55:31.0 +0100 @@ -1,3 +1,18 @@ +Version 1.0.5 +~ +Released: 2015-02-09 + +Backends: + - alpm: Fix bad event usage when removing package (Fabien Bourigault) + - alpm: Honor simulate flag while removing packages (Fabien Bourigault) + - alpm: Honor simulate on pk_backend_install_files (Fabien Bourigault) + - alpm: Inhibit cache invalidation while commiting transaction (Fabien Bourigault) + - alpm: Track local db changes and invalidate cache (Fabien Bourigault) + - hif: Adapt to the new Hawkey API (Richard Hughes) + +Bugfixes: + - Add missing --allow-downgrade and --allow-reinstall to the man page (Richard Hughes) + Version 1.0.4 ~ Released: 2015-01-19 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PackageKit-1.0.4/backends/alpm/pk-alpm-install.c new/PackageKit-1.0.5/backends/alpm/pk-alpm-install.c --- old/PackageKit-1.0.4/backends/alpm/pk-alpm-install.c2014-09-09 18:58:13.0 +0200 +++ new/PackageKit-1.0.5/backends/alpm/pk-alpm-install.c2015-02-06 09:28:01.0 +0100 @@ -92,7 +92,12 @@ if (pk_alpm_transaction_initialize (job, 0, 0, error) pk_alpm_transaction_add_targets (job, full_paths, error) pk_alpm_transaction_simulate (job, error)) { - pk_alpm_transaction_commit (job, error); + if (pk_bitfield_contain (flags, PK_TRANSACTION_FLAG_ENUM_SIMULATE)) { /* simulation */ + pk_alpm_transaction_packages (job); + } + else { + pk_alpm_transaction_commit (job, error); + } } out: pk_alpm_transaction_end (job, (error == NULL) ? error : NULL); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PackageKit-1.0.4/backends/alpm/pk-alpm-remove.c new/PackageKit-1.0.5/backends/alpm/pk-alpm-remove.c --- old/PackageKit-1.0.4/backends/alpm/pk-alpm-remove.c 2014-09-30 10:06:08.0 +0200 +++ new/PackageKit-1.0.5/backends/alpm/pk-alpm-remove.c 2015-02-04 10:36:44.0 +0100 @@ -101,7 +101,12 @@ if (pk_alpm_transaction_initialize (job, flags, NULL, error) pk_alpm_transaction_remove_targets (job, package_ids, error) pk_alpm_transaction_remove_simulate (job, error)) { - pk_alpm_transaction_commit (job, error); + if (pk_bitfield_contain (transaction_flags, PK_TRANSACTION_FLAG_ENUM_SIMULATE)) { /* simulation */ + pk_alpm_transaction_packages (job); + } + else { + pk_alpm_transaction_commit (job, error); + } }
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2015-01-27 12:35:42 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is PackageKit Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2014-12-19 09:38:43.0 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2015-01-27 12:35:45.0 +0100 @@ -1,0 +2,28 @@ +Sat Jan 24 21:33:05 UTC 2015 - dims...@opensuse.org + +- Update to version 1.0.4: + + New Features: +- Add 'quit' command to pkcon. +- Add the install and remove commands to the packagekit-direct + test tool + + Libraries: Add PK_INFO_ENUM_UNAVAILABLE. + + Bugfixes: +- Actually inhibit logind when the transaction can't be + cancelled. +- Allow pk_backend_job_set_allow_cancel() after ErrorCode has + been set/ +- Do not attempt to run command-not-found for anything prefixed + with '.'. +- Don't use PkBackendSpawn helpers in compiled backends. +- Fix a hard-to-debug crash when cancelling a task that has + never been run. +- Make pk_backend_job_call_vfunc() threadsafe. +- Make pk_backend_repo_list_changed() threadsafe. +- Make the network detection code simpler. +- Really remove the timer GSource when quitting the daemon. +- Recreate the download location if it does not already exist. + + Backend enhancements/fixes: alpm, aptcc, dummy, hif and urpmi. +- PK is newly published with a digital signature: add .keyring and + .asc file to sources. + +--- Old: PackageKit-1.0.3.tar.xz New: PackageKit-1.0.4.tar.xz PackageKit-1.0.4.tar.xz.asc PackageKit.keyring Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.b5gBSN/_old 2015-01-27 12:35:46.0 +0100 +++ /var/tmp/diff_new_pack.b5gBSN/_new 2015-01-27 12:35:46.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package PackageKit # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,15 +21,16 @@ %define with_offline_updates 1 Name: PackageKit -Version:1.0.3 +Version:1.0.4 Release:0 Summary:Simple software installation management software License:GPL-2.0+ Group: System/Daemons Url:http://packagekit.org/ -# We currently have a locally created dist file.. 0.9.6 won't ever be released -Source: http://www.freedesktop.org/software/PackageKit/releases/%{name}-%{version}.tar.xz +Source0: http://www.freedesktop.org/software/PackageKit/releases/%{name}-%{version}.tar.xz +Source1: http://www.freedesktop.org/software/PackageKit/releases/%{name}-%{version}.tar.xz.asc Source2:baselibs.conf +Source99: PackageKit.keyring # PATCH-FEATURE-OPENSUSE 0001-Change-the-configuration-of-the-cron-script-to-a-sys.patch vu...@opensuse.org -- Change the configuration of the cron script to a sysconfig-like config Patch1: 0001-Change-the-configuration-of-the-cron-script-to-a-sys.patch # PATCH-FIX-UPSTREAM PackageKit-dbus-location.patch bnc#829944 dims...@opensuse.org -- Look for dbus socket in /run instead of /var/run. Sent to upstream. ++ PackageKit-1.0.3.tar.xz - PackageKit-1.0.4.tar.xz ++ 23774 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2014-12-19 09:39:53 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is PackageKit Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2014-11-28 08:46:01.0 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2014-12-19 09:38:43.0 +0100 @@ -1,0 +2,7 @@ +Sat Nov 22 17:39:00 UTC 2014 - Led led...@gmail.com + +- fix using 'echo' command in search-name.sh script +- add patches: + * PackageKit-1.0.1-fix-bashisms.patch + +--- New: PackageKit-1.0.1-fix-bashisms.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.ktx3Ao/_old 2014-12-19 09:38:44.0 +0100 +++ /var/tmp/diff_new_pack.ktx3Ao/_new 2014-12-19 09:38:44.0 +0100 @@ -34,6 +34,7 @@ Patch1: 0001-Change-the-configuration-of-the-cron-script-to-a-sys.patch # PATCH-FIX-UPSTREAM PackageKit-dbus-location.patch bnc#829944 dims...@opensuse.org -- Look for dbus socket in /run instead of /var/run. Sent to upstream. Patch3: PackageKit-dbus-location.patch +Patch4: PackageKit-1.0.1-fix-bashisms.patch BuildRequires: NetworkManager-devel BuildRequires: automake BuildRequires: docbook-utils @@ -232,6 +233,7 @@ %setup -q %patch1 -p1 %patch3 -p1 +%patch4 -p1 translation-update-upstream %build ++ PackageKit-1.0.1-fix-bashisms.patch ++ diff -Ndur PackageKit-1.0.1/backends/test/helpers/search-name.sh PackageKit-1.0.1-fix-bashisms/backends/test/helpers/search-name.sh --- PackageKit-1.0.1/backends/test/helpers/search-name.sh 2014-09-09 19:45:45.0 +0300 +++ PackageKit-1.0.1-fix-bashisms/backends/test/helpers/search-name.sh 2014-11-16 23:31:29.322207783 +0200 @@ -9,17 +9,16 @@ # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. -echo -e no-percentage-updates +echo no-percentage-updates sleep 1 -echo -e percentage\t10 -echo -e status\tquery +echo percentage 10 +echo status query sleep 1 -echo -e percentage\t30 -echo -e package\tavailable\tglib2;2.14.0;i386;fedora\tThe GLib library +echo percentage 30 +echo package available glib2;2.14.0;i386;fedoraThe GLib library sleep 1 -echo -e percentage\t70 -echo -e package\tinstalled\tgtk2;gtk2-2.11.6-6.fc8;i386;fedora\tGTK+ Libraries for GIMP +echo percentage 70 +echo package installed gtk2;gtk2-2.11.6-6.fc8;i386;fedora GTK+ Libraries for GIMP sleep 1 -echo -e percentage\t100 +echo percentage 100 exit 0 - -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2014-11-28 08:45:57 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is PackageKit Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2014-10-29 21:09:20.0 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2014-11-28 08:46:01.0 +0100 @@ -2 +2,19 @@ -Wed Oct 22 11:00:10 UTC 2014 - dle1...@leuenberger.net +Wed Nov 19 16:47:33 UTC 2014 - zai...@opensuse.org + +- Update to version 1.0.3: + + Libraries: glib: Add support for reinstallation and downgrades. + + Backends: +- hif: + . Add support for reinstall and downgrade. + . Use hif_context_set_vendor_cache_dir() to be smarter about +the vendor cache. + . Use repo loader provided by the context. +- zypp: + . Improve progress status. + . Propagate install errors to PK. + . Remap 'recommended' patches to 'BUGFIX'. + + New Features: Add reinstall and downgrade support to pkcon. +- Drop PackageKit-zypp-progress-info.patch: Fixed upstream. + +--- +Wed Oct 22 11:00:10 UTC 2014 - dims...@opensuse.org Old: PackageKit-1.0.1.tar.xz PackageKit-zypp-progress-info.patch New: PackageKit-1.0.3.tar.xz Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.aTfteT/_old 2014-11-28 08:46:02.0 +0100 +++ /var/tmp/diff_new_pack.aTfteT/_new 2014-11-28 08:46:02.0 +0100 @@ -21,7 +21,7 @@ %define with_offline_updates 1 Name: PackageKit -Version:1.0.1 +Version:1.0.3 Release:0 Summary:Simple software installation management software License:GPL-2.0+ @@ -34,8 +34,6 @@ Patch1: 0001-Change-the-configuration-of-the-cron-script-to-a-sys.patch # PATCH-FIX-UPSTREAM PackageKit-dbus-location.patch bnc#829944 dims...@opensuse.org -- Look for dbus socket in /run instead of /var/run. Sent to upstream. Patch3: PackageKit-dbus-location.patch -# PATCH-FEATURE-UPSTREAM PackageKit-zypp-progress-info.patch boo#863735 dims...@opensuse.org -- Pass overall progress information to PackageKitd. -Patch4: PackageKit-zypp-progress-info.patch BuildRequires: NetworkManager-devel BuildRequires: automake BuildRequires: docbook-utils @@ -234,7 +232,6 @@ %setup -q %patch1 -p1 %patch3 -p1 -%patch4 -p1 translation-update-upstream %build ++ PackageKit-1.0.1.tar.xz - PackageKit-1.0.3.tar.xz ++ 80826 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2014-10-19 19:27:29 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is PackageKit Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2014-10-11 22:41:37.0 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2014-10-19 19:27:32.0 +0200 @@ -1,0 +2,6 @@ +Thu Oct 16 20:24:47 UTC 2014 - hrvoje.sen...@gmail.com + +- Update baselibs.conf: upon update to 1.0.0 soversion was bumped + to libpackagekit-glib2-18, but baselibs wasn't adjusted + +--- Other differences: -- ++ baselibs.conf ++ --- /var/tmp/diff_new_pack.SNrcvN/_old 2014-10-19 19:27:33.0 +0200 +++ /var/tmp/diff_new_pack.SNrcvN/_new 2014-10-19 19:27:33.0 +0200 @@ -1,4 +1,4 @@ -libpackagekit-glib2-16 +libpackagekit-glib2-18 libpackagekit-glib2-devel requires -libpackagekit-glib2-targettype - requires libpackagekit-glib2-16-targettype = version + requires libpackagekit-glib2-18-targettype = version -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2014-10-11 22:41:36 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is PackageKit Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2014-10-06 22:04:39.0 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2014-10-11 22:41:37.0 +0200 @@ -1,0 +2,6 @@ +Thu Oct 9 18:02:19 UTC 2014 - dims...@opensuse.org + +- Set DISABLE_RESTART_ON_UPDATE to 'yes' instead of '1': the + systemd macros do an explicit compare to the string. + +--- Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.Noqvxz/_old 2014-10-11 22:41:39.0 +0200 +++ /var/tmp/diff_new_pack.Noqvxz/_new 2014-10-11 22:41:39.0 +0200 @@ -308,7 +308,7 @@ %postun %mime_database_postun # Do not restart PackageKit on upgrade - it kills the transaction -export DISABLE_RESTART_ON_UPDATE=1 +export DISABLE_RESTART_ON_UPDATE=yes %service_del_postun packagekit.service %if %{with_offline_updates} %service_del_postun packagekit-offline-update.service -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2014-10-06 22:04:37 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is PackageKit Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2014-09-23 17:16:49.0 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2014-10-06 22:04:39.0 +0200 @@ -1,0 +2,11 @@ +Sat Oct 4 12:31:13 UTC 2014 - dims...@opensuse.org + +- Add PackageKit-offline-update.patch: + + Make packagekit-offline-update a static service. Users believe +by disabling the service, the feature would be disabled, when +in fact systemd still brings the user to the +system-update.target, but then doesn't perform any action, most +of all not removing the /system-update link, thus ending in a +loop. + +--- New: PackageKit-offline-update.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.caPi1i/_old 2014-10-06 22:04:40.0 +0200 +++ /var/tmp/diff_new_pack.caPi1i/_new 2014-10-06 22:04:40.0 +0200 @@ -34,6 +34,8 @@ Patch1: 0001-Change-the-configuration-of-the-cron-script-to-a-sys.patch # PATCH-FIX-UPSTREAM PackageKit-dbus-location.patch bnc#829944 dims...@opensuse.org -- Look for dbus socket in /run instead of /var/run. Sent to upstream. Patch3: PackageKit-dbus-location.patch +# PATCH-FIX-UPSTREAM PackageKit-offline-update.patch dims...@opensuse.org -- Make packagekit-offline-update a static service for system-update.target +Patch4: PackageKit-offline-update.patch BuildRequires: NetworkManager-devel BuildRequires: automake BuildRequires: docbook-utils @@ -232,6 +234,7 @@ %setup -q %patch1 -p1 %patch3 -p1 +%patch4 -p1 translation-update-upstream %build @@ -372,6 +375,8 @@ %if %{with_offline_updates} %{_libexecdir}/pk-offline-update %{_unitdir}/packagekit-offline-update.service +%dir %{_unitdir}/system-update.target.wants +%{_unitdir}/system-update.target.wants/packagekit-offline-update.service %{_sbindir}/rcpackagekit-offline-update %endif ++ PackageKit-offline-update.patch ++ diff --git a/data/Makefile.am b/data/Makefile.am index 99019c4..0722f43 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -40,6 +40,10 @@ install-data-hook: echo Remove global read access for: $(DESTDIR)$(localstatedir)/lib/PackageKit/$$file; \ chmod o-r $(DESTDIR)$(localstatedir)/lib/PackageKit/$$file; \ done +if HAVE_SYSTEMD + mkdir -p $(DESTDIR)$(systemdservicedir)/system-update.target.wants + ln -s ../packagekit-offline-update.service $(DESTDIR)$(systemdservicedir)/system-update.target.wants/packagekit-offline-update.service +endif EXTRA_DIST = \ org.freedesktop.PackageKit.conf.in \ diff --git a/data/packagekit-offline-update.service.in b/data/packagekit-offline-update.service.in index bff38d3..2bbf5e8 100644 --- a/data/packagekit-offline-update.service.in +++ b/data/packagekit-offline-update.service.in @@ -2,8 +2,5 @@ Description=Updates the operating system whilst offline OnFailure=reboot.target -[Install] -WantedBy=system-update.target - [Service] ExecStart=@libexecdir@/pk-offline-update -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2014-09-23 17:16:48 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is PackageKit Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2014-08-11 10:09:32.0 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2014-09-23 17:16:49.0 +0200 @@ -1,0 +2,95 @@ +Fri Sep 12 12:17:30 UTC 2014 - dims...@opensuse.org + +- Update to version 1.0.0: + + The offline update functionality has moved to a proper D-Bus +interface and the pkexec helpers have been removed. Offline +updates is an important feature that no longer deserves to be +bolted-on. All the existing users have been ported to the new +interface, but you need 3.13.92 if you're running GNOME from +unstable or jhbuild. + + No more plugins. Both in-tree and out-of-tree plugins were the +biggest source of crashes, and with the systemd offline updates +merged into the core daemon they are just not reuired anymore. +All affected projects have been notified. + + No more conary, opkg, smart or yum plugins. These have been +unmaintained and broken for over two years, so time to give +them the heave-ho. + + The alpm, aptcc, hif and zypp plugins have had lots of love, +and are up to date with the latest features and working well. + + New Features: +- Add a D-Bus interface and helpers for offline support. +- Add a repo-set-data command to packagekit-direct. +- Add a simple script that generates some offline metadata. +- Add pk_backend_job_get_cancellable(). +- Add pk_backend_job_is_cancelled(). +- Add pk_backend_set_user_data(). +- Add pk_offline_get_prepared_sack() and use it in the + systemd-updates plugin. +- Remove pk-debuginfo-install. +- Remove support for distros not supporting /etc/os-release. +- Remove the --enable-systemd-updates configure switch. +- Remove the events/pre-transaction.d functionality. +- Remove the pkexec systemd helpers. +- Remove the plugin interface. +- Remove various options from the config file. + + Bugfixes: +- Automatically do pk_backend_job_finished() for threaded + backends. +- Do not shutdown the daemon on idle by default. +- Fix compile of the ConnMan network support. +- Fix packagekit-offline-update.service generation. +- Increase the default transaction limits. +- Prefer npapi-sdk over mozilla-plugins. +- Refresh the NetworkManager state when the daemon starts. +- Add rcpackagekitd and rcpackagekitd-offline-update symlinks. +- Shorten the Summary of PackageKit-branding-upstream a bit. + +--- +Wed Sep 10 09:21:22 UTC 2014 - dims...@opensuse.org + +- Update to version 0.9.6 (git master/0fcee3c): + + Fix a multitude of possible crashers. +- Drop 0002-Build-against-npapi-sdk-instead-of-xulrunner.patch and + PackageKit-zypp-0.9.patch: fixed upstream. + +--- +Tue Sep 9 20:16:24 UTC 2014 - dims...@opensuse.org + +- Update to version 0.9.5: + + New Features: +- Add --allow-untrusted option to pkcon. +- Add a new tool called packagekit-direct that can run without + a daemon. +- Remove remaining time reporting. +- Remove the desktop.db plugin. + + Bugfixes: +- Do not commit the transaction manually but instead set the + correct state. +- Do not log a critical warning when idle exiting. +- Fix a crash when we are cancelling a transaction that has not + yet been run. +- Make browser-plugin search for npapi-sdk or mozilla-plugin. +- Never ever use g_main_context_iteration() manually. + + Backend fixes. + + For changes from version 0.9.1 up to 0.9.4: please see NEWS +file. +- No longer pass --with-security-framework to configure: not known + anymore. +- Rebase 0002-Build-against-npapi-sdk-instead-of-xulrunner.patch + and PackageKit-dbus-location.patch. +- Drop PackageKit-zypp-filter-uninstalled-packages.patch: fixed + upstream. +- Add PackageKit-zypp-0.9.patch: port zypp backend to PK 0.9.x. +- Drop typelib-1_0-PackageKitPlugin-1_0 subpackage: the plugin + architecture does no longer exist. +- Rename libpackagekit-glib2-16 subpackage to + libpackagekit-glib2-18, following upstreams soname change. +- Rework for GStreamer 1.0 support: + + Remove gstreamer-0_10-devel and +gstreamer-0_10-plugins-base-devel BuildRequires. + + Add gstreamer-devel and gstreamer-plugins-base-devel +BuildRequires. + + Change supplements in gstreamer-plugin to +packageand(%{name}:gstreamer-plugins-base). +
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2014-08-11 10:09:31 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is PackageKit Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2014-07-16 16:36:31.0 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2014-08-11 10:09:32.0 +0200 @@ -1,0 +2,7 @@ +Wed Aug 6 15:54:25 UTC 2014 - dims...@opensuse.org + +- Export DISABLE_RESTART_ON_UPDATE=1 in postun scriptlet: advise + the systemd postun macro not to restart PackageKit services, as + PK would forget it was in progress of a transaction and abort it. + +--- Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.ZZwk3J/_old 2014-08-11 10:09:33.0 +0200 +++ /var/tmp/diff_new_pack.ZZwk3J/_new 2014-08-11 10:09:33.0 +0200 @@ -326,6 +326,8 @@ %postun %mime_database_postun +# Do not restart PackageKit on upgrade - it kills the transaction +export DISABLE_RESTART_ON_UPDATE=1 %service_del_postun packagekit.service %if %{with_offline_updates} %service_del_postun packagekit-offline-update.service -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2014-07-16 16:36:29 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is PackageKit Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2014-06-18 22:04:43.0 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2014-07-16 16:36:31.0 +0200 @@ -1,0 +2,21 @@ +Sun Jul 13 20:36:24 UTC 2014 - dims...@opensuse.org + +- Update to version 0.8.17: + + Backends: +- Multiple Katja updates. +- Multiple aptcc updates. +- Multiple hawkey updates. + + New Features: +- Allow optionally shutting down after applying updates. +- Set an idle IO priority for background threaded transactions. + + Bugfixes: +- Do not disregard any transaction that takes more than 43 + seconds. +- Do not install into python_sitelib. +- Fix directory path in the docs. +- Return an error if a client tries to execute an unknown + method. +- Set the default cache-age to 'never'. +- When using 'pkcon install' assume arch filter. + +--- Old: PackageKit-0.8.16.tar.xz New: PackageKit-0.8.17.tar.xz Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.dL3g3J/_old 2014-07-16 16:36:32.0 +0200 +++ /var/tmp/diff_new_pack.dL3g3J/_new 2014-07-16 16:36:32.0 +0200 @@ -21,13 +21,13 @@ %define with_offline_updates 1 Name: PackageKit -Version:0.8.16 +Version:0.8.17 Release:0 Summary:Simple software installation management software License:GPL-2.0+ Group: System/Daemons Url:http://packagekit.org/ -Source: http://www.packagekit.org/releases/%{name}-%{version}.tar.xz +Source: http://www.freedesktop.org/software/PackageKit/releases/%{name}-%{version}.tar.xz Source2:baselibs.conf # PATCH-FEATURE-OPENSUSE 0001-Change-the-configuration-of-the-cron-script-to-a-sys.patch vu...@opensuse.org -- Change the configuration of the cron script to a sysconfig-like config Patch1: 0001-Change-the-configuration-of-the-cron-script-to-a-sys.patch ++ PackageKit-0.8.16.tar.xz - PackageKit-0.8.17.tar.xz ++ 47907 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2014-06-18 22:04:36 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is PackageKit Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2014-05-05 21:18:32.0 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2014-06-18 22:04:43.0 +0200 @@ -1,0 +2,7 @@ +Fri Jun 6 14:58:02 CEST 2014 - h...@suse.com + +- Add PackageKit-zypp-filter-uninstalled-packages.patch. GStreamer + codec installation would prompt to install already installed + packages. This patch fixes the issue. Part of fate#316921. + +--- New: PackageKit-zypp-filter-uninstalled-packages.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.DpcUzR/_old 2014-06-18 22:04:45.0 +0200 +++ /var/tmp/diff_new_pack.DpcUzR/_new 2014-06-18 22:04:45.0 +0200 @@ -35,6 +35,8 @@ Patch2: 0002-Build-against-npapi-sdk-instead-of-xulrunner.patch # PATCH-FIX-UPSTREAM PackageKit-dbus-location.patch bnc#829944 dims...@opensuse.org -- Look for dbus socket in /run instead of /var/run. Sent to upstream. Patch3: PackageKit-dbus-location.patch +# PATCH-FIX-OPENSUSE PackageKit-zypp-filter-uninstalled-packages.patch fate#316921 h...@suse.com -- GStreamer codec installation would prompt to install already installed packages. +Patch4: PackageKit-zypp-filter-uninstalled-packages.patch # To update this package, please git-format-patch the tag of the # tarball version (eg: PACKAGEKIT_0_6_19) vs the distro tag (eg: openSUSE_Factory) # in https://github.com/openSUSE/PackageKit and keep the patches @@ -257,6 +259,7 @@ %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 translation-update-upstream %build ++ PackageKit-zypp-filter-uninstalled-packages.patch ++ diff --git a/backends/zypp/pk-backend-zypp.cpp b/backends/zypp/pk-backend-zypp.cpp index 6a06f07..8794536 100644 --- a/backends/zypp/pk-backend-zypp.cpp +++ b/backends/zypp/pk-backend-zypp.cpp @@ -3466,6 +3466,7 @@ backend_what_provides_thread (PkBackendJob *job, GVariant *params, gpointer user gchar **search = pk_backend_what_provides_decompose (job, provides, values); + GHashTable *installed_hash = g_hash_table_new (g_str_hash, g_str_equal); guint len = g_strv_length (search); for (guint i=0; ilen; i++) { @@ -3474,13 +3475,28 @@ backend_what_provides_thread (PkBackendJob *job, GVariant *params, gpointer user sat::WhatProvides prov (cap); for (sat::WhatProvides::const_iterator it = prov.begin (); it != prov.end (); ++it) { + if (it-isSystem ()) + g_hash_table_insert (installed_hash, +(const gpointer) makeResObject(*it)-summary().c_str (), +GUINT_TO_POINTER (1)); + } + + for (sat::WhatProvides::const_iterator it = prov.begin (); it != prov.end (); ++it) { if (zypp_filter_solvable (_filters, *it)) continue; - + + /* If caller asked for uninstalled packages, filter out uninstalled instances from +* remote repos corresponding to locally installed packages */ + if ((_filters pk_bitfield_value (PK_FILTER_ENUM_NOT_INSTALLED)) + g_hash_table_contains (installed_hash, makeResObject(*it)-summary().c_str ())) + continue; + PkInfoEnum info = it-isSystem () ? PK_INFO_ENUM_INSTALLED : PK_INFO_ENUM_AVAILABLE; zypp_backend_package (job, info, *it, makeResObject(*it)-summary().c_str ()); } } + + g_hash_table_unref (installed_hash); } pk_backend_job_finished (job); } -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2014-03-06 12:01:58 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is PackageKit Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2014-01-23 15:39:18.0 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2014-03-06 12:02:00.0 +0100 @@ -17 +17 @@ -- Drop PackageKit-dbus-interface-annotation.patch: fixed upatream. +- Drop PackageKit-dbus-interface-annotation.patch: fixed upstream. Other differences: -- -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2014-01-22 09:44:08 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is PackageKit Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2013-12-30 10:24:24.0 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2014-01-23 15:39:18.0 +0100 @@ -1,0 +2,18 @@ +Mon Jan 20 18:25:00 UTC 2014 - dims...@opensuse.org + +- Update to version 0.8.16: + + Libraries: Add pk_package_sack_find_by_id_name_arch(). + + New Features: Set all the proxy settings when using pkcon. + + Changes in the following backends: aptcc, entropy, hawkey, +katja. + + Bugfixes: +- Annotate DBUS Interface for GetPackageHistory. +- Clear the prepared-updates file only when the update is + invalidated. +- Do not show an error if GetDepends is not supported. +- Do not use the '…' character when talking to plymouth. +- Don't use the default main context in sync PkClient methods. +- Only scan .desktop files in the datadir. +- Drop PackageKit-dbus-interface-annotation.patch: fixed upatream. + +--- Old: PackageKit-0.8.15.tar.xz PackageKit-dbus-interface-annotation.patch New: PackageKit-0.8.16.tar.xz Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.sp9L3E/_old 2014-01-23 15:39:19.0 +0100 +++ /var/tmp/diff_new_pack.sp9L3E/_new 2014-01-23 15:39:19.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package PackageKit # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,7 +21,7 @@ %define with_offline_updates 0 Name: PackageKit -Version:0.8.15 +Version:0.8.16 Release:0 Summary:Simple software installation management software License:GPL-2.0+ @@ -35,8 +35,6 @@ Patch2: 0002-Build-against-npapi-sdk-instead-of-xulrunner.patch # PATCH-FIX-UPSTREAM PackageKit-dbus-location.patch bnc#829944 dims...@opensuse.org -- Look for dbus socket in /run instead of /var/run. Sent to upstream. Patch3: PackageKit-dbus-location.patch -# PATCH-FIX-UPSTREAM annotate-dbus-interface-for-qt.patch co...@suse.de -- Give Qt a mapping for the type -Patch4: PackageKit-dbus-interface-annotation.patch # To update this package, please git-format-patch the tag of the # tarball version (eg: PACKAGEKIT_0_6_19) vs the distro tag (eg: openSUSE_Factory) # in https://github.com/openSUSE/PackageKit and keep the patches @@ -259,7 +257,6 @@ %patch1 -p1 %patch2 -p1 %patch3 -p1 -%patch4 -p1 translation-update-upstream %build ++ PackageKit-0.8.15.tar.xz - PackageKit-0.8.16.tar.xz ++ 13006 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2013-12-30 10:24:22 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is PackageKit Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2013-12-19 21:38:56.0 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2013-12-30 10:24:24.0 +0100 @@ -1,0 +2,60 @@ +Tue Dec 24 19:56:08 UTC 2013 - dims...@opensuse.org + +- Update to version 0.8.15: + + Lots of bugfixes and cleanups, no real new features. + + Changes in the following backends: alpm, aptcc, hawkey and yum. + + Bugsfixes: +- Do not assert when re-using a PkPackage instance. +- Do not overrride CLEANFILES from gtk-doc, append to it. +- Do not update the role when doing the test transaction. +- For gtk-doc DOC_SOURCE_DIR is relative to builddir. +- For gtk-doc add missing setup_files. +- Ignore progressbar start text if it unchanged. +- Only show some status values in pkcon after a small delay. +- Resolve internally in pkcon to provide a better output. +- Update CVE regexp for new CVE format. +- Use syslog() correctly. +- Use the filter when removing and installing software using + pkcon. +- Use the system database location when compiling with + --enable-local. + +--- +Thu Dec 19 10:56:11 UTC 2013 - dims...@opensuse.org + +- Update to version 0.8.14: + + We've removed and deprecated the parts of PackageKit that +either didn't work very well, or simply were not being used. +The library and soname stays the same, but a lot of daemon +cruft has been removed. + + A lot of the work above focused on speed, and packagekitd is +substantially faster on most backends now. 100ms here, 50ms +there; things feel lot more snappy doing the most common +operations. + + Libraries: +- Do not add two refs on the PkPackage when in a sack. +- Do not check if the package-id name is valid UTF-8. +- Do not maintain two arrays of the same packages. +- Do not use g_strdup_printf() when building a package_id. +- Optimise pk_package_set_id() by not using g_strsplit(). +- Remove an overly-cautious dup when setting the package ID. + + Backends: +- box: Remove backend, it's obsolete upstream. +- Various fixes in backends: entropy, hawkey, portage, zif. + + New Features: Update the website and developer docs to reflect +reality. + + Bugfixes: +- Don't populate a PkResults object just so we can save one + PkErrorEnum value. +- Don't update the text package cache when refreshing. +- Explicitly mark the required PolicyKit as a hard dep. +- Never ever use WError. +- Only get the sender cmdline when the value is going to be + used. +- Only load the transaction introspection once. +- Only validate UTF-8 text from the spawned backends. +- Speed up loading the transaction introspection by 13ms. +- Drop pm-utils BuildRequires and pm-utils relevant install + instructions: support has been removed. + +--- Old: PackageKit-0.8.13.tar.xz New: PackageKit-0.8.15.tar.xz Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.ohTJtC/_old 2013-12-30 10:24:25.0 +0100 +++ /var/tmp/diff_new_pack.ohTJtC/_new 2013-12-30 10:24:25.0 +0100 @@ -21,7 +21,7 @@ %define with_offline_updates 0 Name: PackageKit -Version:0.8.13 +Version:0.8.15 Release:0 Summary:Simple software installation management software License:GPL-2.0+ @@ -63,7 +63,6 @@ BuildRequires: libtool BuildRequires: libzypp-devel BuildRequires: mozilla-nspr-devel = 4.8 -BuildRequires: pm-utils BuildRequires: polkit-devel = 0.98 BuildRequires: python-devel BuildRequires: pkgconfig(bash-completion) = 2.0 @@ -290,11 +289,6 @@ %install %makeinstall find %{buildroot} -type f -name *.la -delete -print -# the pm-utils package in openSUSE uses libexecdir and not libdir -%if %{_libdir} != %{_libexecdir} -test ! -e %{buildroot}%{_libexecdir}/pm-utils -mv %{buildroot}%{_libdir}/pm-utils %{buildroot}%{_libexecdir}/pm-utils -%endif # move the cron configuration to a sysconfig template install -d %{buildroot}%{_localstatedir}/adm/fillup-templates mv %{buildroot}%{_sysconfdir}/sysconfig/packagekit-background %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.packagekit-background @@ -360,7 +354,7 @@ %files %defattr(-,root,root) -%doc AUTHORS
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2013-12-19 21:38:53 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is PackageKit Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2013-11-04 07:08:52.0 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2013-12-19 21:38:56.0 +0100 @@ -1,0 +2,33 @@ +Thu Dec 19 08:59:10 UTC 2013 - co...@suse.com + +- Add PackageKit-dbus-interface-annotation.patch: annotate + GetHistory call for Qt bindings to compile. + +--- +Sat Nov 23 22:10:21 UTC 2013 - dims...@opensuse.org + +- Update to version 0.8.13: + + New Features: +- Add a systemd packagekit.service file. +- Provide a way to run the spawned backend under strace. + + Improvements to various backends: hawkey, poldek and yum. + + Bugfixes: +- Fix the --with-systemdsystemunitdir option to actually work. +- Do not abort the daemon if we can't write to a database. +- Do not proxy the action states when simulating. +- Don't crash if ProxyHTTP is set. +- Fix a small memory leak spotted by clang. +- Fix critical warning when killing a backend with new versions + of GLib. +- Fix memory leak when running plugins. +- Fix memory leak when using new versions of GLib. +- Ignore the prefix when dealing with the PackageKit prepared + update. +- Make the debugging print formatter thread safe. +- Remove duplicate assignment of pkcon '-y' option. +- browser-plugin: Never use the application icon. +- systemd-updates: Log all warnings and notices to the journal. +- systemd-updates: Show some text progress. +- Add pkgconfig(libsystemd-journal) BuildRequires: new dependency. + +--- Old: PackageKit-0.8.12.tar.xz New: PackageKit-0.8.13.tar.xz PackageKit-dbus-interface-annotation.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.vMGSzl/_old 2013-12-19 21:38:56.0 +0100 +++ /var/tmp/diff_new_pack.vMGSzl/_new 2013-12-19 21:38:56.0 +0100 @@ -21,7 +21,7 @@ %define with_offline_updates 0 Name: PackageKit -Version:0.8.12 +Version:0.8.13 Release:0 Summary:Simple software installation management software License:GPL-2.0+ @@ -35,6 +35,8 @@ Patch2: 0002-Build-against-npapi-sdk-instead-of-xulrunner.patch # PATCH-FIX-UPSTREAM PackageKit-dbus-location.patch bnc#829944 dims...@opensuse.org -- Look for dbus socket in /run instead of /var/run. Sent to upstream. Patch3: PackageKit-dbus-location.patch +# PATCH-FIX-UPSTREAM annotate-dbus-interface-for-qt.patch co...@suse.de -- Give Qt a mapping for the type +Patch4: PackageKit-dbus-interface-annotation.patch # To update this package, please git-format-patch the tag of the # tarball version (eg: PACKAGEKIT_0_6_19) vs the distro tag (eg: openSUSE_Factory) # in https://github.com/openSUSE/PackageKit and keep the patches @@ -70,6 +72,7 @@ BuildRequires: shared-mime-info BuildRequires: sqlite-devel BuildRequires: translation-update-upstream +BuildRequires: pkgconfig(libsystemd-journal) BuildRequires: pkgconfig(systemd) Requires: %{name}-branding = %{version} # We really want a working backend (likely zypp) @@ -257,6 +260,7 @@ %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 translation-update-upstream %build @@ -299,14 +303,16 @@ %find_lang %{name} %{?no_lang_C} %fdupes $RPM_BUILD_ROOT -%if %{with_offline_updates} %pre +%service_add_pre packagekit.service +%if %{with_offline_updates} %service_add_pre packagekit-offline-update.service %endif %post %{fillup_only -n packagekit-background} %mime_database_post +%service_add_post packagekit.service %if %{with_offline_updates} %service_add_post packagekit-offline-update.service %else @@ -318,13 +324,15 @@ fi %endif -%if %{with_offline_updates} %preun +%service_del_preun packagekit.service +%if %{with_offline_updates} %service_del_preun packagekit-offline-update.service %endif %postun %mime_database_postun +%service_del_postun packagekit.service %if %{with_offline_updates} %service_del_postun packagekit-offline-update.service %endif @@ -405,6 +413,7 @@ %{_datadir}/polkit-1/actions/org.freedesktop.packagekit.policy %{_datadir}/polkit-1/rules.d/org.freedesktop.packagekit.rules %{_datadir}/dbus-1/system-services/* +%{_unitdir}/packagekit.service %doc %{_mandir}/man?/*.* %verify(not md5 size mtime)
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2013-10-03 07:43:01 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is PackageKit Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2013-09-27 17:56:10.0 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2013-10-03 07:43:03.0 +0200 @@ -1,0 +2,8 @@ +Sun Sep 29 17:38:51 UTC 2013 - dims...@opensuse.org + +- Set BUILD_CNF to 0: in openSUSE, we use the sep. + command-not-found package for the same purpose. The existing + handler anyway never worked, as it checked for the presence of + /usr/libexec/packagekitd, which is not a valid openSUSE location. + +--- Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.VCUDuO/_old 2013-10-03 07:43:04.0 +0200 +++ /var/tmp/diff_new_pack.VCUDuO/_new 2013-10-03 07:43:04.0 +0200 @@ -17,7 +17,7 @@ # $ pkcon search file /usr/bin/anjuta -%define BUILD_CNF 1 +%define BUILD_CNF 0 %define with_offline_updates 0 Name: PackageKit -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2013-09-27 17:56:09 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is PackageKit Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2013-09-09 10:53:21.0 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2013-09-27 17:56:10.0 +0200 @@ -1,0 +2,8 @@ +Thu Sep 26 16:50:37 UTC 2013 - dims...@opensuse.org + +- Add PackageKit-destroy-and-recreate.patch: Destroy and re-create + the control proxy if the server changes. Helps gnome-software to + be able to communicate with packagekitd after restarting the + daemon. + +--- New: PackageKit-destroy-and-recreate.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.leCj0D/_old 2013-09-27 17:56:11.0 +0200 +++ /var/tmp/diff_new_pack.leCj0D/_new 2013-09-27 17:56:11.0 +0200 @@ -35,6 +35,8 @@ Patch2: 0002-Build-against-npapi-sdk-instead-of-xulrunner.patch # PATCH-FIX-UPSTREAM PackageKit-dbus-location.patch bnc#829944 dims...@opensuse.org -- Look for dbus socket in /run instead of /var/run. Sent to upstream. Patch3: PackageKit-dbus-location.patch +# PATCH-FIX-UPSTREAM PackageKit-destroy-and-recreate.patch dims...@opensuse.org -- Destroy and re-create the control proxy if the server changes +Patch4: PackageKit-destroy-and-recreate.patch # To update this package, please git-format-patch the tag of the # tarball version (eg: PACKAGEKIT_0_6_19) vs the distro tag (eg: openSUSE_Factory) # in https://github.com/openSUSE/PackageKit and keep the patches @@ -257,6 +259,7 @@ %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 translation-update-upstream %build ++ PackageKit-destroy-and-recreate.patch ++ From e1498ff60188eaf1a4ef58ee207ee5b900189550 Mon Sep 17 00:00:00 2001 From: Richard Hughes rich...@hughsie.com Date: Mon, 23 Sep 2013 16:34:58 +0100 Subject: [PATCH] lib: Destroy and re-create the control proxy if the server changes Although I don't think this shouldn't be required as org.freedesktop.PackageKit is a well-known service, it seems that from gnome-software we need to manually disconnect and reconnect when packagekitd is restarted. Weirdly, gnome-packagekit isn't affected in the same way. --- lib/packagekit-glib2/pk-control.c | 35 ++- 1 files changed, 26 insertions(+), 9 deletions(-) diff --git a/lib/packagekit-glib2/pk-control.c b/lib/packagekit-glib2/pk-control.c index 9477e65..e319bea 100644 --- a/lib/packagekit-glib2/pk-control.c +++ b/lib/packagekit-glib2/pk-control.c @@ -2447,6 +2447,24 @@ pk_control_name_appeared_cb (GDBusConnection *connection, } /** + * pk_control_proxy_destroy: + **/ +static void +pk_control_proxy_destroy (PkControl *control) +{ + if (control-priv-proxy == NULL) + return; + g_signal_handlers_disconnect_by_func (control-priv-proxy, + G_CALLBACK (pk_control_properties_changed_cb), + control); + g_signal_handlers_disconnect_by_func (control-priv-proxy, + G_CALLBACK (pk_control_signal_cb), + control); + g_object_unref (control-priv-proxy); + control-priv-proxy = NULL; +} + +/** * pk_control_name_vanished_cb: **/ static void @@ -2458,6 +2476,11 @@ pk_control_name_vanished_cb (GDBusConnection *connection, control-priv-connected = FALSE; g_debug (notify::connected); g_object_notify (G_OBJECT(control), connected); + + /* destroy the proxy, as even though it's well known we get a +* GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown if we try to +* use this after the server has restarted */ + pk_control_proxy_destroy (control); } /** @@ -2497,6 +2520,9 @@ pk_control_finalize (GObject *object) g_cancellable_cancel (priv-cancellable); g_bus_unwatch_name (priv-watch_id); + /* disconnect proxy and destroy it */ + pk_control_proxy_destroy (control); + /* remove pending sources */ if (priv-transaction_list_changed_id != 0) g_source_remove (priv-transaction_list_changed_id); @@ -2506,15 +2532,6 @@ pk_control_finalize (GObject *object) g_source_remove (priv-updates_changed_id); if (priv-repo_list_changed_id != 0) g_source_remove (priv-repo_list_changed_id); - if (priv-proxy !=
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2013-09-09 10:53:19 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is PackageKit Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2013-08-30 17:14:07.0 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2013-09-09 10:53:21.0 +0200 @@ -1,0 +2,20 @@ +Sat Sep 7 17:25:35 UTC 2013 - dims...@opensuse.org + +- Add PackageKit-dbus-location.patch: Look for dbus socket in /run + instead of /var/run (bnc#829944). + +--- +Tue Sep 3 06:37:22 UTC 2013 - dims...@opensuse.org + +- Update to version 0.8.11: + + Make it possible to cancel an offline update. + + Add offline update commands to the pkcon man page. + + Make sure basic stuff is set up before entering the STARTED +plugin phase. + + pkcon: Add a few missing subcommands to the help output. + + pkcon: Document commands and options. + + zypp: Adapt to pk_backend_job_files change. + + Various backend fixes (not zypp related). +- Drop PackageKit-zypp-buildfix.patch: fixed upstream. + +--- Old: PackageKit-0.8.10.tar.xz PackageKit-zypp-buildfix.patch New: PackageKit-0.8.11.tar.xz PackageKit-dbus-location.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.ruxvEh/_old 2013-09-09 10:53:22.0 +0200 +++ /var/tmp/diff_new_pack.ruxvEh/_new 2013-09-09 10:53:22.0 +0200 @@ -21,7 +21,7 @@ %define with_offline_updates 0 Name: PackageKit -Version:0.8.10 +Version:0.8.11 Release:0 Summary:Simple software installation management software License:GPL-2.0+ @@ -33,8 +33,8 @@ Patch1: 0001-Change-the-configuration-of-the-cron-script-to-a-sys.patch # PATCH-FIX-UPSTREAM PackageKit-npapi.patch fdo#40026 w...@rosenauer.org -- Build against npapi-sdk instead of xulrunner Patch2: 0002-Build-against-npapi-sdk-instead-of-xulrunner.patch -# PATCH-FIX-UPSTREAM PackageKit-zypp-buildfix.patch dims...@opensuse.org -- internal API for pk_backend_job_files was changed to accept arrays; https://gitorious.org/packagekit/packagekit/merge_requests/8 -Patch3: PackageKit-zypp-buildfix.patch +# PATCH-FIX-UPSTREAM PackageKit-dbus-location.patch bnc#829944 dims...@opensuse.org -- Look for dbus socket in /run instead of /var/run. Sent to upstream. +Patch3: PackageKit-dbus-location.patch # To update this package, please git-format-patch the tag of the # tarball version (eg: PACKAGEKIT_0_6_19) vs the distro tag (eg: openSUSE_Factory) # in https://github.com/openSUSE/PackageKit and keep the patches ++ PackageKit-0.8.10.tar.xz - PackageKit-0.8.11.tar.xz ++ 4171 lines of diff (skipped) ++ PackageKit-dbus-location.patch ++ Index: PackageKit-0.8.11/contrib/command-not-found/PackageKit.sh.in === --- PackageKit-0.8.11.orig/contrib/command-not-found/PackageKit.sh.in +++ PackageKit-0.8.11/contrib/command-not-found/PackageKit.sh.in @@ -11,7 +11,7 @@ command_not_found_handle () { retval=127 # don't run if DBus isn't running - [ ! -S /var/run/dbus/system_bus_socket ] runcnf=0 + [ ! -S /run/dbus/system_bus_socket ] runcnf=0 # don't run if packagekitd doesn't exist in the _system_ root [ ! -x /usr/libexec/packagekitd ] runcnf=0 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2013-08-30 17:14:05 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is PackageKit Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2013-05-28 12:04:15.0 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2013-08-30 17:14:07.0 +0200 @@ -1,0 +2,52 @@ +Wed Jul 31 13:16:23 UTC 2013 - dims...@opensuse.org + +- Update to version 0.8.10: + + Libraries: +- glib: + . Actually return the error if any PkClient methods failed. + . Fix a potential segfault when getting the error code for +the results. +- ruby_packagekit: + . update enums with enum-convertor. + . update prints with commands. + . update the backend API. + + New Features: +- Add a 'DOWNLOADED' filter to select only packages already in + the cache. +- Add three pkcon sub-commands for offline updates. +- Allow local active users in the wheel group to install signed + packages without a password. +- Allow plugins to override PolicyKit action IDs. + + Bugs fixed: +- Also look for libraries in type txt from lsof. +- Correctly handle SIGINT signals again. +- Default lsof installation path on FreeBSD. +- Depend on GLib 2.30.0 for the UNIX signal handling features. +- Do not start the daemon if we cannot get a valid starting ID. +- Don't cause warnings if /proc/net/route is missing. +- Do proper error checking when modifying the transaction + database. +- Emit error for Listaller package installs, if Listaller is + not installed. +- Ensure we create the per-system metadata cache location. +- Fix Listaller compat check if IPK mime type is not installed. +- Generate the python files to get the path right. +- If the transaction database is missing, show an error and + cleanly shutdown. +- Load an instance of the transaction database for each + transaction. +- Make pk_backend_job_files() accept an array of strings. +- Make the client-helper run on non-Linux systems. +- Make the test scripts use a standard shell. +- Only check the package-id of ::Files when specified. +- Only search newest packages when resolving 'pkcon update + foo'. +- Raise the package process threshold to 5000. +- systemd-updates: Do not exit with an error for a race + condition. + + Various fixes in aptcc, dummy, hawkey, pisi, ports, yum and +zif backend. +- Add PackageKit-zypp-buildfix.patch: change zypp backend to + follow pk_backend_job_files() changes. + +--- Old: PackageKit-0.8.9.tar.xz New: PackageKit-0.8.10.tar.xz PackageKit-zypp-buildfix.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.FmoIFg/_old 2013-08-30 17:14:08.0 +0200 +++ /var/tmp/diff_new_pack.FmoIFg/_new 2013-08-30 17:14:08.0 +0200 @@ -21,7 +21,7 @@ %define with_offline_updates 0 Name: PackageKit -Version:0.8.9 +Version:0.8.10 Release:0 Summary:Simple software installation management software License:GPL-2.0+ @@ -33,6 +33,8 @@ Patch1: 0001-Change-the-configuration-of-the-cron-script-to-a-sys.patch # PATCH-FIX-UPSTREAM PackageKit-npapi.patch fdo#40026 w...@rosenauer.org -- Build against npapi-sdk instead of xulrunner Patch2: 0002-Build-against-npapi-sdk-instead-of-xulrunner.patch +# PATCH-FIX-UPSTREAM PackageKit-zypp-buildfix.patch dims...@opensuse.org -- internal API for pk_backend_job_files was changed to accept arrays; https://gitorious.org/packagekit/packagekit/merge_requests/8 +Patch3: PackageKit-zypp-buildfix.patch # To update this package, please git-format-patch the tag of the # tarball version (eg: PACKAGEKIT_0_6_19) vs the distro tag (eg: openSUSE_Factory) # in https://github.com/openSUSE/PackageKit and keep the patches @@ -254,6 +256,7 @@ %setup -q %patch1 -p1 %patch2 -p1 +%patch3 -p1 translation-update-upstream %build @@ -400,6 +403,7 @@ %{_datadir}/PackageKit/helpers/test_spawn/search-name.sh %{_datadir}/PackageKit/pk-upgrade-distro.sh %{_datadir}/polkit-1/actions/org.freedesktop.packagekit.policy +%{_datadir}/polkit-1/rules.d/org.freedesktop.packagekit.rules %{_datadir}/dbus-1/system-services/* %doc %{_mandir}/man?/*.* %verify(not md5 size mtime) %{_localstatedir}/lib/PackageKit/transactions.db ++ PackageKit-0.8.9.tar.xz - PackageKit-0.8.10.tar.xz ++ 31368 lines of diff (skipped) ++
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2013-05-28 11:59:20 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is PackageKit Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2013-05-16 11:21:53.0 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2013-05-28 12:04:15.0 +0200 @@ -1,0 +2,17 @@ +Wed May 22 12:18:59 UTC 2013 - dims...@opensuse.org + +- Update to version 0.8.9: + + New Features: +- Add 'pkcon backend-details' to be get details of the selected + backend. + + Bugfixes: +- Add fallback for older libarchive. +- Do not rely on Python2 to write UTF-8 strings. +- Do not use -fPIE when calling g-ir-scanner. +- Ensure the package is removed from the sack properly. +- Modify CodingStyle. + + Backends: +- yum: Update the comps-group mapping for Fedora 19. +- yum: When converting to unicode special case YumBaseError. + +--- Old: PackageKit-0.8.8.tar.xz New: PackageKit-0.8.9.tar.xz Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.TcMz4z/_old 2013-05-28 12:04:17.0 +0200 +++ /var/tmp/diff_new_pack.TcMz4z/_new 2013-05-28 12:04:17.0 +0200 @@ -21,7 +21,7 @@ %define with_offline_updates 0 Name: PackageKit -Version:0.8.8 +Version:0.8.9 Release:0 Summary:Simple software installation management software License:GPL-2.0+ ++ PackageKit-0.8.8.tar.xz - PackageKit-0.8.9.tar.xz ++ 18879 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2013-05-16 11:21:52 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is PackageKit Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2013-04-14 10:36:53.0 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2013-05-16 11:21:53.0 +0200 @@ -1,0 +2,86 @@ +Wed May 8 15:12:13 UTC 2013 - dims...@opensuse.org + +- Update to version 0.8.8: + + PackageKit now allows local active users to install signed +software without prompting for authentication. + + Libraries: +- Add some public getters to PkUpdateDetail. +- Don't use the default main context in sync PkClient methods. +- When getting desktop data try the installed prefix, and then + the system copy. + + ZYPP backend fixes: + - Do not trigger invalid numbers. + - Fix compile with __attribute__ gnu_printf. + - Fix download progress. + - Fix removing packages. + - Ignore system resolvables during install too. + - Ignore @System upgrades during update. + - Instantiate PoolStatusSaver after pool is built + (bnc#804054). + - Less debug in progress functions. + - Merge all backend code into one file, much easier to + refactor. + - Only allow to update candidates (fdo#61231). + - Remap PK provides into rpm provides as the zif backend + does. + - Use the right functions to get solvables. + + Multiple other backend fixes. + + New Features: +- Added Provides property to retrieve which Provides the + backend supports +- Expose the transaction flags on the .Transaction object. +- Use __attribute__ gnu_printf when dealing with varargs. +- Use G_GNUC_NULL_TERMINATED for pk_backend_spawn_helper. +- Use PIE to better secure installed tools and also use full + RELRO in the daemon. + + Bugfixes: +- Add compatibility with newer libarchive versions. +- Allow clients to call org.freedesktop.DBus.Peer. +- browser-plugin: Do not crash when running an installed + package that is upgradable. +- Do not install the bash-completion code in /etc. +- Do not use _UTF8Writer when using python3. +- Do not write the prepared-updates file if systemd is not + available. +- Don't abort the daemon if the client requests a property that + does not exist. +- Don't initialize GType system on newer GLib versions. +- Ensure /var/lib/PackageKit exists before using it. +- Fix compiling with --enable-systemd + --disable-systemd-updates. +- Fix crash while calling inhibit into systemd-login. +- Fixed connman interface. +- Fix symbol-prefix passed to g-ir-scanner. +- Make PackageKit compile on !Linux again. +- Pause for 10 seconds if an error occurred before restarting + systemd-updates. +- Remove pk-plugin-clear-system-update as removing the trigger + file is never required. +- Remove the prepared-updates file if any relevant state was + changed. +- Resolve according to the filters when doing + 'pkcon get-requires'. +- Support getting the distro-id from /etc/os-release. +- Use the correct session method to fix font installation in + pk-gtk-module. +- Write a pre-failure status file in case the update + transaction crashes. +- Drop patches that have been merged upstream: + + 0003-zypp-fix-download-progress.patch + + 0004-zypp-use-the-right-functions-to-get-solvables.patch + + 0005-zypp-fix-removing-packages.patch + + 0006-zypp-do-not-trigger-invalid-numbers.patch + + 0007-fix-crash-while-calling-inhibit-into-systemd-login.patch + + 0008-zypp-ignore-System-upgrades-during-update.patch + + 0009-zypp-merge-all-backend-code-into-one-file-much-easie.patch + + 0010-zypp-ignore-system-resolvables-during-install-too.patch + + 0011-zypp-Fix-compile-with-__attribute__-gnu_printf.patch + + 0012-zypp-less-debug-in-progress-functions.patch + + 0013-zypp-remap-PK-provides-into-rpm-provides-as-the-zif-.patch + + 0014-zypp-Instantiate-PoolStatusSaver-after-pool-is-built.patch + + 0015-zypp-only-allow-updates.patch + + PackageKit-allow-to-disable-systemd-updates.patch +- Add pkgconfig(bash-completion) BuildRequires: new dependency to + detect the bash completions install location. + +--- Old: 0003-zypp-fix-download-progress.patch 0004-zypp-use-the-right-functions-to-get-solvables.patch 0005-zypp-fix-removing-packages.patch 0006-zypp-do-not-trigger-invalid-numbers.patch 0007-fix-crash-while-calling-inhibit-into-systemd-login.patch
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2013-04-14 10:36:51 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is PackageKit, Maintainer is gnome-maintain...@suse.de Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2013-03-10 08:36:11.0 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2013-04-14 10:36:53.0 +0200 @@ -1,0 +2,7 @@ +Wed Mar 27 12:52:41 UTC 2013 - mike.catanz...@gmail.com + +- Drop fix-policies-opensuse.patch: these settings aren't being + used anymore as they're overridden by our settings in the package + polkit-default-privs. + +--- Old: fix-policies-opensuse.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.kT79dp/_old 2013-04-14 10:36:54.0 +0200 +++ /var/tmp/diff_new_pack.kT79dp/_new 2013-04-14 10:36:54.0 +0200 @@ -33,8 +33,6 @@ Patch1: 0001-Change-the-configuration-of-the-cron-script-to-a-sys.patch # PATCH-FIX-UPSTREAM PackageKit-npapi.patch fdo#40026 w...@rosenauer.org -- Build against npapi-sdk instead of xulrunner Patch2: 0002-Build-against-npapi-sdk-instead-of-xulrunner.patch -# PATCH-FIX-OPENSUSE fix-policies-opensuse.patch tittiatc...@gmail.com -- Make sure that the Policy settings are conform openSUSE standards -Patch3: fix-policies-opensuse.patch # PATCH-FIX-UPSTREAM 0003-zypp-fix-download-progress.patch co...@suse.de -- Fix download progress Patch4: 0003-zypp-fix-download-progress.patch # PATCH-FIX-UPSTREAM 0004-zypp-use-the-right-functions-to-get-solvables.patch co...@suse.de -- Several fixes for package_id @@ -283,7 +281,6 @@ %setup -q %patch1 -p1 %patch2 -p1 -%patch3 -p0 %patch4 -p1 %patch5 -p1 %patch6 -p1 @@ -301,7 +298,7 @@ translation-update-upstream %build -# Needed due to patch3 and patch13 +# Needed due to patch13 autoreconf -fi %configure \ --disable-static \ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2013-03-10 08:36:10 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is PackageKit, Maintainer is gnome-maintain...@suse.de Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2013-03-01 07:39:30.0 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2013-03-10 08:36:11.0 +0100 @@ -1,0 +2,5 @@ +Fri Mar 8 10:05:12 UTC 2013 - co...@suse.com + +- add 0015-zypp-only-allow-updates.patch from git (bnc#804983) + +--- New: 0015-zypp-only-allow-updates.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.NSvguE/_old 2013-03-10 08:36:13.0 +0100 +++ /var/tmp/diff_new_pack.NSvguE/_new 2013-03-10 08:36:13.0 +0100 @@ -61,6 +61,8 @@ Patch15:PackageKit-allow-to-disable-systemd-updates.patch # PATCH-FIX-UPSTREAM 0014-zypp-Instantiate-PoolStatusSaver-after-pool-is-built.patch bnc#804054 co...@suse.de Patch16:0014-zypp-Instantiate-PoolStatusSaver-after-pool-is-built.patch +# PATCH-FIX-UPSTREAM 0015-zypp-only-allow-updates.patch bnc#804983 co...@suse.de +Patch17:0015-zypp-only-allow-updates.patch # To update this package, please git-format-patch the tag of the # tarball version (eg: PACKAGEKIT_0_6_19) vs the distro tag (eg: openSUSE_Factory) # in https://github.com/openSUSE/PackageKit and keep the patches @@ -295,6 +297,7 @@ %patch14 -p1 %patch15 -p1 %patch16 -p1 +%patch17 -p1 translation-update-upstream %build ++ 0015-zypp-only-allow-updates.patch ++ From d3d14631042237bcfe6fb30a60e59bb6d94af425 Mon Sep 17 00:00:00 2001 From: Stephan Kulow co...@suse.de Date: Thu, 21 Feb 2013 17:40:24 +0100 Subject: [PATCH] zypp: only allow to update candidates (fdo#61231) --- backends/zypp/pk-backend-zypp.cpp | 18 +- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/backends/zypp/pk-backend-zypp.cpp b/backends/zypp/pk-backend-zypp.cpp index 6df4067..a949de9 100644 --- a/backends/zypp/pk-backend-zypp.cpp +++ b/backends/zypp/pk-backend-zypp.cpp @@ -1243,7 +1243,7 @@ zypp_get_updates (PkBackendJob *job, ZYpp::Ptr zypp, setPoolItem candidates) pi_it_t cb = candidates.begin (), ce = candidates.end (), ci; for (ci = cb; ci != ce; ++ci) { if (!isKindPatch(ci-resolvable())) - continue; + continue; Patch::constPtr patch = asKindPatch(ci-resolvable()); @@ -3157,7 +3157,23 @@ backend_update_packages_thread (PkBackendJob *job, GVariant *params, gpointer us for (guint i = 0; package_ids[i]; i++) { sat::Solvable solvable = zypp_get_package_by_id (package_ids[i]); + ui::Selectable::Ptr sel( ui::Selectable::get( solvable )); + PoolItem item(solvable); + // patches are special - they are not installed and can't have update candidates + if (sel-kind() != ResKind::patch) { + MIL sel sel-kind() sel-ident() endl; + if (sel-installedEmpty()) { + zypp_backend_finished_error (job, PK_ERROR_ENUM_DEP_RESOLUTION_FAILED, Package %s is not installed, package_ids[i]); + return; + } + item = sel-updateCandidateObj(); + if (!item) { +zypp_backend_finished_error(job, PK_ERROR_ENUM_DEP_RESOLUTION_FAILED, There is no update candidate for %s, sel-installedObj().satSolvable().asString().c_str()); + return; + } + } + item.status ().setToBeInstalled (ResStatus::USER); Patch::constPtr patch = asKindPatch(item.resolvable ()); zypp_check_restart (restart, patch); -- 1.7.1 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2013-03-01 07:39:29 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is PackageKit, Maintainer is gnome-maintain...@suse.de Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2013-02-20 09:33:50.0 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2013-03-01 07:39:30.0 +0100 @@ -1,0 +2,6 @@ +Thu Feb 28 16:00:49 CET 2013 - m...@suse.de + +- Add 0014-Instantiate-PoolStatusSaver-after-pool-is-built-bnc-.patch + (bnc#804054) + +--- New: 0014-zypp-Instantiate-PoolStatusSaver-after-pool-is-built.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.E95l6C/_old 2013-03-01 07:39:31.0 +0100 +++ /var/tmp/diff_new_pack.E95l6C/_new 2013-03-01 07:39:31.0 +0100 @@ -59,6 +59,8 @@ Patch14:0013-zypp-remap-PK-provides-into-rpm-provides-as-the-zif-.patch # PATCH-FIX-UPSTREAM PackageKit-allow-to-disable-systemd-updates.patch fdo#61103 dims...@opensuse.org -- Fix build with --disable-systemd-updates Patch15:PackageKit-allow-to-disable-systemd-updates.patch +# PATCH-FIX-UPSTREAM 0014-zypp-Instantiate-PoolStatusSaver-after-pool-is-built.patch bnc#804054 co...@suse.de +Patch16:0014-zypp-Instantiate-PoolStatusSaver-after-pool-is-built.patch # To update this package, please git-format-patch the tag of the # tarball version (eg: PACKAGEKIT_0_6_19) vs the distro tag (eg: openSUSE_Factory) # in https://github.com/openSUSE/PackageKit and keep the patches @@ -292,6 +294,7 @@ %patch13 -p1 %patch14 -p1 %patch15 -p1 +%patch16 -p1 translation-update-upstream %build ++ 0014-zypp-Instantiate-PoolStatusSaver-after-pool-is-built.patch ++ From e81a7af4d48348f00c40532c23a097533795c1b6 Mon Sep 17 00:00:00 2001 From: Michael Andres m...@suse.de Date: Thu, 28 Feb 2013 15:01:20 +0100 Subject: [PATCH] zypp: Instantiate PoolStatusSaver after pool is built (bnc#804054) --- backends/zypp/pk-backend-zypp.cpp | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) Index: PackageKit-0.8.7/backends/zypp/pk-backend-zypp.cpp === --- PackageKit-0.8.7.orig/backends/zypp/pk-backend-zypp.cpp +++ PackageKit-0.8.7/backends/zypp/pk-backend-zypp.cpp @@ -120,8 +120,12 @@ enum PkgSearchType { SEARCH_TYPE_RESOLVE = 3 }; -// helper function to restore the pool status -// after doing operations on it +/// \class PoolStatusSaver +/// \brief Helper to restore the pool status after doing operations on it. +/// +/// \note It's important that a PoolStatusSaver is instantiated \b after +/// the pool is built/refreshed. Otherwise you lose all the locks applied +/// during refresh. (bnc#804054) class PoolStatusSaver : private base::NonCopyable { public: @@ -1732,8 +1736,8 @@ backend_get_requires_thread (PkBackendJo pk_backend_job_set_percentage (job, 10); - PoolStatusSaver saver; ResPool pool = zypp_build_pool (zypp, true); + PoolStatusSaver saver; for (uint i = 0; package_ids[i]; i++) { sat::Solvable solvable = zypp_get_package_by_id (package_ids[i]); @@ -2463,7 +2467,6 @@ static void backend_install_packages_thread (PkBackendJob *job, GVariant *params, gpointer user_data) { MIL endl; - PoolStatusSaver saver; PkBitfield transaction_flags = 0; gchar **package_ids; @@ -2491,6 +2494,7 @@ backend_install_packages_thread (PkBacke try { ResPool pool = zypp_build_pool (zypp, TRUE); + PoolStatusSaver saver; pk_backend_job_set_percentage (job, 10); vectorPoolItem *items = new vectorPoolItem (); @@ -2581,7 +2585,6 @@ static void backend_remove_packages_thread (PkBackendJob *job, GVariant *params, gpointer user_data) { MIL endl; - PoolStatusSaver saver; PkBitfield transaction_flags = 0; gboolean autoremove = false; gboolean allow_deps = false; @@ -2613,6 +2616,7 @@ backend_remove_packages_thread (PkBacken target-load (); pk_backend_job_set_percentage (job, 10); + PoolStatusSaver saver; for (guint i = 0; package_ids[i]; i++) { sat::Solvable solvable = zypp_get_package_by_id (package_ids[i]); @@ -3137,8 +3141,6 @@ static void backend_update_packages_thread (PkBackendJob *job, GVariant *params, gpointer user_data) { MIL endl; - PoolStatusSaver
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2013-02-20 09:33:48 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is PackageKit, Maintainer is gnome-maintain...@suse.de Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2013-02-12 12:54:02.0 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2013-02-20 09:33:50.0 +0100 @@ -1,0 +2,16 @@ +Tue Feb 19 08:01:34 UTC 2013 - dims...@opensuse.org + +- Add PackageKit-allow-to-disable-systemd-updates.patch: Disabling + systemd-updates has the effect that HAVE_SYSTEMD is completely + ignored, causing build failures. +- Introduce with_systemd_updates (currently set to 0) to have an + easy way enabling/disabling systemd offline updates. For openSUSE + 12.3 this is not fully ready, and instead of the UI offering it + and having any kind of side effect, we for now decide to disable + it. The defines conditionally does: + + Pass --disable-systemd-updates to configure + + Add a section to the %post scripts, removing remnant files if +left there. + + Adjust the files section. + +--- New: PackageKit-allow-to-disable-systemd-updates.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.IgReQb/_old 2013-02-20 09:33:51.0 +0100 +++ /var/tmp/diff_new_pack.IgReQb/_new 2013-02-20 09:33:51.0 +0100 @@ -18,6 +18,7 @@ # $ pkcon search file /usr/bin/anjuta %define BUILD_CNF 1 +%define with_offline_updates 0 Name: PackageKit Version:0.8.7 @@ -56,6 +57,8 @@ Patch13:0012-zypp-less-debug-in-progress-functions.patch # PATCH-FIX-UPSTREAM 0013-zypp-remap-PK-provides-into-rpm-provides-as-the-zif-.patch co...@suse.de -- search in ppds Patch14:0013-zypp-remap-PK-provides-into-rpm-provides-as-the-zif-.patch +# PATCH-FIX-UPSTREAM PackageKit-allow-to-disable-systemd-updates.patch fdo#61103 dims...@opensuse.org -- Fix build with --disable-systemd-updates +Patch15:PackageKit-allow-to-disable-systemd-updates.patch # To update this package, please git-format-patch the tag of the # tarball version (eg: PACKAGEKIT_0_6_19) vs the distro tag (eg: openSUSE_Factory) # in https://github.com/openSUSE/PackageKit and keep the patches @@ -288,6 +291,7 @@ %patch12 -p1 %patch13 -p1 %patch14 -p1 +%patch15 -p1 translation-update-upstream %build @@ -305,6 +309,12 @@ %else --enable-command-not-found \ %endif +--enable-systemd \ +%if %{with_offline_updates} +--enable-systemd-updates \ +%else +--disable-systemd-updates \ +%endif %{nil} make %{?_smp_mflags} V=1 @@ -325,20 +335,35 @@ %find_lang %{name} %{?no_lang_C} %fdupes $RPM_BUILD_ROOT +%if %{with_offline_updates} %pre %service_add_pre packagekit-offline-update.service +%endif %post %{fillup_only -n packagekit-background} %mime_database_post +%if %{with_offline_updates} %service_add_post packagekit-offline-update.service +%else + if [ -L system-update ]; then +rm system-update + fi + if [ -f var/lib/PackageKit/prepared-update ]; then +rm var/lib/PackageKit/prepared-update + fi +%endif +%if %{with_offline_updates} %preun %service_del_preun packagekit-offline-update.service +%endif %postun %mime_database_postun +%if %{with_offline_updates} %service_del_postun packagekit-offline-update.service +%endif %post gstreamer-plugin update-alternatives --install %{_libexecdir}/gst-install-plugins-helper gst-install-plugins-helper %{_libexecdir}/pk-gstreamer-install 10 @@ -403,9 +428,6 @@ %{_libdir}/packagekit-plugins/libpk_plugin-systemd-updates.so %{_libdir}/packagekit-plugins/libpk_plugin-update-package-cache.so %{_libexecdir}/packagekitd -%{_libexecdir}/pk-clear-offline-update -%{_libexecdir}/pk-offline-update -%{_libexecdir}/pk-trigger-offline-update %{_libexecdir}/pm-utils/sleep.d/95packagekit %if %BUILD_CNF %{_libexecdir}/pk-command-not-found @@ -421,7 +443,12 @@ %{_datadir}/dbus-1/system-services/* %doc %{_mandir}/man?/*.* %verify(not md5 size mtime) %{_localstatedir}/lib/PackageKit/transactions.db +%if %{with_offline_updates} +%{_libexecdir}/pk-clear-offline-update +%{_libexecdir}/pk-offline-update +%{_libexecdir}/pk-trigger-offline-update %{_unitdir}/packagekit-offline-update.service +%endif %files backend-zypp %defattr(-,root,root) ++ PackageKit-allow-to-disable-systemd-updates.patch ++ Index: PackageKit-0.8.7/configure.ac === ---
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2013-02-12 12:54:00 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is PackageKit, Maintainer is gnome-maintain...@suse.de Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2013-01-29 14:26:33.0 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2013-02-12 12:54:02.0 +0100 @@ -1,0 +2,6 @@ +Mon Feb 11 18:37:26 UTC 2013 - co...@suse.com + +- Add one more patch from git (bnc#735864): + + 0013-zypp-remap-PK-provides-into-rpm-provides-as-the-zif-.patch + +--- New: 0013-zypp-remap-PK-provides-into-rpm-provides-as-the-zif-.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.ZcJmtU/_old 2013-02-12 12:54:09.0 +0100 +++ /var/tmp/diff_new_pack.ZcJmtU/_new 2013-02-12 12:54:09.0 +0100 @@ -54,6 +54,8 @@ Patch12:0011-zypp-Fix-compile-with-__attribute__-gnu_printf.patch # PATCH-FIX-UPSTREAM 0012-zypp-less-debug-in-progress-functions.patch co...@suse.de -- less debug Patch13:0012-zypp-less-debug-in-progress-functions.patch +# PATCH-FIX-UPSTREAM 0013-zypp-remap-PK-provides-into-rpm-provides-as-the-zif-.patch co...@suse.de -- search in ppds +Patch14:0013-zypp-remap-PK-provides-into-rpm-provides-as-the-zif-.patch # To update this package, please git-format-patch the tag of the # tarball version (eg: PACKAGEKIT_0_6_19) vs the distro tag (eg: openSUSE_Factory) # in https://github.com/openSUSE/PackageKit and keep the patches @@ -285,6 +287,7 @@ %patch11 -p1 %patch12 -p1 %patch13 -p1 +%patch14 -p1 translation-update-upstream %build ++ 0013-zypp-remap-PK-provides-into-rpm-provides-as-the-zif-.patch ++ From cc89ed2698fd21245d955e722fdd2509f857b355 Mon Sep 17 00:00:00 2001 From: Stephan Kulow co...@suse.de Date: Mon, 11 Feb 2013 19:07:53 +0100 Subject: [PATCH] zypp: remap PK provides into rpm provides as the zif backend does --- backends/zypp/pk-backend-zypp.cpp | 97 ++- 1 file changed, 85 insertions(+), 12 deletions(-) diff --git a/backends/zypp/pk-backend-zypp.cpp b/backends/zypp/pk-backend-zypp.cpp index f492a1c..6df4067 100644 --- a/backends/zypp/pk-backend-zypp.cpp +++ b/backends/zypp/pk-backend-zypp.cpp @@ -3314,6 +3314,73 @@ pk_backend_repo_set_data (PkBackend *backend, PkBackendJob *job, const gchar *re pk_backend_job_thread_create (job, backend_repo_set_data_thread, NULL, NULL); } +/** + * pk_backend_what_provides_decompose: maps enums to provides + */ +static gchar ** +pk_backend_what_provides_decompose (PkBackendJob *job, + PkProvidesEnum provides, + gchar **values) +{ + guint i; + guint len; + gchar **search = NULL; + GPtrArray *array = NULL; + + /* iter on each provide string, and wrap it with the fedora prefix - unless different to openSUSE */ + len = g_strv_length (values); + array = g_ptr_array_new_with_free_func (g_free); + for (i=0; ilen; i++) { + MIL provides values[i] endl; + /* compatibility with previous versions of GPK */ + if (g_str_has_prefix (values[i], gstreamer0.10() || + g_str_has_prefix (values[i], gstreamer1()) { + g_ptr_array_add (array, g_strdup (values[i])); + } else if (provides == PK_PROVIDES_ENUM_CODEC) { + g_ptr_array_add (array, g_strdup_printf (gstreamer0.10(%s), values[i])); + g_ptr_array_add (array, g_strdup_printf (gstreamer1(%s), values[i])); + } else if (provides == PK_PROVIDES_ENUM_FONT) { + g_ptr_array_add (array, g_strdup_printf (font(%s), values[i])); + } else if (provides == PK_PROVIDES_ENUM_MIMETYPE) { + g_ptr_array_add (array, g_strdup_printf (mimehandler(%s), values[i])); + } else if (provides == PK_PROVIDES_ENUM_POSTSCRIPT_DRIVER) { + g_ptr_array_add (array, g_strdup_printf (postscriptdriver(%s), values[i])); + } else if (provides == PK_PROVIDES_ENUM_PLASMA_SERVICE) { + /* We need to allow the Plasma version to be specified. */ + if (g_str_has_prefix (values[i], plasma)) { + g_ptr_array_add (array, g_strdup (values[i])); + } else { + /* For compatibility, we
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2013-01-29 14:26:31 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is PackageKit, Maintainer is gnome-maintain...@suse.de Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2013-01-24 10:47:17.0 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2013-01-29 14:26:33.0 +0100 @@ -1,0 +2,7 @@ +Sun Jan 27 07:38:52 UTC 2013 - co...@suse.com + +- Add two more patches from git: + + 0011-zypp-Fix-compile-with-__attribute__-gnu_printf.patch + + 0012-zypp-less-debug-in-progress-functions.patch + +--- New: 0011-zypp-Fix-compile-with-__attribute__-gnu_printf.patch 0012-zypp-less-debug-in-progress-functions.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.agtmkd/_old 2013-01-29 14:26:34.0 +0100 +++ /var/tmp/diff_new_pack.agtmkd/_new 2013-01-29 14:26:34.0 +0100 @@ -50,6 +50,10 @@ Patch10:0009-zypp-merge-all-backend-code-into-one-file-much-easie.patch # PATCH-FIX-UPSTREAM 0010-zypp-ignore-system-resolvables-during-install-too.patch co...@suse.de -- avoid useless confirmations 2 Patch11:0010-zypp-ignore-system-resolvables-during-install-too.patch +# PATCH-FIX-UPSTREAM 0011-zypp-Fix-compile-with-__attribute__-gnu_printf.patch co...@suse.de -- minor bug fix +Patch12:0011-zypp-Fix-compile-with-__attribute__-gnu_printf.patch +# PATCH-FIX-UPSTREAM 0012-zypp-less-debug-in-progress-functions.patch co...@suse.de -- less debug +Patch13:0012-zypp-less-debug-in-progress-functions.patch # To update this package, please git-format-patch the tag of the # tarball version (eg: PACKAGEKIT_0_6_19) vs the distro tag (eg: openSUSE_Factory) # in https://github.com/openSUSE/PackageKit and keep the patches @@ -279,6 +283,8 @@ %patch9 -p1 %patch10 -p1 %patch11 -p1 +%patch12 -p1 +%patch13 -p1 translation-update-upstream %build ++ 0011-zypp-Fix-compile-with-__attribute__-gnu_printf.patch ++ From 303ad61ff5fb25d68da31457dc88c419a7e27155 Mon Sep 17 00:00:00 2001 From: Stephan Kulow co...@suse.de Date: Tue, 22 Jan 2013 13:00:25 +0100 Subject: [PATCH 06/12] zypp: Fix compile with __attribute__ gnu_printf --- backends/zypp/pk-backend-zypp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backends/zypp/pk-backend-zypp.cpp b/backends/zypp/pk-backend-zypp.cpp index 0d8f51a..0f32c18 100644 --- a/backends/zypp/pk-backend-zypp.cpp +++ b/backends/zypp/pk-backend-zypp.cpp @@ -680,7 +680,7 @@ zypp_is_valid_repo (PkBackendJob *job, RepoInfo repo) { if (repo.alias().empty()){ - pk_backend_job_error_code (job, PK_ERROR_ENUM_REPO_CONFIGURATION_ERROR, Repository has no or invalid repo name defined.\n, repo.alias ().c_str ()); + pk_backend_job_error_code (job, PK_ERROR_ENUM_REPO_CONFIGURATION_ERROR, %s: Repository has no or invalid repo name defined.\n, repo.alias ().c_str ()); return FALSE; } -- 1.8.1.1 ++ 0012-zypp-less-debug-in-progress-functions.patch ++ From 90864427d3384363d82813cf5b69a4f74f4330f4 Mon Sep 17 00:00:00 2001 From: Stephan Kulow co...@suse.de Date: Sun, 27 Jan 2013 08:34:46 +0100 Subject: [PATCH 12/12] zypp: less debug in progress functions Also remove the hacks trying to work around progress bugs - we need to fix that in rpm/zypp and don't try to hide it, creating new bugs --- backends/zypp/pk-backend-zypp.cpp | 23 +-- 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/backends/zypp/pk-backend-zypp.cpp b/backends/zypp/pk-backend-zypp.cpp index 0f32c18..f492a1c 100644 --- a/backends/zypp/pk-backend-zypp.cpp +++ b/backends/zypp/pk-backend-zypp.cpp @@ -205,8 +205,8 @@ public: // fact that libzypp may skip over a divisible by ten // value (i.e., 28, 29, 31, 32). - MIL percentage _sub_percentage std::endl; - if (percentage = _sub_percentage) + //MIL percentage _sub_percentage std::endl; + if (percentage == _sub_percentage) return; if (!_package_id) { @@ -236,8 +236,6 @@ protected: struct InstallResolvableReportReceiver : public zypp::callback::ReceiveReportzypp::target::rpm::InstallResolvableReport, ZyppBackendReceiver { zypp::Resolvable::constPtr _resolvable; - bool preparing; - int last_value; virtual void start (zypp::Resolvable::constPtr resolvable) {
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2013-01-24 10:47:16 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is PackageKit, Maintainer is gnome-maintain...@suse.de Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2013-01-22 17:40:27.0 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2013-01-24 10:47:17.0 +0100 @@ -1,0 +2,7 @@ +Mon Jan 21 17:22:28 UTC 2013 - co...@suse.com + +- two more patches from git: + 0010-zypp-ignore-system-resolvables-during-install-too.patch + 0009-zypp-merge-all-backend-code-into-one-file-much-easie.patch + +--- New: 0009-zypp-merge-all-backend-code-into-one-file-much-easie.patch 0010-zypp-ignore-system-resolvables-during-install-too.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.j3qUsw/_old 2013-01-24 10:47:18.0 +0100 +++ /var/tmp/diff_new_pack.j3qUsw/_new 2013-01-24 10:47:18.0 +0100 @@ -46,6 +46,10 @@ Patch8: 0007-fix-crash-while-calling-inhibit-into-systemd-login.patch # PATCH-FIX-UPSTREAM 0008-zypp-ignore-System-upgrades-during-update.patch co...@suse.de -- avoid useless confirmations Patch9: 0008-zypp-ignore-System-upgrades-during-update.patch +# PATCH-FIX-UPSTREAM 0009-zypp-merge-all-backend-code-into-one-file-much-easie.patch co...@suse.de -- code refactoring +Patch10:0009-zypp-merge-all-backend-code-into-one-file-much-easie.patch +# PATCH-FIX-UPSTREAM 0010-zypp-ignore-system-resolvables-during-install-too.patch co...@suse.de -- avoid useless confirmations 2 +Patch11:0010-zypp-ignore-system-resolvables-during-install-too.patch # To update this package, please git-format-patch the tag of the # tarball version (eg: PACKAGEKIT_0_6_19) vs the distro tag (eg: openSUSE_Factory) # in https://github.com/openSUSE/PackageKit and keep the patches @@ -273,6 +277,8 @@ %patch7 -p1 %patch8 -p1 %patch9 -p1 +%patch10 -p1 +%patch11 -p1 translation-update-upstream %build ++ 0009-zypp-merge-all-backend-code-into-one-file-much-easie.patch ++ 3746 lines (skipped) ++ 0010-zypp-ignore-system-resolvables-during-install-too.patch ++ From c4e3c0fe11ce787c7925d4e208a698dda4c32968 Mon Sep 17 00:00:00 2001 From: Stephan Kulow co...@suse.de Date: Mon, 21 Jan 2013 17:15:44 +0100 Subject: [PATCH 2/2] zypp: ignore system resolvables during install too There is no perfect solution for that, but if I install something, everything that is upgraded will have a replacement from the repo, so listing it, is not interesting to me. problem is that pkcon says I need to install foo-1.2 if in reality there is an update going on from foo-1.1 to foo-1.2, but as packages are identified by their name+version+repo, I have to pick one --- backends/zypp/pk-backend-zypp.cpp | 39 +++ 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/backends/zypp/pk-backend-zypp.cpp b/backends/zypp/pk-backend-zypp.cpp index c4f6e02..0d8f51a 100644 --- a/backends/zypp/pk-backend-zypp.cpp +++ b/backends/zypp/pk-backend-zypp.cpp @@ -1396,15 +1396,15 @@ zypp_perform_execution (PkBackendJob *job, ZYpp::Ptr zypp, PerformType type, gbo } switch (type) { - case INSTALL: - pk_backend_job_set_status (job, PK_STATUS_ENUM_INSTALL); - break; - case REMOVE: - pk_backend_job_set_status (job, PK_STATUS_ENUM_REMOVE); - break; - case UPDATE: - pk_backend_job_set_status (job, PK_STATUS_ENUM_UPDATE); - break; + case INSTALL: + pk_backend_job_set_status (job, PK_STATUS_ENUM_INSTALL); + break; + case REMOVE: + pk_backend_job_set_status (job, PK_STATUS_ENUM_REMOVE); + break; + case UPDATE: + pk_backend_job_set_status (job, PK_STATUS_ENUM_UPDATE); + break; } ResPool pool = ResPool::instance (); @@ -1414,14 +1414,21 @@ zypp_perform_execution (PkBackendJob *job, ZYpp::Ptr zypp, PerformType type, gbo MIL simulating endl; for (ResPool::const_iterator it = pool.begin (); it != pool.end (); ++it) { -
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2013-01-22 17:40:26 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is PackageKit, Maintainer is gnome-maintain...@suse.de Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2013-01-20 08:23:16.0 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2013-01-22 17:40:27.0 +0100 @@ -1,0 +2,13 @@ +Mon Jan 21 12:34:16 UTC 2013 - co...@suse.com + +- Add two more patches fixing things from git: + + 0007-fix-crash-while-calling-inhibit-into-systemd-login.patch + + 0008-zypp-ignore-System-upgrades-during-update.patch + +--- +Sun Jan 20 20:45:13 UTC 2013 - co...@suse.com + +- Add 0006-zypp-do-not-trigger-invalid-numbers.patch to avoid crash + during download. + +--- New: 0006-zypp-do-not-trigger-invalid-numbers.patch 0007-fix-crash-while-calling-inhibit-into-systemd-login.patch 0008-zypp-ignore-System-upgrades-during-update.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.RLQWS0/_old 2013-01-22 17:40:28.0 +0100 +++ /var/tmp/diff_new_pack.RLQWS0/_new 2013-01-22 17:40:28.0 +0100 @@ -40,6 +40,12 @@ Patch5: 0004-zypp-use-the-right-functions-to-get-solvables.patch # PATCH-FIX-UPSTREAM 0005-zypp-use-the-right-functions-to-get-solvables.patch co...@suse.de -- fix removing Patch6: 0005-zypp-fix-removing-packages.patch +# PATCH-FIX-UPSTREAM 0006-zypp-do-not-trigger-invalid-numbers.patch co...@suse.de -- fix crash +Patch7: 0006-zypp-do-not-trigger-invalid-numbers.patch +# PATCH-FIX-UPSTREAM 0007-fix-crash-while-calling-inhibit-into-systemd-login.patch co...@suse.de -- fix another crash +Patch8: 0007-fix-crash-while-calling-inhibit-into-systemd-login.patch +# PATCH-FIX-UPSTREAM 0008-zypp-ignore-System-upgrades-during-update.patch co...@suse.de -- avoid useless confirmations +Patch9: 0008-zypp-ignore-System-upgrades-during-update.patch # To update this package, please git-format-patch the tag of the # tarball version (eg: PACKAGEKIT_0_6_19) vs the distro tag (eg: openSUSE_Factory) # in https://github.com/openSUSE/PackageKit and keep the patches @@ -264,6 +270,9 @@ %patch4 -p1 %patch5 -p1 %patch6 -p1 +%patch7 -p1 +%patch8 -p1 +%patch9 -p1 translation-update-upstream %build ++ 0006-zypp-do-not-trigger-invalid-numbers.patch ++ From 75b28d5c9b98946d275368708388ce6c13e05471 Mon Sep 17 00:00:00 2001 From: Stephan Kulow co...@suse.de Date: Sun, 20 Jan 2013 15:32:55 +0100 Subject: [PATCH 8/8] zypp: do not trigger invalid numbers (and revert accident commit outside of zypp backend) --- backends/zypp/zypp-events.h | 1 + src/pk-backend-job.c| 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/backends/zypp/zypp-events.h b/backends/zypp/zypp-events.h index 69777ec..623ec77 100644 --- a/backends/zypp/zypp-events.h +++ b/backends/zypp/zypp-events.h @@ -95,6 +95,7 @@ public: if (percentage 100) { MIL libzypp is silly std::endl; + return; } _sub_percentage = percentage; diff --git a/src/pk-backend-job.c b/src/pk-backend-job.c index d1d7035..45e992a 100644 --- a/src/pk-backend-job.c +++ b/src/pk-backend-job.c @@ -987,7 +987,7 @@ pk_backend_job_set_item_progress (PkBackendJob *job, /* invalid number? */ if (percentage 100 percentage != PK_BACKEND_PERCENTAGE_INVALID) { - g_error (invalid number %i, percentage); + g_debug (invalid number %i, percentage); return; } -- 1.8.1.1 ++ 0007-fix-crash-while-calling-inhibit-into-systemd-login.patch ++ From 8929180f3564a23fe6abc93662e7244db2e03d13 Mon Sep 17 00:00:00 2001 From: Stephan Kulow co...@suse.de Date: Mon, 21 Jan 2013 12:03:52 +0100 Subject: [PATCH 1/2] fix crash while calling inhibit into systemd-login --- src/pk-engine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pk-engine.c b/src/pk-engine.c index facc5f9..df45c63 100644 --- a/src/pk-engine.c +++ b/src/pk-engine.c @@ -265,7 +265,7 @@ pk_engine_inhibit (PkEngine *engine) /* block shutdown and idle */ res = g_dbus_proxy_call_sync (engine-priv-logind_proxy, Inhibit, - g_variant_new (, + g_variant_new ((),
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2013-01-20 08:23:14 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is PackageKit, Maintainer is gnome-maintain...@suse.de Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2012-11-19 07:07:09.0 +0100 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2013-01-20 08:23:16.0 +0100 @@ -1,0 +2,128 @@ +Sat Jan 19 15:32:49 UTC 2013 - co...@suse.com + +- Add 0005-zypp-fix-removing-packages.patch: fix removing packages + and hopefully also some crashes (bnc#769764). + +--- +Sat Jan 19 09:29:27 UTC 2013 - co...@suse.com + +- Add 0004-zypp-use-the-right-functions-to-get-solvables.patch: + make sure we're not hitting random packages. This also makes it + able to install patters with pkconf. + +--- +Fri Jan 18 13:18:30 UTC 2013 - dims...@opensuse.org + +- Make the new libpackagekit-glib package conflict with older + versions of PackageKit: together with the Recommends, we bring + the latest version in but don't forcibly require it. + +--- +Thu Jan 17 16:10:55 UTC 2013 - co...@suse.com + +- Added 0003-zypp-fix-download-progress.patch: fix download + progress (in apper). + +--- +Thu Jan 17 10:01:11 UTC 2013 - tittiatc...@gmail.com + +- Added patch (fix-policies-opensuse.patch) to be within the + openSUSE guidelines for PolicyKit files. +- Removed PackageKit-rpmlintrc due to above mentioned patch + +--- +Wed Jan 16 19:38:47 UTC 2013 - tittiatc...@gmail.com + +- Update to version 0.8.7: + + ZYpp Backend: +- Adjust PK_FILTER_ENUM_NOT_DEVELOPMENT (bnc#770028) +- Construct PoolItem from sat::Solvable rather than doing + a search +- Don't retrieve raw package attributes but use zypp::ResObject + (bnc#764677) +- Don't waste time comparing zypp::Arch string representations +- Fix missing dtor +- No longer use the old and deprecated ZYppCommitResult members + (bnc#769764) +- No need to retrieve installed packages attributes from rpm + database +- Set CXXFLAGS and use --std=c++0x as libzypp does (bnc#769764) +- Use pre-increment in for-loops to avoid temporaries +- always solve dependencies with 'IgnoreAlreadyRecommended ON' + (bnc#747751) +- check for best architecture and version when looking for the + 'newest' package +- finish port of backend to 0.8 API +- match the patch name to prevent an internal error +- return package list ordered witht respect to solver policies +- TODO is old and outdated, removed + + GLib library: +- Add a PkItemProgress helper object to remove the workaround + in PkProgress +- Make the 'update-vendor-urls' property have a proper char** + type +- Make the updates and obsoletes items in + Transaction::UpdateDetail actual arrays +- Make the URL items in Transaction::UpdateDetail actual arrays +- Don't update the transaction role to 'unknown' +- Remove support for UpdateSystem() +- Save the transaction flags when removing packages +- Ensure remote error is stripped before showing it to the user +- Add pk_package_sack_to_file() to save the sack to disk +- Check for failure to copy files when making a service pack +- Remove some unused code spotted by coverity + + New Features: +- Add an optional binary to update the system when offline +- Add an optional pkexec binary to create the system-update + symlink +- Add a --only-download option to pkcon for testing +- Added Transaction property DownloadSizeRemaining, so backends + can tell how much download is left to do +- Add logind support which is enabled by default +- Add pkexec executable pk-clear-offline-update to be able to + clear the offline-update message + + Bugfixes: +- Drop the unused polkit-backend-1 check from configure as + it's gone upstream +- Fix a crash where NetworkManager is restarted whilst + packagekitd is running +- Pause the plymouth progress when applying offline updates +- Do not run the plugins when using only-download +- systemd-updates: Add environment PK_OFFLINE_UPDATE_TEST=1 for + testing funcitonality +- systemd-updates: If the upgrade tool exits with an error + reboot the system +- systemd-updates: Remove the prepared-updates file if + GetUpdates() returns no
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2012-11-19 07:07:07 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is PackageKit, Maintainer is gnome-maintain...@suse.de Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2012-10-04 18:41:22.0 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2012-11-19 07:07:09.0 +0100 @@ -1,0 +2,6 @@ +Fri Nov 16 23:33:08 UTC 2012 - dims...@opensuse.org + +- Add PackageKit-no-polkit-backend-1.patch: Do not look for no + longer existing polkit-backend-1. Fixes build with polkit = 106. + +--- New: PackageKit-no-polkit-backend-1.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.31f5m0/_old 2012-11-19 07:07:10.0 +0100 +++ /var/tmp/diff_new_pack.31f5m0/_new 2012-11-19 07:07:10.0 +0100 @@ -76,6 +76,8 @@ Patch11:PackageKit-bnc780058-zypp-backend-match-patches.patch # PATCH-FIX-UPSTREAM PackageKit-gstreamer-1.0.patch dims...@opensuse.org -- Support GStreamer 1.0, taken from upstream git. Patch12:PackageKit-gstreamer-1.0.patch +# PATCH-FIX-UPSTREAM PackageKit-no-polkit-backend-1.patch dims...@opensuse.org -- Drop unused polkit-backend-1 dependency. +Patch13:PackageKit-no-polkit-backend-1.patch BuildRequires: NetworkManager-devel BuildRequires: automake BuildRequires: docbook-utils @@ -335,9 +337,10 @@ %patch10 -p1 %patch11 -p1 %patch12 -p1 +%patch13 -p1 %build -# Needed due to patch 3 +# Needed due to patch3 and patch13 autoreconf -fi %configure \ --disable-static \ ++ PackageKit-no-polkit-backend-1.patch ++ From 1ae66042cb0ded1455617aba4b82fe8053794ca1 Mon Sep 17 00:00:00 2001 From: Richard Hughes rich...@hughsie.com Date: Fri, 8 Jun 2012 12:22:17 +0100 Subject: [PATCH] Drop the unused polkit-backend-1 check from configure as it's gone upstream --- configure.ac | 1 - 1 file changed, 1 deletion(-) diff --git a/configure.ac b/configure.ac index 93af2d7..734681d 100644 --- a/configure.ac +++ b/configure.ac @@ -584,7 +584,6 @@ AC_SUBST(security_framework, $with_security_framework) if test x$with_security_framework = xpolkit; then PKG_CHECK_MODULES(POLKIT, \ - polkit-backend-1 \ polkit-gobject-1 = $POLKIT_GOBJECT_REQUIRED) AC_DEFINE(USE_SECURITY_POLKIT, 1, [if we should use PolicyKit]) elif test x$with_security_framework = xdummy; then -- 1.8.0 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2012-10-04 18:41:20 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is PackageKit, Maintainer is gnome-maintain...@suse.de Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2012-09-11 17:17:09.0 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2012-10-04 18:41:22.0 +0200 @@ -1,0 +2,25 @@ +Mon Sep 24 21:29:57 UTC 2012 - dims...@opensuse.org + +- Add PackageKit-gstreamer-1.0.patch: Add GStreamer 1.0 support to + the PackageKit plugin. + +--- +Mon Sep 24 02:47:55 UTC 2012 - g...@suse.com + +- Add PackageKit-bnc780058-zypp-backend-match-patches.patch to + prevent the internal error (bnc#780058) + +--- +Tue Sep 11 20:43:33 UTC 2012 - vu...@opensuse.org + +- Change license tags to be per package: + + GPL-2.0+: PackageKit, backend-zypp, +typelib-1_0-PackageKitPlugin-1_0, browser-plugin, +gstreamer-plugin, gtk3-module, devel, branding-upstream. + + LGPL-2.1+: libpackagekit-glib2-14, +typelib-1_0-PackageKitGlib-1_0, libpackagekit-glib2-devel, +libpackagekit-qt2-2, libpackagekit-qt2-devel. +- This is clearer than using GPL-2.0+ and LGPL-2.1+ for + everything. + +--- New: PackageKit-bnc780058-zypp-backend-match-patches.patch PackageKit-gstreamer-1.0.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.mSkGmp/_old 2012-10-04 18:41:23.0 +0200 +++ /var/tmp/diff_new_pack.mSkGmp/_new 2012-10-04 18:41:23.0 +0200 @@ -37,7 +37,7 @@ Version:0.7.4 Release:0 Summary:Simple software installation management software -License:GPL-2.0+ and LGPL-2.1+ +License:GPL-2.0+ Group: System/Daemons Url:http://packagekit.org/ Source: http://www.packagekit.org/releases/%{name}-%{version}.tar.xz @@ -72,6 +72,10 @@ Patch9: PackageKit-zypp-packagesize.patch # PATCH-FIX-UPSTREAM PackageKit-bnc775651-ignore-accept-eula.patch bnc#775651 fdo#53532 g...@suse.com -- ignore accept-eula transactions to avoid crash Patch10:PackageKit-bnc775651-ignore-accept-eula.patch +# PATCH-FIX-UPSTREAM PackageKit-bnc780058-zypp-backend-match-patches.patch bnc#780058 fdo#55267 g...@suse.com -- zypp: match the patch names to prevent the internal error +Patch11:PackageKit-bnc780058-zypp-backend-match-patches.patch +# PATCH-FIX-UPSTREAM PackageKit-gstreamer-1.0.patch dims...@opensuse.org -- Support GStreamer 1.0, taken from upstream git. +Patch12:PackageKit-gstreamer-1.0.patch BuildRequires: NetworkManager-devel BuildRequires: automake BuildRequires: docbook-utils @@ -129,6 +133,7 @@ %package backend-zypp Summary:Simple software installation management software -- Zypp Backend +License:GPL-2.0+ Group: System/Daemons Requires: %{name} = %{version} Provides: %{name}-backend = %{version} @@ -142,6 +147,7 @@ %package -n typelib-1_0-PackageKitPlugin-1_0 Summary:Simple software installation management software -- Plugin library, Introspection bindings +License:GPL-2.0+ Group: System/Libraries %description -n typelib-1_0-PackageKitPlugin-1_0 @@ -156,6 +162,7 @@ %package browser-plugin Summary:Simple software installation management software +License:GPL-2.0+ Group: Productivity/Networking/Web/Browsers Recommends: %{name} = %{version} Supplements:packageand(%{name}:MozillaFirefox) @@ -170,6 +177,7 @@ %package gstreamer-plugin Summary:Simple software installation management software +License:GPL-2.0+ Group: Productivity/Multimedia/Other Requires(post): update-alternatives Requires(postun): update-alternatives @@ -189,6 +197,7 @@ %package gtk3-module Summary:Simple software installation management software +License:GPL-2.0+ Group: System/Libraries Recommends: %{name} = %{version} Supplements:packageand(%{name}:gtk3) @@ -203,6 +212,7 @@ %package devel Summary:Needed include files and libraries for development +License:GPL-2.0+ Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Requires: libpackagekit-glib2-devel @@ -215,6 +225,7 @@ %package -n libpackagekit-glib2-14 Summary:Simple software installation management software +License:
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2012-09-11 17:17:06 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is PackageKit, Maintainer is gnome-maintain...@suse.de Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2012-08-26 11:33:12.0 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2012-09-11 17:17:09.0 +0200 @@ -1,0 +2,6 @@ +Wed Sep 5 11:55:52 UTC 2012 - cfarr...@suse.com + +- license update: GPL-2.0+ and LGPL-2.1+ + Library portions are LGPL-2.1+ licensed + +--- Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.H2qO5q/_old 2012-09-11 17:17:11.0 +0200 +++ /var/tmp/diff_new_pack.H2qO5q/_new 2012-09-11 17:17:11.0 +0200 @@ -37,7 +37,7 @@ Version:0.7.4 Release:0 Summary:Simple software installation management software -License:GPL-2.0+ +License:GPL-2.0+ and LGPL-2.1+ Group: System/Daemons Url:http://packagekit.org/ Source: http://www.packagekit.org/releases/%{name}-%{version}.tar.xz @@ -65,7 +65,7 @@ Patch6: 0007-zypp-fix-missing-dtor.patch # PATCH-FIX-UPSTREAM 0008-zypp-no-longer-use-the-old-and-deprecated-ZYppCommit.patch bnc#769764 dims...@opensuse.org -- no longer use the old and deprecated ZYppCommitResult members Patch7: 0008-zypp-no-longer-use-the-old-and-deprecated-ZYppCommit.patch -# PATCH-FIX-UpSTREAM 0009-zypp-adjust-PK_FILTER_ENUM_NOT_DEVELOPMENT-bnc-77002.patch bnc#770028 dims...@opensuse.org -- adjust PK_FILTER_ENUM_NOT_DEVELOPMENT +# PATCH-FIX-UPSTREAM 0009-zypp-adjust-PK_FILTER_ENUM_NOT_DEVELOPMENT-bnc-77002.patch bnc#770028 dims...@opensuse.org -- adjust PK_FILTER_ENUM_NOT_DEVELOPMENT Patch8: 0009-zypp-adjust-PK_FILTER_ENUM_NOT_DEVELOPMENT-bnc-77002.patch # # PATCH-FIX-UPSTREAM PackageKit-zypp-packagesize.patch bnc#764677 dims...@opensuse.org -- libzypp changed API and now returns Bytes instead of KBytes. -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit PackageKit for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2012-08-26 11:33:10 Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) Package is PackageKit, Maintainer is gnome-maintain...@suse.de Changes: --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes2012-08-04 09:25:47.0 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2012-08-26 11:33:12.0 +0200 @@ -1,0 +2,6 @@ +Wed Aug 22 10:22:02 UTC 2012 - g...@suse.com + +- Add PackageKit-bnc775651-ignore-accept-eula.patch to fix crash + after accepting EULA (bnc#775651) + +--- New: PackageKit-bnc775651-ignore-accept-eula.patch Other differences: -- ++ PackageKit.spec ++ --- /var/tmp/diff_new_pack.5fZynD/_old 2012-08-26 11:33:14.0 +0200 +++ /var/tmp/diff_new_pack.5fZynD/_new 2012-08-26 11:33:14.0 +0200 @@ -70,6 +70,8 @@ # # PATCH-FIX-UPSTREAM PackageKit-zypp-packagesize.patch bnc#764677 dims...@opensuse.org -- libzypp changed API and now returns Bytes instead of KBytes. Patch9: PackageKit-zypp-packagesize.patch +# PATCH-FIX-UPSTREAM PackageKit-bnc775651-ignore-accept-eula.patch bnc#775651 fdo#53532 g...@suse.com -- ignore accept-eula transactions to avoid crash +Patch10:PackageKit-bnc775651-ignore-accept-eula.patch BuildRequires: NetworkManager-devel BuildRequires: automake BuildRequires: docbook-utils @@ -314,6 +316,7 @@ %patch7 -p1 %patch8 -p1 %patch9 -p1 +%patch10 -p1 %build # Needed due to patch 3 ++ PackageKit-bnc775651-ignore-accept-eula.patch ++ From 9f1800ad48bff17fbebcc85760c327d78ecc9ee4 Mon Sep 17 00:00:00 2001 From: Gary Ching-Pang Lin chingp...@gmail.com Date: Wed, 15 Aug 2012 16:33:19 +0800 Subject: [PATCH] Ignore accept-eula in pk-transaction-run The accept-eula transaction could be proceeded by pk-transaction-run accidentally. This commit ignores that kind of transaction to avoid the potential crash. https://bugs.freedesktop.org/show_bug.cgi?id=53532 --- src/pk-transaction.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/pk-transaction.c b/src/pk-transaction.c index dd009e8..347d72e 100644 --- a/src/pk-transaction.c +++ b/src/pk-transaction.c @@ -2246,6 +2246,10 @@ pk_transaction_run (PkTransaction *transaction) g_return_val_if_fail (PK_IS_TRANSACTION (transaction), FALSE); g_return_val_if_fail (priv-tid != NULL, FALSE); + /* Ignore accept-eula */ + if (priv-role == PK_ROLE_ENUM_ACCEPT_EULA) + return TRUE; + /* prepare for use; the transaction list ensures this is safe */ pk_backend_reset (priv-backend); -- 1.7.7 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org