gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash ./ChangeLog doc/omf.make doc/C/appendix.x...


From: Rob Savoye
Subject: [Gnash-commit] gnash ./ChangeLog doc/omf.make doc/C/appendix.x...
Date: Sun, 29 Jan 2006 06:25:56 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Branch:         
Changes by:     Rob Savoye <address@hidden>     06/01/29 06:25:55

Modified files:
        .              : ChangeLog 
        doc            : omf.make 
        doc/C          : appendix.xml gnash.xml sources.xml 

Log message:
        

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gnash/ChangeLog.diff?tr1=1.49&tr2=1.50&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/gnash/gnash/doc/omf.make.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/gnash/gnash/doc/C/appendix.xml.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/gnash/gnash/doc/C/gnash.xml.diff?tr1=1.8&tr2=1.9&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/gnash/gnash/doc/C/sources.xml.diff?tr1=1.1&tr2=1.2&r1=text&r2=text

Patches:
Index: gnash/ChangeLog
diff -u gnash/ChangeLog:1.49 gnash/ChangeLog:1.50
--- gnash/ChangeLog:1.49        Sun Jan 29 02:11:17 2006
+++ gnash/ChangeLog     Sun Jan 29 06:25:55 2006
@@ -2,7 +2,7 @@
 
        * doc/C/sources.xml: New file extracted from gnash.xml, and made a
        standalone file since it's grown in size.
-       * doc/C/appendix.xml: New file for Appendicies content.
+       * doc/C/appendix.xml: New file for Appendix content.
        * doc/C/gnash.xml: Move some sections to separete files. Include
        the new files.
 
Index: gnash/doc/C/appendix.xml
diff -u gnash/doc/C/appendix.xml:1.1 gnash/doc/C/appendix.xml:1.2
--- gnash/doc/C/appendix.xml:1.1        Sun Jan 29 02:11:17 2006
+++ gnash/doc/C/appendix.xml    Sun Jan 29 06:25:55 2006
@@ -3,14 +3,29 @@
   
   <sect2 id="codestyle">
     <title>Code Style</title>
+
+    <para>
+      I know any discussion of coding styles leads to strong opinions,
+      so I'll state simply I follow the <ulink type="http"
+      url="http://www.gnu.org/prep/standards/standards.html";>GNU
+      Coding Standards</ulink>. Where there is some flexibility as to
+      the location of braces, I prefer mine on the end of a line when
+      using an <code>if</code>, <code>while</code>, or <code>do</code>
+      statement. I find this more compact style easier to read and
+      parse by eye. I'm also a big fan of alays using
+      braces around <code>if</code> statements, even if they're one
+      liners.
+    </para>
+
     <para>
+      Here's my tweaked style settings for <code>Emacs</code>, the one
+      true editor to rule them all.
 
       <programlisting>
