wok rev 17254

mc: patch syntax-hl,add subox launcher; pango: fix path
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Mon Oct 20 19:58:54 2014 +0200 (2014-10-20)
parents 4abd910b5ea9
children 108901a0f197
files QtWeb/receipt mc/receipt pango-dev/receipt pango/receipt qt4-examples/receipt
line diff
     1.1 --- a/QtWeb/receipt	Mon Oct 20 12:52:14 2014 +0200
     1.2 +++ b/QtWeb/receipt	Mon Oct 20 19:58:54 2014 +0200
     1.3 @@ -36,7 +36,7 @@
     1.4  	sed -i 's/NTFS Disk Tools/WebkitVideo/' $RTOOLBAR
     1.5  	sed -i "15,29d" $RTOOLBAR
     1.6  	
     1.7 -	qmake && sed -i 's/-O2/-Os/g' Makefile && make $MAKEFLAGS
     1.8 +	qmake && sed -i 's|-O2|'"$CFLAGS"'|g' Makefile && make $MAKEFLAGS
     1.9  	mkdir -p $install
    1.10  	install $src/src/$PACKAGE $install/$PACKAGE
    1.11  	rm -rf  $src/src/$PACKAGE
    1.12 @@ -75,6 +75,9 @@
    1.13  showPreferences=true
    1.14  showCompatibility=false
    1.15  showDisableJavascript=true
    1.16 +[websettings]
    1.17 +fixedFont=Monospace
    1.18 +standardFont=Sans Serif
    1.19  EOT
    1.20  
    1.21  	for i in $(ls $1/home 2> /dev/null); do
     2.1 --- a/mc/receipt	Mon Oct 20 12:52:14 2014 +0200
     2.2 +++ b/mc/receipt	Mon Oct 20 19:58:54 2014 +0200
     2.3 @@ -14,10 +14,13 @@
     2.4  SUGGESTED="gpm"
     2.5  DEPENDS="ncursesw glib e2fsprogs"
     2.6  BUILD_DEPENDS="gpm-dev glib-dev ncursesw-dev"
     2.7 +GENERIC_MENUS="no"
     2.8  
     2.9  # Rules to configure and make the package.
    2.10  compile_rules()
    2.11  {
    2.12 +	sed 's#|profile|#&receipt|#' -i $src/misc/syntax/Syntax
    2.13 +
    2.14  	./configure \
    2.15  		--prefix=/usr \
    2.16  		--with-gpm-mouse \
    2.17 @@ -28,12 +31,15 @@
    2.18  	make && make install
    2.19  }
    2.20  
    2.21 -# Rules to gen a SliTaz package suitable for Tazpkg.
    2.22 +# Rules to gen a SliTaz package suitable for Tazpkg. --enable-vfs-sftp
    2.23  genpkg_rules()
    2.24  {
    2.25 -	mkdir -p $fs/usr/share
    2.26 +	mkdir -p $fs/usr/share/applications
    2.27  	cp -a $install/etc $fs/
    2.28  	cp -a $install/usr/bin $fs/usr
    2.29  	cp -a $install/usr/lib $fs/usr
    2.30  	cp -a $install/usr/share/mc $fs/usr/share
    2.31 +
    2.32 +	cp -a $stuff/*.desktop $fs/usr/share/applications
    2.33 +	chown -R root:root $fs
    2.34  }
     3.1 --- a/pango-dev/receipt	Mon Oct 20 12:52:14 2014 +0200
     3.2 +++ b/pango-dev/receipt	Mon Oct 20 19:58:54 2014 +0200
     3.3 @@ -24,5 +24,5 @@
     3.4  		cp -a $install/usr/share/gir-1.0 $fs/usr/share
     3.5      cp -a $install/usr/include $fs/usr
     3.6      cp -a $install/usr/lib/pango $fs/usr/lib
     3.7 -    rm -rf $fs/usr/lib/pango/1.6.0/modules/*.so
     3.8 +    rm -rf $fs/usr/lib/pango/1.8.0/modules/*.so
     3.9  }
     4.1 --- a/pango/receipt	Mon Oct 20 12:52:14 2014 +0200
     4.2 +++ b/pango/receipt	Mon Oct 20 19:58:54 2014 +0200
     4.3 @@ -44,7 +44,7 @@
     4.4      cp -a $install/usr/bin/* $fs/usr/bin
     4.5      cp -a $install/usr/lib/*.so* $fs/usr/lib
     4.6      cp -a $install/usr/lib/pango $fs/usr/lib
     4.7 -    rm -rf $fs/usr/lib/pango/1.6.0/modules/*.la
     4.8 +    rm -rf $fs/usr/lib/pango/1.8.0/modules/*.la
     4.9      [ -d "$install/etc" ] && cp -a $install/etc $fs
    4.10      touch $fs/etc/pango/pango.modules
    4.11  }
     5.1 --- a/qt4-examples/receipt	Mon Oct 20 12:52:14 2014 +0200
     5.2 +++ b/qt4-examples/receipt	Mon Oct 20 19:58:54 2014 +0200
     5.3 @@ -10,7 +10,7 @@
     5.4  TAGS="qt"
     5.5  
     5.6  DEPENDS="libQtCore libQtGui"
     5.7 -BUILD_DEPENDS="Qt4-dev qmake cmake xorg-libX11-dev"
     5.8 +BUILD_DEPENDS="Qt4-dev qmake"
     5.9  
    5.10  # Rules to configure and make the package.
    5.11  compile_rules()
    5.12 @@ -19,15 +19,17 @@
    5.13  
    5.14  	for i in desktop/screenshot dialogs/findfiles widgets/charactermap;
    5.15  	do
    5.16 -		cd $WOK/qt4/source/qt4-$VERSION/examples/$i
    5.17 +                ii=$(basename $i) && cd $WOK/qt4/source/qt4-$VERSION/examples/$i
    5.18  		rm -rf Makefile moc* *.o
    5.19 -		qmake ${i:8}.pro
    5.20 +		qmake	$ii.pro
    5.21  		sed 's|-O2|'"$CFLAGS"'|' -i Makefile
    5.22  		make $MAKEFLAGS &&
    5.23 -		install ${i:8} $DESTDIR/usr/bin
    5.24 -		install ${i:8}.desktop $DESTDIR/usr/share/applications
    5.25 +		install $ii $DESTDIR/usr/bin
    5.26 +		install $ii.desktop $DESTDIR/usr/share/applications
    5.27 +		find $install -name $ii.desktop \
    5.28 +		-exec echo 'Categories=Utility;'>>$install/usr/share/applications/$ii.desktop \; \
    5.29 +		-exec sed 's|/opt/|/|g' -i {} \;
    5.30  	done
    5.31 -	find $install -name *.desktop -exec sed 's|/opt/|/|g' -i {} \;
    5.32  }
    5.33  
    5.34  # Rules to gen a SliTaz package suitable for Tazpkg.