2 gajimversion
="0.14.0.1"
4 node
=$
(hg tip
--template "{node}")
5 hgversion
="-${node:0:12}"
9 echo "define([AC_PACKAGE_VERSION], [${gajimversion}${hgversion}])" > m
4/hgversion.
m4
11 AM_ARGS
="--add-missing --gnu --copy -Wno-portability"
13 if test x
`uname -s 2>/dev/null` = 'xDarwin' -a -f /Library
/Frameworks
/GTK
+.framework
/Versions
/Current
/env
; then
14 .
/Library
/Frameworks
/GTK
+.framework
/Versions
/Current
/env
15 AM_ARGS
="${AM_ARGS} --ignore-deps"
16 CONF_ARGS
="${CONF_ARGS} --disable-idle --without-x"
19 echo "[encoding: UTF-8]" > po
/POTFILES.
in \
20 && for p
in `ls data/gui/*.ui`; do echo "[type: gettext/glade]$p" >> \
21 po
/POTFILES.
in; done \
22 && ls -1 data
/gajim.desktop.
in.
in \
23 src
/*py src
/common
/*py src
/common
/zeroconf
/*.py |
grep -v ipython_view.py
>> \
24 po
/POTFILES.
in ||
exit 1
25 if test -z `which pkg-config 2>/dev/null`;then
26 echo "***Error: pkg-config not found***"
27 echo "See README.html for build requirements."
31 which glibtoolize
>/dev
/null
2>&1 && LIBTOOLIZE
="glibtoolize" || LIBTOOLIZE
="libtoolize"
35 intltoolize
--force --automake \
37 && $LIBTOOLIZE --copy --force --automake \
40 && automake
${AM_ARGS} \
41 && .
/configure
${CONF_ARGS} $@