Github messages for voidlinux
 help / color / mirror / Atom feed
From: zlice <zlice@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] kvantum: update to 1.0.10.
Date: Sun, 10 Dec 2023 01:59:38 +0100	[thread overview]
Message-ID: <20231210005938.TzGIHeyFsiYNNfA5zvIxY0JVzaWSEun-CR8YPGbYAkg@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46851@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 753 bytes --]

There is an updated pull request by zlice against master on the void-packages repository

https://github.com/zlice/void-packages kvantum-qt6
https://github.com/void-linux/void-packages/pull/46851

kvantum: update to 1.0.10.
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, **x86_64**

#### Comments

Allows kvantum to handle qt5 and qt6 themes under qt5ct and qt6ct.
Their install guide says to 'disable' qt5 but it works fine for both.

Switches build to cmake over qmake

https://github.com/tsujan/Kvantum/blob/master/Kvantum/INSTALL.md#with-cmake

A patch file from https://github.com/void-linux/void-packages/pull/46851.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-kvantum-qt6-46851.patch --]
[-- Type: text/x-diff, Size: 2667 bytes --]

From 112d94d84954426c04328ed31895d04db321449a Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Mon, 23 Oct 2023 11:01:18 -0400
Subject: [PATCH] kvamtum: update to 1.0.10.

---
 srcpkgs/kvantum/patches/lib32.patch | 14 ++++++++++++++
 srcpkgs/kvantum/template            | 14 +++++++-------
 2 files changed, 21 insertions(+), 7 deletions(-)
 create mode 100644 srcpkgs/kvantum/patches/lib32.patch

diff --git a/srcpkgs/kvantum/patches/lib32.patch b/srcpkgs/kvantum/patches/lib32.patch
new file mode 100644
index 0000000000000..8707c564197f4
--- /dev/null
+++ b/srcpkgs/kvantum/patches/lib32.patch
@@ -0,0 +1,14 @@
+--- a/Kvantum/style/CMakeLists.txt	2023-12-09 19:15:19.658089615 -0500
++++ b/Kvantum/style/CMakeLists.txt	2023-12-09 19:15:31.014342407 -0500
+@@ -36,10 +36,7 @@
+ if(QT_VERSION_MAJOR EQUAL 6)
+   get_target_property(REAL_QMAKE_EXECUTABLE Qt6::qmake
+                       IMPORTED_LOCATION)
+-  execute_process(COMMAND "${REAL_QMAKE_EXECUTABLE}" -query QT_INSTALL_PLUGINS
+-                  OUTPUT_VARIABLE _Qt6_PLUGIN_INSTALL_DIR
+-                  ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
+-  set(KVANTUM_STYLE_DIR "${_Qt6_PLUGIN_INSTALL_DIR}/styles/")
++  set(KVANTUM_STYLE_DIR "${QT6_INSTALL_PLUGINS}/styles/")
+ 
+   include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}
+                       ${Qt6Core_INCLUDE_DIRS} ${Qt6Widgets_INCLUDE_DIRS}
diff --git a/srcpkgs/kvantum/template b/srcpkgs/kvantum/template
index 393cbaa3308c3..d1eab5c4d8d00 100644
--- a/srcpkgs/kvantum/template
+++ b/srcpkgs/kvantum/template
@@ -1,19 +1,19 @@
 # Template file for 'kvantum'
 pkgname=kvantum
-version=1.0.5
+version=1.0.10
 revision=1
 build_wrksrc=Kvantum
-build_style=qmake
-hostmakedepends="qt5-tools qt5-qmake qt5-host-tools"
-makedepends="qt5-devel qt5-svg-devel qt5-x11extras-devel
- kwindowsystem-devel"
-short_desc="SVG-based theme engine for Qt4/Qt5, KDE and LXQt"
+build_style=cmake
+hostmakedepends="qt5-tools-devel qt5-host-tools qt6-tools-devel"
+makedepends="qt5-devel qt6-base-devel qt5-svg-devel qt6-svg-devel
+ qt5-x11extras-devel kwindowsystem-devel"
+short_desc="SVG-based theme engine for Qt4/Qt5/Qt6, KDE and LXQt"
 maintainer="Giuseppe Fierro <gspe@ae-design.ws>"
 license="GPL-3.0-or-later"
 homepage="https://github.com/tsujan/Kvantum"
 changelog="https://raw.githubusercontent.com/tsujan/Kvantum/master/Kvantum/ChangeLog"
 distfiles="https://github.com/tsujan/Kvantum/archive/V${version}.tar.gz"
-checksum=2284017dbe5b4b4b5f657215525ca1d1e30d702b28102067d4aa2ec1e764c6a6
+checksum=2ef368df6c54a3bde2097ed89341f188b6670d1b1f8d11bcb3a80138887aca12
 
 post_install() {
 	vdoc doc/Theme-Config.pdf

  parent reply	other threads:[~2023-12-10  0:59 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-23 15:06 [PR PATCH] " zlice
2023-11-03 18:20 ` [PR PATCH] [Updated] " zlice
2023-11-03 18:48 ` zlice
2023-12-09 17:54 ` [PR PATCH] [Updated] " zlice
2023-12-09 19:14 ` zlice
2023-12-09 23:16 ` Johnnynator
2023-12-10  0:34 ` [PR PATCH] [Updated] " zlice
2023-12-10  0:35 ` zlice
2023-12-10  0:59 ` zlice [this message]
2023-12-10  1:10 ` [PR PATCH] [Updated] " zlice
2023-12-10  1:10 ` zlice
2023-12-10 11:58 ` zlice
2023-12-11 23:27 ` [PR PATCH] [Updated] " zlice
2023-12-12  8:43 ` [PR REVIEW] " Johnnynator
2023-12-12 12:16 ` [PR PATCH] [Updated] " zlice
2023-12-23  2:29 ` [PR PATCH] [Merged]: " classabbyamp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231210005938.TzGIHeyFsiYNNfA5zvIxY0JVzaWSEun-CR8YPGbYAkg@z \
    --to=zlice@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).