Difference between revisions of "Gtk1"
From CBLFS
Jump to navigationJump to searchWeibullguy (talk | contribs) m |
|||
(7 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | ftp://ftp.gtk.org/pub/gtk/ | + | | ftp://ftp.gtk.org/pub/gtk/v{{Gtk1-Version2}}/gtk+-{{Gtk1-Version}}.tar.gz |
|- | |- | ||
!Required Patch: | !Required Patch: | ||
− | | http://svn.cross-lfs.org/svn/repos/patches/gtk+/gtk+- | + | | http://svn.cross-lfs.org/svn/repos/patches/gtk+/gtk+-{{Gtk1-Version}}-config_update-1.patch |
|- | |- | ||
!Required Patch: | !Required Patch: | ||
− | | http://svn.cross-lfs.org/svn/repos/patches/gtk+/gtk+- | + | | http://svn.cross-lfs.org/svn/repos/patches/gtk+/gtk+-{{Gtk1-Version}}-fixes-1.patch |
|} | |} | ||
---- | ---- | ||
+ | |||
+ | {{Package-Introduction|The Gtk1 package contains version 1 of the GTK+ libraries. GTK+ is a multi-platform toolkit for creating graphical user interfaces. It is the GUI toolkit that [[Gnome]] uses. While the current version of [[Gnome]] - [[Gnome]] 2 - is based on [[Gtk2]], there are still a number of packages that use the Gtk1 version of GTK+.|http://www.gtk.org/}} | ||
== Dependencies == | == Dependencies == | ||
Line 23: | Line 25: | ||
Compile the package: | Compile the package: | ||
− | patch -Np1 -i ../gtk+- | + | patch -Np1 -i ../gtk+-{{Gtk1-Version}}-config_update-1.patch && |
− | patch -Np1 -i ../gtk+- | + | patch -Np1 -i ../gtk+-{{Gtk1-Version}}-fixes-1.patch && |
− | ./configure --prefix=/usr --sysconfdir=/etc | + | ./configure --prefix=/usr --sysconfdir=/etc && |
− | |||
make | make | ||
Line 32: | Line 33: | ||
make install && | make install && | ||
− | install -v -m755 -d /usr/share/doc/gtk+- | + | install -v -m755 -d /usr/share/doc/gtk+-{{Gtk1-Version}}/{html,text} && |
− | install -v -m644 docs/html/* /usr/share/doc/gtk+- | + | install -v -m644 docs/html/* /usr/share/doc/gtk+-{{Gtk1-Version}}/html && |
− | install -v -m644 docs/text/* /usr/share/doc/gtk+- | + | install -v -m644 docs/text/* /usr/share/doc/gtk+-{{Gtk1-Version}}/text |
== Multilib == | == Multilib == | ||
Line 42: | Line 43: | ||
Compile the package: | Compile the package: | ||
− | patch -Np1 -i ../gtk+- | + | patch -Np1 -i ../gtk+-{{Gtk1-Version}}-config_update-1.patch && |
− | patch -Np1 -i ../gtk+- | + | patch -Np1 -i ../gtk+-{{Gtk1-Version}}-fixes-1.patch && |
− | CC="gcc ${BUILD32}" ./configure --prefix=/usr --sysconfdir=/etc \ | + | CC="gcc ${BUILD32}" USE_ARCH=32 PKG_CONFIG_PATH=${PKG_CONFIG_PATH32} \ |
− | -- | + | ./configure --prefix=/usr --sysconfdir=/etc \ |
+ | --x-libraries=${XORG_PREFIX}/lib && | ||
make | make | ||
Line 57: | Line 59: | ||
Compile the package: | Compile the package: | ||
− | patch -Np1 -i ../gtk+- | + | patch -Np1 -i ../gtk+-{{Gtk1-Version}}-config_update-1.patch && |
− | patch -Np1 -i ../gtk+- | + | patch -Np1 -i ../gtk+-{{Gtk1-Version}}-fixes-1.patch && |
− | CC="gcc ${BUILDN32}" ./configure --prefix=/usr --sysconfdir=/etc \ | + | CC="gcc ${BUILDN32}" USE_ARCH=n32 PKG_CONFIG_PATH=${PKG_CONFIG_PATHN32} \ |
− | --libdir=/usr/lib32 -- | + | ./configure --prefix=/usr --sysconfdir=/etc \ |
+ | --libdir=/usr/lib32 --x-libraries=${XORG_PREFIX}/lib32 && | ||
make | make | ||
Line 72: | Line 75: | ||
Compile the package: | Compile the package: | ||
− | patch -Np1 -i ../gtk+- | + | patch -Np1 -i ../gtk+-{{Gtk1-Version}}-config_update-1.patch && |
− | patch -Np1 -i ../gtk+- | + | patch -Np1 -i ../gtk+-{{Gtk1-Version}}-fixes-1.patch && |
− | CC="gcc ${BUILD64}" ./configure --prefix=/usr --sysconfdir=/etc \ | + | CC="gcc ${BUILD64}" USE_ARCH=64 PKG_CONFIG_PATH=${PKG_CONFIG_PATH64} \ |
− | --libdir=/usr/lib64 -- | + | ./configure --prefix=/usr --sysconfdir=/etc \ |
+ | --libdir=/usr/lib64 --x-libraries=${XORG_PREFIX}/lib64 && | ||
make | make | ||
Line 83: | Line 87: | ||
mv -v /usr/bin/gtk-config{,-64} && | mv -v /usr/bin/gtk-config{,-64} && | ||
ln -sfv multiarch_wrapper /usr/bin/gtk-config && | ln -sfv multiarch_wrapper /usr/bin/gtk-config && | ||
− | install -v -m755 -d /usr/share/doc/gtk+- | + | install -v -m755 -d /usr/share/doc/gtk+-{{Gtk1-Version}}/{html,text} && |
− | install -v -m644 docs/html/* /usr/share/doc/gtk+- | + | install -v -m644 docs/html/* /usr/share/doc/gtk+-{{Gtk1-Version}}/html && |
− | install -v -m644 docs/text/* /usr/share/doc/gtk+- | + | install -v -m644 docs/text/* /usr/share/doc/gtk+-{{Gtk1-Version}}/text |
+ | |||
+ | [[Category:X Libs]] |
Latest revision as of 07:19, 12 April 2009
Download Source: | ftp://ftp.gtk.org/pub/gtk/v1.2/gtk+-1.2.10.tar.gz |
---|---|
Required Patch: | http://svn.cross-lfs.org/svn/repos/patches/gtk+/gtk+-1.2.10-config_update-1.patch |
Required Patch: | http://svn.cross-lfs.org/svn/repos/patches/gtk+/gtk+-1.2.10-fixes-1.patch |
Contents
Introduction to Gtk1
The Gtk1 package contains version 1 of the GTK+ libraries. GTK+ is a multi-platform toolkit for creating graphical user interfaces. It is the GUI toolkit that Gnome uses. While the current version of Gnome - Gnome 2 - is based on Gtk2, there are still a number of packages that use the Gtk1 version of GTK+.
Project Homepage: http://www.gtk.org/
Dependencies
Required
Non-Multilib
Compile the package:
patch -Np1 -i ../gtk+-1.2.10-config_update-1.patch && patch -Np1 -i ../gtk+-1.2.10-fixes-1.patch && ./configure --prefix=/usr --sysconfdir=/etc && make
Install the package
make install && install -v -m755 -d /usr/share/doc/gtk+-1.2.10/{html,text} && install -v -m644 docs/html/* /usr/share/doc/gtk+-1.2.10/html && install -v -m644 docs/text/* /usr/share/doc/gtk+-1.2.10/text
Multilib
32Bit
Compile the package:
patch -Np1 -i ../gtk+-1.2.10-config_update-1.patch && patch -Np1 -i ../gtk+-1.2.10-fixes-1.patch && CC="gcc ${BUILD32}" USE_ARCH=32 PKG_CONFIG_PATH=${PKG_CONFIG_PATH32} \ ./configure --prefix=/usr --sysconfdir=/etc \ --x-libraries=${XORG_PREFIX}/lib && make
Install the package
make install && mv -v /usr/bin/gtk-config{,-32}
N32
Compile the package:
patch -Np1 -i ../gtk+-1.2.10-config_update-1.patch && patch -Np1 -i ../gtk+-1.2.10-fixes-1.patch && CC="gcc ${BUILDN32}" USE_ARCH=n32 PKG_CONFIG_PATH=${PKG_CONFIG_PATHN32} \ ./configure --prefix=/usr --sysconfdir=/etc \ --libdir=/usr/lib32 --x-libraries=${XORG_PREFIX}/lib32 && make
Install the package
make install && mv -v /usr/bin/gtk-config{,-n32}
64Bit
Compile the package:
patch -Np1 -i ../gtk+-1.2.10-config_update-1.patch && patch -Np1 -i ../gtk+-1.2.10-fixes-1.patch && CC="gcc ${BUILD64}" USE_ARCH=64 PKG_CONFIG_PATH=${PKG_CONFIG_PATH64} \ ./configure --prefix=/usr --sysconfdir=/etc \ --libdir=/usr/lib64 --x-libraries=${XORG_PREFIX}/lib64 && make
Install the package
make install && mv -v /usr/bin/gtk-config{,-64} && ln -sfv multiarch_wrapper /usr/bin/gtk-config && install -v -m755 -d /usr/share/doc/gtk+-1.2.10/{html,text} && install -v -m644 docs/html/* /usr/share/doc/gtk+-1.2.10/html && install -v -m644 docs/text/* /usr/share/doc/gtk+-1.2.10/text