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 --- .../perl/app_templates/perlhello/.kdev_ignore | 0 languages/perl/app_templates/perlhello/Makefile.am | 16 +++ .../perl/app_templates/perlhello/app.kdevelop | 77 +++++++++++++++ languages/perl/app_templates/perlhello/app.pl | 43 ++++++++ languages/perl/app_templates/perlhello/perlhello | 10 ++ .../app_templates/perlhello/perlhello.kdevtemplate | 108 +++++++++++++++++++++ .../perl/app_templates/perlhello/perlhello.png | Bin 0 -> 17622 bytes 7 files changed, 254 insertions(+) create mode 100644 languages/perl/app_templates/perlhello/.kdev_ignore create mode 100644 languages/perl/app_templates/perlhello/Makefile.am create mode 100644 languages/perl/app_templates/perlhello/app.kdevelop create mode 100755 languages/perl/app_templates/perlhello/app.pl create mode 100644 languages/perl/app_templates/perlhello/perlhello create mode 100644 languages/perl/app_templates/perlhello/perlhello.kdevtemplate create mode 100644 languages/perl/app_templates/perlhello/perlhello.png (limited to 'languages/perl/app_templates/perlhello') diff --git a/languages/perl/app_templates/perlhello/.kdev_ignore b/languages/perl/app_templates/perlhello/.kdev_ignore new file mode 100644 index 00000000..e69de29b diff --git a/languages/perl/app_templates/perlhello/Makefile.am b/languages/perl/app_templates/perlhello/Makefile.am new file mode 100644 index 00000000..1c1d7b33 --- /dev/null +++ b/languages/perl/app_templates/perlhello/Makefile.am @@ -0,0 +1,16 @@ +dataFiles = app.pl app.kdevelop +templateName = perlhello + +### 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/perl/app_templates/perlhello/app.kdevelop b/languages/perl/app_templates/perlhello/app.kdevelop new file mode 100644 index 00000000..c781322d --- /dev/null +++ b/languages/perl/app_templates/perlhello/app.kdevelop @@ -0,0 +1,77 @@ + + + + %{AUTHOR} + %{EMAIL} + %{VERSION} + KDevScriptProject + Perl + . + false + + + + ./%{APPNAMELC}.pl + + + *.pl,*.pm + *~ + + + + + ada + ada_bugs_gcc + bash + bash_bugs + c++_bugs_gcc + clanlib + w3c-dom-level2-html + fortran_bugs_gcc + gnome1 + gnustep + gtk + gtk_bugs + haskell + haskell_bugs_ghc + java_bugs_gcc + java_bugs_sun + kde2book + libc + libstdc++ + opengl + pascal_bugs_fp + php + php_bugs + python + python_bugs + qt-kdev3 + ruby + ruby_bugs + sdl + stl + w3c-svg + sw + w3c-uaag10 + wxwidgets_bugs + + + Guide to the Qt Translation Tools + Qt Assistant Manual + Qt Designer Manual + Qt Reference Documentation + qmake User Guide + + + KDE Libraries (Doxygen) + + + + + + + + + + + diff --git a/languages/perl/app_templates/perlhello/app.pl b/languages/perl/app_templates/perlhello/app.pl new file mode 100755 index 00000000..bd6bbf6a --- /dev/null +++ b/languages/perl/app_templates/perlhello/app.pl @@ -0,0 +1,43 @@ +#!/usr/bin/perl -w +# +use strict; +use warnings; + + +#program version +my $VERSION="%{VERSION}"; + +#For CVS , use following line +#my $VERSION=sprintf("%d.%02d", q$Revision$ =~ /(\d+)\.(\d+)/); + +sub do_something { + my $text=shift; + print "$text\n"; +} + +&do_something("Hello World"); +print "That's all folks for version $VERSION \n"; + +__END__ + +=head1 NAME + +%{APPNAME} - short description of your program + +=head1 SYNOPSIS + + how to use your program + +=head1 DESCRIPTION + + long description of your program + +=head1 SEE ALSO + + need to know things before somebody uses your program + +=head1 AUTHOR + + %{AUTHOR} + +=cut diff --git a/languages/perl/app_templates/perlhello/perlhello b/languages/perl/app_templates/perlhello/perlhello new file mode 100644 index 00000000..1f015e1b --- /dev/null +++ b/languages/perl/app_templates/perlhello/perlhello @@ -0,0 +1,10 @@ +# KDE Config File +[General] +Name=Simple Perl script +Name[fr]=Un simple script de test Hello world +Icon=camel.png +Category=Perl +Comment=This generates a simplistic 'Hello world' program in Perl (http://www.perl.org) +Comment[fr]=Gnre un simple script de test du type Hello world dans le language PERL (http://www.perl.org). +FileTemplates=perl,ShellStyle +ShowFilesAfterGeneration=APPNAMELC.pl diff --git a/languages/perl/app_templates/perlhello/perlhello.kdevtemplate b/languages/perl/app_templates/perlhello/perlhello.kdevtemplate new file mode 100644 index 00000000..ead7b5b8 --- /dev/null +++ b/languages/perl/app_templates/perlhello/perlhello.kdevtemplate @@ -0,0 +1,108 @@ +# KDE Config File +[General] +Name=Simple Perl script +Name[ca]=Simple script en Perl +Name[da]=Simpelt Perl script +Name[de]=Einfaches Perl-Skript +Name[el]=Απλό σενάριο Perl +Name[es]=Guión sencillo en Perl +Name[et]=Lihtne Perli skript +Name[eu]=Perl script sinplea +Name[fa]=دست‌نوشتۀ سادۀ پرل +Name[fr]=Script Perl simple +Name[ga]=Script shimplí Perl +Name[gl]=Script sinxelo en Perl +Name[hu]=Egyszerű Perl-szkript +Name[it]=Semplice script Perl +Name[ja]=簡単な Perl スクリプト +Name[nds]=Eenfach Perl-Skript +Name[ne]=साधारण पर्ल स्क्रिप्ट +Name[nl]=Eenvoudig Perl-script +Name[pl]=Prosty skrypt w Perlu +Name[pt]=Programa simples em Perl +Name[pt_BR]=Programa simples em Perl +Name[ru]=Простой скрипт Perl +Name[sk]=Jednoduchý Perl skript +Name[sr]=Једноставна Perl скрипта +Name[sr@Latn]=Jednostavna Perl skripta +Name[sv]=Enkelt Perl-skript +Name[tr]=Basit Perl betiği +Name[zh_CN]=简单 Perl 脚本 +Name[zh_TW]=簡單的 Perl 文稿 +Icon=camel.png +Category=Perl +Comment=This generates a simplistic 'Hello world' program in Perl (http://www.perl.org) +Comment[ca]=Genera un simple programa de 'Hello world' en Perl (http://www.perl.org) +Comment[da]=Dette genererer et simplistisk 'Goddag verden' program i Perl (http://www.perl.org) +Comment[de]=Hiermit wird ein einfaches "Hello World"-Programm in Perl erstellt (http://www.perl.org). +Comment[el]=Αυτό δημιουργεί ένα απλό πρόγραμμα 'Γεια σου κόσμε' σε Perl (http://www.perl.org) +Comment[es]=Genera un programa «Hola mundo» sencillo en Perl (http://www.perl.org) +Comment[et]=Lihtsa "Tere, maailm" programmi loomine Perlis (http://www.perl.org) +Comment[eu]=Honek "Kaixo mundua" Perl-en (http://www.perl.org) idatzitako programa sinple bat sortzen du. +Comment[fa]=یک برنامۀ سادۀ «Hello world» در پرل (http://www.perl.org) تولید می‌کند +Comment[fr]=Génère un programme « Bonjour monde » simple en Perl (http://www.perl.org) +Comment[ga]=Cruthaíonn sé seo ríomhchlár simplí "Hello world" i Perl (http://www.perl.org/) +Comment[gl]=Isto xera un programa sinxelo en Perl 'Ola mundo'(http://www.perl.org) +Comment[hu]=Létrehoz egy egyszerű 'Hello world' programot Perlben (http://www.perl.org) +Comment[it]=Genera un semplice programma di "Hello world" in Perl (http://www.perl.org) +Comment[ja]=Perl で書かれた簡単な Hello world プログラムを作成します +Comment[nds]=Dit stellt en eenfach "Moin Welt"-Programm in Perl op.(http://www.perl.org). +Comment[ne]=यसले पर्लमा साधारण 'हेल्लो वोल्ड' कार्यक्रम उत्पन्न गर्दछ (http://www.perl.org) +Comment[nl]=Dit genereert een eenvoudig Hello World-programma in Perl (http://www.perl.org) +Comment[pl]=Generuje prosty skrypt "Witaj świecie" w Perlu (http://www.perl.org) +Comment[pt]=Isto gera um programa simples 'Olá mundo' em Perl (http://www.perl.org) +Comment[pt_BR]=Isto gera um programa simples 'Olá mundo' em Perl (http://www.perl.org) +Comment[ru]=Создание простой программы 'Hello world' на Perl (http://www.perl.org) +Comment[sk]=Vygeneruje jednoduchý Ahoj svet program v Perl (http://www.perl.org) +Comment[sr]=Прави једноставан „Здраво свете“ програм у Perl-у (http://www.perl.org) +Comment[sr@Latn]=Pravi jednostavan „Zdravo svete“ program u Perl-u (http://www.perl.org) +Comment[sv]=Detta skapar ett förenklat 'Hello world'-program i Perl (http://www.perl.org) +Comment[tr]=Bu, Perl'de basit bir "Merhaba Dünya" programı yaratır (http://www.perl.org) +Comment[zh_CN]=这将生成一个简单的 Perl 语言“Hello world”程序 +Comment[zh_TW]=產生一個簡單的 Perl (http://www.perl.org) 的 Hello world 程式 +FileTemplates=perl,ShellStyle +ShowFilesAfterGeneration=%{dest}/%{APPNAMELC}.pl +Archive=perlhello.tar.gz + +[FILE1] +Type=install +EscapeXML=true +Source=%{src}/app.kdevelop +Dest=%{dest}/%{APPNAMELC}.kdevelop + +[FILE2] +Type=install +Source=%{src}/app.pl +Dest=%{dest}/%{APPNAMELC}.pl + +[MSG] +Type=message +Comment=A simple Perl script was created in %{dest} +Comment[ca]=Un simple script en Perl ha estat creat en %{dest} +Comment[da]=Et simpelt Perl script blev oprettet i %{dest} +Comment[de]=Ein einfaches Perl-Skript wurde in %{dest} erstellt. +Comment[el]=Ένα απλό σενάριο Perl δημιουργήθηκε στο %{dest} +Comment[es]=Un sencillo guión en Perl ha sido creado en %{dest} +Comment[et]=Lihtne Perli skript loodi asukohta %{dest} +Comment[eu]=Perl script sinple bat sortu da hemen: %{dest} +Comment[fa]=یک دست‌نوشتۀ سادۀ پرل در %{dest} ایجاد شد +Comment[fr]=Un script Perl simple a été créé dans %{dest} +Comment[ga]=Cruthaíodh script shimplí Perl i %{dest} +Comment[gl]=Creouse un script sinxelo en Perl en %{dest} +Comment[hu]=Létrejött egy egyszerű Perl-szkript itt: %{dest} +Comment[it]=È stato creato un semplice script Perl in %{dest} +Comment[ja]=簡単な Perl スクリプトを %{dest} に作成しました +Comment[nds]=In %{dest} wöör en eenfach Perl-Skript opstellt. +Comment[ne]=साधारण पर्ल स्क्रिप्ट %{dest} मा सिर्जना गरियो +Comment[nl]=Een eenvoudig Perl-script is aangemaakt in %{dest} +Comment[pl]=Prosty skrypt w Perlu został utworzony w %{dest} +Comment[pt]=Foi criado um programa simples em Perl em %{dest} +Comment[pt_BR]=Foi criado um programa simples em Perl em %{dest} +Comment[ru]=Простой скрипт Perl создан в %{dest} +Comment[sk]=Jednoduchý Perl skript bol vytvorený v %{dest} +Comment[sr]=Једноставна Perl скрипта направљена је у %{dest} +Comment[sr@Latn]=Jednostavna Perl skripta napravljena je u %{dest} +Comment[sv]=Ett enkelt Perl-skript skapades i %{dest} +Comment[tr]=Basit Perl betiği %{dest} içinde yaratıldı. +Comment[zh_CN]=在 %{dest} 创建了一个简单的 Perl 脚本 +Comment[zh_TW]=一個簡單的 Perl 文稿已建立於 %{dest} diff --git a/languages/perl/app_templates/perlhello/perlhello.png b/languages/perl/app_templates/perlhello/perlhello.png new file mode 100644 index 00000000..78e0532a Binary files /dev/null and b/languages/perl/app_templates/perlhello/perlhello.png differ -- cgit v1.2.1