[ITA] libsigc3.0

Philippe Baril Lecavalier pbl.ltx@gmail.com
Tue May 27 16:25:57 GMT 2025


libsigc3.0 3.0.3 (2020) -> 3.6.0 (2023)

Similar business to libsigc2.0, another parallel-installable ABI. Same 
issue with Doxygen but we have established a decent workaround. I 
thought I tested and sorted it out a while ago, turned out I missed a 
subtle difference in docs path vs 2.0, hence hanging build with scallywag.


cygport file (or see attached)
https://cygwin.com/cgit/cygwin-packages/libsigc3.0/tree/libsigc3.0.cygport?h=playground&id=6d5ea88331c703de21a8c92fed57a8595b5c007e

build log
https://github.com/cygwin/scallywag/actions/runs/15277969787

--

P.B. Lecavalier
-------------- next part --------------
ORIG_PN="libsigc++"

inherit gnome.org meson

NAME="libsigc3.0"
VERSION=3.6.0
RELEASE=1

LICENSE="LGPL-3.0-or-later"
CATEGORY="Libs"
SUMMARY="C++ typesafe callback library"
DESCRIPTION="libsigc++ implements a typesafe callback system for standard C++.
It allows you to define signals and to connect those signals to any callback
function, either global or a member function, regardless of whether it is
static or virtual."
HOMEPAGE="https://libsigcplusplus.github.io/libsigcplusplus/"
#SRC_URI="https://github.com/libsigcplusplus/libsigcplusplus/releases/download/${VERSION}/${ORIG_PN}-${VERSION}.tar.xz"

PKG_NAMES="${NAME}_0 ${NAME}-devel ${NAME}-doc"
libsigc3_0_0_CONTENTS="usr/bin/*-3.0-0.dll usr/share/doc/${NAME}/"
libsigc3_0_devel_CONTENTS='usr/include/ usr/lib/'
libsigc3_0_doc_CONTENTS='usr/share/devhelp/ usr/share/doc/libsigc++-3.0/'

BUILD_REQUIRES="mm-common python3"
BUILD_REQUIRES+=" dblatex docbook-sgml45 docbook-xml45 docbook-xsl doxygen
		  graphviz libxslt texlive-collection-fontsrecommended" #doc
BUILD_REQUIRES+=" libboost-devel" #benchmark test

CYGMESON_ARGS="
	-Dbenchmark=true
	-Dbuild-deprecated-api=true
	-Dbuild-documentation=true
	-Dbuild-examples=false
	-Dbuild-pdf=true
	-Dbuild-tests=true
	-Dvalidation=false
"

src_compile() {
	cd ${S}
	#build-docmentation just hangs, problem with doxygen/graphviz
	sed -i -e "s/\(DOT_NUM_THREADS        =\) 0/\1 1/" \
		${S}/docs/docs/reference/Doxyfile.in || error "no Doxygen file"
	meson_compile
}

src_install() {
	cd ${S}
	meson_install

	#builds a pdf, ends up left behind
	docinto /${ORIG_PN}-${VERSION%.*.*}.0/tutorial
	dodoc ${S}/_build.${CHOST}/docs/manual/libsigc_manual.pdf
}


More information about the Cygwin-apps mailing list