summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregorio Guidi <greg_g@gentoo.org>2005-03-23 21:47:26 +0000
committerGregorio Guidi <greg_g@gentoo.org>2005-03-23 21:47:26 +0000
commit35e930cede774d2887bb8b71e91b5b065b00b29f (patch)
tree326b8e9d07e3b88eea12bf7015611f9360877da5 /x11-terms/kuake
parentFix smime to use /usr/bin/perl instead of /usr/local/bin/perl #51916 (diff)
downloadgentoo-2-35e930cede774d2887bb8b71e91b5b065b00b29f.tar.gz
gentoo-2-35e930cede774d2887bb8b71e91b5b065b00b29f.tar.bz2
gentoo-2-35e930cede774d2887bb8b71e91b5b065b00b29f.zip
Add patch to fix alignment problems (#86273). Add missing dependency.
(Portage version: 2.0.51.19)
Diffstat (limited to 'x11-terms/kuake')
-rw-r--r--x11-terms/kuake/ChangeLog8
-rw-r--r--x11-terms/kuake/files/digest-kuake-0.3-r21
-rw-r--r--x11-terms/kuake/files/kuake-0.3-alignment-fix.patch77
-rw-r--r--x11-terms/kuake/kuake-0.3-r2.ebuild26
4 files changed, 111 insertions, 1 deletions
diff --git a/x11-terms/kuake/ChangeLog b/x11-terms/kuake/ChangeLog
index aae75dfbbb29..98a3800b14e8 100644
--- a/x11-terms/kuake/ChangeLog
+++ b/x11-terms/kuake/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-terms/kuake
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-terms/kuake/ChangeLog,v 1.12 2005/03/08 15:55:42 greg_g Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/kuake/ChangeLog,v 1.13 2005/03/23 21:47:26 greg_g Exp $
+
+*kuake-0.3-r2 (23 Mar 2005)
+
+ 23 Mar 2005; Gregorio Guidi <greg_g@gentoo.org>
+ +files/kuake-0.3-alignment-fix.patch, +kuake-0.3-r2.ebuild:
+ Add patch to fix alignment problems (#86273). Add missing dependency.
08 Mar 2005; Gregorio Guidi <greg_g@gentoo.org> kuake-0.3-r1.ebuild:
Stable on x86.
diff --git a/x11-terms/kuake/files/digest-kuake-0.3-r2 b/x11-terms/kuake/files/digest-kuake-0.3-r2
new file mode 100644
index 000000000000..06b51c93236f
--- /dev/null
+++ b/x11-terms/kuake/files/digest-kuake-0.3-r2
@@ -0,0 +1 @@
+MD5 bd0ebf7af08543bf947ce3d19bfa1c5d kuake-0.3.tar.gz 637825
diff --git a/x11-terms/kuake/files/kuake-0.3-alignment-fix.patch b/x11-terms/kuake/files/kuake-0.3-alignment-fix.patch
new file mode 100644
index 000000000000..47d2033f47f7
--- /dev/null
+++ b/x11-terms/kuake/files/kuake-0.3-alignment-fix.patch
@@ -0,0 +1,77 @@
+diff -Nur kuake-0.3.orig/src/kuake.cpp kuake-0.3/src/kuake.cpp
+--- kuake-0.3.orig/src/kuake.cpp 2004-03-11 21:16:07.000000000 +0100
++++ kuake-0.3/src/kuake.cpp 2005-03-23 22:32:24.000000000 +0100
+@@ -128,15 +128,19 @@
+ kwinmodule = new KWinModule(this);
+
+ readConfig();
+- changeState(true);
++ //changeState(true);
+ //resizeKuake();
+ //emit slotChangeState();
+
++ if (!compact)
++ stack->show();
+ show();
+
+ KStartupInfoId id;
+ id.initId(kapp->startupId());
+ KStartupInfo::sendFinish(id);
++
++ resizeKeepingState();
+ }
+ // --------------------------------------------------------------- //
+
+@@ -334,7 +338,7 @@
+ KWin::setStrut(winId(), 0, 0, 0, (toggleButton)?_BUTTON_SIZE:0);
+ break;
+ case _ALIGN_LEFT:
+- setGeometry(0, 0, (toggleButton)?0:-_BUTTON_SIZE, screenHeight);
++ setGeometry((toggleButton)?0:-_BUTTON_SIZE, 0, _BUTTON_SIZE, screenHeight);
+ pbResize->setGeometry(0, 0, _BUTTON_SIZE, screenHeight);
+ KWin::setStrut(winId(), (toggleButton)?_BUTTON_SIZE:0, 0, 0, 0);
+ break;
+@@ -370,6 +374,11 @@
+ KConfig conf ("kuakerc");
+
+ sizeRatio = conf.readNumEntry("size_ratio", _SIZE_RATIO_THIRD);
++ alignment = conf.readNumEntry ("alignment", _ALIGN_BOTTOM);
++ animation_steps = conf.readNumEntry("animation", _ANIMATION_MEDIUM);
++ toggleButton = conf.readBoolEntry("toggleButton", true);
++ compact = !conf.readBoolEntry("state", true);
++
+ switch (sizeRatio)
+ {
+ case _SIZE_RATIO_FULL:
+@@ -391,14 +400,13 @@
+ break;
+ }
+
+- alignment = conf.readNumEntry ("alignment", _ALIGN_BOTTOM);
+ switch (alignment)
+ {
+ case _ALIGN_TOP:
+ emit slotAlignmentTop();
+ break;
+ case _ALIGN_BOTTOM:
+- emit slotAlignmentTop();
++ emit slotAlignmentBottom();
+ break;
+ case _ALIGN_LEFT:
+ emit slotAlignmentLeft();
+@@ -411,7 +419,6 @@
+ break;
+ }
+
+- animation_steps = conf.readNumEntry("animation", _ANIMATION_MEDIUM);
+ switch (animation_steps)
+ {
+ case _ANIMATION_NONE:
+@@ -428,7 +435,6 @@
+ break;
+ }
+
+- toggleButton = conf.readBoolEntry("toggleButton", true);
+ ctx->setItemChecked(ctxToggleButtonID, toggleButton);
+ }
+ // --------------------------------------------------------------- //
diff --git a/x11-terms/kuake/kuake-0.3-r2.ebuild b/x11-terms/kuake/kuake-0.3-r2.ebuild
new file mode 100644
index 000000000000..e314a5883543
--- /dev/null
+++ b/x11-terms/kuake/kuake-0.3-r2.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/kuake/kuake-0.3-r2.ebuild,v 1.1 2005/03/23 21:47:26 greg_g Exp $
+
+inherit kde
+
+DESCRIPTION="A Quake-style terminal emulator"
+HOMEPAGE="http://www.nemohackers.org/kuake.php"
+SRC_URI="http://199.231.140.154/software/kuake/${P}.tar.gz"
+
+KEYWORDS="~x86 ~sparc ~amd64 ~ppc"
+LICENSE="GPL-2"
+
+SLOT="0"
+IUSE=""
+
+DEPEND="|| ( kde-base/konsole kde-base/kdebase )"
+
+need-kde 3.3
+
+src_unpack() {
+ kde_src_unpack
+
+ epatch "${FILESDIR}/${P}-dropdown-fix.patch"
+ epatch "${FILESDIR}/${P}-alignment-fix.patch"
+}