View | Details | Raw Unified | Return to bug 275613 | Differences between
and this patch

Collapse All | Expand All

(-)b/net-p2p/transmission-components/Makefile (-9 / +29 lines)
Lines 1-7 Link Here
1
PORTNAME=	transmission
1
PORTNAME=	transmission
2
DISTVERSION=	4.0.4
2
DISTVERSION=	4.0.5
3
PORTREVISION=	5
4
CATEGORIES=	net-p2p
3
CATEGORIES=	net-p2p
4
MASTER_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/${DISTVERSION}/
5
5
6
MAINTAINER=	mondo.debater_0q@icloud.com
6
MAINTAINER=	mondo.debater_0q@icloud.com
7
COMMENT=	Transmission BitTorrent client
7
COMMENT=	Transmission BitTorrent client
Lines 10-15 WWW= https://www.transmissionbt.com Link Here
10
LICENSE=	GPLv3+
10
LICENSE=	GPLv3+
11
LICENSE_FILE=	${WRKSRC}/COPYING
11
LICENSE_FILE=	${WRKSRC}/COPYING
12
12
13
BUILD_DEPENDS=	${LOCALBASE}/include/fast_float/fast_float.h:math/fast_float \
14
		${LOCALBASE}/include/utf8cpp/utf8.h:devel/utf8cpp
15
13
LIB_DEPENDS=	libb64.so:converters/libb64 \
16
LIB_DEPENDS=	libb64.so:converters/libb64 \
14
		libcurl.so:ftp/curl \
17
		libcurl.so:ftp/curl \
15
		libdeflate.so:archivers/libdeflate \
18
		libdeflate.so:archivers/libdeflate \
Lines 37-52 LIB_DEPENDS= Link Here
37
gtk_LIB_DEPENDS=	libayatana-appindicator3.so:devel/libayatana-appindicator \
40
gtk_LIB_DEPENDS=	libayatana-appindicator3.so:devel/libayatana-appindicator \
38
			libharfbuzz.so:print/harfbuzz
41
			libharfbuzz.so:print/harfbuzz
39
42
40
USES=		cmake cpe iconv libtool localbase pkgconfig ssl
43
USES=		cmake cpe iconv libtool localbase pkgconfig ssl tar:xz
41
44
42
CPE_VENDOR=	transmissionbt
45
CPE_VENDOR=	transmissionbt
43
CPE_PRODUCT=	transmission
46
CPE_PRODUCT=	transmission
44
47
45
USE_GITHUB=	YES
48
EXTRACT_AFTER_ARGS+=	--exclude third-party/dht \
46
GH_TUPLE=	google:googletest:af29db7:googletest/third-party/googletest \
49
			--exclude third-party/fast_float \
47
		transmission:fast_float:6624977:fast_float/third-party/fast_float \
50
			--exclude third-party/fmt \
48
		transmission:utfcpp:b85efd6:utfcpp/third-party/utfcpp \
51
			--exclude third-party/jsonl \
49
		transmission:wide-integer:4de0b52:wideinteger/third-party/wide-integer
52
			--exclude third-party/libb64 \
53
			--exclude third-party/libdeflate \
54
			--exclude third-party/libevent \
55
			--exclude third-party/libnatpmp \
56
			--exclude third-party/libpsl \
57
			--exclude third-party/libutp \
58
			--exclude third-party/miniupnpc \
59
			--exclude third-party/utfcpp
