wok annotate gvfs/stuff/split @ rev 17280

Up: udisks2 (2.1.3), libsoup (2.48.0), gvfs (1.22.1). Update gtk+3
bdeps. Now almost all gvfs backends works! Split them into separate
packages. And don't forget to add to flavors: gvfs, gvfs-fuse,
gvfs-udisks2 (maybe something more).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Oct 26 19:07:05 2014 +0200 (2014-10-26)
parents
children daaed416b749
rev   line source
al@17280 1 # Split full gvfs package into gvfs-* packages
al@17280 2
al@17280 3 if [ "$PACKAGE" == "gvfs" ]; then
al@17280 4 echo
al@17280 5 echo "Check your gvfs upgrade!"
al@17280 6 echo "========================"
al@17280 7
al@17280 8 echo 'Files not belongs any gvfs* package:'
al@17280 9 for file in $(find $install -type f | sed "s|$install||g" | sort); do
al@17280 10 [ -z "$(grep $file $WOK/gvfs/stuff/list)" ] && echo " $file"
al@17280 11 done
al@17280 12
al@17280 13 echo 'Absent files:'
al@17280 14 for file in $(sed '/:/ s|[^/]*\(.*\)|\1|g' $WOK/gvfs/stuff/list); do
al@17280 15 [ ! -f "$install/$file" ] && echo " $file"
al@17280 16 done
al@17280 17
al@17280 18 echo "========================"
al@17280 19 echo
al@17280 20 fi
al@17280 21
al@17280 22 echo -n "Copying files into package..."
al@17280 23 for file in $(grep "$PACKAGE:" $WOK/gvfs/stuff/list | sed 's|[^/]*\(.*\)|\1|g'); do
al@17280 24 mkdir -p $fs/$(dirname $file)
al@17280 25 cp $install/$file $fs/$file
al@17280 26 done
al@17280 27 status