commit 6d5f306b3c5c966ab404e55b8e4bd7799cd08a5c Author: Jan Palus <at...@pld-linux.org> Date: Tue Jan 24 09:58:37 2023 +0100
up to 0.1.6 - switch to python3 in Xspice xorg-driver-video-qxl.spec | 16 ++++++++-------- xserver-21.patch | 11 ----------- 2 files changed, 8 insertions(+), 19 deletions(-) --- diff --git a/xorg-driver-video-qxl.spec b/xorg-driver-video-qxl.spec index 240df54..657802a 100644 --- a/xorg-driver-video-qxl.spec +++ b/xorg-driver-video-qxl.spec @@ -9,13 +9,12 @@ Summary: X.org video driver for QXL virtual GPU Summary(pl.UTF-8): Sterownik obrazu X.org dla wirtualnych procesorów graficznych QXL Name: xorg-driver-video-qxl -Version: 0.1.5 -Release: 4 +Version: 0.1.6 +Release: 1 License: MIT Group: X11/Applications -Source0: https://xorg.freedesktop.org/releases/individual/driver/xf86-video-qxl-%{version}.tar.bz2 -# Source0-md5: addb686fce597a452eecd8d8f9fddf15 -Patch0: xserver-21.patch +Source0: https://xorg.freedesktop.org/releases/individual/driver/xf86-video-qxl-%{version}.tar.xz +# Source0-md5: 5d3a4ac0f6b21d62ff4e308717ff239f URL: https://xorg.freedesktop.org/ BuildRequires: autoconf >= 2.60 BuildRequires: automake @@ -27,6 +26,7 @@ BuildRequires: pkgconfig >= 1:0.19 BuildRequires: rpmbuild(macros) >= 1.389 BuildRequires: spice-protocol >= 0.12.0 %{?with_xspice:BuildRequires: spice-server-devel >= 0.6.3} +BuildRequires: tar >= 1:1.22 BuildRequires: udev-devel BuildRequires: xorg-lib-libXfont2-devel >= 2 BuildRequires: xorg-lib-libpciaccess-devel >= 0.10.0 @@ -38,6 +38,7 @@ BuildRequires: xorg-proto-xf86dgaproto-devel BuildRequires: xorg-proto-xproto-devel BuildRequires: xorg-util-util-macros >= 1.4 BuildRequires: xorg-xserver-server-devel >= 1.0.99.901 +BuildRequires: xz %{?requires_xorg_xserver_videodrv} Requires: libdrm >= 2.4.46 Requires: xorg-lib-libpciaccess >= 0.10.0 @@ -103,9 +104,8 @@ udostępnia wejście klawiatury i myszy oraz wyjście obrazu. %prep %setup -q -n xf86-video-qxl-%{version} -%patch0 -p1 -%{__sed} -E -i -e '1s,#!\s*/usr/bin/python(\s|$),#!%{__python}\1,' \ +%{__sed} -E -i -e '1s,#!\s*/usr/bin/python(\s|$),#!%{__python3}\1,' \ scripts/Xspice %build @@ -136,7 +136,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc COPYING ChangeLog NEWS README TODO +%doc COPYING ChangeLog NEWS README.md TODO %attr(755,root,root) %{_libdir}/xorg/modules/drivers/qxl_drv.so %if %{with pcsc} diff --git a/xserver-21.patch b/xserver-21.patch deleted file mode 100644 index fccc15b..0000000 --- a/xserver-21.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- xf86-video-qxl-0.1.5/src/qxl_option_helpers.c~ 2015-10-12 18:31:14.000000000 +0200 -+++ xf86-video-qxl-0.1.5/src/qxl_option_helpers.c 2021-11-03 23:54:07.606993033 +0100 -@@ -34,7 +34,7 @@ - const char* value = getenv(env_name); - - if (!value) { -- return options[option_index].value.bool; -+ return options[option_index].value.boolean; - } - if (strcmp(value, "0") == 0 || - strcasecmp(value, "off") == 0 || ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/xorg-driver-video-qxl.git/commitdiff/6d5f306b3c5c966ab404e55b8e4bd7799cd08a5c _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit