Skip to contentSkip to conversation

package/nvidia-tegra23: remove package

PATCH New Bernd Kuhls 2 participants 5 messages Aug 29, 2020 – Sep 1, 2020 Tegra architecture support

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 package/nvidia-tegra23: remove package

Current X.org X server is incompatible with this driver.

We no longer support unmaintainted versions of X.org X server.

---
 Config.in.legacy                              |  6 ++
 DEVELOPERS                                    |  2 -
 package/Config.in                             |  1 -
 package/nvidia-tegra23/Config.in              | 38 -----------
 .../nvidia-tegra23-binaries/Config.in         | 26 --------
 .../nvidia-tegra23-binaries/egl.pc            | 10 ---
 .../nvidia-tegra23-binaries/gles.pc           | 10 ---
 .../nvidia-tegra23-binaries/glesv2.pc         | 10 ---
 .../nvidia-tegra23-binaries.hash              |  3 -
 .../nvidia-tegra23-binaries.mk                | 64 -------------------
 .../nvidia-tegra23-codecs/Config.in           |  7 --
 .../nvidia-tegra23-codecs.hash                |  3 -
 .../nvidia-tegra23-codecs.mk                  | 32 ----------
 package/nvidia-tegra23/nvidia-tegra23.mk      | 18 ------
 support/scripts/pkg-stats                     |  1 -
 15 files changed, 6 insertions(+), 225 deletions(-)
 delete mode 100644 package/nvidia-tegra23/Config.in
 delete mode 100644 package/nvidia-tegra23/nvidia-tegra23-binaries/Config.in
 delete mode 100644 package/nvidia-tegra23/nvidia-tegra23-binaries/egl.pc
 delete mode 100644 package/nvidia-tegra23/nvidia-tegra23-binaries/gles.pc
 delete mode 100644 package/nvidia-tegra23/nvidia-tegra23-binaries/glesv2.pc
 delete mode 100644 package/nvidia-tegra23/nvidia-tegra23-binaries/nvidia-tegra23-binaries.hash
 delete mode 100644 package/nvidia-tegra23/nvidia-tegra23-binaries/nvidia-tegra23-binaries.mk
 delete mode 100644 package/nvidia-tegra23/nvidia-tegra23-codecs/Config.in
 delete mode 100644 package/nvidia-tegra23/nvidia-tegra23-codecs/nvidia-tegra23-codecs.hash
 delete mode 100644 package/nvidia-tegra23/nvidia-tegra23-codecs/nvidia-tegra23-codecs.mk
 delete mode 100644 package/nvidia-tegra23/nvidia-tegra23.mk
Config.in.legacy +6 -0
index 4e2809b562..a718e645d8 100644
@@ -146,6 +146,12 @@ endif
 
 comment "Legacy options removed in 2020.08"
 
+config BR2_PACKAGE_NVIDIA_TEGRA23
+	bool "nvidia-tegra23 package removed"
+	select BR2_LEGACY
+	help
+	  Current X.org server is incompatible with this driver.
+
 config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64
 	bool "toolchain-external-codesourcery-amd64 removed"
 	select BR2_LEGACY
DEVELOPERS +0 -2
index a975875cf8..4801f45c25 100644
@@ -1898,8 +1898,6 @@ F:	package/libgit2/
 
 N:	Nicolas Serafini <[email protected]>
 F:	package/exiv2/
-F:	package/nvidia-tegra23/nvidia-tegra23-binaries/
-F:	package/nvidia-tegra23/nvidia-tegra23-codecs/
 F:	package/ofono/
 
 N:	Nikolay Dimitrov <[email protected]>
package/Config.in +0 -1
index 036a5bf439..3d5a087986 100644
@@ -500,7 +500,6 @@ endmenu
 	source "package/nanocom/Config.in"
 	source "package/neard/Config.in"
 	source "package/nvidia-driver/Config.in"
-	source "package/nvidia-tegra23/Config.in"
 	source "package/nvme/Config.in"
 	source "package/ofono/Config.in"
 	source "package/on2-8170-modules/Config.in"
package/nvidia-tegra23/Config.in deleted +0 -38
deleted file mode 100644
index 9c9fd198d9..0000000000
@@ -1,38 +0,0 @@
-menuconfig BR2_PACKAGE_NVIDIA_TEGRA23
-	bool "nvidia-tegra23"
-	depends on BR2_cortex_a9
-	depends on BR2_ARM_EABIHF && BR2_TOOLCHAIN_USES_GLIBC
-	depends on BR2_PACKAGE_XORG7
-	depends on BR2_PACKAGE_XSERVER_XORG_SERVER_VIDEODRV_ABI_14
-	help
-	  Install NVidia proprietary blobs to drive Tegra2 or Tegra3
-	  GPUs found in some mobile-targeted ARM SoCs.
-
-if BR2_PACKAGE_NVIDIA_TEGRA23
-
-choice
-	prompt "Tegra platform"
-	help
-	  Select the SOC platform.
-
-config BR2_PACKAGE_NVIDIA_TEGRA23_TEGRA2
-	bool "Tegra 2"
-	help
-	  NVIDIA Tegra 2 is a dual-core Cortex-A9 without NEON.
-
-config BR2_PACKAGE_NVIDIA_TEGRA23_TEGRA3
-	bool "Tegra 3"
-	depends on BR2_ARM_CPU_HAS_NEON
-	help
-	  NVIDIA Tegra 3 is a quad-core Cortex-A9 with NEON.
-
-endchoice
-
-source "package/nvidia-tegra23/nvidia-tegra23-binaries/Config.in"
-source "package/nvidia-tegra23/nvidia-tegra23-codecs/Config.in"
-endif
-
-comment "nvidia-tegra23 needs Xorg <= 1.14 and a glibc toolchain w/ EABIhf"
-	depends on BR2_cortex_a9
-	depends on !BR2_ARM_EABIHF || !BR2_TOOLCHAIN_USES_GLIBC \
-		|| !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_XSERVER_XORG_SERVER_VIDEODRV_ABI_14
package/nvidia-tegra23/nvidia-tegra23-binaries/Config.in deleted +0 -26
deleted file mode 100644
index 0c09051b6a..0000000000
@@ -1,26 +0,0 @@
-config BR2_PACKAGE_NVIDIA_TEGRA23_BINARIES
-	bool "nvidia-tegra23 binaries"
-	select BR2_PACKAGE_MESA3D_HEADERS
-	select BR2_PACKAGE_XLIB_LIBX11
-	select BR2_PACKAGE_XLIB_LIBXEXT
-	select BR2_PACKAGE_HAS_LIBEGL
-	select BR2_PACKAGE_HAS_LIBGLES
-	select BR2_PACKAGE_HAS_LIBOPENMAX
-	help
-	  Those packages provide libraries, drivers and firmware that
-	  comes from NVIDIA Linux For Tegra.
-
-	  https://developer.nvidia.com/linux-tegra
-
-if BR2_PACKAGE_NVIDIA_TEGRA23_BINARIES
-
-config BR2_PACKAGE_PROVIDES_LIBEGL
-	default "nvidia-tegra23-binaries"
-
-config BR2_PACKAGE_PROVIDES_LIBGLES
-	default "nvidia-tegra23-binaries"
-
-config BR2_PACKAGE_PROVIDES_LIBOPENMAX
-	default "nvidia-tegra23-binaries"
-
-endif
package/nvidia-tegra23/nvidia-tegra23-binaries/egl.pc deleted +0 -10
deleted file mode 100644
index 3af7eecc01..0000000000
@@ -1,10 +0,0 @@
-prefix=/usr
-exec_prefix=${prefix}
-libdir=/usr/lib
-includedir=/usr/include
-
-Name: egl
-Description: EGL implementation
-Version: 1
-Cflags: -I${includedir}/EGL
-Libs: -L${libdir} -lEGL
package/nvidia-tegra23/nvidia-tegra23-binaries/gles.pc deleted +0 -10
deleted file mode 100644
index 91387c9793..0000000000
@@ -1,10 +0,0 @@
-prefix=/usr
-exec_prefix=${prefix}
-libdir=/usr/lib
-includedir=/usr/include
-
-Name: glesv2
-Description: OpenGL ES 1.1 implementation
-Version: 1.1
-Cflags: -I${includedir}/GLES
-Libs: -L${libdir} -lGLESv1_CM
package/nvidia-tegra23/nvidia-tegra23-binaries/glesv2.pc deleted +0 -10
deleted file mode 100644
index 356a1cba4f..0000000000
@@ -1,10 +0,0 @@
-prefix=/usr
-exec_prefix=${prefix}
-libdir=/usr/lib
-includedir=/usr/include
-
-Name: glesv2
-Description: OpenGL ES 2 implementation
-Version: 2
-Cflags: -I${includedir}/GLESv2
-Libs: -L${libdir} -lGLESv2
package/nvidia-tegra23/nvidia-tegra23-binaries/nvidia-tegra23-binaries.hash deleted +0 -3
deleted file mode 100644
index 50c3cda645..0000000000
@@ -1,3 +0,0 @@
-# From https://developer.nvidia.com/linux-tegra-rel-16
-sha1 295dcd63b2f122c2d99f07fcc083db9adb8ac178 Tegra20_Linux_R16.5_armhf.tbz2
-sha1 6be645c20d81d518856bc8520ef4c2472d57eaef Tegra30_Linux_R16.5_armhf.tbz2
package/nvidia-tegra23/nvidia-tegra23-binaries/nvidia-tegra23-binaries.mk deleted +0 -64

64 lines not on this page · raw message

