diff options
author | 2012-01-30 16:47:39 +0000 | |
---|---|---|
committer | 2012-01-30 16:47:39 +0000 | |
commit | 8c098cf4a4e300678fc04312a3ea216561c74d85 (patch) | |
tree | 845f33986aeb479b82a79dc3f887f93847057179 /kde-misc/smooth-tasks | |
parent | Stable for amd64, wrt bug #401229 (diff) | |
download | historical-8c098cf4a4e300678fc04312a3ea216561c74d85.tar.gz historical-8c098cf4a4e300678fc04312a3ea216561c74d85.tar.bz2 historical-8c098cf4a4e300678fc04312a3ea216561c74d85.zip |
Add new snapshot from a more active fork. Snapshot is patched to build with kde 4.8. Remove old snapshot violates naming scheme. Fixes bug #400863.
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64
Diffstat (limited to 'kde-misc/smooth-tasks')
-rw-r--r-- | kde-misc/smooth-tasks/ChangeLog | 12 | ||||
-rw-r--r-- | kde-misc/smooth-tasks/Manifest | 27 | ||||
-rw-r--r-- | kde-misc/smooth-tasks/files/smooth-tasks-0_p20120130-kde48.patch | 176 | ||||
-rw-r--r-- | kde-misc/smooth-tasks/smooth-tasks-0_p20120130.ebuild (renamed from kde-misc/smooth-tasks/smooth-tasks-20101106.ebuild) | 17 |
4 files changed, 206 insertions, 26 deletions
diff --git a/kde-misc/smooth-tasks/ChangeLog b/kde-misc/smooth-tasks/ChangeLog index 3ad0ee19a2bf..7880377c9188 100644 --- a/kde-misc/smooth-tasks/ChangeLog +++ b/kde-misc/smooth-tasks/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for kde-misc/smooth-tasks -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-misc/smooth-tasks/ChangeLog,v 1.4 2011/10/29 00:07:54 abcd Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/kde-misc/smooth-tasks/ChangeLog,v 1.5 2012/01/30 16:47:39 johu Exp $ + +*smooth-tasks-0_p20120130 (30 Jan 2012) + + 30 Jan 2012; Johannes Huber <johu@gentoo.org> + +files/smooth-tasks-0_p20120130-kde48.patch, +smooth-tasks-0_p20120130.ebuild, + -smooth-tasks-20101106.ebuild: + Add new snapshot from a more active fork. Snapshot is patched to build with + kde 4.8. Remove old snapshot violates naming scheme. Fixes bug #400863. 29 Oct 2011; Jonathan Callen <abcd@gentoo.org> smooth-tasks-20101106.ebuild: Bump to EAPI=4 diff --git a/kde-misc/smooth-tasks/Manifest b/kde-misc/smooth-tasks/Manifest index fe6231497e29..547f88a3a451 100644 --- a/kde-misc/smooth-tasks/Manifest +++ b/kde-misc/smooth-tasks/Manifest @@ -1,24 +1,19 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 -DIST 101586-smooth-tasks-src-wip-2010-11-06.tar.bz2 280151 RMD160 6a173e5d2a7b77ccfc40eda004d4d498afadd602 SHA1 d91fe21034bbc21985c8bd681fffca425bc49973 SHA256 561ca1dd4ce3611c9b19e9aeaf1e2fdc8a1d0f0d89598787b76c4829f3dc1ded -EBUILD smooth-tasks-20101106.ebuild 796 RMD160 a703481041cecea84af601772c234e238d043e1f SHA1 69e5facff1c7a0b6e9d781eec44819f565ff0357 SHA256 91512544cbea654b9e8e65204c12801cd9cc3f424594c70c570010e51567970c -MISC ChangeLog 701 RMD160 d07074d7c2b7765ad1f255852dfe2f10966b61dd SHA1 98f56519b14ac4a0410975ff4bfbaaa095236d35 SHA256 534f0b465c8aef9ea488b648cb428ee133dde4726f52e57ca65c0ac804615ee8 +AUX smooth-tasks-0_p20120130-kde48.patch 6370 RMD160 56900a7e51784cd6a6e8c6a329c75f95dad0128b SHA1 29035f1c9a7a15e9fd96547fcd0b50acbcd7a8de SHA256 06c5ecbb85e9468a9da0ca287d4477be2cb9d3f9bbde5218fcbc71bacea86194 +DIST smooth-tasks-0_p20120130.tar.xz 268104 RMD160 7cb715383f9bfb6d09a943905abdfd5ea4f30db5 SHA1 ecd05accf875b66f6e82f0cb238516dc8b8c9996 SHA256 3819147acc0b1dd05e4a2ea4c3bff38bc44aaa4a4605cbcad3d029d575fc4867 +EBUILD smooth-tasks-0_p20120130.ebuild 717 RMD160 e3e00278248afb4f134ab4790825d7d979e299e5 SHA1 187c8dff4e26cef8178e39e7c54aeb7bcf255190 SHA256 6c52cc0fd1eed64834fc0cbd78ba635307e4baad918a6b711659277be4dab7cb +MISC ChangeLog 1057 RMD160 78d65ae35930ce5f4adf2ff76f3ce430cfa2379c SHA1 03bfba0be55e9628a433aa6d7a74c777088e9d5d SHA256 711d2bbf5fff47d802576a6a7fdc85d6a4246ba528a81f791cf4915ddf395806 MISC metadata.xml 156 RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 SHA1 b64f7c0b4e5db816d82ad19848f72118af129d35 SHA256 2f4da28506b9d4185f320f67a6191d30c7a921217ed4447ed46ea0bc4aefc79a -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iQIcBAEBCgAGBQJOq0PgAAoJELHSF2kinlg4/GAP/0q014U+L5wM31r5h95FJqMt -qGy0lCl+pXqoYG1VFSLcbFTuio3VW+howkJZn75/iF7J7B9wzhmyvhnfff8yxsIX -RHObb0sIKQ9YqnZAy4jPelomRb3PYeXshn3BDTkJxaGDl4w7vBcdm3IhhwQPQEFZ -qofKNpcAjsnIUljg1VU2a59bhbN5JV2i1rKEWUvwFBQMkn086yT9jsrweC9gCg60 -czdZDNaSkeBqrO3TLyMfa2ARWXeWcySkT3tM+OTutHJDxSLH2pidaoQQ55iMf6PF -kajIUZkUXU3zqTWCbpQrQVk7yDjas9MXpBMyitk1Bx2h2Xuo3sqoUCWR6xUi1Tjz -L1HmMtSpeSWpHWaqY62FEc5UltoBkP4oUgql8KaTOJhKvJe0+2UhizKpvAhBKIWn -KWbFvLPnEUqG7T4SjOPc4yL5csUUJy6pPcDNOqgk0j99jPo/YA/0AFeTpt/v9dzI -SXtkmVui/bxQKKpqX1RCWTHd26mqMVjN4EN9wasAEwIUMa2yNndyymyaUMmg9LcY -lm/IC1QVZUaagBkdkPnmbE6LHNtB3R42KPDfSt8TkBjqfIwJSd0/GdkNF6nijbtQ -CbOu3IuKgXPRPGhMiPts8Q7GGPoe4HteE+iyvbWrrvwY7Oo0qqKzNF5k8CAr/qft -Vg/Crww+PtryaY2BMHal -=Wc9m +iQEcBAEBCgAGBQJPJslxAAoJEO+t9ga+3I3aDfEH/21fn22ot6rzVTQamseApJIP +zpjyYfbClP3tlkzo0aKcuGZrSG64PuzHbHTe7qJkhuin7+2xwbdA6APmbWqBll9F +Dhon/xD5BezT+ejsByggD6nKeCvkDbiCmyzk+BzITTqjzXuB4+CVdF/V6VcBVmwT +rNcr0PF7swbBbUcx2oR8keC8ZLYJwpVw6ntLpSzPSwrv6m+9k5v9WDLToDablJr+ +hObtdCcHr2xT3sQmTojuzEI8AHDMQpI+nkRa1rmrvdpzGE2X7koAw62PFGCFWpqz +oIOcDo4GfzmPqADSgqKd7BAORoSCdomigk5h/p8KhTQyaXpf5KqQJp5a5w+bHps= +=i500 -----END PGP SIGNATURE----- diff --git a/kde-misc/smooth-tasks/files/smooth-tasks-0_p20120130-kde48.patch b/kde-misc/smooth-tasks/files/smooth-tasks-0_p20120130-kde48.patch new file mode 100644 index 000000000000..c754ba1c2fe5 --- /dev/null +++ b/kde-misc/smooth-tasks/files/smooth-tasks-0_p20120130-kde48.patch @@ -0,0 +1,176 @@ +diff -u src/smooth-tasks-fork/applet/SmoothTasks/PlasmaToolTip.cpp src/smooth-tasks-fork/applet/SmoothTasksX/PlasmaToolTip.cpp +--- src/smooth-tasks-fork/applet/SmoothTasks/PlasmaToolTip.cpp 2011-12-24 03:13:55.604361299 +0100 ++++ src/smooth-tasks-fork/applet/SmoothTasksX/PlasmaToolTip.cpp 2011-12-24 03:11:00.000000000 +0100 +@@ -91,7 +91,7 @@ + } + + Plasma::ToolTipContent data; +- TaskManager::TaskPtr taskPtr(task->task()); ++ TaskManager::Task* taskPtr(task->task()); + QList<WId> windows; + int desktop = -1; + +diff -u src/smooth-tasks-fork/applet/SmoothTasks/SmoothToolTip.cpp src/smooth-tasks-fork/applet/SmoothTasksX/SmoothToolTip.cpp +--- src/smooth-tasks-fork/applet/SmoothTasks/SmoothToolTip.cpp 2011-12-24 03:13:55.605361287 +0100 ++++ src/smooth-tasks-fork/applet/SmoothTasksX/SmoothToolTip.cpp 2011-12-24 03:10:24.000000000 +0100 +@@ -474,7 +474,7 @@ + foreach (WindowPreview *preview, m_previews) { + preview->show(); + +- TaskManager::TaskPtr task = preview->task()->task(); ++ TaskManager::Task* task = preview->task()->task(); + + if (task && preview->task()->type() != Task::StartupItem && preview->task()->type() != Task::LauncherItem) { + winIds.append(task->window()); +diff -u src/smooth-tasks-fork/applet/SmoothTasks/Task.cpp src/smooth-tasks-fork/applet/SmoothTasksX/Task.cpp +--- src/smooth-tasks-fork/applet/SmoothTasks/Task.cpp 2011-12-24 03:13:55.606361275 +0100 ++++ src/smooth-tasks-fork/applet/SmoothTasksX/Task.cpp 2011-12-24 03:07:21.000000000 +0100 +@@ -118,8 +118,8 @@ + } + + QString Task::text() const { +- TaskManager::TaskPtr task; +- TaskManager::StartupPtr startup; ++ TaskManager::Task *task; ++ TaskManager::Startup *startup; + + switch (type()) { + case StartupItem: +@@ -186,12 +186,23 @@ + return m_task ? m_task->task()->desktop() : -1; + } + +-TaskManager::TaskPtr Task::task() const { +- return m_task ? m_task->task() : TaskManager::TaskPtr(); +-} +- +-TaskManager::StartupPtr Task::startup() const { +- return m_task ? m_task->startup() : TaskManager::StartupPtr(); ++TaskManager::Task* Task::task() const { ++ if (m_task) { ++ return m_task->task(); ++ } else { ++ TaskManager::Task *task; ++ return task; ++ } ++ //return m_task ? m_task->task() : ::TaskManager::Task task; ++} ++ ++TaskManager::Startup* Task::startup() const { ++ if (m_task) { ++ return m_task->startup(); ++ } else { ++ TaskManager::Startup* startup; ++ return startup; ++ } + } + + int Task::taskCount() const { +@@ -309,7 +320,7 @@ + void Task::setWindowTask(TaskManager::TaskItem* taskItem) { + m_type = TaskItem; + if (m_task && m_task->task()) { +- disconnect(m_task->task().constData(), 0, this, 0); ++ disconnect(m_task->task(), 0, this, 0); + } + + m_task = taskItem; +diff -u src/smooth-tasks-fork/applet/SmoothTasks/Task.h src/smooth-tasks-fork/applet/SmoothTasksX/Task.h +--- src/smooth-tasks-fork/applet/SmoothTasks/Task.h 2011-12-24 03:13:55.607361262 +0100 ++++ src/smooth-tasks-fork/applet/SmoothTasksX/Task.h 2011-12-24 02:34:23.000000000 +0100 +@@ -78,12 +78,12 @@ + QString text() const; + QString description() const; + int desktop() const; +- TaskManager::TaskPtr task() const; ++ TaskManager::Task *task() const; + TaskManager::AbstractGroupableItem *abstractItem() { return m_abstractItem; } + TaskManager::GroupPtr group() const { return m_group; } +- TaskManager::TaskItem *taskItem() const { return m_task; } ++ TaskManager::TaskItem *taskItem() const { return m_task; } + TaskManager::LauncherItem *launcherItem() const { return m_launcher; } +- TaskManager::StartupPtr startup() const; ++ TaskManager::Startup *startup() const; + TaskFlags flags() const { return m_flags; } + ItemType type() const { return m_type; } + void addMimeData(QMimeData* mimeData); +Only in src/smooth-tasks-fork/applet/SmoothTasksX: .Task.h.kate-swp +diff -u src/smooth-tasks-fork/applet/SmoothTasks/TaskItem.cpp src/smooth-tasks-fork/applet/SmoothTasksX/TaskItem.cpp +--- src/smooth-tasks-fork/applet/SmoothTasks/TaskItem.cpp 2011-12-24 03:13:55.610361223 +0100 ++++ src/smooth-tasks-fork/applet/SmoothTasksX/TaskItem.cpp 2011-12-24 03:09:11.000000000 +0100 +@@ -375,7 +375,7 @@ + + void TaskItem::publishIconGeometry() { + QRect iconRect(iconGeometry()); +- TaskManager::TaskPtr task; ++ TaskManager::Task *task; + TaskManager::GroupPtr group; + + switch (m_task->type()) { +@@ -465,7 +465,7 @@ + } + + void TaskItem::mouseReleaseEvent(QGraphicsSceneMouseEvent *event) { +- TaskManager::TaskPtr task; ++ TaskManager::Task* task; + + switch (event->button()) { + case Qt::LeftButton: +@@ -626,7 +626,7 @@ + } + + void TaskItem::activate() { +- TaskManager::TaskPtr task; ++ TaskManager::Task* task; + + switch (m_task->type()) { + case Task::TaskItem: +Common subdirectories: src/smooth-tasks-fork/applet/SmoothTasks/Ui and src/smooth-tasks-fork/applet/SmoothTasksX/Ui +diff -u src/smooth-tasks-fork/applet/SmoothTasks/WindowPreview.cpp src/smooth-tasks-fork/applet/SmoothTasksX/WindowPreview.cpp +--- src/smooth-tasks-fork/applet/SmoothTasks/WindowPreview.cpp 2011-12-24 03:13:55.619361111 +0100 ++++ src/smooth-tasks-fork/applet/SmoothTasksX/WindowPreview.cpp 2011-12-24 03:12:49.000000000 +0100 +@@ -117,7 +117,7 @@ + if (m_toolTip->previewsAvailable()) { + // determine preview size: + WId wid = 0; +- TaskManager::TaskPtr task = m_task->task(); ++ TaskManager::Task* task = m_task->task(); + + if (task) { + wid = task->window(); +@@ -297,7 +297,7 @@ + } + + void WindowPreview::highlightTask() { +- TaskManager::TaskPtr task = m_task->task(); ++ TaskManager::Task* task = m_task->task(); + + if (task) { + m_toolTip->highlightTask(task->window()); +@@ -325,7 +325,7 @@ + m_toolTip->hide(); + + if(m_task->type() != Task::LauncherItem) { +- TaskManager::TaskPtr task = m_task->task(); ++ TaskManager::Task* task = m_task->task(); + if (task) { + task->activate(); + } +@@ -336,7 +336,7 @@ + } + + void WindowPreview::activateForDrop() { +- TaskManager::TaskPtr task = m_task->task(); ++ TaskManager::Task* task = m_task->task(); + if (task) { + if (task->isMinimized()) { + task->restore(); +@@ -347,7 +347,7 @@ + } + + void WindowPreview::closeTask() { +- TaskManager::TaskPtr task = m_task->task(); ++ TaskManager::Task* task = m_task->task(); + if (task) { + task->close(); + } diff --git a/kde-misc/smooth-tasks/smooth-tasks-20101106.ebuild b/kde-misc/smooth-tasks/smooth-tasks-0_p20120130.ebuild index 758f42d46b53..77f37436364b 100644 --- a/kde-misc/smooth-tasks/smooth-tasks-20101106.ebuild +++ b/kde-misc/smooth-tasks/smooth-tasks-0_p20120130.ebuild @@ -1,18 +1,15 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/kde-misc/smooth-tasks/smooth-tasks-20101106.ebuild,v 1.4 2011/10/29 00:07:54 abcd Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-misc/smooth-tasks/smooth-tasks-0_p20120130.ebuild,v 1.1 2012/01/30 16:47:39 johu Exp $ EAPI=4 KDE_LINGUAS="cs de fr hu pl ru zh_CN" -KDE_MINIMAL="4.5" inherit kde4-base -MY_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}" - DESCRIPTION="Alternate taskbar KDE plasmoid, similar to Windows 7" -HOMEPAGE="http://www.kde-look.org/content/show.php/Smooth+Tasks?content=101586" -SRC_URI="http://kde-look.org/CONTENT/content-files/101586-${PN}-src-wip-${MY_PV}.tar.bz2" +HOMEPAGE="https://bitbucket.org/flupp/smooth-tasks-fork" +SRC_URI="http://dev.gentoo.org/~johu/distfiles/${P}.tar.xz" LICENSE="GPL-2" SLOT="4" @@ -26,4 +23,8 @@ RDEPEND="${DEPEND} $(add_kdebase_dep plasma-workspace) " -S="${WORKDIR}/${PN}-src-wip-${MY_PV}" +PATCHES=( + "${FILESDIR}/${P}-kde48.patch" +) + +S="${WORKDIR}/${PN}" |