From nobody Tue Jul 12 20:40:15 2022 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 2789B1CFBC2F; Tue, 12 Jul 2022 20:40:16 +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 4LjCLS0FCZz49Sv; Tue, 12 Jul 2022 20:40:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657658416; 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=AnFuVA/8WgdSE1daPTLIzJ4bdp+4FmszB5kAP+BMi2w=; b=lAHOvncMARxegu4rFu7Oie6d6wE63jwwGon70NlrgmBbR2W6if1FfobecXLVYeTbXBv/8+ jwFFFkLeo+jUfhRIdB+C2KYU7jrz/naMMq9pBQ1TJeCDmXArIo9jDeeO6l2zQH0kj9T6Bc X4nXSRT3YPRpEioKHL6c+lqiBgbJyIG81Vyapfk9c1GV0KOCPWw4aPwZcwnXkWn1DV1dcG SmfSv4JmAfDppOpzZFndPwalzEF0KkTrMg2ZP8XeVYbizIMQLvMgTiev+al2i8wrDxb/gM 5E67onJnDHJ0FUwFP1nEipUA+6RgwmUto2NfEbIUv0/MRiT27HzeBXwxH83ZpQ== 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 4LjCLR6HpLzxhC; Tue, 12 Jul 2022 20:40:15 +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 26CKeFfk016088; Tue, 12 Jul 2022 20:40:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26CKeF2F016082; Tue, 12 Jul 2022 20:40:15 GMT (envelope-from git) Date: Tue, 12 Jul 2022 20:40:15 GMT Message-Id: <202207122040.26CKeF2F016082@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: 3236c81b2bdb - main - net/remmina: Make python dependency optional 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: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: 3236c81b2bdb52e1f7bc722070e8eaa719cac3bc Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657658416; 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=AnFuVA/8WgdSE1daPTLIzJ4bdp+4FmszB5kAP+BMi2w=; b=WhLBYZgBc3tkfYYdDGiG38pXTSk3/LaayvIP5yikoPsUSFjaRVBGoEOGMeBm10VpAMaS8V tySM8eka+DpVnOw660Vh3cj+BoPoN1A91R/8CixxnxT0R4T9z2QTSlKqgfOsO42TcvdD0f +eTqqqKQW/TrJpVI9/JS1Jiw2uPcOO7W9reWoAAN7X23SlwAw1u5UpzVTdUNT4am+uJTb+ CAGdljDBOK2foiFxojzHnG585xD14MZ0VERFTdW5o3cmtN+mLXYdgnJ9r2ceIzhnjIAaxb 0DoMlZEyMzb4hJl1WUY6j6/kZawjwAYbfgFuWghVpenqHkpxQdHV9tbKsH7lpQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657658416; a=rsa-sha256; cv=none; b=sNogLSEix2sjueLpNFARFExCF7j77koB81jBJkmoVt5dM9xNxA3z8iTeE4LdK5sQs5x7sx RK+kOQvDQmNlItK4m7M+xbyBnB7Y5y2HvPdhGbq+lUEmomcFYuoJsVaA/kjoXziqg92A10 AfPPOra3K1SzoenmLRVizGWUYdokrYHLpzJu7RigkTlv7Y12EpdDkwykQUirIPsV7DRa8W J/xWld+WePstJvXPiJU6XZaGcaeBV6SZte68ad3GMbXBHgx91oKQEY5KXUrdNAsEVZbpTQ lCmQ3nf86y90JkbBRf2VRamIb3E6UXu4YOh4VjNN3tDN1FafC0w1KTytTyeC4w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=3236c81b2bdb52e1f7bc722070e8eaa719cac3bc commit 3236c81b2bdb52e1f7bc722070e8eaa719cac3bc Author: VVD AuthorDate: 2022-07-12 17:38:04 +0000 Commit: Fernando ApesteguĂ­a CommitDate: 2022-07-12 20:37:26 +0000 net/remmina: Make python dependency optional Remmina supports plugins written in python. Create option for that instead of having python as a hard dependency. PR: 265174 Reported by: vvd@unislabs.com --- net/remmina/Makefile | 10 +++++++--- net/remmina/pkg-plist | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/net/remmina/Makefile b/net/remmina/Makefile index 3e412d4f0a1d..4b6436502322 100644 --- a/net/remmina/Makefile +++ b/net/remmina/Makefile @@ -2,6 +2,7 @@ PORTNAME= remmina DISTVERSION= 1.4.27 +PORTREVISION= 1 CATEGORIES= net gnome MAINTAINER= fernape@FreeBSD.org @@ -13,7 +14,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libappindicator3.so:devel/libappindicator \ libjson-glib-1.0.so:devel/json-glib \ libpcre2-8.so:devel/pcre2 \ - libpython3.9.so:lang/python39 \ libsodium.so:security/libsodium \ libsoup-2.4.so:devel/libsoup \ libwayland-client.so:graphics/wayland @@ -41,7 +41,7 @@ CMAKE_ARGS= -DWITH_APPINDICATOR:BOOL=false CONFLICTS_INSTALL= remmina-plugin* -OPTIONS_DEFINE= AVAHI CUPS GCRYPT NLS SSH TERM +OPTIONS_DEFINE= AVAHI CUPS GCRYPT NLS PYTHON SSH TERM OPTIONS_DEFAULT= AVAHI CUPS GCRYPT NLS SSH TERM \ EXEC RDP SECRET SPICE VNC WWW BASH OPTIONS_GROUP= PLUGINS @@ -51,7 +51,7 @@ OPTIONS_SINGLE_SHELL= BASH ZSH OPTIONS_SUB= yes .if ${FLAVOR:U} == lite -OPTIONS_EXCLUDE= AVAHI CUPS KWALLET SECRET SPICE SSH TERM WWW +OPTIONS_EXCLUDE= AVAHI CUPS KWALLET PYTHON SECRET SPICE SSH TERM WWW COMMENT+= (lite flavor) .endif @@ -59,6 +59,7 @@ AVAHI_DESC= Build with Avahi support BASH_DESC= Use BASH for shell wrapper scripts EXEC_DESC= Plugin to execute a command GCRYPT_DESC= Build with libgcrypt support for password encryption +PYTHON_DESC= Build with support for Python plugins RDP_DESC= Remote Desktop Protocol plugin SECRET_DESC= GNOME Keyring plugin SHELL_DESC= Shell Scripts @@ -88,6 +89,9 @@ KWALLET_CMAKE_BOOL= WITH_KF5WALLET NLS_CMAKE_BOOL= WITH_TRANSLATIONS +PYTHON_USES= python +PYTHON_CMAKE_BOOL= WITH_PYTHONLIBS + RDP_LIB_DEPENDS= libfreerdp2.so:net/freerdp libxkbfile.so:x11/libxkbfile SECRET_LIB_DEPENDS= libsecret-1.so:security/libsecret diff --git a/net/remmina/pkg-plist b/net/remmina/pkg-plist index 4f2c2fddb510..f725cbfe9558 100644 --- a/net/remmina/pkg-plist +++ b/net/remmina/pkg-plist @@ -10,7 +10,7 @@ include/remmina/types.h %%SPICE%%lib/remmina/plugins/remmina-plugin-spice.so %%VNC%%lib/remmina/plugins/remmina-plugin-vnc.so %%WWW%%lib/remmina/plugins/remmina-plugin-www.so -lib/remmina/plugins/remmina-plugin-python_wrapper.so +%%PYTHON%%lib/remmina/plugins/remmina-plugin-python_wrapper.so libdata/pkgconfig/remmina.pc share/man/man1/remmina-file-wrapper.1.gz share/man/man1/remmina.1.gz