grim/guifications2

Fix cp gf_config.h.mingw gf_config.h
org.guifications.gf2
2007-05-02, datallah
5e11127271b1
Fix cp gf_config.h.mingw gf_config.h
make -C ./src -f Makefile.mingw
make[1]: Entering directory `/home/datallah/winpidgin/gf2/src'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/datallah/winpidgin/gf2/src'
make -C ./po -f Makefile.mingw
make[1]: Entering directory `/home/datallah/winpidgin/gf2/po'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/datallah/winpidgin/gf2/po'
make -C ./pixmaps -f Makefile.mingw install
make[1]: Entering directory `/home/datallah/winpidgin/gf2/pixmaps'
if test 'item_icon_size_big.png item_icon_size_huge.png item_icon_size_large.png item_icon_size_little.png item_icon_size_normal.png item_icon_size_small.png item_icon_size_tiny.png item_position_center.png item_position_east.png item_position_north_east.png item_position_north.png item_position_north_west.png item_position_south_east.png item_position_south.png item_position_south_west.png item_position_west.png item_text_clipping_ellipsis_end.png item_text_clipping_ellipsis_middle.png item_text_clipping_ellipsis_start.png item_text_clipping_truncate.png window_position_north_east.png window_position_north_west.png window_position_south_east.png window_position_south_west.png'; then \
mkdir -p ../../pidgin/win32-install-dir/pixmaps/pidgin/guifications/conf; \
cp item_icon_size_big.png item_icon_size_huge.png item_icon_size_large.png item_icon_size_little.png item_icon_size_normal.png item_icon_size_small.png item_icon_size_tiny.png item_position_center.png item_position_east.png item_position_north_east.png item_position_north.png item_position_north_west.png item_position_south_east.png item_position_south.png item_position_south_west.png item_position_west.png item_text_clipping_ellipsis_end.png item_text_clipping_ellipsis_middle.png item_text_clipping_ellipsis_start.png item_text_clipping_truncate.png window_position_north_east.png window_position_north_west.png window_position_south_east.png window_position_south_west.png ../../pidgin/win32-install-dir/pixmaps/pidgin/guifications/conf; \
fi;
if test ''; then \
mkdir -p ; \
cp ; \
fi;
make[1]: Leaving directory `/home/datallah/winpidgin/gf2/pixmaps'
make -C ./themes -f Makefile.mingw install
make[1]: Entering directory `/home/datallah/winpidgin/gf2/themes'
make -C ./default -f Makefile.mingw install
make[2]: Entering directory `/home/datallah/winpidgin/gf2/themes/default'
if test 'background.png theme.xml'; then \
mkdir -p ../../../pidgin/win32-install-dir/pixmaps/pidgin/guifications/themes/default; \
cp background.png theme.xml ../../../pidgin/win32-install-dir/pixmaps/pidgin/guifications/themes/default; \
fi;
make[2]: Leaving directory `/home/datallah/winpidgin/gf2/themes/default'
make -C ./mini -f Makefile.mingw install
make[2]: Entering directory `/home/datallah/winpidgin/gf2/themes/mini'
if test 'background.png theme.xml'; then \
mkdir -p ../../../pidgin/win32-install-dir/pixmaps/pidgin/guifications/themes/mini; \
cp background.png theme.xml ../../../pidgin/win32-install-dir/pixmaps/pidgin/guifications/themes/mini; \
fi;
make[2]: Leaving directory `/home/datallah/winpidgin/gf2/themes/mini'
make -C ./Penguins -f Makefile.mingw install
make[2]: Entering directory `/home/datallah/winpidgin/gf2/themes/Penguins'
if test 'penguin.png theme.xml'; then \
mkdir -p ../../../pidgin/win32-install-dir/pixmaps/pidgin/guifications/themes/Penguins; \
cp penguin.png theme.xml ../../../pidgin/win32-install-dir/pixmaps/pidgin/guifications/themes/Penguins; \
fi;
make[2]: Leaving directory `/home/datallah/winpidgin/gf2/themes/Penguins'
make[1]: Leaving directory `/home/datallah/winpidgin/gf2/themes'
make -C ./src -f Makefile.mingw install
make[1]: Entering directory `/home/datallah/winpidgin/gf2/src'
cp guifications.dll ../../pidgin/win32-install-dir/plugins
make[1]: Leaving directory `/home/datallah/winpidgin/gf2/src'
make -C ./po -f Makefile.mingw install
make[1]: Entering directory `/home/datallah/winpidgin/gf2/po'
mkdir -p ../../pidgin/win32-install-dir/locale
installing bn.gmo as ../../pidgin/win32-install-dir/locale/bn/LC_MESSAGES/guifications.mo
installing cs.gmo as ../../pidgin/win32-install-dir/locale/cs/LC_MESSAGES/guifications.mo
installing de.gmo as ../../pidgin/win32-install-dir/locale/de/LC_MESSAGES/guifications.mo
installing en_AU.gmo as ../../pidgin/win32-install-dir/locale/en_AU/LC_MESSAGES/guifications.mo
installing en_GB.gmo as ../../pidgin/win32-install-dir/locale/en_GB/LC_MESSAGES/guifications.mo
installing es.gmo as ../../pidgin/win32-install-dir/locale/es/LC_MESSAGES/guifications.mo
installing fr.gmo as ../../pidgin/win32-install-dir/locale/fr/LC_MESSAGES/guifications.mo
installing gl.gmo as ../../pidgin/win32-install-dir/locale/gl/LC_MESSAGES/guifications.mo
installing he.gmo as ../../pidgin/win32-install-dir/locale/he/LC_MESSAGES/guifications.mo
installing hu.gmo as ../../pidgin/win32-install-dir/locale/hu/LC_MESSAGES/guifications.mo
installing it.gmo as ../../pidgin/win32-install-dir/locale/it/LC_MESSAGES/guifications.mo
installing ja.gmo as ../../pidgin/win32-install-dir/locale/ja/LC_MESSAGES/guifications.mo
installing mk.gmo as ../../pidgin/win32-install-dir/locale/mk/LC_MESSAGES/guifications.mo
installing nl.gmo as ../../pidgin/win32-install-dir/locale/nl/LC_MESSAGES/guifications.mo
installing no.gmo as ../../pidgin/win32-install-dir/locale/no/LC_MESSAGES/guifications.mo
installing pt_BR.gmo as ../../pidgin/win32-install-dir/locale/pt_BR/LC_MESSAGES/guifications.mo
installing pt.gmo as ../../pidgin/win32-install-dir/locale/pt/LC_MESSAGES/guifications.mo
installing ru.gmo as ../../pidgin/win32-install-dir/locale/ru/LC_MESSAGES/guifications.mo
installing sk.gmo as ../../pidgin/win32-install-dir/locale/sk/LC_MESSAGES/guifications.mo
installing sr@Latn.gmo as ../../pidgin/win32-install-dir/locale/sr@Latn/LC_MESSAGES/guifications.mo
installing sr.gmo as ../../pidgin/win32-install-dir/locale/sr/LC_MESSAGES/guifications.mo
installing sv.gmo as ../../pidgin/win32-install-dir/locale/sv/LC_MESSAGES/guifications.mo
installing uk.gmo as ../../pidgin/win32-install-dir/locale/uk/LC_MESSAGES/guifications.mo
installing zh_CN.gmo as ../../pidgin/win32-install-dir/locale/zh_CN/LC_MESSAGES/guifications.mo
installing zh_TW.gmo as ../../pidgin/win32-install-dir/locale/zh_TW/LC_MESSAGES/guifications.mo
make[1]: Leaving directory `/home/datallah/winpidgin/gf2/po'
#
# Most of this configure script was ripped from pidgin or the
# pidgin-encryption configure script, thanks guys ;)
#
AC_INIT([pidgin-guifications], [2.13mtn], [guifications-devel@lists.guifications.org])
AC_CANONICAL_SYSTEM
AM_CONFIG_HEADER(pre_config.h)
AM_INIT_AUTOMAKE([foreign dist-bzip2])
AC_PREREQ([2.50])
AC_PATH_PROG(sedpath, sed)
AC_DISABLE_STATIC
dnl This disables check of libtool for these compilers
CXX=no
F77=no
GCJ=no
#
# Setup libtool
#
AM_PROG_LIBTOOL
LIBTOOL="$LIBTOOL --silent"
#
# I'm lazy and figured config.h is the best place for this ;)
#
AC_DEFINE_UNQUOTED(GF_WEBSITE, "http://pidgin.guifications.org", [Guifications Website])
#
# Our header
#
AH_TOP([ /* our header */
#ifndef _GF_CONFIG_H
#define _GF_CONFIG_H
])
AH_BOTTOM([
#endif /* _GF_CONFIG_H */
])
#
# Good o' gettext
#
AC_PROG_INTLTOOL
GETTEXT_PACKAGE=guifications
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, ["$GETTEXT_PACKAGE"], [Define the gettext package to be used.])
ALL_LINGUAS="bn cs de en_AU en_GB es fr gl he hu it ja mk nl no pt pt_BR ru sk sr sr@Latn sv uk zh_CN zh_TW"
AM_GLIB_GNU_GETTEXT
#
# Look for the C compiler
#
CFLAGS_save="$CFLAGS"
AC_PROG_CC_STDC
CFLAGS="$CFLAGS_save"
AC_ARG_ENABLE(debug, [ --enable-debug compile with debugging support],,enable_debug=no)
AC_ARG_ENABLE(deprecated, [ --disable-deprecated compile without deprecated API usage],,enable_deprecated=yes)
if test "x$enable_debug" = "xyes" ; then
AC_DEFINE(DEBUG, 1, [Define if debugging is enabled.])
fi
if test "x$enable_deprecated" = no; then
DEBUG_CFLAGS = "$DEBUG_CFLAGS -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED"
fi
AC_SUBST(DEBUG_CFLAGS)
if test "x$GCC" = "xyes"; then
CFLAGS="$CFLAGS -Wall -g3"
fi
AC_SUBST(CFLAGS)
#
# Check for pidgin
#
PKG_CHECK_MODULES(PIDGIN, pidgin purple)
AC_SUBST(PIDGIN_CFLAGS)
AC_SUBST(PIDGIN_LIBS)
AC_SUBST(PURPLE_CFLAGS)
AC_SUBST(PURPLE_LIBS)
PIDGIN_LIBDIR=`pkg-config --variable=libdir pidgin`
PIDGIN_DATADIR=`pkg-config --variable=datadir pidgin`
AC_SUBST(PIDGIN_LIBDIR)
AC_SUBST(PIDGIN_DATADIR)
#
# check for gtk and other dependencies
#
AM_PATH_GLIB_2_0(2.0.0,,AC_MSG_ERROR([
*** GLib 2.0 is required to build Guifications; please make sure you have the
*** GLib development headers installed. The latest version of GLib is always
*** available at http://www.gtk.org/.]))
AC_SUBST(GLIB_LIBS)
AC_SUBST(GLIB_CFLAGS)
AM_PATH_GTK_2_0(2.0.0,,AC_MSG_ERROR([
*** GTK+ 2.0 is required to build Guifications; please make sure you have the
*** GTK+ development headers installed. The latest version of GTK+ is always
*** available at http://www.gtk.org/.]))
AC_SUBST(GTK_LIBS)
AC_SUBST(GTK_CFLAGS)
#
# check for freetype 2
#
PKG_CHECK_MODULES(PANGOFT2, pangoft2 >= 1.1.0,
[
AC_DEFINE(HAVE_PANGOFT2, 1, [Define if we've found pangoft2.])
])
AC_SUBST(PANGOFT2_CFLAGS)
AC_SUBST(PANGOFT2_LIBS)
#
# Check if plugins are enabled
#
want_plugins=yes
AM_CONDITIONAL(PLUGINS, test "$want_plugins" = "yes")
#
# Version stuff
#
AC_CONFIG_COMMANDS_PRE([
if test -e VERSION; then
cp -p VERSION VERSION.ac-save
fi
])
AC_CONFIG_COMMANDS_POST([
cmp VERSION VERSION.ac-save || touch -r VERSION.ac-save VERSION
rm -f VERSION.ac-save
])
#
# Finish up
#
AC_OUTPUT([Makefile
VERSION
pidgin-guifications.spec
doc/Makefile
nsis/Makefile
nsis/translations/Makefile
pixmaps/Makefile
po/Makefile.in
src/Makefile
themes/Makefile
themes/default/Makefile
themes/funky/Makefile
themes/item_test/Makefile
themes/mini/Makefile
themes/Penguins/Makefile
])
echo;
echo Configuration complete
echo;
echo Debugging enabled..............: $enable_debug
echo Deprecated API enabled.........: $enable_deprecated
echo;
echo Type make to compile
echo Thank you for using Guifications
echo;