Date: Mon, 18 Dec 2023 14:57:09 +0800 From: Vanilla Hsu <vanilla@fatpipi.com> To: Mikhail Teterin <mi@freebsd.org> Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: 362ea03643fc - main - testproc/fmtlib: add new port of fmtlib Message-ID: <CAB_qb6-yAVTWoUDND9hjcib2kFMoYVbpUTY81y9K7u68q1Omrg@mail.gmail.com> In-Reply-To: <202312180636.3BI6aw7e015605@gitrepo.freebsd.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] I think it's a duplicate with devel/libfmt ? Mikhail Teterin <mi@freebsd.org> 於 2023年12月18日 週一 下午2:37寫道: > The branch main has been updated by mi: > > URL: > https://cgit.FreeBSD.org/ports/commit/?id=362ea03643fc92c9ca8c06c38996a9cf8a2435fc > > commit 362ea03643fc92c9ca8c06c38996a9cf8a2435fc > Author: Mikhail Teterin <mi@FreeBSD.org> > AuthorDate: 2023-12-18 06:34:58 +0000 > Commit: Mikhail Teterin <mi@FreeBSD.org> > CommitDate: 2023-12-18 06:36:54 +0000 > > testproc/fmtlib: add new port of fmtlib > > According to the pkgsrc repository, this library used to be > known as cppformat. > > WWW: https://fmt.dev/ > --- > textproc/Makefile | 1 + > textproc/fmtlib/Makefile | 24 ++++++++++++++++++++++++ > textproc/fmtlib/distinfo | 3 +++ > textproc/fmtlib/pkg-descr | 14 ++++++++++++++ > textproc/fmtlib/pkg-plist | 21 +++++++++++++++++++++ > 5 files changed, 63 insertions(+) > > diff --git a/textproc/Makefile b/textproc/Makefile > index 5dc8c7591c00..0e914e6b2e77 100644 > --- a/textproc/Makefile > +++ b/textproc/Makefile > @@ -224,6 +224,7 @@ > SUBDIR += flex > SUBDIR += flip > SUBDIR += fmtlatex > + SUBDIR += fmtlib > SUBDIR += fo-aspell > SUBDIR += foiltex > SUBDIR += fop > diff --git a/textproc/fmtlib/Makefile b/textproc/fmtlib/Makefile > new file mode 100644 > index 000000000000..5e23fd014b06 > --- /dev/null > +++ b/textproc/fmtlib/Makefile > @@ -0,0 +1,24 @@ > +PORTNAME= fmtlib > +PORTVERSION= 10.1.1 > +CATEGORIES= textproc devel > + > +MAINTAINER= mi@aldan.algebra.com > +COMMENT= Modern formatting library (formerly cppformat) > +WWW= https://fmt.dev/ > + > +LICENSE= MIT > +LICENSE_FILE= ${WRKSRC}/LICENSE.rst > + > +USES= cmake > + > +USE_GITHUB= uh-huh > +GH_ACCOUNT= fmtlib > +GH_PROJECT= fmt > + > +OPTIONS_DEFINE= TEST > + > +CMAKE_ON= BUILD_SHARED_LIBS > +TEST_CMAKE_OFF= -DFMT_TEST=0 > +TEST_TEST_TARGET= test > + > +.include <bsd.port.mk> > diff --git a/textproc/fmtlib/distinfo b/textproc/fmtlib/distinfo > new file mode 100644 > index 000000000000..8d6b901b426a > --- /dev/null > +++ b/textproc/fmtlib/distinfo > @@ -0,0 +1,3 @@ > +TIMESTAMP = 1702878142 > +SHA256 (fmtlib-fmt-10.1.1_GH0.tar.gz) = > 78b8c0a72b1c35e4443a7e308df52498252d1cefc2b08c9a97bc9ee6cfe61f8b > +SIZE (fmtlib-fmt-10.1.1_GH0.tar.gz) = 851454 > diff --git a/textproc/fmtlib/pkg-descr b/textproc/fmtlib/pkg-descr > new file mode 100644 > index 000000000000..c80bbd5f4ed5 > --- /dev/null > +++ b/textproc/fmtlib/pkg-descr > @@ -0,0 +1,14 @@ > +{fmt} is an open-source formatting library providing a fast and > +safe alternative to C stdio and C++ iostreams. > + > +* Simple format API with positional arguments for localization > +* Implementation of C++20 std::format and C++23 std::print > +* Format string syntax similar to Python's format > +* Fast IEEE 754 floating-point formatter with correct rounding, shortness > + and round-trip guarantees using the Dragonbox algorithm > +* Portable Unicode support > +* Safe printf implementation including the POSIX extension for > + positional arguments > + > +If you like this project, please consider donating to one of the > +funds that help victims of the war in Ukraine: www.stopputin.net/ > diff --git a/textproc/fmtlib/pkg-plist b/textproc/fmtlib/pkg-plist > new file mode 100644 > index 000000000000..d4356647f3e4 > --- /dev/null > +++ b/textproc/fmtlib/pkg-plist > @@ -0,0 +1,21 @@ > +lib/libfmt.so.10.1.0 > +lib/libfmt.so.10 > +lib/libfmt.so > +include/fmt/args.h > +include/fmt/chrono.h > +include/fmt/color.h > +include/fmt/compile.h > +include/fmt/core.h > +include/fmt/format.h > +include/fmt/format-inl.h > +include/fmt/os.h > +include/fmt/ostream.h > +include/fmt/printf.h > +include/fmt/ranges.h > +include/fmt/std.h > +include/fmt/xchar.h > +lib/cmake/fmt/fmt-config.cmake > +lib/cmake/fmt/fmt-config-version.cmake > +lib/cmake/fmt/fmt-targets.cmake > +lib/cmake/fmt/fmt-targets-release.cmake > +libdata/pkgconfig/fmt.pc > [-- Attachment #2 --] <div dir="ltr">I think it's a duplicate with devel/libfmt ?</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Mikhail Teterin <<a href="mailto:mi@freebsd.org">mi@freebsd.org</a>> 於 2023年12月18日 週一 下午2:37寫道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">The branch main has been updated by mi:<br> <br> URL: <a href="https://cgit.FreeBSD.org/ports/commit/?id=362ea03643fc92c9ca8c06c38996a9cf8a2435fc" rel="noreferrer" target="_blank">https://cgit.FreeBSD.org/ports/commit/?id=362ea03643fc92c9ca8c06c38996a9cf8a2435fc</a><br> <br> commit 362ea03643fc92c9ca8c06c38996a9cf8a2435fc<br> Author: Mikhail Teterin <mi@FreeBSD.org><br> AuthorDate: 2023-12-18 06:34:58 +0000<br> Commit: Mikhail Teterin <mi@FreeBSD.org><br> CommitDate: 2023-12-18 06:36:54 +0000<br> <br> testproc/fmtlib: add new port of fmtlib<br> <br> According to the pkgsrc repository, this library used to be<br> known as cppformat.<br> <br> WWW: <a href="https://fmt.dev/" rel="noreferrer" target="_blank">https://fmt.dev/</a><br> ---<br> textproc/Makefile | 1 +<br> textproc/fmtlib/Makefile | 24 ++++++++++++++++++++++++<br> textproc/fmtlib/distinfo | 3 +++<br> textproc/fmtlib/pkg-descr | 14 ++++++++++++++<br> textproc/fmtlib/pkg-plist | 21 +++++++++++++++++++++<br> 5 files changed, 63 insertions(+)<br> <br> diff --git a/textproc/Makefile b/textproc/Makefile<br> index 5dc8c7591c00..0e914e6b2e77 100644<br> --- a/textproc/Makefile<br> +++ b/textproc/Makefile<br> @@ -224,6 +224,7 @@<br> SUBDIR += flex<br> SUBDIR += flip<br> SUBDIR += fmtlatex<br> + SUBDIR += fmtlib<br> SUBDIR += fo-aspell<br> SUBDIR += foiltex<br> SUBDIR += fop<br> diff --git a/textproc/fmtlib/Makefile b/textproc/fmtlib/Makefile<br> new file mode 100644<br> index 000000000000..5e23fd014b06<br> --- /dev/null<br> +++ b/textproc/fmtlib/Makefile<br> @@ -0,0 +1,24 @@<br> +PORTNAME= fmtlib<br> +PORTVERSION= 10.1.1<br> +CATEGORIES= textproc devel<br> +<br> +MAINTAINER= <a href="mailto:mi@aldan.algebra.com" target="_blank">mi@aldan.algebra.com</a><br> +COMMENT= Modern formatting library (formerly cppformat)<br> +WWW= <a href="https://fmt.dev/" rel="noreferrer" target="_blank">https://fmt.dev/</a><br> +<br> +LICENSE= MIT<br> +LICENSE_FILE= ${WRKSRC}/LICENSE.rst<br> +<br> +USES= cmake<br> +<br> +USE_GITHUB= uh-huh<br> +GH_ACCOUNT= fmtlib<br> +GH_PROJECT= fmt<br> +<br> +OPTIONS_DEFINE= TEST<br> +<br> +CMAKE_ON= BUILD_SHARED_LIBS<br> +TEST_CMAKE_OFF= -DFMT_TEST=0<br> +TEST_TEST_TARGET= test<br> +<br> +.include <<a href="http://bsd.port.mk" rel="noreferrer" target="_blank">bsd.port.mk</a>><br> diff --git a/textproc/fmtlib/distinfo b/textproc/fmtlib/distinfo<br> new file mode 100644<br> index 000000000000..8d6b901b426a<br> --- /dev/null<br> +++ b/textproc/fmtlib/distinfo<br> @@ -0,0 +1,3 @@<br> +TIMESTAMP = 1702878142<br> +SHA256 (fmtlib-fmt-10.1.1_GH0.tar.gz) = 78b8c0a72b1c35e4443a7e308df52498252d1cefc2b08c9a97bc9ee6cfe61f8b<br> +SIZE (fmtlib-fmt-10.1.1_GH0.tar.gz) = 851454<br> diff --git a/textproc/fmtlib/pkg-descr b/textproc/fmtlib/pkg-descr<br> new file mode 100644<br> index 000000000000..c80bbd5f4ed5<br> --- /dev/null<br> +++ b/textproc/fmtlib/pkg-descr<br> @@ -0,0 +1,14 @@<br> +{fmt} is an open-source formatting library providing a fast and<br> +safe alternative to C stdio and C++ iostreams.<br> +<br> +* Simple format API with positional arguments for localization<br> +* Implementation of C++20 std::format and C++23 std::print<br> +* Format string syntax similar to Python's format<br> +* Fast IEEE 754 floating-point formatter with correct rounding, shortness<br> + and round-trip guarantees using the Dragonbox algorithm<br> +* Portable Unicode support<br> +* Safe printf implementation including the POSIX extension for<br> + positional arguments<br> +<br> +If you like this project, please consider donating to one of the<br> +funds that help victims of the war in Ukraine: <a href="http://www.stopputin.net/" rel="noreferrer" target="_blank">www.stopputin.net/</a><br> diff --git a/textproc/fmtlib/pkg-plist b/textproc/fmtlib/pkg-plist<br> new file mode 100644<br> index 000000000000..d4356647f3e4<br> --- /dev/null<br> +++ b/textproc/fmtlib/pkg-plist<br> @@ -0,0 +1,21 @@<br> +lib/libfmt.so.10.1.0<br> +lib/libfmt.so.10<br> +lib/libfmt.so<br> +include/fmt/args.h<br> +include/fmt/chrono.h<br> +include/fmt/color.h<br> +include/fmt/compile.h<br> +include/fmt/core.h<br> +include/fmt/format.h<br> +include/fmt/format-inl.h<br> +include/fmt/os.h<br> +include/fmt/ostream.h<br> +include/fmt/printf.h<br> +include/fmt/ranges.h<br> +include/fmt/std.h<br> +include/fmt/xchar.h<br> +lib/cmake/fmt/fmt-config.cmake<br> +lib/cmake/fmt/fmt-config-version.cmake<br> +lib/cmake/fmt/fmt-targets.cmake<br> +lib/cmake/fmt/fmt-targets-release.cmake<br> +libdata/pkgconfig/fmt.pc<br> </blockquote></div>home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAB_qb6-yAVTWoUDND9hjcib2kFMoYVbpUTY81y9K7u68q1Omrg>
