summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2012-11-06 03:13:28 +0000
committerMaciej Mrozowski <reavertm@gentoo.org>2012-11-06 03:13:28 +0000
commit2ee8f50b36d012aab27b56a6ebcc9a2f4faaea2f (patch)
tree91c7be735c580ae8065bdf043aeb8539361f1c9d /app-admin/system-config-printer-common
parentstable ppc ppc64, bug #441196 (diff)
downloadgentoo-2-2ee8f50b36d012aab27b56a6ebcc9a2f4faaea2f.tar.gz
gentoo-2-2ee8f50b36d012aab27b56a6ebcc9a2f4faaea2f.tar.bz2
gentoo-2-2ee8f50b36d012aab27b56a6ebcc9a2f4faaea2f.zip
Version bump, bug 439848, remove old
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key B1E955DB)
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.3.12-split.patch177
-rw-r--r--app-admin/system-config-printer-common/system-config-printer-common-1.3.12.ebuild91
3 files changed, 276 insertions, 1 deletions
diff --git a/app-admin/system-config-printer-common/ChangeLog b/app-admin/system-config-printer-common/ChangeLog
index 6434a03c156d..5448a0ea69ef 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-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/ChangeLog,v 1.82 2012/09/30 17:37:32 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/ChangeLog,v 1.83 2012/11/06 03:13:28 reavertm Exp $
+
+*system-config-printer-common-1.3.12 (06 Nov 2012)
+
+ 06 Nov 2012; Maciej Mrozowski <reavertm@gentoo.org>
+ +files/system-config-printer-common-1.3.12-split.patch,
+ +system-config-printer-common-1.3.12.ebuild:
+ Version bump, bug 439848, remove old
30 Sep 2012; Raúl Porcel <armin76@gentoo.org>
system-config-printer-common-1.3.11-r1.ebuild:
diff --git a/app-admin/system-config-printer-common/files/system-config-printer-common-1.3.12-split.patch b/app-admin/system-config-printer-common/files/system-config-printer-common-1.3.12-split.patch
new file mode 100644
index 000000000000..ca4e5599890a
--- /dev/null
+++ b/app-admin/system-config-printer-common/files/system-config-printer-common-1.3.12-split.patch
@@ -0,0 +1,177 @@
+diff -ruN system-config-printer-1.3.12/Makefile.am my/Makefile.am
+--- system-config-printer-1.3.12/Makefile.am 2012-10-04 15:51:04.000000000 +0200
++++ my/Makefile.am 2012-11-06 03:48:12.392483514 +0100
+@@ -1,4 +1,4 @@
+-CFLAGS=-g -O2 -Wall
++CFLAGS=-Wall
+
+ SUBDIRS=po
+
+@@ -84,88 +84,21 @@
+ rm -f .stamp-distutils-in-builddir
+
+ nobase_pkgdata_SCRIPTS= \
+- check-device-ids.py \
+- pysmb.py \
+- scp-dbus-service.py \
+- system-config-printer.py \
+- troubleshoot/__init__.py \
+- applet.py
++ check-device-ids.py
+
+ nobase_pkgdata_DATA= \
+- asyncconn.py \
+- asyncipp.py \
+- asyncpk1.py \
+- authconn.py \
+ config.py \
+- cupspk.py \
+ debug.py \
+ dnssdresolve.py \
+- errordialogs.py \
+- HIG.py \
+ firewall.py \
+- gui.py \
+- gtkinklevel.py \
+- gtkspinner.py \
+ installpackage.py \
+- jobviewer.py \
+ monitor.py \
+- newprinter.py \
+- options.py \
+- optionwidgets.py \
+ PhysicalDevice.py \
+- ppdcache.py \
+ ppdippstr.py \
+- ppdsloader.py \
+- printerproperties.py \
+ probe_printer.py \
+- gtk_label_autowrap.py \
+ SearchCriterion.py \
+- serversettings.py \
+ smburi.py \
+ statereason.py \
+- timedops.py \
+- ToolbarSearchEntry.py \
+- userdefault.py \
+- ui/AboutDialog.ui \
+- ui/ConnectDialog.ui \
+- ui/ConnectingDialog.ui \
+- ui/InstallDialog.ui \
+- ui/JobsWindow.ui \
+- ui/NewPrinterName.ui \
+- ui/NewPrinterWindow.ui \
+- ui/PrinterPropertiesDialog.ui \
+- ui/PrintersWindow.ui \
+- ui/ServerSettingsDialog.ui \
+- ui/SMBBrowseDialog.ui \
+- ui/statusicon_popupmenu.ui \
+- ui/WaitWindow.ui \
+- icons/i-network-printer.png \
+- troubleshoot/base.py \
+- troubleshoot/CheckLocalServerPublishing.py \
+- troubleshoot/CheckNetworkServerSanity.py \
+- troubleshoot/CheckPPDSanity.py \
+- troubleshoot/CheckPrinterSanity.py \
+- troubleshoot/CheckSELinux.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/VerifyPackages.py \
+- troubleshoot/Welcome.py \
+ xml/preferreddrivers.rng \
+ xml/validate.py
+
+@@ -173,18 +106,13 @@
+ cupshelpers_DATA=\
+ xml/preferreddrivers.xml
+
+-bin_SCRIPTS= \
+- system-config-printer \
+- system-config-printer-applet \
+- dbus/scp-dbus-service
+-
+ if UDEV_RULES
+ udevrulesdir=$(sysconfdir)/udev/rules.d
+ udevrules_DATA=udev/70-printers.rules
+ udev_udev_configure_printer_SOURCES=\
+ udev/udev-configure-printer.c
+-udev_udev_configure_printer_LDADD= -lcups -ludev $(libusb_LIBS) $(GLIB_LIBS)
+-udev_udev_configure_printer_CFLAGS= $(AM_CFLAGS) $(libusb_CFLAGS) $(GLIB_CFLAGS)
++udev_udev_configure_printer_LDADD= -lcups $(libudev_LIBS) $(libusb_LIBS) $(GLIB_LIBS)
++udev_udev_configure_printer_CFLAGS= $(AM_CFLAGS) $(libudev_CFLAGS) $(libusb_CFLAGS) $(GLIB_CFLAGS)
+ udevhelperdir=$(sysconfdir)/udev
+ udevhelper_PROGRAMS=\
+ udev/udev-configure-printer
+@@ -202,56 +130,17 @@
+
+ endif
+
+-man_MANS= \
+- man/system-config-printer.1 \
+- man/system-config-printer-applet.1
+-
+ dbus_DATA = \
+ dbus/com.redhat.NewPrinterNotification.conf \
+ dbus/com.redhat.PrinterDriversInstaller.conf
+ dbusdir = $(sysconfdir)/dbus-1/system.d/
+
+-dbusinterfaces_DATA = \
+- dbus/org.fedoraproject.Config.Printing.xml
+-dbusinterfacesdir = $(datadir)/dbus-1/interfaces/
+-
+-dbusservices_DATA = \
+- dbus/org.fedoraproject.Config.Printing.service
+-dbusservicesdir = $(datadir)/dbus-1/services/
+-
+-desktop_DATA =\
+- system-config-printer.desktop \
+- print-applet.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)$(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)$(autostartdir)/$(DESKTOP_PREFIX)print-applet.desktop
+-
+-desktop_in_files = $(desktop_DATA:.desktop=.desktop.in)
+-
+ EXTRA_DIST=\
+ $(nobase_pkgdata_SCRIPTS) \
+ $(nobase_pkgdata_DATA) \
diff --git a/app-admin/system-config-printer-common/system-config-printer-common-1.3.12.ebuild b/app-admin/system-config-printer-common/system-config-printer-common-1.3.12.ebuild
new file mode 100644
index 000000000000..98d57d3a539c
--- /dev/null
+++ b/app-admin/system-config-printer-common/system-config-printer-common-1.3.12.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2012 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.12.ebuild,v 1.1 2012/11/06 03:13:28 reavertm Exp $
+
+EAPI=4
+
+PYTHON_DEPEND="2:2.6"
+WANT_AUTOMAKE="1.11"
+
+inherit autotools eutils python toolchain-funcs
+
+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/${PN/-common}/${PV%.*}/${MY_P}.tar.xz"
+
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
+SLOT="0"
+IUSE="doc policykit"
+
+# Needs cups running, bug 284005
+RESTRICT="test"
+
+# system-config-printer split since 1.1.3
+COMMON_DEPEND="
+ >=dev-libs/glib-2
+ dev-libs/libxml2[python]
+ dev-python/dbus-python
+ >=dev-python/pycups-1.9.60
+ dev-python/pycurl
+ >=dev-python/pygobject-2.21.5:2
+ net-print/cups[dbus]
+ >=sys-fs/udev-172
+ virtual/libusb:1
+"
+DEPEND="${COMMON_DEPEND}
+ dev-util/intltool
+ virtual/pkgconfig
+ doc? ( dev-python/epydoc )
+"
+RDEPEND="${COMMON_DEPEND}
+ !<app-admin/system-config-printer-gnome-${PV}
+ policykit? ( >=sys-auth/polkit-0.104-r1 )
+"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PN}-1.3.12-split.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-nls \
+ --with-udev-rules
+}
+
+src_compile() {
+ emake
+ use doc && emake html
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ udevhelperdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)" \
+ udevrulesdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)/rules.d" \
+ install
+
+ dodoc AUTHORS ChangeLog README
+ use doc && dohtml -r html/
+
+ python_convert_shebangs -q -r $(python_get_version) "${ED}"
+}
+
+pkg_postinst() {
+ python_mod_optimize cupshelpers
+}
+
+pkg_postrm() {
+ python_mod_cleanup cupshelpers /usr/share/system-config-printer
+}