pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/alacarte add alacarte-0.10.1, a menu editor for GNOME



details:   https://anonhg.NetBSD.org/pkgsrc/rev/592df0a8b8b4
branches:  trunk
changeset: 522633:592df0a8b8b4
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Fri Dec 15 19:57:42 2006 +0000

description:
add alacarte-0.10.1, a menu editor for GNOME

diffstat:

 x11/alacarte/DESCR            |   2 +
 x11/alacarte/Makefile         |  32 ++++++++++++++++
 x11/alacarte/PLIST            |  84 +++++++++++++++++++++++++++++++++++++++++++
 x11/alacarte/distinfo         |   7 +++
 x11/alacarte/patches/patch-aa |  31 +++++++++++++++
 x11/alacarte/patches/patch-ab |  13 ++++++
 6 files changed, 169 insertions(+), 0 deletions(-)

diffs (193 lines):

diff -r 5037818fbcd9 -r 592df0a8b8b4 x11/alacarte/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/alacarte/DESCR        Fri Dec 15 19:57:42 2006 +0000
@@ -0,0 +1,2 @@
+Alacarte is a menu editor for GNOME using the freedesktop.org menu
+specification.
diff -r 5037818fbcd9 -r 592df0a8b8b4 x11/alacarte/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/alacarte/Makefile     Fri Dec 15 19:57:42 2006 +0000
@@ -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@localhost
+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 -r 5037818fbcd9 -r 592df0a8b8b4 x11/alacarte/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/alacarte/PLIST        Fri Dec 15 19:57:42 2006 +0000
@@ -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 -r 5037818fbcd9 -r 592df0a8b8b4 x11/alacarte/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/alacarte/distinfo     Fri Dec 15 19:57:42 2006 +0000
@@ -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 -r 5037818fbcd9 -r 592df0a8b8b4 x11/alacarte/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/alacarte/patches/patch-aa     Fri Dec 15 19:57:42 2006 +0000
@@ -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 -r 5037818fbcd9 -r 592df0a8b8b4 x11/alacarte/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/alacarte/patches/patch-ab     Fri Dec 15 19:57:42 2006 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index