Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add: tracy #1433

Merged
merged 32 commits into from
Jul 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
a205852
add-tracy
Owen-sz Jul 6, 2024
3dea2d1
Update tracy.spec
Owen-sz Jul 6, 2024
019e46f
Update tracy.spec
Owen-sz Jul 6, 2024
6268f48
update-add-tracy
Owen-sz Jul 11, 2024
ef25289
build-test-fix
Owen-sz Jul 11, 2024
9fae33e
Build-fail-fix
Owen-sz Jul 11, 2024
63219d5
Update anda/misc/tracy/tracy.spec
Owen-sz Jul 11, 2024
7dc8451
test-fix-again
Owen-sz Jul 11, 2024
0e36ad3
tidy up stuff and use meson
madonuko Jul 19, 2024
95f015a
Merge branch 'frawhide' into add-tracy
madonuko Jul 19, 2024
9b59dac
Merge branch 'frawhide' into add-tracy
madonuko Jul 20, 2024
af45d8b
add g++
madonuko Jul 20, 2024
2fcaae2
dnl files
madonuko Jul 20, 2024
5ab2363
debug_package
madonuko Jul 20, 2024
6ed1edf
Update tracy.spec
madonuko Jul 20, 2024
9eb5965
-fPIE
madonuko Jul 20, 2024
6cf098a
CXXFLAGS
madonuko Jul 20, 2024
bf8d6bd
CXX?
madonuko Jul 20, 2024
379f3b0
/usr/include/freetype2/
madonuko Jul 20, 2024
14115eb
Update tracy.spec
madonuko Jul 20, 2024
eb957c8
move stuff around and funny funky fix
madonuko Jul 20, 2024
10ab0fd
casually add changelog
madonuko Jul 20, 2024
e6cf006
??]
madonuko Jul 21, 2024
87b1b28
fix pkg-config cflags maybe?
madonuko Jul 23, 2024
c1986b7
Update tracy.spec
madonuko Jul 23, 2024
9ac2876
fix PIE/PIC?
madonuko Jul 23, 2024
4336430
Update version
Owen-sz Jul 24, 2024
45b351d
Update tracy version
Owen-sz Jul 24, 2024
c7f5cdf
Update tracy.spec
Owen-sz Jul 25, 2024
a060284
remove patch
lleyton Jul 25, 2024
fa45fa6
fix it
lleyton Jul 26, 2024
d736521
a?
lleyton Jul 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions anda/devs/tracy/anda.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "tracy.spec"
}
}
77 changes: 77 additions & 0 deletions anda/devs/tracy/tracy.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
%global _desc Tracy is a real time, nanosecond resolution, remote telemetry, hybrid frame and sampling profiler for games and other applications.

Name: tracy
Version: 0.11.0
Release: 1%?dist
Summary: A real time, nanosecond resolution, remote telemetry, hybrid frame and sampling profiler for games and other applications.
License: BSD-3-Clause
URL: https://github.com/wolfpld/tracy
Source0: https://github.com/wolfpld/tracy/archive/refs/tags/v%version.tar.gz
BuildRequires: pkgconfig(egl) pkgconfig(glfw3) pkgconfig(freetype2) pkgconfig(dbus-1) pkgconfig(libunwind) pkgconfig(libdebuginfod) pkgconfig(tbb) pkgconfig(wayland-client) pkgconfig(wayland-protocols) pkgconfig(xkbcommon) pkgconfig(capstone)
BuildRequires: cmake gcc gcc-c++ meson

%description
%_desc

%package devel
Summary: Development files for the tracy package

%description devel
%_desc
This package contains the development files for the tracy package.

%prep
%autosetup -p1

%build
%meson
%meson_build

for project in capture csvexport import-chrome import-fuchsia update profiler
do
pushd $project
%cmake -DDOWNLOAD_CAPSTONE=0
%cmake_build
popd
done

%install
%meson_install

# NOTE: the subprojects don't have install targets so we do it manually
install -Dm755 capture/%__cmake_builddir/tracy-capture %buildroot%_bindir/tracy-capture
install -Dm755 csvexport/%__cmake_builddir/tracy-csvexport %buildroot%_bindir/tracy-csvexport
install -Dm755 import-chrome/%__cmake_builddir/tracy-import-chrome %buildroot%_bindir/tracy-import-chrome
install -Dm755 import-fuchsia/%__cmake_builddir/tracy-import-fuchsia %buildroot%_bindir/tracy-import-fuchsia
install -Dm755 update/%__cmake_builddir/tracy-update %buildroot%_bindir/tracy-update
install -Dm755 profiler/%__cmake_builddir/tracy-profiler %buildroot%_bindir/tracy

install -Dm644 extra/desktop/tracy.desktop %buildroot%_datadir/applications/tracy.desktop
install -Dm644 icon/icon.svg %buildroot%_iconsdir/hicolor/scalable/apps/tracy.svg
install -Dm644 extra/desktop/application-tracy.xml %buildroot%_datadir/mime/packages/application-tracy.xml
install -Dm644 icon/application-tracy.svg %buildroot%_iconsdir/hicolor/scalable/apps/application-tracy.svg

%files
%license LICENSE
%doc README.*
%_bindir/tracy
%_bindir/tracy-capture
%_bindir/tracy-csvexport
%_bindir/tracy-import-chrome
%_bindir/tracy-import-fuchsia
%_bindir/tracy-update
%_libdir/libtracy.so
%_datadir/applications/tracy.desktop
%_datadir/mime/packages/application-tracy.xml
%_iconsdir/hicolor/scalable/apps/tracy.svg
%_iconsdir/hicolor/scalable/apps/application-tracy.svg

%files devel
%_libdir/pkgconfig/tracy.pc
%_includedir/common
%_includedir/tracy
%_includedir/client

%changelog
* Wed Jul 24 2024 Owen Zimmerman <[email protected]> - 0.11-1
- Initial package.
1 change: 1 addition & 0 deletions anda/devs/tracy/update.rhai
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rpm.version(gh("wolfpld/tracy"));
Loading