summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Alexander <wired@gentoo.org>2009-08-04 11:39:42 +0000
committerAlex Alexander <wired@gentoo.org>2009-08-04 11:39:42 +0000
commit50003f69ab1b27be902ec3dfb8b75686d1decb83 (patch)
tree03784d0bffdb16406e78e025f23750e6ebebdc9d /app-admin/system-config-printer-common
parentRemove old 3.12.4 version and its files. (diff)
downloadgentoo-2-50003f69ab1b27be902ec3dfb8b75686d1decb83.tar.gz
gentoo-2-50003f69ab1b27be902ec3dfb8b75686d1decb83.tar.bz2
gentoo-2-50003f69ab1b27be902ec3dfb8b75686d1decb83.zip
new ebuild from kde-testing overlay
(Portage version: 2.2_rc35/cvs/Linux x86_64)
Diffstat (limited to 'app-admin/system-config-printer-common')
-rw-r--r--app-admin/system-config-printer-common/ChangeLog11
-rw-r--r--app-admin/system-config-printer-common/files/system-config-printer-common-1.1.8-split.patch163
-rw-r--r--app-admin/system-config-printer-common/metadata.xml5
-rw-r--r--app-admin/system-config-printer-common/system-config-printer-common-1.1.8.ebuild61
4 files changed, 240 insertions, 0 deletions
diff --git a/app-admin/system-config-printer-common/ChangeLog b/app-admin/system-config-printer-common/ChangeLog
new file mode 100644
index 000000000000..050e7880f604
--- /dev/null
+++ b/app-admin/system-config-printer-common/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-admin/system-config-printer-common
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/ChangeLog,v 1.1 2009/08/04 11:39:42 wired Exp $
+
+*system-config-printer-common-1.1.8 (04 Aug 2009)
+
+ 04 Aug 2009; Alex Alexander <wired@gentoo.org>
+ +system-config-printer-common-1.1.8.ebuild,
+ +files/system-config-printer-common-1.1.8-split.patch, +metadata.xml:
+ new ebuild from kde-testing overlay
+
diff --git a/app-admin/system-config-printer-common/files/system-config-printer-common-1.1.8-split.patch b/app-admin/system-config-printer-common/files/system-config-printer-common-1.1.8-split.patch
new file mode 100644
index 000000000000..add4ec710ec6
--- /dev/null
+++ b/app-admin/system-config-printer-common/files/system-config-printer-common-1.1.8-split.patch
@@ -0,0 +1,163 @@
+diff -ru ../system-config-printer-1.1.8/Makefile.am ./Makefile.am
+--- ../system-config-printer-1.1.8/Makefile.am 2009-06-18 18:10:58.000000000 +0200
++++ ./Makefile.am 2009-07-16 01:50:23.000000000 +0200
+@@ -57,158 +57,32 @@
+ fi
+ rm -f .stamp-distutils-in-builddir
+
+-nobase_pkgdata_SCRIPTS= \
+- my-default-printer.py \
+- pysmb.py \
+- system-config-printer.py \
+- troubleshoot/__init__.py \
+- applet.py
+-
+ nobase_pkgdata_DATA= \
+- AdvancedServerSettings.py \
+- authconn.py \
+ config.py \
+- cupspk.py \
+ debug.py \
+- errordialogs.py \
+- HIG.py \
+- glade.py \
+- GroupsPane.py \
+- GroupsPaneModel.py \
+- gtkinklevel.py \
+- gtkspinner.py \
+- installpackage.py \
+- jobviewer.py \
+- monitor.py \
+- options.py \
+- optionwidgets.py \
+- PhysicalDevice.py \
+- ppdippstr.py \
+ probe_printer.py \
+- gtk_label_autowrap.py \
+- gtk_treeviewtooltips.py \
+- SearchCriterion.py \
+ smburi.py \
+- statereason.py \
+- timedops.py \
+- ToolbarSearchEntry.py \
+- userdefault.py \
+- XmlHelper.py \
+- glade/AboutDialog.glade \
+- glade/ConnectDialog.glade \
+- glade/ConnectingDialog.glade \
+- glade/InstallDialog.glade \
+- glade/IPPBrowseDialog.glade \
+- glade/JobsWindow.glade \
+- glade/NewPrinterName.glade \
+- glade/NewPrinterWindow.glade \
+- glade/PrinterPropertiesDialog.glade \
+- glade/PrintersWindow.glade \
+- glade/ServerSettingsDialog.glade \
+- glade/SMBBrowseDialog.glade \
+- glade/statusicon_popupmenu.glade \
+- glade/WaitWindow.glade \
+- icons/i-network-printer.png \
+- troubleshoot/base.py \
+- troubleshoot/CheckLocalServerPublishing.py \
+- troubleshoot/CheckNetworkServerSanity.py \
+- troubleshoot/CheckPPDSanity.py \
+- troubleshoot/CheckPrinterSanity.py \
+- troubleshoot/CheckUSBPermissions.py \
+- troubleshoot/ChooseNetworkPrinter.py \
+- troubleshoot/ChoosePrinter.py \
+- troubleshoot/DeviceListed.py \
+- troubleshoot/ErrorLogCheckpoint.py \
+- troubleshoot/ErrorLogFetch.py \
+- troubleshoot/ErrorLogParse.py \
+- troubleshoot/Locale.py \
+- troubleshoot/LocalOrRemote.py \
+- troubleshoot/NetworkCUPSPrinterShared.py \
+- troubleshoot/PrinterStateReasons.py \
+- troubleshoot/PrintTestPage.py \
+- troubleshoot/QueueNotEnabled.py \
+- troubleshoot/QueueRejectingJobs.py \
+- troubleshoot/RemoteAddress.py \
+- troubleshoot/SchedulerNotRunning.py \
+- troubleshoot/ServerFirewalled.py \
+- troubleshoot/Shrug.py \
+- troubleshoot/Welcome.py
+-
+-bin_SCRIPTS=\
+- system-config-printer \
+- system-config-printer-applet \
+- my-default-printer
+-
+-man_MANS= \
+- man/system-config-printer.1 \
+- man/system-config-printer-applet.1
++ statereason.py
+
+ dbus_DATA =\
+ newprinternotification.conf
+ dbusdir = $(sysconfdir)/dbus-1/system.d/
+
+-desktop_DATA =\
+- system-config-printer.desktop \
+- print-applet.desktop \
+- manage-print-jobs.desktop \
+- my-default-printer.desktop
+ desktopdir = $(datadir)/applications/
+ autostartdir = $(sysconfdir)/xdg/autostart/
+
+ DESKTOP_VENDOR=@DESKTOPVENDOR@
+ DESKTOP_PREFIX=@DESKTOPPREFIX@
+
+-install-desktopDATA: $(desktop_DATA)
+- mkdir -p $(DESTDIR)$(desktopdir)
+- mkdir -p $(DESTDIR)$(desktopdir)
+- desktop-file-install $(DESKTOP_VENDOR) \
+- --dir $(DESTDIR)$(desktopdir) \
+- --add-category System \
+- --add-category Settings \
+- --add-category HardwareSettings \
+- --add-category Printing \
+- --add-category GTK \
+- system-config-printer.desktop
+- desktop-file-install $(DESKTOP_VENDOR) \
+- --dir $(DESTDIR)$(desktopdir) \
+- --add-category System \
+- --add-category Monitor \
+- --add-category GTK \
+- manage-print-jobs.desktop
+- desktop-file-install $(DESKTOP_VENDOR) \
+- --dir $(DESTDIR)$(desktopdir) \
+- --add-category Settings \
+- --add-category HardwareSettings \
+- --add-category GTK \
+- my-default-printer.desktop
+- desktop-file-install $(DESKTOP_VENDOR) \
+- --dir $(DESTDIR)$(autostartdir) \
+- --add-category System \
+- --add-category Monitor \
+- --add-category GTK \
+- print-applet.desktop
+-
+-uninstall-desktopDATA:
+- rm -f $(DESTDIR)$(desktopdir)/$(DESKTOP_PREFIX)system-config-printer.desktop
+- rm -f $(DESTDIR)$(desktopdir)/$(DESKTOP_PREFIX)manage-print-jobs.desktop
+- rm -f $(DESTDIR)$(desktopdir)/$(DESKTOP_PREFIX)my-default-printer.desktop
+- rm -f $(DESTDIR)$(autostartdir)/$(DESKTOP_PREFIX)print-applet.desktop
+-
+ EXTRA_DIST=\
+ $(nobase_pkgdata_SCRIPTS) \
+ $(nobase_pkgdata_DATA) \
+ $(nobase_sbin_SCRIPTS) \
+ $(bin_SCRIPTS) \
+- setup.py \
+ $(EXPORT_MODULES) \
+- man/system-config-printer.xml \
+ newprinternotification.conf \
+ bootstrap \
+ mkinstalldirs \
+- system-config-printer.desktop.in \
+- manage-print-jobs.desktop.in \
+- my-default-printer.desktop.in \
+- print-applet.desktop.in \
+ intltool-extract.in \
+ intltool-merge.in \
+ intltool-update.in \
diff --git a/app-admin/system-config-printer-common/metadata.xml b/app-admin/system-config-printer-common/metadata.xml
new file mode 100644
index 000000000000..8d1e86a9cefb
--- /dev/null
+++ b/app-admin/system-config-printer-common/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>kde</herd>
+</pkgmetadata>
diff --git a/app-admin/system-config-printer-common/system-config-printer-common-1.1.8.ebuild b/app-admin/system-config-printer-common/system-config-printer-common-1.1.8.ebuild
new file mode 100644
index 000000000000..1db92408e6f3
--- /dev/null
+++ b/app-admin/system-config-printer-common/system-config-printer-common-1.1.8.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2009 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.1.8.ebuild,v 1.1 2009/08/04 11:39:42 wired Exp $
+
+EAPI="2"
+inherit python autotools
+
+MY_P="${PN%-common}-${PV}"
+
+DESCRIPTION="Common modules of 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/1.1/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="doc"
+
+# system-config-printer split since 1.1.3
+DEPEND="
+ doc? ( dev-python/epydoc )
+"
+RDEPEND="
+ !app-admin/system-config-printer:0
+ dev-libs/libxml2[python]
+ dev-python/dbus-python
+ dev-python/pycups
+ dev-python/pygobject
+ net-print/cups[dbus]
+"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-split.patch"
+
+ eaclocal
+ eautomake
+ eautoconf
+}
+
+src_configure() {
+ econf --disable-nls
+}
+
+src_compile() {
+ emake || die "emake failed"
+ if use doc; then
+ emake html || die "emake html failed"
+ fi
+}
+
+src_install() {
+ dodoc AUTHORS ChangeLog README || die "dodoc failed"
+
+ if use doc; then
+ dohtml -r html/ || die "installing html docs failed"
+ fi
+
+ emake DESTDIR="${D}" install || die "emake install failed"
+}