diff options
author | Bryan Østergaard <kloeri@gentoo.org> | 2004-07-20 19:54:12 +0000 |
---|---|---|
committer | Bryan Østergaard <kloeri@gentoo.org> | 2004-07-20 19:54:12 +0000 |
commit | 35f8dc20c87472de4c278e1889603d572fe23b12 (patch) | |
tree | 1272789990f5493d8d3777692fe9dce568d7f218 /dev-python/pyopengl | |
parent | Rename dev-python/PyOpenGL to dev-python/pyopengl. (Manifest recommit) (diff) | |
download | gentoo-2-35f8dc20c87472de4c278e1889603d572fe23b12.tar.gz gentoo-2-35f8dc20c87472de4c278e1889603d572fe23b12.tar.bz2 gentoo-2-35f8dc20c87472de4c278e1889603d572fe23b12.zip |
Rename dev-python/PyOpenGL to dev-python/pyopengl.
Diffstat (limited to 'dev-python/pyopengl')
-rw-r--r-- | dev-python/pyopengl/ChangeLog | 82 | ||||
-rw-r--r-- | dev-python/pyopengl/files/config.diff | 26 | ||||
-rw-r--r-- | dev-python/pyopengl/files/digest-pyopengl-2.0.0.44 | 1 | ||||
-rw-r--r-- | dev-python/pyopengl/files/pyopengl-2.0.0.44-disable_togl.patch | 11 | ||||
-rw-r--r-- | dev-python/pyopengl/metadata.xml | 5 | ||||
-rw-r--r-- | dev-python/pyopengl/pyopengl-2.0.0.44.ebuild | 69 |
6 files changed, 194 insertions, 0 deletions
diff --git a/dev-python/pyopengl/ChangeLog b/dev-python/pyopengl/ChangeLog new file mode 100644 index 000000000000..07827fda5f87 --- /dev/null +++ b/dev-python/pyopengl/ChangeLog @@ -0,0 +1,82 @@ +# ChangeLog for dev-python/PyOpenGL +# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopengl/ChangeLog,v 1.1 2004/07/20 19:52:08 kloeri Exp $ + +*pyopengl-2.0.0.44 (20 Jul 2004) + + 20 Jul 2004; Bryan Østergaard <kloeri@gentoo.org> +metadata.xml, + +files/config.diff, +files/pyopengl-2.0.0.44-disable_togl.patch, + +pyopengl-2.0.0.44.ebuild: + Rename dev-python/PyOpenGL to dev-python/pyopengl. + + 13 May 2004; Stephen P. Becker <geoman@gentoo.org> PyOpenGL-2.0.0.44.ebuild: + Stable on mips. + + 07 May 2004; Bryan Østergaard <kloeri@gentoo.org> PyOpenGL-2.0.0.44.ebuild: + Add missing IUSE. + + 11 Apr 2004; Donnie Berkholz <spyderous@gentoo.org>; + PyOpenGL-2.0.0.44.ebuild: + Fixes for xorg-x11 compatibility. + + 09 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org> + PyOpenGL-2.0.0.44.ebuild: + don't assign default to S; inherit eutils for epatch + + 07 Apr 2004; Bart Lauwers <blauwers@gentoo.org> PyOpenGL-2.0.0.44.ebuild: + Fix for bug #45435: previous code broke non-nvidia opengl setups + + 16 Mar 2004; Stephen P. Becker <geoman@gentoo.org> PyOpenGL-2.0.0.44.ebuild: + Added ~mips keyword. + + 17 Feb 2004; Aron Griffis <agriffis@gentoo.org> PyOpenGL-2.0.0.44.ebuild: + stable on ia64 + + 17 Jan 2004; Bartosch Pixa <darkspecter@gentoo.org> : + manifest fix + + 16 Jan 2004; Bartosch Pixa <darkspecter@gentoo.org> + PyOpenGL-2.0.0.44.ebuild: + set ppc in keywords + + 16 Jan 2004; Bart Lauwers <blauwers@gentoo.org) PyOpenGL-2.0.0.44.ebuild : + Fix for bug #37320: temporarily disable nvidia opengl driver during build, added + missing ChangeLog entry + + 05 Jan 2004; Jon Portnoy <avenj@gentoo.org> PyOpenGL-2.0.0.44.ebuild : + AMD64 keywords. + + 29 Dec 2003; Guy Martin <gmsoft@gentoo.org> PyOpenGL-2.0.0.44.ebuild: + Marked stable on hppa. + + 25 Dec 2003; Jason Wever <weeve@gentoo.org> PyOpenGL-2.0.0.44.ebuild: + Marked stable on sparc. + + 06 Dec 2003; Alastair Tse <liquidx@gentoo.org> PyOpenGL-2.0.0.44.ebuild, + files/PyOpenGL-2.0.0.44-disable_togl.patch: + temporarily disabled ToGL until we find a better solution for tk-8.4.4. please + note that this is going to be deprecated from PyOpenGL in the next release and + is not used by anything in portage. (#32070) Patch thanks to Eamon + Caddigan <ecaddiga@uiuc.edu> + + 30 May 2003; Jack Morgan <jmorgan@gentoo.org> PyOpenGL-2.0.0.44.ebuild: + Changed -sparc to ~sparc + + 16 May 2003; Stanislav Brabec <utx@gentoo.org> files/config.diff: + Patch updated to build with tk-8.4 (from Chad Netzer + <chad.netzer@stanfordalumni.org>, bugs #20248). + +*PyOpenGL-2.0.0.44 (29 Aug 2002) + + 11 Sep 2002; Nick Hadaway <raker@gentoo.org> PyOpenGL-2.0.0.44.ebuild : + Updated dependancies to include glut. This addresses bug #7563 + + 29 Aug 2002; Seemant Kulleen <seemant@gentoo.org> PyOpenGL-2.0.0.44.ebuild : + Adjusted so that an X server need not be running. It will use a virtual X + server. + + 29 Aug 2002; Nick Hadaway <raker@gentoo.org> PyOpenGL-2.0.0.44.ebuild, + files/digest-PyOpenGL-2.0.0.44, files/config.diff : + New ebuild added to support a wxPython opengl enabled build. This ebuild + requires a local or remote xserver running in order to complete the + build. diff --git a/dev-python/pyopengl/files/config.diff b/dev-python/pyopengl/files/config.diff new file mode 100644 index 000000000000..465e7c892df1 --- /dev/null +++ b/dev-python/pyopengl/files/config.diff @@ -0,0 +1,26 @@ +diff -ru PyOpenGL-2.0.0.44.orig/config/linux.cfg PyOpenGL-2.0.0.44/config/linux.cfg +--- PyOpenGL-2.0.0.44.orig/config/linux.cfg 2001-08-22 14:05:44.000000000 -0700 ++++ PyOpenGL-2.0.0.44/config/linux.cfg 2003-04-30 15:26:32.000000000 -0700 +@@ -11,8 +11,8 @@ + [General] + build_togl=1 + gl_platform=GLX +-include_dirs=/usr/include:/usr/local/include:/usr/X11/include +-library_dirs=/usr/lib:/usr/local/lib:/usr/X11/lib ++include_dirs=/usr/include:/usr/local/include:/usr/X11R6/include:/usr/lib/tk8.4/include ++library_dirs=/usr/lib:/usr/local/lib:/usr/X11R6/lib + + ; a sys.pathsep separated list of the libs needed when linking GL + [GL] +diff -ru PyOpenGL-2.0.0.44.orig/src/Togl-1.5/togl.c PyOpenGL-2.0.0.44/src/Togl-1.5/togl.c +--- PyOpenGL-2.0.0.44.orig/src/Togl-1.5/togl.c 2001-05-14 15:55:19.000000000 -0700 ++++ PyOpenGL-2.0.0.44/src/Togl-1.5/togl.c 2003-04-30 15:23:14.000000000 -0700 +@@ -137,6 +137,8 @@ + # include "tkInt8.0p2.h" + #elif TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==3 + # include "tkInt8.3.h" ++#elif TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==4 ++# include <generic/tkInt.h> + #else + #error Sorry, you will have to edit togl.c to include the right tkInt.h file + #endif diff --git a/dev-python/pyopengl/files/digest-pyopengl-2.0.0.44 b/dev-python/pyopengl/files/digest-pyopengl-2.0.0.44 new file mode 100644 index 000000000000..0d0382623d08 --- /dev/null +++ b/dev-python/pyopengl/files/digest-pyopengl-2.0.0.44 @@ -0,0 +1 @@ +MD5 87066d1ebce1ecda2f562182332c658b PyOpenGL-2.0.0.44.tar.gz 1281640 diff --git a/dev-python/pyopengl/files/pyopengl-2.0.0.44-disable_togl.patch b/dev-python/pyopengl/files/pyopengl-2.0.0.44-disable_togl.patch new file mode 100644 index 000000000000..80027afc7dad --- /dev/null +++ b/dev-python/pyopengl/files/pyopengl-2.0.0.44-disable_togl.patch @@ -0,0 +1,11 @@ +--- config/linux.cfg~ 2003-12-06 02:49:49.034371944 +0000 ++++ config/linux.cfg 2003-12-06 03:52:07.818990288 +0000 +@@ -9,7 +9,7 @@ + ; additional directories for headers and libraries. No quotes + ; are needed + [General] +-build_togl=1 ++build_togl=0 + gl_platform=GLX + include_dirs=/usr/include:/usr/local/include:/usr/X11R6/include:/usr/lib/tk8.4/include + library_dirs=/usr/lib:/usr/local/lib:/usr/X11R6/lib diff --git a/dev-python/pyopengl/metadata.xml b/dev-python/pyopengl/metadata.xml new file mode 100644 index 000000000000..de483c53568f --- /dev/null +++ b/dev-python/pyopengl/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>python</herd> +</pkgmetadata> diff --git a/dev-python/pyopengl/pyopengl-2.0.0.44.ebuild b/dev-python/pyopengl/pyopengl-2.0.0.44.ebuild new file mode 100644 index 000000000000..1d77ec658d1b --- /dev/null +++ b/dev-python/pyopengl/pyopengl-2.0.0.44.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopengl/pyopengl-2.0.0.44.ebuild,v 1.1 2004/07/20 19:52:08 kloeri Exp $ + +MY_P=${P/pyopengl/PyOpenGL} +S=${WORKDIR}/${MY_P} + +inherit eutils distutils virtualx + +DESCRIPTION="Python OpenGL bindings" +HOMEPAGE="http://pyopengl.sourceforge.net/" +SRC_URI="mirror://sourceforge/pyopengl/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="x86 ppc sparc mips alpha arm hppa amd64 ia64" +IUSE="" + +DEPEND="virtual/python + virtual/glut + virtual/x11 + virtual/opengl" + +src_unpack() { + unpack ${A} + EPATCH_OPTS="-d ${S}" epatch ${FILESDIR}/config.diff + EPATCH_OPTS="-d ${S}" epatch ${FILESDIR}/${P}-disable_togl.patch +} + +src_compile() { + export maketype="python" + export python="virtualmake" + distutils_src_compile +} + +src_install() { + export maketype="python" + export python="virtualmake" + distutils_src_install +} + +pkg_setup () { + if [ -e /etc/env.d/09opengl ] + then + # Set up X11 implementation + X11_IMPLEM_P="$(portageq best_version "${ROOT}" virtual/x11)" + X11_IMPLEM="${X11_IMPLEM_P%-[0-9]*}" + X11_IMPLEM="${X11_IMPLEM##*\/}" + einfo "X11 implementation is ${X11_IMPLEM}." + + VOID=$(cat /etc/env.d/09opengl | grep ${X11_IMPLEM}) + + USING_X11=$? + if [ ${USING_X11} -eq 1 ] + then + GL_IMPLEM=$(cat /etc/env.d/09opengl | cut -f5 -d/) + opengl-update ${X11_IMPLEM} + fi + else + die "Could not find /etc/env.d/09opengl. Please run opengl-update." + fi +} + +pkg_postinst () { + if [ ${USING_X11} -eq 1 ] + then + opengl-update ${GL_IMPLEM} + fi +} |