Index | Thread | Search

From:
Johannes Thyssen Tishman <jtt@openbsd.org>
Subject:
Re: [update] devel/lutok 0.4 -> 0.6.3
To:
ports@openbsd.org, Sergey Bronnikov <estetus@gmail.com>
Date:
Fri, 25 Sep 2026 14:58:41 +0000

Download raw body.

Thread
2026-09-25T14:53:02+0000 Johannes Thyssen Tishman <jtt@openbsd.org>:
> Please find below an update for devel/lutok to version 0.6.3.
> Cc'd MAINTAINER.
> 
> Changelog: https://github.com/freebsd/lutok/blob/master/NEWS.md
> 
> Notes about this update:
> 1. No REVISION bump due to no dynamic export changes

... and of course I meant SHARED_LIB here :)

> 2. Specifying -std in CXXFLAGS_base-clang doesn't seem necessary
>    anymore. C++20 is required since version 0.6.2.
> 3. Use ${FULLPKGNAME}:${BUILD_PKGPATH} to avoid matching older port
>    versions
> 4. Both devel/atf and devel/kyua don't seem necessary in LIB_DEPENDS
>    anymore
> 
> Index: devel/lutok/Makefile
> ===================================================================
> RCS file: /cvs/ports/devel/lutok/Makefile,v
> diff -u -p -r1.13 Makefile
> --- devel/lutok/Makefile	17 Nov 2023 18:09:58 -0000	1.13
> +++ devel/lutok/Makefile	25 Sep 2026 14:23:02 -0000
> @@ -1,38 +1,33 @@
>  COMMENT =		lightweight C++ API for Lua
> -DISTNAME =		lutok-0.4
> -REVISION =		3
> +DISTNAME =		lutok-0.6.3
>  
>  SHARED_LIBS +=		lutok                     0.0 # 2.0
>  CATEGORIES =		devel
> -HOMEPAGE =		https://github.com/jmmv/lutok/
> +HOMEPAGE =		https://github.com/freebsd/lutok/
>  
>  MAINTAINER =		Sergey Bronnikov <estetus@gmail.com>
>  
>  # BSD
>  PERMIT_PACKAGE =	Yes
>  
> -WANTLIB += atf-c atf-c++ c ${MODLUA_WANTLIB} m ${COMPILER_LIBCXX}
> +WANTLIB +=		${MODLUA_WANTLIB} m ${COMPILER_LIBCXX}
>  
> -SITES =		https://github.com/jmmv/lutok/releases/download/${DISTNAME}/
> +SITES =			${HOMEPAGE}/releases/download/${DISTNAME}/
>  
>  COMPILER =		base-clang ports-gcc base-gcc
> -CXXFLAGS_base-clang =	-std=gnu++14
>  
>  MODULES =		lang/lua
> +MODLUA_VERSION =	5.4
>  MODLUA_SA =		Yes
>  
> -LIB_DEPENDS =		devel/atf
> -
> -TEST_DEPENDS =		devel/kyua-cli
> +# Test if files are installed correctly
> +TEST_DEPENDS =		${FULLPKGNAME}:${BUILD_PKGPATH}
> +TEST_TARGET =		installcheck
>  
>  CONFIGURE_STYLE  =	gnu
> -CONFIGURE_ARGS =	--without-doxygen
> +CONFIGURE_ARGS =	--with-doxygen=no
>  CONFIGURE_ENV =		LUA_CFLAGS="`pkg-config --cflags ${MODLUA_DEP}`" \
>  			LUA_LIBS="`pkg-config --libs ${MODLUA_DEP}`"
> -
> -# Install the package and use the following TEST_TARGET if you want to
> -# perform the tests on the installed files.
> -#TEST_TARGET =		installcheck
>  
>  PORTHOME =		${WRKDIR}
>  
> Index: devel/lutok/distinfo
> ===================================================================
> RCS file: /cvs/ports/devel/lutok/distinfo,v
> diff -u -p -r1.1.1.1 distinfo
> --- devel/lutok/distinfo	16 Mar 2014 11:26:21 -0000	1.1.1.1
> +++ devel/lutok/distinfo	25 Sep 2026 14:23:02 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (lutok-0.4.tar.gz) = LOxR76DI1lrOiyHqoIOEt3q8UIe0bnhfeN4cIft1TNU=
> -SIZE (lutok-0.4.tar.gz) = 489570
> +SHA256 (lutok-0.6.3.tar.gz) = XzP9+L42wtlbhmlH/0mqSpD/1vEKYXLZ7ZJD9qa0Lxg=
> +SIZE (lutok-0.6.3.tar.gz) = 627534
> Index: devel/lutok/patches/patch-configure
> ===================================================================
> RCS file: /cvs/ports/devel/lutok/patches/patch-configure,v
> diff -u -p -r1.2 patch-configure
> --- devel/lutok/patches/patch-configure	11 Mar 2022 18:50:47 -0000	1.2
> +++ devel/lutok/patches/patch-configure	25 Sep 2026 14:23:02 -0000
> @@ -1,7 +1,8 @@
>  Don't clutter build logs.
> ---- configure.orig	Sat Dec  7 20:14:13 2013
> -+++ configure	Fri Jan 24 16:13:42 2014
> -@@ -15377,7 +15377,6 @@ fi
> +Index: configure
> +--- configure.orig
> ++++ configure
> +@@ -20933,7 +20933,6 @@ fi
>                        -Wcast-qual \
>                        -Wextra \
>                        -Wpointer-arith \
> @@ -9,3 +10,23 @@ Don't clutter build logs.
>                        -Wreturn-type \
>                        -Wshadow \
>                        -Wsign-compare \
> +@@ -22122,19 +22121,6 @@ fi
> +             break
> +         fi
> +     done
> +-
> +-    if test "${lua_found}" = no
> +-then :
> +-
> +-else case e in #(
> +-  e)
> +-        LUA_CFLAGS=$(${PKG_CONFIG} --cflags ${lua_found})
> +-
> +-        LUA_LIBS=$(${PKG_CONFIG} --libs ${lua_found})
> +-
> +-         ;;
> +-esac
> +-fi
> + 
> +     if test "${lua_found}" = no
> + then :
> Index: devel/lutok/pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/devel/lutok/pkg/PLIST,v
> diff -u -p -r1.2 PLIST
> --- devel/lutok/pkg/PLIST	11 Mar 2022 18:50:47 -0000	1.2
> +++ devel/lutok/pkg/PLIST	25 Sep 2026 14:23:02 -0000
> @@ -7,7 +7,7 @@ include/lutok/stack_cleaner.hpp
>  include/lutok/state.hpp
>  include/lutok/state.ipp
>  include/lutok/test_utils.hpp
> -lib/liblutok.a
> +@static-lib lib/liblutok.a
>  lib/liblutok.la
>  @lib lib/liblutok.so.${LIBlutok_VERSION}
>  lib/pkgconfig/lutok.pc
> @@ -15,57 +15,60 @@ share/doc/lutok/
>  share/doc/lutok/AUTHORS
>  share/doc/lutok/COPYING
>  share/doc/lutok/NEWS
> -share/doc/lutok/README
> -share/doc/lutok/a00001.html
> -share/doc/lutok/a00002.html
> -share/doc/lutok/a00002.png
> -share/doc/lutok/a00003.html
> -share/doc/lutok/a00004.html
> -share/doc/lutok/a00005.html
> -share/doc/lutok/a00005.png
> -share/doc/lutok/a00006.html
> -share/doc/lutok/a00006.png
> -share/doc/lutok/a00007.html
> -share/doc/lutok/a00008.html
> -share/doc/lutok/a00009.html
> -share/doc/lutok/a00010.html
> +share/doc/lutok/README.md
>  share/doc/lutok/a00011.html
> -share/doc/lutok/a00013.html
> -share/doc/lutok/a00013_source.html
> -share/doc/lutok/a00016.html
> -share/doc/lutok/a00016_source.html
> -share/doc/lutok/a00019.html
> -share/doc/lutok/a00019_source.html
> -share/doc/lutok/a00022.html
> -share/doc/lutok/a00022_source.html
> -share/doc/lutok/a00025.html
> -share/doc/lutok/a00025_source.html
> -share/doc/lutok/a00028.html
> -share/doc/lutok/a00028_source.html
> -share/doc/lutok/a00031.html
> -share/doc/lutok/a00031_source.html
> -share/doc/lutok/a00032.html
> -share/doc/lutok/a00033.html
> -share/doc/lutok/a00034.html
> +share/doc/lutok/a00011_source.html
> +share/doc/lutok/a00014.html
> +share/doc/lutok/a00014_source.html
> +share/doc/lutok/a00020.html
> +share/doc/lutok/a00020_source.html
> +share/doc/lutok/a00023.html
> +share/doc/lutok/a00023_source.html
>  share/doc/lutok/a00035.html
> -share/doc/lutok/a00039.html
> -share/doc/lutok/a00040.html
> -share/doc/lutok/a00041.html
> -share/doc/lutok/a00042.html
> -share/doc/lutok/a00043.html
> -share/doc/lutok/a00044.html
> -share/doc/lutok/a00045.html
> -share/doc/lutok/a00046.html
> -share/doc/lutok/a00047.html
> -share/doc/lutok/a00048.html
> -share/doc/lutok/a00049.html
> +share/doc/lutok/a00035_source.html
> +share/doc/lutok/a00050.html
> +share/doc/lutok/a00050_source.html
> +share/doc/lutok/a00056.html
> +share/doc/lutok/a00056_source.html
> +share/doc/lutok/a00064.html
> +share/doc/lutok/a00065.html
> +share/doc/lutok/a00066.html
> +share/doc/lutok/a00067.html
> +share/doc/lutok/a00880.html
> +share/doc/lutok/a00883.html
> +share/doc/lutok/a00884.html
> +share/doc/lutok/a00887.html
> +share/doc/lutok/a00888.html
> +share/doc/lutok/a00891.html
> +share/doc/lutok/a00892.html
> +share/doc/lutok/a00895.html
> +share/doc/lutok/a00895.png
> +share/doc/lutok/a00896.html
> +share/doc/lutok/a00899.html
> +share/doc/lutok/a00899.png
> +share/doc/lutok/a00900.html
> +share/doc/lutok/a00903.html
> +share/doc/lutok/a00903.png
> +share/doc/lutok/a00904.html
> +share/doc/lutok/a00907.html
> +share/doc/lutok/a00908.html
> +share/doc/lutok/a00911.html
> +share/doc/lutok/a00912.html
> +share/doc/lutok/a00915.html
> +share/doc/lutok/a00916.html
> +share/doc/lutok/a00919.html
> +share/doc/lutok/a00920.html
> +share/doc/lutok/a00923.html
>  share/doc/lutok/annotated.html
>  share/doc/lutok/bc_s.png
> +share/doc/lutok/bc_sd.png
>  share/doc/lutok/bdwn.png
>  share/doc/lutok/classes.html
>  share/doc/lutok/closed.png
> +share/doc/lutok/doc.png
> +share/doc/lutok/docd.png
>  share/doc/lutok/doxygen.css
> -share/doc/lutok/doxygen.png
> +share/doc/lutok/doxygen.svg
>  share/doc/lutok/dynsections.js
>  share/doc/lutok/examples/
>  share/doc/lutok/examples/Makefile
> @@ -74,22 +77,8 @@ share/doc/lutok/examples/hello.cpp
>  share/doc/lutok/examples/interpreter.cpp
>  share/doc/lutok/examples/raii.cpp
>  share/doc/lutok/files.html
> -share/doc/lutok/ftv2blank.png
> -share/doc/lutok/ftv2cl.png
> -share/doc/lutok/ftv2doc.png
> -share/doc/lutok/ftv2folderclosed.png
> -share/doc/lutok/ftv2folderopen.png
> -share/doc/lutok/ftv2lastnode.png
> -share/doc/lutok/ftv2link.png
> -share/doc/lutok/ftv2mlastnode.png
> -share/doc/lutok/ftv2mnode.png
> -share/doc/lutok/ftv2mo.png
> -share/doc/lutok/ftv2node.png
> -share/doc/lutok/ftv2ns.png
> -share/doc/lutok/ftv2plastnode.png
> -share/doc/lutok/ftv2pnode.png
> -share/doc/lutok/ftv2splitbar.png
> -share/doc/lutok/ftv2vertline.png
> +share/doc/lutok/folderclosed.png
> +share/doc/lutok/folderopen.png
>  share/doc/lutok/functions.html
>  share/doc/lutok/functions_func.html
>  share/doc/lutok/functions_vars.html
> @@ -98,144 +87,93 @@ share/doc/lutok/globals_defs.html
>  share/doc/lutok/hierarchy.html
>  share/doc/lutok/index.html
>  share/doc/lutok/jquery.js
> +share/doc/lutok/menu.js
> +share/doc/lutok/menudata.js
>  share/doc/lutok/namespacemembers.html
>  share/doc/lutok/namespacemembers_func.html
>  share/doc/lutok/namespaces.html
>  share/doc/lutok/nav_f.png
> +share/doc/lutok/nav_fd.png
>  share/doc/lutok/nav_g.png
>  share/doc/lutok/nav_h.png
> +share/doc/lutok/nav_hd.png
>  share/doc/lutok/open.png
>  share/doc/lutok/search/
> -share/doc/lutok/search/all_5f.html
> -share/doc/lutok/search/all_5f.js
> -share/doc/lutok/search/all_61.html
> -share/doc/lutok/search/all_61.js
> -share/doc/lutok/search/all_63.html
> -share/doc/lutok/search/all_63.js
> -share/doc/lutok/search/all_64.html
> -share/doc/lutok/search/all_64.js
> -share/doc/lutok/search/all_65.html
> -share/doc/lutok/search/all_65.js
> -share/doc/lutok/search/all_66.html
> -share/doc/lutok/search/all_66.js
> -share/doc/lutok/search/all_67.html
> -share/doc/lutok/search/all_67.js
> -share/doc/lutok/search/all_68.html
> -share/doc/lutok/search/all_68.js
> -share/doc/lutok/search/all_69.html
> -share/doc/lutok/search/all_69.js
> -share/doc/lutok/search/all_6c.html
> -share/doc/lutok/search/all_6c.js
> -share/doc/lutok/search/all_6e.html
> -share/doc/lutok/search/all_6e.js
> -share/doc/lutok/search/all_6f.html
> -share/doc/lutok/search/all_6f.js
> -share/doc/lutok/search/all_70.html
> -share/doc/lutok/search/all_70.js
> -share/doc/lutok/search/all_72.html
> -share/doc/lutok/search/all_72.js
> -share/doc/lutok/search/all_73.html
> -share/doc/lutok/search/all_73.js
> -share/doc/lutok/search/all_74.html
> -share/doc/lutok/search/all_74.js
> -share/doc/lutok/search/all_75.html
> -share/doc/lutok/search/all_75.js
> -share/doc/lutok/search/all_77.html
> -share/doc/lutok/search/all_77.js
> -share/doc/lutok/search/all_7e.html
> -share/doc/lutok/search/all_7e.js
> -share/doc/lutok/search/classes_61.html
> -share/doc/lutok/search/classes_61.js
> -share/doc/lutok/search/classes_64.html
> -share/doc/lutok/search/classes_64.js
> -share/doc/lutok/search/classes_65.html
> -share/doc/lutok/search/classes_65.js
> -share/doc/lutok/search/classes_66.html
> -share/doc/lutok/search/classes_66.js
> -share/doc/lutok/search/classes_69.html
> -share/doc/lutok/search/classes_69.js
> -share/doc/lutok/search/classes_73.html
> -share/doc/lutok/search/classes_73.js
> -share/doc/lutok/search/close.png
> -share/doc/lutok/search/defines_72.html
> -share/doc/lutok/search/defines_72.js
> -share/doc/lutok/search/files_63.html
> -share/doc/lutok/search/files_63.js
> -share/doc/lutok/search/files_64.html
> -share/doc/lutok/search/files_64.js
> -share/doc/lutok/search/files_65.html
> -share/doc/lutok/search/files_65.js
> -share/doc/lutok/search/files_6f.html
> -share/doc/lutok/search/files_6f.js
> -share/doc/lutok/search/files_73.html
> -share/doc/lutok/search/files_73.js
> -share/doc/lutok/search/files_74.html
> -share/doc/lutok/search/files_74.js
> -share/doc/lutok/search/functions_61.html
> -share/doc/lutok/search/functions_61.js
> -share/doc/lutok/search/functions_63.html
> -share/doc/lutok/search/functions_63.js
> -share/doc/lutok/search/functions_64.html
> -share/doc/lutok/search/functions_64.js
> -share/doc/lutok/search/functions_65.html
> -share/doc/lutok/search/functions_65.js
> -share/doc/lutok/search/functions_66.html
> -share/doc/lutok/search/functions_66.js
> -share/doc/lutok/search/functions_67.html
> -share/doc/lutok/search/functions_67.js
> -share/doc/lutok/search/functions_68.html
> -share/doc/lutok/search/functions_68.js
> -share/doc/lutok/search/functions_69.html
> -share/doc/lutok/search/functions_69.js
> -share/doc/lutok/search/functions_6c.html
> -share/doc/lutok/search/functions_6c.js
> -share/doc/lutok/search/functions_6e.html
> -share/doc/lutok/search/functions_6e.js
> -share/doc/lutok/search/functions_6f.html
> -share/doc/lutok/search/functions_6f.js
> -share/doc/lutok/search/functions_70.html
> -share/doc/lutok/search/functions_70.js
> -share/doc/lutok/search/functions_72.html
> -share/doc/lutok/search/functions_72.js
> -share/doc/lutok/search/functions_73.html
> -share/doc/lutok/search/functions_73.js
> -share/doc/lutok/search/functions_74.html
> -share/doc/lutok/search/functions_74.js
> -share/doc/lutok/search/functions_75.html
> -share/doc/lutok/search/functions_75.js
> -share/doc/lutok/search/functions_77.html
> -share/doc/lutok/search/functions_77.js
> -share/doc/lutok/search/functions_7e.html
> -share/doc/lutok/search/functions_7e.js
> -share/doc/lutok/search/mag_sel.png
> -share/doc/lutok/search/namespaces_61.html
> -share/doc/lutok/search/namespaces_61.js
> -share/doc/lutok/search/nomatches.html
> +share/doc/lutok/search/all_0.js
> +share/doc/lutok/search/all_1.js
> +share/doc/lutok/search/all_10.js
> +share/doc/lutok/search/all_11.js
> +share/doc/lutok/search/all_12.js
> +share/doc/lutok/search/all_2.js
> +share/doc/lutok/search/all_3.js
> +share/doc/lutok/search/all_4.js
> +share/doc/lutok/search/all_5.js
> +share/doc/lutok/search/all_6.js
> +share/doc/lutok/search/all_7.js
> +share/doc/lutok/search/all_8.js
> +share/doc/lutok/search/all_9.js
> +share/doc/lutok/search/all_a.js
> +share/doc/lutok/search/all_b.js
> +share/doc/lutok/search/all_c.js
> +share/doc/lutok/search/all_d.js
> +share/doc/lutok/search/all_e.js
> +share/doc/lutok/search/all_f.js
> +share/doc/lutok/search/classes_0.js
> +share/doc/lutok/search/classes_1.js
> +share/doc/lutok/search/classes_2.js
> +share/doc/lutok/search/classes_3.js
> +share/doc/lutok/search/classes_4.js
> +share/doc/lutok/search/classes_5.js
> +share/doc/lutok/search/close.svg
> +share/doc/lutok/search/defines_0.js
> +share/doc/lutok/search/files_0.js
> +share/doc/lutok/search/files_1.js
> +share/doc/lutok/search/files_2.js
> +share/doc/lutok/search/files_3.js
> +share/doc/lutok/search/files_4.js
> +share/doc/lutok/search/files_5.js
> +share/doc/lutok/search/functions_0.js
> +share/doc/lutok/search/functions_1.js
> +share/doc/lutok/search/functions_10.js
> +share/doc/lutok/search/functions_11.js
> +share/doc/lutok/search/functions_2.js
> +share/doc/lutok/search/functions_3.js
> +share/doc/lutok/search/functions_4.js
> +share/doc/lutok/search/functions_5.js
> +share/doc/lutok/search/functions_6.js
> +share/doc/lutok/search/functions_7.js
> +share/doc/lutok/search/functions_8.js
> +share/doc/lutok/search/functions_9.js
> +share/doc/lutok/search/functions_a.js
> +share/doc/lutok/search/functions_b.js
> +share/doc/lutok/search/functions_c.js
> +share/doc/lutok/search/functions_d.js
> +share/doc/lutok/search/functions_e.js
> +share/doc/lutok/search/functions_f.js
> +share/doc/lutok/search/mag.svg
> +share/doc/lutok/search/mag_d.svg
> +share/doc/lutok/search/mag_sel.svg
> +share/doc/lutok/search/mag_seld.svg
> +share/doc/lutok/search/namespaces_0.js
>  share/doc/lutok/search/search.css
>  share/doc/lutok/search/search.js
> -share/doc/lutok/search/search_l.png
> -share/doc/lutok/search/search_m.png
> -share/doc/lutok/search/search_r.png
> -share/doc/lutok/search/variables_5f.html
> -share/doc/lutok/search/variables_5f.js
> -share/doc/lutok/search/variables_6c.html
> -share/doc/lutok/search/variables_6c.js
> -share/doc/lutok/search/variables_6f.html
> -share/doc/lutok/search/variables_6f.js
> -share/doc/lutok/search/variables_73.html
> -share/doc/lutok/search/variables_73.js
> +share/doc/lutok/search/searchdata.js
> +share/doc/lutok/search/typedefs_0.js
> +share/doc/lutok/search/variables_0.js
> +share/doc/lutok/search/variables_1.js
> +share/doc/lutok/search/variables_2.js
> +share/doc/lutok/search/variables_3.js
> +share/doc/lutok/search/variables_4.js
> +share/doc/lutok/splitbar.png
> +share/doc/lutok/splitbard.png
> +share/doc/lutok/sync_off.png
> +share/doc/lutok/sync_on.png
>  share/doc/lutok/tab_a.png
> +share/doc/lutok/tab_ad.png
>  share/doc/lutok/tab_b.png
> +share/doc/lutok/tab_bd.png
>  share/doc/lutok/tab_h.png
> +share/doc/lutok/tab_hd.png
>  share/doc/lutok/tab_s.png
> +share/doc/lutok/tab_sd.png
>  share/doc/lutok/tabs.css
> -tests/
> -tests/lutok/
> -tests/lutok/Kyuafile
> -@bin tests/lutok/c_gate_test
> -@bin tests/lutok/debug_test
> -tests/lutok/examples_test
> -@bin tests/lutok/exceptions_test
> -@bin tests/lutok/operations_test
> -@bin tests/lutok/stack_cleaner_test
> -@bin tests/lutok/state_test
>