From 60c94ab753279d611494c05c64e501eb5f90408d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 15:38:40 +0000 Subject: [PATCH 01/27] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libX11.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libX11.spec b/libX11.spec index 444e05c..7b6a9cc 100644 --- a/libX11.spec +++ b/libX11.spec @@ -5,7 +5,7 @@ Summary: Core X11 protocol client library Name: libX11 Version: 1.7.3.1 -Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} +Release: 2%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} License: MIT URL: http://www.x.org @@ -122,6 +122,9 @@ make %{?_smp_mflags} check %{_mandir}/man5/*.5* %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 1.7.3.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Dec 10 2021 Peter Hutterer - 1.7.3.1-1 - libX11 1.7.3.1 From 0bcce1c2a9974d91c6e58235fdd35a163d6837a1 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 31 Mar 2022 16:04:17 +1000 Subject: [PATCH 02/27] libX11 1.7.4 --- libX11.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/libX11.spec b/libX11.spec index 7b6a9cc..1dce845 100644 --- a/libX11.spec +++ b/libX11.spec @@ -4,8 +4,8 @@ Summary: Core X11 protocol client library Name: libX11 -Version: 1.7.3.1 -Release: 2%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} +Version: 1.7.4 +Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} License: MIT URL: http://www.x.org @@ -122,6 +122,9 @@ make %{?_smp_mflags} check %{_mandir}/man5/*.5* %changelog +* Thu Mar 31 2022 Peter Hutterer - 1.7.4-1git} +- libX11 1.7.4 + * Thu Jan 20 2022 Fedora Release Engineering - 1.7.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/sources b/sources index a167384..e8be9f3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libX11-1.7.3.1.tar.xz) = a2620076db4bf35ab94706c8ab714e9c3fecbdd533cf99cdffeabaf49a1a1d30a233eb2dc76da51b01d50c43f11780aa3b2936668d982a33fa7d5008be44e25b +SHA512 (libX11-1.7.4.tar.xz) = 8bfaaf9fc3081c47152d533d30cdc0b2521bfeb088ff813b041c08ffd518c80ba3725bb68cac7c21b521a4bace546f99424700fe21955b498015d14c2f7f9a57 From d79c92ccd589697effea633344da4df8bb5549eb Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 4 Apr 2022 08:01:23 +1000 Subject: [PATCH 03/27] libX11 1.7.5 --- libX11.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/libX11.spec b/libX11.spec index 1dce845..0e3217d 100644 --- a/libX11.spec +++ b/libX11.spec @@ -4,7 +4,7 @@ Summary: Core X11 protocol client library Name: libX11 -Version: 1.7.4 +Version: 1.7.5 Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} License: MIT URL: http://www.x.org @@ -122,7 +122,10 @@ make %{?_smp_mflags} check %{_mandir}/man5/*.5* %changelog -* Thu Mar 31 2022 Peter Hutterer - 1.7.4-1git} +* Mon Apr 04 2022 Peter Hutterer - 1.7.5-1 +- libX11 1.7.5 + +* Thu Mar 31 2022 Peter Hutterer - 1.7.4-1 - libX11 1.7.4 * Thu Jan 20 2022 Fedora Release Engineering - 1.7.3.1-2 diff --git a/sources b/sources index e8be9f3..c72852e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libX11-1.7.4.tar.xz) = 8bfaaf9fc3081c47152d533d30cdc0b2521bfeb088ff813b041c08ffd518c80ba3725bb68cac7c21b521a4bace546f99424700fe21955b498015d14c2f7f9a57 +SHA512 (libX11-1.7.5.tar.xz) = ef33e2f631226cab27657f46e1fd4cfc928f62f928d8297474e7b993017c8f92b60272eed6515990cdf3a9d34581837b7a3896e584f3546dd26f3790034df347 From 27bbc8d1541d98beb9e794b4874b12b6a517f3b5 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 16 Jun 2022 10:45:35 +1000 Subject: [PATCH 04/27] libX11 1.8.1 --- libX11.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/libX11.spec b/libX11.spec index 0e3217d..b5d158d 100644 --- a/libX11.spec +++ b/libX11.spec @@ -4,7 +4,7 @@ Summary: Core X11 protocol client library Name: libX11 -Version: 1.7.5 +Version: 1.8.1 Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} License: MIT URL: http://www.x.org @@ -122,6 +122,9 @@ make %{?_smp_mflags} check %{_mandir}/man5/*.5* %changelog +* Thu Jun 16 2022 Peter Hutterer - 1.8.1-1 +- libX11 1.8.1 + * Mon Apr 04 2022 Peter Hutterer - 1.7.5-1 - libX11 1.7.5 diff --git a/sources b/sources index c72852e..99306a8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libX11-1.7.5.tar.xz) = ef33e2f631226cab27657f46e1fd4cfc928f62f928d8297474e7b993017c8f92b60272eed6515990cdf3a9d34581837b7a3896e584f3546dd26f3790034df347 +SHA512 (libX11-1.8.1.tar.xz) = 2e36d2c47519e0cb2697f588c0ccdf73fbe75c2163f0855c78f7052dc9e920bca081f9d5e39c707a14067f101faef74fc758c8862eeba675b1535b43119d533a From 6497742fabab95ce8b7897204c0f119e22b6b321 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 21 Jul 2022 17:11:24 +0000 Subject: [PATCH 05/27] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libX11.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libX11.spec b/libX11.spec index b5d158d..c1b3682 100644 --- a/libX11.spec +++ b/libX11.spec @@ -5,7 +5,7 @@ Summary: Core X11 protocol client library Name: libX11 Version: 1.8.1 -Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} +Release: 2%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} License: MIT URL: http://www.x.org @@ -122,6 +122,9 @@ make %{?_smp_mflags} check %{_mandir}/man5/*.5* %changelog +* Thu Jul 21 2022 Fedora Release Engineering - 1.8.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Thu Jun 16 2022 Peter Hutterer - 1.8.1-1 - libX11 1.8.1 From 732d5381a60d59f8de04bf75939b78c39d41d9df Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 6 Jan 2023 13:47:10 +1000 Subject: [PATCH 06/27] libX11 1.8.3 --- libX11.spec | 9 ++++++--- sources | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/libX11.spec b/libX11.spec index c1b3682..938c000 100644 --- a/libX11.spec +++ b/libX11.spec @@ -4,8 +4,8 @@ Summary: Core X11 protocol client library Name: libX11 -Version: 1.8.1 -Release: 2%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} +Version: 1.8.3 +Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} License: MIT URL: http://www.x.org @@ -94,7 +94,7 @@ make %{?_smp_mflags} check %{_libdir}/libX11-xcb.so.1.0.0 %files common -%doc AUTHORS COPYING README.md NEWS +%doc AUTHORS COPYING README.md %{_datadir}/X11/locale/ %{_datadir}/X11/XErrorDB %dir /var/cache/libX11 @@ -122,6 +122,9 @@ make %{?_smp_mflags} check %{_mandir}/man5/*.5* %changelog +* Fri Jan 06 2023 Peter Hutterer - 1.8.3-1 +- libX11 1.8.3 + * Thu Jul 21 2022 Fedora Release Engineering - 1.8.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/sources b/sources index 99306a8..a5cb762 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libX11-1.8.1.tar.xz) = 2e36d2c47519e0cb2697f588c0ccdf73fbe75c2163f0855c78f7052dc9e920bca081f9d5e39c707a14067f101faef74fc758c8862eeba675b1535b43119d533a +SHA512 (libX11-1.8.3.tar.xz) = bc862338fed855986659e9ffa641db6b36c3ac9abced590d1b164e3cc24446671936e3688cdca18393129c4ea41777977eeb37e87d8edc14d6cc5d194a9c0325 From 349f1f152d9a1537c34d6aedcdb93e11d5dc45c2 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 16 Jan 2023 14:05:37 +1000 Subject: [PATCH 07/27] Fix XPutBackEvent() issues (#2161020) --- ...utBackEvent-to-support-clients-that-.patch | 57 +++++++++++++++++++ libX11.spec | 6 +- 2 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 0001-Revert-Update-XPutBackEvent-to-support-clients-that-.patch diff --git a/0001-Revert-Update-XPutBackEvent-to-support-clients-that-.patch b/0001-Revert-Update-XPutBackEvent-to-support-clients-that-.patch new file mode 100644 index 0000000..6f7e6b4 --- /dev/null +++ b/0001-Revert-Update-XPutBackEvent-to-support-clients-that-.patch @@ -0,0 +1,57 @@ +From 88399e01be679bfcc9a5e8922ffe2c47f0e56dee Mon Sep 17 00:00:00 2001 +From: Yuxuan Shui +Date: Tue, 3 Jan 2023 15:09:28 +0000 +Subject: [PATCH libX11] Revert "Update XPutBackEvent() to support clients that + put back unpadded events" + +This reverts commit d6d6cba90215d323567fef13d6565756c9956f60. + +The reverted commit intended to fix the problem where an unpadded X +event struct is passed into XPutBackEvent, by creating a padded struct +with _XEventToWire and _XWireToEvent. However, _XWireToEvent updates the +last sequence number in Display, which may cause xlib to complain about +lost sequence numbers. + +IMO, the problem that commit tried to solve is a bug in the client +library, and workaround it inside Xlib is bad practice, especially given +the problem it caused. Plus, the offender cited in the original commit +message, freeglut, has already fixed this problem. + +Fixes: #176 #174 + +Signed-off-by: Yuxuan Shui +--- + src/PutBEvent.c | 15 +-------------- + 1 file changed, 1 insertion(+), 14 deletions(-) + +diff --git a/src/PutBEvent.c b/src/PutBEvent.c +index f7b74b31..0f9df342 100644 +--- a/src/PutBEvent.c ++++ b/src/PutBEvent.c +@@ -79,22 +79,9 @@ XPutBackEvent ( + register XEvent *event) + { + int ret; +- xEvent wire = {0}; +- XEvent lib = {0}; +- Status (*fp)(Display *, XEvent *, xEvent *); +- int type = event->type & 0177; + + LockDisplay(dpy); +- fp = dpy->wire_vec[type]; +- if (fp == NULL) +- fp = _XEventToWire; +- ret = (*fp)(dpy, event, &wire); +- if (ret) +- { +- ret = (*dpy->event_vec[type])(dpy, &lib, &wire); +- if (ret) +- ret = _XPutBackEvent(dpy, &lib); +- } ++ ret = _XPutBackEvent(dpy, event); + UnlockDisplay(dpy); + return ret; + } +-- +2.39.0 + diff --git a/libX11.spec b/libX11.spec index 938c000..c1feb25 100644 --- a/libX11.spec +++ b/libX11.spec @@ -5,7 +5,7 @@ Summary: Core X11 protocol client library Name: libX11 Version: 1.8.3 -Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} +Release: 2%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} License: MIT URL: http://www.x.org @@ -19,6 +19,7 @@ Source0: https://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}. Patch2: dont-forward-keycode-0.patch +Patch3: 0001-Revert-Update-XPutBackEvent-to-support-clients-that-.patch BuildRequires: make BuildRequires: xorg-x11-util-macros >= 1.11 @@ -122,6 +123,9 @@ make %{?_smp_mflags} check %{_mandir}/man5/*.5* %changelog +* Mon Jan 16 2023 Peter Hutterer - 1.8.3-2 +- Fix XPutBackEvent() issues (#2161020) + * Fri Jan 06 2023 Peter Hutterer - 1.8.3-1 - libX11 1.8.3 From be08b7d80c051dab4f457245a8bb9294348739af Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 19 Jan 2023 15:42:23 +0000 Subject: [PATCH 08/27] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libX11.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libX11.spec b/libX11.spec index c1feb25..d03a265 100644 --- a/libX11.spec +++ b/libX11.spec @@ -5,7 +5,7 @@ Summary: Core X11 protocol client library Name: libX11 Version: 1.8.3 -Release: 2%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} +Release: 3%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} License: MIT URL: http://www.x.org @@ -123,6 +123,9 @@ make %{?_smp_mflags} check %{_mandir}/man5/*.5* %changelog +* Thu Jan 19 2023 Fedora Release Engineering - 1.8.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Mon Jan 16 2023 Peter Hutterer - 1.8.3-2 - Fix XPutBackEvent() issues (#2161020) From b8a5ff8123e978060e51c817a98d3bdabb5c315e Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 8 Feb 2023 10:43:10 +1000 Subject: [PATCH 09/27] libX11 1.8.4 --- ...utBackEvent-to-support-clients-that-.patch | 57 ------------------- libX11.spec | 8 ++- sources | 2 +- 3 files changed, 6 insertions(+), 61 deletions(-) delete mode 100644 0001-Revert-Update-XPutBackEvent-to-support-clients-that-.patch diff --git a/0001-Revert-Update-XPutBackEvent-to-support-clients-that-.patch b/0001-Revert-Update-XPutBackEvent-to-support-clients-that-.patch deleted file mode 100644 index 6f7e6b4..0000000 --- a/0001-Revert-Update-XPutBackEvent-to-support-clients-that-.patch +++ /dev/null @@ -1,57 +0,0 @@ -From 88399e01be679bfcc9a5e8922ffe2c47f0e56dee Mon Sep 17 00:00:00 2001 -From: Yuxuan Shui -Date: Tue, 3 Jan 2023 15:09:28 +0000 -Subject: [PATCH libX11] Revert "Update XPutBackEvent() to support clients that - put back unpadded events" - -This reverts commit d6d6cba90215d323567fef13d6565756c9956f60. - -The reverted commit intended to fix the problem where an unpadded X -event struct is passed into XPutBackEvent, by creating a padded struct -with _XEventToWire and _XWireToEvent. However, _XWireToEvent updates the -last sequence number in Display, which may cause xlib to complain about -lost sequence numbers. - -IMO, the problem that commit tried to solve is a bug in the client -library, and workaround it inside Xlib is bad practice, especially given -the problem it caused. Plus, the offender cited in the original commit -message, freeglut, has already fixed this problem. - -Fixes: #176 #174 - -Signed-off-by: Yuxuan Shui ---- - src/PutBEvent.c | 15 +-------------- - 1 file changed, 1 insertion(+), 14 deletions(-) - -diff --git a/src/PutBEvent.c b/src/PutBEvent.c -index f7b74b31..0f9df342 100644 ---- a/src/PutBEvent.c -+++ b/src/PutBEvent.c -@@ -79,22 +79,9 @@ XPutBackEvent ( - register XEvent *event) - { - int ret; -- xEvent wire = {0}; -- XEvent lib = {0}; -- Status (*fp)(Display *, XEvent *, xEvent *); -- int type = event->type & 0177; - - LockDisplay(dpy); -- fp = dpy->wire_vec[type]; -- if (fp == NULL) -- fp = _XEventToWire; -- ret = (*fp)(dpy, event, &wire); -- if (ret) -- { -- ret = (*dpy->event_vec[type])(dpy, &lib, &wire); -- if (ret) -- ret = _XPutBackEvent(dpy, &lib); -- } -+ ret = _XPutBackEvent(dpy, event); - UnlockDisplay(dpy); - return ret; - } --- -2.39.0 - diff --git a/libX11.spec b/libX11.spec index d03a265..748ce88 100644 --- a/libX11.spec +++ b/libX11.spec @@ -4,8 +4,8 @@ Summary: Core X11 protocol client library Name: libX11 -Version: 1.8.3 -Release: 3%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} +Version: 1.8.4 +Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} License: MIT URL: http://www.x.org @@ -19,7 +19,6 @@ Source0: https://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}. Patch2: dont-forward-keycode-0.patch -Patch3: 0001-Revert-Update-XPutBackEvent-to-support-clients-that-.patch BuildRequires: make BuildRequires: xorg-x11-util-macros >= 1.11 @@ -123,6 +122,9 @@ make %{?_smp_mflags} check %{_mandir}/man5/*.5* %changelog +* Wed Feb 08 2023 Peter Hutterer - 1.8.4-1 +- libX11 1.8.4 + * Thu Jan 19 2023 Fedora Release Engineering - 1.8.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild diff --git a/sources b/sources index a5cb762..5bc0f1d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libX11-1.8.3.tar.xz) = bc862338fed855986659e9ffa641db6b36c3ac9abced590d1b164e3cc24446671936e3688cdca18393129c4ea41777977eeb37e87d8edc14d6cc5d194a9c0325 +SHA512 (libX11-1.8.4.tar.xz) = 3150a47498b0cb012482ee02efeaae16d9e736288f2b3f917be912e1613d56ad6b4ab180de8820305deb2b95dfd993633f43a65344d75979d6b86bdf110cb63e From 7c1b3b7fa71538fd86722561ff70d5fc13869bae Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 5 Jun 2023 14:56:12 +1000 Subject: [PATCH 10/27] libX11 1.8.5 --- libX11.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/libX11.spec b/libX11.spec index 748ce88..746e4d6 100644 --- a/libX11.spec +++ b/libX11.spec @@ -4,7 +4,7 @@ Summary: Core X11 protocol client library Name: libX11 -Version: 1.8.4 +Version: 1.8.5 Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} License: MIT URL: http://www.x.org @@ -122,6 +122,9 @@ make %{?_smp_mflags} check %{_mandir}/man5/*.5* %changelog +* Mon Jun 05 2023 Peter Hutterer 1.8.5-1 +- libX11 1.8.5 + * Wed Feb 08 2023 Peter Hutterer - 1.8.4-1 - libX11 1.8.4 diff --git a/sources b/sources index 5bc0f1d..66a1cba 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libX11-1.8.4.tar.xz) = 3150a47498b0cb012482ee02efeaae16d9e736288f2b3f917be912e1613d56ad6b4ab180de8820305deb2b95dfd993633f43a65344d75979d6b86bdf110cb63e +SHA512 (libX11-1.8.5.tar.xz) = 5274f6073ead119c8f915d302f1e2bf9579f88d28a2a2d084a4be2050b14fb605efe91099c89ba55aeb7ad36ae0ecbd519b0808be0e29f56367d5dd8faa063d3 From 71eeae2909638dd22fa8849d194f5c0c37e2474a Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 16 Jun 2023 13:47:23 +1000 Subject: [PATCH 11/27] libX11 1.8.6 (CVE-2023-3138) --- libX11.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/libX11.spec b/libX11.spec index 746e4d6..171a1a4 100644 --- a/libX11.spec +++ b/libX11.spec @@ -4,7 +4,7 @@ Summary: Core X11 protocol client library Name: libX11 -Version: 1.8.5 +Version: 1.8.6 Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} License: MIT URL: http://www.x.org @@ -122,6 +122,9 @@ make %{?_smp_mflags} check %{_mandir}/man5/*.5* %changelog +* Fri Jun 16 2023 Peter Hutterer - 1.8.6-1 +- libX11 1.8.6 (CVE-2023-3138) + * Mon Jun 05 2023 Peter Hutterer 1.8.5-1 - libX11 1.8.5 diff --git a/sources b/sources index 66a1cba..ecfd2f3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libX11-1.8.5.tar.xz) = 5274f6073ead119c8f915d302f1e2bf9579f88d28a2a2d084a4be2050b14fb605efe91099c89ba55aeb7ad36ae0ecbd519b0808be0e29f56367d5dd8faa063d3 +SHA512 (libX11-1.8.6.tar.xz) = b94a578003078a42cea43d80fae2c54a3aaa30f706088bb3546331e9abfc180131cafb37887117abcc5b6116992e299974981eef96ecfcf883cc8a1aba4d1ade From 4b4f0c04823a15c04418da2587aed4d7df8ff9d3 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Mon, 26 Jun 2023 19:49:28 -0400 Subject: [PATCH 12/27] Add libtool build dependency xorg-x11-util-macros 1.20.0 dropped its dependency on libtool. --- libX11.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/libX11.spec b/libX11.spec index 171a1a4..0e34913 100644 --- a/libX11.spec +++ b/libX11.spec @@ -20,6 +20,7 @@ Source0: https://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}. Patch2: dont-forward-keycode-0.patch +BuildRequires: libtool BuildRequires: make BuildRequires: xorg-x11-util-macros >= 1.11 BuildRequires: pkgconfig(xproto) >= 7.0.15 From ee034020e6faa31abf00bac16cf5c616536b3728 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jul 2023 10:08:51 +0000 Subject: [PATCH 13/27] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libX11.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libX11.spec b/libX11.spec index 0e34913..a8def84 100644 --- a/libX11.spec +++ b/libX11.spec @@ -5,7 +5,7 @@ Summary: Core X11 protocol client library Name: libX11 Version: 1.8.6 -Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} +Release: 2%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} License: MIT URL: http://www.x.org @@ -123,6 +123,9 @@ make %{?_smp_mflags} check %{_mandir}/man5/*.5* %changelog +* Thu Jul 20 2023 Fedora Release Engineering - 1.8.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Fri Jun 16 2023 Peter Hutterer - 1.8.6-1 - libX11 1.8.6 (CVE-2023-3138) From 58cd00a3e91c284b528b0b3c018bf73cd6d6f872 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Exp=C3=B3sito?= Date: Thu, 7 Sep 2023 12:47:45 +0200 Subject: [PATCH 14/27] SPDX Migration --- libX11.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libX11.spec b/libX11.spec index a8def84..d5bd032 100644 --- a/libX11.spec +++ b/libX11.spec @@ -5,8 +5,8 @@ Summary: Core X11 protocol client library Name: libX11 Version: 1.8.6 -Release: 2%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} -License: MIT +Release: 3%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} +License: MIT AND X11 URL: http://www.x.org %if 0%{?gitdate} @@ -123,6 +123,9 @@ make %{?_smp_mflags} check %{_mandir}/man5/*.5* %changelog +* Thu Sep 07 2023 José Expósito - 1.8.6-3 +- SPDX Migration + * Thu Jul 20 2023 Fedora Release Engineering - 1.8.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From 6ccab29fcdfc16a67bb4c76c2d4b995ea03309f0 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 4 Oct 2023 09:36:38 +1000 Subject: [PATCH 15/27] libX11 1.8.7 --- libX11.spec | 14 ++++++++++++-- sources | 2 +- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/libX11.spec b/libX11.spec index d5bd032..f87341d 100644 --- a/libX11.spec +++ b/libX11.spec @@ -4,8 +4,8 @@ Summary: Core X11 protocol client library Name: libX11 -Version: 1.8.6 -Release: 3%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} +Version: 1.8.7 +Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} License: MIT AND X11 URL: http://www.x.org @@ -123,6 +123,16 @@ make %{?_smp_mflags} check %{_mandir}/man5/*.5* %changelog +* Wed Oct 04 2023 Peter Hutterer - 1.8.7-1 +- libX11 1.8.7 + - CVE-2023-43785 libX11: out-of-bounds memory access in _XkbReadKeySyms() + - CVE-2023-43786 libX11: stack exhaustion from infinite recursion in + PutSubImage() + - CVE-2023-43787 libX11: integer overflow in XCreateImage() leading to + a heap overflow + - CVE-2023-43788 libXpm: out of bounds read in XpmCreateXpmImageFromBuffer() + - CVE-2023-43789 libXpm: out of bounds read on XPM with corrupted colormap + * Thu Sep 07 2023 José Expósito - 1.8.6-3 - SPDX Migration diff --git a/sources b/sources index ecfd2f3..61762f8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libX11-1.8.6.tar.xz) = b94a578003078a42cea43d80fae2c54a3aaa30f706088bb3546331e9abfc180131cafb37887117abcc5b6116992e299974981eef96ecfcf883cc8a1aba4d1ade +SHA512 (libX11-1.8.7.tar.xz) = d53bfc18f38d339a6a695b09835b2ae96b323881678bfe7ddca697605e3bdf4102ff49cc3078880a6c55b5977fcdd0aadaf5429086132de3a5bda302f79a2fa6 From bbba8902620d624d9d1e08b3058724f617809e09 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 21 Jan 2024 03:27:47 +0000 Subject: [PATCH 16/27] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- libX11.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libX11.spec b/libX11.spec index f87341d..31a84d7 100644 --- a/libX11.spec +++ b/libX11.spec @@ -5,7 +5,7 @@ Summary: Core X11 protocol client library Name: libX11 Version: 1.8.7 -Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} +Release: 2%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} License: MIT AND X11 URL: http://www.x.org @@ -123,6 +123,9 @@ make %{?_smp_mflags} check %{_mandir}/man5/*.5* %changelog +* Sun Jan 21 2024 Fedora Release Engineering - 1.8.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Wed Oct 04 2023 Peter Hutterer - 1.8.7-1 - libX11 1.8.7 - CVE-2023-43785 libX11: out-of-bounds memory access in _XkbReadKeySyms() From fa7172b7ab45841e9290bd170c86e3454f995632 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jan 2024 01:25:20 +0000 Subject: [PATCH 17/27] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- libX11.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libX11.spec b/libX11.spec index 31a84d7..8f99a0c 100644 --- a/libX11.spec +++ b/libX11.spec @@ -5,7 +5,7 @@ Summary: Core X11 protocol client library Name: libX11 Version: 1.8.7 -Release: 2%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} +Release: 3%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} License: MIT AND X11 URL: http://www.x.org @@ -123,6 +123,9 @@ make %{?_smp_mflags} check %{_mandir}/man5/*.5* %changelog +* Thu Jan 25 2024 Fedora Release Engineering - 1.8.7-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sun Jan 21 2024 Fedora Release Engineering - 1.8.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 230bce885e77121a7be055636821dadd656b3f75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Exp=C3=B3sito?= Date: Mon, 1 Apr 2024 16:20:53 +0200 Subject: [PATCH 18/27] libX11 1.8.8 Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2271340 --- dont-forward-keycode-0.patch | 12 ++++++------ libX11.spec | 7 +++++-- sources | 2 +- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/dont-forward-keycode-0.patch b/dont-forward-keycode-0.patch index c16d874..09eddf8 100644 --- a/dont-forward-keycode-0.patch +++ b/dont-forward-keycode-0.patch @@ -5,10 +5,10 @@ diff -up libX11-1.6.3/modules/im/ximcp/imDefFlt.c.jx libX11-1.6.3/modules/im/xim { Xim im = (Xim)ic->core.im; -- if (IS_FABRICATED(im)) { -+ if ((ev->keycode == 0) || IS_FABRICATED(im)) { +- if (_XimIsFabricatedSerial(im, ev->serial)) { ++ if ((ev->keycode == 0) || _XimIsFabricatedSerial(im, ev->serial)) { _XimPendingFilter(ic); - UNMARK_FABRICATED(im); + _XimUnfabricateSerial(im, ev->serial); return NOTFILTERD; diff -up libX11-1.6.3/modules/im/ximcp/imDefLkup.c.jx libX11-1.6.3/modules/im/ximcp/imDefLkup.c --- libX11-1.6.3/modules/im/ximcp/imDefLkup.c.jx 2015-03-09 18:28:45.000000000 -0400 @@ -31,9 +31,9 @@ diff -up libX11-1.6.3/modules/im/ximcp/imDefLkup.c.jx libX11-1.6.3/modules/im/xi #ifdef EXT_FORWARD if (((ev->type == KeyPress) || (ev->type == KeyRelease))) if (_XimExtForwardKeyEvent(ic, (XKeyEvent *)ev, sync)) -@@ -604,6 +615,19 @@ _XimUnregCommitInfo( - Xfree(info->keysym); - ic->private.proto.commit_info = info->next; +@@ -664,6 +664,19 @@ _XimUnregRealCommitInfo( + else + ic->private.proto.commit_info = info->next; Xfree(info); + + /* diff --git a/libX11.spec b/libX11.spec index 8f99a0c..1b2276b 100644 --- a/libX11.spec +++ b/libX11.spec @@ -4,8 +4,8 @@ Summary: Core X11 protocol client library Name: libX11 -Version: 1.8.7 -Release: 3%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} +Version: 1.8.8 +Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} License: MIT AND X11 URL: http://www.x.org @@ -123,6 +123,9 @@ make %{?_smp_mflags} check %{_mandir}/man5/*.5* %changelog +* Mon Apr 01 2024 José Expósito - 1.8.8-1 +- libX11 1.8.8 + * Thu Jan 25 2024 Fedora Release Engineering - 1.8.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild diff --git a/sources b/sources index 61762f8..0f1d705 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libX11-1.8.7.tar.xz) = d53bfc18f38d339a6a695b09835b2ae96b323881678bfe7ddca697605e3bdf4102ff49cc3078880a6c55b5977fcdd0aadaf5429086132de3a5bda302f79a2fa6 +SHA512 (libX11-1.8.8.tar.xz) = 4e7ce8f2d88b9475f960ea1d5730ece8953509e0c057cf2d0a2f5fa6a36e6577b0dcd7f16ac91b8fdd804aabec6d7e8f3067a3a8667bd2e41d72dd68ab70ef82 From 836e285c4ee1ae1cb08eee729e9c86b0c814b685 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Exp=C3=B3sito?= Date: Mon, 8 Apr 2024 09:53:58 +0200 Subject: [PATCH 19/27] libX11 1.8.9 Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2273744 --- dont-forward-keycode-0.patch | 12 ++++++------ libX11.spec | 5 ++++- sources | 2 +- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/dont-forward-keycode-0.patch b/dont-forward-keycode-0.patch index 09eddf8..c16d874 100644 --- a/dont-forward-keycode-0.patch +++ b/dont-forward-keycode-0.patch @@ -5,10 +5,10 @@ diff -up libX11-1.6.3/modules/im/ximcp/imDefFlt.c.jx libX11-1.6.3/modules/im/xim { Xim im = (Xim)ic->core.im; -- if (_XimIsFabricatedSerial(im, ev->serial)) { -+ if ((ev->keycode == 0) || _XimIsFabricatedSerial(im, ev->serial)) { +- if (IS_FABRICATED(im)) { ++ if ((ev->keycode == 0) || IS_FABRICATED(im)) { _XimPendingFilter(ic); - _XimUnfabricateSerial(im, ev->serial); + UNMARK_FABRICATED(im); return NOTFILTERD; diff -up libX11-1.6.3/modules/im/ximcp/imDefLkup.c.jx libX11-1.6.3/modules/im/ximcp/imDefLkup.c --- libX11-1.6.3/modules/im/ximcp/imDefLkup.c.jx 2015-03-09 18:28:45.000000000 -0400 @@ -31,9 +31,9 @@ diff -up libX11-1.6.3/modules/im/ximcp/imDefLkup.c.jx libX11-1.6.3/modules/im/xi #ifdef EXT_FORWARD if (((ev->type == KeyPress) || (ev->type == KeyRelease))) if (_XimExtForwardKeyEvent(ic, (XKeyEvent *)ev, sync)) -@@ -664,6 +664,19 @@ _XimUnregRealCommitInfo( - else - ic->private.proto.commit_info = info->next; +@@ -604,6 +615,19 @@ _XimUnregCommitInfo( + Xfree(info->keysym); + ic->private.proto.commit_info = info->next; Xfree(info); + + /* diff --git a/libX11.spec b/libX11.spec index 1b2276b..43554b3 100644 --- a/libX11.spec +++ b/libX11.spec @@ -4,7 +4,7 @@ Summary: Core X11 protocol client library Name: libX11 -Version: 1.8.8 +Version: 1.8.9 Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} License: MIT AND X11 URL: http://www.x.org @@ -123,6 +123,9 @@ make %{?_smp_mflags} check %{_mandir}/man5/*.5* %changelog +* Mon Apr 08 2024 José Expósito - 1.8.9-1 +- libX11 1.8.9 + * Mon Apr 01 2024 José Expósito - 1.8.8-1 - libX11 1.8.8 diff --git a/sources b/sources index 0f1d705..19b468c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libX11-1.8.8.tar.xz) = 4e7ce8f2d88b9475f960ea1d5730ece8953509e0c057cf2d0a2f5fa6a36e6577b0dcd7f16ac91b8fdd804aabec6d7e8f3067a3a8667bd2e41d72dd68ab70ef82 +SHA512 (libX11-1.8.9.tar.xz) = 737af91818537295ac86be601b1e3d7e37d150716ec549580913b7cc9a44fee7a6ce9dbc3d46167eed91f23fe857c4dd355ed8f8440fe5fbbf8e9ebe47091b96 From 439322776a01545158c2790b78fe03e883893b9a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 18 Jul 2024 13:12:20 +0000 Subject: [PATCH 20/27] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- libX11.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libX11.spec b/libX11.spec index 43554b3..a44a1ab 100644 --- a/libX11.spec +++ b/libX11.spec @@ -5,7 +5,7 @@ Summary: Core X11 protocol client library Name: libX11 Version: 1.8.9 -Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} +Release: 2%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} License: MIT AND X11 URL: http://www.x.org @@ -123,6 +123,9 @@ make %{?_smp_mflags} check %{_mandir}/man5/*.5* %changelog +* Thu Jul 18 2024 Fedora Release Engineering - 1.8.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Mon Apr 08 2024 José Expósito - 1.8.9-1 - libX11 1.8.9 From e03f31cb6caaa53e1ae79d48b80159a805465c87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Exp=C3=B3sito?= Date: Wed, 31 Jul 2024 14:12:21 +0200 Subject: [PATCH 21/27] libX11 1.8.10 --- dont-forward-keycode-0.patch | 16 ++++++++-------- libX11.spec | 7 +++++-- sources | 2 +- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/dont-forward-keycode-0.patch b/dont-forward-keycode-0.patch index c16d874..466c583 100644 --- a/dont-forward-keycode-0.patch +++ b/dont-forward-keycode-0.patch @@ -1,19 +1,19 @@ diff -up libX11-1.6.3/modules/im/ximcp/imDefFlt.c.jx libX11-1.6.3/modules/im/ximcp/imDefFlt.c --- libX11-1.6.3/modules/im/ximcp/imDefFlt.c.jx 2015-03-09 18:28:45.000000000 -0400 +++ libX11-1.6.3/modules/im/ximcp/imDefFlt.c 2015-03-10 12:32:31.912149644 -0400 -@@ -142,7 +142,7 @@ _XimProtoKeypressFilter( +@@ -143,7 +143,7 @@ _XimProtoKeypressFilter( { Xim im = (Xim)ic->core.im; -- if (IS_FABRICATED(im)) { -+ if ((ev->keycode == 0) || IS_FABRICATED(im)) { +- if (_XimIsFabricatedSerial(im, ev)) { ++ if ((ev->keycode == 0) || _XimIsFabricatedSerial(im, ev)) { _XimPendingFilter(ic); - UNMARK_FABRICATED(im); + _XimUnfabricateSerial(im, ic, ev); return NOTFILTERD; diff -up libX11-1.6.3/modules/im/ximcp/imDefLkup.c.jx libX11-1.6.3/modules/im/ximcp/imDefLkup.c --- libX11-1.6.3/modules/im/ximcp/imDefLkup.c.jx 2015-03-09 18:28:45.000000000 -0400 +++ libX11-1.6.3/modules/im/ximcp/imDefLkup.c 2015-03-10 12:32:31.911149637 -0400 -@@ -332,6 +332,17 @@ _XimForwardEvent( +@@ -333,6 +333,17 @@ _XimForwardEvent( XEvent *ev, Bool sync) { @@ -31,9 +31,9 @@ diff -up libX11-1.6.3/modules/im/ximcp/imDefLkup.c.jx libX11-1.6.3/modules/im/xi #ifdef EXT_FORWARD if (((ev->type == KeyPress) || (ev->type == KeyRelease))) if (_XimExtForwardKeyEvent(ic, (XKeyEvent *)ev, sync)) -@@ -604,6 +615,19 @@ _XimUnregCommitInfo( - Xfree(info->keysym); - ic->private.proto.commit_info = info->next; +@@ -703,6 +714,19 @@ _XimUnregRealCommitInfo( + else + ic->private.proto.commit_info = info->next; Xfree(info); + + /* diff --git a/libX11.spec b/libX11.spec index a44a1ab..3267545 100644 --- a/libX11.spec +++ b/libX11.spec @@ -4,8 +4,8 @@ Summary: Core X11 protocol client library Name: libX11 -Version: 1.8.9 -Release: 2%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} +Version: 1.8.10 +Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} License: MIT AND X11 URL: http://www.x.org @@ -123,6 +123,9 @@ make %{?_smp_mflags} check %{_mandir}/man5/*.5* %changelog +* Wed Jul 31 2024 José Expósito - 1.8.10-1 +- libX11 1.8.10 + * Thu Jul 18 2024 Fedora Release Engineering - 1.8.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild diff --git a/sources b/sources index 19b468c..33944c3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libX11-1.8.9.tar.xz) = 737af91818537295ac86be601b1e3d7e37d150716ec549580913b7cc9a44fee7a6ce9dbc3d46167eed91f23fe857c4dd355ed8f8440fe5fbbf8e9ebe47091b96 +SHA512 (libX11-1.8.10.tar.xz) = f801f5b77cbc55074f73dc95b29fff7b5e1b13b99641f6e397788ad9f31a29793ed4e8e5bd373122c790ef90627e8f9d6d5e271051c1767a479a85c55cd82bc1 From ddc5e3368d876332178857fbdd3dce97fe614f9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 22 Aug 2024 21:17:16 +0200 Subject: [PATCH 22/27] Fix spurious Xerror when running synchronized Cherry-pick of https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/264. --- 264.patch | 116 ++++++++++++++++++++++++++++++++++++++++++++++++++++ libX11.spec | 8 +++- 2 files changed, 123 insertions(+), 1 deletion(-) create mode 100644 264.patch diff --git a/264.patch b/264.patch new file mode 100644 index 0000000..730b38d --- /dev/null +++ b/264.patch @@ -0,0 +1,116 @@ +From f3d6ebac35301d4ad068e307f0fbe6aa12ccbccb Mon Sep 17 00:00:00 2001 +From: Olivier Fourdan +Date: Fri, 9 Aug 2024 09:21:31 +0200 +Subject: [PATCH 1/2] Close xcb connection after freeing display structure +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Commit 1472048b7 to fix a colormap threading issue added a display +lock/unlock and a call to SyncHandle() to _XcmsFreeClientCmaps(). + +When running synchronized, that means calling XSync(). + +_XcmsFreeClientCmaps() is called from _XFreeDisplayStructure() via +XCloseDisplay() after the xcb connection is closed. + +So when running synchronized, we may end up calling XSync() after the +xcb connection to the display is closed, which will generate a spurious +XIO error: + + | #0 in _XDefaultIOError () at /lib64/libX11.so.6 + | #1 in _XIOError () at /lib64/libX11.so.6 + | #2 in _XReply () at /lib64/libX11.so.6 + | #3 in XSync () at /lib64/libX11.so.6 + | #4 in _XSyncFunction () at /lib64/libX11.so.6 + | 8#5 in _XFreeDisplayStructure () at /lib64/libX11.so.6 + | 8#6 in XCloseDisplay () at /lib64/libX11.so.6 + +To avoid that issue, closed the xcb connection to the display last. + +v2: And same in OutOfMemory() as well (José Expósito) + +Signed-off-by: Olivier Fourdan +Reviewed-by: José Expósito +Part-of: +--- + src/ClDisplay.c | 4 +++- + src/OpenDis.c | 7 +++++-- + 2 files changed, 8 insertions(+), 3 deletions(-) + +diff --git a/src/ClDisplay.c b/src/ClDisplay.c +index aa904e51..31d3a841 100644 +--- a/src/ClDisplay.c ++++ b/src/ClDisplay.c +@@ -47,6 +47,7 @@ XCloseDisplay ( + { + register _XExtension *ext; + register int i; ++ xcb_connection_t *connection; + + if (!(dpy->flags & XlibDisplayClosing)) + { +@@ -68,7 +69,8 @@ XCloseDisplay ( + if (X_DPY_GET_REQUEST(dpy) != X_DPY_GET_LAST_REQUEST_READ(dpy)) + XSync(dpy, 1); + } +- xcb_disconnect(dpy->xcb->connection); ++ connection = dpy->xcb->connection; + _XFreeDisplayStructure (dpy); ++ xcb_disconnect(connection); + return 0; + } +diff --git a/src/OpenDis.c b/src/OpenDis.c +index 89a0ebdf..6cc43ba3 100644 +--- a/src/OpenDis.c ++++ b/src/OpenDis.c +@@ -709,7 +709,10 @@ void _XFreeDisplayStructure(Display *dpy) + + static void OutOfMemory(Display *dpy) + { +- if(dpy->xcb->connection) +- xcb_disconnect(dpy->xcb->connection); ++ xcb_connection_t *connection = dpy->xcb->connection; ++ + _XFreeDisplayStructure (dpy); ++ ++ if(connection) ++ xcb_disconnect(connection); + } +-- +GitLab + + +From 19b2f5c2d0935cbf9c17ecf30604f80592807b59 Mon Sep 17 00:00:00 2001 +From: Olivier Fourdan +Date: Fri, 9 Aug 2024 10:24:13 +0200 +Subject: [PATCH 2/2] Fix indentation + +Signed-off-by: Olivier Fourdan +Part-of: +--- + src/OpenDis.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/src/OpenDis.c b/src/OpenDis.c +index 6cc43ba3..9c06d388 100644 +--- a/src/OpenDis.c ++++ b/src/OpenDis.c +@@ -709,10 +709,10 @@ void _XFreeDisplayStructure(Display *dpy) + + static void OutOfMemory(Display *dpy) + { +- xcb_connection_t *connection = dpy->xcb->connection; ++ xcb_connection_t *connection = dpy->xcb->connection; + +- _XFreeDisplayStructure (dpy); ++ _XFreeDisplayStructure (dpy); + +- if(connection) +- xcb_disconnect(connection); ++ if (connection) ++ xcb_disconnect(connection); + } +-- +GitLab + diff --git a/libX11.spec b/libX11.spec index 3267545..0d8d346 100644 --- a/libX11.spec +++ b/libX11.spec @@ -5,7 +5,7 @@ Summary: Core X11 protocol client library Name: libX11 Version: 1.8.10 -Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} +Release: 2%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} License: MIT AND X11 URL: http://www.x.org @@ -20,6 +20,9 @@ Source0: https://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}. Patch2: dont-forward-keycode-0.patch +# https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/264 +Patch: 264.patch + BuildRequires: libtool BuildRequires: make BuildRequires: xorg-x11-util-macros >= 1.11 @@ -123,6 +126,9 @@ make %{?_smp_mflags} check %{_mandir}/man5/*.5* %changelog +* Thu Aug 22 2024 Florian Müllner - 1.8.10-2 +- Fix spurious Xerror when running synchronized + * Wed Jul 31 2024 José Expósito - 1.8.10-1 - libX11 1.8.10 From 37110de56c90cb98a75567755a0593f54fecea7f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jan 2025 10:27:14 +0000 Subject: [PATCH 23/27] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- libX11.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libX11.spec b/libX11.spec index 0d8d346..2245720 100644 --- a/libX11.spec +++ b/libX11.spec @@ -5,7 +5,7 @@ Summary: Core X11 protocol client library Name: libX11 Version: 1.8.10 -Release: 2%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} +Release: 3%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} License: MIT AND X11 URL: http://www.x.org @@ -126,6 +126,9 @@ make %{?_smp_mflags} check %{_mandir}/man5/*.5* %changelog +* Fri Jan 17 2025 Fedora Release Engineering - 1.8.10-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Thu Aug 22 2024 Florian Müllner - 1.8.10-2 - Fix spurious Xerror when running synchronized From 4f2f821164e18d297caebc989a856e8df863f597 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Exp=C3=B3sito?= Date: Mon, 3 Feb 2025 11:06:11 +0100 Subject: [PATCH 24/27] libX11 1.8.11 --- 264.patch | 116 ---------------------------------------------------- libX11.spec | 10 ++--- sources | 2 +- 3 files changed, 6 insertions(+), 122 deletions(-) delete mode 100644 264.patch diff --git a/264.patch b/264.patch deleted file mode 100644 index 730b38d..0000000 --- a/264.patch +++ /dev/null @@ -1,116 +0,0 @@ -From f3d6ebac35301d4ad068e307f0fbe6aa12ccbccb Mon Sep 17 00:00:00 2001 -From: Olivier Fourdan -Date: Fri, 9 Aug 2024 09:21:31 +0200 -Subject: [PATCH 1/2] Close xcb connection after freeing display structure -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Commit 1472048b7 to fix a colormap threading issue added a display -lock/unlock and a call to SyncHandle() to _XcmsFreeClientCmaps(). - -When running synchronized, that means calling XSync(). - -_XcmsFreeClientCmaps() is called from _XFreeDisplayStructure() via -XCloseDisplay() after the xcb connection is closed. - -So when running synchronized, we may end up calling XSync() after the -xcb connection to the display is closed, which will generate a spurious -XIO error: - - | #0 in _XDefaultIOError () at /lib64/libX11.so.6 - | #1 in _XIOError () at /lib64/libX11.so.6 - | #2 in _XReply () at /lib64/libX11.so.6 - | #3 in XSync () at /lib64/libX11.so.6 - | #4 in _XSyncFunction () at /lib64/libX11.so.6 - | 8#5 in _XFreeDisplayStructure () at /lib64/libX11.so.6 - | 8#6 in XCloseDisplay () at /lib64/libX11.so.6 - -To avoid that issue, closed the xcb connection to the display last. - -v2: And same in OutOfMemory() as well (José Expósito) - -Signed-off-by: Olivier Fourdan -Reviewed-by: José Expósito -Part-of: ---- - src/ClDisplay.c | 4 +++- - src/OpenDis.c | 7 +++++-- - 2 files changed, 8 insertions(+), 3 deletions(-) - -diff --git a/src/ClDisplay.c b/src/ClDisplay.c -index aa904e51..31d3a841 100644 ---- a/src/ClDisplay.c -+++ b/src/ClDisplay.c -@@ -47,6 +47,7 @@ XCloseDisplay ( - { - register _XExtension *ext; - register int i; -+ xcb_connection_t *connection; - - if (!(dpy->flags & XlibDisplayClosing)) - { -@@ -68,7 +69,8 @@ XCloseDisplay ( - if (X_DPY_GET_REQUEST(dpy) != X_DPY_GET_LAST_REQUEST_READ(dpy)) - XSync(dpy, 1); - } -- xcb_disconnect(dpy->xcb->connection); -+ connection = dpy->xcb->connection; - _XFreeDisplayStructure (dpy); -+ xcb_disconnect(connection); - return 0; - } -diff --git a/src/OpenDis.c b/src/OpenDis.c -index 89a0ebdf..6cc43ba3 100644 ---- a/src/OpenDis.c -+++ b/src/OpenDis.c -@@ -709,7 +709,10 @@ void _XFreeDisplayStructure(Display *dpy) - - static void OutOfMemory(Display *dpy) - { -- if(dpy->xcb->connection) -- xcb_disconnect(dpy->xcb->connection); -+ xcb_connection_t *connection = dpy->xcb->connection; -+ - _XFreeDisplayStructure (dpy); -+ -+ if(connection) -+ xcb_disconnect(connection); - } --- -GitLab - - -From 19b2f5c2d0935cbf9c17ecf30604f80592807b59 Mon Sep 17 00:00:00 2001 -From: Olivier Fourdan -Date: Fri, 9 Aug 2024 10:24:13 +0200 -Subject: [PATCH 2/2] Fix indentation - -Signed-off-by: Olivier Fourdan -Part-of: ---- - src/OpenDis.c | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/src/OpenDis.c b/src/OpenDis.c -index 6cc43ba3..9c06d388 100644 ---- a/src/OpenDis.c -+++ b/src/OpenDis.c -@@ -709,10 +709,10 @@ void _XFreeDisplayStructure(Display *dpy) - - static void OutOfMemory(Display *dpy) - { -- xcb_connection_t *connection = dpy->xcb->connection; -+ xcb_connection_t *connection = dpy->xcb->connection; - -- _XFreeDisplayStructure (dpy); -+ _XFreeDisplayStructure (dpy); - -- if(connection) -- xcb_disconnect(connection); -+ if (connection) -+ xcb_disconnect(connection); - } --- -GitLab - diff --git a/libX11.spec b/libX11.spec index 2245720..af1ab0b 100644 --- a/libX11.spec +++ b/libX11.spec @@ -4,8 +4,8 @@ Summary: Core X11 protocol client library Name: libX11 -Version: 1.8.10 -Release: 3%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} +Version: 1.8.11 +Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} License: MIT AND X11 URL: http://www.x.org @@ -20,9 +20,6 @@ Source0: https://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}. Patch2: dont-forward-keycode-0.patch -# https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/264 -Patch: 264.patch - BuildRequires: libtool BuildRequires: make BuildRequires: xorg-x11-util-macros >= 1.11 @@ -126,6 +123,9 @@ make %{?_smp_mflags} check %{_mandir}/man5/*.5* %changelog +* Mon Feb 03 2025 José Expósito - 1.8.11-1 +- libX11 1.8.11 + * Fri Jan 17 2025 Fedora Release Engineering - 1.8.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild diff --git a/sources b/sources index 33944c3..f469ec4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libX11-1.8.10.tar.xz) = f801f5b77cbc55074f73dc95b29fff7b5e1b13b99641f6e397788ad9f31a29793ed4e8e5bd373122c790ef90627e8f9d6d5e271051c1767a479a85c55cd82bc1 +SHA512 (libX11-1.8.11.tar.xz) = 4e2191258039ad0ea7fe5d22b8b0ab5e1d101b20fa4cd0fb44c5e1ac8b2ffbb3a0ad80ac3a67a3803ca30b972476b739a0c244b2ac8b7de6a32b06dc4e2c674b From 9c9d99c457d4c25b804edc5b8e97f2a4e2bd997b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 24 Jul 2025 19:16:50 +0000 Subject: [PATCH 25/27] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- libX11.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libX11.spec b/libX11.spec index af1ab0b..df741bc 100644 --- a/libX11.spec +++ b/libX11.spec @@ -5,7 +5,7 @@ Summary: Core X11 protocol client library Name: libX11 Version: 1.8.11 -Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} +Release: 2%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} License: MIT AND X11 URL: http://www.x.org @@ -123,6 +123,9 @@ make %{?_smp_mflags} check %{_mandir}/man5/*.5* %changelog +* Thu Jul 24 2025 Fedora Release Engineering - 1.8.11-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Mon Feb 03 2025 José Expósito - 1.8.11-1 - libX11 1.8.11 From 23fe94eb4c98b554a8d8583a88bfc99249b5ee18 Mon Sep 17 00:00:00 2001 From: Olivier Fourdan Date: Thu, 24 Jul 2025 14:21:46 +0200 Subject: [PATCH 26/27] libX11 1.8.12 --- libX11.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/libX11.spec b/libX11.spec index df741bc..8715035 100644 --- a/libX11.spec +++ b/libX11.spec @@ -4,8 +4,8 @@ Summary: Core X11 protocol client library Name: libX11 -Version: 1.8.11 -Release: 2%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} +Version: 1.8.12 +Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} License: MIT AND X11 URL: http://www.x.org @@ -123,6 +123,9 @@ make %{?_smp_mflags} check %{_mandir}/man5/*.5* %changelog +* Thu Jul 24 2025 Olivier Fourdan - 1.8.12-1 +- libX11 1.8.12 + * Thu Jul 24 2025 Fedora Release Engineering - 1.8.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild diff --git a/sources b/sources index f469ec4..295b411 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libX11-1.8.11.tar.xz) = 4e2191258039ad0ea7fe5d22b8b0ab5e1d101b20fa4cd0fb44c5e1ac8b2ffbb3a0ad80ac3a67a3803ca30b972476b739a0c244b2ac8b7de6a32b06dc4e2c674b +SHA512 (libX11-1.8.12.tar.xz) = cb7a284d9081a8b67f7d8568d56dc403a4b787e46ac497b07768d236084c01f80f4ea2ebd814f950ac9738adc3baea3912932fc333858195c4f8217744b6f730 From 48daeff665e77cca1a911c060d8691d6520444c2 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 22 Dec 2025 07:45:42 +1000 Subject: [PATCH 27/27] Rebuild to pick up latest xorg proto keysyms (#2413818) --- libX11.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libX11.spec b/libX11.spec index 8715035..293e8fe 100644 --- a/libX11.spec +++ b/libX11.spec @@ -5,7 +5,7 @@ Summary: Core X11 protocol client library Name: libX11 Version: 1.8.12 -Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} +Release: 2%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} License: MIT AND X11 URL: http://www.x.org @@ -123,6 +123,9 @@ make %{?_smp_mflags} check %{_mandir}/man5/*.5* %changelog +* Mon Dec 22 2025 Peter Hutterer - 1.8.12-2 +- Rebuild to pick up latest xorg proto keysyms (#2413818) + * Thu Jul 24 2025 Olivier Fourdan - 1.8.12-1 - libX11 1.8.12