wok-current diff gtk+/receipt @ rev 836

Up: gtk+ (2.12.9)
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 18 13:37:54 2008 +0200 (2008-05-18)
parents d5e75812e704
children b13637d77d33
line diff
     1.1 --- a/gtk+/receipt	Sat Apr 12 17:37:29 2008 +0200
     1.2 +++ b/gtk+/receipt	Sun May 18 13:37:54 2008 +0200
     1.3 @@ -1,17 +1,17 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gtk+"
     1.7 -VERSION="2.12.6"
     1.8 +VERSION="2.12.9"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="The GIMP Toolkit."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  DEPENDS="cairo glib pango atk libpng jpeg fontconfig freetype"
    1.13 -BUILD_DEPENDS="cairo-dev glib-dev pango-dev atk-dev libpng-dev jpeg-dev 
    1.14 -             pkg-config xorg-dev xorg-dev-proto fontconfig-dev freetype-dev"
    1.15 +BUILD_DEPENDS="cairo-dev glib-dev pango-dev atk-dev libpng-dev jpeg-dev
    1.16 +             pkg-config xorg-dev xorg-dev-proto fontconfig-dev
    1.17 +             freetype-dev"
    1.18  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.19  WEB_SITE="http://www.gtk.org/"
    1.20 -WGET_URL="ftp://ftp.gtk.org/pub/gtk/2.12/$TARBALL"
    1.21 -
    1.22 +WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.12/$TARBALL"
    1.23  
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26 @@ -31,21 +31,21 @@
    1.27  genpkg_rules()
    1.28  {
    1.29  	mkdir -p $fs/usr/lib/gtk-2.0 $fs/usr/share $fs/usr/bin
    1.30 -	
    1.31 +
    1.32  	# Libs.
    1.33      cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.34      cp -a $_pkg/usr/lib/gtk-2.0/2.10.0 $fs/usr/lib/gtk-2.0
    1.35      rm -rf $fs/usr/lib/gtk-2.0/2.10.0/*/*.la
    1.36 -    
    1.37 +
    1.38      # Themes
    1.39      cp -a $_pkg/usr/share/themes $fs/usr/share
    1.40 -    
    1.41 +
    1.42      # Apps.
    1.43      cp  $_pkg/usr/bin/gtk-query-immodules-2.0 $fs/usr/bin
    1.44      cp  $_pkg/usr/bin/gtk-update-icon-cache $fs/usr/bin
    1.45      cp  $_pkg/usr/bin/gdk-pixbuf-csource $fs/usr/bin
    1.46      cp  $_pkg/usr/bin/gdk-pixbuf-query-loaders $fs/usr/bin
    1.47 -    
    1.48 +
    1.49      # Config files.
    1.50      mkdir -p $fs/etc/gtk-2.0
    1.51      gtk-query-immodules-2.0 > $fs/etc/gtk-2.0/gtk.immodules
    1.52 @@ -60,7 +60,11 @@
    1.53      echo "Processing post-install commands..."
    1.54      /usr/bin/gtk-query-immodules-2.0 > $root/etc/gtk-2.0/gtk.immodules
    1.55      /usr/bin/gdk-pixbuf-query-loaders > $root/etc/gtk-2.0/gdk-pixbuf.loaders
    1.56 -    # Force reinstall of clearlooks them
    1.57 -    tazpkg get-install clearlooks --forced
    1.58 +    # Force reinstall of clearlooks theme (1.0 compatibilty until
    1.59 +    # clearlooks are updated)
    1.60 +    if [ -d $root/usr/lib/gtk-2.0/2.4.0 ]; then
    1.61 +    	tazpkg get-install clearlooks --forced
    1.62 +    	rm -rf $root/usr/lib/gtk-2.0/2.4.0
    1.63 +    fi
    1.64  }
    1.65  SELF_INSTALL=1