git: ac3e39992e95 - main - net-p2p/transmission: Reorganize as a metaport

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Sat, 30 Sep 2023 20:00:24 UTC
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ac3e39992e95659a5193a15d4cb873efb00fcb30

commit ac3e39992e95659a5193a15d4cb873efb00fcb30
Author:     Rafe <mondo.debater_0q@icloud.com>
AuthorDate: 2023-09-24 20:04:16 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-09-30 20:00:01 +0000

    net-p2p/transmission: Reorganize as a metaport
    
    Port reorganized as a metaport. Each component can be installed
    separately or selected as an option via the metaport.  Components
    were moved to net-p2p/transmission-components.
    See MOVED for additional information.
    
    Also fixes log-level typo in rc file and description errors
    
    PR:             273841, 274054 274065
    Reported by:    Anton Saietskii <vsasjason@gmail.com>
    Reported by:    Matt <lazeraman@gmail.com>
    Reported by:    Benjamin Takacs <nimaje+fbz@bureaucracy.de>
    Differential Revision: https://reviews.freebsd.org/D41975
---
 MOVED                                              |  12 +-
 UPDATING                                           |  10 ++
 net-p2p/Makefile                                   |   1 +
 net-p2p/transmission-components/Makefile           | 189 +++++++++++++++++++++
 .../distinfo                                       |   0
 .../files/patch-CMakeLists.txt}                    |   0
 .../files/patch-gtk_Application.cc                 |   0
 .../files/patch-gtk_DetailsDialog.cc               |   0
 .../files/patch-libtransmission_file-posix.cc      |   0
 .../files/patch-libtransmission_variant-json.cc    |   0
 .../files/patch-qt_transmission-qt.desktop         |  11 ++
 .../files/transmission.in                          |   0
 net-p2p/transmission-components/pkg-descr.cli      |   1 +
 net-p2p/transmission-components/pkg-descr.daemon   |   9 +
 net-p2p/transmission-components/pkg-descr.docs     |   1 +
 net-p2p/transmission-components/pkg-descr.gtk      |   1 +
 net-p2p/transmission-components/pkg-descr.qt       |   1 +
 net-p2p/transmission-components/pkg-descr.utils    |   1 +
 .../pkg-plist.cli                                  |   0
 net-p2p/transmission-components/pkg-plist.daemon   |   9 +
 net-p2p/transmission-components/pkg-plist.docs     |  10 ++
 .../pkg-plist.gtk                                  |   0
 .../pkg-plist.qt                                   |   2 +-
 .../pkg-plist.utils                                |   0
 net-p2p/transmission/Makefile                      | 186 ++------------------
 net-p2p/transmission/pkg-plist.daemon              |  19 ---
 net-p2p/transmission/pkg-plist.default             | 155 -----------------
 27 files changed, 264 insertions(+), 354 deletions(-)

diff --git a/MOVED b/MOVED
index 543723e52fda..2d5c1bcd077e 100644
--- a/MOVED
+++ b/MOVED
@@ -7842,12 +7842,7 @@ textproc/rubygem-cucumber-gherkin23|textproc/rubygem-cucumber-gherkin|2023-09-04
 textproc/rubygem-cucumber-html-formatter19|textproc/rubygem-cucumber-html-formatter|2023-09-04|Remove obsoleted port. Use textproc/rubygem-cucumber-html-formatter instead
 cad/py-ocp||2023-09-05|Has expired: Broken since 2021
 sysutils/bacula11-libs3|sysutils/bacula-libs3|2023-09-10|No reason to have version in the port name. Works with 11 and 13
-net-p2p/transmission-cli|net-p2p/transmission|2023-09-10|Moved to a flavored version
-net-p2p/transmission-daemon|net-p2p/transmission|2023-09-10|Moved to a flavored version
-net-p2p/transmission-gtk|net-p2p/transmission|2023-09-10|Moved to a flavored version
-net-p2p/transmission-qt|net-p2p/transmission|2023-09-10|Moved to a flavored version
-net-p2p/transmission-utils|net-p2p/transmission|2023-09-10|Moved to a flavored version
-www/transmission-web|net-p2p/transmission|2023-09-10|Moved to the daemon flavor
+www/transmission-web|net-p2p/transmission-components@daemon|2023-09-10|Moved to the daemon flavor
 devel/rubygem-cucumber-tag-expressions4|devel/rubygem-cucumber-tag-expressions|2023-09-11|Remove obsoleted port. Use devel/rubygem-cucumber-tag-expressions instead
 security/rosenpass|net/rosenpass|2023-09-12|Remove duplicate port
 dns/tinystats||2023-09-20|Has expired: djbdns got removed, port is no longer required
@@ -7922,3 +7917,8 @@ www/mediawiki138|www/mediawiki139|2023-09-30|Has expired: end of life upstream
 www/awffull||2023-09-30|Has expired: Abandonware, last release in 14+ years ago. Consider using www/awstats
 textproc/raptor||2023-09-30|Has expired: No new release in 10+ years and superseded by 2.0-branch, consider using textproc/raptor2
 devel/php-composer2|devel/php-composer|2023-09-30|Port for newer version moved over old EOL version port
