View | Details | Raw Unified | Return to bug 206806
Collapse All | Expand All

(-)devel/d-feet/Makefile (-8 / +13 lines)
Lines 2-20 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	d-feet
4
PORTNAME=	d-feet
5
PORTVERSION=	0.1.12
5
PORTVERSION=	0.3.10
6
PORTREVISION=	1
7
CATEGORIES=	devel
6
CATEGORIES=	devel
8
MASTER_SITES=	GNOME/sources/d-feet/0.1
7
MASTER_SITES=	GNOME
9
8
10
MAINTAINER=	thinker@codemud.net
9
MAINTAINER=	thinker@codemud.net
11
COMMENT=	D-Feet is a D-Bus debugger written in PyGtk+ by John (J5) Palmieri
10
COMMENT=	D-Feet is a D-Bus debugger written in PyGtk+ by John (J5) Palmieri
12
11
13
RUN_DEPENDS=	\
12
BUILD_DEPENDS=	itstool:${PORTSDIR}/textproc/itstool
14
	${PYTHON_SITELIBDIR}/gtk-2.0/gtk/_gtk.so:${PORTSDIR}/x11-toolkits/py-gtk2 \
15
	${PYTHON_SITELIBDIR}/dbus/bus.py:${PORTSDIR}/devel/py-dbus
16
13
17
USES=		python
14
USES=		gettext gmake perl5 pkgconfig python tar:xz
18
USE_PYTHON=	distutils autoplist
15
USE_GNOME=	gtk30 intlhack introspection:build libxml2:build libwnck3
16
GNU_CONFIGURE=	yes
17
USE_PERL5=	build
18
INSTALLS_ICONS=	yes
19
19
20
GLIB_SCHEMAS=	org.gnome.d-feet.gschema.xml
21
22
# testsuite nneeds bin/pep8
23
CONFIGURE_ARGS+=--disable-tests
24
20
.include <bsd.port.mk>
25
.include <bsd.port.mk>
(-)devel/d-feet/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (d-feet-0.1.12.tar.gz) = 5bc22e952ee164d5a82be466be48375718d2df2e2e817204a8ab3e0325f1e688
1
SHA256 (d-feet-0.3.10.tar.xz) = 88f0df5fcb862387ff3d1793873c5eb368c3e4db0bbd82ea65f748cbf70a6359
2
SIZE (d-feet-0.1.12.tar.gz) = 38791
2
SIZE (d-feet-0.3.10.tar.xz) = 179500
(-)devel/d-feet/files/patch-d-feet (-33 lines)
Lines 1-33 Link Here
1
--- d-feet.orig	2010-09-11 16:31:34.000000000 +0800
2
+++ d-feet	2010-09-11 18:08:06.000000000 +0800
3
@@ -14,6 +14,7 @@
4
 
5
 import os, sys
6
 import optparse
7
+from pkg_resources import Requirement, resource_filename
8
 
9
 parser = optparse.OptionParser(usage="%prog [options] [project-file]")
10
 
11
@@ -27,15 +28,17 @@
12
     ENV_PATHS = {"DFEET_DATA_PATH" : "ui/",
13
                  "DFEET_IMAGE_PATH" : "ui/",
14
                  "DFEET_LOCALE_PATH" : "locale/",
15
-                 "DFEET_HELP_PATH" : "/usr/share/gnome/dfeet/"
16
+                 "DFEET_HELP_PATH" : "/usr/local/share/gnome/dfeet/"
17
                 }
18
     
19
 
20
 else:
