På tirsdag 20. oktober 2026 kl. 01:09, skrev Thomas Frohwein <[email protected]>:
> Hi, > > To make wine more easily and widely usable, fabien@ put together this > port which I'm offering with his permission to add to ports. > > It includes winetricks, a well known script that can be used to add/fix > things that might be missing to execute some Windows programs. It also > includes a custom script 'wine-steam' which installs Steam in the > WINEPREFIX and then can also be used to launch it from there. > > There is a important thing to take care of for wine-steam: its process > opens an unusually high amount of files. I wasn't able to run it with > openfiles of 1024, and it required adjusting my login.conf(5) class to > allow for 2048 openfiles for this to succeed. I've been able to log > into Steam and download Elite Dangerous through it. And the game also > works by the way. > > ok? > Built/tested on current/amd64 with privsep. Got this far: $ cd /usr/ports/emulators/wine-extras/ && make build package port-lib-depends-check check-shlib-syms test clean && make distclean ===> Building from scratch wine-extras-20261017 ===> Checking files for wine-extras-20261017 `/usr/ports/distfiles/Winetricks-winetricks-20260125.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for wine-extras-20261017 ===> Patching for wine-extras-20261017 ===> Applying OpenBSD patch patch-src_winetricks Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/winetricks |--- src/winetricks.orig |+++ src/winetricks -------------------------- Patching file src/winetricks using Plan A... Hunk #1 succeeded at 4. Hunk #2 succeeded at 190. Hunk #3 succeeded at 902. done /usr/bin/perl /usr/ports/infrastructure/bin/pkg_subst -DARCH=amd64 -DBASE_PKGPATH=emulators/wine-extras -DFLAVOR_EXT= -DFULLPKGNAME=wine-extras-20261017 -DHOMEPAGE=https://github.com/Winetricks/winetricks -DLOCALBASE=/usr/local -DLOCALSTATEDIR=/var -DMACHINE_ARCH=amd64 -DMAINTAINER=Thomas\ Frohwein\ \<[email protected]\> -DPREFIX=/usr/local -DRCDIR=/etc/rc.d -DSYSCONFDIR=/etc -DTRUEPREFIX=/usr/local -DX11BASE=/usr/X11R6 -DPKGSTEM=wine-extras -i -B /usr/ports/pobj/wine-extras-20261017 /usr/ports/pobj/wine-extras-20261017/winetricks-20260125/src/winetricks ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for wine-extras-20261017 ===> Configuring for wine-extras-20261017 ===> Faking installation for wine-extras-20261017 /usr/ports/pobj/wine-extras-20261017/bin/install -c -m 755 /usr/ports/pobj/wine-extras-20261017/winetricks-20260125/src/winetricks /usr/ports/pobj/wine-extras-20261017/fake-amd64/usr/local/bin /usr/ports/pobj/wine-extras-20261017/bin/install -c -m 644 /usr/ports/pobj/wine-extras-20261017/winetricks-20260125/src/winetricks.1 /usr/ports/pobj/wine-extras-20261017/fake-amd64/usr/local/man/man1 /usr/ports/pobj/wine-extras-20261017/bin/install -d -m 755 /usr/ports/pobj/wine-extras-20261017/fake-amd64/usr/local/share/doc/winetricks /usr/ports/pobj/wine-extras-20261017/bin/install -c -m 644 /usr/ports/pobj/wine-extras-20261017/winetricks-20260125/COPYING /usr/ports/pobj/wine-extras-20261017/fake-amd64/usr/local/share/doc/winetricks /usr/bin/perl /usr/ports/infrastructure/bin/pkg_subst -DARCH=amd64 -DBASE_PKGPATH=emulators/wine-extras -DFLAVOR_EXT= -DFULLPKGNAME=wine-extras-20261017 -DHOMEPAGE=https://github.com/Winetricks/winetricks -DLOCALBASE=/usr/local -DLOCALSTATEDIR=/var -DMACHINE_ARCH=amd64 -DMAINTAINER=Thomas\ Frohwein\ \<[email protected]\> -DPREFIX=/usr/ports/pobj/wine-extras-20261017/fake-amd64/usr/local -DRCDIR=/etc/rc.d -DSYSCONFDIR=/etc -DTRUEPREFIX=/usr/local -DX11BASE=/usr/X11R6 -DPKGSTEM=wine-extras -i -B /usr/ports/pobj/wine-extras-20261017 -c -m 755 /usr/ports/emulators/wine-extras/files/wine-steam /usr/ports/pobj/wine-extras-20261017/fake-amd64/usr/local/bin/wine-steam #/usr/bin/perl /usr/ports/infrastructure/bin/pkg_subst -DARCH=amd64 -DBASE_PKGPATH=emulators/wine-extras -DFLAVOR_EXT= -DFULLPKGNAME=wine-extras-20261017 -DHOMEPAGE=https://github.com/Winetricks/winetricks -DLOCALBASE=/usr/local -DLOCALSTATEDIR=/var -DMACHINE_ARCH=amd64 -DMAINTAINER=Thomas\ Frohwein\ \<[email protected]\> -DPREFIX=/usr/ports/pobj/wine-extras-20261017/fake-amd64/usr/local -DRCDIR=/etc/rc.d -DSYSCONFDIR=/etc -DTRUEPREFIX=/usr/local -DX11BASE=/usr/X11R6 -DPKGSTEM=wine-extras -i -B /usr/ports/pobj/wine-extras-20261017 -c -m 755 /usr/ports/emulators/wine-extras/files/wine-gog /usr/ports/pobj/wine-extras-20261017/fake-amd64/usr/local/bin/wine-gog Installing /usr/ports/emulators/wine-extras/pkg/README as /usr/ports/pobj/wine-extras-20261017/fake-amd64/usr/local/share/doc/pkg-readmes/wine-extras ===> Building package for wine-extras-20261017 Create /usr/ports/packages/amd64/all/wine-extras-20261017.tgz Creating package wine-extras-20261017 checksumming|************************************************************************************************************************************************************ | 75% Error: /usr/ports/pobj/wine-extras-20261017/fake-amd64/usr/local/bin/wine-gog does not exist pkg_create: can't continue *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2251 '/usr/ports/packages/amd64/all/wine-extras-20261017.tgz': @trap "cd /usr/por...) *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2750 '_internal-package': @case X${_DEPENDS_CACHE} in X) _DEPENDS_CACHE=$(doas -...) *** Error 2 in /usr/ports/emulators/wine-extras (/usr/ports/infrastructure/mk/bsd.port.mk:2729 'package': @lock=wine-extras-20261017; expor...) -- Sorry if I could have cut this down some. Saw this line commented in Makefile: #${SUBST_PROGRAM} ${FILESDIR}/wine-gog ${PREFIX}/bin/wine-gog It built after uncommenting and doing a make clean before building/packaging again. Runs fine on foot on sway. Thanks for the Readme and this port you all. Hope this helps. Well wishes. -- yaydn