+net-p2p/transmission-cli|net-p2p/transmission-components@cli|2023-09-30|Moved for metaport
+net-p2p/transmission-daemon|net-p2p/transmission-components@daemon|2023-09-30|Moved for metaport
+net-p2p/transmission-gtk|net-p2p/transmission-components@gtk|2023-09-30|Moved for metaport
+net-p2p/transmission-qt|net-p2p/transmission-components@qt|2023-09-30|Moved for metaport
+net-p2p/transmission-utils|net-p2p/transmission-components@utils|2023-09-30|Moved for metaport
diff --git a/UPDATING b/UPDATING
index 90775bb8953e..0bbb26ac51ce 100644
--- a/UPDATING
+++ b/UPDATING
@@ -6,6 +6,16 @@ You should get into the habit of checking this file for changes each time
 you update your ports collection, before attempting any port upgrades.
 
 20230930:
+  AFFECTS: users of Transmission (net-p2p/transmission@*)
+  AUTHOR:  mondo.debater_0q@icloud.com
+
+  Fixes Bug 274065 by reorganizing the port as a metaport
+  (net-p2p/transmission) and components port (net-p2p/transmission-components).
+  Each component may be installed through the flavors of
+  transmission-componenents (@cli, @daemon, @docs, @gtk, @qt, @utils).
+  Alternatively, one or more component may be installed by running make config
+  on the metaport net-p2p/transmission.
+
   AFFECTS: users of devel/php-composer2
   AUTHOR: madpilot@FreeBSD.org
 
diff --git a/net-p2p/Makefile b/net-p2p/Makefile
index 4c82e290ccca..f7a7433ec687 100644
--- a/net-p2p/Makefile
+++ b/net-p2p/Makefile
@@ -99,6 +99,7 @@
     SUBDIR += torrentcheck
     SUBDIR += torrentsniff
     SUBDIR += transmission
+    SUBDIR += transmission-components
     SUBDIR += transmission-remote-gui
     SUBDIR += twitch-tui
     SUBDIR += udpt
