Re: nextcloudclient no longer communicating with kf5-kwallet

2024-04-04 Thread Courtney Hicks
Understood, thank you for the reason. I’ll look to see if there’s an 
alternative in the meantime while KDE gets their act together.

Courtney

> On Apr 3, 2024, at 11:24 PM, Rafael Sadowski  wrote:
> 
> On Wed Apr 03, 2024 at 11:17:46PM -0700, Courtney wrote:
>> The most recent package builds for -current introduced a new issue
>> between nextcloudclient and kf5-kwallet.
>> 
>> OpenBSD 7.5-current (GENERIC.MP) #14: Wed Apr  3 17:26:03 MDT 2024
>> 
>> as well as the Apr 2 build.
>> 
>> Normally on logging into an xsession, nextcloudclient makes a request
>> to kwallet to get the credentials, which then prompts me to enter my
>> password to unlock kwallet. I don't get any errors from nextcloudclient.
>> 
>> Courtney
>> 
> 
> |+# https://community.kde.org/Frameworks/6.0_Release_notes
> |+CONFIGURE_ARGS +=  -DBUILD_KWALLETD=OFF \
> |+   -DBUILD_KWALLET_QUERY=OFF
> 
> This has something to do with the "KDE Coinstallability" plan.  Unfortunately,
> I had to deactivate it. And we have to wait until devel/kf6 is imported AND
> nextcloudclient switch from KF5 to KF6. Please blame the KDE folks here. Not 
> my
> migration plan.
> 
> Rafael



bootstrap subpackage - lang/rust prototype

2024-04-04 Thread Sebastien Marie
Hi,

We recently discussed internally about having a subpackage that provide
a binary bootstrap (for ports needing one), in order to avoid a too big
gap between base changes and ports bootstrap regeneration.

I took lang/rust example for testing some prototype. It might cover some
aspects but not all.

I opted to generate a plain tarball located at
/usr/local/lib/rustc-bootstrap-${MACHINE_ARCH}.tar

- a tarball : instead of copying files to one directory (and have to
  deal with filename changes due to MAJOR/MINOR in libraries in the
  PLIST), I prefered to use a tarball.

  so the PLIST-bootstrap is simple: just a unique file with stable name.

- a plain tarball : I didn't see strong need to generate a compressed
  tarball here. rust boostrap is using lzma compression and it is
  relatively ressource intensive. and as the package is also compressed,
  I prefered to stick with plain tarball.

- tarball destination : I put the tarball under /usr/local/lib, without
  specific name for the filename (I just reused the one I have for
  lang/rust). If we want some uniformisation, it might be preferable to
  have a commun directory (/usr/local/lib/bootstrap/ or
  /usr/local/share/bootstrap/ for example), and a common pattern for the
  name (lang-rust.tar ?)

- PLIST-boostrap with 'always-update' : as the content of the tarball
  might change without notice, due to library bump (in base, or in a
  ports dependency), I marked the package as 'always-update'. It might
  be useful or not. In pratice, nobody is expected to install this
  subpackage outside few porters.

- the tarball is in the format that lang/rust will expect for building
  (all files under rustc-bootstrap-${MACHINE_ARCH}-${V}). It means that
  minimal post-processing would be required to use it for building the
  port (in fact, only lzma compression).

  I intent to change slightly the extract step of the port to have a
  tarball named rustc-bootstrap-${MACHINE_ARCH}-${V}-MMDD and an
  extract directory named rustc-bootstrap-${MACHINE_ARCH}-${V}. The date
  part would be used only to pin the right tarball.

Any comments on the principe ?
-- 
Sebastien Marie


Index: Makefile
===
RCS file: /cvs/ports/lang/rust/Makefile,v
diff -u -p -r1.200 Makefile
--- Makefile2 Apr 2024 12:14:19 -   1.200
+++ Makefile4 Apr 2024 06:54:01 -
@@ -12,6 +12,7 @@ COMMENT-main =compiler for Rust Langua
 COMMENT-gdb =  Rust debugger through gdb
 COMMENT-clippy =   Rust linter
 COMMENT-rustfmt =  Rust code formatter
+COMMENT-bootstrap =Rust binary bootstrap
 COMMENT-src =  Rust source component
 
 V =1.77.1
@@ -31,9 +32,10 @@ PKGNAME-main =   rust-${V}
 PKGNAME-gdb =  rust-gdb-${V}
 PKGNAME-clippy =   rust-clippy-${V}
 PKGNAME-rustfmt =  rust-rustfmt-${V}
+PKGNAME-bootstrap =rust-bootstrap-${V}
 PKGNAME-src =  rust-src-${V}
 
-MULTI_PACKAGES =   -main -gdb -clippy -rustfmt -src
+MULTI_PACKAGES =   -main -gdb -clippy -rustfmt -bootstrap -src
 
 CATEGORIES =   lang
 
@@ -254,7 +256,7 @@ do-build:
rust-std rustc cargo clippy rustfmt rust-src
rm -rf -- ${WRKBUILD}/build/tmp
 
-COMPONENTS ?=  rustc-${V}-${TRIPLE_ARCH} \
+COMPONENTS =   rustc-${V}-${TRIPLE_ARCH} \
rust-std-${V}-${TRIPLE_ARCH} \
cargo-${V}-${TRIPLE_ARCH} \
clippy-${V}-${TRIPLE_ARCH} \
@@ -284,6 +286,20 @@ do-install:
${TRIPLE_ARCH} \
${LIBRUST_HASH} \
${LIBRUST_REHASH}
+   # create a bootstrap tarball
+   cd ${PREFIX} && pax -w \
+   -f ${PREFIX}/lib/rustc-bootstrap-${MACHINE_ARCH}.tar \
+   -s ',^,rustc-bootstrap-${MACHINE_ARCH}-${V}/,' \
+   bin/{rustc,rustdoc,cargo} \
+   lib/lib*.so \
+   lib/rustlib/${TRIPLE_ARCH}/
+   cd ${PREFIX} && ldd bin/{rustc,rustdoc,cargo} \
+   | sed -ne 's,.* \(/.*/lib/lib.*\.so.[.0-9]*\)$$,\1,p' \
+   | sort -u \
+   | pax -w -a \
+   -f ${PREFIX}/lib/rustc-bootstrap-${MACHINE_ARCH}.tar \
+   -s ',^/usr/lib/,rustc-bootstrap-${MACHINE_ARCH}-${V}/lib/,' \
+   -s 
',^/usr/local/lib/,rustc-bootstrap-${MACHINE_ARCH}-${V}/lib/,'
# replace libraries by link
for lib in ${PREFIX}/lib/lib*.* ; do \
libname=$${lib##*/} ; \
@@ -302,37 +318,5 @@ do-install:
 
 do-test:
${TEST_BIN} test --jobs=${MAKE_JOBS} --no-fail-fast
-
-STRIP ?=   strip
-# Try to avoid strip from our ancient binutils-2.17
-.if ${LINKER_VERSION} != "lld"
-STRIP =llvm-strip-${MODCLANG_VERSION}
-.endif
-
-# bootstrap target permits to regenerate the bootstrap archive
-BOOTSTRAPNAME=rustc-bootstrap-${MACHINE_ARCH}-${V}-new
-BOOTSTRAPDIR=${WRKDIR}/${BOOTSTRAPNAME}
-bootstrap: build
-   ${_PBUILD} rm -rf ${BOOTSTRAPDIR}
-   ${_

[b...@comstyle.com: Re: Removing transcode]

2024-04-04 Thread Stuart Henderson
Any objections/OKs?

- Forwarded message from Brad Smith  -

From: Brad Smith 
Date: Wed, 3 Apr 2024 20:46:22 -0400
To: st...@openbsd.org
User-Agent: Mozilla Thunderbird
Subject: Re: Removing transcode

Can this please now be removed?

On 2023-06-25 8:59 p.m., Brad Smith wrote:
> On 2023-06-01 7:25 p.m., Brad Smith wrote:
> > I'd like to remove the multimedia/transcode port.
> > 
> > It has been long unmaintained upstream and does not build
> > with newer FFmpeg.
> > Although patches have been cobbled together over the years
> > to keep it building
> > with newer versions of FFmpeg, to date it has always been
> > somewhat fragile.
> > 
> > Also removing graphics/dvdrip and
> > multimedia/subtitleripper which are dependent
> > on transcode and are equally as old and unmaintained.
> 
> 
> Can this please now be removed?
> 

- End forwarded message -



Re: [b...@comstyle.com: Re: Removing transcode]

2024-04-04 Thread Rafael Sadowski
On Thu Apr 04, 2024 at 09:00:03AM +0100, Stuart Henderson wrote:
> Any objections/OKs?

I prefer a newer FFmpeg, so OK rsadowski

> 
> - Forwarded message from Brad Smith  -
> 
> From: Brad Smith 
> Date: Wed, 3 Apr 2024 20:46:22 -0400
> To: st...@openbsd.org
> User-Agent: Mozilla Thunderbird
> Subject: Re: Removing transcode
> 
> Can this please now be removed?
> 
> On 2023-06-25 8:59 p.m., Brad Smith wrote:
> > On 2023-06-01 7:25 p.m., Brad Smith wrote:
> > > I'd like to remove the multimedia/transcode port.
> > > 
> > > It has been long unmaintained upstream and does not build
> > > with newer FFmpeg.
> > > Although patches have been cobbled together over the years
> > > to keep it building
> > > with newer versions of FFmpeg, to date it has always been
> > > somewhat fragile.
> > > 
> > > Also removing graphics/dvdrip and
> > > multimedia/subtitleripper which are dependent
> > > on transcode and are equally as old and unmaintained.
> > 
> > 
> > Can this please now be removed?
> > 
> 
> - End forwarded message -
> 



UPDATE: Dolphin 20230722

2024-04-04 Thread Brad Smith
Here is an update to Dolphin 20230722 snapshot.

I thought I had sent this out.

This fixes the Minizip and mGBA build issues Klemens had pointed out.


Index: Makefile
===
RCS file: /cvs/ports/emulators/dolphin/Makefile,v
retrieving revision 1.19
diff -u -p -u -p -r1.19 Makefile
--- Makefile24 Apr 2023 11:40:38 -  1.19
+++ Makefile4 Apr 2024 09:47:00 -
@@ -1,69 +1,68 @@
 USE_WXNEEDED = Yes
-ONLY_FOR_ARCHS =   amd64
+ONLY_FOR_ARCHS =   aarch64 amd64
 
 COMMENT-main = Nintendo GameCube and Wii emulator with GUI
 COMMENT-nogui =Nintendo GameCube and Wii emulator
 
-V =5.0.0.20190621
-DISTNAME = dolphin-emu-${V}
-PKGNAME =  dolphin-${V}
-REVISION-main =4
-REVISION-nogui =   4
+V =5.0.0.20230722
+DISTNAME = dolphin-${V}
+CATEGORIES =   emulators
+MASTER_SITES = https://comstyle.com/source/
+EXTRACT_SUFX = .tar.xz
 
 MULTI_PACKAGES =   -main -nogui
 
-.include 
-
-GH_ACCOUNT =   dolphin-emu
-GH_PROJECT =   dolphin
-GH_COMMIT =981925a831e28d3967104e1a64dd8fa9b382660a
-
-CATEGORIES =   emulators
-
 # GPLv2+
 PERMIT_PACKAGE =   Yes
 
 cWANTLIB = EGL GL GLU ICE SDL2 SM X11 Xext Xi Xrandr avcodec \
-   avformat avutil c curl hidapi-libusb iconv intl lzo2 \
-   m mbedcrypto mbedtls mbedx509 miniupnpc png pthread \
-   pugixml sfml-network sfml-system sndio swscale \
-   usb-1.0 z ${COMPILER_LIBCXX}
+   avformat avutil bz2 c curl fmt hidapi-libusb iconv \
+   lzma lzo2 m mbedcrypto mbedtls mbedx509 miniupnpc \
+   minizip pthread pugixml sfml-network sfml-system \
+   speexdsp spng swscale swresample usb-1.0 zstd \
+   ${COMPILER_LIBCXX}
 
-WANTLIB-main = ${cWANTLIB} Qt5Core Qt5Gui Qt5Widgets
-WANTLIB-nogui =${cWANTLIB}
-
-COMPILER = base-clang ports-gcc base-gcc
+WANTLIB-main = ${cWANTLIB} Qt6Core Qt6Gui Qt6Widgets
+WANTLIB-nogui =${cWANTLIB}
 
 MODULES =  devel/cmake
-TEST_DEPENDS = devel/gtest
+
 BUILD_DEPENDS =devel/gettext,-tools \
-   devel/fmt
+   x11/qt6/qtsvg
 LIB_DEPENDS-nogui =archivers/lzo2 \
+   archivers/minizip \
+   archivers/zstd \
comms/libhidapi \
converters/libiconv \
-   devel/gettext,-runtime \
+   devel/fmt \
devel/libusb1 \
devel/sdl2 \
graphics/ffmpeg \
-   graphics/png \
+   graphics/libspng \
multimedia/sfml \
net/curl \
net/miniupnp/miniupnpc \
security/polarssl \
textproc/pugixml
 LIB_DEPENDS-main = ${LIB_DEPENDS-nogui} \
-   x11/qt5/qtbase
+   x11/qt6/qtbase
 RUN_DEPENDS-main = ${RUN_DEPENDS-nogui} \
devel/desktop-file-utils \
emulators/dolphin,-nogui \
x11/gtk+4,-guic
-CONFIGURE_ARGS +=  -Dmandir:=${PREFIX}/man \
-   -DENABLE_ALSA=OFF \
+
+COMPILER = base-clang
+
+CONFIGURE_ARGS +=  -DENABLE_ALSA=OFF \
-DENABLE_PULSEAUDIO=OFF \
-DENABLE_LLVM=OFF \
-   -DQt5_DIR="${LOCALBASE}/lib/qt5/cmake/Qt5" \
-   -DUSE_DISCORD_PRESENCE=OFF
-TEST_TARGET =  unittests
+   -DENABLE_LTO=ON \
+   -DENABLE_TESTS=OFF \
+   -DENABLE_VULKAN=OFF \
+   -DUSE_DISCORD_PRESENCE=OFF \
+   -DUSE_SANITIZERS=OFF \
+   -DUSE_SYSTEM_LIBMGBA=OFF \
+   -DCMAKE_DISABLE_FIND_PACKAGE_Git=ON
 
 MODCMAKE_LDFLAGS = -L${X11BASE}/lib -L${LOCALBASE}/lib
 
Index: distinfo
===
RCS file: /cvs/ports/emulators/dolphin/distinfo,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 distinfo
--- distinfo8 Mar 2020 02:15:51 -   1.3
+++ distinfo4 Apr 2024 09:47:00 -
@@ -1,2 +1,2 @@
-SHA256 (dolphin-emu-5.0.0.20190621-981925a8.tar.gz) = 
NU3/NTFnFtmsOaj8OqC2NtZdbrmL4+gnsoHgKKiaZvI=
-SIZE (dolphin-emu-5.0.0.20190621-981925a8.tar.gz) = 38837330
+SHA256 (dolphin-5.0.0.20230722.tar.xz) = 
SSd8KSIOytSXCt7q+n6pZ5gXz43GZ4cFP1HHkhW9Nrw=
+SIZE (dolphin-5.0.0.20230722.tar.xz) = 91976488
Index: patches/patch-CMakeLists_txt

Re: UPDATE: Dolphin 20230722

2024-04-04 Thread Rafael Sadowski
On Thu Apr 04, 2024 at 05:54:52AM -0400, Brad Smith wrote:
> Here is an update to Dolphin 20230722 snapshot.
> 
> I thought I had sent this out.
> 
> This fixes the Minizip and mGBA build issues Klemens had pointed out.
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/emulators/dolphin/Makefile,v
> retrieving revision 1.19
> diff -u -p -u -p -r1.19 Makefile
> --- Makefile  24 Apr 2023 11:40:38 -  1.19
> +++ Makefile  4 Apr 2024 09:47:00 -
> @@ -1,69 +1,68 @@
>  USE_WXNEEDED =   Yes
> -ONLY_FOR_ARCHS = amd64
> +ONLY_FOR_ARCHS = aarch64 amd64
>  
>  COMMENT-main =   Nintendo GameCube and Wii emulator with GUI
>  COMMENT-nogui =  Nintendo GameCube and Wii emulator
>  
> -V =  5.0.0.20190621
> -DISTNAME =   dolphin-emu-${V}
> -PKGNAME =dolphin-${V}
> -REVISION-main =  4
> -REVISION-nogui = 4
> +V =  5.0.0.20230722
> +DISTNAME =   dolphin-${V}
> +CATEGORIES = emulators
> +MASTER_SITES =   https://comstyle.com/source/

You move to your self-hosed tarball. What is the reason for this?



Re: UPDATE: Dolphin 20230722

2024-04-04 Thread Brad Smith

On 2024-04-04 5:58 a.m., Rafael Sadowski wrote:

On Thu Apr 04, 2024 at 05:54:52AM -0400, Brad Smith wrote:

Here is an update to Dolphin 20230722 snapshot.

I thought I had sent this out.

This fixes the Minizip and mGBA build issues Klemens had pointed out.


Index: Makefile
===
RCS file: /cvs/ports/emulators/dolphin/Makefile,v
retrieving revision 1.19
diff -u -p -u -p -r1.19 Makefile
--- Makefile24 Apr 2023 11:40:38 -  1.19
+++ Makefile4 Apr 2024 09:47:00 -
@@ -1,69 +1,68 @@
  USE_WXNEEDED =Yes
-ONLY_FOR_ARCHS =   amd64
+ONLY_FOR_ARCHS =   aarch64 amd64
  
  COMMENT-main =		Nintendo GameCube and Wii emulator with GUI

  COMMENT-nogui =   Nintendo GameCube and Wii emulator
  
-V =			5.0.0.20190621

-DISTNAME = dolphin-emu-${V}
-PKGNAME =  dolphin-${V}
-REVISION-main =4
-REVISION-nogui =   4
+V =5.0.0.20230722
+DISTNAME = dolphin-${V}
+CATEGORIES =   emulators
+MASTER_SITES = https://comstyle.com/source/

You move to your self-hosed tarball. What is the reason for this?


That was the last tag they have made with the full proper repo including 
a whole

bunch of git modules that are required. They haven't bothered with anything
since. The normal way of using the Github bits doesn't do a full checkout.

Re: UPDATE: Dolphin 20230722

2024-04-04 Thread Landry Breuil
Le Thu, Apr 04, 2024 at 06:12:30AM -0400, Brad Smith a écrit :
> On 2024-04-04 5:58 a.m., Rafael Sadowski wrote:
> > On Thu Apr 04, 2024 at 05:54:52AM -0400, Brad Smith wrote:
> > > Here is an update to Dolphin 20230722 snapshot.
> > > 
> > > I thought I had sent this out.
> > > 
> > > This fixes the Minizip and mGBA build issues Klemens had pointed out.
> > > 
> > > 
> > > Index: Makefile
> > > ===
> > > RCS file: /cvs/ports/emulators/dolphin/Makefile,v
> > > retrieving revision 1.19
> > > diff -u -p -u -p -r1.19 Makefile
> > > --- Makefile  24 Apr 2023 11:40:38 -  1.19
> > > +++ Makefile  4 Apr 2024 09:47:00 -
> > > @@ -1,69 +1,68 @@
> > >   USE_WXNEEDED =  Yes
> > > -ONLY_FOR_ARCHS = amd64
> > > +ONLY_FOR_ARCHS = aarch64 amd64
> > >   COMMENT-main =  Nintendo GameCube and Wii emulator with GUI
> > >   COMMENT-nogui = Nintendo GameCube and Wii emulator
> > > -V =  5.0.0.20190621
> > > -DISTNAME =   dolphin-emu-${V}
> > > -PKGNAME =dolphin-${V}
> > > -REVISION-main =  4
> > > -REVISION-nogui = 4
> > > +V =  5.0.0.20230722
> > > +DISTNAME =   dolphin-${V}
> > > +CATEGORIES = emulators
> > > +MASTER_SITES =   https://comstyle.com/source/
> > You move to your self-hosed tarball. What is the reason for this?
> 
> That was the last tag they have made with the full proper repo including a
> whole
> bunch of git modules that are required. They haven't bothered with anything
> since. The normal way of using the Github bits doesn't do a full checkout.

cant you use the DIST_TUPLE feature then ?



nnn refuses to create new file

2024-04-04 Thread Maksim Rodin
Hello
When I try to create new file using "nf" the file manager shows the
message "invalid argument" at the bottom.
When I hit "nd" it creates a new directory as expected.
I suppose this happens after I recently upgraded the system to 7.4
and the packages to their last version.

OpenBSD 7.4 stable
nnn -V: 4.9

-- 
Best regards
Maksim Rodin



Re: nnn refuses to create new file

2024-04-04 Thread Martin Ziemer
Am Thu, Apr 04, 2024 at 02:13:19PM +0300 schrieb Maksim Rodin:
> Hello
> When I try to create new file using "nf" the file manager shows the
> message "invalid argument" at the bottom.
Was able to recreate this issue.

The problem ist we NEED a Mode Flag, which is not given.

The patch below would fix the issue. I will try to get the fix in
upstream.

> When I hit "nd" it creates a new directory as expected.
> I suppose this happens after I recently upgraded the system to 7.4
> and the packages to their last version.
> 
> OpenBSD 7.4 stable
> nnn -V: 4.9
> 
> -- 
> Best regards
> Maksim Rodin

Index: Makefile
===
RCS file: /cvs/ports/sysutils/nnn/Makefile,v
retrieving revision 1.26
diff -u -p -r1.26 Makefile
--- Makefile27 Sep 2023 17:16:31 -  1.26
+++ Makefile4 Apr 2024 13:28:13 -
@@ -3,6 +3,7 @@ COMMENT =   the missing terminal file bro
 V =4.9
 DISTNAME = nnn-v${V}
 PKGNAME =  nnn-${V}
+REVISION = 0
 
 CATEGORIES =   sysutils
 
Index: patches/patch-src_nnn_c
===
RCS file: patches/patch-src_nnn_c
diff -N patches/patch-src_nnn_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_nnn_c 4 Apr 2024 13:28:13 -
@@ -0,0 +1,14 @@
+Fix creation of Files
+
+Index: src/nnn.c
+--- src/nnn.c.orig
 src/nnn.c
+@@ -4692,7 +4692,7 @@ next:
+   return FALSE;
+   }
+   } else {
+-  int fd = open(path, O_CREAT | O_TRUNC, S_IWUSR | S_IRUSR); /* 
Forced create mode for files */
++  int fd = open(path, O_WRONLY | O_CREAT | O_TRUNC, S_IWUSR | 
S_IRUSR); /* Forced create mode for files */
+ 
+   if (fd == -1 && errno != EEXIST) {
+   DPRINTF_S("open!");



[update] net/synapse 1.104.0

2024-04-04 Thread Renaud Allard

Hello,

Here is an update for net/synapse 1.104.0
Tested on amd64

Best RegardsIndex: Makefile
===
RCS file: /cvs/ports/net/synapse/Makefile,v
retrieving revision 1.71
diff -u -p -r1.71 Makefile
--- Makefile	19 Feb 2024 10:40:55 -	1.71
+++ Makefile	4 Apr 2024 15:13:08 -
@@ -1,6 +1,6 @@
 COMMENT =	open network for secure, decentralized communication
 
-MODPY_EGG_VERSION =	1.101.0
+MODPY_EGG_VERSION =	1.104.0
 
 GH_ACCOUNT =	element-hq
 GH_PROJECT =	synapse
Index: distinfo
===
RCS file: /cvs/ports/net/synapse/distinfo,v
retrieving revision 1.53
diff -u -p -r1.53 distinfo
--- distinfo	19 Feb 2024 10:40:55 -	1.53
+++ distinfo	4 Apr 2024 15:13:08 -
@@ -1,5 +1,5 @@
 SHA256 (cargo/aho-corasick-1.0.2.tar.gz) = Q/bLG/IiAlNAF484LEJvE3V7KWDol3nfyzGcMlQqWkE=
-SHA256 (cargo/anyhow-1.0.79.tar.gz) = CA6YkKCCZisJwa1F9Wf67rR/IrX7I4lfvh5lHnGOJco=
+SHA256 (cargo/anyhow-1.0.81.tar.gz) = CVKAimwq/RqolHJx86YPGmdjx7kS0hAYTFFJtc8Uckc=
 SHA256 (cargo/arc-swap-1.5.1.tar.gz) = mDzYudSwKm3G/6VXJi61hYonoAOP//4hoPEz6qgZoWQ=
 SHA256 (cargo/autocfg-1.1.0.tar.gz) = 1GiAK6sXy8DMV16bBT9B5yqja/prf1XjUp/6QxYbl/o=
 SHA256 (cargo/bitflags-1.3.2.tar.gz) = vvONRRY8Lx3eCUp9/TPM9ZXJKQXI+PT9wY0G+xA3cYo=
@@ -16,19 +16,20 @@ SHA256 (cargo/itoa-1.0.4.tar.gz) = QhetN
 SHA256 (cargo/lazy_static-1.4.0.tar.gz) = 4qutI/vEKzcA8vJ5hE3IMq2ysusGmy35GPRVxOGMxkY=
 SHA256 (cargo/libc-0.2.135.tar.gz) = aHg/68d4LGxctAH72k3lqYmL4XYjFNoLssEM7WHxiww=
 SHA256 (cargo/lock_api-0.4.9.tar.gz) = Q1ARNm/lZYOxbPlW+d8AlbQFuC12QlvImBwOIuYOxN8=
-SHA256 (cargo/log-0.4.20.tar.gz) = teYWPLjEkIjCw29Xh15YzNjIfHQn9/vVDqZxCy8/Lo8=
+SHA256 (cargo/log-0.4.21.tar.gz) = kO2MHlEBNPl528TwcPh9QxMJi3BIYaEF/jQjHHCjkBw=
 SHA256 (cargo/memchr-2.6.3.tar.gz) = jyMtbvcH4ZVqQzQmk9KjHnKYlVTVgpnXqIc4zJWw01w=
 SHA256 (cargo/memoffset-0.9.0.tar.gz) = WmNLHGGpVYW9FWB8arDE5bIm5pX/KAC6DNzN3yCMQGw=
 SHA256 (cargo/once_cell-1.15.0.tar.gz) = 6C2tBBObcakMCAyEY/4Nx5AttRktk5vQlQ8HTQFDOeE=
 SHA256 (cargo/parking_lot-0.12.1.tar.gz) = N0KywQO58GvJ//Cjf/SRKTWFG+5tNvPAK8x1W8/sIo8=
 SHA256 (cargo/parking_lot_core-0.9.3.tar.gz) = CaJ5y/JcsHV4EDlPvB41mUm1njSBRcZDqTmlJWkuaSk=
+SHA256 (cargo/portable-atomic-1.6.0.tar.gz) = cXDvmYi8FpuhbdNqf6BB5cTL62o1t21MA9re03Hq58A=
 SHA256 (cargo/proc-macro2-1.0.76.tar.gz) = lfxWzaC1wzJfX7vX/5/angK7ALs9rFElLS8b+hy4zIw=
-SHA256 (cargo/pyo3-0.20.2.tar.gz) = moncelhQ0OmDvh7CpGOhcdIJkEh8PPzWi1Nj8e49b+A=
-SHA256 (cargo/pyo3-build-config-0.20.2.tar.gz) = B0JvDY/lpgHyYpPzAK/Rp7HtXniypwWHDF8wiTxRY74=
-SHA256 (cargo/pyo3-ffi-0.20.2.tar.gz) = 27fewX4XdmtGvKTxpCFahQBrTC7N4SIHbFYt0FjabPE=
+SHA256 (cargo/pyo3-0.20.3.tar.gz) = U727ltSRV+ZdRcwoevXzL/rdX0dhQ4tSewVfsNS7gjM=
+SHA256 (cargo/pyo3-build-config-0.20.3.tar.gz) = 3qpXRd4/UjHOEFF6H13ZfVPlov13qmtYQikghYMdSNc=
+SHA256 (cargo/pyo3-ffi-0.20.3.tar.gz) = YrQlMdA+CNTvH26Fou1CLrZ4uM1it2LlOJHAX68NSvo=
 SHA256 (cargo/pyo3-log-0.9.0.tar.gz) = TBCAjuclBAO+2yS8MMMkk+k4df73uj5CkiJv6STzmL0=
-SHA256 (cargo/pyo3-macros-0.20.2.tar.gz) = Bfc4tOQNULVxGVfxQoeM+g8o4FSqDr38P9E3qEP3TtM=
-SHA256 (cargo/pyo3-macros-backend-0.20.2.tar.gz) = D8kQ1IUYR4J9r51s3UqCP72qtbiBgyXF6XqG2nnoiB8=
+SHA256 (cargo/pyo3-macros-0.20.3.tar.gz) = cwXHIPoBuAVeyV5ISm7KeoPIQSZ/DdUoDwyLhVHSwVg=
+SHA256 (cargo/pyo3-macros-backend-0.20.3.tar.gz) = fH6baLucMUnFsMreXQf5U9bRJetDN3I8TM22ZfH5YYU=
 SHA256 (cargo/pythonize-0.20.0.tar.gz) = /9HD7znHJdY9tfm8RVRhuv2AVAy3gkxhr7gjUBkhqFA=
 SHA256 (cargo/quote-1.0.35.tar.gz) = KR7Jq179k0qvUDpkZsXVJRU10QjudHRyw5d8xazIaO8=
 SHA256 (cargo/redox_syscall-0.2.16.tar.gz) = +1pYwYVbS2gZ1ZASFVYD8LIq0wytdSYAqt/LaVJlUZo=
@@ -37,9 +38,9 @@ SHA256 (cargo/regex-automata-0.4.4.tar.g
 SHA256 (cargo/regex-syntax-0.8.2.tar.gz) = wIx05iBHuy3k/0h7JR5KkuJPSHRWSEUWNc7H1ZEWLZ8=
 SHA256 (cargo/ryu-1.0.11.tar.gz) = RQGr3/OugqHBtHehclLrac7p5m65FcGrqk9E2HPfnwk=
 SHA256 (cargo/scopeguard-1.1.0.tar.gz) = 0pqwxtP8Dukv5m4tmfcA6rF6jVfRwdO3SDgPsguqeM0=
-SHA256 (cargo/serde-1.0.196.tar.gz) = hwAm5g+gjGnwZKp2bBDxCx1i25zNTQq7IGRyvuDOOzI=
-SHA256 (cargo/serde_derive-1.0.196.tar.gz) = M8hTYMlefRN0VNyB2aTtK479j74ZzuVzV7Mrl3H8y2c=
-SHA256 (cargo/serde_json-1.0.113.tar.gz) = aYAbcLHD2slj7LA6Nkugztqc9gxxz+R16ZhkdZyLink=
+SHA256 (cargo/serde-1.0.197.tar.gz) = P7HIc+G5sFak3EwMGYskw/+gWSQ4dVUrK9CTOxruTOI=
+SHA256 (cargo/serde_derive-1.0.197.tar.gz) = frCzS0LtwX9rfKyEpSocXw4bsiJ+mXypAR6j3TToYQs=
+SHA256 (cargo/serde_json-1.0.114.tar.gz) = xfCbG9Yy71Seqp9gofjedCvbxpjmzuIJX8hN3l9UmuA=
 SHA256 (cargo/smallvec-1.10.0.tar.gz) = pQe+/nlUBEVjQd+rEM72bq1MBB9iuLEbu5K//l0JU+A=
 SHA256 (cargo/subtle-2.4.1.tar.gz) = a97zLoFQwqCBEQtCdy/+fXyQMrYGvCJsgmD9l+CXZgE=
 SHA256 (cargo/syn-2.0.48.tar.gz) = DzUxY45AffwIFHYau3wApbVJkrhJRSoGRrf2XJ93Dz8=
@@ -54,9 +55,9 @@ SHA256 (cargo/windows_i686_gnu-0.36.1.ta
 SHA256 (cargo/windows_i686_msvc-0.36.1.tar.gz) = 4ueRcUiygS0e6vrrIql+SBPfpgo/j3jr4gS8yI8S8CQ=
 SHA256 (cargo/windows_x86_64_gnu-0.36.1.tar.gz) = Tc0XG4d2xBuXUh5doSei2GrSgBFIB9Cyqx

Re: [update] net/synapse 1.104.0

2024-04-04 Thread Landry Breuil
Le Thu, Apr 04, 2024 at 05:14:39PM +0200, Renaud Allard a écrit :
> Hello,
> 
> Here is an update for net/synapse 1.104.0
> Tested on amd64

patch doesn't apply, can you cvs up first before sending a diff ? thanks :)



Re: UPDATE: Dolphin 20230722

2024-04-04 Thread Klemens Nanni
On Thu, Apr 04, 2024 at 06:12:30AM -0400, Brad Smith wrote:
> On 2024-04-04 5:58 a.m., Rafael Sadowski wrote:
> > On Thu Apr 04, 2024 at 05:54:52AM -0400, Brad Smith wrote:
> > > Here is an update to Dolphin 20230722 snapshot.
> > > 
> > > I thought I had sent this out.
> > > 
> > > This fixes the Minizip and mGBA build issues Klemens had pointed out.
> > > 
> > > 
> > > Index: Makefile
> > > ===
> > > RCS file: /cvs/ports/emulators/dolphin/Makefile,v
> > > retrieving revision 1.19
> > > diff -u -p -u -p -r1.19 Makefile
> > > --- Makefile  24 Apr 2023 11:40:38 -  1.19
> > > +++ Makefile  4 Apr 2024 09:47:00 -
> > > @@ -1,69 +1,68 @@
> > >   USE_WXNEEDED =  Yes
> > > -ONLY_FOR_ARCHS = amd64
> > > +ONLY_FOR_ARCHS = aarch64 amd64
> > >   COMMENT-main =  Nintendo GameCube and Wii emulator with GUI
> > >   COMMENT-nogui = Nintendo GameCube and Wii emulator
> > > -V =  5.0.0.20190621
> > > -DISTNAME =   dolphin-emu-${V}
> > > -PKGNAME =dolphin-${V}
> > > -REVISION-main =  4
> > > -REVISION-nogui = 4
> > > +V =  5.0.0.20230722
> > > +DISTNAME =   dolphin-${V}
> > > +CATEGORIES = emulators
> > > +MASTER_SITES =   https://comstyle.com/source/
> > You move to your self-hosed tarball. What is the reason for this?
> 
> That was the last tag they have made with the full proper repo including a
> whole
> bunch of git modules that are required. They haven't bothered with anything
> since. The normal way of using the Github bits doesn't do a full checkout.

You can still use DIST_TUPLE for the repo and each submodule, that'd be
clearer and simple enough, imho.



Re: NEW: x11/emwm-utils

2024-04-04 Thread izder456

On 2024-02-03 21:25, izder456 wrote:

On Fri, 19 Jan 2024 13:17:40 -0600
izder456  wrote:


Hey ports@,

I want to import the utils portion of EMWM, which i worked on porting
earlier this week.

This includes a session manager for
emwm and a toolchest-like app for launching applications.

It is packaged with example configurations as well too in lib/X11

the project page is here:
http://fastestcode.org/emwm.html

Port is attached

Comments, or OK to merge?



Following up on my x11/emwm port's thread, i version bumped it to 1.2
as 1.2 was released from upstream as of the 28th of January. I also
used the upstream mirror over the github, thanks to naddy@'s
recommend.

It is attached

Thoughts?


It has been a while since this thread saw ay activity. I am still 
looking to merge this.


OK?

--

izzy Meyer



Re: UPDATE: games/minetest to 5.8.0

2024-04-04 Thread izder456

On 2024-03-09 22:00, izder456 wrote:

On Tue, 5 Mar 2024 23:08:04 +0100
Fabien ROMANO  wrote:


Hi izder,

On 04/03/2024 17:58, izder456 wrote:
> Hello ports@,
>
> Attached is a tarball of the update.
>
> I took a line from FreeBSD's port system for gmp stuff, as we can
> also use system gmp fine. I also patched a file so `getpid()` is
> properly referenced from `unistd.h`. May be good to PR this patch
> upstream?
>
> This port seems rather-ish complex, so I didn't do the DIST_TUPLE
> stuff as I am no expert.
>
> OK to merge?
>

There is what I have done on my side, feel free to use at your own.
Not sure about gmp stuff from freebsd.
It was weeks ago and I ran into grahic card issue so I did not test
again.

I also added patches from lang/lua to the build (not needed ?)

[diff]



Thanks for the lang/lua stuff, I needed to use -DENABLE_LUAJIT=FALSE in
the CONFIGURE_ARGS without them. Looks like the default
-DENABLE_LUAJIT=TRUE works fine here, just needed a little patching.
(CMake complains a little, but eh, whatevs)

I also swapped the DISTFILES to DIST_TUPLE here for simplicity's sake.
Thanks for the lang/lua tips.

attached is the diff with the above changes.

OK?


I am still looking to upgrade these. OK to merge?



Re: UPDATE: Dolphin 20230722

2024-04-04 Thread Brad Smith
On Thu, Apr 04, 2024 at 05:54:52AM -0400, Brad Smith wrote:
> Here is an update to Dolphin 20230722 snapshot.
> 
> I thought I had sent this out.
> 
> This fixes the Minizip and mGBA build issues Klemens had pointed out.
 
I have converted the setup to using DIST_TUPLE.

More testing welcome.


Index: Makefile
===
RCS file: /cvs/ports/emulators/dolphin/Makefile,v
retrieving revision 1.19
diff -u -p -u -p -r1.19 Makefile
--- Makefile24 Apr 2023 11:40:38 -  1.19
+++ Makefile4 Apr 2024 20:53:09 -
@@ -1,69 +1,114 @@
 USE_WXNEEDED = Yes
-ONLY_FOR_ARCHS =   amd64
+ONLY_FOR_ARCHS =   aarch64 amd64
 
 COMMENT-main = Nintendo GameCube and Wii emulator with GUI
 COMMENT-nogui =Nintendo GameCube and Wii emulator
 
-V =5.0.0.20190621
-DISTNAME = dolphin-emu-${V}
-PKGNAME =  dolphin-${V}
-REVISION-main =4
-REVISION-nogui =   4
-
-MULTI_PACKAGES =   -main -nogui
-
-.include 
-
-GH_ACCOUNT =   dolphin-emu
-GH_PROJECT =   dolphin
-GH_COMMIT =981925a831e28d3967104e1a64dd8fa9b382660a
+PKGNAME =  dolphin-5.0.0.20230722
+DIST_TUPLE +=  github dolphin-emu dolphin \
+   8c2a1c191e138d24ec5d525e6cb2532fae376b58 . # GPLv2
+
+# Externals/
+DIST_TUPLE +=  github dolphin-emu ext-win-qt \
+   495517af2b922c10c24f543e0fd6ea3ddf774e50 \
+   Externals/Qt# GPLv2
+DIST_TUPLE +=  github mgba-emu mgba \
+   008a6f3f237bb7cb86b43386cc5c160e97053704 \
+   Externals/mGBA/mgba # MPL
+DIST_TUPLE +=  github dolphin-emu ext-win-ffmpeg \
+   9bc087fbca36ce5a85eb4fd73f0c73813593e5a2 \
+   Externals/FFmpeg-bin# LGPLv2+
+DIST_TUPLE +=  github libusb libusb \
+   43107c84e4a5f6b15c296eff8cc3578100f35dce \
+   Externals/libusb/libusb # LGPLv2+
+DIST_TUPLE +=  github KhronosGroup SPIRV-Cross \
+   06407561ece7d7e78544112189f3eee13adf9959 \
+   Externals/spirv_cross/SPIRV-Cross   # Apache 2.0
+DIST_TUPLE +=  github libsdl-org SDL \
+   1fa6142903b88007c7b77d324ee78fad9966871a \
+   Externals/SDL/SDL   # Zlib
+DIST_TUPLE +=  github zlib-ng zlib-ng \
+   8026095224080a8c426d1b720d30a2851d13ea72 \
+   Externals/zlib-ng/zlib-ng   # Zlib
+DIST_TUPLE +=  github randy408 libspng \
+   adc94393dbeddf9e027d1b2dfff7c1bab975224e \
+   Externals/libspng/libspng   # BSD
+DIST_TUPLE +=  github GPUOpen-LibrariesAndSDKs VulkanMemoryAllocator \
+   5677097bafb8477097c6e3354ce68b7a44fd01a4 \
+   Externals/VulkanMemoryAllocator # MIT
+DIST_TUPLE +=  github mozilla cubeb \
+   67db4cbc18581c8a6d8ea935af9854ed9729e7a7 \
+   Externals/cubeb/cubeb   # ISC
+# slightly older implot to build with older Dolphin 
+DIST_TUPLE +=  github epezent implot \
+   d87512353495e7760e7fda7566a05beef7627d8f \
+   Externals/implot/implot # MIT
+DIST_TUPLE +=  github google googletest \
+   61db1e1740a828d9df94fd167a9eb4137cd6def2 \
+   Externals/gtest # BSD
+# slightly older rcheevos to build with older Dolphin
+DIST_TUPLE +=  github RetroAchievements rcheevos \
+   0cdc7f8e9592e0741c07729a34d49a55e6c5e290 \
+   Externals/rcheevos/rcheevos # MIT
+DIST_TIPLE +=  github bylaws libadrenotools \
+   deec5f75ee1a8ccbe32c8780b1d17284fc87b0f1 \
+   Externals/libadrenotools# BSD 
 
 CATEGORIES =   emulators
 
+MULTI_PACKAGES =   -main -nogui
+
 # GPLv2+
 PERMIT_PACKAGE =   Yes
 
 cWANTLIB = EGL GL GLU ICE SDL2 SM X11 Xext Xi Xrandr avcodec \
-   avformat avutil c curl hidapi-libusb iconv intl lzo2 \
-   m mbedcrypto mbedtls mbedx509 miniupnpc png pthread \
-   pugixml sfml-network sfml-system sndio swscale \
-   usb-1.0 z ${COMPILER_LIBCXX}
-
-WANTLIB-main = ${cWANTLIB} Qt5Core Qt5Gui Qt5Widgets
-WANTLIB-nogui =${cWANTLIB}
+   avformat avutil bz2 c curl fmt hidapi-libusb iconv \
+   lzma lzo2 m mbedcrypto mbedtls mbedx509 miniupnpc \
+   minizip pthread pugixml sfml-network sfml-system \
+   

Re: UPDATE: Dolphin 20230722

2024-04-04 Thread Brad Smith
On Thu, Apr 04, 2024 at 05:01:07PM -0400, Brad Smith wrote:
> On Thu, Apr 04, 2024 at 05:54:52AM -0400, Brad Smith wrote:
> > Here is an update to Dolphin 20230722 snapshot.
> > 
> > I thought I had sent this out.
> > 
> > This fixes the Minizip and mGBA build issues Klemens had pointed out.
>  
> I have converted the setup to using DIST_TUPLE.
> 
> More testing welcome.
 
Fix a typo.


Index: Makefile
===
RCS file: /cvs/ports/emulators/dolphin/Makefile,v
retrieving revision 1.19
diff -u -p -u -p -r1.19 Makefile
--- Makefile24 Apr 2023 11:40:38 -  1.19
+++ Makefile4 Apr 2024 21:09:21 -
@@ -1,69 +1,114 @@
 USE_WXNEEDED = Yes
-ONLY_FOR_ARCHS =   amd64
+ONLY_FOR_ARCHS =   aarch64 amd64
 
 COMMENT-main = Nintendo GameCube and Wii emulator with GUI
 COMMENT-nogui =Nintendo GameCube and Wii emulator
 
-V =5.0.0.20190621
-DISTNAME = dolphin-emu-${V}
-PKGNAME =  dolphin-${V}
-REVISION-main =4
-REVISION-nogui =   4
-
-MULTI_PACKAGES =   -main -nogui
-
-.include 
-
-GH_ACCOUNT =   dolphin-emu
-GH_PROJECT =   dolphin
-GH_COMMIT =981925a831e28d3967104e1a64dd8fa9b382660a
+PKGNAME =  dolphin-5.0.0.20230722
+DIST_TUPLE +=  github dolphin-emu dolphin \
+   8c2a1c191e138d24ec5d525e6cb2532fae376b58 . # GPLv2
+
+# Externals/
+DIST_TUPLE +=  github dolphin-emu ext-win-qt \
+   495517af2b922c10c24f543e0fd6ea3ddf774e50 \
+   Externals/Qt# GPLv2
+DIST_TUPLE +=  github mgba-emu mgba \
+   008a6f3f237bb7cb86b43386cc5c160e97053704 \
+   Externals/mGBA/mgba # MPL
+DIST_TUPLE +=  github dolphin-emu ext-win-ffmpeg \
+   9bc087fbca36ce5a85eb4fd73f0c73813593e5a2 \
+   Externals/FFmpeg-bin# LGPLv2+
+DIST_TUPLE +=  github libusb libusb \
+   43107c84e4a5f6b15c296eff8cc3578100f35dce \
+   Externals/libusb/libusb # LGPLv2+
+DIST_TUPLE +=  github KhronosGroup SPIRV-Cross \
+   06407561ece7d7e78544112189f3eee13adf9959 \
+   Externals/spirv_cross/SPIRV-Cross   # Apache 2.0
+DIST_TUPLE +=  github libsdl-org SDL \
+   1fa6142903b88007c7b77d324ee78fad9966871a \
+   Externals/SDL/SDL   # Zlib
+DIST_TUPLE +=  github zlib-ng zlib-ng \
+   8026095224080a8c426d1b720d30a2851d13ea72 \
+   Externals/zlib-ng/zlib-ng   # Zlib
+DIST_TUPLE +=  github randy408 libspng \
+   adc94393dbeddf9e027d1b2dfff7c1bab975224e \
+   Externals/libspng/libspng   # BSD
+DIST_TUPLE +=  github GPUOpen-LibrariesAndSDKs VulkanMemoryAllocator \
+   5677097bafb8477097c6e3354ce68b7a44fd01a4 \
+   Externals/VulkanMemoryAllocator # MIT
+DIST_TUPLE +=  github mozilla cubeb \
+   67db4cbc18581c8a6d8ea935af9854ed9729e7a7 \
+   Externals/cubeb/cubeb   # ISC
+# slightly older implot to build with older Dolphin 
+DIST_TUPLE +=  github epezent implot \
+   d87512353495e7760e7fda7566a05beef7627d8f \
+   Externals/implot/implot # MIT
+DIST_TUPLE +=  github google googletest \
+   61db1e1740a828d9df94fd167a9eb4137cd6def2 \
+   Externals/gtest # BSD
+# slightly older rcheevos to build with older Dolphin
+DIST_TUPLE +=  github RetroAchievements rcheevos \
+   0cdc7f8e9592e0741c07729a34d49a55e6c5e290 \
+   Externals/rcheevos/rcheevos # MIT
+DIST_TUPLE +=  github bylaws libadrenotools \
+   deec5f75ee1a8ccbe32c8780b1d17284fc87b0f1 \
+   Externals/libadrenotools# BSD 
 
 CATEGORIES =   emulators
 
+MULTI_PACKAGES =   -main -nogui
+
 # GPLv2+
 PERMIT_PACKAGE =   Yes
 
 cWANTLIB = EGL GL GLU ICE SDL2 SM X11 Xext Xi Xrandr avcodec \
-   avformat avutil c curl hidapi-libusb iconv intl lzo2 \
-   m mbedcrypto mbedtls mbedx509 miniupnpc png pthread \
-   pugixml sfml-network sfml-system sndio swscale \
-   usb-1.0 z ${COMPILER_LIBCXX}
-
-WANTLIB-main = ${cWANTLIB} Qt5Core Qt5Gui Qt5Widgets
-WANTLIB-nogui =${cWANTLIB}
+   avformat avutil bz2 c curl fmt hidapi-libusb iconv \
+   lzma lzo2 m mbedcrypto mbedtls mbedx509 m

UPDATE: fmt 10.2.1

2024-04-04 Thread Brad Smith
Here is an update to fmt 10.2.1.


https://raw.githubusercontent.com/fmtlib/fmt/master/ChangeLog.md


Index: Makefile
===
RCS file: /cvs/ports/devel/fmt/Makefile,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 Makefile
--- Makefile7 Jun 2022 11:40:17 -   1.5
+++ Makefile20 Mar 2024 00:29:29 -
@@ -2,9 +2,9 @@ COMMENT=alternative formatting library
 
 GH_ACCOUNT=fmtlib
 GH_PROJECT=fmt
-GH_TAGNAME=8.1.1
+GH_TAGNAME=10.2.1
 
-SHARED_LIBS=   fmt 1.1
+SHARED_LIBS=   fmt 2.0
 
 CATEGORIES=devel
 
@@ -13,17 +13,11 @@ PERMIT_PACKAGE= Yes
 
 # C++11
 COMPILER=  base-clang ports-gcc
+
 MODULES=   devel/cmake
-WANTLIB+=  ${COMPILER_LIBCXX}
 
+WANTLIB+=  ${COMPILER_LIBCXX} m
 
 CONFIGURE_ARGS+=   -DBUILD_SHARED_LIBS=on
-
-# Fix undefined references to pthread_* symbols on clang+ld.bfd archs by
-# disabling -Wl,--as-needed.
-.include 
-.if !${PROPERTIES:Mlld} && ${PROPERTIES:Mclang}
-CONFIGURE_ARGS+=   -DAS_NEEDED=off
-.endif
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/devel/fmt/distinfo,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 distinfo
--- distinfo7 Jun 2022 11:40:17 -   1.3
+++ distinfo20 Mar 2024 00:29:29 -
@@ -1,2 +1,2 @@
-SHA256 (fmt-8.1.1.tar.gz) = PXlNPPZ2M7NLJ3Hrnwc73ofoRuDTldJU33shHvHsc0Y=
-SIZE (fmt-8.1.1.tar.gz) = 826254
+SHA256 (fmt-10.2.1.tar.gz) = ElDkzFi/Bu5jFWdSP0iEjcRZYTPhY/AmFcl/eLq2yBE=
+SIZE (fmt-10.2.1.tar.gz) = 854665
Index: patches/patch-CMakeLists_txt
===
RCS file: patches/patch-CMakeLists_txt
diff -N patches/patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt7 Jun 2022 11:40:17 -   1.4
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,24 +0,0 @@
-Allow linking without '-Wl,--as-needed', fix the build on clang+ld.bfd archs.
-It's needed to do it like this since target_link_libraries takes preference
-over LDFLAGS.
-
-Index: CMakeLists.txt
 CMakeLists.txt.orig
-+++ CMakeLists.txt
-@@ -72,6 +72,7 @@ set_verbose(FMT_INC_DIR ${CMAKE_INSTALL_INCLUDEDIR} CA
- option(FMT_PEDANTIC "Enable extra warnings and expensive tests." OFF)
- option(FMT_WERROR "Halt the compilation with an error on compiler warnings."
-OFF)
-+option(AS_NEEDED "Use -Wl,--as-needed for linking." ON)
- 
- # Options that control generation of various targets.
- option(FMT_DOC "Generate the doc target." ${FMT_MASTER_PROJECT})
-@@ -286,7 +287,7 @@ endif ()
- 
- if (BUILD_SHARED_LIBS)
-   if (UNIX AND NOT APPLE AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "SunOS" AND
--  NOT EMSCRIPTEN)
-+  NOT EMSCRIPTEN AND AS_NEEDED)
- # Fix rpmlint warning:
- # unused-direct-shlib-dependency /usr/lib/libformat.so.1.1.0 
/lib/libm.so.6.
- target_link_libraries(fmt -Wl,--as-needed)
Index: patches/patch-src_os_cc
===
RCS file: patches/patch-src_os_cc
diff -N patches/patch-src_os_cc
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_os_cc 20 Mar 2024 00:29:29 -
@@ -0,0 +1,24 @@
+Fix handling of the fileno macro
+38881e5acfbac830bdf68ad1c101ae420ac5bc92
+
+Index: src/os.cc
+--- src/os.cc.orig
 src/os.cc
+@@ -182,12 +182,12 @@ void buffered_file::close() {
+ }
+ 
+ int buffered_file::descriptor() const {
+-#if !defined(fileno)
++#ifdef FMT_HAS_SYSTEM
++  // fileno is a macro on OpenBSD.
++#  ifdef fileno
++#undef fileno
++#  endif
+   int fd = FMT_POSIX_CALL(fileno(file_));
+-#elif defined(FMT_HAS_SYSTEM)
+-  // fileno is a macro on OpenBSD so we cannot use FMT_POSIX_CALL.
+-#  define FMT_DISABLE_MACRO
+-  int fd = FMT_SYSTEM(fileno FMT_DISABLE_MACRO(file_));
+ #else
+   int fd = fileno(file_);
+ #endif
Index: patches/patch-test_gtest-extra-test_cc
===
RCS file: /cvs/ports/devel/fmt/patches/patch-test_gtest-extra-test_cc,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 patch-test_gtest-extra-test_cc
--- patches/patch-test_gtest-extra-test_cc  11 Mar 2022 18:50:03 -  
1.3
+++ patches/patch-test_gtest-extra-test_cc  20 Mar 2024 00:29:29 -
@@ -1,7 +1,7 @@
 Index: test/gtest-extra-test.cc
 --- test/gtest-extra-test.cc.orig
 +++ test/gtest-extra-test.cc
-@@ -345,6 +345,10 @@ TEST(output_redirect_test, flush_error_in_ctor) {
+@@ -347,6 +347,10 @@ TEST(output_redirect_test, flush_error_in_ctor) {
write_copy.dup2(write_fd);  // "undo" close or dtor will fail
  }
  
@@ -11,8 +11,8 @@ Index: test/gtest-extra-test.cc
 +// out for now while i work on figuring it out.
  TEST(output_redirect_test, dup_error_in_ctor) {
buffered_file f = open_buffered_file();
-   int fd = (f.fileno)();
-@@ -356,6 +360,7 @@ TEST(output_redirect_test, dup_error_in_cto

Re: UPDATE: fmt 10.2.1

2024-04-04 Thread Stuart Henderson
On 2024/04/04 17:19, Brad Smith wrote:
> Here is an update to fmt 10.2.1.

I tried 10.2.1 a few weeks ago (and an older one a month or two ago),
I think kn did as well. Various breakage in dependent ports.

> 
> https://raw.githubusercontent.com/fmtlib/fmt/master/ChangeLog.md
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/devel/fmt/Makefile,v
> retrieving revision 1.5
> diff -u -p -u -p -r1.5 Makefile
> --- Makefile  7 Jun 2022 11:40:17 -   1.5
> +++ Makefile  20 Mar 2024 00:29:29 -
> @@ -2,9 +2,9 @@ COMMENT=  alternative formatting library
>  
>  GH_ACCOUNT=  fmtlib
>  GH_PROJECT=  fmt
> -GH_TAGNAME=  8.1.1
> +GH_TAGNAME=  10.2.1
>  
> -SHARED_LIBS= fmt 1.1
> +SHARED_LIBS= fmt 2.0
>  
>  CATEGORIES=  devel
>  
> @@ -13,17 +13,11 @@ PERMIT_PACKAGE=   Yes
>  
>  # C++11
>  COMPILER=base-clang ports-gcc
> +
>  MODULES= devel/cmake
> -WANTLIB+=${COMPILER_LIBCXX}
>  
> +WANTLIB+=${COMPILER_LIBCXX} m
>  
>  CONFIGURE_ARGS+= -DBUILD_SHARED_LIBS=on
> -
> -# Fix undefined references to pthread_* symbols on clang+ld.bfd archs by
> -# disabling -Wl,--as-needed.
> -.include 
> -.if !${PROPERTIES:Mlld} && ${PROPERTIES:Mclang}
> -CONFIGURE_ARGS+= -DAS_NEEDED=off
> -.endif
>  
>  .include 
> Index: distinfo
> ===
> RCS file: /cvs/ports/devel/fmt/distinfo,v
> retrieving revision 1.3
> diff -u -p -u -p -r1.3 distinfo
> --- distinfo  7 Jun 2022 11:40:17 -   1.3
> +++ distinfo  20 Mar 2024 00:29:29 -
> @@ -1,2 +1,2 @@
> -SHA256 (fmt-8.1.1.tar.gz) = PXlNPPZ2M7NLJ3Hrnwc73ofoRuDTldJU33shHvHsc0Y=
> -SIZE (fmt-8.1.1.tar.gz) = 826254
> +SHA256 (fmt-10.2.1.tar.gz) = ElDkzFi/Bu5jFWdSP0iEjcRZYTPhY/AmFcl/eLq2yBE=
> +SIZE (fmt-10.2.1.tar.gz) = 854665
> Index: patches/patch-CMakeLists_txt
> ===
> RCS file: patches/patch-CMakeLists_txt
> diff -N patches/patch-CMakeLists_txt
> --- patches/patch-CMakeLists_txt  7 Jun 2022 11:40:17 -   1.4
> +++ /dev/null 1 Jan 1970 00:00:00 -
> @@ -1,24 +0,0 @@
> -Allow linking without '-Wl,--as-needed', fix the build on clang+ld.bfd archs.
> -It's needed to do it like this since target_link_libraries takes preference
> -over LDFLAGS.
> -
> -Index: CMakeLists.txt
>  CMakeLists.txt.orig
> -+++ CMakeLists.txt
> -@@ -72,6 +72,7 @@ set_verbose(FMT_INC_DIR ${CMAKE_INSTALL_INCLUDEDIR} CA
> - option(FMT_PEDANTIC "Enable extra warnings and expensive tests." OFF)
> - option(FMT_WERROR "Halt the compilation with an error on compiler warnings."
> -OFF)
> -+option(AS_NEEDED "Use -Wl,--as-needed for linking." ON)
> - 
> - # Options that control generation of various targets.
> - option(FMT_DOC "Generate the doc target." ${FMT_MASTER_PROJECT})
> -@@ -286,7 +287,7 @@ endif ()
> - 
> - if (BUILD_SHARED_LIBS)
> -   if (UNIX AND NOT APPLE AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "SunOS" AND
> --  NOT EMSCRIPTEN)
> -+  NOT EMSCRIPTEN AND AS_NEEDED)
> - # Fix rpmlint warning:
> - # unused-direct-shlib-dependency /usr/lib/libformat.so.1.1.0 
> /lib/libm.so.6.
> - target_link_libraries(fmt -Wl,--as-needed)
> Index: patches/patch-src_os_cc
> ===
> RCS file: patches/patch-src_os_cc
> diff -N patches/patch-src_os_cc
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ patches/patch-src_os_cc   20 Mar 2024 00:29:29 -
> @@ -0,0 +1,24 @@
> +Fix handling of the fileno macro
> +38881e5acfbac830bdf68ad1c101ae420ac5bc92
> +
> +Index: src/os.cc
> +--- src/os.cc.orig
>  src/os.cc
> +@@ -182,12 +182,12 @@ void buffered_file::close() {
> + }
> + 
> + int buffered_file::descriptor() const {
> +-#if !defined(fileno)
> ++#ifdef FMT_HAS_SYSTEM
> ++  // fileno is a macro on OpenBSD.
> ++#  ifdef fileno
> ++#undef fileno
> ++#  endif
> +   int fd = FMT_POSIX_CALL(fileno(file_));
> +-#elif defined(FMT_HAS_SYSTEM)
> +-  // fileno is a macro on OpenBSD so we cannot use FMT_POSIX_CALL.
> +-#  define FMT_DISABLE_MACRO
> +-  int fd = FMT_SYSTEM(fileno FMT_DISABLE_MACRO(file_));
> + #else
> +   int fd = fileno(file_);
> + #endif
> Index: patches/patch-test_gtest-extra-test_cc
> ===
> RCS file: /cvs/ports/devel/fmt/patches/patch-test_gtest-extra-test_cc,v
> retrieving revision 1.3
> diff -u -p -u -p -r1.3 patch-test_gtest-extra-test_cc
> --- patches/patch-test_gtest-extra-test_cc11 Mar 2022 18:50:03 -  
> 1.3
> +++ patches/patch-test_gtest-extra-test_cc20 Mar 2024 00:29:29 -
> @@ -1,7 +1,7 @@
>  Index: test/gtest-extra-test.cc
>  --- test/gtest-extra-test.cc.orig
>  +++ test/gtest-extra-test.cc
> -@@ -345,6 +345,10 @@ TEST(output_redirect_test, flush_error_in_ctor) {
> +@@ -347,6 +347,10 @@ TEST(output_redirect_

Re: UPDATE: fmt 10.2.1

2024-04-04 Thread Brad Smith

On 2024-04-04 5:49 p.m., Stuart Henderson wrote:

On 2024/04/04 17:19, Brad Smith wrote:

Here is an update to fmt 10.2.1.

I tried 10.2.1 a few weeks ago (and an older one a month or two ago),
I think kn did as well. Various breakage in dependent ports.


Which ones? I fixed MariaDB and OpenImageIO was an issue, part of why I 
updated it.


Not updating will start to become an issue as well.


Re: UPDATE: Dolphin 20230722

2024-04-04 Thread Brad Smith
On Thu, Apr 04, 2024 at 05:12:33PM -0400, Brad Smith wrote:
> On Thu, Apr 04, 2024 at 05:01:07PM -0400, Brad Smith wrote:
> > On Thu, Apr 04, 2024 at 05:54:52AM -0400, Brad Smith wrote:
> > > Here is an update to Dolphin 20230722 snapshot.
> > > 
> > > I thought I had sent this out.
> > > 
> > > This fixes the Minizip and mGBA build issues Klemens had pointed out.
> >  
> > I have converted the setup to using DIST_TUPLE.
> > 
> > More testing welcome.
>  
> Fix a typo.

Roll up to the latest code just before newer fmt is required.

 
Index: Makefile
===
RCS file: /cvs/ports/emulators/dolphin/Makefile,v
retrieving revision 1.19
diff -u -p -u -p -r1.19 Makefile
--- Makefile24 Apr 2023 11:40:38 -  1.19
+++ Makefile4 Apr 2024 23:41:15 -
@@ -1,69 +1,114 @@
 USE_WXNEEDED = Yes
-ONLY_FOR_ARCHS =   amd64
+ONLY_FOR_ARCHS =   aarch64 amd64
 
 COMMENT-main = Nintendo GameCube and Wii emulator with GUI
 COMMENT-nogui =Nintendo GameCube and Wii emulator
 
-V =5.0.0.20190621
-DISTNAME = dolphin-emu-${V}
-PKGNAME =  dolphin-${V}
-REVISION-main =4
-REVISION-nogui =   4
-
-MULTI_PACKAGES =   -main -nogui
-
-.include 
-
-GH_ACCOUNT =   dolphin-emu
-GH_PROJECT =   dolphin
-GH_COMMIT =981925a831e28d3967104e1a64dd8fa9b382660a
+PKGNAME =  dolphin-5.0.0.20230920
+DIST_TUPLE +=  github dolphin-emu dolphin \
+   c0f4825a97f7ee03f0e6242b4ddf1a6a1b13c8ef . # GPLv2
+
+# Externals/
+DIST_TUPLE +=  github dolphin-emu ext-win-qt \
+   495517af2b922c10c24f543e0fd6ea3ddf774e50 \
+   Externals/Qt# GPLv2
+DIST_TUPLE +=  github mgba-emu mgba \
+   008a6f3f237bb7cb86b43386cc5c160e97053704 \
+   Externals/mGBA/mgba # MPL
+DIST_TUPLE +=  github dolphin-emu ext-win-ffmpeg \
+   9bc087fbca36ce5a85eb4fd73f0c73813593e5a2 \
+   Externals/FFmpeg-bin# LGPLv2+
+DIST_TUPLE +=  github libusb libusb \
+   43107c84e4a5f6b15c296eff8cc3578100f35dce \
+   Externals/libusb/libusb # LGPLv2+
+DIST_TUPLE +=  github KhronosGroup SPIRV-Cross \
+   06407561ece7d7e78544112189f3eee13adf9959 \
+   Externals/spirv_cross/SPIRV-Cross   # Apache 2.0
+DIST_TUPLE +=  github libsdl-org SDL \
+   1fa6142903b88007c7b77d324ee78fad9966871a \
+   Externals/SDL/SDL   # Zlib
+DIST_TUPLE +=  github zlib-ng zlib-ng \
+   8026095224080a8c426d1b720d30a2851d13ea72 \
+   Externals/zlib-ng/zlib-ng   # Zlib
+DIST_TUPLE +=  github randy408 libspng \
+   adc94393dbeddf9e027d1b2dfff7c1bab975224e \
+   Externals/libspng/libspng   # BSD
+DIST_TUPLE +=  github GPUOpen-LibrariesAndSDKs VulkanMemoryAllocator \
+   5677097bafb8477097c6e3354ce68b7a44fd01a4 \
+   Externals/VulkanMemoryAllocator # MIT
+DIST_TUPLE +=  github mozilla cubeb \
+   67db4cbc18581c8a6d8ea935af9854ed9729e7a7 \
+   Externals/cubeb/cubeb   # ISC
+# slightly older implot to build with older Dolphin 
+DIST_TUPLE +=  github epezent implot \
+   85573fe04ad27f912074a2e7cde889fdf912b0c6 \
+   Externals/implot/implot # MIT
+DIST_TUPLE +=  github google googletest \
+   61db1e1740a828d9df94fd167a9eb4137cd6def2 \
+   Externals/gtest # BSD
+# slightly older rcheevos to build with older Dolphin
+DIST_TUPLE +=  github RetroAchievements rcheevos \
+   0cdc7f8e9592e0741c07729a34d49a55e6c5e290 \
+   Externals/rcheevos/rcheevos # MIT
+DIST_TUPLE +=  github bylaws libadrenotools \
+   deec5f75ee1a8ccbe32c8780b1d17284fc87b0f1 \
+   Externals/libadrenotools# BSD 
 
 CATEGORIES =   emulators
 
+MULTI_PACKAGES =   -main -nogui
+
 # GPLv2+
 PERMIT_PACKAGE =   Yes
 
 cWANTLIB = EGL GL GLU ICE SDL2 SM X11 Xext Xi Xrandr avcodec \
-   avformat avutil c curl hidapi-libusb iconv intl lzo2 \
-   m mbedcrypto mbedtls mbedx509 miniupnpc png pthread \
-   pugixml sfml-network sfml-system sndio swscale \
-   usb-1.0 z ${COMPILER_LIBCXX}
-
-WANTLIB-main = ${cWANTLIB} Qt5Core Qt5Gui Qt5Widgets
-WANTLIB-nogui =${cW

Re: UPDATE: games/minetest to 5.8.0

2024-04-04 Thread izder456
On Thu, 04 Apr 2024 22:47:29 +0200
izder456  wrote:

> On 2024-03-09 22:00, izder456 wrote:
> > On Tue, 5 Mar 2024 23:08:04 +0100
> > Fabien ROMANO  wrote:
> > 
> >> Hi izder,
> >> 
> >> On 04/03/2024 17:58, izder456 wrote:
> >> > Hello ports@,
> >> >
> >> > Attached is a tarball of the update.
> >> >
> >> > I took a line from FreeBSD's port system for gmp stuff, as we can
> >> > also use system gmp fine. I also patched a file so `getpid()` is
> >> > properly referenced from `unistd.h`. May be good to PR this patch
> >> > upstream?
> >> >
> >> > This port seems rather-ish complex, so I didn't do the DIST_TUPLE
> >> > stuff as I am no expert.
> >> >
> >> > OK to merge?
> >> >
> >> 
> >> There is what I have done on my side, feel free to use at your own.
> >> Not sure about gmp stuff from freebsd.
> >> It was weeks ago and I ran into grahic card issue so I did not test
> >> again.
> >> 
> >> I also added patches from lang/lua to the build (not needed ?)
> >> 
> >> [diff]
> >> 
> > 
> > Thanks for the lang/lua stuff, I needed to use
> > -DENABLE_LUAJIT=FALSE in the CONFIGURE_ARGS without them. Looks
> > like the default -DENABLE_LUAJIT=TRUE works fine here, just needed
> > a little patching. (CMake complains a little, but eh, whatevs)
> > 
> > I also swapped the DISTFILES to DIST_TUPLE here for simplicity's
> > sake. Thanks for the lang/lua tips.
> > 
> > attached is the diff with the above changes.
> > 
> > OK?
> 
> I am still looking to upgrade these. OK to merge?

Whoops, forgot to attach the .diff with all the changes, here:

-- 

-iz (they/them)

> i like to say mundane things, 
> there are too many uninteresting things 
> that go unnoticed.

izder456 (dot) neocities (dot) org
diff --git games/minetest/Makefile games/minetest/Makefile
index c359bb848..2cbfe429f 100644
--- games/minetest/Makefile
+++ games/minetest/Makefile
@@ -1,11 +1,14 @@
 COMMENT =		infinite-world block sandbox game
 
-V =			5.6.0
-GAME_V =		5.6.0
-IRRLICHTMT_V =		1.9.0mt7
+V =			5.8.0
+PKGNAME =	minetest-${V}
+
+DIST_TUPLE +=	github minetest minetest ${V} .
+DIST_TUPLE +=	github minetest irrlicht 1.9.0mt13 lib/irrlichtmt
+DIST_TUPLE +=	github minetest minetest_game 5.8.0 games/minetest_game
+
+CATEGORIES =	games x11
 
-DISTNAME =		minetest-${V}
-CATEGORIES =		games x11
 REVISION =		0
 
 HOMEPAGE =		https://www.minetest.net/
@@ -13,26 +16,17 @@ HOMEPAGE =		https://www.minetest.net/
 # source LGPLv2.1/ datas CC BY-SA 3.0
 PERMIT_PACKAGE =	Yes
 
-WANTLIB += ${COMPILER_LIBCXX} GL GLU ICE SM X11 Xext Xi c curl
-WANTLIB += curses form freetype gmp iconv intl jpeg jsoncpp lua5.1
-WANTLIB += m ogg openal png pq spatialindex sqlite3 vorbis vorbisfile
-WANTLIB += z zstd
+WANTLIB +=	${COMPILER_LIBCXX} GL GLU X11 Xi c curl curses form png
+WANTLIB +=	freetype gmp iconv intl jpeg jsoncpp luajit-5.1 m ogg
+WANTLIB +=	openal pq spatialindex sqlite3 vorbis vorbisfile z zstd
 
 COMPILER =		base-clang ports-gcc base-gcc
 
-SITES =			https://github.com/minetest/
-
-DISTFILES =		minetest-{minetest/archive/}${V}${EXTRACT_SUFX} \
-			minetest-game-{minetest_game/archive/}${GAME_V}${EXTRACT_SUFX} \
-			irrlichtmt-{irrlicht/archive/}${IRRLICHTMT_V}${EXTRACT_SUFX}
-
-MODULES =		devel/cmake \
-			lang/lua
+MODULES =		devel/cmake
 
 CONFIGURE_ARGS =	-DENABLE_GETTEXT=ON -DCUSTOM_MANDIR=${PREFIX}/man
 CONFIGURE_ARGS+=	-DENABLE_REDIS=FALSE -DENABLE_LEVELDB=FALSE
-CONFIGURE_ARGS+=	-DENABLE_SYSTEM_JSONCPP=TRUE -DENABLE_LUAJIT=FALSE
-CONFIGURE_ARGS+=	-DBUILD_SERVER=TRUE
+CONFIGURE_ARGS+=	-DENABLE_SYSTEM_JSONCPP=TRUE -DBUILD_SERVER=TRUE
 
 CXXFLAGS +=		-I${X11BASE}/include
 MODCMAKE_LDFLAGS =	-L${X11BASE}/lib -L${LOCALBASE}/lib
@@ -42,8 +36,8 @@ BUILD_DEPENDS =		devel/gettext,-tools
 RUN_DEPENDS =		devel/desktop-file-utils \
 			x11/gtk+4,-guic
 
-LIB_DEPENDS =		${MODLUA_LIB_DEPENDS} \
-			audio/openal \
+LIB_DEPENDS =		audio/openal \
+	lang/luajit \
 			audio/libvorbis \
 			archivers/zstd \
 			devel/gettext,-runtime \
@@ -60,18 +54,11 @@ TEST_DEPENDS =		${FULLPKGNAME}:${BUILD_PKGPATH}
 TEST_ENV +=		HOME=${WRKBUILD}/test \
 			LC_CTYPE="en_US.UTF-8"
 
-post-extract:
-	mv ${WRKDIR}/irrlicht-${IRRLICHTMT_V} \
-		${WRKSRC}/lib/irrlichtmt
-
-# Use system cmake modules
-post-patch:
-	rm ${WRKSRC}/cmake/Modules/FindLua*
-
 post-install:
-	mv ${WRKDIR}/minetest_game-${GAME_V}/ \
-		${PREFIX}/share/minetest/games/minetest_game
-	chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/minetest/games/minetest_game
+	mkdir -p ${PREFIX}/share/minetest/games
+	mv ${WRKDIST}/games \
+		${PREFIX}/share/minetest/
+	chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/minetest/gamesm/*
 
 do-test:
 	mkdir -p ${WRKBUILD}/test
diff --git games/minetest/distinfo games/minetest/distinfo
index 08f8f924f..1ac767a40 100644
--- games/minetest/distinfo
+++ games/minetest/distinfo
@@ -1,6 +1,6 @@
-SHA256 (irrlichtmt-1.9.0mt7.tar.gz) = wSzb1KhS4ebr97oieJqgV6Gn8tWF3YGiQSpi9XoOJhk=
-SHA256 (minetest-5.6.0.tar.gz) = P9vAyNn2oYwSlUugyu21SKIvNnUg9Z0HmASiHeA0epE=
-SHA256 (minetest-game-5.6.0.tar.gz) = /Zk

Re: UPDATE: libcares 1.28

2024-04-04 Thread Brad Smith

On 2024-03-30 6:00 p.m., Brad Smith wrote:

On Fri, Mar 29, 2024 at 02:58:53PM -0400, Brad Smith wrote:

Here is an update to libcares 1.28.0.


## c-ares version 1.28.0 - Mar 29 2024

This is a feature and bugfix release.

Features:

* Emit warnings when deprecated c-ares functions are used.  This can be
   disabled by passing a compiler definition of `CARES_NO_DEPRECATED`.
  [PR #732](https://github.com/c-ares/c-ares/pull/732)
* Add function `ares_search_dnrec()` to search for records using the new DNS
   record data structures. [PR #719](https://github.com/c-ares/c-ares/pull/719)
* Rework internals to pass around `ares_dns_record_t` instead of binary data,
   this introduces new public functions of `ares_query_dnsrec()` and
   `ares_send_dnsrec()`. [PR #730](https://github.com/c-ares/c-ares/pull/730)

Changes:

* tests: when performing simulated queries, reduce timeouts to make tests run
   faster
* Replace configuration file parsers with memory-safe parser.
  [PR #725](https://github.com/c-ares/c-ares/pull/725)
* Remove `acountry` completely, the manpage might still get installed otherwise.
  [Issue #718](https://github.com/c-ares/c-ares/pull/718)

Bugfixes:

* CMake: don't overwrite global required libraries/definitions/includes which
   could cause build errors for projects chain building c-ares.
  [Issue #729](https://github.com/c-ares/c-ares/issues/729)
* On some platforms, `netinet6/in6.h` is not included by `netinet/in.h`
   and needs to be included separately.
  [PR #728](https://github.com/c-ares/c-ares/pull/728)
* Fix a potential memory leak in `ares_init()`.
  [Issue #724](https://github.com/c-ares/c-ares/issues/724)
* Some platforms don't have the `isascii()` function.  Implement as a macro.
  [PR #721](https://github.com/c-ares/c-ares/pull/721)
* CMake: Fix Chain building if CMAKE runtime paths not set
* NDots configuration should allow a value of zero.
  [PR #735](https://github.com/c-ares/c-ares/pull/735)



ping.


Here is an update to libcares 1.28.1.


## c-ares version 1.28.1 - Mar 30 2024

This release contains a fix for a single significant regression introduced
in c-ares 1.28.0.

* `ares_search()` and `ares_getaddrinfo()` resolution fails if no search domains
   are specified. [Issue #737](https://github.com/c-ares/c-ares/issues/737)


Index: Makefile
===
RCS file: /cvs/ports/net/libcares/Makefile,v
retrieving revision 1.27
diff -u -p -u -p -r1.27 Makefile
--- Makefile23 Feb 2024 20:42:46 -  1.27
+++ Makefile30 Mar 2024 21:58:55 -
@@ -1,12 +1,12 @@
  COMMENT=  asynchronous resolver library
  
-V=		1.27.0

+V= 1.28.1
  DISTNAME= c-ares-${V}
  PKGNAME=  libcares-${V}
  CATEGORIES=   net devel
  SITES=${HOMEPAGE}download/
  
-SHARED_LIBS +=  cares3.5  # 8.1.6

+SHARED_LIBS +=  cares3.6  # 8.1.6
  
  HOMEPAGE=	https://c-ares.haxx.se/
  
@@ -19,7 +19,13 @@ WANTLIB+=	pthread
  
  MODULES=	devel/cmake
  
-CONFIGURE_ARGS+=-DCARES_BUILD_TOOLS=OFF \

+# C++
+COMPILER=  base-clang ports-gcc
+
+BUILD_DEPENDS+=devel/gtest
+
+CONFIGURE_ARGS+=-DCARES_BUILD_TESTS=ON \
+   -DCARES_BUILD_TOOLS=OFF \
-DCARES_STATIC=ON \
-DCARES_SYMBOL_HIDING=ON
  
Index: distinfo

===
RCS file: /cvs/ports/net/libcares/distinfo,v
retrieving revision 1.15
diff -u -p -u -p -r1.15 distinfo
--- distinfo23 Feb 2024 20:42:46 -  1.15
+++ distinfo30 Mar 2024 21:58:55 -
@@ -1,2 +1,2 @@
-SHA256 (c-ares-1.27.0.tar.gz) = CnK+ZpWZVcQ+KvL70DQY6Cor1UZGBOyaYhR+N6zrQgs=
-SIZE (c-ares-1.27.0.tar.gz) = 1301440
+SHA256 (c-ares-1.28.1.tar.gz) = Z1pp/FTdv0LmgwvGce62zYnuykOCjrQTJD/SwKdggJ0=
+SIZE (c-ares-1.28.1.tar.gz) = 1312102
Index: pkg/PLIST
===
RCS file: /cvs/ports/net/libcares/pkg/PLIST,v
retrieving revision 1.14
diff -u -p -u -p -r1.14 PLIST
--- pkg/PLIST   23 Feb 2024 20:42:46 -  1.14
+++ pkg/PLIST   30 Mar 2024 21:58:55 -
@@ -37,6 +37,7 @@ lib/pkgconfig/libcares.pc
  @man man/man3/ares_dns_record.3
  @man man/man3/ares_dns_record_create.3
  @man man/man3/ares_dns_record_destroy.3
+@man man/man3/ares_dns_record_duplicate.3
  @man man/man3/ares_dns_record_get_flags.3
  @man man/man3/ares_dns_record_get_id.3
  @man man/man3/ares_dns_record_get_opcode.3
@@ -44,10 +45,13 @@ lib/pkgconfig/libcares.pc
  @man man/man3/ares_dns_record_query_add.3
  @man man/man3/ares_dns_record_query_cnt.3
  @man man/man3/ares_dns_record_query_get.3
+@man man/man3/ares_dns_record_query_set_name.3
+@man man/man3/ares_dns_record_query_set_type.3
  @man man/man3/ares_dns_record_rr_add.3
  @man man/man3/ares_dns_record_rr_cnt.3
  @man man/man3/ares_dns_record_rr_del.3
  @man man/man3/ares_dns_record_rr_get.3
+@man man/man3/ares_dns_record_rr_get_const.3
  @man man/man3/ares_dns_rr.3
  @m

Re: UPDATE: fmt 10.2.1

2024-04-04 Thread Stuart Henderson
On 2024/04/04 17:52, Brad Smith wrote:
> On 2024-04-04 5:49 p.m., Stuart Henderson wrote:
> 
> On 2024/04/04 17:19, Brad Smith wrote:
> 
> Here is an update to fmt 10.2.1.
> 
> I tried 10.2.1 a few weeks ago (and an older one a month or two ago),
> I think kn did as well. Various breakage in dependent ports.
> 
> Which ones? I fixed MariaDB and OpenImageIO was an issue, part of why I 
> updated it.

At least one of the emulators and I *think* 0ad. I stopped building
after I saw problems in a few and not finding patches elsewhere for
them.

> Not updating will start to become an issue as well.

I know - I was trying to update it to attempt a port of simplomon which
needs a newer version.