3 <_name>GTK+ (Application)</_name>
4 <_description>Full features Gtk+ Application with file handling</_description>
5 <icon>gtk-logo.png</icon>
8 <required-program>automake</required-program>
9 <required-program>autoconf</required-program>
10 <required-program>make</required-program>
11 <required-package>gtk+-3.0 >= 2.90.3</required-package>
14 <page name="basic" _label="Basic information" _description="General Project Information">
15 <property type="string" name="Name" _label="Project Name:" _description="project name" default="gtk-foobar" summary="yes" restriction="filename" mandatory="yes"/>
16 <property type="string" name="Author" _label="Author:" _description="" default="[+UserName+]" mandatory="yes"/>
17 <property type="string" name="Email" _label="Email address:" _description="" default="[+EmailAddress+]" mandatory="no"/>
18 <property type="string" name="Version" _label="Version:" default="0.1" mandatory="yes"/>
21 <page name="options" _label="Project options" _description="Options for project build system">
22 <property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" summary="yes"/>
23 [+INCLUDE "licenses.tpl"+]
24 <property type="hidden" name="NameUpper" default='[+(string-upcase (get "Name"))+]'/>
25 <property type="hidden" name="NameLower" default='[+(string-downcase (get "Name"))+]'/>
26 <property type="hidden" name="NameCUpper" default='[+(string-append (if (~~* (get "Name") "[0-9]") "_" "") (string->c-name! (string-substitute (string-upcase (get "Name")) " " "_")))+]'/>
27 <property type="hidden" name="NameCLower" default='[+(string->c-name! (string-substitute (string-downcase (get "Name")) " " "_"))+]'/>
28 <property type="hidden" name="NameHLower" default='[+(string-substitute (string->c-name! (string-downcase (get "Name"))) " " "-")+]'/>
29 <property type="hidden" name="NameCClass" default='[+(string-capitalize! (string-substitute (get "Name") "-" ""))+]'/>
30 <property type="hidden" name="HavePackage" default="1"/>
31 <property type="hidden" name="PackageModule1" default="gtk+-3.0 >= 2.90.3"/>
32 <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"/>
33 <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"/>
34 <property type="boolean" name="HaveSharedlib" _label="Add shared library support:" _description="Adds support for building shared libraries in your project" default="1"/>
35 <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"/>
36 <property type="boolean" name="HavePackageExtra" _label="Configure external packages:" _description="Use pkg-config to add library support from other packages" default="0"/>
37 <property type="boolean" name="HaveBuilderUI" _label="Use GtkBuilder for user interface:" _description="Use GtkBuilder to create the user-interface in a graphical way and load it from xml files at runtime" default="1"/>
38 <property type="boolean" name="HaveWindowsSupport" _label="Add Windows support:" _description="Adds support for building on Windows platforms" default="0"/>
41 [+IF (=(get "HavePackageExtra") "1")+]
42 <page name="packages" _label="Configure external packages" _description="Configure external packages">
43 <property type="package" 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"/>
48 <directory source="terminal" destination="[+Destination+]">
49 <file source="AUTHORS"/>
50 <file source="ChangeLog"/>
51 <file source="Makefile.am.tpl" destination="Makefile.am"/>
53 <file source="README"/>
54 <file source="autogen.sh" executable="yes"/>
55 <file source="configure.ac.tpl" destination="configure.ac"/>
56 <file destination="[+NameHLower+].anjuta" source="project.anjuta"/>
57 [+IF (=(get "HaveI18n") "1") +]
58 <directory source="po">
59 <file source="ChangeLog"/>
60 <file source="POTFILES.in"/>
61 <file source="LINGUAS" />
65 <directory source="gtkapplication" destination="[+Destination+]">
66 <directory source="src">
67 <file source="main.c"/>
68 <file source="application.h" destination="[+NameLower+].h"/>
69 <file source="application.c" destination="[+NameLower+].c"/>
70 [+IF (=(get "HaveBuilderUI") "1")+]
71 <file source="project.ui" destination="[+NameHLower+].ui"/>
73 <file source="Makefile.am.tpl" destination="Makefile.am"/>
76 <directory source="licenses" destination="[+Destination+]">
77 <file source="[+License+].txt" destination="COPYING"/>
79 <directory source="minimal" destination="[+Destination+]">
80 <directory source="." destination=".anjuta">
81 <directory source="." destination="session">
82 <file source="anjuta.session"/>
89 <open file="[+Destination+]/[+NameHLower+].anjuta"/>