xorg-x11-drv-dummy 0.4.1

Update package to version 0.4.1.

Since upstream commit 2428bbfab7eb ("Build xz tarballs instead of
bzip2"), .tar.xz is used instead of .tar.bz2, update `Source0`
accordingly.
In addition, switch the `Source0` URL from the old FTP to HTTPS.

Drop `0001-Switch-to-using-dixChangeWindowProperty.patch` as the
upstream commit 8706f60ab457 ("Switch to using
dixChangeWindowProperty"), included in v0.4.1, already contains the
patch.
This commit is contained in:
José Expósito 2023-10-05 18:58:31 +02:00
parent 0d122a4b20
commit 82fab2f493
4 changed files with 9 additions and 40 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ xf86-video-dummy-0.3.4.tar.bz2
/xf86-video-dummy-0.3.5.tar.bz2
/xf86-video-dummy-0.3.6.tar.bz2
/xf86-video-dummy-0.3.7.tar.bz2
/xf86-video-dummy-0.4.1.tar.xz

View File

@ -1,33 +0,0 @@
From 8706f60ab457867c120dd44e812b8fadc2be7179 Mon Sep 17 00:00:00 2001
From: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu, 14 Jan 2016 10:30:40 +1000
Subject: [PATCH xf86-video-dummy] Switch to using dixChangeWindowProperty
eb36924ead40564325aa56d54a973dc8fb4eae83 removed ChangeWindowProperty from the
server.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Jon Turney <jon.turney@dronecode.org.uk>
---
src/dummy_driver.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/dummy_driver.c b/src/dummy_driver.c
index 470e125..9d4d5bf 100644
--- a/src/dummy_driver.c
+++ b/src/dummy_driver.c
@@ -790,8 +790,9 @@ DUMMYCreateWindow(WindowPtr pWin)
if (! ValidAtom(VFB_PROP))
VFB_PROP = MakeAtom(VFB_PROP_NAME, strlen(VFB_PROP_NAME), 1);
- ret = ChangeWindowProperty(pWinRoot, VFB_PROP, XA_STRING,
- 8, PropModeReplace, (int)4, (pointer)"TRUE", FALSE);
+ ret = dixChangeWindowProperty(serverClient, pWinRoot, VFB_PROP,
+ XA_STRING, 8, PropModeReplace,
+ (int)4, (pointer)"TRUE", FALSE);
if( ret != Success)
ErrorF("Could not set VFB root window property");
dPtr->prop = TRUE;
--
2.9.3

View File

@ -1 +1 @@
071e408461f2fec1764723474fbafdf4 xf86-video-dummy-0.3.7.tar.bz2
SHA512 (xf86-video-dummy-0.4.1.tar.xz) = ff7fd8b668e5e9f40a5d27f82599b7a455a8162fc1a247195335c17980f00ce10ae6b2c062239cbaa67d8684c86174f85b398dd7f7065d36f69294bd6f2469de

View File

@ -6,13 +6,12 @@
Summary: Xorg X11 dummy video driver
Name: xorg-x11-drv-dummy
Version: 0.3.7
Release: 20%{?dist}
Version: 0.4.1
Release: 1%{?dist}
URL: http://www.x.org
License: MIT AND X11
Source0: ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2
Patch0: 0001-Switch-to-using-dixChangeWindowProperty.patch
Source0: https://xorg.freedesktop.org/archive/individual/driver/%{tarball}-%{version}.tar.xz
BuildRequires: make
BuildRequires: xorg-x11-server-devel >= 1.10.99.902
@ -26,7 +25,6 @@ X.Org X11 dummy video driver.
%prep
%setup -q -n %{tarball}-%{version}
%patch0 -p1
autoreconf -vif
%build
@ -41,10 +39,13 @@ autoreconf -vif
find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f --
%files
%doc README
%doc README.md
%{driverdir}/dummy_drv.so
%changelog
* Thu Oct 05 2023 José Expósito <jexposit@redhat.com> - 0.4.1-1
- xorg-x11-drv-dummy 0.4.1
* Thu Sep 07 2023 José Expósito <jexposit@redhat.com> - 0.3.7-20
- SPDX Migration