Date: Tue, 04 Sep 2007 16:18:44 +0200 From: "Radim Kolar SF.NET" <hsn@sendmail.cz> To: FreeBSD-gnats-submit@FreeBSD.org Cc: hsn-sf@localhost.iol.cz, ahze@FreeBSD.org Subject: ports/116083: [PATCH] graphics/py-opengl: update to 2.0.1.09 Message-ID: <E1ISZEq-000OKN-5l@sanatana.dharma> Resent-Message-ID: <200709041420.l84EK2qZ081630@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 116083 >Category: ports >Synopsis: [PATCH] graphics/py-opengl: update to 2.0.1.09 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Sep 04 14:20:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Radim Kolar SF.NET >Release: FreeBSD 6.2-RELEASE-p7 i386 >Organization: >Environment: System: FreeBSD sanatana.dharma 6.2-RELEASE-p7 FreeBSD 6.2-RELEASE-p7 #0: Tue Aug 21 11:00:17 CEST 2007 >Description: - Update to 2.0.1.09 some programs needs this version for correct operation Fixed following packaging errors: - if you have tcl/tk installed you can now build opengl without it by disabling it in menu, old version always used tcl/tk if it was installed at build time - corrected file list generating error when LOCALBASE != PREFIX Added file(s): - files/patch-tcltklibnames Port maintainer (ahze@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- py24-opengl-2.0.1.09.patch begins here --- diff -ruN --exclude=CVS /usr/ports/graphics/py-opengl/Makefile /home/hsn/hacked/py-opengl/Makefile --- /usr/ports/graphics/py-opengl/Makefile Mon Jul 30 11:41:32 2007 +++ /home/hsn/hacked/py-opengl/Makefile Tue Sep 4 15:01:13 2007 @@ -6,8 +6,8 @@ # PORTNAME= opengl -PORTVERSION= 2.0.1.07 -PORTREVISION= 4 +PORTVERSION= 2.0.1.09 +PORTREVISION= 0 CATEGORIES= graphics python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= py${PORTNAME} @@ -37,6 +37,7 @@ .if !defined(WITHOUT_TKINTER) BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter +PYDISTUTILS_BUILDARGS+= build_togl --tk-source=${LOCALBASE}/include/tk8.4 --tcl-source=${LOCALBASE}/include/tcl8.4 .endif post-patch: @@ -47,11 +48,14 @@ -e 's|%%X11BASE%%|${X11BASE}|g' \ ${WRKSRC}/config/freebsd.cfg ${WRKSRC}/Tkinter.py @${FIND} ${WRKSRC} -name "*.bak" -delete +.if defined(WITHOUT_TKINTER) + @${ECHO} "raise ImportError" > ${WRKSRC}/Tkinter.py +.endif post-install: - @${FIND} ${PYTHON_SITELIBDIR}/OpenGL -type f | \ + @${FIND} ${PYTHONPREFIX_SITELIBDIR}/OpenGL -type f | \ ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} - @${FIND} ${PYTHON_SITELIBDIR}/OpenGL -type d | ${SORT} -r | \ + @${FIND} ${PYTHONPREFIX_SITELIBDIR}/OpenGL -type d | ${SORT} -r | \ ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} .include <bsd.port.post.mk> diff -ruN --exclude=CVS /usr/ports/graphics/py-opengl/distinfo /home/hsn/hacked/py-opengl/distinfo --- /usr/ports/graphics/py-opengl/distinfo Sat Nov 26 02:47:57 2005 +++ /home/hsn/hacked/py-opengl/distinfo Mon Sep 3 23:53:58 2007 @@ -1,3 +1,3 @@ -MD5 (PyOpenGL-2.0.1.07.tar.gz) = 02e4331778fad4da7549ff1585a7a4a4 -SHA256 (PyOpenGL-2.0.1.07.tar.gz) = 7af4abf30b873cfc00d2800ea7d2a83cc4c66b27bb7d132c1daf8ab40b76ba34 -SIZE (PyOpenGL-2.0.1.07.tar.gz) = 1884617 +MD5 (PyOpenGL-2.0.1.09.tar.gz) = 505b5f28ea676194e2e10333c56d5936 +SHA256 (PyOpenGL-2.0.1.09.tar.gz) = 143baf9f29303c0c0090c3ec3499b4d5c16531db1da5e7a33f590b104e2d4236 +SIZE (PyOpenGL-2.0.1.09.tar.gz) = 2180479 diff -ruN --exclude=CVS /usr/ports/graphics/py-opengl/files/patch-tcltklibnames /home/hsn/hacked/py-opengl/files/patch-tcltklibnames --- /usr/ports/graphics/py-opengl/files/patch-tcltklibnames Thu Jan 1 01:00:00 1970 +++ /home/hsn/hacked/py-opengl/files/patch-tcltklibnames Tue Sep 4 15:37:51 2007 @@ -0,0 +1,13 @@ +--- setup/togl_setup.py.orig Tue Sep 4 15:29:53 2007 ++++ setup/togl_setup.py Tue Sep 4 15:32:58 2007 +@@ -151,8 +151,8 @@ + + self.library_dirs.append(os.path.normpath(os.path.join(tk.getvar('tcl_library'), '..'))) + +- self.libraries.append('tcl' + tk.getvar('tcl_version')) +- self.libraries.append('tk' + tk.getvar('tk_version')) ++ self.libraries.append('tcl' + string.replace(tk.getvar('tcl_version'),'.','')) ++ self.libraries.append('tk' + string.replace(tk.getvar('tk_version'),'.','')) + + if os.environ.has_key('CFLAGS'): + extra_compile_args.extend(string.split(os.environ['CFLAGS'])) --- py24-opengl-2.0.1.09.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1ISZEq-000OKN-5l>