From 93632cfe80c3eaef6ebdec93f8056e8605fd2ef6 Mon Sep 17 00:00:00 2001 From: Bart Ribbers <bribbers@disroot.org> Date: Wed, 17 Feb 2021 09:19:41 +0100 Subject: [PATCH] community/smooth: upgrade to 0.9.7 --- community/smooth/APKBUILD | 11 ++---- .../smooth/fix-drawing-issue-on-kde.patch | 38 ------------------- 2 files changed, 4 insertions(+), 45 deletions(-) delete mode 100644 community/smooth/fix-drawing-issue-on-kde.patch diff --git a/community/smooth/APKBUILD b/community/smooth/APKBUILD index a45c2971fd12..4d8faad49ba9 100644 --- a/community/smooth/APKBUILD +++ b/community/smooth/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Bart Ribbers <bribbers@disroot.org> # Maintainer: Bart Ribbers <bribbers@disroot.org> pkgname=smooth -pkgver=0.9.6 +pkgver=0.9.7 pkgrel=0 arch="all" url="https://github.com/enzo1982/smooth" @@ -15,16 +15,14 @@ makedepends=" libx11-dev libxml2-dev " -source="https://github.com/enzo1982/smooth/archive/v$pkgver/smooth-v$pkgver.tar.gz - fix-drawing-issue-on-kde.patch - " +source="https://github.com/enzo1982/smooth/archive/v$pkgver/smooth-v$pkgver.tar.gz" subpackages="$pkgname-dev" options="!check" # No tests prepare() { default_prepare - find "$builddir" -type f -exec sed -i 's|/usr/local|/usr|g' {} \; + find . -type f -exec sed -i 's|/usr/local|/usr|g' {} \; } build() { @@ -35,5 +33,4 @@ package() { DESTDIR="$pkgdir" make install } -sha512sums="ee4ab539c05ff68a01329aecb50aabdbc597eda954e310840ef5d50c1ea735fda4f027adb2ba047f9a7e699dce1ff868e2689261e941708eab3a0a4cf72945a6 smooth-v0.9.6.tar.gz -a5be6b2db828bde83dbb26462e5fb483ed336bfd31b965058d48e3dd864e76c33369e6df3b6a7f7020983a55e34b20a342907b6dff201cb0e7f654779f942a96 fix-drawing-issue-on-kde.patch" +sha512sums="d3def3859f24222bd2c46e47d9e9b7208dadaa460b60c0937a62e549565a01f8f1af9eef454914d7b0be69ab76b5057292861de6472be381cfae2fb5281a30dc smooth-v0.9.7.tar.gz" diff --git a/community/smooth/fix-drawing-issue-on-kde.patch b/community/smooth/fix-drawing-issue-on-kde.patch deleted file mode 100644 index 55e8a9c00b67..000000000000 --- a/community/smooth/fix-drawing-issue-on-kde.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 0db8f929b935650698d3bcb09a52cc30e4abbb2e Mon Sep 17 00:00:00 2001 -From: Robert Kausch <robert.kausch@freac.org> -Date: Tue, 13 Oct 2020 20:26:48 +0200 -Subject: [PATCH] Fix drawing issues on KDE systems. - ---- - ChangeLog | 4 ++++ - classes/gui/window/window.cpp | 3 ++- - 2 files changed, 6 insertions(+), 1 deletion(-) - -diff --git a/ChangeLog b/ChangeLog -index ec5724e3..1ce4786a 100644 ---- a/ChangeLog -+++ b/ChangeLog -@@ -1,5 +1,9 @@ - ChangeLog for smooth - -+dd.mm.20 hh:mm - smooth alpha 0.9.7 -+ -+- window.cpp - fixed drawing issues on KDE systems -+ - 10.10.20 18:20 - smooth alpha 0.9.6 - - - surfacegdi.cpp - fixed too high DPI values being reported -diff --git a/classes/gui/window/window.cpp b/classes/gui/window/window.cpp -index b5523160..22a30836 100755 ---- a/classes/gui/window/window.cpp -+++ b/classes/gui/window/window.cpp -@@ -578,7 +578,8 @@ S::Int S::GUI::Window::Process(Int message, Int wParam, Int lParam) - { - Bool resized = (updateRect == Rect(Point(-1, -1), Size(0, 0))); - -- updateRect = backend->GetUpdateRect(); -+ if (resized) updateRect = Rect(Point(0, 0), GetRealSize()); -+ else updateRect = backend->GetUpdateRect(); - - Paint(resized ? SP_PAINT : SP_UPDATE); - -- GitLab