summaryrefslogtreecommitdiffstats
path: root/extra/source/tigervnc
diff options
context:
space:
mode:
Diffstat (limited to 'extra/source/tigervnc')
-rw-r--r--extra/source/tigervnc/patches/xorg-server/0001-replace-MESA_EGL_NO_X11_HEADERS-hack-with-upstream-E.patch81
-rw-r--r--extra/source/tigervnc/patches/xorg-server/c7486613b0dc586f93f6ba293d9b55c69995b05c.patch23
-rw-r--r--extra/source/tigervnc/patches/xorg-server/e6ef2b12404dfec7f23592a3524d2a63d9d25802.patch61
-rwxr-xr-xextra/source/tigervnc/tigervnc.SlackBuild7
4 files changed, 3 insertions, 169 deletions
diff --git a/extra/source/tigervnc/patches/xorg-server/0001-replace-MESA_EGL_NO_X11_HEADERS-hack-with-upstream-E.patch b/extra/source/tigervnc/patches/xorg-server/0001-replace-MESA_EGL_NO_X11_HEADERS-hack-with-upstream-E.patch
deleted file mode 100644
index 95211479..00000000
--- a/extra/source/tigervnc/patches/xorg-server/0001-replace-MESA_EGL_NO_X11_HEADERS-hack-with-upstream-E.patch
+++ /dev/null
@@ -1,81 +0,0 @@
-From 80d7c1ad75cc4cd3aa844d5ff34fee723966d9fc Mon Sep 17 00:00:00 2001
-From: fafryd <dz1125.bug.tracker@gmail.com>
-Date: Sat, 19 Oct 2019 21:58:09 +0200
-Subject: [PATCH] replace MESA_EGL_NO_X11_HEADERS hack with upstream EGL_NO_X11
-
----
- glamor/glamor_egl.h | 2 +-
- glamor/glamor_priv.h | 2 +-
- hw/xwayland/xwayland-glamor-eglstream.c | 2 +-
- hw/xwayland/xwayland-glamor-gbm.c | 2 +-
- hw/xwayland/xwayland-glamor.c | 2 +-
- 5 files changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/glamor/glamor_egl.h b/glamor/glamor_egl.h
-index 2f7566b24..af1c707d2 100644
---- a/glamor/glamor_egl.h
-+++ b/glamor/glamor_egl.h
-@@ -27,7 +27,7 @@
- #ifndef GLAMOR_EGL_H
- #define GLAMOR_EGL_H
-
--#define MESA_EGL_NO_X11_HEADERS
-+#define EGL_NO_X11
- #include <epoxy/gl.h>
- #include <epoxy/egl.h>
- #include <glamor_egl_ext.h>
-diff --git a/glamor/glamor_priv.h b/glamor/glamor_priv.h
-index 7d9a7d4fb..bcdaf4040 100644
---- a/glamor/glamor_priv.h
-+++ b/glamor/glamor_priv.h
-@@ -39,7 +39,7 @@
-
- #include <epoxy/gl.h>
- #ifdef GLAMOR_HAS_GBM
--#define MESA_EGL_NO_X11_HEADERS
-+#define EGL_NO_X11
- #include <epoxy/egl.h>
- #endif
-
-diff --git a/hw/xwayland/xwayland-glamor-eglstream.c b/hw/xwayland/xwayland-glamor-eglstream.c
-index c62c0d2ac..e665b963e 100644
---- a/hw/xwayland/xwayland-glamor-eglstream.c
-+++ b/hw/xwayland/xwayland-glamor-eglstream.c
-@@ -32,7 +32,7 @@
- #include "wayland-eglstream-client-protocol.h"
- #include "wayland-eglstream-controller-client-protocol.h"
-
--#define MESA_EGL_NO_X11_HEADERS
-+#define EGL_NO_X11
- #include <glamor_egl.h>
- #include <glamor.h>
- #include <glamor_transform.h>
-diff --git a/hw/xwayland/xwayland-glamor-gbm.c b/hw/xwayland/xwayland-glamor-gbm.c
-index 291e060cf..c92d6073f 100644
---- a/hw/xwayland/xwayland-glamor-gbm.c
-+++ b/hw/xwayland/xwayland-glamor-gbm.c
-@@ -35,7 +35,7 @@
- #include <xf86drm.h>
- #include <drm_fourcc.h>
-
--#define MESA_EGL_NO_X11_HEADERS
-+#define EGL_NO_X11
- #include <gbm.h>
- #include <glamor_egl.h>
-
-diff --git a/hw/xwayland/xwayland-glamor.c b/hw/xwayland/xwayland-glamor.c
-index 7ea6def61..587ef5ed0 100644
---- a/hw/xwayland/xwayland-glamor.c
-+++ b/hw/xwayland/xwayland-glamor.c
-@@ -25,7 +25,7 @@
-
- #include "xwayland.h"
-
--#define MESA_EGL_NO_X11_HEADERS
-+#define EGL_NO_X11
- #include <glamor_egl.h>
-
- #include <glamor.h>
---
-2.23.0
-
diff --git a/extra/source/tigervnc/patches/xorg-server/c7486613b0dc586f93f6ba293d9b55c69995b05c.patch b/extra/source/tigervnc/patches/xorg-server/c7486613b0dc586f93f6ba293d9b55c69995b05c.patch
deleted file mode 100644
index f1c2e7aa..00000000
--- a/extra/source/tigervnc/patches/xorg-server/c7486613b0dc586f93f6ba293d9b55c69995b05c.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From c7486613b0dc586f93f6ba293d9b55c69995b05c Mon Sep 17 00:00:00 2001
-From: Adam Jackson <ajax@redhat.com>
-Date: Wed, 9 Oct 2019 15:17:47 -0400
-Subject: [PATCH] meson: Fix another reference to "gl" 9.2.0
-
-Previous commit e6ef2b12 missed a spot.
----
- glx/meson.build | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/glx/meson.build b/glx/meson.build
-index 745814336..d7a2aa468 100644
---- a/glx/meson.build
-+++ b/glx/meson.build
-@@ -74,7 +74,7 @@ if build_glx
- common_dep,
- dl_dep,
- dependency('glproto', version: '>= 1.4.17'),
-- dependency('gl', version: '>= 9.2.0'),
-+ dependency('gl', version: '>= 1.2.0'),
- ],
- )
-
diff --git a/extra/source/tigervnc/patches/xorg-server/e6ef2b12404dfec7f23592a3524d2a63d9d25802.patch b/extra/source/tigervnc/patches/xorg-server/e6ef2b12404dfec7f23592a3524d2a63d9d25802.patch
deleted file mode 100644
index cd9213ee..00000000
--- a/extra/source/tigervnc/patches/xorg-server/e6ef2b12404dfec7f23592a3524d2a63d9d25802.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-From e6ef2b12404dfec7f23592a3524d2a63d9d25802 Mon Sep 17 00:00:00 2001
-From: Marvin Schmidt <marv@exherbo.org>
-Date: Tue, 24 Sep 2019 09:58:43 +0200
-Subject: [PATCH] build: glx: Lower gl version to work with libglvnd
-
-When using mesa with libglvnd support, mesa will no longer install the
-gl, glx, egl pkg-config files but instead let libglvnd provide them.
-libglvnd maintainers decided to change the versioning as it was
-mesa-specific previously. Now the libraries have versions of the API
-they expose[1].
-This causes problems when building the X server:
-
- checking for glproto >= 1.4.17 gl >= 9.2.0... no
- configure: error: Package requirements (glproto >= 1.4.17 gl >= 9.2.0) were not met:
-
- Requested 'gl >= 9.2.0' but version of gl is 1.2
-
-Lower the version requirement to 1.2 to allow building against libglvnd
-provided libraries
-
-[1] https://github.com/NVIDIA/libglvnd/commit/0dfaea2bcb7cdcc785f95e244223bd004a2d7fba
----
- configure.ac | 4 ++--
- glx/meson.build | 2 +-
- 2 files changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 03c2e367c..969090b94 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -760,7 +760,7 @@ LIBDRI="dri >= 7.8.0"
- LIBDRM="libdrm >= 2.4.89"
- LIBEGL="egl"
- LIBGBM="gbm >= 10.2.0"
--LIBGL="gl >= 7.1.0"
-+LIBGL="gl >= 1.2"
- LIBXEXT="xext >= 1.0.99.4"
- LIBXFONT="xfont2 >= 2.0.0"
- LIBXI="xi >= 1.2.99.1"
-@@ -1115,7 +1115,7 @@ case "$DRI2,$HAVE_DRI2PROTO" in
- yes,yes | auto,yes)
- AC_DEFINE(DRI2, 1, [Build DRI2 extension])
- DRI2=yes
-- LIBGL="gl >= 9.2.0"
-+ LIBGL="gl >= 1.2"
- SDK_REQUIRED_MODULES="$SDK_REQUIRED_MODULES $DRI2PROTO"
- ;;
- esac
-diff --git a/glx/meson.build b/glx/meson.build
-index 7f9e549f0..745814336 100644
---- a/glx/meson.build
-+++ b/glx/meson.build
-@@ -39,7 +39,7 @@ if build_glx
- common_dep,
- dl_dep,
- dependency('glproto', version: '>= 1.4.17'),
-- dependency('gl', version: '>= 9.2.0'),
-+ dependency('gl', version: '>= 1.2'),
- ],
- c_args: [
- glx_align64,
diff --git a/extra/source/tigervnc/tigervnc.SlackBuild b/extra/source/tigervnc/tigervnc.SlackBuild
index e681bed5..709c7543 100755
--- a/extra/source/tigervnc/tigervnc.SlackBuild
+++ b/extra/source/tigervnc/tigervnc.SlackBuild
@@ -74,13 +74,15 @@
# 1.6.0-1: 22/feb/2016 by Patrick Volkerding <volkerdi@slackware.com>
# 1.9.0-1: 26/jul/2018 by Patrick Volkerding <volkerdi@slackware.com>
# 1.10.0-1: 18/nov/2019 by Patrick Volkerding <volkerdi@slackware.com>
+# 1.10.0-2: 18/nov/2019 by Patrick Volkerding <volkerdi@slackware.com>
+# Rebuilt for new xorg-server.
#
# -----------------------------------------------------------------------------
PKGNAM=tigervnc
VERSION=${VERSION:-1.10.0}
PVER=$(echo $VERSION | cut -f 1,2 -d . | tr -d .)
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
TAG=${TAG:-}
@@ -172,9 +174,6 @@ tar --owner=root --group=root -xvf $CWD/sources/xorg-server-${XORG}.tar.?z* || e
zcat $CWD/patches/xorg-server/0001-Always-install-vbe-and-int10-sdk-headers.patch.gz | patch -p1 --verbose || exit 1
zcat $CWD/patches/xorg-server/0001-autobind-GPUs-to-the-screen.patch.gz | patch -p1 --verbose || exit 1
zcat $CWD/patches/xorg-server/0001-xfree86-use-modesetting-driver-by-default-on-GeForce.patch.gz | patch -p1 --verbose || exit 1
- zcat $CWD/patches/xorg-server/e6ef2b12404dfec7f23592a3524d2a63d9d25802.patch.gz | patch -p1 --verbose || exit 1
- zcat $CWD/patches/xorg-server/c7486613b0dc586f93f6ba293d9b55c69995b05c.patch.gz | patch -p1 --verbose || exit 1
- zcat $CWD/patches/xorg-server/0001-replace-MESA_EGL_NO_X11_HEADERS-hack-with-upstream-E.patch.gz | patch -p1 --verbose || exit 1
) || exit 1
### END PATCHES FROM source/x/x11/patch