Created attachment 249655 [details] tracy.diff Hi, this new port Tracy. Poudriere is ok ===== env: DEVELOPER_MODE=yes PACKAGES=/tmp/pkgs PKGREPOSITORY=/tmp/pkgs PKGLATESTREPOSITORY=/tmp/pkgs/Latest 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-04-02T08:01:21+0000' 'PKG_NOTE_ports_top_git_hash=eca5aa49b' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.0' STRICT_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Building packages for trac-0.10 ===> Building trac-0.10 =========================================================================== =>> Recording filesystem state for preinst... done =======================<phase: install >============================ ===== env: DEVELOPER_MODE=yes STRICT_DEPENDS=yes USER=root UID=0 GID=0 ===> Installing for trac-0.10 ===> Checking if trac is already installed ===> Registering installation for trac-0.10 [freebsd132x64-default] Installing trac-0.10... ===> SECURITY REPORT: This port has installed the following files which may act as network servers and may therefore pose a remote security risk to the system. /usr/local/lib/libTracyClient.a(TracyClient.cpp.o) If there are vulnerabilities in these programs there may be a security risk to the system. FreeBSD makes no guarantee about the security of ports included in the Ports Collection. Please type 'make deinstall' to deinstall the port if this is a concern. For more information, and contact details about the security status of this software, see the following webpage: https://tracy.nereid.pl/ =========================================================================== =>> Checking shared library dependencies =======================<phase: deinstall >============================ ===== env: DEVELOPER_MODE=yes STRICT_DEPENDS=yes USER=root UID=0 GID=0 ===> Deinstalling for trac ===> Deinstalling trac-0.10 Updating database digests format: .......... done Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packages in the universe): Installed packages to be REMOVED: trac: 0.10 Number of packages to be removed: 1 [freebsd132x64-default] [1/1] Deinstalling trac-0.10... [freebsd132x64-default] [1/1] Deleting files for trac-0.10: .......... done =========================================================================== =>> Checking for extra files and directories [00:01:16] Installing from package [freebsd132x64-default] Installing trac-0.10... [freebsd132x64-default] Extracting trac-0.10: .......... done [00:01:16] Cleaning up ===> Cleaning for trac-0.10 [00:01:16] Deinstalling package Updating database digests format: . done Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packages in the universe): Installed packages to be REMOVED: trac: 0.10 Number of packages to be removed: 1 [freebsd132x64-default] [1/1] Deinstalling trac-0.10... [freebsd132x64-default] [1/1] Deleting files for trac-0.10: .......... done build of devel/tracy | trac-0.10 ended at Tue Apr 2 10:02:06 CEST 2024 build time: 00:00:45
0.11.0 released: https://github.com/wolfpld/tracy/releases/tag/v0.11.0
Do you what is more suitable for this port: build static or dynamic libraries? Check build option TRACY_STATIC in CMakeLists.txt. Makefile with 0.11.0 (with default TRACY_STATIC): PORTNAME= tracy DISTVERSIONPREFIX= v DISTVERSION= 0.11.0 CATEGORIES= devel MAINTAINER= freebsd@sysctl.cz COMMENT= Frame and sampling profiler for games and other applications WWW= https://tracy.nereid.pl/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= cmake compiler:c11 localbase:ldflags USE_GITHUB= yes GH_ACCOUNT= wolfpld .include <bsd.port.mk>
(In reply to Vladimir Druzenko from comment #2) Do you _KNOW_ what is more suitable for this port
(In reply to Vladimir Druzenko from comment #2) It is better static library
Created attachment 252716 [details] 0001-devel-tracy-new-port.patch
I don't like it install includes in %%PREFIX%%/include/client/ and %%PREFIX%%/include/common/. Can it install includes in %%PREFIX%%/include/tracy/client/ and %%PREFIX%%/include/tracy/common/?
Add this line after "GH_ACCOUNT= wolfpld": CMAKE_ARGS= -DCMAKE_INSTALL_INCLUDEDIR=${PREFIX}/include/${PORTNAME} pkg-plist: include/tracy/client/TracyArmCpuTable.hpp include/tracy/client/TracyCallstack.h include/tracy/client/TracyCallstack.hpp include/tracy/client/TracyCpuid.hpp include/tracy/client/TracyDebug.hpp include/tracy/client/TracyDxt1.hpp include/tracy/client/TracyFastVector.hpp include/tracy/client/TracyKCore.hpp include/tracy/client/TracyLock.hpp include/tracy/client/TracyProfiler.hpp include/tracy/client/TracyRingBuffer.hpp include/tracy/client/TracyScoped.hpp include/tracy/client/TracyStringHelpers.hpp include/tracy/client/TracySysPower.hpp include/tracy/client/TracySysTime.hpp include/tracy/client/TracySysTrace.hpp include/tracy/client/TracyThread.hpp include/tracy/client/tracy_SPSCQueue.h include/tracy/client/tracy_concurrentqueue.h include/tracy/client/tracy_rpmalloc.hpp include/tracy/common/TracyAlign.hpp include/tracy/common/TracyAlloc.hpp include/tracy/common/TracyApi.h include/tracy/common/TracyColor.hpp include/tracy/common/TracyForceInline.hpp include/tracy/common/TracyMutex.hpp include/tracy/common/TracyProtocol.hpp include/tracy/common/TracyQueue.hpp include/tracy/common/TracySocket.hpp include/tracy/common/TracyStackFrames.hpp include/tracy/common/TracySystem.hpp include/tracy/common/TracyUwp.hpp include/tracy/common/TracyYield.hpp include/tracy/common/tracy_lz4.hpp include/tracy/common/tracy_lz4hc.hpp include/tracy/tracy/Tracy.hpp include/tracy/tracy/TracyC.h include/tracy/tracy/TracyD3D11.hpp include/tracy/tracy/TracyD3D12.hpp include/tracy/tracy/TracyLua.hpp include/tracy/tracy/TracyOpenCL.hpp include/tracy/tracy/TracyOpenGL.hpp include/tracy/tracy/TracyVulkan.hpp lib/libTracyClient.a share/Tracy/TracyConfig.cmake share/Tracy/TracyTargets-%%CMAKE_BUILD_TYPE%%.cmake share/Tracy/TracyTargets.cmake
ping
Created attachment 252776 [details] 0001-devel-tracy-new-port.patch
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=46637f75e8b2021574f0999dc112d696b7756ddb commit 46637f75e8b2021574f0999dc112d696b7756ddb Author: Martin Filla <freebsd@sysctl.cz> AuthorDate: 2024-08-15 15:29:24 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2024-08-15 15:29:24 +0000 devel/tracy: New port: Frame and sampling profiler for games and other applications A real time, nanosecond resolution, remote telemetry, hybrid frame and sampling profiler for games and other applications. Tracy supports profiling CPU (Direct support is provided for C, C++, and Lua integration. At the same time, third-party bindings to many other languages exist on the internet, such as Rust, Zig, C#, OCaml, Odin, etc.), GPU (All major graphic APIs: OpenGL, Vulkan, Direct3D 11/12, OpenCL.), memory allocations, locks, context switches, automatically attribute screenshots to captured frames, and much more. https://github.com/wolfpld/tracy Interactive demo: https://tracy.nereid.pl PR: 278126 devel/Makefile | 1 + devel/tracy/Makefile (new) | 19 ++++++++++++++++++ devel/tracy/distinfo (new) | 3 +++ devel/tracy/pkg-descr (new) | 8 ++++++++ devel/tracy/pkg-plist (new) | 47 +++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 78 insertions(+)
Thanks.