Sha256: 8992752dd4a37bf5400533f0346ed32baefd199e5201b5da14107ea9f0e62e8f

Contents?: true

Size: 1.81 KB

Versions: 31

Compression:

Stored size: 1.81 KB

Contents

# This is a shell script that calls functions and scripts from
# tml@iki.fi's personal work environment. It is not expected to be
# usable unmodified by others, and is included only for reference.

MOD=libcroco
VER=0.6.2
REV=1
ARCH=win32

THIS=${MOD}_${VER}-${REV}_${ARCH}

RUNZIP=${MOD}_${VER}-${REV}_${ARCH}.zip
DEVZIP=${MOD}-dev_${VER}-${REV}_${ARCH}.zip

HEX=`echo $THIS | md5sum | cut -d' ' -f1`
TARGET=c:/devel/target/$HEX

usedev

(

set -x

DEPS=`latest --arch=${ARCH} glib libxml2`
PROXY_LIBINTL=`latest --arch=${ARCH} proxy-libintl`

PKG_CONFIG_PATH=/dummy
for D in $DEPS; do
    PATH="/devel/dist/${ARCH}/$D/bin:$PATH"
    [ -d /devel/dist/${ARCH}/$D/lib/pkgconfig ] && PKG_CONFIG_PATH=/devel/dist/${ARCH}/$D/lib/pkgconfig:$PKG_CONFIG_PATH
done

# Avoid the silly "relink" stuff in libtool
sed -e 's/need_relink=yes/need_relink=no # no way --tml/' <ltmain.sh >ltmain.temp && mv ltmain.temp ltmain.sh

# Avoid using "file" in libtool. Otherwise libtool won't create a
# shared library, and give the warning "Trying to link with static lib
# archive [...] But I can only do this if you have shared version of
# the library, which you do not appear to have." I know what I am
# doing, I do want to link with a static libintl now. (The
# proxy-libintl libintl wrapper.)

sed -e 's!file /!dont-want-to-use-file!' <configure >configure.temp && mv configure.temp configure

CC='gcc -mtune=pentium3 -mthreads' \
CFLAGS=-O \
LDFLAGS="-L/devel/dist/${ARCH}/${PROXY_LIBINTL}/lib -Wl,--exclude-libs=libintl.a" \
./configure --disable-static --prefix=$TARGET &&

libtoolcacheize &&
make install &&

./libcroco-zip &&

mv /tmp/${MOD}-${VER}.zip /tmp/$RUNZIP &&
mv /tmp/${MOD}-dev-${VER}.zip /tmp/$DEVZIP

) 2>&1 | tee /devel/src/tml/packaging/$THIS.log

(cd /devel && zip /tmp/$DEVZIP src/tml/packaging/$THIS.{sh,log}) &&
manifestify /tmp/$RUNZIP /tmp/$DEVZIP

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
rsvg2-2.0.2-x86-mingw32 vendor/local/src/tml/packaging/libcroco_0.6.2-1_win32.sh
rsvg2-2.0.1-x86-mingw32 vendor/local/src/tml/packaging/libcroco_0.6.2-1_win32.sh
rsvg2-2.0.0-x86-mingw32 vendor/local/src/tml/packaging/libcroco_0.6.2-1_win32.sh
rsvg2-1.2.6-x86-mingw32 vendor/local/src/tml/packaging/libcroco_0.6.2-1_win32.sh
rsvg2-1.2.5-x86-mingw32 vendor/local/src/tml/packaging/libcroco_0.6.2-1_win32.sh
rsvg2-1.2.4-x86-mingw32 vendor/local/src/tml/packaging/libcroco_0.6.2-1_win32.sh
rsvg2-1.2.3-x86-mingw32 vendor/local/src/tml/packaging/libcroco_0.6.2-1_win32.sh
rsvg2-1.2.2-x86-mingw32 vendor/local/src/tml/packaging/libcroco_0.6.2-1_win32.sh
rsvg2-1.2.1-x86-mingw32 vendor/local/src/tml/packaging/libcroco_0.6.2-1_win32.sh
rsvg2-1.2.0-x86-mingw32 vendor/local/src/tml/packaging/libcroco_0.6.2-1_win32.sh
rsvg2-1.1.9-x86-mingw32 vendor/local/src/tml/packaging/libcroco_0.6.2-1_win32.sh
rsvg2-1.1.8-x86-mingw32 vendor/local/src/tml/packaging/libcroco_0.6.2-1_win32.sh
rsvg2-1.1.7-x86-mingw32 vendor/local/src/tml/packaging/libcroco_0.6.2-1_win32.sh
rsvg2-1.1.6-x86-mingw32 vendor/local/src/tml/packaging/libcroco_0.6.2-1_win32.sh
rsvg2-1.1.5-x86-mingw32 vendor/local/src/tml/packaging/libcroco_0.6.2-1_win32.sh
rsvg2-1.1.4-x86-mingw32 vendor/local/src/tml/packaging/libcroco_0.6.2-1_win32.sh
rsvg2-1.1.3-x86-mingw32 vendor/local/src/tml/packaging/libcroco_0.6.2-1_win32.sh
rsvg2-1.1.2-x86-mingw32 vendor/local/src/tml/packaging/libcroco_0.6.2-1_win32.sh
rsvg2-1.1.0-x86-mingw32 vendor/local/src/tml/packaging/libcroco_0.6.2-1_win32.sh
rsvg2-1.0.3-x86-mingw32 vendor/local/src/tml/packaging/libcroco_0.6.2-1_win32.sh