wok-next rev 18845

mtpaint: add pcmanfm thumbnailer
(needs larger undoMBlimit option)

xterm: add libXaw3d options
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sat Jan 23 09:22:02 2016 +0100 (2016-01-23)
parents ee962ffa7e69
children d3584f1d2a06
files mtpaint/receipt mtpaint/stuff/mtpaint.thumbnailer xterm/receipt
line diff
     1.1 --- a/mtpaint/receipt	Fri Jan 22 21:35:30 2016 -0200
     1.2 +++ b/mtpaint/receipt	Sat Jan 23 09:22:02 2016 +0100
     1.3 @@ -20,6 +20,7 @@
     1.4  compile_rules()
     1.5  {
     1.6  	patch -p0 < $stuff/mtpaint.patch
     1.7 +	sed 's/mem_undo_limit,\t32/mem_undo_limit,\t64/' -i $src/src/mainwindow.c
     1.8  	case "$ARCH" in
     1.9  		i?86)
    1.10  			./configure \
    1.11 @@ -39,10 +40,11 @@
    1.12  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.13  genpkg_rules()
    1.14  {
    1.15 -	mkdir -p $fs/usr/share/applications $fs/usr/share/pixmaps $fs/etc/mtpaint
    1.16 +	mkdir -p $fs/usr/share/applications $fs/usr/share/pixmaps $fs/etc/mtpaint $fs/usr/share/thumbnailers
    1.17  	cp -a $install/usr/bin $fs/usr
    1.18  	install -m755 -oroot -groot $stuff/mtpaint-doc $fs/usr/bin
    1.19  	cp $stuff/*.desktop $fs/usr/share/applications
    1.20  	cp $src/doc/mtpaint.png $fs/usr/share/pixmaps
    1.21  	cp $stuff/mtpaintrc $fs/etc/mtpaint
    1.22 +	cp $stuff/mtpaint.thumbnailer $fs/usr/share/thumbnailers
    1.23  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/mtpaint/stuff/mtpaint.thumbnailer	Sat Jan 23 09:22:02 2016 +0100
     2.3 @@ -0,0 +1,4 @@
     2.4 +[Thumbnailer Entry]
     2.5 +TryExec=mtpaint
     2.6 +Exec=mtpaint --cmd -file/open=%i -image/scale w=128 -file/as=%o f=png
     2.7 +MimeType=image/jpeg;image/png;
     3.1 --- a/xterm/receipt	Fri Jan 22 21:35:30 2016 -0200
     3.2 +++ b/xterm/receipt	Sat Jan 23 09:22:02 2016 +0100
     3.3 @@ -55,6 +55,15 @@
     3.4  	find $fs -regex '.*\(2.\|U\|I\|8r\|ux\|man\).*' -delete
     3.5  	rm -rf $fs/usr/share/pixmaps
     3.6  	ln -s xterm $fs/usr/bin/uxterm
     3.7 +	cat >> $fs/usr/share/X11/app-defaults/XTerm <<EOT
     3.8 +!
     3.9 +!	libXaw3d  options
    3.10 +xterm*beNiceToColormap: false
    3.11 +xterm*SmeBSB.shadowWidth:  3
    3.12 +xterm*topShadowContrast: 20
    3.13 +xterm*bottomShadowContrast: 50
    3.14 +EOT
    3.15 +	chown -R root:root $fs	
    3.16  }
    3.17  
    3.18  # One of the first X apps cross compiled. Be sure all went well