From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Sfh7G-0005xT-E6 for garchives@archives.gentoo.org; Sat, 16 Jun 2012 00:43:50 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6884121C094; Sat, 16 Jun 2012 00:43:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 2BA1B21C091 for ; Sat, 16 Jun 2012 00:43:13 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 607D91B4027 for ; Sat, 16 Jun 2012 00:43:12 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 77899E5438 for ; Sat, 16 Jun 2012 00:43:09 +0000 (UTC) From: "Sebastien Fabbro" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastien Fabbro" Message-ID: <1339807240.01cd6aa205e6fc62ae5899b3769a28c189b24984.bicatali@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: dev-perl/OpenGL/, dev-perl/OpenGL/files/ X-VCS-Repository: proj/sci X-VCS-Files: dev-perl/OpenGL/ChangeLog dev-perl/OpenGL/OpenGL-0.66.ebuild dev-perl/OpenGL/files/OpenGL-0.66-no-display.patch dev-perl/OpenGL/metadata.xml X-VCS-Directories: dev-perl/OpenGL/ dev-perl/OpenGL/files/ X-VCS-Committer: bicatali X-VCS-Committer-Name: Sebastien Fabbro X-VCS-Revision: 01cd6aa205e6fc62ae5899b3769a28c189b24984 X-VCS-Branch: master Date: Sat, 16 Jun 2012 00:43:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: b4c86da2-d4be-41c3-a424-db98f7983220 X-Archives-Hash: 0d7a042aaed57cba66c2cea9608034df commit: 01cd6aa205e6fc62ae5899b3769a28c189b24984 Author: S=C3=A9bastien Fabbro gmail com> AuthorDate: Sat Jun 16 00:40:40 2012 +0000 Commit: Sebastien Fabbro gentoo org> CommitDate: Sat Jun 16 00:40:40 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/sci.git;a=3Dc= ommit;h=3D01cd6aa2 dev-perl/OpenGL: Initial import (Portage version: 2.1.10.63/git/Linux x86_64, unsigned Manifest commit) --- dev-perl/OpenGL/ChangeLog | 10 ++++ dev-perl/OpenGL/OpenGL-0.66.ebuild | 34 +++++++++++++ dev-perl/OpenGL/files/OpenGL-0.66-no-display.patch | 50 ++++++++++++++= ++++++ dev-perl/OpenGL/metadata.xml | 16 ++++++ 4 files changed, 110 insertions(+), 0 deletions(-) diff --git a/dev-perl/OpenGL/ChangeLog b/dev-perl/OpenGL/ChangeLog new file mode 100644 index 0000000..7b48709 --- /dev/null +++ b/dev-perl/OpenGL/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-perl/OpenGL +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*OpenGL-0.66 (16 Jun 2012) + + 16 Jun 2012; S=C3=A9bastien Fabbro +OpenGL-0.66.= ebuild, + +files/OpenGL-0.66-no-display.patch, +metadata.xml: + dev-perl/OpenGL: Initial import + diff --git a/dev-perl/OpenGL/OpenGL-0.66.ebuild b/dev-perl/OpenGL/OpenGL-= 0.66.ebuild new file mode 100644 index 0000000..e3aa5cd --- /dev/null +++ b/dev-perl/OpenGL/OpenGL-0.66.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3D4 + +MODULE_AUTHOR=3D"CHM" + +inherit perl-module eutils + +DESCRIPTION=3D"Perl interface providing graphics display using OpenGL" + +LICENSE=3D"|| ( Artistic GPL-1 GPL-2 GPL-3 )" +SLOT=3D"0" +KEYWORDS=3D"~amd64 ~x86" +IUSE=3D"" + +RDEPEND=3D"media-libs/freeglut + x11-libs/libICE + x11-libs/libXext + x11-libs/libXi + x11-libs/libXmu" +DEPEND=3D"${RDEPEND}" + +mydoc=3D"Release_Notes" + +src_prepare() { + epatch "${FILESDIR}"/${P}-no-display.patch +} + +src_compile() { + sed -i -e 's/PERL_DL_NONLAZY=3D1//' Makefile || die + perl-module_src_compile +} diff --git a/dev-perl/OpenGL/files/OpenGL-0.66-no-display.patch b/dev-per= l/OpenGL/files/OpenGL-0.66-no-display.patch new file mode 100644 index 0000000..6bdc334 --- /dev/null +++ b/dev-perl/OpenGL/files/OpenGL-0.66-no-display.patch @@ -0,0 +1,50 @@ +Don't check current display for extensions, build all. + +diff -up OpenGL-0.62/Makefile.PL.dist OpenGL-0.62/Makefile.PL +--- OpenGL-0.62/Makefile.PL.dist 2009-12-11 01:10:00.000000000 +0100 ++++ OpenGL-0.62/Makefile.PL 2010-01-07 13:00:26.000000000 +0100 +@@ -579,9 +579,9 @@ my $build_config =3D + { + FILES =3D> + "Config.pm ". +- "utils/glversion.txt ". +- "utils/glversion$Config{exe_ext} ". +- "utils/glversion$Config{obj_ext}" ++ "utils/glversion.txt " ++ #"utils/glversion$Config{exe_ext} ". ++ #"utils/glversion$Config{obj_ext}" + } + }; +=20 +@@ -790,6 +790,7 @@ sub get_extensions + print "GLUT not found\n"; + } +=20 ++=3Dcut + # Platform-specific makefiles for glversion + my $make_ver; + if ($IS_MINGW) +@@ -848,7 +849,9 @@ sub get_extensions + print "get_extensions: no extensions found in $glv_file\n" if $ver= bose; + return ''; + } +- ++=3Dcut ++ use Config; ++ my $gldata =3D { }; +=20 + # Parse glext_procs.h file + return '' if (!open(GLEXT,"glext_procs.h")); +@@ -867,10 +870,12 @@ sub get_extensions +=20 + # Create gl_exclude.h + die "Unable to write to $exc_file\n" if (!open(GLEXC,">$exc_file")); ++=3Dcut + print GLEXC "// OpenGL Extension Exclusions - may be modified before = building.\n"; + print GLEXC "//\n"; + print GLEXC "// Generated for ".$gldata->{VENDOR}.", ".$gldata->{REND= ERER}."\n"; + print GLEXC "// OpenGL v".$gldata->{VERSION}.", using "; ++=3Dcut +=20 + # Fix GLUT flags based on results + if ($gldata->{GLUT} > 0) diff --git a/dev-perl/OpenGL/metadata.xml b/dev-perl/OpenGL/metadata.xml new file mode 100644 index 0000000..44f1713 --- /dev/null +++ b/dev-perl/OpenGL/metadata.xml @@ -0,0 +1,16 @@ + + + +sci +perl + + OpenGL is a Perl module that provides an interface to most of Open Gra= phics + Library, API versions 1.0, 1.1 and 1.2. There is full support for the = Utility + Toolkit (GLUT) up to version 3 and provides some additional functional= ity via + partial support for the Utility Library (GLU). It also provides functi= onality + to use the X Window System (through X11 and GLX) as an alternative to = GLUT. + + + OpenGL + +