Re: games/xonotic: lowercase package and program

2019-04-19 Thread Anthony J. Bentley
Klemens Nanni writes:
> On Tue, Apr 16, 2019 at 12:03:29AM -0600, Anthony J. Bentley wrote:
> > >   'apertium-sv-da' => 'apertium-swe-dan',
> > 
> > Put a 6.6 comment here.
> Yup.
>
> > > +@conflict Xonotic-*
> > 
> > According to pkg_create(1) this is a pkgspec. From my reading of
> > packages-specs(7), this needs to have the full stem, so Xonotic-data-*.
> > Ditto for server.
> Seems right, from packages-specs(7):
>
>   Note that the stem ends at the version part.  So, for instance,
>   "kdelibs-1.1.2" and "kdelibs-2.1.1" conflict.  But "openldap-2.0.7" and
>   "openldap-client-2.0.7" don't.  Neither do "qt-1.45" and "qt2-3.0".
>
> Updated diff with those fixed and after the gitea quirk.
> OK?

ok.



Re: games/xonotic: lowercase package and program

2019-04-18 Thread Klemens Nanni
On Tue, Apr 16, 2019 at 12:03:29AM -0600, Anthony J. Bentley wrote:
> > 'apertium-sv-da' => 'apertium-swe-dan',
> 
> Put a 6.6 comment here.
Yup.

> > +@conflict Xonotic-*
> 
> According to pkg_create(1) this is a pkgspec. From my reading of
> packages-specs(7), this needs to have the full stem, so Xonotic-data-*.
> Ditto for server.
Seems right, from packages-specs(7):

Note that the stem ends at the version part.  So, for instance,
"kdelibs-1.1.2" and "kdelibs-2.1.1" conflict.  But "openldap-2.0.7" and
"openldap-client-2.0.7" don't.  Neither do "qt-1.45" and "qt2-3.0".

Updated diff with those fixed and after the gitea quirk.
OK?

Index: devel/quirks//Makefile
===
RCS file: /cvs/ports/devel/quirks/Makefile,v
retrieving revision 1.732
diff -u -p -r1.732 Makefile
--- devel/quirks//Makefile  17 Apr 2019 13:19:49 -  1.732
+++ devel/quirks//Makefile  18 Apr 2019 22:32:13 -
@@ -5,7 +5,7 @@ CATEGORIES =devel databases
 DISTFILES =
 
 # API.rev
-PKGNAME =  quirks-3.125
+PKGNAME =  quirks-3.126
 PKG_ARCH = *
 MAINTAINER =   Marc Espie 
 
