graphics/kvantum: Update to 0.15.3

Changelog:
V0.15.3
---------
 -A better calculation of the part of a progressbar's internal text which is
 inside the indicator (this also fixes a small offset in KisSliderSpinBox).
 -Don't draw a progressbar's busy indicator if it's wider than the progressbar
 (although that never happens in practice).
 -Added a workaround for a new but small bug in the toolbar timer of
 Audacious 4.0.
 -Align a menu-item's text with others if its icon isn't null but its pixmap is.
 -Removed Qt4 related stuff with the default installation, at last.

Not noted in the Changelog, NetBSD specific patch has been merged upstream and
is no longer required.
This commit is contained in:
pin 2020-05-06 08:12:55 +00:00
parent 1d1d79bdb8
commit 6364a3079a
4 changed files with 9 additions and 73 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.2 2020/04/22 08:26:45 pin Exp $
# $NetBSD: Makefile,v 1.3 2020/05/06 08:12:55 pin Exp $
VERSION= 0.15.2
VERSION= 0.15.3
DISTNAME= Kvantum-V${VERSION}
PKGNAME= kvantum-${VERSION}
CATEGORIES= graphics

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.1 2020/04/19 11:57:23 pin Exp $
@comment $NetBSD: PLIST,v 1.2 2020/05/06 08:12:55 pin Exp $
bin/kvantummanager
bin/kvantumpreview
qt5/plugins/styles/libkvantum.so
@ -102,37 +102,6 @@ share/color-schemes/KvYaru.colors
share/color-schemes/Kvantum.colors
share/color-schemes/KvantumAlt.colors
share/icons/hicolor/scalable/apps/kvantum.svg
share/kde4/apps/color-schemes/KvAdapta.colors
share/kde4/apps/color-schemes/KvAdaptaDark.colors
share/kde4/apps/color-schemes/KvAmbiance.colors
share/kde4/apps/color-schemes/KvAmbience.colors
share/kde4/apps/color-schemes/KvArc.colors
share/kde4/apps/color-schemes/KvArcDark.colors
share/kde4/apps/color-schemes/KvBeige.colors
share/kde4/apps/color-schemes/KvBlender.colors
share/kde4/apps/color-schemes/KvBrown.colors
share/kde4/apps/color-schemes/KvCurves.colors
share/kde4/apps/color-schemes/KvCurvesLight.colors
share/kde4/apps/color-schemes/KvCyan.colors
share/kde4/apps/color-schemes/KvDarkRed.colors
share/kde4/apps/color-schemes/KvFlat.colors
share/kde4/apps/color-schemes/KvFlatLight.colors
share/kde4/apps/color-schemes/KvFlatRed.colors
share/kde4/apps/color-schemes/KvGnome.colors
share/kde4/apps/color-schemes/KvGnomeAlt.colors
share/kde4/apps/color-schemes/KvGnomeDark.colors
share/kde4/apps/color-schemes/KvGnomish.colors
share/kde4/apps/color-schemes/KvGray.colors
share/kde4/apps/color-schemes/KvMojave.colors
share/kde4/apps/color-schemes/KvMojaveLight.colors
share/kde4/apps/color-schemes/KvMojaveMixed.colors
share/kde4/apps/color-schemes/KvOxygen.colors
share/kde4/apps/color-schemes/KvRoughGlass.colors
share/kde4/apps/color-schemes/KvSimplicity.colors
share/kde4/apps/color-schemes/KvSimplicityDark.colors
share/kde4/apps/color-schemes/KvSimplicityTurquoise.colors
share/kde4/apps/color-schemes/KvYaru.colors
share/kde4/apps/color-schemes/KvantumAlt.colors
share/kvantummanager/translations/kvantummanager_be.qm
share/kvantummanager/translations/kvantummanager_cs.qm
share/kvantummanager/translations/kvantummanager_cy.qm
@ -153,6 +122,7 @@ share/kvantummanager/translations/kvantummanager_pl.qm
share/kvantummanager/translations/kvantummanager_pt_BR.qm
share/kvantummanager/translations/kvantummanager_ru.qm
share/kvantummanager/translations/kvantummanager_sk_SK.qm
share/kvantummanager/translations/kvantummanager_tr.qm
share/kvantummanager/translations/kvantummanager_zh_CN.qm
share/kvantumpreview/translations/kvantumpreview_cs.qm
share/kvantumpreview/translations/kvantumpreview_cy.qm

