[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kapptemplate/Applications/16.04] src/templates/C++: Remove krunner template, moved to krunner repo
From:       Friedrich W. H. Kossebau <kossebau () kde ! org>
Date:       2016-03-31 21:30:34
Message-ID: E1alkAk-0008Gs-6J () scm ! kde ! org
[Download RAW message or body]

Git commit fb9606dfe2fb1c114b24674340e8c10b2d78c54d by Friedrich W. H. Kossebau.
Committed on 31/03/2016 at 21:28.
Pushed by kossebau into branch 'Applications/16.04'.

Remove krunner template, moved to krunner repo

M  +0    -1    src/templates/C++/CMakeLists.txt
D  +0    -35   src/templates/C++/runner/%{APPNAMELC}.cpp
D  +0    -107  src/templates/C++/runner/%{APPNAMELC}.desktop
D  +0    -19   src/templates/C++/runner/%{APPNAMELC}.h
D  +0    -31   src/templates/C++/runner/CMakeLists.txt
D  +0    -29   src/templates/C++/runner/README
D  +0    -84   src/templates/C++/runner/runner.kdevtemplate
D  +-    --    src/templates/C++/runner/runner.png

http://commits.kde.org/kapptemplate/fb9606dfe2fb1c114b24674340e8c10b2d78c54d

diff --git a/src/templates/C++/CMakeLists.txt b/src/templates/C++/CMakeLists.txt
index 92bcaf6..df47e2c 100644
--- a/src/templates/C++/CMakeLists.txt
+++ b/src/templates/C++/CMakeLists.txt
@@ -3,7 +3,6 @@ set(apptemplate_DIRS
     kde-simple
     kde-frameworks5-simple
     kde-frameworks5
-    runner
     ktexteditor
     konqplugin
     kpartapp
diff --git a/src/templates/C++/runner/%{APPNAMELC}.cpp \
b/src/templates/C++/runner/%{APPNAMELC}.cpp deleted file mode 100644
index 4906e29..0000000
--- a/src/templates/C++/runner/%{APPNAMELC}.cpp
+++ /dev/null
@@ -1,35 +0,0 @@
-#include "%{APPNAMELC}.h"
-
-#include <QDebug>
-
-K_EXPORT_PLASMA_RUNNER(%{APPNAMELC}, %{APPNAME})
-
-%{APPNAME}::%{APPNAME}(QObject *parent, const QVariantList& args)
-    : Plasma::AbstractRunner(parent, args)
-{
-    Q_UNUSED(args);
-    setObjectName("%{APPNAME}");
-}
-
-%{APPNAME}::~%{APPNAME}()
-{
-}
-
-
-void %{APPNAME}::match(Plasma::RunnerContext &context)
-{
-
-    const QString term = context.query();
-    if (term.length() < 3) {
-        return;
-    }
-    //TODO
-}
-
-void %{APPNAME}::run(const Plasma::RunnerContext &context, const Plasma::QueryMatch \
                &match)
-{
-    Q_UNUSED(context)
-    Q_UNUSED(match)
-}
-
-#include "%{APPNAMELC}.moc"
diff --git a/src/templates/C++/runner/%{APPNAMELC}.desktop \
b/src/templates/C++/runner/%{APPNAMELC}.desktop deleted file mode 100644
index 10411e1..0000000
--- a/src/templates/C++/runner/%{APPNAMELC}.desktop
+++ /dev/null
@@ -1,107 +0,0 @@
-[Desktop Entry]
-Name=%{APPNAME}
-Name[bg]=%{APPNAME}
-Name[bs]=%{APPNAME}
-Name[ca]=%{APPNAME}
-Name[ca@valencia]=%{APPNAME}
-Name[cs]=%{APPNAME}
-Name[da]=%{APPNAME}
-Name[de]=%{APPNAME}
-Name[el]=%{APPNAME}
-Name[en_GB]=%{APPNAME}
-Name[eo]=%{APPNAME}
-Name[es]=%{APPNAME}
-Name[et]=%{APPNAME}
-Name[fi]=%{APPNAME}
-Name[fr]=%{APPNAME}
-Name[ga]=%{APPNAME}
-Name[gl]=%{APPNAME}
-Name[hu]=%{APPNAME}
-Name[it]=%{APPNAME}
-Name[ja]=%{APPNAME}
-Name[kk]=%{APPNAME}
-Name[km]=%{APPNAME}
-Name[ko]=%{APPNAME}
-Name[lt]=%{APPNAME}
-Name[lv]=%{APPNAME}
-Name[nb]=%{APPNAME}
-Name[nds]=%{APPNAME}
-Name[nl]=%{APPNAME}
-Name[nn]=%{APPNAME}
-Name[pa]=%{APPNAME}
-Name[pl]=%{APPNAME}
-Name[pt]=%{APPNAME}
-Name[pt_BR]=%{APPNAME}
-Name[ro]=%{APPNAME}
-Name[ru]=%{APPNAME}
-Name[sk]=%{APPNAME}
-Name[sl]=%{APPNAME}
-Name[sq]=%{APPNAME}
-Name[sr]=%{APPNAME}
-Name[sr@ijekavian]=%{APPNAME}
-Name[sr@ijekavianlatin]=%{APPNAME}
-Name[sr@latin]=%{APPNAME}
-Name[sv]=%{APPNAME}
-Name[tr]=%{APPNAME}
-Name[ug]=%{APPNAME}
-Name[uk]=%{APPNAME}
-Name[x-test]=xx%{APPNAME}xx
-Name[zh_CN]=%{APPNAME}
-Name[zh_TW]=%{APPNAME}
-Comment=%{APPNAME} runner
-Comment[bs]=%{APPNAME} izvršilac
-Comment[ca]=Llançador de %{APPNAME}
-Comment[ca@valencia]=Llançador de %{APPNAME}
-Comment[cs]=%{APPNAME} runner
-Comment[da]=%{APPNAME}-runner
-Comment[de]=%{APPNAME}-Starter
-Comment[el]=εκτελεστής %{APPNAME}
-Comment[en_GB]=%{APPNAME} runner
-Comment[es]=Lanzador para %{APPNAME}
-Comment[et]=%{APPNAME} käivitaja
-Comment[fi]=%{APPNAME}-suoritusohjelma
-Comment[fr]=Lanceur %{APPNAME}
-Comment[ga]=Feidhmitheoir %{APPNAME}
-Comment[gl]=Executor %{APPNAME}
-Comment[hu]=%{APPNAME} futtató
-Comment[it]=Esecutore di %{APPNAME}
-Comment[ja]=%{APPNAME} runner
-Comment[kk]=%{APPNAME} жеккіші
-Comment[km]=កម្មវិធី​រត់ %{APPNAME}​
-Comment[ko]=%{APPNAME} 실행기
-Comment[lt]=%{APPNAME} paleidiklis
-Comment[lv]=%{APPNAME} darbinātājs
-Comment[nb]=%{APPNAME}-kjører
-Comment[nds]=%{APPNAME}-Dreger
-Comment[nl]=%{APPNAME}-starter
-Comment[nn]=%{APPNAME}-køyrar
-Comment[pa]=%{APPNAME} ਰਨਰ
-Comment[pl]=Uruchamianie %{APPNAME}
-Comment[pt]=Execução do %{APPNAME}
-Comment[pt_BR]=Execução do %{APPNAME}
-Comment[ro]=Lansator %{APPNAME}
-Comment[ru]=Модуль запуска %{APPNAME}
-Comment[sk]=%{APPNAME} runner
-Comment[sl]=Zaganjalnik %{APPNAME}
-Comment[sq]=%{APPNAME} runner
-Comment[sr]=%{APPNAME} извођач
-Comment[sr@ijekavian]=%{APPNAME} извођач
-Comment[sr@ijekavianlatin]=%{APPNAME} izvođač
-Comment[sr@latin]=%{APPNAME} izvođač
-Comment[sv]=Körning av %{APPNAME}
-Comment[tr]=%{APPNAME} çalıştırıcı
-Comment[uk]=Засіб запуску %{APPNAME}
-Comment[x-test]=xx%{APPNAME} runnerxx
-Comment[zh_CN]=%{APPNAME} 启动器
-Comment[zh_TW]=%{APPNAME} 執行器
-Icon=
-
-X-KDE-ServiceTypes=Plasma/Runner
-Type=Service
-X-KDE-Library=krunner_%{APPNAMELC}
-X-KDE-PluginInfo-Author=%{AUTHOR}
-X-KDE-PluginInfo-Email=%{EMAIL}
-X-KDE-PluginInfo-Name=%{APPNAMELC}
-X-KDE-PluginInfo-Version=0.1
-X-KDE-PluginInfo-License=GPL
-X-KDE-PluginInfo-EnabledByDefault=true
diff --git a/src/templates/C++/runner/%{APPNAMELC}.h \
b/src/templates/C++/runner/%{APPNAMELC}.h deleted file mode 100644
index 4051afd..0000000
--- a/src/templates/C++/runner/%{APPNAMELC}.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef %{APPNAMEUC}_H
-#define %{APPNAMEUC}_H
-
-#include <krunner/abstractrunner.h>
-
-// Define our plasma Runner
-class %{APPNAME} : public Plasma::AbstractRunner {
-    Q_OBJECT
-
-public:
-    // Basic Create/Destroy
-    %{APPNAME}( QObject *parent, const QVariantList& args );
-    ~%{APPNAME}();
-
-    void match(Plasma::RunnerContext &context);
-    void run(const Plasma::RunnerContext &context, const Plasma::QueryMatch &match);
-};
-
-#endif
diff --git a/src/templates/C++/runner/CMakeLists.txt \
b/src/templates/C++/runner/CMakeLists.txt deleted file mode 100644
index 877bed5..0000000
--- a/src/templates/C++/runner/CMakeLists.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-project(plasma-%{APPNAMELC})
-
-cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
-
-set(QT_MIN_VERSION "5.4.0")
-set(KF5_MIN_VERSION "5.14.0")
-set(INSTALL_SDDM_THEME TRUE)
-find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Widgets )
-find_package(ECM 1.8.0 REQUIRED NO_MODULE)
-set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
-find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS Runner)
-
-include(KDEInstallDirs)
-include(KDECMakeSettings)
-include(KDECompilerSettings NO_POLICY_SCOPE)
-include(ECMPackageConfigHelpers)
-include(ECMMarkNonGuiExecutable)
-include(CMakePackageConfigHelpers)
-include(WriteBasicConfigVersionFile)
-include(CheckIncludeFiles)
-include(FeatureSummary)
-include(ECMOptionalAddSubdirectory)
-
-set(%{APPNAMELC}_SRCS %{APPNAMELC}.cpp)
-
-add_library(krunner_%{APPNAMELC} MODULE ${%{APPNAMELC}_SRCS})
-target_link_libraries(krunner_%{APPNAMELC} KF5::Runner)
-
-install(TARGETS krunner_%{APPNAMELC} DESTINATION ${KDE_INSTALL_PLUGINDIR})
-
-install(FILES %{APPNAMELC}.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
diff --git a/src/templates/C++/runner/README b/src/templates/C++/runner/README
deleted file mode 100644
index cbea20b..0000000
--- a/src/templates/C++/runner/README
+++ /dev/null
@@ -1,29 +0,0 @@
-Runner Template
-----------------------
-
--- Build instructions --
-
-cd /where/your/runner/is/installed
-mkdir build
-cd build
-cmake -DCMAKE_INSTALL_PREFIX=$KDEDIRS .. (-DKDE_INSTALL_USE_QT_SYS_PATHS=ON)
-make 
-make install
-
-(your $KDEDIRS is where you install your KDE 4)
-(depending on the platform you have to use the Qt installation paths)
-
-Restart plasma to load the runner: in a terminal, run the following command:
-
-kbuildsycoca5
-
-After this you should see your runner in the system settings:
-
-systemsettings5 (Head to "Search")
-
-You can also launch KRunner via Alt-F2 and you will find your runner.
-
-More information on how to develop a runner:
-http://techbase.kde.org/Development/Tutorials/Plasma/AbstractRunner
-
-Last update: September 2015
diff --git a/src/templates/C++/runner/runner.kdevtemplate \
b/src/templates/C++/runner/runner.kdevtemplate deleted file mode 100644
index cd687dc..0000000
--- a/src/templates/C++/runner/runner.kdevtemplate
+++ /dev/null
@@ -1,84 +0,0 @@
-# KDE Config File
-[General]
-Name=C++
-Name[bs]=C++
-Name[ca]=C++
-Name[ca@valencia]=C++
-Name[cs]=C++
-Name[da]=C++
-Name[de]=C++
-Name[el]=C++
-Name[en_GB]=C++
-Name[es]=C++
-Name[et]=C++
-Name[fi]=C++
-Name[fr]=C++
-Name[ga]=C++
-Name[gl]=C++
-Name[hu]=C++
-Name[it]=C++
-Name[kk]=C++
-Name[ko]=C++
-Name[lt]=C++
-Name[mr]=C++
-Name[nb]=C++
-Name[nds]=C++
-Name[nl]=C++
-Name[pa]=C++
-Name[pl]=C++
-Name[pt]=C++
-Name[pt_BR]=C++
-Name[ru]=C++
-Name[sk]=C++
-Name[sl]=C++
-Name[sr]=Ц++
-Name[sr@ijekavian]=Ц++
-Name[sr@ijekavianlatin]=C++
-Name[sr@latin]=C++
-Name[sv]=C++
-Name[tr]=C++
-Name[ug]=C++
-Name[uk]=C++
-Name[x-test]=xxC++xx
-Name[zh_CN]=C++
-Name[zh_TW]=C++
-Comment=Plasma Runner Template. A plasma runner template
-Comment[bs]=Plasma Runner predložak. Predložak za Plasma pokrenute programe
-Comment[ca]=Una plantilla d'executor pel Plasma
-Comment[ca@valencia]=Una plantilla d'executor pel Plasma
-Comment[da]=Skabelon til Plasma-runner. En skabelon til plasma-runner
-Comment[de]=Eine Vorlage für einen Plasma-Runner
-Comment[el]=Plasma Runner Template. Ένα πρότυπο εκτελεστή plasma
-Comment[en_GB]=Plasma Runner Template. A plasma runner template
-Comment[es]=Plantilla de lanzador para Plasma. Una plantilla de lanzador para Plasma
-Comment[et]=Plasma käivitaja mall. Plasma käivitaja mall
-Comment[fi]=Plasma-suoritusohjelmamalli. Plasma-suoritusohjelmamalli (engl. Plasma \
                Runner)
-Comment[fr]=Modèle de lanceur pour Plasma. Un modèle de lanceur Plasma
-Comment[ga]=Teimpléad Fheidhmitheoir Plasma. Teimpléad d'fheidhmitheoirí Plasma
-Comment[gl]=Modelo de executor de Plasma. Un modelo de executor de Plasma.
-Comment[hu]=Plasma futtató sablon. Sablon Plasma futtatóhoz
-Comment[it]=Modello di esecutore Plasma. Un modello di esecutore Plasma
-Comment[kk]=Plasma жеккіш үлгісі. Plasma-ның бір жеккіш \
                үлгісі
-Comment[ko]=Plasma 실행기 템플릿
-Comment[lt]=Plasma Runner šablonas. Plasma runner šablonas
-Comment[nb]=Plasma kjørermal. En Plasma-kjørermal
-Comment[nl]=Sjabloon voor Plasma-runner. Een plasma-starter sjabloon
-Comment[pa]=ਪਲਾਜ਼ਮਾ ਰਨਰ ਟੈਪਲੇਟ। ਇੱਕ \
                ਪਲਾਜ਼ਮਾ ਰਨਰ ਟੈਪਲੇਟ
-Comment[pl]=Szablon uruchamiania Plazmy. Szablon uruchamiania plazmy
-Comment[pt]=Modelo de Módulo de Execução do Plasma. Um modelo de módulos de \
                execução do Plasma
-Comment[pt_BR]=Modelo de módulo de execução do Plasma. Um modelo de módulos de \
                execução do Plasma
-Comment[ru]=Модуль запуска для Plasma. Шаблон модуля \
                диалога запуска
-Comment[sk]= ablóna Plasma Runner.  ablóna plasma runner
-Comment[sl]=Predloga zaganjalnika za Plasmo
-Comment[sr]=Шаблон плазма извођача
-Comment[sr@ijekavian]=Шаблон плазма извођача
-Comment[sr@ijekavianlatin]= ablon plasma izvođača
-Comment[sr@latin]= ablon plasma izvođača
-Comment[sv]=Plasma-mall för körning av program. Mall för Plasma körning av \
                program
-Comment[tr]=Plasma Çalıştırıcı Şablonu. Bir Plasma çalıştırıcı şablonu
-Comment[uk]=Шаблон засобу запуску Плазми
-Comment[x-test]=xxPlasma Runner Template. A plasma runner templatexx
-Comment[zh_CN]=Plasma 启动器模板。plasma 启动器模板
-Comment[zh_TW]=Plasma 執行器樣本。
-Category=KDE/KRunner
-Icon=runner.png
diff --git a/src/templates/C++/runner/runner.png \
b/src/templates/C++/runner/runner.png deleted file mode 100644
index ba1c4d3..0000000
Binary files a/src/templates/C++/runner/runner.png and /dev/null differ


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic