10 Commits

Author SHA256 Message Date
6f5d73f1c3 Accepting request 1297774 from network:messaging:matrix
- Add workaround_libcurl8.15_issues.patch again as libcurl 8.15
  broke it again

OBS-URL: https://build.opensuse.org/request/show/1297774
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/coeurl?expand=0&rev=5
2025-08-06 12:33:41 +00:00
fd5effea2a - Add workaround_libcurl8.15_issues.patch again as libcurl 8.15
broke it again

OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/coeurl?expand=0&rev=17
2025-08-05 15:00:44 +00:00
e7d282565e Accepting request 1282729 from network:messaging:matrix
- Remove workaround_libcurl8.13_issues.patch as libcurl 8.14
  has been fixed

OBS-URL: https://build.opensuse.org/request/show/1282729
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/coeurl?expand=0&rev=4
2025-06-04 18:29:35 +00:00
8567b5634d rm patch
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/coeurl?expand=0&rev=15
2025-06-04 11:47:34 +00:00
c1cfd1d4c1 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/coeurl?expand=0&rev=12 2025-06-04 11:37:14 +00:00
708ac8b2b3 rm link
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/coeurl?expand=0&rev=11
2025-06-04 11:20:23 +00:00
528f0a52df OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/coeurl?expand=0&rev=10 2025-06-04 10:22:02 +00:00
fdc68a7898 - Remove workaround_libcurl8.13_issues.patch as libcurl 8.14
has been fixed

OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/coeurl?expand=0&rev=9
2025-06-04 10:20:42 +00:00
3443a6a52e Accepting request 1277229 from network:messaging:matrix
- Quickfix to get nheko working again post libcurl 8.13:
  * Add workaround_libcurl8.13_issues.patch

OBS-URL: https://build.opensuse.org/request/show/1277229
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/coeurl?expand=0&rev=3
2025-05-14 15:01:09 +00:00
ebca5fe088 - Quickfix to get nheko working again post libcurl 8.13:
* Add workaround_libcurl8.13_issues.patch

OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/coeurl?expand=0&rev=8
2025-05-13 16:37:30 +00:00
3 changed files with 42 additions and 7 deletions

View File

@@ -1,3 +1,21 @@
-------------------------------------------------------------------
Tue Aug 5 15:00:02 UTC 2025 - Dominik Heidler <dheidler@suse.de>
- Add workaround_libcurl8.15_issues.patch again as libcurl 8.15
broke it again
-------------------------------------------------------------------
Wed Jun 4 10:19:24 UTC 2025 - Dominik Heidler <dheidler@suse.de>
- Remove workaround_libcurl8.13_issues.patch as libcurl 8.14
has been fixed
-------------------------------------------------------------------
Tue May 13 16:36:25 UTC 2025 - Dominik Heidler <dheidler@suse.de>
- Quickfix to get nheko working again post libcurl 8.13:
* Add workaround_libcurl8.13_issues.patch
-------------------------------------------------------------------
Thu Mar 27 00:16:30 UTC 2025 - Dominik Heidler <dheidler@suse.de>

View File

@@ -1,7 +1,9 @@
#
# spec file for package coeurl
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,6 +17,7 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%global libname libcoeurl0_3
Name: coeurl
Version: 0.3.1
@@ -23,18 +26,19 @@ Summary: A simple async wrapper around CURL for C++
License: MIT
URL: https://nheko.im/nheko-reborn/coeurl
Source: %{url}/-/archive/v%{version}/%{name}-v%{version}.tar.gz
Patch: workaround_libcurl8.15_issues.patch
BuildRequires: meson
%if 0%{?suse_version} < 1600
BuildRequires: gcc12
BuildRequires: gcc12-c++
BuildRequires: gcc12
BuildRequires: gcc12-c++
%else
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: gcc
BuildRequires: gcc-c++
%endif
BuildRequires: cmake >= 3.12
BuildRequires: meson >= 0.55
BuildRequires: ((pkgconfig(libcurl) >= 7.77.0 and pkgconfig(libcurl) < 8.13.0) or pkgconfig(libcurl) >= 8.14.0)
BuildRequires: pkgconfig(fmt) >= 10.0.0
BuildRequires: pkgconfig(libcurl) >= 7.77.0
BuildRequires: pkgconfig(libevent) >= 2.1.12
BuildRequires: pkgconfig(spdlog) >= 1.14.0
@@ -86,4 +90,3 @@ export CXX=g++-12
%{_libdir}/libcoeurl.so.*
%changelog

View File

@@ -0,0 +1,14 @@
diff -ru coeurl-v0.3.1/lib/request.cpp ../../openSUSE:Factory/coeurl/coeurl-v0.3.1/lib/request.cpp
--- coeurl-v0.3.1/lib/request.cpp 2024-06-02 21:32:43.000000000 +0200
+++ coeurl-v0.3.1/lib/request.cpp 2025-05-13 18:31:06.974573432 +0200
@@ -133,8 +133,8 @@
#endif
// enable altsvc support, which allows us to switch to http3
- curl_easy_setopt(this->easy, CURLOPT_ALTSVC_CTRL, CURLALTSVC_H1 | CURLALTSVC_H2 | CURLALTSVC_H3);
- curl_easy_setopt(this->easy, CURLOPT_ALTSVC, client->alt_svc_cache_path().c_str());
+ //curl_easy_setopt(this->easy, CURLOPT_ALTSVC_CTRL, CURLALTSVC_H1 | CURLALTSVC_H2 | CURLALTSVC_H3);
+ //curl_easy_setopt(this->easy, CURLOPT_ALTSVC, client->alt_svc_cache_path().c_str());
// default to all supported encodings
curl_easy_setopt(this->easy, CURLOPT_ACCEPT_ENCODING, "");