Commit 8192c20e authored by Johannes Schmid's avatar Johannes Schmid Committed by Johannes Schmid
Browse files

configure.in Applied http://live.gnome.org/GnomeGoals/PoLinguas

2007-01-14  Johannes Schmid <jhs@gnome.org>

  * configure.in
  * po/LINGUAS:
  Applied http://live.gnome.org/GnomeGoals/PoLinguas
  
  * tagmanager/c.c:
  Patch from Massimo Cora\' to hopefully fix #395362
  
  * plugins/project-wizard/templates/*:
  
  Fixed and tested all project-wizards. Deactivated mkfile project because it was totally
  broken and I don\'t see any real use for it.
  Applied http://live.gnome.org/GnomeGoals/PoLinguas to all projects

svn path=/trunk/; revision=2747
parent 088f05e2
2007-01-14 Johannes Schmid <jhs@gnome.org>
* configure.in
* po/LINGUAS:
Applied http://live.gnome.org/GnomeGoals/PoLinguas
* tagmanager/c.c:
Patch from Massimo Cora' to hopefully fix #395362
* plugins/project-wizard/templates/*:
Fixed and tested all project-wizards. Deactivated mkfile project because it was totally
broken and I don't see any real use for it.
Applied http://live.gnome.org/GnomeGoals/PoLinguas to all projects
2007-01-14 Naba Kumar <naba@gnome.org>
 
* NEWS: Updated for release.
......
......@@ -116,9 +116,6 @@ AC_DEFINE_UNQUOTED(PREF_SUFFIX,
"${PREF_SUFFIX}",
[Suffix to add to preferences directory])
dnl Initialize xml-i18n-tools
AC_PROG_INTLTOOL
#Check for C Compiler
AC_PROG_CC
AC_PROG_CPP
......@@ -534,11 +531,11 @@ AC_SUBST(GLIB_MKENUMS)
dnl ***************************************************************************
dnl Internatinalization
dnl ***************************************************************************
ALL_LINGUAS="az ar be bg ca cs da de el en_CA en_GB es fi fr ga gl hi hr hu it ja ko mk ml ms nb ne nl pl pa pt pt_BR ru rw sk sq sr sr@Latn sv tr uk zh_CN zh_TW"
GETTEXT_PACKAGE=anjuta
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name])
AM_GLIB_GNU_GETTEXT
IT_PROG_INTLTOOL([0.35.0])
dnl gtk-doc
dnl GTK_DOC_CHECK([1.0])
......
SUBDIRS = terminal cpp gtk anjuta-plugin gnome \
gtkmm wxwin xlib xlib-dock gcj java \
python mkfile
python # mkfile
wizard_filesdir = $(anjuta_data_dir)/project
wizard_files_DATA = \
......@@ -27,8 +27,8 @@ wizard_files_DATA = \
java.wiz \
java-logo.png \
python.wiz \
python-logo.png \
mkfile.wiz \
mkfile-logo.png
python-logo.png
# mkfile.wiz \
# mkfile-logo.png
EXTRA_DIST = $(wizard_files_DATA)
......@@ -75,6 +75,7 @@
[+IF (=(get "HaveI18n") "1")+]
<directory source="po">
<file source="ChangeLog"/>
<file source="LINGUAS" />
<file source="cvsignore" destination=".cvsignore"/>
</directory>
[+ENDIF+]
......
......@@ -19,17 +19,14 @@ AC_PROG_CXX
[+ENDIF+]
[+IF (=(get "HaveI18n") "1")+]
dnl Initialize xml-i18n-tools
AC_PROG_INTLTOOL
dnl Set gettext package name
dnl ***************************************************************************
dnl Internatinalization
dnl ***************************************************************************
GETTEXT_PACKAGE=[+NameLower+]
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name])
dnl Add the languages which your application supports here.
ALL_LINGUAS=""
AM_GLIB_GNU_GETTEXT
IT_PROG_INTLTOOL([0.35.0])
[+ENDIF+]
[+IF (=(get "HaveSharedlib") "1")+]
......
......@@ -39,31 +39,41 @@
[+ENDIF+]
<content>
<directory source="cpp" destination="[+Destination+]">
<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="[+NameLower+].anjuta" source="project.anjuta"/>
<file source="cvsignore" destination=".cvsignore"/>
<directory source="src">
<file source="Makefile.am.tpl" destination="Makefile.am"/>
<file source="main.cpp"/>
<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>
</directory>
[+ENDIF+]
</directory>
</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>
</content>
<action>
<run command="sh -c 'cd [+Destination+] &amp;&amp; ./autogen.sh'"/>
<open file="[+Destination+]/[+NameLower+].anjuta"/>
......
......@@ -3,14 +3,6 @@ SUBDIRS = src po
wizard_filesdir = $(anjuta_data_dir)/project/cpp
wizard_files_DATA = \
AUTHORS \
ChangeLog \
autogen.sh \
configure.ac.tpl \
Makefile.am.tpl \
NEWS \
project.anjuta \
README \
cvsignore
configure.ac.tpl
EXTRA_DIST = $(wizard_files_DATA)
[+ autogen5 template +]
## Process this file with automake to produce Makefile.in
## Created by Anjuta
SUBDIRS = src [+IF (=(get "HaveI18n") "1") +]po[+ENDIF+]
[+NameCLower+]docdir = ${prefix}/doc/[+NameLower+]
[+NameCLower+]doc_DATA = \
README\
COPYING\
AUTHORS\
ChangeLog\
INSTALL\
NEWS
EXTRA_DIST = $([+NameCLower+]doc_DATA)
# Copy all the spec files. Of cource, only one is actually used.
dist-hook:
for specfile in *.spec; do \
if test -f $$specfile; then \
cp -p $$specfile $(distdir); \
fi \
done
[+ autogen5 template +]
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
DIE=0
if [ -n "$GNOME2_DIR" ]; then
ACLOCAL_FLAGS="-I $GNOME2_DIR/share/aclocal $ACLOCAL_FLAGS"
LD_LIBRARY_PATH="$GNOME2_DIR/lib:$LD_LIBRARY_PATH"
PATH="$GNOME2_DIR/bin:$PATH"
export PATH
export LD_LIBRARY_PATH
fi
(test -f $srcdir/configure.in) || {
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
echo " top-level package directory"
exit 1
}
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have \`autoconf' installed."
echo "Download the appropriate package for your distribution,"
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
DIE=1
}
(grep "^AC_PROG_INTLTOOL" $srcdir/configure.in >/dev/null) && {
(intltoolize --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have \`intltool' installed."
echo "You can get it from:"
echo " ftp://ftp.gnome.org/pub/GNOME/"
DIE=1
}
}
(grep "^AM_PROG_XML_I18N_TOOLS" $srcdir/configure.in >/dev/null) && {
(xml-i18n-toolize --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have \`xml-i18n-toolize' installed."
echo "You can get it from:"
echo " ftp://ftp.gnome.org/pub/GNOME/"
DIE=1
}
}
(grep "^AM_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && {
(libtool --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have \`libtool' installed."
echo "You can get it from: ftp://ftp.gnu.org/pub/gnu/"
DIE=1
}
}
(grep "^AM_GLIB_GNU_GETTEXT" $srcdir/configure.in >/dev/null) && {
(grep "sed.*POTFILES" $srcdir/configure.in) > /dev/null || \
(glib-gettextize --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have \`glib' installed."
echo "You can get it from: ftp://ftp.gtk.org/pub/gtk"
DIE=1
}
}
(automake --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have \`automake' installed."
echo "You can get it from: ftp://ftp.gnu.org/pub/gnu/"
DIE=1
NO_AUTOMAKE=yes
}
# if no automake, don't bother testing for aclocal
test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: Missing \`aclocal'. The version of \`automake'"
echo "installed doesn't appear recent enough."
echo "You can get automake from ftp://ftp.gnu.org/pub/gnu/"
DIE=1
}
if test "$DIE" -eq 1; then
exit 1
fi
if test -z "$*"; then
echo "**Warning**: I am going to run \`configure' with no arguments."
echo "If you wish to pass any to it, please specify them on the"
echo \`$0\'" command line."
echo
fi
case $CC in
xlc )
am_opt=--include-deps;;
esac
for coin in `find $srcdir -path $srcdir/CVS -prune -o -name configure.in -print`
do
dr=`dirname $coin`
if test -f $dr/NO-AUTO-GEN; then
echo skipping $dr -- flagged as no auto-gen
else
echo processing $dr
( cd $dr
aclocalinclude="$ACLOCAL_FLAGS"
if grep "^AM_GLIB_GNU_GETTEXT" configure.in >/dev/null; then
echo "Creating $dr/aclocal.m4 ..."
test -r $dr/aclocal.m4 || touch $dr/aclocal.m4
echo "Running glib-gettextize... Ignore non-fatal messages."
echo "no" | glib-gettextize --force --copy
echo "Making $dr/aclocal.m4 writable ..."
test -r $dr/aclocal.m4 && chmod u+w $dr/aclocal.m4
fi
if grep "^AC_PROG_INTLTOOL" configure.in >/dev/null; then
echo "Running intltoolize..."
intltoolize --copy --force --automake
fi
if grep "^AM_PROG_XML_I18N_TOOLS" configure.in >/dev/null; then
echo "Running xml-i18n-toolize..."
xml-i18n-toolize --copy --force --automake
fi
if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then
if test -z "$NO_LIBTOOLIZE" ; then
echo "Running libtoolize..."
libtoolize --force --copy
fi
fi
echo "Running aclocal $aclocalinclude ..."
aclocal $aclocalinclude
if grep "^AM_CONFIG_HEADER" configure.in >/dev/null; then
echo "Running autoheader..."
autoheader
fi
echo "Running automake --gnu $am_opt ..."
automake --add-missing --gnu $am_opt
echo "Running autoconf ..."
autoconf
)
fi
done
conf_flags="--enable-maintainer-mode"
if test x$NOCONFIGURE = x; then
echo Running $srcdir/configure $conf_flags "$@" ...
$srcdir/configure $conf_flags "$@" \
&& echo Now type \`make\' to compile. || exit 1
else
echo Skipping configure process.
fi
......@@ -19,14 +19,14 @@ AC_PROG_CXX
[+ENDIF+]
[+IF (=(get "HaveI18n") "1")+]
dnl Set gettext package name
dnl ***************************************************************************
dnl Internatinalization
dnl ***************************************************************************
GETTEXT_PACKAGE=[+NameLower+]
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name])
dnl Add the languages which your application supports here.
ALL_LINGUAS=""
AM_GLIB_GNU_GETTEXT
IT_PROG_INTLTOOL([0.35.0])
[+ENDIF+]
[+IF (=(get "HaveSharedlib") "1")+]
......
.anjuta
.tm_project*
.libs
.deps
.*swp
.nautilus-metafile.xml
*.autosave
*.pws
*.bak
*~
#*#
*.gladep
*.la
*.lo
*.o
*.class
*.pyc
aclocal.m4
autom4te.cache
config.h
config.h.in
config.log
config.status
configure
intltool-extract*
intltool-merge*
intltool-modules*
intltool-update*
libtool
prepare.sh
stamp-h*
ltmain.sh
mkinstalldirs
config.guess
config.sub
Makefile
Makefile.in
wizard_filesdir = $(anjuta_data_dir)/project/cpp/po
wizard_files_DATA = ChangeLog POTFILES.in \
cvsignore
wizard_files_DATA = POTFILES.in
EXTRA_DIST = $(wizard_files_DATA)
.libs
.deps
.*swp
.nautilus-metafile.xml
*.autosave
*.gmo
*.mo
*.pot
*~
#*#
*.bak
*.o
*.lo
*.la
cat-id-tbl.c
stamp-cat-id
messages
missing
POTFILES
Makefile
Makefile.in
Makefile.in.in
translations.xml
<?xml version="1.0"?>
<anjuta>
<plugin name="GBF Project Manager"
url="http://anjuta.org/plugins/"
mandatory="yes">
<require group="Anjuta Plugin"
attribute="Interfaces"
value="IAnjutaProjectManager"/>
<require group="Project"
attribute="Supported-Project-Types"
value="automake"/>
</plugin>
<plugin name="Symbol Browser"
url="http://anjuta.org/plugins/"
mandatory="yes">
<require group="Anjuta Plugin"
attribute="Location"
value="anjuta-symbol-browser:SymbolBrowserPlugin"/>
</plugin>
<plugin name="Make Build System"
url="http://anjuta.org/plugins/"
mandatory="yes">
<require group="Anjuta Plugin"
attribute="Interfaces"
value="IAnjutaBuildable"/>
<require group="Build"
attribute="Supported-Build-Types"
value="make"/>
</plugin>
<plugin name="CVS Version Control System"
url="http://anjuta.org/plugins/"
mandatory="no">
<require group="Anjuta Plugin"
attribute="Interfaces"
value="IAnjutaVcs"/>
<require group="Version Control"
attribute="Supported-Vcs-Types"
value="cvs"/>
</plugin>
<plugin name="Task Manager"
url="http://anjuta.org/plugins/"
mandatory="no">
<require group="Anjuta Plugin"
attribute="Interfaces"
value="IAnjutaTodo"/>
</plugin>
<plugin name="Debug Manager"
url="http://anjuta.org/plugins/"
mandatory="no">
<require group="Anjuta Plugin"
attribute="Interfaces"
value="IAnjutaDebuggerManager"/>
</plugin>
</anjuta>
wizard_filesdir = $(anjuta_data_dir)/project/cpp/src
wizard_files_DATA = main.cpp Makefile.am.tpl \
wizard_files_DATA = main.cc Makefile.am.tpl \
cvsignore
EXTRA_DIST = $(wizard_files_DATA)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment