From: 1is7ac3 <1is7ac3@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] VirtualGL: update to 3.1.
Date: Mon, 20 Jan 2025 00:20:12 +0100 [thread overview]
Message-ID: <20250119232012.540A8229BC@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-54036@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1249 bytes --]
There is an updated pull request by 1is7ac3 against master on the void-packages repository
https://github.com/1is7ac3/void-packages VirtualGL-3.1
https://github.com/void-linux/void-packages/pull/54036
VirtualGL: update to 3.1.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-GLIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
<!-- - armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/54036.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-VirtualGL-3.1-54036.patch --]
[-- Type: text/x-diff, Size: 6033 bytes --]
From 5b6d11ad7e96034453572cea1e7855fe1e18244a Mon Sep 17 00:00:00 2001
From: 1is7ac3 <isaac.qa13@gmail.com>
Date: Sun, 19 Jan 2025 19:55:20 -0300
Subject: [PATCH] VirtualGL: update to 3.1.
---
...cc1e36b4ed89a325e01822447900840a0b77.patch | 105 ------------------
srcpkgs/VirtualGL/template | 14 +--
2 files changed, 7 insertions(+), 112 deletions(-)
delete mode 100644 srcpkgs/VirtualGL/patches/faedcc1e36b4ed89a325e01822447900840a0b77.patch
diff --git a/srcpkgs/VirtualGL/patches/faedcc1e36b4ed89a325e01822447900840a0b77.patch b/srcpkgs/VirtualGL/patches/faedcc1e36b4ed89a325e01822447900840a0b77.patch
deleted file mode 100644
index 6f45ba8a3ffa9e..00000000000000
--- a/srcpkgs/VirtualGL/patches/faedcc1e36b4ed89a325e01822447900840a0b77.patch
+++ /dev/null
@@ -1,105 +0,0 @@
-From faedcc1e36b4ed89a325e01822447900840a0b77 Mon Sep 17 00:00:00 2001
-From: DRC <information@virtualgl.org>
-Date: Thu, 13 Feb 2020 19:11:46 -0600
-Subject: [PATCH] Faker: Fix build issue w/ Mesa 19.3.0+ headers
-
-Mesa changed the signatures for glXGetTransparentIndexSUN() and
-glXQueryGLXPbufferSGIX() to match the official GLX extension specs:
-https://www.khronos.org/registry/OpenGL/extensions/SUN/GLX_SUN_get_transparent_index.txt
-https://www.khronos.org/registry/OpenGL/extensions/SGIX/GLX_SGIX_pbuffer.txt
-
-Reference:
-https://gitlab.freedesktop.org/mesa/mesa/commit/3dd299c3d5b88114894ec30d1fac85fba688201f
-
-Fixes #109
----
- ChangeLog.md | 2 ++
- server/faker-glx.cpp | 14 +++++++++++++-
- server/faker-sym.h | 8 +++++++-
- 3 files changed, 22 insertions(+), 2 deletions(-)
-
-diff --git a/ChangeLog.md b/ChangeLog.md
-index 8d092bd7..78391d06 100644
---- a/ChangeLog.md
-+++ b/ChangeLog.md
-@@ -6,6 +6,8 @@
- 1. VirtualGL now works properly with 3D applications that use the
- `glDrawBuffers()` function and render to the front buffer.
-
-+2. VirtualGL can now be built using the GLX headers from Mesa 19.3.0 and later.
-+
-
- 2.6.3
- =====
-diff --git a/server/faker-glx.cpp b/server/faker-glx.cpp
-index faea37b6..6e7beb63 100644
---- a/server/faker-glx.cpp
-+++ b/server/faker-glx.cpp
-@@ -1,6 +1,6 @@
- // Copyright (C)2004 Landmark Graphics Corporation
- // Copyright (C)2005, 2006 Sun Microsystems, Inc.
--// Copyright (C)2009, 2011-2019 D. R. Commander
-+// Copyright (C)2009, 2011-2020 D. R. Commander
- //
- // This library is free software and may be redistributed and/or modified under
- // the terms of the wxWindows Library License, Version 3.1 or (at your option)
-@@ -2192,11 +2192,18 @@ void glXQueryDrawable(Display *dpy, GLXDrawable draw, int attribute,
- CATCH();
- }
-
-+#if defined(GLX_GLXEXT_VERSION) && GLX_GLXEXT_VERSION >= 20190000
-+void glXQueryGLXPbufferSGIX(Display *dpy, GLXPbuffer pbuf, int attribute,
-+ unsigned int *value)
-+#else
- int glXQueryGLXPbufferSGIX(Display *dpy, GLXPbuffer pbuf, int attribute,
- unsigned int *value)
-+#endif
- {
- glXQueryDrawable(dpy, pbuf, attribute, value);
-+ #if !defined(GLX_GLXEXT_VERSION) || GLX_GLXEXT_VERSION < 20190000
- return 0;
-+ #endif
- }
-
-
-@@ -2358,8 +2365,13 @@ void glXSwapBuffers(Display *dpy, GLXDrawable drawable)
-
- // Returns the transparent index from the overlay visual on the 2D X server
-
-+#if defined(GLX_GLXEXT_VERSION) && GLX_GLXEXT_VERSION >= 20190000
-+int glXGetTransparentIndexSUN(Display *dpy, Window overlay, Window underlay,
-+ unsigned long *transparentIndex)
-+#else
- int glXGetTransparentIndexSUN(Display *dpy, Window overlay, Window underlay,
- long *transparentIndex)
-+#endif
- {
- int retval = False;
- XWindowAttributes xwa;
-diff --git a/server/faker-sym.h b/server/faker-sym.h
-index b9aa30d0..0168ac7b 100644
---- a/server/faker-sym.h
-+++ b/server/faker-sym.h
-@@ -1,6 +1,6 @@
- // Copyright (C)2004 Landmark Graphics Corporation
- // Copyright (C)2005, 2006 Sun Microsystems, Inc.
--// Copyright (C)2009, 2011, 2013-2016, 2018-2019 D. R. Commander
-+// Copyright (C)2009, 2011, 2013-2016, 2018-2020 D. R. Commander
- //
- // This library is free software and may be redistributed and/or modified under
- // the terms of the wxWindows Library License, Version 3.1 or (at your option)
-@@ -535,8 +535,14 @@ FUNCDEF2(GLXFBConfigSGIX, glXGetFBConfigFromVisualSGIX, Display *, dpy,
-
- // GLX_SUN_get_transparent_index
-
-+#if defined(GLX_GLXEXT_VERSION) && GLX_GLXEXT_VERSION >= 20190000
-+FUNCDEF4(int, glXGetTransparentIndexSUN, Display *, dpy, Window, overlay,
-+ Window, underlay, unsigned long *, transparentIndex,
-+ glXGetTransparentIndexSUN)
-+#else
- FUNCDEF4(int, glXGetTransparentIndexSUN, Display *, dpy, Window, overlay,
- Window, underlay, long *, transparentIndex, glXGetTransparentIndexSUN);
-+#endif
-
-
- // GL functions
diff --git a/srcpkgs/VirtualGL/template b/srcpkgs/VirtualGL/template
index 42ae9f00d5703e..42b75364566aea 100644
--- a/srcpkgs/VirtualGL/template
+++ b/srcpkgs/VirtualGL/template
@@ -1,19 +1,19 @@
# Template file for 'VirtualGL'
pkgname=VirtualGL
-version=2.6.2
-revision=4
+version=3.1
+revision=1
build_style=cmake
-configure_args="-DTJPEG_INCLUDE_DIR=${XBPS_CROSS_BASE}/usr/include -DVGL_SYSTEMGLX=ON
- -DTJPEG_LIBRARY=${XBPS_CROSS_BASE}/usr/lib/libturbojpeg.so
- -DVGL_SYSTEMFLTK=ON -DVGL_USESSL=ON"
+configure_args="-DTJPEG_INCLUDE_DIR=${XBPS_CROSS_BASE}/usr/include
+ -DTJPEG_LIBRARY=${XBPS_CROSS_BASE}/usr/lib/libturbojpeg.so -DVGL_SYSTEMFLTK=ON"
makedepends="libXv-devel glu-devel libjpeg-turbo-devel MesaLib-devel
- libXtst-devel fltk-devel openssl-devel"
+ libXtst-devel fltk-devel openssl-devel ocl-icd-devel xcb-util-keysyms-devel"
+conflicts="mesa-demos"
short_desc="Run remote OpenGL applications with full acceleration"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="http://www.virtualgl.org/"
distfiles="${SOURCEFORGE_SITE}/virtualgl/${version}/${pkgname}-${version}.tar.gz"
-checksum=79dff857862890215794509ac65826005625925d03bf0874a486d695aae6f859
+checksum=57bd20a9b1127de344313b6178b19610838a6af6309c059702788e41b6a875d0
archs="i686* x86_64* aarch64*"
next prev parent reply other threads:[~2025-01-19 23:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-19 22:56 [PR PATCH] " 1is7ac3
2025-01-19 23:20 ` 1is7ac3 [this message]
2025-01-19 23:22 ` [PR PATCH] [Updated] " 1is7ac3
2025-01-23 20:27 ` [PR PATCH] [Merged]: " Johnnynator
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250119232012.540A8229BC@inbox.vuxu.org \
--to=1is7ac3@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).