Stuart Henderson wrote: > On 2026/06/11 16:55, Stuart Cassoff wrote: >> On Thu, 11 Jun 2026, Chris Billington wrote: >> >>> The present databases/sqlite3-tcl port is built with MODTCL_VERSION = 8.6, >>> producing /usr/local/lib/tcl/sqlite3/libsqlite3513.so >> >> >> With recent Tcl build systems and Tcl 9 we can build Tcl 8 extensions. >> This gives everything in one package, with the downside of two Tcl deps. >> >> >> Stu >> >> >> >> diff -Nurp /usr/ports/databases/sqlite3-tcl/Makefile ./Makefile >> --- /usr/ports/databases/sqlite3-tcl/Makefile Thu May 14 22:51:47 2026 >> +++ ./Makefile Thu Jun 11 09:30:11 2026 >> @@ -1,5 +1,7 @@ >> COMMENT = Tcl bindings for SQLite3 >> >> +REVISION = 0 >> + >> V = 3.53.0 >> >> DISTNAME = sqlite${V} >> @@ -19,11 +21,13 @@ SITES = ${SITE_SOURCEFORGE:=tcl/} >> DISTFILES = tclsqlite{sqlite}${V}${EXTRACT_SUFX} >> >> MODULES = lang/tcl >> -MODTCL_VERSION = 8.6 >> +MODTCL_VERSION = 9 >> >> BUILD_DEPENDS = ${MODTCL_BUILD_DEPENDS} >> -RUN_DEPENDS = ${MODTCL_RUN_DEPENDS} >> >> +RUN_DEPENDS = ${MODTCL_RUN_DEPENDS} \ >> + lang/tcl/8.6 >> + >> FAKE_FLAGS = PKG_DIR=sqlite3 >> SEPARATE_BUILD = Yes >> CONFIGURE_STYLE = gnu >> @@ -45,5 +49,13 @@ VER = ${V:S/.//g} >> >> pre-configure: >> @${MODTCL_TCLSH_ADJ} ${WRKSRC}/compat/sqlite3/spaceanal.tcl >> + >> +post-install: >> + cd ${WRKBUILD} && umask 022 && exec \ >> + env -i ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} \ >> + -f ${MAKE_FILE} clean ${ALL_TARGET} \ >> + CPPFLAGS='-DTCL_MAJOR_VERSION=8' \ >> + PKG_LIB_FILE=libsqlite${VER}.so >> + ${INSTALL_DATA} ${WRKBUILD}/libsqlite${VER}.so ${DESTDIR}${MODTCL_TCLDIR}/sqlite3/ > > I'm not the biggest fan of a build stage in post-install, but it's > probably better than other options here. > > nitpicking, but could you indent the lines after \ please? > > post-install: > cd ${WRKBUILD} && umask 022 && exec \ > env -i ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} \ > -f ${MAKE_FILE} clean ${ALL_TARGET} \ > CPPFLAGS='-DTCL_MAJOR_VERSION=8' \ > PKG_LIB_FILE=libsqlite${VER}.so > ${INSTALL_DATA} ${WRKBUILD}/libsqlite${VER}.so ${DESTDIR}${MODTCL_TCLDIR}/sqlite3/ > > ok > If the formatting could be corrected, would anyone like to give a second OK? Chris
OpenBSD Mail Box
BTC:1BsNfN6m7xtT4PqDb9jJHnDDFBb38zS9Yi
Tuesday, June 16, 2026
Re: New: audio/tuner: browse and play internet radio streams
On 2026/06/16 14:38, Chris Billington wrote: > Attached: audio/tuner internet radio browser/player that can also play video > streams in mpv > > Upstream: https://github.com/tuner-labs/tuner > > Rationale: > - existing port audio/gradio has not been maintained since 2019 and has > unpleasant bugs switching streams that will presumably never be fixed. > > - existing port audio/curseradio (ncurses) currently fails to start with an > OPML browsing error > > - Tuner upstream has 27 contributors and seems to be actively maintained. > > After patching a mutex lock/unlock issue the port tests fine on 7.9-stable. > Patch submitted upstream. > > To play AAC streams gst-libav is an optional dependency. I wasn't sure how > to best handle this. > > Testers on 7.9-current welcome, unfortunately I don't have a machine with > -current handy. > > Looking for comments and OK's, am happy to take maintainer. > > Chris : GH_TAGNAME = v2.1.0 : GH_ACCOUNT = tuner-labs : GH_PROJECT = tuner : DISTNAME = ${GH_PROJECT:L}-${GH_TAGNAME:S/^v//} : #EPOCH = 0 : #REVISION = 0 the DISTNAME line is doing nothing, it just sets it to the same string used by default, so drop it, along with #EPOCH/REVISION : # GPLv3 files have "SPDX-License-Identifier: GPL-3.0-or-later" so please write GPLv3+ : WANTLIB += c execinfo gdk-3 gdk_pixbuf-2.0 gee-0.8 : WANTLIB += gio-2.0 glib-2.0 gobject-2.0 gstplayer-1.0 gstreamer-1.0 : WANTLIB += gtk-3 intl json-glib-1.0 pango-1.0 : WANTLIB += soup-3.0 : : LIB_DEPENDS = devel/json-glib \ : devel/libgee \ : devel/libsoup3 \ : multimedia/gstreamer1/plugins-bad \ : x11/gtk+3 just use tabs rather than a mix of tabs and spaces : LDFLAGS = L${LOCALBASE}/lib : LDFLAGS += -lexecinfo this is doing nothing, the LDFLAGS make variable is not passed in to the build : -meson.add_install_script ( : - glib_compile_schemas, : - schemas_dir, : - install_tag: 'schemas' : -) : +#meson.add_install_script ( : +# glib_compile_schemas, : +# schemas_dir, : +# install_tag: 'schemas' : +#) this patch is a bit unclear and makes it looks like it's disabling install of schemas (which is wrong), but actually it's disabling a bogus schema compile job. updated tgz attached (so far I've only built, not run it).