View file

@ -1,7 +1,6 @@
$NetBSD: distinfo,v 1.1 2020/04/19 11:57:23 pin Exp $
$NetBSD: distinfo,v 1.2 2020/05/06 08:12:55 pin Exp $
SHA1 (Kvantum-V0.15.2.tar.gz) = 58650a6bf7d233887ad08c37eaaf4ff54d039cf5
RMD160 (Kvantum-V0.15.2.tar.gz) = 59f8bc6661b9cde3602102ad137d53fdfc0c80f9
SHA512 (Kvantum-V0.15.2.tar.gz) = 98b83a14c3c86636acb6f2440d64dc47496536b5487dc08aed8e8370d656e8838d00866bfb54a4b5752135bdc3d3da0eaab209f5ca3e33c237aada59640a78f7
Size (Kvantum-V0.15.2.tar.gz) = 2652167 bytes
SHA1 (patch-style_themeconfig_ThemeConfig.cpp) = b87ed451c8b9e7c5ab0169e1f120e8f77eb5ccc6
SHA1 (Kvantum-V0.15.3.tar.gz) = 0bd7ea68e85e384407aee890843d0b87d8335f16
RMD160 (Kvantum-V0.15.3.tar.gz) = 95651ed0c8c9e6ba320e6efdeca4441d90d79204
SHA512 (Kvantum-V0.15.3.tar.gz) = c1fadf7cbba491074cd87bf3e5efe9d627a429eddacd160077c8e2782d24494247e881b2db962d8e9405b01b32b38d3adb31b01a1bda5a8315ab73b5497d1844
Size (Kvantum-V0.15.3.tar.gz) = 2668564 bytes

View file

@ -1,33 +0,0 @@
$NetBSD: patch-style_themeconfig_ThemeConfig.cpp,v 1.1 2020/04/19 11:57:23 pin Exp $
Allow build on NetBSD
--- style/themeconfig/ThemeConfig.cpp.orig 2020-03-30 23:07:24.000000000 +0000
+++ style/themeconfig/ThemeConfig.cpp
@@ -19,7 +19,7 @@
#include <QFile>
#include <QApplication>
#include "ThemeConfig.h"
-#if defined Q_WS_X11 || defined Q_OS_LINUX || defined Q_OS_FREEBSD || defined Q_OS_HURD
+#if defined Q_WS_X11 || defined Q_OS_LINUX || defined Q_OS_FREEBSD || defined Q_OS_NETBSD || defined Q_OS_HURD
#include <QX11Info>
#if (QT_VERSION >= QT_VERSION_CHECK(5,0,0))
#include <X11/Xlib.h>
@@ -37,7 +37,7 @@ ThemeConfig::ThemeConfig(const QString&
{
/* For now, the lack of x11 means wayland.
Later, a better method should be found. */
-#if defined Q_WS_X11 || defined Q_OS_LINUX || defined Q_OS_FREEBSD || defined Q_OS_HURD
+#if defined Q_WS_X11 || defined Q_OS_LINUX || defined Q_OS_FREEBSD || defined Q_OS_NETBSD || defined Q_OS_HURD
#if (QT_VERSION >= QT_VERSION_CHECK(5,2,0))
isX11_ = QX11Info::isPlatformX11();
#else
@@ -570,7 +570,7 @@ theme_spec ThemeConfig::getCompositeSpec
{
bool compositing(false);
-#if defined Q_WS_X11 || defined Q_OS_LINUX || defined Q_OS_FREEBSD || defined Q_OS_HURD
+#if defined Q_WS_X11 || defined Q_OS_LINUX || defined Q_OS_FREEBSD || defined Q_OS_NETBSD || defined Q_OS_HURD
/* set to false if no compositing manager is running */
#if (QT_VERSION >= QT_VERSION_CHECK(5,2,0))
if (isX11_)