Date: Sat, 8 Aug 2009 03:00:16 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/137529: Update port: graphics/mirage to 0.9.3 Message-ID: <20090808030016.419b8753.tkato432@yahoo.com> Resent-Message-ID: <200908071810.n77IA2m7047482@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 137529 >Category: ports >Synopsis: Update port: graphics/mirage to 0.9.3 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Aug 07 18:10:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.2-RELEASE-p2 i386 >Organization: >Environment: >Description: - Update to version 0.9.3 New file: files/patch-setup.py >How-To-Repeat: >Fix: diff -urN /usr/ports/graphics/mirage/Makefile graphics/mirage/Makefile --- /usr/ports/graphics/mirage/Makefile 2009-08-01 04:37:32.000000000 +0900 +++ graphics/mirage/Makefile 2009-08-07 22:11:10.000000000 +0900 @@ -6,21 +6,39 @@ # PORTNAME= mirage -PORTVERSION= 0.9 -PORTREVISION= 2 +PORTVERSION= 0.9.3 CATEGORIES= graphics -MASTER_SITES= CENKES BERLIOS/mirageiv +MASTER_SITES= BERLIOS/mirageiv MAINTAINER= ports@FreeBSD.org COMMENT= Fast and simple image viewer USE_BZIP2= yes -USE_GNOME= gtk20 pygtk2 pygnome2 -USE_PYTHON= yes -USE_PYDISTUTILS=yes +USE_GNOME= gtk20 pygtk2 +WANT_GNOME= yes USE_GETTEXT= yes +USE_PYTHON= yes +USE_PYDISTUTILS= yes +PYDISTUTILS_PKGNAME= Mirage + PORT_VERBS= ${PORTNAME} imgfuncs -PYDISTUTILS_PKGNAME= Mirage +.include <bsd.port.pre.mk> + +.if ${HAVE_GNOME:Mpygnome2}!="" +USE_GNOME+= pygnome2 +.endif + +post-patch: + @${REINPLACE_CMD} -e \ + 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.py + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for file in CHANGELOG README TODO TRANSLATORS + ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.endfor +.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff -urN /usr/ports/graphics/mirage/distinfo graphics/mirage/distinfo --- /usr/ports/graphics/mirage/distinfo 2007-10-30 14:08:27.000000000 +0900 +++ graphics/mirage/distinfo 2009-07-24 04:07:27.000000000 +0900 @@ -1,3 +1,3 @@ -MD5 (mirage-0.9.tar.bz2) = ba2bdc191cf36b839d14239c93bd57eb -SHA256 (mirage-0.9.tar.bz2) = 8eacd1432d9a84ffe761f4d8c57f8d75bb8500b1e90746195ec39da1ebd121a8 -SIZE (mirage-0.9.tar.bz2) = 88087 +MD5 (mirage-0.9.3.tar.bz2) = 87bd8b8de578f34f4028073ecfa43474 +SHA256 (mirage-0.9.3.tar.bz2) = 51e4dd63f489a240ed01077189610ebc4e08e060efc11dac4d331dc212c9bcad +SIZE (mirage-0.9.3.tar.bz2) = 98321 diff -urN /usr/ports/graphics/mirage/files/patch-setyp.py graphics/mirage/files/patch-setyp.py --- /usr/ports/graphics/mirage/files/patch-setyp.py 1970-01-01 09:00:00.000000000 +0900 +++ graphics/mirage/files/patch-setyp.py 2009-07-24 05:14:56.000000000 +0900 @@ -0,0 +1,14 @@ +--- setup.py.orig 2008-03-27 13:05:28.000000000 +0900 ++++ setup.py 2009-07-24 05:13:46.000000000 +0900 +@@ -56,9 +56,9 @@ + ], + py_modules = ['mirage'], + ext_modules = [Extension(name='imgfuncs', sources=['imgfuncs.c']), +- Extension(name='xmouse', sources=['xmouse.c'], libraries=['X11'])], ++ Extension(name='xmouse', sources=['xmouse.c'], include_dirs=['%%LOCALBASE%%/include'], library_dirs=['%%LOCALBASE%%/lib'], libraries=['X11'])], + scripts = ['mirage'], +- data_files=[('share/mirage', ['README', 'COPYING', 'CHANGELOG', 'TODO', 'TRANSLATORS', 'stock_shuffle.png', 'stock_leave-fullscreen.png', 'stock_fullscreen.png', 'mirage_blank.png']), ++ data_files=[('share/mirage', ['stock_shuffle.png', 'stock_leave-fullscreen.png', 'stock_fullscreen.png', 'mirage_blank.png']), + ('share/applications', ['mirage.desktop']), + ('share/pixmaps', ['mirage.png']), + ('share/locale/ru/LC_MESSAGES', ['mo/ru/mirage.mo']), diff -urN /usr/ports/graphics/mirage/pkg-plist graphics/mirage/pkg-plist --- /usr/ports/graphics/mirage/pkg-plist 2007-10-30 14:08:28.000000000 +0900 +++ graphics/mirage/pkg-plist 2009-07-24 05:13:07.000000000 +0900 @@ -3,22 +3,25 @@ %%PYTHON_SITELIBDIR%%/mirage.py %%PYTHON_SITELIBDIR%%/mirage.pyc %%PYTHON_SITELIBDIR%%/mirage.pyo +%%PYTHON_SITELIBDIR%%/xmouse.so share/applications/mirage.desktop +%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/TODO +%%PORTDOCS%%%%DOCSDIR%%/TRANSLATORS +share/locale/cs/LC_MESSAGES/mirage.mo share/locale/de/LC_MESSAGES/mirage.mo share/locale/es/LC_MESSAGES/mirage.mo share/locale/fr/LC_MESSAGES/mirage.mo +share/locale/hu/LC_MESSAGES/mirage.mo share/locale/it/LC_MESSAGES/mirage.mo share/locale/pl/LC_MESSAGES/mirage.mo share/locale/ru/LC_MESSAGES/mirage.mo -%%DATADIR%%/CHANGELOG -%%DATADIR%%/COPYING -%%DATADIR%%/README -%%DATADIR%%/TODO -%%DATADIR%%/TRANSLATORS %%DATADIR%%/mirage_blank.png %%DATADIR%%/stock_fullscreen.png %%DATADIR%%/stock_leave-fullscreen.png %%DATADIR%%/stock_shuffle.png share/pixmaps/mirage.png @dirrm %%DATADIR%% +%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrmtry share/applications >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090808030016.419b8753.tkato432>