public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-perl/OpenGL/files/, dev-perl/OpenGL/
@ 2016-12-24 20:10 Andreas Hüttel
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Hüttel @ 2016-12-24 20:10 UTC (permalink / raw
  To: gentoo-commits

commit:     099664a9d810f22a31bc7d99232837397c6b129f
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 24 20:09:50 2016 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Dec 24 20:10:16 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=099664a9

dev-perl/OpenGL: Version bump

Package-Manager: portage-2.3.3

 dev-perl/OpenGL/Manifest                           |  1 +
 dev-perl/OpenGL/OpenGL-0.700.0.ebuild              | 51 +++++++++++
 .../OpenGL/files/OpenGL-0.700.0-no-display.patch   | 99 ++++++++++++++++++++++
 3 files changed, 151 insertions(+)

diff --git a/dev-perl/OpenGL/Manifest b/dev-perl/OpenGL/Manifest
index 8d55859..93d2a78 100644
--- a/dev-perl/OpenGL/Manifest
+++ b/dev-perl/OpenGL/Manifest
@@ -1 +1,2 @@
 DIST OpenGL-0.6704.tar.gz 623036 SHA256 36f266e31d617fa9a1bd8928a7dc3b7c40c1bbbfa64bddefe22300ac2bc6c436 SHA512 3a2c9970802242ebae58256cd80dc81ac04a2af974105d3fbdf4dfcf1aa64a769b1ffcb5b0156eceb6bf7aed6eb6b2eb9332ec9f4724b0a1bc61d15f0de99d09 WHIRLPOOL f6cb34b30c7ef2af0d2dc16ab4b5d9f7216f2ab08c0bf904305f358fec751492fe605bdb783d6ebb9dcdb83fa3601f831e9162fe4bc0d33a68cbafa7c289b86c
+DIST OpenGL-0.70.tar.gz 783810 SHA256 b20e2af4404b4901ab35bba6ad5e3a8aa60bff72413c99288f01018c4cf874e0 SHA512 7d418015b2553dd69805252b5957bc97013260617d5a358f692e29b8da884590421c81fbc71d4dd678c93a5c89047d6af8c32f15bf0bd0e4ce514c200e634af5 WHIRLPOOL 39094d8124f46f45595a01467ac40becdf33090a254475bb32810ea791952a7829fc6fcddc9f685ee8683f87604b81d29ab2fe21821fb9c8de8d4a6fe85470cf

diff --git a/dev-perl/OpenGL/OpenGL-0.700.0.ebuild b/dev-perl/OpenGL/OpenGL-0.700.0.ebuild
new file mode 100644
index 00000000..df2063f
--- /dev/null
+++ b/dev-perl/OpenGL/OpenGL-0.700.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DIST_AUTHOR=CHM
+DIST_VERSION=0.70
+
+inherit perl-module eutils
+
+DESCRIPTION="Perl interface providing graphics display using OpenGL"
+
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="examples"
+
+RDEPEND="
+	media-libs/freeglut:0=
+	x11-libs/libICE:0=
+	x11-libs/libXext:0=
+	x11-libs/libXi:0=
+	x11-libs/libXmu:0="
+DEPEND="${RDEPEND}"
+
+mydoc="Release_Notes"
+
+src_prepare() {
+	eapply "${FILESDIR}"/${P}-no-display.patch
+	# This should be merely moved to t/ as it gets
+	# installed to OS otherwise.
+	# But it presently fails tests, and can't be made not to.
+	# ( And will need virtualx when it can )
+	# Something to do with OpenGL implementation ala eselect.
+	perl_rm_files "test.pl";
+	perl-module_src_prepare
+}
+
+src_compile() {
+	sed -i -e 's/PERL_DL_NONLAZY=1//' Makefile || die
+	perl-module_src_compile
+}
+
+src_install() {
+	perl-module_src_install
+	if use examples; then
+		docompress -x /usr/share/doc/${PF}/examples
+		insinto /usr/share/doc/${PF}/examples
+		doins -r examples/*
+	fi
+}

diff --git a/dev-perl/OpenGL/files/OpenGL-0.700.0-no-display.patch b/dev-perl/OpenGL/files/OpenGL-0.700.0-no-display.patch
new file mode 100644
index 00000000..e351c3f
--- /dev/null
+++ b/dev-perl/OpenGL/files/OpenGL-0.700.0-no-display.patch
@@ -0,0 +1,99 @@
+diff -urN OpenGL-0.70.orig/Makefile.PL OpenGL-0.70/Makefile.PL
+--- OpenGL-0.70.orig/Makefile.PL	2016-10-08 21:11:14.000000000 +0200
++++ OpenGL-0.70/Makefile.PL	2016-12-24 21:08:08.674243142 +0100
+@@ -601,9 +601,9 @@
+   {
+     FILES =>
+       "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}"
+   }
+ };
+ 
+@@ -824,65 +824,6 @@
+     print "GLUT not found\n";
+   }
+ 
+-  # Platform-specific makefiles for glversion
+-  my $make_ver;
+-  if ($IS_STRAWBERRY)
+-  {
+-    $make_ver = "&strawberry.bat";
+-    print "strawberry glversion: '$make_ver'\n" if $verbose>1;
+-  }
+-  elsif ($IS_MINGW)
+-  {
+-    $make_ver = "&mingw.bat";
+-    print "mingw glversion: '$make_ver'\n" if $verbose>1;
+-  }
+-  elsif ($IS_W32API)
+-  {
+-    $make_ver = ";make -f Makefile.cygwin " .  (length($lib) ? "GLUT_LIB=$lib " : "") . (length($def) ? "GLUT_DEF=$def " : "");
+-    print "cygwin glversion: '$make_ver'\n" if $verbose>1;
+-  }
+-  elsif ($^O eq 'MSWin32')
+-  {
+-    $make_ver = '&nmake -f makefile.mak ' . (length($def) ? "GLUT_DEF=$def " : "");
+-    print "MSWin32 glversion: '$make_ver'\n" if $verbose>1;
+-  }
+-  elsif ($^O eq 'darwin')
+-  {
+-    $make_ver = ";make -f Makefile.macosx " .  (length($lib) ? "GLUT_LIB=$lib " : "") . (length($def) ? "GLUT_DEF=$def " : "");
+-    print "MacOSX glversion: '$make_ver'\n" if $verbose>1;
+-  }
+-  else
+-  {
+-    if ($ENV{TERM} ne 'xterm')
+-    {
+-      print "\nIn order to test your GPU's capabilities, run this make under an X11 shell\n\n";
+-    }
+-
+-    $make_ver = ";make -f Makefile " .  (length($lib) ? "GLUT_LIB=$lib " : "") . (length($def) ? "GLUT_DEF=$def " : "");
+-    print "glversion: '$make_ver'\n" if $verbose>1;
+-  }
+-  my $exec = 'cd utils'."$make_ver clean".$make_ver;
+-  print "glversion: $exec\n" if ($verbose);
+-  my $stat = `$exec`;
+-  print "\n$stat\n\n" if ($verbose);
+-  unlink "utils/freeglut.dll" or die "could not remove temporary freeglut: $!" if -f "utils/freeglut.dll";
+-
+-  # Parse glversion.txt file
+-  open GLDATA, $glv_file or die "get_extensions: could not open $glv_file: $!\n";
+-  my $gldata = {};
+-  my @gldata = <GLDATA>;
+-  close(GLDATA);
+-
+-  foreach my $line (@gldata)
+-  {
+-    $line =~ s|[\r\n]+||;
+-    my($key,$val) = split('=',$line);
+-    $gldata->{$key} = $val;
+-  }
+-  die "get_extensions: no extensions found in $glv_file\n" if !keys %$gldata;
+-
+-  print "This looks like OpenGL Version: $gldata->{VERSION}\n";
+-
+   # Parse glext_procs.h file
+   open GLEXT, "glext_procs.h" or die "get_extensions: could not open glext_procs.h: $!\n";
+   my @lines = <GLEXT>;
+@@ -896,14 +837,11 @@
+     next if ($ext =~ m|^GL_VERSION_|);
+     $no_ext->{$ext}++;
+   }
+-
++  use Config;
++  my $gldata = { };
+ 
+   # Create gl_exclude.h
+   die "Unable to write to $exc_file\n" if (!open(GLEXC,">$exc_file"));
+-  print GLEXC "// OpenGL Extension Exclusions - may be modified before building.\n";
+-  print GLEXC "//\n";
+-  print GLEXC "// Generated for ".$gldata->{VENDOR}.", ".$gldata->{RENDERER}."\n";
+-  print GLEXC "// OpenGL v".$gldata->{VERSION}.", using ";
+ 
+   # Fix GLUT flags based on results
+   if ($gldata->{FREEGLUT})


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-perl/OpenGL/files/, dev-perl/OpenGL/
@ 2020-04-15 13:08 Kent Fredric
  0 siblings, 0 replies; 2+ messages in thread
From: Kent Fredric @ 2020-04-15 13:08 UTC (permalink / raw
  To: gentoo-commits

commit:     d742f12a0435de00248aeee8b6cb17a8746b7769
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 15 13:07:40 2020 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Wed Apr 15 13:08:02 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d742f12a

dev-perl/OpenGL: Remove old 0.670.400

Package-Manager: Portage-2.3.97, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>

 dev-perl/OpenGL/Manifest                           |  1 -
 dev-perl/OpenGL/OpenGL-0.670.400.ebuild            | 49 ---------------------
 dev-perl/OpenGL/files/OpenGL-0.66-no-display.patch | 50 ----------------------
 3 files changed, 100 deletions(-)

diff --git a/dev-perl/OpenGL/Manifest b/dev-perl/OpenGL/Manifest
index 78ca8c853ea..3c321839ebf 100644
--- a/dev-perl/OpenGL/Manifest
+++ b/dev-perl/OpenGL/Manifest
@@ -1,2 +1 @@
-DIST OpenGL-0.6704.tar.gz 623036 BLAKE2B 1eb4821212b7ed04ad8c8d884d4441eb7de699ddd53f12c983ec912f535dbbe04b0529b42edfec3dd71f70f23bfe646c7c359116b81b1133df26aa05384c203b SHA512 3a2c9970802242ebae58256cd80dc81ac04a2af974105d3fbdf4dfcf1aa64a769b1ffcb5b0156eceb6bf7aed6eb6b2eb9332ec9f4724b0a1bc61d15f0de99d09
 DIST OpenGL-0.70.tar.gz 783810 BLAKE2B 9112057cb0eed654827aaed84646c31d80833f6cce90a7a6066d648558c90ade0126b4f79033bef08adce1e3024c2eb4d1e6b10d4807bb422bce18ffcb1baba9 SHA512 7d418015b2553dd69805252b5957bc97013260617d5a358f692e29b8da884590421c81fbc71d4dd678c93a5c89047d6af8c32f15bf0bd0e4ce514c200e634af5

diff --git a/dev-perl/OpenGL/OpenGL-0.670.400.ebuild b/dev-perl/OpenGL/OpenGL-0.670.400.ebuild
deleted file mode 100644
index 31cacaff5d9..00000000000
--- a/dev-perl/OpenGL/OpenGL-0.670.400.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DIST_AUTHOR=CHM
-DIST_VERSION=0.6704
-
-inherit perl-module eutils
-
-DESCRIPTION="Perl interface providing graphics display using OpenGL"
-
-SLOT="0"
-KEYWORDS="amd64 arm ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
-IUSE="examples"
-
-RDEPEND="
-	media-libs/freeglut:0=
-	x11-libs/libICE:0=
-	x11-libs/libXext:0=
-	x11-libs/libXi:0=
-	x11-libs/libXmu:0="
-DEPEND="${RDEPEND}"
-
-mydoc="Release_Notes"
-
-src_prepare() {
-	eapply "${FILESDIR}"/${PN}-0.66-no-display.patch
-	# This should be merely moved to t/ as it gets
-	# installed to OS otherwise.
-	# But it presently fails tests, and can't be made not to.
-	# ( And will need virtualx when it can )
-	# Something to do with OpenGL implementation ala eselect.
-	perl_rm_files "test.pl";
-	perl-module_src_prepare
-}
-
-src_compile() {
-	sed -i -e 's/PERL_DL_NONLAZY=1//' Makefile || die
-	perl-module_src_compile
-}
-src_install() {
-	perl-module_src_install
-	if use examples; then
-		docompress -x /usr/share/doc/${PF}/examples
-		insinto /usr/share/doc/${PF}/examples
-		doins -r examples/*
-	fi
-}

diff --git a/dev-perl/OpenGL/files/OpenGL-0.66-no-display.patch b/dev-perl/OpenGL/files/OpenGL-0.66-no-display.patch
deleted file mode 100644
index 6bdc334ba0b..00000000000
--- a/dev-perl/OpenGL/files/OpenGL-0.66-no-display.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-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 =
-   {
-     FILES =>
-       "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}"
-   }
- };
- 
-@@ -790,6 +790,7 @@ sub get_extensions
-     print "GLUT not found\n";
-   }
- 
-+=cut
-   # 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 $verbose;
-      return '';
-   }
--
-+=cut
-+  use Config;
-+  my $gldata = { };
- 
-   # Parse glext_procs.h file
-   return '' if (!open(GLEXT,"glext_procs.h"));
-@@ -867,10 +870,12 @@ sub get_extensions
- 
-   # Create gl_exclude.h
-   die "Unable to write to $exc_file\n" if (!open(GLEXC,">$exc_file"));
-+=cut
-   print GLEXC "// OpenGL Extension Exclusions - may be modified before building.\n";
-   print GLEXC "//\n";
-   print GLEXC "// Generated for ".$gldata->{VENDOR}.", ".$gldata->{RENDERER}."\n";
-   print GLEXC "// OpenGL v".$gldata->{VERSION}.", using ";
-+=cut
- 
-   # Fix GLUT flags based on results
-   if ($gldata->{GLUT} > 0)


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-15 13:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-15 13:08 [gentoo-commits] repo/gentoo:master commit in: dev-perl/OpenGL/files/, dev-perl/OpenGL/ Kent Fredric
  -- strict thread matches above, loose matches on Subject: below --
2016-12-24 20:10 Andreas Hüttel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox