Compare commits
10 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 6f5d73f1c3 | |||
| fd5effea2a | |||
| e7d282565e | |||
| 8567b5634d | |||
| c1cfd1d4c1 | |||
| 708ac8b2b3 | |||
| 528f0a52df | |||
| fdc68a7898 | |||
| 3443a6a52e | |||
| ebca5fe088 |
@@ -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>
|
||||
|
||||
|
||||
17
coeurl.spec
17
coeurl.spec
@@ -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
|
||||
|
||||
|
||||
14
workaround_libcurl8.15_issues.patch
Normal file
14
workaround_libcurl8.15_issues.patch
Normal 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, "");
|
||||
Reference in New Issue
Block a user