Sonntag, 27. Juli 2014

Compiling Gtk+-2.0

Table of Content

Prerequisite

The only requirements are you did the steps in previous blog post Installing Dependencies. This page completes Gtk+ and its dependencies and is according to linuxfromscratch.org

libffi-3.0.13

No description

patch -Np1 -i ../libffi-3.0.13-includedir-1.patch &&
./configure --prefix=/usr --disable-static &&
make

expat-2.1.0

XML library.

./configure --prefix=/usr --disable-static &&
make
make install &&
install -v -m755 -d /usr/share/doc/expat-2.1.0 &&
install -v -m644 doc/*.{html,png,css} /usr/share/doc/expat-2.1.0

Python-2.7.6

The python scripting language interpreter.

./configure --prefix=/usr       \
            --enable-shared     \
            --with-system-expat \
            --with-system-ffi   \
            --enable-unicode=ucs4 &&
make
make install &&
chmod -v 755 /usr/lib/libpython2.7.so.1.0

glib-2.38.2

The glib type and object system.

./configure --prefix=/usr --with-pcre=system &&
make
make install

atk-2.10.0

The accessibelity toolkit.

./configure --prefix=/usr &&
make
make install

yasm-1.2.0

Yet another assembler.

sed -i 's#) ytasm.*#)#' Makefile.in &&
./configure --prefix=/usr &&
make
make install

libjpeg-turbo-1.3.0

Fast JPEG library.

./configure --prefix=/usr \
            --mandir=/usr/share/man \
            --with-jpeg8 \
            --disable-static &&
sed -i -e '/^docdir/ s/$/\/libjpeg-turbo-1.3.0/' \
       -e '/^exampledir/ s/$/\/libjpeg-turbo-1.3.0/' Makefile &&
make
make install

libpng-1.6.9

Portable Network Graphics supper seeded GIF format.

gzip -cd ../libpng-1.6.9-apng.patch.gz | patch -p1
./configure --prefix=/usr --disable-static &&
make
make install &&
mkdir -v /usr/share/doc/libpng-1.6.9 &&
cp -v README libpng-manual.txt /usr/share/doc/libpng-1.6.9

tiff-4.0.3

TIFF raster graphics.

sed -i '/glDrawPixels/a glFlush();' tools/tiffgt.c &&
./configure --prefix=/usr --disable-static &&
make
make install

pixman-0.32.4

No description.

./configure --prefix=/usr --disable-static &&
make
make install

cairo-1.12.16

Cairo vector graphics and 2D accelerated graphics functions.

./configure --prefix=/usr --disable-static &&
make
make install

icu4c-52_1

No description.

cd source &&
CXX=g++ ./configure --prefix=/usr &&
make
make install

which-2.20

Locate an application on filesystem.

./configure --prefix=/usr &&
make
make install

freetype-2.5.2

Freetype fonts.

tar -xf ../freetype-doc-2.5.2.tar.bz2 --strip-components=2 -C docs
sed -i  -e "/AUX.*.gxvalid/s@^# @@" \
        -e "/AUX.*.otvalid/s@^# @@" \
        modules.cfg                        &&

sed -ri -e 's:.*(#.*SUBPIXEL.*) .*:\1:' \
        include/config/ftoption.h          &&

./configure --prefix=/usr --disable-static &&
make
make install &&
install -v -m755 -d /usr/share/doc/freetype-2.5.2 &&
cp -v -R docs/*     /usr/share/doc/freetype-2.5.2

harfbuzz-0.9.26

No description.

./configure --prefix=/usr --with-gobject &&
make
make install

pango-1.36.2

Pango font rendering library.

./configure --prefix=/usr --sysconfdir=/etc &&
make
make install

gdk-pixbuf-2.30.4

Offscreen rendering library.

./configure --prefix=/usr --with-x11 &&
make
make install

hicolor-icon-theme-0.12

TrueColor icon theme.

./configure --prefix=/usr
make install

gtk+-2.24.22

Gtk+ widget library

sed -i 's#l \(gtk-.*\).sgml#& -o \1#' docs/{faq,tutorial}/Makefile.in &&
sed -i 's#.*@man_#man_#' docs/reference/gtk/Makefile.in               &&
sed -i -e 's#pltcheck.sh#$(NULL)#g' gtk/Makefile.in                   &&
./configure --prefix=/usr --sysconfdir=/etc                           &&
make
make install

Keine Kommentare:

Kommentar veröffentlichen