21
-    ENV_PATHS = {"DFEET_DATA_PATH" : "/usr/share/dfeet/",
22
-                 "DFEET_IMAGE_PATH" : "/usr/share/dfeet/pixmaps/",
23
-                 "DFEET_LOCALE_PATH" : "/usr/share/locale/",
24
-                 "DFEET_HELP_PATH" : "/usr/share/gnome/dfeet/"
25
+    req = Requirement.parse("d-feet")
26
+    
27
+    ENV_PATHS = {"DFEET_DATA_PATH" : resource_filename(req, "share/dfeet/"),
28
+                 "DFEET_IMAGE_PATH" : resource_filename(req, "share/dfeet/pixmaps/"),
29
+                 "DFEET_LOCALE_PATH" : resource_filename(req, "share/locale/"),
30
+                 "DFEET_HELP_PATH" : resource_filename(req, "share/gnome/dfeet/")
31
                 }
32
 
33
 #must set variables before importing Globals because it requires them
(-)devel/d-feet/files/patch-setup.py (-10 lines)
Lines 1-10 Link Here
1
--- setup.py.orig	2010-09-11 16:27:38.000000000 +0800
2
+++ setup.py	2010-09-11 17:54:40.000000000 +0800
3
@@ -58,6 +58,7 @@
4
     platforms='linux',
5
     scripts=['d-feet'],
6
     packages=['dfeet', 'dfeet/_ui'],
7
+    zip_safe=False,
8
     data_files=[
9
         ('share/dfeet', glob.glob("ui/*.ui")),
10
         ('share/icons/hicolor/16x16/apps', glob.glob("icons/16x16/*.png")),
(-)devel/d-feet/pkg-plist (+85 lines)
Line 0 Link Here
1
bin/d-feet
2
%%PYTHON_SITELIBDIR%%/dfeet/__init__.py
3
%%PYTHON_SITELIBDIR%%/dfeet/__init__.pyc
4
%%PYTHON_SITELIBDIR%%/dfeet/__init__.pyo
5
%%PYTHON_SITELIBDIR%%/dfeet/addconnectiondialog.py
6
%%PYTHON_SITELIBDIR%%/dfeet/addconnectiondialog.pyc
7
%%PYTHON_SITELIBDIR%%/dfeet/addconnectiondialog.pyo
8
%%PYTHON_SITELIBDIR%%/dfeet/application.py
9
%%PYTHON_SITELIBDIR%%/dfeet/application.pyc
10
%%PYTHON_SITELIBDIR%%/dfeet/application.pyo
11
%%PYTHON_SITELIBDIR%%/dfeet/bus_watch.py
12
%%PYTHON_SITELIBDIR%%/dfeet/bus_watch.pyc
13
%%PYTHON_SITELIBDIR%%/dfeet/bus_watch.pyo
14
%%PYTHON_SITELIBDIR%%/dfeet/dbus_utils.py
15
%%PYTHON_SITELIBDIR%%/dfeet/dbus_utils.pyc
16
%%PYTHON_SITELIBDIR%%/dfeet/dbus_utils.pyo
17
%%PYTHON_SITELIBDIR%%/dfeet/executemethoddialog.py
18
%%PYTHON_SITELIBDIR%%/dfeet/executemethoddialog.pyc
19
%%PYTHON_SITELIBDIR%%/dfeet/executemethoddialog.pyo
20
%%PYTHON_SITELIBDIR%%/dfeet/introspection.py
21
%%PYTHON_SITELIBDIR%%/dfeet/introspection.pyc
22
%%PYTHON_SITELIBDIR%%/dfeet/introspection.pyo
23
%%PYTHON_SITELIBDIR%%/dfeet/introspection_helper.py
24
%%PYTHON_SITELIBDIR%%/dfeet/introspection_helper.pyc
25
%%PYTHON_SITELIBDIR%%/dfeet/introspection_helper.pyo
26
%%PYTHON_SITELIBDIR%%/dfeet/settings.py
27
%%PYTHON_SITELIBDIR%%/dfeet/settings.pyc
28
%%PYTHON_SITELIBDIR%%/dfeet/settings.pyo
29
%%PYTHON_SITELIBDIR%%/dfeet/uiloader.py
30
%%PYTHON_SITELIBDIR%%/dfeet/uiloader.pyc
31
%%PYTHON_SITELIBDIR%%/dfeet/uiloader.pyo
32
%%PYTHON_SITELIBDIR%%/dfeet/window.py
33
%%PYTHON_SITELIBDIR%%/dfeet/window.pyc
34
%%PYTHON_SITELIBDIR%%/dfeet/window.pyo
35
%%PYTHON_SITELIBDIR%%/dfeet/wnck_utils.py
36
%%PYTHON_SITELIBDIR%%/dfeet/wnck_utils.pyc
37
%%PYTHON_SITELIBDIR%%/dfeet/wnck_utils.pyo
38
share/appdata/d-feet.appdata.xml
39
share/applications/d-feet.desktop
40
%%DATADIR%%/ui/addconnectiondialog.ui
41
%%DATADIR%%/ui/app-menu.ui
42
%%DATADIR%%/ui/bus.ui
43
%%DATADIR%%/ui/executedialog.ui
44
%%DATADIR%%/ui/introspection.ui
45
%%DATADIR%%/ui/mainwindow.ui
46
share/help/C/d-feet/basics.page
47
share/help/C/d-feet/figures/icon.png
48
share/help/C/d-feet/index.page
49
share/icons/HighContrast/scalable/apps/d-feet.svg
50
share/icons/hicolor/16x16/apps/d-feet.png
51
share/icons/hicolor/16x16/apps/dfeet-icon-default-service.png
52
share/icons/hicolor/16x16/apps/dfeet-method-category.png
53
share/icons/hicolor/16x16/apps/dfeet-method.png
54
share/icons/hicolor/16x16/apps/dfeet-object.png
55
share/icons/hicolor/16x16/apps/dfeet-property-category.png
56
share/icons/hicolor/16x16/apps/dfeet-property.png
57
share/icons/hicolor/16x16/apps/dfeet-signal-category.png
58
share/icons/hicolor/16x16/apps/dfeet-signal.png
59
share/icons/hicolor/24x24/apps/d-feet.png
60
share/icons/hicolor/256x256/apps/d-feet.png
61
share/icons/hicolor/32x32/apps/d-feet.png
62
share/icons/hicolor/48x48/apps/d-feet.png
63
share/icons/hicolor/scalable/apps/d-feet.svg
64
share/locale/bs/LC_MESSAGES/d-feet.mo
65
share/locale/cs/LC_MESSAGES/d-feet.mo
66
share/locale/da/LC_MESSAGES/d-feet.mo
67
share/locale/de/LC_MESSAGES/d-feet.mo
68
share/locale/el/LC_MESSAGES/d-feet.mo
69
share/locale/es/LC_MESSAGES/d-feet.mo
70
share/locale/fi/LC_MESSAGES/d-feet.mo
71
share/locale/fr/LC_MESSAGES/d-feet.mo
72
share/locale/gl/LC_MESSAGES/d-feet.mo
73
share/locale/hu/LC_MESSAGES/d-feet.mo
74
share/locale/id/LC_MESSAGES/d-feet.mo
75
share/locale/lv/LC_MESSAGES/d-feet.mo
76
share/locale/pl/LC_MESSAGES/d-feet.mo
77
share/locale/pt/LC_MESSAGES/d-feet.mo
78
share/locale/pt_BR/LC_MESSAGES/d-feet.mo
79
share/locale/ru/LC_MESSAGES/d-feet.mo
80
share/locale/sl/LC_MESSAGES/d-feet.mo
81
share/locale/sr/LC_MESSAGES/d-feet.mo
82
share/locale/sr@latin/LC_MESSAGES/d-feet.mo
83
share/locale/sv/LC_MESSAGES/d-feet.mo
84
share/locale/tr/LC_MESSAGES/d-feet.mo
85
share/locale/zh_CN/LC_MESSAGES/d-feet.mo

Return to bug 206806