wok-6.x diff avant-window-navigator/receipt @ rev 19722

Up cgal (4.9)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 16 13:20:58 2017 +0100 (2017-02-16)
parents 0606c4356e47
children a78610b2eb47
line diff
     1.1 --- a/avant-window-navigator/receipt	Fri Dec 04 21:23:22 2015 +0100
     1.2 +++ b/avant-window-navigator/receipt	Thu Feb 16 13:20:58 2017 +0100
     1.3 @@ -11,19 +11,17 @@
     1.4  WGET_URL="http://launchpad.net/awn/${VERSION%.*}/$VERSION/+download/$TARBALL"
     1.5  TAGS="panel"
     1.6  
     1.7 -DEPENDS="acl dbus dbus-glib librsvg libwnck xorg-xcompmgr libgtop \
     1.8 +DEPENDS="acl dbus-glib librsvg libwnck xorg-xcompmgr libgtop \
     1.9  libdesktop-agnostic"
    1.10 -BUILD_DEPENDS="dbus-dev librsvg-dev libwnck-dev pygtk-dev xcb-util-dev \
    1.11 -libxcb-dev startup-notification-dev pycairo-dev pygobject-dev libffi-dev \
    1.12 -python-xdg intltool acl-dev dbus-dev dbus-glib-dev python-dev \
    1.13 -libdesktop-agnostic-dev libgtop-dev GConf-dev"
    1.14 +BUILD_DEPENDS="librsvg-dev libwnck-dev pygtk-dev python-xdg intltool \
    1.15 +dbus-glib-dev python-dev libdesktop-agnostic-dev libgtop-dev GConf-dev"
    1.16  
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20  	# Binutils 2.22 break many packages build without LDFLAGS set correctly.
    1.21  	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
    1.22 -	
    1.23 +
    1.24  	./configure \
    1.25  		--prefix=/usr \
    1.26  		--sysconfdir=/etc \
    1.27 @@ -41,33 +39,12 @@
    1.28  	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.29  	cp -a $install/usr/share/$PACKAGE $fs/usr/share
    1.30  	cp -a $install/usr/share/applications $fs/usr/share
    1.31 -	cp -a $install/usr/share/icons/hicolor/32x32/apps \
    1.32 -		$fs/usr/share/pixmaps
    1.33 +	cp -a $install/usr/share/icons $fs/usr/share
    1.34  	# Custom autostart script so we ensure xcompmgr is also started.
    1.35  	cat > $fs/usr/bin/awn-autostart << _EOT_
    1.36  #!/bin/sh
    1.37  xcompmgr &
    1.38 -sleep 4 && avant-window-navigator
    1.39 +sleep 4
    1.40 +avant-window-navigator
    1.41  _EOT_
    1.42 -	
    1.43 -	# split awn-manager
    1.44 -	rm -f $fs/usr/bin/awn-manager
    1.45 -	rm -rf $fs/usr/share/$PACKAGE/awn-manager
    1.46 -	rm -f $fs/usr/share/applications/awn-manager.desktop
    1.47 -	
    1.48 -	# fix permissions
    1.49 -	chmod +x $fs/usr/bin/*
    1.50 -	
    1.51 -	# Fix missing icon
    1.52 -	cd $fs/usr/share/pixmaps
    1.53 -	ln -s avant-window-navigator.png awn-manager.png
    1.54 -	
    1.55 -	
    1.56  }
    1.57 -
    1.58 -post_install()
    1.59 -{
    1.60 -  # ln missing icons
    1.61 -    ln -sf go-up.png $1/usr/share/icons/SliTaz/16x16/actions/gtk-sort-ascending.png
    1.62 -    ln -sf go-down.png $1/usr/share/icons/SliTaz/16x16/actions/gtk-sort-descending.png
    1.63 -}