source: xsoft/other/gnash.xml@ 41ddd5f

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 41ddd5f was 41ddd5f, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

tag gnash and rename qt to qt4 in Qt-4.8.5.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@12807 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 7.6 KB
Line 
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>
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.
38 </para>
39
40 &lfs75_checked;
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
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
86 <bridgehead renderas="sect3">gnash Dependencies</bridgehead>
87
88 <bridgehead renderas="sect4">Required</bridgehead>
89 <para role="required">
90 <xref linkend="agg"/>,
91 <xref linkend="boost"/>,
92 <xref linkend="curl"/>,
93 <!-- <xref linkend="ffmpeg"/> or -->
94 <xref linkend="gst-ffmpeg"/>,
95 <xref linkend="npapi-sdk"/>, and
96 <xref linkend="giflib"/>
97 </para>
98
99 <bridgehead renderas="sect4">Optional</bridgehead>
100 <para role="optional">
101 <xref linkend="dejagnu"/>,
102 <xref linkend="GConf"/>,
103 <xref linkend="git"/>,
104 <xref linkend="kdelibs"/>,
105 <xref linkend="libogg"/>,
106 <xref linkend="libvorbis"/>,
107 <xref linkend="qt4"/>,
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>.
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
132<screen><userinput>patch -Np1 -i ../gnash-&gnash-version;-CVE-2012-1175-1.patch &amp;&amp;
133sed -i '/^LIBS/s/\(.*\)/\1 -lboost_system/' \
134 gui/Makefile.in utilities/Makefile.in &amp;&amp;
135sed -i "/DGifOpen/s:Data:&amp;, NULL:" libbase/GnashImageGif.cpp &amp;&amp;
136sed -i '/#include &lt;csignal&gt;/a\#include &lt;unistd.h&gt;' plugin/klash4/klash_part.cpp &amp;&amp;
137./configure --prefix=/usr --sysconfdir=/etc \
138 --with-npapi-incl=/usr/include/npapi-sdk --enable-media=gst \
139 --with-npapi-plugindir=/usr/lib/mozilla/plugins \
140 --without-gconf &amp;&amp;
141make</userinput></screen>
142
143 <para>
144 To test the results issue <command>make check</command>.
145 </para>
146
147 <para>
148 Now, as the <systemitem class="username">root</systemitem> user:
149 </para>
150
151<screen role="root"><userinput>make install &amp;&amp;
152make install-plugin</userinput></screen>
153 </sect2>
154
155 <sect2 role="commands">
156 <title>Command Explanations</title>
157
158 <para>
159 <command>sed -i '/^LIBS/s/\(.*\)/\1 -lboost_system/' ...</command>:
160 This fixes linking to the current <application>boost</application> libraries.
161 </para>
162
163 <para>
164 <command>sed -i "/DGifOpen/s:Data:&amp;, NULL:" ...</command>:
165 This sed fixes building with recent versions of
166 <application>Giflib</application>.
167 </para>
168
169 <para>
170 <command>sed -i '/#include &lt;csignal&gt;/a\#include &lt;unistd.h&gt;' ...</command>:
171 This fixes building when <application>kdelibs</application> has been installed.
172 </para>
173
174 <para>
175 <option>--enable-media=gst</option>: This tells it to use Gstreamer for
176 to play video and audio (--enable-media=ffmpeg is broken with
177 FFmpeg-0.11.1).
178 </para>
179
180 <para>
181 <option>--with-npapi-incl=/usr/include/npapi-sdk</option>: This option tells
182 it where to find some Mozilla headers that it needs.
183 </para>
184
185 <para>
186 <option>--with-npapi-plugindir=/usr/lib/mozilla/plugins</option>: This
187 option tells it to install the Mozilla browser plugin into
188 /usr/lib/mozilla/plugins.
189 </para>
190
191 <para>
192 <option>--without-gconf</option>: Omit this switch if you have GConf
193 installed and wish gnash to use it.
194 </para>
195
196 <para>
197 <command>make install-plugin</command>: This command installs the Mozilla
198 browser plugin.
199 </para>
200 </sect2>
201
202 <sect2 role="content">
203 <title>Contents</title>
204
205 <segmentedlist>
206 <segtitle>Installed Program</segtitle>
207 <segtitle>Installed Libraries</segtitle>
208 <segtitle>Installed Directories</segtitle>
209
210 <seglistitem>
211 <seg>gnash-gtk-launcher</seg>
212 <seg>
213 2 private libraries in /usr/lib/gnash and
214 libgnashplugin.so.
215 </seg>
216 <seg>
217 /usr/lib/gnash and
218 /usr/share/gnash.
219 </seg>
220 </seglistitem>
221 </segmentedlist>
222
223 <variablelist>
224 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
225 <?dbfo list-presentation="list"?>
226 <?dbhtml list-presentation="table"?>
227
228 <varlistentry id="gnash-gtk-launcher">
229 <term><command>gnash-gtk-launcher</command></term>
230 <listitem>
231 <para>
232 launches Gnash.
233 </para>
234 <indexterm zone="gnash gnash-gtk-launcher">
235 <primary sortas="b-gnash-gtk-launcher">gnash-gtk-launcher</primary>
236 </indexterm>
237 </listitem>
238 </varlistentry>
239
240 <varlistentry id="libgnashplugin">
241 <term><filename class="libraryfile">libgnashplugin.so</filename></term>
242 <listitem>
243 <para>
244 is the Mozilla browser plugin.
245 </para>
246 <indexterm zone="gnash libgnashplugin">
247 <primary sortas="c-libgnashplugin">libgnashplugin.so</primary>
248 </indexterm>
249 </listitem>
250 </varlistentry>
251 </variablelist>
252 </sect2>
253</sect1>
Note: See TracBrowser for help on using the repository browser.