Re: [NEW PORT] devel/fast-float - Fast and exact implementation of the C++ from_chars functions

2024-02-13 Thread Jose Maldonado
El Tue, 13 Feb 2024 14:55:10 -0500
Thomas Frohwein  escribió:
> On Tue, Feb 13, 2024 at 02:13:24PM -0400, Jose Maldonado wrote:
> 
> [...]
> 
> > > > *
> > > > Dios en su cielo, todo bien en la Tierra
> > > 
> > > 
> > 
> > Hi Thomas! 
> > 
> > I have no problems with taking care of the maintenance of the
> > package, as you say, it is not complex maintenance as it is a
> > simple header.
> > 
> > Also, as you can see from @sthen fixes and the ones you have given,
> > I am quite new to this and I have to learn a lot, but I think that
> > is a path that I am already walking.
> 
> Thanks, that's great! I imported it with sthen@'s changes and with you
> as maintainer.
> 

Thanks! 


> > In any case, if you consider that I can take this package, I would
> > like to add the graphics/glad one as well, as well as the other new
> > port that I have uploaded.
> 
> I added you as maintainer for glad. I haven't looked at the other port
> at all I think, but unless there is already a maintainer, I think it
> shouldn't be a problem to list you there, too.
> 
> > 
> > 
> > -- 
> > *
> > Dios en su cielo, todo bien en la Tierra

graphics/glad and devel/fast-float are news ports, dependencies
for a new libplacebo(v6.338.2) and for mpv (0.37.0). 

I have been testing the changes made and the new versions on both ports
(mpv and libplacebo) and everything works correctly in amd64.

If there is a problem (especially due to the Vulkan activation request)
it will be on a specific platform due to lack of support (or incomplete
support) for this feature.


-- 
*
Dios en su cielo, todo bien en la Tierra



Re: [NEW PORT] devel/fast-float - Fast and exact implementation of the C++ from_chars functions

2024-02-13 Thread Thomas Frohwein
On Tue, Feb 13, 2024 at 02:13:24PM -0400, Jose Maldonado wrote:

[...]

> > > *
> > > Dios en su cielo, todo bien en la Tierra
> > 
> > 
> 
> Hi Thomas! 
> 
> I have no problems with taking care of the maintenance of the package,
> as you say, it is not complex maintenance as it is a simple header.
> 
> Also, as you can see from @sthen fixes and the ones you have given, I
> am quite new to this and I have to learn a lot, but I think that is a
> path that I am already walking.

Thanks, that's great! I imported it with sthen@'s changes and with you
as maintainer.

> In any case, if you consider that I can take this package, I would like
> to add the graphics/glad one as well, as well as the other new port
> that I have uploaded.

I added you as maintainer for glad. I haven't looked at the other port
at all I think, but unless there is already a maintainer, I think it
shouldn't be a problem to list you there, too.

> 
> 
> -- 
> *
> Dios en su cielo, todo bien en la Tierra



Re: [NEW PORT] devel/fast-float - Fast and exact implementation of the C++ from_chars functions

2024-02-13 Thread Jose Maldonado
El Tue, 13 Feb 2024 19:14:18 +
Stuart Henderson  escribió:
> I'd prefer to skip NO_BUILD unless it fails without - if a newer
> version starts doing something in that stage and you have NO_BUILD
> set and don't notice it'll end up running build stages in "make fake"
> 

That is a good observation, for now keeping NO_BUILD = Yes or removing
it does not prevent the correct creation of the package.

If at some point the package changes, then you would have to adapt it
to the new needs to build it. In any case, if I stay with the
maintenance I have to see and review that at the time when it is time
to make the corresponding updates.


-- 
*
Dios en su cielo, todo bien en la Tierra



Re: [NEW PORT] devel/fast-float - Fast and exact implementation of the C++ from_chars functions

2024-02-13 Thread Stuart Henderson
I'd prefer to skip NO_BUILD unless it fails without - if a newer version 
starts doing something in that stage and you have NO_BUILD set and don't 
notice it'll end up running build stages in "make fake"


--
 Sent from a phone, apologies for poor formatting.

On 13 February 2024 18:51:29 Thomas Frohwein  wrote:


On Tue, Feb 13, 2024 at 05:00:08PM +, Stuart Henderson wrote:

On 2024/02/12 13:37, Jose Maldonado wrote:
>
> Hello everyone! New port here.
>
> In this case I bring you devel/fast-float, a series of C/C++ headers
> that seeks to offer us numerical operations 4 to 10x times faster than
> standard libraries (GCC and Clang).
>
> These libraries in question are on GitHub [1] and are part of the new
> dependencies for libplacebo (>=v6.338.0).
>
> These libraries are necessary to compile the new version of libplacebo
> and bump new version of mpv (v0.37.0)
>
> [1] https://github.com/fastfloat/fast_float
>
>
> --
> *
> Dios en su cielo, todo bien en la Tierra

updated tgz attached is OK sthen@, here's the diff:



diff --git a/devel/fast-float/Makefile b/devel/fast-float/Makefile
old mode 100755
new mode 100644
index 3cfef11..0366819
--- a/devel/fast-float/Makefile
+++ b/devel/fast-float/Makefile
@@ -1,4 +1,4 @@
-COMMENT =  Fast and exact implementation of the C++ from_chars
+COMMENT =  fast and exact implementation of from_chars for float/double

 V =6.1.0
 PKGNAME =  fast-float-${V}
@@ -8,17 +8,9 @@ GH_PROJECT =   fast_float

 CATEGORIES =   devel

-HOMEPAGE = https://github.com/fastfloat/fast_float
-
-# Apache 2.0 - BOOST 1.0 - MIT
+# Apache 2.0, Boost 1.0, or MIT
 PERMIT_PACKAGE =   Yes

-BULID_DEPENDS =devel/cmake \
-   devel/ninja
-
 MODULES =  devel/cmake

-NO_BUILD = Yes


This one actually seems to be a NO_BUILD=Yes as it only installs header
files.

$ make build
...
Run Build Command(s): /usr/local/bin/ninja -v -j 1
ninja: no work to do.


-NO_TEST =  Yes
-
 .include 
diff --git a/devel/fast-float/pkg/DESCR b/devel/fast-float/pkg/DESCR
old mode 100755
new mode 100644
index d03526b..94eef24
--- a/devel/fast-float/pkg/DESCR
+++ b/devel/fast-float/pkg/DESCR
@@ -1 +1,3 @@
-Fast and exact implementation of the C++ from_chars functions.
+The fast_float library provides fast header-only implementations for
+the C++ from_chars() functions for 'float' and 'double' as well as
+integer types.




Re: [NEW PORT] devel/fast-float - Fast and exact implementation of the C++ from_chars functions

2024-02-13 Thread Thomas Frohwein
On Tue, Feb 13, 2024 at 05:00:08PM +, Stuart Henderson wrote:
> On 2024/02/12 13:37, Jose Maldonado wrote:
> > 
> > Hello everyone! New port here.
> > 
> > In this case I bring you devel/fast-float, a series of C/C++ headers
> > that seeks to offer us numerical operations 4 to 10x times faster than
> > standard libraries (GCC and Clang).
> > 
> > These libraries in question are on GitHub [1] and are part of the new
> > dependencies for libplacebo (>=v6.338.0).
> > 
> > These libraries are necessary to compile the new version of libplacebo
> > and bump new version of mpv (v0.37.0)
> > 
> > [1] https://github.com/fastfloat/fast_float
> > 
> > 
> > -- 
> > *
> > Dios en su cielo, todo bien en la Tierra
> 
> updated tgz attached is OK sthen@, here's the diff:
> 
> 
> 
> diff --git a/devel/fast-float/Makefile b/devel/fast-float/Makefile
> old mode 100755
> new mode 100644
> index 3cfef11..0366819
> --- a/devel/fast-float/Makefile
> +++ b/devel/fast-float/Makefile
> @@ -1,4 +1,4 @@
> -COMMENT =Fast and exact implementation of the C++ from_chars
> +COMMENT =fast and exact implementation of from_chars for float/double
>  
>  V =  6.1.0
>  PKGNAME =fast-float-${V}
> @@ -8,17 +8,9 @@ GH_PROJECT = fast_float
>  
>  CATEGORIES = devel
>  
> -HOMEPAGE =   https://github.com/fastfloat/fast_float
> -
> -# Apache 2.0 - BOOST 1.0 - MIT
> +# Apache 2.0, Boost 1.0, or MIT
>  PERMIT_PACKAGE = Yes
>  
> -BULID_DEPENDS =  devel/cmake \
> - devel/ninja
> -
>  MODULES =devel/cmake
>  
> -NO_BUILD =   Yes

