diff --git a/Add-documentation-for-XFixes-v6.patch b/Add-documentation-for-XFixes-v6.patch deleted file mode 100644 index dfbba69f4ac7517a408ab3c1fcdefbf44612c3ed..0000000000000000000000000000000000000000 --- a/Add-documentation-for-XFixes-v6.patch +++ /dev/null @@ -1,62 +0,0 @@ -From 0d440c579b0f364bd655d97d1976d4eeddecf488 Mon Sep 17 00:00:00 2001 -From: Demi Marie Obenour -Date: Fri, 23 Jul 2021 14:02:12 -0400 -Subject: [PATCH] Add documentation for XFixes v6 - -This was previously added but was not documented. - -Signed-off-by: Demi Marie Obenour ---- - src/xfixes.xml | 25 ++++++++++++++++++++++++- - 1 file changed, 24 insertions(+), 1 deletion(-) - -diff --git a/src/xfixes.xml b/src/xfixes.xml -index a01cd7b..442bc02 100644 ---- a/src/xfixes.xml -+++ b/src/xfixes.xml -@@ -365,10 +365,28 @@ authorization from the authors. - - 0 - 0 -+ -+ -+ -+ - - - - -+ -+ Sets the disconnect mode for the client. -+ -+ - - - -@@ -376,7 +394,12 @@ authorization from the authors. - - - -+ -+ Gets the disconnect mode for the client. -+ -+ - - -- - --- -2.40.0.windows.1 - diff --git a/Document-BIG-REQUESTS.patch b/Document-BIG-REQUESTS.patch deleted file mode 100644 index 9e301fcf607e4a6aac141060ddc8b0f509171a25..0000000000000000000000000000000000000000 --- a/Document-BIG-REQUESTS.patch +++ /dev/null @@ -1,38 +0,0 @@ -From bf228d330ed0be8bfb5d9055febabf81b785b8fa Mon Sep 17 00:00:00 2001 -From: Demi Marie Obenour -Date: Sun, 21 Aug 2022 10:26:47 -0400 -Subject: [PATCH] Document BIG-REQUESTS - -Signed-off-by: Demi Marie Obenour ---- - src/bigreq.xml | 14 ++++++++++++++ - 1 file changed, 14 insertions(+) - -diff --git a/src/bigreq.xml b/src/bigreq.xml -index 3cca2f7..ddd1e21 100644 ---- a/src/bigreq.xml -+++ b/src/bigreq.xml -@@ -33,6 +33,20 @@ authorization from the authors. - - - -+ -+ -+The maximum length of requests supported by the server, in 4-byte units. -+ -+ - -+ -+ Enable the BIG-REQUESTS extension -+ -+This enables the BIG-REQUESTS extension, which allows for requests larger than -+262140 bytes in length. When enabled, if the 16-bit length field is zero, it -+is immediately followed by a 32-bit length field specifying the length of the -+request in 4-byte units. -+ -+ - - --- -2.36.0.windows.1 - diff --git a/backport-0001-Document-the-MIT-SHM-extension.patch b/backport-0001-Document-the-MIT-SHM-extension.patch deleted file mode 100644 index e273de9aa1d81c1ed2a06f2aa1de641ad4b1de20..0000000000000000000000000000000000000000 --- a/backport-0001-Document-the-MIT-SHM-extension.patch +++ /dev/null @@ -1,295 +0,0 @@ -From 0fc6197034c49d9fdf5607cae201f1ac3270e7de Mon Sep 17 00:00:00 2001 -From: Demi Marie Obenour -Date: Sun, 3 Jul 2022 18:01:40 -0400 -Subject: [PATCH] Document the MIT-SHM extension - -This adds documentation for the entire MIT-SHM extension. - -Signed-off-by: Demi Marie Obenour ---- - src/shm.xml | 214 ++++++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 214 insertions(+) - -diff --git a/src/shm.xml b/src/shm.xml -index c2605da..41fb1c1 100644 ---- a/src/shm.xml -+++ b/src/shm.xml -@@ -39,6 +39,29 @@ authorization from the authors. - - - -+ -+ Report that an XCB_SHM_PUT_IMAGE request has completed -+ -+ -+ -+ -+ -+ -+ - - - -@@ -52,7 +75,39 @@ authorization from the authors. - - - -+ -+ The version of the MIT-SHM extension supported by the server -+ -+ -+ -+ -+ The UID of the server. -+ The GID of the server. -+ - -+ -+ Query the version of the MIT-SHM extension. -+ -+ - - - -@@ -60,10 +115,36 @@ authorization from the authors. - - - -+ -+ Attach a System V shared memory segment. -+ -+ -+ -+ -+ - - - - -+ -+ Destroys the specified shared memory segment. -+ -+ The segment to be destroyed. -+ - - - -@@ -83,6 +164,49 @@ authorization from the authors. - - - -+ -+ Copy data from the shared memory to the specified drawable. -+ -+ The drawable to draw to. -+ The graphics context to use. -+ The total width of the source image. -+ The total height of the source image. -+ The source X coordinate of the sub-image to copy. -+ The source Y coordinate of the sub-image to copy. -+ -+ -+ -+ -+ The depth to use. -+ -+ -+ The offset that the source image starts at. -+ - - - -@@ -100,7 +224,33 @@ authorization from the authors. - - - -+ -+ Indicates the result of the copy. -+ -+ The depth of the source drawable. -+ The visual ID of the source drawable. -+ The number of bytes copied. -+ - -+ -+ Copies data from the specified drawable to the shared memory segment. -+ -+ The drawable to copy the image out of. -+ The X coordinate in the drawable to begin copying at. -+ The Y coordinate in the drawable to begin copying at. -+ The width of the image to copy. -+ The height of the image to copy. -+ A mask that determines which planes are used. -+ The format to use for the copy (???). -+ The destination shared memory segment. -+ The offset in the shared memory segment to copy data to. -+ - - - -@@ -112,6 +262,31 @@ authorization from the authors. - - - -+ -+ Create a pixmap backed by shared memory. -+ -+Create a pixmap backed by shared memory. Writes to the shared memory will be -+reflected in the contents of the pixmap, and writes to the pixmap will be -+reflected in the contents of the shared memory. -+ -+ A pixmap ID created with xcb_generate_id(). -+ The drawable to create the pixmap in. -+ -+ -+ -+ -+ -+ - - - -@@ -119,6 +294,21 @@ authorization from the authors. - - - -+ -+ Create a shared memory segment -+ -+ -+ The file descriptor the server should mmap(). -+ -+ - - - -@@ -130,6 +320,30 @@ authorization from the authors. - - - -+ -+ The returned file descriptor. -+ -+ -+ - -+ -+ Asks the server to allocate a shared memory segment. -+ -+ -+ The size of the segment to create. -+ -+ - - --- -2.39.0.windows.2 - diff --git a/xcb-proto-1.15.2.tar.gz b/xcb-proto-1.15.2.tar.gz deleted file mode 100644 index fdb201bd0f695aa8791102fc84209ee7c5f5cffd..0000000000000000000000000000000000000000 Binary files a/xcb-proto-1.15.2.tar.gz and /dev/null differ diff --git a/xcb-proto-1.16.0.tar.xz b/xcb-proto-1.16.0.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..495998343c97f40f7ecdcdec1c0fbc193e55abbb Binary files /dev/null and b/xcb-proto-1.16.0.tar.xz differ diff --git a/xcb-proto.spec b/xcb-proto.spec index 360cb2038500dc85510a8cde671287152e77781f..4f5d579c8c88299c8d1572a5d7fcf847323f5be9 100644 --- a/xcb-proto.spec +++ b/xcb-proto.spec @@ -1,21 +1,16 @@ %define debug_package %{nil} Name: xcb-proto -Version: 1.15.2 -Release: 3 +Version: 1.16.0 +Release: 1 Summary: XCB protocol descriptions License: MIT -URL: https://gitlab.freedesktop.org/xorg/proto/xcbproto/ -Source0: https://xcb.freedesktop.org/dist/%{name}-%{version}.tar.gz +URL: https://xcb.freedesktop.org +Source0: https://www.x.org/releases/individual/proto/%{name}-%{version}.tar.xz BuildArch: noarch - BuildRequires: python3-devel Requires: pkgconfig -Patch0001: backport-0001-Document-the-MIT-SHM-extension.patch -Patch0002: Add-documentation-for-XFixes-v6.patch -Patch0003: Document-BIG-REQUESTS.patch - %description The X protocol C-language Binding (XCB) is a replacement for Xlib featuring a small footprint, latency hiding, direct access @@ -25,14 +20,15 @@ to the protocol, improved threading support, and extensibility. %autosetup -n %{name}-%{version} -p1 %build -%configure --libdir=%{_datadir} +%configure %make_build %install %make_install %files -%doc COPYING NEWS README.md TODO doc/xml-xcb.txt +%license COPYING +%doc NEWS README.md TODO doc/xml-xcb.txt %{_datadir}/pkgconfig/xcb-proto.pc %dir %{_datadir}/xcb/ %{_datadir}/xcb/*.xsd @@ -40,6 +36,9 @@ to the protocol, improved threading support, and extensibility. %{python3_sitelib}/xcbgen %changelog +* Sun Aug 20 2023 Funda Wang - 1.16.0-1 +- update to 1.16.0 + * Sat Jul 15 2023 yaozile - 1.15.2-3 - Add-documentation-for-XFixes-v6.patch