Re: kde support for DIST_TUPLES

2023-10-21 Thread Thomas Frohwein
On Sat, Oct 21, 2023 at 08:20:05PM -0400, Thomas Frohwein wrote:

[...]

> > That is there reason why it tasted with:
> > > > DIST_TUPLE = kde qt qt/qtbase ea7a183732c17005f08ca14fd70cdd305c90396d .
> 
> Please go ahead, sounds like a great use case for DIST_TUPLE!

oh and I agree with op@: let's keep it in alphabetical order...



Re: kde support for DIST_TUPLES

2023-10-21 Thread Thomas Frohwein
On Sat, Oct 21, 2023 at 02:27:55PM +0200, Rafael Sadowski wrote:
> On Sat Oct 21, 2023 at 06:32:04AM -0400, Thomas Frohwein wrote:
> > On Sat, Oct 21, 2023 at 12:06:04PM +0200, Rafael Sadowski wrote:
> > > Straightforwardly, this adds support for KDE so that it can be used in
> > > DIST_TUPLES.
> > > 
> > > With help from Thomas successfully tested with:
> > > DIST_TUPLE = kde qt qt/qtbase ea7a183732c17005f08ca14fd70cdd305c90396d .
> > > 
> > > OK?
> > 
> > Is or can this be used as the SITES for more kde ports? I only see it
> > showing up in HOMEPAGE for e.g. graphics/kquickimageeditor
> 
> Almost all KDE projects hosted there but what is more important for
> use/me is that we can use the Qt5/KDE patched collection now. All
> details here:
> 
> https://dot.kde.org/2021/04/06/announcing-kdes-qt-5-patch-collection
> 
> That is there reason why it tasted with:
> > > DIST_TUPLE = kde qt qt/qtbase ea7a183732c17005f08ca14fd70cdd305c90396d .

Please go ahead, sounds like a great use case for DIST_TUPLE!

