[anjuta] npw: fix #610934 - Improve translations for the wizard files
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] npw: fix #610934 - Improve translations for the wizard files
- Date: Mon, 31 May 2010 19:15:23 +0000 (UTC)
commit 8146456260bcfd0c5b7bc373fa2643ed4b4ee7d9
Author: Sébastien Granjoux <seb sfo free fr>
Date: Sun May 30 17:55:41 2010 +0200
npw: fix #610934 - Improve translations for the wizard files
plugins/project-wizard/templates/Makefile.am | 47 ++++----
plugins/project-wizard/templates/anjuta-plugin.wiz | 123 -------------------
.../project-wizard/templates/anjuta-plugin.wiz.in | 125 ++++++++++++++++++++
plugins/project-wizard/templates/cpp.wiz | 94 ---------------
plugins/project-wizard/templates/cpp.wiz.in | 96 +++++++++++++++
plugins/project-wizard/templates/django.wiz | 27 ----
plugins/project-wizard/templates/django.wiz.in | 29 +++++
.../templates/extract-translatable-strings.pl | 40 ------
plugins/project-wizard/templates/gcj.wiz | 100 ----------------
plugins/project-wizard/templates/gcj.wiz.in | 102 ++++++++++++++++
plugins/project-wizard/templates/gnome-applet.wiz | 102 ----------------
.../project-wizard/templates/gnome-applet.wiz.in | 104 ++++++++++++++++
plugins/project-wizard/templates/gtk.wiz | 96 ---------------
plugins/project-wizard/templates/gtk.wiz.in | 98 +++++++++++++++
plugins/project-wizard/templates/gtkmm.wiz | 95 ---------------
plugins/project-wizard/templates/gtkmm.wiz.in | 97 +++++++++++++++
plugins/project-wizard/templates/java.wiz | 89 --------------
plugins/project-wizard/templates/java.wiz.in | 91 ++++++++++++++
plugins/project-wizard/templates/js.wiz | 56 ---------
plugins/project-wizard/templates/js.wiz.in | 58 +++++++++
plugins/project-wizard/templates/library.wiz | 100 ----------------
plugins/project-wizard/templates/library.wiz.in | 102 ++++++++++++++++
plugins/project-wizard/templates/minimal.wiz | 73 ------------
plugins/project-wizard/templates/minimal.wiz.in | 76 ++++++++++++
plugins/project-wizard/templates/mkfile.wiz | 24 ----
plugins/project-wizard/templates/mkfile.wiz.in | 26 ++++
plugins/project-wizard/templates/python.wiz | 89 --------------
plugins/project-wizard/templates/python.wiz.in | 91 ++++++++++++++
plugins/project-wizard/templates/sdl.wiz | 85 -------------
plugins/project-wizard/templates/sdl.wiz.in | 87 ++++++++++++++
plugins/project-wizard/templates/terminal.wiz | 85 -------------
plugins/project-wizard/templates/terminal.wiz.in | 87 ++++++++++++++
.../templates/translatable-strings.h | 115 ------------------
plugins/project-wizard/templates/wxwin.wiz | 88 --------------
plugins/project-wizard/templates/wxwin.wiz.in | 90 ++++++++++++++
plugins/project-wizard/templates/xlib-dock.wiz | 96 ---------------
plugins/project-wizard/templates/xlib-dock.wiz.in | 98 +++++++++++++++
plugins/project-wizard/templates/xlib.wiz | 91 --------------
plugins/project-wizard/templates/xlib.wiz.in | 93 +++++++++++++++
po/POTFILES.in | 19 +++-
40 files changed, 1592 insertions(+), 1692 deletions(-)
---
diff --git a/plugins/project-wizard/templates/Makefile.am b/plugins/project-wizard/templates/Makefile.am
index fddc392..cba7c4f 100644
--- a/plugins/project-wizard/templates/Makefile.am
+++ b/plugins/project-wizard/templates/Makefile.am
@@ -3,46 +3,47 @@ SUBDIRS = minimal terminal cpp gtk anjuta-plugin \
gtkmm wxwin xlib xlib-dock gcj java gnome-applet\
python mkfile sdl library directory licenses m4 js_minimal
+template_in_files = \
+ minimal.wiz.in \
+ terminal.wiz.in \
+ cpp.wiz.in \
+ django.wiz.in \
+ gtk.wiz.in \
+ anjuta-plugin.wiz.in \
+ gtkmm.wiz.in \
+ wxwin.wiz.in \
+ xlib.wiz.in \
+ xlib-dock.wiz.in \
+ gcj.wiz.in \
+ java.wiz.in \
+ js.wiz.in \
+ python.wiz.in \
+ mkfile.wiz.in \
+ sdl.wiz.in \
+ gnome-applet.wiz.in \
+ library.wiz.in
+
wizard_filesdir = $(anjuta_data_dir)/project
wizard_files_DATA = \
- minimal.wiz \
- terminal.wiz \
terminal-logo.png \
- cpp.wiz \
cpp-logo.png \
- django.wiz \
django-logo.png \
- gtk.wiz \
gtk-logo.png \
- anjuta-plugin.wiz \
anjuta-plugin-logo.png \
gnome-logo.png \
- gtkmm.wiz \
gtkmm-logo.png \
- wxwin.wiz \
wxwin-logo.png \
- xlib.wiz \
- xlib-dock.wiz \
xlib-logo.png \
- gcj.wiz \
gcj-logo.png \
- java.wiz \
java-logo.png \
- js.wiz \
- python.wiz \
python-logo.png \
- mkfile.wiz \
mkfile-logo.png \
- sdl.wiz \
appwiz_sdl.png \
- gnome-applet.wiz \
- library.wiz
-
+ $(template_in_files:.wiz.in=.wiz)
-BUILT_SOURCES = translatable-strings.h extract-translatable-strings.pl
-translatable-strings.h: $(wizard_files_DATA)
- perl $(srcdir)/extract-translatable-strings.pl $(wizard_files_DATA) > translatable-strings.h
+# Translate wiz file
+%.wiz: %.wiz.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -x -u -c $(top_builddir)/po/.intltool-merge-cache
-EXTRA_DIST = $(wizard_files_DATA) $(BUILT_SOURCES)
+EXTRA_DIST = $(wizard_files_DATA)
-include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/anjuta-plugin.wiz.in b/plugins/project-wizard/templates/anjuta-plugin.wiz.in
new file mode 100644
index 0000000..0699924
--- /dev/null
+++ b/plugins/project-wizard/templates/anjuta-plugin.wiz.in
@@ -0,0 +1,125 @@
+<project-template>
+ <project-wizard>
+ <_name>Anjuta Plugin</_name>
+ <_description>Anjuta plugin project that uses libanjuta framework</_description>
+ <icon>anjuta-plugin-logo.png</icon>
+ <category>C</category>
+ <required-program>automake</required-program>
+ <required-program>autoconf</required-program>
+ <required-program>make</required-program>
+ <required-package>libanjuta-1.0</required-package>
+ </project-wizard>
+
+ <page name="basic" _label="Basic information" _description="General Project Information">
+ <property type="string" name="Name" _label="Project Name:" _description="Project name must not contain spaces, because it will be the name of the project build target (executable, library etc.)" default="anjuta-plugin-foobar" summary="yes" restriction="filename" mandatory="yes"/>
+ <property type="string" name="Author" _label="Author:" _description="" default="[+UserName+]" mandatory="yes"/>
+ <property type="string" name="Email" _label="Email address:" _description="" default="[+EmailAddress+]" mandatory="no"/>
+ <property type="string" name="Version" _label="Version:" default="0.1" mandatory="yes"/>
+ </page>
+
+ <page name="options" _label="Project options" _description="Options for project build system">
+ <property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" restriction="directory" summary="yes"/>
+ <property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
+ <item name="GPL" _label="General Public License (GPL)"/>
+ <item name="LGPL" _label="Lesser General Public License (LGPL)"/>
+ <item name="BSD" _label="Berkeley Software Distribution License (BSD)"/>
+ <item name="None" _label="No license"/>
+ </property>
+ <property type="hidden" name="NameUpper" default='[+(string-upcase (get "Name"))+]'/>
+ <property type="hidden" name="NameLower" default='[+(string-downcase (get "Name"))+]'/>
+ <property type="hidden" name="NameCUpper" default='[+(string->c-name! (string-substitute (string-upcase (get "Name")) " " "_"))+]'/>
+ <property type="hidden" name="NameCLower" default='[+(string->c-name! (string-substitute (string-downcase (get "Name")) " " "_"))+]'/>
+ <property type="hidden" name="NameHLower" default='[+(string-substitute (string->c-name! (string-downcase (get "Name"))) " " "-")+]'/>
+ <property type="string" name="PluginTitle" _label="Plugin Title:" _description="Display title of the plugin" default="Anjuta Foobar Sample Plugin" summary="yes" mandatory="yes"/>
+ <property type="string" name="PluginDescription" _label="Plugin Description:" _description="Display description of the plugin" default="A sample demonstration plugin for Anjuta" summary="yes" mandatory="yes"/>
+ <property type="string" name="PluginClass" _label="Plugin Class Name:" _description="Plugin class name" default="AnjutaFoobarPlugin" summary="yes" mandatory="yes"/>
+ <property type="string" name="PluginDependencies" _label="Plugin Dependencies:" _description="Comma separated, other plugins that this plugin depends on. It could be either primary interface name or plugin location (library:class)" default="" summary="yes"/>
+ <property type="icon" name="Icon" _label="Icon File:" _description="Icon file for the plugin" summary="yes" mandatory="yes"/>
+ <property type="boolean" name="HasGladeFile" _label="Create Gtk Builder interface file" _description="Create a template Gtk Builder interface file" default="1"/>
+ <property type="boolean" name="HasUI" _label="Plugin has menus or/and toolbars" _description="Whether the plugin has menus or toolbars" default="1"/>
+ <property type="hidden" name="HaveI18n" default="1"/>
+ <property type="hidden" name="HaveSharedlib" default="1"/>
+ <property type="boolean" name="HavePackage" _label="Configure external packages:" _description="Use pkg-config to add library support from other packages" default="0"/>
+ </page>
+
+ <page name="packages" _label="Configure external packages" _description="Configure external packages">
+ <property type="boolean" name="HaveLangCPP" _label="Add C++ support:" _description="Adds C++ support to the project so that C++ source files can be built" default="0"/>
+ [+IF (=(get "HavePackage") "1")+]
+ <property type="string" name="PackageModule1" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'" mandatory="yes"/>
+ <property type="string" name="PackageModule2" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ <property type="string" name="PackageModule3" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ <property type="string" name="PackageModule4" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ <property type="string" name="PackageModule5" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ [+ENDIF+]
+ </page>
+
+ <page name="watches" _label="Values to watch" _description="Shell values to watch">
+ <property type="string" name="value1" _label="Value Name:" _description="Name of the value to watch" default="" summary="yes"/>
+ <property type="string" name="value2" _label="Value Name:" _description="Name of the value to watch" default="" summary="yes"/>
+ <property type="string" name="value3" _label="Value Name:" _description="Name of the value to watch" default="" summary="yes"/>
+ </page>
+
+ <page name="compoments" _label="Implement plugin interfaces" _description="Plugin interfaces to implement">
+ <property type="string" name="interface1" _label="Interface:" _description="Interface implemented by the plugin"/>
+ <property type="string" name="interface2" _label="Interface:" _description="Interface implemented by the plugin"/>
+ <property type="string" name="interface3" _label="Interface:" _description="Interface implemented by the plugin"/>
+ </page>
+
+ <content>
+ <directory source="terminal" destination="[+Destination+]">
+ <file source="AUTHORS"/>
+ <file source="ChangeLog"/>
+ <file source="Makefile.am.tpl" destination="Makefile.am"/>
+ <file source="NEWS"/>
+ <file source="README"/>
+ <file source="autogen.sh" executable="yes"/>
+ <file destination="[+NameHLower+].anjuta" source="project.anjuta"/>
+ <file source="cvsignore" destination=".cvsignore"/>
+ <directory source="src">
+ <file source="cvsignore" destination=".cvsignore"/>
+ </directory>
+ [+IF (=(get "HaveI18n") "1")+]
+ <directory source="po">
+ <file source="ChangeLog"/>
+ <file source="LINGUAS" />
+ <file source="cvsignore" destination=".cvsignore"/>
+ </directory>
+ [+ENDIF+]
+ </directory>
+ <directory source="anjuta-plugin" destination="[+Destination+]">
+ <file source="configure.ac.tpl" destination="configure.ac"/>
+ <directory source="src">
+ <file source="Makefile.am.tpl" destination="Makefile.am"/>
+ <file source="plugin.c"/>
+ <file source="plugin.h"/>
+ <file source="[+Icon+]" destination="[+NameHLower+].png"/>
+ <file source="plugin.plugin.in" destination="[+NameHLower+].plugin.in"/>
+ [+IF (=(get "HasUI") "1")+]
+ <file source="plugin.xml" destination="[+NameHLower+].xml"/>
+ [+ENDIF+]
+ [+IF (=(get "HasGladeFile") "1")+]
+ <file source="plugin.ui" destination="[+NameHLower+].ui"/>
+ [+ENDIF+]
+ </directory>
+ [+IF (=(get "HaveI18n") "1")+]
+ <directory source="po">
+ <file source="POTFILES.in"/>
+ </directory>
+ [+ENDIF+]
+ </directory>
+ <directory source="licenses" destination="[+Destination+]">
+ <file source="[+License+]" destination="COPYING"/>
+ </directory>
+ <directory source="minimal" destination="[+Destination+]">
+ <directory source="." destination=".anjuta">
+ <directory source="." destination="session">
+ <file source="anjuta.session"/>
+ </directory>
+ </directory>
+ </directory>
+ </content>
+
+ <action>
+ <open file="[+Destination+]/[+NameHLower+].anjuta"/>
+ </action>
+</project-template>
diff --git a/plugins/project-wizard/templates/cpp.wiz.in b/plugins/project-wizard/templates/cpp.wiz.in
new file mode 100644
index 0000000..c826523
--- /dev/null
+++ b/plugins/project-wizard/templates/cpp.wiz.in
@@ -0,0 +1,96 @@
+<project-template>
+ <project-wizard>
+ <_name>Generic C++</_name>
+ <_description>A generic C++ project</_description>
+ <icon>cpp-logo.png</icon>
+ <category>C++</category>
+ <required-program>automake</required-program>
+ <required-program>autoconf</required-program>
+ <required-program>make</required-program>
+ </project-wizard>
+
+ <page name="basic" _label="Basic information" _description="General Project Information">
+ <property type="string" name="Name" _label="Project Name:" _description="project name" default="foobar-cpp" summary="yes" restriction="filename" mandatory="yes"/>
+ <property type="string" name="Author" _label="Author:" _description="" default="[+UserName+]" mandatory="yes"/>
+ <property type="string" name="Email" _label="Email address:" _description="" default="[+EmailAddress+]" mandatory="no"/>
+ <property type="string" name="Version" _label="Version:" default="0.1" mandatory="yes"/>
+ </page>
+
+ <page name="options" _label="Project options" _description="Options for project build system">
+ <property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" restriction="directory" summary="yes"/>
+ <property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
+ <item name="GPL" _label="General Public License (GPL)"/>
+ <item name="LGPL" _label="Lesser General Public License (LGPL)"/>
+ <item name="BSD" _label="Berkeley Software Distribution License (BSD)"/>
+ <item name="None" _label="No license"/>
+ </property>
+ <property type="hidden" name="NameUpper" default='[+(string-upcase (get "Name"))+]'/>
+ <property type="hidden" name="NameLower" default='[+(string-downcase (get "Name"))+]'/>
+ <property type="hidden" name="NameCUpper" default='[+(string->c-name! (string-substitute (string-upcase (get "Name")) " " "_"))+]'/>
+ <property type="hidden" name="NameCLower" default='[+(string->c-name! (string-substitute (string-downcase (get "Name")) " " "_"))+]'/>
+ <property type="hidden" name="NameHLower" default='[+(string-substitute (string->c-name! (string-downcase (get "Name"))) " " "-")+]'/>
+ <property type="boolean" name="HaveSharedlib" _label="Add shared library support:" _description="Adds support for building shared libraries in your project" default="1"/>
+ <property type="boolean" name="HaveI18n" _label="Add internationalization:" _description="Adds support for internationalization so that your project can have translations in different languages" default="1"/>
+ <property type="boolean" name="HavePackage" _label="Configure external packages:" _description="Use pkg-config to add library support from other packages" default="0"/>
+ </page>
+
+ [+IF (=(get "HavePackage") "1")+]
+ <page name="packages" _label="Configure external packages" _description="Configure external packages">
+ <property type="string" name="PackageModule1" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'" mandatory="yes"/>
+ <property type="string" name="PackageModule2" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ <property type="string" name="PackageModule3" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ <property type="string" name="PackageModule4" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ <property type="string" name="PackageModule5" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ </page>
+ [+ENDIF+]
+
+ <content>
+ <directory source="terminal" destination="[+Destination+]">
+ <file source="AUTHORS"/>
+ <file source="ChangeLog"/>
+ <file source="Makefile.am.tpl" destination="Makefile.am"/>
+ <file source="NEWS"/>
+ <file source="README"/>
+ <file source="autogen.sh" executable="yes"/>
+ <file destination="[+NameHLower+].anjuta" source="project.anjuta"/>
+ <file source="cvsignore" destination=".cvsignore"/>
+ <directory source="src">
+ <file source="cvsignore" destination=".cvsignore"/>
+ </directory>
+ [+IF (=(get "HaveI18n") "1") +]
+ <directory source="po">
+ <file source="ChangeLog"/>
+ <file source="LINGUAS" />
+ <file source="cvsignore" destination=".cvsignore"/>
+ </directory>
+ [+ENDIF+]
+ </directory>
+ <directory source="cpp" destination="[+Destination+]">
+ <file source="configure.ac.tpl" destination="configure.ac"/>
+ <directory source="src">
+ <file source="main.cc"/>
+ <file source="Makefile.am.tpl" destination="Makefile.am"/>
+ </directory>
+ [+IF (=(get "HaveI18n") "1")+]
+ <directory source="po">
+ <file source="POTFILES.in"/>
+ </directory>
+ [+ENDIF+]
+ </directory>
+ <directory source="licenses" destination="[+Destination+]">
+ <file source="[+License+]" destination="COPYING"/>
+ </directory>
+ <directory source="minimal" destination="[+Destination+]">
+ <directory source="." destination=".anjuta">
+ <directory source="." destination="session">
+ <file source="anjuta.session"/>
+ </directory>
+ </directory>
+ </directory>
+ </content>
+
+
+ <action>
+ <open file="[+Destination+]/[+NameHLower+].anjuta"/>
+ </action>
+</project-template>
diff --git a/plugins/project-wizard/templates/django.wiz.in b/plugins/project-wizard/templates/django.wiz.in
new file mode 100644
index 0000000..c00b4c8
--- /dev/null
+++ b/plugins/project-wizard/templates/django.wiz.in
@@ -0,0 +1,29 @@
+<project-template>
+ <project-wizard>
+ <_name>Django Project</_name>
+ <_description>Python webproject using Django Web Framework</_description>
+ <icon>django-logo.png</icon>
+ <category>Python</category>
+ <required-program>django-admin</required-program>
+ </project-wizard>
+
+ <page name="basic" _label="Django Project information" _description="General Project Information">
+ <property type="string" name="Name" _label="Project Name:" _description="project name" default="myweb" summary="yes" restriction="filename" mandatory="yes"/>
+ <property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" summary="yes"/>
+
+ </page>
+
+
+ <content>
+ <directory source="python" destination="[+Destination+]">
+ <file destination='[+(string-substitute (string->c-name! (string-downcase (get "Name"))) " " "-")+].anjuta' source="project.anjuta"/>
+ </directory>
+ </content>
+
+ <action>
+ <!-- It seems that Debian package uses django-admin instead of django-admin.py -->
+ <run command="sh -c "cd [+(raw-shell-str (get 'Destination))+] && if [ ""`which django-admin` != "" ]; then `which django-admin` startproject [+(string-substitute (string->c-name! (string-downcase (get 'Name))) (string #\sp) (string #\-))+]; else `which django-admin.py` startproject [+(string-substitute (string->c-name! (string-downcase (get 'Name))) (string #\sp) (string #\-))+]; fi;""/>
+ <open file='[+Destination+]/[+(string-substitute (string->c-name! (string-downcase (get "Name"))) " " "-")+].anjuta'/>
+ <open file='[+Destination+]/[+(string-substitute (string->c-name! (string-downcase (get "Name"))) " " "-")+]/settings.py'/>
+ </action>
+</project-template>
diff --git a/plugins/project-wizard/templates/gcj.wiz.in b/plugins/project-wizard/templates/gcj.wiz.in
new file mode 100644
index 0000000..e055f82
--- /dev/null
+++ b/plugins/project-wizard/templates/gcj.wiz.in
@@ -0,0 +1,102 @@
+<project-template>
+ <project-wizard>
+ <_name>Generic gcj compiled java</_name>
+ <_description>A generic natively compiled java project using the GNU Java Compiler (gcj)</_description>
+ <icon>gcj-logo.png</icon>
+ <category>Java</category>
+ <required-program>automake</required-program>
+ <required-program>autoconf</required-program>
+ <required-program>make</required-program>
+ <required-program>gcj</required-program>
+ </project-wizard>
+
+ <page name="basic" _label="Basic information" _description="General Project Information">
+ <property type="string" name="Name" _label="Project Name:" _description="project name" default="gcj-foobar" summary="yes" restriction="filename" mandatory="yes"/>
+ <property type="string" name="MainClass" _label="Main Class:" _description="GCJ needs to know which class contains the main() function" default="MainApp" mandatory="yes"/>
+ <property type="string" name="Author" _label="Author:" _description="" default="[+UserName+]" mandatory="yes"/>
+ <property type="string" name="Email" _label="Email address:" _description="" default="[+EmailAddress+]" mandatory="no"/>
+ <property type="string" name="Version" _label="Version:" default="0.1" mandatory="yes"/>
+ </page>
+
+ <page name="options" _label="Project options" _description="Options for project build system">
+ <property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" restriction="directory" summary="yes"/>
+ <property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
+ <item name="GPL" _label="General Public License (GPL)"/>
+ <item name="LGPL" _label="Lesser General Public License (LGPL)"/>
+ <item name="BSD" _label="Berkeley Software Distribution License (BSD)"/>
+ <item name="None" _label="No license"/>
+ </property>
+ <property type="hidden" name="NameUpper" default='[+(string-upcase (get "Name"))+]'/>
+ <property type="hidden" name="NameLower" default='[+(string-downcase (get "Name"))+]'/>
+ <property type="hidden" name="NameCUpper" default='[+(string->c-name! (string-substitute (string-upcase (get "Name")) " " "_"))+]'/>
+ <property type="hidden" name="NameCLower" default='[+(string->c-name! (string-substitute (string-downcase (get "Name")) " " "_"))+]'/>
+ <property type="hidden" name="NameHLower" default='[+(string-substitute (string->c-name! (string-downcase (get "Name"))) " " "-")+]'/>
+ <property type="hidden" name="HavePackage" default="0"/>
+ <property type="boolean" name="HaveSharedlib" _label="Add shared library support:" _description="Adds support for building shared libraries in your project" default="1"/>
+ <property type="boolean" name="HaveI18n" _label="Add internationalization:" _description="Adds support for internationalization so that your project can have translations in different languages" default="0"/>
+ <property type="boolean" name="HavePackageExtra" _label="Configure external packages:" _description="Use pkg-config to add library support from other packages" default="0"/>
+ </page>
+
+ [+IF (=(get "HavePackageExtra") "1")+]
+ <page name="packages" _label="Configure external packages" _description="Configure external packages">
+ <property type="string" name="PackageModule1" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'" mandatory="yes"/>
+ <property type="string" name="PackageModule2" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'" mandatory="yes"/>
+ <property type="string" name="PackageModule3" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ <property type="string" name="PackageModule4" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ <property type="string" name="PackageModule5" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ </page>
+ [+ENDIF+]
+
+ <content>
+ <directory source="terminal" destination="[+Destination+]">
+ <file source="AUTHORS"/>
+ <file source="ChangeLog"/>
+ <file source="Makefile.am.tpl" destination="Makefile.am"/>
+ <file source="NEWS"/>
+ <file source="README"/>
+ <file source="autogen.sh" executable="yes"/>
+ <file destination="[+NameHLower+].anjuta" source="project.anjuta"/>
+ <file source="cvsignore" destination=".cvsignore"/>
+ <directory source="src">
+ <file source="cvsignore" destination=".cvsignore"/>
+ </directory>
+ [+IF (=(get "HaveI18n") "1") +]
+ <directory source="po">
+ <file source="ChangeLog"/>
+ <file source="LINGUAS" />
+ <file source="cvsignore" destination=".cvsignore"/>
+ </directory>
+ [+ENDIF+]
+ </directory>
+ <directory source="java" destination="[+Destination+]">
+ [+IF (=(get "HaveI18n") "1") +]
+ <directory source="po">
+ <file source="POTFILES.in"/>
+ </directory>
+ [+ENDIF+]
+ <directory source="src">
+ <file source="main.java" destination="[+MainClass+].java"/>
+ </directory>
+ </directory>
+ <directory source="gcj" destination="[+Destination+]">
+ <file source="configure.ac.tpl" destination="configure.ac"/>
+ <directory source="src">
+ <file source="Makefile.am.tpl" destination="Makefile.am"/>
+ </directory>
+ </directory>
+ <directory source="licenses" destination="[+Destination+]">
+ <file source="[+License+]" destination="COPYING"/>
+ </directory>
+ <directory source="minimal" destination="[+Destination+]">
+ <directory source="." destination=".anjuta">
+ <directory source="." destination="session">
+ <file source="anjuta.session"/>
+ </directory>
+ </directory>
+ </directory>
+ </content>
+
+ <action>
+ <open file="[+Destination+]/[+NameHLower+].anjuta"/>
+ </action>
+</project-template>
diff --git a/plugins/project-wizard/templates/gnome-applet.wiz.in b/plugins/project-wizard/templates/gnome-applet.wiz.in
new file mode 100644
index 0000000..c654cd2
--- /dev/null
+++ b/plugins/project-wizard/templates/gnome-applet.wiz.in
@@ -0,0 +1,104 @@
+<project-template>
+ <project-wizard>
+ <_name>GNOME Applet</_name>
+ <_description>A GNOME applet project</_description>
+ <icon>gnome-logo.png</icon>
+ <category>C</category>
+ <required-program>automake</required-program>
+ <required-program>autoconf</required-program>
+ <required-program>make</required-program>
+ <required-package>libpanelapplet-2.0 >= 2.14</required-package>
+ </project-wizard>
+
+ <page name="basic" _label="Basic information" _description="General Project Information">
+ <property type="string" name="Name" _label="Project Name:" _description="project name" default="gnome-applet" summary="yes" restriction="filename" mandatory="yes"/>
+ <property type="string" name="Author" _label="Author:" _description="" default="[+UserName+]" mandatory="yes"/>
+ <property type="string" name="Email" _label="Email address:" _description="" default="[+EmailAddress+]" mandatory="no"/>
+ <property type="string" name="Version" _label="Version:" default="0.1" mandatory="yes"/>
+ </page>
+
+ <page name="options" _label="Project options" _description="Options for project build system">
+ <property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" restriction="directory" summary="yes"/>
+ <property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
+ <item name="GPL" _label="General Public License (GPL)"/>
+ <item name="LGPL" _label="Lesser General Public License (LGPL)"/>
+ <item name="BSD" _label="Berkeley Software Distribution License (BSD)"/>
+ <item name="None" _label="No license"/>
+ </property>
+ <property type="hidden" name="NameUpper" default='[+(string-upcase (get "Name"))+]'/>
+ <property type="hidden" name="NameLower" default='[+(string-downcase (get "Name"))+]'/>
+ <property type="hidden" name="NameCUpper" default='[+(string->c-name! (string-substitute (string-upcase (get "Name")) " " "_"))+]'/>
+ <property type="hidden" name="NameCLower" default='[+(string->c-name! (string-substitute (string-downcase (get "Name")) " " "_"))+]'/>
+ <property type="hidden" name="NameHLower" default='[+(string-substitute (string->c-name! (string-downcase (get "Name"))) " " "-")+]'/>
+ <property type="hidden" name="HavePackage" default="1"/>
+ <property type="icon" name="Icon" _label="Icon File:" _description="Icon file for the plugin" summary="yes" mandatory="yes"/>
+ <property type="string" name="Title" _label="Applet Title:" _description="Display title of the applet" default="GNOME Applet" summary="yes" mandatory="yes"/>
+ <property type="string" name="Description" _label="Description:" _description="Display description of the applet" default="A sample demonstration GNOME applet created by Anjuta" summary="yes" mandatory="yes"/>
+ <property type="hidden" name="PackageModule1" default="libpanelapplet-2.0 >= 2.14"/>
+ <property type="boolean" name="HaveLangCPP" _label="Add C++ support:" _description="Adds C++ support to the project so that C++ source files can be built" default="0"/>
+ <property type="boolean" name="HaveI18n" _label="Add internationalization:" _description="Adds support for internationalization so that your project can have translations in different languages" default="1"/>
+ <property type="boolean" name="HavePackageExtra" _label="Configure external packages:" _description="Use pkg-config to add library support from other packages" default="0"/>
+ </page>
+
+ [+IF (=(get "HavePackageExtra") "1")+]
+ <page name="packages" _label="Configure external packages" _description="Configure external packages">
+ <property type="string" name="PackageModule2" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'" mandatory="yes"/>
+ <property type="string" name="PackageModule3" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ <property type="string" name="PackageModule4" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ <property type="string" name="PackageModule5" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ </page>
+ [+ENDIF+]
+
+ <content>
+ <directory source="terminal" destination="[+Destination+]">
+ <file source="AUTHORS"/>
+ <file source="ChangeLog"/>
+ <file source="NEWS"/>
+ <file source="README"/>
+ <file destination="[+NameHLower+].anjuta" source="project.anjuta"/>
+ <file source="cvsignore" destination=".cvsignore"/>
+ <directory source="src">
+ <file source="cvsignore" destination=".cvsignore"/>
+ </directory>
+ [+IF (=(get "HaveI18n") "1") +]
+ <directory source="po">
+ <file source="ChangeLog"/>
+ <file source="POTFILES.in"/>
+ <file source="LINGUAS" />
+ <file source="cvsignore" destination=".cvsignore"/>
+ </directory>
+ [+ENDIF+]
+ </directory>
+ <directory source="." destination="[+Destination+]">
+ <directory source="m4">
+ <file source="as-ac-expand.m4"/>
+ <file source="ac-define-dir.m4"/>
+ </directory>
+ </directory>
+ <directory source="gnome-applet" destination="[+Destination+]">
+ <file source="configure.ac.tpl" destination="configure.ac"/>
+ <file source="Makefile.am.tpl" destination="Makefile.am"/>
+ <file source="autogen.sh" executable="yes"/>
+ <file source="HACKING"/>
+ <directory source="src">
+ <file source="main.c"/>
+ <file source="GNOME_Applet.server.in.in" destination="[+Name+].server.in.in"/>
+ <file source="Makefile.am.tpl" destination="Makefile.am"/>
+ </directory>
+ </directory>
+ <directory source="licenses" destination="[+Destination+]">
+ <file source="[+License+]" destination="COPYING"/>
+ </directory>
+ <directory source="minimal" destination="[+Destination+]">
+ <directory source="." destination=".anjuta">
+ <directory source="." destination="session">
+ <file source="anjuta.session"/>
+ </directory>
+ </directory>
+ </directory>
+ </content>
+
+ <action>
+ <open file="[+Destination+]/[+NameHLower+].anjuta"/>
+ </action>
+</project-template>
diff --git a/plugins/project-wizard/templates/gtk.wiz.in b/plugins/project-wizard/templates/gtk.wiz.in
new file mode 100644
index 0000000..f65b37b
--- /dev/null
+++ b/plugins/project-wizard/templates/gtk.wiz.in
@@ -0,0 +1,98 @@
+<project-template>
+ <project-wizard>
+ <_name>GTK+</_name>
+ <_description>A generic GTK+ project</_description>
+ <icon>gtk-logo.png</icon>
+ <category>C</category>
+ <required-program>automake</required-program>
+ <required-program>autoconf</required-program>
+ <required-program>make</required-program>
+ <required-package>gtk+-2.0 >= 2.8</required-package>
+ </project-wizard>
+
+ <page name="basic" _label="Basic information" _description="General Project Information">
+ <property type="string" name="Name" _label="Project Name:" _description="project name" default="gtk-foobar" summary="yes" restriction="filename" mandatory="yes"/>
+ <property type="string" name="Author" _label="Author:" _description="" default="[+UserName+]" mandatory="yes"/>
+ <property type="string" name="Email" _label="Email address:" _description="" default="[+EmailAddress+]" mandatory="no"/>
+ <property type="string" name="Version" _label="Version:" default="0.1" mandatory="yes"/>
+ </page>
+
+ <page name="options" _label="Project options" _description="Options for project build system">
+ <property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" restriction="directory" summary="yes"/>
+ <property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
+ <item name="GPL" _label="General Public License (GPL)"/>
+ <item name="LGPL" _label="Lesser General Public License (LGPL)"/>
+ <item name="BSD" _label="Berkeley Software Distribution License (BSD)"/>
+ <item name="None" _label="No license"/>
+ </property>
+ <property type="hidden" name="NameUpper" default='[+(string-upcase (get "Name"))+]'/>
+ <property type="hidden" name="NameLower" default='[+(string-downcase (get "Name"))+]'/>
+ <property type="hidden" name="NameCUpper" default='[+(string->c-name! (string-substitute (string-upcase (get "Name")) " " "_"))+]'/>
+ <property type="hidden" name="NameCLower" default='[+(string->c-name! (string-substitute (string-downcase (get "Name")) " " "_"))+]'/>
+ <property type="hidden" name="NameHLower" default='[+(string-substitute (string->c-name! (string-downcase (get "Name"))) " " "-")+]'/>
+ <property type="hidden" name="HavePackage" default="1"/>
+ <property type="hidden" name="PackageModule1" default="gtk+-2.0 >= 2.12"/>
+ <property type="boolean" name="HaveLangCPP" _label="Add C++ support:" _description="Adds C++ support to the project so that C++ source files can be built" default="0"/>
+ <property type="boolean" name="HaveI18n" _label="Add internationalization:" _description="Adds support for internationalization so that your project can have translations in different languages" default="1"/>
+ <property type="boolean" name="HaveSharedlib" _label="Add shared library support:" _description="Adds support for building shared libraries in your project" default="1"/>
+ <property type="boolean" name="HaveGtkDoc" _label="Add gtk-doc system:" _description="gtk-doc is used to compile API documentations for GObject based classes" default="0"/>
+ <property type="boolean" name="HavePackageExtra" _label="Configure external packages:" _description="Use pkg-config to add library support from other packages" default="0"/>
+ </page>
+
+ [+IF (=(get "HavePackageExtra") "1")+]
+ <page name="packages" _label="Configure external packages" _description="Configure external packages">
+ <property type="string" name="PackageModule2" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'" mandatory="yes"/>
+ <property type="string" name="PackageModule3" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ <property type="string" name="PackageModule4" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ <property type="string" name="PackageModule5" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ </page>
+ [+ENDIF+]
+
+ <content>
+ <directory source="terminal" destination="[+Destination+]">
+ <file source="AUTHORS"/>
+ <file source="ChangeLog"/>
+ <file source="Makefile.am.tpl" destination="Makefile.am"/>
+ <file source="NEWS"/>
+ <file source="README"/>
+ <file source="autogen.sh" executable="yes"/>
+ <file source="configure.ac.tpl" destination="configure.ac"/>
+ <file destination="[+NameHLower+].anjuta" source="project.anjuta"/>
+ <file source="cvsignore" destination=".cvsignore"/>
+ <directory source="src">
+ <file source="cvsignore" destination=".cvsignore"/>
+ </directory>
+ [+IF (=(get "HaveI18n") "1") +]
+ <directory source="po">
+ <file source="ChangeLog"/>
+ <file source="POTFILES.in"/>
+ <file source="LINGUAS" />
+ <file source="cvsignore" destination=".cvsignore"/>
+ </directory>
+ [+ENDIF+]
+ </directory>
+ <directory source="gtk" destination="[+Destination+]">
+ <directory source="src">
+ <file source="main.c"/>
+ <file source="callbacks.c"/>
+ <file source="callbacks.h"/>
+ <file source="project.ui" destination="[+NameHLower+].ui"/>
+ <file source="Makefile.am.tpl" destination="Makefile.am"/>
+ </directory>
+ </directory>
+ <directory source="licenses" destination="[+Destination+]">
+ <file source="[+License+]" destination="COPYING"/>
+ </directory>
+ <directory source="minimal" destination="[+Destination+]">
+ <directory source="." destination=".anjuta">
+ <directory source="." destination="session">
+ <file source="anjuta.session"/>
+ </directory>
+ </directory>
+ </directory>
+ </content>
+
+ <action>
+ <open file="[+Destination+]/[+NameHLower+].anjuta"/>
+ </action>
+</project-template>
diff --git a/plugins/project-wizard/templates/gtkmm.wiz.in b/plugins/project-wizard/templates/gtkmm.wiz.in
new file mode 100644
index 0000000..b108dbe
--- /dev/null
+++ b/plugins/project-wizard/templates/gtkmm.wiz.in
@@ -0,0 +1,97 @@
+<project-template>
+ <project-wizard>
+ <_name>GTKmm</_name>
+ <_description>A generic GTKmm (C++) project</_description>
+ <icon>gtkmm-logo.png</icon>
+ <category>C++</category>
+ <required-program>automake</required-program>
+ <required-program>autoconf</required-program>
+ <required-program>make</required-program>
+ <required-package>gtkmm-2.4 >= 2.12</required-package>
+ </project-wizard>
+
+ <page name="basic" _label="Basic information" _description="General Project Information">
+ <property type="string" name="Name" _label="Project Name:" _description="project name" default="gtk-foobar" summary="yes" restriction="filename" mandatory="yes"/>
+ <property type="string" name="Author" _label="Author:" _description="" default="[+UserName+]" mandatory="yes"/>
+ <property type="string" name="Email" _label="Email address:" _description="" default="[+EmailAddress+]" mandatory="no"/>
+ <property type="string" name="Version" _label="Version:" default="0.1" mandatory="yes"/>
+ </page>
+
+ <page name="options" _label="Project options" _description="Options for project build system">
+ <property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" restriction="directory" summary="yes"/>
+ <property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
+ <item name="GPL" _label="General Public License (GPL)"/>
+ <item name="LGPL" _label="Lesser General Public License (LGPL)"/>
+ <item name="BSD" _label="Berkeley Software Distribution License (BSD)"/>
+ <item name="None" _label="No license"/>
+ </property>
+ <property type="hidden" name="NameUpper" default='[+(string-upcase (get "Name"))+]'/>
+ <property type="hidden" name="NameLower" default='[+(string-downcase (get "Name"))+]'/>
+ <property type="hidden" name="NameCUpper" default='[+(string->c-name! (string-substitute (string-upcase (get "Name")) " " "_"))+]'/>
+ <property type="hidden" name="NameCLower" default='[+(string->c-name! (string-substitute (string-downcase (get "Name")) " " "_"))+]'/>
+ <property type="hidden" name="NameHLower" default='[+(string-substitute (string->c-name! (string-downcase (get "Name"))) " " "-")+]'/>
+ <property type="hidden" name="HavePackage" default="1"/>
+ <property type="hidden" name="PackageModule1" default="gtkmm-2.4 >= 2.12"/>
+ <property type="boolean" name="HaveI18n" _label="Add internationalization:" _description="Adds support for internationalization so that your project can have translations in different languages" default="1"/>
+ <property type="boolean" name="HaveSharedlib" _label="Add shared library support:" _description="Adds support for building shared libraries in your project" default="1"/>
+ <property type="boolean" name="HaveGtkDoc" _label="Add gtk-doc system:" _description="gtk-doc is used to compile API documentations for GObject based classes" default="0"/>
+ <property type="boolean" name="HavePackageExtra" _label="Configure external packages:" _description="Use pkg-config to add library support from other packages" default="0"/>
+ </page>
+
+ [+IF (=(get "HavePackageExtra") "1")+]
+ <page name="packages" _label="Configure external packages" _description="Configure external packages">
+ <property type="string" name="PackageModule2" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'" mandatory="yes"/>
+ <property type="string" name="PackageModule3" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ <property type="string" name="PackageModule4" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ <property type="string" name="PackageModule5" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ </page>
+ [+ENDIF+]
+
+ <content>
+ <directory source="terminal" destination="[+Destination+]">
+ <file source="AUTHORS"/>
+ <file source="ChangeLog"/>
+ <file source="Makefile.am.tpl" destination="Makefile.am"/>
+ <file source="NEWS"/>
+ <file source="README"/>
+ <file source="autogen.sh" executable="yes"/>
+ <file destination="[+NameHLower+].anjuta" source="project.anjuta"/>
+ <file source="cvsignore" destination=".cvsignore"/>
+ <directory source="src">
+ <file source="cvsignore" destination=".cvsignore"/>
+ </directory>
+ [+IF (=(get "HaveI18n") "1") +]
+ <directory source="po">
+ <file source="ChangeLog"/>
+ <file source="POTFILES.in"/>
+ <file source="LINGUAS" />
+ <file source="cvsignore" destination=".cvsignore"/>
+ </directory>
+ [+ENDIF+]
+ </directory>
+ <directory source="cpp" destination="[+Destination+]">
+ <file source="configure.ac.tpl" destination="configure.ac"/>
+ </directory>
+ <directory source="gtkmm" destination="[+Destination+]">
+ <directory source="src">
+ <file source="main.cc"/>
+ <file source="project.ui" destination="[+NameHLower+].ui"/>
+ <file source="Makefile.am.tpl" destination="Makefile.am"/>
+ </directory>
+ </directory>
+ <directory source="licenses" destination="[+Destination+]">
+ <file source="[+License+]" destination="COPYING"/>
+ </directory>
+ <directory source="minimal" destination="[+Destination+]">
+ <directory source="." destination=".anjuta">
+ <directory source="." destination="session">
+ <file source="anjuta.session"/>
+ </directory>
+ </directory>
+ </directory>
+ </content>
+
+ <action>
+ <open file="[+Destination+]/[+NameHLower+].anjuta"/>
+ </action>
+</project-template>
diff --git a/plugins/project-wizard/templates/java.wiz.in b/plugins/project-wizard/templates/java.wiz.in
new file mode 100644
index 0000000..3476204
--- /dev/null
+++ b/plugins/project-wizard/templates/java.wiz.in
@@ -0,0 +1,91 @@
+<project-template>
+ <project-wizard>
+ <_name>Generic java (automake)</_name>
+ <_description>A generic java project using automake project management</_description>
+ <icon>java-logo.png</icon>
+ <category>Java</category>
+ <required-program>automake</required-program>
+ <required-program>autoconf</required-program>
+ <required-program>make</required-program>
+ <required-program>java</required-program>
+ </project-wizard>
+
+ <page name="basic" _label="Basic information" _description="General Project Information">
+ <property type="string" name="Name" _label="Project Name:" _description="project name" default="java-foobar" summary="yes" restriction="filename" mandatory="yes"/>
+ <property type="string" name="MainClass" _label="Main Class:" _description="Main class" default="MainApp" mandatory="yes"/>
+ <property type="string" name="Author" _label="Author:" _description="" default="[+UserName+]" mandatory="yes"/>
+ <property type="string" name="Email" _label="Email address:" _description="" default="[+EmailAddress+]" mandatory="no"/>
+ <property type="string" name="Version" _label="Version:" default="0.1" mandatory="yes"/>
+ </page>
+
+ <page name="options" _label="Project options" _description="Options for project build system">
+ <property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" restriction="directory" summary="yes"/>
+ <property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
+ <item name="GPL" _label="General Public License (GPL)"/>
+ <item name="LGPL" _label="Lesser General Public License (LGPL)"/>
+ <item name="BSD" _label="Berkeley Software Distribution License (BSD)"/>
+ <item name="None" _label="No license"/>
+ </property>
+ <property type="hidden" name="NameUpper" default='[+(string-upcase (get "Name"))+]'/>
+ <property type="hidden" name="NameLower" default='[+(string-downcase (get "Name"))+]'/>
+ <property type="hidden" name="NameCUpper" default='[+(string->c-name! (string-substitute (string-upcase (get "Name")) " " "_"))+]'/>
+ <property type="hidden" name="NameCLower" default='[+(string->c-name! (string-substitute (string-downcase (get "Name")) " " "_"))+]'/>
+ <property type="hidden" name="NameHLower" default='[+(string-substitute (string->c-name! (string-downcase (get "Name"))) " " "-")+]'/>
+ <property type="hidden" name="HavePackage" default="0"/>
+ <property type="boolean" name="HaveSharedlib" _label="Add shared library support:" _description="Adds support for building shared libraries in your project" default="1"/>
+ <property type="hidden" name="HaveGtkDoc" _label="Add gtk-doc system:" _description="gtk-doc is used to compile API documentations for GObject based classes" default="0"/>
+ <property type="hidden" name="HaveI18n" _label="Add internationalization:" _description="Adds support for internationalization so that your project can have translations in different languages" default="0"/>
+ <property type="hidden" name="HavePackageExtra" _label="Configure external packages:" _description="Use pkg-config to add library support from other packages" default="0"/>
+ </page>
+
+ [+IF (=(get "HavePackageExtra") "1")+]
+ <page name="packages" _label="Configure external packages" _description="Configure external packages">
+ <property type="string" name="PackageModule2" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'" mandatory="yes"/>
+ <property type="string" name="PackageModule3" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ <property type="string" name="PackageModule4" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ <property type="string" name="PackageModule5" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ </page>
+ [+ENDIF+]
+
+ <content>
+ <directory source="terminal" destination="[+Destination+]">
+ <file source="AUTHORS"/>
+ <file source="ChangeLog"/>
+ <file source="Makefile.am.tpl" destination="Makefile.am"/>
+ <file source="NEWS"/>
+ <file source="README"/>
+ <file source="autogen.sh" executable="yes"/>
+ <file source="cvsignore" destination=".cvsignore"/>
+ <directory source="src">
+ <file source="cvsignore" destination=".cvsignore"/>
+ </directory>
+ [+IF (=(get "HaveI18n") "1") +]
+ <directory source="po">
+ <file source="ChangeLog"/>
+ <file source="LINGUAS" />
+ <file source="cvsignore" destination=".cvsignore"/>
+ </directory>
+ [+ENDIF+]
+ </directory>
+ <directory source="java" destination="[+Destination+]">
+ [+IF (=(get "HaveI18n") "1") +]
+ <directory source="po">
+ <file source="POTFILES.in"/>
+ </directory>
+ [+ENDIF+]
+ <file destination="[+NameHLower+].anjuta" source="project.anjuta"/>
+ <file source="configure.ac.tpl" destination="configure.ac"/>
+ <directory source="src">
+ <file source="main.java" destination="[+MainClass+].java"/>
+ <file source="Makefile.am.tpl" destination="Makefile.am"/>
+ </directory>
+ </directory>
+ <directory source="licenses" destination="[+Destination+]">
+ <file source="[+License+]" destination="COPYING"/>
+ </directory>
+ </content>
+
+ <action>
+ <open file="[+Destination+]/[+NameHLower+].anjuta"/>
+ </action>
+</project-template>
diff --git a/plugins/project-wizard/templates/js.wiz.in b/plugins/project-wizard/templates/js.wiz.in
new file mode 100644
index 0000000..3d225a5
--- /dev/null
+++ b/plugins/project-wizard/templates/js.wiz.in
@@ -0,0 +1,58 @@
+<project-template>
+ <project-wizard>
+ <_name>Generic JavaScript</_name>
+ <_description>A generic minimal and flat project</_description>
+ <icon>terminal-logo.png</icon>
+ <category>JS</category>
+ <required-program>automake</required-program>
+ <required-program>autoconf</required-program>
+ <required-program>make</required-program>
+ </project-wizard>
+
+ <page name="basic" _label="Basic information" _description="General Project Information">
+ <property type="string" name="Name" _label="Project Name:" _description="project name" default="foobar-sample" summary="yes" restriction="filename" mandatory="yes"/>
+ <property type="string" name="Author" _label="Author:" _description="" default="[+UserName+]" mandatory="yes"/>
+ <property type="string" name="Email" _label="Email address:" _description="" default="[+EmailAddress+]" mandatory="no"/>
+ <property type="string" name="Version" _label="Version:" default="0.1" mandatory="yes"/>
+ </page>
+
+ <page name="options" _label="Project options" _description="Options for project build system">
+ <property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" summary="yes"/>
+ <property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
+ <item name="GPL" _label="General Public License (GPL)"/>
+ <item name="LGPL" _label="Lesser General Public License (LGPL)"/>
+ <item name="BSD" _label="Berkeley Software Distribution License (BSD)"/>
+ <item name="None" _label="No license"/>
+ </property>
+ <property type="hidden" name="NameUpper" default='[+(string-upcase (get "Name"))+]'/>
+ <property type="hidden" name="NameLower" default='[+(string-downcase (get "Name"))+]'/>
+ <property type="hidden" name="NameCUpper" default='[+(string->c-name! (string-substitute (string-upcase (get "Name")) " " "_"))+]'/>
+ <property type="hidden" name="NameCLower" default='[+(string->c-name! (string-substitute (string-downcase (get "Name")) " " "_"))+]'/>
+ <property type="hidden" name="NameHLower" default='[+(string-substitute (string->c-name! (string-downcase (get "Name"))) " " "-")+]'/>
+ </page>
+
+ <content>
+ <directory source="js_minimal" destination="[+Destination+]">
+ <file source="Makefile.am.tpl" destination="Makefile.am"/>
+ <file source="autogen.sh" executable="yes"/>
+ <file source="configure.ac.tpl" destination="configure.ac"/>
+ <file source="project.anjuta" destination="[+NameHLower+].anjuta"/>
+ </directory>
+ <directory source="js_minimal" destination="[+Destination+]">
+ <directory source="src" destination="src">
+ <file source="main.c"/>
+ <file source="debug.h"/>
+ <file source="debug.c"/>
+ <file source="main.js"/>
+ <file source="Makefile.am.tpl" destination="Makefile.am"/>
+ </directory>
+ </directory>
+ <directory source="licenses" destination="[+Destination+]">
+ <file source="[+License+]" destination="COPYING"/>
+ </directory>
+ </content>
+
+ <action>
+ <open file="[+Destination+]/[+NameHLower+].anjuta"/>
+ </action>
+</project-template>
diff --git a/plugins/project-wizard/templates/library.wiz.in b/plugins/project-wizard/templates/library.wiz.in
new file mode 100644
index 0000000..a7bc08e
--- /dev/null
+++ b/plugins/project-wizard/templates/library.wiz.in
@@ -0,0 +1,102 @@
+<project-template>
+ <project-wizard>
+ <_name>Library</_name>
+ <_description>A shared or a static library project</_description>
+ <icon>terminal-logo.png</icon>
+ <category>C</category>
+ <required-program>automake</required-program>
+ <required-program>autoconf</required-program>
+ <required-program>make</required-program>
+ </project-wizard>
+
+ <page name="basic" _label="Basic information" _description="General Project Information">
+ <property type="string" name="Name" _label="Project Name:" _description="project name" default="foo" summary="yes" restriction="filename" mandatory="yes"/>
+ <property type="string" name="Author" _label="Author:" _description="" default="[+UserName+]" mandatory="yes"/>
+ <property type="string" name="Email" _label="Email address:" _description="" default="[+EmailAddress+]" mandatory="no"/>
+ <property type="string" name="Version" _label="Version:" default="0.1" mandatory="yes"/>
+ </page>
+
+ <page name="options" _label="Project options" _description="Options for project build system">
+ <property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" restriction="directory" summary="yes"/>
+ <property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
+ <item name="GPL" _label="General Public License (GPL)"/>
+ <item name="LGPL" _label="Lesser General Public License (LGPL)"/>
+ <item name="BSD" _label="Berkeley Software Distribution License (BSD)"/>
+ <item name="None" _label="No license"/>
+ </property>
+ <property type="hidden" name="NameUpper" default='[+(string-upcase (get "Name"))+]'/>
+ <property type="hidden" name="NameLower" default='[+(string-downcase (get "Name"))+]'/>
+ <property type="hidden" name="NameCUpper" default='[+(string->c-name! (string-substitute (string-upcase (get "Name")) " " "_"))+]'/>
+ <property type="hidden" name="NameCLower" default='[+(string->c-name! (string-substitute (string-downcase (get "Name")) " " "_"))+]'/>
+ <property type="hidden" name="NameHLower" default='[+(string-substitute (string->c-name! (string-downcase (get "Name"))) " " "-")+]'/>
+ <property type="list" name="LibraryType" _label="Build library as" _description="Select library type to build" default="Both" editable="no">
+ <item name="Both" _label="Shared and Static library"/>
+ <item name="Shared" _label="Only Shared"/>
+ <item name="Static" _label="Only Static"/>
+ </property>
+ <property type="boolean" name="HaveLangCPP" _label="Add C++ support:" _description="Adds C++ support to the project so that C++ source files can be built" default="0"/>
+ <property type="boolean" name="HaveI18n" _label="Add internationalization:" _description="Adds support for internationalization so that your project can have translations in different languages" default="1"/>
+ <property type="boolean" name="HavePackage" _label="Configure external packages:" _description="Use pkg-config to add library support from other packages" default="0"/>
+ </page>
+
+ [+IF (=(get "HavePackage") "1")+]
+ <page name="packages" _label="Configure external packages" _description="Configure external packages">
+ <property type="string" name="PackageModule1" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'" mandatory="yes"/>
+ <property type="string" name="PackageModule2" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ <property type="string" name="PackageModule3" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ <property type="string" name="PackageModule4" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ <property type="string" name="PackageModule5" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ </page>
+ [+ENDIF+]
+
+ <content>
+ <directory source="terminal" destination="[+Destination+]">
+ <file source="AUTHORS"/>
+ <file source="ChangeLog"/>
+ <file source="Makefile.am.tpl" destination="Makefile.am"/>
+ <file source="NEWS"/>
+ <file source="README"/>
+ <file source="autogen.sh" executable="yes"/>
+ <file destination="lib[+NameHLower+].anjuta" source="project.anjuta"/>
+ <file source="cvsignore" destination=".cvsignore"/>
+ <directory source="src">
+ <file source="cvsignore" destination=".cvsignore"/>
+ </directory>
+ [+IF (=(get "HaveI18n") "1") +]
+ <directory source="po">
+ <file source="ChangeLog"/>
+ <file source="LINGUAS" />
+ <file source="cvsignore" destination=".cvsignore"/>
+ </directory>
+ [+ENDIF+]
+ </directory>
+ <directory source="library" destination="[+Destination+]">
+ <file source="configure.ac.tpl" destination="configure.ac"/>
+ <directory source="src">
+ <file source="Makefile.am.tpl" destination="Makefile.am"/>
+ <file source="library.pc.in" destination="lib[+NameHLower+]-[+Version+].pc.in"/>
+ <file source="lib.c"/>
+ <file source="lib.h" destination="[+NameHLower+].h"/>
+ </directory>
+ [+IF (=(get "HaveI18n") "1") +]
+ <directory source="po">
+ <file source="POTFILES.in"/>
+ </directory>
+ [+ENDIF+]
+ </directory>
+ <directory source="licenses" destination="[+Destination+]">
+ <file source="[+License+]" destination="COPYING"/>
+ </directory>
+ <directory source="minimal" destination="[+Destination+]">
+ <directory source="." destination=".anjuta">
+ <directory source="." destination="session">
+ <file source="anjuta.session"/>
+ </directory>
+ </directory>
+ </directory>
+ </content>
+
+ <action>
+ <open file="[+Destination+]/lib[+NameHLower+].anjuta"/>
+ </action>
+</project-template>
diff --git a/plugins/project-wizard/templates/minimal.wiz.in b/plugins/project-wizard/templates/minimal.wiz.in
new file mode 100644
index 0000000..c80da91
--- /dev/null
+++ b/plugins/project-wizard/templates/minimal.wiz.in
@@ -0,0 +1,76 @@
+<project-template>
+ <project-wizard>
+ <_name>Generic (Minimal)</_name>
+ <_description>A generic minimal and flat project</_description>
+ <icon>terminal-logo.png</icon>
+ <category>C</category>
+ <required-program>automake</required-program>
+ <required-program>autoconf</required-program>
+ <required-program>make</required-program>
+ </project-wizard>
+
+ <page name="basic" _label="Basic information" _description="General Project Information">
+ <property type="string" name="Name" _label="Project Name:" _description="project name" default="foobar-sample" summary="yes" restriction="filename" mandatory="yes"/>
+ <property type="string" name="Author" _label="Author:" _description="" default="[+UserName+]" mandatory="yes"/>
+ <property type="string" name="Email" _label="Email address:" _description="" default="[+EmailAddress+]" mandatory="no"/>
+ <property type="string" name="Version" _label="Version:" default="0.1" mandatory="yes"/>
+ </page>
+
+ <page name="options" _label="Project options" _description="Options for project build system">
+ <property type='directory' name='Destination' _label='Destination:' _description='' default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory='yes' exist='no' restriction='directory' summary='yes'/>
+ <property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
+ <item name="GPL" _label="General Public License (GPL)"/>
+ <item name="LGPL" _label="Lesser General Public License (LGPL)"/>
+ <item name="BSD" _label="Berkeley Software Distribution License (BSD)"/>
+ <item name="None" _label="No license"/>
+ </property>
+ <property type="hidden" name="NameUpper" default='[+(string-upcase (get "Name"))+]'/>
+ <property type="hidden" name="NameLower" default='[+(string-downcase (get "Name"))+]'/>
+ <property type="hidden" name="NameCUpper" default='[+(string->c-name! (string-substitute (string-upcase (get "Name")) " " "_"))+]'/>
+ <property type="hidden" name="NameCLower" default='[+(string->c-name! (string-substitute (string-downcase (get "Name")) " " "_"))+]'/>
+ <property type="hidden" name="NameHLower" default='[+(string-substitute (string->c-name! (string-downcase (get "Name"))) " " "-")+]'/>
+ <property type="boolean" name="HaveLangCPP" _label="Add C++ support:" _description="Adds C++ support to the project so that C++ source files can be built" default="0"/>
+ <property type="boolean" name="HaveSharedlib" _label="Add shared library support:" _description="Adds support for building shared libraries in your project" default="0"/>
+ <property type="boolean" name="HavePackage" _label="Configure external packages:" _description="Use pkg-config to add library support from other packages" default="0"/>
+ </page>
+
+ [+IF (=(get "HavePackage") "1")+]
+ <page name="packages" _label="Configure external packages" _description="Configure external packages">
+ <property type="string" name="PackageModule1" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'" mandatory="yes"/>
+ <property type="string" name="PackageModule2" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ <property type="string" name="PackageModule3" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ <property type="string" name="PackageModule4" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ <property type="string" name="PackageModule5" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ </page>
+ [+ENDIF+]
+
+ <content>
+ <directory source="minimal" destination="[+Destination+]">
+ <file source="Makefile.am.tpl" destination="Makefile.am"/>
+ <file source="autogen.sh" executable="yes"/>
+ <file source="configure.ac.tpl" destination="configure.ac"/>
+ <file destination="[+NameHLower+].anjuta" source="project.anjuta"/>
+ </directory>
+ <directory source="terminal" destination="[+Destination+]">
+ <file source="cvsignore" destination=".cvsignore"/>
+ <directory source="src" destination=".">
+ <file source="main.c"/>
+ </directory>
+ </directory>
+ <directory source="licenses" destination="[+Destination+]">
+ <file source="[+License+]" destination="COPYING"/>
+ </directory>
+ <directory source="minimal" destination="[+Destination+]">
+ <directory source="." destination=".anjuta">
+ <directory source="." destination="session">
+ <file source="anjuta.session"/>
+ </directory>
+ </directory>
+ </directory>
+ </content>
+
+ <action>
+ <open file="[+Destination+]/[+NameHLower+].anjuta"/>
+ </action>
+
+</project-template>
diff --git a/plugins/project-wizard/templates/mkfile.wiz.in b/plugins/project-wizard/templates/mkfile.wiz.in
new file mode 100644
index 0000000..255f6d5
--- /dev/null
+++ b/plugins/project-wizard/templates/mkfile.wiz.in
@@ -0,0 +1,26 @@
+<project-template>
+ <project-wizard>
+ <_name>Makefile project</_name>
+ <_description>Makefile-based project</_description>
+ <icon>mkfile-logo.png</icon>
+ <category>C</category>
+ <required-program>make</required-program>
+ </project-wizard>
+
+ <page name="options" _label="Project options" _description="Project directory, output file etc.">
+ <property type="string" name="Name" _label="Project name:" _description="" default="foobar" mandatory="yes" restriction="filename" summary="yes"/>
+ <property type="directory" name="Destination" _label="Project directory:" _description="" default="[+AnjutaProjectDirectory+]/foobar" mandatory="yes" exist="no" summary="yes"/>
+ </page>
+
+ <content>
+ <directory source="mkfile" destination="[+Destination+]">
+ <file destination='[+(string-substitute (string->c-name! (string-downcase (get "Name"))) " " "-")+].anjuta' source="project.anjuta"/>
+ <file destination='[+(string-substitute (string->c-name! (string-downcase (get "Name"))) " " "-")+].c' source="src/main.c"/>
+ <file destination="Makefile" source="src/Makefile.tpl"/>
+ </directory>
+ </content>
+
+ <action>
+ <open file='[+Destination+]/[+(string-substitute (string->c-name! (string-downcase (get "Name"))) " " "-")+].anjuta'/>
+ </action>
+</project-template>
diff --git a/plugins/project-wizard/templates/python.wiz.in b/plugins/project-wizard/templates/python.wiz.in
new file mode 100644
index 0000000..b2d6926
--- /dev/null
+++ b/plugins/project-wizard/templates/python.wiz.in
@@ -0,0 +1,91 @@
+<project-template>
+ <project-wizard>
+ <_name>Generic python (automake)</_name>
+ <_description>A generic python project using automake project management</_description>
+ <icon>python-logo.png</icon>
+ <category>Python</category>
+ <required-program>automake</required-program>
+ <required-program>autoconf</required-program>
+ <required-program>make</required-program>
+ <required-program>python</required-program>
+ </project-wizard>
+
+ <page name="basic" _label="Basic information" _description="General Project Information">
+ <property type="string" name="Name" _label="Project Name:" _description="project name" default="python-foobar" summary="yes" restriction="filename" mandatory="yes"/>
+ <property type="string" name="Author" _label="Author:" _description="" default="[+UserName+]" mandatory="yes"/>
+ <property type="string" name="Email" _label="Email address:" _description="" default="[+EmailAddress+]" mandatory="no"/>
+ <property type="string" name="Version" _label="Version:" default="0.1" mandatory="yes"/>
+ </page>
+
+ <page name="options" _label="Project options" _description="Options for project build system">
+ <property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" restriction="directory" summary="yes"/>
+ <property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
+ <item name="GPL" _label="General Public License (GPL)"/>
+ <item name="LGPL" _label="Lesser General Public License (LGPL)"/>
+ <item name="BSD" _label="Berkeley Software Distribution License (BSD)"/>
+ <item name="None" _label="No license"/>
+ </property>
+ <property type="hidden" name="NameUpper" default='[+(string-upcase (get "Name"))+]'/>
+ <property type="hidden" name="NameLower" default='[+(string-downcase (get "Name"))+]'/>
+ <property type="hidden" name="NameCUpper" default='[+(string->c-name! (string-substitute (string-upcase (get "Name")) " " "_"))+]'/>
+ <property type="hidden" name="NameCLower" default='[+(string->c-name! (string-substitute (string-downcase (get "Name")) " " "_"))+]'/>
+ <property type="hidden" name="NameHLower" default='[+(string-substitute (string->c-name! (string-downcase (get "Name"))) " " "-")+]'/>
+ <property type="hidden" name="HavePackage" default="0"/>
+ <property type="boolean" name="HaveSharedlib" _label="Add shared library support:" _description="Adds support for building shared libraries in your project" default="1"/>
+ <property type="hidden" name="HaveGtkDoc" _label="Add gtk-doc system:" _description="gtk-doc is used to compile API documentations for GObject based classes" default="0"/>
+ <property type="hidden" name="HaveI18n" _label="Add internationalization:" _description="Adds support for internationalization so that your project can have translations in different languages" default="0"/>
+ <property type="hidden" name="HavePackageExtra" _label="Configure external packages:" _description="Use pkg-config to add library support from other packages" default="0"/>
+ </page>
+
+ [+IF (=(get "HavePackageExtra") "1")+]
+ <page name="packages" _label="Configure external packages" _description="Configure external packages">
+ <property type="string" name="PackageModule1" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'" mandatory="yes"/>
+ <property type="string" name="PackageModule2" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'" mandatory="yes"/>
+ <property type="string" name="PackageModule3" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ <property type="string" name="PackageModule4" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ <property type="string" name="PackageModule5" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ </page>
+ [+ENDIF+]
+
+ <content>
+ <directory source="terminal" destination="[+Destination+]">
+ <file source="AUTHORS"/>
+ <file source="ChangeLog"/>
+ <file source="Makefile.am.tpl" destination="Makefile.am"/>
+ <file source="NEWS"/>
+ <file source="README"/>
+ <file source="autogen.sh" executable="yes"/>
+ <file source="cvsignore" destination=".cvsignore"/>
+ <directory source="src">
+ <file source="cvsignore" destination=".cvsignore"/>
+ </directory>
+ [+IF (=(get "HaveI18n") "1") +]
+ <directory source="po">
+ <file source="ChangeLog"/>
+ <file source="LINGUAS" />
+ <file source="cvsignore" destination=".cvsignore"/>
+ </directory>
+ [+ENDIF+]
+ </directory>
+ <directory source="python" destination="[+Destination+]">
+ [+IF (=(get "HaveI18n") "1") +]
+ <directory source="po">
+ <file source="POTFILES.in"/>
+ </directory>
+ [+ENDIF+]
+ <file destination="[+NameHLower+].anjuta" source="project.anjuta"/>
+ <file source="configure.ac.tpl" destination="configure.ac"/>
+ <directory source="src">
+ <file source="main.py" destination="[+NameHLower+].py" executable="yes"/>
+ <file source="Makefile.am.tpl" destination="Makefile.am"/>
+ </directory>
+ </directory>
+ <directory source="licenses" destination="[+Destination+]">
+ <file source="[+License+]" destination="COPYING"/>
+ </directory>
+ </content>
+
+ <action>
+ <open file="[+Destination+]/[+NameHLower+].anjuta"/>
+ </action>
+</project-template>
diff --git a/plugins/project-wizard/templates/sdl.wiz.in b/plugins/project-wizard/templates/sdl.wiz.in
new file mode 100644
index 0000000..63781f6
--- /dev/null
+++ b/plugins/project-wizard/templates/sdl.wiz.in
@@ -0,0 +1,87 @@
+<project-template>
+ <project-wizard>
+ <_name>SDL</_name>
+ <_description>A sample SDL project</_description>
+ <icon>appwiz_sdl.png</icon>
+ <category>C</category>
+ <required-program>automake</required-program>
+ <required-program>autoconf</required-program>
+ <required-program>make</required-program>
+ </project-wizard>
+
+ <page name="basic" _label="Basic information" _description="General Project Information">
+ <property type="string" name="Name" _label="Project Name:" _description="project name" default="sdl-foobar" summary="yes" restriction="filename" mandatory="yes"/>
+ <property type="string" name="Author" _label="Author:" _description="" default="[+UserName+]" mandatory="yes"/>
+ <property type="string" name="Email" _label="Email address:" _description="" default="[+EmailAddress+]" mandatory="no"/>
+ <property type="string" name="Version" _label="Version:" default="0.1" mandatory="yes"/>
+ </page>
+
+ <page name="options" _label="Project options" _description="Options for project build system">
+ <property type="hidden" name="NameUpper" default='[+(string-upcase (get "Name"))+]'/>
+ <property type="hidden" name="NameLower" default='[+(string-downcase (get "Name"))+]'/>
+ <property type="hidden" name="NameCUpper" default='[+(string->c-name! (string-substitute (string-upcase (get "Name")) " " "_"))+]'/>
+ <property type="hidden" name="NameCLower" default='[+(string->c-name! (string-substitute (string-downcase (get "Name")) " " "_"))+]'/>
+ <property type="hidden" name="NameHLower" default='[+(string-substitute (string->c-name! (string-downcase (get "Name"))) " " "-")+]'/>
+ <property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" restriction="directory" summary="yes"/>
+ <property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
+ <item name="GPL" _label="General Public License (GPL)"/>
+ <item name="LGPL" _label="Lesser General Public License (LGPL)"/>
+ <item name="BSD" _label="Berkeley Software Distribution License (BSD)"/>
+ <item name="None" _label="No license"/>
+ </property>
+ <property type="boolean" name="HaveLangCPP" _label="Add C++ support:" _description="Adds C++ support to the project so that C++ source files can be built" default="0"/>
+ <property type="boolean" name="HaveI18n" _label="Add internationalization:" _description="Adds support for internationalization so that your project can have translations in different languages" default="1"/>
+ <property type="string" name="SDL_Version" _label="Require SDL version:" _description="Mininum SDL version required" default="1.2.0"/>
+ <property type="boolean" name="HaveSDL_image" _label="Require SDL_image:" _description="Require SDL_image library" default="0"/>
+ <property type="boolean" name="HaveSDL_gfx" _label="Require SDL_gfx:" _description="Require SDL_gfx library" default="0"/>
+ <property type="boolean" name="HaveSDL_ttf" _label="Require SDL_ttf:" _description="Require SDL_ttf library" default="0"/>
+ <property type="boolean" name="HaveSDL_mixer" _label="Require SDL_mixer:" _description="Require SDL_mixer library" default="0"/>
+ <property type="boolean" name="HaveSDL_net" _label="Require SDL_net:" _description="Require SDL_net library" default="0"/>
+ </page>
+
+ <content>
+ <directory source="terminal" destination="[+Destination+]">
+ <file source="AUTHORS"/>
+ <file source="ChangeLog"/>
+ <file source="Makefile.am.tpl" destination="Makefile.am"/>
+ <file source="NEWS"/>
+ <file source="README"/>
+ <file source="autogen.sh" executable="yes"/>
+ <file destination="[+NameHLower+].anjuta" source="project.anjuta"/>
+ <file source="cvsignore" destination=".cvsignore"/>
+ <directory source="src">
+ <file source="cvsignore" destination=".cvsignore"/>
+ </directory>
+ [+IF (=(get "HaveI18n") "1") +]
+ <directory source="po">
+ <file source="ChangeLog"/>
+ <file source="POTFILES.in"/>
+ <file source="LINGUAS" />
+ <file source="cvsignore" destination=".cvsignore"/>
+ </directory>
+ [+ENDIF+]
+ </directory>
+ <directory source="sdl" destination="[+Destination+]">
+ <file source="configure.ac.tpl" destination="configure.ac"/>
+ <file source="acinclude.m4.tpl" destination="acinclude.m4"/>
+ <directory source="src">
+ <file source="main.c"/>
+ <file source="Makefile.am.tpl" destination="Makefile.am"/>
+ </directory>
+ </directory>
+ <directory source="licenses" destination="[+Destination+]">
+ <file source="[+License+]" destination="COPYING"/>
+ </directory>
+ <directory source="minimal" destination="[+Destination+]">
+ <directory source="." destination=".anjuta">
+ <directory source="." destination="session">
+ <file source="anjuta.session"/>
+ </directory>
+ </directory>
+ </directory>
+ </content>
+
+ <action>
+ <open file="[+Destination+]/[+NameHLower+].anjuta"/>
+ </action>
+</project-template>
diff --git a/plugins/project-wizard/templates/terminal.wiz.in b/plugins/project-wizard/templates/terminal.wiz.in
new file mode 100644
index 0000000..9fc25cd
--- /dev/null
+++ b/plugins/project-wizard/templates/terminal.wiz.in
@@ -0,0 +1,87 @@
+<project-template>
+ <project-wizard>
+ <_name>Generic</_name>
+ <_description>A generic project</_description>
+ <icon>terminal-logo.png</icon>
+ <category>C</category>
+ <required-program>automake</required-program>
+ <required-program>autoconf</required-program>
+ <required-program>make</required-program>
+ </project-wizard>
+
+ <page name="basic" _label="Basic information" _description="General Project Information">
+ <property type="string" name="Name" _label="Project Name:" _description="project name" default="foobar-sample" summary="yes" restriction="filename" mandatory="yes"/>
+ <property type="string" name="Author" _label="Author:" _description="" default="[+UserName+]" mandatory="yes"/>
+ <property type="string" name="Email" _label="Email address:" _description="" default="[+EmailAddress+]" mandatory="no"/>
+ <property type="string" name="Version" _label="Version:" default="0.1" mandatory="yes"/>
+ </page>
+
+ <page name="options" _label="Project options" _description="Options for project build system">
+ <property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" restriction="directory" summary="yes"/>
+ <property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
+ <item name="GPL" _label="General Public License (GPL)"/>
+ <item name="LGPL" _label="Lesser General Public License (LGPL)"/>
+ <item name="BSD" _label="Berkeley Software Distribution License (BSD)"/>
+ <item name="None" _label="No license"/>
+ </property>
+ <property type="hidden" name="NameUpper" default='[+(string-upcase (get "Name"))+]'/>
+ <property type="hidden" name="NameLower" default='[+(string-downcase (get "Name"))+]'/>
+ <property type="hidden" name="NameCUpper" default='[+(string->c-name! (string-substitute (string-upcase (get "Name")) " " "_"))+]'/>
+ <property type="hidden" name="NameCLower" default='[+(string->c-name! (string-substitute (string-downcase (get "Name")) " " "_"))+]'/>
+ <property type="hidden" name="NameHLower" default='[+(string-substitute (string->c-name! (string-downcase (get "Name"))) " " "-")+]'/>
+ <property type="boolean" name="HaveSharedlib" _label="Add shared library support:" _description="Adds support for building shared libraries in your project" default="1"/>
+ <property type="boolean" name="HaveI18n" _label="Add internationalization:" _description="Adds support for internationalization so that your project can have translations in different languages" default="1"/>
+ <property type="boolean" name="HavePackage" _label="Configure external packages:" _description="Use pkg-config to add library support from other packages" default="0"/>
+ </page>
+
+ [+IF (=(get "HavePackage") "1")+]
+ <page name="packages" _label="Configure external packages" _description="Configure external packages">
+ <property type="string" name="PackageModule1" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'" mandatory="yes"/>
+ <property type="string" name="PackageModule2" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ <property type="string" name="PackageModule3" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ <property type="string" name="PackageModule4" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ <property type="string" name="PackageModule5" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ </page>
+ [+ENDIF+]
+
+ <content>
+ <directory source="terminal" destination="[+Destination+]">
+ <file source="AUTHORS"/>
+ <file source="ChangeLog"/>
+ <file source="Makefile.am.tpl" destination="Makefile.am"/>
+ <file source="NEWS"/>
+ <file source="README"/>
+ <file source="autogen.sh" executable="yes"/>
+ <file source="configure.ac.tpl" destination="configure.ac"/>
+ <file destination="[+NameHLower+].anjuta" source="project.anjuta"/>
+ <file source="cvsignore" destination=".cvsignore"/>
+ <directory source="src">
+ <file source="Makefile.am.tpl" destination="Makefile.am"/>
+ <file source="main.c"/>
+ <file source="cvsignore" destination=".cvsignore"/>
+ </directory>
+ [+IF (=(get "HaveI18n") "1") +]
+ <directory source="po">
+ <file source="ChangeLog"/>
+ <file source="POTFILES.in"/>
+ <file source="LINGUAS" />
+ <file source="cvsignore" destination=".cvsignore"/>
+ </directory>
+ [+ENDIF+]
+ </directory>
+ <directory source="licenses" destination="[+Destination+]">
+ <file source="[+License+]" destination="COPYING"/>
+ </directory>
+ <directory source="minimal" destination="[+Destination+]">
+ <directory source="." destination=".anjuta">
+ <directory source="." destination="session">
+ <file source="anjuta.session"/>
+ </directory>
+ </directory>
+ </directory>
+ </content>
+
+ <action>
+ <open file="[+Destination+]/[+NameHLower+].anjuta"/>
+ </action>
+</project-template>
diff --git a/plugins/project-wizard/templates/wxwin.wiz.in b/plugins/project-wizard/templates/wxwin.wiz.in
new file mode 100644
index 0000000..ad96634
--- /dev/null
+++ b/plugins/project-wizard/templates/wxwin.wiz.in
@@ -0,0 +1,90 @@
+<project-template>
+ <project-wizard>
+ <_name>Wx Widgets</_name>
+ <_description>A generic wx Widgets project</_description>
+ <icon>wxwin-logo.png</icon>
+ <category>C++</category>
+ <required-program>automake</required-program>
+ <required-program>autoconf</required-program>
+ <required-program>make</required-program>
+ </project-wizard>
+
+ <page name="basic" _label="Basic information" _description="General Project Information">
+ <property type="string" name="Name" _label="Project Name:" _description="project name" default="wxwin-foobar" summary="yes" restriction="filename" mandatory="yes"/>
+ <property type="string" name="Author" _label="Author:" _description="" default="[+UserName+]" mandatory="yes"/>
+ <property type="string" name="Email" _label="Email address:" _description="" default="[+EmailAddress+]" mandatory="no"/>
+ <property type="string" name="Version" _label="Version:" default="0.1" mandatory="yes"/>
+ </page>
+
+ <page name="options" _label="Project options" _description="Options for project build system">
+ <property type="hidden" name="NameUpper" default='[+(string-upcase (get "Name"))+]'/>
+ <property type="hidden" name="NameLower" default='[+(string-downcase (get "Name"))+]'/>
+ <property type="hidden" name="NameCUpper" default='[+(string->c-name! (string-substitute (string-upcase (get "Name")) " " "_"))+]'/>
+ <property type="hidden" name="NameCLower" default='[+(string->c-name! (string-substitute (string-downcase (get "Name")) " " "_"))+]'/>
+ <property type="hidden" name="NameHLower" default='[+(string-substitute (string->c-name! (string-downcase (get "Name"))) " " "-")+]'/>
+ <property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" restriction="directory" summary="yes"/>
+ <property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
+ <item name="GPL" _label="General Public License (GPL)"/>
+ <item name="LGPL" _label="Lesser General Public License (LGPL)"/>
+ <item name="BSD" _label="Berkeley Software Distribution License (BSD)"/>
+ <item name="None" _label="No license"/>
+ </property>
+ <property type="boolean" name="HaveI18n" _label="Add internationalization:" _description="Adds support for internationalization so that your project can have translations in different languages" default="1"/>
+ <property type="boolean" name="HaveSharedlib" _label="Add shared library support:" _description="Adds support for building shared libraries in your project" default="1"/>
+ <property type="boolean" name="HavePackageExtra" _label="Configure external packages:" _description="Use pkg-config to add library support from other packages" default="0"/>
+ </page>
+
+ [+IF (=(get "HavePackageExtra") "1")+]
+ <page name="packages" _label="Configure external packages" _description="Configure external packages">
+ <property type="string" name="PackageModule2" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'" mandatory="yes"/>
+ <property type="string" name="PackageModule3" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ <property type="string" name="PackageModule4" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ <property type="string" name="PackageModule5" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ </page>
+ [+ENDIF+]
+
+ <content>
+ <directory source="terminal" destination="[+Destination+]">
+ <file source="AUTHORS"/>
+ <file source="ChangeLog"/>
+ <file source="Makefile.am.tpl" destination="Makefile.am"/>
+ <file source="NEWS"/>
+ <file source="README"/>
+ <file source="autogen.sh" executable="yes"/>
+ <file destination="[+NameHLower+].anjuta" source="project.anjuta"/>
+ <file source="cvsignore" destination=".cvsignore"/>
+ <directory source="src">
+ <file source="cvsignore" destination=".cvsignore"/>
+ </directory>
+ [+IF (=(get "HaveI18n") "1") +]
+ <directory source="po">
+ <file source="ChangeLog"/>
+ <file source="POTFILES.in"/>
+ <file source="LINGUAS" />
+ <file source="cvsignore" destination=".cvsignore"/>
+ </directory>
+ [+ENDIF+]
+ </directory>
+ <directory source="wxwin" destination="[+Destination+]">
+ <file source="configure.ac.tpl" destination="configure.ac"/>
+ <directory source="src">
+ <file source="main.cc"/>
+ <file source="Makefile.am.tpl" destination="Makefile.am"/>
+ </directory>
+ </directory>
+ <directory source="licenses" destination="[+Destination+]">
+ <file source="[+License+]" destination="COPYING"/>
+ </directory>
+ <directory source="minimal" destination="[+Destination+]">
+ <directory source="." destination=".anjuta">
+ <directory source="." destination="session">
+ <file source="anjuta.session"/>
+ </directory>
+ </directory>
+ </directory>
+ </content>
+
+ <action>
+ <open file="[+Destination+]/[+NameHLower+].anjuta"/>
+ </action>
+</project-template>
diff --git a/plugins/project-wizard/templates/xlib-dock.wiz.in b/plugins/project-wizard/templates/xlib-dock.wiz.in
new file mode 100644
index 0000000..b7cef5c
--- /dev/null
+++ b/plugins/project-wizard/templates/xlib-dock.wiz.in
@@ -0,0 +1,98 @@
+<project-template>
+ <project-wizard>
+ <_name>Xlib dock</_name>
+ <_description>A generic Xlib dock applet</_description>
+ <icon>xlib-logo.png</icon>
+ <category>C</category>
+ <required-program>automake</required-program>
+ <required-program>autoconf</required-program>
+ <required-program>make</required-program>
+ </project-wizard>
+
+ <page name="basic" _label="Basic information" _description="General Project Information">
+ <property type="string" name="Name" _label="Project Name:" _description="project name" default="xlib-dock-foobar" summary="yes" restriction="filename" mandatory="yes"/>
+ <property type="string" name="Author" _label="Author:" _description="" default="[+UserName+]" mandatory="yes"/>
+ <property type="string" name="Email" _label="Email address:" _description="" default="[+EmailAddress+]" mandatory="no"/>
+ <property type="string" name="Version" _label="Version:" default="0.1" mandatory="yes"/>
+ </page>
+
+ <page name="options" _label="Project options" _description="Options for project build system">
+ <property type="hidden" name="NameUpper" default='[+(string-upcase (get "Name"))+]'/>
+ <property type="hidden" name="NameLower" default='[+(string-downcase (get "Name"))+]'/>
+ <property type="hidden" name="NameCUpper" default='[+(string->c-name! (string-substitute (string-upcase (get "Name")) " " "_"))+]'/>
+ <property type="hidden" name="NameCLower" default='[+(string->c-name! (string-substitute (string-downcase (get "Name")) " " "_"))+]'/>
+ <property type="hidden" name="NameHLower" default='[+(string-substitute (string->c-name! (string-downcase (get "Name"))) " " "-")+]'/>
+ <property type="hidden" name="HavePackage" default="1"/>
+ <property type="hidden" name="PackageModule1" default="gtk+-2.0 libglade-2.0"/>
+ <property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" restriction="directory" summary="yes"/>
+ <property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
+ <item name="GPL" _label="General Public License (GPL)"/>
+ <item name="LGPL" _label="Lesser General Public License (LGPL)"/>
+ <item name="BSD" _label="Berkeley Software Distribution License (BSD)"/>
+ <item name="None" _label="No license"/>
+ </property>
+ <property type="boolean" name="HaveLangCPP" _label="Add C++ support:" _description="Adds C++ support to the project so that C++ source files can be built" default="0"/>
+ <property type="boolean" name="HaveI18n" _label="Add internationalization:" _description="Adds support for internationalization so that your project can have translations in different languages" default="1"/>
+ <property type="boolean" name="HaveSharedlib" _label="Add shared library support:" _description="Adds support for building shared libraries in your project" default="1"/>
+ <property type="boolean" name="HavePackageExtra" _label="Configure external packages:" _description="Use pkg-config to add library support from other packages" default="0"/>
+ </page>
+
+ [+IF (=(get "HavePackageExtra") "1")+]
+ <page name="packages" _label="Configure external packages" _description="Configure external packages">
+ <property type="string" name="PackageModule2" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'" mandatory="yes"/>
+ <property type="string" name="PackageModule3" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ <property type="string" name="PackageModule4" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ <property type="string" name="PackageModule5" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ </page>
+ [+ENDIF+]
+
+ <content>
+ <directory source="terminal" destination="[+Destination+]">
+ <file source="AUTHORS"/>
+ <file source="ChangeLog"/>
+ <file source="Makefile.am.tpl" destination="Makefile.am"/>
+ <file source="NEWS"/>
+ <file source="README"/>
+ <file source="autogen.sh" executable="yes"/>
+ <file destination="[+NameHLower+].anjuta" source="project.anjuta"/>
+ <file source="cvsignore" destination=".cvsignore"/>
+ <directory source="src">
+ <file source="cvsignore" destination=".cvsignore"/>
+ </directory>
+ [+IF (=(get "HaveI18n") "1") +]
+ <directory source="po">
+ <file source="ChangeLog"/>
+ <file source="POTFILES.in"/>
+ <file source="LINGUAS" />
+ <file source="cvsignore" destination=".cvsignore"/>
+ </directory>
+ [+ENDIF+]
+ </directory>
+ <directory source="xlib" destination="[+Destination+]">
+ <file source="configure.ac.tpl" destination="configure.ac"/>
+ </directory>
+ <directory source="xlib-dock" destination="[+Destination+]">
+ <directory source="src">
+ <file source="main.c"/>
+ <file source="wmgeneral.c"/>
+ <file source="wmgeneral.h"/>
+ <file source="pixmaps.h"/>
+ <file source="Makefile.am.tpl" destination="Makefile.am"/>
+ </directory>
+ </directory>
+ <directory source="licenses" destination="[+Destination+]">
+ <file source="[+License+]" destination="COPYING"/>
+ </directory>
+ <directory source="minimal" destination="[+Destination+]">
+ <directory source="." destination=".anjuta">
+ <directory source="." destination="session">
+ <file source="anjuta.session"/>
+ </directory>
+ </directory>
+ </directory>
+ </content>
+
+ <action>
+ <open file="[+Destination+]/[+NameHLower+].anjuta"/>
+ </action>
+</project-template>
diff --git a/plugins/project-wizard/templates/xlib.wiz.in b/plugins/project-wizard/templates/xlib.wiz.in
new file mode 100644
index 0000000..b87f6a5
--- /dev/null
+++ b/plugins/project-wizard/templates/xlib.wiz.in
@@ -0,0 +1,93 @@
+<project-template>
+ <project-wizard>
+ <_name>Xlib</_name>
+ <_description>A generic Xlib project</_description>
+ <icon>xlib-logo.png</icon>
+ <category>C</category>
+ <required-program>automake</required-program>
+ <required-program>autoconf</required-program>
+ <required-program>make</required-program>
+ </project-wizard>
+
+ <page name="basic" _label="Basic information" _description="General Project Information">
+ <property type="string" name="Name" _label="Project Name:" _description="project name" default="xlib-foobar" summary="yes" restriction="filename" mandatory="yes"/>
+ <property type="string" name="Author" _label="Author:" _description="" default="[+UserName+]" mandatory="yes"/>
+ <property type="string" name="Email" _label="Email address:" _description="" default="[+EmailAddress+]" mandatory="no"/>
+ <property type="string" name="Version" _label="Version:" default="0.1" mandatory="yes"/>
+ </page>
+
+ <page name="options" _label="Project options" _description="Options for project build system">
+ <property type="hidden" name="NameUpper" default='[+(string-upcase (get "Name"))+]'/>
+ <property type="hidden" name="NameLower" default='[+(string-downcase (get "Name"))+]'/>
+ <property type="hidden" name="NameCUpper" default='[+(string->c-name! (string-substitute (string-upcase (get "Name")) " " "_"))+]'/>
+ <property type="hidden" name="NameCLower" default='[+(string->c-name! (string-substitute (string-downcase (get "Name")) " " "_"))+]'/>
+ <property type="hidden" name="NameHLower" default='[+(string-substitute (string->c-name! (string-downcase (get "Name"))) " " "-")+]'/>
+ <property type="hidden" name="HavePackage" default="1"/>
+ <property type="hidden" name="PackageModule1" default="gtk+-2.0 libglade-2.0"/>
+ <property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" restriction="directory" summary="yes"/>
+ <property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
+ <item name="GPL" _label="General Public License (GPL)"/>
+ <item name="LGPL" _label="Lesser General Public License (LGPL)"/>
+ <item name="BSD" _label="Berkeley Software Distribution License (BSD)"/>
+ <item name="None" _label="No license"/>
+ </property>
+ <property type="boolean" name="HaveLangCPP" _label="Add C++ support:" _description="Adds C++ support to the project so that C++ source files can be built" default="0"/>
+ <property type="boolean" name="HaveI18n" _label="Add internationalization:" _description="Adds support for internationalization so that your project can have translations in different languages" default="1"/>
+ <property type="boolean" name="HaveSharedlib" _label="Add shared library support:" _description="Adds support for building shared libraries in your project" default="1"/>
+ <property type="boolean" name="HavePackageExtra" _label="Configure external packages:" _description="Use pkg-config to add library support from other packages" default="0"/>
+ </page>
+
+ [+IF (=(get "HavePackageExtra") "1")+]
+ <page name="packages" _label="Configure external packages" _description="Configure external packages">
+ <property type="string" name="PackageModule2" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'" mandatory="yes"/>
+ <property type="string" name="PackageModule3" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ <property type="string" name="PackageModule4" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ <property type="string" name="PackageModule5" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
+ </page>
+ [+ENDIF+]
+
+ <content>
+ <directory source="terminal" destination="[+Destination+]">
+ <file source="AUTHORS"/>
+ <file source="ChangeLog"/>
+ <file source="Makefile.am.tpl" destination="Makefile.am"/>
+ <file source="NEWS"/>
+ <file source="README"/>
+ <file source="autogen.sh" executable="yes"/>
+ <file destination="[+NameHLower+].anjuta" source="project.anjuta"/>
+ <file source="cvsignore" destination=".cvsignore"/>
+ <directory source="src">
+ <file source="cvsignore" destination=".cvsignore"/>
+ </directory>
+ [+IF (=(get "HaveI18n") "1") +]
+ <directory source="po">
+ <file source="ChangeLog"/>
+ <file source="POTFILES.in"/>
+ <file source="LINGUAS" />
+ <file source="cvsignore" destination=".cvsignore"/>
+ </directory>
+ [+ENDIF+]
+ </directory>
+ <directory source="xlib" destination="[+Destination+]">
+ <file source="configure.ac.tpl" destination="configure.ac"/>
+ <directory source="src">
+ <file source="main.c"/>
+ <file source="Makefile.am.tpl" destination="Makefile.am"/>
+ </directory>
+ </directory>
+ <directory source="licenses" destination="[+Destination+]">
+ <file source="[+License+]" destination="COPYING"/>
+ </directory>
+ <directory source="minimal" destination="[+Destination+]">
+ <directory source="." destination=".anjuta">
+ <directory source="." destination="session">
+ <file source="anjuta.session"/>
+ </directory>
+ </directory>
+ </directory>
+ </content>
+
+ <action>
+ <open file="[+Destination+]/[+NameHLower+].anjuta"/>
+ </action>
+</project-template>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index a1a9668..3dd4c76 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -174,7 +174,24 @@ plugins/project-wizard/druid.c
plugins/project-wizard/install.c
plugins/project-wizard/plugin.c
plugins/project-wizard/property.c
-plugins/project-wizard/templates/translatable-strings.h
+[type: gettext/xml]plugins/project-wizard/templates/minimal.wiz.in
+[type: gettext/xml]plugins/project-wizard/templates/terminal.wiz.in
+[type: gettext/xml]plugins/project-wizard/templates/cpp.wiz.in
+[type: gettext/xml]plugins/project-wizard/templates/django.wiz.in
+[type: gettext/xml]plugins/project-wizard/templates/gtk.wiz.in
+[type: gettext/xml]plugins/project-wizard/templates/anjuta-plugin.wiz.in
+[type: gettext/xml]plugins/project-wizard/templates/gtkmm.wiz.in
+[type: gettext/xml]plugins/project-wizard/templates/wxwin.wiz.in
+[type: gettext/xml]plugins/project-wizard/templates/xlib.wiz.in
+[type: gettext/xml]plugins/project-wizard/templates/xlib-dock.wiz.in
+[type: gettext/xml]plugins/project-wizard/templates/gcj.wiz.in
+[type: gettext/xml]plugins/project-wizard/templates/java.wiz.in
+[type: gettext/xml]plugins/project-wizard/templates/js.wiz.in
+[type: gettext/xml]plugins/project-wizard/templates/python.wiz.in
+[type: gettext/xml]plugins/project-wizard/templates/mkfile.wiz.in
+[type: gettext/xml]plugins/project-wizard/templates/sdl.wiz.in
+[type: gettext/xml]plugins/project-wizard/templates/gnome-applet.wiz.in
+[type: gettext/xml]plugins/project-wizard/templates/library.wiz.in
[type: gettext/glade]plugins/run-program/anjuta-run-program.ui
plugins/run-program/execute.c
plugins/run-program/parameters.c
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]