anjuta r3820 - in branches/anjuta-2-4: . plugins/project-wizard/templates plugins/project-wizard/templates/anjuta-plugin plugins/project-wizard/templates/anjuta-plugin/po plugins/project-wizard/templates/anjuta-plugin/src plugins/project-wizard/templates/cpp plugins/project-wizard/templates/cpp/src plugins/project-wizard/templates/gcj plugins/project-wizard/templates/gcj/src plugins/project-wizard/templates/gnome/src plugins/project-wizard/templates/gtk/src plugins/project-wizard/templates/gtkmm/src plugins/project-wizard/templates/java plugins/project-wizard/templates/java/src plugins/project-wizard/templates/minimal plugins/project-wizard/templates/python plugins/project-wizard/templates/python/src plugins/project-wizard/templates/sdl plugins/project-wizard/templates/sdl/src plugins/project-wizard/templates/terminal plugins/project-wizard/templates/terminal/src plugins/project-wizard/templates/wxwin plugins/project-wizard/templates/wxwin/src plugins/project-wizard/ templates/xlib plugins/project-wizard/templates/xlib-dock/src plugins/project-wizard/templates/xlib/src
- From: sgranjoux svn gnome org
- To: svn-commits-list gnome org
- Subject: anjuta r3820 - in branches/anjuta-2-4: . plugins/project-wizard/templates plugins/project-wizard/templates/anjuta-plugin plugins/project-wizard/templates/anjuta-plugin/po plugins/project-wizard/templates/anjuta-plugin/src plugins/project-wizard/templates/cpp plugins/project-wizard/templates/cpp/src plugins/project-wizard/templates/gcj plugins/project-wizard/templates/gcj/src plugins/project-wizard/templates/gnome/src plugins/project-wizard/templates/gtk/src plugins/project-wizard/templates/gtkmm/src plugins/project-wizard/templates/java plugins/project-wizard/templates/java/src plugins/project-wizard/templates/minimal plugins/project-wizard/templates/python plugins/project-wizard/templates/python/src plugins/project-wizard/templates/sdl plugins/project-wizard/templates/sdl/src plugins/project-wizard/templates/terminal plugins/project-wizard/templates/terminal/src plugins/project-wizard/templates/wxwin plugins/project-wizard/templates/wxwin/src plugins/project-wizard/ templates/xlib plugins/project-wizard/templates/xlib-dock/src plugins/project-wizard/templates/xlib/src
- Date: Sun, 6 Apr 2008 17:12:56 +0100 (BST)
Author: sgranjoux
Date: Sun Apr 6 17:12:55 2008
New Revision: 3820
URL: http://svn.gnome.org/viewvc/anjuta?rev=3820&view=rev
Log:
* plugins/project-wizard/templates/gtkmm.wiz,
plugins/project-wizard/templates/gtkmm/src/Makefile.am.tpl,
plugins/project-wizard/templates/gtkmm/src/main.cc,
plugins/project-wizard/templates/django.wiz,
plugins/project-wizard/templates/python.wiz,
plugins/project-wizard/templates/python/configure.ac.tpl,
plugins/project-wizard/templates/python/src/Makefile.am.tpl,
plugins/project-wizard/templates/cpp.wiz,
plugins/project-wizard/templates/cpp/configure.ac.tpl,
plugins/project-wizard/templates/cpp/src/Makefile.am.tpl,
plugins/project-wizard/templates/sdl.wiz,
plugins/project-wizard/templates/sdl/configure.ac.tpl,
plugins/project-wizard/templates/sdl/src/Makefile.am.tpl,
plugins/project-wizard/templates/terminal.wiz,
plugins/project-wizard/templates/terminal/configure.ac.tpl,
plugins/project-wizard/templates/terminal/src/Makefile.am.tpl,
plugins/project-wizard/templates/terminal/Makefile.am.tpl,
plugins/project-wizard/templates/gtk.wiz,
plugins/project-wizard/templates/gtk/src/main.c,
plugins/project-wizard/templates/gtk/src/Makefile.am.tpl,
plugins/project-wizard/templates/minimal.wiz,
plugins/project-wizard/templates/minimal/configure.ac.tpl,
plugins/project-wizard/templates/minimal/Makefile.am.tpl,
plugins/project-wizard/templates/java.wiz,
plugins/project-wizard/templates/java/configure.ac.tpl,
plugins/project-wizard/templates/java/src/Makefile.am.tpl,
plugins/project-wizard/templates/xlib.wiz,
plugins/project-wizard/templates/xlib/configure.ac.tpl,
plugins/project-wizard/templates/xlib/src/Makefile.am.tpl,
plugins/project-wizard/templates/gcj.wiz,
plugins/project-wizard/templates/gcj/configure.ac.tpl,
plugins/project-wizard/templates/gcj/src/Makefile.am.tpl,
plugins/project-wizard/templates/xlib-dock.wiz,
plugins/project-wizard/templates/xlib-dock/src/Makefile.am.tpl,
plugins/project-wizard/templates/wxwin.wiz,
plugins/project-wizard/templates/wxwin/configure.ac.tpl,
plugins/project-wizard/templates/wxwin/src/Makefile.am.tpl,
plugins/project-wizard/templates/gnome.wiz,
plugins/project-wizard/templates/gnome/src/main.c,
plugins/project-wizard/templates/gnome/src/Makefile.am.tpl,
plugins/project-wizard/templates/anjuta-plugin.wiz,
plugins/project-wizard/templates/anjuta-plugin/configure.ac.tpl,
plugins/project-wizard/templates/anjuta-plugin/src/plugin.c,
plugins/project-wizard/templates/anjuta-plugin/src/plugin.plugin.in,
plugins/project-wizard/templates/anjuta-plugin/src/Makefile.am.tpl,
plugins/project-wizard/templates/anjuta-plugin/po/POTFILES.in:
Fix bug #525999: Remove space in file and target names generated
by project wizard
Fix sample anjuta plugin: ianjuta_document_manager_get_current_editor
has been renamed ianjuta_document_manager_get_current_document
Modified:
branches/anjuta-2-4/ChangeLog
branches/anjuta-2-4/plugins/project-wizard/templates/anjuta-plugin.wiz
branches/anjuta-2-4/plugins/project-wizard/templates/anjuta-plugin/configure.ac.tpl
branches/anjuta-2-4/plugins/project-wizard/templates/anjuta-plugin/po/POTFILES.in
branches/anjuta-2-4/plugins/project-wizard/templates/anjuta-plugin/src/Makefile.am.tpl
branches/anjuta-2-4/plugins/project-wizard/templates/anjuta-plugin/src/plugin.c
branches/anjuta-2-4/plugins/project-wizard/templates/anjuta-plugin/src/plugin.plugin.in
branches/anjuta-2-4/plugins/project-wizard/templates/cpp.wiz
branches/anjuta-2-4/plugins/project-wizard/templates/cpp/configure.ac.tpl
branches/anjuta-2-4/plugins/project-wizard/templates/cpp/src/Makefile.am.tpl
branches/anjuta-2-4/plugins/project-wizard/templates/django.wiz
branches/anjuta-2-4/plugins/project-wizard/templates/gcj.wiz
branches/anjuta-2-4/plugins/project-wizard/templates/gcj/configure.ac.tpl
branches/anjuta-2-4/plugins/project-wizard/templates/gcj/src/Makefile.am.tpl
branches/anjuta-2-4/plugins/project-wizard/templates/gnome.wiz
branches/anjuta-2-4/plugins/project-wizard/templates/gnome/src/Makefile.am.tpl
branches/anjuta-2-4/plugins/project-wizard/templates/gnome/src/main.c
branches/anjuta-2-4/plugins/project-wizard/templates/gtk.wiz
branches/anjuta-2-4/plugins/project-wizard/templates/gtk/src/Makefile.am.tpl
branches/anjuta-2-4/plugins/project-wizard/templates/gtk/src/main.c
branches/anjuta-2-4/plugins/project-wizard/templates/gtkmm.wiz
branches/anjuta-2-4/plugins/project-wizard/templates/gtkmm/src/Makefile.am.tpl
branches/anjuta-2-4/plugins/project-wizard/templates/gtkmm/src/main.cc
branches/anjuta-2-4/plugins/project-wizard/templates/java.wiz
branches/anjuta-2-4/plugins/project-wizard/templates/java/configure.ac.tpl
branches/anjuta-2-4/plugins/project-wizard/templates/java/src/Makefile.am.tpl
branches/anjuta-2-4/plugins/project-wizard/templates/minimal.wiz
branches/anjuta-2-4/plugins/project-wizard/templates/minimal/Makefile.am.tpl
branches/anjuta-2-4/plugins/project-wizard/templates/minimal/configure.ac.tpl
branches/anjuta-2-4/plugins/project-wizard/templates/python.wiz
branches/anjuta-2-4/plugins/project-wizard/templates/python/configure.ac.tpl
branches/anjuta-2-4/plugins/project-wizard/templates/python/src/Makefile.am.tpl
branches/anjuta-2-4/plugins/project-wizard/templates/sdl.wiz
branches/anjuta-2-4/plugins/project-wizard/templates/sdl/configure.ac.tpl
branches/anjuta-2-4/plugins/project-wizard/templates/sdl/src/Makefile.am.tpl
branches/anjuta-2-4/plugins/project-wizard/templates/terminal.wiz
branches/anjuta-2-4/plugins/project-wizard/templates/terminal/Makefile.am.tpl
branches/anjuta-2-4/plugins/project-wizard/templates/terminal/configure.ac.tpl
branches/anjuta-2-4/plugins/project-wizard/templates/terminal/src/Makefile.am.tpl
branches/anjuta-2-4/plugins/project-wizard/templates/wxwin.wiz
branches/anjuta-2-4/plugins/project-wizard/templates/wxwin/configure.ac.tpl
branches/anjuta-2-4/plugins/project-wizard/templates/wxwin/src/Makefile.am.tpl
branches/anjuta-2-4/plugins/project-wizard/templates/xlib-dock.wiz
branches/anjuta-2-4/plugins/project-wizard/templates/xlib-dock/src/Makefile.am.tpl
branches/anjuta-2-4/plugins/project-wizard/templates/xlib.wiz
branches/anjuta-2-4/plugins/project-wizard/templates/xlib/configure.ac.tpl
branches/anjuta-2-4/plugins/project-wizard/templates/xlib/src/Makefile.am.tpl
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/anjuta-plugin.wiz
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/anjuta-plugin.wiz (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/anjuta-plugin.wiz Sun Apr 6 17:12:55 2008
@@ -22,8 +22,9 @@
</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-upcase (get "Name")))+]"/>
- <property type="hidden" name="NameCLower" default="[+(string->c-name! (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"/>
@@ -67,7 +68,7 @@
<file source="NEWS"/>
<file source="README"/>
<file source="autogen.sh" executable="yes"/>
- <file destination="[+NameLower+].anjuta" source="project.anjuta"/>
+ <file destination="[+NameHLower+].anjuta" source="project.anjuta"/>
<file source="cvsignore" destination=".cvsignore"/>
<directory source="src">
<file source="cvsignore" destination=".cvsignore"/>
@@ -86,13 +87,13 @@
<file source="Makefile.am.tpl" destination="Makefile.am"/>
<file source="plugin.c"/>
<file source="plugin.h"/>
- <file source="[+Icon+]" destination="[+NameLower+].png"/>
- <file source="plugin.plugin.in" destination="[+NameLower+].plugin.in"/>
+ <file source="[+Icon+]" destination="[+NameHLower+].png"/>
+ <file source="plugin.plugin.in" destination="[+NameHLower+].plugin.in"/>
[+IF (=(get "HasUI") "1")+]
- <file source="plugin.ui" destination="[+NameLower+].ui"/>
+ <file source="plugin.ui" destination="[+NameHLower+].ui"/>
[+ENDIF+]
[+IF (=(get "HasGladeFile") "1")+]
- <file source="plugin.glade" destination="[+NameLower+].glade"/>
+ <file source="plugin.glade" destination="[+NameHLower+].glade"/>
[+ENDIF+]
</directory>
[+IF (=(get "HaveI18n") "1")+]
@@ -105,5 +106,5 @@
<action>
<run command="sh -c 'cd [+Destination+] && ./autogen.sh'"/>
- <open file="[+Destination+]/[+NameLower+].anjuta"/>
+ <open file="[+Destination+]/[+NameHLower+].anjuta"/>
</action>
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/anjuta-plugin/configure.ac.tpl
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/anjuta-plugin/configure.ac.tpl (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/anjuta-plugin/configure.ac.tpl Sun Apr 6 17:12:55 2008
@@ -2,7 +2,7 @@
dnl Process this file with autoconf to produce a configure script.
dnl Created by Anjuta application wizard.
-AC_INIT([+NameLower+], [+Version+])
+AC_INIT([+NameHLower+], [+Version+])
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
AM_CONFIG_HEADER(config.h)
@@ -22,7 +22,7 @@
dnl ***************************************************************************
dnl Internatinalization
dnl ***************************************************************************
-GETTEXT_PACKAGE=[+NameLower+]
+GETTEXT_PACKAGE=[+NameHLower+]
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name])
AM_GLIB_GNU_GETTEXT
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/anjuta-plugin/po/POTFILES.in
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/anjuta-plugin/po/POTFILES.in (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/anjuta-plugin/po/POTFILES.in Sun Apr 6 17:12:55 2008
@@ -2,4 +2,4 @@
# List of source files containing translatable strings.
src/plugin.c
-src/[+NameLower+].plugin.in
+src/[+NameHLower+].plugin.in
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/anjuta-plugin/src/Makefile.am.tpl
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/anjuta-plugin/src/Makefile.am.tpl (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/anjuta-plugin/src/Makefile.am.tpl Sun Apr 6 17:12:55 2008
@@ -3,19 +3,19 @@
[+IF (=(get "HasUI") "1")+]
# Plugin UI file
[+NameCLower+]_uidir = $(anjuta_ui_dir)
-[+NameCLower+]_ui_DATA = [+NameLower+].ui
+[+NameCLower+]_ui_DATA = [+NameHLower+].ui
[+ENDIF+]
[+IF (=(get "HasGladeFile") "1")+]
# Plugin Glade file
[+NameCLower+]_gladedir = $(anjuta_glade_dir)
-[+NameCLower+]_glade_DATA = [+NameLower+].glade
+[+NameCLower+]_glade_DATA = [+NameHLower+].glade
[+ENDIF+]
# Plugin Icon file
[+NameCLower+]_pixmapsdir = $(anjuta_image_dir)
-[+NameCLower+]_pixmaps_DATA = [+NameLower+].png
+[+NameCLower+]_pixmaps_DATA = [+NameHLower+].png
# Plugin description file
-plugin_in_files = [+NameLower+].plugin.in
+plugin_in_files = [+NameHLower+].plugin.in
%.plugin: %.plugin.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
[+NameCLower+]_plugindir = $(anjuta_plugin_dir)
@@ -45,7 +45,7 @@
plugindir = $(anjuta_plugin_dir)
# The plugin
-plugin_LTLIBRARIES = lib[+NameLower+].la
+plugin_LTLIBRARIES = lib[+NameHLower+].la
# Plugin sources
lib[+NameCLower+]_la_SOURCES = plugin.c plugin.h
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/anjuta-plugin/src/plugin.c
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/anjuta-plugin/src/plugin.c (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/anjuta-plugin/src/plugin.c Sun Apr 6 17:12:55 2008
@@ -18,10 +18,10 @@
#include "plugin.h"
[+IF (=(get "HasUI") "1") +]
-#define UI_FILE ANJUTA_DATA_DIR"/ui/[+NameLower+].ui"
+#define UI_FILE ANJUTA_DATA_DIR"/ui/[+NameHLower+].ui"
[+ENDIF+]
[+IF (=(get "HasGladeFile") "1") +]
-#define GLADE_FILE ANJUTA_DATA_DIR"/glade/[+NameLower+].glade"
+#define GLADE_FILE ANJUTA_DATA_DIR"/glade/[+NameHLower+].glade"
[+ENDIF+]
static gpointer parent_class;
@@ -38,7 +38,7 @@
obj = anjuta_shell_get_object (ANJUTA_PLUGIN (plugin)->shell,
"IAnjutaDocumentManager", NULL);
docman = IANJUTA_DOCUMENT_MANAGER (obj);
- editor = ianjuta_document_manager_get_current_editor (docman, NULL);
+ editor = IANJUTA_EDITOR (ianjuta_document_manager_get_current_document (docman, NULL));
/* Do whatever with plugin */
anjuta_util_dialog_info (GTK_WINDOW (ANJUTA_PLUGIN (plugin)->shell),
@@ -78,7 +78,7 @@
ui = anjuta_shell_get_ui (plugin->shell, NULL);
[+NameCLower+]->action_group =
- anjuta_ui_add_action_group_entries (ui, "ActionGroupFile[+NameLower+]",
+ anjuta_ui_add_action_group_entries (ui, "ActionGroupFile[+NameHLower+]",
_("Sample file operations"),
actions_file,
G_N_ELEMENTS (actions_file),
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/anjuta-plugin/src/plugin.plugin.in
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/anjuta-plugin/src/plugin.plugin.in (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/anjuta-plugin/src/plugin.plugin.in Sun Apr 6 17:12:55 2008
@@ -1,6 +1,6 @@
[+ autogen5 template +]
[Anjuta Plugin]
-Location=[+NameLower+]:[+PluginClass+]
-Icon=[+NameLower+].png
+Location=[+NameHLower+]:[+PluginClass+]
+Icon=[+NameHLower+].png
_Name=[+PluginTitle+]
_Description=[+PluginDescription+]
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/cpp.wiz
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/cpp.wiz (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/cpp.wiz Sun Apr 6 17:12:55 2008
@@ -22,8 +22,9 @@
</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-upcase (get "Name")))+]"/>
- <property type="hidden" name="NameCLower" default="[+(string->c-name! (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"/>
@@ -47,7 +48,7 @@
<file source="NEWS"/>
<file source="README"/>
<file source="autogen.sh" executable="yes"/>
- <file destination="[+NameLower+].anjuta" source="project.anjuta"/>
+ <file destination="[+NameHLower+].anjuta" source="project.anjuta"/>
<file source="cvsignore" destination=".cvsignore"/>
<directory source="src">
<file source="cvsignore" destination=".cvsignore"/>
@@ -77,5 +78,5 @@
<action>
<run command="sh -c 'cd [+Destination+] && ./autogen.sh'"/>
- <open file="[+Destination+]/[+NameLower+].anjuta"/>
+ <open file="[+Destination+]/[+NameHLower+].anjuta"/>
</action>
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/cpp/configure.ac.tpl
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/cpp/configure.ac.tpl (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/cpp/configure.ac.tpl Sun Apr 6 17:12:55 2008
@@ -2,7 +2,7 @@
dnl Process this file with autoconf to produce a configure script.
dnl Created by Anjuta application wizard.
-AC_INIT([+NameLower+], [+Version+])
+AC_INIT([+NameHLower+], [+Version+])
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
AM_CONFIG_HEADER(config.h)
@@ -22,7 +22,7 @@
dnl ***************************************************************************
dnl Internatinalization
dnl ***************************************************************************
-GETTEXT_PACKAGE=[+NameLower+]
+GETTEXT_PACKAGE=[+NameHLower+]
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name])
AM_GLIB_GNU_GETTEXT
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/cpp/src/Makefile.am.tpl
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/cpp/src/Makefile.am.tpl (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/cpp/src/Makefile.am.tpl Sun Apr 6 17:12:55 2008
@@ -12,7 +12,7 @@
-Wall\
-g
-bin_PROGRAMS = [+NameLower+]
+bin_PROGRAMS = [+NameHLower+]
[+NameCLower+]_SOURCES = \
main.cc
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/django.wiz
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/django.wiz (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/django.wiz Sun Apr 6 17:12:55 2008
@@ -9,18 +9,20 @@
<property type="string" name="Name" _label="Project Name:" _description="project name" default="myweb" summary="yes" mandatory="yes"/>
<property type="directory" name="Destination" _label="Destination:" _description="" default="[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]" mandatory="yes" exist="no" summary="yes"/>
<property type="hidden" name="NameLower" default="[+(string-downcase (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="python" destination="[+Destination+]">
- <file destination="[+Name+].anjuta" source="project.anjuta"/>
+ <file destination="[+NameHLower+].anjuta" source="project.anjuta"/>
</directory>
</content>
<action>
- <run command="sh -c 'cd [+Destination+] && django-admin.py startproject [+Name+]'"/>
- <open file="[+Destination+]/[+Name+].anjuta"/>
- <open file="[+Destination+]/[+Name+]/settings.py"/>
+ <run command="sh -c 'cd [+Destination+] && django-admin.py startproject [+NameHLower+]'"/>
+ <open file="[+Destination+]/[+NameHLower+].anjuta"/>
+ <open file="[+Destination+]/[+NameHLower+]/settings.py"/>
</action>
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/gcj.wiz
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/gcj.wiz (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/gcj.wiz Sun Apr 6 17:12:55 2008
@@ -23,8 +23,9 @@
</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-upcase (get "Name")))+]"/>
- <property type="hidden" name="NameCLower" default="[+(string->c-name! (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"/>
@@ -49,7 +50,7 @@
<file source="NEWS"/>
<file source="README"/>
<file source="autogen.sh" executable="yes"/>
- <file destination="[+NameLower+].anjuta" source="project.anjuta"/>
+ <file destination="[+NameHLower+].anjuta" source="project.anjuta"/>
<file source="cvsignore" destination=".cvsignore"/>
<directory source="src">
<file source="cvsignore" destination=".cvsignore"/>
@@ -82,5 +83,5 @@
<action>
<run command="sh -c 'cd [+Destination+] && ./autogen.sh'"/>
- <open file="[+Destination+]/[+NameLower+].anjuta"/>
+ <open file="[+Destination+]/[+NameHLower+].anjuta"/>
</action>
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/gcj/configure.ac.tpl
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/gcj/configure.ac.tpl (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/gcj/configure.ac.tpl Sun Apr 6 17:12:55 2008
@@ -2,7 +2,7 @@
dnl Process this file with autoconf to produce a configure script.
dnl Created by Anjuta application wizard.
-AC_INIT([+NameLower+], [+Version+])
+AC_INIT([+NameHLower+], [+Version+])
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
AM_CONFIG_HEADER(config.h)
@@ -15,7 +15,7 @@
dnl ***************************************************************************
dnl Internatinalization
dnl ***************************************************************************
-GETTEXT_PACKAGE=[+NameLower+]
+GETTEXT_PACKAGE=[+NameHLower+]
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name])
AM_GLIB_GNU_GETTEXT
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/gcj/src/Makefile.am.tpl
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/gcj/src/Makefile.am.tpl (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/gcj/src/Makefile.am.tpl Sun Apr 6 17:12:55 2008
@@ -7,7 +7,7 @@
## Add classpaths and other flags here
## AM_GCJFLAGS=
-bin_PROGRAMS = [+NameLower+]
+bin_PROGRAMS = [+NameHLower+]
[+NameCLower+]_SOURCES = \
[+MainClass+].java
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/gnome.wiz
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/gnome.wiz (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/gnome.wiz Sun Apr 6 17:12:55 2008
@@ -22,8 +22,9 @@
</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-upcase (get "Name")))+]"/>
- <property type="hidden" name="NameCLower" default="[+(string->c-name! (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="libgnome-2.0 >= 2.14 libgnomeui-2.0 >= 2.14 libglade-2.0 >= 2.6.0"/>
<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"/>
@@ -52,7 +53,7 @@
<file source="README"/>
<file source="autogen.sh" executable="yes"/>
<file source="configure.ac.tpl" destination="configure.ac"/>
- <file destination="[+NameLower+].anjuta" source="project.anjuta"/>
+ <file destination="[+NameHLower+].anjuta" source="project.anjuta"/>
<file source="cvsignore" destination=".cvsignore"/>
<directory source="src">
<file source="cvsignore" destination=".cvsignore"/>
@@ -72,7 +73,7 @@
<file source="callbacks.c"/>
<file source="callbacks.h"/>
[+IF (=(get "HaveGlade") "1")+]
- <file source="project.glade" destination="[+NameLower+].glade"/>
+ <file source="project.glade" destination="[+NameHLower+].glade"/>
[+ENDIF+]
<file source="Makefile.am.tpl" destination="Makefile.am"/>
</directory>
@@ -81,5 +82,5 @@
<action>
<run command="sh -c 'cd [+Destination+] && ./autogen.sh'"/>
- <open file="[+Destination+]/[+NameLower+].anjuta"/>
+ <open file="[+Destination+]/[+NameHLower+].anjuta"/>
</action>
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/gnome/src/Makefile.am.tpl
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/gnome/src/Makefile.am.tpl (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/gnome/src/Makefile.am.tpl Sun Apr 6 17:12:55 2008
@@ -4,8 +4,8 @@
## Created by Anjuta
[+IF (=(get "HaveGlade") "1")+]
-gladedir = $(datadir)/[+NameLower+]/glade
-glade_DATA = [+NameLower+].glade
+gladedir = $(datadir)/[+NameHLower+]/glade
+glade_DATA = [+NameHLower+].glade
[+ENDIF+]
AM_CPPFLAGS = \
@@ -18,7 +18,7 @@
-Wall\
-g
-bin_PROGRAMS = [+NameLower+]
+bin_PROGRAMS = [+NameHLower+]
[+NameCLower+]_SOURCES = \
callbacks.c \
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/gnome/src/main.c
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/gnome/src/main.c (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/gnome/src/main.c Sun Apr 6 17:12:55 2008
@@ -30,7 +30,7 @@
/* For testing propose use the local (not installed) glade file */
/* #define GLADE_FILE PACKAGE_DATA_DIR"/[+NameLower+]/glade/[+NameLower+].glade" */
-#define GLADE_FILE "[+NameLower+].glade"
+#define GLADE_FILE "[+NameHLower+].glade"
[+ENDIF+]
GtkWidget*
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/gtk.wiz
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/gtk.wiz (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/gtk.wiz Sun Apr 6 17:12:55 2008
@@ -22,8 +22,9 @@
</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-upcase (get "Name")))+]"/>
- <property type="hidden" name="NameCLower" default="[+(string->c-name! (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.8 libglade-2.0 >= 2.6.0"/>
<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"/>
@@ -51,7 +52,7 @@
<file source="README"/>
<file source="autogen.sh" executable="yes"/>
<file source="configure.ac.tpl" destination="configure.ac"/>
- <file destination="[+NameLower+].anjuta" source="project.anjuta"/>
+ <file destination="[+NameHLower+].anjuta" source="project.anjuta"/>
<file source="cvsignore" destination=".cvsignore"/>
<directory source="src">
<file source="cvsignore" destination=".cvsignore"/>
@@ -70,7 +71,7 @@
<file source="main.c"/>
<file source="callbacks.c"/>
<file source="callbacks.h"/>
- <file source="project.glade" destination="[+NameLower+].glade"/>
+ <file source="project.glade" destination="[+NameHLower+].glade"/>
<file source="Makefile.am.tpl" destination="Makefile.am"/>
</directory>
</directory>
@@ -78,5 +79,5 @@
<action>
<run command="sh -c 'cd [+Destination+] && ./autogen.sh'"/>
- <open file="[+Destination+]/[+NameLower+].anjuta"/>
+ <open file="[+Destination+]/[+NameHLower+].anjuta"/>
</action>
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/gtk/src/Makefile.am.tpl
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/gtk/src/Makefile.am.tpl (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/gtk/src/Makefile.am.tpl Sun Apr 6 17:12:55 2008
@@ -3,8 +3,8 @@
## Created by Anjuta
-gladedir = $(datadir)/[+NameLower+]/glade
-glade_DATA = [+NameLower+].glade
+gladedir = $(datadir)/[+NameHLower+]/glade
+glade_DATA = [+NameHLower+].glade
AM_CPPFLAGS = \
-DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
@@ -16,7 +16,7 @@
-Wall\
-g
-bin_PROGRAMS = [+NameLower+]
+bin_PROGRAMS = [+NameCLower+]
[+NameCLower+]_SOURCES = \
callbacks.c \
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/gtk/src/main.c
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/gtk/src/main.c (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/gtk/src/main.c Sun Apr 6 17:12:55 2008
@@ -50,8 +50,8 @@
#include "callbacks.h"
/* For testing propose use the local (not installed) glade file */
-/* #define GLADE_FILE PACKAGE_DATA_DIR"/[+NameLower+]/glade/[+NameLower+].glade" */
-#define GLADE_FILE "[+NameLower+].glade"
+/* #define GLADE_FILE PACKAGE_DATA_DIR"/[+NameHLower+]/glade/[+NameHLower+].glade" */
+#define GLADE_FILE "[+NameHLower+].glade"
GtkWidget*
create_window (void)
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/gtkmm.wiz
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/gtkmm.wiz (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/gtkmm.wiz Sun Apr 6 17:12:55 2008
@@ -22,8 +22,9 @@
</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-upcase (get "Name")))+]"/>
- <property type="hidden" name="NameCLower" default="[+(string->c-name! (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.8 libglademm-2.4 >= 2.6"/>
<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"/>
@@ -49,7 +50,7 @@
<file source="NEWS"/>
<file source="README"/>
<file source="autogen.sh" executable="yes"/>
- <file destination="[+NameLower+].anjuta" source="project.anjuta"/>
+ <file destination="[+NameHLower+].anjuta" source="project.anjuta"/>
<file source="cvsignore" destination=".cvsignore"/>
<directory source="src">
<file source="cvsignore" destination=".cvsignore"/>
@@ -69,7 +70,7 @@
<directory source="gtkmm" destination="[+Destination+]">
<directory source="src">
<file source="main.cc"/>
- <file source="project.glade" destination="[+NameLower+].glade"/>
+ <file source="project.glade" destination="[+NameHLower+].glade"/>
<file source="Makefile.am.tpl" destination="Makefile.am"/>
</directory>
</directory>
@@ -77,5 +78,5 @@
<action>
<run command="sh -c 'cd [+Destination+] && ./autogen.sh'"/>
- <open file="[+Destination+]/[+NameLower+].anjuta"/>
+ <open file="[+Destination+]/[+NameHLower+].anjuta"/>
</action>
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/gtkmm/src/Makefile.am.tpl
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/gtkmm/src/Makefile.am.tpl (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/gtkmm/src/Makefile.am.tpl Sun Apr 6 17:12:55 2008
@@ -3,8 +3,8 @@
## Created by Anjuta
-gladedir = $(datadir)/[+NameLower+]/glade
-glade_DATA = [+NameLower+].glade
+gladedir = $(datadir)/[+NameHLower+]/glade
+glade_DATA = [+NameHLower+].glade
AM_CPPFLAGS = \
-DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
@@ -16,7 +16,7 @@
-Wall\
-g
-bin_PROGRAMS = [+NameLower+]
+bin_PROGRAMS = [+NameHLower+]
[+NameCLower+]_SOURCES = \
main.cc
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/gtkmm/src/main.cc
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/gtkmm/src/main.cc (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/gtkmm/src/main.cc Sun Apr 6 17:12:55 2008
@@ -21,8 +21,8 @@
[+ENDIF+]
/* For testing propose use the local (not installed) glade file */
-/* #define GLADE_FILE PACKAGE_DATA_DIR"/[+NameLower+]/glade/[+NameLower+].glade" */
-#define GLADE_FILE "[+NameLower+].glade"
+/* #define GLADE_FILE PACKAGE_DATA_DIR"/[+NameHLower+]/glade/[+NameHLower+].glade" */
+#define GLADE_FILE "[+NameHLower+].glade"
int
main (int argc, char *argv[])
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/java.wiz
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/java.wiz (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/java.wiz Sun Apr 6 17:12:55 2008
@@ -23,8 +23,9 @@
</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-upcase (get "Name")))+]"/>
- <property type="hidden" name="NameCLower" default="[+(string->c-name! (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"/>
@@ -67,7 +68,7 @@
<file source="POTFILES.in"/>
</directory>
[+ENDIF+]
- <file destination="[+NameLower+].anjuta" source="project.anjuta"/>
+ <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"/>
@@ -78,5 +79,5 @@
<action>
<run command="sh -c 'cd [+Destination+] && ./autogen.sh'"/>
- <open file="[+Destination+]/[+NameLower+].anjuta"/>
+ <open file="[+Destination+]/[+NameHLower+].anjuta"/>
</action>
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/java/configure.ac.tpl
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/java/configure.ac.tpl (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/java/configure.ac.tpl Sun Apr 6 17:12:55 2008
@@ -2,7 +2,7 @@
dnl Process this file with autoconf to produce a configure script.
dnl Created by Anjuta application wizard.
-AC_INIT([+NameLower+], [+Version+])
+AC_INIT([+NameHLower+], [+Version+])
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
AM_CONFIG_HEADER(config.h)
@@ -12,7 +12,7 @@
dnl ***************************************************************************
dnl Internatinalization
dnl ***************************************************************************
-GETTEXT_PACKAGE=[+NameLower+]
+GETTEXT_PACKAGE=[+NameHLower+]
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name])
AM_GLIB_GNU_GETTEXT
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/java/src/Makefile.am.tpl
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/java/src/Makefile.am.tpl (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/java/src/Makefile.am.tpl Sun Apr 6 17:12:55 2008
@@ -12,7 +12,7 @@
JAVAROOT = $(top_builddir)/src
## Directory where .class files will be installed
-[+NameCLower+]dir = $(libdir)/[+NameLower+]
+[+NameCLower+]dir = $(libdir)/[+NameHLower+]
[+NameCLower+]_JAVA = \
[+MainClass+].java
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/minimal.wiz
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/minimal.wiz (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/minimal.wiz Sun Apr 6 17:12:55 2008
@@ -22,8 +22,9 @@
</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-upcase (get "Name")))+]"/>
- <property type="hidden" name="NameCLower" default="[+(string->c-name! (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"/>
@@ -44,7 +45,7 @@
<file source="Makefile.am.tpl" destination="Makefile.am"/>
<file source="autogen.sh" executable="yes"/>
<file source="configure.ac.tpl" destination="configure.ac"/>
- <file destination="[+NameLower+].anjuta" source="project.anjuta"/>
+ <file destination="[+NameHLower+].anjuta" source="project.anjuta"/>
</directory>
<directory source="terminal" destination="[+Destination+]">
<file source="cvsignore" destination=".cvsignore"/>
@@ -56,5 +57,5 @@
<action>
<run command="sh -c 'cd [+Destination+] && ./autogen.sh'"/>
- <open file="[+Destination+]/[+NameLower+].anjuta"/>
+ <open file="[+Destination+]/[+NameHLower+].anjuta"/>
</action>
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/minimal/Makefile.am.tpl
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/minimal/Makefile.am.tpl (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/minimal/Makefile.am.tpl Sun Apr 6 17:12:55 2008
@@ -10,7 +10,7 @@
-Wall\
-g
-bin_PROGRAMS = [+NameLower+]
+bin_PROGRAMS = [+NameHLower+]
[+NameCLower+]_SOURCES = \
main.c
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/minimal/configure.ac.tpl
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/minimal/configure.ac.tpl (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/minimal/configure.ac.tpl Sun Apr 6 17:12:55 2008
@@ -2,7 +2,7 @@
dnl Process this file with autoconf to produce a configure script.
dnl Created by Anjuta application wizard.
-AC_INIT([+NameLower+], [+Version+])
+AC_INIT([+NameHLower+], [+Version+])
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
AM_CONFIG_HEADER(config.h)
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/python.wiz
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/python.wiz (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/python.wiz Sun Apr 6 17:12:55 2008
@@ -22,8 +22,9 @@
</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-upcase (get "Name")))+]"/>
- <property type="hidden" name="NameCLower" default="[+(string->c-name! (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"/>
@@ -67,10 +68,10 @@
<file source="POTFILES.in"/>
</directory>
[+ENDIF+]
- <file destination="[+NameLower+].anjuta" source="project.anjuta"/>
+ <file destination="[+NameHLower+].anjuta" source="project.anjuta"/>
<file source="configure.ac.tpl" destination="configure.ac"/>
<directory source="src">
- <file source="main.py" destination="[+NameCLower+].py" executable="yes"/>
+ <file source="main.py" destination="[+NameHLower+].py" executable="yes"/>
<file source="Makefile.am.tpl" destination="Makefile.am"/>
</directory>
</directory>
@@ -78,5 +79,5 @@
<action>
<run command="sh -c 'cd [+Destination+] && ./autogen.sh'"/>
- <open file="[+Destination+]/[+NameLower+].anjuta"/>
+ <open file="[+Destination+]/[+NameHLower+].anjuta"/>
</action>
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/python/configure.ac.tpl
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/python/configure.ac.tpl (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/python/configure.ac.tpl Sun Apr 6 17:12:55 2008
@@ -2,7 +2,7 @@
dnl Process this file with autoconf to produce a configure script.
dnl Created by Anjuta application wizard.
-AC_INIT([+NameLower+], [+Version+])
+AC_INIT([+NameHLower+], [+Version+])
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
AM_CONFIG_HEADER(config.h)
@@ -14,7 +14,7 @@
dnl ***************************************************************************
dnl Internatinalization
dnl ***************************************************************************
-GETTEXT_PACKAGE=[+NameLower+]
+GETTEXT_PACKAGE=[+NameHLower+]
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name])
AM_GLIB_GNU_GETTEXT
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/python/src/Makefile.am.tpl
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/python/src/Makefile.am.tpl (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/python/src/Makefile.am.tpl Sun Apr 6 17:12:55 2008
@@ -3,10 +3,10 @@
## Created by Anjuta
## The main script
-bin_SCRIPTS = [+NameCLower+].py
+bin_SCRIPTS = [+NameHLower+].py
## Directory where .class files will be installed
-[+NameCLower+]dir = $(pythondir)/[+NameLower+]
+[+NameCLower+]dir = $(pythondir)/[+NameHLower+]
[+NameCLower+]_PYTHON = \
- [+NameCLower+].py
+ [+NameHLower+].py
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/sdl.wiz
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/sdl.wiz (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/sdl.wiz Sun Apr 6 17:12:55 2008
@@ -15,8 +15,9 @@
<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-upcase (get "Name")))+]"/>
- <property type="hidden" name="NameCLower" default="[+(string->c-name! (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" 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)"/>
@@ -42,7 +43,7 @@
<file source="NEWS"/>
<file source="README"/>
<file source="autogen.sh" executable="yes"/>
- <file destination="[+NameLower+].anjuta" source="project.anjuta"/>
+ <file destination="[+NameHLower+].anjuta" source="project.anjuta"/>
<file source="cvsignore" destination=".cvsignore"/>
<directory source="src">
<file source="cvsignore" destination=".cvsignore"/>
@@ -68,5 +69,5 @@
<action>
<run command="sh -c 'cd [+Destination+] && ./autogen.sh'"/>
- <open file="[+Destination+]/[+NameLower+].anjuta"/>
+ <open file="[+Destination+]/[+NameHLower+].anjuta"/>
</action>
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/sdl/configure.ac.tpl
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/sdl/configure.ac.tpl (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/sdl/configure.ac.tpl Sun Apr 6 17:12:55 2008
@@ -2,7 +2,7 @@
dnl Process this file with autoconf to produce a configure script.
dnl Created by Anjuta application wizard.
-AC_INIT([+NameLower+], [+Version+])
+AC_INIT([+NameHLower+], [+Version+])
SDL_REQUIRED=[+SDL_Version+]
@@ -25,7 +25,7 @@
dnl ***************************************************************************
dnl Internatinalization
dnl ***************************************************************************
-GETTEXT_PACKAGE=[+NameLower+]
+GETTEXT_PACKAGE=[+NameHLower+]
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name])
AM_GLIB_GNU_GETTEXT
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/sdl/src/Makefile.am.tpl
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/sdl/src/Makefile.am.tpl (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/sdl/src/Makefile.am.tpl Sun Apr 6 17:12:55 2008
@@ -12,7 +12,7 @@
-Wall\
-g
-bin_PROGRAMS = [+NameLower+]
+bin_PROGRAMS = [+NameHLower+]
[+NameCLower+]_SOURCES = \
main.c
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/terminal.wiz
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/terminal.wiz (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/terminal.wiz Sun Apr 6 17:12:55 2008
@@ -22,8 +22,9 @@
</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-upcase (get "Name")))+]"/>
- <property type="hidden" name="NameCLower" default="[+(string->c-name! (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"/>
@@ -48,7 +49,7 @@
<file source="README"/>
<file source="autogen.sh" executable="yes"/>
<file source="configure.ac.tpl" destination="configure.ac"/>
- <file destination="[+NameLower+].anjuta" source="project.anjuta"/>
+ <file destination="[+NameHLower+].anjuta" source="project.anjuta"/>
<file source="cvsignore" destination=".cvsignore"/>
<directory source="src">
<file source="Makefile.am.tpl" destination="Makefile.am"/>
@@ -68,5 +69,5 @@
<action>
<run command="sh -c 'cd [+Destination+] && ./autogen.sh'"/>
- <open file="[+Destination+]/[+NameLower+].anjuta"/>
+ <open file="[+Destination+]/[+NameHLower+].anjuta"/>
</action>
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/terminal/Makefile.am.tpl
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/terminal/Makefile.am.tpl (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/terminal/Makefile.am.tpl Sun Apr 6 17:12:55 2008
@@ -4,7 +4,7 @@
SUBDIRS = src [+IF (=(get "HaveI18n") "1") +]po[+ENDIF+]
-[+NameCLower+]docdir = ${prefix}/doc/[+NameLower+]
+[+NameCLower+]docdir = ${prefix}/doc/[+NameHLower+]
[+NameCLower+]doc_DATA = \
README\
COPYING\
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/terminal/configure.ac.tpl
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/terminal/configure.ac.tpl (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/terminal/configure.ac.tpl Sun Apr 6 17:12:55 2008
@@ -2,7 +2,7 @@
dnl Process this file with autoconf to produce a configure script.
dnl Created by Anjuta application wizard.
-AC_INIT([+NameLower+], [+Version+])
+AC_INIT([+NameHLower+], [+Version+])
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
AM_CONFIG_HEADER(config.h)
@@ -22,7 +22,7 @@
dnl ***************************************************************************
dnl Internatinalization
dnl ***************************************************************************
-GETTEXT_PACKAGE=[+NameLower+]
+GETTEXT_PACKAGE=[+NameHLower+]
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name])
AM_GLIB_GNU_GETTEXT
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/terminal/src/Makefile.am.tpl
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/terminal/src/Makefile.am.tpl (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/terminal/src/Makefile.am.tpl Sun Apr 6 17:12:55 2008
@@ -12,7 +12,7 @@
-Wall\
-g
-bin_PROGRAMS = [+NameLower+]
+bin_PROGRAMS = [+NameHLower+]
[+NameCLower+]_SOURCES = \
main.c
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/wxwin.wiz
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/wxwin.wiz (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/wxwin.wiz Sun Apr 6 17:12:55 2008
@@ -15,8 +15,9 @@
<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-upcase (get "Name")))+]"/>
- <property type="hidden" name="NameCLower" default="[+(string->c-name! (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" summary="yes"/>
@@ -48,7 +49,7 @@
<file source="NEWS"/>
<file source="README"/>
<file source="autogen.sh" executable="yes"/>
- <file destination="[+NameLower+].anjuta" source="project.anjuta"/>
+ <file destination="[+NameHLower+].anjuta" source="project.anjuta"/>
<file source="cvsignore" destination=".cvsignore"/>
<directory source="src">
<file source="cvsignore" destination=".cvsignore"/>
@@ -73,5 +74,5 @@
<action>
<run command="sh -c 'cd [+Destination+] && ./autogen.sh'"/>
- <open file="[+Destination+]/[+NameLower+].anjuta"/>
+ <open file="[+Destination+]/[+NameHLower+].anjuta"/>
</action>
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/wxwin/configure.ac.tpl
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/wxwin/configure.ac.tpl (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/wxwin/configure.ac.tpl Sun Apr 6 17:12:55 2008
@@ -2,7 +2,7 @@
dnl Process this file with autoconf to produce a configure script.
dnl Created by Anjuta application wizard.
-AC_INIT([+NameLower+], [+Version+])
+AC_INIT([+NameHLower+], [+Version+])
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
AM_CONFIG_HEADER(config.h)
@@ -46,7 +46,7 @@
dnl ***************************************************************************
dnl Internatinalization
dnl ***************************************************************************
-GETTEXT_PACKAGE=[+NameLower+]
+GETTEXT_PACKAGE=[+NameHLower+]
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name])
AM_GLIB_GNU_GETTEXT
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/wxwin/src/Makefile.am.tpl
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/wxwin/src/Makefile.am.tpl (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/wxwin/src/Makefile.am.tpl Sun Apr 6 17:12:55 2008
@@ -14,7 +14,7 @@
-g \
$(WX_CPPFLAGS)
-bin_PROGRAMS = [+NameLower+]
+bin_PROGRAMS = [+NameHLower+]
[+NameCLower+]_SOURCES = \
main.cc
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/xlib-dock.wiz
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/xlib-dock.wiz (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/xlib-dock.wiz Sun Apr 6 17:12:55 2008
@@ -15,8 +15,9 @@
<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-upcase (get "Name")))+]"/>
- <property type="hidden" name="NameCLower" default="[+(string->c-name! (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" summary="yes"/>
@@ -49,7 +50,7 @@
<file source="NEWS"/>
<file source="README"/>
<file source="autogen.sh" executable="yes"/>
- <file destination="[+NameLower+].anjuta" source="project.anjuta"/>
+ <file destination="[+NameHLower+].anjuta" source="project.anjuta"/>
<file source="cvsignore" destination=".cvsignore"/>
<directory source="src">
<file source="cvsignore" destination=".cvsignore"/>
@@ -79,5 +80,5 @@
<action>
<run command="sh -c 'cd [+Destination+] && ./autogen.sh'"/>
- <open file="[+Destination+]/[+NameLower+].anjuta"/>
+ <open file="[+Destination+]/[+NameHLower+].anjuta"/>
</action>
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/xlib-dock/src/Makefile.am.tpl
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/xlib-dock/src/Makefile.am.tpl (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/xlib-dock/src/Makefile.am.tpl Sun Apr 6 17:12:55 2008
@@ -12,7 +12,7 @@
-Wall\
-g
-bin_PROGRAMS = [+NameLower+]
+bin_PROGRAMS = [+NameHLower+]
[+NameCLower+]_SOURCES = \
main.c \
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/xlib.wiz
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/xlib.wiz (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/xlib.wiz Sun Apr 6 17:12:55 2008
@@ -15,8 +15,9 @@
<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-upcase (get "Name")))+]"/>
- <property type="hidden" name="NameCLower" default="[+(string->c-name! (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" summary="yes"/>
@@ -49,7 +50,7 @@
<file source="NEWS"/>
<file source="README"/>
<file source="autogen.sh" executable="yes"/>
- <file destination="[+NameLower+].anjuta" source="project.anjuta"/>
+ <file destination="[+NameHLower+].anjuta" source="project.anjuta"/>
<file source="cvsignore" destination=".cvsignore"/>
<directory source="src">
<file source="cvsignore" destination=".cvsignore"/>
@@ -74,5 +75,5 @@
<action>
<run command="sh -c 'cd [+Destination+] && ./autogen.sh'"/>
- <open file="[+Destination+]/[+NameLower+].anjuta"/>
+ <open file="[+Destination+]/[+NameHLower+].anjuta"/>
</action>
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/xlib/configure.ac.tpl
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/xlib/configure.ac.tpl (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/xlib/configure.ac.tpl Sun Apr 6 17:12:55 2008
@@ -2,7 +2,7 @@
dnl Process this file with autoconf to produce a configure script.
dnl Created by Anjuta application wizard.
-AC_INIT([+NameLower+], [+Version+])
+AC_INIT([+NameHLower+], [+Version+])
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
AM_CONFIG_HEADER(config.h)
@@ -23,7 +23,7 @@
dnl ***************************************************************************
dnl Internatinalization
dnl ***************************************************************************
-GETTEXT_PACKAGE=[+NameLower+]
+GETTEXT_PACKAGE=[+NameHLower+]
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name])
AM_GLIB_GNU_GETTEXT
Modified: branches/anjuta-2-4/plugins/project-wizard/templates/xlib/src/Makefile.am.tpl
==============================================================================
--- branches/anjuta-2-4/plugins/project-wizard/templates/xlib/src/Makefile.am.tpl (original)
+++ branches/anjuta-2-4/plugins/project-wizard/templates/xlib/src/Makefile.am.tpl Sun Apr 6 17:12:55 2008
@@ -12,7 +12,7 @@
-Wall\
-g
-bin_PROGRAMS = [+NameLower+]
+bin_PROGRAMS = [+NameHLower+]
[+NameCLower+]_SOURCES = \
main.c
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]