[7498751] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY gnash-download-http
|
---|
| 8 | "http://ftp.gnu.org/pub/gnu/gnash/&gnash-version;/gnash-&gnash-version;.tar.bz2">
|
---|
| 9 | <!ENTITY gnash-download-ftp
|
---|
| 10 | "ftp://ftp.gnu.org/pub/gnu/gnash/&gnash-version;/gnash-&gnash-version;.tar.bz2">
|
---|
| 11 | <!ENTITY gnash-md5sum "63e9f79c41d93d48c5a2fa94856548c4">
|
---|
| 12 | <!ENTITY gnash-size "4.1 MB">
|
---|
| 13 | <!ENTITY gnash-buildsize "758 MB">
|
---|
| 14 | <!ENTITY gnash-time "11.1 SBU">
|
---|
| 15 | ]>
|
---|
| 16 |
|
---|
| 17 | <sect1 id="gnash" xreflabel="gnash-&gnash-version;">
|
---|
| 18 | <?dbhtml filename="gnash.html"?>
|
---|
| 19 |
|
---|
| 20 | <sect1info>
|
---|
| 21 | <othername>$LastChangedBy$</othername>
|
---|
| 22 | <date>$Date$</date>
|
---|
| 23 | </sect1info>
|
---|
| 24 |
|
---|
| 25 | <title>gnash-&gnash-version;</title>
|
---|
| 26 |
|
---|
| 27 | <indexterm zone="gnash">
|
---|
| 28 | <primary sortas="a-gnash">gnash</primary>
|
---|
| 29 | </indexterm>
|
---|
| 30 |
|
---|
| 31 | <sect2 role="package">
|
---|
| 32 | <title>Introduction to gnash</title>
|
---|
| 33 |
|
---|
| 34 | <para>
|
---|
[e222e31] | 35 | <application>Gnash</application> is the GNU Flash movie player and browser
|
---|
| 36 | plugin. This is useful for watching YouTube videos or simple flash
|
---|
| 37 | animations.
|
---|
[7498751] | 38 | </para>
|
---|
| 39 |
|
---|
[9ed46c0] | 40 | &lfs76_checked;
|
---|
[7498751] | 41 |
|
---|
| 42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 43 | <itemizedlist spacing="compact">
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>
|
---|
| 46 | Download (HTTP): <ulink url="&gnash-download-http;"/>
|
---|
| 47 | </para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>
|
---|
| 51 | Download (FTP): <ulink url="&gnash-download-ftp;"/>
|
---|
| 52 | </para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>
|
---|
| 56 | Download MD5 sum: &gnash-md5sum;
|
---|
| 57 | </para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>
|
---|
| 61 | Download size: &gnash-size;
|
---|
| 62 | </para>
|
---|
| 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>
|
---|
| 66 | Estimated disk space required: &gnash-buildsize;
|
---|
| 67 | </para>
|
---|
| 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
| 70 | <para>
|
---|
| 71 | Estimated build time: &gnash-time;
|
---|
| 72 | </para>
|
---|
| 73 | </listitem>
|
---|
| 74 | </itemizedlist>
|
---|
| 75 |
|
---|
[71bdbd5] | 76 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 77 | <itemizedlist spacing="compact">
|
---|
| 78 | <listitem>
|
---|
| 79 | <para>
|
---|
| 80 | Required patch:
|
---|
| 81 | <ulink url="&patch-root;/gnash-&gnash-version;-CVE-2012-1175-1.patch"/>
|
---|
| 82 | </para>
|
---|
| 83 | </listitem>
|
---|
| 84 | </itemizedlist>
|
---|
| 85 |
|
---|
[7498751] | 86 | <bridgehead renderas="sect3">gnash Dependencies</bridgehead>
|
---|
| 87 |
|
---|
| 88 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 89 | <para role="required">
|
---|
[f4126566] | 90 | <xref linkend="agg"/>,
|
---|
[b06f0080] | 91 | <xref linkend="boost"/>,
|
---|
[e03bc72] | 92 | <xref linkend="curl"/>,
|
---|
[2999791] | 93 | <!-- <xref linkend="ffmpeg"/> or -->
|
---|
| 94 | <xref linkend="gst-ffmpeg"/>,
|
---|
[fd65789] | 95 | <xref linkend="npapi-sdk"/>, and
|
---|
| 96 | <xref linkend="giflib"/>
|
---|
[7498751] | 97 | </para>
|
---|
| 98 |
|
---|
| 99 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 100 | <para role="optional">
|
---|
[b06f0080] | 101 | <xref linkend="dejagnu"/>,
|
---|
[5602b19] | 102 | <xref linkend="GConf"/>,
|
---|
[b06f0080] | 103 | <xref linkend="git"/>,
|
---|
[6462eea] | 104 | <xref linkend="kdelibs"/>,
|
---|
[b06f0080] | 105 | <xref linkend="libogg"/>,
|
---|
| 106 | <xref linkend="libvorbis"/>,
|
---|
[7af92fe5] | 107 | <xref linkend="qt4"/>,
|
---|
[b06f0080] | 108 | <xref linkend="speex"/>,
|
---|
| 109 | <xref linkend="wget"/>,
|
---|
| 110 | <ulink url="http://www.swftools.org/">SWFTools</ulink>,
|
---|
| 111 | <ulink url="http://swfmill.org/">Swfmill </ulink>,
|
---|
| 112 | <ulink url="http://www.mtasc.org/">Mtasc</ulink>,
|
---|
| 113 | <ulink url="http://netcat.sourceforge.net/">Netcat</ulink>,
|
---|
| 114 | <ulink url="http://csound.sourceforge.net/">Csound</ulink>,
|
---|
| 115 | <ulink url="https://launchpad.net/libgsm">LibGSM</ulink> and
|
---|
| 116 | <ulink url="http://sourceforge.net/projects/libdc1394/">Libdc1394</ulink>.
|
---|
[7498751] | 117 | </para>
|
---|
| 118 |
|
---|
| 119 | <para condition="html" role="usernotes">
|
---|
| 120 | User Notes: <ulink url="&blfs-wiki;/gnash"/>
|
---|
| 121 | </para>
|
---|
| 122 | </sect2>
|
---|
| 123 |
|
---|
| 124 | <sect2 role="installation">
|
---|
| 125 | <title>Installation of gnash</title>
|
---|
| 126 |
|
---|
| 127 | <para>
|
---|
| 128 | Install <application>gnash</application> by running the following
|
---|
| 129 | commands:
|
---|
| 130 | </para>
|
---|
| 131 |
|
---|
[71bdbd5] | 132 | <screen><userinput>patch -Np1 -i ../gnash-&gnash-version;-CVE-2012-1175-1.patch &&
|
---|
[33f0707] | 133 | sed -i '/^LIBS/s/\(.*\)/\1 -lboost_system/' \
|
---|
[a0e3f909] | 134 | gui/Makefile.in utilities/Makefile.in &&
|
---|
| 135 | sed -e '/DGifOpen/s:Data:&, NULL:' \
|
---|
| 136 | -e '/DGifCloseFile/s:_gif:&, NULL:' \
|
---|
| 137 | -i libbase/GnashImageGif.cpp &&
|
---|
[6462eea] | 138 | sed -i '/#include <csignal>/a\#include <unistd.h>' plugin/klash4/klash_part.cpp &&
|
---|
[a0e3f909] | 139 |
|
---|
[71bdbd5] | 140 | ./configure --prefix=/usr --sysconfdir=/etc \
|
---|
[fd65789] | 141 | --with-npapi-incl=/usr/include/npapi-sdk --enable-media=gst \
|
---|
[5602b19] | 142 | --with-npapi-plugindir=/usr/lib/mozilla/plugins \
|
---|
| 143 | --without-gconf &&
|
---|
[7498751] | 144 | make</userinput></screen>
|
---|
| 145 |
|
---|
| 146 | <para>
|
---|
| 147 | To test the results issue <command>make check</command>.
|
---|
| 148 | </para>
|
---|
| 149 |
|
---|
| 150 | <para>
|
---|
| 151 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 152 | </para>
|
---|
| 153 |
|
---|
| 154 | <screen role="root"><userinput>make install &&
|
---|
| 155 | make install-plugin</userinput></screen>
|
---|
| 156 | </sect2>
|
---|
| 157 |
|
---|
| 158 | <sect2 role="commands">
|
---|
| 159 | <title>Command Explanations</title>
|
---|
| 160 |
|
---|
[33f0707] | 161 | <para>
|
---|
| 162 | <command>sed -i '/^LIBS/s/\(.*\)/\1 -lboost_system/' ...</command>:
|
---|
| 163 | This fixes linking to the current <application>boost</application> libraries.
|
---|
| 164 | </para>
|
---|
| 165 |
|
---|
[b9982ea] | 166 | <para>
|
---|
[a0e3f909] | 167 | <command>sed -e '/DGifOpen/s:Data:&, NULL:' ...</command>:
|
---|
[b9982ea] | 168 | This sed fixes building with recent versions of
|
---|
| 169 | <application>Giflib</application>.
|
---|
| 170 | </para>
|
---|
| 171 |
|
---|
[6462eea] | 172 | <para>
|
---|
| 173 | <command>sed -i '/#include <csignal>/a\#include <unistd.h>' ...</command>:
|
---|
| 174 | This fixes building when <application>kdelibs</application> has been installed.
|
---|
| 175 | </para>
|
---|
| 176 |
|
---|
[7498751] | 177 | <para>
|
---|
[2999791] | 178 | <option>--enable-media=gst</option>: This tells it to use Gstreamer for
|
---|
| 179 | to play video and audio (--enable-media=ffmpeg is broken with
|
---|
| 180 | FFmpeg-0.11.1).
|
---|
[7498751] | 181 | </para>
|
---|
| 182 |
|
---|
| 183 | <para>
|
---|
[c5f005b] | 184 | <option>--with-npapi-incl=/usr/include/npapi-sdk</option>: This option tells
|
---|
| 185 | it where to find some Mozilla headers that it needs.
|
---|
[7498751] | 186 | </para>
|
---|
| 187 |
|
---|
| 188 | <para>
|
---|
| 189 | <option>--with-npapi-plugindir=/usr/lib/mozilla/plugins</option>: This
|
---|
| 190 | option tells it to install the Mozilla browser plugin into
|
---|
| 191 | /usr/lib/mozilla/plugins.
|
---|
| 192 | </para>
|
---|
| 193 |
|
---|
[5602b19] | 194 | <para>
|
---|
| 195 | <option>--without-gconf</option>: Omit this switch if you have GConf
|
---|
| 196 | installed and wish gnash to use it.
|
---|
| 197 | </para>
|
---|
| 198 |
|
---|
[7498751] | 199 | <para>
|
---|
| 200 | <command>make install-plugin</command>: This command installs the Mozilla
|
---|
| 201 | browser plugin.
|
---|
| 202 | </para>
|
---|
| 203 | </sect2>
|
---|
| 204 |
|
---|
| 205 | <sect2 role="content">
|
---|
| 206 | <title>Contents</title>
|
---|
| 207 |
|
---|
| 208 | <segmentedlist>
|
---|
| 209 | <segtitle>Installed Program</segtitle>
|
---|
| 210 | <segtitle>Installed Libraries</segtitle>
|
---|
| 211 | <segtitle>Installed Directories</segtitle>
|
---|
| 212 |
|
---|
| 213 | <seglistitem>
|
---|
| 214 | <seg>gnash-gtk-launcher</seg>
|
---|
| 215 | <seg>
|
---|
| 216 | 2 private libraries in /usr/lib/gnash and
|
---|
| 217 | libgnashplugin.so.
|
---|
| 218 | </seg>
|
---|
| 219 | <seg>
|
---|
| 220 | /usr/lib/gnash and
|
---|
| 221 | /usr/share/gnash.
|
---|
| 222 | </seg>
|
---|
| 223 | </seglistitem>
|
---|
| 224 | </segmentedlist>
|
---|
| 225 |
|
---|
| 226 | <variablelist>
|
---|
| 227 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 228 | <?dbfo list-presentation="list"?>
|
---|
| 229 | <?dbhtml list-presentation="table"?>
|
---|
| 230 |
|
---|
| 231 | <varlistentry id="gnash-gtk-launcher">
|
---|
| 232 | <term><command>gnash-gtk-launcher</command></term>
|
---|
| 233 | <listitem>
|
---|
| 234 | <para>
|
---|
| 235 | launches Gnash.
|
---|
| 236 | </para>
|
---|
| 237 | <indexterm zone="gnash gnash-gtk-launcher">
|
---|
| 238 | <primary sortas="b-gnash-gtk-launcher">gnash-gtk-launcher</primary>
|
---|
| 239 | </indexterm>
|
---|
| 240 | </listitem>
|
---|
| 241 | </varlistentry>
|
---|
| 242 |
|
---|
| 243 | <varlistentry id="libgnashplugin">
|
---|
| 244 | <term><filename class="libraryfile">libgnashplugin.so</filename></term>
|
---|
| 245 | <listitem>
|
---|
| 246 | <para>
|
---|
| 247 | is the Mozilla browser plugin.
|
---|
| 248 | </para>
|
---|
| 249 | <indexterm zone="gnash libgnashplugin">
|
---|
| 250 | <primary sortas="c-libgnashplugin">libgnashplugin.so</primary>
|
---|
| 251 | </indexterm>
|
---|
| 252 | </listitem>
|
---|
| 253 | </varlistentry>
|
---|
| 254 | </variablelist>
|
---|
| 255 | </sect2>
|
---|
| 256 | </sect1>
|
---|