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

libdwarf: update to 0.11.1. #53941

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion common/shlibs
Original file line number Diff line number Diff line change
Expand Up @@ -2528,7 +2528,7 @@ libgeany.so.0 geany-1.25_1
libctpl.so.2 ctpl-0.3.4_1
libmuparser.so.2 muparser-2.2.5_1
libgtkgl-2.0.so.1 gtkglarea-2.1.0_1
libdwarf.so.1 libdwarf-20160613_1
libdwarf.so.0 libdwarf-0.11.1_1
libmemcached.so.11 libmemcached-1.0.18_1
libhashkit.so.2 libmemcached-1.0.18_1
libmemcachedutil.so.2 libmemcached-1.0.18_1
Expand Down
21 changes: 21 additions & 0 deletions srcpkgs/heaptrack/patches/fix-include2.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
From d6dc3d697a5f37fce52269b65ca43c7194c985a7 Mon Sep 17 00:00:00 2001
From: meator <[email protected]>
Date: Sun, 12 Jan 2025 15:19:37 +0100
Subject: [PATCH] Fix build on musl

---
src/analyze/suppressions.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/src/analyze/suppressions.h b/src/analyze/suppressions.h
index 2c674470..0a5a4893 100644
--- a/src/analyze/suppressions.h
+++ b/src/analyze/suppressions.h
@@ -9,6 +9,7 @@

#include <string>
#include <vector>
+#include <cstdint>

#include <sys/types.h>

4 changes: 2 additions & 2 deletions srcpkgs/heaptrack/template
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Template file for 'heaptrack'
pkgname=heaptrack
version=1.5.0
revision=1
revision=2
build_style=cmake
configure_args="-DHEAPTRACK_BUILD_GUI=ON"
hostmakedepends="qt5-qmake qt5-host-tools extra-cmake-modules kcoreaddons
gettext"
makedepends="qt5-devel boost-devel libunwind-devel libdwarf-devel kdiagram-devel
makedepends="qt5-devel boost-devel libunwind-devel kdiagram-devel
libzstd-devel ecm-devel ki18n-devel kitemmodels-devel kio-devel
kconfigwidgets-devel threadweaver-devel"
#depends="gdb"
Expand Down
20 changes: 9 additions & 11 deletions srcpkgs/libdwarf/template
Original file line number Diff line number Diff line change
@@ -1,41 +1,39 @@
# Template file for 'libdwarf'
pkgname=libdwarf
version=20201020
# See https://www.prevanders.net/dwarf.html#nfuture
reverts="20201020_1 20200825_1 20200719_1 20200114_1 20191104_2 20191104_1 20191002_1 20190529_1 20190110_1 20180809_1 20180527_1 20180129_1 20170709_2 20170709_1 20170416_1 20161124_1 20161021_1 20161001_1 20160923_1 20160613_1 20160507_1 20160115_1 20150507_3 20150507_2 20150507_1"
version=0.11.1
revision=1
build_style=gnu-configure
configure_args="--enable-shared --enable-dwarfgen"
makedepends="elfutils-devel"
checkdepends="python3"
short_desc="DWARF Debugging Information Format Library"
maintainer="Orphaned <[email protected]>"
license="LGPL-2.1-only"
homepage="https://www.prevanders.net/dwarf.html"
distfiles="https://prevanders.net/${pkgname}-${version}.tar.gz"
checksum=1c5ce59e314c6fe74a1f1b4e2fa12caea9c24429309aa0ebdfa882f74f016eff
distfiles="https://www.prevanders.net/libdwarf-${version}.tar.xz"
checksum=b5be211b1bd0c1ee41b871b543c73cbff5822f76994f6b160fc70d01d1b5a1bf

if [ "$CROSS_BUILD" ]; then
hostmakedepends="elfutils-devel"
fi

post_install() {
rm -rf ${PKGDESTDIR}/usr/share/libdwarf/libdwarf-devel
mkdir ${DESTDIR}/usr/include/libdwarf
mv ${DESTDIR}/usr/include/*.h ${DESTDIR}/usr/include/libdwarf
}

libdwarf-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove "usr/include/libdwarf"
vmove "usr/include/libdwarf-0"
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
vmove "usr/lib/pkgconfig"
}
}

libdwarf-doc_package() {
short_desc+=" - documentation"
pkg_install() {
for i in README NEWS libdwarf/*.pdf ; do
for i in README NEWS doc/*.pdf ; do
vdoc $i
done
}
Expand Down
Loading