[gentoo-commits] repo/gentoo:master commit in: app-admin/system-config-printer/

2020-04-17 Thread Andreas Sturmlechner
commit: 1de0fd44d0c8b1dd099cd3309b11e900faff51e4
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Fri Apr 17 18:50:15 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Fri Apr 17 18:54:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1de0fd44

app-admin/system-config-printer: python3_8 support, drop USE doc

doc was depending on last-rited dev-python/epydoc

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../system-config-printer/system-config-printer-1.5.12-r1.ebuild   | 7 ++-
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git 
a/app-admin/system-config-printer/system-config-printer-1.5.12-r1.ebuild 
b/app-admin/system-config-printer/system-config-printer-1.5.12-r1.ebuild
index 6f0b21fb6e2..9a157f3b5f0 100644
--- a/app-admin/system-config-printer/system-config-printer-1.5.12-r1.ebuild
+++ b/app-admin/system-config-printer/system-config-printer-1.5.12-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7,8} )
 PYTHON_REQ_USE="xml"
 inherit gnome2 python-single-r1 systemd
 
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/OpenPrinting/${PN}/releases/download/${PV}/${P}.tar.
 LICENSE="GPL-2+"
 KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ppc ppc64 ~sparc x86"
 SLOT="0"
-IUSE="doc gnome-keyring policykit"
+IUSE="gnome-keyring policykit"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 # Needs cups running, bug 284005
@@ -41,7 +41,6 @@ DEPEND="${COMMON_DEPEND}
dev-util/intltool
sys-devel/gettext
virtual/pkgconfig
-   doc? ( dev-python/epydoc )
 "
 RDEPEND="${COMMON_DEPEND}
