diff options
Diffstat (limited to 'user/libksysguard')
-rw-r--r-- | user/libksysguard/APKBUILD | 10 | ||||
-rw-r--r-- | user/libksysguard/disable-tester-for-pdmt.patch | 20 |
2 files changed, 26 insertions, 4 deletions
diff --git a/user/libksysguard/APKBUILD b/user/libksysguard/APKBUILD index 324f34d06..974543fed 100644 --- a/user/libksysguard/APKBUILD +++ b/user/libksysguard/APKBUILD @@ -1,12 +1,12 @@ # Contributor: A. Wilcox <awilfox@adelielinux.org> # Maintainer: A. Wilcox <awilfox-kde@adelielinux.org> pkgname=libksysguard -pkgver=5.24.5 +pkgver=5.27.12 pkgrel=0 pkgdesc="KDE system monitor library" url="https://www.kde.org/" arch="all" -options="!check" # Test requires accelerated X11 session +options="checkx11" license="LGPL-2.1+ AND (GPL-2.0-only OR GPL-3.0-only)" depends="" depends_dev="qt5-qtbase-dev kconfig-dev" @@ -18,6 +18,7 @@ makedepends="$depends_dev cmake extra-cmake-modules python3 libx11-dev zlib-dev libcap-dev qt5-qttools-dev" subpackages="$pkgname-dev $pkgname-lang" source="https://download.kde.org/stable/plasma/$pkgver/libksysguard-$pkgver.tar.xz + disable-tester-for-pdmt.patch underlinking.patch " @@ -29,7 +30,7 @@ build() { -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_SHARED_LIBS=True \ - -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ -DCMAKE_C_FLAGS="$CFLAGS" \ ${CMAKE_CROSSOPTS} . @@ -44,5 +45,6 @@ package() { make DESTDIR="$pkgdir" install } -sha512sums="133c5923ee616515b1934c4e2c30509d407f40b7afc3914ac2417d7c961f3a1921bd3b5bfd1ca73942ddb17777fbf4d96950c130129135eae2b8d1b8daac9fa5 libksysguard-5.24.5.tar.xz +sha512sums="c7f0f3feb8868655d4a05bd8e50eef59aef46c5a4bcb69523b1f5f4a1089a0bf5ec0bd0bbd7ec915aa0517cd1044e2a13c014084a52ea989f62a09aa37d2bb28 libksysguard-5.27.12.tar.xz +b46cd395c5af3c1a15d85cf0a06428c25d0006834aae75f8b2fb123d99b67b40a3d885c7c5372cc8dc7eec88318d3a6e132a086d78a726b51682f8d5cf36e717 disable-tester-for-pdmt.patch 3f273d73ef721b08dee2d0b74f8bb14bb0ee6085eb43b68704abcbca14d60b29cfe651f4c2ad00d13270a783ef94e66982e2e4ae0c6109cf2c895c3562af89f5 underlinking.patch" diff --git a/user/libksysguard/disable-tester-for-pdmt.patch b/user/libksysguard/disable-tester-for-pdmt.patch new file mode 100644 index 000000000..f044421d1 --- /dev/null +++ b/user/libksysguard/disable-tester-for-pdmt.patch @@ -0,0 +1,20 @@ +Disable QAbstractItemModelTester on ProcessDataModelTest + +The QAbstractItemModelTester "audits" every change to the model. +Unfortunately for us, at least on the test machines I ran this test on, +the model changes so rapidly (from CPU usage on the other cores running +the other tests, other builds, etc) that the test never moves forward +to the actual test conditions. Instead, it fails with a test timeout. +Removing the tester allows the test to succeed. + +--- libksysguard-5.27.12/autotests/processdatamodeltest.cpp.old 2025-01-06 11:56:49.000000000 -0600 ++++ libksysguard-5.27.12/autotests/processdatamodeltest.cpp 2025-07-06 05:41:50.904194958 -0500 +@@ -18,8 +18,6 @@ + void testModel() + { + auto model = new KSysGuard::ProcessDataModel(); +- auto tester = new QAbstractItemModelTester(model); +- + model->setEnabledAttributes({qs("pid"), qs("name"), qs("usage"), qs("vmPSS")}); + + QTest::qWait(100); |