60
50
61
51
.if ${FLAVOR} == gtk
62
.if ${FLAVOR} == gtk
52
USES+=		desktop-file-utils gettext-runtime gettext-tools gnome
63
USES+=		desktop-file-utils gettext-runtime gettext-tools gnome
Lines 126-131 OPTIONS_DEFINE= NLS TESTS Link Here
126
OPTIONS_DEFAULT=	NLS
137
OPTIONS_DEFAULT=	NLS
127
.endif
138
.endif
128
139
140
GH_ACCOUNT=	${PORTNAME}
141
GH_PROJECT=	${GH_ACCOUNT}
142
129
OPTIONS_SUB=	yes
143
OPTIONS_SUB=	yes
130
144
131
daemon_DESC=	Build daemon
145
daemon_DESC=	Build daemon
Lines 141-155 NLS_USES= gettext-runtime:lib Link Here
141
NLS_CMAKE_BOOL=	ENABLE_NLS
155
NLS_CMAKE_BOOL=	ENABLE_NLS
142
156
143
TESTS_CMAKE_BOOL=	ENABLE_TESTS
157
TESTS_CMAKE_BOOL=	ENABLE_TESTS
158
TESTS_LIB_DEPENDS=	libgtest_main.so:devel/googletest
144
159
145
UTILS_CMAKE_BOOL=	ENABLE_UTILS
160
UTILS_CMAKE_BOOL=	ENABLE_UTILS
146
161
147
WEB_CMAKE_BOOL=	INSTALL_WEB
162
WEB_CMAKE_BOOL=	INSTALL_WEB
148
163
149
post-extract:
164
post-extract:
150
	@${ECHO_MSG} "Cludging use of devel/libfmt as Transmission's CMakeLists.txt does not properly search for it."
165
	@${ECHO_MSG} "Cludging use of math/fast_float, devel/libfmt, and devel/utf8cpp as Transmission's CMakeLists.txt does not properly search for them."
166
	@${MKDIR} ${WRKSRC}/third-party/fast_float/include/fast_float
151
	@${MKDIR} ${WRKSRC}/third-party/fmt/include/fmt
167
	@${MKDIR} ${WRKSRC}/third-party/fmt/include/fmt
168
	@${MKDIR} ${WRKSRC}/third-party/utfcpp/source
169
	@${LN} -Fs ${PREFIX}/include/fmt ${WRKSRC}/third-party/fast_float/include/fast_float
152
	@${LN} -Fs ${PREFIX}/include/fmt ${WRKSRC}/third-party/fmt/include/fmt
170
	@${LN} -Fs ${PREFIX}/include/fmt ${WRKSRC}/third-party/fmt/include/fmt
171
	@${LN} -Fs ${PREFIX}/include/utf8cpp/utf8.h ${WRKSRC}/third-party/utfcpp/utf8.h
172
	@${LN} -Fs ${PREFIX}/include/utf8cpp/utf8 ${WRKSRC}/third-party/utfcpp/source
153
173
154
.if ${FLAVOR} == docs
174
.if ${FLAVOR} == docs
155
pre-install:
175
pre-install:
(-)b/net-p2p/transmission-components/distinfo (-11 / +3 lines)
Lines 1-11 Link Here
1
TIMESTAMP = 1693298946
1
TIMESTAMP = 1702053578
2
SHA256 (transmission-transmission-4.0.4_GH0.tar.gz) = 767b4796a43c8bd3fc9d6c64d32dd49dedce3ad14909d6773ce2694e02b22a9d
2
SHA256 (transmission-4.0.5.tar.xz) = fd68ff114a479200043c30c7e69dba4c1932f7af36ca4c5b5d2edcb5866e6357
3
SIZE (transmission-transmission-4.0.4_GH0.tar.gz) = 8750421
3
SIZE (transmission-4.0.5.tar.xz) = 9745756
4
SHA256 (google-googletest-af29db7_GH0.tar.gz) = cebd59f4dd7380870c4cbc57f75bd4453d84c68847fee020c95019b2841ae7a2
5
SIZE (google-googletest-af29db7_GH0.tar.gz) = 841006
6
SHA256 (transmission-fast_float-6624977_GH0.tar.gz) = a7fed3253e8604ad0b3c0649f7b99e004f61bf0b82096f43edbb597f9a9b4dc3
7
SIZE (transmission-fast_float-6624977_GH0.tar.gz) = 76763
8
SHA256 (transmission-utfcpp-b85efd6_GH0.tar.gz) = 98c7f02180c92a6b5fa90bbf157c3f441fcf47565c10948d221de3097893507a
9
SIZE (transmission-utfcpp-b85efd6_GH0.tar.gz) = 27376
10
SHA256 (transmission-wide-integer-4de0b52_GH0.tar.gz) = 8754e29f002ba78228675ad95b7eb4d828e23c7a4ec227815fe8a2238c8111eb
11
SIZE (transmission-wide-integer-4de0b52_GH0.tar.gz) = 124910
(-)b/net-p2p/transmission-components/files/patch-libtransmission_utils.cc (+11 lines)
Added Link Here
1
--- libtransmission/utils.cc.orig	2023-12-15 14:04:04 UTC
2
+++ libtransmission/utils.cc
3
@@ -35,7 +35,7 @@
4
 #endif
