From nobody Tue Aug 27 09:21:32 2024 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 4WtMVh6XCZz5VPZc; Tue, 27 Aug 2024 09:21:32 +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 4WtMVh556bz4cXs; Tue, 27 Aug 2024 09:21:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724750492; 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=M+tyBb55JjyH95P756GEVHTfQa2JpfWjuPrq72jhWh0=; b=lXfllobuDbw9dhEsRILdo/VX+P+/lGMvUC0NoMSck/WtCjkfDH53kbUWFqaGz5KVe08w2m MlG50Q8I25AfXbifvHLeKzWlxQEE3EfttHrYi8a8koBRp2FGC7T+DHzojlRaz21oXzP6Ge LuAyUCKa/Fsx+NGblk1mH9O2ISQ2zwogrtqTK6IwXam2nu9hEWTXuqGB7KHzkSqZbntt55 185vPufqnll3YaQQXhWD6zg29Six6dTFnmWH3eLxK+UVv7NHdQREHq0VrIgE1U5s7v68cR B8GgoNONsYze3VxAjdoY9hCQw177vQSSGBOqG/iQkq6OEZHBBNit7KCWB+b8Kw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724750492; a=rsa-sha256; cv=none; b=KWDJr+aU3H5Od9sWHu2jLRG4TyBUHI7KDmLofOkIKltQHsYtmaqm4sHKyPNQc/4cmK2Wqq YdRSq79U5qq0Jes/mLybyrNRXH0VwRoExrqgomfIfwb/ETZykJTqycYNL70xPELDb+WNnn UuYEh9eHAYJy7MCj/9k1ekEAuob2nn8r1LKkleVHbGdaAOhFhIYCe+7TvUCm4rInUI3Bro eu1ZU9tpnuOZkt49yD6JoIwusFewam/N6tuV1pGa6yUZ9gL1V6aYPSi+K8DzUSz7jLd04K I3u3QYSVnaf1v5l6K6CSK+KVH+NuEbXwsD6PNSYSpmDsjeH5Swhym8Ys/qbNBg== 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=1724750492; 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=M+tyBb55JjyH95P756GEVHTfQa2JpfWjuPrq72jhWh0=; b=onnSo2UggdFpRmDwTVQJOeUPdcGeuPj3VfEVLmS8+itUrM8L5+2uHx61McYna5jpbZZ0nq 6RrWax1+YpLV2L9gp9R7JEmrDVxq+EniKsX0ghxX8ipxiSbKWhztTxujvYl+QVlurDNAlW lQPs4uXYZocMr2oOOISCD1GqCbUVQizvt2++2jtxzrGjjrTinSZgwJ6VTCvu7lJkEUtOvK kXWdFY6LYx5ual36hI4cHP0eOoJsspQiRckkj0Aepe/3/RoDqb811kH9dh+wXp47AK9t8V YsyE8WqkKqUi95qwvyYR9F5k8kk0Wxj5t3UayY7xT0TWNjEN9OCnTMSq4NFhFA== 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 4WtMVh46cMzl1m; Tue, 27 Aug 2024 09:21:32 +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 47R9LWqc006444; Tue, 27 Aug 2024 09:21:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47R9LWx6006441; Tue, 27 Aug 2024 09:21:32 GMT (envelope-from git) Date: Tue, 27 Aug 2024 09:21:32 GMT Message-Id: <202408270921.47R9LWx6006441@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Nicola Vitale Subject: git: 48e8888c3094 - main - net-im/linux-discord: Add missing dependency 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: nivit X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 48e8888c3094f26b5799642c493ddfe5884bccbc Auto-Submitted: auto-generated The branch main has been updated by nivit: URL: https://cgit.FreeBSD.org/ports/commit/?id=48e8888c3094f26b5799642c493ddfe5884bccbc commit 48e8888c3094f26b5799642c493ddfe5884bccbc Author: Nicola Vitale AuthorDate: 2024-08-27 09:14:51 +0000 Commit: Nicola Vitale CommitDate: 2024-08-27 09:20:17 +0000 net-im/linux-discord: Add missing dependency - Add multimedia/linux-rl9-libva to the run dependencies - Execute the post-installation script (provided by Discord) for any user, not just those who update the program. - Modify pkg-message accordingly - Bump PORTREVISION --- net-im/linux-discord/Makefile | 3 ++- net-im/linux-discord/files/pkg-message.in | 5 +---- net-im/linux-discord/pkg-plist | 4 ++++ 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/net-im/linux-discord/Makefile b/net-im/linux-discord/Makefile index 8d8088975131..173ac9024ef2 100644 --- a/net-im/linux-discord/Makefile +++ b/net-im/linux-discord/Makefile @@ -1,5 +1,6 @@ PORTNAME= discord DISTVERSION= 0.0.65 +PORTREVISION= 1 CATEGORIES= net-im MASTER_SITES= https://dl.discordapp.net/apps/linux/${DISTVERSION}/ PKGNAMEPREFIX= linux- @@ -22,7 +23,7 @@ RUN_DEPENDS= linux-rl9-libatomic>=11.4.1:devel/linux-rl9-libatomic \ USES= linux:rl9 USE_LINUX= alsa-plugins-oss alsa-plugins-pulseaudio alsalib at-spi2-atk \ atk ca-certificates cups-libs dbuslibs devtools gtk3 libdrm \ - libsigsegv nspr nss opus + libsigsegv libva nspr nss opus DATADIR= ${PREFIX}/share/${PKGBASE} diff --git a/net-im/linux-discord/files/pkg-message.in b/net-im/linux-discord/files/pkg-message.in index 9006df957430..c60ea8b8313a 100644 --- a/net-im/linux-discord/files/pkg-message.in +++ b/net-im/linux-discord/files/pkg-message.in @@ -8,10 +8,7 @@ If the user's directory is located in /usr/home/ and doesn't exist the link ln -s /usr/home /home Discord uses pulseaudio(1), so you have to start the relative server. - -If you have updated the port/package, you have to run the following command: - - %%DATADIR%%/postinst.sh EOM } ] + diff --git a/net-im/linux-discord/pkg-plist b/net-im/linux-discord/pkg-plist index 22fcbea8b5fd..dd36e5facca6 100644 --- a/net-im/linux-discord/pkg-plist +++ b/net-im/linux-discord/pkg-plist @@ -76,6 +76,10 @@ share/icons/hicolor/256x256/apps/discord.png %%DATADIR%%/chrome_crashpad_handler %%DATADIR%%/postinst.sh @mode +@comment Excerpt from postinst.sh script: +@comment "This is probably just paranoia, but some people claim that clearing out +@comment and/or the sock file fixes bugs for them, so here we go" +@postexec %D/%F @mode 4555 %%DATADIR%%/chrome-sandbox @mode