From nobody Mon Jan 30 14:38:33 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 4P59lt0MdPz3bMP4; Mon, 30 Jan 2023 14:38:34 +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 4P59ls5xbyz3myV; Mon, 30 Jan 2023 14:38:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675089513; 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=dEK49y/osmQhvn9vJkmwwecKgMmho9fF9wfl02ShIDI=; b=yExtxe9ceT/VtWpYI1O/+Gvh4FpbnX8J9sqPDYBpNdPNsAsegB21agORiPeKkMA1LoF45/ jC8x//ys9cMtDuPcIO3AU5vIz/8EaRuECZnhaqjjorbLre3T3U0uWfLtduvpVKaBTsGbDg Zt0C3Qi+wUVNkGMxcAjianW7tIdCVNoUj9D5U3Soc33IjWZvMBI9PSveWriy+OCICuxZeu UYgVbgG7Jmv8TBoQoLypOcKZS67IC415XvaM1hLlMRXDEIxdApiZfyCMrMB2eJUrVJ+3ya HSRfbj/zZmrDmxomNd6D8+Kh0P42wPx/QkGrgTuyCcurOKK6nuissZMBw3tQJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675089513; 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=dEK49y/osmQhvn9vJkmwwecKgMmho9fF9wfl02ShIDI=; b=XMg9ZUdNtTacnAlzHDZSWUt1dPnx1BOv/Llr61Ry0d0jIn0tGrPomDLsqKK56X61fp4K5X 3UKThH6BwTov+wmdI7MA73EjshChX5dVVdv2fNaOUfwCQKENniutnEU4bgkyn1Ke4qP+WA CbCsGtJaorTz41ddPqz6OMrSBSjL9N8RiG9qlH+mBvS9rQKb2cKBY4GgZ6ZwSGY4My+f21 eLhdncuvujcij9LK3XRzgfRA3QPkQMTNQcGpvFiIaWftSbdxMFioW04ly062Nz6E4W/81k CcDhkK411R91nOvD/SwySTxj0jX2NCP201deMtgneSCU1IHTkxeYhvnn78o81Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675089513; a=rsa-sha256; cv=none; b=xiST45uJSf9ryuoG1JsP0uQNKAwL6eXzni6Wk+VAJHaFEw1kmPhj08MenTxOVUr0+nCWGm ShpdSj8d2MQF3ajZ/JrCO1x4fOrY6K2Ba3Kfz+H6iyjHZPiym7gr1FQ80VJRHIky9COxAd gHpor+gH0Ptg6NO6Ulf1OXTcGbMsB0ET2X3NimAE7rXT0W8UayjOuS+vtNWkX5tg2rAmpf cnnJWfmkteOjodHOFEJHuJiSXOd4gwEqj2DSNSN+oqHRIkdL5kWKDnRijOp5+x+D+CTZx+ IFjNk55QFMGSgzhGtchrVNAsOSyIWwyacTA/XqI0aUG/yKf9Cd7+6Z7rebFZDg== 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 4P59ls504fz1BnM; Mon, 30 Jan 2023 14:38:33 +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 30UEcXGO004322; Mon, 30 Jan 2023 14:38:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30UEcXSV004321; Mon, 30 Jan 2023 14:38:33 GMT (envelope-from git) Date: Mon, 30 Jan 2023 14:38:33 GMT Message-Id: <202301301438.30UEcXSV004321@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: d7dd62826530 - main - audio/py-pyradio: Fix a runtime error (missing icon) 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: nivit X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d7dd628265301b380c663659c30feec57062efbf Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by nivit: URL: https://cgit.FreeBSD.org/ports/commit/?id=d7dd628265301b380c663659c30feec57062efbf commit d7dd628265301b380c663659c30feec57062efbf Author: Nicola Vitale AuthorDate: 2023-01-30 14:34:51 +0000 Commit: Nicola Vitale CommitDate: 2023-01-30 14:38:18 +0000 audio/py-pyradio: Fix a runtime error (missing icon) - When notifications are enabled and the user doesn't have a custom icon the program raises a Python Exception, because it doesn't find the default one. The patch was provided by Spiros Georgaras (upstream) via email. - Bump PORTREVISION --- audio/py-pyradio/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/audio/py-pyradio/Makefile b/audio/py-pyradio/Makefile index 09655b1f521c..480691e7d054 100644 --- a/audio/py-pyradio/Makefile +++ b/audio/py-pyradio/Makefile @@ -1,5 +1,6 @@ PORTNAME= pyradio DISTVERSION= 0.9.0 +PORTREVISION= 1 CATEGORIES= audio python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -47,9 +48,11 @@ MPV_RUN_DEPENDS+= mpv:multimedia/mpv VLC_RUN_DEPENDS+= vlc:multimedia/vlc post-patch: - ${SED} -i.bak -e 's/\(distro =\) None/\1 ${OPSYS}/' \ + @${SED} -i.bak -e 's/\(distro =\) None/\1 ${OPSYS}/' \ -e 's/\(enable_notifications =\) -1/\1 0/' \ ${WRKSRC}/pyradio/config + @${SED} -i.bak -e "s,/usr/local/share/icons\(/pyradio.png\),${PREFIX}/share/pixmaps\1,1" \ + ${WRKSRC}/pyradio/log.py post-install: ${INSTALL_DATA} ${WRKSRC}/devel/${PORTNAME}.desktop \