summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /kde-misc/yakuake
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'kde-misc/yakuake')
-rw-r--r--kde-misc/yakuake/Manifest1
-rw-r--r--kde-misc/yakuake/files/yakuake-2.9.9-lastsession.patch213
-rw-r--r--kde-misc/yakuake/metadata.xml11
-rw-r--r--kde-misc/yakuake/yakuake-2.9.9-r2.ebuild31
4 files changed, 256 insertions, 0 deletions
diff --git a/kde-misc/yakuake/Manifest b/kde-misc/yakuake/Manifest
new file mode 100644
index 000000000000..e875c254f804
--- /dev/null
+++ b/kde-misc/yakuake/Manifest
@@ -0,0 +1 @@
+DIST yakuake-2.9.9.tar.xz 316716 SHA256 0e0e4994c568f8091c9424e4aab35645436a9ff341c00b1cd1eab0ada0bf61ce SHA512 6dbc3f38df81598eafa86eecadb2d9e4cf32c77843434ac48fddf4ff3295babebc4c41dab300eebd4ef9b80f11a6f87c73c7e18279d02fe6e45f7caf38286b14 WHIRLPOOL feb44998c6810c06344c525465cfb965ec2b58de5382979a634d7eccd4e1f7872e45d7259da4d639327792430dc3b5ea21c79459dff7389253f7bbe5bf93816d
diff --git a/kde-misc/yakuake/files/yakuake-2.9.9-lastsession.patch b/kde-misc/yakuake/files/yakuake-2.9.9-lastsession.patch
new file mode 100644
index 000000000000..e9e33a91dcda
--- /dev/null
+++ b/kde-misc/yakuake/files/yakuake-2.9.9-lastsession.patch
@@ -0,0 +1,213 @@
+From 4655fb0affb4753eade7d6c92bb699e9d7dd3fb5 Mon Sep 17 00:00:00 2001
+From: Eike Hein <hein@kde.org>
+Date: Mon, 5 Nov 2012 23:06:26 +0100
+Subject: [PATCH] Add an option for keeping the window open after the last
+ session closes.
+
+BUG:308850
+---
+ app/config/behaviorsettings.ui | 107 ++++++++++++++++++++++++-----------------
+ app/config/yakuake.kcfg | 5 ++
+ app/mainwindow.cpp | 2 +-
+ 3 files changed, 68 insertions(+), 46 deletions(-)
+
+diff --git a/app/config/behaviorsettings.ui b/app/config/behaviorsettings.ui
+index 2fce1c7..3759f7b 100644
+--- a/app/config/behaviorsettings.ui
++++ b/app/config/behaviorsettings.ui
+@@ -6,8 +6,8 @@
+ <rect>
+ <x>0</x>
+ <y>0</y>
+- <width>364</width>
+- <height>308</height>
++ <width>356</width>
++ <height>289</height>
+ </rect>
+ </property>
+ <layout class="QVBoxLayout" name="verticalLayout">
+@@ -20,31 +20,49 @@
+ <string comment="@title:group Group box label">General</string>
+ </property>
+ <layout class="QGridLayout" name="gridLayout">
+- <item row="0" column="0" colspan="2">
+- <widget class="QCheckBox" name="kcfg_OpenAfterStart">
++ <item row="6" column="0" colspan="2">
++ <widget class="QCheckBox" name="kcfg_FocusFollowsMouse">
+ <property name="text">
+- <string comment="@option:check">Open window after program start</string>
++ <string comment="@option:check">Focus terminals when the mouse pointer is moved over them</string>
+ </property>
+ </widget>
+ </item>
+- <item row="1" column="0" colspan="2">
+- <widget class="QCheckBox" name="kcfg_PollMouse">
++ <item row="4" column="1">
++ <widget class="QCheckBox" name="kcfg_ToggleToFocus">
++ <property name="enabled">
++ <bool>false</bool>
++ </property>
++ <property name="sizePolicy">
++ <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
++ <horstretch>0</horstretch>
++ <verstretch>0</verstretch>
++ </sizepolicy>
++ </property>
+ <property name="whatsThis">
+- <string comment="@info:whatsthis">If this option is enabled, the window will automatically open when the mouse pointer is moved to the same edge of the screen that it would open on when using the shortcut.</string>
++ <string comment="@info:whatsthis">If this option is enabled, the shortcut normally used to open and retract the window will give it focus, rather than close it, if it has previously lost focus. Unless the window is set to show on all virtual desktops, this may cause the window manager to switch to the virtual desktop it currently resides on.</string>
+ </property>
+ <property name="text">
+- <string comment="@option:check">Open window when the mouse pointer touches the screen edge</string>
++ <string comment="@option:check">Use Open/Retract action to focus window</string>
+ </property>
+ </widget>
+ </item>
+- <item row="2" column="0" colspan="2">
+- <widget class="QCheckBox" name="kcfg_KeepOpen">
++ <item row="3" column="1">
++ <widget class="QCheckBox" name="kcfg_KeepAbove">
++ <property name="enabled">
++ <bool>false</bool>
++ </property>
++ <property name="sizePolicy">
++ <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
++ <horstretch>0</horstretch>
++ <verstretch>0</verstretch>
++ </sizepolicy>
++ </property>
+ <property name="text">
+- <string comment="@option:check">Keep window open when it loses focus</string>
++ <string comment="@option:check">Keep window above other windows</string>
+ </property>
+ </widget>
+ </item>
+- <item row="3" column="0">
++ <item row="4" column="0">
+ <spacer>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+@@ -60,23 +78,31 @@
+ </property>
+ </spacer>
+ </item>
+- <item row="3" column="1">
+- <widget class="QCheckBox" name="kcfg_KeepAbove">
+- <property name="enabled">
+- <bool>false</bool>
++ <item row="0" column="0" colspan="2">
++ <widget class="QCheckBox" name="kcfg_OpenAfterStart">
++ <property name="text">
++ <string comment="@option:check">Open window after program start</string>
+ </property>
+- <property name="sizePolicy">
+- <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
+- <horstretch>0</horstretch>
+- <verstretch>0</verstretch>
+- </sizepolicy>
++ </widget>
++ </item>
++ <item row="1" column="0" colspan="2">
++ <widget class="QCheckBox" name="kcfg_PollMouse">
++ <property name="whatsThis">
++ <string comment="@info:whatsthis">If this option is enabled, the window will automatically open when the mouse pointer is moved to the same edge of the screen that it would open on when using the shortcut.</string>
+ </property>
+ <property name="text">
+- <string comment="@option:check">Keep window above other windows</string>
++ <string comment="@option:check">Open window when the mouse pointer touches the screen edge</string>
+ </property>
+ </widget>
+ </item>
+- <item row="4" column="0">
++ <item row="2" column="0" colspan="2">
++ <widget class="QCheckBox" name="kcfg_KeepOpen">
++ <property name="text">
++ <string comment="@option:check">Keep window open when it loses focus</string>
++ </property>
++ </widget>
++ </item>
++ <item row="3" column="0">
+ <spacer>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+@@ -92,29 +118,10 @@
+ </property>
+ </spacer>
+ </item>
+- <item row="4" column="1">
+- <widget class="QCheckBox" name="kcfg_ToggleToFocus">
+- <property name="enabled">
+- <bool>false</bool>
+- </property>
+- <property name="sizePolicy">
+- <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
+- <horstretch>0</horstretch>
+- <verstretch>0</verstretch>
+- </sizepolicy>
+- </property>
+- <property name="whatsThis">
+- <string comment="@info:whatsthis">If this option is enabled, the shortcut normally used to open and retract the window will give it focus, rather than close it, if it has previously lost focus. Unless the window is set to show on all virtual desktops, this may cause the window manager to switch to the virtual desktop it currently resides on.</string>
+- </property>
+- <property name="text">
+- <string comment="@option:check">Use Open/Retract action to focus window</string>
+- </property>
+- </widget>
+- </item>
+ <item row="5" column="0" colspan="2">
+- <widget class="QCheckBox" name="kcfg_FocusFollowsMouse">
++ <widget class="QCheckBox" name="kcfg_KeepOpenAfterLastSessionCloses">
+ <property name="text">
+- <string comment="@option:check">Focus terminals when the mouse pointer is moved over them</string>
++ <string extracomment="@option:check">Keep window open after the last session is closed</string>
+ </property>
+ </widget>
+ </item>
+@@ -152,6 +159,16 @@
+ </item>
+ </layout>
+ </widget>
++ <tabstops>
++ <tabstop>kcfg_OpenAfterStart</tabstop>
++ <tabstop>kcfg_PollMouse</tabstop>
++ <tabstop>kcfg_KeepOpen</tabstop>
++ <tabstop>kcfg_KeepAbove</tabstop>
++ <tabstop>kcfg_ToggleToFocus</tabstop>
++ <tabstop>kcg_KeepOpenAfterLastSessionCloses</tabstop>
++ <tabstop>kcfg_FocusFollowsMouse</tabstop>
++ <tabstop>kcfg_ConfirmQuit</tabstop>
++ </tabstops>
+ <resources/>
+ <connections>
+ <connection>
+diff --git a/app/config/yakuake.kcfg b/app/config/yakuake.kcfg
+index e70418b..a71e9b3 100644
+--- a/app/config/yakuake.kcfg
++++ b/app/config/yakuake.kcfg
+@@ -41,6 +41,11 @@
+ <whatsthis context="@info:whatsthis">Whether to keep the application window open when it loses focus.</whatsthis>
+ <default>true</default>
+ </entry>
++ <entry name="KeepOpenAfterLastSessionCloses" type="Bool">
++ <label context="@label">Keep window open after last session closes</label>
++ <whatsthis context="@info:whatsthis">Whether to keep the application window open after the last session is closed.</whatsthis>
++ <default>false</default>
++ </entry>
+ <entry name="ToggleToFocus" type="Bool">
+ <label context="@label">Use open/retract shortcut to focus window</label>
+ <whatsthis context="@info:whatsthis">Whether the open/retract keyboard shortcut can be used to focus the application window when it is already open.</whatsthis>
+diff --git a/app/mainwindow.cpp b/app/mainwindow.cpp
+index 3f51911..22b374d 100644
+--- a/app/mainwindow.cpp
++++ b/app/mainwindow.cpp
+@@ -538,7 +538,7 @@ void MainWindow::handleTerminalSilence(Terminal* terminal)
+
+ void MainWindow::handleLastTabClosed()
+ {
+- if (isVisible())
++ if (isVisible() && !Settings::keepOpenAfterLastSessionCloses())
+ toggleWindowState();
+ }
+
+--
+1.8.1.5
+
diff --git a/kde-misc/yakuake/metadata.xml b/kde-misc/yakuake/metadata.xml
new file mode 100644
index 000000000000..5fec123565c2
--- /dev/null
+++ b/kde-misc/yakuake/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>kde</herd>
+ <longdescription>
+ YaKuake is Yet Another Kuake KDE terminal emulator. It drops down no a
+ configurable key press (defaults to F12) with a konsole window, supports
+ multiple tabs, multiple screens and mouse wheel tab navigation amongst other
+ features.
+ </longdescription>
+</pkgmetadata>
diff --git a/kde-misc/yakuake/yakuake-2.9.9-r2.ebuild b/kde-misc/yakuake/yakuake-2.9.9-r2.ebuild
new file mode 100644
index 000000000000..3e5eb9343489
--- /dev/null
+++ b/kde-misc/yakuake/yakuake-2.9.9-r2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_LINGUAS="ca ca@valencia cs da de el en_GB es et fi fr ga gl hr hu it km ko
+nb nds nl nn pa pl pt pt_BR ro ru sk sr sr@ijekavian sr@ijekavianlatin sr@latin
+sv th tr uk wa zh_CN zh_TW"
+inherit kde4-base
+
+DESCRIPTION="A quake-style terminal emulator based on KDE konsole technology"
+HOMEPAGE="http://yakuake.kde.org/"
+SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz"
+
+LICENSE="GPL-2 LGPL-2"
+KEYWORDS="amd64 ~arm ppc x86"
+SLOT="4"
+IUSE="debug"
+
+RDEPEND="
+ $(add_kdeapps_dep konsole)
+ x11-libs/libX11
+"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+"
+
+DOCS=( AUTHORS ChangeLog KDE4FAQ NEWS README TODO )
+
+PATCHES=( "${FILESDIR}/${P}-lastsession.patch" )