在编译gstreamer时,做了个笔记,整理如下:
参考:http://gstreamer.freedesktop.org/wiki/GStreamer_Cross_Compile_With_MinGW_In_Chroot_Environmentmkdir -p /d/gm/tmp
cd /d/gm/tmp
1. Glib
wget http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.18/glib_2.18.2-1_win32.zip
wget http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.18/glib-dev_2.18.2-1_win32.zip
mkdir -p /d/gm/glib_2.18.2-1
cd /d/gm/glib_2.18.2-1
unzip /d/gm/tmp/glib_2.18.2-1_win32.zip
unzip /d/gm/tmp/glib-dev_2.18.2-1_win32.zip
find -name "*/.pc" | xargs sed -e 's,^prefix=.*$,prefix=/d/gm,'
wget http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.14/gtk+-bundle_2.14.4-20081108_win32.zip
mkdir -p /d/gm/gtk+-bundle_2.14.4
cd /d/gm/gtk+-bundle_2.14.4
unzip /d/gm/tmp/gtk+-bundle_2.14.4-20081108_win32.zip
cp -rf /d/gm/gtk+-bundle_2.14.4/* /mingw
2. Iconv
cd /d/gm/tmp
wget http://www.gimp.org/~tml/gimp/win32/libiconv-1.9.1.bin.woe32.zip
mkdir -p /d/gm/libiconv-1.9.1
cd /d/gm/libiconv-1.9.1
unzip /d/gm/tmp/libiconv-1.9.1.bin.woe32.zip
3. Gettext
cd /d/gm/tmp
wget http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime-0.17-1.zip
wget http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime-dev-0.17-1.zip
wget http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-tools-0.17.zip
mkdir /d/gm/gettext-runtime-0.17-1
cd /d/gm/gettext-runtime-0.17-1
unzip /d/gm/tmp/gettext-runtime-0.17-1.zip
unzip /d/gm/tmp/gettext-runtime-dev-0.17-1.zip
unzip /d/gm/tmp/gettext-tools-0.17.zip
cp -rf /d/gm/gettext-runtime-0.17-1/* /mingw
wget http://downloads.sourceforge.net/mingw/gettext-0.16.1-1-bin.tar.bz2?modtime=1190250508&big_mirror=1
wget http://downloads.sourceforge.net/mingw/gettext-0.16.1-1-dll.tar.bz2?modtime=1190250566&big_mirror=1
wget http://downloads.sourceforge.net/mingw/gettext-0.16.1-1-src.tar.bz2?modtime=1190250595&big_mirror=1
wget http://downloads.sourceforge.net/mingw/gettext-0.16.1-MSYS-1.0.11-1-src.tar.bz2?modtime=1206474223&big_mirror=1
wget http://downloads.sourceforge.net/mingw/gettext-0.16.1-MSYS-1.0.11-1.tar.bz2?modtime=1206474271&big_mirror=1
wget http://downloads.sourceforge.net/mingw/gettext-devel-0.16.1-MSYS-1.0.11-1.tar.bz2?modtime=1206474318&big_mirror=1
mkdir -p /d/gm/gettext-runtime-0.16.1-1
cd /d/gm/gettext-runtime-0.16.1-1
tar jxvf /d/gm/tmp/gettext-0.16.1-1-bin.tar.bz2
tar jxvf /d/gm/tmp/gettext-0.16.1-1-dll.tar.bz2
tar jxvf /d/gm/tmp/gettext-0.16.1-MSYS-1.0.11-1.tar.bz2
tar jxvf /d/gm/tmp/gettext-devel-0.16.1-MSYS-1.0.11-1.tar.bz2
4. Libo