Difference between revisions of "Gtk2"

From CBLFS
Jump to navigationJump to search
(64Bit)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| ftp://ftp.gtk.org/pub/gtk/v2.10/gtk+-2.10.3.tar.bz2
+
| ftp://ftp.gtk.org/pub/gtk/v2.10/gtk+-2.10.4.tar.bz2
 
|-
 
|-
 
!Required Patch (For Multilib):
 
!Required Patch (For Multilib):
| http://svn.cross-lfs.org/svn/repos/patches/gtk+/gtk+-2.10.3-multilib-1.patch
+
| http://svn.cross-lfs.org/svn/repos/patches/gtk+/gtk+-2.10.4-multilib-1.patch
 
|}
 
|}
  
Line 34: Line 34:
  
 
  make install &&
 
  make install &&
  install -v -m755 -d /usr/share/doc/gtk+-2.10.3/{faq,tutorial} &&
+
  install -v -m755 -d /usr/share/doc/gtk+-2.10.4/{faq,tutorial} &&
  cp -v -R docs/faq/html/* /usr/share/doc/gtk+-2.10.3/faq &&
+
  cp -v -R docs/faq/html/* /usr/share/doc/gtk+-2.10.4/faq &&
  cp -v -R docs/tutorial/html/* /usr/share/doc/gtk+-2.10.3/tutorial
+
  cp -v -R docs/tutorial/html/* /usr/share/doc/gtk+-2.10.4/tutorial
  
 
== Multilib ==
 
== Multilib ==
Line 44: Line 44:
 
The following commands make Gtk put it's configuration information in /etc/gtk-2.0-32:
 
The following commands make Gtk put it's configuration information in /etc/gtk-2.0-32:
  
  patch -Np1 -i ../gtk+-2.10.3-multilib-1.patch &&
+
  patch -Np1 -i ../gtk+-2.10.4-multilib-1.patch &&
 
  sed -i "s/BUILDENV/32/" gdk-pixbuf/gdk-pixbuf-io.c \
 
  sed -i "s/BUILDENV/32/" gdk-pixbuf/gdk-pixbuf-io.c \
 
     gdk-pixbuf/Makefile.am gdk-pixbuf/Makefile.in \
 
     gdk-pixbuf/Makefile.am gdk-pixbuf/Makefile.in \
Line 64: Line 64:
 
The following commands make Gtk put it's configuration information in /etc/gtk-2.0-n32:
 
The following commands make Gtk put it's configuration information in /etc/gtk-2.0-n32:
  
  patch -Np1 -i ../gtk+-2.10.3-multilib-1.patch &&
+
  patch -Np1 -i ../gtk+-2.10.4-multilib-1.patch &&
 
  sed -i "s/BUILDENV/n32/" gdk-pixbuf/gdk-pixbuf-io.c \
 
  sed -i "s/BUILDENV/n32/" gdk-pixbuf/gdk-pixbuf-io.c \
 
     gdk-pixbuf/Makefile.am gdk-pixbuf/Makefile.in \
 
     gdk-pixbuf/Makefile.am gdk-pixbuf/Makefile.in \
Line 85: Line 85:
 
The following commands make Gtk put it's configuration information in /etc/gtk-2.0-64:
 
The following commands make Gtk put it's configuration information in /etc/gtk-2.0-64:
  
  patch -Np1 -i ../gtk+-2.10.3-multilib-1.patch &&
+
  patch -Np1 -i ../gtk+-2.10.4-multilib-1.patch &&
 
  sed -i "s/BUILDENV/64/" gdk-pixbuf/gdk-pixbuf-io.c \
 
  sed -i "s/BUILDENV/64/" gdk-pixbuf/gdk-pixbuf-io.c \
 
     gdk-pixbuf/Makefile.am gdk-pixbuf/Makefile.in \
 
     gdk-pixbuf/Makefile.am gdk-pixbuf/Makefile.in \
Line 101: Line 101:
  
 
  make install &&
 
  make install &&
  install -v -m755 -d /usr/share/doc/gtk+-2.10.3/{faq,tutorial} &&
+
  install -v -m755 -d /usr/share/doc/gtk+-2.10.4/{faq,tutorial} &&
  cp -v -R docs/faq/html/* /usr/share/doc/gtk+-2.10.3/faq &&
+
  cp -v -R docs/faq/html/* /usr/share/doc/gtk+-2.10.4/faq &&
  cp -v -R docs/tutorial/html/* /usr/share/doc/gtk+-2.10.3/tutorial
+
  cp -v -R docs/tutorial/html/* /usr/share/doc/gtk+-2.10.4/tutorial

Revision as of 13:15, 3 October 2006

Download Source: ftp://ftp.gtk.org/pub/gtk/v2.10/gtk+-2.10.4.tar.bz2
Required Patch (For Multilib): http://svn.cross-lfs.org/svn/repos/patches/gtk+/gtk+-2.10.4-multilib-1.patch

Dependencies

Required

Reccomended

Optional

Non-Multilib

Compile the package:

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

Install the package

make install &&
install -v -m755 -d /usr/share/doc/gtk+-2.10.4/{faq,tutorial} &&
cp -v -R docs/faq/html/* /usr/share/doc/gtk+-2.10.4/faq &&
cp -v -R docs/tutorial/html/* /usr/share/doc/gtk+-2.10.4/tutorial

Multilib

32Bit

The following commands make Gtk put it's configuration information in /etc/gtk-2.0-32:

patch -Np1 -i ../gtk+-2.10.4-multilib-1.patch &&
sed -i "s/BUILDENV/32/" gdk-pixbuf/gdk-pixbuf-io.c \
    gdk-pixbuf/Makefile.am gdk-pixbuf/Makefile.in \
    modules/input/Makefile.am modules/input/Makefile.in \
    gtk/gtkrc.c

Compile the package:

CC="gcc ${BUILD32}" PKG_CONFIG_PATH=$PKG_CONFIG_PATH32 \
    ./configure --prefix=/usr --sysconfdir=/etc &&
make

Install the package

make install

N32

The following commands make Gtk put it's configuration information in /etc/gtk-2.0-n32:

patch -Np1 -i ../gtk+-2.10.4-multilib-1.patch &&
sed -i "s/BUILDENV/n32/" gdk-pixbuf/gdk-pixbuf-io.c \
    gdk-pixbuf/Makefile.am gdk-pixbuf/Makefile.in \
    modules/input/Makefile.am modules/input/Makefile.in \
    gtk/gtkrc.c

Compile the package:

CC="gcc ${BUILDN32}" PKG_CONFIG_PATH=$PKG_CONFIG_PATHN32 \
    ./configure --prefix=/usr --libdir=/usr/lib32 \
    --sysconfdir=/etc &&
make

Install the package

make install

64Bit

The following commands make Gtk put it's configuration information in /etc/gtk-2.0-64:

patch -Np1 -i ../gtk+-2.10.4-multilib-1.patch &&
sed -i "s/BUILDENV/64/" gdk-pixbuf/gdk-pixbuf-io.c \
    gdk-pixbuf/Makefile.am gdk-pixbuf/Makefile.in \
    modules/input/Makefile.am modules/input/Makefile.in \
    gtk/gtkrc.c

Compile the package:

CC="gcc ${BUILD64}" PKG_CONFIG_PATH=$PKG_CONFIG_PATH64 \
    ./configure --prefix=/usr --libdir=/usr/lib64 \
    --sysconfdir=/etc &&
make

Install the package

make install &&
install -v -m755 -d /usr/share/doc/gtk+-2.10.4/{faq,tutorial} &&
cp -v -R docs/faq/html/* /usr/share/doc/gtk+-2.10.4/faq &&
cp -v -R docs/tutorial/html/* /usr/share/doc/gtk+-2.10.4/tutorial