summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/system-config-printer-common')
-rw-r--r--app-admin/system-config-printer-common/ChangeLog9
-rw-r--r--app-admin/system-config-printer-common/files/system-config-printer-common-1.1.13-split.patch164
-rw-r--r--app-admin/system-config-printer-common/system-config-printer-common-1.1.13.ebuild59
3 files changed, 231 insertions, 1 deletions
diff --git a/app-admin/system-config-printer-common/ChangeLog b/app-admin/system-config-printer-common/ChangeLog
index c32567f6d0ae..dc820035bc8a 100644
--- a/app-admin/system-config-printer-common/ChangeLog
+++ b/app-admin/system-config-printer-common/ChangeLog
@@ -1,6 +1,13 @@
# 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.3 2009/09/12 10:29:14 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/ChangeLog,v 1.4 2009/10/14 13:21:23 abcd Exp $
+
+*system-config-printer-common-1.1.13 (14 Oct 2009)
+
+ 14 Oct 2009; Jonathan Callen <abcd@gentoo.org>
+ +system-config-printer-common-1.1.13.ebuild,
+ +files/system-config-printer-common-1.1.13-split.patch:
+ Version bump
12 Sep 2009; Raúl Porcel <armin76@gentoo.org>
system-config-printer-common-1.1.8.ebuild,
diff --git a/app-admin/system-config-printer-common/files/system-config-printer-common-1.1.13-split.patch b/app-admin/system-config-printer-common/files/system-config-printer-common-1.1.13-split.patch
new file mode 100644
index 000000000000..620aa21729b3
--- /dev/null
+++ b/app-admin/system-config-printer-common/files/system-config-printer-common-1.1.13-split.patch
@@ -0,0 +1,164 @@
+diff -ru ../system-config-printer-1.1.12/configure.in ./configure.in
+--- ../system-config-printer-1.1.12/configure.in 2009-08-25 18:01:27.000000000 +0200
++++ ./configure.in 2009-08-28 18:32:45.000000000 +0200
+@@ -1,6 +1,6 @@
+ AC_INIT(system-config-printer, 1.1.12)
+ AC_CONFIG_SRCDIR(system-config-printer.py)
+-AM_INIT_AUTOMAKE([dist-xz dist-bzip2 subdir-objects 1.6])
++AM_INIT_AUTOMAKE([dist-bzip2 subdir-objects 1.6])
+ IT_PROG_INTLTOOL
+ AM_GNU_GETTEXT([external])
+ AM_PATH_PYTHON
+diff -ru ../system-config-printer-1.1.12/Makefile.am ./Makefile.am
+--- ../system-config-printer-1.1.12/Makefile.am 2009-08-25 18:01:27.000000000 +0200
++++ ./Makefile.am 2009-08-28 18:57:38.000000000 +0200
+@@ -70,84 +70,22 @@
+ rm -f .stamp-distutils-in-builddir
+
+ nobase_pkgdata_SCRIPTS= \
+- my-default-printer.py \
+- pysmb.py \
+- system-config-printer.py \
+- troubleshoot/__init__.py \
+- applet.py
++ pysmb.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 \
+ 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/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
++ smburi.py \
++ statereason.py
+
+ if UDEV_RULES
+ udevrulesdir=$(sysconfdir)/udev/rules.d
+@@ -162,61 +100,16 @@
+ udev/udev-add-printer
+ endif
+
+-man_MANS= \
+- man/system-config-printer.1 \
+- man/system-config-printer-applet.1
+-
+ 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) \
diff --git a/app-admin/system-config-printer-common/system-config-printer-common-1.1.13.ebuild b/app-admin/system-config-printer-common/system-config-printer-common-1.1.13.ebuild
new file mode 100644
index 000000000000..4d30fbeeee21
--- /dev/null
+++ b/app-admin/system-config-printer-common/system-config-printer-common-1.1.13.ebuild
@@ -0,0 +1,59 @@
+# 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.13.ebuild,v 1.1 2009/10/14 13:21:23 abcd 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="~alpha ~amd64 ~ia64 ~x86"
+SLOT="0"
+IUSE="doc"
+
+# system-config-printer split since 1.1.3
+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]
+"
+DEPEND="${RDEPEND}
+ doc? ( dev-python/epydoc )
+"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-split.patch"
+
+ eautoreconf
+}
+
+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"
+}