Github messages for voidlinux
 help / color / mirror / Atom feed
From: CabrioletDiskette <CabrioletDiskette@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New Package: qt6ct
Date: Wed, 23 Mar 2022 05:15:46 +0100	[thread overview]
Message-ID: <20220323041546.oveJNQEgQhVHzescye_-pqv1gb7vCFhE0L6wX4N0AKE@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36265@inbox.vuxu.org>

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

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

https://github.com/CabrioletDiskette/void-packages qt6ct
https://github.com/void-linux/void-packages/pull/36265

New Package: qt6ct
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**


#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64
- I cross compiled this PR for:
  - x86_64-musl
  - armv6l-musl
  - armv7l-musl
  - aarch64-musl
  - i686
  - armv7l
  - armv6l
  - aarch64 

All cross compile issues where fixed


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

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

From 2cbd85b9c3957c53600e215b16c511a687407e2f Mon Sep 17 00:00:00 2001
From: Adam Pschorr <adampschorr13@aol.com>
Date: Mon, 21 Mar 2022 12:19:12 -0600
Subject: [PATCH 1/3] New package: qt6ct-0.5

---
 srcpkgs/qt6ct/INSTALL.msg    |  2 ++
 srcpkgs/qt6ct/files/qt6ct.sh |  6 ++++++
 srcpkgs/qt6ct/template       | 18 ++++++++++++++++++
 3 files changed, 26 insertions(+)
 create mode 100644 srcpkgs/qt6ct/INSTALL.msg
 create mode 100644 srcpkgs/qt6ct/files/qt6ct.sh
 create mode 100644 srcpkgs/qt6ct/template

diff --git a/srcpkgs/qt6ct/INSTALL.msg b/srcpkgs/qt6ct/INSTALL.msg
new file mode 100644
index 000000000000..8485434a339f
--- /dev/null
+++ b/srcpkgs/qt6ct/INSTALL.msg
@@ -0,0 +1,2 @@
+NOTE: You may have to logout and log back in or reboot to apply qt6ct
+theme environment variables properly
diff --git a/srcpkgs/qt6ct/files/qt6ct.sh b/srcpkgs/qt6ct/files/qt6ct.sh
new file mode 100644
index 000000000000..b36c5b523174
--- /dev/null
+++ b/srcpkgs/qt6ct/files/qt6ct.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env sh
+
+export QT_QPA_PLATFORMTHEME=qt6ct
+if [ "$XDG_SESSION_TYPE" = "wayland" ]; then
+	export QT_QPA_PLATFORM=wayland
+fi
diff --git a/srcpkgs/qt6ct/template b/srcpkgs/qt6ct/template
new file mode 100644
index 000000000000..7ad14a312392
--- /dev/null
+++ b/srcpkgs/qt6ct/template
@@ -0,0 +1,18 @@
+# Template file for 'qt6ct'
+pkgname=qt6ct
+version=0.5
+revision=1
+build_style=cmake
+hostmakedepends="qt6-tools-devel"
+depends="qt6-base qt6-svg"
+short_desc="Qt6 Configuration Tool"
+maintainer="Adam Pschorr <adampschorr13@aol.com>"
+license="BSD-2-Clause"
+homepage="https://github.com/trialuser02/qt6ct"
+distfiles="https://github.com/trialuser02/qt6ct/archive/refs/tags/${version}.tar.gz"
+checksum=0fea8e5295e4ebebfae36f4862aaa67859238312d7a055b252cc53b281d69e0d
+
+post_install() {
+	vlicense COPYING
+	vinstall ${FILESDIR}/qt6ct.sh 644 etc/profile.d
+}

From 5c9d9a95bdd11943bd4f8b5a321526d864c8c9ea Mon Sep 17 00:00:00 2001
From: Adam Pschorr <adampschorr13@aol.com>
Date: Mon, 21 Mar 2022 20:18:13 -0600
Subject: [PATCH 2/3] revised qt6ct template and removed INSTALL.msg

---
 srcpkgs/qt6ct/INSTALL.msg    | 2 --
 srcpkgs/qt6ct/files/qt6ct.sh | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)
 delete mode 100644 srcpkgs/qt6ct/INSTALL.msg

