wok-next 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 0c1ee5f041b9
children d9b115e6e229
files gtk+-demo/receipt gtk+-dev/receipt gtk+/receipt
line diff
     1.1 --- a/gtk+-demo/receipt	Sun May 18 13:37:01 2008 +0200
     1.2 +++ b/gtk+-demo/receipt	Sun May 18 13:37:54 2008 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gtk+-demo"
     1.7 -VERSION="2.12.6"
     1.8 +VERSION="2.12.9"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="The GIMP Toolkit example code and demo."
    1.11  MAINTAINER="pankso@slitaz.org"
     2.1 --- a/gtk+-dev/receipt	Sun May 18 13:37:01 2008 +0200
     2.2 +++ b/gtk+-dev/receipt	Sun May 18 13:37:54 2008 +0200
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="gtk+-dev"
     2.7 -VERSION="2.12.6"
     2.8 +VERSION="2.12.9"
     2.9  CATEGORY="development"
    2.10  SHORT_DESC="The GIMP Toolkit."
    2.11  MAINTAINER="pankso@slitaz.org"
     3.1 --- a/gtk+/receipt	Sun May 18 13:37:01 2008 +0200
     3.2 +++ b/gtk+/receipt	Sun May 18 13:37:54 2008 +0200
     3.3 @@ -1,17 +1,17 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="gtk+"
     3.7 -VERSION="2.12.6"
     3.8 +VERSION="2.12.9"
     3.9  CATEGORY="x-window"
    3.10  SHORT_DESC="The GIMP Toolkit."
    3.11  MAINTAINER="pankso@slitaz.org"
    3.12  DEPENDS="cairo glib pango atk libpng jpeg fontconfig freetype"
    3.13 -BUILD_DEPENDS="cairo-dev glib-dev pango-dev atk-dev libpng-dev jpeg-dev 
    3.14 -             pkg-config xorg-dev xorg-dev-proto fontconfig-dev freetype-dev"
    3.15 +BUILD_DEPENDS="cairo-dev glib-dev pango-dev atk-dev libpng-dev jpeg-dev
    3.16 +             pkg-config xorg-dev xorg-dev-proto fontconfig-dev
    3.17 +             freetype-dev"
    3.18  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    3.19  WEB_SITE="http://www.gtk.org/"
    3.20 -WGET_URL="ftp://ftp.gtk.org/pub/gtk/2.12/$TARBALL"
    3.21 -
    3.22 +WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.12/$TARBALL"
    3.23  
    3.24  # Rules to configure and make the package.
    3.25  compile_rules()
    3.26 @@ -31,21 +31,21 @@
    3.27  genpkg_rules()
    3.28  {
    3.29  	mkdir -p $fs/usr/lib/gtk-2.0 $fs/usr/share $fs/usr/bin
    3.30 -	
    3.31 +
    3.32  	# Libs.
    3.33      cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    3.34      cp -a $_pkg/usr/lib/gtk-2.0/2.10.0 $fs/usr/lib/gtk-2.0
    3.35      rm -rf $fs/usr/lib/gtk-2.0/2.10.0/*/*.la
    3.36 -    
    3.37 +
    3.38      # Themes
    3.39      cp -a $_pkg/usr/share/themes $fs/usr/share
    3.40 -    
    3.41 +
    3.42      # Apps.
    3.43      cp  $_pkg/usr/bin/gtk-query-immodules-2.0 $fs/usr/bin
    3.44      cp  $_pkg/usr/bin/gtk-update-icon-cache $fs/usr/bin
    3.45      cp  $_pkg/usr/bin/gdk-pixbuf-csource $fs/usr/bin
    3.46      cp  $_pkg/usr/bin/gdk-pixbuf-query-loaders $fs/usr/bin
    3.47 -    
    3.48 +
    3.49      # Config files.
    3.50      mkdir -p $fs/etc/gtk-2.0
    3.51      gtk-query-immodules-2.0 > $fs/etc/gtk-2.0/gtk.immodules
    3.52 @@ -60,7 +60,11 @@
    3.53      echo "Processing post-install commands..."
    3.54      /usr/bin/gtk-query-immodules-2.0 > $root/etc/gtk-2.0/gtk.immodules
    3.55      /usr/bin/gdk-pixbuf-query-loaders > $root/etc/gtk-2.0/gdk-pixbuf.loaders
    3.56 -    # Force reinstall of clearlooks them
    3.57 -    tazpkg get-install clearlooks --forced
    3.58 +    # Force reinstall of clearlooks theme (1.0 compatibilty until
    3.59 +    # clearlooks are updated)
    3.60 +    if [ -d $root/usr/lib/gtk-2.0/2.4.0 ]; then
    3.61 +    	tazpkg get-install clearlooks --forced
    3.62 +    	rm -rf $root/usr/lib/gtk-2.0/2.4.0
    3.63 +    fi
    3.64  }
    3.65  SELF_INSTALL=1