-  (defconst my-style
-                              ; indent the current line from anywhere
-  '((c-tab-always-indent        . t)
-    (c-auto-newline            . t)
-    (c-hanging-braces-alist     . (
+      (defconst my-style
+          '((c-tab-always-indent   . t)
+           (c-auto-newline        . t)
+           (c-hanging-braces-alist . (
                                   (brace-list-intro)
                                   (namespace-open)
                                   (inline-open)
@@ -29,16 +44,16 @@
                                   (statement-open)
                                   (substatement-open)
                                   (inexpr-class-close)))
-    (c-hanging-colons-alist     . ((member-init-intro before)
+            (c-hanging-colons-alist . ((member-init-intro before)
                                    (inher-intro)
                                    (case-label after)
                                    (label after)
                                    (access-label after)))
-    (c-offsets-alist           . (
+            (c-offsets-alist   . (
                                   (innamespace . 0)
                                    (case-label  . 2)
                                   ))
-    (c-cleanup-list            . (
+            (c-cleanup-list    . (
                                   (scope-operator)
                                   (empty-defun-braces)
                                   (brace-else-brace)
Index: gnash/doc/C/gnash.xml
diff -u gnash/doc/C/gnash.xml:1.8 gnash/doc/C/gnash.xml:1.9
--- gnash/doc/C/gnash.xml:1.8   Sun Jan 29 02:11:17 2006
+++ gnash/doc/C/gnash.xml       Sun Jan 29 06:25:55 2006
@@ -108,7 +108,7 @@
   <sect1 id="intro"> <title>Introduction</title>
     <para>
       Gnash is a Free Flash movie player, which works either
-      standalone, or as a Firefox/Mozilla plugin.
+      standalone, or as a Firebox/Mozilla plugin.
     </para>
 
     <sect2 id="Gnash Overview">
Index: gnash/doc/C/sources.xml
diff -u gnash/doc/C/sources.xml:1.1 gnash/doc/C/sources.xml:1.2
--- gnash/doc/C/sources.xml:1.1 Sun Jan 29 02:11:17 2006
+++ gnash/doc/C/sources.xml     Sun Jan 29 06:25:55 2006
@@ -92,7 +92,7 @@
       <para>
        <ulink type="http" url="http://www.vorbis.com/";>Ogg
        Vorbis</ulink> is a patent free audio format that is
-       comparable (many peopl esay better) than MP3. This is used by
+       comparable (many people say better) than MP3. This is used by
        SDL_Mixer to play Ogg files. You can get Ogg Vorbis from this link: 
        <ulink type="http" url="http://www.vorbis.com/";>
        http://www.vorbis.com/</ulink>.
@@ -153,7 +153,7 @@
     </sect3>
   </sect2>
   
-  <sect2 id="codedepend">
+  <sect2 id="docdepend">
     <title>Documentation Dependancies</title>
     
     <sect3 id="docbook">
@@ -163,12 +163,12 @@
        <ulink type="http" url="http://docbook.sourceforge.net/";> 
        Docbook</ulink> is an industry standard XML format for technical
        documentation. It is used by many projects, as there are free
-       software implementations of the Docbook stylesheets and
+       software implementations of the Docbook style-sheets and
        tools. It is used by both the <ulink type="http"
        url="http://www.gnome.org";>GNOME</ulink> project, and the
        <ulink type="http" url="http://www.tldp.org/";> Linux
        Documentation Project.</ulink>. It is customizable by using
-       stylesheets for each output device. Default stylesheets are
+       style-sheets for each output device. Default style-sheets are
        included for a variety of print formats, like <code>PDF</code>
        and <code>HTML</code>.
       </para>
@@ -251,7 +251,7 @@
        installed on many platforms by default, but unfortunately
        <code>fop</code> doesn't work with the <ulink type="http"
        url="http://gcc.gnu.org/java/";>GCJ</ulink> runtime. There is
-       apparently work being done on FOP to make it useable, but for
+       apparently work being done on FOP to make it usable, but for
        now, this means installing <ulink type="http"
        url="http://java.sun.com/";>Sun Java</ulink>.
       </para>
@@ -400,7 +400,7 @@
          <term>--with-docbook=DIR</term>
          <listitem>
            <para>
-             Directory where the DocBook stylesheets are installed.          
+             Directory where the DocBook style-sheets are installed.         
            </para>
          </listitem>
        </varlistentry>
@@ -616,11 +616,12 @@
 
   </sect2>
 
-  <sect2 id="compile">
-    <title>Bulding Gnash</title>
+  <sect2 id="building">
+    <title>Building Gnash</title>
 
     <para>
-      FIXME:
+      After managing to configure Gnash, building the code is
+      simple. Gnash is built using <code>GNU make</code>.
     </para>
 
 
@@ -628,18 +629,48 @@
       <title>Compiling The Code</title>
 
       <para>
-       FIXME:
+       After configuring, typing <code>make</code> will compile the
+       code. No options are necessary. If desired, you can redefine
+       the variables used by <code>make</code> on the command line
+       when invoking the program. The few flags of interest are
+       <code>CFLAGS</code> and <code>CXXFLAGS</code>, often used to
+       turn on debugging or turn off optimizing. Invoking make as in
+       this example would build all the code with debugging turned
+       on, and optimizing turned off. The default values for both of
+       these variables is <code>-O2 -g</code>.
+
+       <programlisting>
+         make CFLAGS=-g CXXFLAGS=-g
+       </programlisting>
       </para>
       
+      <para>
+       If the compilation ends with an error, check the output of
+       configure and make sure nothing required to build Gnash is
+       missing.
+      </para>
     </sect3>
     
-    <sect3 id="compile">
+    <sect3 id="processdoc">
       <title>Processing The Documentation</title>
       
       <para>
-       FIXME:
+       By default, the documentation isn't built at all. It isn't
+       even built when typing <code>make install</code> from the top
+       level build directory. It's only built when specified with a
+       specific target in the generated <code>Makefile</code> in the
+       <code>doc/C/</code> sub-directory. All the docs are built in
+       this directory when executing a <code>make install</code>.
       </para>
       
+      <para>
+       There is a target for each output format, <code>make
+       html</code>, <code>make pdf</code>, <code>make info</code>,
+       and <code>make man</code>. A higher level target, <code>make
+       alldocs</code>, builds the four main formats for the
+       documentation.
+      </para>
+
     </sect3>
   </sect2>
 
@@ -660,7 +691,7 @@
       The traditional way that works on all Unix platforms is to set
       the LD_LIBRARY_PATH environment variable to $prefix/lib. You
       can have multiple paths in this variable as long as they are
-      seperated by a colon ":" character.
+      separated by a colon ":" character.
     </para>
 
     <para>
@@ -672,20 +703,68 @@
 
     <sect3 id="codeinstall">
       <title>What Code Gets Installed and Where</title>
+
+      <para>
+       Several libraries get installed, as well as the three
+       executables. All the libraries, <code>libbase, libgeometry,
+       libgbackend, libserver, and libmoxsdk</code> get installed in the
+       directory pointed to by <code>$prefix</code>. This variable is
+       set by the <code>--prefix</code> option at configure time, and
+       if not specified, it defaults to <code>/usr/local</code>. All
+       the libraries get installed in <code>$prefix/lib</code> where
+       most packages also install their libraries.
+      </para>
+      <para>
+       The plugin gets installed in the plugins directory of the
+       version of the<code>Firefox</code> or <code>Mozilla</code> you
+       have the development packaged installed for. For builds from
+       Mozilla CVS, the default installation directory is
+       <code>/usr/local/lib/firefox-[version
+       number]/plugins/</code>. The default system directory used
+       when installing packages is
+       <code>/usr/lib/mozilla/plugins</code>. Note that you have to be
+       <code>root</code> to install files in a system directory. For
+       some reason when the plugin is installed in the users
+       <code>$HOME/.mozilla/plugins</code> or
+       <code>$HOME/.firefox/plugins</code> directory, unresolved
+       symbols from deep within Firefox appear.
+      </para>
+
       <para>
-       FIXME:
+       The executables get installed in a <code>bin</code> directory of
+       the directory specified by <code>$prefix</code>. Once again,
+       this path defaults to <code>/usr/local/bin</code> if a special
+       prefix wasn't configured in.
+      </para>
+
+      <para>
+       If using a single file-system <code>NFS</code>mounted to
+       multiple platforms, you can specify an additional options,
+       <code>--exec-prefix</code>. This is where all the platform
+       dependent executables and libraries can get installed.
       </para>
     </sect3>
 
     <sect3 id="docinstall">
       <title>What Documentation Gets Installed and Where</title>
+
       <para>
-       FIXME:
+       The documentation only installs when GNOME Help support is
+       enabled by using <code>--enable-ghelp</code>. Because GNOME
+       help files get installed in a system directory when building
+       from source, you need to either change the permissions on the
+       destination directory, or do the install as <code>root</code>.
+       The default directory for GNOME Help files is:
+       <code>/usr/local/share/gnash/doc/gnash/C/</code>. 
+      </para>
+      <para>
+       A config file in the Gnash source tree,
+       <code>doc/C/gnash.omf</code> is used to specify under which
+       menu item Gnash is listed in the GNOME Help system.
       </para>
-    </sect3>
 
+    </sect3>
   </sect2>
-
 </sect1>
 
 
Index: gnash/doc/omf.make
diff -u gnash/doc/omf.make:1.2 gnash/doc/omf.make:1.3
--- gnash/doc/omf.make:1.2      Sat Jan 28 23:08:34 2006
+++ gnash/doc/omf.make  Sun Jan 29 06:25:55 2006
@@ -32,9 +32,9 @@
 omf: omf_timestamp
 
 omf_timestamp: $(omffile)
-       address@hidden test x"$(GHELP)" = x"yes"; then
+       address@hidden test x"$(GHELP)" = x"yes"; then \
          for file in $(omffile); do \
-           $(SCROLLKEEPER-PREINSTALL) $(docdir)/$(docname).xml 
$(srcdir)/$$file $(srcdir)/$$file.out; \
+           $(SCROLLINSTALL) $(docdir)/$(docname).xml $(srcdir)/$$file 
$(srcdir)/$$file.out; \
          done; \
        fi
        touch omf_timestamp
@@ -49,7 +49,7 @@
          for file in $(omffile); do \
            $(INSTALL_DATA) $(srcdir)/$$file.out 
$(DESTDIR)$(omf_dest_dir)/$$file; \
          done; \
-         $(SCROLL-UPDATE) -p $(scrollkeeper_localstate_dir) -o 
$(DESTDIR)$(omf_dest_dir); \
+         $(SCROLLUPDATE) -p $(scrollkeeper_localstate_dir) -o 
$(DESTDIR)$(omf_dest_dir); \
        fi
 
 uninstall-local-omf:
@@ -58,4 +58,4 @@
                rm -f $(omf_dest_dir)/$$basefile; \
        done
        -rmdir $(omf_dest_dir)
-       -$(SCROLLKEEPER-UPDATE) -p $(scrollkeeper_localstate_dir)
+       -$(SCROLLUPDATE) -p $(scrollkeeper_localstate_dir)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]