Document the www/chromium port in the Desktop Applications chapter:

- Add Chromium to the list of web browsers available for FreeBSD
- Document installation of Chromium from Ports and as a package
- Document the configuration of Chromium with the Java and Flash plugins

On a side note, I'm not sure it makes sense anymore to include the Flash
and Java installation steps within the Firefox sections, only to reference
them from configuration steps within other web browser sections.

I think it's time these are separated out into their own sections in this
chapter, and have added it to my own todo list, but if one of our many
contributors has a chance to change this before I get to it, I won't
complain.  :)
This commit is contained in:
Glen Barber 2011-11-26 04:06:00 +00:00
parent ccd2fab875
commit 87946403d4
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=37968

View file

@ -51,7 +51,8 @@
<listitem>
<para>Browsers (such as <application>Firefox</application>,
<application>Opera</application>,
<application>Konqueror</application>)</para>
<application>Konqueror</application>,
<application>Chromium</application>)</para>
</listitem>
<listitem>
@ -160,6 +161,13 @@
<entry>heavy</entry>
<entry><application>KDE</application> Libraries</entry>
</row>
<row>
<entry><application>Chromium</application></entry>
<entry>medium</entry>
<entry>medium</entry>
<entry><application>Gtk+</application></entry>
</row>
</tbody>
</tgroup>
</informaltable>
@ -426,6 +434,89 @@
<application>Konqueror</application>
is available at <ulink url="http://freebsd.kde.org/howtos/konqueror-flash.php"></ulink>.</para>
</sect2>
<sect2>
<title>Chromium</title>
<indexterm>
<primary><application>Chromium</application></primary>
</indexterm>
<para><application>Chromium</application> is an open-source
browser project that aims to build a safer, faster, and more
stable web browsing experience. <application>Chromium</application>
features tabbed browsing, popup blocking, extensions, and much
more. <application>Chromium</application> is the open-source
project upon which the Google Chrome web browser is
based.</para>
<para><application>Chromium</application> can be installed as a
package by typing:</para>
<screen>&prompt.root; <userinput>pkg_add -r chromium</userinput></screen>
<para>Alternatively, <application>Chromium</application> can be
compiled from source using the Ports Collection:</para>
<screen>&prompt.root; <userinput>cd /usr/ports/www/chromium</userinput>
&prompt.root; <userinput>make install clean</userinput></screen>
<note>
<para><application>Chromium</application> is installed as
<filename>/usr/local/bin/chrome</filename>, not
<filename>/usr/local/bin/chromium</filename>.</para>
</note>
</sect2>
<sect2 id="chromium-java-plugin">
<title>Chromium and &java; Plugin</title>
<note>
<para>This section assumes <application>Chromium</application>
is already installed.</para>
</note>
<para>Install <application>OpenJDK&nbsp;6</application> through the
Ports Collection by typing:</para>
<screen>&prompt.root; <userinput>cd /usr/ports/java/openjdk6
&prompt.root; make install clean</userinput></screen>
<para>Next, install <filename
role="package">java/icedtea-web</filename> from the Ports
Collection:</para>
<screen>&prompt.root; <userinput>cd /usr/ports/java/icedtea-web
&prompt.root; make install clean</userinput></screen>
<para>Start <application>Chromium</application>, and enter
<literal>about:plugins</literal> in the address bar.
IcedTea-Web should be listed as one of the installed plugins.</para>
<para>If <application>Chromium</application> does not display the
IcedTea-Web plugin, run the following commands, and restart the web
browser:</para>
<screen>&prompt.root; <userinput>mkdir -p /usr/local/share/chromium/plugins
&prompt.root; ln -s /usr/local/lib/IcedTeaPlugin.so \
/usr/local/share/chromium/plugins/</userinput></screen>
</sect2>
<sect2 id="chromium-flash-plugin">
<title>Chromium and &adobe;&nbsp;&flash; Plugin</title>
<note>
<para>This section assumes <application>Chromium</application>
is already installed.</para>
</note>
<para>Configuring <application>Chromium</application> and
&adobe;&nbsp;&flash; is similar to the <link
linkend="moz-flash-plugin">instructions for Firefox</link>. For
more detailed instructions on installing &adobe;&nbsp;&flash; on
&os;, please refer to that section. No additional configuration
should be necessary, since <application>Chromium</application> is
able to use some plugins from other browsers.</para>
</sect2>
</sect1>
<sect1 id="desktop-productivity">
@ -1172,6 +1263,12 @@
<entry><filename role="package">www/firefox</filename></entry>
</row>
<row>
<entry><application>Chromium</application></entry>
<entry><literal>chromium</literal></entry>
<entry><filename role="package">www/chromium</filename></entry>
</row>
<row>
<entry><application>KOffice</application></entry>
<entry><literal>koffice</literal></entry>