diff --git a/srcpkgs/qt6ct/INSTALL.msg b/srcpkgs/qt6ct/INSTALL.msg
deleted file mode 100644
index 8485434a339f..000000000000
--- a/srcpkgs/qt6ct/INSTALL.msg
+++ /dev/null
@@ -1,2 +0,0 @@
-NOTE: You may have to logout and log back in or reboot to apply qt6ct
-theme environment variables properly
diff --git a/srcpkgs/qt6ct/files/qt6ct.sh b/srcpkgs/qt6ct/files/qt6ct.sh
index b36c5b523174..e4e7708d8a29 100644
--- a/srcpkgs/qt6ct/files/qt6ct.sh
+++ b/srcpkgs/qt6ct/files/qt6ct.sh
@@ -1,6 +1,6 @@
 #!/usr/bin/env sh
 
-export QT_QPA_PLATFORMTHEME=qt6ct
+export QT_QPA_PLATFORMTHEME=qt5ct
 if [ "$XDG_SESSION_TYPE" = "wayland" ]; then
 	export QT_QPA_PLATFORM=wayland
 fi

From 7951a454c67f59828c7db2ee80ddf34f94470f1f Mon Sep 17 00:00:00 2001
From: Adam Pschorr <adampschorr13@aol.com>
Date: Tue, 22 Mar 2022 18:24:43 -0600
Subject: [PATCH 3/3] fixed template for qt6ct, supports all archs

---
 srcpkgs/qt6ct/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/qt6ct/template b/srcpkgs/qt6ct/template
index 7ad14a312392..1e443df1dc20 100644
--- a/srcpkgs/qt6ct/template
+++ b/srcpkgs/qt6ct/template
@@ -3,7 +3,9 @@ pkgname=qt6ct
 version=0.5
 revision=1
 build_style=cmake
+configure_args="-DQT_HOST_PATH=/usr"
 hostmakedepends="qt6-tools-devel"
+makedepends="qt6-base-devel"
 depends="qt6-base qt6-svg"
 short_desc="Qt6 Configuration Tool"
 maintainer="Adam Pschorr <adampschorr13@aol.com>"

  parent reply	other threads:[~2022-03-23  4:15 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-21 19:09 [PR PATCH] New Package: Qt6ct CabrioletDiskette
2022-03-21 23:21 ` [PR REVIEW] " classabbyamp
2022-03-21 23:21 ` classabbyamp
2022-03-22  1:20 ` CabrioletDiskette
2022-03-22  2:18 ` [PR PATCH] [Updated] " CabrioletDiskette
2022-03-22  2:22 ` [PR REVIEW] " CabrioletDiskette
2022-03-22  2:22 ` CabrioletDiskette
2022-03-22  4:42 ` CabrioletDiskette
2022-03-22 15:37 ` paper42
2022-03-22 17:30 ` [PR PATCH] [Updated] " CabrioletDiskette
2022-03-22 17:49 ` CabrioletDiskette
2022-03-23  0:24 ` CabrioletDiskette
2022-03-23  0:29 ` CabrioletDiskette
2022-03-23  0:45 ` CabrioletDiskette
2022-03-23  0:46 ` CabrioletDiskette
2022-03-23  4:15 ` CabrioletDiskette [this message]
2022-03-23 19:51 ` [PR PATCH] [Updated] New Package: qt6ct CabrioletDiskette
2022-03-23 20:00 ` CabrioletDiskette
2022-03-24  6:33 ` CabrioletDiskette
2022-03-24 10:05 ` [PR REVIEW] " paper42
2022-03-24 16:39 ` [PR PATCH] [Updated] " CabrioletDiskette
2022-03-24 16:43 ` CabrioletDiskette
2022-03-24 16:44 ` [PR REVIEW] " CabrioletDiskette
2022-03-27 18:22 ` Vaelatern
2022-03-27 23:33 ` [PR PATCH] [Updated] " CabrioletDiskette
2022-03-27 23:35 ` CabrioletDiskette
2022-03-28  3:40 ` [PR PATCH] [Merged]: " Vaelatern
2022-03-28  6:14 ` [PR REVIEW] " paper42

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=20220323041546.oveJNQEgQhVHzescye_-pqv1gb7vCFhE0L6wX4N0AKE@z \
    --to=cabrioletdiskette@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).