Some cleanups

This commit is contained in:
Marco Pesenti Gritti 2006-10-17 10:35:38 +02:00
parent ec3094e08b
commit 99cd1512ae
5 changed files with 10 additions and 20 deletions

1
.gitignore vendored
View File

@ -37,7 +37,6 @@ po/stamp-it
po/sugar.pot po/sugar.pot
po/*.gmo po/*.gmo
sugar/__installed__.py sugar/__installed__.py
sugar/__uninstalled__.py
tools/sugar-setup-activity tools/sugar-setup-activity
services/presence/org.laptop.Presence.service services/presence/org.laptop.Presence.service
threadframe threadframe

View File

@ -68,7 +68,6 @@ shell/view/frame/Makefile
shell/model/Makefile shell/model/Makefile
sugar/Makefile sugar/Makefile
sugar/__installed__.py sugar/__installed__.py
sugar/__uninstalled__.py
sugar/activity/Makefile sugar/activity/Makefile
sugar/chat/Makefile sugar/chat/Makefile
sugar/chat/sketchpad/Makefile sugar/chat/sketchpad/Makefile

View File

@ -4,5 +4,3 @@ sugar_activities_dir = '@prefix@/share/sugar/activities'
sugar_activity_info_dir = '@prefix@/share/sugar/activities' sugar_activity_info_dir = '@prefix@/share/sugar/activities'
sugar_services_dir = '@prefix@/share/sugar/services' sugar_services_dir = '@prefix@/share/sugar/services'
sugar_dbus_config = '@prefix@/share/sugar/dbus-installed.conf' sugar_dbus_config = '@prefix@/share/sugar/dbus-installed.conf'
sugar_bin_path = []

10
sugar/__uninstalled__.py Normal file
View File

@ -0,0 +1,10 @@
import os
import tempfile
_tmpdir = os.path.join(tempfile.gettempdir(), 'sugar')
_sourcedir = os.path.dirname(os.path.dirname(__file__))
sugar_data_dir = os.path.join(_sourcedir, 'shell/data')
sugar_services_dir = os.path.join(_sourcedir, 'services')
sugar_activity_info_dir = _tmpdir
sugar_dbus_config = os.path.join(_sourcedir, 'dbus-uninstalled.conf')

View File

@ -1,16 +0,0 @@
import os
import tempfile
sugar_source_dir = os.path.dirname(os.path.dirname(__file__))
sugar_data_dir = os.path.join(sugar_source_dir, 'shell/data')
sugar_services_dir = os.path.join(sugar_source_dir, 'services')
__tmpdir = os.path.join(tempfile.gettempdir(), 'sugar')
sugar_activity_info_dir = __tmpdir
sugar_dbus_config = os.path.join(sugar_source_dir, 'dbus-uninstalled.conf')
sugar_bin_path = []
sugar_bin_path.append(os.path.join(sugar_source_dir))
sugar_bin_path.append(os.path.join(sugar_source_dir, 'shell'))
sugar_bin_path.append(os.path.join(sugar_source_dir, 'services/presence'))