From 114a878c64ce6f8223cfd22d76a20eb16d177e5e Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- .../cpp/app_templates/win32hello/.kdev_ignore | 0 languages/cpp/app_templates/win32hello/Makefile.am | 18 +++ languages/cpp/app_templates/win32hello/app.cpp | 16 ++ .../cpp/app_templates/win32hello/app.kdevelop | 164 +++++++++++++++++++++ .../cpp/app_templates/win32hello/src-Makefile.am | 8 + .../cpp/app_templates/win32hello/win32-Makefile.am | 5 + .../app_templates/win32hello/win32-Makefile.cvs | 8 + .../app_templates/win32hello/win32-configure.in | 10 ++ .../win32hello/win32hello.kdevtemplate | 136 +++++++++++++++++ .../cpp/app_templates/win32hello/win32hello.png | Bin 0 -> 4991 bytes 10 files changed, 365 insertions(+) create mode 100644 languages/cpp/app_templates/win32hello/.kdev_ignore create mode 100644 languages/cpp/app_templates/win32hello/Makefile.am create mode 100644 languages/cpp/app_templates/win32hello/app.cpp create mode 100644 languages/cpp/app_templates/win32hello/app.kdevelop create mode 100644 languages/cpp/app_templates/win32hello/src-Makefile.am create mode 100644 languages/cpp/app_templates/win32hello/win32-Makefile.am create mode 100644 languages/cpp/app_templates/win32hello/win32-Makefile.cvs create mode 100644 languages/cpp/app_templates/win32hello/win32-configure.in create mode 100644 languages/cpp/app_templates/win32hello/win32hello.kdevtemplate create mode 100644 languages/cpp/app_templates/win32hello/win32hello.png (limited to 'languages/cpp/app_templates/win32hello') diff --git a/languages/cpp/app_templates/win32hello/.kdev_ignore b/languages/cpp/app_templates/win32hello/.kdev_ignore new file mode 100644 index 00000000..e69de29b diff --git a/languages/cpp/app_templates/win32hello/Makefile.am b/languages/cpp/app_templates/win32hello/Makefile.am new file mode 100644 index 00000000..d6c7dfad --- /dev/null +++ b/languages/cpp/app_templates/win32hello/Makefile.am @@ -0,0 +1,18 @@ +dataFiles = app.cpp src-Makefile.am win32-Makefile.am win32-Makefile.cvs \ + win32-configure.in win32hello.png app.kdevelop + +templateName = win32hello + +### no need to change below: +template_DATA = $(templateName).kdevtemplate +templatedir = ${appwizarddatadir}/templates + +appwizarddatadir = ${kde_datadir}/kdevappwizard +$(templateName).tar.gz: ${dataFiles} + $(TAR) -cf $(templateName).tar -C $(srcdir) ${dataFiles} + $(GZIP_COMMAND) -f9 $(templateName).tar + +archivedir = ${appwizarddatadir} +archive_DATA = $(templateName).tar.gz ${templateName}.png + +CLEANFILES = *.tar.gz diff --git a/languages/cpp/app_templates/win32hello/app.cpp b/languages/cpp/app_templates/win32hello/app.cpp new file mode 100644 index 00000000..10b02750 --- /dev/null +++ b/languages/cpp/app_templates/win32hello/app.cpp @@ -0,0 +1,16 @@ + +#ifdef HAVE_CONFIG_H +#include +#endif + +#include +#include + +using namespace std; + +int main(int argc, char *argv[]) +{ + cout << "Hello, from Win32!" << endl; + + return EXIT_SUCCESS; +} diff --git a/languages/cpp/app_templates/win32hello/app.kdevelop b/languages/cpp/app_templates/win32hello/app.kdevelop new file mode 100644 index 00000000..33c1e97e --- /dev/null +++ b/languages/cpp/app_templates/win32hello/app.kdevelop @@ -0,0 +1,164 @@ + + + + %{AUTHOR} + %{EMAIL} + %{VERSION} + KDevAutoProject + C++ + + C++ + Code + + . + false + + + + + + + src/%{APPNAMELC} + default + + + src/%{APPNAMELC}.exe + true + executable + / + + true + + + + + optimized + kdevgccoptions + kdevgppoptions + kdevg77options + -O2 -g0 + + + + + + + + --enable-debug=full + debug + kdevgccoptions + kdevgppoptions + kdevg77options + -O0 -g3 + + + + + + + + + + + + + + + + + + + + true + 1 + false + + 0 + + + + + clanlib + opengl + wxwidgets_bugs + + + Guide to the Qt Translation Tools + Qt Assistant Manual + Qt Designer Manual + Qt Reference Documentation + qmake User Guide + + + KDE Libraries (Doxygen) + + + + + + + + + + + + + + false + false + + + *.o,*.lo,CVS + false + + + + + .h + .cpp + + + + + true + true + true + false + true + true + true + 250 + 400 + 250 + + + Qt + KDElibs + ksjembed + + + + + + + + + + + true + false + false + + + false + true + 10 + + + + + Doxygen Documentation Collection + %{APPNAMELC}.tag + + + diff --git a/languages/cpp/app_templates/win32hello/src-Makefile.am b/languages/cpp/app_templates/win32hello/src-Makefile.am new file mode 100644 index 00000000..21f6d7c8 --- /dev/null +++ b/languages/cpp/app_templates/win32hello/src-Makefile.am @@ -0,0 +1,8 @@ +bin_PROGRAMS = %{APPNAMELC} +%{APPNAMELC}_SOURCES = %{APPNAMELC}.cpp + +# set the include path found by configure +INCLUDES= $(all_includes) + +# the library search path. +%{APPNAMELC}_LDFLAGS = -mwindows $(all_libraries) diff --git a/languages/cpp/app_templates/win32hello/win32-Makefile.am b/languages/cpp/app_templates/win32hello/win32-Makefile.am new file mode 100644 index 00000000..02520f20 --- /dev/null +++ b/languages/cpp/app_templates/win32hello/win32-Makefile.am @@ -0,0 +1,5 @@ +# not a GNU package. You can remove this line, if +# have all needed files, that a GNU package needs +AUTOMAKE_OPTIONS = foreign 1.4 + +SUBDIRS = src diff --git a/languages/cpp/app_templates/win32hello/win32-Makefile.cvs b/languages/cpp/app_templates/win32hello/win32-Makefile.cvs new file mode 100644 index 00000000..d1607023 --- /dev/null +++ b/languages/cpp/app_templates/win32hello/win32-Makefile.cvs @@ -0,0 +1,8 @@ +default: all + +all: + aclocal + autoheader + automake + autoconf + diff --git a/languages/cpp/app_templates/win32hello/win32-configure.in b/languages/cpp/app_templates/win32hello/win32-configure.in new file mode 100644 index 00000000..612ce0d5 --- /dev/null +++ b/languages/cpp/app_templates/win32hello/win32-configure.in @@ -0,0 +1,10 @@ +AC_INIT(configure.in) + +AM_CONFIG_HEADER(config.h) +AM_INIT_AUTOMAKE(%{APPNAMELC}, %{VERSION}) + +AC_LANG_CPLUSPLUS +AC_PROG_CXX +AM_PROG_LIBTOOL + +AC_OUTPUT(Makefile src/Makefile) diff --git a/languages/cpp/app_templates/win32hello/win32hello.kdevtemplate b/languages/cpp/app_templates/win32hello/win32hello.kdevtemplate new file mode 100644 index 00000000..b6fb54d2 --- /dev/null +++ b/languages/cpp/app_templates/win32hello/win32hello.kdevtemplate @@ -0,0 +1,136 @@ +# KDE Config File +[General] +Name=Simple Win32 Hello World +Name[ca]=Simple Hello World per a Win32 +Name[da]=Simpelt Win32 Goddag verden +Name[de]=Einfaches Win32-"Hello World"-Programm +Name[el]=Απλό Γεια σου Κόσμε Win32 +Name[es]=Sencillo programa «Hola mundo» para Win32 +Name[et]=Lihtne Win32 "Tere, maailm" +Name[eu]=Win32 "Kaixo mundua" aplikazio sinple bat +Name[fa]=Hello World سادۀ Win32 +Name[fr]=« Bonjour monde » Win32 simple +Name[ga]=Ríomhchlár simplí "Hello World" le haghaidh Win32 +Name[gl]=Aplicación Win32 sinxela Ola mundo +Name[hu]=Win32-alapú Hello world program +Name[it]=Semplice "Hello World" Win32 +Name[nds]=Eenfach Win32-"Moin Welt"-Programm +Name[ne]=साधारण Win32 हेल्लो वोल्ड +Name[nl]=Eenvoudige Win32 Hello World +Name[pl]=Prosty program Witaj świecie dla Win32 +Name[pt]=Olá Mundo Simples em Win32 +Name[pt_BR]=Olá Mundo Simples em Win32 +Name[ru]=Простое приложение Hello World для Windows +Name[sk]=Jenoduchý Ahoj svet Win32 program +Name[sr]=Једноставан Win32 „Здраво свете“ +Name[sr@Latn]=Jednostavan Win32 „Zdravo svete“ +Name[sv]=Enkelt Win32 Hello World +Name[tr]=Basit Win32 Merhaba Dünya +Name[zh_CN]=简单的 Win32 Hello World +Name[zh_TW]=簡單的 Win32 Hello World +Icon=win32hello.png +Category=C++ +Comment=Generates a shell project for crosscompiling Win32 projects. +Comment[ca]=Genera un projecte d'intèrpret de comandaments per a la compilació multi plataforma de projectes per a Win32. +Comment[da]=Genererer et skalprojekt for krydskompilering af Win32-projekter. +Comment[de]=Erstellt ein Shell-Projekt für plattformunabhängige Win32-Projekte. +Comment[el]=Δημιουργία ενός έργου κελύφους για μεταγλώττιση έργων Win32 σε διαφορετικές πλατφόρμες. +Comment[es]=Genera un proyecto de intérprete de órdenes para compilación multiplataforma de proyectos Win32. +Comment[et]=Shelliprojekti loomine Win32 projektide kompileerimiseks. +Comment[eu]=Win32 proiektuak konpilazio gurutzaturako shell proiektu bat sortzen du. +Comment[fa]=یک پروژۀ پوسته برای پروژه‌های Win32 ترجمۀ بین سکویی تولید می‌کند. +Comment[fr]=Génère un projet shell pour la compilation croisée de projets Win32. +Comment[gl]=Xera un proxecto shell para a compilación cruzada de proxectos Win32. +Comment[hu]=Létrehoz egy konzolos projektet Win32-projektek keresztfordításához. +Comment[it]=Genera un progetto di shell per progetti Win32 multi compilanti. +Comment[nds]=Stellt en Konsoolprojekt för't Krüüzkompileren vun Win32-Projekten op. +Comment[ne]=क्रसकम्पाइलिङ Win32 परियोजनाका लागि शेल परियोजना उत्पन्न गर्दछ +Comment[nl]=Genereert een shellproject voor crosscompilerende Win32-projecten. +Comment[pl]=Generuje powłokę do kompilacji projektów dla Win32. +Comment[pt]=Gera um projecto para poder compilar projectos em Win32. +Comment[pt_BR]=Gera um projecto para poder compilar projectos em Win32. +Comment[ru]=Создание проекта для кросс-компиляции проектов Win32. +Comment[sk]=Vygenruje shell projekt pre kompiláciu Win32 projektov. +Comment[sr]=Прави пројекат за прекопревођење Win32 пројеката. +Comment[sr@Latn]=Pravi projekat za prekoprevođenje Win32 projekata. +Comment[sv]=Skapar ett skalprojekt för korskompilering av Win32-projekt. +Comment[tr]=Win32 projelerini karşıderlemek için bir kabul projesi yarat. +Comment[zh_CN]=生成跨平台编译的 Win32 工程的外壳工程。 +Comment[zh_TW]=產生一個 shell 專案,可在 Win32 跨平台編譯。 +FileTemplates=h,CStyle,cpp,CStyle +ShowFilesAfterGeneration=src/%{APPNAMELC}.cpp +Archive=win32hello.tar.gz + +[INCADMIN] +Type=include +File=%{kdevelop}/template-common/incadmin.kdevtemplate + +[GNU] +Type=include +File=%{kdevelop}/template-common/gnu.kdevtemplate + +[FILE1] +Type=install +EscapeXML=true +Source=%{src}/app.kdevelop +Dest=%{dest}/%{APPNAMELC}.kdevelop + +[FILE2] +Type=install +Source=%{src}/win32-Makefile.am +Dest=%{dest}/Makefile.am + +[FILE3] +Type=install +Source=%{src}/win32-Makefile.cvs +Dest=%{dest}/Makefile.cvs + +[FILE4] +Type=install +Source=%{src}/win32-configure.in +Dest=%{dest}/configure.in + +[MkDir1] +Type=mkdir +Dir=%{dest}/src + +[FILE5] +Type=install +Source=%{src}/src-Makefile.am +Dest=%{dest}/src/Makefile.am + +[FILE6] +Type=install +Source=%{src}/app.cpp +Dest=%{dest}/src/%{APPNAMELC}.cpp + +[MSG] +Type=message +Comment=For this project to compile and run you need both Wine and MinGW installed. +Comment[ca]=Per a compilar i executar aquest projecte us caldrà instal·lar Wine i MinGW. +Comment[da]=For at dette projekt skal kompilere og køre har du brug for at have både Wine og MinGW installeret. +Comment[de]=Um dieses Projekt kompilieren und ausführen zu können, muss sowohl Wine als auch MinGW installiert sein. +Comment[el]=Για να μεταγλωττιστεί και να εκτελεστεί αυτό το έργο χρειάζεστε τόσο το Wine όσο και το MinGW εγκατεστημένα. +Comment[es]=Para compilar y ejecutar este proyecto necesitará tener instalados Wine y MinGW. +Comment[et]=Selle projekti kompileerimiseks ja käivitamiseks peab olema paigaldatud nii Wine kui MinGW. +Comment[eu]=Proiektu hau konpilatzeko eta exekutatzeko Wine eta MinGw instalatuta izan behar dituzu. +Comment[fa]=برای ترجمه و اجرای این پروژه، هم نیاز به نصب Wine و هم نیاز به MinGW دارید. +Comment[fr]=Pour que ce projet compile et s'exécute, vous devez installer Wine et MinGW. +Comment[gl]=Para poder compilar e executar este proxecto necesita ter instalados Wine e MinGW. +Comment[hu]=A projekt lefordításához és futtatásához szükség van a Wine és a MinGW telepítésére. +Comment[it]=Per compilare ed eseguire questo progetto dei avere sia Wine che MinGW installati. +Comment[nds]=Wine un MinGW mööt installeert wesen, wenn Du dit Projekt kompileren un utföhren wullt. +Comment[ne]=यो परियोजनाका लागि कम्पाइल गर्न र चलाउन तपाईँले वाइन र MinGW स्थापना गरेको हुनुपर्दछ । +Comment[nl]=Om dit project te kunnen compileren en uitvoeren hebt u Wine en MinGW nodig. +Comment[pl]=Do kompilacji takiego projektu potrzebne są Wine oraz MinGW. +Comment[pt]=Para este projecto poder ser compilado e executado é necessário ter tanto o Wine como o MinGW instalados. +Comment[pt_BR]=Para este projecto poder ser compilado e executado é necessário ter tanto o Wine como o MinGW instalados. +Comment[ru]=Для сборки и запуска этого проекта вам необходимо установить Wine и MinGW . +Comment[sk]=Na kompiláciu tohoto projektu potrebujete mať nainštalované Wine a MinGW. +Comment[sr]=Да би се овај пројекат превео и покренуо, и Wine и MinGW морају бити инсталирани. +Comment[sr@Latn]=Da bi se ovaj projekat preveo i pokrenuo, i Wine i MinGW moraju biti instalirani. +Comment[sv]=För att projektet ska kompileras och köras behöver du ha installerat både Wine och MinGW. +Comment[tr]=Bu projenin derlenmesi için Wine ve MinGW'nin kurulu olması lazım. +Comment[zh_CN]=要让此工程能够编译并运行,您需要同时安装 Wine 和 MinGW。 +Comment[zh_TW]=這個專案要編譯,您需要安裝 Wine 與 MinGW。 + diff --git a/languages/cpp/app_templates/win32hello/win32hello.png b/languages/cpp/app_templates/win32hello/win32hello.png new file mode 100644 index 00000000..3f33a1b5 Binary files /dev/null and b/languages/cpp/app_templates/win32hello/win32hello.png differ -- cgit v1.2.1