commit 0ee3ade17c9d578d5a0e82c83c2f42e56334a19b Author: Adrian Schröter Date: Fri Nov 24 16:23:10 2023 +0100 Sync from SUSE:ALP:Source:Standard:1.0 xorgproto revision c3e6f0eeb17e56ee58d4e1f7f7e4ecdd diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/_multibuild b/_multibuild new file mode 100644 index 0000000..2be6914 --- /dev/null +++ b/_multibuild @@ -0,0 +1,3 @@ + + doc + diff --git a/xorgproto-2023.2.tar.xz b/xorgproto-2023.2.tar.xz new file mode 100644 index 0000000..626b1cf --- /dev/null +++ b/xorgproto-2023.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b61fbc7db82b14ce2dc705ab590efc32b9ad800037113d1973811781d5118c2c +size 759040 diff --git a/xorgproto-2023.2.tar.xz.sig b/xorgproto-2023.2.tar.xz.sig new file mode 100644 index 0000000..35e4b55 Binary files /dev/null and b/xorgproto-2023.2.tar.xz.sig differ diff --git a/xorgproto.changes b/xorgproto.changes new file mode 100644 index 0000000..485393f --- /dev/null +++ b/xorgproto.changes @@ -0,0 +1,189 @@ +------------------------------------------------------------------- +Fri Jun 16 11:16:43 UTC 2023 - Stefan Dirsch + +- Update to version 2023.2 + * quick-fix release to address the Present protocol version not + being updated in xorgproto-2023.1. + +------------------------------------------------------------------- +Sat Jun 10 11:04:09 UTC 2023 - Stefan Dirsch + +- Update to version 2023.1 +This release introduces a couple of new options for existing extensions: + + * A new option PresentOptionAsyncMayTear for the Present extension, + * A new flag XFixesClientDisconnectFlagForceTerminate to the XFixes + XFixesClientDisconnectFlags intended to be used by screen lockers, + where the server must exit if the screen locker does. + +The other changes include various fixes, clarifications and keysym +definitions updates: + +------------------------------------------------------------------- +Tue Jan 31 10:27:53 UTC 2023 - Stefan Dirsch + +- switched to multibuild for -doc package to avoid build cycles + +------------------------------------------------------------------- +Sun Jan 29 00:30:17 UTC 2023 - Christopher Yeleighton + +- Build documentation (boo#1207721) + +------------------------------------------------------------------- +Sun Aug 21 11:15:11 UTC 2022 - Bjørn Lie + +- Use xz tarball instead of gz, save a few bytes in size. + +------------------------------------------------------------------- +Fri Aug 12 21:10:43 UTC 2022 - Dirk Müller + +- add gpg validation of sources + +------------------------------------------------------------------- +Thu Aug 11 10:16:02 UTC 2022 - Aaron Stern + +- xorgproto 2022.2 + * DRI3: Add DRI3SetDRMDeviceInUse + * Add the XWAYLAND extension + * Build xz tarballs instead of bzip2 + +------------------------------------------------------------------- +Thu Apr 21 02:20:44 UTC 2022 - Stefan Dirsch + +- xorgproto 2022.1 + * No changes to the actual protocols, just the additions of some + new keysyms provided by the Linux kernel. + +------------------------------------------------------------------- +Wed Sep 15 20:54:39 UTC 2021 - Stefan Dirsch + +- xorgproto 2021.5 + * This release introduces the version 2.4 of the X Input + protocol. It contains the addition of the concept of touchpad + gestures. Touchpad gesture is an interaction of two or more + fingers that can be interpreted as a swipe or a pinch. + +------------------------------------------------------------------- +Mon May 31 15:07:17 UTC 2021 - Dirk Müller + +- package licenses as %%license +- modernize spec file +- list files in files-section to avoid directory permission + conflict with filesystem package + +------------------------------------------------------------------- +Fri Apr 30 09:04:25 UTC 2021 - Stefan Dirsch + +- xorgproto 2021.4 +The big new feature in this release is Olivier's addition that makes up +XFixes 6: the new ClientDisconnectMode. An X server that is started on +demand (Xwayland) should ideally also terminate when the last client +disconnects. However, some X11 clients that provide system services will +linger around forever, preventing that shutdown. + +With the new XFixes request, a client can designate itself as +to-be-terminated and the X server can ignore those clients when counting the +number of remaining clients. If no other clients are left, the server can +shut down. + +Note that this requires changes to the X server and each client to work. + +------------------------------------------------------------------- +Thu Feb 25 10:42:37 UTC 2021 - Stefan Dirsch + +- xorgproto 2021.3 +If you thought the 2021.2 release was exciting, well, you're in for a +surprise: this one even builds with meson! How cool is that?! + +Somewhat related: the new script to generate and verify the keysyms was +missing from the (autotools-generated) tarball, causing a meson build from +that tarball to fail during the setup phase. This is fixed now. + +No changes to the rest of the sources, so this is effectively identical to +yesterday's tarball. + +------------------------------------------------------------------- +Thu Feb 25 10:39:54 UTC 2021 - Stefan Dirsch + +- xorgproto 2021.2 +This release is mostly all about keysyms. Some additions to Vietnamese and +Hangul but the big set of commits here is catching up with several years of +Linux kernel releases. + +The kernel's evdev interface has semantic keycodes (e.g. KEY_ESC is what +you'd expect). Beyond the normal range expected to change with different +layouts there are many keycodes that should only ever do one thing. +For example, KEY_ONSCREEN_KEYBOARD should display the OSK regardless of +layout). In the past, we've added these keysyms on a as-requested basis. + +We now have a reserved subrange in the already reserved range for XF86Foo +keysyms. Within that range, keysyms map directly to their evdev +counterparts, making future updates easier. The above example +KEY_ONSCREEN_KEYBOARD now has a XF86OnScreenKeyboard keysym. +The header file follows a strict convention to make this range +machine-readable, xkeyboard-config can make use of this to +make those keysyms available by default. Note that almost all keys are +outside the X keycode range so very little will change under X. + +Note that most keys exist on selected devices only so the practial use is +quite limited. But those keysyms are available through normal XKB +configuration so users can re-map existing keys where needed. + +Aside from those, a bit of misc cleanup work. Many thanks to all +contributors. + +------------------------------------------------------------------- +Tue Apr 14 21:22:36 UTC 2020 - Stefan Dirsch + +- xorgproto 2020.1 + * This release adds a new keysym, a state-change event to the + DPMS extension, synchronizes more of the meson and autotools + build sytems, and converts some quasi-text documentation to + Markdown. + +------------------------------------------------------------------- +Fri Oct 18 10:05:56 UTC 2019 - Stefan Dirsch + +- xorgproto 2019.2 + * This release moves more header files to the legacy set. Note + that this means libX11 older than 1.6.9 and libXvMC older + than 1.0.12 will not build without some legacy headers installed. + +------------------------------------------------------------------- +Mon Jun 24 14:28:53 UTC 2019 - Stefan Dirsch + +- use --enable-legacy configure option on existing products in order + not to break package builds, which still requires any of these + extensions: + * trapproto + * xf86miscproto + * xproxymngproto + deleterequests for the affected packaages have been done for factory/TW + +------------------------------------------------------------------- +Fri Jun 21 10:08:56 UTC 2019 - Stefan Dirsch + +- xorgproto 2019.1 + * This release boasts a bunch of cleanup work and a few new + keysyms. No functional changes to any of the protocols. + +------------------------------------------------------------------- +Wed Jun 27 23:07:34 UTC 2018 - tobias.johannes.klausmann@mni.thm.de + +- Obsolete protocol packages by their corresponding old package names, not by + their pkconfig(...) provides. Additionally move the obsoletes to the -devel + package to take effect. + +------------------------------------------------------------------- +Wed Feb 28 20:45:12 UTC 2018 - tobias.johannes.klausmann@mni.thm.de + +- Create package xorgproto with initial version 2018.4: + This package contains all previously split up xorg protocol headers in one + package (again!). Additionally this package contains two new protocol + versions required by the upcoming XServer 1.20: + + dri3proto version 1.2 + + randrproto version 1.6 +- Obsolete the old *prot packages by using the actual protocol version to keep + this package compatible with the old versioning scheme. +- "Prefer: xorgproto-devel" in the project config is required to prefer it for + now diff --git a/xorgproto.keyring b/xorgproto.keyring new file mode 100644 index 0000000..5185798 --- /dev/null +++ b/xorgproto.key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bwnQWJ/TyuIXQQYEQIAHRYhBGfc +hvJiP8X9S7UiXRRwbb4eS0VABQJfHuPcAAoJEBRwbb4eS0VAnL4Anim4vNYyrDc8 +NTdS3mgWGtdXVjWdAKCjUhzkN3uCaYNJR6h0Y1thYuPEJA== +=L9d5 +-----END PGP PUBLIC KEY BLOCK----- diff --git a/xorgproto.spec b/xorgproto.spec new file mode 100644 index 0000000..d90522b --- /dev/null +++ b/xorgproto.spec @@ -0,0 +1,187 @@ +# +# spec file +# +# Copyright (c) 2023 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "doc" +%global psuffix -doc +%else +%global psuffix %{nil} +%endif + +%define srcname xorgproto + +Name: %{srcname}%{psuffix} +Version: 2023.2 +Release: 0 +%if "%{flavor}" == "doc" +Summary: The X11 Protocol collection (documentation) +%else +Summary: The X11 Protocol collection +%endif +License: MIT +Group: Development/Libraries/X11 +URL: https://xorg.freedesktop.org/ +#Git-Clone: git://anongit.freedesktop.org/xorg/proto/xorgproto +#Git-Web: http://cgit.freedesktop.org/xorg/proto/xorgproto/ +Source0: https://xorg.freedesktop.org/releases/individual/proto/%{srcname}-%{version}.tar.xz +Source1: https://xorg.freedesktop.org/releases/individual/proto/%{srcname}-%{version}.tar.xz.sig +Source2: xorgproto.keyring +BuildRequires: fdupes +BuildRequires: pkgconfig +%if "%{flavor}" == "doc" +BuildRequires: fop +BuildRequires: xmlto +BuildRequires: xorg-sgml-doctools +BuildRequires: xsltproc +%endif +BuildArch: noarch + +%if "%{flavor}" == "doc" +%description +Documentation for X11 protocol headers. +%else + +%description +The X11 protocol headers for X11 development. +This package contains all previously split protocol packages: +applewmproto, bigreqsproto, compositeproto, damageproto, dmxproto, dri2proto, +dri3proto, fixesproto, fontsproto, glproto, inputproto, kbproto, presentproto, +randrproto, recordproto, renderproto, resourceproto, scrnsaverproto, trapproto, +videoproto, windowswmproto, xcmiscproto, xextproto, xf86bigfontproto, +xf86dgaproto, xf86driproto, xf86miscproto, xf86vidmodeproto, xineramaproto, +xproto and xproxymngproto. +%endif + +%package devel +Summary: The X11 Protocol collection +Group: Development/Libraries/X11 +Obsoletes: xorgproto-devel < %{version} +# the next is for obsoleting applewmproto <= 1.4.2 +Obsoletes: bigreqsproto-devel <= 1.1.2 +Provides: bigreqsproto-devel = %{version} +Obsoletes: compositeproto-devel <= 0.4.2 +Provides: compositeproto-devel = %{version} +Obsoletes: damageproto-devel <= 1.2.1 +Provides: damageproto-devel = %{version} +Obsoletes: dmxproto-devel <= 2.3.1 +Provides: dmxproto-devel = %{version} +Obsoletes: dri2proto-devel <= 2.8 +Provides: dri2proto-devel = %{version} +Obsoletes: dri3proto-devel <= 1.2 +Provides: dri3proto-devel = %{version} +Obsoletes: fixesproto-devel <= 5.0 +Provides: fixesproto-devel = %{version} +Obsoletes: fontsproto-devel <= 2.1.3 +Provides: fontsproto-devel = %{version} +Obsoletes: glproto-devel <= 1.4.17 +Provides: glproto-devel = %{version} +Obsoletes: inputproto-devel <= 2.3.2 +Provides: inputproto-devel = %{version} +Obsoletes: kbproto-devel <= 1.0.7 +Provides: kbproto-devel = %{version} +Obsoletes: presentproto-devel <= 1.2 +Provides: presentproto-devel = %{version} +Obsoletes: randrproto-devel <= 1.6.0 +Provides: randrproto-devel = %{version} +Obsoletes: recordproto-devel <= 1.14.2 +Provides: recordproto-devel = %{version} +Obsoletes: renderproto-devel <= 0.11.1 +Provides: renderproto-devel = %{version} +Obsoletes: resourceproto-devel <= 1.2.0 +Provides: resourceproto-devel = %{version} +Provides: scrnsaverproto-devel = %{version} +Obsoletes: scrnsaverproto-devel <= 1.2.2 +Provides: trapproto-devel = %{version} +Obsoletes: trapproto-devel <= 3.4.3 +Provides: videoproto-devel = %{version} +Obsoletes: videoproto-devel <= 2.3.3 +Provides: windowswmproto-devel = %{version} +Obsoletes: windowswmproto-devel <= 1.0.4 +Provides: xcmiscproto-devel = %{version} +Obsoletes: xcmiscproto-devel <= 1.2.2 +Provides: xextproto-devel = %{version} +Obsoletes: xextproto-devel <= 7.3.0 +Provides: xf86bigfontproto-devel = %{version} +Obsoletes: xf86bigfontproto-devel <= 1.2.0 +Provides: xf86dgaproto-devel = %{version} +Obsoletes: xf86dgaproto-devel <= 2.1 +Provides: xf86driproto-devel = %{version} +Obsoletes: xf86driproto-devel <= 2.1.1 +Provides: xf86miscproto-devel = %{version} +Obsoletes: xf86miscproto-devel <= 0.9.3 +Provides: xf86vidmodeproto-devel = %{version} +Obsoletes: xf86vidmodeproto-devel <= 2.3.1 +Provides: xineramaproto-devel = %{version} +Obsoletes: xineramaproto-devel <= 1.2.1 +Obsoletes: xorg-x11-proto-devel < %{version} +Provides: xorg-x11-proto-devel = %{version} +Obsoletes: xproto-devel <= 7.0.32 +Provides: xproto-devel = %{version} +Obsoletes: xproxymngproto-devel <= 1.0.3 +Provides: xproxymngproto-devel = %{version} + +%description devel +The complete X11 protocol headers for X11 development. +This package contains all previously split protocol packages: +applewmproto, bigreqsproto, compositeproto, damageproto, dmxproto, dri2proto, +dri3proto, fixesproto, fontsproto, glproto, inputproto, kbproto, presentproto, +randrproto, recordproto, renderproto, resourceproto, scrnsaverproto, trapproto, +videoproto, windowswmproto, xcmiscproto, xextproto, xf86bigfontproto, +xf86dgaproto, xf86driproto, xf86miscproto, xf86vidmodeproto, xineramaproto, +xproto and xproxymngproto. + +%prep +%setup -q -n %{srcname}-%{version} + +%build +%if (0%{?suse_version} < 1550) +%configure --enable-legacy +%else +%configure +%endif +%make_build + +%install +%make_install +%if (0%{?suse_version} < 1550) +%endif +%fdupes '%{buildroot}%{_datadir}' + +%if "%{flavor}" == "doc" +%files +%doc %{_datadir}/doc/* +%{nil } +%exclude %{_datadir}/doc/*/*.{pdf,xml,ps,db} +%exclude %{_includedir} +%exclude %{_datarootdir}/pkgconfig +%else + +%files devel +%license COPYING-* +%exclude %{_datadir}/doc +%dir %{_includedir}/GL +%{_includedir}/GL/*.h +%{_includedir}/GL/internal +%{_includedir}/X11/{dri,extensions,fonts} +%{_includedir}/X11/*.h +%{_datarootdir}/pkgconfig/*.pc +# we seriously don't want to package that again ... +%exclude %{_mandir}/man7/Xprint.7 +%endif + +%changelog