Subject: [PATCH xorg-updates 089/109] gnu: xf86-video-ark: Update to 0.7.6.

From: [email-masked]
Date: Sat, 28 Dec 2024 19:16:00 +0800

From: 宋文武 <[email-masked]>

* gnu/packages/xorg.scm (xf86-video-ark): Update to 0.7.6.
* gnu/packages/patches/xf86-video-ark-remove-mibstore.patch: Remove patch.
* gnu/local.mk (dist_patch_DATA): Remove it.

Change-Id: Iae0186f3b65614afd87256acabddd8e46fc3e098
---
 gnu/local.mk                                  |  1 -
 .../xf86-video-ark-remove-mibstore.patch      | 23 -------------------
 gnu/packages/xorg.scm                         |  7 +++---
 3 files changed, 3 insertions(+), 28 deletions(-)
 delete mode 100644 gnu/packages/patches/xf86-video-ark-remove-mibstore.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index 90a4896fa1..f0e4b16a8e 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -2386,7 +2386,6 @@ dist_patch_DATA =						\
   %D%/packages/patches/x265-arm-flags.patch			\
   %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-ark-remove-mibstore.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 \
diff --git a/gnu/packages/patches/xf86-video-ark-remove-mibstore.patch b/gnu/packages/patches/xf86-video-ark-remove-mibstore.patch
deleted file mode 100644
index 4a5b629b43..0000000000
--- a/gnu/packages/patches/xf86-video-ark-remove-mibstore.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-Removes references to mibstore.h and miInitializeBackingStore, which
-have been removed from xorg-server.  Zack Rusin <[email-masked]>
-wrote: "It was a noop for at least 5 years and it has been removed."
-See: http://patches.openembedded.org/patch/46133/
-
---- xf86-video-ark-0.7.5/src/ark_driver.c.~1~	2012-07-17 00:51:36.000000000 -0400
-+++ xf86-video-ark-0.7.5/src/ark_driver.c	2014-12-19 00:23:13.028931734 -0500
-@@ -39,7 +39,6 @@
- #include "compiler.h"
- #include "mipointer.h"
- #include "micmap.h"
--#include "mibstore.h"
- #include "fb.h"
- #include "ark.h"
- 
-@@ -538,7 +537,6 @@
- 
- 	fbPictureInit (pScreen, 0, 0);
- 
--	miInitializeBackingStore(pScreen);
- 	xf86SetBackingStore(pScreen);
- 
- 	if (!pARK->NoAccel) {
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index 130ebbcab0..a0318644c8 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -2736,18 +2736,17 @@ (define-public xf86-video-amdgpu
 (define-public xf86-video-ark
   (package
     (name "xf86-video-ark")
-    (version "0.7.5")
+    (version "0.7.6")
     (source
       (origin
         (method url-fetch)
         (uri (string-append
                "mirror://xorg/individual/driver/xf86-video-ark-"
                version
-               ".tar.bz2"))
+               ".tar.xz"))
         (sha256
           (base32
-           "07p5vdsj2ckxb6wh02s61akcv4qfg6s1d5ld3jn3lfaayd3f1466"))
-        (patches (search-patches "xf86-video-ark-remove-mibstore.patch"))))
+           "0p88blr3zgy47jc4aqivc6ypj4zq9pad1cl70wwz9xig29w9xk2s"))))
     (build-system gnu-build-system)
     (inputs (list xorg-server))
     (native-inputs (list pkg-config))
-- 
2.46.0