summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-03-15 13:11:26 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2009-03-15 13:11:26 +0000
commit15b36fb3766471c7184c4c64875a828af4622ed3 (patch)
treeb0db5b9eee6dbf07a5524e9cd6e1e8bfe419c220 /kde-base/korganizer
parentMarking evolution-data-server-2.24.5-r2 ppc64 for bug 261203 (diff)
downloadgentoo-2-15b36fb3766471c7184c4c64875a828af4622ed3.tar.gz
gentoo-2-15b36fb3766471c7184c4c64875a828af4622ed3.tar.bz2
gentoo-2-15b36fb3766471c7184c4c64875a828af4622ed3.zip
Apply upstream requested patch for missing display in weekview. Remove old.
(Portage version: 2.2_rc25/cvs/Linux x86_64)
Diffstat (limited to 'kde-base/korganizer')
-rw-r--r--kde-base/korganizer/ChangeLog10
-rw-r--r--kde-base/korganizer/files/4.2.1-r933657_weekview.patch18
-rw-r--r--kde-base/korganizer/korganizer-4.2.1-r1.ebuild (renamed from kde-base/korganizer/korganizer-4.2.1.ebuild)4
3 files changed, 30 insertions, 2 deletions
diff --git a/kde-base/korganizer/ChangeLog b/kde-base/korganizer/ChangeLog
index 55bf8fdc07f4..da3b7263ed87 100644
--- a/kde-base/korganizer/ChangeLog
+++ b/kde-base/korganizer/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for kde-base/korganizer
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/korganizer/ChangeLog,v 1.111 2009/03/08 20:15:47 alexxy Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/korganizer/ChangeLog,v 1.112 2009/03/15 13:11:25 scarabeus Exp $
+
+*korganizer-4.2.1-r1 (15 Mar 2009)
+
+ 15 Mar 2009; Tomas Chvatal <scarabeus@gentoo.org>
+ +files/4.2.1-r933657_weekview.patch, -korganizer-4.2.1.ebuild,
+ +korganizer-4.2.1-r1.ebuild:
+ Apply upstream requested patch for missing display in weekview. Remove
+ old.
08 Mar 2009; Alexey Shvetsov <alexxy@gentoo.org> -korganizer-4.2.0.ebuild,
-korganizer-4.2.0-r1.ebuild:
diff --git a/kde-base/korganizer/files/4.2.1-r933657_weekview.patch b/kde-base/korganizer/files/4.2.1-r933657_weekview.patch
new file mode 100644
index 000000000000..9f0a90f2defb
--- /dev/null
+++ b/kde-base/korganizer/files/4.2.1-r933657_weekview.patch
@@ -0,0 +1,18 @@
+Index: branches/KDE/4.2/kdepim/korganizer/views/agendaview/koagendaview.cpp
+===================================================================
+--- branches/KDE/4.2/kdepim/korganizer/views/agendaview/koagendaview.cpp (revision 933656)
++++ branches/KDE/4.2/kdepim/korganizer/views/agendaview/koagendaview.cpp (revision 933657)
+@@ -1544,8 +1544,12 @@
+ KConfigGroup group = config->group( "Views" );
+
+ QList<int> sizes = group.readEntry( "Separator AgendaView", QList<int>() );
+- mSplitterAgenda->setSizes( sizes );
+
++ // the size depends on the number of plugins used
++ if ( sizes.count() >= 2 ) {
++ mSplitterAgenda->setSizes( sizes );
++ }
++
+ updateConfig();
+ }
+
diff --git a/kde-base/korganizer/korganizer-4.2.1.ebuild b/kde-base/korganizer/korganizer-4.2.1-r1.ebuild
index 667a4c814a15..126ff86b2a62 100644
--- a/kde-base/korganizer/korganizer-4.2.1.ebuild
+++ b/kde-base/korganizer/korganizer-4.2.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/korganizer/korganizer-4.2.1.ebuild,v 1.2 2009/03/08 13:55:26 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/korganizer/korganizer-4.2.1-r1.ebuild,v 1.1 2009/03/15 13:11:25 scarabeus Exp $
EAPI="2"
@@ -32,6 +32,8 @@ KMEXTRACTONLY="
libkholidays
"
+PATCHES=( "${FILESDIR}/${PV}-r933657_weekview.patch" )
+
src_unpack() {
if use kontact; then
KMLOADLIBS="${KMLOADLIBS} kontactinterfaces"