[packman] [PM] Miro 1.0 (openSUSE 10.3/i586)

Rain_Maker rain_maker at root-forum.org
Tue Jan 22 22:32:22 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I would like to make a suggestion for changes of the startup
script /usr/bin/miro to avoid some nasty little problems for openSUSE
10.3 users.

#!/bin/sh
echo /usr/lib/xulrunner-1.8.1.4
LD_LIBRARY_PATH=/usr/lib/xulrunner-1.8.1.4 ADDON_PATH=/tmp/empty
miro.real $@

openSUSE 10.3 comes with mozilla-xulrunner-1.8.1.4 and anything works fine.

When using YOU, one gets the official update to
mozilla-xulrunner-1.8.1.10 which breaks the startup, because
/usr/lib/xulrunner-1.8.1.4 does no longer exist.

/usr/lib/xulrunner-1.8.1.4
~ Traceback (most recent call last):
~ File "/usr/bin/miro.real", line 123, in <module>
~ startapp()
~ File "/usr/bin/miro.real", line 58, in startapp
~ import singleclick
~ File "/usr/lib/python2.5/site-packages/miro/singleclick.py", line 36, in
<module>
~ import app
~ File "/usr/lib/python2.5/site-packages/miro/app.py", line 610, in <module>
~ import frontend
~ File "/usr/lib/python2.5/site-packages/miro/frontend.py", line 50, in
<module>
~ import MozillaBrowser
~ ImportError: libgtkembedmoz.so: Kann die Shared-Object-Datei nicht
öffnen: Datei oder Verzeichnis nicht gefunden

Funny enough, users with nonnoffcial mozilla-Repository activated don't
get this message, because mozilla-xulrunner packages from that
repository contain symlinks from all previous versions (presumably for
compatibility reasons).

However, as all packages of mozilla-xulrunner for openSUSE 10.3 contain
a symlink /usr/lib/xulrunner-1.8.1 pointing to the actually installed
version.

In a nutshell, I would suggest the following change to /usr/bin/miro

#!/bin/sh
echo /usr/lib/xulrunner-1.8.1
LD_LIBRARY_PATH=/usr/lib/xulrunner-1.8.1 ADDON_PATH=/tmp/empty miro.real $@

Best wishes,

Axel Köllhofer (aka Rain_maker)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFHlmDmIK3jamVlFnYRAuyQAJ9X5YkcKFWaoAfKUDOsj7ESRCcjogCeIuqQ
r9x/8GY+GkXvQL0kmm9BsR8=
=Heeo
-----END PGP SIGNATURE-----




More information about the Packman mailing list