Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: AbNoRMiS on February 24, 2012, 12:14:26 AM
-
in the python code, namely in the files
/usr/local/share/bleachbit/Common.py
and
/usr/local/share/bleachbit/Unix.py
references prescribed as /usr/share/* and /usr/lib/*
therefore bleachbit not finds its localizations which placed in /usr/local/share/locale
about it without having understood i started topic http://forum.tinycorelinux.net/index.php/topic,12630.0.html
also bleachbit not finds its cleaners which placed in /usr/local/share/bleachbit/cleaners
may be therefore bleachbit can't use something else of its functions
to fix it necessary to replace all entries /usr/share/ to /usr/local/share/ in the above two files
except for the reference /usr/share/i18n/ in the /usr/local/share/bleachbit/Unix.py
maybe it makes sense replace /usr/lib/openoffice/ to /usr/local/lib/openoffice3/ for openoffice3.tcz
or add the appropriate lines to /usr/local/share/bleachbit/Unix.py
so as well as /usr/local/lib/libreoffice/share/ and /usr/local/lib/libreoffice/basis3.3/share/ for libreoffice.tcz
but it seems doubtful due to the method of package mounting in tcl and will not work in general or will work until the first reboot
in addition to the above
i already had installed opera11.tcz but bleachbit did not define this
i just copied /usr/local/share/bleachbit/cleaners/opera.xml to opera11.xml
then replaced all entries /.opera/ to /.opera-11/ in /usr/local/share/bleachbit/cleaners/opera11.xml
also replaced the following
<cleaner id="opera"> to <cleaner id="opera11">
<label>Opera</label> to <label>Opera-11</label>
<running type="exe">opera</running> to <running type="exe">opera-11</running>
voila, bleachbit became understand our unconventional opera-11 :)
modified files are attached for compare
-
bleachbit did not follow $DESTDIR when installation was done. Some manual changes needed to be done when the extension was created. There is a much newer version of this package available that might already have these fixed.
-
in the newer version 0.9.1 this is not fixed
need to make the same manual changes
-
I discovered this issue after realizing that my list of cleaners was short. Adding a symlink pointing to /usr/local/share/bleachbit in the /usr/share folder seems to have resolved that problem temporarily.