diff --git a/net-p2p/transmission-components/Makefile b/net-p2p/transmission-components/Makefile
new file mode 100644
index 000000000000..df98959a029f
--- /dev/null
+++ b/net-p2p/transmission-components/Makefile
@@ -0,0 +1,189 @@
+PORTNAME=	transmission
+DISTVERSION=	4.0.4
+CATEGORIES=	net-p2p
+
+MAINTAINER=	mondo.debater_0q@icloud.com
+COMMENT=	Transmission BitTorrent client
+WWW=		https://www.transmissionbt.com
+
+LICENSE=	GPLv3+
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+LIB_DEPENDS=	libb64.so:converters/libb64 \
+		libcurl.so:ftp/curl \
+		libdeflate.so:archivers/libdeflate \
+		libdht.so:devel/jech-dht \
+		libevent.so:devel/libevent \
+		libfmt.so:devel/libfmt \
+		libminiupnpc.so:net/miniupnpc \
+		libnatpmp.so:net/libnatpmp \
+		libpsl.so:dns/libpsl \
+		libutp.so:net-p2p/libutp
+
+FLAVORS=			cli docs daemon gtk qt utils
+FLAVOR?=			${FLAVORS:[1]}
+.for flavor in ${FLAVORS}
+${flavor}_PKGNAMESUFFIX=	-${flavor}
+.endfor
+
+DESCR=		${PKGDIR}/pkg-descr.${FLAVOR}
+
+.if ${FLAVOR} == docs
+NO_BUILD=	yes
+LIB_DEPENDS=
+.endif
+
+gtk_LIB_DEPENDS=	libayatana-appindicator3.so:devel/libayatana-appindicator \
+			libharfbuzz.so:print/harfbuzz
+
+USES=		cmake cpe iconv libtool localbase pkgconfig ssl
+
+CPE_VENDOR=	transmissionbt
+CPE_PRODUCT=	transmission
+
+USE_GITHUB=	YES
+GH_TUPLE=	google:googletest:af29db7:googletest/third-party/googletest \
+		transmission:fast_float:6624977:fast_float/third-party/fast_float \
+		transmission:utfcpp:b85efd6:utfcpp/third-party/utfcpp \
+		transmission:wide-integer:4de0b52:wideinteger/third-party/wide-integer
+
+.if ${FLAVOR} == gtk
+USES+=		desktop-file-utils gettext-runtime gettext-tools gnome
+USE_GNOME=	gdkpixbuf2 glibmm gtkmm30
+.endif
+
+.if ${FLAVOR} == qt
+USES+=		desktop-file-utils qmake:no_env qt:5
+USE_QT=		core dbus gui network svg widgets buildtools:build \
+		linguisttools:build
+.endif
+
+.if ${FLAVOR} == daemon
+USE_RC_SUBR=	transmission
+.endif
+
+.if ${FLAVOR} == docs
+USES=		cpe
+.endif
+
+CMAKE_ARGS=	-DCMAKE_C_STANDARD_INCLUDE_DIRECTORIES=${LOCALBASE}/include \
+		-DCMAKE_CXX_STANDARD_INCLUDE_DIRECTORIES=${LOCALBASE}/include \
+		-DCMAKE_INSTALL_MANDIR="${PREFIX}/man"
+CMAKE_ON=	USE_SYSTEM_B64 USE_SYSTEM_DEFLATE USE_SYSTEM_DHT \
+		USE_SYSTEM_EVENT2 USE_SYSTEM_MINIUPNPC USE_SYSTEM_NATPMP \
+		USE_SYSTEM_PSL USE_SYSTEM_UTP
+CMAKE_OFF=	ENABLE_MAC REBUILD_WEB WITH_SYSTEMD
+
+.if ${FLAVOR:Ndocs}
+USERS=		transmission
+GROUPS=		transmission
+.endif
+
+PLIST=		${PKGDIR}/pkg-plist.${FLAVOR}
+
+.if ${FLAVOR} == cli
+CMAKE_ON+=	ENABLE_CLI
+CMAKE_OFF+=	ENABLE_DAEMON ENABLE_GTK ENABLE_QT ENABLE_UTILS INSTALL_WEB
+.endif
+
+.if ${FLAVOR} == daemon
+CMAKE_ON+=	ENABLE_DAEMON
+CMAKE_OFF+=	ENABLE_CLI ENABLE_GTK ENABLE_QT ENABLE_UTILS
+.endif
+
+.if ${FLAVOR} == gtk
+CMAKE_ON+=	ENABLE_GTK GTK_IS_REQUIRED
+CMAKE_ARGS+=	-DUSE_GTK_VERSION=3
+CMAKE_OFF+=	ENABLE_CLI ENABLE_DAEMON ENABLE_UTILS INSTALL_WEB
+.endif
+
+.if ${FLAVOR} == qt
+CMAKE_ON+=	ENABLE_QT QT_IS_REQUIRED
+CMAKE_ARGS+=	-DUSE_QT_VERSION=5
+CMAKE_OFF+=	ENABLE_CLI ENABLE_DAEMON ENABLE_UTILS INSTALL_WEB
+.endif
+
+.if ${FLAVOR} == utils
+CMAKE_ON+=	ENABLE_UTILS
+CMAKE_OFF+=	ENABLE_CLI ENABLE_DAEMON ENABLE_GTK ENABLE_QT ENABLE_TESTS \
+		ENABLE_WERROR INSTALL_WEB
+.endif
+
+OPTIONS_FILE=	${PORT_DBDIR}/${OPTIONS_NAME}/${FLAVOR}-options
+
+.if ${FLAVOR:Mdaemon}
+OPTIONS_DEFINE=		NLS TESTS WEB
+OPTIONS_DEFAULT=	NLS WEB
+.endif
+
+.if ${FLAVOR:Mdocs}
+OPTIONS_DEFINE=
+.endif
+
+.if ${FLAVOR:Ndaemon} && ${FLAVOR:Ndocs}
+OPTIONS_DEFINE=		NLS TESTS
+OPTIONS_DEFAULT=	NLS
+.endif
+
+OPTIONS_SUB=	yes
+
+daemon_DESC=	Build daemon
+docs_DESC=	Install documentation
+gtk_DESC=	Build GTK+ client
+qt_DESC=	Build QT client
+TESTS_DESC=	Build & run unit tests
+utils_DESC=	Build utilities (create, edit, remote, show)
+cli_DESC=	Build command-line client (deprecated)
+WEB_DESC=	Install web client (imples daemon)
+
+NLS_USES=	gettext-runtime:lib
+NLS_CMAKE_BOOL=	ENABLE_NLS
+
+TESTS_CMAKE_BOOL=	ENABLE_TESTS
+
+UTILS_CMAKE_BOOL=	ENABLE_UTILS
+
+WEB_CMAKE_BOOL=	INSTALL_WEB
+
+post-extract:
+	@${ECHO_MSG} "Cludging use of devel/libfmt as Transmission's CMakeLists.txt does not properly search for it."
+	@${MKDIR} ${WRKSRC}/third-party/fmt/include/fmt
+	@${LN} -Fs ${PREFIX}/include/fmt ${WRKSRC}/third-party/fmt/include/fmt
+
+.if ${FLAVOR} == docs
+pre-install:
+	@${ECHO_MSG} "Removing outdated release notes"
+	@${FIND} ${WRKSRC}/news \( -name 'news-[0-3]*' -o -name '*beta*' \) -delete
+
+do-install:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	@cd ${WRKSRC} ; ${CP} AUTHORS ${STAGEDIR}${DOCSDIR} ;\
+	       	${CP} COPYING ${STAGEDIR}${DOCSDIR} ;\
+	       	${CP} README.md ${STAGEDIR}${DOCSDIR}
+	@cd ${WRKSRC}/docs ; ${CP} rpc-spec.md ${STAGEDIR}${DOCSDIR}
+	@cd ${WRKSRC}/extras ; ${CP} send-email-when-torrent-done.sh ${STAGEDIR}${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}/news
+	@cd ${WRKSRC}/news ; ${CP} -R . ${STAGEDIR}${DOCSDIR}/news
+.endif
+
+.if ${FLAVOR} == qt
+post-install:
+	${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps
+	${INSTALL_DATA}	${WRKSRC}/qt/icons/transmission.svg \
+		${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/transmission-qt.svg
+.endif
+
+.if ${FLAVOR} == daemon
+post-install:
+	        ${MKDIR} ${STAGEDIR}${ETCDIR}/home
+.endif
+
+post-install-TESTS-on:
+	@${ECHO_MSG} "Running tests..."
+	@cd ${BUILD_WRKSRC}/tests/libtransmission/ && \
+		eval ${BUILD_WRKSRC}/tests/libtransmission/libtransmission-test \
+		--gtest_filter="-DhtTest.usesBootstrapFile" \
+		#fails in poudriere due to lack of networking, passes otherwise
+		--gtest_brief=1 \
+
+.include <bsd.port.mk>
diff --git a/net-p2p/transmission/distinfo b/net-p2p/transmission-components/distinfo
similarity index 100%
rename from net-p2p/transmission/distinfo
rename to net-p2p/transmission-components/distinfo
diff --git a/net-p2p/transmission/files/extra-patch-CMakeLists.txt b/net-p2p/transmission-components/files/patch-CMakeLists.txt
similarity index 100%
rename from net-p2p/transmission/files/extra-patch-CMakeLists.txt
rename to net-p2p/transmission-components/files/patch-CMakeLists.txt
diff --git a/net-p2p/transmission/files/patch-gtk_Application.cc b/net-p2p/transmission-components/files/patch-gtk_Application.cc
similarity index 100%
rename from net-p2p/transmission/files/patch-gtk_Application.cc
rename to net-p2p/transmission-components/files/patch-gtk_Application.cc
diff --git a/net-p2p/transmission/files/patch-gtk_DetailsDialog.cc b/net-p2p/transmission-components/files/patch-gtk_DetailsDialog.cc
similarity index 100%
rename from net-p2p/transmission/files/patch-gtk_DetailsDialog.cc
rename to net-p2p/transmission-components/files/patch-gtk_DetailsDialog.cc
diff --git a/net-p2p/transmission/files/patch-libtransmission_file-posix.cc b/net-p2p/transmission-components/files/patch-libtransmission_file-posix.cc
similarity index 100%
rename from net-p2p/transmission/files/patch-libtransmission_file-posix.cc
rename to net-p2p/transmission-components/files/patch-libtransmission_file-posix.cc
diff --git a/net-p2p/transmission/files/patch-libtransmission_variant-json.cc b/net-p2p/transmission-components/files/patch-libtransmission_variant-json.cc
similarity index 100%
rename from net-p2p/transmission/files/patch-libtransmission_variant-json.cc
rename to net-p2p/transmission-components/files/patch-libtransmission_variant-json.cc
diff --git a/net-p2p/transmission-components/files/patch-qt_transmission-qt.desktop b/net-p2p/transmission-components/files/patch-qt_transmission-qt.desktop
new file mode 100644
index 000000000000..45b672aa5aab
--- /dev/null
+++ b/net-p2p/transmission-components/files/patch-qt_transmission-qt.desktop
@@ -0,0 +1,11 @@
+--- qt/transmission-qt.desktop.orig	2023-09-24 19:03:24 UTC
++++ qt/transmission-qt.desktop
+@@ -5,7 +5,7 @@ Comment=Download and share files over BitTorrent
+ # Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
+ Keywords=torrents;downloading;uploading;share;sharing;
+ Exec=transmission-qt %U
+-Icon=transmission
++Icon=transmission-qt
+ Terminal=false
+ Type=Application
+ MimeType=application/x-bittorrent;x-scheme-handler/magnet;
diff --git a/net-p2p/transmission/files/transmission.in b/net-p2p/transmission-components/files/transmission.in
similarity index 100%
rename from net-p2p/transmission/files/transmission.in
rename to net-p2p/transmission-components/files/transmission.in
diff --git a/net-p2p/transmission-components/pkg-descr.cli b/net-p2p/transmission-components/pkg-descr.cli
new file mode 100644
index 000000000000..47ef80b7b421
--- /dev/null
+++ b/net-p2p/transmission-components/pkg-descr.cli
@@ -0,0 +1 @@
+Transmission-cli is a deprecated CLI Bit-torrent client.
diff --git a/net-p2p/transmission-components/pkg-descr.daemon b/net-p2p/transmission-components/pkg-descr.daemon
new file mode 100644
index 000000000000..e6851c0cae2a
--- /dev/null
+++ b/net-p2p/transmission-components/pkg-descr.daemon
@@ -0,0 +1,9 @@
+The transmission-daemon is a daemon-based Transmission session that can be
+controlled via RPC by transmission-remote (see transmission-utils) and
+other Transmission BiTtorrent client such as GTK+ and CLI interface.
+
+Transmission Web Interface (Clutch) is a WebUI for the Transmission BitTorrent
+client. It allows you to manage your torrents from anywhere you can access the
+internet, and runs on OS X and various flavors of *nix. It provides most of
+the basic features of the desktop client, including torrent upload, torrent
+start/stop, file path selection, speed limiting etc.
diff --git a/net-p2p/transmission-components/pkg-descr.docs b/net-p2p/transmission-components/pkg-descr.docs
new file mode 100644
index 000000000000..dd9017f13e70
--- /dev/null
+++ b/net-p2p/transmission-components/pkg-descr.docs
@@ -0,0 +1 @@
+Complete documentation files for the Transmission Bit-Torrent client.
diff --git a/net-p2p/transmission-components/pkg-descr.gtk b/net-p2p/transmission-components/pkg-descr.gtk
new file mode 100644
index 000000000000..93fd677d59cf
--- /dev/null
+++ b/net-p2p/transmission-components/pkg-descr.gtk
@@ -0,0 +1 @@
+Transmission-gtk provides a native Transmission client for the GNOME desktop environment.
diff --git a/net-p2p/transmission-components/pkg-descr.qt b/net-p2p/transmission-components/pkg-descr.qt
new file mode 100644
index 000000000000..752b49dbb81b
--- /dev/null
+++ b/net-p2p/transmission-components/pkg-descr.qt
@@ -0,0 +1 @@
+Transmission-qt provides a native Transmission client for the KDE and GNOME desktop environments.
diff --git a/net-p2p/transmission-components/pkg-descr.utils b/net-p2p/transmission-components/pkg-descr.utils
new file mode 100644
index 000000000000..0c2c3e286cf4
--- /dev/null
+++ b/net-p2p/transmission-components/pkg-descr.utils
@@ -0,0 +1 @@
+Transmission-utils includes the tools to create and manipulate torrent files. Transmission-remote is a fast and lightweight CLI (command line) BitTorrent client.  
diff --git a/net-p2p/transmission/pkg-plist.cli b/net-p2p/transmission-components/pkg-plist.cli
similarity index 100%
rename from net-p2p/transmission/pkg-plist.cli
rename to net-p2p/transmission-components/pkg-plist.cli
diff --git a/net-p2p/transmission-components/pkg-plist.daemon b/net-p2p/transmission-components/pkg-plist.daemon
new file mode 100644
index 000000000000..984ef7e445cd
--- /dev/null
+++ b/net-p2p/transmission-components/pkg-plist.daemon
@@ -0,0 +1,9 @@
+bin/transmission-daemon
+@dir %%ETCDIR%%/home
+man/man1/transmission-daemon.1.gz
+%%WEB%%%%DATADIR%%/public_html/images/favicon.ico
+%%WEB%%%%DATADIR%%/public_html/images/favicon.png
+%%WEB%%%%DATADIR%%/public_html/images/webclip-icon.png
+%%WEB%%%%DATADIR%%/public_html/index.html
+%%WEB%%%%DATADIR%%/public_html/transmission-app.js
+%%WEB%%%%DATADIR%%/public_html/transmission-app.js.LICENSE.txt
diff --git a/net-p2p/transmission-components/pkg-plist.docs b/net-p2p/transmission-components/pkg-plist.docs
new file mode 100644
index 000000000000..ca868f754924
--- /dev/null
+++ b/net-p2p/transmission-components/pkg-plist.docs
@@ -0,0 +1,10 @@
+%%DOCSDIR%%/AUTHORS
+%%DOCSDIR%%/COPYING
+%%DOCSDIR%%/news/news-4.0.0.md
+%%DOCSDIR%%/news/news-4.0.1.md
+%%DOCSDIR%%/news/news-4.0.2.md
+%%DOCSDIR%%/news/news-4.0.3.md
+%%DOCSDIR%%/news/news-4.0.4.md
+%%DOCSDIR%%/README.md
+%%DOCSDIR%%/rpc-spec.md
+%%DOCSDIR%%/send-email-when-torrent-done.sh
diff --git a/net-p2p/transmission/pkg-plist.gtk b/net-p2p/transmission-components/pkg-plist.gtk
similarity index 100%
rename from net-p2p/transmission/pkg-plist.gtk
rename to net-p2p/transmission-components/pkg-plist.gtk
diff --git a/net-p2p/transmission/pkg-plist.qt b/net-p2p/transmission-components/pkg-plist.qt
similarity index 96%
rename from net-p2p/transmission/pkg-plist.qt
rename to net-p2p/transmission-components/pkg-plist.qt
index 2e8c97073427..5085a1378da3 100644
--- a/net-p2p/transmission/pkg-plist.qt
+++ b/net-p2p/transmission-components/pkg-plist.qt
@@ -1,7 +1,7 @@
 bin/transmission-qt
 man/man1/transmission-qt.1.gz
 share/applications/transmission-qt.desktop
-share/icons/hicolor/scalable/apps/transmission.svg
+share/icons/hicolor/scalable/apps/transmission-qt.svg
 %%NLS%%%%DATADIR%%/translations/transmission_af.qm
 %%NLS%%%%DATADIR%%/translations/transmission_ca.qm
 %%NLS%%%%DATADIR%%/translations/transmission_da.qm
diff --git a/net-p2p/transmission/pkg-plist.utils b/net-p2p/transmission-components/pkg-plist.utils
similarity index 100%
rename from net-p2p/transmission/pkg-plist.utils
rename to net-p2p/transmission-components/pkg-plist.utils
diff --git a/net-p2p/transmission/Makefile b/net-p2p/transmission/Makefile
index 10c1b2de41e1..470c7d780f25 100644
--- a/net-p2p/transmission/Makefile
+++ b/net-p2p/transmission/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	transmission
 DISTVERSION=	4.0.4
-PORTREVISION=	3
 CATEGORIES=	net-p2p
 
 MAINTAINER=	mondo.debater_0q@icloud.com
@@ -8,183 +7,24 @@ COMMENT=	Transmission BitTorrent client
 WWW=		https://www.transmissionbt.com
 
 LICENSE=	GPLv3+
-LICENSE_FILE=	${WRKSRC}/COPYING
 
-LIB_DEPENDS=	libb64.so:converters/libb64 \
-		libcurl.so:ftp/curl \
-		libdeflate.so:archivers/libdeflate \
-		libdht.so:devel/jech-dht \
-		libevent.so:devel/libevent \
-		libfmt.so:devel/libfmt \
-		libminiupnpc.so:net/miniupnpc \
-		libnatpmp.so:net/libnatpmp \
-		libpsl.so:dns/libpsl \
-		libutp.so:net-p2p/libutp
+USES=		metaport
 
-FLAVORS=			default cli daemon gtk qt utils
-FLAVOR?=			${FLAVORS:[1]}
-.for flavor in ${FLAVORS}
-${flavor}_PKGNAMESUFFIX=	-${flavor}
-.endfor
+OPTIONS_DEFINE=		CLI DAEMON DOCS GTK QT UTILS
+OPTIONS_DEFAULT=	CLI DAEMON GTK QT UTILS
 
-CONFLICTS_INSTALL=		transmission-default
-default_CONFLICTS_INSTALL=     	transmission-*
-
-gtk_LIB_DEPENDS=		libayatana-appindicator3.so:devel/libayatana-appindicator \
-				libharfbuzz.so:print/harfbuzz
-GTK_LIB_DEPENDS=		${gtk_LIB_DEPENDS}
-
-USES=		cmake cpe iconv libtool localbase pkgconfig ssl
-
-CPE_VENDOR=	transmissionbt
-CPE_PRODUCT=	transmission
-
-USE_GITHUB=	YES
-GH_TUPLE=	google:googletest:af29db7:googletest/third-party/googletest \
-		transmission:fast_float:6624977:fast_float/third-party/fast_float \
-		transmission:utfcpp:b85efd6:utfcpp/third-party/utfcpp \
-		transmission:wide-integer:4de0b52:wideinteger/third-party/wide-integer
-
-.if ${FLAVOR} == gtk
-USES+=		desktop-file-utils gettext-runtime gettext-tools gnome
-USE_GNOME=	gdkpixbuf2 glibmm gtkmm30
-.endif
-
-.if ${FLAVOR} == qt
-USES+=		desktop-file-utils qmake:no_env qt:5
-USE_QT=		core dbus gui network svg widgets buildtools:build \
-		linguisttools:build
-.endif
-
-USE_RC_SUBR=	transmission
-
-CMAKE_ARGS=	-DCMAKE_C_STANDARD_INCLUDE_DIRECTORIES=${LOCALBASE}/include \
-		-DCMAKE_CXX_STANDARD_INCLUDE_DIRECTORIES=${LOCALBASE}/include \
-		-DCMAKE_INSTALL_MANDIR="${PREFIX}/man"
-CMAKE_ON=	USE_SYSTEM_B64 USE_SYSTEM_DEFLATE USE_SYSTEM_DHT \
-		USE_SYSTEM_EVENT2 USE_SYSTEM_MINIUPNPC USE_SYSTEM_NATPMP \
-		USE_SYSTEM_PSL USE_SYSTEM_UTP
-CMAKE_OFF=	ENABLE_MAC REBUILD_WEB WITH_SYSTEMD
-
-USERS=		transmission
-GROUPS=		transmission
-
-PLIST=		${PKGDIR}/pkg-plist.${FLAVOR}
-
-.if ${FLAVOR} == cli
-CMAKE_ON+=	ENABLE_CLI
-CMAKE_OFF+=	ENABLE_DAEMON ENABLE_GTK ENABLE_QT ENABLE_UTILS INSTALL_WEB
-.endif
-
-.if ${FLAVOR} == daemon
-CMAKE_ON+=	ENABLE_DAEMON
-CMAKE_OFF+=	ENABLE_CLI ENABLE_GTK ENABLE_QT ENABLE_UTILS
-.endif
-
-.if ${FLAVOR} == gtk
-CMAKE_ON+=	${GTK_CMAKE_ON}
-CMAKE_ARGS+=	${GTK_CMAKE_ARGS}
-CMAKE_OFF+=	ENABLE_CLI ENABLE_DAEMON ENABLE_UTILS INSTALL_WEB
-.endif
-
-.if ${FLAVOR} == qt
-CMAKE_ON+=	${QT_CMAKE_ON}
-CMAKE_ARGS+=	${QT_CMAKE_ARGS}
-CMAKE_OFF+=	ENABLE_CLI ENABLE_DAEMON ENABLE_UTILS INSTALL_WEB
-.endif
-
-.if ${FLAVOR} == utils
-CMAKE_ON+=	ENABLE_UTILS
-CMAKE_OFF+=	ENABLE_CLI ENABLE_DAEMON ENABLE_GTK ENABLE_QT ENABLE_TESTS \
-		ENABLE_WERROR INSTALL_WEB
-.endif
-
-OPTIONS_DEFINE=		CLI DAEMON DOCS GTK NLS QT TESTS UTILS WEB
-OPTIONS_DEFAULT=	CLI DAEMON DOCS GTK NLS QT UTILS WEB
-
-DOCS_EXTRA_PATCHES_OFF=	${PATCHDIR}/extra-patch-CMakeLists.txt
-.if ${FLAVOR:Ndefault} && ${FLAVOR:Ndaemon}
-EXTRA_PATCHES=		${DOCS_EXTRA_PATCHES_OFF}
-.endif
-
-.if ${FLAVOR:Mdaemon}
-OPTIONS_DEFINE=		DOCS NLS TESTS WEB
-OPTIONS_DEFAULT=	DOCS NLS WEB
-.endif
-
-.if ${FLAVOR:Ndefault} && ${FLAVOR:Ndaemon}
-OPTIONS_DEFINE=		NLS TESTS
-OPTIONS_DEFAULT=	NLS
-.endif
-
-OPTIONS_SUB=	yes
-
-CLI_DESC=	Build remote & command-line (deprecated) clients
+CLI_DESC=	Build command-line client (deprecated)
 DAEMON_DESC=	Build daemon
+DOCS_DESC=	Install documentation
 GTK_DESC=	Build GTK+ client
 QT_DESC=	Build QT client
-TESTS_DESC=	Build & run unit tests
-UTILS_DESC=	Build utilities (create, edit, show)
-WEB_DESC=	Install web client (imples daemon)
-
-CLI_CMAKE_BOOL=	ENABLE_CLI
-
-DAEMON_CMAKE_BOOL=	ENABLE_DAEMON
-
-GTK_CMAKE_ON=		ENABLE_GTK \
-			GTK_IS_REQUIRED
-GTK_CMAKE_ARGS+=	-DUSE_GTK_VERSION=3
-
-QT_CMAKE_ON=	ENABLE_QT \
-		QT_IS_REQUIRED
-QT_CMAKE_ARGS+=	-DUSE_QT_VERSION=5
-
-GTK_USES=	desktop-file-utils gettext-runtime gettext-tools gnome
-GTK_USE=	GNOME=gdkpixbuf2,glibmm,gtkmm30
-
-QT_USES=	desktop-file-utils qmake:no_env qt:5
-QT_USE=		QT=core,dbus,gui,network,svg,widgets,buildtools:build,linguisttools:build
-
-NLS_USES=	gettext-runtime:lib
-NLS_CMAKE_BOOL=	ENABLE_NLS
-
-TESTS_CMAKE_BOOL=	ENABLE_TESTS
-
-UTILS_CMAKE_BOOL=	ENABLE_UTILS
-
-WEB_IMPLIES=	DAEMON
-WEB_CMAKE_BOOL=	INSTALL_WEB
-
-post-extract:
-	@${ECHO_MSG} "Cludging use of devel/libfmt as Transmission's CMakeLists.txt does not properly search for it."
-	@${MKDIR} ${WRKSRC}/third-party/fmt/include/fmt
-	@${LN} -Fs ${PREFIX}/include/fmt ${WRKSRC}/third-party/fmt/include/fmt
-
-post-extract-DOCS-on:
-	@${ECHO_MSG} "Removing outdated release notes"
-	@${FIND} ${WRKSRC}/news \( -name 'news-[0-3]*' -o -name '*beta*' \) -delete
-
-.if ${FLAVOR} == qt
-post-install:
-	${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps
-	${INSTALL_DATA}	${WRKSRC}/qt/icons/transmission.svg \
-		${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/transmission.svg
-.endif
-
-.if ${FLAVOR} == daemon
-post-install:
-	        ${MKDIR} ${STAGEDIR}${ETCDIR}/home
-.endif
-
-post-install-DAEMON-on:
-		        ${MKDIR} ${STAGEDIR}${ETCDIR}/home
-
-post-install-TESTS-on:
-	@${ECHO_MSG} "Running tests..."
-	@cd ${BUILD_WRKSRC}/tests/libtransmission/ && \
-		eval ${BUILD_WRKSRC}/tests/libtransmission/libtransmission-test \
-		--gtest_filter="-DhtTest.usesBootstrapFile" \
-		#fails in poudriere due to lack of networking, passes otherwise
-		--gtest_brief=1 \
+UTILS_DESC=	Build utilities (create, edit, remote, show)
+
+CLI_RUN_DEPENDS=	transmission-cli:net-p2p/transmission-components@cli
+DAEMON_RUN_DEPENDS=	transmission-daemon:net-p2p/transmission-components@daemon
+DOCS_RUN_DEPENDS=	${DOCSDIR}/README.md:net-p2p/transmission-components@docs
+GTK_RUN_DEPENDS=	transmission-gtk:net-p2p/transmission-components@gtk
+QT_RUN_DEPENDS=		transmission-qt:net-p2p/transmission-components@qt
+UTILS_RUN_DEPENDS=	transmission-create:net-p2p/transmission-components@utils
 
 .include <bsd.port.mk>
diff --git a/net-p2p/transmission/pkg-plist.daemon b/net-p2p/transmission/pkg-plist.daemon
deleted file mode 100644
index c5f4731d067a..000000000000
--- a/net-p2p/transmission/pkg-plist.daemon
+++ /dev/null
@@ -1,19 +0,0 @@
-bin/transmission-daemon
-@dir %%ETCDIR%%/home
-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
-%%PORTDOCS%%%%DOCSDIR%%/README.md
-%%PORTDOCS%%%%DOCSDIR%%/news/news-4.0.0.md
-%%PORTDOCS%%%%DOCSDIR%%/news/news-4.0.1.md
-%%PORTDOCS%%%%DOCSDIR%%/news/news-4.0.2.md
-%%PORTDOCS%%%%DOCSDIR%%/news/news-4.0.3.md
-%%PORTDOCS%%%%DOCSDIR%%/news/news-4.0.4.md
-%%PORTDOCS%%%%DOCSDIR%%/rpc-spec.md
-%%PORTDOCS%%%%DOCSDIR%%/send-email-when-torrent-done.sh
-man/man1/transmission-daemon.1.gz
-%%WEB%%%%DATADIR%%/public_html/images/favicon.ico
-%%WEB%%%%DATADIR%%/public_html/images/favicon.png
-%%WEB%%%%DATADIR%%/public_html/images/webclip-icon.png
-%%WEB%%%%DATADIR%%/public_html/index.html
-%%WEB%%%%DATADIR%%/public_html/transmission-app.js
-%%WEB%%%%DATADIR%%/public_html/transmission-app.js.LICENSE.txt
diff --git a/net-p2p/transmission/pkg-plist.default b/net-p2p/transmission/pkg-plist.default
deleted file mode 100644
index ca69c2fc4aee..000000000000
--- a/net-p2p/transmission/pkg-plist.default
+++ /dev/null
@@ -1,155 +0,0 @@
-%%QT%%bin/transmission-qt
-%%CLI%%bin/transmission-cli
-%%UTILS%%bin/transmission-create
-%%DAEMON%%bin/transmission-daemon
-%%UTILS%%bin/transmission-edit
-%%UTILS%%bin/transmission-remote
-%%UTILS%%bin/transmission-show
-%%DAEMON%%@dir %%ETCDIR%%/home
-%%QT%%man/man1/transmission-qt.1.gz
-%%CLI%%man/man1/transmission-cli.1.gz
-%%UTILS%%man/man1/transmission-create.1.gz
-%%DAEMON%%man/man1/transmission-daemon.1.gz
-%%UTILS%%man/man1/transmission-edit.1.gz
-%%UTILS%%man/man1/transmission-remote.1.gz
-%%UTILS%%man/man1/transmission-show.1.gz
-%%QT%%share/applications/transmission-qt.desktop
-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
-%%PORTDOCS%%%%DOCSDIR%%/README.md
-%%PORTDOCS%%%%DOCSDIR%%/news/news-4.0.0.md
-%%PORTDOCS%%%%DOCSDIR%%/news/news-4.0.1.md
-%%PORTDOCS%%%%DOCSDIR%%/news/news-4.0.2.md
-%%PORTDOCS%%%%DOCSDIR%%/news/news-4.0.3.md
-%%PORTDOCS%%%%DOCSDIR%%/news/news-4.0.4.md
-%%PORTDOCS%%%%DOCSDIR%%/rpc-spec.md
-%%PORTDOCS%%%%DOCSDIR%%/send-email-when-torrent-done.sh
-%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_af.qm
-%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_ca.qm
-%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_da.qm
-%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_de.qm
-%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_el.qm
-%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_en.qm
-%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_es.qm
-%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_eu.qm
-%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_fi.qm
-%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_fr.qm
-%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_hu.qm
-%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_id.qm
-%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_it_IT.qm
-%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_ja.qm
-%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_ka.qm
-%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_kk.qm
-%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_ko.qm
-%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_lt.qm
-%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_nb.qm
-%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_nl.qm
-%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_pl.qm
-%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_pt.qm
-%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_pt_BR.qm
-%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_pt_PT.qm
-%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_ru.qm
-%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_sl.qm
-%%QT%%%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_sv.qm
-%%QT%%%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_tr.qm
-%%QT%%%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_uk.qm
-%%QT%%%%QT%%%%NLS%%%%DATADIR%%/translations/transmission_zh_CN.qm
-%%WEB%%%%DATADIR%%/public_html/images/favicon.ico
-%%WEB%%%%DATADIR%%/public_html/images/favicon.png
-%%WEB%%%%DATADIR%%/public_html/images/webclip-icon.png
-%%WEB%%%%DATADIR%%/public_html/index.html
-%%WEB%%%%DATADIR%%/public_html/transmission-app.js
-%%WEB%%%%DATADIR%%/public_html/transmission-app.js.LICENSE.txt
-%%GTK%%bin/transmission-gtk
-%%GTK%%man/man1/transmission-gtk.1.gz
-%%GTK%%share/applications/transmission-gtk.desktop
-%%GTK%%share/icons/hicolor/scalable/apps/transmission-devel.svg
-%%GTK%%share/icons/hicolor/scalable/apps/transmission.svg
-%%GTK%%share/icons/hicolor/symbolic/apps/transmission-symbolic.svg
-%%GTK%%%%NLS%%share/locale/an/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/ar/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/ast/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/az/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/be/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/bg/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/bn/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/br/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/bs/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/ca/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/ca@valencia/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/ceb/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/ckb/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/cs/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/cy/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/da/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/de/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/el/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/en_AU/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/en_CA/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/en_GB/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/eo/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/es/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/et/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/eu/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/fa/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/fi/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/fil/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/fo/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/fr/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/fr_CA/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/ga/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/gl/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/gv/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/he/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/hi/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/hr/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/hu/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/hy/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/ia/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/id/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/is/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/it/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/ja/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/jbo/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/ka/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/kk/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/ko/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/ku/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/ky/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/li/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/lt/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/lv/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/mk/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/ml/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/mr/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/ms/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/mt/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/nb/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/nl/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/nn/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/oc/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/pl/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/pt/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/pt_BR/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/pt_PT/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/ro/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/ru/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/si/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/sk/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/sl/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/sq/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/sr/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/sv/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/ta/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/te/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/th/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/tr/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/ug/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/uk/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/ur/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/uz/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/vi/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/zh_CN/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/zh_HK/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/locale/zh_TW/LC_MESSAGES/transmission-gtk.mo
-%%GTK%%%%NLS%%share/metainfo/transmission-gtk.metainfo.xml