From owner-freebsd-ports@FreeBSD.ORG Thu Dec 13 23:00:58 2007 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 562AF16A420 for ; Thu, 13 Dec 2007 23:00:58 +0000 (UTC) (envelope-from lioux-list@uol.com.br) Received: from goat.gigo.com (goat.gigo.com [216.218.228.114]) by mx1.freebsd.org (Postfix) with ESMTP id 3AA0113C467 for ; Thu, 13 Dec 2007 23:00:58 +0000 (UTC) (envelope-from lioux-list@uol.com.br) Received: from 201.41.79.140 (201-41-79-140.bsace702.dsl.brasiltelecom.net.br [201.41.79.140]) by goat.gigo.com (Postfix) with ESMTP id CF23DB848 for ; Thu, 13 Dec 2007 15:00:56 -0800 (PST) Received: (qmail 61322 invoked from network); 13 Dec 2007 17:16:49 -0200 Received: from unknown (HELO nexxus.fedaykin.here) (127.0.0.1) by exxodus.fedaykin.here with SMTP; 13 Dec 2007 17:16:49 -0200 Message-ID: <47618521.7020100@uol.com.br> Date: Thu, 13 Dec 2007 19:16:49 +0000 From: Mario Sergio Fujikawa Ferreira User-Agent: Thunderbird 2.0.0.9 (X11/20071118) MIME-Version: 1.0 To: freebsd-ports@FreeBSD.org References: <47610AB1.7000401@uol.com.br> <20071213182627.GI66431@graf.pompo.net> In-Reply-To: <20071213182627.GI66431@graf.pompo.net> Content-Type: multipart/mixed; boundary="------------040402070800090609010504" Cc: thierry@FreeBSD.org Subject: Re: miro "Loading Miro Guide" forever X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Dec 2007 23:00:58 -0000 This is a multi-part message in MIME format. --------------040402070800090609010504 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Thierry Thomas wrote: > Le Jeu 13 d=E9c 07 =E0 11:34:25 +0100, Mario Sergio Fujikawa Ferreira <= lioux-list@uol.com.br> > =E9crivait : >> Hi, >=20 > Hello, >=20 >> I've been trying to use multimedia/miro but I am having a problem. I= =20 >> cannot access the Miro Guide. On startup, miro delivers the message=20 >> "Loading Miro Guide" and it stays there indefinitely. I've left my=20 >> laptop unattended for a couple of hours but nothing changed. >> >> miro seems to be working otherwise. I can search videos, create=20 >> channels and watch/download videos. >> >> I am attaching the script(1) output. Let me know if there is anythin= g=20 >> I can do to help. >=20 > 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=3Dfirefox or WITH_GECKO=3Dseamonke= y? Okay. Checking ${WRKSRC}/platform/gtk-x11/setup.py shows that=20 xulrunner is always preferred over any other found GECKO options.=20 Actually, the WITH_GECKO is only controlling the port dependency and it=20 has no influence whatsoever on what setup.py will pick. That said. I removed xulrunner from the list of possible setup.py=20 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 --------------040402070800090609010504 Content-Type: text/plain; name="patch-devel__miro" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch-devel__miro" 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'))), --------------040402070800090609010504--