Just been playing around a bit with scripts, you wanted ideas, didn't expend much effort as i'm likely off base, logic flaw and obviously don't understand the entire update process. The new DEBINX system is good but everytime there's the slightest update/change the long version SCE update check is initiated. Not sure if this would be any better than the current method.
Just a cursory emelfm pre-built example. Adding this to ~line 500 of deb2sce creates a /tmp/emelfm.sce.md5.list file:
sudo md5sum "${DEBINFO}".tar.gz >> /tmp/"$TARGET".sce.md5.list
if [ -f "${DEBINFO}".tar.gz ] && [ `/bb/md5sum "${DEBINFO}".tar.gz | cut -f1 -d" "` == `grep "^$DEBINFO": /tmp/PREBUILTMD5SUMLIST | cut -f2 -d" "` ]; then
echo "${DEBINFO}: `/bb/md5sum "${DEBINFO}".tar.gz | cut -f1 -d" "`" >> "$IMPORT"/"$TARGET"/usr/local/sce/"$TARGET"/"$TARGET".md5sum
echo "Merging "${DEBINFO}""
sudo md5sum "${DEBINFO}".tar.gz >> /tmp/"$TARGET".sce.md5.list
tar xf "${DEBINFO}".tar.gz -C "$IMPORT"/"$TARGET"
if [ "$?" != 0 ]
then
echo "Failed merging of "${DEBINFO}".tar.gz."
echo "${DEBINFO}".tar.gz >> /tmp/import.log
fi
emelfm.sce.md5.list file contents after import:
61b2f7d81ad473e3ffe9a47c5a750344 glib1.tar.gz
5ed16326225ff7c35742e5318fd298a8 gtk1.tar.gz
a17f00793e04af874a8a2ce40953a99d emelfm.tar.gz
/sce:
tc@box:/mnt/sdb4/tce/sce$ ls | grep emelfm
emelfm.sce
emelfm.sce.debinx
emelfm.sce.md5.list
emelfm.sce.md5.txt
Each SCE would have this emelfm.sce.md5.list file in /sce, which would contain md5sums of every dependency contained in the extension. Some fancy grep, sed loop could relatively quickly compare individual dependency md5sums against NEWDEBINX, first difference triggers re-import. The current NEWDEBINX format is, however, inconsistent so it wouldn't work well at present. Just a thought, thanks.