adium 2647:0c5ea5d2ecb8: Build gadu-gadu with proper platform he...
commits at adium.im
commits at adium.im
Sun Aug 30 17:01:37 UTC 2009
details: http://hg.adium.im/adium/rev/0c5ea5d2ecb8
revision: 2647:0c5ea5d2ecb8
author: Stephen Holt <sholt at adium.im>
date: Sun Aug 30 13:07:15 2009 -0400
Build gadu-gadu with proper platform headers
Subject: adium 2648:f27982cbbefe: build libpurple with proper platform headers
details: http://hg.adium.im/adium/rev/f27982cbbefe
revision: 2648:f27982cbbefe
author: Stephen Holt <sholt at adium.im>
date: Sun Aug 30 13:07:44 2009 -0400
build libpurple with proper platform headers
diffs (77 lines):
diff -r 0346ba7698b4 -r f27982cbbefe Dependencies/build.sh
--- a/Dependencies/build.sh Sun Aug 30 12:11:37 2009 -0400
+++ b/Dependencies/build.sh Sun Aug 30 13:07:44 2009 -0400
@@ -418,11 +418,14 @@
if needsconfigure $@; then
status "Configuring Gadu-Gadu"
- CFLAGS="$ARCH_CFLAGS" LDFLAGS="$ARCH_LDFLAGS" ./configure \
- --prefix="$ROOTDIR/build" \
+ CONFIG_CMD="./configure \
+ --prefix=$ROOTDIR/build \
--disable-static \
--enable-shared \
- --disable-dependency-tracking
+ --disable-dependency-tracking"
+ xconfigure "${BASE_CFLAGS}" "${BASE_LDFLAGS}" "${CONFIG_CMD}" \
+ "${ROOTDIR}/source/gadu-gadu/config.h" \
+ "${ROOTDIR}/source/gadu-gadu/include/libgadu.h"
fi
status "Building and installing Gadu-Gadu"
@@ -613,19 +616,16 @@
if needsconfigure $@; then
status "Configuring libpurple"
- CFLAGS="$ARCH_CFLAGS -I/usr/include/kerberosIV \
- -DHAVE_SSL -DHAVE_OPENSSL -fno-common" \
- ACLOCAL_FLAGS="-I $ROOTDIR/build/share/aclocal" \
- LDFLAGS="$ARCH_LDFLAGS -lsasl2 -ljson-glib-1.0" \
- LIBXML_CFLAGS="-I/usr/include/libxml2" \
- LIBXML_LIBS="-lxml2" \
- GADU_CFLAGS="-I$ROOTDIR/build/include" \
- GADU_LIBS="-lgadu" \
- MEANWHILE_CFLAGS="-I$ROOTDIR/build/include/meanwhile \
- -I$ROOTDIR/build/include/glib-2.0 \
- -I$ROOTDIR/build/lib/glib-2.0/include" \
- MEANWHILE_LIBS="-lmeanwhile -lglib-2.0 -liconv" \
- ./autogen.sh \
+ export ACLOCAL_FLAGS="-I $ROOTDIR/build/share/aclocal"
+ export LIBXML_CFLAGS="-I/usr/include/libxml2"
+ export LIBXML_LIBS="-lxml2"
+ export GADU_CFLAGS="-I$ROOTDIR/build/include"
+ export GADU_LIBS="-lgadu"
+ export MEANWHILE_CFLAGS="-I$ROOTDIR/build/include/meanwhile \
+ -I$ROOTDIR/build/include/glib-2.0 \
+ -I$ROOTDIR/build/lib/glib-2.0/include"
+ export MEANWHILE_LIBS="-lmeanwhile -lglib-2.0 -liconv"
+ CONFIG_CMD="./autogen.sh \
--disable-dependency-tracking \
--disable-gtkui \
--disable-consoleui \
@@ -634,8 +634,8 @@
--disable-static \
--enable-shared \
--enable-cyrus-sasl \
- --prefix="$ROOTDIR/build" \
- --with-static-prpls="$PROTOCOLS" \
+ --prefix=$ROOTDIR/build \
+ --with-static-prpls=$PROTOCOLS \
--disable-plugins \
--disable-gstreamer \
--disable-avahi \
@@ -644,7 +644,13 @@
--enable-nss=no \
--disable-vv \
--disable-idn \
- "$KERBEROS"
+ $KERBEROS"
+ xconfigure "$BASE_CFLAGS -I/usr/include/kerberosIV -DHAVE_SSL \
+ -DHAVE_OPENSSL -fno-common" \
+ "$BASE_LDFLAGS -lsasl2 -ljson-glib-1.0" \
+ "${CONFIG_CMD}" \
+ "${ROOTDIR}/source/im.pidgin.adium/libpurple/purple.h" \
+ "${ROOTDIR}/source/im.pidgin.adium/config.h"
fi
status "Building and installing libpurple"
More information about the commits
mailing list