wok rev 17902
gtk-clearlooks:fix terminal errors with default themes. mc: fix lzma.
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Fri Apr 03 21:04:30 2015 +0200 (2015-04-03) |
parents | 54f686c353f6 |
children | d005dc120910 |
files | gtk-clearlooks/receipt mc/receipt |
line diff
1.1 --- a/gtk-clearlooks/receipt Fri Apr 03 11:44:33 2015 -0400 1.2 +++ b/gtk-clearlooks/receipt Fri Apr 03 21:04:30 2015 +0200 1.3 @@ -3,7 +3,7 @@ 1.4 PACKAGE="gtk-clearlooks" 1.5 VERSION="2.20.2" 1.6 CATEGORY="x-window" 1.7 -SHORT_DESC="Updated default GTKengine, with ajustable colors. Theme fixes combobox in gtkstyle of Qt" 1.8 +SHORT_DESC="Updated default GTKengine, with ajustable colors." 1.9 MAINTAINER="psychomaniak@xakep.ru" 1.10 LICENSE="GPL2" 1.11 WEB_SITE="http://linuxfromscratch.org/blfs/view/svn/x/gtk-engines.html" 1.12 @@ -25,3 +25,11 @@ 1.13 1.14 sed -i '/lang/d' $fs/$XML/* 1.15 } 1.16 + 1.17 +post_install() 1.18 +{ 1.19 + for t in listviewitemstyle menuitemstyle progressbarstyle sunkenmenubar 1.20 + do 1.21 + sed "s/$t/#$t/" -i $1/usr/share/themes/SliTaz*/gtk-2.0/gtkrc 1.22 + done 1.23 +}
2.1 --- a/mc/receipt Fri Apr 03 11:44:33 2015 -0400 2.2 +++ b/mc/receipt Fri Apr 03 21:04:30 2015 +0200 2.3 @@ -21,6 +21,8 @@ 2.4 # Rules to configure and make the package. 2.5 compile_rules() 2.6 { 2.7 + sed -i 's/lzma -cd/lzcat/' $src/src/editor/edit.c 2.8 + 2.9 ./configure \ 2.10 --prefix=/usr \ 2.11 --with-gpm-mouse \ 2.12 @@ -41,6 +43,7 @@ 2.13 cp -a $install/usr/share/mc $fs/usr/share 2.14 2.15 sed 's#|profile|#&receipt|#' -i $fs/usr/share/mc/syntax/Syntax 2.16 + sed 's/lzma -dc/lzcat/g' -i $fs/usr/lib/mc/ext.d/archive.sh 2.17 cp -a $stuff/*.desktop $fs/usr/share/applications 2.18 chown -R root:root $fs 2.19 }