diff options
author | Andreas Hüttel <dilfridge@gentoo.org> | 2011-06-19 00:00:29 +0000 |
---|---|---|
committer | Andreas Hüttel <dilfridge@gentoo.org> | 2011-06-19 00:00:29 +0000 |
commit | 8158e42f561cbbc011989f47145cd2e58367bf66 (patch) | |
tree | 78dbd925e218381d27b056df868549d4256a514c /kde-base | |
parent | Stable on amd64 wrt bug #371977 (diff) | |
download | historical-8158e42f561cbbc011989f47145cd2e58367bf66.tar.gz historical-8158e42f561cbbc011989f47145cd2e58367bf66.tar.bz2 historical-8158e42f561cbbc011989f47145cd2e58367bf66.zip |
Added patch by Martin von Gagern, fixes bug 357945
Package-Manager: portage-2.1.10.3/cvs/Linux x86_64
Diffstat (limited to 'kde-base')
-rw-r--r-- | kde-base/konsole/ChangeLog | 9 | ||||
-rw-r--r-- | kde-base/konsole/Manifest | 31 | ||||
-rw-r--r-- | kde-base/konsole/files/konsole-4.4.2-remember-size.patch | 157 | ||||
-rw-r--r-- | kde-base/konsole/files/konsole-4.6.4-imagesize.patch | 70 | ||||
-rw-r--r-- | kde-base/konsole/konsole-4.6.4-r1.ebuild | 40 |
5 files changed, 134 insertions, 173 deletions
diff --git a/kde-base/konsole/ChangeLog b/kde-base/konsole/ChangeLog index d66720e55efa..d04a02c056a9 100644 --- a/kde-base/konsole/ChangeLog +++ b/kde-base/konsole/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for kde-base/konsole # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/konsole/ChangeLog,v 1.194 2011/06/10 17:59:56 dilfridge Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/konsole/ChangeLog,v 1.195 2011/06/19 00:00:29 dilfridge Exp $ + +*konsole-4.6.4-r1 (19 Jun 2011) + + 19 Jun 2011; Andreas K. Huettel <dilfridge@gentoo.org> + -files/konsole-4.4.2-remember-size.patch, +konsole-4.6.4-r1.ebuild, + +files/konsole-4.6.4-imagesize.patch: + Added patch by Martin von Gagern, fixes bug 357945 *konsole-4.6.4 (10 Jun 2011) diff --git a/kde-base/konsole/Manifest b/kde-base/konsole/Manifest index 289149b25406..12de752719f9 100644 --- a/kde-base/konsole/Manifest +++ b/kde-base/konsole/Manifest @@ -1,29 +1,30 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 -AUX konsole-4.4.2-remember-size.patch 7135 RMD160 d3d69760e5da3e5c09631bb76f1ae746d73b1da5 SHA1 4f91991e2aa0de67f49e177477e27d472e226945 SHA256 0773bd696167c7ebd67657a17cc182a546bcfd1036d557199d024c8c0d952670 +AUX konsole-4.6.4-imagesize.patch 2373 RMD160 f35549577157ccc9a596dae80ed6cf520ccff5f2 SHA1 b54d9b0515201df553d2386dd2b53e15e2502fcc SHA256 cbebc132ff781fa02cb6e2db9c1f7c55ea0aa98e8506dbd2325a672f437de978 DIST kdebase-4.6.2.tar.bz2 2681254 RMD160 e2852884f664231148f13a84b9a7e7b3ed42c6e0 SHA1 e9e46a6b4f5580996a1484da6d2ef17f418eec69 SHA256 1f797f386ddac4eb1974cb8090dec4a0e86b9a40b834ed8cf210e3bc160c15f9 DIST kdebase-4.6.3.tar.bz2 2682586 RMD160 38784d7a5a708703f5a22e39dc5f83ef7aecd833 SHA1 69cfba74099cdce27f7f72725288f025979b41f3 SHA256 23151e6afdc3864a9637794715faf750740e15f15b5d9f5b35ab431db473494d DIST kdebase-4.6.4.tar.bz2 2678729 RMD160 a3ba3bf1ab1f37aad82e83c481e61b236f6583a3 SHA1 aef0d3f2ed8cc54cbe1ae6025091c9e0a43235c4 SHA256 0a1ab043fa60d299d7c4f36e4c4bcb54d9609d215cd31f5afa239642c80fea54 EBUILD konsole-4.6.2.ebuild 774 RMD160 717b34212796d9604328df3f4c32f5f21d8237ae SHA1 14d50d46fc7422bd7d33c04e492a80ee7715e692 SHA256 cca5fe48bc4c2ab68c1c9ecd438136c8cf3a35c773e0f9a5d0407bacf47d9c54 EBUILD konsole-4.6.3.ebuild 753 RMD160 fcef00e1e477fc8113642bd1630f6ad6c1ec1150 SHA1 f469175edd899da1c2068c9054cc701ad4db285a SHA256 9540c7653e62408c5b26736669c5aa55e03bc0032e1fe7afb70b5a258a7a757a +EBUILD konsole-4.6.4-r1.ebuild 846 RMD160 3e3f1f2655bd95211f36886262a1b414decd8b74 SHA1 5059274568ca96be251557ecdc7547fc86173d50 SHA256 27cc90d90cf69d255c760b93e7b2fd0430bbd304c7dc7fe9653d3626612091d7 EBUILD konsole-4.6.4.ebuild 788 RMD160 81f97256de911a3e3b8ba9a233eea8a2097ace03 SHA1 0d0a72cdc8cc1db012431e84ef8d8b6cd9acd190 SHA256 9cbc6a3efb871c57dc84ef3c137e7dc115cfb43474b9a6dd809496221bf96587 -MISC ChangeLog 24446 RMD160 98ceea0b3def91c1356f6e9bec11b20fdaa734a1 SHA1 7eb77698245759dd9f2bd65c366a70a2f9127665 SHA256 6891d5c95dddb064db2d3ab9724298c290b4eedb64c56c2d35bae683e3a8d882 +MISC ChangeLog 24700 RMD160 ce0222ca8477e033ca5efd2815970f4bbb9d6def SHA1 7f092248148b8bc9cca58cd4da76090a6df7b5dc SHA256 47e05d7e01b68f97b530e87230550e772de161bd020a234d8662cc3c25238f98 MISC metadata.xml 156 RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 SHA1 b64f7c0b4e5db816d82ad19848f72118af129d35 SHA256 2f4da28506b9d4185f320f67a6191d30c7a921217ed4447ed46ea0bc4aefc79a -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iQIcBAEBCgAGBQJN8lxIAAoJENwGBM22xffe6u0P+wQLU6TIBHeaQeOpP7PKCcjC -Vx+BTCxqu+NhUvoNv1/+VwhkZbXF+Bx0GbpGxKqerfyRCsuGX0mI6fWApO8XF0yZ -Yc1K/r0jUXlrPrQoshrJHzXt8ThJ4n/Q5nf5tAodHJEQUGSuFxJUxRp37wUnPxWC -kgsqVkMQ57Jb6YajaNUlXMQGc5/CBSD41Py/1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/kqQYvpplcrFBvsWu0NqU67Ek +fmRvMEMRBlZ2LUFv9A/VimNTbxaWvBiUgQuqaWPaRT6QBcYxusCdMorEggNbRJqv +GCryjfsh0GqtQVDGmOzf/Sa6NHbWsNSHgB5/6u/fdtlsi2bFJ4W+KyxfUB+vG98p +Ch+7JnztAm1tf/GZS1sw +=SfwW -----END PGP SIGNATURE----- diff --git a/kde-base/konsole/files/konsole-4.4.2-remember-size.patch b/kde-base/konsole/files/konsole-4.4.2-remember-size.patch deleted file mode 100644 index 516af28f08f5..000000000000 --- a/kde-base/konsole/files/konsole-4.4.2-remember-size.patch +++ /dev/null @@ -1,157 +0,0 @@ -diff -ur konsole-4.2.4_orig/konsole/src/EditProfileDialog.cpp konsole-4.2.4/konsole/src/EditProfileDialog.cpp ---- konsole-4.2.4_orig/konsole/src/EditProfileDialog.cpp 2008-12-10 17:13:08.000000000 +0100 -+++ konsole-4.2.4/konsole/src/EditProfileDialog.cpp 2009-08-02 01:50:04.000000000 +0200 -@@ -255,6 +255,7 @@ - - // window options - _ui->showMenuBarButton->setChecked( info->property<bool>(Profile::ShowMenuBar) ); -+ _ui->saveGeometryOnExitButton->setChecked( info->property<bool>(Profile::SaveGeometryOnExit) ); - - // signals and slots - connect( _ui->dirSelectButton , SIGNAL(clicked()) , this , SLOT(selectInitialDir()) ); -@@ -270,6 +271,8 @@ - - connect(_ui->showMenuBarButton , SIGNAL(toggled(bool)) , this , - SLOT(showMenuBar(bool)) ); -+ connect(_ui->saveGeometryOnExitButton , SIGNAL(toggled(bool)) , this , -+ SLOT(saveGeometryOnExit(bool)) ); - - connect(_ui->environmentEditButton , SIGNAL(clicked()) , this , - SLOT(showEnvironmentEditor()) ); -@@ -371,6 +374,10 @@ - { - _tempProfile->setProperty(Profile::ShowMenuBar,show); - } -+void EditProfileDialog::saveGeometryOnExit(bool save) -+{ -+ _tempProfile->setProperty(Profile::SaveGeometryOnExit,save); -+} - void EditProfileDialog::tabTitleFormatChanged(const QString& format) - { - _tempProfile->setProperty(Profile::LocalTabTitleFormat,format); -diff -ur konsole-4.2.4_orig/konsole/src/EditProfileDialog.h konsole-4.2.4/konsole/src/EditProfileDialog.h ---- konsole-4.2.4_orig/konsole/src/EditProfileDialog.h 2008-09-26 16:55:51.000000000 +0200 -+++ konsole-4.2.4/konsole/src/EditProfileDialog.h 2009-08-02 01:53:03.000000000 +0200 -@@ -120,6 +120,7 @@ - void insertRemoteTabTitleText(const QString& text); - - void showMenuBar(bool); -+ void saveGeometryOnExit(bool); - void showEnvironmentEditor(); - void tabBarVisibilityChanged(int); - void tabBarPositionChanged(int); -diff -ur konsole-4.2.4_orig/konsole/src/EditProfileDialog.ui konsole-4.2.4/konsole/src/EditProfileDialog.ui ---- konsole-4.2.4_orig/konsole/src/EditProfileDialog.ui 2008-10-09 11:46:34.000000000 +0200 -+++ konsole-4.2.4/konsole/src/EditProfileDialog.ui 2009-08-02 02:02:59.000000000 +0200 -@@ -228,6 +228,22 @@ - </property> - </widget> - </item> -+ <item> -+ <widget class="QCheckBox" name="saveGeometryOnExitButton"> -+ <property name="sizePolicy"> -+ <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> -+ <horstretch>0</horstretch> -+ <verstretch>0</verstretch> -+ </sizepolicy> -+ </property> -+ <property name="toolTip"> -+ <string>Set the window size and position for this profile when exiting</string> -+ </property> -+ <property name="text"> -+ <string>Save window size and position on exit</string> -+ </property> -+ </widget> -+ </item> - </layout> - </widget> - </item> -diff -ur konsole-4.2.4_orig/konsole/src/MainWindow.cpp konsole-4.2.4/konsole/src/MainWindow.cpp ---- konsole-4.2.4_orig/konsole/src/MainWindow.cpp 2008-12-10 17:13:08.000000000 +0100 -+++ konsole-4.2.4/konsole/src/MainWindow.cpp 2009-08-02 01:57:31.000000000 +0200 -@@ -79,6 +79,8 @@ - - connect( _viewManager , SIGNAL(setMenuBarVisibleRequest(bool)) , this , - SLOT(setMenuBarVisibleOnce(bool)) ); -+ connect( _viewManager , SIGNAL(setSaveGeometryOnExitRequest(bool)) , this , -+ SLOT(setSaveGeometryOnExit(bool)) ); - connect( _viewManager , SIGNAL(newViewRequest(Profile::Ptr)) , - this , SLOT(newFromProfile(Profile::Ptr)) ); - connect( _viewManager , SIGNAL(newViewRequest()) , -@@ -129,6 +131,11 @@ - _menuBarVisibilitySet = true; - } - -+void MainWindow::setSaveGeometryOnExit(bool save) -+{ -+ setAutoSaveSettings("MainWindow",save); -+} -+ - void MainWindow::correctShortcuts() - { - // replace F1 shortcut for help contents -diff -ur konsole-4.2.4_orig/konsole/src/MainWindow.h konsole-4.2.4/konsole/src/MainWindow.h ---- konsole-4.2.4_orig/konsole/src/MainWindow.h 2008-10-09 11:46:34.000000000 +0200 -+++ konsole-4.2.4/konsole/src/MainWindow.h 2009-08-02 01:46:59.000000000 +0200 -@@ -155,6 +155,8 @@ - // effect if the menu bar is a MacOS-style top-level menu - void setMenuBarVisibleOnce(bool visible); - -+ void setSaveGeometryOnExit(bool visible); -+ - void openUrls(const QList<KUrl>& urls); - - private: -diff -ur konsole-4.2.4_orig/konsole/src/Profile.cpp konsole-4.2.4/konsole/src/Profile.cpp ---- konsole-4.2.4_orig/konsole/src/Profile.cpp 2008-09-26 16:55:51.000000000 +0200 -+++ konsole-4.2.4/konsole/src/Profile.cpp 2009-08-02 01:45:01.000000000 +0200 -@@ -76,6 +76,7 @@ - , { LocalTabTitleFormat , "tabtitle" , 0 , QVariant::String } - , { RemoteTabTitleFormat , "RemoteTabTitleFormat" , GENERAL_GROUP , QVariant::String } - , { ShowMenuBar , "ShowMenuBar" , GENERAL_GROUP , QVariant::Bool } -+ , { SaveGeometryOnExit , "SaveGeometryOnExit" , GENERAL_GROUP , QVariant::Bool } - , { TabBarMode , "TabBarMode" , GENERAL_GROUP , QVariant::Int } - , { TabBarPosition , "TabBarPosition" , GENERAL_GROUP , QVariant::Int } - , { StartInCurrentSessionDir , "StartInCurrentSessionDir" , GENERAL_GROUP , QVariant::Bool } -@@ -153,6 +154,7 @@ - setProperty(TabBarMode,AlwaysShowTabBar); - setProperty(TabBarPosition,TabBarBottom); - setProperty(ShowMenuBar,true); -+ setProperty(SaveGeometryOnExit,true); - setProperty(StartInCurrentSessionDir,true); - setProperty(ShowNewAndCloseTabButtons,false); - -diff -ur konsole-4.2.4_orig/konsole/src/Profile.h konsole-4.2.4/konsole/src/Profile.h ---- konsole-4.2.4_orig/konsole/src/Profile.h 2008-09-26 16:55:51.000000000 +0200 -+++ konsole-4.2.4/konsole/src/Profile.h 2009-08-02 01:52:38.000000000 +0200 -@@ -113,6 +113,7 @@ - RemoteTabTitleFormat, - /** (bool) Specifies whether the menu bar should be shown in the main application window. */ - ShowMenuBar, -+ SaveGeometryOnExit, - /** (TabBarModeEnum) Specifies when the tab bar should be shown in - * the main application window. */ - TabBarMode, -diff -ur konsole-4.2.4_orig/konsole/src/ViewManager.cpp konsole-4.2.4/konsole/src/ViewManager.cpp ---- konsole-4.2.4_orig/konsole/src/ViewManager.cpp 2009-03-26 15:42:41.000000000 +0100 -+++ konsole-4.2.4/konsole/src/ViewManager.cpp 2009-08-02 01:51:24.000000000 +0200 -@@ -738,6 +738,8 @@ - // menu bar visibility - emit setMenuBarVisibleRequest( info->property<bool>(Profile::ShowMenuBar) ); - -+ emit setSaveGeometryOnExitRequest( info->property<bool>(Profile::SaveGeometryOnExit) ); -+ - // tab bar visibility - if (applyContainerSettings) - { -diff -ur konsole-4.2.4_orig/konsole/src/ViewManager.h konsole-4.2.4/konsole/src/ViewManager.h ---- konsole-4.2.4_orig/konsole/src/ViewManager.h 2008-10-09 11:46:34.000000000 +0200 -+++ konsole-4.2.4/konsole/src/ViewManager.h 2009-08-02 01:46:23.000000000 +0200 -@@ -195,6 +195,7 @@ - * activated. - */ - void setMenuBarVisibleRequest(bool); -+ void setSaveGeometryOnExitRequest(bool); - - /** Requests creation of a new view with the default profile. */ - void newViewRequest(); diff --git a/kde-base/konsole/files/konsole-4.6.4-imagesize.patch b/kde-base/konsole/files/konsole-4.6.4-imagesize.patch new file mode 100644 index 000000000000..03fb8c97913c --- /dev/null +++ b/kde-base/konsole/files/konsole-4.6.4-imagesize.patch @@ -0,0 +1,70 @@ +Make sure the imageSizeChanged signal is emitted at least once. + +Without this patch, the shell or other app might have a wrong idea as to the +size of the terminal, because the size has never explicitely been set. + +This patch uses a boolean flag, to make sure the signal gets emitted at +least once. An alternative would be to change the default screen sizes. +One could either choose 24x80 as the default screen size, as this is what +most apps expect, or 1x1, as this is almost certainly different from any +screen size actually used. The first approach relies on defaults which need +not be fixed, and should therefore be avoided. Both approaches force a +resize of the screens created in the constructor, which is some overhead I'd +like to avoid. Neither one bool of data nor the added control structures +seems expensive enough to discourage this approach. + +https://bugs.kde.org/show_bug.cgi?id=176902 +https://bugs.gentoo.org/show_bug.cgi?id=357945 +https://bugzilla.redhat.com/show_bug.cgi?id=477359 + +2011-04-06 Patch by Martin von Gagern +based on ideas from Kurt V. Hindenburg and Jonathan Wakely + +Index: konsole-4.6.1/konsole/src/Emulation.cpp +=================================================================== +--- konsole-4.6.1.orig/konsole/src/Emulation.cpp ++++ konsole-4.6.1/konsole/src/Emulation.cpp +@@ -55,7 +55,8 @@ Emulation::Emulation() : + _codec(0), + _decoder(0), + _keyTranslator(0), +- _usesMouse(false) ++ _usesMouse(false), ++ _imageSizeSet(false) + { + // create screens with a default size + _screen[0] = new Screen(40,80); +@@ -344,12 +345,20 @@ void Emulation::setImageSize(int lines, + QSize newSize(columns,lines); + + if (newSize == screenSize[0] && newSize == screenSize[1]) +- return; ++ { ++ if (!_imageSizeSet) ++ { ++ emit imageSizeChanged(lines,columns); ++ _imageSizeSet = true; ++ } ++ return; ++ } + + _screen[0]->resizeImage(lines,columns); + _screen[1]->resizeImage(lines,columns); + + emit imageSizeChanged(lines,columns); ++ _imageSizeSet = true; + + bufferedUpdate(); + } +Index: konsole-4.6.1/konsole/src/Emulation.h +=================================================================== +--- konsole-4.6.1.orig/konsole/src/Emulation.h ++++ konsole-4.6.1/konsole/src/Emulation.h +@@ -462,6 +462,7 @@ private: + bool _usesMouse; + QTimer _bulkTimer1; + QTimer _bulkTimer2; ++ bool _imageSizeSet; + + }; + diff --git a/kde-base/konsole/konsole-4.6.4-r1.ebuild b/kde-base/konsole/konsole-4.6.4-r1.ebuild new file mode 100644 index 000000000000..36d6a606ead4 --- /dev/null +++ b/kde-base/konsole/konsole-4.6.4-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/konsole/konsole-4.6.4-r1.ebuild,v 1.1 2011/06/19 00:00:29 dilfridge Exp $ + +EAPI=4 + +KDE_HANDBOOK="optional" +KDE_SCM="git" + +if [[ ${PV} = *9999 ]]; then + kde_eclass="kde4-base" +else + KMNAME="kdebase-apps" + kde_eclass="kde4-meta" +fi +inherit ${kde_eclass} + +DESCRIPTION="X terminal for use with KDE." +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="debug" + +COMMONDEPEND=" + !aqua? ( + x11-libs/libX11 + x11-libs/libXext + >=x11-libs/libxklavier-3.2 + x11-libs/libXrender + x11-libs/libXtst + ) +" +DEPEND="${COMMONDEPEND} + !aqua? ( + x11-apps/bdftopcf + x11-proto/kbproto + x11-proto/renderproto + ) +" +RDEPEND="${COMMONDEPEND}" + +PATCHES=( "${FILESDIR}/${PN}-4.6.4-imagesize.patch" ) |