From nobody Tue May 13 10:13:50 2025 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 4ZxXPV5kHTz5wdyb; Tue, 13 May 2025 10:13:50 +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 4ZxXPV3wl5z3D0k; Tue, 13 May 2025 10:13:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1747131230; 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=t7bPeycnJCMS7BZMfTsjKR5tim89fqj+aNpzmohUGEk=; b=pMkdqKg+JycE/6n+Z28uTfdL4PLpLrs/Srbh0lkaGpaTVbkvPBCG1tepZsIJ2ofDwwzceA ckQa6nXGsrFtCoCdb70aCTdHU7/2Y6QkFP8g170M8kpUujlOVJFZ+ZUIqEYip3SShY6wZn cBm0IE4kqQO9OL6HdWr8diWFTMrMp3dUnij9bmuRtVzsUHBd5Sq4sa0UVfytViv+NMJ2UL Npbzq2kAzaGg5A/mPhp75+S9ab6TQE2q+b61l+Kb9BwxR/l1BEsvMtF/KfPXDIIBaW5zAn d+1egNd5kenyeRaobSd4qY9yKhTtO2YgFPNtuXchVpASBy0v1CGxpoh461WFsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1747131230; 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=t7bPeycnJCMS7BZMfTsjKR5tim89fqj+aNpzmohUGEk=; b=XUqG/u17kSmFZQHnsqgkG4flQTH5wMh/ipjjIGIXu4T1JYDsxywwYRXVioz2iuPwgSCX08 GTqEL/10m4VMXdNTWm1B7mVUBPtAQMWkscSRa1CdCMG9gppwNQ9+CXuSqfv6FsroZd20Qs lR2X0pxbDrc+g4mEKRzPfJzZU3Oo5nQxRMIZzaCFBfutc6jFGUwLGFE4KidH5JDX4s4m7s HBzIz26vAcwh/RedV5eDcFeKz4iRAbcG+iFMxAzVljsJmGD/V5gG+Nc743vPYzOYE38MLj sfzyRC+ArmbSb9l8Eh6TNLGct887rkR0LYGzX7SCGPvl+exmMjAa/Uo82e8wPA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1747131230; a=rsa-sha256; cv=none; b=oJDZPxAOhjNkN6YNu7ej/VNmw0MSIMdRExiaUgIjzHJwS8ZTXocNtLvJ3rhgTwNZ+QKjpP kpS4NeKKWilsczf3N6nb9aFJdW46Gw/N5CQ+30dmMfE+w9mJsthLymY6RXoV13HilaULlQ Qwo2lU7pGzPZmOSrrFni0IPQCF24ejf5ymfuaofrxXtZvjBhkRkif9HUax4HyA36WpHvn4 7zr5Rw5022xeELse4Tc94cZyZv0TeoSCNsM2na5FTL9QPiVVCVkEW/Hc9RYxT1EvLj/tRt tC2WW4RT4ICJIgAE/Hn4W8FY+AWAGcviNygK9dEk5bZ8fwxjPUW97uTcqFyviQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4ZxXPV3FFCzjg3; Tue, 13 May 2025 10:13:50 +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 54DADoP3091838; Tue, 13 May 2025 10:13:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 54DADomX091835; Tue, 13 May 2025 10:13:50 GMT (envelope-from git) Date: Tue, 13 May 2025 10:13:50 GMT Message-Id: <202505131013.54DADomX091835@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: 134e3baff350 - main - net-im/linux-discord: Update to 0.0.94 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: nivit X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 134e3baff350adf23172d87d26ea9371dcc22616 Auto-Submitted: auto-generated The branch main has been updated by nivit: URL: https://cgit.FreeBSD.org/ports/commit/?id=134e3baff350adf23172d87d26ea9371dcc22616 commit 134e3baff350adf23172d87d26ea9371dcc22616 Author: Nicola Vitale AuthorDate: 2025-05-13 10:07:52 +0000 Commit: Nicola Vitale CommitDate: 2025-05-13 10:13:22 +0000 net-im/linux-discord: Update to 0.0.94 - Remove pkg-message that suggested how to disable automatic update. Now is the script linux-discord that adds the relevant option in the configuration file on startup. [1] Suggested by: arrowd [1] --- net-im/linux-discord/Makefile | 4 ++-- net-im/linux-discord/distinfo | 6 +++--- net-im/linux-discord/files/linux-discord.in | 13 +++++++++++++ net-im/linux-discord/pkg-message | 13 ------------- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/net-im/linux-discord/Makefile b/net-im/linux-discord/Makefile index 3831fcc4c39a..5e36fe0a146b 100644 --- a/net-im/linux-discord/Makefile +++ b/net-im/linux-discord/Makefile @@ -1,6 +1,6 @@ PORTNAME= discord -DISTVERSION= 0.0.89 -PORTREVISION= 2 +DISTVERSION= 0.0.94 +PORTREVISION= 0 PORTEPOCH= 1 CATEGORIES= net-im MASTER_SITES= https://dl.discordapp.net/apps/linux/${DISTVERSION}/ diff --git a/net-im/linux-discord/distinfo b/net-im/linux-discord/distinfo index a1f22b65dca2..ff71749b9319 100644 --- a/net-im/linux-discord/distinfo +++ b/net-im/linux-discord/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1744703712 -SHA256 (discord-0.0.89.tar.gz) = ef833648024b4bcbb7ee6d9b128fd86e5abcdb611b59665fa4b7f97a6bd3bac1 -SIZE (discord-0.0.89.tar.gz) = 102421846 +TIMESTAMP = 1747126989 +SHA256 (discord-0.0.94.tar.gz) = d37e677db132bddb0dc5987a7e45e1d89858ec45d0b705274b8b142abef83114 +SIZE (discord-0.0.94.tar.gz) = 105410218 diff --git a/net-im/linux-discord/files/linux-discord.in b/net-im/linux-discord/files/linux-discord.in old mode 100644 new mode 100755 index e4c462613861..6c8253790678 --- a/net-im/linux-discord/files/linux-discord.in +++ b/net-im/linux-discord/files/linux-discord.in @@ -1,9 +1,22 @@ #!%%LINUXBASE%%/bin/bash +DISCORD_CONF="$HOME/.config/discord/settings.json" + +# disable automatic update +if [ ! -f "$DISCORD_CONF" ]; then + echo '{"SKIP_HOST_UPDATE": true}' > "$DISCORD_CONF" +else + /usr/bin/grep -q 'SKIP_HOST_UPDATE' "$DISCORD_CONF" || \ + mv -f "$DISCORD_CONF" "${DISCORD_CONF}.bak" + awk '{print $0; if (R==0 && $0 ~ /\{/) {print " \"SKIP_HOST_UPDATE\": true,"; R=1;}}' \ + "${DISCORD_CONF}.bak" > "$DISCORD_CONF" +fi + # workaround Chromium bug https://bugs.chromium.org/p/chromium/issues/detail?id=918234 if [ "$DBUS_SESSION_BUS_ADDRESS" = "" ]; then export DBUS_SESSION_BUS_ADDRESS="autolaunch:" fi + export ELECTRON_IS_DEV=0 export LIBGL_DRI3_DISABLE=1 export NODE_ENV=production diff --git a/net-im/linux-discord/pkg-message b/net-im/linux-discord/pkg-message deleted file mode 100644 index a79373b6b2eb..000000000000 --- a/net-im/linux-discord/pkg-message +++ /dev/null @@ -1,13 +0,0 @@ -[ -{ - type: install - message: <