From nobody Sat May 21 09:09:59 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0FEE71B34E9C; Sat, 21 May 2022 09:10:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L4yTz4W18z4g8c; Sat, 21 May 2022 09:09:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653124199; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xYGfBiCg/HddmeVnoTLkIOKBRM/yiLzgs5xTN+OHDuc=; b=N2sVEjSRbgOff+p2ub+VE3JFH1Dxulc/Bx/JuMSmkt6P8iy6S8cWRdO7TSQlZWLVi4AWL8 zItfMGMXfQL87jWvV8A8uF/qJb/X4/zMPrcEWw4RNcy3xZuXNuSjC9awIGu5v3t33Yb+li UfSGfkaeqT3CgCUjGm+0gMxzXTDc6AJ92Xn5cClWLZHgmXp4H4ZJO0d7zR6+aP9dgDWtIm XL7AsfPSHhTXPb66wba9elAJyP4VRrIZ/W0XXlnu2sVjdThFUYoPfdadNOV7q+VGhwR3Ep j3/vZLbZRHbD/9tkDG81OySke6HjILUuER8A0GFdc0WzW+dRYxGGNAYsXZSNYw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7BEE923DD4; Sat, 21 May 2022 09:09:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24L99x4e027432; Sat, 21 May 2022 09:09:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24L99xqQ027431; Sat, 21 May 2022 09:09:59 GMT (envelope-from git) Date: Sat, 21 May 2022 09:09:59 GMT Message-Id: <202205210909.24L99xqQ027431@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Thierry Thomas Subject: git: de46dbf2724c - main - devel/cbang: some fixes needed for CAMotics List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: thierry X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: de46dbf2724c28e2c1a833e1e640be6e58d68900 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653124199; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xYGfBiCg/HddmeVnoTLkIOKBRM/yiLzgs5xTN+OHDuc=; b=C4hOoFKpMMGzgqP9MxE8M6aDCNNYSDVh3GJNl7q99AZw8usSjiYCpf7yFBrtd6TzJ/bHnX W4Zj0fN1ptwCGj/E056GsnXZa9k0X1RZxnPrvt0BVwRWNYIRR17Vu2950H4cAxYdwhLuDB moa1c6YFrBkUDr4XklMkgErq46O0oEzPlfMXycXke6MzV9041fvSquEuIQVkumPUyyNSs0 JeDo7Ft1H0SbhLHIlM+i0r2y3GwE4nxOCpukw/ySzf+JEbuEFH7xbjcpzFylcAl4fjoc0E 7oYIt4SLaTqxsafczgspl2KLkDHU5hMOxiL8HI+v7Y68UZeb/g9dgAWSnpXzyg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653124199; a=rsa-sha256; cv=none; b=o8pb4L58cI+mMfal1Di8hqczMpgcRyUWZUjYlaLcK3L9AdOLVrO6tCUbewSRoe3QO1Q/76 vWC47+RIT6G0eccKI1RDnuXflxzNZS15MbKJ10CfS7Am/+oGLV0jL9lQzIMe03js7uzFaX yIosvUvA1Dannytnn6BU3mys9Fwj8hEh3d2X/2moAFac/QA25TKQT/xl1R9Ifwg83kzoTG So8HzwoV3pEzcPN2iRJIXenRGDhOiauA2oPzrQn1KKEzcy6at16CYxQcV9R1G6icoerR3P +31qc7zgHWVSb8mOfd8160MN1nfhS8hM7w9+14HrBy2B4zE4i5Y57hZaUBQtRQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=de46dbf2724c28e2c1a833e1e640be6e58d68900 commit de46dbf2724c28e2c1a833e1e640be6e58d68900 Author: Thierry Thomas AuthorDate: 2022-05-21 08:44:40 +0000 Commit: Thierry Thomas CommitDate: 2022-05-21 08:44:40 +0000 devel/cbang: some fixes needed for CAMotics - fix getExecutablePath - CAMotics needs some un-installed files from cbang: to avoid a dependency on devel/cbang:build, let’s store these missing bits. --- devel/cbang/Makefile | 8 +++ .../files/patch-src_cbang_os_SystemUtilities.cpp | 11 ++++ devel/cbang/pkg-plist | 77 ++++++++++++++++++++++ 3 files changed, 96 insertions(+) diff --git a/devel/cbang/Makefile b/devel/cbang/Makefile index 1a19fcee7d9f..7a277be32f51 100644 --- a/devel/cbang/Makefile +++ b/devel/cbang/Makefile @@ -2,6 +2,7 @@ PORTNAME= cbang PORTVERSION= 1.6.1 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= thierry@FreeBSD.org @@ -59,6 +60,13 @@ post-install: cd ${STAGEDIR}${PREFIX}/lib && \ ${LN} -sf libcbang0.so.${LIBVER} libcbang0.so && \ ${LN} -sf libcbang0.so.${LIBVER} libcbang0.so.1 + # Needed to build CAMotics + ${INSTALL_DATA} ${WRKSRC}/include/cbang/config.h \ + ${STAGEDIR}${PREFIX}/include/cbang/ + ${INSTALL_DATA} ${WRKSRC}/lib/libcbang-boost.a \ + ${STAGEDIR}${PREFIX}/lib + ${MKDIR} ${STAGEDIR}${DATADIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} config ${STAGEDIR}${DATADIR} do-test: (cd ${TEST_WRKSRC} && ${DO_MAKE_TEST} && ./testHarness) diff --git a/devel/cbang/files/patch-src_cbang_os_SystemUtilities.cpp b/devel/cbang/files/patch-src_cbang_os_SystemUtilities.cpp new file mode 100644 index 000000000000..8790b791c73c --- /dev/null +++ b/devel/cbang/files/patch-src_cbang_os_SystemUtilities.cpp @@ -0,0 +1,11 @@ +--- src/cbang/os/SystemUtilities.cpp.orig 2021-08-10 22:46:49 UTC ++++ src/cbang/os/SystemUtilities.cpp +@@ -388,7 +388,7 @@ namespace cb { + size_t len = PATH_MAX; + path[0] = path[PATH_MAX] = 0; + +- if (sysctl(mib, 4, path, &len, 0, 0) || *path) ++ if (sysctl(mib, 4, path, &len, NULL, 0)) + THROW("Failed to get executable path: " << SysError()); + + return (char *)path; diff --git a/devel/cbang/pkg-plist b/devel/cbang/pkg-plist index 1f99887662a8..f6ee3399e15b 100644 --- a/devel/cbang/pkg-plist +++ b/devel/cbang/pkg-plist @@ -26,6 +26,7 @@ include/cbang/auth/OAuth2.h include/cbang/buffer/Buffer.h include/cbang/buffer/BufferDevice.h include/cbang/buffer/MemoryBuffer.h +include/cbang/config.h include/cbang/config/CommandLine.h include/cbang/config/Constraint.h include/cbang/config/EnumConstraint.h @@ -390,9 +391,85 @@ include/cbang/xml/XMLReader.h include/cbang/xml/XMLSkipHandler.h include/cbang/xml/XMLValueMap.h include/cbang/xml/XMLWriter.h +lib/libcbang-boost.a lib/libcbang.a lib/libcbang0.so lib/libcbang0.so.1 lib/libcbang0.so.%%VER%% +%%DATADIR%%/config/XML/__init__.py +%%DATADIR%%/config/XML/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc +%%DATADIR%%/config/ZLib/__init__.py +%%DATADIR%%/config/ZLib/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc +%%DATADIR%%/config/__init__.py +%%DATADIR%%/config/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc +%%DATADIR%%/config/app/__init__.py +%%DATADIR%%/config/app/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc +%%DATADIR%%/config/build_info/__init__.py +%%DATADIR%%/config/build_info/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc +%%DATADIR%%/config/bzip2/__init__.py +%%DATADIR%%/config/bzip2/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc +%%DATADIR%%/config/cbang/__init__.py +%%DATADIR%%/config/cbang/__init__.py.orig +%%DATADIR%%/config/cbang/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc +%%DATADIR%%/config/chakra/__init__.py +%%DATADIR%%/config/chakra/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc +%%DATADIR%%/config/codesign/__init__.py +%%DATADIR%%/config/codesign/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc +%%DATADIR%%/config/compiler/__init__.py +%%DATADIR%%/config/compiler/__init__.py.orig +%%DATADIR%%/config/compiler/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc +%%DATADIR%%/config/deb/__init__.py +%%DATADIR%%/config/deb/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc +%%DATADIR%%/config/dist/__init__.py +%%DATADIR%%/config/distpkg/__init__.py +%%DATADIR%%/config/distpkg/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc +%%DATADIR%%/config/event/__init__.py +%%DATADIR%%/config/event/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc +%%DATADIR%%/config/expat/__init__.py +%%DATADIR%%/config/expat/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc +%%DATADIR%%/config/find_dlls/__init__.py +%%DATADIR%%/config/find_dlls/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc +%%DATADIR%%/config/flatdistpkg/__init__.py +%%DATADIR%%/config/flatdistpkg/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc +%%DATADIR%%/config/freetype2/__init__.py +%%DATADIR%%/config/leveldb/__init__.py +%%DATADIR%%/config/leveldb/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc +%%DATADIR%%/config/libyaml/__init__.py +%%DATADIR%%/config/libyaml/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc +%%DATADIR%%/config/malloc/__init__.py +%%DATADIR%%/config/ninja/__init__.py +%%DATADIR%%/config/ninja/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc +%%DATADIR%%/config/notarize/__init__.py +%%DATADIR%%/config/notarize/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc +%%DATADIR%%/config/nsi/__init__.py +%%DATADIR%%/config/nsi/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc +%%DATADIR%%/config/opengl/__init__.py +%%DATADIR%%/config/openssl/__init__.py +%%DATADIR%%/config/openssl/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc +%%DATADIR%%/config/osx/__init__.py +%%DATADIR%%/config/osx/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc +%%DATADIR%%/config/packager/__init__.py +%%DATADIR%%/config/packager/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc +%%DATADIR%%/config/pkg/__init__.py +%%DATADIR%%/config/pkg/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc +%%DATADIR%%/config/pthreads/__init__.py +%%DATADIR%%/config/pthreads/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc +%%DATADIR%%/config/python/__init__.py +%%DATADIR%%/config/python/python-config.py +%%DATADIR%%/config/re2/__init__.py +%%DATADIR%%/config/re2/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc +%%DATADIR%%/config/resources/__init__.py +%%DATADIR%%/config/resources/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc +%%DATADIR%%/config/rpm/__init__.py +%%DATADIR%%/config/rpm/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc +%%DATADIR%%/config/run_distutils/__init__.py +%%DATADIR%%/config/sqlite3/__init__.py +%%DATADIR%%/config/sqlite3/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc +%%DATADIR%%/config/test/__init__.py +%%DATADIR%%/config/test/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc +%%DATADIR%%/config/v8/__init__.py +%%DATADIR%%/config/v8/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc +%%DATADIR%%/config/valgrind/__init__.py +%%DATADIR%%/config/valgrind/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc %%PORTDOCS%%%%DOCSDIR%%/COPYING %%PORTDOCS%%%%DOCSDIR%%/README.md