|
Lines 292-298
Link Here
|
| 292 |
<application>&shockwave; &flash;</application> should both be listed.</para> |
292 |
<application>&shockwave; &flash;</application> should both be listed.</para> |
| 293 |
|
293 |
|
| 294 |
</sect2> |
294 |
</sect2> |
|
|
295 |
|
| 296 |
|
| 297 |
<sect2 id="flash6"> |
| 298 |
|
| 299 |
<title>Linuxpluginwrapper enables &flash;6 support for Konqueror and Mozilla |
| 300 |
</title> |
| 301 |
|
| 302 |
<para>As an alternative to the <filename role="package">www/flashpluginwrapper</filename> |
| 303 |
port which installs the Linux &flash;5 plug-in as dependency, you may |
| 304 |
install <filename role="package">www/linuxpluginwrapper</filename> which |
| 305 |
depends on <filename role="package">www/linux-flashplugin6</filename> and |
| 306 |
<filename role="package">print/acroread</filename>. |
| 307 |
</para> |
| 308 |
|
| 309 |
<note> |
| 310 |
<para>You need to be running either FreeBSD 5.1 or newer, or 4-STABLE from |
| 311 |
February 5th 2004 or later (including 4.10 and eventually following releases). |
| 312 |
</para> |
| 313 |
</note> |
| 314 |
|
| 315 |
<note> |
| 316 |
<para><application>Linuxpluginwrapper</application> requires Linux compatibility |
| 317 |
to be enabled. |
| 318 |
</para> |
| 319 |
</note> |
| 320 |
|
| 321 |
<note> |
| 322 |
<para>You cannot have installed <filename role="package">www/flashpluginwrapper</filename> |
| 323 |
and <filename role="package">www/linuxpluginwrapper</filename> |
| 324 |
at the same time. <application>Mozilla</application> users who had previously |
| 325 |
installed <filename role="package">www/flashpluginwrapper</filename> need to |
| 326 |
remove |
| 327 |
</para> |
| 328 |
|
| 329 |
<programlisting>LD_PRELOAD=/usr/local/lib/libflashplayer.so.1 |
| 330 |
export LD_PRELOAD</programlisting> |
| 331 |
|
| 332 |
<para>from their browser startup scripts. |
| 333 |
</para> |
| 334 |
</note> |
| 335 |
|
| 336 |
<para>After having installed the <filename role="package">www/linuxpluginwrapper</filename> |
| 337 |
port you need to set up |
| 338 |
<citerefentry><refentrytitle>libmap.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>. |
| 339 |
The required configuration depends on whether you are running FreeBSD 4.x or 5.x. |
| 340 |
</para> |
| 341 |
|
| 342 |
<para>To enable &flash;6 for <application>Konqueror</application> and for |
| 343 |
<application>Mozilla</application> and other gecko based web browsers |
| 344 |
on a 5.x system, <filename>/etc/libmap.conf</filename> should include |
| 345 |
the following lines |
| 346 |
</para> |
| 347 |
|
| 348 |
<programlisting># Flash6 with Konqueror |
| 349 |
[/opt/mozilla/plugins/libflashplayer.so] |
| 350 |
libpthread.so.0 pluginwrapper/flash6.so |
| 351 |
libdl.so.2 pluginwrapper/flash6.so |
| 352 |
libz.so.1 libz.so.2 |
| 353 |
libstdc++-libc6.2-2.so.3 libstdc++.so.4 |
| 354 |
libm.so.6 libm.so.2 |
| 355 |
libc.so.6 pluginwrapper/flash6.so |
| 295 |
|
356 |
|
|
|
357 |
# Flash6 with Mozilla/Firebird/Galeon/Epiphany |
| 358 |
[/usr/local/lib/linux-flashplugin6/libflashplayer.so] |
| 359 |
libpthread.so.0 pluginwrapper/flash6.so |
| 360 |
libdl.so.2 pluginwrapper/flash6.so |
| 361 |
libz.so.1 libz.so.2 |
| 362 |
libstdc++-libc6.2-2.so.3 libstdc++.so.4 |
| 363 |
libm.so.6 libm.so.2 |
| 364 |
libc.so.6 pluginwrapper/flash6.so</programlisting> |
| 365 |
|
| 366 |
<para>To create a sample configuration which you can adjust using a text editor of your |
| 367 |
choice you can do |
| 368 |
</para> |
| 369 |
|
| 370 |
<screen>&prompt.root; <userinput>cd /var/db/pkg && pkg_info -D linuxpluginwrapper* > /etc/libmap.conf</userinput> |
| 371 |
</screen> |
| 372 |
|
| 373 |
<para><application>Konqueror</application> expects plug-ins to reside in |
| 374 |
<filename>/opt/mozilla/plugins/</filename> by default. You can either copy |
| 375 |
<filename>libflashplayer.so</filename> and <filename>flashplayer.xpt</filename> |
| 376 |
from <filename>/usr/local/lib/linux-flashplugin6/</filename> to <filename> |
| 377 |
/opt/mozilla/plugins/</filename> or you may configure <application>Konqueror |
| 378 |
</application> to look for plug-ins in <filename>/usr/local/lib/linux-flashplugin6/ |
| 379 |
</filename> and adjust <filename>/etc/libmap.conf</filename> accordingly. |
| 380 |
</para> |
| 381 |
|
| 382 |
<para> |
| 383 |
Have a look at the <ulink url="http://freebsd.kde.org/howtos/konqueror-flash.php">Konqueror & Flash HowTo</ulink> |
| 384 |
at <ulink url="http://freebsd.kde.org/">freebsd.kde.org</ulink> |
| 385 |
</para> |
| 386 |
|
| 387 |
</sect2> |
| 388 |
|
| 389 |
|
| 390 |
<sect2 id="plugger"> |
| 391 |
|
| 392 |
<title>Plugger enables additional plug-ins for Mozilla</title> |
| 393 |
|
| 394 |
<para>The <filename role="package">www/plugger</filename> port provides |
| 395 |
a multimedia plug-in for <application>Mozilla</application> that handles |
| 396 |
various audio, video and document formats. <citerefentry><refentrytitle> |
| 397 |
plugger</refentrytitle><manvolnum>7</manvolnum></citerefentry> is a small |
| 398 |
plug-in, which uses external programs to show or play the different formats. |
| 399 |
</para> |
| 400 |
|
| 401 |
<para> |
| 402 |
For instance, you may choose to install the |
| 403 |
<filename role="package">www/mplayer-plugin</filename> port to play various |
| 404 |
audio and video formats. By default, this port uses <filename role="package">www/mozilla</filename> |
| 405 |
for gecko support. You can change this by defining <makevar>WITH_MOZILLA</makevar> |
| 406 |
as <quote>firefox</quote>, <quote>mozilla-devel</quote>, |
| 407 |
<quote>mozilla-gtk1</quote> or <quote> mozilla-devel-gtk1</quote> at build time. |
| 408 |
<filename role="package">www/mplayer-plugin</filename> depends on |
| 409 |
<filename role="package">multimedia/mplayer</filename> which gets installed |
| 410 |
automatically if necessary. If you decide to build and install it separately, |
| 411 |
you can make use of its build options. Have a look at <xref linkend="video-mplayer"> |
| 412 |
and <filename>/usr/ports/multimedia/mplayer/Makefile</filename>. |
| 413 |
</para> |
| 414 |
|
| 415 |
<para> |
| 416 |
Check the <ulink url="http://fredrik.hubbe.net/plugger.html">Plugger homepage</ulink> |
| 417 |
for a detailed list of supported file formats and the required |
| 418 |
helper applications. Additionally, there are testing grounds to see your |
| 419 |
new plug-ins in action. |
| 420 |
</para> |
| 421 |
|
| 422 |
</sect2> |
| 423 |
|
| 424 |
|
| 296 |
<sect2> |
425 |
<sect2> |
| 297 |
<title>&netscape;</title> |
426 |
<title>&netscape;</title> |
| 298 |
<indexterm> |
427 |
<indexterm> |