Powered by Apache

CVS log for ports-stable/www/firefox/Attic/Makefile.webplugins

[BACK] Up to [local] / ports-stable / www / firefox

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.15, Sat Jan 10 05:37:27 2009 UTC (12 months, 4 weeks ago) by mezz
Branch: MAIN
CVS Tags: HEAD
Changes since 1.14: +1 -1 lines
FILE REMOVED

These ports have been merged into FreeBSD ports tree.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Nov 12 17:55:09 2008 UTC (14 months, 4 weeks ago) by mezz
Branch: MAIN
Changes since 1.13: +15 -2 lines
Diff to previous 1.13 (colored)

Current the USE_WEBPLUGINS will creating symlinks, no matter what if either
the directory or file does not exists without any error message. Add two
checks, first on WEBPLUGINS_DIR if directory exists then secondly on
WEBPLUGINS_FILES if file exists. Here's what it looks like when I modified
in www/dummyflash like this:

-WEBPLUGINS_FILES=dummyflash.so
+WEBPLUGINS_FILES=dummyflash.so foo.so

-------------------------------------
# make install clean
[...]
===>  Checking if www/dummyflash already installed
install  -o root -g wheel -m 444 /usr/ports/www/dummyflash/work/PluginSDK30b5/examples/UnixTemplate/Unix/dummyflash.so /usr/local/lib/browser_plugins/dummyflash

ERROR: The "foo.so" in WEBPLUGINS_FILES is either a typo or no longer exists. Please make a bug report to darius@dons.net.au (maintainer).

===>   Registering installation for dummyflash-1.0_5
===>  Cleaning for dummyflash-1.0_5
-------------------------------------

If anyone have any better suggest how to improvement on the error message,
feel free to make one or more. ;-)

Revision 1.13 / (download) - annotate - [select for diffs], Sat Aug 9 21:49:10 2008 UTC (18 months ago) by mezz
Branch: MAIN
Changes since 1.12: +9 -9 lines
Diff to previous 1.12 (colored)

Correct path in examples part.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Aug 4 20:00:35 2008 UTC (18 months ago) by mezz
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

tab -> space in a sentence.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Aug 4 19:40:39 2008 UTC (18 months ago) by marcus
Branch: MAIN
Changes since 1.10: +48 -46 lines
Diff to previous 1.10 (colored)

Grammatical pass.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Aug 4 19:26:40 2008 UTC (18 months ago) by mezz
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Tab -> space in one sentence.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Aug 4 19:24:22 2008 UTC (18 months ago) by mezz
Branch: MAIN
Changes since 1.8: +4 -3 lines
Diff to previous 1.8 (colored)

Add one more example of USE_WEBPLUGINS and fix default in document for = -> ?=

Revision 1.8 / (download) - annotate - [select for diffs], Mon Aug 4 18:51:34 2008 UTC (18 months ago) by mezz
Branch: MAIN
Changes since 1.7: +125 -4 lines
Diff to previous 1.7 (colored)

Add document and examples.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Aug 3 05:24:29 2008 UTC (18 months, 1 week ago) by mezz
Branch: MAIN
Changes since 1.6: +6 -5 lines
Diff to previous 1.6 (colored)

More better protection of empty WEBPLUGINS_FILES. This one is for
WEBPLUGINS_FILES= without fillout file in it. I got bit once, so need
this check. ;-)

Revision 1.6 / (download) - annotate - [select for diffs], Sat Aug 2 21:07:21 2008 UTC (18 months, 1 week ago) by mezz
Branch: MAIN
Changes since 1.5: +23 -15 lines
Diff to previous 1.5 (colored)

Change from a few very long lines to many short lines by using loop. The
USE_WEBPLUGINS=native plus totem's WEBPLUGINS_FILES have busted over 1022k
characters in a line. It is echo(1)'s limit numbers of character (see in
manpage). However, in 1023 characters will causing echo(1) to create a new
line that wrecked the plist.

BTW: totem's USE_WEBPLUGINS sets to gecko* or gecko18 by default in here, so
there is no problem in ports-stable tree expect in my local machine.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Jul 31 15:58:13 2008 UTC (18 months, 1 week ago) by mezz
Branch: MAIN
Changes since 1.4: +2 -3 lines
Diff to previous 1.4 (colored)

Remove WEBPLUGINS_LIBDIR from plist; it's not need and taken care by
Makefile.webplugins's TMPPLIST part.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Jul 31 04:38:43 2008 UTC (18 months, 1 week ago) by mezz
Branch: MAIN
Changes since 1.3: +23 -31 lines
Diff to previous 1.3 (colored)

- Change from PKGINSTALL/PKGDEINSTALL to TMPPLIST, it's less complicate and
  works better with a few of ports that already have PKGINSTALL/PKGDEINSTALL
  exist like java for example.
- Do not create a lot of empty directories for no reason. Only create
  directories if symlinks are going to be create in there.
- ?= -> = on a few of variables as these aren't supposed to be change.
- Remove create symlink in share/opera(-devel)/plugins; it's not need if Opera
  has the ability to read in lib/browser_plugins/symlinks/opera(-devel). As
  for the lib/linux-*/plugins, I am leaving these alone since I don't know
  about these ports. I only knew linux-opera, duh. ;-)
- Add a protect (check) if WEBPLUGINS_FILES is empty then bitching (mark IGNORE)
  about that you need to add plugins file in it.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Jul 30 20:07:14 2008 UTC (18 months, 1 week 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 (18 months, 1 week 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 (18 months, 1 week 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
----------------------------------------------------------

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>