A simple menu editor for GNOME 2.10 that can edit and add new entries. It

implements the fd.o menu spec but may or may not work with other DEs.

WWW: http://www.realistanew.com/2005/03/18/gnome-menu-editor/

--

py-xdg/menueditor don't understand KDE menu correct in gnome-menus, LegacyDirs
and etc. I won't be surpised if py-xdg developers are working on it to get
better.
This commit is contained in:
Jeremy Messenger 2005-04-03 07:32:47 +00:00
parent 17694d95cd
commit ba4856b168
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=132328
13 changed files with 166 additions and 0 deletions

View File

@ -91,6 +91,7 @@
SUBDIR += mcatalog
SUBDIR += mdh
SUBDIR += mencal
SUBDIR += menueditor
SUBDIR += metabar
SUBDIR += mhc
SUBDIR += mhc-emacs20

View File

@ -0,0 +1,41 @@
# New ports collection makefile for: menueditor
# Date created: 22 March 2005
# Whom: FreeBSD GNOME Team
#
# $FreeBSD$
#
PORTNAME= menueditor
PORTVERSION= 0.4.3
CATEGORIES= deskutils gnome
MASTER_SITES= http://dev.realistanew.com/menu-editor/ \
http://dev.realistanew.com/menu-editor/old/
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= gnome@FreeBSD.org
COMMENT= A simple menu editor for GNOME 2.10
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/xdg/__init__.py:${PORTSDIR}/devel/py-xdg
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_GMAKE= yes
USE_GNOME= pygtk2
USE_X_PREFIX= yes
USE_REINPLACE= yes
USE_PYTHON= yes
USE_PYDISTUTILS= yes
post-patch:
@${REINPLACE_CMD} -e "s|\[(libdir,|\[('share/gnome/menu-editor',|g ; \
s|, 'lib/|, 'share/gnome/|g ; \
s|'share/pixmaps|'share/gnome/pixmaps|g ; \
s|'share/applications|'share/gnome/applications|g ; \
s|/usr/share|${X11BASE}/share/gnome|g ; \
s|/etc|${X11BASE}/etc|g" \
${WRKSRC}/setup.py ${WRKSRC}/bin/menu-editor \
${WRKSRC}/lib/menu-editor/menu_handler.py
post-install:
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/share/gnome/menu-editor
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
MD5 (menueditor_0.4.3.orig.tar.gz) = a25e6749a76e806f6eb19ece02b90281
SIZE (menueditor_0.4.3.orig.tar.gz) = 12221

View File

@ -0,0 +1,4 @@
A simple menu editor for GNOME 2.10 that can edit and add new entries. It
implements the fd.o menu spec but may or may not work with other DEs.
WWW: http://www.realistanew.com/2005/03/18/gnome-menu-editor/

View File

@ -0,0 +1,8 @@
bin/menu-editor
share/doc/menu-editor/AUTHORS
share/gnome/applications/menueditor.desktop
share/gnome/menu-editor/menu_handler.py
share/gnome/menu-editor/menu_handler.pyc
share/gnome/pixmaps/menu-editor.png
@dirrm share/gnome/menu-editor
@dirrm share/doc/menu-editor

View File

@ -0,0 +1,41 @@
# New ports collection makefile for: menueditor
# Date created: 22 March 2005
# Whom: FreeBSD GNOME Team
#
# $FreeBSD$
#
PORTNAME= menueditor
PORTVERSION= 0.4.3
CATEGORIES= deskutils gnome
MASTER_SITES= http://dev.realistanew.com/menu-editor/ \
http://dev.realistanew.com/menu-editor/old/
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= gnome@FreeBSD.org
COMMENT= A simple menu editor for GNOME 2.10
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/xdg/__init__.py:${PORTSDIR}/devel/py-xdg
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_GMAKE= yes
USE_GNOME= pygtk2
USE_X_PREFIX= yes
USE_REINPLACE= yes
USE_PYTHON= yes
USE_PYDISTUTILS= yes
post-patch:
@${REINPLACE_CMD} -e "s|\[(libdir,|\[('share/gnome/menu-editor',|g ; \
s|, 'lib/|, 'share/gnome/|g ; \
s|'share/pixmaps|'share/gnome/pixmaps|g ; \
s|'share/applications|'share/gnome/applications|g ; \
s|/usr/share|${X11BASE}/share/gnome|g ; \
s|/etc|${X11BASE}/etc|g" \
${WRKSRC}/setup.py ${WRKSRC}/bin/menu-editor \
${WRKSRC}/lib/menu-editor/menu_handler.py
post-install:
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/share/gnome/menu-editor
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
MD5 (menueditor_0.4.3.orig.tar.gz) = a25e6749a76e806f6eb19ece02b90281
SIZE (menueditor_0.4.3.orig.tar.gz) = 12221