package/nvidia-tegra23/nvidia-tegra23-codecs/Config.in deleted +0 -7
deleted file mode 100644
index df9de69dc4..0000000000
@@ -1,7 +0,0 @@
-config BR2_PACKAGE_NVIDIA_TEGRA23_CODECS
-	bool "nvidia-tegra23 codecs"
-	depends on BR2_PACKAGE_NVIDIA_TEGRA23_BINARIES
-	help
-	  NVIDIA Tegra restricted codecs from Linux For Tegra 16.5.
-
-	  https://developer.nvidia.com/linux-tegra-rel-16
package/nvidia-tegra23/nvidia-tegra23-codecs/nvidia-tegra23-codecs.hash deleted +0 -3
deleted file mode 100644
index 9b5c61496f..0000000000
@@ -1,3 +0,0 @@
-# From https://developer.nvidia.com/linux-tegra-rel-16
-sha1 540e89d5462537cd59c8a86efdb786b3b4310868 Tegra20_Linux-codecs_R16.5_armhf.tbz2
-sha1 3637efe808f25594e3cdc2756aef6e0274ab70f4 Tegra30_Linux-codecs_R16.5_armhf.tbz2
package/nvidia-tegra23/nvidia-tegra23-codecs/nvidia-tegra23-codecs.mk deleted +0 -32
deleted file mode 100644
index 2885021c58..0000000000
@@ -1,32 +0,0 @@
-################################################################################
-#
-# nvidia-tegra23-codecs
-#
-################################################################################
-
-NVIDIA_TEGRA23_CODECS_VERSION = $(NVIDIA_TEGRA23_VERSION)
-NVIDIA_TEGRA23_CODECS_SOURCE = $(NVIDIA_TEGRA23_BASE)-codecs_R$(NVIDIA_TEGRA23_CODECS_VERSION)_armhf.tbz2
-NVIDIA_TEGRA23_CODECS_SITE = $(NVIDIA_TEGRA23_SITE)
-NVIDIA_TEGRA23_CODECS_LICENSE = NVIDIA(r) Tegra(r) Software License Agreement
-NVIDIA_TEGRA23_CODECS_LICENSE_FILES = Tegra_Software_License_Agreement-Tegra-Linux-codecs.txt
-NVIDIA_TEGRA23_CODECS_REDISTRIBUTE = NO
-
-# The archive contains an archive with the firmware codecs
-define NVIDIA_TEGRA23_CODECS_EXTRACT_CMDS
-	$(INSTALL) -d $(@D)
-	$(call suitable-extractor,$(NVIDIA_TEGRA23_CODECS_SOURCE)) \
-		$(NVIDIA_TEGRA23_CODECS_DL_DIR)/$(NVIDIA_TEGRA23_CODECS_SOURCE) | \
-	$(TAR) --strip-components=0 -C $(@D) $(TAR_OPTIONS) -
-	$(INSTALL) -d $(@D)/restricted_codecs
-	$(call suitable-extractor,$(@D)/restricted_codecs.tbz2) \
-		$(@D)/restricted_codecs.tbz2 | \
-	$(TAR) --strip-components=0 -C $(@D)/restricted_codecs/ $(TAR_OPTIONS) -
-endef
-
-define NVIDIA_TEGRA23_CODECS_INSTALL_TARGET_CMDS
-	mkdir -p $(TARGET_DIR)/lib/firmware/
-	cp -dpfr $(@D)/restricted_codecs/lib/firmware/*.axf \
-		$(TARGET_DIR)/lib/firmware/
-endef
-
-$(eval $(generic-package))
package/nvidia-tegra23/nvidia-tegra23.mk deleted +0 -18
deleted file mode 100644
index b97d0ccac4..0000000000
@@ -1,18 +0,0 @@
-################################################################################
-#
-# nvidia-tegra23
-#
-################################################################################
-
-NVIDIA_TEGRA23_VERSION = 16.5
-
-ifeq ($(BR2_PACKAGE_NVIDIA_TEGRA23_TEGRA2),y)
-NVIDIA_TEGRA23_SITE = http://developer.download.nvidia.com/mobile/tegra/l4t/r16.5.0/ventana_release_armhf
-NVIDIA_TEGRA23_BASE = Tegra20_Linux
-endif
-ifeq ($(BR2_PACKAGE_NVIDIA_TEGRA23_TEGRA3),y)
-NVIDIA_TEGRA23_SITE = http://developer.download.nvidia.com/mobile/tegra/l4t/r16.5.0/cardhu_release_armhf
-NVIDIA_TEGRA23_BASE = Tegra30_Linux
-endif
-
-include $(sort $(wildcard package/nvidia-tegra23/*/*.mk))
support/scripts/pkg-stats +0 -1
index e642147b98..c4cf5c7b7b 100755
@@ -417,7 +417,6 @@ def get_pkglist(npackages, package_list):
                      "package/x11r7/x11r7.mk",
                      "package/doc-asciidoc.mk",
                      "package/pkg-.*.mk",
-                     "package/nvidia-tegra23/nvidia-tegra23.mk",
                      "toolchain/toolchain-external/pkg-toolchain-external.mk",
                      "toolchain/toolchain-external/toolchain-external.mk",
                      "toolchain/toolchain.mk",
Signature · 1 line
2.27.0
#1 lore raw

PATCH 2/3 package/amd-catalyst: remove package

Current X.org X server is incompatible with this driver.

We no longer support unmaintainted versions of X.org X server.

---
 Config.in.legacy                              |   6 +
 package/Config.in                             |   1 -
 .../0001-Add-support-for-Linux-4.0.patch      |  45 -----
 .../0002-Add-support-for-Linux-4.1.patch      |  31 ----
 .../0003-Add-support-for-Linux-4.2.patch      | 121 -------------
 ...Use-fpregs_active-instead-of-has_fpu.patch |  33 ----
 ...a-local-copy-of-copy_xregs_to_kernel.patch |  79 ---------
 .../0006-Add-support-for-Linux-4.4.patch      |  78 ---------
 .../0007-remove-gpl-symbols.patch             |  54 ------
 package/amd-catalyst/20-fglrx.conf            |   4 -
 package/amd-catalyst/Config.in                |  65 -------
 package/amd-catalyst/amd-catalyst.hash        |   2 -
 package/amd-catalyst/amd-catalyst.mk          | 162 ------------------
 package/amd-catalyst/gl.pc                    |  12 --
 14 files changed, 6 insertions(+), 687 deletions(-)
 delete mode 100644 package/amd-catalyst/0001-Add-support-for-Linux-4.0.patch
 delete mode 100644 package/amd-catalyst/0002-Add-support-for-Linux-4.1.patch
 delete mode 100644 package/amd-catalyst/0003-Add-support-for-Linux-4.2.patch
 delete mode 100644 package/amd-catalyst/0004-Use-fpregs_active-instead-of-has_fpu.patch
 delete mode 100644 package/amd-catalyst/0005-Use-a-local-copy-of-copy_xregs_to_kernel.patch
 delete mode 100644 package/amd-catalyst/0006-Add-support-for-Linux-4.4.patch
 delete mode 100644 package/amd-catalyst/0007-remove-gpl-symbols.patch
 delete mode 100644 package/amd-catalyst/20-fglrx.conf
 delete mode 100644 package/amd-catalyst/Config.in
 delete mode 100644 package/amd-catalyst/amd-catalyst.hash
 delete mode 100644 package/amd-catalyst/amd-catalyst.mk
 delete mode 100644 package/amd-catalyst/gl.pc
Config.in.legacy +6 -0
index a718e645d8..b91e6dbc69 100644
@@ -146,6 +146,12 @@ endif
 
 comment "Legacy options removed in 2020.08"
 
+config BR2_PACKAGE_AMD_CATALYST
+	bool "amd-catalyst"
+	select BR2_LEGACY
+	help
+	  Current X.org server is incompatible with this driver.
+
 config BR2_PACKAGE_NVIDIA_TEGRA23
 	bool "nvidia-tegra23 package removed"
 	select BR2_LEGACY
package/Config.in +0 -1
index 3d5a087986..8a072c0cf5 100644
@@ -417,7 +417,6 @@ endmenu
 	source "package/acpitool/Config.in"
 	source "package/aer-inject/Config.in"
 	source "package/am335x-pru-package/Config.in"
-	source "package/amd-catalyst/Config.in"
 	source "package/apcupsd/Config.in"
 	source "package/avrdude/Config.in"
 	source "package/bcache-tools/Config.in"
package/amd-catalyst/0001-Add-support-for-Linux-4.0.patch deleted +0 -45

45 lines not on this page · raw message

package/amd-catalyst/0002-Add-support-for-Linux-4.1.patch deleted +0 -31
deleted file mode 100644
index cc95916e1e..0000000000
@@ -1,31 +0,0 @@
-From e9c8ccb4c8c842042542b792c51f9a7ec6c85e06 Mon Sep 17 00:00:00 2001
-From: Alberto Milone <[email protected]>
-Date: Thu, 17 Sep 2015 15:44:59 +0200
-Subject: [PATCH] Add support for Linux 4.1
-
-Signed-off-by: Romain Perier <[email protected]>
----
- common/lib/modules/fglrx/build_mod/firegl_public.c | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/common/lib/modules/fglrx/build_mod/firegl_public.c b/common/lib/modules/fglrx/build_mod/firegl_public.c
-index 6017e89..94778f1 100755
---- a/common/lib/modules/fglrx/build_mod/firegl_public.c
-+++ b/common/lib/modules/fglrx/build_mod/firegl_public.c
-@@ -3508,10 +3508,12 @@ int ATI_API_CALL KCL_InstallInterruptHandler(
-         KCL_PUB_InterruptHandlerWrap,
- #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22)
-         ((useMSI) ? (SA_INTERRUPT) : (SA_SHIRQ)),
--#else
-+#elif LINUX_VERSION_CODE < KERNEL_VERSION(4,1,0)
-         //when MSI enabled. keep irq disabled when calling the action handler,
-         //exclude this IRQ from irq balancing (only on one CPU) 
-         ((useMSI) ? (IRQF_DISABLED) : (IRQF_SHARED)),    
-+#else
-+        ((useMSI) ? (0x0) : (IRQF_SHARED)),
- #endif
-         dev_name,
-         context);
--- 
-2.8.1
-
package/amd-catalyst/0003-Add-support-for-Linux-4.2.patch deleted +0 -121

121 lines not on this page · raw message

package/amd-catalyst/0004-Use-fpregs_active-instead-of-has_fpu.patch deleted +0 -33
deleted file mode 100644
index 4d375b8ad8..0000000000
@@ -1,33 +0,0 @@
-From 7120f00015570a2e4d9b6532731960d509c71cba Mon Sep 17 00:00:00 2001
-From: Alberto Milone <[email protected]>
-Date: Thu, 17 Sep 2015 15:48:30 +0200
-Subject: [PATCH] Use fpregs_active instead of has_fpu
-
-This is for Linux 4.2
-
-Thanks to Tim Gardner for the patch.
-
-Signed-off-by: Romain Perier <[email protected]>
----
- common/lib/modules/fglrx/build_mod/firegl_public.c | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/common/lib/modules/fglrx/build_mod/firegl_public.c b/common/lib/modules/fglrx/build_mod/firegl_public.c
-index 749ea51..4c1f9a5 100755
---- a/common/lib/modules/fglrx/build_mod/firegl_public.c
-+++ b/common/lib/modules/fglrx/build_mod/firegl_public.c
-@@ -6528,7 +6528,11 @@ void ATI_API_CALL KCL_fpu_begin(void)
-     /* The thread structure is changed with the commit below for kernel 3.3:
-      * https://github.com/torvalds/linux/commit/7e16838d94b566a17b65231073d179bc04d590c8
-      */
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,2,0)
-+    if (cur_task->thread.fpu.fpregs_active)
-+#else
-     if (cur_task->thread.fpu.has_fpu)
-+#endif
- #else
-     if (cur_task->thread.has_fpu)
- #endif
--- 
-2.8.1
-
package/amd-catalyst/0005-Use-a-local-copy-of-copy_xregs_to_kernel.patch deleted +0 -79

79 lines not on this page · raw message

package/amd-catalyst/0006-Add-support-for-Linux-4.4.patch deleted +0 -78

78 lines not on this page · raw message

package/amd-catalyst/0007-remove-gpl-symbols.patch deleted +0 -54

54 lines not on this page · raw message

package/amd-catalyst/20-fglrx.conf deleted +0 -4
deleted file mode 100644
index d83ff582f6..0000000000
@@ -1,4 +0,0 @@
-Section "Device"
-	Identifier "AMD Radeon GPU"
-	Driver "fglrx"
-EndSection
package/amd-catalyst/Config.in deleted +0 -65

65 lines not on this page · raw message

package/amd-catalyst/amd-catalyst.hash deleted +0 -2
deleted file mode 100644
index 9f9b0a3149..0000000000
@@ -1,2 +0,0 @@
-# Locally computed
-sha256	bf3e6e7d5c51db3d075410a3f116f865b82823debc1d66698d187249feec6a91	amd-catalyst-15.9-linux-installer-15.201.1151-x86.x86_64.zip
package/amd-catalyst/amd-catalyst.mk deleted +0 -162

162 lines not on this page · raw message

package/amd-catalyst/gl.pc deleted +0 -12
deleted file mode 100644
index 8729271fa0..0000000000
@@ -1,12 +0,0 @@
-prefix=/usr
-exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
-includedir=${prefix}/include
-
-Name: gl
-Description: AMD Catalyst OpenGL library
-Version: 15.9
-Libs: -L${libdir} -lGL -lm -lXext -lX11 -ldl
-Cflags: -I${includedir}
-glx_tls: no
-
Signature · 1 line
2.27.0
#2 lore raw

PATCH 3/3 package/x11r7/xserver_xorg-server: remove unmaintained versions 1.14.7 & 1.17.4

In reply to Bernd Kuhls

Upstream does not maintain these older versions anymore. Due to security fixes not being backported to these versions anymore we remove these old X server versions.

Move current patches from version-specific directory to package directory.

---
 Config.in.legacy                              |  6 ++
 .../0001-modesettings-needs-dri2.patch        |  0
 ...002-Remove-check-for-useSIGIO-option.patch |  0
 ...0003-include-misc.h-fix-uClibc-build.patch |  0
 ...nd-Makefile.am-fix-build-without-glx.patch |  0
 ...mon-xf86Init.c-fix-build-without-glx.patch |  0
 .../1.14.7/0001-sdksyms-gcc5.patch            | 50 -------------
 ...t-buffer-in-SProcXSendExtensionEvent.patch | 39 ----------
 ...ow-GenericEvent-in-SendEvent-request.patch | 71 -------------------
 ...ll-events-in-ProcXSendExtensionEvent.patch | 50 -------------
 ...5-Xi-Do-not-try-to-swap-GenericEvent.patch | 45 ------------
 .../1.17.4/0001-modesettings-needs-dri2.patch | 19 -----
 ...t-buffer-in-SProcXSendExtensionEvent.patch | 39 ----------
 ...ow-GenericEvent-in-SendEvent-request.patch | 71 -------------------
 ...ll-events-in-ProcXSendExtensionEvent.patch | 50 -------------
 ...5-Xi-Do-not-try-to-swap-GenericEvent.patch | 45 ------------
 package/x11r7/xserver_xorg-server/Config.in   | 48 -------------
 .../xserver_xorg-server.hash                  |  5 --
 .../xserver_xorg-server.mk                    |  8 +--
 19 files changed, 7 insertions(+), 539 deletions(-)
 rename package/x11r7/xserver_xorg-server/{1.20.9 => }/0001-modesettings-needs-dri2.patch (100%)
 rename package/x11r7/xserver_xorg-server/{1.20.9 => }/0002-Remove-check-for-useSIGIO-option.patch (100%)
 rename package/x11r7/xserver_xorg-server/{1.20.9 => }/0003-include-misc.h-fix-uClibc-build.patch (100%)
 rename package/x11r7/xserver_xorg-server/{1.20.9 => }/0004-hw-xwayland-Makefile.am-fix-build-without-glx.patch (100%)
 rename package/x11r7/xserver_xorg-server/{1.20.9 => }/0005-hw-xfree86-common-xf86Init.c-fix-build-without-glx.patch (100%)
 delete mode 100644 package/x11r7/xserver_xorg-server/1.14.7/0001-sdksyms-gcc5.patch
 delete mode 100644 package/x11r7/xserver_xorg-server/1.14.7/0002-Xi-Zero-target-buffer-in-SProcXSendExtensionEvent.patch
 delete mode 100644 package/x11r7/xserver_xorg-server/1.14.7/0003-dix-Disallow-GenericEvent-in-SendEvent-request.patch
 delete mode 100644 package/x11r7/xserver_xorg-server/1.14.7/0004-Xi-Verify-all-events-in-ProcXSendExtensionEvent.patch
 delete mode 100644 package/x11r7/xserver_xorg-server/1.14.7/0005-Xi-Do-not-try-to-swap-GenericEvent.patch
 delete mode 100644 package/x11r7/xserver_xorg-server/1.17.4/0001-modesettings-needs-dri2.patch
 delete mode 100644 package/x11r7/xserver_xorg-server/1.17.4/0002-Xi-Zero-target-buffer-in-SProcXSendExtensionEvent.patch
 delete mode 100644 package/x11r7/xserver_xorg-server/1.17.4/0003-dix-Disallow-GenericEvent-in-SendEvent-request.patch
 delete mode 100644 package/x11r7/xserver_xorg-server/1.17.4/0004-Xi-Verify-all-events-in-ProcXSendExtensionEvent.patch
 delete mode 100644 package/x11r7/xserver_xorg-server/1.17.4/0005-Xi-Do-not-try-to-swap-GenericEvent.patch
Config.in.legacy +6 -0
index b91e6dbc69..45fb18540b 100644
@@ -146,6 +146,12 @@ endif
 
 comment "Legacy options removed in 2020.08"
 
+config BR2_PACKAGE_XSERVER_XORG_SERVER_AIGLX
+	bool "X.org Enable AIGLX Extension"
+	select BR2_LEGACY
+	help
+	  AIGLX Extension was removed in X.org X server version 1.19.0
+
 config BR2_PACKAGE_AMD_CATALYST
 	bool "amd-catalyst"
 	select BR2_LEGACY
package/x11r7/xserver_xorg-server/0001-modesettings-needs-dri2.patch renamed from package/x11r7/xserver_xorg-server/1.20.9/0001-modesettings-needs-dri2.patch +0 -0
similarity index 100%
rename from package/x11r7/xserver_xorg-server/1.20.9/0001-modesettings-needs-dri2.patch
rename to package/x11r7/xserver_xorg-server/0001-modesettings-needs-dri2.patch
package/x11r7/xserver_xorg-server/0002-Remove-check-for-useSIGIO-option.patch renamed from package/x11r7/xserver_xorg-server/1.20.9/0002-Remove-check-for-useSIGIO-option.patch +0 -0
similarity index 100%
rename from package/x11r7/xserver_xorg-server/1.20.9/0002-Remove-check-for-useSIGIO-option.patch
rename to package/x11r7/xserver_xorg-server/0002-Remove-check-for-useSIGIO-option.patch
package/x11r7/xserver_xorg-server/0003-include-misc.h-fix-uClibc-build.patch renamed from package/x11r7/xserver_xorg-server/1.20.9/0003-include-misc.h-fix-uClibc-build.patch +0 -0
similarity index 100%
rename from package/x11r7/xserver_xorg-server/1.20.9/0003-include-misc.h-fix-uClibc-build.patch
rename to package/x11r7/xserver_xorg-server/0003-include-misc.h-fix-uClibc-build.patch
package/x11r7/xserver_xorg-server/0004-hw-xwayland-Makefile.am-fix-build-without-glx.patch renamed from package/x11r7/xserver_xorg-server/1.20.9/0004-hw-xwayland-Makefile.am-fix-build-without-glx.patch +0 -0
similarity index 100%
rename from package/x11r7/xserver_xorg-server/1.20.9/0004-hw-xwayland-Makefile.am-fix-build-without-glx.patch
rename to package/x11r7/xserver_xorg-server/0004-hw-xwayland-Makefile.am-fix-build-without-glx.patch
package/x11r7/xserver_xorg-server/0005-hw-xfree86-common-xf86Init.c-fix-build-without-glx.patch renamed from package/x11r7/xserver_xorg-server/1.20.9/0005-hw-xfree86-common-xf86Init.c-fix-build-without-glx.patch +0 -0
similarity index 100%
rename from package/x11r7/xserver_xorg-server/1.20.9/0005-hw-xfree86-common-xf86Init.c-fix-build-without-glx.patch
rename to package/x11r7/xserver_xorg-server/0005-hw-xfree86-common-xf86Init.c-fix-build-without-glx.patch
package/x11r7/xserver_xorg-server/1.14.7/0001-sdksyms-gcc5.patch deleted +0 -50

50 lines not on this page · raw message

package/x11r7/xserver_xorg-server/1.14.7/0002-Xi-Zero-target-buffer-in-SProcXSendExtensionEvent.patch deleted +0 -39
deleted file mode 100644
index c15dc9f50c..0000000000
@@ -1,39 +0,0 @@
-From 05442de962d3dc624f79fc1a00eca3ffc5489ced Mon Sep 17 00:00:00 2001
-From: Michal Srb <[email protected]>
-Date: Wed, 24 May 2017 15:54:39 +0300
-Subject: [PATCH] Xi: Zero target buffer in SProcXSendExtensionEvent.
-
-Make sure that the xEvent eventT is initialized with zeros, the same way as
-in SProcSendEvent.
-
-Some event swapping functions do not overwrite all 32 bytes of xEvent
-structure, for example XSecurityAuthorizationRevoked. Two cooperating
-clients, one swapped and the other not, can send
-XSecurityAuthorizationRevoked event to each other to retrieve old stack data
-from X server. This can be potentialy misused to go around ASLR or
-stack-protector.
-
-Signed-off-by: Michal Srb <[email protected]>
-Reviewed-by: Peter Hutterer <[email protected]>
-Signed-off-by: Peter Hutterer <[email protected]>
-Signed-off-by: Peter Korsgaard <[email protected]>
----
- Xi/sendexev.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Xi/sendexev.c b/Xi/sendexev.c
-index 11d82029f..1cf118ab6 100644
---- a/Xi/sendexev.c
-+++ b/Xi/sendexev.c
-@@ -78,7 +78,7 @@ SProcXSendExtensionEvent(ClientPtr client)
- {
-     CARD32 *p;
-     int i;
--    xEvent eventT;
-+    xEvent eventT = { .u.u.type = 0 };
-     xEvent *eventP;
-     EventSwapPtr proc;
- 
--- 
-2.11.0
-
package/x11r7/xserver_xorg-server/1.14.7/0003-dix-Disallow-GenericEvent-in-SendEvent-request.patch deleted +0 -71

71 lines not on this page · raw message

package/x11r7/xserver_xorg-server/1.14.7/0004-Xi-Verify-all-events-in-ProcXSendExtensionEvent.patch deleted +0 -50

50 lines not on this page · raw message

package/x11r7/xserver_xorg-server/1.14.7/0005-Xi-Do-not-try-to-swap-GenericEvent.patch deleted +0 -45

45 lines not on this page · raw message

package/x11r7/xserver_xorg-server/1.17.4/0001-modesettings-needs-dri2.patch deleted +0 -19
deleted file mode 100644
index 4ef95efc3e..0000000000
@@ -1,19 +0,0 @@
-Kernel modesettings support also depends on dri2, see
-http://cgit.freedesktop.org/xorg/xserver/tree/hw/xfree86/drivers/modesetting/Makefile.am#n46
-
-Patch sent upstream: https://bugs.freedesktop.org/show_bug.cgi?id=91584
-
-Signed-off-by: Bernd Kuhls <[email protected]>
-
-diff -uNr xorg-server-1.17.2.org/configure.ac xorg-server-1.17.2/configure.ac
---- xorg-server-1.17.2.org/configure.ac	2015-06-16 17:42:40.000000000 +0200
-+++ xorg-server-1.17.2/configure.ac	2015-08-08 10:44:59.702382624 +0200
-@@ -2036,7 +2036,7 @@
- 	        XORG_SYS_LIBS="$XORG_SYS_LIBS $XORG_MODULES_LIBS"
- 	fi
- 
--	if test "x$DRM" = xyes; then
-+	if test "x$DRM" = xyes -a "x$DRI2" = xyes; then
- 		dnl 2.4.46 is required for cursor hotspot support.
- 		PKG_CHECK_EXISTS(libdrm >= 2.4.46)
- 		XORG_DRIVER_MODESETTING=yes
package/x11r7/xserver_xorg-server/1.17.4/0002-Xi-Zero-target-buffer-in-SProcXSendExtensionEvent.patch deleted +0 -39
deleted file mode 100644
index c15dc9f50c..0000000000
@@ -1,39 +0,0 @@
-From 05442de962d3dc624f79fc1a00eca3ffc5489ced Mon Sep 17 00:00:00 2001
-From: Michal Srb <[email protected]>
-Date: Wed, 24 May 2017 15:54:39 +0300
-Subject: [PATCH] Xi: Zero target buffer in SProcXSendExtensionEvent.
-
-Make sure that the xEvent eventT is initialized with zeros, the same way as
-in SProcSendEvent.
-
-Some event swapping functions do not overwrite all 32 bytes of xEvent
-structure, for example XSecurityAuthorizationRevoked. Two cooperating
-clients, one swapped and the other not, can send
-XSecurityAuthorizationRevoked event to each other to retrieve old stack data
-from X server. This can be potentialy misused to go around ASLR or
-stack-protector.
-
-Signed-off-by: Michal Srb <[email protected]>
-Reviewed-by: Peter Hutterer <[email protected]>
-Signed-off-by: Peter Hutterer <[email protected]>
-Signed-off-by: Peter Korsgaard <[email protected]>
----
- Xi/sendexev.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Xi/sendexev.c b/Xi/sendexev.c
-index 11d82029f..1cf118ab6 100644
---- a/Xi/sendexev.c
-+++ b/Xi/sendexev.c
-@@ -78,7 +78,7 @@ SProcXSendExtensionEvent(ClientPtr client)
- {
-     CARD32 *p;
-     int i;
--    xEvent eventT;
-+    xEvent eventT = { .u.u.type = 0 };
-     xEvent *eventP;
-     EventSwapPtr proc;
- 
--- 
-2.11.0
-
package/x11r7/xserver_xorg-server/1.17.4/0003-dix-Disallow-GenericEvent-in-SendEvent-request.patch deleted +0 -71

71 lines not on this page · raw message

package/x11r7/xserver_xorg-server/1.17.4/0004-Xi-Verify-all-events-in-ProcXSendExtensionEvent.patch deleted +0 -50

50 lines not on this page · raw message

package/x11r7/xserver_xorg-server/1.17.4/0005-Xi-Do-not-try-to-swap-GenericEvent.patch deleted +0 -45

45 lines not on this page · raw message

package/x11r7/xserver_xorg-server/Config.in +0 -48

60 lines not on this page · raw message

package/x11r7/xserver_xorg-server/xserver_xorg-server.hash +0 -5
index 930900c5ea..2b55449e14 100644
@@ -1,8 +1,3 @@
-# From http://lists.x.org/archives/xorg-announce/2014-June/002440.html
-sha1  7a95765e56b124758fcd7b609589e65b8870880b  xorg-server-1.14.7.tar.bz2
-sha256  fcf66fa6ad86227613d2d3e8ae13ded297e2a1e947e9060a083eaf80d323451f  xorg-server-1.14.7.tar.bz2
-# From https://lists.x.org/archives/xorg-announce/2015-October/002650.html
-sha256  0c4b45c116a812a996eb432d8508cf26c2ec8c3916ff2a50781796882f8d6457  xorg-server-1.17.4.tar.bz2
 # From https://lists.x.org/archives/xorg-announce/2020-August/003059.html
 sha256  e219f2e0dfe455467939149d7cd2ee53b79b512cc1d2094ae4f5c9ed9ccd3571  xorg-server-1.20.9.tar.bz2
 sha512  d9b5f93e1b9763a89187d8b272aa7d4ce9709641b8539f4536708af153310e5a4931bffd4229c51a3b0e3b12da7838750aa71b635751fb4c0bb27438cce4e5e6  xorg-server-1.20.9.tar.bz2
package/x11r7/xserver_xorg-server/xserver_xorg-server.mk +1 -7
index 8ccc04224d..e0059166b3 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-XSERVER_XORG_SERVER_VERSION = $(call qstrip,$(BR2_PACKAGE_XSERVER_XORG_SERVER_VERSION))
+XSERVER_XORG_SERVER_VERSION = 1.20.9
 XSERVER_XORG_SERVER_SOURCE = xorg-server-$(XSERVER_XORG_SERVER_VERSION).tar.bz2
 XSERVER_XORG_SERVER_SITE = https://xorg.freedesktop.org/archive/individual/xserver
 XSERVER_XORG_SERVER_LICENSE = MIT
@@ -127,12 +127,6 @@ else
 XSERVER_XORG_SERVER_CONF_OPTS += --disable-dri --disable-glx
 endif
 
-ifeq ($(BR2_PACKAGE_XSERVER_XORG_SERVER_AIGLX),y)
-XSERVER_XORG_SERVER_CONF_OPTS += --enable-aiglx
-else
-XSERVER_XORG_SERVER_CONF_OPTS += --disable-aiglx
-endif
-
 # Optional packages
 ifeq ($(BR2_PACKAGE_TSLIB),y)
 XSERVER_XORG_SERVER_DEPENDENCIES += tslib
Signature · 1 line
2.27.0
#3 lore raw

PATCH 3/3 package/x11r7/xserver_xorg-server: remove unmaintained versions 1.14.7 & 1.17.4

Quoted 7 lines · Bernd Kuhls
Config.in.legacy +0 -0
index b91e6dbc69..45fb18540b 100644
@@ -146,6 +146,12 @@ endif
 
 comment "Legacy options removed in 2020.08"

Config.in.legacy endif · line 157

Quoted 10 lines
Config.in.legacy +6 -0
 
+config BR2_PACKAGE_XSERVER_XORG_SERVER_AIGLX
+	bool "X.org Enable AIGLX Extension"
+	select BR2_LEGACY
+	help
+	  AIGLX Extension was removed in X.org X server version 1.19.0
+
 config BR2_PACKAGE_AMD_CATALYST
 	bool "amd-catalyst"
 	select BR2_LEGACY

There was also still a reference to BR2_PACKAGE_XSERVER_XORG_SERVER_V_1_19 in
Config.in.legacy, so I removed that.

Regards,
Arnout

#4 lore raw

PATCH 1/3 package/nvidia-tegra23: remove package

In reply to Bernd Kuhls
Quoted 5 lines · Bernd Kuhls

Current X.org X server is incompatible with this driver.

We no longer support unmaintainted versions of X.org X server.

Series applied to next, thanks. The idea is that people should know they're
vulnerable if they select old versions. If we change our minds, we can still backport to the stable branches. (Note to Peter: backport is not entirely trivial).

Regards,
Arnout