From a215e4f9a5f0d80e615df492ac22f615a264f46b Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Thu, 6 Oct 2022 17:27:05 -0500 Subject: [PATCH 01/85] Restore compatibility with EPEL 7 - use %cmake3 rather than %cmake macros - conditionally disable tests on EPEL < 8 Signed-off-by: Michel Alexandre Salim --- weechat.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/weechat.spec b/weechat.spec index be19e1d..70c20f6 100644 --- a/weechat.spec +++ b/weechat.spec @@ -1,9 +1,14 @@ +%if 0%{?fedora} || 0%{?rhel} >= 8 %ifnarch s390x %bcond_without check %else # some tests fail on s390x %bcond_with check %endif +%else +# no cpputest in EL7 +%bcond_with check +%endif %if 0%{?fedora} || 0%{?rhel} < 8 %bcond_without docs @@ -139,17 +144,17 @@ sed -i 's/NAMES python3.7/NAMES python%{python3_version}m python%{python3_versio -DENABLE_JAVASCRIPT=OFF \ -DCA_FILE=/etc/pki/tls/certs/ca-bundle.crt \ %{nil} -%cmake_build +%cmake3_build %install -%cmake_install +%cmake3_install %find_lang %name %if %{with check} -%ctest -- -V +%ctest3 -- -V %endif From eda131c2d57c25465b1cc99cca3f46544d0cae29 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Wed, 4 Jan 2023 15:23:42 +0900 Subject: [PATCH 02/85] Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_3.2 From 384e8258bed3d99bac711211c8cd06fb2730c739 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 21 Jan 2023 06:44:06 +0000 Subject: [PATCH 03/85] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering From e76eafd35ef35c1b2edeef0b9f9ec1072fc2c49e Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Fri, 24 Feb 2023 15:09:01 +0900 Subject: [PATCH 04/85] Backport upstream patch to fix test suite crash on gui_chat_printf_y_date_tags with glibc 2.37 (bug 2170010) --- ...-3.8-fix-crash-on-null-msg-glibc-237.patch | 25 +++++++++++++++++++ weechat.spec | 4 +++ 2 files changed, 29 insertions(+) create mode 100644 weechat-3.8-fix-crash-on-null-msg-glibc-237.patch diff --git a/weechat-3.8-fix-crash-on-null-msg-glibc-237.patch b/weechat-3.8-fix-crash-on-null-msg-glibc-237.patch new file mode 100644 index 0000000..95e0d60 --- /dev/null +++ b/weechat-3.8-fix-crash-on-null-msg-glibc-237.patch @@ -0,0 +1,25 @@ +From fb0248f5572f9f8c5727731c5d065459238c0eeb Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= +Date: Wed, 22 Feb 2023 20:38:56 +0100 +Subject: [PATCH] core: fix crash in case of NULL message sent to function + gui_chat_printf_y_date_tags (closes #1883) + +--- + ChangeLog.adoc | 1 + + src/gui/gui-chat.c | 3 +++ + 2 files changed, 4 insertions(+) + +diff --git a/src/gui/gui-chat.c b/src/gui/gui-chat.c +index 7b89f2a0fa..6841b95ffe 100644 +--- a/src/gui/gui-chat.c ++++ b/src/gui/gui-chat.c +@@ -906,6 +906,9 @@ gui_chat_printf_y_date_tags (struct t_gui_buffer *buffer, int y, time_t date, + time_t date_printed; + int i, last_y, num_lines_to_add; + ++ if (!message) ++ return; ++ + if (gui_init_ok && !gui_chat_buffer_valid (buffer, GUI_BUFFER_TYPE_FREE)) + return; + diff --git a/weechat.spec b/weechat.spec index 70c20f6..6882585 100644 --- a/weechat.spec +++ b/weechat.spec @@ -49,6 +49,10 @@ Patch0: weechat-1.0.1-plugins-fPIC.patch Patch1: weechat-3.4-tests-fPIC.patch # this fails on too many tests, we want to let them finish anyway Patch2: weechat-3.4-disable-memleak-detection.patch +# https://github.com/weechat/weechat/issues/1883 +# https://github.com/weechat/weechat/commit/fb0248f5572f9f8c5727731c5d065459238c0eeb +# Fix gui_chat_printf_y_date_tags with glibc 2.37 +Patch3: weechat-3.8-fix-crash-on-null-msg-glibc-237.patch BuildRequires: gcc %if %{with check} From dc1b18398651cd25a070866c38becb10da5c6bb7 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Tue, 13 Jun 2023 21:39:17 +0200 Subject: [PATCH 05/85] Rebuilt for Python 3.12 From c1ad3ecc7166acaac6139b2f4e976d95f24bc09c Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Tue, 11 Jul 2023 15:48:31 +0200 Subject: [PATCH 06/85] Perl 5.38 rebuild From b7ad32ac83405daac50d1c67c3e3adcb22e951c6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jul 2023 18:06:51 +0000 Subject: [PATCH 07/85] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering From 045b4c8b8c37778918c19330a70291f01df12b88 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Thu, 17 Aug 2023 22:26:09 +0200 Subject: [PATCH 08/85] Update to 4.0.4 * Unset ENABLE_PYTHON3 while at it, since it's the default. * Set ENABLE_DOC_INCOMPLETE=ON since we are disabling PHP plugin support. --- sources | 2 +- weechat-1.0.1-plugins-fPIC.patch | 11 -------- ...-3.8-fix-crash-on-null-msg-glibc-237.patch | 25 ------------------- weechat.spec | 13 +++------- 4 files changed, 5 insertions(+), 46 deletions(-) delete mode 100644 weechat-1.0.1-plugins-fPIC.patch delete mode 100644 weechat-3.8-fix-crash-on-null-msg-glibc-237.patch diff --git a/sources b/sources index 763e281..4a123f4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (weechat-3.6.tar.xz) = a6451e821244d47cbd10255287d67815d8d37b000ee031c1f1ebb3af6a42c6997ee7b8468bf42530d8b3162b7f9e8e557a549ce4059668c3a94ff9dc1d70ad06 +SHA512 (weechat-4.0.4.tar.xz) = ddd150dad253cf4d9bc96122d2d3951c696b19f796a7cbf159edc258d4b18f1b2544b7b62362e7b59d6b3ff3e756de3ce4aaff83b02d3fe2d1cb614162965efd diff --git a/weechat-1.0.1-plugins-fPIC.patch b/weechat-1.0.1-plugins-fPIC.patch deleted file mode 100644 index b2a22ac..0000000 --- a/weechat-1.0.1-plugins-fPIC.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- weechat-1.0.1/src/plugins/CMakeLists.txt.pic 2014-09-28 15:59:19.000000000 +0900 -+++ weechat-1.0.1/src/plugins/CMakeLists.txt 2015-01-17 04:29:38.934291736 +0900 -@@ -39,6 +39,8 @@ - include(CheckFunctionExists) - include(CheckLibraryExists) - -+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC") -+ - if(ENABLE_ALIAS) - add_subdirectory(alias) - endif() diff --git a/weechat-3.8-fix-crash-on-null-msg-glibc-237.patch b/weechat-3.8-fix-crash-on-null-msg-glibc-237.patch deleted file mode 100644 index 95e0d60..0000000 --- a/weechat-3.8-fix-crash-on-null-msg-glibc-237.patch +++ /dev/null @@ -1,25 +0,0 @@ -From fb0248f5572f9f8c5727731c5d065459238c0eeb Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= -Date: Wed, 22 Feb 2023 20:38:56 +0100 -Subject: [PATCH] core: fix crash in case of NULL message sent to function - gui_chat_printf_y_date_tags (closes #1883) - ---- - ChangeLog.adoc | 1 + - src/gui/gui-chat.c | 3 +++ - 2 files changed, 4 insertions(+) - -diff --git a/src/gui/gui-chat.c b/src/gui/gui-chat.c -index 7b89f2a0fa..6841b95ffe 100644 ---- a/src/gui/gui-chat.c -+++ b/src/gui/gui-chat.c -@@ -906,6 +906,9 @@ gui_chat_printf_y_date_tags (struct t_gui_buffer *buffer, int y, time_t date, - time_t date_printed; - int i, last_y, num_lines_to_add; - -+ if (!message) -+ return; -+ - if (gui_init_ok && !gui_chat_buffer_valid (buffer, GUI_BUFFER_TYPE_FREE)) - return; - diff --git a/weechat.spec b/weechat.spec index 6882585..f32ca4b 100644 --- a/weechat.spec +++ b/weechat.spec @@ -34,7 +34,7 @@ %endif Name: weechat -Version: 3.6 +Version: 4.0.4 Release: %autorelease Summary: Portable, fast, light and extensible IRC client Group: Applications/Communications @@ -45,14 +45,9 @@ Source: http://weechat.org/files/src/%{name}-%{version}.tar.xz # /usr/bin/ld: CMakeFiles/charset.dir/charset.o: # relocation R_X86_64_PC32 against symbol `weechat_charset_plugin' # can not be used when making a shared object; recompile with -fPIC -Patch0: weechat-1.0.1-plugins-fPIC.patch -Patch1: weechat-3.4-tests-fPIC.patch +Patch0: weechat-3.4-tests-fPIC.patch # this fails on too many tests, we want to let them finish anyway -Patch2: weechat-3.4-disable-memleak-detection.patch -# https://github.com/weechat/weechat/issues/1883 -# https://github.com/weechat/weechat/commit/fb0248f5572f9f8c5727731c5d065459238c0eeb -# Fix gui_chat_printf_y_date_tags with glibc 2.37 -Patch3: weechat-3.8-fix-crash-on-null-msg-glibc-237.patch +Patch1: weechat-3.4-disable-memleak-detection.patch BuildRequires: gcc %if %{with check} @@ -131,7 +126,6 @@ sed -i 's/NAMES python3.7/NAMES python%{python3_version}m python%{python3_versio -DPREFIX=%{_prefix} \ -DLIBDIR=%{_libdir} \ -DENABLE_ENCHANT=ON \ - -DENABLE_PYTHON3=ON \ -DENABLE_PHP=OFF \ %if %{with check} -DENABLE_TESTS=ON \ @@ -140,6 +134,7 @@ sed -i 's/NAMES python3.7/NAMES python%{python3_version}m python%{python3_versio %endif %if %{with docs} -DENABLE_DOC=ON \ + -DENABLE_DOC_INCOMPLETE=ON \ -DENABLE_MAN=ON \ %else -DENABLE_DOC=OFF \ From 1465126ece99004a1b9aebc9b370b6b63275649a Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Tue, 22 Aug 2023 14:45:21 +0200 Subject: [PATCH 09/85] Reenable PHP plugins support --- weechat.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weechat.spec b/weechat.spec index f32ca4b..a792689 100644 --- a/weechat.spec +++ b/weechat.spec @@ -74,6 +74,8 @@ BuildRequires: lua-devel BuildRequires: ncurses-devel BuildRequires: perl-ExtUtils-Embed BuildRequires: perl-devel +BuildRequires: php-embedded +BuildRequires: php-devel BuildRequires: pkgconfig BuildRequires: python3-devel BuildRequires: ruby @@ -126,7 +128,6 @@ sed -i 's/NAMES python3.7/NAMES python%{python3_version}m python%{python3_versio -DPREFIX=%{_prefix} \ -DLIBDIR=%{_libdir} \ -DENABLE_ENCHANT=ON \ - -DENABLE_PHP=OFF \ %if %{with check} -DENABLE_TESTS=ON \ %else @@ -134,7 +135,6 @@ sed -i 's/NAMES python3.7/NAMES python%{python3_version}m python%{python3_versio %endif %if %{with docs} -DENABLE_DOC=ON \ - -DENABLE_DOC_INCOMPLETE=ON \ -DENABLE_MAN=ON \ %else -DENABLE_DOC=OFF \ From 2c450d8b63251ec20c20692bac425a1ec62a1b99 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Wed, 23 Aug 2023 23:09:09 +0200 Subject: [PATCH 10/85] Revert "Reenable PHP plugins support" Looks like php-embed is not working properly at the moment. This reverts commit 1465126ece99004a1b9aebc9b370b6b63275649a. --- weechat.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weechat.spec b/weechat.spec index a792689..f32ca4b 100644 --- a/weechat.spec +++ b/weechat.spec @@ -74,8 +74,6 @@ BuildRequires: lua-devel BuildRequires: ncurses-devel BuildRequires: perl-ExtUtils-Embed BuildRequires: perl-devel -BuildRequires: php-embedded -BuildRequires: php-devel BuildRequires: pkgconfig BuildRequires: python3-devel BuildRequires: ruby @@ -128,6 +126,7 @@ sed -i 's/NAMES python3.7/NAMES python%{python3_version}m python%{python3_versio -DPREFIX=%{_prefix} \ -DLIBDIR=%{_libdir} \ -DENABLE_ENCHANT=ON \ + -DENABLE_PHP=OFF \ %if %{with check} -DENABLE_TESTS=ON \ %else @@ -135,6 +134,7 @@ sed -i 's/NAMES python3.7/NAMES python%{python3_version}m python%{python3_versio %endif %if %{with docs} -DENABLE_DOC=ON \ + -DENABLE_DOC_INCOMPLETE=ON \ -DENABLE_MAN=ON \ %else -DENABLE_DOC=OFF \ From 96405f014ac70ab0e1e8fa7155d1b57a9dabc022 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Sun, 24 Sep 2023 18:34:39 +0200 Subject: [PATCH 11/85] Update to 4.0.5 --- sources | 2 +- weechat.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sources b/sources index 4a123f4..a24c51a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (weechat-4.0.4.tar.xz) = ddd150dad253cf4d9bc96122d2d3951c696b19f796a7cbf159edc258d4b18f1b2544b7b62362e7b59d6b3ff3e756de3ce4aaff83b02d3fe2d1cb614162965efd +SHA512 (weechat-4.0.5.tar.xz) = 3cf082463c29f8dfe118237ac0d46f5606311634ed1db47f3210a9176020c4f1566a6c4274bd33f5d6b5dd796b169f330a2aacd9928a0feb6181ebf9991177ea diff --git a/weechat.spec b/weechat.spec index f32ca4b..1294044 100644 --- a/weechat.spec +++ b/weechat.spec @@ -34,7 +34,7 @@ %endif Name: weechat -Version: 4.0.4 +Version: 4.0.5 Release: %autorelease Summary: Portable, fast, light and extensible IRC client Group: Applications/Communications From b231cc7442030ded996f5680fd418e8b0aa70eee Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Sun, 15 Oct 2023 23:47:27 +0200 Subject: [PATCH 12/85] Update to 4.1.0 * Reenable tests on s390x, because those work now since https://github.com/weechat/weechat/pull/2021 * Remove unnecessary cmake/FindPython.cmake edit * Unset ENABLE_JAVASCRIPT (and remove v8-devel dependency) since it's off by default --- sources | 2 +- weechat.spec | 17 +---------------- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/sources b/sources index a24c51a..2a108b9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (weechat-4.0.5.tar.xz) = 3cf082463c29f8dfe118237ac0d46f5606311634ed1db47f3210a9176020c4f1566a6c4274bd33f5d6b5dd796b169f330a2aacd9928a0feb6181ebf9991177ea +SHA512 (weechat-4.1.0.tar.xz) = 3978e407eec176f812bc696006e40077bf7f2acc7940223fc6d72d06394133c46bc14a953a20433475a42b673db57b6bc6e5fcb4c04c90d07d46332c34b84711 diff --git a/weechat.spec b/weechat.spec index 1294044..9cadab4 100644 --- a/weechat.spec +++ b/weechat.spec @@ -1,11 +1,6 @@ %if 0%{?fedora} || 0%{?rhel} >= 8 -%ifnarch s390x %bcond_without check %else -# some tests fail on s390x -%bcond_with check -%endif -%else # no cpputest in EL7 %bcond_with check %endif @@ -34,7 +29,7 @@ %endif Name: weechat -Version: 4.0.5 +Version: 4.1.0 Release: %autorelease Summary: Portable, fast, light and extensible IRC client Group: Applications/Communications @@ -81,13 +76,6 @@ BuildRequires: ruby-devel BuildRequires: source-highlight BuildRequires: tcl-devel BuildRequires: libzstd-devel -%ifarch %{ix86} x86_64 %{arm} -# https://bugzilla.redhat.com/show_bug.cgi?id=1338728 -# https://github.com/weechat/weechat/issues/360 -%if 0%{?rhel} && 0%{?rhel} < 8 -BuildRequires: v8-devel -%endif -%endif BuildRequires: zlib-devel %if 0%{?rhel} BuildRequires: cmake3 @@ -118,8 +106,6 @@ This package contains include files and pc file for weechat. find doc/ -type f -name 'CMakeLists.txt' \ -exec sed -i -e 's#${PROJECT_NAME}#%{_doc}#g' '{}' \; -sed -i 's/NAMES python3.7/NAMES python%{python3_version}m python%{python3_version}/' cmake/FindPython.cmake - %build %cmake3 \ @@ -140,7 +126,6 @@ sed -i 's/NAMES python3.7/NAMES python%{python3_version}m python%{python3_versio -DENABLE_DOC=OFF \ -DENABLE_MAN=OFF \ %endif - -DENABLE_JAVASCRIPT=OFF \ -DCA_FILE=/etc/pki/tls/certs/ca-bundle.crt \ %{nil} %cmake3_build From c4f0b62181f979d764e16ae426cb3e63b6ab98f8 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Fri, 27 Oct 2023 09:18:01 +0200 Subject: [PATCH 13/85] Update to 4.1.1 --- sources | 2 +- weechat.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sources b/sources index 2a108b9..2b14e39 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (weechat-4.1.0.tar.xz) = 3978e407eec176f812bc696006e40077bf7f2acc7940223fc6d72d06394133c46bc14a953a20433475a42b673db57b6bc6e5fcb4c04c90d07d46332c34b84711 +SHA512 (weechat-4.1.1.tar.xz) = 9d6bae5cc0c11cf3d06b0f9e457d01e76d240e8737e683a5c8a1bc89a1102b5ba75b2c59629df9433ba6a5ed42152d4390713618e646089acb7947000d9872d5 diff --git a/weechat.spec b/weechat.spec index 9cadab4..cac1707 100644 --- a/weechat.spec +++ b/weechat.spec @@ -29,7 +29,7 @@ %endif Name: weechat -Version: 4.1.0 +Version: 4.1.1 Release: %autorelease Summary: Portable, fast, light and extensible IRC client Group: Applications/Communications From 9c9bcd784461bd8dd7086f3643cba8d35569fca2 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Mon, 4 Dec 2023 15:56:39 +0100 Subject: [PATCH 14/85] Update to 4.1.2 --- sources | 2 +- weechat.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sources b/sources index 2b14e39..9e76541 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (weechat-4.1.1.tar.xz) = 9d6bae5cc0c11cf3d06b0f9e457d01e76d240e8737e683a5c8a1bc89a1102b5ba75b2c59629df9433ba6a5ed42152d4390713618e646089acb7947000d9872d5 +SHA512 (weechat-4.1.2.tar.xz) = 9df8b43a7210f06cece1d28fcf8559885a0d5590b5691f63205b215417f132e4d74f4af18b572daae2679d5cf574b61538a7067e03087be10e831fee4f55e115 diff --git a/weechat.spec b/weechat.spec index cac1707..42cde0c 100644 --- a/weechat.spec +++ b/weechat.spec @@ -29,7 +29,7 @@ %endif Name: weechat -Version: 4.1.1 +Version: 4.1.2 Release: %autorelease Summary: Portable, fast, light and extensible IRC client Group: Applications/Communications From f7ef6c761e520ed515f0ee89490c596d86c4aa4d Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Wed, 3 Jan 2024 22:16:57 +0900 Subject: [PATCH 15/85] Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_3.3 From 6d09b4a0058e8443ccb8e09470cbac6bbc1a9745 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Mon, 22 Jan 2024 19:31:01 +0100 Subject: [PATCH 16/85] Update to 4.2.1 --- sources | 2 +- weechat.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sources b/sources index 9e76541..42d71e6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (weechat-4.1.2.tar.xz) = 9df8b43a7210f06cece1d28fcf8559885a0d5590b5691f63205b215417f132e4d74f4af18b572daae2679d5cf574b61538a7067e03087be10e831fee4f55e115 +SHA512 (weechat-4.2.1.tar.xz) = e9ed67cd45b374435b05043dd9f085d30f4b429dff1afa82fe5f50522283faa86b5e6909ec1f51af033a612abe5f52f4441433bcc94e59027fc5ccff86e84c62 diff --git a/weechat.spec b/weechat.spec index 42cde0c..02ce12d 100644 --- a/weechat.spec +++ b/weechat.spec @@ -29,7 +29,7 @@ %endif Name: weechat -Version: 4.1.2 +Version: 4.2.1 Release: %autorelease Summary: Portable, fast, light and extensible IRC client Group: Applications/Communications From 692b7c2dffae41e5f73f9c582301ea480937c595 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jan 2024 08:36:13 +0000 Subject: [PATCH 17/85] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 578fee31b6bb01625f85b8394c2e3ccaaf1d8569 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Mon, 8 Apr 2024 20:00:40 +0200 Subject: [PATCH 18/85] Update to 4.2.2 --- sources | 2 +- weechat.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sources b/sources index 42d71e6..70fb35d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (weechat-4.2.1.tar.xz) = e9ed67cd45b374435b05043dd9f085d30f4b429dff1afa82fe5f50522283faa86b5e6909ec1f51af033a612abe5f52f4441433bcc94e59027fc5ccff86e84c62 +SHA512 (weechat-4.2.2.tar.xz) = cee642ea0fd43763933bb401d40999dff0b1a5260d536d7437cb2188e31f90c8196c6836072be51fa9df7abca5f5aee91a5f99e82852c9268091347d56350032 diff --git a/weechat.spec b/weechat.spec index 02ce12d..5c19866 100644 --- a/weechat.spec +++ b/weechat.spec @@ -29,7 +29,7 @@ %endif Name: weechat -Version: 4.2.1 +Version: 4.2.2 Release: %autorelease Summary: Portable, fast, light and extensible IRC client Group: Applications/Communications From 5473dfe70a5e5d590aed51f7a095a882461f2536 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Sun, 26 May 2024 11:32:32 +0200 Subject: [PATCH 19/85] Update to 4.3.0 --- ...s-relay-add-missing-string.h-include.patch | 25 ++++++++++ ...elay-fix-HotlistToJson-test-on-s390x.patch | 49 +++++++++++++++++++ ...-tests-scripts-fix-wrong-ifdef-check.patch | 25 ++++++++++ sources | 2 +- weechat-3.4-tests-fPIC.patch | 13 ++--- weechat.spec | 9 +++- 6 files changed, 115 insertions(+), 8 deletions(-) create mode 100644 0001-tests-relay-add-missing-string.h-include.patch create mode 100644 0001-tests-relay-fix-HotlistToJson-test-on-s390x.patch create mode 100644 0001-tests-scripts-fix-wrong-ifdef-check.patch diff --git a/0001-tests-relay-add-missing-string.h-include.patch b/0001-tests-relay-add-missing-string.h-include.patch new file mode 100644 index 0000000..acb022f --- /dev/null +++ b/0001-tests-relay-add-missing-string.h-include.patch @@ -0,0 +1,25 @@ +From 6f774a8e8e316557ddb9b7f03f8037c03cfd6983 Mon Sep 17 00:00:00 2001 +From: LuK1337 +Date: Sun, 26 May 2024 12:02:05 +0200 +Subject: [PATCH] tests: relay: add missing include + +Fixes build error on Fedora 40. +--- + .../unit/plugins/relay/api/remote/test-relay-remote-network.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/tests/unit/plugins/relay/api/remote/test-relay-remote-network.cpp b/tests/unit/plugins/relay/api/remote/test-relay-remote-network.cpp +index 098b93c50..5e19e0ee0 100644 +--- a/tests/unit/plugins/relay/api/remote/test-relay-remote-network.cpp ++++ b/tests/unit/plugins/relay/api/remote/test-relay-remote-network.cpp +@@ -25,6 +25,7 @@ + + extern "C" + { ++#include + #include + #include "src/core/core-config-file.h" + #include "src/plugins/relay/relay.h" +-- +2.45.1 + diff --git a/0001-tests-relay-fix-HotlistToJson-test-on-s390x.patch b/0001-tests-relay-fix-HotlistToJson-test-on-s390x.patch new file mode 100644 index 0000000..0d3d878 --- /dev/null +++ b/0001-tests-relay-fix-HotlistToJson-test-on-s390x.patch @@ -0,0 +1,49 @@ +From 14187b38342987fa83b90039973d25ffa452870a Mon Sep 17 00:00:00 2001 +From: LuK1337 +Date: Sun, 26 May 2024 13:18:30 +0200 +Subject: [PATCH] tests: relay: fix HotlistToJson test on s390x + +1: error: Failure in TEST(RelayApiMsg, HotlistToJson) +1: expected <2024-05-26T10:29:37.716512Z> +1: but was <2024-05-26T10:29:37.000000Z> +1: difference starts at position 20 at: +--- + tests/unit/plugins/relay/api/test-relay-api-msg.cpp | 7 +++++-- + 1 file changed, 5 insertions(+), 2 deletions(-) + +diff --git a/tests/unit/plugins/relay/api/test-relay-api-msg.cpp b/tests/unit/plugins/relay/api/test-relay-api-msg.cpp +index 696bf1fc8..ffa6945c4 100644 +--- a/tests/unit/plugins/relay/api/test-relay-api-msg.cpp ++++ b/tests/unit/plugins/relay/api/test-relay-api-msg.cpp +@@ -26,6 +26,7 @@ extern "C" + #include + #include + #include ++#include "src/core/core-hdata.h" + #include "src/core/core-util.h" + #include "src/gui/gui-buffer.h" + #include "src/gui/gui-chat.h" +@@ -502,6 +503,7 @@ TEST(RelayApiMsg, HotlistToJson) + { + char str_date[128]; + cJSON *json, *json_obj, *json_count; ++ time_t time_value; + struct timeval tv; + struct tm gm_time; + +@@ -526,9 +528,10 @@ TEST(RelayApiMsg, HotlistToJson) + CHECK(json); + CHECK(cJSON_IsObject (json)); + WEE_CHECK_OBJ_NUM(GUI_HOTLIST_HIGHLIGHT, json, "priority"); +- gmtime_r (&(gui_hotlist->creation_time.tv_sec), &gm_time); ++ time_value = hdata_time (relay_hdata_hotlist, gui_hotlist, "time"); ++ gmtime_r (&time_value, &gm_time); + tv.tv_sec = mktime (&gm_time); +- tv.tv_usec = gui_hotlist->creation_time.tv_usec; ++ tv.tv_usec = hdata_integer (relay_hdata_hotlist, gui_hotlist, "time_usec"); + util_strftimeval (str_date, sizeof (str_date), "%FT%T.%fZ", &tv); + WEE_CHECK_OBJ_STR(str_date, json, "date"); + WEE_CHECK_OBJ_NUM(gui_buffers->id, json, "buffer_id"); +-- +2.45.1 + diff --git a/0001-tests-scripts-fix-wrong-ifdef-check.patch b/0001-tests-scripts-fix-wrong-ifdef-check.patch new file mode 100644 index 0000000..830482f --- /dev/null +++ b/0001-tests-scripts-fix-wrong-ifdef-check.patch @@ -0,0 +1,25 @@ +From 9bd1ea1e5eb06a70ee907c1a10fc0316e0c740ba Mon Sep 17 00:00:00 2001 +From: LuK1337 +Date: Sun, 26 May 2024 12:21:55 +0200 +Subject: [PATCH] tests: scripts: fix wrong ifdef check + +--- + tests/scripts/test-scripts.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/scripts/test-scripts.cpp b/tests/scripts/test-scripts.cpp +index d8bcc4385..9a71c4140 100644 +--- a/tests/scripts/test-scripts.cpp ++++ b/tests/scripts/test-scripts.cpp +@@ -153,7 +153,7 @@ TEST(Scripts, API) + #ifdef HAVE_JAVASCRIPT + { "javascript", "js" }, + #endif +-#ifdef HAVE_PYTHON ++#ifdef HAVE_PHP + { "php", "php" }, + #endif + { NULL, NULL } +-- +2.45.1 + diff --git a/sources b/sources index 70fb35d..c26c8a8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (weechat-4.2.2.tar.xz) = cee642ea0fd43763933bb401d40999dff0b1a5260d536d7437cb2188e31f90c8196c6836072be51fa9df7abca5f5aee91a5f99e82852c9268091347d56350032 +SHA512 (weechat-4.3.0.tar.xz) = d52d04dd3e8a5e0b5f6b626c2ee9e1b400c8605e7102a53b22206ad4caf89f226fd1cfc827072c3ab298967f4d1ba94a97c504cee8e9ecdec8234eabacc63e12 diff --git a/weechat-3.4-tests-fPIC.patch b/weechat-3.4-tests-fPIC.patch index 6cbf7d6..c23e3f1 100644 --- a/weechat-3.4-tests-fPIC.patch +++ b/weechat-3.4-tests-fPIC.patch @@ -1,9 +1,10 @@ -diff -ruN weechat-3.4/tests/CMakeLists.txt weechat-3.4-tests-fPIC/tests/CMakeLists.txt ---- weechat-3.4/tests/CMakeLists.txt 2021-12-17 23:57:32.000000000 -0800 -+++ weechat-3.4-tests-fPIC/tests/CMakeLists.txt 2022-01-14 15:34:23.072801796 -0800 -@@ -22,6 +22,8 @@ - remove_definitions(-DHAVE_CONFIG_H) - include_directories(${CPPUTEST_INCLUDE_DIRS} ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR}) +diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt +index 58c74e9..463fd63 100644 +--- a/tests/CMakeLists.txt ++++ b/tests/CMakeLists.txt +@@ -47,6 +47,8 @@ if(ENABLE_PHP) + add_definitions(-DHAVE_PHP) + endif() +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC") + diff --git a/weechat.spec b/weechat.spec index 5c19866..196404a 100644 --- a/weechat.spec +++ b/weechat.spec @@ -29,7 +29,7 @@ %endif Name: weechat -Version: 4.2.2 +Version: 4.3.0 Release: %autorelease Summary: Portable, fast, light and extensible IRC client Group: Applications/Communications @@ -43,6 +43,12 @@ Source: http://weechat.org/files/src/%{name}-%{version}.tar.xz Patch0: weechat-3.4-tests-fPIC.patch # this fails on too many tests, we want to let them finish anyway Patch1: weechat-3.4-disable-memleak-detection.patch +# https://github.com/weechat/weechat/pull/2116 +Patch2: 0001-tests-relay-add-missing-string.h-include.patch +# https://github.com/weechat/weechat/pull/2117 +Patch3: 0001-tests-scripts-fix-wrong-ifdef-check.patch +# https://github.com/weechat/weechat/pull/2118 +Patch4: 0001-tests-relay-fix-HotlistToJson-test-on-s390x.patch BuildRequires: gcc %if %{with check} @@ -53,6 +59,7 @@ BuildRequires: glibc-langpack-en BuildRequires: asciidoctor %endif BuildRequires: ca-certificates +BuildRequires: cjson-devel BuildRequires: cmake BuildRequires: docbook-style-xsl BuildRequires: enchant-devel From fd5abe92905a9657cf48fafb1cb6128956f8707d Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Sun, 26 May 2024 15:21:40 +0200 Subject: [PATCH 20/85] Fix i386 build --- ...-fix-return-value-for-hdata_longlong.patch | 38 +++++++++++++++++++ weechat.spec | 2 + 2 files changed, 40 insertions(+) create mode 100644 0001-tcl-fix-return-value-for-hdata_longlong.patch diff --git a/0001-tcl-fix-return-value-for-hdata_longlong.patch b/0001-tcl-fix-return-value-for-hdata_longlong.patch new file mode 100644 index 0000000..2817ef9 --- /dev/null +++ b/0001-tcl-fix-return-value-for-hdata_longlong.patch @@ -0,0 +1,38 @@ +From 4e01c077d6ef6516e00b9e55cbf92a741a1d1239 Mon Sep 17 00:00:00 2001 +From: LuK1337 +Date: Sun, 26 May 2024 15:19:05 +0200 +Subject: [PATCH] tcl: fix return value for hdata_longlong + +Using API_RETURN_LONG() here breaks tests on i368. +--- + src/plugins/tcl/weechat-tcl-api.c | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +diff --git a/src/plugins/tcl/weechat-tcl-api.c b/src/plugins/tcl/weechat-tcl-api.c +index 487ad5d97..6bef61433 100644 +--- a/src/plugins/tcl/weechat-tcl-api.c ++++ b/src/plugins/tcl/weechat-tcl-api.c +@@ -125,6 +125,11 @@ + Tcl_SetObjResult (interp, Tcl_NewLongObj (__long)); \ + return TCL_OK; \ + } ++#define API_RETURN_LONGLONG(__longlong) \ ++ { \ ++ Tcl_SetObjResult (interp, Tcl_NewWideIntObj (__longlong)); \ ++ return TCL_OK; \ ++ } + #define API_RETURN_OBJ(__obj) \ + { \ + Tcl_SetObjResult (interp, __obj); \ +@@ -5368,7 +5373,7 @@ API_FUNC(hdata_longlong) + API_STR2PTR(pointer), + name); + +- API_RETURN_LONG(result); ++ API_RETURN_LONGLONG(result); + } + + API_FUNC(hdata_string) +-- +2.45.1 + diff --git a/weechat.spec b/weechat.spec index 196404a..a2aa916 100644 --- a/weechat.spec +++ b/weechat.spec @@ -49,6 +49,8 @@ Patch2: 0001-tests-relay-add-missing-string.h-include.patch Patch3: 0001-tests-scripts-fix-wrong-ifdef-check.patch # https://github.com/weechat/weechat/pull/2118 Patch4: 0001-tests-relay-fix-HotlistToJson-test-on-s390x.patch +# https://github.com/weechat/weechat/pull/2119 +Patch5: 0001-tcl-fix-return-value-for-hdata_longlong.patch BuildRequires: gcc %if %{with check} From 03ad5a98b68df6b38884c2e2f5354d3d95405709 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Tue, 28 May 2024 08:03:23 +0200 Subject: [PATCH 21/85] Remove unnecessary cmake option Has been removed since v3.2-rc1. --- weechat.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/weechat.spec b/weechat.spec index a2aa916..712ca88 100644 --- a/weechat.spec +++ b/weechat.spec @@ -135,7 +135,6 @@ find doc/ -type f -name 'CMakeLists.txt' \ -DENABLE_DOC=OFF \ -DENABLE_MAN=OFF \ %endif - -DCA_FILE=/etc/pki/tls/certs/ca-bundle.crt \ %{nil} %cmake3_build From a96ee958e322df52d24ed1fa039f235c87a11b0f Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Tue, 28 May 2024 08:22:37 +0200 Subject: [PATCH 22/85] Replace local -fPIC patch with an upstrem equivalent --- ...ix-compilation-of-tests-on-Rocky-9.4.patch | 27 +++++++++++++++++++ weechat-3.4-tests-fPIC.patch | 13 --------- weechat.spec | 6 ++--- 3 files changed, 29 insertions(+), 17 deletions(-) create mode 100644 0001-tests-fix-compilation-of-tests-on-Rocky-9.4.patch delete mode 100644 weechat-3.4-tests-fPIC.patch diff --git a/0001-tests-fix-compilation-of-tests-on-Rocky-9.4.patch b/0001-tests-fix-compilation-of-tests-on-Rocky-9.4.patch new file mode 100644 index 0000000..5fa8970 --- /dev/null +++ b/0001-tests-fix-compilation-of-tests-on-Rocky-9.4.patch @@ -0,0 +1,27 @@ +From c992a411597b530d45dd03f489b06af9a16aec2f Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= +Date: Sun, 26 May 2024 15:41:52 +0200 +Subject: [PATCH] tests: fix compilation of tests on Rocky 9.4 + +--- + tests/CMakeLists.txt | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt +index 58c74e9..2aba8ed 100644 +--- a/tests/CMakeLists.txt ++++ b/tests/CMakeLists.txt +@@ -22,6 +22,10 @@ enable_language(CXX) + remove_definitions(-DHAVE_CONFIG_H) + include_directories(${CPPUTEST_INCLUDE_DIRS} ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR}) + ++if(NOT CYGWIN) ++ add_definitions(-fPIC) ++endif() ++ + if(ENABLE_PYTHON) + add_definitions(-DHAVE_PYTHON) + endif() +-- +2.45.1 + diff --git a/weechat-3.4-tests-fPIC.patch b/weechat-3.4-tests-fPIC.patch deleted file mode 100644 index c23e3f1..0000000 --- a/weechat-3.4-tests-fPIC.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt -index 58c74e9..463fd63 100644 ---- a/tests/CMakeLists.txt -+++ b/tests/CMakeLists.txt -@@ -47,6 +47,8 @@ if(ENABLE_PHP) - add_definitions(-DHAVE_PHP) - endif() - -+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC") -+ - # unit tests (core) - set(LIB_WEECHAT_UNIT_TESTS_CORE_SRC - unit/core/test-core-arraylist.cpp diff --git a/weechat.spec b/weechat.spec index 712ca88..b0a5287 100644 --- a/weechat.spec +++ b/weechat.spec @@ -37,10 +37,8 @@ URL: http://weechat.org License: GPLv3 Source: http://weechat.org/files/src/%{name}-%{version}.tar.xz -# /usr/bin/ld: CMakeFiles/charset.dir/charset.o: -# relocation R_X86_64_PC32 against symbol `weechat_charset_plugin' -# can not be used when making a shared object; recompile with -fPIC -Patch0: weechat-3.4-tests-fPIC.patch +# https://github.com/weechat/weechat/commit/917054c58 +Patch0: 0001-tests-fix-compilation-of-tests-on-Rocky-9.4.patch # this fails on too many tests, we want to let them finish anyway Patch1: weechat-3.4-disable-memleak-detection.patch # https://github.com/weechat/weechat/pull/2116 From a92676098eda112342af052052f82f3056f4b856 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Fri, 31 May 2024 16:13:46 +0200 Subject: [PATCH 23/85] Update to 4.3.1 --- ...-fix-return-value-for-hdata_longlong.patch | 38 -------------- ...ix-compilation-of-tests-on-Rocky-9.4.patch | 27 ---------- ...s-relay-add-missing-string.h-include.patch | 25 ---------- ...elay-fix-HotlistToJson-test-on-s390x.patch | 49 ------------------- ...-tests-scripts-fix-wrong-ifdef-check.patch | 25 ---------- sources | 2 +- weechat-3.4-disable-memleak-detection.patch | 23 --------- weechat.spec | 14 +----- 8 files changed, 2 insertions(+), 201 deletions(-) delete mode 100644 0001-tcl-fix-return-value-for-hdata_longlong.patch delete mode 100644 0001-tests-fix-compilation-of-tests-on-Rocky-9.4.patch delete mode 100644 0001-tests-relay-add-missing-string.h-include.patch delete mode 100644 0001-tests-relay-fix-HotlistToJson-test-on-s390x.patch delete mode 100644 0001-tests-scripts-fix-wrong-ifdef-check.patch delete mode 100644 weechat-3.4-disable-memleak-detection.patch diff --git a/0001-tcl-fix-return-value-for-hdata_longlong.patch b/0001-tcl-fix-return-value-for-hdata_longlong.patch deleted file mode 100644 index 2817ef9..0000000 --- a/0001-tcl-fix-return-value-for-hdata_longlong.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 4e01c077d6ef6516e00b9e55cbf92a741a1d1239 Mon Sep 17 00:00:00 2001 -From: LuK1337 -Date: Sun, 26 May 2024 15:19:05 +0200 -Subject: [PATCH] tcl: fix return value for hdata_longlong - -Using API_RETURN_LONG() here breaks tests on i368. ---- - src/plugins/tcl/weechat-tcl-api.c | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -diff --git a/src/plugins/tcl/weechat-tcl-api.c b/src/plugins/tcl/weechat-tcl-api.c -index 487ad5d97..6bef61433 100644 ---- a/src/plugins/tcl/weechat-tcl-api.c -+++ b/src/plugins/tcl/weechat-tcl-api.c -@@ -125,6 +125,11 @@ - Tcl_SetObjResult (interp, Tcl_NewLongObj (__long)); \ - return TCL_OK; \ - } -+#define API_RETURN_LONGLONG(__longlong) \ -+ { \ -+ Tcl_SetObjResult (interp, Tcl_NewWideIntObj (__longlong)); \ -+ return TCL_OK; \ -+ } - #define API_RETURN_OBJ(__obj) \ - { \ - Tcl_SetObjResult (interp, __obj); \ -@@ -5368,7 +5373,7 @@ API_FUNC(hdata_longlong) - API_STR2PTR(pointer), - name); - -- API_RETURN_LONG(result); -+ API_RETURN_LONGLONG(result); - } - - API_FUNC(hdata_string) --- -2.45.1 - diff --git a/0001-tests-fix-compilation-of-tests-on-Rocky-9.4.patch b/0001-tests-fix-compilation-of-tests-on-Rocky-9.4.patch deleted file mode 100644 index 5fa8970..0000000 --- a/0001-tests-fix-compilation-of-tests-on-Rocky-9.4.patch +++ /dev/null @@ -1,27 +0,0 @@ -From c992a411597b530d45dd03f489b06af9a16aec2f Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= -Date: Sun, 26 May 2024 15:41:52 +0200 -Subject: [PATCH] tests: fix compilation of tests on Rocky 9.4 - ---- - tests/CMakeLists.txt | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt -index 58c74e9..2aba8ed 100644 ---- a/tests/CMakeLists.txt -+++ b/tests/CMakeLists.txt -@@ -22,6 +22,10 @@ enable_language(CXX) - remove_definitions(-DHAVE_CONFIG_H) - include_directories(${CPPUTEST_INCLUDE_DIRS} ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR}) - -+if(NOT CYGWIN) -+ add_definitions(-fPIC) -+endif() -+ - if(ENABLE_PYTHON) - add_definitions(-DHAVE_PYTHON) - endif() --- -2.45.1 - diff --git a/0001-tests-relay-add-missing-string.h-include.patch b/0001-tests-relay-add-missing-string.h-include.patch deleted file mode 100644 index acb022f..0000000 --- a/0001-tests-relay-add-missing-string.h-include.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 6f774a8e8e316557ddb9b7f03f8037c03cfd6983 Mon Sep 17 00:00:00 2001 -From: LuK1337 -Date: Sun, 26 May 2024 12:02:05 +0200 -Subject: [PATCH] tests: relay: add missing include - -Fixes build error on Fedora 40. ---- - .../unit/plugins/relay/api/remote/test-relay-remote-network.cpp | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/tests/unit/plugins/relay/api/remote/test-relay-remote-network.cpp b/tests/unit/plugins/relay/api/remote/test-relay-remote-network.cpp -index 098b93c50..5e19e0ee0 100644 ---- a/tests/unit/plugins/relay/api/remote/test-relay-remote-network.cpp -+++ b/tests/unit/plugins/relay/api/remote/test-relay-remote-network.cpp -@@ -25,6 +25,7 @@ - - extern "C" - { -+#include - #include - #include "src/core/core-config-file.h" - #include "src/plugins/relay/relay.h" --- -2.45.1 - diff --git a/0001-tests-relay-fix-HotlistToJson-test-on-s390x.patch b/0001-tests-relay-fix-HotlistToJson-test-on-s390x.patch deleted file mode 100644 index 0d3d878..0000000 --- a/0001-tests-relay-fix-HotlistToJson-test-on-s390x.patch +++ /dev/null @@ -1,49 +0,0 @@ -From 14187b38342987fa83b90039973d25ffa452870a Mon Sep 17 00:00:00 2001 -From: LuK1337 -Date: Sun, 26 May 2024 13:18:30 +0200 -Subject: [PATCH] tests: relay: fix HotlistToJson test on s390x - -1: error: Failure in TEST(RelayApiMsg, HotlistToJson) -1: expected <2024-05-26T10:29:37.716512Z> -1: but was <2024-05-26T10:29:37.000000Z> -1: difference starts at position 20 at: ---- - tests/unit/plugins/relay/api/test-relay-api-msg.cpp | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -diff --git a/tests/unit/plugins/relay/api/test-relay-api-msg.cpp b/tests/unit/plugins/relay/api/test-relay-api-msg.cpp -index 696bf1fc8..ffa6945c4 100644 ---- a/tests/unit/plugins/relay/api/test-relay-api-msg.cpp -+++ b/tests/unit/plugins/relay/api/test-relay-api-msg.cpp -@@ -26,6 +26,7 @@ extern "C" - #include - #include - #include -+#include "src/core/core-hdata.h" - #include "src/core/core-util.h" - #include "src/gui/gui-buffer.h" - #include "src/gui/gui-chat.h" -@@ -502,6 +503,7 @@ TEST(RelayApiMsg, HotlistToJson) - { - char str_date[128]; - cJSON *json, *json_obj, *json_count; -+ time_t time_value; - struct timeval tv; - struct tm gm_time; - -@@ -526,9 +528,10 @@ TEST(RelayApiMsg, HotlistToJson) - CHECK(json); - CHECK(cJSON_IsObject (json)); - WEE_CHECK_OBJ_NUM(GUI_HOTLIST_HIGHLIGHT, json, "priority"); -- gmtime_r (&(gui_hotlist->creation_time.tv_sec), &gm_time); -+ time_value = hdata_time (relay_hdata_hotlist, gui_hotlist, "time"); -+ gmtime_r (&time_value, &gm_time); - tv.tv_sec = mktime (&gm_time); -- tv.tv_usec = gui_hotlist->creation_time.tv_usec; -+ tv.tv_usec = hdata_integer (relay_hdata_hotlist, gui_hotlist, "time_usec"); - util_strftimeval (str_date, sizeof (str_date), "%FT%T.%fZ", &tv); - WEE_CHECK_OBJ_STR(str_date, json, "date"); - WEE_CHECK_OBJ_NUM(gui_buffers->id, json, "buffer_id"); --- -2.45.1 - diff --git a/0001-tests-scripts-fix-wrong-ifdef-check.patch b/0001-tests-scripts-fix-wrong-ifdef-check.patch deleted file mode 100644 index 830482f..0000000 --- a/0001-tests-scripts-fix-wrong-ifdef-check.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 9bd1ea1e5eb06a70ee907c1a10fc0316e0c740ba Mon Sep 17 00:00:00 2001 -From: LuK1337 -Date: Sun, 26 May 2024 12:21:55 +0200 -Subject: [PATCH] tests: scripts: fix wrong ifdef check - ---- - tests/scripts/test-scripts.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/tests/scripts/test-scripts.cpp b/tests/scripts/test-scripts.cpp -index d8bcc4385..9a71c4140 100644 ---- a/tests/scripts/test-scripts.cpp -+++ b/tests/scripts/test-scripts.cpp -@@ -153,7 +153,7 @@ TEST(Scripts, API) - #ifdef HAVE_JAVASCRIPT - { "javascript", "js" }, - #endif --#ifdef HAVE_PYTHON -+#ifdef HAVE_PHP - { "php", "php" }, - #endif - { NULL, NULL } --- -2.45.1 - diff --git a/sources b/sources index c26c8a8..2bb51c6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (weechat-4.3.0.tar.xz) = d52d04dd3e8a5e0b5f6b626c2ee9e1b400c8605e7102a53b22206ad4caf89f226fd1cfc827072c3ab298967f4d1ba94a97c504cee8e9ecdec8234eabacc63e12 +SHA512 (weechat-4.3.1.tar.xz) = e78fb37f983600340c88d63b5ba4e26febb18184c71da396daf8af6539a09c23656f6c8984d9ccb65cd5ec8fad099c4492111167870fbf9718088e7e9e5f556d diff --git a/weechat-3.4-disable-memleak-detection.patch b/weechat-3.4-disable-memleak-detection.patch deleted file mode 100644 index 1b46a2d..0000000 --- a/weechat-3.4-disable-memleak-detection.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff -ruN weechat-3.4/tests/tests.cpp weechat-3.4-disable-memleak-detection/tests/tests.cpp ---- weechat-3.4/tests/tests.cpp 2021-12-17 23:57:32.000000000 -0800 -+++ weechat-3.4-disable-memleak-detection/tests/tests.cpp 2022-01-14 16:36:08.330205164 -0800 -@@ -49,6 +49,7 @@ - } - - #include "CppUTest/CommandLineTestRunner.h" -+#include "CppUTest/MemoryLeakWarningPlugin.h" - - #define LOCALE_TESTS "en_US.UTF-8" - -@@ -330,6 +331,11 @@ - return 1; - } - -+ /* this fails on basically every test right now -+ * see https://cpputest.github.io/manual.html#turning-memory-leak-detection-off-and-on -+ */ -+ MemoryLeakWarningPlugin::turnOffNewDeleteOverloads(); -+ - /* clean WeeChat home */ - dir_exec_on_files (WEECHAT_TESTS_HOME, 1, 1, &exec_on_files_cb, NULL); - diff --git a/weechat.spec b/weechat.spec index b0a5287..eea539e 100644 --- a/weechat.spec +++ b/weechat.spec @@ -29,7 +29,7 @@ %endif Name: weechat -Version: 4.3.0 +Version: 4.3.1 Release: %autorelease Summary: Portable, fast, light and extensible IRC client Group: Applications/Communications @@ -37,18 +37,6 @@ URL: http://weechat.org License: GPLv3 Source: http://weechat.org/files/src/%{name}-%{version}.tar.xz -# https://github.com/weechat/weechat/commit/917054c58 -Patch0: 0001-tests-fix-compilation-of-tests-on-Rocky-9.4.patch -# this fails on too many tests, we want to let them finish anyway -Patch1: weechat-3.4-disable-memleak-detection.patch -# https://github.com/weechat/weechat/pull/2116 -Patch2: 0001-tests-relay-add-missing-string.h-include.patch -# https://github.com/weechat/weechat/pull/2117 -Patch3: 0001-tests-scripts-fix-wrong-ifdef-check.patch -# https://github.com/weechat/weechat/pull/2118 -Patch4: 0001-tests-relay-fix-HotlistToJson-test-on-s390x.patch -# https://github.com/weechat/weechat/pull/2119 -Patch5: 0001-tcl-fix-return-value-for-hdata_longlong.patch BuildRequires: gcc %if %{with check} From 187e2f1f78fc8797c038eedde5025437ce658bcf Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Fri, 7 Jun 2024 09:12:13 +0200 Subject: [PATCH 24/85] Update to 4.3.2 --- sources | 2 +- weechat.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sources b/sources index 2bb51c6..fb694d2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (weechat-4.3.1.tar.xz) = e78fb37f983600340c88d63b5ba4e26febb18184c71da396daf8af6539a09c23656f6c8984d9ccb65cd5ec8fad099c4492111167870fbf9718088e7e9e5f556d +SHA512 (weechat-4.3.2.tar.xz) = 438d76cada9bb870c188b8fe0c8ad45d1d0dc71392ee8d5193c5b3c3424afad4f98bedc9a396b2294c4cb20bce9299e5a4f921525f7f976e5cd1f589a78b2caa diff --git a/weechat.spec b/weechat.spec index eea539e..168f150 100644 --- a/weechat.spec +++ b/weechat.spec @@ -29,7 +29,7 @@ %endif Name: weechat -Version: 4.3.1 +Version: 4.3.2 Release: %autorelease Summary: Portable, fast, light and extensible IRC client Group: Applications/Communications From 0d87425e8521d24d4c5dba285c3af424c8bca85d Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 7 Jun 2024 09:52:01 +0200 Subject: [PATCH 25/85] Rebuilt for Python 3.13 From f57538105b6da075d85e81b1ae16d066885ca65b Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Fri, 7 Jun 2024 10:10:02 +0200 Subject: [PATCH 26/85] Cherry-pick #2132 from upstream Fixes tests in fedora-41-aarch64 chroot environment. --- ...relay_http_parse_header-function-pro.patch | 112 ++++++++++++++++++ weechat.spec | 3 + 2 files changed, 115 insertions(+) create mode 100644 0001-tests-relay-fix-relay_http_parse_header-function-pro.patch diff --git a/0001-tests-relay-fix-relay_http_parse_header-function-pro.patch b/0001-tests-relay-fix-relay_http_parse_header-function-pro.patch new file mode 100644 index 0000000..e867150 --- /dev/null +++ b/0001-tests-relay-fix-relay_http_parse_header-function-pro.patch @@ -0,0 +1,112 @@ +From 44238650bc7aa4de89f1fb63371b1e6c25ea96dd Mon Sep 17 00:00:00 2001 +From: LuK1337 +Date: Fri, 7 Jun 2024 10:08:40 +0200 +Subject: [PATCH] tests: relay: fix relay_http_parse_header function prototype + +--- + tests/unit/plugins/relay/test-relay-http.cpp | 26 +++++++++++--------- + 1 file changed, 14 insertions(+), 12 deletions(-) + +diff --git a/tests/unit/plugins/relay/test-relay-http.cpp b/tests/unit/plugins/relay/test-relay-http.cpp +index f35638e5b..6fe3faea4 100644 +--- a/tests/unit/plugins/relay/test-relay-http.cpp ++++ b/tests/unit/plugins/relay/test-relay-http.cpp +@@ -47,7 +47,8 @@ extern void relay_http_parse_path (const char *url, + char ***paths, int *num_paths, + struct t_hashtable *params); + extern int relay_http_parse_header (struct t_relay_http_request *request, +- const char *header); ++ const char *header, ++ int ws_deflate_allowed); + extern void relay_http_add_to_body (struct t_relay_http_request *request, + char **partial_message); + extern int relay_http_get_auth_status (struct t_relay_client *client); +@@ -478,7 +479,7 @@ TEST(RelayHttp, ParseHeader) + request = relay_http_request_alloc (); + CHECK(request); + relay_http_parse_method_path (request, "GET /api/version"); +- relay_http_parse_header (request, NULL); ++ relay_http_parse_header (request, NULL, 1); + LONGS_EQUAL(RELAY_HTTP_END, request->status); + STRCMP_EQUAL("GET /api/version\n" + "\n", +@@ -489,7 +490,7 @@ TEST(RelayHttp, ParseHeader) + request = relay_http_request_alloc (); + CHECK(request); + relay_http_parse_method_path (request, "GET /api/version"); +- relay_http_parse_header (request, ""); ++ relay_http_parse_header (request, "", 1); + LONGS_EQUAL(RELAY_HTTP_END, request->status); + STRCMP_EQUAL("GET /api/version\n" + "\n", +@@ -500,7 +501,7 @@ TEST(RelayHttp, ParseHeader) + request = relay_http_request_alloc (); + CHECK(request); + relay_http_parse_method_path (request, "GET /api/version"); +- relay_http_parse_header (request, "Test"); ++ relay_http_parse_header (request, "Test", 1); + LONGS_EQUAL(RELAY_HTTP_HEADERS, request->status); + STRCMP_EQUAL("GET /api/version\n" + "Test\n", +@@ -511,7 +512,7 @@ TEST(RelayHttp, ParseHeader) + request = relay_http_request_alloc (); + CHECK(request); + relay_http_parse_method_path (request, "GET /api/version"); +- relay_http_parse_header (request, "X-Test: value"); ++ relay_http_parse_header (request, "X-Test: value", 1); + LONGS_EQUAL(RELAY_HTTP_HEADERS, request->status); + STRCMP_EQUAL("GET /api/version\n" + "X-Test: value\n", +@@ -523,7 +524,7 @@ TEST(RelayHttp, ParseHeader) + request = relay_http_request_alloc (); + CHECK(request); + relay_http_parse_method_path (request, "GET /api/version"); +- relay_http_parse_header (request, "Accept-Encoding: gzip, zstd, br"); ++ relay_http_parse_header (request, "Accept-Encoding: gzip, zstd, br", 1); + LONGS_EQUAL(RELAY_HTTP_HEADERS, request->status); + STRCMP_EQUAL("GET /api/version\n" + "Accept-Encoding: gzip, zstd, br\n", +@@ -540,7 +541,7 @@ TEST(RelayHttp, ParseHeader) + request = relay_http_request_alloc (); + CHECK(request); + relay_http_parse_method_path (request, "GET /api/version"); +- relay_http_parse_header (request, "Content-Length: 123"); ++ relay_http_parse_header (request, "Content-Length: 123", 1); + LONGS_EQUAL(RELAY_HTTP_HEADERS, request->status); + STRCMP_EQUAL("GET /api/version\n" + "Content-Length: 123\n", +@@ -555,7 +556,8 @@ TEST(RelayHttp, ParseHeader) + relay_http_parse_method_path (request, "GET /api HTTP/1.1"); + relay_http_parse_header ( + request, +- "Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits"); ++ "Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits", ++ 1); + LONGS_EQUAL(RELAY_HTTP_HEADERS, request->status); + STRCMP_EQUAL( + "GET /api HTTP/1.1\n" +@@ -589,8 +591,8 @@ TEST(RelayHttp, AddToBody) + LONGS_EQUAL(RELAY_HTTP_METHOD, request->status); + relay_http_parse_method_path (request, "GET /api/version"); + LONGS_EQUAL(RELAY_HTTP_HEADERS, request->status); +- relay_http_parse_header (request, "Content-Length: 10"); +- relay_http_parse_header (request, ""); ++ relay_http_parse_header (request, "Content-Length: 10", 1); ++ relay_http_parse_header (request, "", 1); + LONGS_EQUAL(RELAY_HTTP_BODY, request->status); + LONGS_EQUAL(10, request->content_length); + LONGS_EQUAL(0, request->body_size); +@@ -616,8 +618,8 @@ TEST(RelayHttp, AddToBody) + LONGS_EQUAL(RELAY_HTTP_METHOD, request->status); + relay_http_parse_method_path (request, "GET /api/version"); + LONGS_EQUAL(RELAY_HTTP_HEADERS, request->status); +- relay_http_parse_header (request, "Content-Length: 5"); +- relay_http_parse_header (request, ""); ++ relay_http_parse_header (request, "Content-Length: 5", 1); ++ relay_http_parse_header (request, "", 1); + LONGS_EQUAL(RELAY_HTTP_BODY, request->status); + LONGS_EQUAL(5, request->content_length); + LONGS_EQUAL(0, request->body_size); +-- +2.45.2 + diff --git a/weechat.spec b/weechat.spec index 168f150..320c69d 100644 --- a/weechat.spec +++ b/weechat.spec @@ -38,6 +38,9 @@ License: GPLv3 Source: http://weechat.org/files/src/%{name}-%{version}.tar.xz +# https://github.com/weechat/weechat/pull/2132 +Patch0: 0001-tests-relay-fix-relay_http_parse_header-function-pro.patch + BuildRequires: gcc %if %{with check} BuildRequires: cpputest-devel From 2693d84853d1e0407ccc7cb9a76c9d7126313427 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 7 Jun 2024 21:58:19 +0200 Subject: [PATCH 27/85] Rebuilt for Python 3.13 From 635a8d9d48c4f1a185fb1596e3478201c9164343 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Wed, 12 Jun 2024 13:00:13 +0200 Subject: [PATCH 28/85] Perl 5.40 rebuild From 4f720c1ff40fb789dcb7dd9616ba1539c332c04f Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Sat, 22 Jun 2024 11:47:25 +0200 Subject: [PATCH 29/85] Update to 4.3.3 --- ...relay_http_parse_header-function-pro.patch | 112 ------------------ sources | 2 +- weechat.spec | 5 +- 3 files changed, 2 insertions(+), 117 deletions(-) delete mode 100644 0001-tests-relay-fix-relay_http_parse_header-function-pro.patch diff --git a/0001-tests-relay-fix-relay_http_parse_header-function-pro.patch b/0001-tests-relay-fix-relay_http_parse_header-function-pro.patch deleted file mode 100644 index e867150..0000000 --- a/0001-tests-relay-fix-relay_http_parse_header-function-pro.patch +++ /dev/null @@ -1,112 +0,0 @@ -From 44238650bc7aa4de89f1fb63371b1e6c25ea96dd Mon Sep 17 00:00:00 2001 -From: LuK1337 -Date: Fri, 7 Jun 2024 10:08:40 +0200 -Subject: [PATCH] tests: relay: fix relay_http_parse_header function prototype - ---- - tests/unit/plugins/relay/test-relay-http.cpp | 26 +++++++++++--------- - 1 file changed, 14 insertions(+), 12 deletions(-) - -diff --git a/tests/unit/plugins/relay/test-relay-http.cpp b/tests/unit/plugins/relay/test-relay-http.cpp -index f35638e5b..6fe3faea4 100644 ---- a/tests/unit/plugins/relay/test-relay-http.cpp -+++ b/tests/unit/plugins/relay/test-relay-http.cpp -@@ -47,7 +47,8 @@ extern void relay_http_parse_path (const char *url, - char ***paths, int *num_paths, - struct t_hashtable *params); - extern int relay_http_parse_header (struct t_relay_http_request *request, -- const char *header); -+ const char *header, -+ int ws_deflate_allowed); - extern void relay_http_add_to_body (struct t_relay_http_request *request, - char **partial_message); - extern int relay_http_get_auth_status (struct t_relay_client *client); -@@ -478,7 +479,7 @@ TEST(RelayHttp, ParseHeader) - request = relay_http_request_alloc (); - CHECK(request); - relay_http_parse_method_path (request, "GET /api/version"); -- relay_http_parse_header (request, NULL); -+ relay_http_parse_header (request, NULL, 1); - LONGS_EQUAL(RELAY_HTTP_END, request->status); - STRCMP_EQUAL("GET /api/version\n" - "\n", -@@ -489,7 +490,7 @@ TEST(RelayHttp, ParseHeader) - request = relay_http_request_alloc (); - CHECK(request); - relay_http_parse_method_path (request, "GET /api/version"); -- relay_http_parse_header (request, ""); -+ relay_http_parse_header (request, "", 1); - LONGS_EQUAL(RELAY_HTTP_END, request->status); - STRCMP_EQUAL("GET /api/version\n" - "\n", -@@ -500,7 +501,7 @@ TEST(RelayHttp, ParseHeader) - request = relay_http_request_alloc (); - CHECK(request); - relay_http_parse_method_path (request, "GET /api/version"); -- relay_http_parse_header (request, "Test"); -+ relay_http_parse_header (request, "Test", 1); - LONGS_EQUAL(RELAY_HTTP_HEADERS, request->status); - STRCMP_EQUAL("GET /api/version\n" - "Test\n", -@@ -511,7 +512,7 @@ TEST(RelayHttp, ParseHeader) - request = relay_http_request_alloc (); - CHECK(request); - relay_http_parse_method_path (request, "GET /api/version"); -- relay_http_parse_header (request, "X-Test: value"); -+ relay_http_parse_header (request, "X-Test: value", 1); - LONGS_EQUAL(RELAY_HTTP_HEADERS, request->status); - STRCMP_EQUAL("GET /api/version\n" - "X-Test: value\n", -@@ -523,7 +524,7 @@ TEST(RelayHttp, ParseHeader) - request = relay_http_request_alloc (); - CHECK(request); - relay_http_parse_method_path (request, "GET /api/version"); -- relay_http_parse_header (request, "Accept-Encoding: gzip, zstd, br"); -+ relay_http_parse_header (request, "Accept-Encoding: gzip, zstd, br", 1); - LONGS_EQUAL(RELAY_HTTP_HEADERS, request->status); - STRCMP_EQUAL("GET /api/version\n" - "Accept-Encoding: gzip, zstd, br\n", -@@ -540,7 +541,7 @@ TEST(RelayHttp, ParseHeader) - request = relay_http_request_alloc (); - CHECK(request); - relay_http_parse_method_path (request, "GET /api/version"); -- relay_http_parse_header (request, "Content-Length: 123"); -+ relay_http_parse_header (request, "Content-Length: 123", 1); - LONGS_EQUAL(RELAY_HTTP_HEADERS, request->status); - STRCMP_EQUAL("GET /api/version\n" - "Content-Length: 123\n", -@@ -555,7 +556,8 @@ TEST(RelayHttp, ParseHeader) - relay_http_parse_method_path (request, "GET /api HTTP/1.1"); - relay_http_parse_header ( - request, -- "Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits"); -+ "Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits", -+ 1); - LONGS_EQUAL(RELAY_HTTP_HEADERS, request->status); - STRCMP_EQUAL( - "GET /api HTTP/1.1\n" -@@ -589,8 +591,8 @@ TEST(RelayHttp, AddToBody) - LONGS_EQUAL(RELAY_HTTP_METHOD, request->status); - relay_http_parse_method_path (request, "GET /api/version"); - LONGS_EQUAL(RELAY_HTTP_HEADERS, request->status); -- relay_http_parse_header (request, "Content-Length: 10"); -- relay_http_parse_header (request, ""); -+ relay_http_parse_header (request, "Content-Length: 10", 1); -+ relay_http_parse_header (request, "", 1); - LONGS_EQUAL(RELAY_HTTP_BODY, request->status); - LONGS_EQUAL(10, request->content_length); - LONGS_EQUAL(0, request->body_size); -@@ -616,8 +618,8 @@ TEST(RelayHttp, AddToBody) - LONGS_EQUAL(RELAY_HTTP_METHOD, request->status); - relay_http_parse_method_path (request, "GET /api/version"); - LONGS_EQUAL(RELAY_HTTP_HEADERS, request->status); -- relay_http_parse_header (request, "Content-Length: 5"); -- relay_http_parse_header (request, ""); -+ relay_http_parse_header (request, "Content-Length: 5", 1); -+ relay_http_parse_header (request, "", 1); - LONGS_EQUAL(RELAY_HTTP_BODY, request->status); - LONGS_EQUAL(5, request->content_length); - LONGS_EQUAL(0, request->body_size); --- -2.45.2 - diff --git a/sources b/sources index fb694d2..ab4038d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (weechat-4.3.2.tar.xz) = 438d76cada9bb870c188b8fe0c8ad45d1d0dc71392ee8d5193c5b3c3424afad4f98bedc9a396b2294c4cb20bce9299e5a4f921525f7f976e5cd1f589a78b2caa +SHA512 (weechat-4.3.3.tar.xz) = ca6f80b874fa7b1a5e2773b7b05bdd47e6dd9a622e72ce2f876a94d4c6edaa6834cea83a7294dd2acb2c0bc67bc9e731593b33252559bb26290f964911790b1b diff --git a/weechat.spec b/weechat.spec index 320c69d..6951d22 100644 --- a/weechat.spec +++ b/weechat.spec @@ -29,7 +29,7 @@ %endif Name: weechat -Version: 4.3.2 +Version: 4.3.3 Release: %autorelease Summary: Portable, fast, light and extensible IRC client Group: Applications/Communications @@ -38,9 +38,6 @@ License: GPLv3 Source: http://weechat.org/files/src/%{name}-%{version}.tar.xz -# https://github.com/weechat/weechat/pull/2132 -Patch0: 0001-tests-relay-fix-relay_http_parse_header-function-pro.patch - BuildRequires: gcc %if %{with check} BuildRequires: cpputest-devel From 053b24483d5e7562da067f25d414519153424dac Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Sat, 22 Jun 2024 22:55:22 +0200 Subject: [PATCH 30/85] Use https for source URL --- weechat.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weechat.spec b/weechat.spec index 6951d22..e7f7c98 100644 --- a/weechat.spec +++ b/weechat.spec @@ -36,7 +36,7 @@ Group: Applications/Communications URL: http://weechat.org License: GPLv3 -Source: http://weechat.org/files/src/%{name}-%{version}.tar.xz +Source: https://weechat.org/files/src/%{name}-%{version}.tar.xz BuildRequires: gcc %if %{with check} From b43efb79fac6dc96f4d0e8700d7e647ffc9eb0a4 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Sat, 22 Jun 2024 22:56:17 +0200 Subject: [PATCH 31/85] Verify source code with GPG --- .gitignore | 1 + A9AB5AB778FA5C3522FD0378F82F4B16DEC408F8 | 51 ++++++++++++++++++++++++ sources | 1 + weechat.spec | 4 ++ 4 files changed, 57 insertions(+) create mode 100644 A9AB5AB778FA5C3522FD0378F82F4B16DEC408F8 diff --git a/.gitignore b/.gitignore index 61358d3..d629a4d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /weechat-*.tar.xz +/weechat-*.tar.xz.asc diff --git a/A9AB5AB778FA5C3522FD0378F82F4B16DEC408F8 b/A9AB5AB778FA5C3522FD0378F82F4B16DEC408F8 new file mode 100644 index 0000000..3302ef4 --- /dev/null +++ b/A9AB5AB778FA5C3522FD0378F82F4B16DEC408F8 @@ -0,0 +1,51 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +xsFNBFCCu4cBEADNDLretQkViqptiL275IKrc+VaGvUAIfFZoNTZHYrBAGCFNU++ +bXMqVxXM6QFhyXDbVSTAbl0gdmMPEQzi3ErtatyMsH3PDhU6mxLjwc61/P2JWNVf +4JGgEaqM/Gb0KEFnOWHGH1IDGMAxCL/duch8D3XrODOxqxCVLn/yFpjCANr9sXfh +V+K05KIvTE3ar8SZjVDH3APmdFYv2KSs01aoR+Zj0MIdJKgBIPUKod8VodH03RTu +ob4I1jocMad56hsMJk3NE179xxDA+DN7muIzv2yY+bw2EId+PhmvArKWgwFOvhmU +TTYNA5UOzC9jvzxVI/4g1ERImXXGdYBX9SllY5hqkk36EFchVAOmLz39zSTUQfIT +S9ugMiH3VudjSinNsn/R5iRvbuO1kHDGL583DT9qDadkXBxoFBgafgoEwiLLPuyH +BLdaZ51fmgvfupt0tP9F0Tcy4xCjz+Fesi3RtXlLJv351KIIbJsy8hNh1tSe/32t +dN4KoaULR2fGu+7NHeZBRk0r7+OjtRaXZWyaYfx4XAKqqdxcDcgYS8vb111JpkFN +/zf2HZtIA7IMUGQrf23O3xUun6voQb14qEMtWS49DxXmBc5g2KITtkpoVBSzHNVO +6aUzpgjeV8bRGTobpVvilz6Af34/gYIsvo0JQ14xB/F7cyaA1e4d6BtzSwARAQAB +zS1XZWVDaGF0IChzaWduaW5nIGtleSkgPHdlYm1hc3RlckB3ZWVjaGF0Lm9yZz7C +wXgEEwECACIFAlCCu4cCGwMGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheAAAoJEPgv +SxbexAj4JAoP+gMurI1HgmWK7pqO+/Hn5SAMKvHYwtHTpGqdDfponnTW3JgWUm2X +fgvHk5ZAew6a6hbLE73v8LSbepbCM6mzdtqO4FPXV8t+x/qLu3zbi9Q6Fd+bP+2G +ZDfRyZdk1UaeW2wOhwcvP8+kQxBB8gK7kgaD7rWG4CbU1jTQjdpBsibT/iXhszaC +kIe0ExaUYS7B58IbumjH+B3tcwhOW0SKImY5H4DKYAgWQ5/oSOwGf3fp3K2xT05c +MBiywTBBlXmtSY77yA0YxTYi/vIkPOuqKhMwc9Si5Ak4U2NvInGa3WOQoXH5OWYr +Ipe4nzpFMcBt0tMDbErkQsQFVsZE9YrOdoAHvMqn3Dxo99N3vX+CxmziWpzF2V6c +RyqFEFc0IYxABLpKNTgL9WUy+dwMsvuGR6/sob9hE5drJ8YeDEWLGZuVMys4vTvE +ctP+cedxgz2ZTyvWPCaR7k7L5yOvBTIwvYG6pu7utpxVnIpVRDs3hXl3VPNbu4SC +0JpAC0fB77VlOCbI205GTbcFxh82qiyJSZRmZF+tXOlBna7Jq/Fmtdyfh6COi5Tw +EVKzdXc+uBNxmrgkf1AIWaKXP5IdvHs75c+/WW93bjTC2QmUtv3NZG4HPo2NX6G+ +QMkMJOO+vnAQzYo/2BM6s2zCnR8oFKPt3t9ktz992D3PDkYwClKsz+8BzsFNBFCC +u4cBEADWYSdT6uWblZ4T/kiOjwdklcIuNCJhII4bXNlyLjm2xT2AescwQz1MVGO+ +UVIXk6YKYwT3I+CRx/UutTTD8s03yE3Lc5scztdp/S1pEX1ahvVI3elj0+DpQvmo +QB5aOL555LskFDo8dUHng/q17IHonHuGnIK5ufLD/CMvSzIOmL/5PBKyI3TZ21N5 +pz+4PzG0wSMTSQctiSEpccefuXyqBDfaxJVuuE3y/8AZy2hbp6EHjJkGiHE89yXx +rpJkPUv9i8D7M98uoERon6ma7xa/YHh3QROSG+oX8AuExmhbSr9ZkgTbfcehQoZE +pAgTqsxBhPirBnOr1lDAdHv7Zjr2qPG2uezAo1mkC7q6qQqfDJQHYTTOBDsin/TJ +pKma2ZLvY775otAS0nwxwvQAA4LWtJntlMZAZPegrVfre3tzM5V9MSeGME1oFv6L +9MrlpTJbym1kOa4agV+e1/ADEDPHERunyc735PrT1oTYbH5wQpTXPRdgUIFK//++ +6fZy7hO9JW/xdwPTf4FROL4T1tCg/hW/MC7+/rSQZ50Ucf4hgR1QVjudMMPDVqqH +C+9EKE1/pIVn6FNGN0YfPl3/NeV0daMceOZh1+HdBfAcPWuOUOIpUkAt7gAO7hoI +EVMaVFOzdTTufFzohV0volqsAyBHID77h/mjRTgCcynNZryzsQARAQABwsFfBBgB +AgAJBQJQgruHAhsMAAoJEPgvSxbexAj42WYQAIq5zKYsppAy1DeWL8ltmObEjSs/ +j07Er62KBb3jzbzGbjQybcneb29I7knmugPVo/QEnUzwOQHRbzMZ43pkcSiPNmhA +8NMgbldrmzhWC/5ueFwC4zXBEFhAuVwCyX6AlXrGyrxM72ubuCTziVjKB4LtIFfA +EsKRUF2r14U3mcJuSm/+rvJBEdOc0ccRHQznkARc945KOAD/FY1cXHP4Fo7SfT8w +KCGQGn445Lop7rHKhrhZ+6eenPIAcoVUEK1aef57VItcSmT3IAMbrkMZaCX8MEQW +GMdBt/gOfPmkmmGwEvFqkyBoerHYmgaB4SOFwjWgrgMBiuihUGZZfdJviF+NB687 +67/ikvot/ACSOzsB2BslNh6jGPwOUdRE4b/B1CtDm7Ukb+w1RbumQCtO1M64mh9w +bPp8bnjvS5OW1E0gEqZFoXNJPYUV35IubWeOL2+LPltJE5p9nzTtvyXG2aJhlnW5 +SpN7b/OD0wSu0STxdbmUTJ1WFz7P8HhmT1d5cRS8Q/5IjwWJRAyoyY/CBEYjz+Fs +eFF2jvxWceJHsTo7KhKLVAcB5tAqAdbpkbEF65FDzsFQz5Ql+C3TiQaNHRrHyrUl +g/NqrZmPiNTvjp3Mh5yj5e8mkOR/96YuHjF72YWnybVCt5+olFrr9v0+uCJU168O +bZlCOWLXBLOqK0Z0 +=MySb +-----END PGP PUBLIC KEY BLOCK----- diff --git a/sources b/sources index ab4038d..d05a02b 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ SHA512 (weechat-4.3.3.tar.xz) = ca6f80b874fa7b1a5e2773b7b05bdd47e6dd9a622e72ce2f876a94d4c6edaa6834cea83a7294dd2acb2c0bc67bc9e731593b33252559bb26290f964911790b1b +SHA512 (weechat-4.3.3.tar.xz.asc) = 35a348b2dd230c738634acbd77c8ae786296b93b755f1b22b0b8500c5bc2787ab64128aaf51bf755b9ffeefb08ab3f78cd57e6e9403849964ef561b7c850a264 diff --git a/weechat.spec b/weechat.spec index e7f7c98..e1ef775 100644 --- a/weechat.spec +++ b/weechat.spec @@ -37,6 +37,8 @@ URL: http://weechat.org License: GPLv3 Source: https://weechat.org/files/src/%{name}-%{version}.tar.xz +Source1: https://weechat.org/files/src/%{name}-%{version}.tar.xz.asc +Source2: https://keys.openpgp.org/vks/v1/by-fingerprint/A9AB5AB778FA5C3522FD0378F82F4B16DEC408F8 BuildRequires: gcc %if %{with check} @@ -52,6 +54,7 @@ BuildRequires: cmake BuildRequires: docbook-style-xsl BuildRequires: enchant-devel BuildRequires: gettext +BuildRequires: gnupg2 BuildRequires: gnutls-devel %if 0%{?fedora} >= 30 || 0%{?rhel} > 8 BuildRequires: guile22-devel @@ -97,6 +100,7 @@ This package contains include files and pc file for weechat. %prep +%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %autosetup -p1 -n %{name}-%{version} find doc/ -type f -name 'CMakeLists.txt' \ -exec sed -i -e 's#${PROJECT_NAME}#%{_doc}#g' '{}' \; From 29cd67e21b41321fea0e7e7d5c671c98f6ac4e4f Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Wed, 3 Jul 2024 22:35:40 +0200 Subject: [PATCH 32/85] Update to 4.3.4 --- sources | 4 ++-- weechat.spec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sources b/sources index d05a02b..67610fb 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (weechat-4.3.3.tar.xz) = ca6f80b874fa7b1a5e2773b7b05bdd47e6dd9a622e72ce2f876a94d4c6edaa6834cea83a7294dd2acb2c0bc67bc9e731593b33252559bb26290f964911790b1b -SHA512 (weechat-4.3.3.tar.xz.asc) = 35a348b2dd230c738634acbd77c8ae786296b93b755f1b22b0b8500c5bc2787ab64128aaf51bf755b9ffeefb08ab3f78cd57e6e9403849964ef561b7c850a264 +SHA512 (weechat-4.3.4.tar.xz) = 026684a3ee40eae166820c64cf68fccb27346117b90b617be4d0b10048ea4b3b8454f1020138c71f61598e6127e0426b7ba094d69f4da02fd322d9bd2b06a81b +SHA512 (weechat-4.3.4.tar.xz.asc) = 4e8dbec71852f2d4f1119129e77c7c4256f94af651d01fa21ebb219bcf2488ef57b868335ef22c659ef0d0acb921457561f29e46f021856c8610d1bc559bd9e8 diff --git a/weechat.spec b/weechat.spec index e1ef775..515bf4b 100644 --- a/weechat.spec +++ b/weechat.spec @@ -29,7 +29,7 @@ %endif Name: weechat -Version: 4.3.3 +Version: 4.3.4 Release: %autorelease Summary: Portable, fast, light and extensible IRC client Group: Applications/Communications From 83ecf2238ce8c487df638a9e68373f9e2dcdf3af Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Wed, 17 Jul 2024 02:13:09 +0200 Subject: [PATCH 33/85] Update to 4.3.5 --- sources | 4 ++-- weechat.spec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sources b/sources index 67610fb..80e7c8a 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (weechat-4.3.4.tar.xz) = 026684a3ee40eae166820c64cf68fccb27346117b90b617be4d0b10048ea4b3b8454f1020138c71f61598e6127e0426b7ba094d69f4da02fd322d9bd2b06a81b -SHA512 (weechat-4.3.4.tar.xz.asc) = 4e8dbec71852f2d4f1119129e77c7c4256f94af651d01fa21ebb219bcf2488ef57b868335ef22c659ef0d0acb921457561f29e46f021856c8610d1bc559bd9e8 +SHA512 (weechat-4.3.5.tar.xz) = 39c98a07a410334b423bba5ade36912f3687a17879bd126c740f64bfb24472b324deaa0181ded744002406a7cc50cf9bdb6ae0123f2e6f04754d37d8ce96bc86 +SHA512 (weechat-4.3.5.tar.xz.asc) = 17a2a41e95012295bc3ebfcc71952a638bbeaec2cc5d5ecbd4ef036ebd72cf0ed83b927a1e02c581d31a26ca6f5a21cb227b9ea1af9904a70c22232c7c0c4a1a diff --git a/weechat.spec b/weechat.spec index 515bf4b..7c94274 100644 --- a/weechat.spec +++ b/weechat.spec @@ -29,7 +29,7 @@ %endif Name: weechat -Version: 4.3.4 +Version: 4.3.5 Release: %autorelease Summary: Portable, fast, light and extensible IRC client Group: Applications/Communications From 0f14e1b4cc77a9a8512135d44cdf5c3df58cad6f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jul 2024 09:15:01 +0000 Subject: [PATCH 34/85] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 69f6e365553331aad326b20e5ed4cb2daff0094d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Mon, 29 Jul 2024 14:45:35 +0200 Subject: [PATCH 35/85] convert GPLv3 license to SPDX This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4 --- weechat.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/weechat.spec b/weechat.spec index 7c94274..6b5f11f 100644 --- a/weechat.spec +++ b/weechat.spec @@ -34,7 +34,8 @@ Release: %autorelease Summary: Portable, fast, light and extensible IRC client Group: Applications/Communications URL: http://weechat.org -License: GPLv3 +# Automatically converted from old format: GPLv3 - review is highly recommended. +License: GPL-3.0-only Source: https://weechat.org/files/src/%{name}-%{version}.tar.xz Source1: https://weechat.org/files/src/%{name}-%{version}.tar.xz.asc From 33d334710cb1a11774e0c469abe2d7735b9270c2 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Tue, 30 Jul 2024 19:54:23 +0100 Subject: [PATCH 36/85] Build against guile 3.0 --- weechat.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weechat.spec b/weechat.spec index 6b5f11f..ebe194a 100644 --- a/weechat.spec +++ b/weechat.spec @@ -58,7 +58,7 @@ BuildRequires: gettext BuildRequires: gnupg2 BuildRequires: gnutls-devel %if 0%{?fedora} >= 30 || 0%{?rhel} > 8 -BuildRequires: guile22-devel +BuildRequires: guile30-devel %else BuildRequires: guile-devel %endif From 9891fae0a1eca0597a8c6e6859228f6e0a6df016 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Fri, 2 Aug 2024 15:42:58 +0200 Subject: [PATCH 37/85] Fix guile30-devel build guard It's only available as of Fedora 35. --- weechat.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weechat.spec b/weechat.spec index ebe194a..8d136e1 100644 --- a/weechat.spec +++ b/weechat.spec @@ -57,7 +57,7 @@ BuildRequires: enchant-devel BuildRequires: gettext BuildRequires: gnupg2 BuildRequires: gnutls-devel -%if 0%{?fedora} >= 30 || 0%{?rhel} > 8 +%if 0%{?fedora} >= 35 || 0%{?rhel} > 8 BuildRequires: guile30-devel %else BuildRequires: guile-devel From b542f8a6f972d386a91e2389ffc5561c3f0187a2 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Fri, 2 Aug 2024 15:44:38 +0200 Subject: [PATCH 38/85] Remove autogenerated license comment --- weechat.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/weechat.spec b/weechat.spec index 8d136e1..e4cbd7f 100644 --- a/weechat.spec +++ b/weechat.spec @@ -34,7 +34,6 @@ Release: %autorelease Summary: Portable, fast, light and extensible IRC client Group: Applications/Communications URL: http://weechat.org -# Automatically converted from old format: GPLv3 - review is highly recommended. License: GPL-3.0-only Source: https://weechat.org/files/src/%{name}-%{version}.tar.xz From d143639445ba36114b9cf64363cee57d03ddea14 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Sat, 17 Aug 2024 15:29:22 +0200 Subject: [PATCH 39/85] Update to 4.4.1 --- sources | 4 ++-- weechat.spec | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sources b/sources index 80e7c8a..7165576 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (weechat-4.3.5.tar.xz) = 39c98a07a410334b423bba5ade36912f3687a17879bd126c740f64bfb24472b324deaa0181ded744002406a7cc50cf9bdb6ae0123f2e6f04754d37d8ce96bc86 -SHA512 (weechat-4.3.5.tar.xz.asc) = 17a2a41e95012295bc3ebfcc71952a638bbeaec2cc5d5ecbd4ef036ebd72cf0ed83b927a1e02c581d31a26ca6f5a21cb227b9ea1af9904a70c22232c7c0c4a1a +SHA512 (weechat-4.4.1.tar.xz) = 75b1fc21674229f11f9d5d049b663dee77e65529b5dfe62744e7afd0f0854afa4344b56f26d91fe9378ccece932e05e57e9bce4e1d7515d4d26fdffbf2f2a55b +SHA512 (weechat-4.4.1.tar.xz.asc) = 66d80b5233b0a3a8262cfe5db3e91043f33ac426b94ad5bd6f37b32e59b413435d2ca55f3aba9d53f8a1454c43161ab51f31ca02d0eafd83b8e3cea1497a96de diff --git a/weechat.spec b/weechat.spec index e4cbd7f..54b7696 100644 --- a/weechat.spec +++ b/weechat.spec @@ -29,7 +29,7 @@ %endif Name: weechat -Version: 4.3.5 +Version: 4.4.1 Release: %autorelease Summary: Portable, fast, light and extensible IRC client Group: Applications/Communications @@ -141,8 +141,8 @@ find doc/ -type f -name 'CMakeLists.txt' \ %files -f %{name}.lang -%doc AUTHORS.adoc ChangeLog.adoc Contributing.adoc -%doc README.adoc ReleaseNotes.adoc +%doc AUTHORS.md CHANGELOG.md CONTRIBUTING.md +%doc README.md UPGRADING.md %license COPYING %{_bindir}/%{name}-curses %{_bindir}/%{name} From 05ce0675efa08e95b71b270983c813fa0d133b97 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Sun, 8 Sep 2024 14:41:57 +0200 Subject: [PATCH 40/85] Update to 4.4.2 --- sources | 4 ++-- weechat.spec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sources b/sources index 7165576..283783a 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (weechat-4.4.1.tar.xz) = 75b1fc21674229f11f9d5d049b663dee77e65529b5dfe62744e7afd0f0854afa4344b56f26d91fe9378ccece932e05e57e9bce4e1d7515d4d26fdffbf2f2a55b -SHA512 (weechat-4.4.1.tar.xz.asc) = 66d80b5233b0a3a8262cfe5db3e91043f33ac426b94ad5bd6f37b32e59b413435d2ca55f3aba9d53f8a1454c43161ab51f31ca02d0eafd83b8e3cea1497a96de +SHA512 (weechat-4.4.2.tar.xz) = 1a603a020319d3ee9d27659c71b353dc939a56bc0dc8fabd55e82c74e28bdef8ed749441e7b2377b78598bdf11ec020d6c94a092bf30c86220b61e276cef2293 +SHA512 (weechat-4.4.2.tar.xz.asc) = f2690ffced22e9d27b95d552bc2ee0a92439e71df205933704dd78b99b5c6634ee4b141227ff35c596892d0290b0866d18da6f3a2b5e83c1010ba0aa28b29af1 diff --git a/weechat.spec b/weechat.spec index 54b7696..c34d874 100644 --- a/weechat.spec +++ b/weechat.spec @@ -29,7 +29,7 @@ %endif Name: weechat -Version: 4.4.1 +Version: 4.4.2 Release: %autorelease Summary: Portable, fast, light and extensible IRC client Group: Applications/Communications From a57df7822533bfdcfddcf26ad6f93cab13233a8c Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Wed, 30 Oct 2024 13:39:17 +0100 Subject: [PATCH 41/85] Update to 4.4.3 --- sources | 4 ++-- weechat.spec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sources b/sources index 283783a..6da50a7 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (weechat-4.4.2.tar.xz) = 1a603a020319d3ee9d27659c71b353dc939a56bc0dc8fabd55e82c74e28bdef8ed749441e7b2377b78598bdf11ec020d6c94a092bf30c86220b61e276cef2293 -SHA512 (weechat-4.4.2.tar.xz.asc) = f2690ffced22e9d27b95d552bc2ee0a92439e71df205933704dd78b99b5c6634ee4b141227ff35c596892d0290b0866d18da6f3a2b5e83c1010ba0aa28b29af1 +SHA512 (weechat-4.4.3.tar.xz) = 32df8d6021ed63d11646127920197a1f80dfbbec0cdf4e9a282fc789fcd1c270082806c237ab16ebd0c07a94c6d40bc22432211feac638623d6f2a0a59606dcc +SHA512 (weechat-4.4.3.tar.xz.asc) = 5097b0b7d97aac926c72057d51a4ea125ad0edcf7159d275b20ec484127c49d0b58b61fa71a91ce954f87dca47651084243f5440aaee5be315af3376e2b7ef1a diff --git a/weechat.spec b/weechat.spec index c34d874..b1cad61 100644 --- a/weechat.spec +++ b/weechat.spec @@ -29,7 +29,7 @@ %endif Name: weechat -Version: 4.4.2 +Version: 4.4.3 Release: %autorelease Summary: Portable, fast, light and extensible IRC client Group: Applications/Communications From 1a5df1bb3c5f18f1d146eda4d11c28418742f316 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Sat, 30 Nov 2024 10:24:56 +0100 Subject: [PATCH 42/85] Replace `-- -V` in ctest3 args with --verbose + /usr/bin/ctest --test-dir redhat-linux-build --output-on-failure --force-new-ctest-process -j24 -- -V CMake Error: Unknown argument: -- CMake Error: Run 'ctest --help' for all supported options. --- weechat.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weechat.spec b/weechat.spec index b1cad61..2c04bdc 100644 --- a/weechat.spec +++ b/weechat.spec @@ -136,7 +136,7 @@ find doc/ -type f -name 'CMakeLists.txt' \ %if %{with check} -%ctest3 -- -V +%ctest3 --verbose %endif From 7ba867d8936e0df46e000477f6da793906baada0 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Sat, 30 Nov 2024 10:33:10 +0100 Subject: [PATCH 43/85] Switch away from cmake3 --- weechat.spec | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/weechat.spec b/weechat.spec index 2c04bdc..62c2dd4 100644 --- a/weechat.spec +++ b/weechat.spec @@ -75,9 +75,6 @@ BuildRequires: source-highlight BuildRequires: tcl-devel BuildRequires: libzstd-devel BuildRequires: zlib-devel -%if 0%{?rhel} -BuildRequires: cmake3 -%endif Requires: hicolor-icon-theme @@ -126,17 +123,17 @@ find doc/ -type f -name 'CMakeLists.txt' \ -DENABLE_MAN=OFF \ %endif %{nil} -%cmake3_build +%cmake_build %install -%cmake3_install +%cmake_install %find_lang %name %if %{with check} -%ctest3 --verbose +%ctest --verbose %endif From 5a255adb1151dd104001f79689efe022d746e9c2 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Sat, 30 Nov 2024 10:18:34 +0100 Subject: [PATCH 44/85] Update to 4.4.4 --- sources | 4 ++-- weechat.spec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sources b/sources index 6da50a7..f10b072 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (weechat-4.4.3.tar.xz) = 32df8d6021ed63d11646127920197a1f80dfbbec0cdf4e9a282fc789fcd1c270082806c237ab16ebd0c07a94c6d40bc22432211feac638623d6f2a0a59606dcc -SHA512 (weechat-4.4.3.tar.xz.asc) = 5097b0b7d97aac926c72057d51a4ea125ad0edcf7159d275b20ec484127c49d0b58b61fa71a91ce954f87dca47651084243f5440aaee5be315af3376e2b7ef1a +SHA512 (weechat-4.4.4.tar.xz) = 519c0ce68081a256f78e5a04ee7518393719c8b0cd6edcbeac58ef952d08bebf5b0b2173b0bf103afe09f5e0eb27e2790d0ab3a6475ad346d0056f97069176d4 +SHA512 (weechat-4.4.4.tar.xz.asc) = 7e3ab6152cdcfd7f2f292400300637d37ac42bc86dbf93039927673350087b59c517127ed3635f7a88d52ddd3249ff9394e54dcafbc9cc05de6438de5b998c93 diff --git a/weechat.spec b/weechat.spec index 62c2dd4..cb5d1e9 100644 --- a/weechat.spec +++ b/weechat.spec @@ -29,7 +29,7 @@ %endif Name: weechat -Version: 4.4.3 +Version: 4.4.4 Release: %autorelease Summary: Portable, fast, light and extensible IRC client Group: Applications/Communications From cdb39906f15f980a1c24e321164403a2a89fcee9 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Mon, 2 Dec 2024 10:59:44 +0100 Subject: [PATCH 45/85] Remove hacks for unversioned docs --- weechat.spec | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/weechat.spec b/weechat.spec index cb5d1e9..91b2a99 100644 --- a/weechat.spec +++ b/weechat.spec @@ -17,17 +17,6 @@ %endif %global __provides_exclude_from ^%{_libdir}/weechat/plugins/.*$ -%if %{?_pkgdocdir:1}0 -%if 0%{?rhel} -%global _doc %{name}-%{version} -%else -%global _doc %{name} -%endif -%else -%global _doc %{name}-%{version} -%global _pkgdocdir %{_docdir}/%{_doc} -%endif - Name: weechat Version: 4.4.4 Release: %autorelease @@ -99,8 +88,6 @@ This package contains include files and pc file for weechat. %prep %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %autosetup -p1 -n %{name}-%{version} -find doc/ -type f -name 'CMakeLists.txt' \ - -exec sed -i -e 's#${PROJECT_NAME}#%{_doc}#g' '{}' \; %build From aee96642adf1bcbaf64c7a4c8e859c6c626e6bf2 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Mon, 2 Dec 2024 10:56:33 +0100 Subject: [PATCH 46/85] Enable docs unconditionally --- weechat.spec | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/weechat.spec b/weechat.spec index 91b2a99..ddc2138 100644 --- a/weechat.spec +++ b/weechat.spec @@ -5,13 +5,6 @@ %bcond_with check %endif -%if 0%{?fedora} || 0%{?rhel} < 8 -%bcond_without docs -%else -# TODO: package rubygem-asciidoctor -%bcond_with docs -%endif - %if 0%{?rhel} && 0%{?rhel} < 9 %undefine __cmake_in_source_build %endif @@ -34,9 +27,7 @@ BuildRequires: gcc BuildRequires: cpputest-devel BuildRequires: glibc-langpack-en %endif -%if %{with docs} BuildRequires: asciidoctor -%endif BuildRequires: ca-certificates BuildRequires: cjson-devel BuildRequires: cmake @@ -101,14 +92,9 @@ This package contains include files and pc file for weechat. %else -DENABLE_TESTS=OFF \ %endif -%if %{with docs} -DENABLE_DOC=ON \ -DENABLE_DOC_INCOMPLETE=ON \ -DENABLE_MAN=ON \ -%else - -DENABLE_DOC=OFF \ - -DENABLE_MAN=OFF \ -%endif %{nil} %cmake_build @@ -139,13 +125,11 @@ This package contains include files and pc file for weechat. %{_datadir}/icons/hicolor/256x256/apps/%{name}.png %{_datadir}/icons/hicolor/512x512/apps/%{name}.png %{_datadir}/icons/hicolor/64x64/apps/%{name}.png -%if 0%{?fedora} || 0%{?rhel} < 8 %{_pkgdocdir}/weechat_*.html %{_mandir}/man1/weechat.1* %{_mandir}/*/man1/weechat.1* %{_mandir}/man1/%{name}-headless.1* %{_mandir}/*/man1/%{name}-headless.1* -%endif %files devel %dir %{_includedir}/%{name} From c45e579cfff72e93b83dfd9bc42c74dff963e59b Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Mon, 2 Dec 2024 11:01:46 +0100 Subject: [PATCH 47/85] Enable tests unconditionally --- weechat.spec | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/weechat.spec b/weechat.spec index ddc2138..63dc742 100644 --- a/weechat.spec +++ b/weechat.spec @@ -1,10 +1,3 @@ -%if 0%{?fedora} || 0%{?rhel} >= 8 -%bcond_without check -%else -# no cpputest in EL7 -%bcond_with check -%endif - %if 0%{?rhel} && 0%{?rhel} < 9 %undefine __cmake_in_source_build %endif @@ -23,10 +16,8 @@ Source1: https://weechat.org/files/src/%{name}-%{version}.tar.xz.asc Source2: https://keys.openpgp.org/vks/v1/by-fingerprint/A9AB5AB778FA5C3522FD0378F82F4B16DEC408F8 BuildRequires: gcc -%if %{with check} BuildRequires: cpputest-devel BuildRequires: glibc-langpack-en -%endif BuildRequires: asciidoctor BuildRequires: ca-certificates BuildRequires: cjson-devel @@ -87,11 +78,7 @@ This package contains include files and pc file for weechat. -DLIBDIR=%{_libdir} \ -DENABLE_ENCHANT=ON \ -DENABLE_PHP=OFF \ -%if %{with check} -DENABLE_TESTS=ON \ -%else - -DENABLE_TESTS=OFF \ -%endif -DENABLE_DOC=ON \ -DENABLE_DOC_INCOMPLETE=ON \ -DENABLE_MAN=ON \ @@ -105,9 +92,8 @@ This package contains include files and pc file for weechat. %find_lang %name -%if %{with check} +%check %ctest --verbose -%endif %files -f %{name}.lang From fcde101efd3c75a14178743fc702b0ec42eea424 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Mon, 2 Dec 2024 11:01:56 +0100 Subject: [PATCH 48/85] Remove __cmake_in_source_build undefine --- weechat.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/weechat.spec b/weechat.spec index 63dc742..89cdec0 100644 --- a/weechat.spec +++ b/weechat.spec @@ -1,6 +1,3 @@ -%if 0%{?rhel} && 0%{?rhel} < 9 -%undefine __cmake_in_source_build -%endif %global __provides_exclude_from ^%{_libdir}/weechat/plugins/.*$ Name: weechat From 39c21a6c97b700ca5cf41a7fdec9df4a5d88b6cf Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Mon, 2 Dec 2024 11:06:55 +0100 Subject: [PATCH 49/85] Use guile30-devel unconditionally --- weechat.spec | 4 ---- 1 file changed, 4 deletions(-) diff --git a/weechat.spec b/weechat.spec index 89cdec0..7d0de3d 100644 --- a/weechat.spec +++ b/weechat.spec @@ -24,11 +24,7 @@ BuildRequires: enchant-devel BuildRequires: gettext BuildRequires: gnupg2 BuildRequires: gnutls-devel -%if 0%{?fedora} >= 35 || 0%{?rhel} > 8 BuildRequires: guile30-devel -%else -BuildRequires: guile-devel -%endif BuildRequires: libcurl-devel BuildRequires: libgcrypt-devel BuildRequires: lua-devel From ad8db69a91ba8e1157ff08d8f7f5507ccd3e9d95 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Mon, 2 Dec 2024 11:07:04 +0100 Subject: [PATCH 50/85] Sort `BuildRequires` alphabetically --- weechat.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/weechat.spec b/weechat.spec index 7d0de3d..fd1f42e 100644 --- a/weechat.spec +++ b/weechat.spec @@ -12,32 +12,32 @@ Source: https://weechat.org/files/src/%{name}-%{version}.tar.xz Source1: https://weechat.org/files/src/%{name}-%{version}.tar.xz.asc Source2: https://keys.openpgp.org/vks/v1/by-fingerprint/A9AB5AB778FA5C3522FD0378F82F4B16DEC408F8 -BuildRequires: gcc -BuildRequires: cpputest-devel -BuildRequires: glibc-langpack-en BuildRequires: asciidoctor BuildRequires: ca-certificates BuildRequires: cjson-devel BuildRequires: cmake +BuildRequires: cpputest-devel BuildRequires: docbook-style-xsl BuildRequires: enchant-devel +BuildRequires: gcc BuildRequires: gettext +BuildRequires: glibc-langpack-en BuildRequires: gnupg2 BuildRequires: gnutls-devel BuildRequires: guile30-devel BuildRequires: libcurl-devel BuildRequires: libgcrypt-devel +BuildRequires: libzstd-devel BuildRequires: lua-devel BuildRequires: ncurses-devel -BuildRequires: perl-ExtUtils-Embed BuildRequires: perl-devel +BuildRequires: perl-ExtUtils-Embed BuildRequires: pkgconfig BuildRequires: python3-devel BuildRequires: ruby BuildRequires: ruby-devel BuildRequires: source-highlight BuildRequires: tcl-devel -BuildRequires: libzstd-devel BuildRequires: zlib-devel Requires: hicolor-icon-theme From 93fb4d2f5698d8a04734c98fb0af70145359c4e2 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Mon, 2 Dec 2024 11:07:50 +0100 Subject: [PATCH 51/85] Fix leftover cmake3 macro usage --- weechat.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weechat.spec b/weechat.spec index fd1f42e..41c49db 100644 --- a/weechat.spec +++ b/weechat.spec @@ -66,7 +66,7 @@ This package contains include files and pc file for weechat. %build -%cmake3 \ +%cmake \ -DPREFIX=%{_prefix} \ -DLIBDIR=%{_libdir} \ -DENABLE_ENCHANT=ON \ From 608cec8d1075d621e1fad458306fc989ad226334 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Sun, 15 Dec 2024 10:56:02 +0100 Subject: [PATCH 52/85] Update to 4.5.0 --- sources | 4 ++-- weechat.spec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sources b/sources index f10b072..bd47014 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (weechat-4.4.4.tar.xz) = 519c0ce68081a256f78e5a04ee7518393719c8b0cd6edcbeac58ef952d08bebf5b0b2173b0bf103afe09f5e0eb27e2790d0ab3a6475ad346d0056f97069176d4 -SHA512 (weechat-4.4.4.tar.xz.asc) = 7e3ab6152cdcfd7f2f292400300637d37ac42bc86dbf93039927673350087b59c517127ed3635f7a88d52ddd3249ff9394e54dcafbc9cc05de6438de5b998c93 +SHA512 (weechat-4.5.0.tar.xz) = 67dd70813f6bb02a1e55c37c9a78044a46efa8570c5ceb02b14fc6f28bebfc7d6dbdbca2570b50fffc46e97c118bafb534dd17ce6676989a12060e2ea52cbd49 +SHA512 (weechat-4.5.0.tar.xz.asc) = df143fe42c2bf84f67d597dda6633ac101f7b4cab3f9799c5f04381fb61231f4da4739e7c8f932e95db3233c2230780ec5e8c58a6201c7f572c3ac3af179d8da diff --git a/weechat.spec b/weechat.spec index 41c49db..a47795f 100644 --- a/weechat.spec +++ b/weechat.spec @@ -1,7 +1,7 @@ %global __provides_exclude_from ^%{_libdir}/weechat/plugins/.*$ Name: weechat -Version: 4.4.4 +Version: 4.5.0 Release: %autorelease Summary: Portable, fast, light and extensible IRC client Group: Applications/Communications From d76f31c39957f31959c12d1ff6457033022bea2b Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Mon, 23 Dec 2024 09:41:22 +0100 Subject: [PATCH 53/85] Update to 4.5.1 --- sources | 4 ++-- weechat.spec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sources b/sources index bd47014..83f48fc 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (weechat-4.5.0.tar.xz) = 67dd70813f6bb02a1e55c37c9a78044a46efa8570c5ceb02b14fc6f28bebfc7d6dbdbca2570b50fffc46e97c118bafb534dd17ce6676989a12060e2ea52cbd49 -SHA512 (weechat-4.5.0.tar.xz.asc) = df143fe42c2bf84f67d597dda6633ac101f7b4cab3f9799c5f04381fb61231f4da4739e7c8f932e95db3233c2230780ec5e8c58a6201c7f572c3ac3af179d8da +SHA512 (weechat-4.5.1.tar.xz) = 77ae39a092e87ae95df09b8b7fe7da519e994f1b38f8042567f8eb1cbf26354bab74271c9c74b97582453f254091dee8ef7ca4d333b958efb6456bc788a6653a +SHA512 (weechat-4.5.1.tar.xz.asc) = 7ed8528027d1e796bd65e11eba25cac1c19053d1a22c2b17a7d558b8af9b860ed8fabb484ba9aa2214cd3111216a857df95ac5970975e1a10a42971d0571df50 diff --git a/weechat.spec b/weechat.spec index a47795f..cfc1a49 100644 --- a/weechat.spec +++ b/weechat.spec @@ -1,7 +1,7 @@ %global __provides_exclude_from ^%{_libdir}/weechat/plugins/.*$ Name: weechat -Version: 4.5.0 +Version: 4.5.1 Release: %autorelease Summary: Portable, fast, light and extensible IRC client Group: Applications/Communications From fb7bf368f6e2e0b52bf3c7aa347520770e992949 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Wed, 8 Jan 2025 15:14:36 +0900 Subject: [PATCH 54/85] Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_3.4 From 05f2564cc5eceb93d2b0898ef0e3612649f302fc Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 19 Jan 2025 14:54:23 +0000 Subject: [PATCH 55/85] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 5405b82ade21ffdb3e601d3ad6a442e53d143c6f Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Sun, 26 Jan 2025 09:34:51 +0100 Subject: [PATCH 56/85] Cherry pick #2229, #2230 from upstream --- ...a1bcb5b6f1e3e6e1253f92772fa6c2f4f939.patch | 36 +++++ ...e27028dac22b3ec6703c53c7bc154a0cb2b0.patch | 141 ++++++++++++++++++ ...0e55389bcd7a39ebec13cd9645a09b7f6a99.patch | 122 +++++++++++++++ weechat.spec | 6 + 4 files changed, 305 insertions(+) create mode 100644 04aea1bcb5b6f1e3e6e1253f92772fa6c2f4f939.patch create mode 100644 4b7be27028dac22b3ec6703c53c7bc154a0cb2b0.patch create mode 100644 68c70e55389bcd7a39ebec13cd9645a09b7f6a99.patch diff --git a/04aea1bcb5b6f1e3e6e1253f92772fa6c2f4f939.patch b/04aea1bcb5b6f1e3e6e1253f92772fa6c2f4f939.patch new file mode 100644 index 0000000..218265a --- /dev/null +++ b/04aea1bcb5b6f1e3e6e1253f92772fa6c2f4f939.patch @@ -0,0 +1,36 @@ +From 04aea1bcb5b6f1e3e6e1253f92772fa6c2f4f939 Mon Sep 17 00:00:00 2001 +From: LuK1337 +Date: Wed, 22 Jan 2025 23:26:22 +0100 +Subject: [PATCH] core: use instead of typedef in ncurses-fake.h +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fixes the following error when building in Fedora rawhide: +error: ‘bool’ cannot be defined via ‘typedef’. + +Likely GCC 15 related. +--- + src/gui/curses/headless/ncurses-fake.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/gui/curses/headless/ncurses-fake.h b/src/gui/curses/headless/ncurses-fake.h +index 924eea256be..8f39d602c25 100644 +--- a/src/gui/curses/headless/ncurses-fake.h ++++ b/src/gui/curses/headless/ncurses-fake.h +@@ -20,6 +20,7 @@ + #ifndef WEECHAT_NCURSES_FAKE_H + #define WEECHAT_NCURSES_FAKE_H + ++#include + #include + + #define ERR (-1) +@@ -71,7 +72,6 @@ struct _window + }; + typedef struct _window WINDOW; + +-typedef unsigned char bool; + typedef int attr_t; + typedef unsigned chtype; + diff --git a/4b7be27028dac22b3ec6703c53c7bc154a0cb2b0.patch b/4b7be27028dac22b3ec6703c53c7bc154a0cb2b0.patch new file mode 100644 index 0000000..6c5fee3 --- /dev/null +++ b/4b7be27028dac22b3ec6703c53c7bc154a0cb2b0.patch @@ -0,0 +1,141 @@ +From 4b7be27028dac22b3ec6703c53c7bc154a0cb2b0 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= +Date: Sun, 26 Jan 2025 08:48:51 +0100 +Subject: [PATCH] core: add parameter name in signal handler functions + +--- + src/core/core-debug.c | 5 ++++- + src/core/core-debug.h | 2 +- + src/core/core-signal.c | 25 ++++++++++++++++++++----- + src/gui/curses/gui-curses-main.c | 10 ++++++++-- + 4 files changed, 33 insertions(+), 9 deletions(-) + +diff --git a/src/core/core-debug.c b/src/core/core-debug.c +index 049b4edadde..d16ecf10388 100644 +--- a/src/core/core-debug.c ++++ b/src/core/core-debug.c +@@ -228,8 +228,11 @@ debug_dump_cb (const void *pointer, void *data, + */ + + void +-debug_sigsegv_cb (int) ++debug_sigsegv_cb (int signo) + { ++ /* make C compiler happy */ ++ (void) signo; ++ + debug_dump (1); + unhook_all (); + gui_main_end (0); +diff --git a/src/core/core-debug.h b/src/core/core-debug.h +index cff61736b42..b9b15fe555d 100644 +--- a/src/core/core-debug.h ++++ b/src/core/core-debug.h +@@ -27,7 +27,7 @@ struct t_gui_window_tree; + extern long long debug_long_callbacks; + + extern void debug_build_info (); +-extern void debug_sigsegv_cb (int); ++extern void debug_sigsegv_cb (int signo); + extern void debug_windows_tree (); + extern void debug_memory (); + extern void debug_hdata (); +diff --git a/src/core/core-signal.c b/src/core/core-signal.c +index c04551b883d..725878cc581 100644 +--- a/src/core/core-signal.c ++++ b/src/core/core-signal.c +@@ -65,8 +65,11 @@ volatile sig_atomic_t signal_sigusr2_count = 0; + */ + + void +-signal_sighup_cb (int) ++signal_sighup_cb (int signo) + { ++ /* make C compiler happy */ ++ (void) signo; ++ + signal_sighup_count++; + } + +@@ -75,8 +78,11 @@ signal_sighup_cb (int) + */ + + void +-signal_sigquit_cb (int) ++signal_sigquit_cb (int signo) + { ++ /* make C compiler happy */ ++ (void) signo; ++ + signal_sigquit_count++; + } + +@@ -85,8 +91,11 @@ signal_sigquit_cb (int) + */ + + void +-signal_sigterm_cb (int) ++signal_sigterm_cb (int signo) + { ++ /* make C compiler happy */ ++ (void) signo; ++ + signal_sigterm_count++; + } + +@@ -95,8 +104,11 @@ signal_sigterm_cb (int) + */ + + void +-signal_sigusr1_cb (int) ++signal_sigusr1_cb (int signo) + { ++ /* make C compiler happy */ ++ (void) signo; ++ + signal_sigusr1_count++; + } + +@@ -105,8 +117,11 @@ signal_sigusr1_cb (int) + */ + + void +-signal_sigusr2_cb (int) ++signal_sigusr2_cb (int signo) + { ++ /* make C compiler happy */ ++ (void) signo; ++ + signal_sigusr2_count++; + } + +diff --git a/src/gui/curses/gui-curses-main.c b/src/gui/curses/gui-curses-main.c +index 071d7d7a5e3..d8eabf1fca8 100644 +--- a/src/gui/curses/gui-curses-main.c ++++ b/src/gui/curses/gui-curses-main.c +@@ -150,8 +150,11 @@ gui_main_get_password (const char **prompt, char *password, int size) + */ + + void +-gui_main_signal_sigint (int) ++gui_main_signal_sigint (int signo) + { ++ /* make C compiler happy */ ++ (void) signo; ++ + weechat_quit = 1; + } + +@@ -253,8 +256,11 @@ gui_main_init () + */ + + void +-gui_main_signal_sigwinch (int) ++gui_main_signal_sigwinch (int signo) + { ++ /* make C compiler happy */ ++ (void) signo; ++ + gui_signal_sigwinch_received = 1; + } + diff --git a/68c70e55389bcd7a39ebec13cd9645a09b7f6a99.patch b/68c70e55389bcd7a39ebec13cd9645a09b7f6a99.patch new file mode 100644 index 0000000..057c1c3 --- /dev/null +++ b/68c70e55389bcd7a39ebec13cd9645a09b7f6a99.patch @@ -0,0 +1,122 @@ +From 68c70e55389bcd7a39ebec13cd9645a09b7f6a99 Mon Sep 17 00:00:00 2001 +From: LuK1337 +Date: Wed, 22 Jan 2025 23:37:56 +0100 +Subject: [PATCH] core: add `int` arg for all sigaction.sa_handler functions +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +src/gui/curses/gui-curses-main.c: In function ‘gui_main_loop’: +src/gui/curses/gui-curses-main.c:399:33: error: passing argument 2 of ‘signal_catch’ from incompatible pointer type [-Wincompatible-pointer-types] + 399 | signal_catch (SIGWINCH, &gui_main_signal_sigwinch); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | void (*)(void) +In file included from src/gui/curses/gui-curses-main.c:38: +src/gui/curses/../../core/core-signal.h:33:46: note: expected ‘void (*)(int)’ but argument is of type ‘void (*)(void)’ + 33 | extern void signal_catch (int signum, void (*handler)(int)); + | ~~~~~~~^~~~~~~~~~~~~ +--- + src/core/core-debug.c | 2 +- + src/core/core-debug.h | 2 +- + src/core/core-signal.c | 10 +++++----- + src/gui/curses/gui-curses-main.c | 4 ++-- + 4 files changed, 9 insertions(+), 9 deletions(-) + +diff --git a/src/core/core-debug.c b/src/core/core-debug.c +index dc7f0dc96a8..049b4edadde 100644 +--- a/src/core/core-debug.c ++++ b/src/core/core-debug.c +@@ -228,7 +228,7 @@ debug_dump_cb (const void *pointer, void *data, + */ + + void +-debug_sigsegv_cb () ++debug_sigsegv_cb (int) + { + debug_dump (1); + unhook_all (); +diff --git a/src/core/core-debug.h b/src/core/core-debug.h +index 5c6bf760ffc..cff61736b42 100644 +--- a/src/core/core-debug.h ++++ b/src/core/core-debug.h +@@ -27,7 +27,7 @@ struct t_gui_window_tree; + extern long long debug_long_callbacks; + + extern void debug_build_info (); +-extern void debug_sigsegv_cb (); ++extern void debug_sigsegv_cb (int); + extern void debug_windows_tree (); + extern void debug_memory (); + extern void debug_hdata (); +diff --git a/src/core/core-signal.c b/src/core/core-signal.c +index 991806faa9b..c04551b883d 100644 +--- a/src/core/core-signal.c ++++ b/src/core/core-signal.c +@@ -65,7 +65,7 @@ volatile sig_atomic_t signal_sigusr2_count = 0; + */ + + void +-signal_sighup_cb () ++signal_sighup_cb (int) + { + signal_sighup_count++; + } +@@ -75,7 +75,7 @@ signal_sighup_cb () + */ + + void +-signal_sigquit_cb () ++signal_sigquit_cb (int) + { + signal_sigquit_count++; + } +@@ -85,7 +85,7 @@ signal_sigquit_cb () + */ + + void +-signal_sigterm_cb () ++signal_sigterm_cb (int) + { + signal_sigterm_count++; + } +@@ -95,7 +95,7 @@ signal_sigterm_cb () + */ + + void +-signal_sigusr1_cb () ++signal_sigusr1_cb (int) + { + signal_sigusr1_count++; + } +@@ -105,7 +105,7 @@ signal_sigusr1_cb () + */ + + void +-signal_sigusr2_cb () ++signal_sigusr2_cb (int) + { + signal_sigusr2_count++; + } +diff --git a/src/gui/curses/gui-curses-main.c b/src/gui/curses/gui-curses-main.c +index 0641a75cd99..071d7d7a5e3 100644 +--- a/src/gui/curses/gui-curses-main.c ++++ b/src/gui/curses/gui-curses-main.c +@@ -150,7 +150,7 @@ gui_main_get_password (const char **prompt, char *password, int size) + */ + + void +-gui_main_signal_sigint () ++gui_main_signal_sigint (int) + { + weechat_quit = 1; + } +@@ -253,7 +253,7 @@ gui_main_init () + */ + + void +-gui_main_signal_sigwinch () ++gui_main_signal_sigwinch (int) + { + gui_signal_sigwinch_received = 1; + } diff --git a/weechat.spec b/weechat.spec index cfc1a49..19cb48b 100644 --- a/weechat.spec +++ b/weechat.spec @@ -12,6 +12,12 @@ Source: https://weechat.org/files/src/%{name}-%{version}.tar.xz Source1: https://weechat.org/files/src/%{name}-%{version}.tar.xz.asc Source2: https://keys.openpgp.org/vks/v1/by-fingerprint/A9AB5AB778FA5C3522FD0378F82F4B16DEC408F8 +# https://github.com/weechat/weechat/pull/2229 +Patch: https://github.com/weechat/weechat/commit/68c70e55389bcd7a39ebec13cd9645a09b7f6a99.patch +Patch1: https://github.com/weechat/weechat/commit/4b7be27028dac22b3ec6703c53c7bc154a0cb2b0.patch +# https://github.com/weechat/weechat/pull/2230 +Patch2: https://github.com/weechat/weechat/commit/04aea1bcb5b6f1e3e6e1253f92772fa6c2f4f939.patch + BuildRequires: asciidoctor BuildRequires: ca-certificates BuildRequires: cjson-devel From 9d9eaacd1b0559ce72b5cf648d501eba3f185be7 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Thu, 20 Feb 2025 23:46:49 +0100 Subject: [PATCH 57/85] Update to 4.5.2 --- ...a1bcb5b6f1e3e6e1253f92772fa6c2f4f939.patch | 36 ----- ...e27028dac22b3ec6703c53c7bc154a0cb2b0.patch | 141 ------------------ ...0e55389bcd7a39ebec13cd9645a09b7f6a99.patch | 122 --------------- sources | 4 +- weechat.spec | 8 +- 5 files changed, 3 insertions(+), 308 deletions(-) delete mode 100644 04aea1bcb5b6f1e3e6e1253f92772fa6c2f4f939.patch delete mode 100644 4b7be27028dac22b3ec6703c53c7bc154a0cb2b0.patch delete mode 100644 68c70e55389bcd7a39ebec13cd9645a09b7f6a99.patch diff --git a/04aea1bcb5b6f1e3e6e1253f92772fa6c2f4f939.patch b/04aea1bcb5b6f1e3e6e1253f92772fa6c2f4f939.patch deleted file mode 100644 index 218265a..0000000 --- a/04aea1bcb5b6f1e3e6e1253f92772fa6c2f4f939.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 04aea1bcb5b6f1e3e6e1253f92772fa6c2f4f939 Mon Sep 17 00:00:00 2001 -From: LuK1337 -Date: Wed, 22 Jan 2025 23:26:22 +0100 -Subject: [PATCH] core: use instead of typedef in ncurses-fake.h -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Fixes the following error when building in Fedora rawhide: -error: ‘bool’ cannot be defined via ‘typedef’. - -Likely GCC 15 related. ---- - src/gui/curses/headless/ncurses-fake.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/gui/curses/headless/ncurses-fake.h b/src/gui/curses/headless/ncurses-fake.h -index 924eea256be..8f39d602c25 100644 ---- a/src/gui/curses/headless/ncurses-fake.h -+++ b/src/gui/curses/headless/ncurses-fake.h -@@ -20,6 +20,7 @@ - #ifndef WEECHAT_NCURSES_FAKE_H - #define WEECHAT_NCURSES_FAKE_H - -+#include - #include - - #define ERR (-1) -@@ -71,7 +72,6 @@ struct _window - }; - typedef struct _window WINDOW; - --typedef unsigned char bool; - typedef int attr_t; - typedef unsigned chtype; - diff --git a/4b7be27028dac22b3ec6703c53c7bc154a0cb2b0.patch b/4b7be27028dac22b3ec6703c53c7bc154a0cb2b0.patch deleted file mode 100644 index 6c5fee3..0000000 --- a/4b7be27028dac22b3ec6703c53c7bc154a0cb2b0.patch +++ /dev/null @@ -1,141 +0,0 @@ -From 4b7be27028dac22b3ec6703c53c7bc154a0cb2b0 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= -Date: Sun, 26 Jan 2025 08:48:51 +0100 -Subject: [PATCH] core: add parameter name in signal handler functions - ---- - src/core/core-debug.c | 5 ++++- - src/core/core-debug.h | 2 +- - src/core/core-signal.c | 25 ++++++++++++++++++++----- - src/gui/curses/gui-curses-main.c | 10 ++++++++-- - 4 files changed, 33 insertions(+), 9 deletions(-) - -diff --git a/src/core/core-debug.c b/src/core/core-debug.c -index 049b4edadde..d16ecf10388 100644 ---- a/src/core/core-debug.c -+++ b/src/core/core-debug.c -@@ -228,8 +228,11 @@ debug_dump_cb (const void *pointer, void *data, - */ - - void --debug_sigsegv_cb (int) -+debug_sigsegv_cb (int signo) - { -+ /* make C compiler happy */ -+ (void) signo; -+ - debug_dump (1); - unhook_all (); - gui_main_end (0); -diff --git a/src/core/core-debug.h b/src/core/core-debug.h -index cff61736b42..b9b15fe555d 100644 ---- a/src/core/core-debug.h -+++ b/src/core/core-debug.h -@@ -27,7 +27,7 @@ struct t_gui_window_tree; - extern long long debug_long_callbacks; - - extern void debug_build_info (); --extern void debug_sigsegv_cb (int); -+extern void debug_sigsegv_cb (int signo); - extern void debug_windows_tree (); - extern void debug_memory (); - extern void debug_hdata (); -diff --git a/src/core/core-signal.c b/src/core/core-signal.c -index c04551b883d..725878cc581 100644 ---- a/src/core/core-signal.c -+++ b/src/core/core-signal.c -@@ -65,8 +65,11 @@ volatile sig_atomic_t signal_sigusr2_count = 0; - */ - - void --signal_sighup_cb (int) -+signal_sighup_cb (int signo) - { -+ /* make C compiler happy */ -+ (void) signo; -+ - signal_sighup_count++; - } - -@@ -75,8 +78,11 @@ signal_sighup_cb (int) - */ - - void --signal_sigquit_cb (int) -+signal_sigquit_cb (int signo) - { -+ /* make C compiler happy */ -+ (void) signo; -+ - signal_sigquit_count++; - } - -@@ -85,8 +91,11 @@ signal_sigquit_cb (int) - */ - - void --signal_sigterm_cb (int) -+signal_sigterm_cb (int signo) - { -+ /* make C compiler happy */ -+ (void) signo; -+ - signal_sigterm_count++; - } - -@@ -95,8 +104,11 @@ signal_sigterm_cb (int) - */ - - void --signal_sigusr1_cb (int) -+signal_sigusr1_cb (int signo) - { -+ /* make C compiler happy */ -+ (void) signo; -+ - signal_sigusr1_count++; - } - -@@ -105,8 +117,11 @@ signal_sigusr1_cb (int) - */ - - void --signal_sigusr2_cb (int) -+signal_sigusr2_cb (int signo) - { -+ /* make C compiler happy */ -+ (void) signo; -+ - signal_sigusr2_count++; - } - -diff --git a/src/gui/curses/gui-curses-main.c b/src/gui/curses/gui-curses-main.c -index 071d7d7a5e3..d8eabf1fca8 100644 ---- a/src/gui/curses/gui-curses-main.c -+++ b/src/gui/curses/gui-curses-main.c -@@ -150,8 +150,11 @@ gui_main_get_password (const char **prompt, char *password, int size) - */ - - void --gui_main_signal_sigint (int) -+gui_main_signal_sigint (int signo) - { -+ /* make C compiler happy */ -+ (void) signo; -+ - weechat_quit = 1; - } - -@@ -253,8 +256,11 @@ gui_main_init () - */ - - void --gui_main_signal_sigwinch (int) -+gui_main_signal_sigwinch (int signo) - { -+ /* make C compiler happy */ -+ (void) signo; -+ - gui_signal_sigwinch_received = 1; - } - diff --git a/68c70e55389bcd7a39ebec13cd9645a09b7f6a99.patch b/68c70e55389bcd7a39ebec13cd9645a09b7f6a99.patch deleted file mode 100644 index 057c1c3..0000000 --- a/68c70e55389bcd7a39ebec13cd9645a09b7f6a99.patch +++ /dev/null @@ -1,122 +0,0 @@ -From 68c70e55389bcd7a39ebec13cd9645a09b7f6a99 Mon Sep 17 00:00:00 2001 -From: LuK1337 -Date: Wed, 22 Jan 2025 23:37:56 +0100 -Subject: [PATCH] core: add `int` arg for all sigaction.sa_handler functions -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -src/gui/curses/gui-curses-main.c: In function ‘gui_main_loop’: -src/gui/curses/gui-curses-main.c:399:33: error: passing argument 2 of ‘signal_catch’ from incompatible pointer type [-Wincompatible-pointer-types] - 399 | signal_catch (SIGWINCH, &gui_main_signal_sigwinch); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | void (*)(void) -In file included from src/gui/curses/gui-curses-main.c:38: -src/gui/curses/../../core/core-signal.h:33:46: note: expected ‘void (*)(int)’ but argument is of type ‘void (*)(void)’ - 33 | extern void signal_catch (int signum, void (*handler)(int)); - | ~~~~~~~^~~~~~~~~~~~~ ---- - src/core/core-debug.c | 2 +- - src/core/core-debug.h | 2 +- - src/core/core-signal.c | 10 +++++----- - src/gui/curses/gui-curses-main.c | 4 ++-- - 4 files changed, 9 insertions(+), 9 deletions(-) - -diff --git a/src/core/core-debug.c b/src/core/core-debug.c -index dc7f0dc96a8..049b4edadde 100644 ---- a/src/core/core-debug.c -+++ b/src/core/core-debug.c -@@ -228,7 +228,7 @@ debug_dump_cb (const void *pointer, void *data, - */ - - void --debug_sigsegv_cb () -+debug_sigsegv_cb (int) - { - debug_dump (1); - unhook_all (); -diff --git a/src/core/core-debug.h b/src/core/core-debug.h -index 5c6bf760ffc..cff61736b42 100644 ---- a/src/core/core-debug.h -+++ b/src/core/core-debug.h -@@ -27,7 +27,7 @@ struct t_gui_window_tree; - extern long long debug_long_callbacks; - - extern void debug_build_info (); --extern void debug_sigsegv_cb (); -+extern void debug_sigsegv_cb (int); - extern void debug_windows_tree (); - extern void debug_memory (); - extern void debug_hdata (); -diff --git a/src/core/core-signal.c b/src/core/core-signal.c -index 991806faa9b..c04551b883d 100644 ---- a/src/core/core-signal.c -+++ b/src/core/core-signal.c -@@ -65,7 +65,7 @@ volatile sig_atomic_t signal_sigusr2_count = 0; - */ - - void --signal_sighup_cb () -+signal_sighup_cb (int) - { - signal_sighup_count++; - } -@@ -75,7 +75,7 @@ signal_sighup_cb () - */ - - void --signal_sigquit_cb () -+signal_sigquit_cb (int) - { - signal_sigquit_count++; - } -@@ -85,7 +85,7 @@ signal_sigquit_cb () - */ - - void --signal_sigterm_cb () -+signal_sigterm_cb (int) - { - signal_sigterm_count++; - } -@@ -95,7 +95,7 @@ signal_sigterm_cb () - */ - - void --signal_sigusr1_cb () -+signal_sigusr1_cb (int) - { - signal_sigusr1_count++; - } -@@ -105,7 +105,7 @@ signal_sigusr1_cb () - */ - - void --signal_sigusr2_cb () -+signal_sigusr2_cb (int) - { - signal_sigusr2_count++; - } -diff --git a/src/gui/curses/gui-curses-main.c b/src/gui/curses/gui-curses-main.c -index 0641a75cd99..071d7d7a5e3 100644 ---- a/src/gui/curses/gui-curses-main.c -+++ b/src/gui/curses/gui-curses-main.c -@@ -150,7 +150,7 @@ gui_main_get_password (const char **prompt, char *password, int size) - */ - - void --gui_main_signal_sigint () -+gui_main_signal_sigint (int) - { - weechat_quit = 1; - } -@@ -253,7 +253,7 @@ gui_main_init () - */ - - void --gui_main_signal_sigwinch () -+gui_main_signal_sigwinch (int) - { - gui_signal_sigwinch_received = 1; - } diff --git a/sources b/sources index 83f48fc..c6a469e 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (weechat-4.5.1.tar.xz) = 77ae39a092e87ae95df09b8b7fe7da519e994f1b38f8042567f8eb1cbf26354bab74271c9c74b97582453f254091dee8ef7ca4d333b958efb6456bc788a6653a -SHA512 (weechat-4.5.1.tar.xz.asc) = 7ed8528027d1e796bd65e11eba25cac1c19053d1a22c2b17a7d558b8af9b860ed8fabb484ba9aa2214cd3111216a857df95ac5970975e1a10a42971d0571df50 +SHA512 (weechat-4.5.2.tar.xz) = 5d1595b83ffc8045493e263adccd9ed81cc41299274864b18b94226deebfaa323222b571a297c66993cdbbddf1239b181f5332729a8dcf569117d214ce2b583b +SHA512 (weechat-4.5.2.tar.xz.asc) = 27fc61721507b371626ba67c733810cd0f4bcac390539b4f3ec5100dd18061f3dc57d1a0cbf0347d2e96f51a79c30e629520bbcce386c9489b108d51fa96c472 diff --git a/weechat.spec b/weechat.spec index 19cb48b..cdd3473 100644 --- a/weechat.spec +++ b/weechat.spec @@ -1,7 +1,7 @@ %global __provides_exclude_from ^%{_libdir}/weechat/plugins/.*$ Name: weechat -Version: 4.5.1 +Version: 4.5.2 Release: %autorelease Summary: Portable, fast, light and extensible IRC client Group: Applications/Communications @@ -12,12 +12,6 @@ Source: https://weechat.org/files/src/%{name}-%{version}.tar.xz Source1: https://weechat.org/files/src/%{name}-%{version}.tar.xz.asc Source2: https://keys.openpgp.org/vks/v1/by-fingerprint/A9AB5AB778FA5C3522FD0378F82F4B16DEC408F8 -# https://github.com/weechat/weechat/pull/2229 -Patch: https://github.com/weechat/weechat/commit/68c70e55389bcd7a39ebec13cd9645a09b7f6a99.patch -Patch1: https://github.com/weechat/weechat/commit/4b7be27028dac22b3ec6703c53c7bc154a0cb2b0.patch -# https://github.com/weechat/weechat/pull/2230 -Patch2: https://github.com/weechat/weechat/commit/04aea1bcb5b6f1e3e6e1253f92772fa6c2f4f939.patch - BuildRequires: asciidoctor BuildRequires: ca-certificates BuildRequires: cjson-devel From 313ca390c43d684dc0f761ae1bda46116ed79e7a Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Sun, 23 Mar 2025 11:04:34 +0100 Subject: [PATCH 58/85] Update to 4.6.0 --- sources | 4 ++-- weechat.spec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sources b/sources index c6a469e..88e35bd 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (weechat-4.5.2.tar.xz) = 5d1595b83ffc8045493e263adccd9ed81cc41299274864b18b94226deebfaa323222b571a297c66993cdbbddf1239b181f5332729a8dcf569117d214ce2b583b -SHA512 (weechat-4.5.2.tar.xz.asc) = 27fc61721507b371626ba67c733810cd0f4bcac390539b4f3ec5100dd18061f3dc57d1a0cbf0347d2e96f51a79c30e629520bbcce386c9489b108d51fa96c472 +SHA512 (weechat-4.6.0.tar.xz) = faecf9164e745d3b3c9964996bb03348ff423316b314d251c7a76d6119acab55248ce1b4c1db0cd2c8fb79138a45571c00acf3011b7a32eeeee1025d5a12a8bc +SHA512 (weechat-4.6.0.tar.xz.asc) = f7c08d4d068ff0e81f29b843aeaa60d3f7cde8f0eabe762ce74c1f413aa5a66539319e4bed4566132bf4e07c52cba2d65f975c364c21c5f400e05bf26d524663 diff --git a/weechat.spec b/weechat.spec index cdd3473..808736a 100644 --- a/weechat.spec +++ b/weechat.spec @@ -1,7 +1,7 @@ %global __provides_exclude_from ^%{_libdir}/weechat/plugins/.*$ Name: weechat -Version: 4.5.2 +Version: 4.6.0 Release: %autorelease Summary: Portable, fast, light and extensible IRC client Group: Applications/Communications From 5a8625ca7e5e511ab9efd98c653900183aa5c802 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Wed, 9 Apr 2025 14:45:54 +0200 Subject: [PATCH 59/85] Update to 4.6.1 --- sources | 4 ++-- weechat.spec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sources b/sources index 88e35bd..62c88a3 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (weechat-4.6.0.tar.xz) = faecf9164e745d3b3c9964996bb03348ff423316b314d251c7a76d6119acab55248ce1b4c1db0cd2c8fb79138a45571c00acf3011b7a32eeeee1025d5a12a8bc -SHA512 (weechat-4.6.0.tar.xz.asc) = f7c08d4d068ff0e81f29b843aeaa60d3f7cde8f0eabe762ce74c1f413aa5a66539319e4bed4566132bf4e07c52cba2d65f975c364c21c5f400e05bf26d524663 +SHA512 (weechat-4.6.1.tar.xz) = cee7a73f8320cc12a2ece156874402264c501e5bb6d386b7ba809adf560ace8a984f1d3af644d2abeb4cc41c3f6630fbec55327961c85ad2d20054e147749374 +SHA512 (weechat-4.6.1.tar.xz.asc) = c9c728c0206fed1c42bda26d6b8196434228e9352b49c38abaf212334d8b9c7f9edaf4a5b57abdd792aff951b77e316b22f42ba385b9ea4672ab4a12eb829578 diff --git a/weechat.spec b/weechat.spec index 808736a..eba0641 100644 --- a/weechat.spec +++ b/weechat.spec @@ -1,7 +1,7 @@ %global __provides_exclude_from ^%{_libdir}/weechat/plugins/.*$ Name: weechat -Version: 4.6.0 +Version: 4.6.1 Release: %autorelease Summary: Portable, fast, light and extensible IRC client Group: Applications/Communications From 2c21d68f4821cc4fa8079c15033356372bfce76d Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Fri, 18 Apr 2025 22:08:56 +0200 Subject: [PATCH 60/85] Update to 4.6.2 --- sources | 4 ++-- weechat.spec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sources b/sources index 62c88a3..28d80d2 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (weechat-4.6.1.tar.xz) = cee7a73f8320cc12a2ece156874402264c501e5bb6d386b7ba809adf560ace8a984f1d3af644d2abeb4cc41c3f6630fbec55327961c85ad2d20054e147749374 -SHA512 (weechat-4.6.1.tar.xz.asc) = c9c728c0206fed1c42bda26d6b8196434228e9352b49c38abaf212334d8b9c7f9edaf4a5b57abdd792aff951b77e316b22f42ba385b9ea4672ab4a12eb829578 +SHA512 (weechat-4.6.2.tar.xz) = 202c694b806ddcad97b7bc9899c4170d30f11aac85b30f8ea496bba5e9d6e0fa2453e4cefb71a80ac18d479b0e07918bc24ccd9de7c530d453f513dd1f79ae5a +SHA512 (weechat-4.6.2.tar.xz.asc) = 3646c5e0b909db8919b15272452b01a52944f0a67cad9c22dbd9fecf24227cff754b9ad960cd089851d69d21c112ba7886c66dcb5a617bc2e8c774a569b8e139 diff --git a/weechat.spec b/weechat.spec index eba0641..7a8e0f9 100644 --- a/weechat.spec +++ b/weechat.spec @@ -1,7 +1,7 @@ %global __provides_exclude_from ^%{_libdir}/weechat/plugins/.*$ Name: weechat -Version: 4.6.1 +Version: 4.6.2 Release: %autorelease Summary: Portable, fast, light and extensible IRC client Group: Applications/Communications From dd870bc9951b40bee308b5e5cc2a761c95577b81 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Sun, 11 May 2025 11:37:32 +0200 Subject: [PATCH 61/85] Update to 4.6.3 --- sources | 4 ++-- weechat.spec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sources b/sources index 28d80d2..18fa759 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (weechat-4.6.2.tar.xz) = 202c694b806ddcad97b7bc9899c4170d30f11aac85b30f8ea496bba5e9d6e0fa2453e4cefb71a80ac18d479b0e07918bc24ccd9de7c530d453f513dd1f79ae5a -SHA512 (weechat-4.6.2.tar.xz.asc) = 3646c5e0b909db8919b15272452b01a52944f0a67cad9c22dbd9fecf24227cff754b9ad960cd089851d69d21c112ba7886c66dcb5a617bc2e8c774a569b8e139 +SHA512 (weechat-4.6.3.tar.xz) = 60c3c7090e871fbdb0d4df4aed0f08faa8b669d5a442fb267942a58fd7151a73d1454bb54a54290b06cce71cc5dcbfb04b05efc85273c186a3168b09e39cd2bd +SHA512 (weechat-4.6.3.tar.xz.asc) = db936d36c6ef25f11e5acfc47fdd3bab5b82f89d770206ecc40740840859c7df15183d52225f8a76a573d9636a793628cb84ea95fa18b83b5dcd444fb3834949 diff --git a/weechat.spec b/weechat.spec index 7a8e0f9..6c7b785 100644 --- a/weechat.spec +++ b/weechat.spec @@ -1,7 +1,7 @@ %global __provides_exclude_from ^%{_libdir}/weechat/plugins/.*$ Name: weechat -Version: 4.6.2 +Version: 4.6.3 Release: %autorelease Summary: Portable, fast, light and extensible IRC client Group: Applications/Communications From c085568ef0a7fea8209a60bbeec1fff58dabab2c Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 2 Jun 2025 21:24:46 +0200 Subject: [PATCH 62/85] Rebuilt for Python 3.14 From ece849831785f5590a45c860599b13ced7bcfd34 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Mon, 7 Jul 2025 16:42:25 +0200 Subject: [PATCH 63/85] Perl 5.42 rebuild From 2dd1425631c894ed8bcf108ccecaf0fd4bfa1c2a Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Sat, 19 Jul 2025 12:17:16 +0200 Subject: [PATCH 64/85] Update to 4.7.0 --- sources | 4 ++-- weechat.spec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sources b/sources index 18fa759..ad178fc 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (weechat-4.6.3.tar.xz) = 60c3c7090e871fbdb0d4df4aed0f08faa8b669d5a442fb267942a58fd7151a73d1454bb54a54290b06cce71cc5dcbfb04b05efc85273c186a3168b09e39cd2bd -SHA512 (weechat-4.6.3.tar.xz.asc) = db936d36c6ef25f11e5acfc47fdd3bab5b82f89d770206ecc40740840859c7df15183d52225f8a76a573d9636a793628cb84ea95fa18b83b5dcd444fb3834949 +SHA512 (weechat-4.7.0.tar.xz) = 6ca31f0ee23dbc2cd47645c1b4e57f071908b00b1f01bee401e9fb49cc868b782285499d988f8f8ba5e1a92e31a9fa5ba0eeae153eeefc14ba20c420bfbeb0e6 +SHA512 (weechat-4.7.0.tar.xz.asc) = 1f912b911c748459438489e98a4df913b78a37e81238e49154717039d3c94566feb3a7bf207d95acb0c971af46dd7f31386ea7504e148455e4631b35bd9e3da6 diff --git a/weechat.spec b/weechat.spec index 6c7b785..b6b27e7 100644 --- a/weechat.spec +++ b/weechat.spec @@ -1,7 +1,7 @@ %global __provides_exclude_from ^%{_libdir}/weechat/plugins/.*$ Name: weechat -Version: 4.6.3 +Version: 4.7.0 Release: %autorelease Summary: Portable, fast, light and extensible IRC client Group: Applications/Communications From 6a2e2cbebcee29e83e8d8ff0bfe5b3b143aa1694 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 20:21:56 +0000 Subject: [PATCH 65/85] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 755eb84966ed9e39acd321930210d4b20250f336 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Sat, 16 Aug 2025 22:21:42 +0200 Subject: [PATCH 66/85] Update to 4.7.1 --- sources | 4 ++-- weechat.spec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sources b/sources index ad178fc..a91f258 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (weechat-4.7.0.tar.xz) = 6ca31f0ee23dbc2cd47645c1b4e57f071908b00b1f01bee401e9fb49cc868b782285499d988f8f8ba5e1a92e31a9fa5ba0eeae153eeefc14ba20c420bfbeb0e6 -SHA512 (weechat-4.7.0.tar.xz.asc) = 1f912b911c748459438489e98a4df913b78a37e81238e49154717039d3c94566feb3a7bf207d95acb0c971af46dd7f31386ea7504e148455e4631b35bd9e3da6 +SHA512 (weechat-4.7.1.tar.xz) = 39a98772c260abb831f70df3881942bcb65713c2f344acfd600c5d3828018e463793b1e1bac557a7726de43cec4161ba46a6927c9e615996a6353311c99c551f +SHA512 (weechat-4.7.1.tar.xz.asc) = 21af7411c1243ddaf21f9bcda8f0ce44e1aae1d6cb02a1bc23abb382da0a1169291ef549751f7c7f98f3fee58901d76fa5efb3d199a82e42d025542c15ade8d8 diff --git a/weechat.spec b/weechat.spec index b6b27e7..aa7500d 100644 --- a/weechat.spec +++ b/weechat.spec @@ -1,7 +1,7 @@ %global __provides_exclude_from ^%{_libdir}/weechat/plugins/.*$ Name: weechat -Version: 4.7.0 +Version: 4.7.1 Release: %autorelease Summary: Portable, fast, light and extensible IRC client Group: Applications/Communications From c71d759f2aa8583279659c1d272bf338ba32cb2d Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Sun, 23 Nov 2025 11:45:35 +0100 Subject: [PATCH 67/85] Update to 4.7.2 --- sources | 4 ++-- weechat.spec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sources b/sources index a91f258..930a6bb 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (weechat-4.7.1.tar.xz) = 39a98772c260abb831f70df3881942bcb65713c2f344acfd600c5d3828018e463793b1e1bac557a7726de43cec4161ba46a6927c9e615996a6353311c99c551f -SHA512 (weechat-4.7.1.tar.xz.asc) = 21af7411c1243ddaf21f9bcda8f0ce44e1aae1d6cb02a1bc23abb382da0a1169291ef549751f7c7f98f3fee58901d76fa5efb3d199a82e42d025542c15ade8d8 +SHA512 (weechat-4.7.2.tar.xz) = a56fe6c7eb05eadfde94780d5d636706e82726eb5bd80e76540025298c711f23d0193bd73bb324eb5255dbcdafbd91fc82e501ab782f5c13a795a9cbfb382435 +SHA512 (weechat-4.7.2.tar.xz.asc) = d65e479c784d1ca57624bad8df7d9639ac2b9f5ef63fe66acb2936f0605e81c5a46dba7194098c5d85d1172a020ffb5a1f084705328f6e7d29f06c5923baf59b diff --git a/weechat.spec b/weechat.spec index aa7500d..ec00294 100644 --- a/weechat.spec +++ b/weechat.spec @@ -1,7 +1,7 @@ %global __provides_exclude_from ^%{_libdir}/weechat/plugins/.*$ Name: weechat -Version: 4.7.1 +Version: 4.7.2 Release: %autorelease Summary: Portable, fast, light and extensible IRC client Group: Applications/Communications From 979b564bc383feaf1d92709a718fde21c6bb9158 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Sun, 30 Nov 2025 11:27:31 +0100 Subject: [PATCH 68/85] Update to 4.8.0 --- sources | 4 ++-- weechat.spec | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sources b/sources index 930a6bb..39ca876 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (weechat-4.7.2.tar.xz) = a56fe6c7eb05eadfde94780d5d636706e82726eb5bd80e76540025298c711f23d0193bd73bb324eb5255dbcdafbd91fc82e501ab782f5c13a795a9cbfb382435 -SHA512 (weechat-4.7.2.tar.xz.asc) = d65e479c784d1ca57624bad8df7d9639ac2b9f5ef63fe66acb2936f0605e81c5a46dba7194098c5d85d1172a020ffb5a1f084705328f6e7d29f06c5923baf59b +SHA512 (weechat-4.8.0.tar.xz) = f9490e704eaebc62d6e7cbb13d7b090bab693911663ee4420c8cc7fb8b2324480ca23243e93e0b91827d9011e2e933749c0e5932cc0a3aef2904a12a2104278e +SHA512 (weechat-4.8.0.tar.xz.asc) = 992e532fac4cfda5b3663eb22274887a149eea4cf329faa5688708dbab16816ca4d4f2e0ef2afed09db19e86ad50ac46a3002a0f0857acb7b09071a61c82dd5c diff --git a/weechat.spec b/weechat.spec index ec00294..84cca08 100644 --- a/weechat.spec +++ b/weechat.spec @@ -1,7 +1,7 @@ %global __provides_exclude_from ^%{_libdir}/weechat/plugins/.*$ Name: weechat -Version: 4.7.2 +Version: 4.8.0 Release: %autorelease Summary: Portable, fast, light and extensible IRC client Group: Applications/Communications @@ -18,7 +18,7 @@ BuildRequires: cjson-devel BuildRequires: cmake BuildRequires: cpputest-devel BuildRequires: docbook-style-xsl -BuildRequires: enchant-devel +BuildRequires: enchant2-devel BuildRequires: gcc BuildRequires: gettext BuildRequires: glibc-langpack-en From 8d129f91cc25823e3143331554abb4b10f801f8c Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Mon, 1 Dec 2025 19:51:12 +0100 Subject: [PATCH 69/85] Update to 4.8.1 --- sources | 4 ++-- weechat.spec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sources b/sources index 39ca876..a37ca2b 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (weechat-4.8.0.tar.xz) = f9490e704eaebc62d6e7cbb13d7b090bab693911663ee4420c8cc7fb8b2324480ca23243e93e0b91827d9011e2e933749c0e5932cc0a3aef2904a12a2104278e -SHA512 (weechat-4.8.0.tar.xz.asc) = 992e532fac4cfda5b3663eb22274887a149eea4cf329faa5688708dbab16816ca4d4f2e0ef2afed09db19e86ad50ac46a3002a0f0857acb7b09071a61c82dd5c +SHA512 (weechat-4.8.1.tar.xz) = 9582f7b248aec578ce7ea13e1ff86868e359d0c9a93cbc13041f98dcff92391ed3e994cad194857c6b4e60dfa40218c6d3a024624c26b581959600f3895459d1 +SHA512 (weechat-4.8.1.tar.xz.asc) = b44d4d8a16f01eb7a50d64a7267b2ad2e59646178aee0aff5cb37e5e33e75ce3c85c40befd04d25ab6018e8cfc876b01c285f4e93ef0938341ae76a787cc901f diff --git a/weechat.spec b/weechat.spec index 84cca08..6e7f930 100644 --- a/weechat.spec +++ b/weechat.spec @@ -1,7 +1,7 @@ %global __provides_exclude_from ^%{_libdir}/weechat/plugins/.*$ Name: weechat -Version: 4.8.0 +Version: 4.8.1 Release: %autorelease Summary: Portable, fast, light and extensible IRC client Group: Applications/Communications From 3672ba3b51b9aaae84ec4067561e6953e45054e1 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Thu, 8 Jan 2026 19:51:35 +0900 Subject: [PATCH 70/85] Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_4.0 From d6f132c881a36cff63d669afaa85615d59238035 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 17 Jan 2026 20:11:12 +0000 Subject: [PATCH 71/85] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild From 83c238c3177445bface2c2d68eb26124e8757f62 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Mon, 9 Mar 2026 15:54:56 +0100 Subject: [PATCH 72/85] Update to 4.8.2 --- sources | 4 ++-- weechat.spec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sources b/sources index a37ca2b..091a135 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (weechat-4.8.1.tar.xz) = 9582f7b248aec578ce7ea13e1ff86868e359d0c9a93cbc13041f98dcff92391ed3e994cad194857c6b4e60dfa40218c6d3a024624c26b581959600f3895459d1 -SHA512 (weechat-4.8.1.tar.xz.asc) = b44d4d8a16f01eb7a50d64a7267b2ad2e59646178aee0aff5cb37e5e33e75ce3c85c40befd04d25ab6018e8cfc876b01c285f4e93ef0938341ae76a787cc901f +SHA512 (weechat-4.8.2.tar.xz) = adf640c21f9e94fd7ec8cbdc8bd4c10d600b1d5277f0052e0546442a49d0704e82c951d457ffe46ec5cd3733c368b92a82629bb50b2b995d0ebdead4850d99ee +SHA512 (weechat-4.8.2.tar.xz.asc) = 29a5fe54d91fc5108bb392b3a0bfa219972f2aaead77e460708fa69af2d6d2653f0a1ce2d4fca56112dd05b0f8d07ed68d56d00d7271b0b7bdb47bcb8cf000e7 diff --git a/weechat.spec b/weechat.spec index 6e7f930..45bd8c3 100644 --- a/weechat.spec +++ b/weechat.spec @@ -1,7 +1,7 @@ %global __provides_exclude_from ^%{_libdir}/weechat/plugins/.*$ Name: weechat -Version: 4.8.1 +Version: 4.8.2 Release: %autorelease Summary: Portable, fast, light and extensible IRC client Group: Applications/Communications From 656a58879525933e11f2e8419dee9e71492dbf5d Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Sun, 29 Mar 2026 15:56:27 +0200 Subject: [PATCH 73/85] Drop unnecessary -DPREFIX cmake arg This is technically already done via the -DCMAKE_INSTALL_PREFIX. --- weechat.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/weechat.spec b/weechat.spec index 45bd8c3..85662c6 100644 --- a/weechat.spec +++ b/weechat.spec @@ -67,7 +67,6 @@ This package contains include files and pc file for weechat. %build %cmake \ - -DPREFIX=%{_prefix} \ -DLIBDIR=%{_libdir} \ -DENABLE_ENCHANT=ON \ -DENABLE_PHP=OFF \ From ba0dc6736757da45193b0b66091772c74b0a16e3 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Sun, 29 Mar 2026 18:02:58 +0200 Subject: [PATCH 74/85] Update to 4.9.0 --- ...3757d3a8702e5824a7fd3a8ad3686dcfc1ca.patch | 29 +++++++++++++++++++ sources | 4 +-- weechat.spec | 4 ++- 3 files changed, 34 insertions(+), 3 deletions(-) create mode 100644 4ed73757d3a8702e5824a7fd3a8ad3686dcfc1ca.patch diff --git a/4ed73757d3a8702e5824a7fd3a8ad3686dcfc1ca.patch b/4ed73757d3a8702e5824a7fd3a8ad3686dcfc1ca.patch new file mode 100644 index 0000000..3913282 --- /dev/null +++ b/4ed73757d3a8702e5824a7fd3a8ad3686dcfc1ca.patch @@ -0,0 +1,29 @@ +From 4ed73757d3a8702e5824a7fd3a8ad3686dcfc1ca Mon Sep 17 00:00:00 2001 +From: LuK1337 +Date: Sun, 29 Mar 2026 17:48:04 +0200 +Subject: [PATCH] cmake: enable position independent code (PIE) + +Fixes the following build error when compiling Fedora 45 RPM: + +/usr/bin/ld.bfd: tests/unit/CMakeFiles/tests.dir/tests.cpp.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE +/usr/bin/ld.bfd: failed to set dynamic section sizes: bad value +collect2: error: ld returned 1 exit status + +See: https://cmake.org/cmake/help/latest/prop_tgt/POSITION_INDEPENDENT_CODE.html + https://cmake.org/cmake/help/latest/policy/CMP0083.html +--- + CMakeLists.txt | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index f9e648a5ba2..479c20608b2 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -28,6 +28,7 @@ project(weechat C) + # CMake options + set(CMAKE_VERBOSE_MAKEFILE OFF) + set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake" "${CMAKE_MODULE_PATH}") ++set(CMAKE_POSITION_INDEPENDENT_CODE ON) + set(CMAKE_SKIP_RPATH ON) + + # compiler options diff --git a/sources b/sources index 091a135..b342af3 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (weechat-4.8.2.tar.xz) = adf640c21f9e94fd7ec8cbdc8bd4c10d600b1d5277f0052e0546442a49d0704e82c951d457ffe46ec5cd3733c368b92a82629bb50b2b995d0ebdead4850d99ee -SHA512 (weechat-4.8.2.tar.xz.asc) = 29a5fe54d91fc5108bb392b3a0bfa219972f2aaead77e460708fa69af2d6d2653f0a1ce2d4fca56112dd05b0f8d07ed68d56d00d7271b0b7bdb47bcb8cf000e7 +SHA512 (weechat-4.9.0.tar.xz) = 3c2dec099637b4f71bb1e4f6821e41a8157d2fe7b24565d1d7fd3fd393e3e1e3152a77cf6fa9493f8562871d449653e06b1bda40cdeb12bc238854f5476f22cd +SHA512 (weechat-4.9.0.tar.xz.asc) = f41b438bd945a19e4267f09de824b41962e0258eba03b76907cba5b01cb07baef59373b17737a8a0ab8e6fc36849994b84f400f685b18fc2f12578c6c2952193 diff --git a/weechat.spec b/weechat.spec index 85662c6..0459f77 100644 --- a/weechat.spec +++ b/weechat.spec @@ -1,7 +1,7 @@ %global __provides_exclude_from ^%{_libdir}/weechat/plugins/.*$ Name: weechat -Version: 4.8.2 +Version: 4.9.0 Release: %autorelease Summary: Portable, fast, light and extensible IRC client Group: Applications/Communications @@ -12,6 +12,8 @@ Source: https://weechat.org/files/src/%{name}-%{version}.tar.xz Source1: https://weechat.org/files/src/%{name}-%{version}.tar.xz.asc Source2: https://keys.openpgp.org/vks/v1/by-fingerprint/A9AB5AB778FA5C3522FD0378F82F4B16DEC408F8 +Patch: https://github.com/weechat/weechat/commit/4ed73757d3a8702e5824a7fd3a8ad3686dcfc1ca.patch + BuildRequires: asciidoctor BuildRequires: ca-certificates BuildRequires: cjson-devel From f022dee1272f7fb8be8ae9866445039ab227778e Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Sun, 31 May 2026 18:12:42 +0200 Subject: [PATCH 75/85] Update to 4.9.1 --- ...3757d3a8702e5824a7fd3a8ad3686dcfc1ca.patch | 29 ------------------- sources | 4 +-- weechat.spec | 4 +-- 3 files changed, 3 insertions(+), 34 deletions(-) delete mode 100644 4ed73757d3a8702e5824a7fd3a8ad3686dcfc1ca.patch diff --git a/4ed73757d3a8702e5824a7fd3a8ad3686dcfc1ca.patch b/4ed73757d3a8702e5824a7fd3a8ad3686dcfc1ca.patch deleted file mode 100644 index 3913282..0000000 --- a/4ed73757d3a8702e5824a7fd3a8ad3686dcfc1ca.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 4ed73757d3a8702e5824a7fd3a8ad3686dcfc1ca Mon Sep 17 00:00:00 2001 -From: LuK1337 -Date: Sun, 29 Mar 2026 17:48:04 +0200 -Subject: [PATCH] cmake: enable position independent code (PIE) - -Fixes the following build error when compiling Fedora 45 RPM: - -/usr/bin/ld.bfd: tests/unit/CMakeFiles/tests.dir/tests.cpp.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE -/usr/bin/ld.bfd: failed to set dynamic section sizes: bad value -collect2: error: ld returned 1 exit status - -See: https://cmake.org/cmake/help/latest/prop_tgt/POSITION_INDEPENDENT_CODE.html - https://cmake.org/cmake/help/latest/policy/CMP0083.html ---- - CMakeLists.txt | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index f9e648a5ba2..479c20608b2 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -28,6 +28,7 @@ project(weechat C) - # CMake options - set(CMAKE_VERBOSE_MAKEFILE OFF) - set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake" "${CMAKE_MODULE_PATH}") -+set(CMAKE_POSITION_INDEPENDENT_CODE ON) - set(CMAKE_SKIP_RPATH ON) - - # compiler options diff --git a/sources b/sources index b342af3..6b6d1e0 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (weechat-4.9.0.tar.xz) = 3c2dec099637b4f71bb1e4f6821e41a8157d2fe7b24565d1d7fd3fd393e3e1e3152a77cf6fa9493f8562871d449653e06b1bda40cdeb12bc238854f5476f22cd -SHA512 (weechat-4.9.0.tar.xz.asc) = f41b438bd945a19e4267f09de824b41962e0258eba03b76907cba5b01cb07baef59373b17737a8a0ab8e6fc36849994b84f400f685b18fc2f12578c6c2952193 +SHA512 (weechat-4.9.1.tar.xz) = 3f773cfab52205162cef13f6f43336d88231cadd1a856b5aea3cf7395761aa7c701e8cecfae1d2d7997f77dff651c2d44e0a55cfd78f74b2d4629ce4a05d5489 +SHA512 (weechat-4.9.1.tar.xz.asc) = 9087b3caaa6b94ae81c92bb0464b7552ac6b3735d1987cdc1590400ef42384e295685e630662173103c3d2ce4c2b288f2b02c8ae76005f2fa41e9cd2252bdb16 diff --git a/weechat.spec b/weechat.spec index 0459f77..4e8288e 100644 --- a/weechat.spec +++ b/weechat.spec @@ -1,7 +1,7 @@ %global __provides_exclude_from ^%{_libdir}/weechat/plugins/.*$ Name: weechat -Version: 4.9.0 +Version: 4.9.1 Release: %autorelease Summary: Portable, fast, light and extensible IRC client Group: Applications/Communications @@ -12,8 +12,6 @@ Source: https://weechat.org/files/src/%{name}-%{version}.tar.xz Source1: https://weechat.org/files/src/%{name}-%{version}.tar.xz.asc Source2: https://keys.openpgp.org/vks/v1/by-fingerprint/A9AB5AB778FA5C3522FD0378F82F4B16DEC408F8 -Patch: https://github.com/weechat/weechat/commit/4ed73757d3a8702e5824a7fd3a8ad3686dcfc1ca.patch - BuildRequires: asciidoctor BuildRequires: ca-certificates BuildRequires: cjson-devel From 0d98fd8362d0996bf3ac19dd5dff0cb7999dbdc0 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Wed, 3 Jun 2026 21:19:46 +0200 Subject: [PATCH 76/85] Rebuilt for Python 3.15 From 0959b32972ca55bf39597430a92f69cb88cf42df Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Sun, 7 Jun 2026 12:10:27 +0200 Subject: [PATCH 77/85] Update to 4.9.2 --- sources | 4 ++-- weechat.spec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sources b/sources index 6b6d1e0..9497bfb 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (weechat-4.9.1.tar.xz) = 3f773cfab52205162cef13f6f43336d88231cadd1a856b5aea3cf7395761aa7c701e8cecfae1d2d7997f77dff651c2d44e0a55cfd78f74b2d4629ce4a05d5489 -SHA512 (weechat-4.9.1.tar.xz.asc) = 9087b3caaa6b94ae81c92bb0464b7552ac6b3735d1987cdc1590400ef42384e295685e630662173103c3d2ce4c2b288f2b02c8ae76005f2fa41e9cd2252bdb16 +SHA512 (weechat-4.9.2.tar.xz) = 246bdaff8e0aa4c55121b3a6e2a2c9c265a4e21bda247cf4304d0587e784025e89e7ac18014f9252949c5505737842df919e3585b698912dd60b8dd0ce4ee641 +SHA512 (weechat-4.9.2.tar.xz.asc) = c5b8c56ef86a7c3644bdd053c92658f0e1bec93f3cae50ef5dc8e2c01c1114107f11ca2a775c8acd41044be6a0b093880672734ee09fdbcdbcfe4a7487d529d3 diff --git a/weechat.spec b/weechat.spec index 4e8288e..b899f45 100644 --- a/weechat.spec +++ b/weechat.spec @@ -1,7 +1,7 @@ %global __provides_exclude_from ^%{_libdir}/weechat/plugins/.*$ Name: weechat -Version: 4.9.1 +Version: 4.9.2 Release: %autorelease Summary: Portable, fast, light and extensible IRC client Group: Applications/Communications From 7b9ea9886ce01a4039e80b9a8dea672f7baa121e Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Sun, 5 Jul 2026 17:36:00 +0200 Subject: [PATCH 78/85] Update to 4.9.3 --- sources | 4 ++-- weechat.spec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sources b/sources index 9497bfb..f058662 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (weechat-4.9.2.tar.xz) = 246bdaff8e0aa4c55121b3a6e2a2c9c265a4e21bda247cf4304d0587e784025e89e7ac18014f9252949c5505737842df919e3585b698912dd60b8dd0ce4ee641 -SHA512 (weechat-4.9.2.tar.xz.asc) = c5b8c56ef86a7c3644bdd053c92658f0e1bec93f3cae50ef5dc8e2c01c1114107f11ca2a775c8acd41044be6a0b093880672734ee09fdbcdbcfe4a7487d529d3 +SHA512 (weechat-4.9.3.tar.xz) = 4829a1cb696813359fd66d0d82a64308d42c8a35b29bee7d7991fcb51af1cc6c4f9fb01d3af4ef7b3cde24f58503a885489c1f0bf73e197c46a5d72fc918165e +SHA512 (weechat-4.9.3.tar.xz.asc) = 4a6c0730b9a40e713803ca00acbdf99cea588257d562e0f3f02d16315102153ac012de8a59a7616f81f691d616524c78fd54c648d06e48d7d214f2b61ff783cf diff --git a/weechat.spec b/weechat.spec index b899f45..b8948f7 100644 --- a/weechat.spec +++ b/weechat.spec @@ -1,7 +1,7 @@ %global __provides_exclude_from ^%{_libdir}/weechat/plugins/.*$ Name: weechat -Version: 4.9.2 +Version: 4.9.3 Release: %autorelease Summary: Portable, fast, light and extensible IRC client Group: Applications/Communications From 3345c1effa64fa36064d0667cc1d62e1546e7a55 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jul 2026 08:45:30 +0000 Subject: [PATCH 79/85] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild From c92b4c02c21ef9054c7c7a336da956dc6f58dccf Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Sun, 19 Jul 2026 15:51:36 +0200 Subject: [PATCH 80/85] Update to 4.9.4 --- sources | 4 ++-- weechat.spec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sources b/sources index f058662..5376320 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (weechat-4.9.3.tar.xz) = 4829a1cb696813359fd66d0d82a64308d42c8a35b29bee7d7991fcb51af1cc6c4f9fb01d3af4ef7b3cde24f58503a885489c1f0bf73e197c46a5d72fc918165e -SHA512 (weechat-4.9.3.tar.xz.asc) = 4a6c0730b9a40e713803ca00acbdf99cea588257d562e0f3f02d16315102153ac012de8a59a7616f81f691d616524c78fd54c648d06e48d7d214f2b61ff783cf +SHA512 (weechat-4.9.4.tar.xz) = 754b8a8e99a01b0f1a161b11916acede3eb50f5825023ae511d4b87fa72be207f2ebcdc388556b46e9600c610fee7663c054802e0fca92ef7540b9f56f637c71 +SHA512 (weechat-4.9.4.tar.xz.asc) = f20fbf6075f62be94b57a762a821400e49e9fb55023f1463c2f9414ca6a4d411b705fedde7ad6337c96dbc9fc7e04693140522d81edd4183cfff08bd97ebd337 diff --git a/weechat.spec b/weechat.spec index b8948f7..aedbb30 100644 --- a/weechat.spec +++ b/weechat.spec @@ -1,7 +1,7 @@ %global __provides_exclude_from ^%{_libdir}/weechat/plugins/.*$ Name: weechat -Version: 4.9.3 +Version: 4.9.4 Release: %autorelease Summary: Portable, fast, light and extensible IRC client Group: Applications/Communications From 65d9493e21fa485ebf7744eb89486e5bde58b569 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Wed, 22 Jul 2026 10:15:43 +0200 Subject: [PATCH 81/85] Rebuilt for Python 3.15.0b4 ABI change From 7c0dce3d6402c5d87284ea659ea4427e490c8cd6 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Thu, 23 Jul 2026 17:34:56 +0200 Subject: [PATCH 82/85] Perl 5.44 rebuild From d9be79b453f11f299c847849f82e0860b80af94a Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 24 Jul 2026 12:56:51 +0200 Subject: [PATCH 83/85] Rebuilt for Python 3.15.0b4 ABI change From 7b3122737c2c5650fab3c5dde19eebb26a84c3b9 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Sun, 26 Jul 2026 19:27:41 +0200 Subject: [PATCH 84/85] Update to 4.9.5 --- sources | 4 ++-- weechat.spec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sources b/sources index 5376320..1b722b6 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (weechat-4.9.4.tar.xz) = 754b8a8e99a01b0f1a161b11916acede3eb50f5825023ae511d4b87fa72be207f2ebcdc388556b46e9600c610fee7663c054802e0fca92ef7540b9f56f637c71 -SHA512 (weechat-4.9.4.tar.xz.asc) = f20fbf6075f62be94b57a762a821400e49e9fb55023f1463c2f9414ca6a4d411b705fedde7ad6337c96dbc9fc7e04693140522d81edd4183cfff08bd97ebd337 +SHA512 (weechat-4.9.5.tar.xz) = 2370587fed19873ba22f50e947eaa7dbdd8d31fca09f425213b2a8e72cbc4eafcb51bdc7602c409e2eb63feb219c7e3b00152c04d53d4bf9418b33785f788e41 +SHA512 (weechat-4.9.5.tar.xz.asc) = 109d9bbe61b184d9a844bff30dea83c3dd4d71bec574a6e09dd30f47d8049fde979e57f8e548c85116c43c95319b53728c8f4c5f8b6936e1669e75658dca1e05 diff --git a/weechat.spec b/weechat.spec index aedbb30..e90ab86 100644 --- a/weechat.spec +++ b/weechat.spec @@ -1,7 +1,7 @@ %global __provides_exclude_from ^%{_libdir}/weechat/plugins/.*$ Name: weechat -Version: 4.9.4 +Version: 4.9.5 Release: %autorelease Summary: Portable, fast, light and extensible IRC client Group: Applications/Communications From 626f673e8d725fe375e1be2a5e01e078a2f728f9 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Sun, 2 Aug 2026 11:49:00 +0200 Subject: [PATCH 85/85] Update to 4.10.0 --- sources | 4 ++-- weechat.spec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sources b/sources index 1b722b6..6aaec6e 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (weechat-4.9.5.tar.xz) = 2370587fed19873ba22f50e947eaa7dbdd8d31fca09f425213b2a8e72cbc4eafcb51bdc7602c409e2eb63feb219c7e3b00152c04d53d4bf9418b33785f788e41 -SHA512 (weechat-4.9.5.tar.xz.asc) = 109d9bbe61b184d9a844bff30dea83c3dd4d71bec574a6e09dd30f47d8049fde979e57f8e548c85116c43c95319b53728c8f4c5f8b6936e1669e75658dca1e05 +SHA512 (weechat-4.10.0.tar.xz) = bba7597bbc83ffe6a4bf59dfbdb03d622a1f0c023bc27f1d417610e2ab84dea7ca68e03b0a6de276464bc35e69ff8b733de3f965142938423db978a2abdf98ae +SHA512 (weechat-4.10.0.tar.xz.asc) = 8a8dd8e18e3a27c785b54c2ad573e494d1d49b9f98268e208e34767b4ef702c045c4723ddf03527c33088aa81778cddab02a9b8ded3c8fb33cdad72484b44717 diff --git a/weechat.spec b/weechat.spec index e90ab86..d1653d7 100644 --- a/weechat.spec +++ b/weechat.spec @@ -1,7 +1,7 @@ %global __provides_exclude_from ^%{_libdir}/weechat/plugins/.*$ Name: weechat -Version: 4.9.5 +Version: 4.10.0 Release: %autorelease Summary: Portable, fast, light and extensible IRC client Group: Applications/Communications