FreeBSD Bugzilla – Attachment 245217 Details for
Bug 273841
net-p2p/transmission: -utils and -daemon conflict after update to 4.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch-transmission_3
0001-net-p2p-transmission-Reorganize-as-a-metaport.patch (text/plain), 32.49 KB, created by
Rafe
on 2023-09-25 15:14:39 UTC
(
hide
)
Description:
patch-transmission_3
Filename:
MIME Type:
Creator:
Rafe
Created:
2023-09-25 15:14:39 UTC
Size:
32.49 KB
patch
obsolete
>From 9e9169a16dd48a385aec0fd8fd66a446180e4570 Mon Sep 17 00:00:00 2001 >From: Rafe <mondo.debater_0q@icloud.com> >Date: Sun, 24 Sep 2023 22:04:16 +0200 >Subject: [PATCH] net-p2p/transmission: Reorganize as a metaport > > Fixes: Bugs 273841, 274054 > Port reorganized as a metaport. Each component can be installed > separately or selected as an option via the metaport. > See MOVED for additional information. > > Also fixes log-level typo in rc file. >--- > MOVED | 12 +- > UPDATING | 10 + > net-p2p/Makefile | 1 + > net-p2p/transmission-components/Makefile | 163 ++++++++++++++++ > .../distinfo | 0 > .../files/extra-patch-CMakeLists.txt | 0 > .../files/patch-gtk_Application.cc | 0 > .../files/patch-gtk_DetailsDialog.cc | 0 > .../files/patch-libtransmission_file-posix.cc | 0 > .../patch-libtransmission_variant-json.cc | 0 > .../files/patch-qt_transmission-qt.desktop | 11 ++ > .../files/transmission.in | 2 +- > net-p2p/transmission-components/pkg-descr | 24 +++ > .../pkg-plist.cli | 0 > .../pkg-plist.daemon | 0 > .../pkg-plist.gtk | 0 > .../pkg-plist.qt | 2 +- > .../pkg-plist.utils | 0 > net-p2p/transmission/Makefile | 181 +----------------- > net-p2p/transmission/pkg-plist.default | 155 --------------- > 20 files changed, 226 insertions(+), 335 deletions(-) > create mode 100644 net-p2p/transmission-components/Makefile > rename net-p2p/{transmission => transmission-components}/distinfo (100%) > rename net-p2p/{transmission => transmission-components}/files/extra-patch-CMakeLists.txt (100%) > rename net-p2p/{transmission => transmission-components}/files/patch-gtk_Application.cc (100%) > rename net-p2p/{transmission => transmission-components}/files/patch-gtk_DetailsDialog.cc (100%) > rename net-p2p/{transmission => transmission-components}/files/patch-libtransmission_file-posix.cc (100%) > rename net-p2p/{transmission => transmission-components}/files/patch-libtransmission_variant-json.cc (100%) > create mode 100644 net-p2p/transmission-components/files/patch-qt_transmission-qt.desktop > rename net-p2p/{transmission => transmission-components}/files/transmission.in (97%) > create mode 100644 net-p2p/transmission-components/pkg-descr > rename net-p2p/{transmission => transmission-components}/pkg-plist.cli (100%) > rename net-p2p/{transmission => transmission-components}/pkg-plist.daemon (100%) > rename net-p2p/{transmission => transmission-components}/pkg-plist.gtk (100%) > rename net-p2p/{transmission => transmission-components}/pkg-plist.qt (96%) > rename net-p2p/{transmission => transmission-components}/pkg-plist.utils (100%) > delete mode 100644 net-p2p/transmission/pkg-plist.default > >diff --git a/MOVED b/MOVED >index 97933f10f524..921edf003423 100644 >--- a/MOVED >+++ b/MOVED >@@ -7843,12 +7843,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 >@@ -7856,3 +7851,8 @@ mail/cyrus-imapd23||2023-09-20|Has expired: No longer supported by upstream > mail/cyrus-imapd24||2023-09-20|Has expired: No longer supported by upstream > net/py-python-ceilometerclient||2023-09-22|Remove obsoleted port. This project is no longer maintained > sysutils/rundeck3|sysutils/rundeck|2023-09-23|Rename to avoid confusion >+net-p2p/transmission-cli|net-p2p/transmission-components@cli|2023-09-25|Moved for metaport >+net-p2p/transmission-daemon|net-p2p/transmission-components@daemon|2023-09-25|Moved for metaport >+net-p2p/transmission-gtk|net-p2p/transmission-components@gtk|2023-09-25|Moved for metaport >+net-p2p/transmission-qt|net-p2p/transmission-components@qt|2023-09-25|Moved for metaport >+net-p2p/transmission-utils|net-p2p/transmission-components@utils|2023-09-25|Moved for metaport >diff --git a/UPDATING b/UPDATING >index e784f379d62b..40833e06875b 100644 >--- a/UPDATING >+++ b/UPDATING >@@ -5,6 +5,16 @@ they are unavoidable. > You should get into the habit of checking this file for changes each time > you update your ports collection, before attempting any port upgrades. > >+20230925: >+ AFFECTS: users of net-p2p/transmission >+ AUTHOR: mondo.debater_0q@icloud.com >+ >+ The prior fix of Bug 273841 was incomplete. The issue has been >+ resolved by reorganizing the port as a metaport. Each component may >+ be installed individually as transmission-daemon, transmission-qt, >+ etc. Alternatively, some or all components may be installed from the >+ metaport transmission. >+ > 20230924: > AFFECTS: users of XFCE desktop (x11-wm/xfce4) > AUTHOR: madpilot@FreeBSD.org >diff --git a/net-p2p/Makefile b/net-p2p/Makefile >index d76c8be07b14..d8c51663e859 100644 >--- a/net-p2p/Makefile >+++ b/net-p2p/Makefile >@@ -98,6 +98,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..e91051d3743c >--- /dev/null >+++ b/net-p2p/transmission-components/Makefile >@@ -0,0 +1,163 @@ >+PORTNAME= transmission >+DISTVERSION= 4.0.4 >+PORTREVISION= 2 >+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 daemon gtk qt utils >+FLAVOR?= ${FLAVORS:[1]} >+.for flavor in ${FLAVORS} >+${flavor}_PKGNAMESUFFIX= -${flavor} >+.endfor >+ >+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 >+ >+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+= 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 >+ >+DOCS_EXTRA_PATCHES_OFF= ${PATCHDIR}/extra-patch-CMakeLists.txt >+.if ${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:Ndaemon} >+OPTIONS_DEFINE= NLS TESTS >+OPTIONS_DEFAULT= NLS >+.endif >+ >+OPTIONS_SUB= yes >+ >+cli_DESC= Build remote & command-line (deprecated) clients >+daemon_DESC= Build daemon >+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) >+ >+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 >+ >+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-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/extra-patch-CMakeLists.txt >similarity index 100% >rename from net-p2p/transmission/files/extra-patch-CMakeLists.txt >rename to net-p2p/transmission-components/files/extra-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 97% >rename from net-p2p/transmission/files/transmission.in >rename to net-p2p/transmission-components/files/transmission.in >index b638ccc90275..47d06ce8d86f 100644 >--- a/net-p2p/transmission/files/transmission.in >+++ b/net-p2p/transmission-components/files/transmission.in >@@ -53,7 +53,7 @@ transmission_flags=" \ > ${transmission_conf_dir:+-g ${transmission_conf_dir}} \ > ${transmission_download_dir:+-w ${transmission_download_dir}} \ > ${transmission_log:+--logfile ${transmission_log}} \ >- ${transmission_log_level:+--loglevel ${transmission_log_level}} \ >+ ${transmission_log_level:+--log-level ${transmission_log_level}} \ > ${pidfile:+-x $pidfile} \ > ${transmission_flags}" > >diff --git a/net-p2p/transmission-components/pkg-descr b/net-p2p/transmission-components/pkg-descr >new file mode 100644 >index 000000000000..b5f403c38e4f >--- /dev/null >+++ b/net-p2p/transmission-components/pkg-descr >@@ -0,0 +1,24 @@ >+Components of transmission. >+ >+Transmission-remote is a fast and lightweight CLI (command line) BitTorrent client. Transmission-cli is deprecated. >+ >+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-qt and Transmission-gtk provide native clients for the >+KDE and GNOME desktop environments, respectively. >+ >+Transmission-utils includes the tools to create and manipulate torrent files. >+ >+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. >+ >+Transmission has been built from the ground up to be a lightweight, yet >+powerful BitTorrent client. Its simple, intuitive interface is designed >+to integrate tightly with whatever computing environment you choose to >+use. Transmission strikes a balance between providing useful functionality >+without feature bloat. Furthermore, it is free for anyone to use or modify. >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/pkg-plist.daemon b/net-p2p/transmission-components/pkg-plist.daemon >similarity index 100% >rename from net-p2p/transmission/pkg-plist.daemon >rename to net-p2p/transmission-components/pkg-plist.daemon >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 706724e8c8da..7226ca3c3a17 100644 >--- a/net-p2p/transmission/Makefile >+++ b/net-p2p/transmission/Makefile >@@ -7,184 +7,21 @@ MAINTAINER= mondo.debater_0q@icloud.com > COMMENT= Transmission BitTorrent client > WWW= https://www.transmissionbt.com > >-LICENSE= GPLv3+ >-LICENSE_FILE= ${WRKSRC}/COPYING >+USES= metaport > >-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 >+OPTIONS_DEFINE= CLI DAEMON GTK QT UTILS >+OPTIONS_DEFAULT= CLI DAEMON GTK QT UTILS > >-FLAVORS= default cli daemon gtk qt utils >-FLAVOR?= ${FLAVORS:[1]} >-.for flavor in ${FLAVORS} >-${flavor}_PKGNAMESUFFIX= -${flavor} >-.endfor >- >-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) & remote client > DAEMON_DESC= Build daemon > 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 \ >+CLI_RUN_DEPENDS= transmission-cli:net-p2p/transmission-components@cli >+DAEMON_RUN_DEPENDS= transmission-daemon:net-p2p/transmission-components@daemon >+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.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 >-- >2.42.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 273841
:
245028
|
245051
| 245217