aboutsummaryrefslogtreecommitdiffstats
path: root/devel/d-feet
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2011-01-29 22:27:07 +0800
committermiwi <miwi@FreeBSD.org>2011-01-29 22:27:07 +0800
commit3a88d2ee9df15ba4b2635b053dcd986605ae9491 (patch)
tree59472d812f4a359df17e3c1c96f0c69257e65edd /devel/d-feet
parent6dde9481848d550e0bea79f0dd9ac66b5528fb69 (diff)
downloadfreebsd-ports-gnome-3a88d2ee9df15ba4b2635b053dcd986605ae9491.tar.gz
freebsd-ports-gnome-3a88d2ee9df15ba4b2635b053dcd986605ae9491.tar.zst
freebsd-ports-gnome-3a88d2ee9df15ba4b2635b053dcd986605ae9491.zip
D-Feet is a D-Bus debugger written in PyGtk+ by John (J5) Palmieri.
Current Features * View names on any bus * View exported objects, interfaces, methods and signals * View the full command line of services on the bus WWW: http://live.gnome.org/DFeet/ PR: ports/150489 Submitted by: Thinker K.F. Li <thinker at eeebox.branda.to> Feature safe: yes
Diffstat (limited to 'devel/d-feet')
-rw-r--r--devel/d-feet/Makefile36
-rw-r--r--devel/d-feet/distinfo2
-rw-r--r--devel/d-feet/files/patch-d-feet33
-rw-r--r--devel/d-feet/files/patch-setup.py10
-rw-r--r--devel/d-feet/pkg-descr9
-rw-r--r--devel/d-feet/pkg-plist91
6 files changed, 181 insertions, 0 deletions
diff --git a/devel/d-feet/Makefile b/devel/d-feet/Makefile
new file mode 100644
index 000000000000..b85ef71bdd8e
--- /dev/null
+++ b/devel/d-feet/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: d-feet
+# Date created: 2010-09-11
+# Whom: Thinker K.F. Li <thinker@eeebox.branda.to>
+#
+# $FreeBSD$
+#
+
+PORTNAME= d-feet
+PORTVERSION= 0.1.12
+#PORTREVISION= 0
+#PORTEPOCH= 0
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/d-feet/0.1
+
+#PKGNAMEPREFIX=
+#PKGNAMESUFFIX=
+#DISTNAME=
+#EXTRACT_SUFX=
+#DISTFILES=
+#DIST_SUBDIR= ${PORTNAME}
+#EXTRACT_ONLY=
+MAINTAINER= thinker@codemud.net
+COMMENT= D-Feet is a D-Bus debugger written in PyGtk+ by John (J5) Palmieri
+
+RUN_DEPENDS= \
+ ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/_gtk.so:${PORTSDIR}/x11-toolkits/py-gtk2 \
+ ${PYTHON_SITELIBDIR}/dbus/bus.py:${PORTSDIR}/devel/py-dbus
+
+USE_GTK= yes
+USE_PYTHON= yes
+USE_PYDISTUTILS= easy_install
+PYDISTUTILS_NOEGGINFO= yes
+
+.include <bsd.port.pre.mk>
+.include <bsd.port.post.mk>
diff --git a/devel/d-feet/distinfo b/devel/d-feet/distinfo
new file mode 100644
index 000000000000..84c1beae634c
--- /dev/null
+++ b/devel/d-feet/distinfo
@@ -0,0 +1,2 @@
+SHA256 (d-feet-0.1.12.tar.gz) = 5bc22e952ee164d5a82be466be48375718d2df2e2e817204a8ab3e0325f1e688
+SIZE (d-feet-0.1.12.tar.gz) = 38791
diff --git a/devel/d-feet/files/patch-d-feet b/devel/d-feet/files/patch-d-feet
new file mode 100644
index 000000000000..44ca2111aacd
--- /dev/null
+++ b/devel/d-feet/files/patch-d-feet
@@ -0,0 +1,33 @@
+--- d-feet.orig 2010-09-11 16:31:34.000000000 +0800
++++ d-feet 2010-09-11 18:08:06.000000000 +0800
+@@ -14,6 +14,7 @@
+
+ import os, sys
+ import optparse
++from pkg_resources import Requirement, resource_filename
+
+ parser = optparse.OptionParser(usage="%prog [options] [project-file]")
+
+@@ -27,15 +28,17 @@
+ ENV_PATHS = {"DFEET_DATA_PATH" : "ui/",
+ "DFEET_IMAGE_PATH" : "ui/",
+ "DFEET_LOCALE_PATH" : "locale/",
+- "DFEET_HELP_PATH" : "/usr/share/gnome/dfeet/"
++ "DFEET_HELP_PATH" : "/usr/local/share/gnome/dfeet/"
+ }
+
+
+ else:
+- ENV_PATHS = {"DFEET_DATA_PATH" : "/usr/share/dfeet/",
+- "DFEET_IMAGE_PATH" : "/usr/share/dfeet/pixmaps/",
+- "DFEET_LOCALE_PATH" : "/usr/share/locale/",
+- "DFEET_HELP_PATH" : "/usr/share/gnome/dfeet/"
++ req = Requirement.parse("d-feet")
++
++ ENV_PATHS = {"DFEET_DATA_PATH" : resource_filename(req, "share/dfeet/"),
++ "DFEET_IMAGE_PATH" : resource_filename(req, "share/dfeet/pixmaps/"),
++ "DFEET_LOCALE_PATH" : resource_filename(req, "share/locale/"),
++ "DFEET_HELP_PATH" : resource_filename(req, "share/gnome/dfeet/")
+ }
+
+ #must set variables before importing Globals because it requires them
diff --git a/devel/d-feet/files/patch-setup.py b/devel/d-feet/files/patch-setup.py
new file mode 100644
index 000000000000..c46c38877aaf
--- /dev/null
+++ b/devel/d-feet/files/patch-setup.py
@@ -0,0 +1,10 @@
+--- setup.py.orig 2010-09-11 16:27:38.000000000 +0800
++++ setup.py 2010-09-11 17:54:40.000000000 +0800
+@@ -58,6 +58,7 @@
+ platforms='linux',
+ scripts=['d-feet'],
+ packages=['dfeet', 'dfeet/_ui'],
++ zip_safe=False,
+ data_files=[
+ ('share/dfeet', glob.glob("ui/*.ui")),
+ ('share/icons/hicolor/16x16/apps', glob.glob("icons/16x16/*.png")),
diff --git a/devel/d-feet/pkg-descr b/devel/d-feet/pkg-descr
new file mode 100644
index 000000000000..83d0883e83dc
--- /dev/null
+++ b/devel/d-feet/pkg-descr
@@ -0,0 +1,9 @@
+D-Feet is a D-Bus debugger written in PyGtk+ by John (J5) Palmieri.
+Current Features
+ * View names on any bus
+ * View exported objects, interfaces, methods and signals
+ * View the full command line of services on the bus
+ * Execute methods with parameters on the bus and see their return values
+
+
+WWW: http://live.gnome.org/DFeet/
diff --git a/devel/d-feet/pkg-plist b/devel/d-feet/pkg-plist
new file mode 100644
index 000000000000..115ccef271ae
--- /dev/null
+++ b/devel/d-feet/pkg-plist
@@ -0,0 +1,91 @@
+@comment $FreeBSD$
+bin/d-feet
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/scripts/d-feet
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/DFeetApp.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/DFeetApp.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/DFeetApp.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/_introspect_parser.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/_introspect_parser.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/_introspect_parser.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/_ui/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/_ui/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/_ui/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/_ui/addconnectiondialog.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/_ui/addconnectiondialog.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/_ui/addconnectiondialog.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/_ui/busbox.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/_ui/busbox.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/_ui/busbox.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/_ui/busnamebox.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/_ui/busnamebox.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/_ui/busnamebox.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/_ui/busnameinfobox.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/_ui/busnameinfobox.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/_ui/busnameinfobox.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/_ui/busnameview.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/_ui/busnameview.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/_ui/busnameview.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/_ui/executemethoddialog.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/_ui/executemethoddialog.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/_ui/executemethoddialog.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/_ui/uiloader.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/_ui/uiloader.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/_ui/uiloader.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/_ui/wnck_utils.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/_ui/wnck_utils.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/_ui/wnck_utils.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/_util.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/_util.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/_util.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/dbus_introspector.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/dbus_introspector.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/dbus_introspector.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/dbus_utils.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/dbus_utils.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/dbus_utils.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/introspect_data.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/introspect_data.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/introspect_data.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/settings.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/settings.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/settings.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/applications/dfeet.desktop
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/dfeet/addconnectiondialog.ui
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/dfeet/default-actiongroup.ui
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/dfeet/executedialog.ui
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/dfeet/filterbox.ui
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/dfeet/introspectview.ui
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/dfeet/mainwindow.ui
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/dfeet/test-actions.ui
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/icons/hicolor/16x16/apps/dfeet-icon-default-service.png
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/icons/hicolor/16x16/apps/dfeet-method-category.png
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/icons/hicolor/16x16/apps/dfeet-method.png
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/icons/hicolor/16x16/apps/dfeet-object.png
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/icons/hicolor/16x16/apps/dfeet-property-category.png
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/icons/hicolor/16x16/apps/dfeet-property.png
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/icons/hicolor/16x16/apps/dfeet-signal-category.png
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/icons/hicolor/16x16/apps/dfeet-signal.png
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/icons/hicolor/48x48/apps/dfeet-icon.png
+
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/icons/hicolor/48x48/apps
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/icons/hicolor/48x48
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/icons/hicolor/16x16/apps
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/icons/hicolor/16x16
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/icons/hicolor
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/icons
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/dfeet
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/applications
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet/_ui
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dfeet
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/scripts
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%