public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/kdocker/files/, x11-misc/kdocker/
Date: Mon, 24 Mar 2025 05:58:54 +0000 (UTC)	[thread overview]
Message-ID: <1742795898.70dabe22e8a4cc3b12c326620ab1e17a8c6e5330.sam@gentoo> (raw)

commit:     70dabe22e8a4cc3b12c326620ab1e17a8c6e5330
Author:     Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Wed Mar 19 10:50:41 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 24 05:58:18 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70dabe22

x11-misc/kdocker: add 6.2, qt6

port qt6/cmake

it works without any custom phase

libXmu and libXpm are no longer required

Closes: https://bugs.gentoo.org/947614
Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>
Closes: https://github.com/gentoo/gentoo/pull/41169
Signed-off-by: Sam James <sam <AT> gentoo.org>

 x11-misc/kdocker/Manifest                          |  1 +
 x11-misc/kdocker/files/kdocker-6.2-fix_clang.patch | 24 ++++++++++++++++++
 x11-misc/kdocker/kdocker-6.2.ebuild                | 29 ++++++++++++++++++++++
 3 files changed, 54 insertions(+)

diff --git a/x11-misc/kdocker/Manifest b/x11-misc/kdocker/Manifest
index 10ae4225980b..f058f7769a8a 100644
--- a/x11-misc/kdocker/Manifest
+++ b/x11-misc/kdocker/Manifest
@@ -1 +1,2 @@
 DIST KDocker-5.4.tar.gz 181166 BLAKE2B 7a301cd36f73112f5a6df6ce65fc11c30b16089ccec98f46d435694b2bfb373eac11c2ba3be5c4e56a56cec1f5fad9bc17b014e47e55f886f0685b6f11707c51 SHA512 1bc1bc445ccc2406f3fe21deb68d9654b3d384ab88bce4bc49f123c343ece3dcc3dfdc49b796f6ad5251d050e57b4ad13e1900851519b3643263137550f0ccc9
+DIST KDocker-6.2.tar.gz 352810 BLAKE2B d299c71c53a4c519da2ee038878a689bcc074fbf49ad69eda74f38ebd9b7734fa7a8ef9e6cbdbaa20fcce18814d5a397ba0fd2e6bdbf71790271d46603b136d8 SHA512 0e3ef8235e2ecb95bfaec704fb3cc9dfc15be5955ab12155e78128628e00dc3398f179b7e3393b1f0898b3c43d681b1b5bb1828bfc92629136f818773b650caf

diff --git a/x11-misc/kdocker/files/kdocker-6.2-fix_clang.patch b/x11-misc/kdocker/files/kdocker-6.2-fix_clang.patch
new file mode 100644
index 000000000000..84aba1550192
--- /dev/null
+++ b/x11-misc/kdocker/files/kdocker-6.2-fix_clang.patch
@@ -0,0 +1,24 @@
+https://github.com/user-none/KDocker/pull/142.patch
+From 114d1f3ac0f78569c1c0a6e8deac141c0efddff0 Mon Sep 17 00:00:00 2001
+From: Reilly Brogan <reilly@reillybrogan.com>
+Date: Sat, 7 Dec 2024 00:49:16 -0600
+Subject: [PATCH] Fix clang compilation
+
+Signed-off-by: Reilly Brogan <reilly@reillybrogan.com>
+---
+ src/xlibutil.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/xlibutil.cpp b/src/xlibutil.cpp
+index b18f20a..d899bb5 100644
+--- a/src/xlibutil.cpp
++++ b/src/xlibutil.cpp
+@@ -654,7 +654,7 @@ void XLibUtil::raiseWindow(windowid_t window)
+ // found icon.
+ static bool imageMeetsMinimumOpaque(size_t num_opaque, size_t width, size_t height)
+ {
+-    if (static_cast<double>(num_opaque) / static_cast<double>(width * height) > 0.1d)
++    if (static_cast<double>(num_opaque) / static_cast<double>(width * height) > 0.1)
+         return true;
+     return false;
+ }

diff --git a/x11-misc/kdocker/kdocker-6.2.ebuild b/x11-misc/kdocker/kdocker-6.2.ebuild
new file mode 100644
index 000000000000..90e55eb29de1
--- /dev/null
+++ b/x11-misc/kdocker/kdocker-6.2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake xdg
+
+MY_P=KDocker-${PV}
+DESCRIPTION="Helper to dock any application into the system tray"
+HOMEPAGE="https://github.com/user-none/KDocker"
+SRC_URI="https://github.com/user-none/KDocker/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+	dev-qt/qtbase:6[dbus,gui,widgets,X]
+	x11-libs/libX11
+"
+DEPEND="${RDEPEND}
+	x11-libs/libxcb
+"
+
+PATCHES=(
+	# Merged. To be removed at next version 6.3.
+	"${FILESDIR}"/${P}-fix_clang.patch
+)


             reply	other threads:[~2025-03-24  5:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-24  5:58 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-01-01  7:55 [gentoo-commits] repo/gentoo:master commit in: x11-misc/kdocker/files/, x11-misc/kdocker/ Andreas Sturmlechner

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=1742795898.70dabe22e8a4cc3b12c326620ab1e17a8c6e5330.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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