diff options
author | drochner <drochner@pkgsrc.org> | 2006-12-15 19:57:42 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2006-12-15 19:57:42 +0000 |
commit | 071fe922866175734ec5250f9c1ff6b01ad93757 (patch) | |
tree | cdc74b4da942e2b70968fd8ba0d30f4a74003896 | |
parent | ee4c4a9c88af85376a2b15d239e257758c87127f (diff) | |
download | pkgsrc-071fe922866175734ec5250f9c1ff6b01ad93757.tar.gz |
add alacarte-0.10.1, a menu editor for GNOME
-rw-r--r-- | x11/alacarte/DESCR | 2 | ||||
-rw-r--r-- | x11/alacarte/Makefile | 32 | ||||
-rw-r--r-- | x11/alacarte/PLIST | 84 | ||||
-rw-r--r-- | x11/alacarte/distinfo | 7 | ||||
-rw-r--r-- | x11/alacarte/patches/patch-aa | 31 | ||||
-rw-r--r-- | x11/alacarte/patches/patch-ab | 13 |
6 files changed, 169 insertions, 0 deletions
diff --git a/x11/alacarte/DESCR b/x11/alacarte/DESCR new file mode 100644 index 00000000000..8fa48e560d3 --- /dev/null +++ b/x11/alacarte/DESCR @@ -0,0 +1,2 @@ +Alacarte is a menu editor for GNOME using the freedesktop.org menu +specification. diff --git a/x11/alacarte/Makefile b/x11/alacarte/Makefile new file mode 100644 index 00000000000..948ad5f6bba --- /dev/null +++ b/x11/alacarte/Makefile @@ -0,0 +1,32 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/12/15 19:57:42 drochner Exp $ +# + +DISTNAME= alacarte-0.10.1 +CATEGORIES= x11 +MASTER_SITES= ${MASTER_SITE_GNOME:=sources/alacarte/0.10/} +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.realistanew.com/projects/alacarte/ +COMMENT= Menu editor for the GNOME desktop + +GNU_CONFIGURE= yes +USE_TOOLS+= intltool perl pkg-config gmake + +PYTHON_VERSIONS_ACCEPTED= 24 +PY_PATCHPLIST= yes + +SUBST_CLASSES+= paths +SUBST_STAGE.paths= pre-configure +SUBST_FILES.paths= Alacarte/util.py Alacarte/DialogHandler.py +SUBST_SED.paths= -e "s;@PREFIX@;${PREFIX};g" -e "s;@PKG_SYSCONFBASE@;${PKG_SYSCONFBASE};g" + +.include "../../sysutils/gnome-menus/buildlink3.mk" +.include "../../lang/python/application.mk" +.include "../../lang/python/extension.mk" +.include "../../x11/py-gtk2/buildlink3.mk" +.include "../../x11/py-gnome2/buildlink3.mk" +.include "../../sysutils/py-gnome-menus/buildlink3.mk" +.include "../../graphics/hicolor-icon-theme/buildlink3.mk" +.include "../../sysutils/desktop-file-utils/desktopdb.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/x11/alacarte/PLIST b/x11/alacarte/PLIST new file mode 100644 index 00000000000..df9b9d8f91c --- /dev/null +++ b/x11/alacarte/PLIST @@ -0,0 +1,84 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/12/15 19:57:42 drochner Exp $ +bin/alacarte +${PYSITELIB}/Alacarte/DialogHandler.py +${PYSITELIB}/Alacarte/DialogHandler.pyc +${PYSITELIB}/Alacarte/DialogHandler.pyo +${PYSITELIB}/Alacarte/MainWindow.py +${PYSITELIB}/Alacarte/MainWindow.pyc +${PYSITELIB}/Alacarte/MainWindow.pyo +${PYSITELIB}/Alacarte/MenuEditor.py +${PYSITELIB}/Alacarte/MenuEditor.pyc +${PYSITELIB}/Alacarte/MenuEditor.pyo +${PYSITELIB}/Alacarte/__init__.py +${PYSITELIB}/Alacarte/__init__.pyc +${PYSITELIB}/Alacarte/__init__.pyo +${PYSITELIB}/Alacarte/config.py +${PYSITELIB}/Alacarte/config.pyc +${PYSITELIB}/Alacarte/config.pyo +${PYSITELIB}/Alacarte/util.py +${PYSITELIB}/Alacarte/util.pyc +${PYSITELIB}/Alacarte/util.pyo +share/alacarte/alacarte.glade +share/alacarte/logo.svg +share/applications/alacarte.desktop +share/icons/hicolor/22x22/apps/alacarte.png +share/icons/hicolor/scalable/apps/alacarte.svg +share/locale/as/LC_MESSAGES/alacarte.mo +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/da/LC_MESSAGES/alacarte.mo +share/locale/de/LC_MESSAGES/alacarte.mo +share/locale/dz/LC_MESSAGES/alacarte.mo +share/locale/el/LC_MESSAGES/alacarte.mo +share/locale/en_GB/LC_MESSAGES/alacarte.mo +share/locale/es/LC_MESSAGES/alacarte.mo +share/locale/et/LC_MESSAGES/alacarte.mo +share/locale/eu/LC_MESSAGES/alacarte.mo +share/locale/fa/LC_MESSAGES/alacarte.mo +share/locale/fi/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/hu/LC_MESSAGES/alacarte.mo +share/locale/it/LC_MESSAGES/alacarte.mo +share/locale/ja/LC_MESSAGES/alacarte.mo +share/locale/ka/LC_MESSAGES/alacarte.mo +share/locale/ko/LC_MESSAGES/alacarte.mo +share/locale/ku/LC_MESSAGES/alacarte.mo +share/locale/lt/LC_MESSAGES/alacarte.mo +share/locale/lv/LC_MESSAGES/alacarte.mo +share/locale/mk/LC_MESSAGES/alacarte.mo +share/locale/ml/LC_MESSAGES/alacarte.mo +share/locale/mn/LC_MESSAGES/alacarte.mo +share/locale/mr/LC_MESSAGES/alacarte.mo +share/locale/nb/LC_MESSAGES/alacarte.mo +share/locale/nl/LC_MESSAGES/alacarte.mo +share/locale/or/LC_MESSAGES/alacarte.mo +share/locale/pa/LC_MESSAGES/alacarte.mo +share/locale/pl/LC_MESSAGES/alacarte.mo +share/locale/pt/LC_MESSAGES/alacarte.mo +share/locale/pt_BR/LC_MESSAGES/alacarte.mo +share/locale/ru/LC_MESSAGES/alacarte.mo +share/locale/si/LC_MESSAGES/alacarte.mo +share/locale/sl/LC_MESSAGES/alacarte.mo +share/locale/sr/LC_MESSAGES/alacarte.mo +share/locale/sr@Latn/LC_MESSAGES/alacarte.mo +share/locale/sv/LC_MESSAGES/alacarte.mo +share/locale/ta/LC_MESSAGES/alacarte.mo +share/locale/te/LC_MESSAGES/alacarte.mo +share/locale/th/LC_MESSAGES/alacarte.mo +share/locale/tr/LC_MESSAGES/alacarte.mo +share/locale/uk/LC_MESSAGES/alacarte.mo +share/locale/vi/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 +@comment in hicolor-icon-theme: @dirrm share/icons/hicolor/scalable/apps +@comment in hicolor-icon-theme: @dirrm share/icons/hicolor/22x22/apps +@comment in hicolor-icon-theme: @dirrm share/icons/hicolor +@dirrm share/alacarte +@dirrm ${PYSITELIB}/Alacarte diff --git a/x11/alacarte/distinfo b/x11/alacarte/distinfo new file mode 100644 index 00000000000..0330bb13df2 --- /dev/null +++ b/x11/alacarte/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/12/15 19:57:42 drochner Exp $ + +SHA1 (alacarte-0.10.1.tar.bz2) = 8423bdd6f4e661c630fb64f535fed0a4e0fb7547 +RMD160 (alacarte-0.10.1.tar.bz2) = fd048987e4f5033b7bd2557caa7ebec13714710b +Size (alacarte-0.10.1.tar.bz2) = 197077 bytes +SHA1 (patch-aa) = c0907234bdb7cb3f7de02f5bbbc34aaab3a6d81c +SHA1 (patch-ab) = 7c35a7daec43427741cb16ae139b56543564191e diff --git a/x11/alacarte/patches/patch-aa b/x11/alacarte/patches/patch-aa new file mode 100644 index 00000000000..8c6b9d7b045 --- /dev/null +++ b/x11/alacarte/patches/patch-aa @@ -0,0 +1,31 @@ +$NetBSD: patch-aa,v 1.1.1.1 2006/12/15 19:57:42 drochner Exp $ + +--- Alacarte/util.py.orig 2006-11-23 23:07:31.000000000 +0100 ++++ Alacarte/util.py +@@ -141,7 +141,7 @@ def getItemPath(file_id): + file_path = os.path.join(system_path, 'applications', file_id) + if os.path.isfile(file_path): + return file_path +- file_path = os.path.join('/', 'usr', 'share', 'applications', file_id) ++ file_path = os.path.join('@PREFIX@', 'share', 'applications', file_id) + if os.path.isfile(file_path): + return file_path + return False +@@ -166,7 +166,7 @@ def getDirectoryPath(file_id): + file_path = os.path.join(system_path, 'desktop-directories', file_id) + if os.path.isfile(file_path): + return file_path +- file_path = os.path.join('/', 'usr', 'share', 'desktop-directories', file_id) ++ file_path = os.path.join('@PREFIX@', 'share', 'desktop-directories', file_id) + if os.path.isfile(file_path): + return file_path + return False +@@ -187,7 +187,7 @@ def getSystemMenuPath(file_name): + file_path = os.path.join(system_path, 'menus', file_name) + if os.path.isfile(file_path): + return file_path +- file_path = os.path.join('/', 'etc', 'xdg', 'menus', file_name) ++ file_path = os.path.join('@PKG_SYSCONFBASE@', 'xdg', 'menus', file_name) + if os.path.isfile(file_path): + return file_path + return False diff --git a/x11/alacarte/patches/patch-ab b/x11/alacarte/patches/patch-ab new file mode 100644 index 00000000000..2bf377998a3 --- /dev/null +++ b/x11/alacarte/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2006/12/15 19:57:42 drochner Exp $ + +--- Alacarte/DialogHandler.py.orig 2006-11-23 23:16:51.000000000 +0100 ++++ Alacarte/DialogHandler.py +@@ -98,7 +98,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('@PREFIX@' + '/share/icons/') + preview = gtk.VBox() + preview.set_spacing(8) + preview.set_size_request(92, 92) |