Index: devel/quirks//files/Quirks.pm
===
RCS file: /cvs/ports/devel/quirks/files/Quirks.pm,v
retrieving revision 1.749
diff -u -p -r1.749 Quirks.pm
--- devel/quirks//files/Quirks.pm   17 Apr 2019 13:19:49 -  1.749
+++ devel/quirks//files/Quirks.pm   18 Apr 2019 22:32:01 -
@@ -326,6 +326,10 @@ my $stem_extensions = {
'py-zeroconf' => 'py3-zeroconf',
'digikam' => 'digikam-kde4',
'apertium-sv-da' => 'apertium-swe-dan',
+# 6.6
+   'Xonotic' => 'xonotic',
+   'Xonotic-data' => 'xonotic-data',
+   'Xonotic-server' => 'xonotic-server',
 };
 
 my $obsolete_reason = {
Index: games/xonotic/Makefile
===
RCS file: /cvs/ports/games/xonotic/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- games/xonotic/Makefile  5 Dec 2018 15:53:53 -   1.1.1.1
+++ games/xonotic/Makefile  17 Mar 2019 22:44:46 -
@@ -8,12 +8,12 @@ COMMENT-server =  fast-paced first person
 
 MULTI_PACKAGES =   -main -data -server
 
-N =Xonotic
 V =0.8.2
-DISTNAME = ${N:L}-${V}
-PKGNAME-main = ${N}-${V}
-PKGNAME-data = ${N}-data-${V}
-PKGNAME-server =   ${N}-server-${V}
+REVISION = 0
+DISTNAME = xonotic-${V}
+PKGNAME-main = xonotic-${V}
+PKGNAME-data = xonotic-data-${V}
+PKGNAME-server =   xonotic-server-${V}
 EXTRACT_SUFX = .zip
 
 CATEGORIES =   games x11
@@ -54,14 +54,14 @@ NO_TEST =   Yes
 
 MAKE_FILE =makefile
 PKG_ARCH-data =*
-WRKDIST =  ${WRKDIR}/${N}
+WRKDIST =  ${WRKDIR}/Xonotic
 WRKSRC =   ${WRKDIST}/source/darkplaces
 
 ALL_TARGET =   sdl-release sv-release
 
 do-install:
 .for p in dedicated sdl
-   ${INSTALL_PROGRAM} ${WRKBUILD}/darkplaces-${p} ${PREFIX}/bin/${N}-${p}
+   ${INSTALL_PROGRAM} ${WRKBUILD}/darkplaces-${p} 
${PREFIX}/bin/xonotic-${p}
 .endfor
 .for d in xonotic/data examples/xonotic xonotic/server/rcon2irc
${INSTALL_DATA_DIR} ${PREFIX}/share/${d}/
Index: games/xonotic/pkg/PLIST-data
===
RCS file: /cvs/ports/games/xonotic/pkg/PLIST-data,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST-data
--- games/xonotic/pkg/PLIST-data5 Dec 2018 15:53:53 -   1.1.1.1
+++ games/xonotic/pkg/PLIST-data18 Apr 2019 22:36:27 -
@@ -1,4 +1,5 @@
 @comment $OpenBSD: PLIST-data,v 1.1.1.1 2018/12/05 15:53:53 kn Exp $
+@conflict Xonotic-data-*
 share/xonotic/
 share/xonotic/data/
 share/xonotic/data/font-unifont-20170401.pk3
Index: games/xonotic/pkg/PLIST-main
===
RCS file: /cvs/ports/games/xonotic/pkg/PLIST-main,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST-main
--- games/xonotic/pkg/PLIST-main5 Dec 2018 15:53:53 -   1.1.1.1
+++ games/xonotic/pkg/PLIST-main17 Mar 2019 23:16:07 -
@@ -1,2 +1,3 @@
 @comment $OpenBSD: PLIST-main,v 1.1.1.1 2018/12/05 15:53:53 kn Exp $
-@bin bin/Xonotic-sdl
+@conflict Xonotic-*
+@bin bin/xonotic-sdl
Index: games/xonotic/pkg/PLIST-server
===
RCS file: /cvs/ports/games/xonotic/pkg/PLIST-server,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST-server
--- games/xonotic/pkg/PLIST-server  5 Dec 2018 15:53:53 -   1.1.1.1
+++ games/xonotic/pkg/PLIST-server  18 Apr 2019 22:36:16 -
@@ -1,5 +1,6 @@
 @comment $OpenBSD: PLIST-server,v 1.1.1.1 2018/12/05 15:53:53 kn Exp $
-@bin bin/Xonotic-dedicated
+@conflict Xonotic-server-*
+@bin 

Re: games/xonotic: lowercase package and program

2019-04-16 Thread Anthony J. Bentley
Klemens Nanni writes:
> Requested by many;  successfully tested by manually running
>
>   # TRUSTED_PKG_PATH=/usr/ports/package/amd64/all pkg_add -Dsnap -u
>   quirks-3.124->3.125: ok
>   Collision in Xonotic-0.8.2->xonotic-0.8.2p0+xonotic-data-0.8.2p0: the f
> ollowing files already exist
>   /usr/local/share/xonotic/data/font-unifont-20170401.pk3 (Xonoti
> c-data-0.8.2 and xonotic-data-0.8.2p0)
>   /usr/local/share/xonotic/data/font-xolonium-20170401.pk3 (Xonot
> ic-data-0.8.2 and xonotic-data-0.8.2p0)
>   /usr/local/share/xonotic/data/xonotic-20170401-data.pk3 (Xonoti
> c-data-0.8.2 and xonotic-data-0.8.2p0)
>   /usr/local/share/xonotic/data/xonotic-20170401-maps.pk3 (Xonoti
> c-data-0.8.2 and xonotic-data-0.8.2p0)
>   /usr/local/share/xonotic/data/xonotic-20170401-music.pk3 (Xonot
> ic-data-0.8.2 and xonotic-data-0.8.2p0)
>   /usr/local/share/xonotic/data/xonotic-20170401-nexcompat.pk3 (X
> onotic-data-0.8.2 and xonotic-data-0.8.2p0)

I didn't get these messages, perhaps because of the changes below.

>   Xonotic-0.8.2+Xonotic-data-0.8.2->xonotic-0.8.2p0+xonotic-data-
> 0.8.2p0 forward dependencies:
>   | Dependencies of Xonotic-server-0.8.2 on Xonotic-data-* don't match
>   Merging Xonotic-server-0.8.2->xonotic-server-0.8.2p0 (ok)
>   Xonotic-0.8.2+Xonotic-data-0.8.2+Xonotic-server-0.8.2->xonotic-0.8.2p0+
> xonotic-data-0.8.2p0+xonotic-server-0.8.2p0: ok
>   Read shared items: ok
>   Couldn't find updates for [...]
>
> Did I miss anything? OK?
>
> Index: devel/quirks/Makefile
> ===
> RCS file: /cvs/ports/devel/quirks/Makefile,v
> retrieving revision 1.731
> diff -u -p -r1.731 Makefile
> --- devel/quirks/Makefile 3 Apr 2019 15:02:19 -   1.731
> +++ devel/quirks/Makefile 14 Apr 2019 21:22:18 -
> @@ -5,7 +5,7 @@ CATEGORIES =  devel databases
>  DISTFILES =
>  
>  # API.rev
> -PKGNAME =quirks-3.124
> +PKGNAME =quirks-3.125
>  PKG_ARCH =   *
>  MAINTAINER = Marc Espie 
>  
> Index: devel/quirks/files/Quirks.pm
> ===
> RCS file: /cvs/ports/devel/quirks/files/Quirks.pm,v
> retrieving revision 1.748
> diff -u -p -r1.748 Quirks.pm
> --- devel/quirks/files/Quirks.pm  3 Apr 2019 15:02:19 -   1.748
> +++ devel/quirks/files/Quirks.pm  14 Apr 2019 21:23:06 -
> @@ -326,6 +326,9 @@ my $stem_extensions = {
>   'py-zeroconf' => 'py3-zeroconf',
>   'digikam' => 'digikam-kde4',
>   'apertium-sv-da' => 'apertium-swe-dan',

Put a 6.6 comment here.

> + 'Xonotic' => 'xonotic',
> + 'Xonotic-data' => 'xonotic-data',
> + 'Xonotic-server' => 'xonotic-server',
>  };
>  
>  my $obsolete_reason = {
> (snip)
> Index: games/xonotic/pkg/PLIST-data
> ===
> RCS file: /cvs/ports/games/xonotic/pkg/PLIST-data,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 PLIST-data
> --- games/xonotic/pkg/PLIST-data  5 Dec 2018 15:53:53 -   1.1.1.1
> +++ games/xonotic/pkg/PLIST-data  17 Mar 2019 23:16:00 -
> @@ -1,4 +1,5 @@
>  @comment $OpenBSD: PLIST-data,v 1.1.1.1 2018/12/05 15:53:53 kn Exp $
> +@conflict Xonotic-*

According to pkg_create(1) this is a pkgspec. From my reading of
packages-specs(7), this needs to have the full stem, so Xonotic-data-*.
Ditto for server.

>  share/xonotic/
>  share/xonotic/data/
>  share/xonotic/data/font-unifont-20170401.pk3



games/xonotic: lowercase package and program

2019-04-14 Thread Klemens Nanni
Requested by many;  successfully tested by manually running

# TRUSTED_PKG_PATH=/usr/ports/package/amd64/all pkg_add -Dsnap -u
quirks-3.124->3.125: ok
Collision in Xonotic-0.8.2->xonotic-0.8.2p0+xonotic-data-0.8.2p0: the 
following files already exist
/usr/local/share/xonotic/data/font-unifont-20170401.pk3 
(Xonotic-data-0.8.2 and xonotic-data-0.8.2p0)
/usr/local/share/xonotic/data/font-xolonium-20170401.pk3 
(Xonotic-data-0.8.2 and xonotic-data-0.8.2p0)
/usr/local/share/xonotic/data/xonotic-20170401-data.pk3 
(Xonotic-data-0.8.2 and xonotic-data-0.8.2p0)
/usr/local/share/xonotic/data/xonotic-20170401-maps.pk3 
(Xonotic-data-0.8.2 and xonotic-data-0.8.2p0)
/usr/local/share/xonotic/data/xonotic-20170401-music.pk3 
(Xonotic-data-0.8.2 and xonotic-data-0.8.2p0)
/usr/local/share/xonotic/data/xonotic-20170401-nexcompat.pk3 
(Xonotic-data-0.8.2 and xonotic-data-0.8.2p0)

Xonotic-0.8.2+Xonotic-data-0.8.2->xonotic-0.8.2p0+xonotic-data-0.8.2p0 forward 
dependencies:
| Dependencies of Xonotic-server-0.8.2 on Xonotic-data-* don't match
Merging Xonotic-server-0.8.2->xonotic-server-0.8.2p0 (ok)

Xonotic-0.8.2+Xonotic-data-0.8.2+Xonotic-server-0.8.2->xonotic-0.8.2p0+xonotic-data-0.8.2p0+xonotic-server-0.8.2p0:
 ok
Read shared items: ok
Couldn't find updates for [...]

Did I miss anything? OK?

Index: devel/quirks/Makefile
===
RCS file: /cvs/ports/devel/quirks/Makefile,v
retrieving revision 1.731
diff -u -p -r1.731 Makefile
--- devel/quirks/Makefile   3 Apr 2019 15:02:19 -   1.731
+++ devel/quirks/Makefile   14 Apr 2019 21:22:18 -
@@ -5,7 +5,7 @@ CATEGORIES =devel databases
 DISTFILES =
 
 # API.rev
-PKGNAME =  quirks-3.124
+PKGNAME =  quirks-3.125
 PKG_ARCH = *
 MAINTAINER =   Marc Espie 
 
Index: devel/quirks/files/Quirks.pm
===
RCS file: /cvs/ports/devel/quirks/files/Quirks.pm,v
retrieving revision 1.748
diff -u -p -r1.748 Quirks.pm
--- devel/quirks/files/Quirks.pm3 Apr 2019 15:02:19 -   1.748
+++ devel/quirks/files/Quirks.pm14 Apr 2019 21:23:06 -
@@ -326,6 +326,9 @@ my $stem_extensions = {
'py-zeroconf' => 'py3-zeroconf',
'digikam' => 'digikam-kde4',
'apertium-sv-da' => 'apertium-swe-dan',
+   'Xonotic' => 'xonotic',
+   'Xonotic-data' => 'xonotic-data',
+   'Xonotic-server' => 'xonotic-server',
 };
 
 my $obsolete_reason = {
Index: games/xonotic/Makefile
===
RCS file: /cvs/ports/games/xonotic/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- games/xonotic/Makefile  5 Dec 2018 15:53:53 -   1.1.1.1
+++ games/xonotic/Makefile  17 Mar 2019 22:44:46 -
@@ -8,12 +8,12 @@ COMMENT-server =  fast-paced first person
 
 MULTI_PACKAGES =   -main -data -server
 
-N =Xonotic
 V =0.8.2
-DISTNAME = ${N:L}-${V}
-PKGNAME-main = ${N}-${V}
-PKGNAME-data = ${N}-data-${V}
-PKGNAME-server =   ${N}-server-${V}
+REVISION = 0
+DISTNAME = xonotic-${V}
+PKGNAME-main = xonotic-${V}
+PKGNAME-data = xonotic-data-${V}
+PKGNAME-server =   xonotic-server-${V}
 EXTRACT_SUFX = .zip
 
 CATEGORIES =   games x11
@@ -54,14 +54,14 @@ NO_TEST =   Yes
 
 MAKE_FILE =makefile
 PKG_ARCH-data =*
-WRKDIST =  ${WRKDIR}/${N}
+WRKDIST =  ${WRKDIR}/Xonotic
 WRKSRC =   ${WRKDIST}/source/darkplaces
 
 ALL_TARGET =   sdl-release sv-release
 
 do-install:
 .for p in dedicated sdl
-   ${INSTALL_PROGRAM} ${WRKBUILD}/darkplaces-${p} ${PREFIX}/bin/${N}-${p}
+   ${INSTALL_PROGRAM} ${WRKBUILD}/darkplaces-${p} 
${PREFIX}/bin/xonotic-${p}
 .endfor
 .for d in xonotic/data examples/xonotic xonotic/server/rcon2irc
${INSTALL_DATA_DIR} ${PREFIX}/share/${d}/
Index: games/xonotic/pkg/PLIST-data
===
RCS file: /cvs/ports/games/xonotic/pkg/PLIST-data,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST-data
--- games/xonotic/pkg/PLIST-data5 Dec 2018 15:53:53 -   1.1.1.1
+++ games/xonotic/pkg/PLIST-data17 Mar 2019 23:16:00 -
@@ -1,4 +1,5 @@
 @comment $OpenBSD: PLIST-data,v 1.1.1.1 2018/12/05 15:53:53 kn Exp $
+@conflict Xonotic-*
 share/xonotic/
 share/xonotic/data/
 share/xonotic/data/font-unifont-20170401.pk3
Index: games/xonotic/pkg/PLIST-main
===
RCS file: /cvs/ports/games/xonotic/pkg/PLIST-main,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST-main
--- games/xonotic/pkg/PLIST-main