Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Apr 2026 15:32:45 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 117ab77295c0 - main - net-p2p/torrent-file-editor: update the port to version 1.0.2.
Message-ID:  <69dfaf9d.2058f.118559c3@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by danfe:

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

commit 117ab77295c0dc392316eef3fd82b8e71b6cbfdd
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2026-04-15 15:30:34 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2026-04-15 15:30:34 +0000

    net-p2p/torrent-file-editor: update the port to version 1.0.2.
---
 net-p2p/torrent-file-editor/Makefile               |  4 ++--
 net-p2p/torrent-file-editor/distinfo               |  6 +++---
 .../torrent-file-editor/files/patch-CMakeLists.txt | 20 --------------------
 .../torrent-file-editor/files/patch-mainwindow.cpp | 12 ++++++++++++
 net-p2p/torrent-file-editor/pkg-plist              | 22 ++++++++++++++--------
 5 files changed, 31 insertions(+), 33 deletions(-)

diff --git a/net-p2p/torrent-file-editor/Makefile b/net-p2p/torrent-file-editor/Makefile
index 58eae0707130..646b5f5bcc91 100644
--- a/net-p2p/torrent-file-editor/Makefile
+++ b/net-p2p/torrent-file-editor/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	torrent-file-editor
-PORTVERSION=	0.3.18
+PORTVERSION=	1.0.2
 CATEGORIES=	net-p2p
 MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${PORTVERSION}/
 
@@ -11,7 +11,7 @@ LICENSE=	GPLv3+
 
 USES=		cmake compiler:c++11-lang desktop-file-utils qt:5
 USE_QT=		buildtools:build linguisttools:build qmake:build \
-		core gui widgets
+		core gui svg widgets
 
 CMAKE_ARGS=	-DQT5_BUILD:BOOL=ON \
 		-DENABLE_PCH:BOOL=OFF
diff --git a/net-p2p/torrent-file-editor/distinfo b/net-p2p/torrent-file-editor/distinfo
index 63b5f8d07b05..ef053a5a9a51 100644
--- a/net-p2p/torrent-file-editor/distinfo
+++ b/net-p2p/torrent-file-editor/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1687873884
-SHA256 (torrent-file-editor-0.3.18.tar.gz) = 78b69e0151c5998b4df8b69225e7930c18b7d4419eeaabcad769df0f38a86292
-SIZE (torrent-file-editor-0.3.18.tar.gz) = 383747
+TIMESTAMP = 1774224657
+SHA256 (torrent-file-editor-1.0.2.tar.gz) = adbc8eda5105c8dd6a2b231165c5446fc062b566272b40493a4dcd0bfc511e5b
+SIZE (torrent-file-editor-1.0.2.tar.gz) = 657462
diff --git a/net-p2p/torrent-file-editor/files/patch-CMakeLists.txt b/net-p2p/torrent-file-editor/files/patch-CMakeLists.txt
deleted file mode 100644
index c03ce1c23cc9..000000000000
--- a/net-p2p/torrent-file-editor/files/patch-CMakeLists.txt
+++ /dev/null
@@ -1,20 +0,0 @@
---- CMakeLists.txt.orig	2019-04-11 19:45:13 UTC
-+++ CMakeLists.txt
-@@ -31,6 +31,9 @@ add_custom_target(update_version ALL
-   COMMAND ${CMAKE_COMMAND} -DWIN32=${WIN32} -DAPP_VERSION="v${APP_VERSION}" -P "${CMAKE_SOURCE_DIR}/Version.cmake"
- )
- 
-+# Fix build with Qt 5.13
-+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DQT_NO_DEPRECATED_WARNINGS=Y")
-+
- # Enable C++11
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
- 
-@@ -129,6 +132,7 @@ if(QT5_BUILD)
- else()
-   find_package(Qt4 REQUIRED)
-   find_package(QJSON 0.8.0 REQUIRED)
-+  include_directories(${QJSON_INCLUDE_DIR})
-   add_definitions("'-DQStringLiteral(str)=QString::fromUtf8(\"\" str \"\", sizeof(str) - 1)'")
-   include_directories(${QJSON_INCLUDE_DIR})
- 
diff --git a/net-p2p/torrent-file-editor/files/patch-mainwindow.cpp b/net-p2p/torrent-file-editor/files/patch-mainwindow.cpp
new file mode 100644
index 000000000000..c2f266ebec14
--- /dev/null
+++ b/net-p2p/torrent-file-editor/files/patch-mainwindow.cpp
@@ -0,0 +1,12 @@
+--- mainwindow.cpp.orig	2026-03-23 00:10:57 UTC
++++ mainwindow.cpp
+@@ -576,6 +576,9 @@ void MainWindow::fillCoding()
+     for (int mib : QTextCodec::availableMibs()) {
+         QTextCodec *codec = QTextCodec::codecForMib(mib);
+ 
++        // https://github.com/torrent-file-editor/torrent-file-editor/issues/172
++        if (!codec) continue;
++
+         QString sortKey = QString::fromUtf8(codec->name().toUpper());
+         int rank;
+ 
diff --git a/net-p2p/torrent-file-editor/pkg-plist b/net-p2p/torrent-file-editor/pkg-plist
index 70c1a2e0f560..229f5527a585 100644
--- a/net-p2p/torrent-file-editor/pkg-plist
+++ b/net-p2p/torrent-file-editor/pkg-plist
@@ -1,9 +1,15 @@
 bin/torrent-file-editor
-share/appdata/torrent-file-editor.appdata.xml
-share/applications/torrent-file-editor.desktop
-share/icons/hicolor/16x16/apps/torrent-file-editor.png
-share/icons/hicolor/32x32/apps/torrent-file-editor.png
-share/icons/hicolor/48x48/apps/torrent-file-editor.png
-share/icons/hicolor/64x64/apps/torrent-file-editor.png
-share/icons/hicolor/128x128/apps/torrent-file-editor.png
-share/icons/hicolor/256x256/apps/torrent-file-editor.png
+share/applications/io.github.torrent_file_editor.Torrent-file-editor.desktop
+share/icons/hicolor/16x16/apps/io.github.torrent_file_editor.Torrent-file-editor.png
+share/icons/hicolor/22x22/apps/io.github.torrent_file_editor.Torrent-file-editor.png
+share/icons/hicolor/32x32/apps/io.github.torrent_file_editor.Torrent-file-editor.png
+share/icons/hicolor/44x44/apps/io.github.torrent_file_editor.Torrent-file-editor.png
+share/icons/hicolor/48x48/apps/io.github.torrent_file_editor.Torrent-file-editor.png
+share/icons/hicolor/64x64/apps/io.github.torrent_file_editor.Torrent-file-editor.png
+share/icons/hicolor/128x128/apps/io.github.torrent_file_editor.Torrent-file-editor.png
+share/icons/hicolor/150x150/apps/io.github.torrent_file_editor.Torrent-file-editor.png
+share/icons/hicolor/256x256/apps/io.github.torrent_file_editor.Torrent-file-editor.png
+share/icons/hicolor/310x310/apps/io.github.torrent_file_editor.Torrent-file-editor.png
+share/icons/hicolor/512x512/apps/io.github.torrent_file_editor.Torrent-file-editor.png
+share/icons/hicolor/scalable/apps/io.github.torrent_file_editor.Torrent-file-editor.svg
+share/metainfo/io.github.torrent_file_editor.Torrent-file-editor.metainfo.xml


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69dfaf9d.2058f.118559c3>