From nobody Wed Aug 02 06:30:25 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 4RG2Cq4l61z4qJWf; Wed, 2 Aug 2023 06:30:31 +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 4RG2Cl3k4mz4JyT; Wed, 2 Aug 2023 06:30:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690957828; 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=an6Jp+YvOr22n3ajNx6W83EYOZgwP7aUbMaCjoRg3jQ=; b=YTTByxR0E7YHVyReCPXpsfz0aEkm2Sr2+Fn0Lfp0jCd4wqyy4EMLM0bgi6Z0XGxrjzW1hM 2vzjKg2U4V+7HXhIBJP23/tuhdRsNuKq8/RWSCHuThKyonpTiB3/bx9uauG7FrxeOlAL7y Fpr33/x3VwcgQOnhvU90u6u3t/lLZv0Lhx6OEHAYRYDzTEtjOjyMSeFDAcUSDc7Un6sHlV wLGu2bsqR72/gAWRl9hOMyX+F5q8JmO4Z8844ZQNwjbL/ik69FHRoi/3LnI5Esbwj3zxQK 5CWOZoCcH1b2MhrgovcYplxlfuZ7dOUTWKQX5Qvb6AyU2qljjFm1b6t5l7JDBA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690957828; a=rsa-sha256; cv=none; b=pw92U1v2j+r78Bnn7uHm5IQL04U3CVFQcgPCozz8WBuCbpsuWDnXtdcmo8GENUL1lWwZHU hoHbx/irC5R8mra6doeZZbLvtIlq55pk1waO/WIIjzMHmYZUlctD8jkHBrky75gCrSqQuP z5102xVxNLUlAwkibsW6l+nORPBsdMapUqekyD1L6NtymMU9Q21/8jXL5vf9vig/CpMSG8 tdrVD5uXFrFyrCMFkgWVdpXPlH9u9xsvT/tRknNyVRL/n/hVRfNFTNVJz0anfhCQiLEiRf 2x15YBoGCZ3dUg55zFtAmk/hNmty6C8U8UexQRXYr8vvm2Zj6tai6A/aScC2Sw== 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=1690957828; 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=an6Jp+YvOr22n3ajNx6W83EYOZgwP7aUbMaCjoRg3jQ=; b=NV8gNPFm02yPcsIlcAm5MynB8w8s1btmrg14qGqpdDlJtF4I2W0hymDz/8WsN+U60KQCwR 9fcO6eREYF1XSNEUSnaXXB0XSta9KWt4CoVZK6O2v1cIHnGqtQ8kzRUJA9Y0EwrvJYsX5K QGd7VhLsR3S4/nST5YayHx+Ua2JK7tGqJB6eKLdMV/3zc8YxBPyF5x5w1S/CmhUPIvzowe wc8aZJeaB1TQ7nEHyJ2pWdCyQ0AOKW+Wbv80e8HxqpfeAg1/IvAaL4FDWyuqX/6C+zb/1i gQ+XeLE2iD9pirTom6pzXWGOabzhLrA+PNlPRsuhRG/KVdZaX1IWzxPbOhgeFQ== 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 4RG2Ck0FTsz17t6; Wed, 2 Aug 2023 06:30:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3726UPYa050936; Wed, 2 Aug 2023 06:30:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3726UP9B050935; Wed, 2 Aug 2023 06:30:25 GMT (envelope-from git) Date: Wed, 2 Aug 2023 06:30:25 GMT Message-Id: <202308020630.3726UP9B050935@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: 890f5238e3ac - main - x11/workrave: Add @sample to exercises list 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: 890f5238e3ac273554880ac8fdd9cfcc2e786882 Auto-Submitted: auto-generated The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=890f5238e3ac273554880ac8fdd9cfcc2e786882 commit 890f5238e3ac273554880ac8fdd9cfcc2e786882 Author: Pau Amma AuthorDate: 2023-07-31 08:10:13 +0000 Commit: Fernando ApesteguĂ­a CommitDate: 2023-08-02 06:30:06 +0000 x11/workrave: Add @sample to exercises list Upstream recommends editing exercises.xml to add or remove exercises, hence treat it like a config file. PR: 272821 Reported by: pauamma@gundo.com Approved by: cyberbotx@cyberbotx.com (maintainer) --- x11/workrave/Makefile | 8 +++++++- x11/workrave/pkg-plist | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/x11/workrave/Makefile b/x11/workrave/Makefile index 5afcffcef212..2abd96a6cc2f 100644 --- a/x11/workrave/Makefile +++ b/x11/workrave/Makefile @@ -1,7 +1,7 @@ PORTNAME= workrave PORTVERSION= 1.10.50 DISTVERSIONPREFIX= v -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 MASTER_SITES= https://github.com/rcaelers/workrave/releases/download/v${PORTVERSION:S/./_/g}/ @@ -71,4 +71,10 @@ GSTREAMER_CONFIGURE_ENABLE= gstreamer NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls +# Upstream recommends editing that file to add or remove exercises, +# hence treat it like a config file. +post-stage: + ${MV} ${STAGEDIR}${DATADIR}/exercises/exercises.xml \ + ${STAGEDIR}${DATADIR}/exercises/exercises.xml.sample + .include diff --git a/x11/workrave/pkg-plist b/x11/workrave/pkg-plist index e0bdac2e70f7..583293e1d3e2 100644 --- a/x11/workrave/pkg-plist +++ b/x11/workrave/pkg-plist @@ -93,7 +93,7 @@ share/sounds/workrave/subtle/soundtheme %%DATADIR%%/exercises/chair-pushup-2.png %%DATADIR%%/exercises/depth-focus-1.png %%DATADIR%%/exercises/depth-focus-2.png -%%DATADIR%%/exercises/exercises.xml +@sample %%DATADIR%%/exercises/exercises.xml.sample %%DATADIR%%/exercises/eye-darkness.png %%DATADIR%%/exercises/finger-stretch-1.png %%DATADIR%%/exercises/finger-stretch-2.png