wok-6.x rev 18115

glib-dev,qcad: clean files.list.lzma, fix overwriting(for what?) get-scripts $depends
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sat Jun 06 21:23:13 2015 +0200 (2015-06-06)
parents 8e8a020ce35e
children 36cecde5b42c
files get-opera/stuff/get-opera glib-dev/receipt qcad/receipt
line diff
     1.1 --- a/get-opera/stuff/get-opera	Sat Jun 06 21:21:03 2015 +0300
     1.2 +++ b/get-opera/stuff/get-opera	Sat Jun 06 21:23:13 2015 +0200
     1.3 @@ -59,6 +59,8 @@
     1.4  mv $PACKAGE $PACKAGE-$VERSION
     1.5  cd $PACKAGE-$VERSION/fs
     1.6  
     1.7 +sed "s|sh$|&\nexport XMODIFIERS=\"@im=none\"|" -i usr/bin/opera
     1.8 +
     1.9  # Create menu
    1.10  mkdir -p usr/share/applications
    1.11  cat > usr/share/applications/opera-browser.desktop <<EOT
     2.1 --- a/glib-dev/receipt	Sat Jun 06 21:21:03 2015 +0300
     2.2 +++ b/glib-dev/receipt	Sat Jun 06 21:23:13 2015 +0200
     2.3 @@ -35,4 +35,13 @@
     2.4  	rm -rf $fs/usr/lib/libgio*.*a
     2.5  	rm -rf $fs/usr/include/gio-unix-2.0
     2.6  	rm $fs/usr/lib/pkgconfig/gio*.pc
     2.7 +
     2.8 +	# exclude from files.list (for tazpkg-find-depends)
     2.9 +	cd $fs/usr/share/gdb/auto-load
    2.10 +	for i in $(ls *.py);do mv -f $i ${i//./-.-};done
    2.11  }
    2.12 +post_install()
    2.13 +{
    2.14 +	cd $1/usr/share/gdb/auto-load
    2.15 +	for i in $(ls *.-py);do mv -f $i ${i//-.-/.};done
    2.16 +}
     3.1 --- a/qcad/receipt	Sat Jun 06 21:21:03 2015 +0300
     3.2 +++ b/qcad/receipt	Sat Jun 06 21:23:13 2015 +0200
     3.3 @@ -42,4 +42,16 @@
     3.4  genpkg_rules()
     3.5  {
     3.6  	mkdir -p ${fs} && cp -a ${install}/* ${fs}
     3.7 +
     3.8 +	# exclude from files.list (for tazpkg-find-depends)
     3.9 +	# not removed: exactly this version required ($fs/usr/lib/qcad/libfreetype.readme)
    3.10 +        cd $fs/usr/lib/qcad
    3.11 +	mv -f libfreetype.so.6 lib-freetype-.-so-.-6
    3.12  }
    3.13 +
    3.14 +post_install()
    3.15 +{
    3.16 +        cd $1/usr/lib/qcad
    3.17 +	mv -f lib-freetype-.-so-.-6 libfreetype.so.6
    3.18 +}
    3.19 +