1 |
commit: 2169715304bb55399f1418d5851cd4bd5352db1e |
2 |
Author: Adrian Schollmeyer <nex+b-g-o <AT> nexadn <DOT> de> |
3 |
AuthorDate: Sun Feb 27 12:29:00 2022 +0000 |
4 |
Commit: Adrian Schollmeyer <nex+b-g-o <AT> nexadn <DOT> de> |
5 |
CommitDate: Sun Feb 27 12:32:49 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=21697153 |
7 |
|
8 |
net-libs/ixwebsocket: Bump to 11.3.3, add subslot |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Adrian Schollmeyer <nex+b-g-o <AT> nexadn.de> |
12 |
|
13 |
net-libs/ixwebsocket/Manifest | 2 +- |
14 |
.../files/ixwebsocket-11.2.8-remove-deflate.patch | 19 -------- |
15 |
.../ixwebsocket-11.2.8-use-gnuinstalldirs.patch | 34 ------------- |
16 |
.../files/ixwebsocket-11.3.2-remove-deflate.patch | 19 -------- |
17 |
.../ixwebsocket-11.3.2-remove-network-tests.patch | 28 ----------- |
18 |
.../ixwebsocket-11.3.2-use-system-spdlog.patch | 55 ---------------------- |
19 |
... ixwebsocket-11.3.3-remove-network-tests.patch} | 4 +- |
20 |
... => ixwebsocket-11.3.3-use-system-spdlog.patch} | 0 |
21 |
...ket-11.3.2.ebuild => ixwebsocket-11.3.3.ebuild} | 6 +-- |
22 |
9 files changed, 5 insertions(+), 162 deletions(-) |
23 |
|
24 |
diff --git a/net-libs/ixwebsocket/Manifest b/net-libs/ixwebsocket/Manifest |
25 |
index 75cedd7f5..1bdbe5089 100644 |
26 |
--- a/net-libs/ixwebsocket/Manifest |
27 |
+++ b/net-libs/ixwebsocket/Manifest |
28 |
@@ -1 +1 @@ |
29 |
-DIST ixwebsocket-11.3.2.tar.gz 600266 BLAKE2B 21051ddbea29fa1cb7a2e4a04426b9bc2e518e7ab93bb866005948e9726b78cb45ce5a2f672c2924affc5e897e5e37e6d2f62fdf7d07d6675888352b9dd0c5ba SHA512 2ee25575d3315a64eef370df87f431e055293105cc6e784c4a776c2c5c5ec45f6c9d39e900fdcea1ad6b4a26b55581600250a9b1c300ce2eb8eebd670e6fda26 |
30 |
+DIST ixwebsocket-11.3.3.tar.gz 631670 BLAKE2B 77e88fd107b5670ff70ff06e1cb6c32145ce709008fc2c51abf7c05d0b5f6e02524846261a5b3252b1e5d95e55545aa8a3d9ae663675f91ead709bf133e48d3e SHA512 3831794450bd9e5c08251301afae83ed0ffdb5d1d2e1db40d02d09545e0a78f8ea9d637210181211dff113b78dbb9a4ebaa26faef28f8f65a340321067fa3a8f |
31 |
|
32 |
diff --git a/net-libs/ixwebsocket/files/ixwebsocket-11.2.8-remove-deflate.patch b/net-libs/ixwebsocket/files/ixwebsocket-11.2.8-remove-deflate.patch |
33 |
deleted file mode 100644 |
34 |
index fffedc6b7..000000000 |
35 |
--- a/net-libs/ixwebsocket/files/ixwebsocket-11.2.8-remove-deflate.patch |
36 |
+++ /dev/null |
37 |
@@ -1,19 +0,0 @@ |
38 |
-diff --git a/CMakeLists.txt b/CMakeLists.txt |
39 |
-index 77d2f6b..665c35f 100644 |
40 |
---- a/CMakeLists.txt |
41 |
-+++ b/CMakeLists.txt |
42 |
-@@ -206,14 +206,6 @@ if (USE_ZLIB) |
43 |
- target_compile_definitions(ixwebsocket PUBLIC IXWEBSOCKET_USE_ZLIB) |
44 |
- endif() |
45 |
- |
46 |
--# brew install libdeflate |
47 |
--find_package(Deflate) |
48 |
--if (DEFLATE_FOUND) |
49 |
-- include_directories(${DEFLATE_INCLUDE_DIRS}) |
50 |
-- target_link_libraries(ixwebsocket ${DEFLATE_LIBRARIES}) |
51 |
-- target_compile_definitions(ixwebsocket PUBLIC IXWEBSOCKET_USE_DEFLATE) |
52 |
--endif() |
53 |
-- |
54 |
- if (WIN32) |
55 |
- target_link_libraries(ixwebsocket wsock32 ws2_32 shlwapi) |
56 |
- add_definitions(-D_CRT_SECURE_NO_WARNINGS) |
57 |
|
58 |
diff --git a/net-libs/ixwebsocket/files/ixwebsocket-11.2.8-use-gnuinstalldirs.patch b/net-libs/ixwebsocket/files/ixwebsocket-11.2.8-use-gnuinstalldirs.patch |
59 |
deleted file mode 100644 |
60 |
index a7e2b6ba8..000000000 |
61 |
--- a/net-libs/ixwebsocket/files/ixwebsocket-11.2.8-use-gnuinstalldirs.patch |
62 |
+++ /dev/null |
63 |
@@ -1,34 +0,0 @@ |
64 |
-diff --git a/CMakeLists.txt b/CMakeLists.txt |
65 |
-index 77d2f6b..4c64106 100644 |
66 |
---- a/CMakeLists.txt |
67 |
-+++ b/CMakeLists.txt |
68 |
-@@ -238,23 +238,25 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "MSVC") |
69 |
- target_compile_options(ixwebsocket PRIVATE /MP) |
70 |
- endif() |
71 |
- |
72 |
-+include(GNUInstallDirs) |
73 |
-+ |
74 |
- target_include_directories(ixwebsocket PUBLIC |
75 |
- $<BUILD_INTERFACE:${IXWEBSOCKET_INCLUDE_DIRS}/> |
76 |
-- $<INSTALL_INTERFACE:include/ixwebsocket> |
77 |
-+ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/ixwebsocket> |
78 |
- ) |
79 |
- |
80 |
- set_target_properties(ixwebsocket PROPERTIES PUBLIC_HEADER "${IXWEBSOCKET_HEADERS}") |
81 |
- |
82 |
- install(TARGETS ixwebsocket |
83 |
- EXPORT ixwebsocket |
84 |
-- ARCHIVE DESTINATION lib |
85 |
-- PUBLIC_HEADER DESTINATION include/ixwebsocket/ |
86 |
-+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
87 |
-+ PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/ixwebsocket/ |
88 |
- ) |
89 |
- |
90 |
- install(EXPORT ixwebsocket |
91 |
- FILE ixwebsocket-config.cmake |
92 |
- NAMESPACE ixwebsocket:: |
93 |
-- DESTINATION lib/cmake/ixwebsocket) |
94 |
-+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/ixwebsocket) |
95 |
- |
96 |
- if (USE_WS OR USE_TEST) |
97 |
- include(FetchContent) |
98 |
|
99 |
diff --git a/net-libs/ixwebsocket/files/ixwebsocket-11.3.2-remove-deflate.patch b/net-libs/ixwebsocket/files/ixwebsocket-11.3.2-remove-deflate.patch |
100 |
deleted file mode 100644 |
101 |
index fffedc6b7..000000000 |
102 |
--- a/net-libs/ixwebsocket/files/ixwebsocket-11.3.2-remove-deflate.patch |
103 |
+++ /dev/null |
104 |
@@ -1,19 +0,0 @@ |
105 |
-diff --git a/CMakeLists.txt b/CMakeLists.txt |
106 |
-index 77d2f6b..665c35f 100644 |
107 |
---- a/CMakeLists.txt |
108 |
-+++ b/CMakeLists.txt |
109 |
-@@ -206,14 +206,6 @@ if (USE_ZLIB) |
110 |
- target_compile_definitions(ixwebsocket PUBLIC IXWEBSOCKET_USE_ZLIB) |
111 |
- endif() |
112 |
- |
113 |
--# brew install libdeflate |
114 |
--find_package(Deflate) |
115 |
--if (DEFLATE_FOUND) |
116 |
-- include_directories(${DEFLATE_INCLUDE_DIRS}) |
117 |
-- target_link_libraries(ixwebsocket ${DEFLATE_LIBRARIES}) |
118 |
-- target_compile_definitions(ixwebsocket PUBLIC IXWEBSOCKET_USE_DEFLATE) |
119 |
--endif() |
120 |
-- |
121 |
- if (WIN32) |
122 |
- target_link_libraries(ixwebsocket wsock32 ws2_32 shlwapi) |
123 |
- add_definitions(-D_CRT_SECURE_NO_WARNINGS) |
124 |
|
125 |
diff --git a/net-libs/ixwebsocket/files/ixwebsocket-11.3.2-remove-network-tests.patch b/net-libs/ixwebsocket/files/ixwebsocket-11.3.2-remove-network-tests.patch |
126 |
deleted file mode 100644 |
127 |
index a2d1360cb..000000000 |
128 |
--- a/net-libs/ixwebsocket/files/ixwebsocket-11.3.2-remove-network-tests.patch |
129 |
+++ /dev/null |
130 |
@@ -1,28 +0,0 @@ |
131 |
-diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt |
132 |
-index 661aebb..bab73c7 100644 |
133 |
---- a/test/CMakeLists.txt |
134 |
-+++ b/test/CMakeLists.txt |
135 |
-@@ -11,15 +11,12 @@ option(USE_TLS "Add TLS support" ON) |
136 |
- |
137 |
- # Shared sources |
138 |
- set (TEST_TARGET_NAMES |
139 |
-- IXSocketTest |
140 |
- IXSocketConnectTest |
141 |
- IXWebSocketServerTest |
142 |
- IXWebSocketTestConnectionDisconnection |
143 |
- IXUrlParserTest |
144 |
-- IXHttpClientTest |
145 |
- IXUnityBuildsTest |
146 |
- IXHttpTest |
147 |
-- IXDNSLookupTest |
148 |
- IXWebSocketSubProtocolTest |
149 |
- # IXWebSocketBroadcastTest ## FIXME was depending on cobra / take a broadcast server from ws |
150 |
- IXStrCaseCompareTest |
151 |
-@@ -33,7 +30,6 @@ if (UNIX) |
152 |
- |
153 |
- # Fail on Windows in CI probably because the pathing is wrong and |
154 |
- # some resource files cannot be found |
155 |
-- IXHttpServerTest |
156 |
- IXWebSocketChatTest |
157 |
- ) |
158 |
- endif() |
159 |
|
160 |
diff --git a/net-libs/ixwebsocket/files/ixwebsocket-11.3.2-use-system-spdlog.patch b/net-libs/ixwebsocket/files/ixwebsocket-11.3.2-use-system-spdlog.patch |
161 |
deleted file mode 100644 |
162 |
index ed329b41d..000000000 |
163 |
--- a/net-libs/ixwebsocket/files/ixwebsocket-11.3.2-use-system-spdlog.patch |
164 |
+++ /dev/null |
165 |
@@ -1,55 +0,0 @@ |
166 |
-diff --git a/CMakeLists.txt b/CMakeLists.txt |
167 |
-index 77d2f6b..86c7172 100644 |
168 |
---- a/CMakeLists.txt |
169 |
-+++ b/CMakeLists.txt |
170 |
-@@ -257,13 +257,9 @@ install(EXPORT ixwebsocket |
171 |
- DESTINATION lib/cmake/ixwebsocket) |
172 |
- |
173 |
- if (USE_WS OR USE_TEST) |
174 |
-- include(FetchContent) |
175 |
-- FetchContent_Declare(spdlog |
176 |
-- GIT_REPOSITORY "https://github.com/gabime/spdlog" |
177 |
-- GIT_TAG "v1.8.0" |
178 |
-- GIT_SHALLOW 1) |
179 |
-- |
180 |
-- FetchContent_MakeAvailable(spdlog) |
181 |
-+ find_package(spdlog REQUIRED) |
182 |
-+ find_package(fmt REQUIRED) |
183 |
-+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DSPDLOG_FMT_EXTERNAL") |
184 |
- |
185 |
- if (USE_WS) |
186 |
- add_subdirectory(ws) |
187 |
-diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt |
188 |
-index 661aebb..ab0c92e 100644 |
189 |
---- a/test/CMakeLists.txt |
190 |
-+++ b/test/CMakeLists.txt |
191 |
-@@ -66,7 +66,7 @@ target_include_directories(ixwebsocket_test PRIVATE |
192 |
- ../third_party |
193 |
- ) |
194 |
- target_link_libraries(ixwebsocket_test ixwebsocket) |
195 |
--target_link_libraries(ixwebsocket_test spdlog) |
196 |
-+target_link_libraries(ixwebsocket_test spdlog::spdlog fmt::fmt) |
197 |
- |
198 |
- foreach(TEST_TARGET_NAME ${TEST_TARGET_NAMES}) |
199 |
- add_executable(${TEST_TARGET_NAME} |
200 |
-@@ -89,7 +89,7 @@ foreach(TEST_TARGET_NAME ${TEST_TARGET_NAMES}) |
201 |
- target_link_libraries(${TEST_TARGET_NAME} ixwebsocket_test) |
202 |
- target_link_libraries(${TEST_TARGET_NAME} ixwebsocket) |
203 |
- |
204 |
-- target_link_libraries(${TEST_TARGET_NAME} spdlog) |
205 |
-+ target_link_libraries(${TEST_TARGET_NAME} spdlog fmt) |
206 |
- |
207 |
- add_test(NAME ${TEST_TARGET_NAME} |
208 |
- COMMAND ${TEST_TARGET_NAME} |
209 |
-diff --git a/ws/CMakeLists.txt b/ws/CMakeLists.txt |
210 |
-index 98f15de..10834e5 100644 |
211 |
---- a/ws/CMakeLists.txt |
212 |
-+++ b/ws/CMakeLists.txt |
213 |
-@@ -31,6 +31,6 @@ add_executable(ws |
214 |
- # library with the most dependencies come first |
215 |
- target_link_libraries(ws ixwebsocket) |
216 |
- |
217 |
--target_link_libraries(ws spdlog) |
218 |
-+target_link_libraries(ws spdlog::spdlog fmt::fmt) |
219 |
- |
220 |
- install(TARGETS ws RUNTIME DESTINATION bin) |
221 |
|
222 |
diff --git a/net-libs/ixwebsocket/files/ixwebsocket-11.2.8-remove-network-tests.patch b/net-libs/ixwebsocket/files/ixwebsocket-11.3.3-remove-network-tests.patch |
223 |
similarity index 92% |
224 |
rename from net-libs/ixwebsocket/files/ixwebsocket-11.2.8-remove-network-tests.patch |
225 |
rename to net-libs/ixwebsocket/files/ixwebsocket-11.3.3-remove-network-tests.patch |
226 |
index a2d1360cb..64761c4ce 100644 |
227 |
--- a/net-libs/ixwebsocket/files/ixwebsocket-11.2.8-remove-network-tests.patch |
228 |
+++ b/net-libs/ixwebsocket/files/ixwebsocket-11.3.3-remove-network-tests.patch |
229 |
@@ -1,5 +1,5 @@ |
230 |
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt |
231 |
-index 661aebb..bab73c7 100644 |
232 |
+index c8822a4..9ec705c 100644 |
233 |
--- a/test/CMakeLists.txt |
234 |
+++ b/test/CMakeLists.txt |
235 |
@@ -11,15 +11,12 @@ option(USE_TLS "Add TLS support" ON) |
236 |
@@ -18,7 +18,7 @@ index 661aebb..bab73c7 100644 |
237 |
IXWebSocketSubProtocolTest |
238 |
# IXWebSocketBroadcastTest ## FIXME was depending on cobra / take a broadcast server from ws |
239 |
IXStrCaseCompareTest |
240 |
-@@ -33,7 +30,6 @@ if (UNIX) |
241 |
+@@ -34,7 +31,6 @@ if (UNIX) |
242 |
|
243 |
# Fail on Windows in CI probably because the pathing is wrong and |
244 |
# some resource files cannot be found |
245 |
|
246 |
diff --git a/net-libs/ixwebsocket/files/ixwebsocket-11.2.8-use-system-spdlog.patch b/net-libs/ixwebsocket/files/ixwebsocket-11.3.3-use-system-spdlog.patch |
247 |
similarity index 100% |
248 |
rename from net-libs/ixwebsocket/files/ixwebsocket-11.2.8-use-system-spdlog.patch |
249 |
rename to net-libs/ixwebsocket/files/ixwebsocket-11.3.3-use-system-spdlog.patch |
250 |
|
251 |
diff --git a/net-libs/ixwebsocket/ixwebsocket-11.3.2.ebuild b/net-libs/ixwebsocket/ixwebsocket-11.3.3.ebuild |
252 |
similarity index 88% |
253 |
rename from net-libs/ixwebsocket/ixwebsocket-11.3.2.ebuild |
254 |
rename to net-libs/ixwebsocket/ixwebsocket-11.3.3.ebuild |
255 |
index 1f07f2f48..005c7834d 100644 |
256 |
--- a/net-libs/ixwebsocket/ixwebsocket-11.3.2.ebuild |
257 |
+++ b/net-libs/ixwebsocket/ixwebsocket-11.3.3.ebuild |
258 |
@@ -1,4 +1,4 @@ |
259 |
-# Copyright 2021 Gentoo Authors |
260 |
+# Copyright 2021-2022 Gentoo Authors |
261 |
# Distributed under the terms of the GNU General Public License v2 |
262 |
|
263 |
EAPI=8 |
264 |
@@ -12,7 +12,7 @@ HOMEPAGE="https://github.com/machinezone/IXWebSocket" |
265 |
SRC_URI="https://github.com/machinezone/IXWebSocket/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
266 |
|
267 |
LICENSE="BSD" |
268 |
-SLOT="0" |
269 |
+SLOT="0/11.3.2" |
270 |
KEYWORDS="~amd64 ~x86" |
271 |
IUSE="+ssl test zlib ws" |
272 |
|
273 |
@@ -49,8 +49,6 @@ PATCHES=( |
274 |
"${FILESDIR}/${P}-remove-network-tests.patch" |
275 |
# Upstream uses git submodules |
276 |
"${FILESDIR}/${P}-use-system-spdlog.patch" |
277 |
- # Upstream detects deflate dynamically, so let's remove it |
278 |
- "${FILESDIR}/${P}-remove-deflate.patch" |
279 |
) |
280 |
|
281 |
src_configure() { |