This one actually seems to be a NO_BUILD=Yes as it only installs header
files.

$ make build
...
Run Build Command(s): /usr/local/bin/ninja -v -j 1
ninja: no work to do.

> -NO_TEST =Yes
> -
>  .include 
> diff --git a/devel/fast-float/pkg/DESCR b/devel/fast-float/pkg/DESCR
> old mode 100755
> new mode 100644
> index d03526b..94eef24
> --- a/devel/fast-float/pkg/DESCR
> +++ b/devel/fast-float/pkg/DESCR
> @@ -1 +1,3 @@
> -Fast and exact implementation of the C++ from_chars functions.
> +The fast_float library provides fast header-only implementations for
> +the C++ from_chars() functions for 'float' and 'double' as well as
> +integer types.




Re: [NEW PORT] devel/fast-float - Fast and exact implementation of the C++ from_chars functions

2024-02-13 Thread Jose Maldonado
El Tue, 13 Feb 2024 12:24:43 -0500
Thomas Frohwein  escribió:
> On Mon, Feb 12, 2024 at 01:37:23PM -0400, Jose Maldonado wrote:
> > 
> > Hello everyone! New port here.
> > 
> > In this case I bring you devel/fast-float, a series of C/C++ headers
> > that seeks to offer us numerical operations 4 to 10x times faster
> > than standard libraries (GCC and Clang).
> > 
> > These libraries in question are on GitHub [1] and are part of the
> > new dependencies for libplacebo (>=v6.338.0).
> > 
> > These libraries are necessary to compile the new version of
> > libplacebo and bump new version of mpv (v0.37.0)
> > 
> > [1] https://github.com/fastfloat/fast_float
> 
> Thanks, I made some tweaks and attached an updated tarball. The
> updated tarball is ok thfr@.
> 
> Jose, why not take maintainer for the port? It's a headers-only port
> without patches, likely not a big maintenance burden with future
> updates, and those will likely be needed for libplacebo etc.
> 
> Other comments on the port that I addressed in the updated tarball:
> 
> - chmod -x Makefile pkg/DESCR
> - lower-case COMMENT
> - reduce lines by omitting V= etc, see sthen@ comments on glad
> - HOMEPAGE is set by GH_*
> - CATEGORIES=devel seems ok to me, but if someone prefers another
>   location (maybe math/ ?) then lemme know
> - BUILD_DEPENDS misspelled and not needed with MODULES=devel/cmake
> - DESCR should probably be a bit more detailed than just the same as
>   COMMENT, if possible. I expanded it a bit more from the README.md.
> > 
> > 
> > -- 
> > *
> > Dios en su cielo, todo bien en la Tierra
> 
> 

Hi Thomas! 

I have no problems with taking care of the maintenance of the package,
as you say, it is not complex maintenance as it is a simple header.

Also, as you can see from @sthen fixes and the ones you have given, I
am quite new to this and I have to learn a lot, but I think that is a
path that I am already walking.

In any case, if you consider that I can take this package, I would like
to add the graphics/glad one as well, as well as the other new port
that I have uploaded.


-- 
*
Dios en su cielo, todo bien en la Tierra



Re: [NEW PORT] devel/fast-float - Fast and exact implementation of the C++ from_chars functions

2024-02-13 Thread Thomas Frohwein
On Mon, Feb 12, 2024 at 01:37:23PM -0400, Jose Maldonado wrote:
> 
> Hello everyone! New port here.
> 
> In this case I bring you devel/fast-float, a series of C/C++ headers
> that seeks to offer us numerical operations 4 to 10x times faster than
> standard libraries (GCC and Clang).
> 
> These libraries in question are on GitHub [1] and are part of the new
> dependencies for libplacebo (>=v6.338.0).
> 
> These libraries are necessary to compile the new version of libplacebo
> and bump new version of mpv (v0.37.0)
> 
> [1] https://github.com/fastfloat/fast_float

Thanks, I made some tweaks and attached an updated tarball. The updated
tarball is ok thfr@.

Jose, why not take maintainer for the port? It's a headers-only port
without patches, likely not a big maintenance burden with future
updates, and those will likely be needed for libplacebo etc.

Other comments on the port that I addressed in the updated tarball:

- chmod -x Makefile pkg/DESCR
- lower-case COMMENT
- reduce lines by omitting V= etc, see sthen@ comments on glad
- HOMEPAGE is set by GH_*
- CATEGORIES=devel seems ok to me, but if someone prefers another
  location (maybe math/ ?) then lemme know
- BUILD_DEPENDS misspelled and not needed with MODULES=devel/cmake
- DESCR should probably be a bit more detailed than just the same as
  COMMENT, if possible. I expanded it a bit more from the README.md.
> 
> 
> -- 
> *
> Dios en su cielo, todo bien en la Tierra




Re: [NEW PORT] devel/fast-float - Fast and exact implementation of the C++ from_chars functions

2024-02-13 Thread Stuart Henderson
On 2024/02/12 13:37, Jose Maldonado wrote:
> 
> Hello everyone! New port here.
> 
> In this case I bring you devel/fast-float, a series of C/C++ headers
> that seeks to offer us numerical operations 4 to 10x times faster than
> standard libraries (GCC and Clang).
> 
> These libraries in question are on GitHub [1] and are part of the new
> dependencies for libplacebo (>=v6.338.0).
> 
> These libraries are necessary to compile the new version of libplacebo
> and bump new version of mpv (v0.37.0)
> 
> [1] https://github.com/fastfloat/fast_float
> 
> 
> -- 
> *
> Dios en su cielo, todo bien en la Tierra

updated tgz attached is OK sthen@, here's the diff:



diff --git a/devel/fast-float/Makefile b/devel/fast-float/Makefile
old mode 100755
new mode 100644
index 3cfef11..0366819
--- a/devel/fast-float/Makefile
+++ b/devel/fast-float/Makefile
@@ -1,4 +1,4 @@
-COMMENT =  Fast and exact implementation of the C++ from_chars
+COMMENT =  fast and exact implementation of from_chars for float/double
 
 V =6.1.0
 PKGNAME =  fast-float-${V}
@@ -8,17 +8,9 @@ GH_PROJECT =   fast_float
 
 CATEGORIES =   devel
 
-HOMEPAGE = https://github.com/fastfloat/fast_float
-
-# Apache 2.0 - BOOST 1.0 - MIT
+# Apache 2.0, Boost 1.0, or MIT
 PERMIT_PACKAGE =   Yes
 
-BULID_DEPENDS =devel/cmake \
-   devel/ninja
-
 MODULES =  devel/cmake
 
-NO_BUILD = Yes
-NO_TEST =  Yes
-
 .include 
diff --git a/devel/fast-float/pkg/DESCR b/devel/fast-float/pkg/DESCR
old mode 100755
new mode 100644
index d03526b..94eef24
--- a/devel/fast-float/pkg/DESCR
+++ b/devel/fast-float/pkg/DESCR
@@ -1 +1,3 @@
-Fast and exact implementation of the C++ from_chars functions.
+The fast_float library provides fast header-only implementations for
+the C++ from_chars() functions for 'float' and 'double' as well as
+integer types.


fast-float.tgz
Description: application/tar-gz


[NEW PORT] devel/fast-float - Fast and exact implementation of the C++ from_chars functions

2024-02-12 Thread Jose Maldonado

Hello everyone! New port here.

In this case I bring you devel/fast-float, a series of C/C++ headers
that seeks to offer us numerical operations 4 to 10x times faster than
standard libraries (GCC and Clang).

These libraries in question are on GitHub [1] and are part of the new
dependencies for libplacebo (>=v6.338.0).

These libraries are necessary to compile the new version of libplacebo
and bump new version of mpv (v0.37.0)

[1] https://github.com/fastfloat/fast_float


-- 
*
Dios en su cielo, todo bien en la Tierra


fast-float.tar.gz
Description: application/gzip