5
 
6
 #define UTF_CPP_CPLUSPLUS 201703L
7
-#include <utf8.h>
8
+#include <utf8cpp/utf8.h>
9
 
10
 #include <fmt/format.h>
11
 
(-)b/net-p2p/transmission-components/files/patch-libtransmission_variant-json.cc (-1 / +10 lines)
Lines 1-5 Link Here
1
--- libtransmission/variant-json.cc.orig	2023-09-19 12:15:17 UTC
1
--- libtransmission/variant-json.cc.orig	2023-12-15 14:09:21 UTC
2
+++ libtransmission/variant-json.cc
2
+++ libtransmission/variant-json.cc
3
@@ -15,7 +15,7 @@
4
 #include <utility>
5
 
6
 #define UTF_CPP_CPLUSPLUS 201703L
7
-#include <utf8.h>
8
+#include <utf8cpp/utf8.h>
9
 
10
 #include <fmt/compile.h>
11
 #include <fmt/format.h>
3
@@ -99,7 +99,7 @@ void error_handler(jsonsl_t jsn, jsonsl_error_t error,
12
@@ -99,7 +99,7 @@ void error_handler(jsonsl_t jsn, jsonsl_error_t error,
4
             fmt::arg("position", jsn->pos),
13
             fmt::arg("position", jsn->pos),
5
             fmt::arg("text", std::string_view{ buf, std::min(size_t{ 16U }, data->size - jsn->pos) }),
14
             fmt::arg("text", std::string_view{ buf, std::min(size_t{ 16U }, data->size - jsn->pos) }),
(-)b/net-p2p/transmission-components/pkg-plist.daemon (-1 / +2 lines)
Lines 5-9 man/man1/transmission-daemon.1.gz Link Here
5
%%WEB%%%%DATADIR%%/public_html/images/favicon.png
5
%%WEB%%%%DATADIR%%/public_html/images/favicon.png
6
%%WEB%%%%DATADIR%%/public_html/images/webclip-icon.png
6
%%WEB%%%%DATADIR%%/public_html/images/webclip-icon.png
7
%%WEB%%%%DATADIR%%/public_html/index.html
7
%%WEB%%%%DATADIR%%/public_html/index.html
8
%%WEB%%%%DATADIR%%/public_html/transmission-app.css
8
%%WEB%%%%DATADIR%%/public_html/transmission-app.js
9
%%WEB%%%%DATADIR%%/public_html/transmission-app.js
9
%%WEB%%%%DATADIR%%/public_html/transmission-app.js.LICENSE.txt
10
%%WEB%%%%DATADIR%%/public_html/transmission-app.js.LEGAL.txt
(-)b/net-p2p/transmission-components/pkg-plist.docs (+1 lines)
Lines 5-10 Link Here
5
%%DOCSDIR%%/news/news-4.0.2.md
5
%%DOCSDIR%%/news/news-4.0.2.md
6
%%DOCSDIR%%/news/news-4.0.3.md
6
%%DOCSDIR%%/news/news-4.0.3.md
7
%%DOCSDIR%%/news/news-4.0.4.md
7
%%DOCSDIR%%/news/news-4.0.4.md
8
%%DOCSDIR%%/news/news-4.0.5.md
8
%%DOCSDIR%%/README.md
9
%%DOCSDIR%%/README.md
9
%%DOCSDIR%%/rpc-spec.md
10
%%DOCSDIR%%/rpc-spec.md
10
%%DOCSDIR%%/send-email-when-torrent-done.sh
11
%%DOCSDIR%%/send-email-when-torrent-done.sh
(-)b/net-p2p/transmission/Makefile (-3 / +1 lines)
Lines 1-6 Link Here
1
PORTNAME=	transmission
1
PORTNAME=	transmission
2
DISTVERSION=	4.0.4
2
DISTVERSION=	4.0.5
3
PORTREVISION=	4
4
CATEGORIES=	net-p2p
3
CATEGORIES=	net-p2p
5
4
6
MAINTAINER=	mondo.debater_0q@icloud.com
5
MAINTAINER=	mondo.debater_0q@icloud.com
7
- 

Return to bug 275613