summaryrefslogtreecommitdiffstats
path: root/print/system-config-printer
diff options
context:
space:
mode:
Diffstat (limited to 'print/system-config-printer')
-rw-r--r--print/system-config-printer/Makefile44
-rw-r--r--print/system-config-printer/distinfo3
-rw-r--r--print/system-config-printer/files/patch-applet.py20
-rw-r--r--print/system-config-printer/files/patch-cupshelpers_cupshelpers.py20
-rw-r--r--print/system-config-printer/files/patch-my-default-printer6
-rw-r--r--print/system-config-printer/files/patch-system-config-printer6
-rw-r--r--print/system-config-printer/files/patch-system-config-printer-applet6
-rw-r--r--print/system-config-printer/files/patch-system-config-printer.py43
-rw-r--r--print/system-config-printer/files/patch-troubleshoot_CheckUSBPermissions.py11
-rw-r--r--print/system-config-printer/pkg-descr7
-rw-r--r--print/system-config-printer/pkg-plist184
11 files changed, 0 insertions, 350 deletions
diff --git a/print/system-config-printer/Makefile b/print/system-config-printer/Makefile
deleted file mode 100644
index 01d464cdb..000000000
--- a/print/system-config-printer/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-# New ports collection makefile for: system-config-printer
-# Date created: 2008-03-20
-# Whom: Michael Johnson <ahze@FreeBSD.org>
-#
-# $FreeBSD$
-# $MCom: ports/print/system-config-printer/Makefile,v 1.5 2009/12/29 16:02:30 ahze Exp $
-#
-
-PORTNAME= system-config-printer
-PORTVERSION= 1.1.16
-PORTREVISION= 1
-CATEGORIES= print gnome
-MASTER_SITES= http://cyberelk.net/tim/data/${PORTNAME}/${PORTVERSION:R}/
-
-MAINTAINER= gnome@FreeBSD.org
-COMMENT= CUPS configuration Gtk+2.0 GUI
-
-BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/cups.so:${PORTSDIR}/print/py-cups \
- ${LOCALBASE}/libdata/pkgconfig/notify-python.pc:${PORTSDIR}/devel/py-notify \
- xmlproc_parse:${PORTSDIR}/textproc/py-xml \
- ${LOCALBASE}/libdata/pkgconfig/dbus-python.pc:${PORTSDIR}/devel/py-dbus \
- xmlto:${PORTSDIR}/textproc/xmlto \
- desktop-file-install:${PORTSDIR}/devel/desktop-file-utils
-RUN_DEPENDS= ${PYTHON_SITELIBDIR}/cups.so:${PORTSDIR}/print/py-cups \
- ${LOCALBASE}/libdata/pkgconfig/notify-python.pc:${PORTSDIR}/devel/py-notify \
- xmlproc_parse:${PORTSDIR}/textproc/py-xml \
- ${LOCALBASE}/libdata/pkgconfig/dbus-python.pc:${PORTSDIR}/devel/py-dbus \
- ${LOCALBASE}/libexec/cups-pk-helper-mechanism:${PORTSDIR}/print/cups-pk-helper
-
-USE_BZIP2= yes
-USE_PYTHON= 2.6+
-GNU_CONFIGURE= yes
-USE_GMAKE= yes
-USE_GETTEXT= yes
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
-USE_GNOME= pygtk2
-MAN1= system-config-printer-applet.1 system-config-printer.1
-PLIST_SUB= PYTHON_VER=${PYTHON_VER}
-
-post-patch:
- @${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e \
- 's|%%LOCALBASE%%|${LOCALBASE}|g; s|%%PREFIX%%|${PREFIX}|g'
-
-.include <bsd.port.mk>
diff --git a/print/system-config-printer/distinfo b/print/system-config-printer/distinfo
deleted file mode 100644
index 166a1797f..000000000
--- a/print/system-config-printer/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (system-config-printer-1.1.16.tar.bz2) = 22394a052fa730a890f6bfea1aec0aa2
-SHA256 (system-config-printer-1.1.16.tar.bz2) = 176b63ee6af2208313469192eb34eb12b41fe8b890a18c8a5ab693010a8e785d
-SIZE (system-config-printer-1.1.16.tar.bz2) = 1036604
diff --git a/print/system-config-printer/files/patch-applet.py b/print/system-config-printer/files/patch-applet.py
deleted file mode 100644
index d21bb2a2e..000000000
--- a/print/system-config-printer/files/patch-applet.py
+++ /dev/null
@@ -1,20 +0,0 @@
---- applet.py.orig 2009-12-22 09:44:19.000000000 -0500
-+++ applet.py 2009-12-29 00:06:27.000000000 -0500
-@@ -43,7 +43,7 @@
- os.environ['LC_ALL'] = 'C'
- locale.setlocale (locale.LC_ALL, "")
-
--APPDIR="/usr/share/system-config-printer"
-+APPDIR="%%PREFIX%%/share/system-config-printer"
- DOMAIN="system-config-printer"
- ICON="printer"
- SEARCHING_ICON="document-print-preview"
-@@ -234,7 +234,7 @@
- pid = os.fork ()
- if pid == 0:
- # Child.
-- cmd = "/usr/bin/system-config-printer"
-+ cmd = "%%PREFIX%%/bin/system-config-printer"
- argv.insert (0, cmd)
- os.execvp (cmd, argv)
- sys.exit (1)
diff --git a/print/system-config-printer/files/patch-cupshelpers_cupshelpers.py b/print/system-config-printer/files/patch-cupshelpers_cupshelpers.py
deleted file mode 100644
index 079c395ad..000000000
--- a/print/system-config-printer/files/patch-cupshelpers_cupshelpers.py
+++ /dev/null
@@ -1,20 +0,0 @@
---- cupshelpers/cupshelpers.py.orig 2009-12-22 09:44:19.000000000 -0500
-+++ cupshelpers/cupshelpers.py 2009-12-29 00:08:26.000000000 -0500
-@@ -663,7 +663,7 @@
-
- # First, a local function. How to check that something exists
- # in a path:
-- def pathcheck (name, path="/usr/bin:/bin"):
-+ def pathcheck (name, path="%%LOCALBASE%%/bin:%%PREFIX%%/bin:/usr/bin:/bin"):
- if name == "-":
- # A filter of "-" means that no filter is required,
- # i.e. the device accepts the given format as-is.
-@@ -765,7 +765,7 @@
- continue
-
- exepath = pathcheck (exe,
-- "/usr/lib/cups/filter:"
-+ "%%LOCALBASE%%/libexec/cups/filter:"
- "/usr/lib64/cups/filter")
-
- if exe and not exepath:
diff --git a/print/system-config-printer/files/patch-my-default-printer b/print/system-config-printer/files/patch-my-default-printer
deleted file mode 100644
index d5678c0a9..000000000
--- a/print/system-config-printer/files/patch-my-default-printer
+++ /dev/null
@@ -1,6 +0,0 @@
---- my-default-printer.orig 2008-03-20 11:53:08.000000000 -0400
-+++ my-default-printer 2008-03-20 11:53:17.000000000 -0400
-@@ -1,2 +1,2 @@
- #!/bin/sh
--exec /usr/share/system-config-printer/my-default-printer.py "$@"
-+exec %%PREFIX%%/share/system-config-printer/my-default-printer.py "$@"
diff --git a/print/system-config-printer/files/patch-system-config-printer b/print/system-config-printer/files/patch-system-config-printer
deleted file mode 100644
index 17f1bf5fb..000000000
--- a/print/system-config-printer/files/patch-system-config-printer
+++ /dev/null
@@ -1,6 +0,0 @@
---- system-config-printer.orig 2008-03-20 11:56:46.000000000 -0400
-+++ system-config-printer 2008-03-20 11:56:58.000000000 -0400
-@@ -1,2 +1,2 @@
- #!/bin/sh
--exec /usr/share/system-config-printer/system-config-printer.py "$@"
-+exec %%PREFIX%%/share/system-config-printer/system-config-printer.py "$@"
diff --git a/print/system-config-printer/files/patch-system-config-printer-applet b/print/system-config-printer/files/patch-system-config-printer-applet
deleted file mode 100644
index b9d8e3125..000000000
--- a/print/system-config-printer/files/patch-system-config-printer-applet
+++ /dev/null
@@ -1,6 +0,0 @@
---- system-config-printer-applet.orig 2008-03-20 11:57:22.000000000 -0400
-+++ system-config-printer-applet 2008-03-20 11:57:32.000000000 -0400
-@@ -1,2 +1,2 @@
- #!/bin/sh
--exec /usr/share/system-config-printer/applet.py "$@"
-+exec %%PREFIX%%/share/system-config-printer/applet.py "$@"
diff --git a/print/system-config-printer/files/patch-system-config-printer.py b/print/system-config-printer/files/patch-system-config-printer.py
deleted file mode 100644
index c0129a32c..000000000
--- a/print/system-config-printer/files/patch-system-config-printer.py
+++ /dev/null
@@ -1,43 +0,0 @@
---- system-config-printer.py.orig 2009-12-22 09:44:19.000000000 -0500
-+++ system-config-printer.py 2009-12-29 00:35:54.000000000 -0500
-@@ -4344,7 +4344,7 @@
- if may_be_ps:
- debugprint ("Printer might support PostScript")
- try:
-- os.stat ("/usr/share/cups/model/foomatic-db-ppds")
-+ os.stat ("%%LOCALBASE%%/share/cups/model/foomatic-db-ppds")
- debugprint ("foomatic-db-ppds already installed")
- except OSError:
- debugprint ("foomatic-db-ppds not yet installed")
-@@ -4892,11 +4892,11 @@
- # Problem executing command.
- return True # assume plugin not required
- else:
-- if glob.glob("/usr/share/hplip/data/plugin/*%s*plugin*" %
-+ if glob.glob("%%LOCALBASE%%share/hplip/data/plugin/*%s*plugin*" %
- hplip_version):
- if hplip_version.startswith("2"):
- try:
-- f = open('/etc/hp/hplip.conf', 'r')
-+ f = open('%%LOCALBASE%%/etc/hp/hplip.conf', 'r')
- for line in f:
- if line.strip ().startswith("plugin") and \
- line.strip ().endswith("1"):
-@@ -5082,7 +5082,7 @@
- # Try to get make and model via SNMP
- if host:
- os.environ["HOST"] = host
-- cmd = '/usr/lib/cups/backend/snmp "${HOST}"'
-+ cmd = '%%LOCALBASE%%/libexec/cups/backend/snmp "${HOST}"'
- debugprint (host + ": " + cmd)
- stdout = None
- try:
-@@ -6621,7 +6621,7 @@
- try:
- # We want this to be in the current natural language,
- # so we intentionally don't set LC_ALL=C here.
-- p = subprocess.Popen (['/usr/bin/cupstestppd',
-+ p = subprocess.Popen (['%%LOCALBASE%%/bin/cupstestppd',
- '-rvv', filename],
- stdin=file("/dev/null"),
- stdout=subprocess.PIPE,
diff --git a/print/system-config-printer/files/patch-troubleshoot_CheckUSBPermissions.py b/print/system-config-printer/files/patch-troubleshoot_CheckUSBPermissions.py
deleted file mode 100644
index 8fc60a760..000000000
--- a/print/system-config-printer/files/patch-troubleshoot_CheckUSBPermissions.py
+++ /dev/null
@@ -1,11 +0,0 @@
---- troubleshoot/CheckUSBPermissions.py.orig 2008-07-26 13:36:20.440361271 -0500
-+++ troubleshoot/CheckUSBPermissions.py 2008-07-26 13:36:36.255172372 -0500
-@@ -51,7 +51,7 @@
- if not os.access (LSUSB, os.X_OK):
- return False
-
-- GETFACL = "/usr/bin/getfacl"
-+ GETFACL = "/bin/getfacl"
- if not os.access (GETFACL, os.X_OK):
- return False
-
diff --git a/print/system-config-printer/pkg-descr b/print/system-config-printer/pkg-descr
deleted file mode 100644
index 3dcfd9461..000000000
--- a/print/system-config-printer/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-CUPS configuration Gtk+2.0 GUI
-
-Configures a CUPS server. It uses the CUPS API (bound to Python with pycups)
-to do this. The communication with the server is performed using IPP. As a
-result, it is equally able to configure a remote CUPS server as a local one.
-
-WWW: http://cyberelk.net/tim/software/system-config-printer/
diff --git a/print/system-config-printer/pkg-plist b/print/system-config-printer/pkg-plist
deleted file mode 100644
index fea8725a0..000000000
--- a/print/system-config-printer/pkg-plist
+++ /dev/null
@@ -1,184 +0,0 @@
-bin/my-default-printer
-bin/system-config-printer
-bin/system-config-printer-applet
-etc/dbus-1/system.d/newprinternotification.conf
-etc/xdg/autostart/print-applet.desktop
-%%PYTHON_SITELIBDIR%%/cupshelpers-1.0-py%PYTHON_VER%%.egg-info
-%%PYTHON_SITELIBDIR%%/cupshelpers/__init__.py
-%%PYTHON_SITELIBDIR%%/cupshelpers/__init__.pyc
-%%PYTHON_SITELIBDIR%%/cupshelpers/cupshelpers.py
-%%PYTHON_SITELIBDIR%%/cupshelpers/cupshelpers.pyc
-%%PYTHON_SITELIBDIR%%/cupshelpers/openprinting.py
-%%PYTHON_SITELIBDIR%%/cupshelpers/openprinting.pyc
-%%PYTHON_SITELIBDIR%%/cupshelpers/ppds.py
-%%PYTHON_SITELIBDIR%%/cupshelpers/ppds.pyc
-share/applications/manage-print-jobs.desktop
-share/applications/my-default-printer.desktop
-share/applications/system-config-printer.desktop
-share/locale/ar/LC_MESSAGES/system-config-printer.mo
-share/locale/as/LC_MESSAGES/system-config-printer.mo
-share/locale/bg/LC_MESSAGES/system-config-printer.mo
-share/locale/bn/LC_MESSAGES/system-config-printer.mo
-share/locale/bn_IN/LC_MESSAGES/system-config-printer.mo
-share/locale/bs/LC_MESSAGES/system-config-printer.mo
-share/locale/ca/LC_MESSAGES/system-config-printer.mo
-share/locale/cs/LC_MESSAGES/system-config-printer.mo
-share/locale/cy/LC_MESSAGES/system-config-printer.mo
-share/locale/da/LC_MESSAGES/system-config-printer.mo
-share/locale/de/LC_MESSAGES/system-config-printer.mo
-share/locale/el/LC_MESSAGES/system-config-printer.mo
-share/locale/en_GB/LC_MESSAGES/system-config-printer.mo
-share/locale/es/LC_MESSAGES/system-config-printer.mo
-share/locale/et/LC_MESSAGES/system-config-printer.mo
-share/locale/fa/LC_MESSAGES/system-config-printer.mo
-share/locale/fi/LC_MESSAGES/system-config-printer.mo
-share/locale/fr/LC_MESSAGES/system-config-printer.mo
-share/locale/gu/LC_MESSAGES/system-config-printer.mo
-share/locale/he/LC_MESSAGES/system-config-printer.mo
-share/locale/hi/LC_MESSAGES/system-config-printer.mo
-share/locale/hr/LC_MESSAGES/system-config-printer.mo
-share/locale/hu/LC_MESSAGES/system-config-printer.mo
-share/locale/hy/LC_MESSAGES/system-config-printer.mo
-share/locale/id/LC_MESSAGES/system-config-printer.mo
-share/locale/is/LC_MESSAGES/system-config-printer.mo
-share/locale/it/LC_MESSAGES/system-config-printer.mo
-share/locale/ja/LC_MESSAGES/system-config-printer.mo
-share/locale/ka/LC_MESSAGES/system-config-printer.mo
-share/locale/kn/LC_MESSAGES/system-config-printer.mo
-share/locale/ko/LC_MESSAGES/system-config-printer.mo
-share/locale/lo/LC_MESSAGES/system-config-printer.mo
-share/locale/lv/LC_MESSAGES/system-config-printer.mo
-share/locale/mai/LC_MESSAGES/system-config-printer.mo
-share/locale/mk/LC_MESSAGES/system-config-printer.mo
-share/locale/ml/LC_MESSAGES/system-config-printer.mo
-share/locale/mr/LC_MESSAGES/system-config-printer.mo
-share/locale/ms/LC_MESSAGES/system-config-printer.mo
-share/locale/my/LC_MESSAGES/system-config-printer.mo
-share/locale/nb/LC_MESSAGES/system-config-printer.mo
-share/locale/nl/LC_MESSAGES/system-config-printer.mo
-share/locale/nn/LC_MESSAGES/system-config-printer.mo
-share/locale/or/LC_MESSAGES/system-config-printer.mo
-share/locale/pa/LC_MESSAGES/system-config-printer.mo
-share/locale/pl/LC_MESSAGES/system-config-printer.mo
-share/locale/pt/LC_MESSAGES/system-config-printer.mo
-share/locale/pt_BR/LC_MESSAGES/system-config-printer.mo
-share/locale/ro/LC_MESSAGES/system-config-printer.mo
-share/locale/ru/LC_MESSAGES/system-config-printer.mo
-share/locale/si/LC_MESSAGES/system-config-printer.mo
-share/locale/sk/LC_MESSAGES/system-config-printer.mo
-share/locale/sl/LC_MESSAGES/system-config-printer.mo
-share/locale/sr/LC_MESSAGES/system-config-printer.mo
-share/locale/sr@latin/LC_MESSAGES/system-config-printer.mo
-share/locale/sv/LC_MESSAGES/system-config-printer.mo
-share/locale/ta/LC_MESSAGES/system-config-printer.mo
-share/locale/te/LC_MESSAGES/system-config-printer.mo
-share/locale/th/LC_MESSAGES/system-config-printer.mo
-share/locale/tr/LC_MESSAGES/system-config-printer.mo
-share/locale/uk/LC_MESSAGES/system-config-printer.mo
-share/locale/vi/LC_MESSAGES/system-config-printer.mo
-share/locale/zh_CN/LC_MESSAGES/system-config-printer.mo
-share/locale/zh_TW/LC_MESSAGES/system-config-printer.mo
-%%DATADIR%%/AdvancedServerSettings.py
-%%DATADIR%%/GroupsPane.py
-%%DATADIR%%/GroupsPaneModel.py
-%%DATADIR%%/HIG.py
-%%DATADIR%%/PhysicalDevice.py
-%%DATADIR%%/SearchCriterion.py
-%%DATADIR%%/ToolbarSearchEntry.py
-%%DATADIR%%/XmlHelper.py
-%%DATADIR%%/applet.py
-%%DATADIR%%/asyncconn.py
-%%DATADIR%%/asyncipp.py
-%%DATADIR%%/asyncpk0.py
-%%DATADIR%%/asyncpk1.py
-%%DATADIR%%/authconn.py
-%%DATADIR%%/config.py
-%%DATADIR%%/cupspk.py
-%%DATADIR%%/debug.py
-%%DATADIR%%/errordialogs.py
-%%DATADIR%%/firewall.py
-%%DATADIR%%/glade.py
-%%DATADIR%%/glade/AboutDialog.glade
-%%DATADIR%%/glade/ConnectDialog.glade
-%%DATADIR%%/glade/ConnectingDialog.glade
-%%DATADIR%%/glade/InstallDialog.glade
-%%DATADIR%%/glade/JobsWindow.glade
-%%DATADIR%%/glade/NewPrinterName.glade
-%%DATADIR%%/glade/NewPrinterWindow.glade
-%%DATADIR%%/glade/PrinterPropertiesDialog.glade
-%%DATADIR%%/glade/PrintersWindow.glade
-%%DATADIR%%/glade/SMBBrowseDialog.glade
-%%DATADIR%%/glade/ServerSettingsDialog.glade
-%%DATADIR%%/glade/WaitWindow.glade
-%%DATADIR%%/glade/statusicon_popupmenu.glade
-%%DATADIR%%/gtk_label_autowrap.py
-%%DATADIR%%/gtkinklevel.py
-%%DATADIR%%/gtkspinner.py
-%%DATADIR%%/icons/i-network-printer.png
-%%DATADIR%%/installpackage.py
-%%DATADIR%%/jobviewer.py
-%%DATADIR%%/monitor.py
-%%DATADIR%%/my-default-printer.py
-%%DATADIR%%/options.py
-%%DATADIR%%/optionwidgets.py
-%%DATADIR%%/ppdippstr.py
-%%DATADIR%%/probe_printer.py
-%%DATADIR%%/pysmb.py
-%%DATADIR%%/smburi.py
-%%DATADIR%%/statereason.py
-%%DATADIR%%/system-config-printer.py
-%%DATADIR%%/timedops.py
-%%DATADIR%%/troubleshoot/CheckLocalServerPublishing.py
-%%DATADIR%%/troubleshoot/CheckNetworkServerSanity.py
-%%DATADIR%%/troubleshoot/CheckPPDSanity.py
-%%DATADIR%%/troubleshoot/CheckPrinterSanity.py
-%%DATADIR%%/troubleshoot/CheckUSBPermissions.py
-%%DATADIR%%/troubleshoot/ChooseNetworkPrinter.py
-%%DATADIR%%/troubleshoot/ChoosePrinter.py
-%%DATADIR%%/troubleshoot/DeviceListed.py
-%%DATADIR%%/troubleshoot/ErrorLogCheckpoint.py
-%%DATADIR%%/troubleshoot/ErrorLogFetch.py
-%%DATADIR%%/troubleshoot/ErrorLogParse.py
-%%DATADIR%%/troubleshoot/LocalOrRemote.py
-%%DATADIR%%/troubleshoot/Locale.py
-%%DATADIR%%/troubleshoot/NetworkCUPSPrinterShared.py
-%%DATADIR%%/troubleshoot/PrintTestPage.py
-%%DATADIR%%/troubleshoot/PrinterStateReasons.py
-%%DATADIR%%/troubleshoot/QueueNotEnabled.py
-%%DATADIR%%/troubleshoot/QueueRejectingJobs.py
-%%DATADIR%%/troubleshoot/RemoteAddress.py
-%%DATADIR%%/troubleshoot/SchedulerNotRunning.py
-%%DATADIR%%/troubleshoot/ServerFirewalled.py
-%%DATADIR%%/troubleshoot/Shrug.py
-%%DATADIR%%/troubleshoot/Welcome.py
-%%DATADIR%%/troubleshoot/__init__.py
-%%DATADIR%%/troubleshoot/base.py
-%%DATADIR%%/userdefault.py
-@dirrm %%DATADIR%%/troubleshoot
-@dirrm %%DATADIR%%/icons
-@dirrm %%DATADIR%%/glade
-@dirrm %%DATADIR%%
-@dirrmtry share/applications
-@dirrm %%PYTHON_SITELIBDIR%%/cupshelpers
-@dirrmtry etc/xdg/autostart
-@dirrmtry etc/xdg
-@dirrmtry share/locale/te/LC_MESSAGES
-@dirrmtry share/locale/te
-@dirrmtry share/locale/sr@latin/LC_MESSAGES
-@dirrmtry share/locale/sr@latin
-@dirrmtry share/locale/si/LC_MESSAGES
-@dirrmtry share/locale/si
-@dirrmtry share/locale/my/LC_MESSAGES
-@dirrmtry share/locale/my
-@dirrmtry share/locale/mr/LC_MESSAGES
-@dirrmtry share/locale/mr
-@dirrmtry share/locale/mai/LC_MESSAGES
-@dirrmtry share/locale/mai
-@dirrmtry share/locale/lo/LC_MESSAGES
-@dirrmtry share/locale/lo
-@dirrmtry share/locale/hy/LC_MESSAGES
-@dirrmtry share/locale/hy
-@dirrmtry share/locale/bn_IN/LC_MESSAGES
-@dirrmtry share/locale/bn_IN
-@dirrmtry share/locale/as/LC_MESSAGES
-@dirrmtry share/locale/as