miro "Loading Miro Guide" forever
Mario Sergio Fujikawa Ferreira
lioux-list at uol.com.br
Thu Dec 13 15:00:58 PST 2007
Thierry Thomas wrote:
> Le Jeu 13 déc 07 à 11:34:25 +0100, Mario Sergio Fujikawa Ferreira <lioux-list at uol.com.br>
> écrivait :
>> Hi,
>
> Hello,
>
>> I've been trying to use multimedia/miro but I am having a problem. I
>> cannot access the Miro Guide. On startup, miro delivers the message
>> "Loading Miro Guide" and it stays there indefinitely. I've left my
>> laptop unattended for a couple of hours but nothing changed.
>>
>> miro seems to be working otherwise. I can search videos, create
>> channels and watch/download videos.
>>
>> I am attaching the script(1) output. Let me know if there is anything
>> I can do to help.
>
> Your script shows that you built it against xulrunner, which is not
> enabled, and I have not tested this combination; could you please build
> it again, defining either WITH_GECKO=firefox or WITH_GECKO=seamonkey?
Okay. Checking ${WRKSRC}/platform/gtk-x11/setup.py shows that
xulrunner is always preferred over any other found GECKO options.
Actually, the WITH_GECKO is only controlling the port dependency and it
has no influence whatsoever on what setup.py will pick.
That said. I removed xulrunner from the list of possible setup.py
choices. Reinstalled and miro works with firefox. :)
I have a patch attached that rectifies this situation.
Regards,
--
Mario S F Ferreira - DF - Brazil - "I guess this is a signature."
feature, n: a documented bug | bug, n: an undocumented feature
-------------- next part --------------
Index: files/patch-platform_gtk-x11_setup.py
===================================================================
RCS file: /home/pcvs/ports/multimedia/miro/files/patch-platform_gtk-x11_setup.py,v
retrieving revision 1.1
diff -d -u -u -r1.1 patch-platform_gtk-x11_setup.py
--- files/patch-platform_gtk-x11_setup.py 11 Dec 2007 22:27:19 -0000 1.1
+++ files/patch-platform_gtk-x11_setup.py 13 Dec 2007 19:14:16 -0000
@@ -1,5 +1,5 @@
---- platform/gtk-x11/setup.py.orig 2007-10-31 17:05:49.000000000 +0100
-+++ platform/gtk-x11/setup.py 2007-11-01 12:44:27.000000000 +0100
+--- platform/gtk-x11/setup.py.orig 2007-11-12 23:22:34.000000000 -0200
++++ platform/gtk-x11/setup.py 2007-12-13 17:00:44.000000000 -0200
@@ -46,6 +46,7 @@
###############################################################################
@@ -26,26 +26,29 @@
)
#### MozillaBrowser Extension ####
-@@ -219,12 +224,15 @@
- if re.search("^xulrunner-xpcom", packages, re.MULTILINE):
- xpcom = 'xulrunner-xpcom'
- gtkmozembed = 'xulrunner-gtkmozembed'
--elif re.search("^mozilla-xpcom", packages, re.MULTILINE):
-- xpcom = 'mozilla-xpcom'
-- gtkmozembed = 'mozilla-gtkmozembed'
- elif re.search("^firefox-xpcom", packages, re.MULTILINE):
- xpcom = 'firefox-xpcom'
- gtkmozembed = 'firefox-gtkmozembed'
+@@ -216,15 +221,15 @@
+ packages = getCommandOutput("pkg-config --list-all")
+ except RuntimeError, error:
+ sys.exit("Package config error:\n%s" % (error,))
+-if re.search("^xulrunner-xpcom", packages, re.MULTILINE):
+- xpcom = 'xulrunner-xpcom'
+- gtkmozembed = 'xulrunner-gtkmozembed'
++if re.search("^firefox-xpcom", packages, re.MULTILINE):
++ xpcom = 'firefox-xpcom'
++ gtkmozembed = 'firefox-gtkmozembed'
+elif re.search("^seamonkey-xpcom", packages, re.MULTILINE):
+ xpcom = 'seamonkey-xpcom'
+ gtkmozembed = 'seamonkey-gtkmozembed'
-+elif re.search("^mozilla-xpcom", packages, re.MULTILINE):
-+ xpcom = 'mozilla-xpcom'
-+ gtkmozembed = 'mozilla-gtkmozembed'
+ elif re.search("^mozilla-xpcom", packages, re.MULTILINE):
+ xpcom = 'mozilla-xpcom'
+ gtkmozembed = 'mozilla-gtkmozembed'
+-elif re.search("^firefox-xpcom", packages, re.MULTILINE):
+- xpcom = 'firefox-xpcom'
+- gtkmozembed = 'firefox-gtkmozembed'
else:
sys.exit("Can't find xulrunner-xpcom, mozilla-xpcom or firefox-xpcom")
-@@ -334,7 +342,7 @@
+@@ -334,7 +339,7 @@
data_files.append((dest_dir, listfiles(source_dir)))
# add the desktop file, icons, mime data, and man page.
@@ -54,7 +57,7 @@
if rv != 0:
raise RuntimeError("xine_extractor compilation failed. Possibly missing libxine, gdk-pixbuf-2.0, or glib-2.0.")
-@@ -342,11 +350,11 @@
+@@ -342,11 +347,11 @@
data_files += [
('/usr/share/pixmaps',
glob(os.path.join(platform_dir, 'miro-*.png'))),
More information about the freebsd-ports
mailing list