wok rev 19110

murrine-svn-themes: remove obsolete options
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 06 14:33:46 2016 +0300 (2016-05-06)
parents e9d12b123dd1
children 50fe6ea964e4
files murrine-svn-themes/receipt
line diff
     1.1 --- a/murrine-svn-themes/receipt	Fri May 06 14:29:12 2016 +0300
     1.2 +++ b/murrine-svn-themes/receipt	Fri May 06 14:33:46 2016 +0300
     1.3 @@ -3,17 +3,25 @@
     1.4  PACKAGE="murrine-svn-themes"
     1.5  VERSION="0.6.2"
     1.6  CATEGORY="x-window"
     1.7 -SHORT_DESC=" some murrine themes"
     1.8 +SHORT_DESC="Some murrine themes"
     1.9  MAINTAINER="jozee@slitaz.org"
    1.10  LICENSE="LGPL3"
    1.11 +WEB_SITE="http://www.cimitan.com/murrine"
    1.12 +
    1.13  DEPENDS="murrine"
    1.14 -WEB_SITE="http://www.cimitan.com/murrine" 
    1.15 -
    1.16  
    1.17  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.18  genpkg_rules()
    1.19  {
    1.20  	mkdir -p $fs/usr/share/themes
    1.21  	tar -xzf stuff/murrine-themes.tar.gz -C $fs/usr/share/themes
    1.22 +
    1.23 +	# Fix warnings:
    1.24 +	# .../gtkrx:*: Murrine configuration option "*" in no longer supported and
    1.25 +	# will be ignored.
    1.26 +	IFS=$'\n' # care about filenames with spaces
    1.27 +	for gtkrc in $(find $fs/usr/share/themes -name gtkrc); do
    1.28 +		sed -i 's|^[ \t]*gradients|#\0|' "$gtkrc"
    1.29 +		sed -i 's|^[ \t]*scrollbar_color|#\0|' "$gtkrc"
    1.30 +	done
    1.31  }
    1.32 -