mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
community/xf86-video-openchrome: remove
replaced by modesetting driver long time ago, and the hardware is obsolete. It also fails to build with gcc 14.
This commit is contained in:
parent
9c900e5c0d
commit
fb81b61e91
@ -1,48 +0,0 @@
|
||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
pkgname=xf86-video-openchrome
|
||||
pkgver=0.6.0
|
||||
pkgrel=8
|
||||
pkgdesc="X.Org driver for VIA/S3G cards"
|
||||
url="https://xorg.freedesktop.org"
|
||||
arch="all"
|
||||
license="MIT"
|
||||
subpackages="$pkgname-doc"
|
||||
makedepends="xorg-server-dev libxi-dev libxvmc-dev mesa-dev util-macros
|
||||
xorgproto libxv-dev"
|
||||
source="https://www.x.org/releases/individual/driver/xf86-video-openchrome-$pkgver.tar.bz2
|
||||
openchrome.xinf
|
||||
gcc-10.patch
|
||||
"
|
||||
|
||||
prepare() {
|
||||
update_config_sub
|
||||
default_prepare
|
||||
}
|
||||
|
||||
build() {
|
||||
export CFLAGS="${CFLAGS/-fno-plt}"
|
||||
export CXXFLAGS="${CXXFLAGS/-fno-plt}"
|
||||
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
|
||||
./configure \
|
||||
--build=$CBUILD \
|
||||
--host=$CHOST \
|
||||
--prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
|
||||
install -Dm644 "$srcdir"/openchrome.xinf \
|
||||
"$pkgdir"/usr/share/hwdata/videoaliases/openchrome.xinf
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
f074e70d54c87a9d6e1b52c2c2d72d7c551dcb59a5f34c0a5f9495db1a6e45db4300d51fabf7eedfbe91f964f9422931c752a49b322715c6aa9ddb0db9dd6004 xf86-video-openchrome-0.6.0.tar.bz2
|
||||
b900999fc678f0efdcb526d2f0e0f141ed8ca9403bd2b9895c96be2f5efc424feb50f1828c54cdaf0d7d9b9e723e834068ce36841fac97a2e5209873e8e711c3 openchrome.xinf
|
||||
5f585f5fddf3a66d67c805f7187002f14dc3f1b0bc12446921c1064090ae32102ba4227fd2d15d52ae755c5ccc718f315ccbf2c277e7639cfef70297cc56b41a gcc-10.patch
|
||||
"
|
@ -1,44 +0,0 @@
|
||||
Upstream: Should be
|
||||
Reason: Fixes compilation with gcc-10
|
||||
|
||||
diff --git a/src/via_driver.h b/src/via_driver.h
|
||||
index a1ad2f5..173e86e 100644
|
||||
--- a/src/via_driver.h
|
||||
+++ b/src/via_driver.h
|
||||
@@ -394,8 +394,8 @@ typedef struct
|
||||
|
||||
|
||||
/* In via_display.c. */
|
||||
-const xf86CrtcFuncsRec iga1_crtc_funcs;
|
||||
-const xf86CrtcFuncsRec iga2_crtc_funcs;
|
||||
+extern const xf86CrtcFuncsRec iga1_crtc_funcs;
|
||||
+extern const xf86CrtcFuncsRec iga2_crtc_funcs;
|
||||
|
||||
/* In via_exa.c. */
|
||||
Bool viaInitExa(ScreenPtr pScreen);
|
||||
diff --git a/src/via_vt1632.h b/src/via_vt1632.h
|
||||
index 41df77f..8415fae 100644
|
||||
--- a/src/via_vt1632.h
|
||||
+++ b/src/via_vt1632.h
|
||||
@@ -44,7 +44,7 @@ typedef struct _viaVT1632Rec {
|
||||
} viaVT1632Rec, *viaVT1632RecPtr;
|
||||
|
||||
|
||||
-const xf86OutputFuncsRec via_vt1632_funcs;
|
||||
+extern const xf86OutputFuncsRec via_vt1632_funcs;
|
||||
|
||||
Bool viaVT1632Init(ScrnInfoPtr pScrn, I2CBusPtr pI2CBus);
|
||||
|
||||
diff --git a/src/via_sii164.h b/src/via_sii164.h
|
||||
index 10077a3..f7f3a4f 100644
|
||||
--- a/src/via_sii164.h
|
||||
+++ b/src/via_sii164.h
|
||||
@@ -47,7 +47,7 @@ typedef struct _viaSiI164 {
|
||||
} viaSiI164Rec, *viaSiI164RecPtr;
|
||||
|
||||
|
||||
-const xf86OutputFuncsRec via_sii164_funcs;
|
||||
+extern const xf86OutputFuncsRec via_sii164_funcs;
|
||||
|
||||
Bool viaSiI164Init(ScrnInfoPtr pScrn, I2CBusPtr pI2CBus);
|
||||
|
@ -1,39 +0,0 @@
|
||||
# NOTE: Comments in openchrome 0.2.1 driver source indicate this device does not
|
||||
# exist in the wild, so it has been disabled for now.
|
||||
#alias pcivideo:v00001106d00003022sv*sd*bc*sc*i* openchrome
|
||||
|
||||
# 1106:3108 - K8M800 (PCI_CHIP_VT3204)
|
||||
alias pcivideo:v00001106d00003108sv*sd*bc*sc*i* openchrome
|
||||
|
||||
# 1106:3118 - PM800/PM880/CN400 (PCI_CHIP_VT3259)
|
||||
alias pcivideo:v00001106d00003118sv*sd*bc*sc*i* openchrome
|
||||
|
||||
# 1106:3122 - CLE266 (PCI_CHIP_CLE3122)
|
||||
alias pcivideo:v00001106d00003122sv*sd*bc*sc*i* openchrome
|
||||
|
||||
# 1106:7205 - KM400/KN400 (PCI_CHIP_VT3205)
|
||||
alias pcivideo:v00001106d00007205sv*sd*bc*sc*i* openchrome
|
||||
|
||||
# 1106:3344 - VM800 (PCI_CHIP_VT3314)
|
||||
alias pcivideo:v00001106d00003344sv*sd*bc*sc*i* openchrome
|
||||
|
||||
# 1106:3157 - CX700 (PCI_CHIP_VT3324)
|
||||
alias pcivideo:v00001106d00003157sv*sd*bc*sc*i* openchrome
|
||||
|
||||
# 1106:3343 - P4M890 (PCI_CHIP_VT3327)
|
||||
alias pcivideo:v00001106d00003343sv*sd*bc*sc*i* openchrome
|
||||
|
||||
# 1106:3230 - K8M890 (PCI_CHIP_VT3336)
|
||||
alias pcivideo:v00001106d00003230sv*sd*bc*sc*i* openchrome
|
||||
|
||||
# 1106:3371 - P4M900 (PCI_CHIP_VT3364)
|
||||
alias pcivideo:v00001106d00003371sv*sd*bc*sc*i* openchrome
|
||||
|
||||
# 1106:1122 - VX800 (PCI_CHIP_VT3353)
|
||||
alias pcivideo:v00001106d00001122sv*sd*bc*sc*i* openchrome
|
||||
|
||||
# 1106:5122 - VX855 (PCI_CHIP_VT3409)
|
||||
alias pcivideo:v00001106d00005122sv*sd*bc*sc*i* openchrome
|
||||
|
||||
# 1106:7122 - VX855 (PCI_CHIP_VT3410)
|
||||
alias pcivideo:v00001106d00007122sv*sd*bc*sc*i* openchrome
|
Loading…
Reference in New Issue
Block a user