-ussd4all (0.0.0-1) unstable; urgency=low
+ussd4all (0.0.1-1) unstable; urgency=low
- * Reincarnation of ussd-common with GUI and hack, that disables nokia's USSD
- implementation
-
- -- Alexey Guseynov <kibergus@gmail.com> Tue, 8 Jun 2010 17:21:05 +0000
+ * librtcom patcher from Dani Church and fixed event.d script
+ -- Alexey Guseynov <kibergus@gmail.com> Tue, 23 Jun 2010 11:21:05 +0003
-export DISPLAY=:0.0
-exec su user -c "run-standalone.sh /usr/bin/ussdd" &
-dbus-send --system --type=method_call --dest=com.nokia.osso_browser /com/nokia/osso_browser/request com.nokia.osso_browser.load_url string:"http://kibergus.su/ussd4all.php"
if [ -f /usr/lib/librtcom-call-ui.so.0.0.0.orig ] ; then
mv /usr/lib/librtcom-call-ui.so.0.0.0.orig /usr/lib/librtcom-call-ui.so.0.0.0
fi
if [ -f /usr/lib/librtcom-call-ui.so.0.0.0.orig ] ; then
mv /usr/lib/librtcom-call-ui.so.0.0.0.orig /usr/lib/librtcom-call-ui.so.0.0.0
fi
--- /dev/null
+#!/bin/sh
+stop ussdd
+pkill ussdd
+return 0
f.close()
if __name__ == '__main__':
f.close()
if __name__ == '__main__':
+ import sys, os, shutil, subprocess
library = '/usr/lib/librtcom-call-ui.so.0.0.0'
library = '/usr/lib/librtcom-call-ui.so.0.0.0'
if not patcher.check_md5sum(library):
if not patcher.check_data(library):
if not patcher.check_md5sum(library):
if not patcher.check_data(library):
- print "Your %s is not recognized. So I won't patch it." % (library,)
- sys.exit(1)
+ message = "Your %s is not recognized. So I won't patch it." % (library,)
+ subprocess.call(["dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteDialog string:\""+message+"\" uint32:0 string:\"OK\""],shell=True)
+ print message
+ sys.exit(1)
if len(sys.argv) > 1 and sys.argv[1] == '--force':
if len(sys.argv) > 1 and sys.argv[1] == '--force':
- print "Patching an unrecognized %s. Please test your system before rebooting." % (library,)
+ message = "Patching an unrecognized %s. Please test your system before rebooting." % (library,)
+ print message
else:
message = "Your %s is not recognized, but it seems to match the patterns.\nRun '%s --force' to try patching anyway, but understand that\nTHIS MAY BREAK YOUR SYSTEM. If you do, test your system thoroughly before rebooting." % (library,library,sys.argv[0])
subprocess.call(["dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteDialog string:\""+message+"\" uint32:0 string:\"OK\""],shell=True)
else:
message = "Your %s is not recognized, but it seems to match the patterns.\nRun '%s --force' to try patching anyway, but understand that\nTHIS MAY BREAK YOUR SYSTEM. If you do, test your system thoroughly before rebooting." % (library,library,sys.argv[0])
subprocess.call(["dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteDialog string:\""+message+"\" uint32:0 string:\"OK\""],shell=True)
sys.exit(1)
shutil.copy2(library, library+'.orig')
sys.exit(1)
shutil.copy2(library, library+'.orig')
script
export DISPLAY=:0.0
script
export DISPLAY=:0.0
- exec su user -c "run-standalone.sh /usr/bin/ussdd"&
+ exec su user -c "run-standalone.sh /usr/bin/ussdd"