[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
16/21: gnu: freeglut: Update to 3.2.2.
From: |
guix-commits |
Subject: |
16/21: gnu: freeglut: Update to 3.2.2. |
Date: |
Thu, 23 Jun 2022 13:56:44 -0400 (EDT) |
mbakke pushed a commit to branch staging
in repository guix.
commit a6bc7baa5430f2388ea6a134146908e830ef3a21
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Thu Jun 23 19:22:23 2022 +0200
gnu: freeglut: Update to 3.2.2.
* gnu/packages/gl.scm (freeglut): Update to 3.2.2.
[source](uri): Switch to new primary download location.
[source](patches): Remove.
* gnu/packages/patches/freeglut-gcc-compat.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
---
gnu/local.mk | 1 -
gnu/packages/gl.scm | 9 ++---
gnu/packages/patches/freeglut-gcc-compat.patch | 53 --------------------------
3 files changed, 4 insertions(+), 59 deletions(-)
diff --git a/gnu/local.mk b/gnu/local.mk
index 58a83c4916..4e19b64f6e 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1077,7 +1077,6 @@ dist_patch_DATA =
\
%D%/packages/patches/fp16-system-libraries.patch \
%D%/packages/patches/fpc-reproducibility.patch \
%D%/packages/patches/freedink-engine-fix-sdl-hints.patch \
- %D%/packages/patches/freeglut-gcc-compat.patch \
%D%/packages/patches/freeimage-unbundle.patch \
%D%/packages/patches/fuse-overlapping-headers.patch
\
%D%/packages/patches/fxdiv-system-libraries.patch \
diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index 4ee5f85b32..fcc110e6bf 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -105,16 +105,15 @@ as ASCII text.")
(define-public freeglut
(package
(name "freeglut")
- (version "3.2.1")
+ (version "3.2.2")
(source (origin
(method url-fetch)
(uri (string-append
- "mirror://sourceforge/freeglut/freeglut/"
- version "/freeglut-" version ".tar.gz"))
- (patches (search-patches "freeglut-gcc-compat.patch"))
+ "https://github.com/FreeGLUTProject/freeglut/releases"
+ "/download/v" version "/freeglut-" version ".tar.gz"))
(sha256
(base32
- "0s6sk49q8ijgbsrrryb7dzqx2fa744jhx1wck5cz5jia2010w06l"))))
+ "0l3s57zw51fy3mn5qfdm4z775kfhflgxppanaxmskfzh5l44m565"))))
(build-system cmake-build-system)
(arguments
'(#:tests? #f ;no test target
diff --git a/gnu/packages/patches/freeglut-gcc-compat.patch
b/gnu/packages/patches/freeglut-gcc-compat.patch
deleted file mode 100644
index 126bbd89f4..0000000000
--- a/gnu/packages/patches/freeglut-gcc-compat.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-Fix build failure with GCC 10.
-
-Taken from upstream:
-https://github.com/dcnieho/FreeGLUT/commit/b9998bbc1e1c329f6bf69c24606a2be7a4973b8c
-
-diff --git a/src/fg_gl2.c b/src/fg_gl2.c
---- a/src/fg_gl2.c
-+++ b/src/fg_gl2.c
-@@ -27,6 +27,20 @@
- #include "fg_internal.h"
- #include "fg_gl2.h"
-
-+#ifndef GL_ES_VERSION_2_0
-+/* GLES2 has the corresponding entry points built-in, and these fgh-prefixed
-+ * names are defined in fg_gl2.h header to reference them, for any other case,
-+ * define them as function pointers here.
-+ */
-+FGH_PFNGLGENBUFFERSPROC fghGenBuffers;
-+FGH_PFNGLDELETEBUFFERSPROC fghDeleteBuffers;
-+FGH_PFNGLBINDBUFFERPROC fghBindBuffer;
-+FGH_PFNGLBUFFERDATAPROC fghBufferData;
-+FGH_PFNGLENABLEVERTEXATTRIBARRAYPROC fghEnableVertexAttribArray;
-+FGH_PFNGLDISABLEVERTEXATTRIBARRAYPROC fghDisableVertexAttribArray;
-+FGH_PFNGLVERTEXATTRIBPOINTERPROC fghVertexAttribPointer;
-+#endif
-+
- void FGAPIENTRY glutSetVertexAttribCoord3(GLint attrib) {
- if (fgStructure.CurrentWindow != NULL)
- fgStructure.CurrentWindow->Window.attribute_v_coord = attrib;
-diff --git a/src/fg_gl2.h b/src/fg_gl2.h
---- a/src/fg_gl2.h
-+++ b/src/fg_gl2.h
-@@ -67,13 +67,13 @@ typedef void (APIENTRY
*FGH_PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
- typedef void (APIENTRY *FGH_PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint);
- typedef void (APIENTRY *FGH_PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index,
GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid
*pointer);
-
--FGH_PFNGLGENBUFFERSPROC fghGenBuffers;
--FGH_PFNGLDELETEBUFFERSPROC fghDeleteBuffers;
--FGH_PFNGLBINDBUFFERPROC fghBindBuffer;
--FGH_PFNGLBUFFERDATAPROC fghBufferData;
--FGH_PFNGLENABLEVERTEXATTRIBARRAYPROC fghEnableVertexAttribArray;
--FGH_PFNGLDISABLEVERTEXATTRIBARRAYPROC fghDisableVertexAttribArray;
--FGH_PFNGLVERTEXATTRIBPOINTERPROC fghVertexAttribPointer;
-+extern FGH_PFNGLGENBUFFERSPROC fghGenBuffers;
-+extern FGH_PFNGLDELETEBUFFERSPROC fghDeleteBuffers;
-+extern FGH_PFNGLBINDBUFFERPROC fghBindBuffer;
-+extern FGH_PFNGLBUFFERDATAPROC fghBufferData;
-+extern FGH_PFNGLENABLEVERTEXATTRIBARRAYPROC fghEnableVertexAttribArray;
-+extern FGH_PFNGLDISABLEVERTEXATTRIBARRAYPROC fghDisableVertexAttribArray;
-+extern FGH_PFNGLVERTEXATTRIBPOINTERPROC fghVertexAttribPointer;
-
- # endif
-
- 02/21: gnu: libva: Use G-expressions., (continued)
- 02/21: gnu: libva: Use G-expressions., guix-commits, 2022/06/23
- 04/21: gnu: python-sphinx: Update to 5.0.2., guix-commits, 2022/06/23
- 09/21: gnu: libepoxy: Update to 1.5.10., guix-commits, 2022/06/23
- 06/21: gnu: python-requests: Update to 2.28.0., guix-commits, 2022/06/23
- 14/21: gnu: bluez: Simplify inputs., guix-commits, 2022/06/23
- 11/21: gnu: libwebp: Update to 1.2.2., guix-commits, 2022/06/23
- 03/21: gnu: python-babel: Update to 2.10.3., guix-commits, 2022/06/23
- 10/21: gnu: libepoxy: Use new style., guix-commits, 2022/06/23
- 08/21: gnu: python-charset-normalizer: Update to 2.1.0., guix-commits, 2022/06/23
- 20/21: gnu: Remove postgresql@13 replacement., guix-commits, 2022/06/23
- 16/21: gnu: freeglut: Update to 3.2.2.,
guix-commits <=
- 12/21: gnu: libwebp: Simplify inputs., guix-commits, 2022/06/23
- 18/21: gnu: glu: Update to 9.0.2., guix-commits, 2022/06/23
- 07/21: gnu: python-urllib3: Update to 1.26.9., guix-commits, 2022/06/23
- 13/21: gnu: bluez: Update to 5.64., guix-commits, 2022/06/23
- 21/21: gnu: qtbase: Build with PostgreSQL@14., guix-commits, 2022/06/23
- 19/21: gnu: libinput: Update to 1.19.4., guix-commits, 2022/06/23
- 15/21: gnu: bluez: Use new style., guix-commits, 2022/06/23
- 05/21: gnu: python-certifi: Update to 2022.6.15., guix-commits, 2022/06/23
- 17/21: gnu: libical: Update to 3.0.14., guix-commits, 2022/06/23