public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: kde-apps/kcalc/files/, kde-apps/kcalc/
@ 2016-03-20 15:38 Michael Palimaka
  0 siblings, 0 replies; only message in thread
From: Michael Palimaka @ 2016-03-20 15:38 UTC (permalink / raw
  To: gentoo-commits

commit:     28ed021b7f3ce97def9a4b530768c8b8e54fd383
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 20 15:38:11 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sun Mar 20 15:38:31 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28ed021b

kde-apps/kcalc: fix issue where kcalc appears not to start

Patch-by: Rex Dieter <rdieter <AT> math.unl.edu>
Gentoo-bug: 577782
KDE-bug: 360105

Package-Manager: portage-2.2.28

 .../kcalc/files/kcalc-15.12.3-fixsetsize.patch     | 15 +++++++++
 kde-apps/kcalc/kcalc-15.12.3-r1.ebuild             | 38 ++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/kde-apps/kcalc/files/kcalc-15.12.3-fixsetsize.patch b/kde-apps/kcalc/files/kcalc-15.12.3-fixsetsize.patch
new file mode 100644
index 0000000..a2ff272
--- /dev/null
+++ b/kde-apps/kcalc/files/kcalc-15.12.3-fixsetsize.patch
@@ -0,0 +1,15 @@
+Fix issue where kcalc has a zero-sized window and appears not to start.
+
+Patch-by: Rex Dieter <rdieter@math.unl.edu>
+Gentoo-bug: 577782
+KDE-bug: 360105
+
+--- a/kcalc.cpp
++++ b/kcalc.cpp
+@@ -124,5 +124,5 @@ KCalculator::KCalculator(QWidget *parent
+	updateGeometry();
+
+-	setFixedSize(minimumSize());
++	if ( ! minimumSize().isEmpty() ) setFixedSize(minimumSize());
+
+	updateDisplay(UPDATE_FROM_CORE);

diff --git a/kde-apps/kcalc/kcalc-15.12.3-r1.ebuild b/kde-apps/kcalc/kcalc-15.12.3-r1.ebuild
new file mode 100644
index 0000000..47e3b42
--- /dev/null
+++ b/kde-apps/kcalc/kcalc-15.12.3-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_DOXYGEN="true"
+KDE_HANDBOOK="forceoptional"
+KDE_TEST="true"
+inherit kde5
+
+DESCRIPTION="KDE calculator"
+HOMEPAGE="https://www.kde.org/applications/utilities/kcalc
+https://utils.kde.org/projects/kcalc"
+KEYWORDS=" ~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kguiaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep knotifications)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	dev-libs/gmp:0=
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtwidgets)
+	$(add_qt_dep qtxml)
+"
+DEPEND="${RDEPEND}
+	$(add_frameworks_dep kinit)
+	dev-libs/mpfr:0
+	sys-devel/gettext
+"
+
+PATCHES=( "${FILESDIR}/${P}-fixsetsize.patch" )


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-03-20 15:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-20 15:38 [gentoo-commits] repo/gentoo:master commit in: kde-apps/kcalc/files/, kde-apps/kcalc/ Michael Palimaka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox