From nobody Sat Apr 29 17:20:01 2023 X-Original-To: dev-commits-ports-main@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 4Q7x755kyWz48215; Sat, 29 Apr 2023 17:20:01 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q7x754qddz4cYR; Sat, 29 Apr 2023 17:20:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682788801; 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=ZvrPT1sKHe4kqgk/WYax9DvFitUousKhwdy6/hUxoGA=; b=r5vd8sKnA4xd5TQQbtBgf5Wujq6fQPBq0qlkKKMSbjA6PYaU/vAGiX6wd+8iiDPVhmga/V a5ekSAR8WIYSO0wv4/7kYCoHuMcDKyBHkyuOvhfT0EV5ynZT7h35mSzyHetbo4jkIuniUV cmqQqVr1VsXKc+QN8RC3mzshdOOVFUq2iAh1RRcJzTThV/ZRf2havieXMJCU6dqY7MYA/I J8xnpI0xoSyTKJI4lWuVjn4bAL7qYpcmJesXAou44ecj8gB49vjdM1FrMl6WkWK5JKkRaz RL0ZrmJVm5p5Gu7OJM/LXG/OZlt0q3Str2g+EKVHvE4kBE62JfoJYCA6zYyiUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682788801; 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=ZvrPT1sKHe4kqgk/WYax9DvFitUousKhwdy6/hUxoGA=; b=q4XMCul2HWbGyinR3yPqI5SyJVGOtMTCbHhyjrIGed/8Ookbvuq0BUP0qmZoK2SJhhIVfm oCRy0CQfDTGwKPnD5cLq++qZQyBESXs762XuTA7ngqEegXqHfjYFUGRnCAQg9LUlIlhUng YC30XVmYKsVc2o1esoBhH5+fGAk4xjdc2+iQsqNFLGr6U264I7ObJfTekyRK3CPWgCJfxt evspezTCouBtVXlr4MEt9Yimsc7mx6a2uXCQskdUFnsbS3/UL+k8w0t/utr4P2mhx3POF1 x4XtttvF8NzenqV/i6VrViKC64444N5IkaBpKNFsjkYAzEexX9kjoptcTjLOOg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682788801; a=rsa-sha256; cv=none; b=eI81wnc/pNv7wV4fsXc7qe9Iyb03oDfgICieNRqjnk6vZz+6FsoTIL0ps3naUCHUzQ2dIN 0cofEbZCJaQ+mx4f2XyL0E+Q6OXlr9OKUPb5acwGsxDxaaG1wSsFf5mTseSpRj/VRwjqUn KfxBPMhmicrFBnYkel2YMVnCgGywddkfUAPCWbDnV4LwOh+fk1pJbNxXuaLK835FeAHVpI gDLfwHdgq41322Sn/CTbchr0XnorYRogP49zL+OGfeHfM/+AJbON6JMEgBZE1t1IVT4kr5 uKViIjQKQeSBLzd5XJdkSb6EtWfyyZBC1l/qmWmPi+sGtEKMPxf0rz4Si2kiTQ== 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 4Q7x753vNkzqVL; Sat, 29 Apr 2023 17:20:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33THK1K7021822; Sat, 29 Apr 2023 17:20:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33THK19B021819; Sat, 29 Apr 2023 17:20:01 GMT (envelope-from git) Date: Sat, 29 Apr 2023 17:20:01 GMT Message-Id: <202304291720.33THK19B021819@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: =?utf-8?Q?Fernando=20Apestegu=C3=ADa?= Subject: git: 19fab59233f0 - main - multimedia/openshot: Update to 3.1.1 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fernape X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 19fab59233f0528f86fb886f08f2581929c39200 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=19fab59233f0528f86fb886f08f2581929c39200 commit 19fab59233f0528f86fb886f08f2581929c39200 Author: Tatsuki Makino AuthorDate: 2023-04-26 13:08:30 +0000 Commit: Fernando ApesteguĂ­a CommitDate: 2023-04-29 17:15:14 +0000 multimedia/openshot: Update to 3.1.1 ChangeLog: https://www.openshot.org/blog/2023/04/20/new_openshot_release_311/ * Fixes and Improvements to Tracker and Object Detection effects (fix property editing, prevent crashes, removed black background) * Fixes to Parent property (simplify context menus, a single None option, include thumbnail images) * Prevent freeze on launch (when OpenShot's sample rate does not match the default Windows sample rate) * Adding Profile Search button to Preferences (for easier filtering and searching for a default profile) * Fix duplicate Profile name bug (causing an issue when exporting and re-opening a project with certain duplicate profile names) * Protect timeline (webview) from receiving lots of unneeded messages from libopenshot (prevents crash in certain cases) * Improved caching logic around Property Editor (better performance while adjusting clip properties) * Fix large memory leak in Clip::Close() method (not correctly clearing Clip cache) * Prevent crash on timeline::SetCache (adding thread lock) * Adding additional logging around audio device detection and initialization * Allow audio-only clips to be transparent (revealing the video/image of clips below them) * Multiple fixes for WebM decoding (preventing freezes and crashes) * Fix divide by zero error in AudioWaveformer (if no amplitude was found) * Fix GitHub actions to remove Ubuntu 18.04 builder and some additional tweaks to build scripts * Many small code refactors and fixes to prevent noisy errors (reported by Sentry.io) * Minimum libopenshot C++ dependency set to 0.3.2 * Updated language translations * Updated credits and donors PR: 271075 Reported by: tatsuki_makino@hotmail.com (maintainer) --- multimedia/openshot/Makefile | 5 ++--- multimedia/openshot/distinfo | 6 +++--- multimedia/openshot/files/patch-src_classes_language.py | 14 ++++++++++++++ multimedia/openshot/files/patch-src_windows_preferences.py | 4 ++-- multimedia/openshot/pkg-plist | 10 +++++----- 5 files changed, 26 insertions(+), 13 deletions(-) diff --git a/multimedia/openshot/Makefile b/multimedia/openshot/Makefile index 9c96540bd4c5..66fd4b0cdf45 100644 --- a/multimedia/openshot/Makefile +++ b/multimedia/openshot/Makefile @@ -1,7 +1,6 @@ PORTNAME= openshot DISTVERSIONPREFIX= v -DISTVERSION= 3.1.0 -PORTREVISION= 2 +DISTVERSION= 3.1.1 CATEGORIES= multimedia MAINTAINER= tatsuki_makino@hotmail.com @@ -12,7 +11,7 @@ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${RUN_DEPENDS} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libopenshot>=0.3.1:multimedia/libopenshot@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libopenshot>=0.3.2:multimedia/libopenshot@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sentry-sdk>=0:devel/py-sentry-sdk@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyzmq>=0:net/py-pyzmq@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}distro>=0:sysutils/py-distro@${PY_FLAVOR} \ diff --git a/multimedia/openshot/distinfo b/multimedia/openshot/distinfo index 19dea14df8a5..efef469bad4c 100644 --- a/multimedia/openshot/distinfo +++ b/multimedia/openshot/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1681095600 -SHA256 (OpenShot-openshot-qt-v3.1.0_GH0.tar.gz) = 0522bd6c7d2b254e598d0ed53e7b6b8d7af566e6242f1d2af22c281807fc3f9a -SIZE (OpenShot-openshot-qt-v3.1.0_GH0.tar.gz) = 95780829 +TIMESTAMP = 1682218800 +SHA256 (OpenShot-openshot-qt-v3.1.1_GH0.tar.gz) = 2b67cb4fc78863911b0263364240947b6331a976aad74943e8f6e46221b52e91 +SIZE (OpenShot-openshot-qt-v3.1.1_GH0.tar.gz) = 95843738 diff --git a/multimedia/openshot/files/patch-src_classes_language.py b/multimedia/openshot/files/patch-src_classes_language.py new file mode 100644 index 000000000000..04248014eb65 --- /dev/null +++ b/multimedia/openshot/files/patch-src_classes_language.py @@ -0,0 +1,14 @@ +--- src/classes/language.py.orig 2023-04-20 05:27:15 UTC ++++ src/classes/language.py +@@ -101,7 +101,10 @@ def init_language(): + log.info("Language overridden on command line, using: {}".format(info.CMDLINE_LANGUAGE)) + + # Default the locale to C, for number formatting +- locale.setlocale(locale.LC_ALL, 'C') ++ if ".UTF-8" in locale.setlocale(locale.LC_ALL): ++ locale.setlocale(locale.LC_ALL, 'C.UTF-8') ++ else: ++ locale.setlocale(locale.LC_ALL, 'C') + + # Loop through environment variables + found_language = False diff --git a/multimedia/openshot/files/patch-src_windows_preferences.py b/multimedia/openshot/files/patch-src_windows_preferences.py index b361734d20b5..c0dc577ef5cb 100644 --- a/multimedia/openshot/files/patch-src_windows_preferences.py +++ b/multimedia/openshot/files/patch-src_windows_preferences.py @@ -1,6 +1,6 @@ ---- src/windows/preferences.py.orig 2023-04-01 07:04:04 UTC +--- src/windows/preferences.py.orig 2023-04-20 05:27:15 UTC +++ src/windows/preferences.py -@@ -318,7 +318,7 @@ class Preferences(QDialog): +@@ -325,7 +325,7 @@ class Preferences(QDialog): value_list.remove(value_item) elif os_platform == "Windows" and v not in ("0", "3", "4"): value_list.remove(value_item) diff --git a/multimedia/openshot/pkg-plist b/multimedia/openshot/pkg-plist index b15af20c4c19..1778a4cbf66e 100644 --- a/multimedia/openshot/pkg-plist +++ b/multimedia/openshot/pkg-plist @@ -1,9 +1,9 @@ bin/openshot-qt -%%PYTHON_SITELIBDIR%%/openshot_qt-3.1.0-py%%PYTHON_VER%%.egg-info/PKG-INFO -%%PYTHON_SITELIBDIR%%/openshot_qt-3.1.0-py%%PYTHON_VER%%.egg-info/SOURCES.txt -%%PYTHON_SITELIBDIR%%/openshot_qt-3.1.0-py%%PYTHON_VER%%.egg-info/dependency_links.txt -%%PYTHON_SITELIBDIR%%/openshot_qt-3.1.0-py%%PYTHON_VER%%.egg-info/entry_points.txt -%%PYTHON_SITELIBDIR%%/openshot_qt-3.1.0-py%%PYTHON_VER%%.egg-info/top_level.txt +%%PYTHON_SITELIBDIR%%/openshot_qt-3.1.1-py%%PYTHON_VER%%.egg-info/PKG-INFO +%%PYTHON_SITELIBDIR%%/openshot_qt-3.1.1-py%%PYTHON_VER%%.egg-info/SOURCES.txt +%%PYTHON_SITELIBDIR%%/openshot_qt-3.1.1-py%%PYTHON_VER%%.egg-info/dependency_links.txt +%%PYTHON_SITELIBDIR%%/openshot_qt-3.1.1-py%%PYTHON_VER%%.egg-info/entry_points.txt +%%PYTHON_SITELIBDIR%%/openshot_qt-3.1.1-py%%PYTHON_VER%%.egg-info/top_level.txt %%PYTHON_SITELIBDIR%%/openshot_qt/__init__.py %%PYTHON_SITELIBDIR%%/openshot_qt/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.opt-1.pyc %%PYTHON_SITELIBDIR%%/openshot_qt/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc