handbook, section 15.2
platanthera
platanthera at web.de
Fri May 7 02:02:13 UTC 2004
since nobody responded, i just tried it and wrote a section on flash6 for
konqueror and mozilla and a small one about plugger.
could you please have a look a the diff and give me some feedback? i have no
prior experience with docbook stuff...
and i've got a question. i've frequently used <filename role="package">
xxx/yyy</filename> - sometimes the link the respective pkg_descr works,
sometimes it does not. why?
best regards
--
patch for doc/en_US.ISO8859-1/books/handbook/chapter.sgml
--- chapter.sgml.old Thu May 6 18:05:36 2004
+++ chapter.sgml Fri May 7 03:34:09 2004
@@ -292,7 +292,131 @@
<application>&shockwave; &flash;</application> should both be
listed.</para>
</sect2>
+
+
+ <sect2 id="flash6">
+
+ <title>Linux-pluginwrapper provides &flash;6 support for Konqueror and
Mozilla
+ </title>
+
+ <para>As an alternative to the <filename
role="package">www/flashpluginwrapper
+ </filename> port which installs the Linux &flash;5 plugin as
dependency, you may
+ install <filename role="package">www/linux-pluginwrapper</filename>
which
+ depends on <filename role="package">www/linux-flashplugin6</filename>
and
+ <filename role="package">print/acroread</filename>.
+ </para>
+
+ <note>
+ <para>Linux-pluginwrapper requires Linux compatibility to be enabled.
+ </para>
+ </note>
+
+ <note>
+ <para>You cannot have installed <filename
role="package">www/flashpluginwrapper
+ </filename> and <filename
role="package">www/linux-pluginwrapper</filename>
+ at the same time. <application>Mozilla</application> users who had
previously
+ installed <filename role="package">www/flashpluginwrapper</filename>
need to
+ remove
+ </para>
+
+ <programlisting>LD_PRELOAD=/usr/local/lib/libflashplayer.so.1
+export LD_PRELOAD</programlisting>
+
+ <para>from their browser startup scripts.
+ </para>
+ </note>
+
+ <note>
+ <para>FreeBSD 4.9 and prior releases do NOT support &flash;6 in
Konqueror.
+ </para>
+ </note>
+
+ <para>After having installed the <filename
role="package">www/linux-pluginwrapper
+ </filename> port you need to set up
<citerefentry><refentrytitle>libmap.conf
+ </refentrytitle> <manvolnum>5</manvolnum></citerefentry>. The required
+ configuration depends on whether you are running FreeBSD 4.x or 5.x.
+ </para>
+
+ <para>To enable &flash; for <application>Konqueror</application> and
for
+ <application> Mozilla</application> and other gecko based web
browsers
+ on a 5.x system, <filename>/etc/libmap.conf</filename> should include
+ the following lines
+ </para>
+
+ <programlisting># Flash6 with Konqueror
+[/opt/mozilla/plugins/libflashplayer.so]
+libpthread.so.0 pluginwrapper/flash6.so
+libdl.so.2 pluginwrapper/flash6.so
+libz.so.1 libz.so.2
+libstdc++-libc6.2-2.so.3 libstdc++.so.4
+libm.so.6 libm.so.2
+libc.so.6 pluginwrapper/flash6.so
+# Flash6 with Mozilla/Firebird/Galeon/Epiphany
+[/usr/local/lib/linux-flashplugin6/libflashplayer.so]
+libpthread.so.0 pluginwrapper/flash6.so
+libdl.so.2 pluginwrapper/flash6.so
+libz.so.1 libz.so.2
+libstdc++-libc6.2-2.so.3 libstdc++.so.4
+libm.so.6 libm.so.2
+libc.so.6 pluginwrapper/flash6.so</programlisting>
+
+ <para>To create a sample configuration to start with you can do
+ </para>
+
+ <screen>&prompt.root; <userinput>cd /var/db/pkg && pkg_info -D
linuxpluginwrapper* > /etc/libmap.conf</userinput>
+ </screen>
+
+ <para><application>Konqueror</application> expects plugins to reside in
+ <filename>/opt/mozilla/plugins/</filename> by default. You can either
copy
+ <filename>libflashplayer.so</filename> and
<filename>flashplayer.xpt</filename>
+ from <filename>/usr/local/lib/linux-flashplugin6/</filename> to
<filename>
+ /opt/mozilla/plugins/</filename> or you may configure
<application>Konqueror
+ </application> to look for plugins in
<filename>/usr/local/lib/linux-flashplugin6/
+ </filename> and adjust <filename>/etc/libmap.conf</filename>
accordingly.
+ Have a look at the <ulink
url="http://freebsd.kde.org/howtos/konqueror-flash.php">
+ Konqueror & Flash HowTo</ulink> at <ulink
url="http://freebsd.kde.org/">
+ freebsd.kde.org</ulink>.
+ </para>
+
+ </sect2>
+
+
+ <sect2 id="plugger">
+
+ <title>Plugger provides additional plugins for Mozilla</title>
+
+ <para>The <filename role="package">www/plugger</filename> port provides
+ a multimedia plugin for <application>Mozilla</application> that
handles
+ various audio, video and document formats.
<citerefentry><refentrytitle>
+ plugger</refentrytitle><manvolnum>7</manvolnum></citerefentry> is a
small
+ plugin, which uses external programs to show or play the different
formats.
+ </para>
+
+ <para>
+ For instance, you may choose to install the <filename role="package">
+ www/mplayer-plugin</filename> port to play various audio and video
formats.
+ By default, this port uses <filename
role="package">www/mozilla</filename>
+ for gecko support, but you can change this by defining
<makevar>WITH_MOZILLA
+ </makevar> as <quote>firefox</quote>, <quote>mozilla-devel</quote>,
+ <quote>mozilla-gtk1</quote> or <quote> mozilla-devel-gtk1</quote> at
build time.
+ <filename role="package"> www/mplayer-plugin</filename> depends on
+ <filename role="package"> multimedia/mplayer</filename> which gets
installed
+ automatically if necessary. If you decide to build and install it
seperately,
+ you can make use of its build options. Have a look at <xref
linkend="video-mplayer">
+ and <filename>/usr/ports/multimedia/mplayer/Makefile</filename>.
+ </para>
+
+ <para>
+ Check the <ulink url="http://fredrik.hubbe.net/plugger.html">Plugger
homepage
+ </ulink> for a detailed list of supported file formats and the
required
+ helper applications. Additionally, there are testing grounds to see
your
+ new plugins in action.
+ </para>
+
+ </sect2>
+
+
<sect2>
<title>&netscape;</title>
<indexterm>
More information about the freebsd-doc
mailing list