Date: Thu, 28 Dec 2017 13:41:50 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r457453 - in head/devel/gazpacho: . files Message-ID: <201712281341.vBSDfoaU029401@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Thu Dec 28 13:41:50 2017 New Revision: 457453 URL: https://svnweb.freebsd.org/changeset/ports/457453 Log: Fix build with py-kiwi-gtk 1.11.1 - Bump PORTREVISION for package change Added: head/devel/gazpacho/files/patch-gazpacho-__init__.py (contents, props changed) Modified: head/devel/gazpacho/Makefile head/devel/gazpacho/files/patch-setup.py Modified: head/devel/gazpacho/Makefile ============================================================================== --- head/devel/gazpacho/Makefile Thu Dec 28 13:41:44 2017 (r457452) +++ head/devel/gazpacho/Makefile Thu Dec 28 13:41:50 2017 (r457453) @@ -3,7 +3,7 @@ PORTNAME= gazpacho PORTVERSION= 0.7.2 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= devel python MASTER_SITES= GNOME/sources/gazpacho/${PORTVERSION:R} @@ -28,6 +28,9 @@ OPTIONS_DEFINE= DOCS EXAMPLES post-patch: @${REINPLACE_CMD} -e 's|share/doc/gazpacho/examples|${EXAMPLESDIR}|g' ${WRKSRC}/setup.py + +post-install: + ${INSTALL_DATA} ${WRKSRC}/gazpacho.desktop ${STAGEDIR}${PREFIX}/share/applications/ post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} Added: head/devel/gazpacho/files/patch-gazpacho-__init__.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/gazpacho/files/patch-gazpacho-__init__.py Thu Dec 28 13:41:50 2017 (r457453) @@ -0,0 +1,30 @@ +--- gazpacho/__init__.py.orig 2007-07-29 07:57:30 UTC ++++ gazpacho/__init__.py +@@ -16,19 +16,20 @@ + import os + + from kiwi.environ import Library ++from kiwi.environ import _KiwiProvider + + dirname = os.path.abspath( + os.path.join(os.path.dirname(os.path.realpath(__file__)), '..')) + + lib = Library('gazpacho', root=dirname) + if lib.uninstalled: +- lib.add_global_resource('catalog', 'catalogs') +- lib.add_global_resource('glade', 'glade') +- lib.add_global_resource('resource', 'resources') +- lib.add_global_resource('doc', '.') +- lib.add_global_resource('pixmap', 'pixmaps') +- lib.add_global_resource('pixmap', 'pixmaps/kiwi') +- lib.add_global_resource('plugins', 'plugins') ++ _KiwiProvider.add_resource('catalog', os.path.join(dirname, 'catalog')) ++ _KiwiProvider.add_resource('glade', os.path.join(dirname, 'glade')) ++ _KiwiProvider.add_resource('resource', os.path.join(dirname, 'resources')) ++ _KiwiProvider.add_resource('doc', os.path.join(dirname, '.')) ++ _KiwiProvider.add_resource('pixmap', os.path.join(dirname, 'pixmaps')) ++ _KiwiProvider.add_resource('pixmap', os.path.join(dirname, 'pixmaps/kiwi')) ++ _KiwiProvider.add_resource('plugins', os.path.join(dirname, 'plugins')) + lib.enable_translation() + + __version__ = "0.7.2" Modified: head/devel/gazpacho/files/patch-setup.py ============================================================================== --- head/devel/gazpacho/files/patch-setup.py Thu Dec 28 13:41:44 2017 (r457452) +++ head/devel/gazpacho/files/patch-setup.py Thu Dec 28 13:41:50 2017 (r457453) @@ -1,16 +1,16 @@ ---- setup.py.orig Tue Sep 12 13:54:16 2006 -+++ setup.py Tue Sep 12 13:55:22 2006 -@@ -7,8 +7,6 @@ - from gazpacho import __version__ +--- setup.py.orig 2007-03-05 16:06:37 UTC ++++ setup.py +@@ -8,8 +8,6 @@ from gazpacho import __version__ + templates = [] data_files = [ - ('share/doc/gazpacho', ('AUTHORS', 'ChangeLog', 'CONTRIBUTORS', - 'COPYING', 'README', 'NEWS')), ('share/doc/gazpacho/examples', listfiles('examples', '*')), ('$datadir/catalogs', listfiles('catalogs', 'base.xml')), ('$datadir/pixmaps', listfiles('pixmaps', '*.png')), -@@ -17,7 +15,6 @@ - ] +@@ -34,7 +32,6 @@ data_files.extend(list_plugins()) + resources = dict(locale='$prefix/share/locale') global_resources = dict( - doc='$prefix/share/doc/gazpacho',
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712281341.vBSDfoaU029401>