diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-07-18 20:26:50 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-07-18 20:26:50 +0800 |
commit | 0325264b81ca8c91adde22d2984f2688495bff67 (patch) | |
tree | e7ac85e920e1b3900695a9c23bd06e93896e74ca /deskutils/alacarte | |
parent | e374295496b27d65f563cb386dd3e92d4fae0dc1 (diff) | |
download | marcuscom-ports-0325264b81ca8c91adde22d2984f2688495bff67.tar marcuscom-ports-0325264b81ca8c91adde22d2984f2688495bff67.tar.gz marcuscom-ports-0325264b81ca8c91adde22d2984f2688495bff67.tar.bz2 marcuscom-ports-0325264b81ca8c91adde22d2984f2688495bff67.tar.lz marcuscom-ports-0325264b81ca8c91adde22d2984f2688495bff67.tar.xz marcuscom-ports-0325264b81ca8c91adde22d2984f2688495bff67.tar.zst marcuscom-ports-0325264b81ca8c91adde22d2984f2688495bff67.zip |
- Move to LOCALBASE
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6621 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'deskutils/alacarte')
-rw-r--r-- | deskutils/alacarte/Makefile | 25 | ||||
-rw-r--r-- | deskutils/alacarte/distinfo | 3 | ||||
-rw-r--r-- | deskutils/alacarte/files/patch-GnomeDialogHandler.py | 26 | ||||
-rw-r--r-- | deskutils/alacarte/pkg-descr | 6 | ||||
-rw-r--r-- | deskutils/alacarte/pkg-plist | 37 |
5 files changed, 97 insertions, 0 deletions
diff --git a/deskutils/alacarte/Makefile b/deskutils/alacarte/Makefile new file mode 100644 index 000000000..7637a9ef6 --- /dev/null +++ b/deskutils/alacarte/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: menueditor +# Date created: 22 March 2005 +# Whom: FreeBSD GNOME Team +# +# $FreeBSD$ +# $MCom$ + +PORTNAME= alacarte +PORTVERSION= 0.8 +PORTREVISION= 2 +CATEGORIES= deskutils +MASTER_SITES= http://dev.realistanew.com/${PORTNAME}/releases/${PORTVERSION}/ + +MAINTAINER= gnome@FreeBSD.org +COMMENT= An editor for the freedesktop.org menu specification + +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/xdg/__init__.py:${PORTSDIR}/devel/py-xdg + +USE_GNOME= pygtk2 pygnome2 +USE_GETTEXT= yes +USE_PYTHON= yes +USE_PYDISTUTILS= yes +PYDISTUTILS_INSTALLARGS= -c -O1 --prefix=${PREFIX} --install-lib=${PYTHON_SITELIBDIR} + +.include <bsd.port.mk> diff --git a/deskutils/alacarte/distinfo b/deskutils/alacarte/distinfo new file mode 100644 index 000000000..cb69ea50e --- /dev/null +++ b/deskutils/alacarte/distinfo @@ -0,0 +1,3 @@ +MD5 (alacarte-0.8.tar.gz) = 849fc35c84c81736974217bb810390b1 +SHA256 (alacarte-0.8.tar.gz) = ce641daadef32b6a880571bde315ce2f3dc88e8e62ef47b48c5b4fb5e33a3a62 +SIZE (alacarte-0.8.tar.gz) = 69330 diff --git a/deskutils/alacarte/files/patch-GnomeDialogHandler.py b/deskutils/alacarte/files/patch-GnomeDialogHandler.py new file mode 100644 index 000000000..87e3221c7 --- /dev/null +++ b/deskutils/alacarte/files/patch-GnomeDialogHandler.py @@ -0,0 +1,26 @@ +--- src/Alacarte/GnomeDialogHandler.py.orig Tue Oct 25 22:13:44 2005 ++++ src/Alacarte/GnomeDialogHandler.py Mon Dec 26 02:44:14 2005 +@@ -212,7 +212,10 @@ + ) + commandEntry.gtk_entry().set_completion(self.completion) + iconButton = self.tree.get_widget('eiconbutton') +- iconButton.set_pixmap_subdir(item.iconPath) ++ if item.iconPath == None: ++ iconButton.set_pixmap_subdir('') ++ else: ++ iconButton.set_pixmap_subdir(item.iconPath) + termCheck = self.tree.get_widget('etermcheck') + originalValues = ( + item.getKey('Name'), item.getKey('Comment'), item.getKey('Exec'), +@@ -221,7 +224,10 @@ + nameEntry.set_text(item.getKey('Name')) + commentEntry.set_text(item.getKey('Comment')) + commandEntry.set_filename(item.getKey('Exec')) +- iconButton.set_filename(item.iconPath) ++ if item.iconPath == None: ++ iconButton.set_filename('') ++ else: ++ iconButton.set_filename(item.iconPath) + if item.getKey('Terminal') == 'true': + termCheck.set_active(1) + self.setupEntry = False diff --git a/deskutils/alacarte/pkg-descr b/deskutils/alacarte/pkg-descr new file mode 100644 index 000000000..f324e4f41 --- /dev/null +++ b/deskutils/alacarte/pkg-descr @@ -0,0 +1,6 @@ +Alacarte is a simple freedesktop.org compliant menu editor +for GNOME that lets you change your menus, simply and +quickly. Just click and type to edit, add, and delete any +menu entry. + +WWW: http://www.realistanew.com/projects/alacarte/ diff --git a/deskutils/alacarte/pkg-plist b/deskutils/alacarte/pkg-plist new file mode 100644 index 000000000..4a2075db5 --- /dev/null +++ b/deskutils/alacarte/pkg-plist @@ -0,0 +1,37 @@ +bin/alacarte +share/locale/de/LC_MESSAGES/alacarte.mo +share/locale/es/LC_MESSAGES/alacarte.mo +share/locale/fr/LC_MESSAGES/alacarte.mo +share/locale/nb/LC_MESSAGES/alacarte.mo +share/locale/nl/LC_MESSAGES/alacarte.mo +share/locale/no/LC_MESSAGES/alacarte.mo +share/applications/alacarte.desktop +%%PYTHON_SITELIBDIR%%/Alacarte/MenuHandler.py +%%PYTHON_SITELIBDIR%%/Alacarte/PyXDGMenuHandler.py +%%PYTHON_SITELIBDIR%%/Alacarte/__init__.py +%%PYTHON_SITELIBDIR%%/Alacarte/GnomeFront.py +%%PYTHON_SITELIBDIR%%/Alacarte/IconHandler.py +%%PYTHON_SITELIBDIR%%/Alacarte/PyXDGIconHandler.py +%%PYTHON_SITELIBDIR%%/Alacarte/config.py +%%PYTHON_SITELIBDIR%%/Alacarte/GnomeDialogHandler.py +%%PYTHON_SITELIBDIR%%/Alacarte/alacarte.glade +%%PYTHON_SITELIBDIR%%/Alacarte/images/alacarte.svg +%%PYTHON_SITELIBDIR%%/Alacarte/MenuHandler.pyc +%%PYTHON_SITELIBDIR%%/Alacarte/PyXDGMenuHandler.pyc +%%PYTHON_SITELIBDIR%%/Alacarte/__init__.pyc +%%PYTHON_SITELIBDIR%%/Alacarte/GnomeFront.pyc +%%PYTHON_SITELIBDIR%%/Alacarte/IconHandler.pyc +%%PYTHON_SITELIBDIR%%/Alacarte/PyXDGIconHandler.pyc +%%PYTHON_SITELIBDIR%%/Alacarte/config.pyc +%%PYTHON_SITELIBDIR%%/Alacarte/GnomeDialogHandler.pyc +%%PYTHON_SITELIBDIR%%/Alacarte/MenuHandler.pyo +%%PYTHON_SITELIBDIR%%/Alacarte/PyXDGMenuHandler.pyo +%%PYTHON_SITELIBDIR%%/Alacarte/__init__.pyo +%%PYTHON_SITELIBDIR%%/Alacarte/GnomeFront.pyo +%%PYTHON_SITELIBDIR%%/Alacarte/IconHandler.pyo +%%PYTHON_SITELIBDIR%%/Alacarte/PyXDGIconHandler.pyo +%%PYTHON_SITELIBDIR%%/Alacarte/config.pyo +%%PYTHON_SITELIBDIR%%/Alacarte/GnomeDialogHandler.pyo +@dirrm %%PYTHON_SITELIBDIR%%/Alacarte/images +@dirrm %%PYTHON_SITELIBDIR%%/Alacarte +@dirrmtry share/applications |