Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 May 2026 07:03:17 +0200
From:      Daniel Engberg <diizzy@FreeBSD.org>
To:        Eric Turgeon <ericbsd@FreeBSD.org>, ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   Re: git: 8ea4280e9410 - main - deskutils/mozo: switch to GitHub release asset
Message-ID:  <1dd336ca-1127-4167-9b5a-adaf24806831@FreeBSD.org>
In-Reply-To: <6a18b74e.383f1.59ff6305@gitrepo.freebsd.org>

index | next in thread | previous in thread | raw e-mail

On 2026-05-28 23:44, Eric Turgeon wrote:
> The branch main has been updated by ericbsd:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=8ea4280e94108594c39b45d7f29550b5ba40cd10
>
> commit 8ea4280e94108594c39b45d7f29550b5ba40cd10
> Author:     Eric Turgeon <ericbsd@FreeBSD.org>
> AuthorDate: 2026-05-28 21:44:35 +0000
> Commit:     Eric Turgeon <ericbsd@FreeBSD.org>
> CommitDate: 2026-05-28 21:44:44 +0000
>
>      deskutils/mozo: switch to GitHub release asset
>      
>      Minor versions of 1.28.x are no longer published to the MATE mirror
>      and are only available on GitHub. Use USE_GITHUB=nodefault with a
>      release tarball instead of the auto-generated one, as recommended
>      by the porter's handbook. Remove autoreconf, not needed with release
>      tarballs. Remove opt-2.pyc entries from pkg-plist, not generated by
>      the release tarball build.
> ---
>   deskutils/mozo/Makefile | 11 ++++++-----
>   deskutils/mozo/distinfo |  6 +++---
>   2 files changed, 9 insertions(+), 8 deletions(-)
>
> diff --git a/deskutils/mozo/Makefile b/deskutils/mozo/Makefile
> index 94e7670fac7c..5f312ba0f795 100644
> --- a/deskutils/mozo/Makefile
> +++ b/deskutils/mozo/Makefile
> @@ -1,8 +1,9 @@
>   PORTNAME=	mozo
> -DISTVERSIONPREFIX=	v
>   DISTVERSION=	1.28.0
> -PORTREVISION=	2
> +PORTREVISION=	3
>   CATEGORIES=	deskutils mate
> +MASTER_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/
> +DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
>   
>   MAINTAINER=	gnome@FreeBSD.org
>   COMMENT=	Editor for the freedesktop.org menu specification
> @@ -13,10 +14,10 @@ LICENSE_FILE=	${WRKSRC}/COPYING
>   
>   RUN_DEPENDS=	${LOCALBASE}/bin/mate-desktop-item-edit:x11/mate-panel
>   
> -USE_GITHUB=	yes
> +USES=		gettext-tools gmake gnome localbase mate pkgconfig \
> +		python tar:xz
> +USE_GITHUB=	nodefault
>   GH_ACCOUNT=	mate-desktop
> -USES=		autoreconf gettext-tools gmake gnome localbase mate pkgconfig \
> -		python
>   USE_GNOME=	gtk30 intltool pygobject3
>   USE_MATE=	menus
>   GNU_CONFIGURE=	yes
> diff --git a/deskutils/mozo/distinfo b/deskutils/mozo/distinfo
> index 794d85861fcf..ed0bfc0b4bf7 100644
> --- a/deskutils/mozo/distinfo
> +++ b/deskutils/mozo/distinfo
> @@ -1,3 +1,3 @@
> -TIMESTAMP = 1779839573
> -SHA256 (mate-desktop-mozo-v1.28.0_GH0.tar.gz) = eb1d5af4ac0c72268e78deca888ae00c604ddfd67d50989ab0f7f82bc8fbcbef
> -SIZE (mate-desktop-mozo-v1.28.0_GH0.tar.gz) = 122427
> +TIMESTAMP = 1779969912
> +SHA256 (mozo-1.28.0.tar.xz) = fe98984ffd6aa8c36d0594bcefdba03de39b42d41e007251680384f3cef44924
> +SIZE (mozo-1.28.0.tar.xz) = 251512
Hi Eric,

This is incorrect usage, drop USE_GITHUB when you're fetching a static 
file and also DISTFILES in this case as it's unnecessary.

Best regards,
Daniel


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1dd336ca-1127-4167-9b5a-adaf24806831>