Skip to content

Commit

Permalink
Win32 build: Automatic script to compile Synfig Studio in pure Cygwin…
Browse files Browse the repository at this point in the history
… environment (no MinGW). Not finished.
  • Loading branch information
morevnaproject committed Aug 1, 2013
1 parent 89bee14 commit a8fd8f0
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions autobuild/synfigstudio-cygwin-native-build.sh
@@ -0,0 +1,46 @@
#!/bin/bash

export CYGWIN_SETUP=/cygdrive/d/synfig-win/cygwin-setup.exe
export PREFIX=/src/synfig

# Install dependencies
#-K http://cygwinports.org/ports.gpg -s ftp://ftp.cygwinports.org/pub/cygwinports -s http://mirrors.163.com/cygwin \
$CYGWIN_SETUP \
-P git \
-P make \
-P gcc-core \
-P gcc-g++ \
-P gdb \
-P intltool \
-P autoconf \
-P automake \
-P libtool \
-P pkg-config \
-P libcairo-devel \
-P libpango1.0-devel \
-P libboost-devel \
-P libboost1.50 \
-P libjpeg-devel \
-P libpng-devel \
-P p7zip \
-q

#TODO: magick++

$CYGWIN_SETUP \
-K http://cygwinports.org/ports.gpg -s ftp://ftp.cygwinports.org/pub/cygwinports -s http://mirrors.163.com/cygwin \
-P libxml++2.6-devel \
-P libgtkmm2.4-devel \
-q

cd $PREFIX/ETL
autoreconf --install --force
./configure --prefix=/usr
make install

cd $PREFIX/synfig-core
libtoolize --copy --force
autoreconf --install --force
./configure --prefix=/usr
make -j4
make install

0 comments on commit a8fd8f0

Please sign in to comment.