From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4B1F0138359 for ; Tue, 29 Sep 2020 12:49:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 82943E0895; Tue, 29 Sep 2020 12:49:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6725BE0895 for ; Tue, 29 Sep 2020 12:49:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5CF70340688 for ; Tue, 29 Sep 2020 12:49:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B755938C for ; Tue, 29 Sep 2020 12:49:29 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1601383528.6d88a5390e3aa5e3fd050c3904c364a1c5447c69.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: kde-frameworks/kirigami/files/, kde-frameworks/kirigami/ X-VCS-Repository: repo/gentoo X-VCS-Files: kde-frameworks/kirigami/files/kirigami-5.74.0-revert-fix-avatar-loading.patch kde-frameworks/kirigami/kirigami-5.74.0-r1.ebuild X-VCS-Directories: kde-frameworks/kirigami/files/ kde-frameworks/kirigami/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 6d88a5390e3aa5e3fd050c3904c364a1c5447c69 X-VCS-Branch: master Date: Tue, 29 Sep 2020 12:49:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e3324d66-33c8-4479-b442-f5ec4a474fa1 X-Archives-Hash: 3fe865a9baf265bb4fdadaedb6d2f9f0 commit: 6d88a5390e3aa5e3fd050c3904c364a1c5447c69 Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Sep 28 22:22:43 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Sep 29 12:45:28 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d88a539 kde-frameworks/kirigami: Fix blurry user avatars Upstream commit aaaabf1ea84d9c5ae9cf50a306b79f15f44f5b35 KDE-Bug: https://bugs.kde.org/show_bug.cgi?id=422182 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Andreas Sturmlechner gentoo.org> ...kirigami-5.74.0-revert-fix-avatar-loading.patch | 30 ++++++++++++++ kde-frameworks/kirigami/kirigami-5.74.0-r1.ebuild | 48 ++++++++++++++++++++++ 2 files changed, 78 insertions(+) diff --git a/kde-frameworks/kirigami/files/kirigami-5.74.0-revert-fix-avatar-loading.patch b/kde-frameworks/kirigami/files/kirigami-5.74.0-revert-fix-avatar-loading.patch new file mode 100644 index 00000000000..60dae8389ab --- /dev/null +++ b/kde-frameworks/kirigami/files/kirigami-5.74.0-revert-fix-avatar-loading.patch @@ -0,0 +1,30 @@ +From aaaabf1ea84d9c5ae9cf50a306b79f15f44f5b35 Mon Sep 17 00:00:00 2001 +From: Carson Black +Date: Sat, 19 Sep 2020 12:21:33 -0400 +Subject: [PATCH] Revert "Fix: avatar loading" + +This reverts commit 338d91be7254099c1ad4c1f475acb6368df2b114, which +introduced a visual regression in the users KCM among other places +that use the Avatar by causing the image to fail to resize according +to the size of the avatar component. +--- + src/controls/Avatar.qml | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/src/controls/Avatar.qml b/src/controls/Avatar.qml +index a4f59448..775e5987 100644 +--- a/src/controls/Avatar.qml ++++ b/src/controls/Avatar.qml +@@ -133,9 +133,6 @@ QQC2.Control { + mipmap: true + smooth: true + +- sourceSize.width: avatarRoot.implicitWidth +- sourceSize.height: avatarRoot.implicitHeight +- + fillMode: Image.PreserveAspectFit + anchors.fill: parent + } +-- +GitLab + diff --git a/kde-frameworks/kirigami/kirigami-5.74.0-r1.ebuild b/kde-frameworks/kirigami/kirigami-5.74.0-r1.ebuild new file mode 100644 index 00000000000..aa5b71a3f17 --- /dev/null +++ b/kde-frameworks/kirigami/kirigami-5.74.0-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ECM_EXAMPLES="true" +ECM_QTHELP="false" +ECM_TEST="true" +KDE_ORG_NAME="${PN}2" +QTMIN=5.14.2 +inherit ecm kde.org + +DESCRIPTION="Lightweight user interface framework for mobile and convergent applications" +HOMEPAGE="https://techbase.kde.org/Kirigami" +EGIT_REPO_URI="${EGIT_REPO_URI/${PN}2/${PN}}" + +LICENSE="LGPL-2+" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="" + +BDEPEND=" + >=dev-qt/linguist-tools-${QTMIN}:5 +" +DEPEND=" + >=dev-qt/qtconcurrent-${QTMIN}:5 + >=dev-qt/qtdbus-${QTMIN}:5 + >=dev-qt/qtdeclarative-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtnetwork-${QTMIN}:5 + >=dev-qt/qtquickcontrols2-${QTMIN}:5 + >=dev-qt/qtsvg-${QTMIN}:5 +" +RDEPEND="${DEPEND} + >=dev-qt/qtgraphicaleffects-${QTMIN}:5 +" + +# requires package to already be installed +RESTRICT+=" test" + +PATCHES=( "${FILESDIR}"/${P}-revert-fix-avatar-loading.patch ) + +src_configure() { + local mycmakeargs=( + -DBUILD_EXAMPLES=$(usex examples) + ) + + ecm_src_configure +}