wok diff gtk+/receipt @ rev 806

Up: slitaz-boot-scripts (2.3) - Improved wifi and misc fixes
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 16 01:13:08 2008 +0200 (2008-05-16)
parents 2cce67662331
children 8ac8ce140f78
line diff
     1.1 --- a/gtk+/receipt	Sat Mar 08 22:49:00 2008 +0100
     1.2 +++ b/gtk+/receipt	Fri May 16 01:13:08 2008 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gtk+"
     1.7 -VERSION="2.8.20"
     1.8 +VERSION="2.12.6"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="The GIMP Toolkit."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -10,15 +10,19 @@
    1.13               pkg-config xorg-dev xorg-dev-proto fontconfig-dev freetype-dev"
    1.14  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15  WEB_SITE="http://www.gtk.org/"
    1.16 -WGET_URL="ftp://ftp.gtk.org/pub/gtk/v2.8/$TARBALL"
    1.17 +WGET_URL="ftp://ftp.gtk.org/pub/gtk/2.12/$TARBALL"
    1.18 +
    1.19  
    1.20  # Rules to configure and make the package.
    1.21  compile_rules()
    1.22  {
    1.23      cd $src
    1.24 -    ./configure --prefix=/usr --sysconfdir=/etc \
    1.25 -    --mandir=/usr/share/man --with-html-dir=/usr/share/doc \
    1.26 -    $CONFIGURE_ARGS
    1.27 +    ./configure \
    1.28 +    	--prefix=/usr \
    1.29 +    	--sysconfdir=/etc \
    1.30 +    	--mandir=/usr/share/man \
    1.31 +    	--with-html-dir=/usr/share/doc \
    1.32 +    	$CONFIGURE_ARGS
    1.33      make
    1.34      make DESTDIR=$PWD/_pkg install
    1.35  }
    1.36 @@ -26,15 +30,14 @@
    1.37  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.38  genpkg_rules()
    1.39  {
    1.40 -	mkdir -p $fs/usr/lib/gtk-2.0 $fs/usr/share/locale $fs/usr/bin
    1.41 +	mkdir -p $fs/usr/lib/gtk-2.0 $fs/usr/share $fs/usr/bin
    1.42  	
    1.43  	# Libs.
    1.44      cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.45 -    cp -a $_pkg/usr/lib/gtk-2.0/2.4.0 $fs/usr/lib/gtk-2.0
    1.46 -    rm -rf $fs/usr/lib/gtk-2.0/2.4.0/*/*.la
    1.47 +    cp -a $_pkg/usr/lib/gtk-2.0/2.10.0 $fs/usr/lib/gtk-2.0
    1.48 +    rm -rf $fs/usr/lib/gtk-2.0/2.10.0/*/*.la
    1.49      
    1.50 -    # Locale.
    1.51 -    cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    1.52 +    # Themes
    1.53      cp -a $_pkg/usr/share/themes $fs/usr/share
    1.54      
    1.55      # Apps.
    1.56 @@ -47,11 +50,6 @@
    1.57      mkdir -p $fs/etc/gtk-2.0
    1.58      gtk-query-immodules-2.0 > $fs/etc/gtk-2.0/gtk.immodules
    1.59      gdk-pixbuf-query-loaders > $fs/etc/gtk-2.0/gdk-pixbuf.loaders
    1.60 -    
    1.61 -    # Strip all files.
    1.62 -    strip --strip-all $fs/usr/bin/*
    1.63 -    strip --strip-unneeded $fs/usr/lib/*.so*
    1.64 -    strip --strip-unneeded $fs/usr/lib/gtk-2.0/2.4.0/*/*
    1.65  }
    1.66  
    1.67  # Pre and post install commands for Tazpkg.
    1.68 @@ -62,5 +60,7 @@
    1.69      echo "Processing post-install commands..."
    1.70      /usr/bin/gtk-query-immodules-2.0 > $root/etc/gtk-2.0/gtk.immodules
    1.71      /usr/bin/gdk-pixbuf-query-loaders > $root/etc/gtk-2.0/gdk-pixbuf.loaders
    1.72 +    # Force reinstall of clearlooks them
    1.73 +    tazpkg get-install clearlooks --forced
    1.74  }
    1.75  SELF_INSTALL=1