7 URL
=http
://poppler.freedesktop.org
/$DIR.
tar.gz
19 die
"Could not download Poppler"
24 git config core.autocrlf false
&&
26 git commit
-n -m "Import of $FILE"
28 } || die
"Could not check out Poppler"
30 # test $(cd $DIR && git rev-list HEAD | wc -l) -gt 1 ||
31 # (cd $DIR && git am ../patches/*) ||
32 # die "Could not apply patches"
34 # NOTE -Wl,--exclude-libs,libgcc_eh.a is needed because of bug in shipped gcc:
35 # http://forums.codeblocks.org/index.php/topic,10508.msg72112.html#msg72112
36 # http://sourceforge.net/tracker/index.php?func=detail&aid=2813974&group_id=200665&atid=974439
37 # Bug present in TDM GCC 4.4.0 and fixed in TDB GCC 4.4.1-tdm-1
39 LDFLAGS
="-Wl,--exclude-libs,libgcc_eh.a" \
40 .
/configure
--prefix=/mingw \
41 --disable-splash-output \
42 --disable-cairo-output \
43 --disable-poppler-glib \
45 --disable-poppler-qt \
46 --disable-poppler-qt4 \
47 --disable-poppler-cpp \
49 --disable-abiword-output \
52 index
=$
(/share
/msysGit
/pre-install.sh
) &&
54 /share
/msysGit
/post-install.sh
$index "Install $FILE"
55 ) || die
"Could not install $FILE"