View File

@ -0,0 +1,4 @@
A simple menu editor for GNOME 2.10 that can edit and add new entries. It
implements the fd.o menu spec but may or may not work with other DEs.
WWW: http://www.realistanew.com/2005/03/18/gnome-menu-editor/

View File

@ -0,0 +1,8 @@
bin/menu-editor
share/doc/menu-editor/AUTHORS
share/gnome/applications/menueditor.desktop
share/gnome/menu-editor/menu_handler.py
share/gnome/menu-editor/menu_handler.pyc
share/gnome/pixmaps/menu-editor.png
@dirrm share/gnome/menu-editor
@dirrm share/doc/menu-editor

41
deskutils/smeg/Makefile Normal file
View File

@ -0,0 +1,41 @@
# New ports collection makefile for: menueditor
# Date created: 22 March 2005
# Whom: FreeBSD GNOME Team
#
# $FreeBSD$
#
PORTNAME= menueditor
PORTVERSION= 0.4.3
CATEGORIES= deskutils gnome
MASTER_SITES= http://dev.realistanew.com/menu-editor/ \
http://dev.realistanew.com/menu-editor/old/
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= gnome@FreeBSD.org
COMMENT= A simple menu editor for GNOME 2.10
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/xdg/__init__.py:${PORTSDIR}/devel/py-xdg
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_GMAKE= yes
USE_GNOME= pygtk2
USE_X_PREFIX= yes
USE_REINPLACE= yes
USE_PYTHON= yes
USE_PYDISTUTILS= yes
post-patch:
@${REINPLACE_CMD} -e "s|\[(libdir,|\[('share/gnome/menu-editor',|g ; \
s|, 'lib/|, 'share/gnome/|g ; \
s|'share/pixmaps|'share/gnome/pixmaps|g ; \
s|'share/applications|'share/gnome/applications|g ; \
s|/usr/share|${X11BASE}/share/gnome|g ; \
s|/etc|${X11BASE}/etc|g" \
${WRKSRC}/setup.py ${WRKSRC}/bin/menu-editor \
${WRKSRC}/lib/menu-editor/menu_handler.py
post-install:
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/share/gnome/menu-editor
.include <bsd.port.mk>

2
deskutils/smeg/distinfo Normal file
View File

@ -0,0 +1,2 @@
MD5 (menueditor_0.4.3.orig.tar.gz) = a25e6749a76e806f6eb19ece02b90281
SIZE (menueditor_0.4.3.orig.tar.gz) = 12221

4
deskutils/smeg/pkg-descr Normal file
View File

@ -0,0 +1,4 @@
A simple menu editor for GNOME 2.10 that can edit and add new entries. It
implements the fd.o menu spec but may or may not work with other DEs.
WWW: http://www.realistanew.com/2005/03/18/gnome-menu-editor/

8
deskutils/smeg/pkg-plist Normal file
View File

@ -0,0 +1,8 @@
bin/menu-editor
share/doc/menu-editor/AUTHORS
share/gnome/applications/menueditor.desktop
share/gnome/menu-editor/menu_handler.py
share/gnome/menu-editor/menu_handler.pyc
share/gnome/pixmaps/menu-editor.png
@dirrm share/gnome/menu-editor
@dirrm share/doc/menu-editor