diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-07-27 09:10:04 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-07-27 09:10:04 +0800 |
commit | 12edbb659d336bf137ea6eb46faf6828039609fa (patch) | |
tree | 1831299dd5ad173ca9f57508631892ebdcff3042 | |
parent | faf2666b084eaaf72c1f97127d7ddd08228d397b (diff) | |
download | marcuscom-ports-12edbb659d336bf137ea6eb46faf6828039609fa.tar.gz marcuscom-ports-12edbb659d336bf137ea6eb46faf6828039609fa.tar.zst marcuscom-ports-12edbb659d336bf137ea6eb46faf6828039609fa.zip |
Update to 0.9.90.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6839 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | deskutils/alacarte/Makefile | 28 | ||||
-rw-r--r-- | deskutils/alacarte/distinfo | 6 | ||||
-rw-r--r-- | deskutils/alacarte/files/patch-Alacarte_DialogHandler.py | 11 | ||||
-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 | 93 |
6 files changed, 99 insertions, 71 deletions
diff --git a/deskutils/alacarte/Makefile b/deskutils/alacarte/Makefile index 7637a9ef6..67f15192a 100644 --- a/deskutils/alacarte/Makefile +++ b/deskutils/alacarte/Makefile @@ -3,23 +3,35 @@ # Whom: FreeBSD GNOME Team # # $FreeBSD$ -# $MCom$ +# $MCom: ports/deskutils/alacarte/Makefile,v 1.1 2006/07/18 12:18:06 ahze Exp $ PORTNAME= alacarte -PORTVERSION= 0.8 -PORTREVISION= 2 -CATEGORIES= deskutils -MASTER_SITES= http://dev.realistanew.com/${PORTNAME}/releases/${PORTVERSION}/ +PORTVERSION= 0.9.90 +CATEGORIES= deskutils gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} +DIST_SUBDIR= gnome2 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_BZIP2= yes +USE_GNOME= gnomehack gnomeprefix pygtk2 pygnome2 intlhack +USE_GMAKE= yes USE_GETTEXT= yes USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_INSTALLARGS= -c -O1 --prefix=${PREFIX} --install-lib=${PYTHON_SITELIBDIR} +INSTALLS_ICONS= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" \ + GMSGFMT="${LOCALBASE}/bin/msgfmt" + +post-patch: + @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ + ${WRKSRC}/Alacarte/DialogHandler.py + @${REINPLACE_CMD} -e 's|gmsgfmt|msgfmt|g' \ + ${WRKSRC}/configure .include <bsd.port.mk> diff --git a/deskutils/alacarte/distinfo b/deskutils/alacarte/distinfo index cb69ea50e..131112089 100644 --- a/deskutils/alacarte/distinfo +++ b/deskutils/alacarte/distinfo @@ -1,3 +1,3 @@ -MD5 (alacarte-0.8.tar.gz) = 849fc35c84c81736974217bb810390b1 -SHA256 (alacarte-0.8.tar.gz) = ce641daadef32b6a880571bde315ce2f3dc88e8e62ef47b48c5b4fb5e33a3a62 -SIZE (alacarte-0.8.tar.gz) = 69330 +MD5 (gnome2/alacarte-0.9.90.tar.bz2) = 87cd72be97691f879e0f5de14320d1f0 +SHA256 (gnome2/alacarte-0.9.90.tar.bz2) = 48ba5dc4b5a21e3f19914953bb52906910ec0bdf0be3f8e9aa84e989bde679f6 +SIZE (gnome2/alacarte-0.9.90.tar.bz2) = 173505 diff --git a/deskutils/alacarte/files/patch-Alacarte_DialogHandler.py b/deskutils/alacarte/files/patch-Alacarte_DialogHandler.py new file mode 100644 index 000000000..5cc05fc61 --- /dev/null +++ b/deskutils/alacarte/files/patch-Alacarte_DialogHandler.py @@ -0,0 +1,11 @@ +--- Alacarte/DialogHandler.py.orig Wed Jul 26 20:53:06 2006 ++++ Alacarte/DialogHandler.py Wed Jul 26 20:53:14 2006 +@@ -84,7 +84,7 @@ class DialogHandler: + if button.icon_path: + dialog.set_current_folder(button.icon_path.rsplit('/', 1)[0]) + else: +- dialog.set_current_folder('/usr/share/icons/') ++ dialog.set_current_folder('/usr/local/share/icons/') + preview = gtk.VBox() + preview.set_spacing(8) + preview.set_size_request(92, 92) diff --git a/deskutils/alacarte/files/patch-GnomeDialogHandler.py b/deskutils/alacarte/files/patch-GnomeDialogHandler.py deleted file mode 100644 index 87e3221c7..000000000 --- a/deskutils/alacarte/files/patch-GnomeDialogHandler.py +++ /dev/null @@ -1,26 +0,0 @@ ---- 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 index f324e4f41..da883f8ed 100644 --- a/deskutils/alacarte/pkg-descr +++ b/deskutils/alacarte/pkg-descr @@ -1,6 +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 +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 index 4a2075db5..1ee74d3cc 100644 --- a/deskutils/alacarte/pkg-plist +++ b/deskutils/alacarte/pkg-plist @@ -1,37 +1,68 @@ 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/DialogHandler.py +%%PYTHON_SITELIBDIR%%/Alacarte/DialogHandler.pyc +%%PYTHON_SITELIBDIR%%/Alacarte/DialogHandler.pyo +%%PYTHON_SITELIBDIR%%/Alacarte/MainWindow.py +%%PYTHON_SITELIBDIR%%/Alacarte/MainWindow.pyc +%%PYTHON_SITELIBDIR%%/Alacarte/MainWindow.pyo +%%PYTHON_SITELIBDIR%%/Alacarte/MenuEditor.py +%%PYTHON_SITELIBDIR%%/Alacarte/MenuEditor.pyc +%%PYTHON_SITELIBDIR%%/Alacarte/MenuEditor.pyo %%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.py +%%PYTHON_SITELIBDIR%%/Alacarte/config.pyc %%PYTHON_SITELIBDIR%%/Alacarte/config.pyo -%%PYTHON_SITELIBDIR%%/Alacarte/GnomeDialogHandler.pyo -@dirrm %%PYTHON_SITELIBDIR%%/Alacarte/images +%%PYTHON_SITELIBDIR%%/Alacarte/util.py +%%PYTHON_SITELIBDIR%%/Alacarte/util.pyc +%%PYTHON_SITELIBDIR%%/Alacarte/util.pyo +share/gnome/alacarte/alacarte.glade +share/gnome/alacarte/logo.svg +share/gnome/applications/alacarte.desktop +share/icons/hicolor/22x22/apps/alacarte.png +share/icons/hicolor/scalable/apps/alacarte.svg +share/locale/bg/LC_MESSAGES/alacarte.mo +share/locale/bn/LC_MESSAGES/alacarte.mo +share/locale/bn_IN/LC_MESSAGES/alacarte.mo +share/locale/ca/LC_MESSAGES/alacarte.mo +share/locale/cs/LC_MESSAGES/alacarte.mo +share/locale/dz/LC_MESSAGES/alacarte.mo +share/locale/el/LC_MESSAGES/alacarte.mo +share/locale/es/LC_MESSAGES/alacarte.mo +share/locale/eu/LC_MESSAGES/alacarte.mo +share/locale/fr/LC_MESSAGES/alacarte.mo +share/locale/gl/LC_MESSAGES/alacarte.mo +share/locale/gu/LC_MESSAGES/alacarte.mo +share/locale/hi/LC_MESSAGES/alacarte.mo +share/locale/ja/LC_MESSAGES/alacarte.mo +share/locale/lt/LC_MESSAGES/alacarte.mo +share/locale/mk/LC_MESSAGES/alacarte.mo +share/locale/pa/LC_MESSAGES/alacarte.mo +share/locale/pt_BR/LC_MESSAGES/alacarte.mo +share/locale/sv/LC_MESSAGES/alacarte.mo +share/locale/ta/LC_MESSAGES/alacarte.mo +share/locale/th/LC_MESSAGES/alacarte.mo +share/locale/zh_CN/LC_MESSAGES/alacarte.mo +share/locale/zh_HK/LC_MESSAGES/alacarte.mo +share/locale/zh_TW/LC_MESSAGES/alacarte.mo +@dirrm share/locale/zh_TW/LC_MESSAGES +@dirrm share/locale/zh_TW +@dirrm share/locale/zh_HK/LC_MESSAGES +@dirrm share/locale/zh_HK +@dirrm share/locale/zh_CN/LC_MESSAGES +@dirrm share/locale/zh_CN +@dirrm share/locale/gl/LC_MESSAGES +@dirrm share/locale/gl +@dirrm share/locale/el/LC_MESSAGES +@dirrm share/locale/el +@dirrm share/locale/dz/LC_MESSAGES +@dirrm share/locale/dz +@dirrm share/locale/cs/LC_MESSAGES +@dirrm share/locale/cs +@dirrm share/locale/ca/LC_MESSAGES +@dirrm share/locale/ca +@dirrm share/locale/bn_IN/LC_MESSAGES +@dirrm share/locale/bn_IN +@dirrm share/gnome/alacarte @dirrm %%PYTHON_SITELIBDIR%%/Alacarte -@dirrmtry share/applications |