diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 114a878c64ce6f8223cfd22d76a20eb16d177e5e (patch) | |
tree | acaf47eb0fa12142d3896416a69e74cbf5a72242 /languages/bash/app_templates | |
download | tdevelop-114a878c64ce6f8223cfd22d76a20eb16d177e5e.tar.gz tdevelop-114a878c64ce6f8223cfd22d76a20eb16d177e5e.zip |
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
Diffstat (limited to 'languages/bash/app_templates')
-rw-r--r-- | languages/bash/app_templates/Makefile.am | 3 | ||||
-rw-r--r-- | languages/bash/app_templates/bash.appwizard | 2 | ||||
-rw-r--r-- | languages/bash/app_templates/bashhello/.kdev_ignore | 0 | ||||
-rw-r--r-- | languages/bash/app_templates/bashhello/Makefile.am | 16 | ||||
-rw-r--r-- | languages/bash/app_templates/bashhello/app.kdevelop | 82 | ||||
-rw-r--r-- | languages/bash/app_templates/bashhello/app.sh | 17 | ||||
-rw-r--r-- | languages/bash/app_templates/bashhello/bashhello | 10 | ||||
-rw-r--r-- | languages/bash/app_templates/bashhello/bashhello.kdevtemplate | 111 | ||||
-rw-r--r-- | languages/bash/app_templates/bashhello/bashhello.png | bin | 0 -> 483 bytes |
9 files changed, 241 insertions, 0 deletions
diff --git a/languages/bash/app_templates/Makefile.am b/languages/bash/app_templates/Makefile.am new file mode 100644 index 00000000..7dbe86af --- /dev/null +++ b/languages/bash/app_templates/Makefile.am @@ -0,0 +1,3 @@ +SUBDIRS = bashhello +profilesdir = $(kde_datadir)/kdevelop/profiles/IDE/ScriptingLanguageIDE/ShellIDE +profiles_DATA = bash.appwizard diff --git a/languages/bash/app_templates/bash.appwizard b/languages/bash/app_templates/bash.appwizard new file mode 100644 index 00000000..2e4473b0 --- /dev/null +++ b/languages/bash/app_templates/bash.appwizard @@ -0,0 +1,2 @@ +[General] +List=bashhello diff --git a/languages/bash/app_templates/bashhello/.kdev_ignore b/languages/bash/app_templates/bashhello/.kdev_ignore new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/languages/bash/app_templates/bashhello/.kdev_ignore diff --git a/languages/bash/app_templates/bashhello/Makefile.am b/languages/bash/app_templates/bashhello/Makefile.am new file mode 100644 index 00000000..45e403b8 --- /dev/null +++ b/languages/bash/app_templates/bashhello/Makefile.am @@ -0,0 +1,16 @@ +dataFiles = app.sh app.kdevelop +templateName = bashhello + +### 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
\ No newline at end of file diff --git a/languages/bash/app_templates/bashhello/app.kdevelop b/languages/bash/app_templates/bashhello/app.kdevelop new file mode 100644 index 00000000..40e783a4 --- /dev/null +++ b/languages/bash/app_templates/bashhello/app.kdevelop @@ -0,0 +1,82 @@ +<?xml version="1.0"?> +<kdevelop> + <general> + <author>%{AUTHOR}</author> + <email>%{EMAIL}</email> + <version>%{VERSION}</version> + <projectmanagement>KDevScriptProject</projectmanagement> + <primarylanguage>Bash</primarylanguage> + <keywords> + <keyword>Bash</keyword> + </keywords> + <ignoreparts> + <part>KDevdistpart</part> + <part>KDevDebugger</part> + </ignoreparts> + </general> + <kdevscriptproject> + <general> + <activedir>src</activedir> + <includepatterns>*.sh</includepatterns> + <excludepatterns>*~</excludepatterns> + </general> + </kdevscriptproject> + <kdevfileview> + <groups> + <group pattern="*.sh" name="Scripts" /> + </groups> + </kdevfileview> + <kdevdoctreeview> + <ignoretocs> + <toc>ada</toc> + <toc>ada_bugs_gcc</toc> + <toc>c++_bugs_gcc</toc> + <toc>clanlib</toc> + <toc>w3c-dom-level2-html</toc> + <toc>fortran_bugs_gcc</toc> + <toc>gnome1</toc> + <toc>gnustep</toc> + <toc>gtk</toc> + <toc>gtk_bugs</toc> + <toc>haskell</toc> + <toc>haskell_bugs_ghc</toc> + <toc>java_bugs_gcc</toc> + <toc>java_bugs_sun</toc> + <toc>kde2book</toc> + <toc>libc</toc> + <toc>libstdc++</toc> + <toc>opengl</toc> + <toc>pascal_bugs_fp</toc> + <toc>php</toc> + <toc>php_bugs</toc> + <toc>perl</toc> + <toc>perl_bugs</toc> + <toc>python</toc> + <toc>python_bugs</toc> + <toc>qt-kdev3</toc> + <toc>ruby</toc> + <toc>ruby_bugs</toc> + <toc>sdl</toc> + <toc>stl</toc> + <toc>w3c-svg</toc> + <toc>sw</toc> + <toc>w3c-uaag10</toc> + <toc>wxwidgets_bugs</toc> + </ignoretocs> + <ignoreqt_xml> + <toc>Guide to the Qt Translation Tools</toc> + <toc>Qt Assistant Manual</toc> + <toc>Qt Designer Manual</toc> + <toc>Qt Reference Documentation</toc> + <toc>qmake User Guide</toc> + </ignoreqt_xml> + <ignoredoxygen> + <toc>KDE Libraries (Doxygen)</toc> + </ignoredoxygen> + </kdevdoctreeview> + <kdevfilecreate> + <useglobaltypes> + <type ext="sh"/> + </useglobaltypes> + </kdevfilecreate> +</kdevelop> diff --git a/languages/bash/app_templates/bashhello/app.sh b/languages/bash/app_templates/bashhello/app.sh new file mode 100644 index 00000000..9e70bd5f --- /dev/null +++ b/languages/bash/app_templates/bashhello/app.sh @@ -0,0 +1,17 @@ +#!/bin/bash +# $Id$ +# %{APPNAME} - Copyright (C) %{YEAR} %{AUTHOR} <%{EMAIL}> + + +hello() +{ + echo "Hello $NAME" +} + +echo "This is a test" + +LST="Ian Ben Rook Kaz" +for NAME in $LST +do + hello +done diff --git a/languages/bash/app_templates/bashhello/bashhello b/languages/bash/app_templates/bashhello/bashhello new file mode 100644 index 00000000..7c9b9222 --- /dev/null +++ b/languages/bash/app_templates/bashhello/bashhello @@ -0,0 +1,10 @@ +# KDE Config File +[General] +Name=Simple Bash Shell Script +Name[fr]=Un simple script de test Hello world +Category=Shell +Category[fr]=Interprteur BASH +Comment=This generates a simplistic 'Hello world' program in Bash shell +Comment[fr]=Gnre un simple script de test du type Hello world pour l'interprteur BASH. +FileTemplates=sh,ShellStyle +ShowFilesAfterGeneration=APPNAMELC.sh diff --git a/languages/bash/app_templates/bashhello/bashhello.kdevtemplate b/languages/bash/app_templates/bashhello/bashhello.kdevtemplate new file mode 100644 index 00000000..e62b1514 --- /dev/null +++ b/languages/bash/app_templates/bashhello/bashhello.kdevtemplate @@ -0,0 +1,111 @@ +# KDE Config File +[General] +Name=Simple Bash Shell Script +Name[ca]=Simple script de l'intèrpret de comandaments Bash +Name[da]=Simpelt Bash skal-script +Name[de]=Ein einfaches Shell-Skript für Bash +Name[el]=Απλό σενάριο κελύφους Bash +Name[es]=Guión sencillo para el intérprete de órdenes Bash +Name[et]=Lihtne bash'i shelliskript +Name[eu]=Bash shell-aren script sinplea +Name[fa]=دستنوشتۀ سادۀ پوستۀ Bash +Name[fr]=Script shell Bash simple +Name[ga]=Script Shimplí Bhlaoisce Bash +Name[gl]=Script sinxelo en Bash Shell +Name[hu]=Egyszerű Bash-szkript +Name[it]=Semplice script shell Bash +Name[ja]=簡単な Bash シェルスクリプト +Name[nds]=En eenfach Konsoolskript för Bash +Name[ne]=साधारण ब्यास शेल स्क्रिप्ट +Name[nl]=Eenvoudig Bash-shellscript +Name[pl]=Prosty skrypt powłoki Bash +Name[pt]=Programa Simples da 'Shell' Bash +Name[pt_BR]=Programa Simples da 'Shell' Bash +Name[ru]=Простой скрипт Bash +Name[sk]=Jednoduchý skript pre Bash Shell +Name[sl]=Preprost skript za lupino Bash +Name[sr]=Једноставна скрипта шкољке Bash +Name[sr@Latn]=Jednostavna skripta školjke Bash +Name[sv]=Enkelt Bash-skalskript +Name[tr]=Basit Bash Kabuk Betiği +Name[zh_CN]=简单的 Bash Shell 脚本 +Name[zh_TW]=簡單的 Bash shell 文稿 +Category=Shell +Category[fr]=Interprteur BASH +Comment=This generates a simplistic 'Hello world' program in Bash shell +Comment[ca]=Genera un simple programa de 'Hello world' en l'intèrpret de comandaments Bash +Comment[da]=Dette genererer et simplistisk 'Goddag verden' program i en Bash skal +Comment[de]=Generiert ein einfaches "Hello world"-Programm für die Bash-Shell +Comment[el]=Αυτό δημιουργεί ένα απλό πρόγραμμα 'Γεια σου κόσμε' στο κέλυφος Bash +Comment[es]=Genera un sencillo programa «Hola mundo» para el intérprete de órdenes Bash +Comment[et]=Lihtsa "Tere, maailm" programmi loomine bash'i shellis +Comment[eu]=Honek "Kaixo mundua" programa sinple bat sortzen du Bash shell-erako +Comment[fa]=یک برنامۀ سادۀ «Hello world» در پوستۀ Bash تولید میکند +Comment[fr]=Génère un programme « Bonjour monde » des plus simples en shell Bash +Comment[ga]=Cruthaíonn sé seo ríomhchlár simplí "Hello World" i mblaosc Bash +Comment[gl]=Xera un programa sinxelo 'Ola mundo' en Bash shell +Comment[hu]=Létrehoz egy egyszerű Hello world programot a Bash parancsértelmezőhöz +Comment[it]=Questo genera un semplice programma shell di "Hello world" in Bash +Comment[ja]=簡単な Hello world プログラムを Bash シェルで記述します +Comment[nds]=Dit stellt en eenfach "Moin Welt"-Programm för de Bash-Konsool op +Comment[ne]=यसले ब्यास शेलमा साधारण 'हेल्डो वोल्डकार' कार्यक्रम उत्पन्न गर्दछ +Comment[nl]=Dit genereert een eenvoudig "Hello World" programma in Bash-shell +Comment[pl]=Generuje prosty program 'Witaj świecie' jako skrypt powłoki Bash +Comment[pt]=Isto gera um programa simplista 'Olá mundo' para a linha de comandos Bash +Comment[pt_BR]=Isto gera um programa simplista 'Olá mundo' para a linha de comandos Bash +Comment[ru]=Создание простой программы 'Hello world' на Bash +Comment[sk]=Vygeneruje jednoduchý "Ahoj svet" program v Bash Shell +Comment[sl]=Ustvari preprost program 'Dobrodošel svet' v lupini Bash +Comment[sr]=Ово прави једноставан „Здраво свете“ програм за шкољку Bash +Comment[sr@Latn]=Ovo pravi jednostavan „Zdravo svete“ program za školjku Bash +Comment[sv]=Detta skapar ett förenklat 'Hello world'-program för Bash-skalet +Comment[tr]=Bu, Bash kabuğunda basit bir "Merhaba Dünya" programı üretir. +Comment[zh_CN]=这将生成 Bash shell 中可以使用的“Hello world”程序 +Comment[zh_TW]=這會產生一個簡單的 Bash shell 的 hello world 程式 +FileTemplates=sh,ShellStyle +ShowFilesAfterGeneration=%{dest}/%{APPNAMELC}.sh +Archive=bashhello.tar.gz + +[FILE1] +Type=install +EscapeXML=true +Source=%{src}/app.kdevelop +Dest=%{dest}/%{APPNAMELC}.kdevelop + +[FILE2] +Type=install +Source=%{src}/app.sh +Dest=%{dest}/%{APPNAMELC}.sh + +[MSG] +Type=message +Comment=A simple bash shell script project was created in %{dest} +Comment[ca]=Un simple script de l'intèrpret de comandaments Bash ha estat creat en %{dest} +Comment[da]=Et simpelt bash skalscript-projekt blev oprettet i %{dest} +Comment[de]=Ein einfaches Shell-Skript-Projekt für Bash wurde in %{dest} erstellt +Comment[el]=Ένα απλό σενάριο κελύφους bash δημιουργήθηκε στο %{dest} +Comment[es]=Un sencillo proyecto de guión de intérprete de órdenes ha sido creado en %{dest} +Comment[et]=Lihtne bash'i shelliskript loodi asukohta %{dest} +Comment[eu]=Bash shell-erako proiektu sinple bat sortu da hemen:%{dest} +Comment[fa]=یک پروژۀ دستنوشتۀ پوستۀ bash ساده در %{dest} ایجاد شد +Comment[fr]=Un projet de script shell Bash simple a été créé dans %{dest} +Comment[ga]=Cruthaíodh tionscadal simplí bash i %{dest} +Comment[gl]=Creouse un proxecto de script sinxelo en bash shell en %{dest} +Comment[hu]=Létrejött egy egyszerű Bash-szkript (projekt) itt: %{dest} +Comment[it]=È stato creato un semplice progetto di script shell in Bash in %{dest} +Comment[ja]=簡単な bash シェルスクリプトを %{dest} に作成しました +Comment[nds]=In %{dest} wöör en eenfach Konsoolskript-Projekt för Bash opstellt +Comment[ne]=एउटा साधारण शेल स्क्रिप्ट परियोजना %{dest} मा सिर्जना गरिएको थियो +Comment[nl]=Een eenvoudig Bash-shellscript is aangemaakt in %{dest} +Comment[pl]=Prosty skrypt powłoki został utworzony w %{dest} +Comment[pt]=Foi criado um programa simples "Olá mundo" em Bash em %{dest} +Comment[pt_BR]=Foi criado um programa simples "Olá mundo" em Bash em %{dest} +Comment[ru]=Простая программа "Hello world" на Bash создана в %{dest} +Comment[sk]=Jednoduchý Bash Shell projekt bol vytvorený v %{dest} +Comment[sl]=Projekt s preprostim skriptom za lupino Bash je bil ustvarjen v %{dest} +Comment[sr]=Пројекат једноставне скрипте за шкољку Bash направљен је у %{dest} +Comment[sr@Latn]=Projekat jednostavne skripte za školjku Bash napravljen je u %{dest} +Comment[sv]=Ett enkelt Bash skalskriptprojekt skapades i %{dest} +Comment[tr]=Basit bir bash betik projesi %{dest} içinde yaratılmıştır. +Comment[zh_CN]=在 %{dest} 中创建了简单的 Bash Shell 脚本工程 +Comment[zh_TW]=Bash shell 的 Hello world 程式已產生在 ${dest} diff --git a/languages/bash/app_templates/bashhello/bashhello.png b/languages/bash/app_templates/bashhello/bashhello.png Binary files differnew file mode 100644 index 00000000..840a953c --- /dev/null +++ b/languages/bash/app_templates/bashhello/bashhello.png |