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

Collapse All | Expand All

(-)b/MOVED (-6 / +6 lines)
Lines 7843-7854 textproc/rubygem-cucumber-gherkin23|textproc/rubygem-cucumber-gherkin|2023-09-04 Link Here
7843
textproc/rubygem-cucumber-html-formatter19|textproc/rubygem-cucumber-html-formatter|2023-09-04|Remove obsoleted port. Use textproc/rubygem-cucumber-html-formatter instead
7843
textproc/rubygem-cucumber-html-formatter19|textproc/rubygem-cucumber-html-formatter|2023-09-04|Remove obsoleted port. Use textproc/rubygem-cucumber-html-formatter instead
7844
cad/py-ocp||2023-09-05|Has expired: Broken since 2021
7844
cad/py-ocp||2023-09-05|Has expired: Broken since 2021
7845
sysutils/bacula11-libs3|sysutils/bacula-libs3|2023-09-10|No reason to have version in the port name. Works with 11 and 13
7845
sysutils/bacula11-libs3|sysutils/bacula-libs3|2023-09-10|No reason to have version in the port name. Works with 11 and 13
7846
net-p2p/transmission-cli|net-p2p/transmission|2023-09-10|Moved to a flavored version
7846
www/transmission-web|net-p2p/transmission-components@daemon|2023-09-10|Moved to the daemon flavor
7847
net-p2p/transmission-daemon|net-p2p/transmission|2023-09-10|Moved to a flavored version
7848
net-p2p/transmission-gtk|net-p2p/transmission|2023-09-10|Moved to a flavored version
7849
net-p2p/transmission-qt|net-p2p/transmission|2023-09-10|Moved to a flavored version
7850
net-p2p/transmission-utils|net-p2p/transmission|2023-09-10|Moved to a flavored version
7851
www/transmission-web|net-p2p/transmission|2023-09-10|Moved to the daemon flavor
7852
devel/rubygem-cucumber-tag-expressions4|devel/rubygem-cucumber-tag-expressions|2023-09-11|Remove obsoleted port. Use devel/rubygem-cucumber-tag-expressions instead
7847
devel/rubygem-cucumber-tag-expressions4|devel/rubygem-cucumber-tag-expressions|2023-09-11|Remove obsoleted port. Use devel/rubygem-cucumber-tag-expressions instead
7853
security/rosenpass|net/rosenpass|2023-09-12|Remove duplicate port
7848
security/rosenpass|net/rosenpass|2023-09-12|Remove duplicate port
7854
dns/tinystats||2023-09-20|Has expired: djbdns got removed, port is no longer required
7849
dns/tinystats||2023-09-20|Has expired: djbdns got removed, port is no longer required
Lines 7856-7858 mail/cyrus-imapd23||2023-09-20|Has expired: No longer supported by upstream Link Here
7856
mail/cyrus-imapd24||2023-09-20|Has expired: No longer supported by upstream
7851
mail/cyrus-imapd24||2023-09-20|Has expired: No longer supported by upstream
7857
net/py-python-ceilometerclient||2023-09-22|Remove obsoleted port. This project is no longer maintained
7852
net/py-python-ceilometerclient||2023-09-22|Remove obsoleted port. This project is no longer maintained
7858
sysutils/rundeck3|sysutils/rundeck|2023-09-23|Rename to avoid confusion
7853
sysutils/rundeck3|sysutils/rundeck|2023-09-23|Rename to avoid confusion
7854
net-p2p/transmission-cli|net-p2p/transmission-components@cli|2023-09-25|Moved for metaport
7855
net-p2p/transmission-daemon|net-p2p/transmission-components@daemon|2023-09-25|Moved for metaport
7856
net-p2p/transmission-gtk|net-p2p/transmission-components@gtk|2023-09-25|Moved for metaport
7857
net-p2p/transmission-qt|net-p2p/transmission-components@qt|2023-09-25|Moved for metaport
7858
net-p2p/transmission-utils|net-p2p/transmission-components@utils|2023-09-25|Moved for metaport
(-)b/UPDATING (+10 lines)
Lines 5-10 they are unavoidable. Link Here
5
You should get into the habit of checking this file for changes each time
5
You should get into the habit of checking this file for changes each time
6
you update your ports collection, before attempting any port upgrades.
6
you update your ports collection, before attempting any port upgrades.
7
7
8
20230925:
9
  AFFECTS: users of net-p2p/transmission
10
  AUTHOR:  mondo.debater_0q@icloud.com
11
12
  The prior fix of Bug 273841 was incomplete. The issue has been 
13
  resolved by reorganizing the port as a metaport. Each component may
14
  be installed individually as transmission-daemon, transmission-qt,
15
  etc. Alternatively, some or all components may be installed from the 
16
  metaport transmission.
17
8
20230924:
18
20230924:
9
  AFFECTS: users of XFCE desktop (x11-wm/xfce4)
19
  AFFECTS: users of XFCE desktop (x11-wm/xfce4)
10
  AUTHOR: madpilot@FreeBSD.org
20
  AUTHOR: madpilot@FreeBSD.org
(-)b/net-p2p/Makefile (+1 lines)
Lines 98-103 Link Here
98
    SUBDIR += torrentcheck
98
    SUBDIR += torrentcheck
99
    SUBDIR += torrentsniff
99
    SUBDIR += torrentsniff
100
    SUBDIR += transmission
100
    SUBDIR += transmission
101
    SUBDIR += transmission-components
101
    SUBDIR += transmission-remote-gui
102
    SUBDIR += transmission-remote-gui
102
    SUBDIR += twitch-tui
103
    SUBDIR += twitch-tui
103
    SUBDIR += udpt
104
    SUBDIR += udpt
(-)b/net-p2p/transmission-components/Makefile (+163 lines)
Added Link Here
1
PORTNAME=	transmission
2
DISTVERSION=	4.0.4
3
PORTREVISION=	2
4
CATEGORIES=	net-p2p
5
6
MAINTAINER=	mondo.debater_0q@icloud.com
7
COMMENT=	Transmission BitTorrent client
8
WWW=		https://www.transmissionbt.com
9
10
LICENSE=	GPLv3+
11
LICENSE_FILE=	${WRKSRC}/COPYING
12
13
LIB_DEPENDS=	libb64.so:converters/libb64 \
14
		libcurl.so:ftp/curl \
15
		libdeflate.so:archivers/libdeflate \
16
		libdht.so:devel/jech-dht \
17
		libevent.so:devel/libevent \
18
		libfmt.so:devel/libfmt \
19
		libminiupnpc.so:net/miniupnpc \
20
		libnatpmp.so:net/libnatpmp \
21
		libpsl.so:dns/libpsl \
22
		libutp.so:net-p2p/libutp
23
24
FLAVORS=			cli daemon gtk qt utils
25
FLAVOR?=			${FLAVORS:[1]}
26
.for flavor in ${FLAVORS}
27
${flavor}_PKGNAMESUFFIX=	-${flavor}
28
.endfor
29
30
gtk_LIB_DEPENDS=	libayatana-appindicator3.so:devel/libayatana-appindicator \
31
			libharfbuzz.so:print/harfbuzz
32
33
USES=		cmake cpe iconv libtool localbase pkgconfig ssl
34
35
CPE_VENDOR=	transmissionbt
36
CPE_PRODUCT=	transmission
37
38
USE_GITHUB=	YES
39
GH_TUPLE=	google:googletest:af29db7:googletest/third-party/googletest \
40
		transmission:fast_float:6624977:fast_float/third-party/fast_float \
41
		transmission:utfcpp:b85efd6:utfcpp/third-party/utfcpp \
42
		transmission:wide-integer:4de0b52:wideinteger/third-party/wide-integer
43
44
.if ${FLAVOR} == gtk
45
USES+=		desktop-file-utils gettext-runtime gettext-tools gnome
46
USE_GNOME=	gdkpixbuf2 glibmm gtkmm30
47
.endif
48
49
.if ${FLAVOR} == qt
50
USES+=		desktop-file-utils qmake:no_env qt:5
51
USE_QT=		core dbus gui network svg widgets buildtools:build \
52
		linguisttools:build
53
.endif
54
55
.if ${FLAVOR} == daemon
56
USE_RC_SUBR=	transmission
57
.endif
58
59
CMAKE_ARGS=	-DCMAKE_C_STANDARD_INCLUDE_DIRECTORIES=${LOCALBASE}/include \
60
		-DCMAKE_CXX_STANDARD_INCLUDE_DIRECTORIES=${LOCALBASE}/include \
61
		-DCMAKE_INSTALL_MANDIR="${PREFIX}/man"
62
CMAKE_ON=	USE_SYSTEM_B64 USE_SYSTEM_DEFLATE USE_SYSTEM_DHT \
63
		USE_SYSTEM_EVENT2 USE_SYSTEM_MINIUPNPC USE_SYSTEM_NATPMP \
64
		USE_SYSTEM_PSL USE_SYSTEM_UTP
65
CMAKE_OFF=	ENABLE_MAC REBUILD_WEB WITH_SYSTEMD
66
67
USERS=		transmission
68
GROUPS=		transmission
69
70
PLIST=		${PKGDIR}/pkg-plist.${FLAVOR}
71
72
.if ${FLAVOR} == cli
73
CMAKE_ON+=	ENABLE_CLI
74
CMAKE_OFF+=	ENABLE_DAEMON ENABLE_GTK ENABLE_QT ENABLE_UTILS INSTALL_WEB
75
.endif
76
77
.if ${FLAVOR} == daemon
78
CMAKE_ON+=	ENABLE_DAEMON
79
CMAKE_OFF+=	ENABLE_CLI ENABLE_GTK ENABLE_QT ENABLE_UTILS
80
.endif
81
82
.if ${FLAVOR} == gtk
83
CMAKE_ON+=	ENABLE_GTK GTK_IS_REQUIRED
84
CMAKE_ARGS+=	-DUSE_GTK_VERSION=3
85
CMAKE_OFF+=	ENABLE_CLI ENABLE_DAEMON ENABLE_UTILS INSTALL_WEB
86
.endif
87
88
.if ${FLAVOR} == qt
89
CMAKE_ON+=	ENABLE_QT QT_IS_REQUIRED
90
CMAKE_ARGS+=	-DUSE_QT_VERSION=5
91
CMAKE_OFF+=	ENABLE_CLI ENABLE_DAEMON ENABLE_UTILS INSTALL_WEB
92
.endif
93
94
.if ${FLAVOR} == utils
95
CMAKE_ON+=	ENABLE_UTILS
96
CMAKE_OFF+=	ENABLE_CLI ENABLE_DAEMON ENABLE_GTK ENABLE_QT ENABLE_TESTS \
97
		ENABLE_WERROR INSTALL_WEB
98
.endif
99
100
DOCS_EXTRA_PATCHES_OFF=	${PATCHDIR}/extra-patch-CMakeLists.txt
101
.if ${FLAVOR:Ndaemon}
102
EXTRA_PATCHES=		${DOCS_EXTRA_PATCHES_OFF}
103
.endif
104
105
.if ${FLAVOR:Mdaemon}
106
OPTIONS_DEFINE=		DOCS NLS TESTS WEB
107
OPTIONS_DEFAULT=	DOCS NLS WEB
108
.endif
109
110
.if ${FLAVOR:Ndaemon}
111
OPTIONS_DEFINE=		NLS TESTS
112
OPTIONS_DEFAULT=	NLS
113
.endif
114
115
OPTIONS_SUB=	yes
116
117
cli_DESC=	Build remote & command-line (deprecated) clients
118
daemon_DESC=	Build daemon
119
gtk_DESC=	Build GTK+ client
120
qt_DESC=	Build QT client
121
TESTS_DESC=	Build & run unit tests
122
utils_DESC=	Build utilities (create, edit, show)
123
WEB_DESC=	Install web client (imples daemon)
124
125
NLS_USES=	gettext-runtime:lib
126
NLS_CMAKE_BOOL=	ENABLE_NLS
127
128
TESTS_CMAKE_BOOL=	ENABLE_TESTS
129
130
UTILS_CMAKE_BOOL=	ENABLE_UTILS
131
132
WEB_CMAKE_BOOL=	INSTALL_WEB
133
134
post-extract:
135
	@${ECHO_MSG} "Cludging use of devel/libfmt as Transmission's CMakeLists.txt does not properly search for it."
136
	@${MKDIR} ${WRKSRC}/third-party/fmt/include/fmt
137
	@${LN} -Fs ${PREFIX}/include/fmt ${WRKSRC}/third-party/fmt/include/fmt
138
139
post-extract-DOCS-on:
140
	@${ECHO_MSG} "Removing outdated release notes"
141
	@${FIND} ${WRKSRC}/news \( -name 'news-[0-3]*' -o -name '*beta*' \) -delete
142
143
.if ${FLAVOR} == qt
144
post-install:
145
	${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps
146
	${INSTALL_DATA}	${WRKSRC}/qt/icons/transmission.svg \
147
		${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/transmission-qt.svg
148
.endif
149
150
.if ${FLAVOR} == daemon
151
post-install:
152
	        ${MKDIR} ${STAGEDIR}${ETCDIR}/home
153
.endif
154
155
post-install-TESTS-on:
156
	@${ECHO_MSG} "Running tests..."
157
	@cd ${BUILD_WRKSRC}/tests/libtransmission/ && \
158
		eval ${BUILD_WRKSRC}/tests/libtransmission/libtransmission-test \
159
		--gtest_filter="-DhtTest.usesBootstrapFile" \
160
		#fails in poudriere due to lack of networking, passes otherwise
161
		--gtest_brief=1 \
162
163
.include <bsd.port.mk>
(-)b/net-p2p/transmission-components/files/patch-qt_transmission-qt.desktop (+11 lines)
Added Link Here
1
--- qt/transmission-qt.desktop.orig	2023-09-24 19:03:24 UTC
2
+++ qt/transmission-qt.desktop
3
@@ -5,7 +5,7 @@ Comment=Download and share files over BitTorrent
4
 # Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
5
 Keywords=torrents;downloading;uploading;share;sharing;
6
 Exec=transmission-qt %U
7
-Icon=transmission
8
+Icon=transmission-qt
9
 Terminal=false
10
 Type=Application
11
 MimeType=application/x-bittorrent;x-scheme-handler/magnet;
(-)b/net-p2p/transmission-components/files/transmission.in (-1 / +1 lines)
Lines 53-59 transmission_flags=" \ Link Here
53
	${transmission_conf_dir:+-g ${transmission_conf_dir}} \
53
	${transmission_conf_dir:+-g ${transmission_conf_dir}} \
54
	${transmission_download_dir:+-w ${transmission_download_dir}} \
54
	${transmission_download_dir:+-w ${transmission_download_dir}} \
55
	${transmission_log:+--logfile ${transmission_log}} \
55
	${transmission_log:+--logfile ${transmission_log}} \
56
	${transmission_log_level:+--loglevel ${transmission_log_level}} \
56
	${transmission_log_level:+--log-level ${transmission_log_level}} \
57
	${pidfile:+-x $pidfile} \
57
	${pidfile:+-x $pidfile} \
58
	${transmission_flags}"
58
	${transmission_flags}"
59
59
(-)b/net-p2p/transmission-components/pkg-descr (+24 lines)
Added Link Here
1
Components of transmission. 
2
3
Transmission-remote is a fast and lightweight CLI (command line) BitTorrent client. Transmission-cli is deprecated. 
4
5
The transmission-daemon is a daemon-based Transmission session that can be
6
controlled via RPC by transmission-remote (see transmission-utils) and
7
other Transmission BiTtorrent client such as GTK+ and CLI interface.
8
9
Transmission-qt and Transmission-gtk provide native clients for the
10
KDE and GNOME desktop environments, respectively.
11
12
Transmission-utils includes the tools to create and manipulate torrent files.
13
14
Transmission Web Interface (Clutch) is a WebUI for the Transmission BitTorrent
15
client. It allows you to manage your torrents from anywhere you can access the
16
internet, and runs on OS X and various flavors of *nix. It provides most of
17
the basic features of the desktop client, including torrent upload, torrent
18
start/stop, file path selection, speed limiting etc.
19
20
Transmission has been built from the ground up to be a lightweight, yet
21
powerful BitTorrent client. Its simple, intuitive interface is designed
22
to integrate tightly with whatever computing environment you choose to
23
use. Transmission strikes a balance between providing useful functionality
24
without feature bloat. Furthermore, it is free for anyone to use or modify.
(-)b/net-p2p/transmission-components/pkg-plist.qt (-1 / +1 lines)
Lines 1-7 Link Here
1
bin/transmission-qt
1
bin/transmission-qt
2
man/man1/transmission-qt.1.gz
2
man/man1/transmission-qt.1.gz
3
share/applications/transmission-qt.desktop
3
share/applications/transmission-qt.desktop
4
share/icons/hicolor/scalable/apps/transmission.svg
4
share/icons/hicolor/scalable/apps/transmission-qt.svg
5
%%NLS%%%%DATADIR%%/translations/transmission_af.qm
5
%%NLS%%%%DATADIR%%/translations/transmission_af.qm
6
%%NLS%%%%DATADIR%%/translations/transmission_ca.qm
6
%%NLS%%%%DATADIR%%/translations/transmission_ca.qm
7
%%NLS%%%%DATADIR%%/translations/transmission_da.qm
7
%%NLS%%%%DATADIR%%/translations/transmission_da.qm
(-)b/net-p2p/transmission/Makefile (-172 / +9 lines)
Lines 7-190 MAINTAINER= mondo.debater_0q@icloud.com Link Here
7
COMMENT=	Transmission BitTorrent client
7
COMMENT=	Transmission BitTorrent client
8
WWW=		https://www.transmissionbt.com
8
WWW=		https://www.transmissionbt.com
9
9
10
LICENSE=	GPLv3+
10
USES=		metaport
11
LICENSE_FILE=	${WRKSRC}/COPYING
12
11
13
LIB_DEPENDS=	libb64.so:converters/libb64 \
12
OPTIONS_DEFINE=		CLI DAEMON GTK QT UTILS
14
		libcurl.so:ftp/curl \
13
OPTIONS_DEFAULT=	CLI DAEMON GTK QT UTILS
15
		libdeflate.so:archivers/libdeflate \
16
		libdht.so:devel/jech-dht \
17
		libevent.so:devel/libevent \
18
		libfmt.so:devel/libfmt \
19
		libminiupnpc.so:net/miniupnpc \
20
		libnatpmp.so:net/libnatpmp \
21
		libpsl.so:dns/libpsl \
22
		libutp.so:net-p2p/libutp
23
14
24
FLAVORS=			default cli daemon gtk qt utils
15
CLI_DESC=	Build command-line client (deprecated) & remote client
25
FLAVOR?=			${FLAVORS:[1]}
26
.for flavor in ${FLAVORS}
27
${flavor}_PKGNAMESUFFIX=	-${flavor}
28
.endfor
29
30
CONFLICTS_INSTALL=		transmission-default
31
default_CONFLICTS_INSTALL=     	transmission-*
32
33
gtk_LIB_DEPENDS=		libayatana-appindicator3.so:devel/libayatana-appindicator \
34
				libharfbuzz.so:print/harfbuzz
35
GTK_LIB_DEPENDS=		${gtk_LIB_DEPENDS}
36
37
USES=		cmake cpe iconv libtool localbase pkgconfig ssl
38
39
CPE_VENDOR=	transmissionbt
40
CPE_PRODUCT=	transmission
41
42
USE_GITHUB=	YES
43
GH_TUPLE=	google:googletest:af29db7:googletest/third-party/googletest \
44
		transmission:fast_float:6624977:fast_float/third-party/fast_float \
45
		transmission:utfcpp:b85efd6:utfcpp/third-party/utfcpp \
46
		transmission:wide-integer:4de0b52:wideinteger/third-party/wide-integer
47
48
.if ${FLAVOR} == gtk
49
USES+=		desktop-file-utils gettext-runtime gettext-tools gnome
50
USE_GNOME=	gdkpixbuf2 glibmm gtkmm30
51
.endif
52
53
.if ${FLAVOR} == qt
54
USES+=		desktop-file-utils qmake:no_env qt:5
55
USE_QT=		core dbus gui network svg widgets buildtools:build \
56
		linguisttools:build
57
.endif
58
59
USE_RC_SUBR=	transmission
60
61
CMAKE_ARGS=	-DCMAKE_C_STANDARD_INCLUDE_DIRECTORIES=${LOCALBASE}/include \
62
		-DCMAKE_CXX_STANDARD_INCLUDE_DIRECTORIES=${LOCALBASE}/include \
63
		-DCMAKE_INSTALL_MANDIR="${PREFIX}/man"
64
CMAKE_ON=	USE_SYSTEM_B64 USE_SYSTEM_DEFLATE USE_SYSTEM_DHT \
65
		USE_SYSTEM_EVENT2 USE_SYSTEM_MINIUPNPC USE_SYSTEM_NATPMP \
66
		USE_SYSTEM_PSL USE_SYSTEM_UTP
67
CMAKE_OFF=	ENABLE_MAC REBUILD_WEB WITH_SYSTEMD
68
69
USERS=		transmission
70
GROUPS=		transmission
71
72
PLIST=		${PKGDIR}/pkg-plist.${FLAVOR}
73
74
.if ${FLAVOR} == cli
75
CMAKE_ON+=	ENABLE_CLI
76
CMAKE_OFF+=	ENABLE_DAEMON ENABLE_GTK ENABLE_QT ENABLE_UTILS INSTALL_WEB
77
.endif
78
79
.if ${FLAVOR} == daemon
80
CMAKE_ON+=	ENABLE_DAEMON
81
CMAKE_OFF+=	ENABLE_CLI ENABLE_GTK ENABLE_QT ENABLE_UTILS
82
.endif
83
84
.if ${FLAVOR} == gtk
85
CMAKE_ON+=	${GTK_CMAKE_ON}
86
CMAKE_ARGS+=	${GTK_CMAKE_ARGS}
87
CMAKE_OFF+=	ENABLE_CLI ENABLE_DAEMON ENABLE_UTILS INSTALL_WEB
88
.endif
89
90
.if ${FLAVOR} == qt
91
CMAKE_ON+=	${QT_CMAKE_ON}
92
CMAKE_ARGS+=	${QT_CMAKE_ARGS}
93
CMAKE_OFF+=	ENABLE_CLI ENABLE_DAEMON ENABLE_UTILS INSTALL_WEB
94
.endif
95
96
.if ${FLAVOR} == utils
97
CMAKE_ON+=	ENABLE_UTILS
98
CMAKE_OFF+=	ENABLE_CLI ENABLE_DAEMON ENABLE_GTK ENABLE_QT ENABLE_TESTS \
99
		ENABLE_WERROR INSTALL_WEB
100
.endif
101
102
OPTIONS_DEFINE=		CLI DAEMON DOCS GTK NLS QT TESTS UTILS WEB
103
OPTIONS_DEFAULT=	CLI DAEMON DOCS GTK NLS QT UTILS WEB
104
105
DOCS_EXTRA_PATCHES_OFF=	${PATCHDIR}/extra-patch-CMakeLists.txt
106
.if ${FLAVOR:Ndefault} && ${FLAVOR:Ndaemon}
107
EXTRA_PATCHES=		${DOCS_EXTRA_PATCHES_OFF}
108
.endif
109
110
.if ${FLAVOR:Mdaemon}
111
OPTIONS_DEFINE=		DOCS NLS TESTS WEB
112
OPTIONS_DEFAULT=	DOCS NLS WEB
113
.endif
114
115
.if ${FLAVOR:Ndefault} && ${FLAVOR:Ndaemon}
116
OPTIONS_DEFINE=		NLS TESTS
117
OPTIONS_DEFAULT=	NLS
118
.endif
119
120
OPTIONS_SUB=	yes
121
122
CLI_DESC=	Build remote & command-line (deprecated) clients
123
DAEMON_DESC=	Build daemon
16
DAEMON_DESC=	Build daemon
124
GTK_DESC=	Build GTK+ client
17
GTK_DESC=	Build GTK+ client
125
QT_DESC=	Build QT client
18
QT_DESC=	Build QT client
126
TESTS_DESC=	Build & run unit tests
127
UTILS_DESC=	Build utilities (create, edit, show)
19
UTILS_DESC=	Build utilities (create, edit, show)
128
WEB_DESC=	Install web client (imples daemon)
129
130
CLI_CMAKE_BOOL=	ENABLE_CLI
131
132
DAEMON_CMAKE_BOOL=	ENABLE_DAEMON
133
134
GTK_CMAKE_ON=		ENABLE_GTK \
135
			GTK_IS_REQUIRED
136
GTK_CMAKE_ARGS+=	-DUSE_GTK_VERSION=3
137
138
QT_CMAKE_ON=	ENABLE_QT \
139
		QT_IS_REQUIRED
140
QT_CMAKE_ARGS+=	-DUSE_QT_VERSION=5
141
142
GTK_USES=	desktop-file-utils gettext-runtime gettext-tools gnome
143
GTK_USE=	GNOME=gdkpixbuf2,glibmm,gtkmm30
144
145
QT_USES=	desktop-file-utils qmake:no_env qt:5
146
QT_USE=		QT=core,dbus,gui,network,svg,widgets,buildtools:build,linguisttools:build
147
148
NLS_USES=	gettext-runtime:lib
149
NLS_CMAKE_BOOL=	ENABLE_NLS
150
151
TESTS_CMAKE_BOOL=	ENABLE_TESTS
152
153
UTILS_CMAKE_BOOL=	ENABLE_UTILS
154
155
WEB_IMPLIES=	DAEMON
156
WEB_CMAKE_BOOL=	INSTALL_WEB
157
158
post-extract:
159
	@${ECHO_MSG} "Cludging use of devel/libfmt as Transmission's CMakeLists.txt does not properly search for it."
160
	@${MKDIR} ${WRKSRC}/third-party/fmt/include/fmt
161
	@${LN} -Fs ${PREFIX}/include/fmt ${WRKSRC}/third-party/fmt/include/fmt
162
163
post-extract-DOCS-on:
164
	@${ECHO_MSG} "Removing outdated release notes"
165
	@${FIND} ${WRKSRC}/news \( -name 'news-[0-3]*' -o -name '*beta*' \) -delete
166
167
.if ${FLAVOR} == qt
168
post-install:
169
	${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps
170
	${INSTALL_DATA}	${WRKSRC}/qt/icons/transmission.svg \
171
		${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/transmission.svg
172
.endif
173
174
.if ${FLAVOR} == daemon
175
post-install:
176
	        ${MKDIR} ${STAGEDIR}${ETCDIR}/home
177
.endif
178
179
post-install-DAEMON-on:
180
		        ${MKDIR} ${STAGEDIR}${ETCDIR}/home
181
20
182
post-install-TESTS-on:
21
CLI_RUN_DEPENDS=	transmission-cli:net-p2p/transmission-components@cli
183
	@${ECHO_MSG} "Running tests..."
22
DAEMON_RUN_DEPENDS=	transmission-daemon:net-p2p/transmission-components@daemon
184
	@cd ${BUILD_WRKSRC}/tests/libtransmission/ && \
23
GTK_RUN_DEPENDS=	transmission-gtk:net-p2p/transmission-components@gtk
185
		eval ${BUILD_WRKSRC}/tests/libtransmission/libtransmission-test \
24
QT_RUN_DEPENDS=		transmission-qt:net-p2p/transmission-components@qt
186
		--gtest_filter="-DhtTest.usesBootstrapFile" \
25
UTILS_RUN_DEPENDS=	transmission-create:net-p2p/transmission-components@utils
187
		#fails in poudriere due to lack of networking, passes otherwise
188
		--gtest_brief=1 \
189
26
190
.include <bsd.port.mk>
27
.include <bsd.port.mk>
(-)a/net-p2p/transmission/pkg-plist.default (-156 lines)
Removed Link Here
1
%%QT%%bin/transmission-qt
2
%%CLI%%bin/transmission-cli
3
%%UTILS%%bin/transmission-create
4
%%DAEMON%%bin/transmission-daemon
5
%%UTILS%%bin/transmission-edit
6
%%UTILS%%bin/transmission-remote
7
%%UTILS%%bin/transmission-show
8
%%DAEMON%%@dir %%ETCDIR%%/home
9
%%QT%%man/man1/transmission-qt.1.gz
10
%%CLI%%man/man1/transmission-cli.1.gz
11
%%UTILS%%man/man1/transmission-create.1.gz
12
%%DAEMON%%man/man1/transmission-daemon.1.gz
13
%%UTILS%%man/man1/transmission-edit.1.gz
14
%%UTILS%%man/man1/transmission-remote.1.gz
15
%%UTILS%%man/man1/transmission-show.1.gz
16
%%QT%%share/applications/transmission-qt.desktop
17
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
18
%%PORTDOCS%%%%DOCSDIR%%/COPYING
19
%%PORTDOCS%%%%DOCSDIR%%/README.md
20
%%PORTDOCS%%%%DOCSDIR%%/news/news-4.0.0.md
21
%%PORTDOCS%%%%DOCSDIR%%/news/news-4.0.1.md
22
%%PORTDOCS%%%%DOCSDIR%%/news/news-4.0.2.md
23
%%PORTDOCS%%%%DOCSDIR%%/news/news-4.0.3.md
24
%%PORTDOCS%%%%DOCSDIR%%/news/news-4.0.4.md
25
%%PORTDOCS%%%%DOCSDIR%%/rpc-spec.md
26
%%PORTDOCS%%%%DOCSDIR%%/send-email-when-torrent-done.sh
27
%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_af.qm
28
%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_ca.qm
29
%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_da.qm
30
%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_de.qm
31
%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_el.qm
32
%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_en.qm
33
%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_es.qm
34
%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_eu.qm
35
%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_fi.qm
36
%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_fr.qm
37
%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_hu.qm
38
%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_id.qm
39
%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_it_IT.qm
40
%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_ja.qm
41
%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_ka.qm
42
%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_kk.qm
43
%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_ko.qm
44
%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_lt.qm
45
%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_nb.qm
46
%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_nl.qm
47
%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_pl.qm
48
%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_pt.qm
49
%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_pt_BR.qm
50
%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_pt_PT.qm
51
%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_ru.qm
52
%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_sl.qm
53
%%QT%%%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_sv.qm
54
%%QT%%%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_tr.qm
55
%%QT%%%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_uk.qm
56
%%QT%%%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_zh_CN.qm
57
%%WEB%%%%DATADIR%%/public_html/images/favicon.ico
58
%%WEB%%%%DATADIR%%/public_html/images/favicon.png
59
%%WEB%%%%DATADIR%%/public_html/images/webclip-icon.png
60
%%WEB%%%%DATADIR%%/public_html/index.html
61
%%WEB%%%%DATADIR%%/public_html/transmission-app.js
62
%%WEB%%%%DATADIR%%/public_html/transmission-app.js.LICENSE.txt
63
%%GTK%%bin/transmission-gtk
64
%%GTK%%man/man1/transmission-gtk.1.gz
65
%%GTK%%share/applications/transmission-gtk.desktop
66
%%GTK%%share/icons/hicolor/scalable/apps/transmission-devel.svg
67
%%GTK%%share/icons/hicolor/scalable/apps/transmission.svg
68
%%GTK%%share/icons/hicolor/symbolic/apps/transmission-symbolic.svg
69
%%GTK%%%%NLS%%share/locale/an/LC_MESSAGES/transmission-gtk.mo
70
%%GTK%%%%NLS%%share/locale/ar/LC_MESSAGES/transmission-gtk.mo
71
%%GTK%%%%NLS%%share/locale/ast/LC_MESSAGES/transmission-gtk.mo
72
%%GTK%%%%NLS%%share/locale/az/LC_MESSAGES/transmission-gtk.mo
73
%%GTK%%%%NLS%%share/locale/be/LC_MESSAGES/transmission-gtk.mo
74
%%GTK%%%%NLS%%share/locale/bg/LC_MESSAGES/transmission-gtk.mo
75
%%GTK%%%%NLS%%share/locale/bn/LC_MESSAGES/transmission-gtk.mo
76
%%GTK%%%%NLS%%share/locale/br/LC_MESSAGES/transmission-gtk.mo
77
%%GTK%%%%NLS%%share/locale/bs/LC_MESSAGES/transmission-gtk.mo
78
%%GTK%%%%NLS%%share/locale/ca/LC_MESSAGES/transmission-gtk.mo
79
%%GTK%%%%NLS%%share/locale/ca@valencia/LC_MESSAGES/transmission-gtk.mo
80
%%GTK%%%%NLS%%share/locale/ceb/LC_MESSAGES/transmission-gtk.mo
81
%%GTK%%%%NLS%%share/locale/ckb/LC_MESSAGES/transmission-gtk.mo
82
%%GTK%%%%NLS%%share/locale/cs/LC_MESSAGES/transmission-gtk.mo
83
%%GTK%%%%NLS%%share/locale/cy/LC_MESSAGES/transmission-gtk.mo
84
%%GTK%%%%NLS%%share/locale/da/LC_MESSAGES/transmission-gtk.mo
85
%%GTK%%%%NLS%%share/locale/de/LC_MESSAGES/transmission-gtk.mo
86
%%GTK%%%%NLS%%share/locale/el/LC_MESSAGES/transmission-gtk.mo
87
%%GTK%%%%NLS%%share/locale/en_AU/LC_MESSAGES/transmission-gtk.mo
88
%%GTK%%%%NLS%%share/locale/en_CA/LC_MESSAGES/transmission-gtk.mo
89
%%GTK%%%%NLS%%share/locale/en_GB/LC_MESSAGES/transmission-gtk.mo
90
%%GTK%%%%NLS%%share/locale/eo/LC_MESSAGES/transmission-gtk.mo
91
%%GTK%%%%NLS%%share/locale/es/LC_MESSAGES/transmission-gtk.mo
92
%%GTK%%%%NLS%%share/locale/et/LC_MESSAGES/transmission-gtk.mo
93
%%GTK%%%%NLS%%share/locale/eu/LC_MESSAGES/transmission-gtk.mo
94
%%GTK%%%%NLS%%share/locale/fa/LC_MESSAGES/transmission-gtk.mo
95
%%GTK%%%%NLS%%share/locale/fi/LC_MESSAGES/transmission-gtk.mo
96
%%GTK%%%%NLS%%share/locale/fil/LC_MESSAGES/transmission-gtk.mo
97
%%GTK%%%%NLS%%share/locale/fo/LC_MESSAGES/transmission-gtk.mo
98
%%GTK%%%%NLS%%share/locale/fr/LC_MESSAGES/transmission-gtk.mo
99
%%GTK%%%%NLS%%share/locale/fr_CA/LC_MESSAGES/transmission-gtk.mo
100
%%GTK%%%%NLS%%share/locale/ga/LC_MESSAGES/transmission-gtk.mo
101
%%GTK%%%%NLS%%share/locale/gl/LC_MESSAGES/transmission-gtk.mo
102
%%GTK%%%%NLS%%share/locale/gv/LC_MESSAGES/transmission-gtk.mo
103
%%GTK%%%%NLS%%share/locale/he/LC_MESSAGES/transmission-gtk.mo
104
%%GTK%%%%NLS%%share/locale/hi/LC_MESSAGES/transmission-gtk.mo
105
%%GTK%%%%NLS%%share/locale/hr/LC_MESSAGES/transmission-gtk.mo
106
%%GTK%%%%NLS%%share/locale/hu/LC_MESSAGES/transmission-gtk.mo
107
%%GTK%%%%NLS%%share/locale/hy/LC_MESSAGES/transmission-gtk.mo
108
%%GTK%%%%NLS%%share/locale/ia/LC_MESSAGES/transmission-gtk.mo
109
%%GTK%%%%NLS%%share/locale/id/LC_MESSAGES/transmission-gtk.mo
110
%%GTK%%%%NLS%%share/locale/is/LC_MESSAGES/transmission-gtk.mo
111
%%GTK%%%%NLS%%share/locale/it/LC_MESSAGES/transmission-gtk.mo
112
%%GTK%%%%NLS%%share/locale/ja/LC_MESSAGES/transmission-gtk.mo
113
%%GTK%%%%NLS%%share/locale/jbo/LC_MESSAGES/transmission-gtk.mo
114
%%GTK%%%%NLS%%share/locale/ka/LC_MESSAGES/transmission-gtk.mo
115
%%GTK%%%%NLS%%share/locale/kk/LC_MESSAGES/transmission-gtk.mo
116
%%GTK%%%%NLS%%share/locale/ko/LC_MESSAGES/transmission-gtk.mo
117
%%GTK%%%%NLS%%share/locale/ku/LC_MESSAGES/transmission-gtk.mo
118
%%GTK%%%%NLS%%share/locale/ky/LC_MESSAGES/transmission-gtk.mo
119
%%GTK%%%%NLS%%share/locale/li/LC_MESSAGES/transmission-gtk.mo
120
%%GTK%%%%NLS%%share/locale/lt/LC_MESSAGES/transmission-gtk.mo
121
%%GTK%%%%NLS%%share/locale/lv/LC_MESSAGES/transmission-gtk.mo
122
%%GTK%%%%NLS%%share/locale/mk/LC_MESSAGES/transmission-gtk.mo
123
%%GTK%%%%NLS%%share/locale/ml/LC_MESSAGES/transmission-gtk.mo
124
%%GTK%%%%NLS%%share/locale/mr/LC_MESSAGES/transmission-gtk.mo
125
%%GTK%%%%NLS%%share/locale/ms/LC_MESSAGES/transmission-gtk.mo
126
%%GTK%%%%NLS%%share/locale/mt/LC_MESSAGES/transmission-gtk.mo
127
%%GTK%%%%NLS%%share/locale/nb/LC_MESSAGES/transmission-gtk.mo
128
%%GTK%%%%NLS%%share/locale/nl/LC_MESSAGES/transmission-gtk.mo
129
%%GTK%%%%NLS%%share/locale/nn/LC_MESSAGES/transmission-gtk.mo
130
%%GTK%%%%NLS%%share/locale/oc/LC_MESSAGES/transmission-gtk.mo
131
%%GTK%%%%NLS%%share/locale/pl/LC_MESSAGES/transmission-gtk.mo
132
%%GTK%%%%NLS%%share/locale/pt/LC_MESSAGES/transmission-gtk.mo
133
%%GTK%%%%NLS%%share/locale/pt_BR/LC_MESSAGES/transmission-gtk.mo
134
%%GTK%%%%NLS%%share/locale/pt_PT/LC_MESSAGES/transmission-gtk.mo
135
%%GTK%%%%NLS%%share/locale/ro/LC_MESSAGES/transmission-gtk.mo
136
%%GTK%%%%NLS%%share/locale/ru/LC_MESSAGES/transmission-gtk.mo
137
%%GTK%%%%NLS%%share/locale/si/LC_MESSAGES/transmission-gtk.mo
138
%%GTK%%%%NLS%%share/locale/sk/LC_MESSAGES/transmission-gtk.mo
139
%%GTK%%%%NLS%%share/locale/sl/LC_MESSAGES/transmission-gtk.mo
140
%%GTK%%%%NLS%%share/locale/sq/LC_MESSAGES/transmission-gtk.mo
141
%%GTK%%%%NLS%%share/locale/sr/LC_MESSAGES/transmission-gtk.mo
142
%%GTK%%%%NLS%%share/locale/sv/LC_MESSAGES/transmission-gtk.mo
143
%%GTK%%%%NLS%%share/locale/ta/LC_MESSAGES/transmission-gtk.mo
144
%%GTK%%%%NLS%%share/locale/te/LC_MESSAGES/transmission-gtk.mo
145
%%GTK%%%%NLS%%share/locale/th/LC_MESSAGES/transmission-gtk.mo
146
%%GTK%%%%NLS%%share/locale/tr/LC_MESSAGES/transmission-gtk.mo
147
%%GTK%%%%NLS%%share/locale/ug/LC_MESSAGES/transmission-gtk.mo
148
%%GTK%%%%NLS%%share/locale/uk/LC_MESSAGES/transmission-gtk.mo
149
%%GTK%%%%NLS%%share/locale/ur/LC_MESSAGES/transmission-gtk.mo
150
%%GTK%%%%NLS%%share/locale/uz/LC_MESSAGES/transmission-gtk.mo
151
%%GTK%%%%NLS%%share/locale/vi/LC_MESSAGES/transmission-gtk.mo
152
%%GTK%%%%NLS%%share/locale/zh_CN/LC_MESSAGES/transmission-gtk.mo
153
%%GTK%%%%NLS%%share/locale/zh_HK/LC_MESSAGES/transmission-gtk.mo
154
%%GTK%%%%NLS%%share/locale/zh_TW/LC_MESSAGES/transmission-gtk.mo
155
%%GTK%%%%NLS%%share/metainfo/transmission-gtk.metainfo.xml
156
- 

Return to bug 274065