$(python_gen_cond_dep '
@@ -75,11 +74,9 @@ src_configure() {
 
 src_compile() {
gnome2_src_compile
-   use doc && emake html
 }
 
 src_install() {
-   use doc && local HTML_DOCS=( html/. )
gnome2_src_install
python_fix_shebang "${ED}"
python_optimize



[gentoo-commits] repo/gentoo:master commit in: app-admin/system-config-printer/

2020-03-01 Thread Andreas Sturmlechner
commit: 1cde730076cd1cccbaf7e7a13ea2888dc2f8327f
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Mar  1 21:14:47 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Mar  1 22:02:09 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cde7300

app-admin/system-config-printer: Drop 1.5.11-r2

Package-Manager: Portage-2.3.90, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 app-admin/system-config-printer/Manifest   |  2 -
 .../system-config-printer-1.5.11-r2.ebuild | 93 --
 2 files changed, 95 deletions(-)

diff --git a/app-admin/system-config-printer/Manifest 
b/app-admin/system-config-printer/Manifest
index ce50c18c747..01c0dc3964b 100644
--- a/app-admin/system-config-printer/Manifest
+++ b/app-admin/system-config-printer/Manifest
@@ -1,3 +1 @@
-DIST system-config-printer-1.5.11-patchset-01.tar.xz 6948 BLAKE2B 
effe29c51cbe74fc72566df65f10ab845c9dc1f40ca2966c40be87e19f98046f34311c24b7bc77f471b840e35b0c8eb7754a7c5464d50335c8ab2e2ed0e79afd
 SHA512 
2501bda0e75ea51cc8e14df6b3746a0ea51618919ef35ace849efeded0cddc49e6e3793142d1cd128ce3ce62c21661d5fdb85b19718df07b87a20f5fc641885b
-DIST system-config-printer-1.5.11.tar.xz 949816 BLAKE2B 
96b41d64e0aa3494b7fc7ed15ac926d833a046ba2880b36b6f5dd4e7508e2bc1fac4cb52c9940c13cec6e34cb8972fbc11fcd5a7df510296444ca08a23f4cb2b
 SHA512 
cc0a6faec0022092e64de3d7ab28669039c93853c6931d26c264f0035486e09ad0af784833e88ee8e3dc1b6f5be9dcf84144a2a6464dfa9711172966fa6a22b4
 DIST system-config-printer-1.5.12.tar.xz 955756 BLAKE2B 
766cc7307382a7b0ab65387650f1568fd5108dae2693dfc93684c6593e28837d513e4c823bf4e07c3ba2123eea8aba0649135020318f06f38633b9837683d7f7
 SHA512 
c8b0702dcdf99c4e8a19274dd4a3f82d9263bd5f51d0c19edf7d71fb13095f57a35e643ddbe161ffb5805e72bf7da0cb6a3de44a554854390ac05d8e56644c32

diff --git 
a/app-admin/system-config-printer/system-config-printer-1.5.11-r2.ebuild 
b/app-admin/system-config-printer/system-config-printer-1.5.11-r2.ebuild
deleted file mode 100644
index d2f73378485..000
--- a/app-admin/system-config-printer/system-config-printer-1.5.11-r2.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_{6,7} )
-PYTHON_REQ_USE="xml"
-inherit gnome2 python-single-r1 systemd
-
-DESCRIPTION="Graphical user interface for CUPS administration"
-HOMEPAGE="https://github.com/zdohnal/system-config-printer;
-SRC_URI="https://github.com/zdohnal/${PN}/releases/download/${PV}/${P}.tar.xz
-   https://dev.gentoo.org/~asturm/distfiles/${P}-patchset-01.tar.xz;
-
-LICENSE="GPL-2+"
-KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ppc ppc64 ~sh ~sparc x86"
-SLOT="0"
-
-IUSE="doc gnome-keyring policykit"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# Needs cups running, bug 284005
-RESTRICT="test"
-
-# Additional unhandled dependencies
-# gnome-extra/gnome-packagekit[${PYTHON_USEDEP}] with pygobject:2 ?
-# python samba client: smbc
-# selinux: needed for troubleshooting
-COMMON_DEPEND="${PYTHON_DEPS}
-   dev-libs/glib:2
-   net-print/cups[dbus]
-   virtual/libusb:1
-   >=virtual/udev-172
-   x11-libs/gtk+:3[introspection]
-   x11-libs/libnotify[introspection]
-   x11-libs/pango[introspection]
-"
-DEPEND="${COMMON_DEPEND}
-   app-text/docbook-xml-dtd:4.1.2
-   >=app-text/xmlto-0.0.22
-   dev-util/desktop-file-utils
-   dev-util/intltool
-   sys-devel/gettext
-   virtual/pkgconfig
-   doc? ( dev-python/epydoc )
-"
-RDEPEND="${COMMON_DEPEND}
-   $(python_gen_cond_dep '
-   dev-python/dbus-python[${PYTHON_MULTI_USEDEP}]
-   dev-python/pycairo[${PYTHON_MULTI_USEDEP}]
-   dev-python/pycups[${PYTHON_MULTI_USEDEP}]
-   dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]
-   dev-python/requests[${PYTHON_MULTI_USEDEP}]
-   dev-python/urllib3[${PYTHON_MULTI_USEDEP}]
-   ')
-   gnome-keyring? ( app-crypt/libsecret[introspection] )
-   policykit? ( net-print/cups-pk-helper )
-"
-
-PATCHES=(
-   "${WORKDIR}"/${P}-auth-dialog.patch
-   "${WORKDIR}"/${P}-libsecret-optional-{1,2}.patch
-   "${WORKDIR}"/${P}-scp-dbus-service-{1,2}.patch
-   "${WORKDIR}"/${P}-typo.patch
-   "${WORKDIR}"/${P}-appdata.patch
-   "${WORKDIR}"/${P}-empty-LC_MESSAGES.patch
-   "${WORKDIR}"/${P}-fdopen-utf8.patch
-   "${WORKDIR}"/${P}-typeerror.patch
-   "${WORKDIR}"/${P}-debugprint-typo.patch
-)
-
-pkg_setup() {
-   python-single-r1_pkg_setup
-}
-
-src_configure() {
-   gnome2_src_configure \
-   --enable-nls \
-   --with-desktop-vendor=Gentoo \
-   --with-udev-rules \
-   --with-systemdsystemunitdir=$(systemd_get_systemunitdir)
-}
-
-src_compile() {
-   gnome2_src_compile
-   use doc && emake html
-}
-
-src_install() {
-   use doc && local HTML_DOCS=( 

[gentoo-commits] repo/gentoo:master commit in: app-admin/system-config-printer/

2019-12-28 Thread Johannes Huber
commit: 7a7ad44e5813c26a496de88d285146d7329d2e44
Author: Johannes Huber  gentoo  org>
AuthorDate: Sat Dec 28 12:52:13 2019 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Sat Dec 28 12:53:16 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a7ad44e

app-admin/system-config-printer: fix missing dep

dev-perl/XML-Parser is required on build time.

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Johannes Huber  gentoo.org>

 app-admin/system-config-printer/system-config-printer-1.5.12.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/app-admin/system-config-printer/system-config-printer-1.5.12.ebuild 
b/app-admin/system-config-printer/system-config-printer-1.5.12.ebuild
index b8db515b232..17ecd85d10b 100644
--- a/app-admin/system-config-printer/system-config-printer-1.5.12.ebuild
+++ b/app-admin/system-config-printer/system-config-printer-1.5.12.ebuild
@@ -36,6 +36,7 @@ COMMON_DEPEND="${PYTHON_DEPS}
 DEPEND="${COMMON_DEPEND}
app-text/docbook-xml-dtd:4.1.2
>=app-text/xmlto-0.0.22
+   dev-perl/XML-Parser
dev-util/desktop-file-utils
dev-util/intltool
sys-devel/gettext



[gentoo-commits] repo/gentoo:master commit in: app-admin/system-config-printer/

2019-12-27 Thread Aaron Bauman
commit: 69a104e652b2dd5d3bc7baaca8bb6d5e5e4814a1
Author: Aaron Bauman  gentoo  org>
AuthorDate: Fri Dec 27 17:02:55 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Fri Dec 27 17:02:55 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69a104e6

app-admin/system-config-printer: arm64 stable (bug #703580)

Signed-off-by: Aaron Bauman  gentoo.org>
Package-Manager: Portage-2.3.84, Repoman-2.3.20

 app-admin/system-config-printer/system-config-printer-1.5.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/app-admin/system-config-printer/system-config-printer-1.5.12.ebuild 
b/app-admin/system-config-printer/system-config-printer-1.5.12.ebuild
index 66bb97423d7..b8db515b232 100644
--- a/app-admin/system-config-printer/system-config-printer-1.5.12.ebuild
+++ b/app-admin/system-config-printer/system-config-printer-1.5.12.ebuild
@@ -12,7 +12,7 @@ 
HOMEPAGE="https://github.com/OpenPrinting/system-config-printer;
 
SRC_URI="https://github.com/OpenPrinting/${PN}/releases/download/${PV}/${P}.tar.xz;
 
 LICENSE="GPL-2+"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ppc ppc64 ~sh ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ppc ppc64 ~sh ~sparc x86"
 SLOT="0"
 IUSE="doc gnome-keyring policykit"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: app-admin/system-config-printer/

2019-12-25 Thread Sergei Trofimovich
commit: 41224e77a53c391e77d732ef61d3577d03ec3664
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Wed Dec 25 20:49:54 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Dec 25 20:50:09 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41224e77

app-admin/system-config-printer: stable 1.5.12 for ppc64, bug #703580

Package-Manager: Portage-2.3.83, Repoman-2.3.20
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 app-admin/system-config-printer/system-config-printer-1.5.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/app-admin/system-config-printer/system-config-printer-1.5.12.ebuild 
b/app-admin/system-config-printer/system-config-printer-1.5.12.ebuild
index f76bb335f50..66bb97423d7 100644
--- a/app-admin/system-config-printer/system-config-printer-1.5.12.ebuild
+++ b/app-admin/system-config-printer/system-config-printer-1.5.12.ebuild
@@ -12,7 +12,7 @@ 
HOMEPAGE="https://github.com/OpenPrinting/system-config-printer;
 
SRC_URI="https://github.com/OpenPrinting/${PN}/releases/download/${PV}/${P}.tar.xz;
 
 LICENSE="GPL-2+"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ppc ~ppc64 ~sh ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ppc ppc64 ~sh ~sparc x86"
 SLOT="0"
 IUSE="doc gnome-keyring policykit"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: app-admin/system-config-printer/

2019-12-25 Thread Sergei Trofimovich
commit: 489fa2fae318ea5ae05e9b882791b680c8431d82
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Wed Dec 25 20:37:54 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Dec 25 20:39:24 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=489fa2fa

app-admin/system-config-printer: stable 1.5.12 for ppc, bug #703580

Package-Manager: Portage-2.3.83, Repoman-2.3.20
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 app-admin/system-config-printer/system-config-printer-1.5.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/app-admin/system-config-printer/system-config-printer-1.5.12.ebuild 
b/app-admin/system-config-printer/system-config-printer-1.5.12.ebuild
index 7ebdcef350b..f76bb335f50 100644
--- a/app-admin/system-config-printer/system-config-printer-1.5.12.ebuild
+++ b/app-admin/system-config-printer/system-config-printer-1.5.12.ebuild
@@ -12,7 +12,7 @@ 
HOMEPAGE="https://github.com/OpenPrinting/system-config-printer;
 
SRC_URI="https://github.com/OpenPrinting/${PN}/releases/download/${PV}/${P}.tar.xz;
 
 LICENSE="GPL-2+"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sh ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ppc ~ppc64 ~sh ~sparc x86"
 SLOT="0"
 IUSE="doc gnome-keyring policykit"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: app-admin/system-config-printer/

2019-12-24 Thread Agostino Sarubbo
commit: 978af808dd19ab52d9e76e743093c7a02a783b5c
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Dec 24 10:55:59 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Dec 24 10:55:59 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=978af808

app-admin/system-config-printer: amd64 stable wrt bug #703580

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-admin/system-config-printer/system-config-printer-1.5.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/app-admin/system-config-printer/system-config-printer-1.5.12.ebuild 
b/app-admin/system-config-printer/system-config-printer-1.5.12.ebuild
index 5b143d6a718..7ebdcef350b 100644
--- a/app-admin/system-config-printer/system-config-printer-1.5.12.ebuild
+++ b/app-admin/system-config-printer/system-config-printer-1.5.12.ebuild
@@ -12,7 +12,7 @@ 
HOMEPAGE="https://github.com/OpenPrinting/system-config-printer;
 
SRC_URI="https://github.com/OpenPrinting/${PN}/releases/download/${PV}/${P}.tar.xz;
 
 LICENSE="GPL-2+"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sh ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sh ~sparc x86"
 SLOT="0"
 IUSE="doc gnome-keyring policykit"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: app-admin/system-config-printer/

2019-12-24 Thread Agostino Sarubbo
commit: 3df6ca0cf567d457e8276a4f9a193a584bc4518c
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Dec 24 08:08:11 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Dec 24 08:08:11 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3df6ca0c

app-admin/system-config-printer: x86 stable wrt bug #703580

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-admin/system-config-printer/system-config-printer-1.5.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/app-admin/system-config-printer/system-config-printer-1.5.12.ebuild 
b/app-admin/system-config-printer/system-config-printer-1.5.12.ebuild
index f4c8f7a381c..5b143d6a718 100644
--- a/app-admin/system-config-printer/system-config-printer-1.5.12.ebuild
+++ b/app-admin/system-config-printer/system-config-printer-1.5.12.ebuild
@@ -12,7 +12,7 @@ 
HOMEPAGE="https://github.com/OpenPrinting/system-config-printer;
 
SRC_URI="https://github.com/OpenPrinting/${PN}/releases/download/${PV}/${P}.tar.xz;
 
 LICENSE="GPL-2+"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sh ~sparc x86"
 SLOT="0"
 IUSE="doc gnome-keyring policykit"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: app-admin/system-config-printer/, app-admin/system-config-printer/files/

2019-11-20 Thread Andreas Sturmlechner
commit: 4debc53cd0d0b7206f497afcbd31c2acb5ebc648
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed Nov 20 16:02:23 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Nov 20 16:02:49 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4debc53c

app-admin/system-config-printer: 1.5.12 version bump

Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 app-admin/system-config-printer/Manifest   |  1 +
 ...stem-config-printer-1.5.12-check-for-null.patch | 58 +++
 ...1.5.12-fix-abrt-in-udev-configure-printer.patch | 72 +++
 .../system-config-printer-1.5.12.ebuild| 83 ++
 4 files changed, 214 insertions(+)

diff --git a/app-admin/system-config-printer/Manifest 
b/app-admin/system-config-printer/Manifest
index 4a7d043463f..ce50c18c747 100644
--- a/app-admin/system-config-printer/Manifest
+++ b/app-admin/system-config-printer/Manifest
@@ -1,2 +1,3 @@
 DIST system-config-printer-1.5.11-patchset-01.tar.xz 6948 BLAKE2B 
effe29c51cbe74fc72566df65f10ab845c9dc1f40ca2966c40be87e19f98046f34311c24b7bc77f471b840e35b0c8eb7754a7c5464d50335c8ab2e2ed0e79afd
 SHA512 
2501bda0e75ea51cc8e14df6b3746a0ea51618919ef35ace849efeded0cddc49e6e3793142d1cd128ce3ce62c21661d5fdb85b19718df07b87a20f5fc641885b
 DIST system-config-printer-1.5.11.tar.xz 949816 BLAKE2B 
96b41d64e0aa3494b7fc7ed15ac926d833a046ba2880b36b6f5dd4e7508e2bc1fac4cb52c9940c13cec6e34cb8972fbc11fcd5a7df510296444ca08a23f4cb2b
 SHA512 
cc0a6faec0022092e64de3d7ab28669039c93853c6931d26c264f0035486e09ad0af784833e88ee8e3dc1b6f5be9dcf84144a2a6464dfa9711172966fa6a22b4
+DIST system-config-printer-1.5.12.tar.xz 955756 BLAKE2B 
766cc7307382a7b0ab65387650f1568fd5108dae2693dfc93684c6593e28837d513e4c823bf4e07c3ba2123eea8aba0649135020318f06f38633b9837683d7f7
 SHA512 
c8b0702dcdf99c4e8a19274dd4a3f82d9263bd5f51d0c19edf7d71fb13095f57a35e643ddbe161ffb5805e72bf7da0cb6a3de44a554854390ac05d8e56644c32

diff --git 
a/app-admin/system-config-printer/files/system-config-printer-1.5.12-check-for-null.patch
 
b/app-admin/system-config-printer/files/system-config-printer-1.5.12-check-for-null.patch
new file mode 100644
index 000..1c03bbd193f
--- /dev/null
+++ 
b/app-admin/system-config-printer/files/system-config-printer-1.5.12-check-for-null.patch
@@ -0,0 +1,58 @@
+From cf9903466c1a2d18a701f3b5e8c7e03483e1244d Mon Sep 17 00:00:00 2001
+From: Zdenek Dohnal 
+Date: Mon, 14 Oct 2019 16:39:28 +0200
+Subject: [PATCH] udev-configure-printer: Add checks for NULL
+
+---
+ NEWS  |  1 +
+ udev/udev-configure-printer.c | 12 +---
+ 2 files changed, 10 insertions(+), 3 deletions(-)
+
+diff --git a/NEWS b/NEWS
+index f4b774e5c..0b53aa8ef 100644
+--- a/NEWS
 b/NEWS
+@@ -1,5 +1,6 @@
+ 1.5.13 changes
+ --
++- add checks for NULL in udev-configure-printer (Fedora #1761097)
+ 
+ 1.5.12 changes
+ --
+diff --git a/udev/udev-configure-printer.c b/udev/udev-configure-printer.c
+index 83092fc21..d753bbeaf 100644
+--- a/udev/udev-configure-printer.c
 b/udev/udev-configure-printer.c
+@@ -1411,7 +1411,7 @@ for_each_matching_queue (struct device_uris *device_uris,
+   const char *printer_state_message = NULL;
+   int state = 0;
+   size_t i, l;
+-  char *this_device_uri_n, *device_uri_n;
++  char *this_device_uri_n = NULL, *device_uri_n = NULL;
+   const char *ps1, *ps2, *pi1, *pi2;
+ 
+   while (attr && ippGetGroupTag (attr) != IPP_TAG_PRINTER)
+@@ -1448,6 +1448,8 @@ for_each_matching_queue (struct device_uris *device_uris,
+   for (i = 0; i < device_uris->n_uris; i++)
+   {
+ device_uri_n = normalize_device_uri(device_uris->uri[i]);
++  if (this_device_uri_n == NULL || device_uri_n == NULL)
++goto skip;
+ /* As for the same device different URIs can come out when the
+device is accessed via the usblp kernel module or via low-
+level USB (libusb) we cannot simply compare URIs, must
+@@ -1512,8 +1514,12 @@ for_each_matching_queue (struct device_uris 
*device_uris,
+   firstqueue = 0;
+ 
+ skip:
+-  free(device_uri_n);
+-  free(this_device_uri_n);
++  if (device_uri_n != NULL)
++free(device_uri_n);
++device_uri_n = NULL;
++  if (this_device_uri_n != NULL)
++free(this_device_uri_n);
++this_device_uri_n = NULL;
+   if (!attr)
+   break;
+ }

diff --git 
a/app-admin/system-config-printer/files/system-config-printer-1.5.12-fix-abrt-in-udev-configure-printer.patch
 
b/app-admin/system-config-printer/files/system-config-printer-1.5.12-fix-abrt-in-udev-configure-printer.patch
new file mode 100644
index 000..7aed67584f7
--- /dev/null
+++ 
b/app-admin/system-config-printer/files/system-config-printer-1.5.12-fix-abrt-in-udev-configure-printer.patch
@@ -0,0 +1,72 @@
+From b9289dfe105bdb502f183f0afe7a115ecae5f2af Mon Sep 17 

[gentoo-commits] repo/gentoo:master commit in: app-admin/system-config-printer/

2019-11-20 Thread Andreas Sturmlechner
commit: 23e27ed67266953b8a381382fd0945d8c27ab41f
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed Nov 20 13:51:11 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Nov 20 13:51:11 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23e27ed6

app-admin/system-config-printer: Rollover stable keywords from -r1

No changes other than python3_7...

Closes: https://bugs.gentoo.org/700514
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 app-admin/system-config-printer/system-config-printer-1.5.11-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/app-admin/system-config-printer/system-config-printer-1.5.11-r2.ebuild 
b/app-admin/system-config-printer/system-config-printer-1.5.11-r2.ebuild
index 3138fdc7de8..506b95217fa 100644
--- a/app-admin/system-config-printer/system-config-printer-1.5.11-r2.ebuild
+++ b/app-admin/system-config-printer/system-config-printer-1.5.11-r2.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/zdohnal/${PN}/releases/download/${PV}/${P}.tar.xz
https://dev.gentoo.org/~asturm/distfiles/${P}-patchset-01.tar.xz;
 
 LICENSE="GPL-2+"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ppc ppc64 ~sh ~sparc x86"
 SLOT="0"
 
 IUSE="doc gnome-keyring policykit"



[gentoo-commits] repo/gentoo:master commit in: app-admin/system-config-printer/

2019-11-20 Thread Andreas Sturmlechner
commit: bc927b57c259652a0469068da10f5d0e0dbf98b4
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed Nov 20 13:52:02 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Nov 20 13:52:02 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc927b57

app-admin/system-config-printer: Drop 1.5.11-r1

Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../system-config-printer-1.5.11-r1.ebuild | 91 --
 1 file changed, 91 deletions(-)

diff --git 
a/app-admin/system-config-printer/system-config-printer-1.5.11-r1.ebuild 
b/app-admin/system-config-printer/system-config-printer-1.5.11-r1.ebuild
deleted file mode 100644
index c1bd77fd2c9..000
--- a/app-admin/system-config-printer/system-config-printer-1.5.11-r1.ebuild
+++ /dev/null
@@ -1,91 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_{5,6} )
-PYTHON_REQ_USE="xml"
-inherit gnome2 python-single-r1 systemd
-
-DESCRIPTION="Graphical user interface for CUPS administration"
-HOMEPAGE="https://github.com/zdohnal/system-config-printer;
-SRC_URI="https://github.com/zdohnal/${PN}/releases/download/${PV}/${P}.tar.xz
-   https://dev.gentoo.org/~asturm/distfiles/${P}-patchset-01.tar.xz;
-
-LICENSE="GPL-2+"
-KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ppc ppc64 ~sh ~sparc x86"
-SLOT="0"
-
-IUSE="doc gnome-keyring policykit"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# Needs cups running, bug 284005
-RESTRICT="test"
-
-# Additional unhandled dependencies
-# gnome-extra/gnome-packagekit[${PYTHON_USEDEP}] with pygobject:2 ?
-# python samba client: smbc
-# selinux: needed for troubleshooting
-COMMON_DEPEND="${PYTHON_DEPS}
-   dev-libs/glib:2
-   net-print/cups[dbus]
-   virtual/libusb:1
-   >=virtual/udev-172
-   x11-libs/gtk+:3[introspection]
-   x11-libs/libnotify[introspection]
-   x11-libs/pango[introspection]
-"
-DEPEND="${COMMON_DEPEND}
-   app-text/docbook-xml-dtd:4.1.2
-   >=app-text/xmlto-0.0.22
-   dev-util/desktop-file-utils
-   dev-util/intltool
-   sys-devel/gettext
-   virtual/pkgconfig
-   doc? ( dev-python/epydoc )
-"
-RDEPEND="${COMMON_DEPEND}
-   dev-python/dbus-python[${PYTHON_USEDEP}]
-   dev-python/pycairo[${PYTHON_USEDEP}]
-   dev-python/pycups[${PYTHON_USEDEP}]
-   dev-python/pygobject:3[${PYTHON_USEDEP}]
-   dev-python/requests[${PYTHON_USEDEP}]
-   dev-python/urllib3[${PYTHON_USEDEP}]
-   gnome-keyring? ( app-crypt/libsecret[introspection] )
-   policykit? ( net-print/cups-pk-helper )
-"
-
-PATCHES=(
-   "${WORKDIR}"/${P}-auth-dialog.patch
-   "${WORKDIR}"/${P}-libsecret-optional-{1,2}.patch
-   "${WORKDIR}"/${P}-scp-dbus-service-{1,2}.patch
-   "${WORKDIR}"/${P}-typo.patch
-   "${WORKDIR}"/${P}-appdata.patch
-   "${WORKDIR}"/${P}-empty-LC_MESSAGES.patch
-   "${WORKDIR}"/${P}-fdopen-utf8.patch
-   "${WORKDIR}"/${P}-typeerror.patch
-   "${WORKDIR}"/${P}-debugprint-typo.patch
-)
-
-pkg_setup() {
-   python-single-r1_pkg_setup
-}
-
-src_configure() {
-   gnome2_src_configure \
-   --enable-nls \
-   --with-desktop-vendor=Gentoo \
-   --with-udev-rules \
-   --with-systemdsystemunitdir=$(systemd_get_systemunitdir)
-}
-
-src_compile() {
-   gnome2_src_compile
-   use doc && emake html
-}
-
-src_install() {
-   use doc && local HTML_DOCS=( html/. )
-   gnome2_src_install
-   python_fix_shebang "${ED}"
-}



[gentoo-commits] repo/gentoo:master commit in: app-admin/system-config-printer/

2019-06-02 Thread Alexey Shvetsov
commit: 7931abed5f1e0f5ab331b62cb582255b9b4fac30
Author: Alexey Shvetsov  gentoo  org>
AuthorDate: Sun Jun  2 14:04:38 2019 +
Commit: Alexey Shvetsov  gentoo  org>
CommitDate: Sun Jun  2 14:04:38 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7931abed

app-admin/system-config-printer: works with python 3.7

Package-Manager: Portage-2.3.67, Repoman-2.3.13
Signed-off-by: Alexey Shvetsov  gentoo.org>

 .../system-config-printer-1.5.11-r2.ebuild | 91 ++
 1 file changed, 91 insertions(+)

diff --git 
a/app-admin/system-config-printer/system-config-printer-1.5.11-r2.ebuild 
b/app-admin/system-config-printer/system-config-printer-1.5.11-r2.ebuild
new file mode 100644
index 000..3138fdc7de8
--- /dev/null
+++ b/app-admin/system-config-printer/system-config-printer-1.5.11-r2.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{5,6,7} )
+PYTHON_REQ_USE="xml"
+inherit gnome2 python-single-r1 systemd
+
+DESCRIPTION="Graphical user interface for CUPS administration"
+HOMEPAGE="https://github.com/zdohnal/system-config-printer;
+SRC_URI="https://github.com/zdohnal/${PN}/releases/download/${PV}/${P}.tar.xz
+   https://dev.gentoo.org/~asturm/distfiles/${P}-patchset-01.tar.xz;
+
+LICENSE="GPL-2+"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
+SLOT="0"
+
+IUSE="doc gnome-keyring policykit"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# Needs cups running, bug 284005
+RESTRICT="test"
+
+# Additional unhandled dependencies
+# gnome-extra/gnome-packagekit[${PYTHON_USEDEP}] with pygobject:2 ?
+# python samba client: smbc
+# selinux: needed for troubleshooting
+COMMON_DEPEND="${PYTHON_DEPS}
+   dev-libs/glib:2
+   net-print/cups[dbus]
+   virtual/libusb:1
+   >=virtual/udev-172
+   x11-libs/gtk+:3[introspection]
+   x11-libs/libnotify[introspection]
+   x11-libs/pango[introspection]
+"
+DEPEND="${COMMON_DEPEND}
+   app-text/docbook-xml-dtd:4.1.2
+   >=app-text/xmlto-0.0.22
+   dev-util/desktop-file-utils
+   dev-util/intltool
+   sys-devel/gettext
+   virtual/pkgconfig
+   doc? ( dev-python/epydoc )
+"
+RDEPEND="${COMMON_DEPEND}
+   dev-python/dbus-python[${PYTHON_USEDEP}]
+   dev-python/pycairo[${PYTHON_USEDEP}]
+   dev-python/pycups[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   dev-python/requests[${PYTHON_USEDEP}]
+   dev-python/urllib3[${PYTHON_USEDEP}]
+   gnome-keyring? ( app-crypt/libsecret[introspection] )
+   policykit? ( net-print/cups-pk-helper )
+"
+
+PATCHES=(
+   "${WORKDIR}"/${P}-auth-dialog.patch
+   "${WORKDIR}"/${P}-libsecret-optional-{1,2}.patch
+   "${WORKDIR}"/${P}-scp-dbus-service-{1,2}.patch
+   "${WORKDIR}"/${P}-typo.patch
+   "${WORKDIR}"/${P}-appdata.patch
+   "${WORKDIR}"/${P}-empty-LC_MESSAGES.patch
+   "${WORKDIR}"/${P}-fdopen-utf8.patch
+   "${WORKDIR}"/${P}-typeerror.patch
+   "${WORKDIR}"/${P}-debugprint-typo.patch
+)
+
+pkg_setup() {
+   python-single-r1_pkg_setup
+}
+
+src_configure() {
+   gnome2_src_configure \
+   --enable-nls \
+   --with-desktop-vendor=Gentoo \
+   --with-udev-rules \
+   --with-systemdsystemunitdir=$(systemd_get_systemunitdir)
+}
+
+src_compile() {
+   gnome2_src_compile
+   use doc && emake html
+}
+
+src_install() {
+   use doc && local HTML_DOCS=( html/. )
+   gnome2_src_install
+   python_fix_shebang "${ED}"
+}



[gentoo-commits] repo/gentoo:master commit in: app-admin/system-config-printer/

2018-12-05 Thread Mart Raudsepp
commit: cf951a660cf5995c313d7509385648799eeb60ee
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Wed Dec  5 13:55:44 2018 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Wed Dec  5 14:06:54 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf951a66

app-admin/system-config-printer: remove old

Signed-off-by: Mart Raudsepp  gentoo.org>
Package-Manager: Portage-2.3.52, Repoman-2.3.11

 app-admin/system-config-printer/Manifest   |  1 -
 .../system-config-printer-1.4.8.ebuild | 94 --
 2 files changed, 95 deletions(-)

diff --git a/app-admin/system-config-printer/Manifest 
b/app-admin/system-config-printer/Manifest
index 932135096c4..4a7d043463f 100644
--- a/app-admin/system-config-printer/Manifest
+++ b/app-admin/system-config-printer/Manifest
@@ -1,3 +1,2 @@
-DIST system-config-printer-1.4.8.tar.xz 904068 BLAKE2B 
dfadfd7f2ef8c37a588d2a4755c977a07c16d3779cf30652ca1056986d5de073fa334a912e4a8e865e88b323888f88b83c5ef8b086e4afafd7bf284c1b597f3d
 SHA512 
9f832f11e0e6bca32a29201b9f78d7a3ea35a46f7484548e5e71e6939fd51065e07325e12bdb1bc577ee606299cfef54759def6564923904a79f27b654ec5304
 DIST system-config-printer-1.5.11-patchset-01.tar.xz 6948 BLAKE2B 
effe29c51cbe74fc72566df65f10ab845c9dc1f40ca2966c40be87e19f98046f34311c24b7bc77f471b840e35b0c8eb7754a7c5464d50335c8ab2e2ed0e79afd
 SHA512 
2501bda0e75ea51cc8e14df6b3746a0ea51618919ef35ace849efeded0cddc49e6e3793142d1cd128ce3ce62c21661d5fdb85b19718df07b87a20f5fc641885b
 DIST system-config-printer-1.5.11.tar.xz 949816 BLAKE2B 
96b41d64e0aa3494b7fc7ed15ac926d833a046ba2880b36b6f5dd4e7508e2bc1fac4cb52c9940c13cec6e34cb8972fbc11fcd5a7df510296444ca08a23f4cb2b
 SHA512 
cc0a6faec0022092e64de3d7ab28669039c93853c6931d26c264f0035486e09ad0af784833e88ee8e3dc1b6f5be9dcf84144a2a6464dfa9711172966fa6a22b4

diff --git a/app-admin/system-config-printer/system-config-printer-1.4.8.ebuild 
b/app-admin/system-config-printer/system-config-printer-1.4.8.ebuild
deleted file mode 100644
index 4dc7fcecc7f..000
--- a/app-admin/system-config-printer/system-config-printer-1.4.8.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-GCONF_DEBUG="no"
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="xml"
-
-inherit gnome2 python-single-r1 systemd versionator
-
-MY_V="$(get_version_component_range 1-2)"
-
-DESCRIPTION="GNOME frontend for a Red Hat's printer administration tool"
-HOMEPAGE="http://cyberelk.net/tim/software/system-config-printer/;
-SRC_URI="http://cyberelk.net/tim/data/system-config-printer/${MY_V}/${P}.tar.xz;
-
-LICENSE="GPL-2"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ppc ppc64 ~sh ~sparc x86"
-SLOT="0"
-
-IUSE="doc gnome-keyring policykit"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# Needs cups running, bug 284005
-RESTRICT="test"
-
-# Additional unhandled dependencies
-# gnome-extra/gnome-packagekit[${PYTHON_USEDEP}] with pygobject:2 ?
-# python samba client: smbc
-# selinux: needed for troubleshooting
-RDEPEND="
-   ${PYTHON_DEPS}
-   >=dev-libs/glib-2:2
-   dev-libs/libxml2[python,${PYTHON_USEDEP}]
-   dev-python/dbus-python[${PYTHON_USEDEP}]
-   dev-python/pycairo[${PYTHON_USEDEP}]
-   >=dev-python/pycups-1.9.60[${PYTHON_USEDEP}]
-   dev-python/pycurl[${PYTHON_USEDEP}]
-   dev-python/pygobject:3[${PYTHON_USEDEP}]
-   net-print/cups[dbus]
-   virtual/libusb:1
-   >=virtual/udev-172
-   x11-libs/gtk+:3[introspection]
-   x11-libs/libnotify[introspection]
-   x11-libs/pango[introspection]
-   gnome-keyring? ( gnome-base/libgnome-keyring[introspection] )
-   policykit? ( >=sys-auth/polkit-0.104-r1 )
-   !app-admin/system-config-printer-common
-   !app-admin/system-config-printer-gnome
-"
-DEPEND="${RDEPEND}
-   app-text/docbook-xml-dtd:4.1.2
-   >=app-text/xmlto-0.0.22
-   dev-util/desktop-file-utils
-   dev-util/intltool
-   sys-devel/gettext
-   virtual/pkgconfig
-   doc? ( dev-python/epydoc[${PYTHON_USEDEP}] )
-"
-
-# Bug 471472
-MAKEOPTS+=" -j1"
-
-pkg_setup() {
-   python-single-r1_pkg_setup
-}
-
-src_configure() {
-   local myconf
-
-   # Disable installation of translations when LINGUAS not chosen
-   if [[ -z "${LINGUAS}" ]]; then
-   myconf="${myconf} --disable-nls"
-   else
-   myconf="${myconf} --enable-nls"
-   fi
-
-   gnome2_src_configure \
-   --with-desktop-vendor=Gentoo \
-   --with-udev-rules \
-   $(systemd_with_unitdir) \
-   ${myconf}
-}
-
-src_compile() {
-   gnome2_src_compile
-   use doc && emake html
-}
-
-src_install() {
-   gnome2_src_install
-   use doc && dohtml -r html/
-   python_fix_shebang "${ED}"
-}



[gentoo-commits] repo/gentoo:master commit in: app-admin/system-config-printer/

2018-12-04 Thread Mikle Kolyada
commit: c5e268548acaa0d3741b4c0ecc13ab9baaac1a59
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Wed Dec  5 07:28:28 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Wed Dec  5 07:34:06 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5e26854

app-admin/system-config-printer: ppc stable wrt bug #670024

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 app-admin/system-config-printer/system-config-printer-1.5.11-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/app-admin/system-config-printer/system-config-printer-1.5.11-r1.ebuild 
b/app-admin/system-config-printer/system-config-printer-1.5.11-r1.ebuild
index 042617946ef..ddb3f080a3c 100644
--- a/app-admin/system-config-printer/system-config-printer-1.5.11-r1.ebuild
+++ b/app-admin/system-config-printer/system-config-printer-1.5.11-r1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/zdohnal/${PN}/releases/download/${PV}/${P}.tar.xz
https://dev.gentoo.org/~asturm/distfiles/${P}-patchset-01.tar.xz;
 
 LICENSE="GPL-2+"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ppc64 ~sh ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ppc ppc64 ~sh ~sparc x86"
 SLOT="0"
 
 IUSE="doc gnome-keyring policykit"



[gentoo-commits] repo/gentoo:master commit in: app-admin/system-config-printer/

2018-12-04 Thread Mikle Kolyada
commit: c16ecbeb7f5b95d0231e542a903dab1c89ac7e0c
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Wed Dec  5 07:04:30 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Wed Dec  5 07:07:43 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c16ecbeb

app-admin/system-config-printer: ppc64 stable wrt bug #670024

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 app-admin/system-config-printer/system-config-printer-1.5.11-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/app-admin/system-config-printer/system-config-printer-1.5.11-r1.ebuild 
b/app-admin/system-config-printer/system-config-printer-1.5.11-r1.ebuild
index e255f3c792f..042617946ef 100644
--- a/app-admin/system-config-printer/system-config-printer-1.5.11-r1.ebuild
+++ b/app-admin/system-config-printer/system-config-printer-1.5.11-r1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/zdohnal/${PN}/releases/download/${PV}/${P}.tar.xz
https://dev.gentoo.org/~asturm/distfiles/${P}-patchset-01.tar.xz;
 
 LICENSE="GPL-2+"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sh ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ppc64 ~sh ~sparc x86"
 SLOT="0"
 
 IUSE="doc gnome-keyring policykit"



[gentoo-commits] repo/gentoo:master commit in: app-admin/system-config-printer/

2018-11-02 Thread Andreas Sturmlechner
commit: fb5aac044d88c8312e4c835890670e29c841656e
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Fri Nov  2 13:13:15 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Fri Nov  2 13:24:33 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb5aac04

app-admin/system-config-printer: Fix dependencies

Closes: https://bugs.gentoo.org/574630
Signed-off-by: Andreas Sturmlechner  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 .../system-config-printer-1.5.11-r1.ebuild | 91 ++
 1 file changed, 91 insertions(+)

diff --git 
a/app-admin/system-config-printer/system-config-printer-1.5.11-r1.ebuild 
b/app-admin/system-config-printer/system-config-printer-1.5.11-r1.ebuild
new file mode 100644
index 000..418b870b267
--- /dev/null
+++ b/app-admin/system-config-printer/system-config-printer-1.5.11-r1.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{5,6} )
+PYTHON_REQ_USE="xml"
+inherit gnome2 python-single-r1 systemd
+
+DESCRIPTION="Graphical user interface for CUPS administration"
+HOMEPAGE="https://github.com/zdohnal/system-config-printer;
+SRC_URI="https://github.com/zdohnal/${PN}/releases/download/${PV}/${P}.tar.xz
+   https://dev.gentoo.org/~asturm/distfiles/${P}-patchset-01.tar.xz;
+
+LICENSE="GPL-2+"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
+SLOT="0"
+
+IUSE="doc gnome-keyring policykit"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# Needs cups running, bug 284005
+RESTRICT="test"
+
+# Additional unhandled dependencies
+# gnome-extra/gnome-packagekit[${PYTHON_USEDEP}] with pygobject:2 ?
+# python samba client: smbc
+# selinux: needed for troubleshooting
+COMMON_DEPEND="${PYTHON_DEPS}
+   dev-libs/glib:2
+   net-print/cups[dbus]
+   virtual/libusb:1
+   >=virtual/udev-172
+   x11-libs/gtk+:3[introspection]
+   x11-libs/libnotify[introspection]
+   x11-libs/pango[introspection]
+"
+DEPEND="${COMMON_DEPEND}
+   app-text/docbook-xml-dtd:4.1.2
+   >=app-text/xmlto-0.0.22
+   dev-util/desktop-file-utils
+   dev-util/intltool
+   sys-devel/gettext
+   virtual/pkgconfig
+   doc? ( dev-python/epydoc )
+"
+RDEPEND="${COMMON_DEPEND}
+   dev-python/dbus-python[${PYTHON_USEDEP}]
+   dev-python/pycairo[${PYTHON_USEDEP}]
+   dev-python/pycups[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   dev-python/requests[${PYTHON_USEDEP}]
+   dev-python/urllib3[${PYTHON_USEDEP}]
+   gnome-keyring? ( app-crypt/libsecret[introspection] )
+   policykit? ( net-print/cups-pk-helper )
+"
+
+PATCHES=(
+   "${WORKDIR}"/${P}-auth-dialog.patch
+   "${WORKDIR}"/${P}-libsecret-optional-{1,2}.patch
+   "${WORKDIR}"/${P}-scp-dbus-service-{1,2}.patch
+   "${WORKDIR}"/${P}-typo.patch
+   "${WORKDIR}"/${P}-appdata.patch
+   "${WORKDIR}"/${P}-empty-LC_MESSAGES.patch
+   "${WORKDIR}"/${P}-fdopen-utf8.patch
+   "${WORKDIR}"/${P}-typeerror.patch
+   "${WORKDIR}"/${P}-debugprint-typo.patch
+)
+
+pkg_setup() {
+   python-single-r1_pkg_setup
+}
+
+src_configure() {
+   gnome2_src_configure \
+   --enable-nls \
+   --with-desktop-vendor=Gentoo \
+   --with-udev-rules \
+   --with-systemdsystemunitdir=$(systemd_get_systemunitdir)
+}
+
+src_compile() {
+   gnome2_src_compile
+   use doc && emake html
+}
+
+src_install() {
+   use doc && local HTML_DOCS=( html/. )
+   gnome2_src_install
+   python_fix_shebang "${ED}"
+}



[gentoo-commits] repo/gentoo:master commit in: app-admin/system-config-printer/

2018-10-14 Thread Andreas Sturmlechner
commit: 276c9e74df77bdb8ed9073c13682d54b18d63d54
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Oct 14 07:45:07 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Oct 14 09:04:43 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=276c9e74

app-admin/system-config-printer: 1.5.11 version bump, EAPI-6 bump

Switch to new HOMEPAGE.
Switch to python3.
Switch to gnome-base/libgnome-keyring.
Fix license, drop LINGUAS hack.

Closes: https://bugs.gentoo.org/647088

Thanks-to: poncho  spahan.ch>
Thanks-to: Drunkard Zhang  gmail.com>
Thanks-to: Mart Raudsepp  gentoo.org>
Signed-off-by: Andreas Sturmlechner  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 app-admin/system-config-printer/Manifest   |  2 +
 .../system-config-printer-1.5.11.ebuild| 89 ++
 2 files changed, 91 insertions(+)

diff --git a/app-admin/system-config-printer/Manifest 
b/app-admin/system-config-printer/Manifest
index da108c0ef6f..932135096c4 100644
--- a/app-admin/system-config-printer/Manifest
+++ b/app-admin/system-config-printer/Manifest
@@ -1 +1,3 @@
 DIST system-config-printer-1.4.8.tar.xz 904068 BLAKE2B 
dfadfd7f2ef8c37a588d2a4755c977a07c16d3779cf30652ca1056986d5de073fa334a912e4a8e865e88b323888f88b83c5ef8b086e4afafd7bf284c1b597f3d
 SHA512 
9f832f11e0e6bca32a29201b9f78d7a3ea35a46f7484548e5e71e6939fd51065e07325e12bdb1bc577ee606299cfef54759def6564923904a79f27b654ec5304
+DIST system-config-printer-1.5.11-patchset-01.tar.xz 6948 BLAKE2B 
effe29c51cbe74fc72566df65f10ab845c9dc1f40ca2966c40be87e19f98046f34311c24b7bc77f471b840e35b0c8eb7754a7c5464d50335c8ab2e2ed0e79afd
 SHA512 
2501bda0e75ea51cc8e14df6b3746a0ea51618919ef35ace849efeded0cddc49e6e3793142d1cd128ce3ce62c21661d5fdb85b19718df07b87a20f5fc641885b
+DIST system-config-printer-1.5.11.tar.xz 949816 BLAKE2B 
96b41d64e0aa3494b7fc7ed15ac926d833a046ba2880b36b6f5dd4e7508e2bc1fac4cb52c9940c13cec6e34cb8972fbc11fcd5a7df510296444ca08a23f4cb2b
 SHA512 
cc0a6faec0022092e64de3d7ab28669039c93853c6931d26c264f0035486e09ad0af784833e88ee8e3dc1b6f5be9dcf84144a2a6464dfa9711172966fa6a22b4

diff --git 
a/app-admin/system-config-printer/system-config-printer-1.5.11.ebuild 
b/app-admin/system-config-printer/system-config-printer-1.5.11.ebuild
new file mode 100644
index 000..0d78b3182a0
--- /dev/null
+++ b/app-admin/system-config-printer/system-config-printer-1.5.11.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{5,6} )
+PYTHON_REQ_USE="xml"
+inherit gnome2 python-single-r1 systemd
+
+DESCRIPTION="Graphical user interface for CUPS administration"
+HOMEPAGE="https://github.com/zdohnal/system-config-printer;
+SRC_URI="https://github.com/zdohnal/${PN}/releases/download/${PV}/${P}.tar.xz
+   https://dev.gentoo.org/~asturm/distfiles/${P}-patchset-01.tar.xz;
+
+LICENSE="GPL-2+"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
+SLOT="0"
+
+IUSE="doc gnome-keyring policykit"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# Needs cups running, bug 284005
+RESTRICT="test"
+
+# Additional unhandled dependencies
+# gnome-extra/gnome-packagekit[${PYTHON_USEDEP}] with pygobject:2 ?
+# python samba client: smbc
+# selinux: needed for troubleshooting
+RDEPEND="${PYTHON_DEPS}
+   dev-libs/glib:2
+   dev-libs/libxml2[python,${PYTHON_USEDEP}]
+   dev-python/dbus-python[${PYTHON_USEDEP}]
+   dev-python/pycairo[${PYTHON_USEDEP}]
+   >=dev-python/pycups-1.9.60[${PYTHON_USEDEP}]
+   dev-python/pycurl[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   net-print/cups[dbus]
+   virtual/libusb:1
+   >=virtual/udev-172
+   x11-libs/gtk+:3[introspection]
+   x11-libs/libnotify[introspection]
+   x11-libs/pango[introspection]
+   gnome-keyring? ( app-crypt/libsecret[introspection] )
+   policykit? ( >=sys-auth/polkit-0.104-r1 )
+"
+DEPEND="${RDEPEND}
+   app-text/docbook-xml-dtd:4.1.2
+   >=app-text/xmlto-0.0.22
+   dev-util/desktop-file-utils
+   dev-util/intltool
+   sys-devel/gettext
+   virtual/pkgconfig
+   doc? ( dev-python/epydoc )
+"
+
+PATCHES=(
+   "${WORKDIR}"/${P}-auth-dialog.patch
+   "${WORKDIR}"/${P}-libsecret-optional-{1,2}.patch
+   "${WORKDIR}"/${P}-scp-dbus-service-{1,2}.patch
+   "${WORKDIR}"/${P}-typo.patch
+   "${WORKDIR}"/${P}-appdata.patch
+   "${WORKDIR}"/${P}-empty-LC_MESSAGES.patch
+   "${WORKDIR}"/${P}-fdopen-utf8.patch
+   "${WORKDIR}"/${P}-typeerror.patch
+   "${WORKDIR}"/${P}-debugprint-typo.patch
+)
+
+pkg_setup() {
+   python-single-r1_pkg_setup
+}
+
+src_configure() {
+   gnome2_src_configure \
+   --enable-nls \
+   --with-desktop-vendor=Gentoo \
+   --with-udev-rules \
+   --with-systemdsystemunitdir=$(systemd_get_systemunitdir)
+}
+
+src_compile() {
+  

[gentoo-commits] repo/gentoo:master commit in: app-admin/system-config-printer/

2017-07-25 Thread Alexis Ballier
commit: ece235e128f0c312b83e2b62da79ecd436260660
Author: Alexis Ballier  gentoo  org>
AuthorDate: Mon Jul 24 15:21:59 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Tue Jul 25 12:26:39 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ece235e1

app-admin/system-config-printer: keyword ~arm64

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 app-admin/system-config-printer/system-config-printer-1.4.8.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-admin/system-config-printer/system-config-printer-1.4.8.ebuild 
b/app-admin/system-config-printer/system-config-printer-1.4.8.ebuild
index eecbfe15bdc..5ed82d66547 100644
--- a/app-admin/system-config-printer/system-config-printer-1.4.8.ebuild
+++ b/app-admin/system-config-printer/system-config-printer-1.4.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -15,7 +15,7 @@ 
HOMEPAGE="http://cyberelk.net/tim/software/system-config-printer/;
 
SRC_URI="http://cyberelk.net/tim/data/system-config-printer/${MY_V}/${P}.tar.xz;
 
 LICENSE="GPL-2"
-KEYWORDS="~alpha amd64 ~arm ~ia64 ppc ppc64 ~sh ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ppc ppc64 ~sh ~sparc x86"
 SLOT="0"
 
 IUSE="doc gnome-keyring policykit"