https://gitlab.com/o9000/tint2/tags offers both
v16.6.1 and 16.6.1 tags

I choose the "non-v" tag to simplify the Makefile.  I can alter if the
v-tag is preferred

I think I have the suggested changes incorporated into the attached
diff.  Builds/Runs on my -current/amd64 x11/openbox wm.

Scott

On Aug 29, 2018: 19:54, Brian Callahan wrote:


On 8/29/2018 6:42 PM, Heppler, J. Scott wrote:
If it would be helpful, this particular project is mirrored on GitHub

https://github.com/o9000/tint2.

Could you point me to the github policy?


For the archives and the curious, it's in
PORTSDIR/infrastructure/templates/Makefile.template right above where
the GH_* variables are.

~Brian

Scott H.
On Aug 29, 2018: 17:46, Brian Callahan wrote:

On 08/26/18 22:01, Heppler, J. Scott wrote:
The attached diff updates tint2 to the latest stable release
https://gitlab.com/o9000/tint2/blob/16.6.1/ChangeLog.

The update fixes some regressions, adds the ability to sort the task
bar
and turn off logging of script executors.

Builds and runs on my -current/amd64.  Additional testing and critique
appreciated.

I realize that we don't have an official policy for GitLab stuff like
we do GitHub stuff, and we're stuck with autogen'd tarballs for this
one (unless I'm missing something obvious).

For MASTER_SITES, we could try something like
MASTER_SITES=https//gitlab.com/o9000/tint2/-/archive/v${V}/

And change DISTNAME to
DISTNAME=tint2-v${V}

and change PKGNAME to
PKGNAME=tint2-${V}

And then not have to do that DISTFILES dance. And we could also get
rid of WRKDIST.

That seems more maintainable to me? What do others think?

The rest looks fine, save for the RCS ID change in PLIST (and was the
reordering there automagic or did you change it yourself?)

~Brian


Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/tint2/Makefile,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 Makefile
--- Makefile    1 Jul 2018 18:33:39 -0000       1.10
+++ Makefile    30 Aug 2018 03:45:48 -0000
@@ -2,19 +2,16 @@
 
 COMMENT=       freedesktop-compliant panel
 
-V=             16.2
+V=             16.6.1
 CATEGORIES=    x11
-DISTNAME=      tint2-$V
-DISTFILES=     ${DISTNAME}${EXTRACT_SUFX}{archive${EXTRACT_SUFX}?ref=v$V}
-WRKDIST=       ${WRKDIR}/tint2-v$V-b810bad93ff65854137fbd2f344ad2f99338008f
-REVISION=      2
-
+DISTNAME=      tint2-${V}
+PKGNAME=       tint2-${V}
 HOMEPAGE=      https://gitlab.com/o9000/tint2/
 
 # GPLv2 only
 PERMIT_PACKAGE_CDROM= YES
 
-MASTER_SITES=  https://gitlab.com/o9000/tint2/repository/
+MASTER_SITES=  https://gitlab.com/o9000/tint2/-/archive/${V}/
 
 WANTLIB += Imlib2 X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi
 WANTLIB += Xinerama Xrandr Xrender atk-1.0 c cairo fontconfig
Index: distinfo
===================================================================
RCS file: /cvs/ports/x11/tint2/distinfo,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 distinfo
--- distinfo    12 Mar 2018 22:49:54 -0000      1.3
+++ distinfo    30 Aug 2018 03:45:48 -0000
@@ -1,2 +1,2 @@
-SHA256 (tint2-16.2.tar.gz) = OAvQGg7wIbcxqpzHFONIerz0mO6WFQ73J0BaAN8wuLI=
-SIZE (tint2-16.2.tar.gz) = 537236
+SHA256 (tint2-16.6.1.tar.gz) = 2S51My6+rDcPAntKCx6KCGUPxW4/KrxB9ROGNM9r180=
+SIZE (tint2-16.6.1.tar.gz) = 546488

Reply via email to