Skip to content

Instantly share code, notes, and snippets.

@michiomochi
Created April 3, 2014 15:16
Show Gist options
  • Save michiomochi/9956320 to your computer and use it in GitHub Desktop.
Save michiomochi/9956320 to your computer and use it in GitHub Desktop.
cd ~/local/src
wget http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.1.tar.gz
tar xvf ruby-2.1.1.tar.gz
cd ruby-2.1.1
./configure --prefix=${HOME}/local
make -j2
make install
xmkmf
http://pkgs.fedoraproject.org/repo/pkgs/imake/xmkmf-0.99.1.tar.bz2/a73c996b16a35aa04ad285e652d60f2a/xmkmf-0.99.1.tar.bz2
imake
http://pkgs.fedoraproject.org/repo/pkgs/imake/imake-1.0.6.tar.bz2/d5058b1317a85bedc1dc40c7e85c8d26/imake-1.0.6.tar.bz2
./configure --prefix=${HOME}/local XPROTO_CFLAGS=/home/vagrant/local/include XPROTO_LIBS=/home/vagrant/local/lib
X11
libXpm
wget http://www.x.org/releases/X11R7.7/src/lib/libXpm-3.5.10.tar.gz
env PKG_CONFIG_PATH=${HOME}/local/lib/pkgconfig:${HOME}/local/share/pkgconfig ./configure --prefix=${HOME}/local
make -j2
make install
gtk2
wget http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.99/gtk+-2.99.0.tar.gz
env PKG_CONFIG_PATH=${HOME}/local/lib/pkgconfig:${HOME}/local/share/pkgconfig ./configure --prefix=${HOME}/local
wget http://ftp.acc.umu.se/pub/GNOME/sources/gtk+/3.12/gtk+-3.12.0.tar.xz
glib-2.0
wget http://ftp.gnome.org/pub/GNOME/sources/glib/2.40/glib-2.40.0.tar.xz
xz -dc glib-2.40.0.tar.xz | tar xvf -
env LDFLAGS="-L/home/vagrant/local/lib" CPPFLAGS="-I/home/vagrant/local/include" ./configure --prefix=${HOME}/local LIBFFI_LIBS="-L/home/vagrant/local/lib64 -lffi" LIBFFI_CFLAGS="-I/home/vagrant/local/lib/libffi-3.0.13/include"
make -j2
make install
libffi
wget http://www.mirrorservice.org/sites/sourceware.org/pub/libffi/libffi-3.0.13.tar.gz
./configure --prefix=${HOME}/local
make -j2
make install
atk
cd ${HOME}/local/src
wget http://ftp.acc.umu.se/pub/GNOME/sources/atk/2.12/atk-2.12.0.tar.xz
xz -dc atk-2.12.0.tar.xz | tar xvf -
cd atk-2.12.0
env PKG_CONFIG_PATH=${HOME}/local/lib/pkgconfig:${HOME}/local/share/pkgconfig LD_LIBRARY_PATH=/home/vagrant/local/lib ./configure --prefix=${HOME}/local
make -j2
make install
dbus
cd ${HOME}/local/src
wget http://dbus.freedesktop.org/releases/dbus/dbus-1.8.0.tar.gz
tar xvf dbus-1.8.0.tar.gz
cd dbus-1.8.0
env PKG_CONFIG_PATH=${HOME}/local/lib/pkgconfig:${HOME}/local/share/pkgconfig LDFLAGS="-L/home/vagrant/local/lib" CPPFLAGS="-I/home/vagrant/local/include" ./configure --prefix=${HOME}/local
make -j2
make install
perl module XML::Parser
cpan
cpan> o conf makepl_arg "PREFIX=$ENV{HOME}/local EXPATLIBPATH=/home/vagrant/local/lib EXPATINCPATH=/home/vagrant/local/include"
cpan> install XML::Parser
intltool depends on perl, perl module XML::Parser
export PERL5LIB=/home/vagrant/local/lib/perl5/site_perl/5.18.0/
cd ${HOME}/local/src
wget http://ftp.gnome.org/pub/GNOME/sources/intltool/0.40/intltool-0.40.6.tar.gz
tar xvf intltool-0.40.6.tar.gz
cd intltool-0.40.6
env PKG_CONFIG_PATH=${HOME}/local/lib/pkgconfig:${HOME}/local/share/pkgconfig LDFLAGS="-L/home/vagrant/local/lib" CPPFLAGS="-I/home/vagrant/local/include" ./configure --prefix=${HOME}/local
make -j2
make install
bonobo-activation
cd ${HOME}/local/src
wget http://ftp.gnome.org/pub/GNOME/sources/bonobo-activation/2.4/bonobo-activation-2.4.0.tar.gz
tar xvf bonobo-activation-2.4.0.tar.gz
cd bonobo-activation-2.4.0
env PKG_CONFIG_PATH=${HOME}/local/lib/pkgconfig:${HOME}/local/share/pkgconfig LDFLAGS="-L/home/vagrant/local/lib" CPPFLAGS="-I/home/vagrant/local/include" ./configure --prefix=${HOME}/local
make -j2
make install
flex
cd ${HOME}/local/src
wget http://downloads.sourceforge.net/project/flex/flex-2.5.39.tar.bz2
tar xvf flex-2.5.39.tar.bz2
cd flex-2.5.39
env PKG_CONFIG_PATH=${HOME}/local/lib/pkgconfig:${HOME}/local/share/pkgconfig LDFLAGS="-L/home/vagrant/local/lib" CPPFLAGS="-I/home/vagrant/local/include" ./configure --prefix=${HOME}/local
make -j2
make install
bison
cd ${HOME}/local/src
wget http://ftp.gnu.org/gnu/bison/bison-3.0.tar.gz
tar xvf bison-3.0.tar.gz
cd bison-3.0
env PKG_CONFIG_PATH=${HOME}/local/lib/pkgconfig:${HOME}/local/share/pkgconfig LDFLAGS="-L/home/vagrant/local/lib" CPPFLAGS="-I/home/vagrant/local/include" ./configure --prefix=${HOME}/local
make -j2
make install
libIDL-2.0 depends on bison
cd ${HOME}/local/src
wget http://ftp.gnome.org/pub/GNOME/sources/libIDL/0.8/libIDL-0.8.14.tar.gz
tar xvf libIDL-0.8.14.tar.gz
cd libIDL-0.8.14
env PKG_CONFIG_PATH=${HOME}/local/lib/pkgconfig:${HOME}/local/share/pkgconfig LDFLAGS="-L/home/vagrant/local/lib" CPPFLAGS="-I/home/vagrant/local/include" ./configure --prefix=${HOME}/local
make -j2
make install
ORBit2 depends on libIDL-2.0
cd ${HOME}/local/src
wget http://ftp.gnome.org/pub/GNOME/sources/ORBit2/2.14/ORBit2-2.14.19.tar.gz
tar xvf ORBit2-2.14.19.tar.gz
cd ORBit2-2.14.19
env PKG_CONFIG_PATH=${HOME}/local/lib/pkgconfig:${HOME}/local/share/pkgconfig LDFLAGS="-L/home/vagrant/local/lib" CPPFLAGS="-I/home/vagrant/local/include" ./configure --prefix=${HOME}/local --with-gnu-ld=yes
make -j2
make install
libbonobo depends on flex, ORBit2
cd ${HOME}/local/src
wget http://ftp.gnome.org/pub/GNOME/sources/libbonobo/2.6/libbonobo-2.6.0.tar.bz2
tar xvf libbonobo-2.6.0.tar.bz2
cd libbonobo-2.6.0
env PKG_CONFIG_PATH=${HOME}/local/lib/pkgconfig:${HOME}/local/share/pkgconfig LDFLAGS="-L/home/vagrant/local/lib" CPPFLAGS="-I/home/vagrant/local/include" ./configure --prefix=${HOME}/local
make -j2
make install
at-spi depends on intltool, libbonobo, atk
cd ${HOME}/local/src
wget http://ftp.gnome.org/pub/GNOME/sources/at-spi/1.32/at-spi-1.32.0.tar.gz
tar xvf at-spi-1.32.0.tar.gz
cd at-spi-1.32.0
env PKG_CONFIG_PATH=${HOME}/local/lib/pkgconfig:${HOME}/local/share/pkgconfig LDFLAGS="-L/home/vagrant/local/lib" CPPFLAGS="-I/home/vagrant/local/include" ./configure --prefix=${HOME}/local
make -j2
make install
at-spi2-atk depends on dbus, at-spi2
cd ${HOME}/local/src
wget http://ftp.gnome.org/pub/GNOME/sources/at-spi2-atk/2.12/at-spi2-atk-2.12.0.tar.xz
xz -dc at-spi2-atk-2.12.0.tar.xz | tar xvf -
cd at-spi2-atk-2.12.0
env PKG_CONFIG_PATH=${HOME}/local/lib/pkgconfig:${HOME}/local/share/pkgconfig LD_LIBRARY_PATH=/home/vagrant/local/lib ./configure --prefix=${HOME}/local
make -j2
make install
====================================
pango
wget http://ftp.acc.umu.se/pub/GNOME/sources/pango/1.36/pango-1.36.3.tar.xz
xz -dc pango-1.36.3.tar.xz | tar xvf -
./configure --prefix=${HOME}/local PKG_CONFIG_PATH=${HOME}/local/lib/pkgconfig:${HOME}/local/share/pkgconfig LDFLAGS="-L/home/vagrant/local/lib" CPPFLAGS="-I/home/vagrant/local/include"
make -j2
make install
cairo
wget http://cairographics.org/releases/cairo-1.12.16.tar.xz
xz -dc cairo-1.12.16.tar.xz | tar xvf -
env PKG_CONFIG_PATH=${HOME}/local/lib/pkgconfig:${HOME}/local/share/pkgconfig ./configure --prefix=${HOME}/local --enable-xlib=yes
make -j2
make install
libpng
wget http://downloads.sourceforge.net/project/libpng/libpng16/1.6.10/libpng-1.6.10.tar.gz
tar xvf libpng-1.6.10.tar.gz
./configure --prefix=${HOME}/local
pixman
wget http://cairographics.org/releases/pixman-0.32.4.tar.gz
./configure --prefix=${HOME}/local
make -j2
make install
harfbuzz (--with-coretext)
wget http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-0.9.27.tar.bz2
env PKG_CONFIG_PATH=${HOME}/local/lib/pkgconfig:${HOME}/local/share/pkgconfig ./configure --prefix=${HOME}/local --with-glib=yes --with-freetype=yes --with-coretext=yes
env PKG_CONFIG_PATH=${HOME}/local/lib/pkgconfig:${HOME}/local/share/pkgconfig ./configure --prefix=${HOME}/local --with-glib=yes --with-freetype=yes
make -j8
make install
expat
wget http://downloads.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz
./configure --prefix=${HOME}/local
fontconfig
wget http://www.freedesktop.org/software/fontconfig/release/fontconfig-2.11.1.tar.gz
env PKG_CONFIG_PATH=${HOME}/local/lib/pkgconfig:${HOME}/local/share/pkgconfig ./configure --prefix=${HOME}/local
make -j2
make install
freetypes
wget http://downloads.sourceforge.net/project/freetype/freetype2/2.5.3/freetype-2.5.3.tar.bz2
env PKG_CONFIG_PATH=${HOME}/local/lib/pkgconfig:${HOME}/local/share/pkgconfig ./configure --prefix=${HOME}/local
make -j2
make install
====================================
====================================
tiff
wget http://download.osgeo.org/libtiff/tiff-4.0.3.tar.gz
tar xvf tiff-4.0.3.tar.gz
./configure --prefix=${HOME}/local
make -j2
make install
libtool
wget http://ftpmirror.gnu.org/libtool/libtool-2.4.2.tar.gz
tar xvf libtool-2.4.2.tar.gz
./configure --prefix=${HOME}/local
make -j2
make install
libjpeg
wget http://downloads.sourceforge.net/project/libjpeg/libjpeg/6b/jpegsrc.v6b.tar.gz
tar xvf jpegsrc.v6b.tar.gz
./configure --prefix=${HOME}/local --enable-shared
make -j2 LIBTOOL=libtool
mkdir -p /home/vagrant/local/man/man1
make install LIBTOOL=libtool
gdk-pixbuf
wget http://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/2.30/gdk-pixbuf-2.30.7.tar.xz
xz -dc gdk-pixbuf-2.30.7.tar.xz | tar xvf -
export LD_LIBRARY_PATH=/home/vagrant/local/lib
./configure --prefix=${HOME}/local PKG_CONFIG_PATH=${HOME}/local/lib/pkgconfig:${HOME}/local/share/pkgconfig LDFLAGS="-L/home/vagrant/local/lib" CPPFLAGS="-I/home/vagrant/local/include"
make -j8
make install
====================================
libXft
wget http://www.x.org/releases/X11R7.7/src/everything/libXft-2.3.1.tar.gz
tar xvf libXft-2.3.1.tar.gz
ln -s /home/vagrant/local/include/freetype2/ /home/vagrant/local/include/freetype
./configure --prefix=${HOME}/local PKG_CONFIG_PATH=${HOME}/local/lib/pkgconfig:${HOME}/local/share/pkgconfig LDFLAGS="-L/home/vagrant/local/lib" CPPFLAGS="-I/home/vagrant/local/include"
libXrender
wget http://www.x.org/releases/X11R7.7/src/everything/libXrender-0.9.7.tar.gz
tar xvf libXrender-0.9.7.tar.gz
libxml2
wget http://xmlsoft.org/sources/libxml2-2.8.0.tar.gz
tar xvf libxml2-2.8.0.tar.gz
./configure --prefix=${HOME}/local PKG_CONFIG_PATH=${HOME}/local/lib/pkgconfig:${HOME}/local/share/pkgconfig LDFLAGS="-L/home/vagrant/local/lib -fPIC" CPPFLAGS="-I/home/vagrant/local/include"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment