Bug 125182 - [PATCH] www/mplayer-plugin can't install with www/firefox3
Summary: [PATCH] www/mplayer-plugin can't install with www/firefox3
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Joe Marcus Clarke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-02 13:30 UTC by rnejdl
Modified: 2009-01-18 23:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rnejdl 2008-07-02 13:30:01 UTC
mplayer-plugin depends on libgtkembedmoz.so.  This file is in /usr/local/lib/firefox/libgtkembedmoz.so when building for firefox2.  The Makefile has no provisions to support firefox3 but even more so, when updating the USE_GECKO line to use firefox3, libgtkembededmoz.so doesn't exist in the latest version of firefox.  So, I'm not sure if firefox2 will have to be built to obtain this shared object or not.

Rusty Nejdl

How-To-Repeat: Run a make install when you have firefox3 installed instead of firefox2.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-07-02 13:43:02 UTC
Responsible Changed
From-To: freebsd-ports-bugs->marcus

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Joe Marcus Clarke freebsd_committer freebsd_triage 2008-07-05 06:49:45 UTC
State Changed
From-To: open->suspended

I do not use Firefox 3.0 yet.  If you want to provide patches to allow 
mplayer-plugin to work with FF 3, I will gladly accept them.
Comment 3 Henrik Brix Andersen freebsd_committer freebsd_triage 2009-01-07 13:31:41 UTC
Here's a simple patch for making www/mplayer-plugin install and work
with www/xulrunner (which, in effect, makes it compatible with the way
FF3 plug-in are to be built).

Apply the patch and build the port with WITH_GECKO=xulrunner set and
it will pull in www/xulrunner instead of www/firefox.

The resulting plug-in will still be placed in
/usr/local/lib/browser_plugins/ but will have to be manually
copied/symlinked to e.g. ~/.mozilla/plugins/ since our FF3 port
currently doesn't look for plug-ins in
/usr/local/lib/browser_plugins/.

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/mplayer-plugin/Makefile,v
retrieving revision 1.60
diff -u -p -r1.60 Makefile
--- Makefile	5 Jul 2008 05:49:21 -0000	1.60
+++ Makefile	7 Jan 2009 13:24:25 -0000
@@ -17,7 +17,7 @@ RUN_DEPENDS=	mplayer:${PORTSDIR}/multime
 
 USE_GETTEXT=	yes
 USE_GMAKE=	yes
-USE_GECKO=	firefox mozilla seamonkey
+USE_GECKO=	firefox mozilla seamonkey xulrunner
 PLUGINSFILES=	mplayerplug-in.so mplayerplug-in.xpt mplayerplug-in-wmp.so \
 		mplayerplug-in-qt.so mplayerplug-in-rm.so \
 		mplayerplug-in-gmp.so mplayerplug-in-wmp.xpt \


-- 
Henrik Brix Andersen <brix@FreeBSD.org>
Comment 4 Henrik Brix Andersen freebsd_committer freebsd_triage 2009-01-07 18:35:06 UTC
State Changed
From-To: suspended->open

Reopening after having submitted requested patch.
Comment 5 Joe Marcus Clarke freebsd_committer freebsd_triage 2009-01-18 23:31:10 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 6 dfilter service freebsd_committer freebsd_triage 2009-01-18 23:31:14 UTC
marcus      2009-01-18 23:31:04 UTC

  FreeBSD ports repository

  Modified files:
    www/mplayer-plugin   Makefile 
  Log:
  Add xulrunner support.
  
  PR:             125182
  Submitted by:   brix
  
  Revision  Changes    Path
  1.62      +1 -1      ports/www/mplayer-plugin/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"