![]()
Up to [local] / ports-stable / www / mplayer-plugin
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.4, Wed Jul 30 20:28:54 2008 UTC (3 years, 6 months ago) by mezz
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1
lines
FILE REMOVED
Move Makefile.webplugins from mplayer-plugin to firefox. It's a most obvious place to find. Discussed w/: marcus
Revision 1.3 / (download) - annotate - [select for diffs], Wed Jul 30 20:07:14 2008 UTC (3 years, 6 months ago) by mezz
Branch: MAIN
Changes since 1.2: +2 -2
lines
Diff to previous 1.2 (colored)
Forgot to save vim, actually fix wildcard issue.
Revision 1.2 / (download) - annotate - [select for diffs], Wed Jul 30 19:40:13 2008 UTC (3 years, 6 months ago) by mezz
Branch: MAIN
Changes since 1.1: +2 -2
lines
Diff to previous 1.1 (colored)
Found a bug, do not use wildcard in symlink (ln -sf ${WEBPLUGINS_LINKFARMS}/*)
or the plist will be mismatch. Also, create a lot of junk symlinks. Be speific
to use ${WEBPLUGINS_FILES}. As for the plist part, it already does not use
wildcard. Gotta to report to infofarmer@freebsd.org for Makefile.npapi.
Revision 1.1 / (download) - annotate - [select for diffs], Wed Jul 30 04:38:29 2008 UTC (3 years, 6 months ago) by mezz
Branch: MAIN
After play more with Makefile.npapi... It does not do half or so what we need.
I have gone ahead to complete copy from Makefile.npapi to Makefile.webplugins
that will be limited to only create symlinks. It's not yet document, but I will
fill it out later. Here are examples:
mplayer-plugin/Makefile:
----------------------------------------------------------
USE_WEBPLUGINS= native
WEBPLUGINS_FILES=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 \
mplayerplug-in-qt.xpt mplayerplug-in-rm.xpt \
mplayerplug-in-gmp.xpt mplayerplug-in-dvx.so \
mplayerplug-in-dvx.xpt
----------------------------------------------------------
By default, the directory is ${PREFIX}/lib/browser_plugins/mplayerplug-in
(WEBPLUGINS_DIR). I will tweaking in mplayer-plugin to use WEBPLUGINS_DIR for
install plugins path. After that, it will creating symlinks like this:
----------------------------------------------------------
/usr/local/share/opera/plugins/mplayerplug-in.so -> /usr/local/lib/browser_plugins/mplayerplug-in/mplayerplug-in.so
/usr/local/share/opera/plugins/mplayerplug-in.xpt -> /usr/local/lib/browser_plugins/mplayerplug-in/mplayerplug-in.xpt
[...]
/usr/local/lib/browser_plugins/symlinks/gecko18/mplayerplug-in.so -> /usr/local/lib/browser_plugins/mplayerplug-in/mplayerplug-in.so
/usr/local/lib/browser_plugins/symlinks/gecko18/mplayerplug-in.xpt -> /usr/local/lib/browser_plugins/mplayerplug-in/mplayerplug-in.xpt
[...]
/usr/local/lib/browser_plugins/symlinks/gecko19/mplayerplug-in.so -> /usr/local/lib/browser_plugins/mplayerplug-in/mplayerplug-in.so
/usr/local/lib/browser_plugins/symlinks/gecko19/mplayerplug-in.xpt -> /usr/local/lib/browser_plugins/mplayerplug-in/mplayerplug-in.xpt
----------------------------------------------------------
If you want to limit it to gecko18 then set 'USE_WEBPLUGINS=gecko18'. Want
both gecko*, set 'USE_WEBPLUGINS=gecko*'. As for the diablo-jdk15, can do this:
diablo-jdk15/Makefile:
----------------------------------------------------------
USE_WEBPLUGINS= native
WEBPLUGINS_DIR= ${PREFIX}/jdk${JDK_VERSION}/jre/plugin/${ARCH}/ns7/
WEBPLUGINS_FILES= libjavaplugin_oji.so
----------------------------------------------------------
----------------------------------------------------------
/usr/local/share/opera/plugins/libjavaplugin_oji.so -> /usr/local/jdk1.5.0/jre/plugin/i386/ns7/libjavaplugin_oji.so
/usr/local/lib/browser_plugins/symlinks/gecko18/libjavaplugin_oji.so -> /usr/local/jdk1.5.0/jre/plugin/i386/ns7/libjavaplugin_oji.so
/usr/local/lib/browser_plugins/symlinks/gecko19/libjavaplugin_oji.so -> /usr/local/jdk1.5.0/jre/plugin/i386/ns7/libjavaplugin_oji.so
----------------------------------------------------------