public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/system-config-printer/
Date: Fri,  2 Nov 2018 13:25:55 +0000 (UTC)	[thread overview]
Message-ID: <1541165073.fb5aac044d88c8312e4c835890670e29c841656e.asturm@gentoo> (raw)

commit:     fb5aac044d88c8312e4c835890670e29c841656e
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Nov  2 13:13:15 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Nov  2 13:24:33 2018 +0000
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 <asturm <AT> 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 00000000000..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}"
+}


             reply	other threads:[~2018-11-02 13:26 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-02 13:25 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-06 20:32 [gentoo-commits] repo/gentoo:master commit in: app-admin/system-config-printer/ Andreas Sturmlechner
2024-03-05 17:22 Arthur Zamarin
2024-03-02 20:41 Sam James
2024-02-23  4:46 Sam James
2024-01-10 19:02 Mike Gilbert
2024-01-07 17:06 Michał Górny
2022-11-01  6:19 WANG Xuerui
2022-10-29 22:33 Matt Turner
2022-10-25 18:36 Andreas Sturmlechner
2022-09-01  1:20 Matt Turner
2022-08-26  2:06 Matt Turner
2022-08-14  9:27 Pacho Ramos
2022-03-25  2:29 Sam James
2022-03-16 15:26 Andreas Sturmlechner
2022-03-16 15:15 Maciej Barć
2022-02-21  5:48 Matt Turner
2021-11-22  9:44 Sam James
2021-08-27 15:19 Yixun Lan
2021-02-01  8:40 Andreas Sturmlechner
2021-02-01  8:25 Sam James
2021-01-24 21:52 Sam James
2021-01-24 13:35 Sam James
2021-01-24 13:31 Sam James
2021-01-24 12:10 Agostino Sarubbo
2021-01-14  1:32 Andreas Sturmlechner
2021-01-14  1:32 Andreas Sturmlechner
2021-01-08 10:45 Andreas Sturmlechner
2020-11-26 23:04 Sergei Trofimovich
2020-11-26 14:36 Sam James
2020-11-25 16:37 Mikle Kolyada
2020-11-25 16:23 Mikle Kolyada
2020-11-25 16:19 Mikle Kolyada
2020-11-08  8:45 Andreas Sturmlechner
2020-04-17 18:55 Andreas Sturmlechner
2020-03-01 22:02 Andreas Sturmlechner
2019-12-28 12:53 Johannes Huber
2019-12-27 17:04 Aaron Bauman
2019-12-25 20:50 Sergei Trofimovich
2019-12-25 20:39 Sergei Trofimovich
2019-12-24 10:56 Agostino Sarubbo
2019-12-24  8:08 Agostino Sarubbo
2019-11-20 13:52 Andreas Sturmlechner
2019-11-20 13:52 Andreas Sturmlechner
2019-06-02 14:05 Alexey Shvetsov
2018-12-05 14:07 Mart Raudsepp
2018-12-05  7:34 Mikle Kolyada
2018-12-05  7:07 Mikle Kolyada
2018-10-14  9:04 Andreas Sturmlechner
2017-07-25 12:27 Alexis Ballier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1541165073.fb5aac044d88c8312e4c835890670e29c841656e.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox