[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#75160] [PATCH xorg-updates 090/109] gnu: xf86-video-savage: Update
From: |
iyzsong |
Subject: |
[bug#75160] [PATCH xorg-updates 090/109] gnu: xf86-video-savage: Update to 2.4.1. |
Date: |
Sat, 28 Dec 2024 19:16:01 +0800 |
From: 宋文武 <iyzsong@member.fsf.org>
* gnu/packages/xorg.scm (xf86-video-savage): Update to 2.4.1.
* gnu/packages/patches/xf86-video-savage-xorg-compat.patch: Remove patch.
* gnu/local.mk (dist_patch_DATA): Remove it.
Change-Id: I186c93badb813aa0fc4a3d558ff8a084c6c652af
---
gnu/local.mk | 1 -
.../xf86-video-savage-xorg-compat.patch | 33 -------------------
gnu/packages/xorg.scm | 7 ++--
3 files changed, 3 insertions(+), 38 deletions(-)
delete mode 100644 gnu/packages/patches/xf86-video-savage-xorg-compat.patch
diff --git a/gnu/local.mk b/gnu/local.mk
index f0e4b16a8e..171e1d5e94 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -2387,7 +2387,6 @@ dist_patch_DATA =
\
%D%/packages/patches/xdg-desktop-portal-disable-portal-tests.patch\
%D%/packages/patches/xdg-desktop-portal-wlr-harcoded-length.patch\
%D%/packages/patches/xf86-video-nouveau-fixup-ABI.patch \
- %D%/packages/patches/xf86-video-savage-xorg-compat.patch \
%D%/packages/patches/xf86-video-siliconmotion-fix-ftbfs.patch \
%D%/packages/patches/xfig-Enable-error-message-for-missing-libraries.patch
\
%D%/packages/patches/xfig-Fix-double-free-when-requesting-MediaBox.patch
\
diff --git a/gnu/packages/patches/xf86-video-savage-xorg-compat.patch
b/gnu/packages/patches/xf86-video-savage-xorg-compat.patch
deleted file mode 100644
index 9524032676..0000000000
--- a/gnu/packages/patches/xf86-video-savage-xorg-compat.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-Fix build against xorg-server >= 1.20.
-
-Patch taken from upstream:
-https://cgit.freedesktop.org/xorg/driver/xf86-video-savage/commit/?id=0ece556daa8a88771b669d8104396abd9166d2d0
-
-diff --git a/src/savage_driver.c b/src/savage_driver.c
-index 58a294d..3cda923 100644
---- a/src/savage_driver.c
-+++ b/src/savage_driver.c
-@@ -2034,8 +2034,6 @@ static Bool SavagePreInit(ScrnInfoPtr pScrn, int flags)
- xf86DrvMsg(pScrn->scrnIndex, X_PROBED, "Detected current MCLK value of
%1.3f MHz\n",
- mclk / 1000.0);
-
-- pScrn->maxHValue = 2048 << 3; /* 11 bits of h_total 8-pixel units */
-- pScrn->maxVValue = 2048; /* 11 bits of v_total */
- pScrn->virtualX = pScrn->display->virtualX;
- pScrn->virtualY = pScrn->display->virtualY;
-
-@@ -3637,6 +3635,14 @@ static ModeStatus SavageValidMode(SCRN_ARG_TYPE arg,
DisplayModePtr pMode,
- (pMode->VDisplay > psav->PanelY)))
- return MODE_PANEL;
-
-+ /* 11 bits of h_total 8-pixel units */
-+ if (pMode->HTotal > (2048 << 3))
-+ return MODE_BAD_HVALUE;
-+
-+ /* 11 bits of v_total */
-+ if (pMode->VTotal > 2048)
-+ return MODE_BAD_VVALUE;
-+
- if (psav->UseBIOS) {
- refresh = SavageGetRefresh(pMode);
- return (SavageMatchBiosMode(pScrn,pMode->HDisplay,
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index a0318644c8..f467db643c 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -3233,18 +3233,17 @@ (define-public xf86-video-r128
(define-public xf86-video-savage
(package
(name "xf86-video-savage")
- (version "2.3.9")
+ (version "2.4.1")
(source
(origin
(method url-fetch)
(uri (string-append
"mirror://xorg/individual/driver/xf86-video-savage-"
version
- ".tar.bz2"))
- (patches (search-patches "xf86-video-savage-xorg-compat.patch"))
+ ".tar.xz"))
(sha256
(base32
- "11pcrsdpdrwk0mrgv83s5nsx8a9i4lhmivnal3fjbrvi3zdw94rc"))))
+ "1bqhgldb6yahpgav7g7cyc4kl5pm3mgkq8w2qncj36311hb92hb7"))))
(build-system gnu-build-system)
(inputs (list mesa xorgproto xorg-server))
(native-inputs (list pkg-config))
--
2.46.0
- [bug#75160] [PATCH xorg-updates 048/109] gnu: xrandr: Update to 1.5.3., (continued)
- [bug#75160] [PATCH xorg-updates 048/109] gnu: xrandr: Update to 1.5.3., iyzsong, 2024/12/28
- [bug#75160] [PATCH xorg-updates 040/109] gnu: xkbprint: Update to 1.0.7., iyzsong, 2024/12/28
- [bug#75160] [PATCH xorg-updates 046/109] gnu: xpr: Update to 1.2.0., iyzsong, 2024/12/28
- [bug#75160] [PATCH xorg-updates 047/109] gnu: xprop: Update to 1.2.8., iyzsong, 2024/12/28
- [bug#75160] [PATCH xorg-updates 099/109] gnu: xf86-video-dummy: Update to 0.4.1., iyzsong, 2024/12/28
- [bug#75160] [PATCH xorg-updates 096/109] gnu: xf86-input-mouse: Update to 1.9.5., iyzsong, 2024/12/28
- [bug#75160] [PATCH xorg-updates 091/109] gnu: xf86-video-nouveau: Update to 1.0.18., iyzsong, 2024/12/28
- [bug#75160] [PATCH xorg-updates 097/109] gnu: xf86-input-void: Update to 1.4.2., iyzsong, 2024/12/28
- [bug#75160] [PATCH xorg-updates 086/109] gnu: xcompmgr: Update to 1.1.10., iyzsong, 2024/12/28
- [bug#75160] [PATCH xorg-updates 092/109] gnu: libpthread-stubs: Update to 0.5., iyzsong, 2024/12/28
- [bug#75160] [PATCH xorg-updates 090/109] gnu: xf86-video-savage: Update to 2.4.1.,
iyzsong <=
- [bug#75160] [PATCH xorg-updates 042/109] gnu: xlsfonts: Update to 1.0.8., iyzsong, 2024/12/28
- [bug#75160] [PATCH xorg-updates 044/109] gnu: xmodmap: Update to 1.0.11., iyzsong, 2024/12/28
- [bug#75160] [PATCH xorg-updates 043/109] gnu: xfontsel: Update to 1.1.1., iyzsong, 2024/12/28
- [bug#75160] [PATCH xorg-updates 049/109] gnu: xrdb: Update 1.2.2., iyzsong, 2024/12/28
- [bug#75160] [PATCH xorg-updates 051/109] gnu: xtrans: Update to 1.5.2., iyzsong, 2024/12/28
- [bug#75160] [PATCH xorg-updates 050/109] gnu: xrefresh: Update to 1.1.0., iyzsong, 2024/12/28
- [bug#75160] [PATCH xorg-updates 100/109] gnu: xf86-video-fbdev: Update to 0.5.1., iyzsong, 2024/12/28
- [bug#75160] [PATCH xorg-updates 094/109] gnu: xf86-input-libinput: Update to 1.5.0., iyzsong, 2024/12/28
- [bug#75160] [PATCH xorg-updates 093/109] gnu: xf86-input-evdev: Update to 2.11.0., iyzsong, 2024/12/28
- [bug#75160] [PATCH xorg-updates 088/109] gnu: libxfont2: Update to 2.0.7., iyzsong, 2024/12/28