mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
kde-plasma/kde-gtk-config: drop 5.27.11
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST kde-gtk-config-5.27.11.tar.xz 77516 BLAKE2B db2d4a03aa563cfd4df9c227400ccab51acbbace4b403dac30d9ef05ecca76186256435fdd62e46995fc7594d20a95109d1ecc6c941735bb22cca34e35a3b9a2 SHA512 5887631ba33ce1c121843412a713bc6fc3099a16a8961c9651919e66d9cce83f8391c47d7f6a5f4ad32ec5a497095755b315dfbbeb47ab5b3fa71b9166bf0ba0
|
||||
DIST kde-gtk-config-6.1.4.tar.xz 78560 BLAKE2B 89179267027581ae0d75b3f5e3d46576223c249311970de5dd15eb3c6ffd708e0209c47b428fc162be5136987c4fe3c22e1aa50a8f3f9c07cc6d0b308d42a42c SHA512 d685882bc77b8c549c5c9e789d97bd37e0f9beab727dfb4cf480f11c6e720596a2d50ba2a3ec5d8cd4ff0b013aac763c461079b5a7e560113b35012ffe8b87fb
|
||||
DIST kde-gtk-config-6.1.5.tar.xz 78620 BLAKE2B 76276977e767a54a2a0d069c3386a3d0e86c7fd51c1d9f1751ad75c8e83220d1058f44fb5718d579524abdfe6c5be7a4f9af0863546fad1d257af885706b404b SHA512 1b5d75df5cf329a34b92f88e22ff24529a91293a5a52980149d054cebeb7aa54337674fe33bdd58cd64a46976747041d7bccbfdeffd530507c42fa402d9ec131
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
From 6f324aabdd4f118a81bb5c898689a0151e09d2e0 Mon Sep 17 00:00:00 2001
|
||||
From: Fushan Wen <qydwhotmail@gmail.com>
|
||||
Date: Wed, 6 Mar 2024 15:31:41 +0000
|
||||
Subject: [PATCH] Revert "Round x11GlobalScaleFactor instead of flooring it"
|
||||
|
||||
This reverts commit 6b3865a72baff3932fbe89ef0c44ff1b9bb4cd10
|
||||
---
|
||||
kded/gtkconfig.cpp | 9 ++-------
|
||||
1 file changed, 2 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/kded/gtkconfig.cpp b/kded/gtkconfig.cpp
|
||||
index 8e825fd..85272ce 100644
|
||||
--- a/kded/gtkconfig.cpp
|
||||
+++ b/kded/gtkconfig.cpp
|
||||
@@ -197,14 +197,9 @@ void GtkConfig::setEnableAnimations() const
|
||||
}
|
||||
}
|
||||
|
||||
-static double roundPreferFloor(double d)
|
||||
-{
|
||||
- return (d - floor(d)) > 0.5 ? ceil(d) : floor(d);
|
||||
-}
|
||||
-
|
||||
void GtkConfig::setGlobalScale() const
|
||||
{
|
||||
- const unsigned scaleFactor = roundPreferFloor(configValueProvider->x11GlobalScaleFactor());
|
||||
+ const unsigned scaleFactor = configValueProvider->x11GlobalScaleFactor();
|
||||
XSettingsEditor::setValue(QStringLiteral("Gdk/WindowScalingFactor"), scaleFactor);
|
||||
GSettingsEditor::setValue("scaling-factor", scaleFactor); // For IntelliJ IDEA
|
||||
}
|
||||
@@ -212,7 +207,7 @@ void GtkConfig::setGlobalScale() const
|
||||
void GtkConfig::setTextScale() const
|
||||
{
|
||||
const double x11Scale = configValueProvider->x11GlobalScaleFactor();
|
||||
- const int x11ScaleIntegerPart = int(roundPreferFloor(x11Scale));
|
||||
+ const int x11ScaleIntegerPart = int(x11Scale);
|
||||
|
||||
const int forceFontDpi = configValueProvider->fontDpi();
|
||||
|
||||
--
|
||||
GitLab
|
||||
|
||||
@@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
KFMIN=5.106.0
|
||||
PVCUT=$(ver_cut 1-3)
|
||||
QTMIN=5.15.9
|
||||
inherit ecm plasma.kde.org
|
||||
|
||||
DESCRIPTION="Syncs KDE Plasma theme settings to GTK applications"
|
||||
HOMEPAGE="https://invent.kde.org/plasma/kde-gtk-config"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="5"
|
||||
KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
dev-libs/glib:2
|
||||
>=dev-qt/qtdbus-${QTMIN}:5
|
||||
>=dev-qt/qtgui-${QTMIN}:5
|
||||
>=dev-qt/qtsvg-${QTMIN}:5
|
||||
gnome-base/gsettings-desktop-schemas
|
||||
>=kde-frameworks/kconfig-${KFMIN}:5
|
||||
>=kde-frameworks/kconfigwidgets-${KFMIN}:5
|
||||
>=kde-frameworks/kcoreaddons-${KFMIN}:5
|
||||
>=kde-frameworks/kdbusaddons-${KFMIN}:5
|
||||
>=kde-frameworks/kguiaddons-${KFMIN}:5
|
||||
>=kde-frameworks/kwindowsystem-${KFMIN}:5
|
||||
>=kde-plasma/kdecoration-${PVCUT}:5
|
||||
x11-libs/gtk+:3[X]
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
>=kde-plasma/kde-cli-tools-${PVCUT}:*
|
||||
x11-misc/xsettingsd
|
||||
"
|
||||
BDEPEND="dev-lang/sassc"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-revert-6b3865a7.patch" )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DDATA_INSTALL_DIR="${EPREFIX}/usr/share"
|
||||
)
|
||||
|
||||
ecm_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ecm_pkg_postinst
|
||||
elog "If you notice missing icons in your GTK applications, you may have to install"
|
||||
elog "the corresponding themes for GTK. A good guess would be x11-themes/oxygen-gtk"
|
||||
elog "for example."
|
||||
}
|
||||
Reference in New Issue
Block a user