summaryrefslogtreecommitdiff
path: root/kde-misc/todo-list/files
diff options
context:
space:
mode:
authorAlex Alexander <alex.alexander@gmail.com>2009-03-29 04:50:27 +0300
committerAlex Alexander <alex.alexander@gmail.com>2009-03-29 04:59:57 +0300
commit8c8697227d710290112c859be8460417d35bbf6e (patch)
tree4f72321f621e9332be78bc97b0ca078c346115c5 /kde-misc/todo-list/files
parentb57fc10c95c8882a84e732a91e559a926626dd54 (diff)
downloadkde-8c8697227d710290112c859be8460417d35bbf6e.tar.gz
kde-8c8697227d710290112c859be8460417d35bbf6e.tar.bz2
kde-8c8697227d710290112c859be8460417d35bbf6e.zip
moved plasmoids to kde-misc/
old ebuilds in kde-plasmoids/ package.masked updated sets with new location people using sets should get automatic update [auto-solved blocks] people without sets -avDuN'ing their systems will get a detailed warning from profiles/package.mask, notifying them of the change people trying to install kde-misc/versions on top of existing kde-plasmoids/versions will get blockers people who used a set but have kde-plasmoids/ entries in their world file will get blockers on update
Diffstat (limited to 'kde-misc/todo-list/files')
-rw-r--r--kde-misc/todo-list/files/todo-list-0.2.1-patch_kde42.diff76
1 files changed, 76 insertions, 0 deletions
diff --git a/kde-misc/todo-list/files/todo-list-0.2.1-patch_kde42.diff b/kde-misc/todo-list/files/todo-list-0.2.1-patch_kde42.diff
new file mode 100644
index 00000000000..6246ccfc5d9
--- /dev/null
+++ b/kde-misc/todo-list/files/todo-list-0.2.1-patch_kde42.diff
@@ -0,0 +1,76 @@
+diff -U 3 -H -d -r -N -- todo_plasmoid/CMakeLists.txt todo_plasmoid_KDE42/CMakeLists.txt
+--- todo_plasmoid/CMakeLists.txt 2008-10-14 19:52:45.000000000 +0200
++++ todo_plasmoid_KDE42/CMakeLists.txt 2009-02-03 14:10:03.000000000 +0100
+@@ -2,7 +2,6 @@
+
+ # search packages used by KDE
+ find_package(KDE4 REQUIRED)
+-find_package(Plasma REQUIRED)
+ include (KDE4Defaults)
+ include (MacroLibrary)
+ include(MacroOptionalAddSubdirectory)
+diff -U 3 -H -d -r -N -- todo_plasmoid/src/applet/CMakeLists.txt todo_plasmoid_KDE42/src/applet/CMakeLists.txt
+--- todo_plasmoid/src/applet/CMakeLists.txt 2008-10-14 19:52:45.000000000 +0200
++++ todo_plasmoid_KDE42/src/applet/CMakeLists.txt 2009-02-03 14:10:21.000000000 +0100
+@@ -15,7 +15,7 @@
+ kde4_add_ui_files(todoapplet_SRCS todoappletconfig.ui)
+
+ kde4_add_plugin(todoapplet ${todoapplet_SRCS})
+-target_link_libraries(todoapplet ${PLASMA_LIBS} ${KDE4_KDEUI_LIBS})
++target_link_libraries(todoapplet ${KDE4_PLASMA_LIBS} ${KDE4_KDEUI_LIBS})
+
+ install(TARGETS todoapplet DESTINATION ${PLUGIN_INSTALL_DIR})
+
+diff -U 3 -H -d -r -N -- todo_plasmoid/src/applet/todoapplet.cpp todo_plasmoid_KDE42/src/applet/todoapplet.cpp
+--- todo_plasmoid/src/applet/todoapplet.cpp 2008-11-17 15:26:59.000000000 +0100
++++ todo_plasmoid_KDE42/src/applet/todoapplet.cpp 2009-02-03 14:12:28.000000000 +0100
+@@ -38,7 +38,7 @@
+
+ // plasma headers
+ #include <Plasma/Dialog>
+-#include <Plasma/Icon>
++#include <plasma/widgets/iconwidget.h>
+ #include <Plasma/Theme>
+
+ K_EXPORT_PLASMA_APPLET(todoapplet, TodoApplet)
+@@ -209,7 +209,7 @@
+ m_dialog->setLayout(dialogLayout);
+
+ // panel icon
+- m_icon = new Plasma::Icon(KIcon("view-pim-tasks"), QString(), this);
++ m_icon = new Plasma::IconWidget(KIcon("view-pim-tasks"), QString(), this);
+ m_layout->addItem(m_icon);
+ connect(m_icon, SIGNAL(clicked()), SLOT(showDialog()));
+
+diff -U 3 -H -d -r -N -- todo_plasmoid/src/applet/todoapplet.h todo_plasmoid_KDE42/src/applet/todoapplet.h
+--- todo_plasmoid/src/applet/todoapplet.h 2008-11-17 15:27:03.000000000 +0100
++++ todo_plasmoid_KDE42/src/applet/todoapplet.h 2009-02-03 14:11:52.000000000 +0100
+@@ -27,6 +27,7 @@
+ // Plasma includes
+ #include <Plasma/Applet>
+ #include <Plasma/DataEngine>
++#include <plasma/widgets/iconwidget.h>
+
+ namespace Plasma {
+ class Dialog;
+@@ -78,7 +79,7 @@
+ Plasma::DataEngine *m_engine;
+
+ Plasma::Dialog *m_dialog; // dialog in case ****
+- Plasma::Icon *m_icon; // panel icon in case ****
++ Plasma::IconWidget *m_icon; // panel icon in case ****
+ QGraphicsLinearLayout *m_layout; // main applet layout
+ QComboBox *m_types; // todos categories combobox
+ QGraphicsProxyWidget *m_proxyWidget; // proxy widget
+diff -U 3 -H -d -r -N -- todo_plasmoid/src/dataengine/CMakeLists.txt todo_plasmoid_KDE42/src/dataengine/CMakeLists.txt
+--- todo_plasmoid/src/dataengine/CMakeLists.txt 2008-10-14 19:52:45.000000000 +0200
++++ todo_plasmoid_KDE42/src/dataengine/CMakeLists.txt 2009-02-03 14:10:44.000000000 +0100
+@@ -8,7 +8,7 @@
+ )
+
+ kde4_add_plugin(plasma_engine_todo ${todo_engine_SRCS})
+-target_link_libraries(plasma_engine_todo ${KDE4_KDECORE_LIBS} ${PLASMA_LIBS}
++target_link_libraries(plasma_engine_todo ${KDE4_KDECORE_LIBS} ${KDE4_PLASMA_LIBS}
+ ${KDE4_KDEUI_LIBS} ${KDE4_KCAL_LIBS} ${KDE4_KPIM_LIBS})
+
+ install(TARGETS plasma_engine_todo DESTINATION ${PLUGIN_INSTALL_DIR})