> 
> > 
> > > 
> > > Index: dist-tuple.pattern
> > > ===
> > > RCS file: /cvs/ports/infrastructure/db/dist-tuple.pattern,v
> > > retrieving revision 1.7
> > > diff -u -p -r1.7 dist-tuple.pattern
> > > --- dist-tuple.pattern14 Oct 2023 08:04:15 -  1.7
> > > +++ dist-tuple.pattern21 Oct 2023 10:04:22 -
> > > @@ -1,4 +1,5 @@
> > >  # known SITES.x
> > > +SITES.kde ?= https://invent.kde.org/
> > >  SITES.codeberg ?= https://codeberg.org/
> > >  SITES.github ?=  https://github.com/
> > >  SITES.gitlab ?=  https://gitlab.com/
> > > @@ -12,6 +13,9 @@ TEMPLATE_EXTRACT_SUFX ?=.tar.gz
> > >  # - 
> > >  # - 
> > >  # -  - used automatically if  is in tag format
> > > +TEMPLATE_DISTFILES.kde ?= \
> > > + 
> > > --{//-/archive//}${EXTRACT_SUFX.kde}
> > > +
> > >  TEMPLATE_DISTFILES.codeberg ?= \
> > >   
> > > --{//archive/}${EXTRACT_SUFX.codeberg}
> > >  
> > > 



Re: kde support for DIST_TUPLES

2023-10-21 Thread Rafael Sadowski
On Sat Oct 21, 2023 at 06:32:04AM -0400, Thomas Frohwein wrote:
> On Sat, Oct 21, 2023 at 12:06:04PM +0200, Rafael Sadowski wrote:
> > Straightforwardly, this adds support for KDE so that it can be used in
> > DIST_TUPLES.
> > 
> > With help from Thomas successfully tested with:
> > DIST_TUPLE = kde qt qt/qtbase ea7a183732c17005f08ca14fd70cdd305c90396d .
> > 
> > OK?
> 
> Is or can this be used as the SITES for more kde ports? I only see it
> showing up in HOMEPAGE for e.g. graphics/kquickimageeditor

Almost all KDE projects hosted there but what is more important for
use/me is that we can use the Qt5/KDE patched collection now. All
details here:

https://dot.kde.org/2021/04/06/announcing-kdes-qt-5-patch-collection

That is there reason why it tasted with:
> > DIST_TUPLE = kde qt qt/qtbase ea7a183732c17005f08ca14fd70cdd305c90396d .

> 
> > 
> > Index: dist-tuple.pattern
> > ===
> > RCS file: /cvs/ports/infrastructure/db/dist-tuple.pattern,v
> > retrieving revision 1.7
> > diff -u -p -r1.7 dist-tuple.pattern
> > --- dist-tuple.pattern  14 Oct 2023 08:04:15 -  1.7
> > +++ dist-tuple.pattern  21 Oct 2023 10:04:22 -
> > @@ -1,4 +1,5 @@
> >  # known SITES.x
> > +SITES.kde ?=   https://invent.kde.org/
> >  SITES.codeberg ?= https://codeberg.org/
> >  SITES.github ?=https://github.com/
> >  SITES.gitlab ?=https://gitlab.com/
> > @@ -12,6 +13,9 @@ TEMPLATE_EXTRACT_SUFX ?=  .tar.gz
> >  # - 
> >  # - 
> >  # -  - used automatically if  is in tag format
> > +TEMPLATE_DISTFILES.kde ?= \
> > +   
> > --{//-/archive//}${EXTRACT_SUFX.kde}
> > +
> >  TEMPLATE_DISTFILES.codeberg ?= \
> > 
> > --{//archive/}${EXTRACT_SUFX.codeberg}
> >  
> > 



Re: kde support for DIST_TUPLES

2023-10-21 Thread Omar Polo
On 2023/10/21 12:06:04 +0200, Rafael Sadowski  wrote:
> Straightforwardly, this adds support for KDE so that it can be used in
> DIST_TUPLES.
> 
> With help from Thomas successfully tested with:
> DIST_TUPLE = kde qt qt/qtbase ea7a183732c17005f08ca14fd70cdd305c90396d .
> 
> OK?

I'd keep the list sorted.  Other than that, ok op@

> Index: dist-tuple.pattern
> ===
> RCS file: /cvs/ports/infrastructure/db/dist-tuple.pattern,v
> retrieving revision 1.7
> diff -u -p -r1.7 dist-tuple.pattern
> --- dist-tuple.pattern14 Oct 2023 08:04:15 -  1.7
> +++ dist-tuple.pattern21 Oct 2023 10:04:22 -
> @@ -1,4 +1,5 @@
>  # known SITES.x
> +SITES.kde ?= https://invent.kde.org/
>  SITES.codeberg ?= https://codeberg.org/
>  SITES.github ?=  https://github.com/
>  SITES.gitlab ?=  https://gitlab.com/
> @@ -12,6 +13,9 @@ TEMPLATE_EXTRACT_SUFX ?=.tar.gz
>  # - 
>  # - 
>  # -  - used automatically if  is in tag format
> +TEMPLATE_DISTFILES.kde ?= \
> + 
> --{//-/archive//}${EXTRACT_SUFX.kde}
> +
>  TEMPLATE_DISTFILES.codeberg ?= \
>   
> --{//archive/}${EXTRACT_SUFX.codeberg}
>  




Re: kde support for DIST_TUPLES

2023-10-21 Thread Marc Espie
On Sat, Oct 21, 2023 at 06:32:04AM -0400, Thomas Frohwein wrote:
> On Sat, Oct 21, 2023 at 12:06:04PM +0200, Rafael Sadowski wrote:
> > Straightforwardly, this adds support for KDE so that it can be used in
> > DIST_TUPLES.
> > 
> > With help from Thomas successfully tested with:
> > DIST_TUPLE = kde qt qt/qtbase ea7a183732c17005f08ca14fd70cdd305c90396d .
> > 
> > OK?
> 
> Is or can this be used as the SITES for more kde ports? I only see it
> showing up in HOMEPAGE for e.g. graphics/kquickimageeditor

It seems quite a few kde projects are hosted there, including major
stuff like krita and digikam, so I'm okay with this, even if it's not
majorly used yet.



Re: kde support for DIST_TUPLES

2023-10-21 Thread Thomas Frohwein
On Sat, Oct 21, 2023 at 12:06:04PM +0200, Rafael Sadowski wrote:
> Straightforwardly, this adds support for KDE so that it can be used in
> DIST_TUPLES.
> 
> With help from Thomas successfully tested with:
> DIST_TUPLE = kde qt qt/qtbase ea7a183732c17005f08ca14fd70cdd305c90396d .
> 
> OK?

Is or can this be used as the SITES for more kde ports? I only see it
showing up in HOMEPAGE for e.g. graphics/kquickimageeditor

> 
> Index: dist-tuple.pattern
> ===
> RCS file: /cvs/ports/infrastructure/db/dist-tuple.pattern,v
> retrieving revision 1.7
> diff -u -p -r1.7 dist-tuple.pattern
> --- dist-tuple.pattern14 Oct 2023 08:04:15 -  1.7
> +++ dist-tuple.pattern21 Oct 2023 10:04:22 -
> @@ -1,4 +1,5 @@
>  # known SITES.x
> +SITES.kde ?= https://invent.kde.org/
>  SITES.codeberg ?= https://codeberg.org/
>  SITES.github ?=  https://github.com/
>  SITES.gitlab ?=  https://gitlab.com/
> @@ -12,6 +13,9 @@ TEMPLATE_EXTRACT_SUFX ?=.tar.gz
>  # - 
>  # - 
>  # -  - used automatically if  is in tag format
> +TEMPLATE_DISTFILES.kde ?= \
> + 
> --{//-/archive//}${EXTRACT_SUFX.kde}
> +
>  TEMPLATE_DISTFILES.codeberg ?= \
>   
> --{//archive/}${EXTRACT_SUFX.codeberg}
>  
>