cvs commit: ports/www/linuxpluginwrapper Makefile distinfo pkg-message pkg-plist

Jose M Rodriguez josemi at freebsd.jazztel.es
Sun Nov 13 06:02:04 PST 2005


El Domingo, 13 de Noviembre de 2005 11:50, Norikatsu Shigemura escribió:
> On Sun, 13 Nov 2005 07:03:31 +0000 (UTC)
>
> Norikatsu Shigemura <nork at FreeBSD.org> wrote:
> > nork        2005-11-13 07:03:31 UTC
> >   FreeBSD ports repository
> >   Modified files:
> >     www/linuxpluginwrapper Makefile distinfo pkg-message pkg-plist
> >   Log:
> >   Update to 20051113.
> >   o Fix many typos. [1]
> >   o Add support is_enabled_lpw, confirms that Linux Plugin
> >     Wrapper is enabled like following test.
> >     $ is_enabled_lpw /usr/X11R6/lib/browser_linux_plugins/*.so |
> > grep "not found" $ echo $?
> >     1
> >     This is for information to mozilla and related browsers,
> >     to use /usr/X11R6/lib/browser_linux_plugins or not. [2]
> >   Pointed out by:         many people [1]
> >   Suggested by:           mezz [2]
> >   Revision  Changes    Path
> >   1.45      +8 -7      ports/www/linuxpluginwrapper/Makefile
> >   1.23      +1 -0      ports/www/linuxpluginwrapper/distinfo
> >   1.8       +3 -3      ports/www/linuxpluginwrapper/pkg-message
> >   1.14      +13 -12    ports/www/linuxpluginwrapper/pkg-plist
>
> 	I supported /usr/X11R6/lib/browser_linux_plugins infrastracture
> 	inside linuxpluginwrapper.  So please apply following patch
> 	to www/firefox, and make patches for mozilla/kazehakase/
> 	galeon/epiphany.
>

I'm a little bit busy now, but I think a moz pis script will do the 
work, using a plugin dir in the user profile.


In any case, I vote for a sh script that copy/delete softlinks from 
usr/X11R6/lib/browser_linux_plugins after test.

In the meantime, a sh script installed from linuxpluginwrapper and 
sourced from linuxpluginwrapper/mozilla/firefox ... pkg-install / 
pkg-delete will do the work (from /usr/X11R6/lib/browser_linux_plugins 
to /usr/X11R6/lib/browser_plugins)

As a plus, you can use this script as root in any moment to get an 
usable system

--
  josemi

 (copy/delete softlinks from 

In any case, I think that this must be done with 
softlinks will be copy/deleted from /usr/X11R6/lib/browser_linux_plugins 
after test of usability.
> Index: files/patch-build_unix_run-mozilla.sh
> ===================================================================
> RCS file:
> /home/ncvs/ports/www/firefox/files/patch-build_unix_run-mozilla.sh,v
> retrieving revision 1.6
> diff -u -r1.6 patch-build_unix_run-mozilla.sh
> --- files/patch-build_unix_run-mozilla.sh	10 Mar 2005 00:43:22
> -0000	1.6 +++ files/patch-build_unix_run-mozilla.sh	13 Nov 2005
> 07:40:21 -0000 @@ -1,7 +1,7 @@
>  $FreeBSD: ports/www/firefox/files/patch-build_unix_run-mozilla.sh,v
> 1.6 2005/03/10 00:43:22 marcus Exp $
>
>  --- build/unix/run-mozilla.sh.orig	Mon Dec 15 12:27:28 2003
> -+++ build/unix/run-mozilla.sh	Wed Feb 11 14:24:17 2004
> ++++ build/unix/run-mozilla.sh	Sun Nov 13 16:28:43 2005
>  @@ -355,7 +355,7 @@
>   fi
>   ##
> @@ -11,12 +11,18 @@
>   if [ -n "$LD_LIBRARYN32_PATH" ]
>   then
>  
> 	LD_LIBRARYN32_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOM
>E}${LD_LIBRARYN32_PATH+":$LD_LIBRARYN32_PATH"} -@@ -442,6 +442,9 @@
> +@@ -442,6 +442,15 @@
>   #
>   export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
>   export SHLIB_PATH LIBPATH LIBRARY_PATH ADDON_PATH DYLD_LIBRARY_PATH
>  +
>  +MOZ_PLUGIN_PATH=%%PREFIX%%/lib/browser_plugins
> ++if type is_enabled_lpw > /dev/null; then
> ++	if is_enabled_lpw %%PREFIX%%/lib/browser_linux_plugins/*.so | grep
> "not found" > /dev/null; then ++	else
> ++		MOZ_PLUGIN_PATH=${MOZ_PLUGIN_PATH}:%%PREFIX%%/lib/browser_linux_p
>lugins ++	fi
> ++fi
>  +export MOZ_PLUGIN_PATH
>
>   if [ $moz_debug -eq 1 ]
> _______________________________________________
> freebsd-gnome at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to
> "freebsd-gnome-unsubscribe at freebsd.org"
-- 
This mail was scanned by AntiVir Milter.
This product is licensed for non-commercial use.
See www.antivir.de for details.


More information about the freebsd-gnome mailing list