graphics/kvantum: update to 1.1.0

V1.1.0
---------
 * Made the default compilation be against Qt6. (For Qt5, set "ENABLE_QT5" to "ON", as in `cmake .. -DENABLE_QT5=ON`.)

 NOTE: On pkgsrc Qt5 is on by default until LXQt is Qt6 (off for now) ready and we have a KDE frameworks 6 package.

 * Removed the support for qmake (because KF6 doesn't support it).
 * Made it possible to reduce only the opacity of inactive windows with negative values of the relevant setting (in Kvantum Manager).
 * Added a workaround for a bug in Qt 6.6, because of which, translucent menus on a non-primary screen might be drawn with their minimum sizes and without contents after being moved.
 * Ensure an opaque base color for combo popups on toolbars.
 * Use the standard palette when restoring the text colors on an unstyled toolbar.
 * Added a workaround for tiny overlaps between tree branch lines with translucent light/dark colors.
 * Added a toolbar, containing a date-time editor with popup and a progress-bar, below the top toolbars of kvantumpreview.
 * Added a workaround for a crashing bug in KDE's plasma-settings.
This commit is contained in:
pin 2024-03-20 13:10:10 +00:00
parent 2aaa65bf0e
commit f32df04556
5 changed files with 32 additions and 17 deletions

View File

@ -8,5 +8,5 @@ photorealistic or cartoonish, 3D or flat, embellished or minimalistic, or
something in between, and Kvantum will let you control almost every aspect of
Qt widgets.
Kvantum also comes with extra themes that are installed as root with Qt5
Kvantum also comes with extra themes that are installed as root with Qt
installation and can be selected and activated by using Kvantum Manager.

View File

@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.36 2023/11/12 13:22:05 wiz Exp $
# $NetBSD: Makefile,v 1.37 2024/03/20 13:10:10 pin Exp $
DISTNAME= Kvantum-1.0.10
DISTNAME= Kvantum-1.1.0
PKGNAME= ${DISTNAME:tl}
PKGREVISION= 5
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GITHUB:=tsujan/}
GITHUB_TAG= V${PKGVERSION_NOREV}
@ -13,17 +12,11 @@ COMMENT= SVG-based theme engine for Qt and KDE
LICENSE= gnu-gpl-v3
WRKSRC= ${WRKDIR}/${DISTNAME}/Kvantum
USE_CMAKE= yes
USE_TOOLS+= gmake
USE_LANGUAGES= c c++
CONFIGURE_DIRS= build
CMAKE_ARG_PATH= ..
CMAKE_ARGS+= -DCMAKE_INSTALL_PREFIX=${PREFIX}
pre-configure:
${MKDIR} -p ${WRKSRC}/build
CMAKE_ARGS+= -DENABLE_QT5=ON
TOOL_DEPENDS+= qt5-qttools-[0-9]*:../../x11/qt5-qttools
@ -34,4 +27,5 @@ TOOL_DEPENDS+= qt5-qttools-[0-9]*:../../x11/qt5-qttools
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../devel/cmake/build.mk"
.include "../../mk/bsd.pkg.mk"

View File

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.9 2023/04/10 15:21:56 pin Exp $
@comment $NetBSD: PLIST,v 1.10 2024/03/20 13:10:10 pin Exp $
bin/kvantummanager
bin/kvantumpreview
qt5/plugins/styles/libkvantum.so
@ -111,7 +111,6 @@ share/color-schemes/KvSimplicityDark.colors
share/color-schemes/KvSimplicityDarkLight.colors
share/color-schemes/KvSimplicityTurquoise.colors
share/color-schemes/KvYaru.colors
share/color-schemes/Kvantum.colors
share/color-schemes/KvantumAlt.colors
share/icons/hicolor/scalable/apps/kvantum.svg
share/kvantummanager/translations/kvantummanager_ar_DZ.qm
@ -139,6 +138,7 @@ share/kvantummanager/translations/kvantummanager_ko.qm
share/kvantummanager/translations/kvantummanager_lt.qm
share/kvantummanager/translations/kvantummanager_nb_NO.qm
share/kvantummanager/translations/kvantummanager_nl.qm
share/kvantummanager/translations/kvantummanager_pa.qm
share/kvantummanager/translations/kvantummanager_pl.qm
share/kvantummanager/translations/kvantummanager_pt.qm
share/kvantummanager/translations/kvantummanager_pt_BR.qm

View File

@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.22 2023/04/10 15:21:56 pin Exp $
$NetBSD: distinfo,v 1.23 2024/03/20 13:10:10 pin Exp $
BLAKE2s (Kvantum-1.0.10.tar.gz) = 40dd387784452239596f952e7206cfe75f49c68fb7d4ba786c79556bb5e82767
SHA512 (Kvantum-1.0.10.tar.gz) = fb31f424a16c37eafaaa0a1cdddde165bcaa58ed6ea3ef76e77d689c2b8b47e516a651d066712eaf14b1344e4b30955ce6c955367caf25d51f2aaa2c8970b0fd
Size (Kvantum-1.0.10.tar.gz) = 2969117 bytes
BLAKE2s (Kvantum-1.1.0.tar.gz) = 10efe7b556d4ad7b4b1799789d762ad75f5f28277393006dec138d3e27b6b251
SHA512 (Kvantum-1.1.0.tar.gz) = dc6bc3cb44d3a050a7e43196f7c0ab69d5f33c5fa645cdf191631164384aed8d8130093a4da4367b061c33d0d844dc57f91352d96a9368dd9abd6694a404d7f6
Size (Kvantum-1.1.0.tar.gz) = 3038723 bytes
SHA1 (patch-CMakeLists.txt) = 0b044c8efb1bd846a90d03520a4a40324b383d01

View File

@ -0,0 +1,20 @@
$NetBSD: patch-CMakeLists.txt,v 1.1 2024/03/20 13:10:10 pin Exp $
Fix build/installation with qt5.
--- CMakeLists.txt.orig 2024-03-18 14:44:49.624075580 +0000
+++ CMakeLists.txt
@@ -12,10 +12,6 @@ option(ENABLE_QT5 "Building Qt5 plugin."
option(WITHOUT_KF "Compiling without KDE Frameworks..." OFF)
add_subdirectory(style)
-if(NOT ENABLE_QT4)
- if(NOT ENABLE_QT5)
- add_subdirectory(kvantumpreview)
- add_subdirectory(kvantummanager)
- add_subdirectory(themes)
- endif()
-endif()
+add_subdirectory(kvantumpreview)
+add_subdirectory(kvantummanager)
+add_subdirectory(themes)