From nobody Tue Jul 23 05:04:02 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WSlRk6kTnz5RDLf; Tue, 23 Jul 2024 05:04:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WSlRk6DWSz4VDs; Tue, 23 Jul 2024 05:04:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721711042; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=JKU6fz0sG9qOsrB5MPleJgQzqZBzVQMpMr3hlMFrnXM=; b=umZ6JGq7HG4OIpWvCxPnWSjI00D4Z8Pq7CQjZTrorfflIWWLWeK+7hXJy+2VZKHj1pSqz5 UPV8I+wNHTUtBGaxWGtV7NKRupToztl7cvUQQJlmvYAN4OnMKxaIjB+3vxhUKDl8oOCcB5 tmdkTCAhUFpeeXCKoQkzGAcbgVPjPWgGpHQckdC+AG2TqEYYt2YAeTpD/CM/veDg5V+LYa 7ayanvCzfoTIopmBCsb56+xgQ/3V7TXuWedG81NNpO6hXFZzJQHLZNGzRlkfKOGrMMYDuF 99qgVkhX10MFSTIO4hrRp3vQYSSg+8ZuVYmNhxnnNDkFX+YdeQ+9DPzCAn3SnA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721711042; a=rsa-sha256; cv=none; b=DtLxjkttse+OuOPfoWDvU6Q1xO4Gmy1REazQDBhkOCSiCLSGv7XWkMgDylngt3FUWnwJrC /PzhTTCoSkrEwzP8BHJcrda62PqsVUvoH6/IKErsI7Zj3RKrr5J9MMWJgJoJCerZ/IJsix W3UkYpo5nL4UROd8hn5W9N9u5bfMmbsIEUodgpwkVFmjvjgsKwHaz/te7SrMI18Zn6mxn9 8JaI/g8c77sKcGjqplpbED1sNGvMyqH7u2ZJLouYPlFY7H3xm87xwCZsAGKQGSsv/4HhHB Ui48gi6tJVtKWrCbvKuqMzN8heyKJ8m1NqYjn2eorOUT9+4kI44tOBC9Ums3zQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721711042; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=JKU6fz0sG9qOsrB5MPleJgQzqZBzVQMpMr3hlMFrnXM=; b=M1eVl+1i1cNb1m8f3jIJvlIwpyu6cybq8zN30dcNftg4Z00yIYPHz5v9PWjW3/i971rQuH 4a9nkXVbKZv0kSEphQSUhFZb8kiVWED3bz5+QDFs+FJi0eOYdXT8Bg4gU8yznRh9VMfMqv xe/io4nNTHtX/sxHF/H9/19yTLA93OFUkSInih/8E9+xaQnDbIQcX6iST9qWCB0g+1DLLS Lme0xNk4FKxu8eNSk7DuNVuoNzkrwd+rDhJtHbPtz43WPul/WkI1SH/LyP7kCBa+Ug7gL0 g/9zKg7MD6ZXJOrppcSzoP++z7MmILjHU0y7tuxyorsHoux8i+vszBDH6C7Z/A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WSlRk5qtpzFs5; Tue, 23 Jul 2024 05:04:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46N542A9074802; Tue, 23 Jul 2024 05:04:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46N542Db074799; Tue, 23 Jul 2024 05:04:02 GMT (envelope-from git) Date: Tue, 23 Jul 2024 05:04:02 GMT Message-Id: <202407230504.46N542Db074799@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Zsolt Udvari Subject: git: 437113a92135 - main - sysutils/android-file-transfer: update to 4.3 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: uzsolt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 437113a921358bf4903d84921ced729d173ec2c6 Auto-Submitted: auto-generated The branch main has been updated by uzsolt: URL: https://cgit.FreeBSD.org/ports/commit/?id=437113a921358bf4903d84921ced729d173ec2c6 commit 437113a921358bf4903d84921ced729d173ec2c6 Author: gatekeeper AuthorDate: 2024-07-23 04:56:41 +0000 Commit: Zsolt Udvari CommitDate: 2024-07-23 05:03:26 +0000 sysutils/android-file-transfer: update to 4.3 Submitter takes maintainership. Remove Python option because this port install files under PYTHON_SITELIBDIR (must use pyXY prefix). Disable libusb debug option in code: this makes the software much more clean and usable in the command line. Pet portfmt. PR: 279895 --- sysutils/android-file-transfer/Makefile | 49 +++++++++------------- sysutils/android-file-transfer/distinfo | 6 +-- .../files/patch-mtp_backend_libusb_usb_Context.cpp | 11 +++++ 3 files changed, 33 insertions(+), 33 deletions(-) diff --git a/sysutils/android-file-transfer/Makefile b/sysutils/android-file-transfer/Makefile index fd5c896a9bdc..becda6a9eba7 100644 --- a/sysutils/android-file-transfer/Makefile +++ b/sysutils/android-file-transfer/Makefile @@ -1,53 +1,47 @@ PORTNAME= android-file-transfer DISTVERSIONPREFIX= v -DISTVERSION= 4.2 -PORTREVISION?= 1 +DISTVERSION= 4.3 CATEGORIES= sysutils -MAINTAINER= ports@FreeBSD.org +MAINTAINER= tiago.gasiba@gmail.com COMMENT= Android MTP client with minimalistic UI WWW= https://github.com/whoozle/android-file-transfer-linux LICENSE= GPLv3+ +USES= cmake compiler:c++11-lib pkgconfig USE_GITHUB= yes GH_ACCOUNT= whoozle GH_PROJECT= ${PORTNAME}-linux -USES= cmake compiler:c++11-lib pkgconfig CMAKE_ON= USB_BACKEND_LIBUSB +CMAKE_OFF= BUILD_PYTHON PLIST_FILES= "@comment lib/libmtp-ng-static.a" -OPTIONS_DEFINE= CLI FUSE OPENSSL PYTHON QT5 TAGLIB -OPTIONS_DEFAULT=CLI FUSE OPENSSL PYTHON QT5 TAGLIB +OPTIONS_DEFINE= CLI FUSE OPENSSL QT5 TAGLIB +OPTIONS_DEFAULT= CLI OPENSSL TAGLIB OPTIONS_EXCLUDE?= QT5 # enslaved until subpackaging -CLI_DESC= CLI (Command-Line Interface) support -CLI_USES= readline -CLI_PLIST_FILES=bin/aft-mtp-cli +CLI_DESC= CLI (Command-Line Interface) support +TAGLIB_DESC= Reading audio metadata via taglib +CLI_PLIST_FILES= bin/aft-mtp-cli -FUSE_USES= fuse -FUSE_CMAKE_BOOL=BUILD_FUSE -FUSE_PLIST_FILES=bin/aft-mtp-mount +FUSE_USES= fuse +FUSE_CMAKE_BOOL= BUILD_FUSE +FUSE_PLIST_FILES= bin/aft-mtp-mount OPENSSL_USES= ssl OPENSSL_CMAKE_BOOL= BUILD_MTPZ -PYTHON_BUILD_DEPENDS= pybind11>0:devel/pybind11 -PYTHON_USES= python -PYTHON_CMAKE_BOOL= BUILD_PYTHON -PYTHON_PLIST_FILES= %%PYTHON_SITELIBDIR%%/aftl%%PYTHON_EXT_SUFFIX%%.so - -QT5_USES= qt:5 -QT5_USE= QT=qmake:build,buildtools:build,linguisttools:build,core,gui,network,widgets -QT5_CMAKE_BOOL= BUILD_QT_UI -QT5_CMAKE_ON= -DDESIRED_QT_VERSION:STRING=5 +QT5_USES= qt:5 +QT5_USE= QT=core,gui,network,widgets,buildtools:build,linguisttools:build,qmake:build +QT5_CMAKE_BOOL= BUILD_QT_UI +QT5_CMAKE_ON= -DDESIRED_QT_VERSION:STRING=5 QT5_PLIST_FILES= bin/android-file-transfer \ - share/applications/android-file-transfer.desktop \ - share/icons/hicolor/512x512/apps/android-file-transfer.png \ - share/metainfo/android-file-transfer.appdata.xml + share/applications/android-file-transfer.desktop \ + share/icons/hicolor/512x512/apps/android-file-transfer.png \ + share/metainfo/android-file-transfer.appdata.xml -TAGLIB_DESC= Reading audio metadata via taglib TAGLIB_LIB_DEPENDS= libtag.so:audio/taglib TAGLIB_CMAKE_BOOL= BUILD_TAGLIB @@ -58,9 +52,4 @@ post-patch: post-patch-CLI-off: @${REINPLACE_CMD} '/subdirectory(cli)/d' ${WRKSRC}/CMakeLists.txt -post-install-PYTHON-on: - ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} - ${INSTALL_LIB} ${BUILD_WRKSRC}/python/aftl${PYTHON_EXT_SUFFIX}.so \ - ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} - .include diff --git a/sysutils/android-file-transfer/distinfo b/sysutils/android-file-transfer/distinfo index 050eff6461ac..3b39495a69f4 100644 --- a/sysutils/android-file-transfer/distinfo +++ b/sysutils/android-file-transfer/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1609258228 -SHA256 (whoozle-android-file-transfer-linux-v4.2_GH0.tar.gz) = cc607d68e8a18273c9b56975a70a0e68fbdf9d5b903b2727a345a605ff48a19f -SIZE (whoozle-android-file-transfer-linux-v4.2_GH0.tar.gz) = 823609 +TIMESTAMP = 1721159585 +SHA256 (whoozle-android-file-transfer-linux-v4.3_GH0.tar.gz) = 8ff658630fc820a7ca0b70025aa47d235b7fb64f5cb6a72ca76a7acbf3435128 +SIZE (whoozle-android-file-transfer-linux-v4.3_GH0.tar.gz) = 827232 diff --git a/sysutils/android-file-transfer/files/patch-mtp_backend_libusb_usb_Context.cpp b/sysutils/android-file-transfer/files/patch-mtp_backend_libusb_usb_Context.cpp new file mode 100644 index 000000000000..15479c5cd002 --- /dev/null +++ b/sysutils/android-file-transfer/files/patch-mtp_backend_libusb_usb_Context.cpp @@ -0,0 +1,11 @@ +--- mtp/backend/libusb/usb/Context.cpp.orig 2024-07-16 19:25:15 UTC ++++ mtp/backend/libusb/usb/Context.cpp +@@ -27,7 +27,7 @@ namespace mtp { namespace usb + Context::Context(int debugLevel) + { + USB_CALL(libusb_init(&_ctx)); +- libusb_set_debug(_ctx, debugLevel); ++ //libusb_set_debug(_ctx, debugLevel); + libusb_device **devs; + int count = libusb_get_device_list(_ctx, &devs); + if (count < 0)