Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jan 2024 10:46:46 GMT
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: b18ee29ec807 - main - net/downzemall: update the port to version 4.0.1
Message-ID:  <202401111046.40BAkk1H033065@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by danfe:

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

commit b18ee29ec807a4389a1a2268416e8c871d9f8bf4
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2024-01-11 10:46:08 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2024-01-11 10:46:08 +0000

    net/downzemall: update the port to version 4.0.1
    
    Project was renamed to ArrowDL, the move would follow.
    
    Reported by:    portscout
---
 net/downzemall/Makefile                            | 21 ++++++++++-----------
 net/downzemall/distinfo                            |  6 +++---
 net/downzemall/files/patch-src_CMakeLists.txt      | 22 +++++++++++++++++-----
 net/downzemall/files/patch-src_core_mimedatabase.h | 15 ---------------
 net/downzemall/pkg-descr                           |  4 ++--
 5 files changed, 32 insertions(+), 36 deletions(-)

diff --git a/net/downzemall/Makefile b/net/downzemall/Makefile
index 00c4876b24d7..4808f318de4b 100644
--- a/net/downzemall/Makefile
+++ b/net/downzemall/Makefile
@@ -1,12 +1,11 @@
 PORTNAME=	${GH_PROJECT:tl}
-PORTVERSION=	3.0.6
-PORTREVISION=	1
+PORTVERSION=	4.0.1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	net
 
 MAINTAINER=	danfe@FreeBSD.org
 COMMENT=	Multi-protocol standalone download manager
-WWW=		https://setvisible.github.io/DownZemAll/
+WWW=		https://www.arrow-dl.com/ArrowDL/
 
 LICENSE=	LGPL21+
 
@@ -16,26 +15,26 @@ USES=		cmake qt:6 ssl
 USE_QT=		base
 USE_GITHUB=	yes
 GH_ACCOUNT=	setvisible
-GH_PROJECT=	DownZemAll
+GH_PROJECT=	ArrowDL
 
 CMAKE_OFF=	BUILD_LAUNCHER BUILD_TESTS
 
-PLIST_FILES=	bin/DownZemAll \
-		share/applications/DownZemAll.desktop \
-		share/pixmaps/DownZemAll.png
+PLIST_FILES=	bin/${GH_PROJECT} \
+		share/applications/${GH_PROJECT}.desktop \
+		share/pixmaps/${GH_PROJECT}.png
 
 post-extract:
 	@${RM} -r ${WRKSRC}/3rd/libtorrent-rasterbar
 	@${RM} ${WRKSRC}/cmake/Modules/FindLibtorrentRasterbar.cmake
 
 do-install:
-	${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/src/DownZemAll \
+	${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/src/${GH_PROJECT} \
 		${STAGEDIR}${PREFIX}/bin
 	${INSTALL_DATA} \
-		${WRKSRC}/installer/unix/appimage/DownZemAll.desktop \
+		${WRKSRC}/installer/unix/appimage/${GH_PROJECT}.desktop \
 		${STAGEDIR}${PREFIX}/share/applications
 	${INSTALL_DATA} \
-		${WRKSRC}/installer/unix/portable/DownZemAll_64x64.png \
-		${STAGEDIR}${PREFIX}/share/pixmaps/DownZemAll.png
+		${WRKSRC}/installer/unix/portable/${GH_PROJECT}_64x64.png \
+		${STAGEDIR}${PREFIX}/share/pixmaps/${GH_PROJECT}.png
 
 .include <bsd.port.mk>
diff --git a/net/downzemall/distinfo b/net/downzemall/distinfo
index 1b458bb19ae7..861c3ccd0013 100644
--- a/net/downzemall/distinfo
+++ b/net/downzemall/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1686075275
-SHA256 (setvisible-DownZemAll-v3.0.6_GH0.tar.gz) = a5f1eefdbc83f7f3e1e72b4c6102829e511331ef96c466bfa23cb5bba543bb2f
-SIZE (setvisible-DownZemAll-v3.0.6_GH0.tar.gz) = 42461698
+TIMESTAMP = 1704647692
+SHA256 (setvisible-ArrowDL-v4.0.1_GH0.tar.gz) = ca03d55a89ff10534b9848829d78427d6b9a14211b8a09aa5fcedc389ac2675d
+SIZE (setvisible-ArrowDL-v4.0.1_GH0.tar.gz) = 40861128
diff --git a/net/downzemall/files/patch-src_CMakeLists.txt b/net/downzemall/files/patch-src_CMakeLists.txt
index d03ca3d36ce4..5a7a1bb2c127 100644
--- a/net/downzemall/files/patch-src_CMakeLists.txt
+++ b/net/downzemall/files/patch-src_CMakeLists.txt
@@ -1,4 +1,4 @@
---- src/CMakeLists.txt.orig	2023-04-01 21:01:51 UTC
+--- src/CMakeLists.txt.orig	2024-01-07 17:14:52 UTC
 +++ src/CMakeLists.txt
 @@ -10,7 +10,6 @@ find_package(GoogleGumboParser REQUIRED)
  find_package(Qt6 REQUIRED COMPONENTS
@@ -8,15 +8,27 @@
      Network
      Widgets
  )
-@@ -72,6 +71,7 @@ target_compile_definitions(${TARGET_NAME}
+@@ -30,6 +29,11 @@ set(MY_SOURCES ${MY_SOURCES}
+     ${CMAKE_CURRENT_SOURCE_DIR}/mainwindow.cpp
+ )
+ 
++set_source_files_properties(${CMAKE_CURRENT_SOURCE_DIR}/main.cpp
++    PROPERTIES COMPILE_DEFINITIONS
++    BOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED
++)
++
+ set(MY_HEADERS ${MY_HEADERS}
+     ${CMAKE_CURRENT_SOURCE_DIR}/mainwindow.h
+ )
+@@ -72,6 +76,7 @@ target_compile_definitions(${TARGET_NAME}
          UNICODE
  )
  
 +if(false)
  qt_add_translations(${TARGET_NAME}
      TS_FILES
-         ${CMAKE_SOURCE_DIR}/src/locale/dza_ar_EG.ts  # Arabic
-@@ -93,6 +93,7 @@ qt_add_translations(${TARGET_NAME}
+         ${CMAKE_SOURCE_DIR}/src/locale/arrowdl_ar_EG.ts  # Arabic
+@@ -93,6 +98,7 @@ qt_add_translations(${TARGET_NAME}
      QM_FILES_OUTPUT_VARIABLE
          qm_files
  )
@@ -24,7 +36,7 @@
  
  if(MSVC OR MSYS OR MINGW) # for detecting Windows compilers
  
-@@ -123,7 +124,7 @@ else() # MacOS or Unix Compilers
+@@ -125,7 +131,7 @@ else() # MacOS or Unix Compilers
      target_link_libraries(${TARGET_NAME}
          PRIVATE
              ${GoogleGumboParser_LIBRARIES}
diff --git a/net/downzemall/files/patch-src_core_mimedatabase.h b/net/downzemall/files/patch-src_core_mimedatabase.h
deleted file mode 100644
index 72118946d2fc..000000000000
--- a/net/downzemall/files/patch-src_core_mimedatabase.h
+++ /dev/null
@@ -1,15 +0,0 @@
-Fix build with Qt 6.6.x
-
-https://github.com/setvisible/DownZemAll/issues/120
-https://github.com/setvisible/DownZemAll/pull/121
-
---- src/core/mimedatabase.h.orig	2023-11-19 21:20:25 UTC
-+++ src/core/mimedatabase.h
-@@ -20,6 +20,7 @@
- 
- #include <QtCore/QString>
- #include <QtCore/QStringList>
-+#include <QtCore/QUrl>
- #include <QtGui/QPixmap>
- 
- constexpr int default_icon_size = 32;
diff --git a/net/downzemall/pkg-descr b/net/downzemall/pkg-descr
index 797919a670ca..2a7e8fe67ee4 100644
--- a/net/downzemall/pkg-descr
+++ b/net/downzemall/pkg-descr
@@ -1,5 +1,5 @@
-DownZemAll! is a multi-platform mass download manager.  It helps one to
+ArrowDL is a multi-platform mass download manager.  It helps one to
 select, organize, prioritize, and run many downloads in parallel.
 
-Based on the Qt framework, DownZemAll! is written in C/C++ and supports
+Based on the Qt framework, ArrowDL is written in C/C++ and supports
 various download types (regular files, video streams, torrents).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401111046.40BAkk1H033065>