commit:     4e19f278183f0a61f680fae2db1f5b4f7f96b23a
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 14 03:20:47 2026 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sat Feb 14 03:26:22 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e19f278

media-libs/freeglut: Drop old versions

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 media-libs/freeglut/Manifest                       |  1 -
 media-libs/freeglut/files/freeglut-3.6.0-c23.patch | 27 -------------
 .../freeglut/files/freeglut-3.6.0-cmake4.patch     | 24 -----------
 media-libs/freeglut/freeglut-3.6.0-r1.ebuild       | 47 ----------------------
 4 files changed, 99 deletions(-)

diff --git a/media-libs/freeglut/Manifest b/media-libs/freeglut/Manifest
index 77c4b14453f1..a35a36fbd9ba 100644
--- a/media-libs/freeglut/Manifest
+++ b/media-libs/freeglut/Manifest
@@ -1,2 +1 @@
-DIST freeglut-3.6.0.tar.gz 429619 BLAKE2B 
c42985013aafbe0e21369295f67355f2b498f284289fceed9baff5de6a46b7fee2a2ee07e00c136f65caa9159b635df82030a112eae101f9f82751abd76636e4
 SHA512 
ceb5dd9ea86e915acb177e405e79b92f77cf3213ba21fe200491d0b1150dd9c81835b71cb8a928bd514eb719626ff802250429df2f6dfa33f8e181c3f74b2dd0
 DIST freeglut-3.8.0.tar.gz 538754 BLAKE2B 
a1b31f53de54deb1803f1b307074bd97e21aef79aca996ca779b22bcbd27f80b0376a4da86fe68929c34e0ed351f5bb5aa10677d21f1a434aaeeb202355795da
 SHA512 
2726ff978f11e17680fa01aa21c263f5154e9f0185021ec58e89ae006a5d093e062e68c66c709307a709e44823ee7b1f265ae450dd03cae616a2acefdeba7748

diff --git a/media-libs/freeglut/files/freeglut-3.6.0-c23.patch 
b/media-libs/freeglut/files/freeglut-3.6.0-c23.patch
deleted file mode 100644
index c5cd5ee5dbf3..000000000000
--- a/media-libs/freeglut/files/freeglut-3.6.0-c23.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-https://github.com/freeglut/freeglut/pull/187
-
-From ca500e65b40267efe7a05ec7ebae1141544c0cfb Mon Sep 17 00:00:00 2001
-From: Sam James <[email protected]>
-Date: Sun, 17 Nov 2024 01:14:26 +0000
-Subject: [PATCH] egl: fix fgPlatformDestroyContext prototype for C23
-
-C23 removes unprototyped functions, so this conflicted with the definition
-in fg_init_x11.c.
-
-Bug: https://github.com/freeglut/freeglut/issues/186
----
- src/egl/fg_init_egl.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/egl/fg_init_egl.h b/src/egl/fg_init_egl.h
-index 592c5221d..8753dc0bc 100644
---- a/src/egl/fg_init_egl.h
-+++ b/src/egl/fg_init_egl.h
-@@ -28,6 +28,6 @@
- 
- extern void fghPlatformInitializeEGL();
- extern void fghPlatformCloseDisplayEGL();
--extern void fgPlatformDestroyContext();
-+extern void fgPlatformDestroyContext ( SFG_PlatformDisplay pDisplay, 
SFG_WindowContextType MContext );
- 
- #endif

diff --git a/media-libs/freeglut/files/freeglut-3.6.0-cmake4.patch 
b/media-libs/freeglut/files/freeglut-3.6.0-cmake4.patch
deleted file mode 100644
index 116a09893038..000000000000
--- a/media-libs/freeglut/files/freeglut-3.6.0-cmake4.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 2294389397912c9a6505a88221abb7dca0a4fb79 Mon Sep 17 00:00:00 2001
-From: John Tsiombikas <[email protected]>
-Date: Thu, 20 Mar 2025 09:28:29 +0200
-Subject: [PATCH] Let cmake know we are aware there are newer versions and we
- don't care
-
-Closes issue #207
----
- CMakeLists.txt | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git ./CMakeLists.txt ./CMakeLists.txt
-index 791771e7..e5903ef4 100644
---- ./CMakeLists.txt
-+++ ./CMakeLists.txt
-@@ -1,4 +1,4 @@
--CMAKE_MINIMUM_REQUIRED(VERSION 3.1 FATAL_ERROR)
-+CMAKE_MINIMUM_REQUIRED(VERSION 3.1...3.5 FATAL_ERROR)
- PROJECT(freeglut LANGUAGES C)
- 
- #######################
--- 
-2.49.0
-

diff --git a/media-libs/freeglut/freeglut-3.6.0-r1.ebuild 
b/media-libs/freeglut/freeglut-3.6.0-r1.ebuild
deleted file mode 100644
index 06c2558b9163..000000000000
--- a/media-libs/freeglut/freeglut-3.6.0-r1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake-multilib
-
-DESCRIPTION="A free OpenGL utility toolkit, the open-sourced alternative to 
the GLUT library"
-HOMEPAGE="https://freeglut.sourceforge.net/";
-SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz";
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 
~sparc x86"
-
-# enabling GLES support seems to cause build failures
-RDEPEND=">=virtual/glu-9.0-r1[${MULTILIB_USEDEP}]
-       >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]
-       >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
-       >=x11-libs/libXi-1.7.2[${MULTILIB_USEDEP}]
-       >=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}]
-       >=x11-libs/libXxf86vm-1.1.3[${MULTILIB_USEDEP}]"
-# gles? ( media-libs/mesa[egl(+),gles1,gles2,${MULTILIB_USEDEP}] )
-DEPEND="${RDEPEND}
-       x11-base/xorg-proto"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-3.6.0-c23.patch
-       "${FILESDIR}"/${PN}-3.6.0-cmake4.patch
-)
-
-src_configure() {
-       local mycmakeargs=(
-#              "-DOpenGL_GL_PREFERENCE=GLVND" # bug 721006
-               "-DFREEGLUT_GLES=OFF"
-               "-DFREEGLUT_BUILD_DEMOS=OFF"
-               "-DFREEGLUT_BUILD_STATIC_LIBS=OFF"
-       )
-#      $(cmake-utils_use gles FREEGLUT_GLES)
-       cmake-multilib_src_configure
-}
-
-multilib_src_install() {
-       cmake_src_install
-       cp "${ED}"/usr/$(get_libdir)/pkgconfig/{,free}glut.pc || die
-}

Reply via email to