Skip to content

Commit

Permalink
Update Linux build script for glib 2.42 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
morevnaproject committed Dec 3, 2014
1 parent 0be870b commit 9bae552
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions autobuild/synfigstudio-linux-build.sh
Expand Up @@ -62,7 +62,7 @@ PACKAGES_BUILDROOT=`cd $PACKAGES_BUILDROOT; pwd` # canonify buildroot path
fi

BUILDROOT_VERSION=9
BUILDROOT_LIBRARY_SET_ID=4
BUILDROOT_LIBRARY_SET_ID=5
MAKE_THREADS=2 #count of threads for make

# full = clean, configure, make
Expand All @@ -89,12 +89,12 @@ GTKGLEXT=1.2.0
GTKGLEXTMM=1.2.0
LIBXMLPP=2.22.0
GLIBMM=2.24.2 # required by GTKMM 2.20.3
GLIB=2.37.5 # required change because of this - https://bugzilla.gnome.org/show_bug.cgi?id=697229#c29
CAIRO=1.12.0 # required by the cairo render engine 2013-04-01
BOOST=1_53_0

# System libraries
ATK=1.29.4 # required by GTK 2.20.1
GLIB=2.24.2 # required by GLIBMM 2.24.2
ATK=2.8.0 # required by GLIB 2.37.5
GTK=2.20.1 # !!! we need Notebook.set_action_widget()
PIXMAN=0.22.0 # required by CAIRO 1.12.0
PANGO=1.24.5
Expand Down Expand Up @@ -143,7 +143,7 @@ if ! pkg-config glib-2.0 --exact-version=${GLIB} --print-errors; then
[ ! -d glib-${GLIB} ] && tar -xjf glib-${GLIB}.tar.bz2
cd glib-${GLIB}
#[[ $DOCLEAN == 1 ]] && make clean || true
./configure --disable-static --enable-shared
./configure --prefix=${PREFIX} --includedir=${PREFIX}/include --disable-static --enable-shared
make -j$MAKE_THREADS
make install
cd ..
Expand Down Expand Up @@ -575,6 +575,9 @@ mkpack()
# bundle libltdl
rm -f ${PREFIX}/lib/libltdl* || true
cp -av /usr/lib/libltdl*.so* ${PREFIX}/lib
# bundle libffi
rm -f ${PREFIX}/lib/libffi* || true
cp -av /usr/lib/libffi*.so* ${PREFIX}/lib

cat > $PREFIX/synfig <<EOF
#!/bin/sh
Expand Down Expand Up @@ -821,6 +824,7 @@ initialize()
cvs \
libpng12-dev \
fontconfig \
libffi-dev \
libfreetype6-dev \
libfontconfig1-dev \
libxml2-dev \
Expand Down

0 comments on commit 9bae552

Please sign in to comment.