diff options
author | Maciej Mrozowski <reavertm@gentoo.org> | 2011-08-22 23:46:39 +0000 |
---|---|---|
committer | Maciej Mrozowski <reavertm@gentoo.org> | 2011-08-22 23:46:39 +0000 |
commit | c3e154adf6ae6e85cc301da8e705582793412c06 (patch) | |
tree | 2144865881a8a12a26982640243c398eaabba4e9 /app-admin/system-config-printer-common | |
parent | Marking hardened/*/selinux profiles stable (diff) | |
download | gentoo-2-c3e154adf6ae6e85cc301da8e705582793412c06.tar.gz gentoo-2-c3e154adf6ae6e85cc301da8e705582793412c06.tar.bz2 gentoo-2-c3e154adf6ae6e85cc301da8e705582793412c06.zip |
Version bump, remove old
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
Diffstat (limited to 'app-admin/system-config-printer-common')
-rw-r--r-- | app-admin/system-config-printer-common/ChangeLog | 11 | ||||
-rw-r--r-- | app-admin/system-config-printer-common/files/0002-Make-PackageKit-optional-in-cupshelpers-bug-726996-U.patch | 39 | ||||
-rw-r--r-- | app-admin/system-config-printer-common/files/0004-Removed-PackageKit-client-code-in-missingPackagesAnd.patch | 58 | ||||
-rw-r--r-- | app-admin/system-config-printer-common/system-config-printer-common-1.3.6.ebuild (renamed from app-admin/system-config-printer-common/system-config-printer-common-1.3.5.ebuild) | 6 |
4 files changed, 11 insertions, 103 deletions
diff --git a/app-admin/system-config-printer-common/ChangeLog b/app-admin/system-config-printer-common/ChangeLog index 4f34a33df69e..a63305f14bff 100644 --- a/app-admin/system-config-printer-common/ChangeLog +++ b/app-admin/system-config-printer-common/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for app-admin/system-config-printer-common # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/ChangeLog,v 1.42 2011/08/10 21:07:16 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/ChangeLog,v 1.43 2011/08/22 23:46:39 reavertm Exp $ + +*system-config-printer-common-1.3.6 (22 Aug 2011) + + 22 Aug 2011; Maciej Mrozowski <reavertm@gentoo.org> + -system-config-printer-common-1.3.5.ebuild, + +system-config-printer-common-1.3.6.ebuild, + -files/0002-Make-PackageKit-optional-in-cupshelpers-bug-726996-U.patch, + -files/0004-Removed-PackageKit-client-code-in-missingPackagesAnd.patch: + Version bump, remove old 10 Aug 2011; Markus Meier <maekke@gentoo.org> system-config-printer-common-1.3.3.ebuild: diff --git a/app-admin/system-config-printer-common/files/0002-Make-PackageKit-optional-in-cupshelpers-bug-726996-U.patch b/app-admin/system-config-printer-common/files/0002-Make-PackageKit-optional-in-cupshelpers-bug-726996-U.patch deleted file mode 100644 index 513032dfe02c..000000000000 --- a/app-admin/system-config-printer-common/files/0002-Make-PackageKit-optional-in-cupshelpers-bug-726996-U.patch +++ /dev/null @@ -1,39 +0,0 @@ -From ddf4a4dcec27393e3c0c9efb032032cdb6b69d10 Mon Sep 17 00:00:00 2001 -From: Tim Waugh <twaugh@redhat.com> -Date: Mon, 1 Aug 2011 10:42:57 +0100 -Subject: [PATCH 2/4] Make PackageKit optional in cupshelpers (bug #726996, Ubuntu #819000). - ---- - cupshelpers/cupshelpers.py | 8 ++++++-- - 1 files changed, 6 insertions(+), 2 deletions(-) - -diff --git a/cupshelpers/cupshelpers.py b/cupshelpers/cupshelpers.py -index 251e0ee..3b95e2f 100755 ---- a/cupshelpers/cupshelpers.py -+++ b/cupshelpers/cupshelpers.py -@@ -21,8 +21,12 @@ - - import cups, pprint, os, tempfile, re, string - import locale --import packagekit.client, packagekit.enums - from . import _debugprint -+try: -+ import packagekit.client, packagekit.enums -+ HAVE_PACKAGEKIT=True -+except ImportError: -+ HAVE_PACKAGEKIT=False - - class Printer: - _flags_blacklist = ["options", "local"] -@@ -830,7 +834,7 @@ def missingPackagesAndExecutables(ppd): - """ - executables = missingExecutables(ppd) - packages = [] -- if executables: -+ if executables and HAVE_PACKAGEKIT: - unresolved_executables = [] - client = packagekit.client.PackageKitClient () - for executable in executables: --- -1.7.3.4 - diff --git a/app-admin/system-config-printer-common/files/0004-Removed-PackageKit-client-code-in-missingPackagesAnd.patch b/app-admin/system-config-printer-common/files/0004-Removed-PackageKit-client-code-in-missingPackagesAnd.patch deleted file mode 100644 index 3ba4b1e50685..000000000000 --- a/app-admin/system-config-printer-common/files/0004-Removed-PackageKit-client-code-in-missingPackagesAnd.patch +++ /dev/null @@ -1,58 +0,0 @@ -From b1420ee264d6c462454919492f53a506d7bce0e1 Mon Sep 17 00:00:00 2001 -From: Tim Waugh <twaugh@redhat.com> -Date: Tue, 2 Aug 2011 15:43:11 +0100 -Subject: [PATCH 4/4] Removed PackageKit client code in missingPackagesAndExecutables (bug #726938). - -The PackageKit Python client module is hard-coded to set a default -GLib main loop on import, which means it cannot be imported by a -module that might be used by an application using a different main -loop implementation, such as KDE's printer-applet. ---- - cupshelpers/cupshelpers.py | 24 +----------------------- - 1 files changed, 1 insertions(+), 23 deletions(-) - -diff --git a/cupshelpers/cupshelpers.py b/cupshelpers/cupshelpers.py -index 3b95e2f..bf6eda2 100755 ---- a/cupshelpers/cupshelpers.py -+++ b/cupshelpers/cupshelpers.py -@@ -22,11 +22,6 @@ - import cups, pprint, os, tempfile, re, string - import locale - from . import _debugprint --try: -- import packagekit.client, packagekit.enums -- HAVE_PACKAGEKIT=True --except ImportError: -- HAVE_PACKAGEKIT=False - - class Printer: - _flags_blacklist = ["options", "local"] -@@ -833,24 +828,7 @@ def missingPackagesAndExecutables(ppd): - missing executables - """ - executables = missingExecutables(ppd) -- packages = [] -- if executables and HAVE_PACKAGEKIT: -- unresolved_executables = [] -- client = packagekit.client.PackageKitClient () -- for executable in executables: -- if not executable.startswith ("/"): -- executable = "/usr/bin/" + executable -- -- result = client.search_file ([executable], -- packagekit.enums.FILTER_NOT_INSTALLED) -- if result: -- packages.extend (set (map (lambda x: x.name, result))) -- else: -- unresolved_executables.append (executable) -- -- executables = unresolved_executables -- -- return (packages, executables) -+ return ([], executables) - - def _main(): - c = cups.Connection() --- -1.7.3.4 - diff --git a/app-admin/system-config-printer-common/system-config-printer-common-1.3.5.ebuild b/app-admin/system-config-printer-common/system-config-printer-common-1.3.6.ebuild index e209ad2e03a1..a1c1e64df029 100644 --- a/app-admin/system-config-printer-common/system-config-printer-common-1.3.5.ebuild +++ b/app-admin/system-config-printer-common/system-config-printer-common-1.3.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/system-config-printer-common-1.3.5.ebuild,v 1.1 2011/08/09 23:55:19 reavertm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/system-config-printer-common-1.3.6.ebuild,v 1.1 2011/08/22 23:46:39 reavertm Exp $ EAPI="3" @@ -51,10 +51,6 @@ pkg_setup() { src_prepare() { epatch "${FILESDIR}/${PN}-1.3.5-split.patch" - # Picked up from master just after tagging, remove for next release - epatch "${FILESDIR}/0002-Make-PackageKit-optional-in-cupshelpers-bug-726996-U.patch" - epatch "${FILESDIR}/0004-Removed-PackageKit-client-code-in-missingPackagesAnd.patch" - eautoreconf } |