No description
Find a file
Ali Abdin d343d3a54a Preliminary glossary supports. Fix bug #2399, #4702, #4724. Partial fix
2000-11-23  Ali Abdin  <aliabdin@aucegypt.edu>

	Preliminary glossary supports.
	Fix bug #2399, #4702, #4724. Partial fix for #4724
	(a few of the above are thanks to patches/mails from
	jfleck@inkstain.net)
	Some other misc. bug-fixing.
	Cleaned up some code.
	Preliminary glossary support (thanks to a patch by
	jfleck@inkstain.net)

	* components/help/help-method.c:
	(file_in_info_path):
	Fix a typo preventing it from searching /usr/gnome/info
	Add in support for /usr/share/info directory for Debian (hopefully
	this fixes bug #4414)
	(transform_file),
	(find_help_file): Move the searching for HTML files into the
	find_help_file function to make things consistant. Fixes bug #4724

	* components/help/converters/gnome-db2html2/gdb3html.c:
	(init_entities): Conver entities to use a table, and add support for
	iso-latin characters (for i18n purposes).
	(parse_file): set version to XML_DEFAULT_VERSION, fixes bug #2399
	#if 0'd out a useless call to a function
	(xml_parse_file): #if 0'd out this function since we no longer use it

	* components/help/converters/gnome-db2html2/sect-elements.c:
	(sect_figure_start_element):
	Increment the figure count as soon as we enter (instead of when we
	leave) (should fix #4702)

	* components/help/converters/gnome-db2html2/gdb3html.[ch]:
	* components/help/converters/gnome-db2html2/sect-elements.[ch]:
	* components/help/converters/gnome-db2html2/sect-preparse.c,
	* components/help/converters/gnome-db2html2/toc-elements.c:
	(glossentry_stack_add), (glossary_start_element),
	(sect_glossseealso_start_element),
	(sect_glosssee_start_element),
	(sect_preparse_glossary_start_element),
	(sect_preparse_glossterm_characters),
	(toc_glossdiv_start_element), (toc_glossdiv_end_element)
	(toc_glossentry_start_element), (toc_glossentry_end_element),
	(toc_glossterm_start_element), (toc_glossterm_end_element):
	New functions for glossary support

	(sect_title_start_element), (sect_title_end_element),
	(sect_title_characters),
	(toc_author_start_element), (toc_author_characters)
	(toc_title_start_element), (toc_title_end_element),
	(toc_title_characters):
	Modified functions for glossary support

	(sect_preparse_set_doctype):
	Add support for glossary, and fix a bug (we should set to BOOK_DOC and
	ARTICLE_DOC instead of just BOOK or ARTICLE!!!)
2000-11-18 15:43:23 +00:00
applets Fix freetype2 detection fix srcdir != builddir. 2000-11-10 01:58:43 +00:00
components Preliminary glossary supports. Fix bug #2399, #4702, #4724. Partial fix 2000-11-18 15:43:23 +00:00
cut-n-paste-code reviewed by: Darin Adler <darin@eazel.com> 2000-11-14 02:46:02 +00:00
data reviewed by: John Sullivan <sullivan@eazel.com> 2000-11-14 19:20:55 +00:00
docs Buddy: pavel. Fix bug 2422 and 4382. 2000-11-14 01:38:06 +00:00
helper-scripts FIX from the pr2 branch. 2000-11-04 06:22:49 +00:00
helper-utilities reviewed by: Darin Adler <darin@eazel.com> 2000-11-14 02:46:02 +00:00
icons Restored original icon to Gnome theme (Andy accidentally changed it while 2000-11-11 06:23:48 +00:00
libnautilus reviewed by: Darin Adler <darin@eazel.com> 2000-11-17 02:22:16 +00:00
libnautilus-adapter Use NAUTILUS_ADAPTER_FACTORY_IDL' instead of NAUTUILUS_ADAPTER_FACTORY_IDL' in 2000-11-16 17:50:37 +00:00
libnautilus-extensions Damn gradients! Fixed round off error which could result in a one pixel 2000-11-18 01:48:26 +00:00
libnautilus-private Damn gradients! Fixed round off error which could result in a one pixel 2000-11-18 01:48:26 +00:00
librsvg reviewed by: Darin Adler <darin@eazel.com> 2000-11-14 02:46:02 +00:00
nautilus-installer Updated the cli tool's use of the problem-handler 2000-11-18 02:36:22 +00:00
po Updated Swedish translation. 2000-11-17 18:47:27 +00:00
src Fixed bug with "Disks" submenu in desktop context menu where 2000-11-17 17:08:22 +00:00
test Worked on getting rid of wait_until_ready. 2000-11-08 01:11:33 +00:00
tools Moved the leak-checker and profiler tools to their own gnome cvs module. 2000-09-29 13:27:45 +00:00
user-guide Fix bug 4619. fdl of nautilus collides with help from gnome-core. This is 2000-11-09 19:10:30 +00:00
.cvsignore Some generated file names changed, so these must change too. 2000-07-14 22:56:20 +00:00
acconfig.h Define the build timestamp only if given in the environment. 2000-10-16 20:13:48 +00:00
AUTHORS Updated based on running check-THANKS.pl Fixed some typos in people's 2000-11-13 16:22:19 +00:00
autogen.sh committed wrong version 2000-10-26 20:55:10 +00:00
ChangeLog John Fleck <jfleck@inkstain.net> 2000-11-18 15:43:23 +00:00
ChangeLog-20000414 Added appropriate copyright notices. 2000-04-14 06:40:27 +00:00
ChangeLog-20000625 New script to make sure we're giving credit appropriately - should be run 2000-09-24 17:32:34 +00:00
ChangeLog-20000831 New script to make sure we're giving credit appropriately - should be run 2000-09-24 17:32:34 +00:00
ChangeLog-200001018 Updated based on running check-THANKS.pl Fixed some typos in people's 2000-11-13 16:22:19 +00:00
check-config-h.pl Added "." parameter to "find" so it works with non-GNU versions of find. 2000-05-09 00:57:17 +00:00
check-FIXME.pl Make below change work for modules containing the '-' character (like, 2000-11-17 01:45:39 +00:00
check-headers-in-Makefile.pl Another try at fixing the Tinderbox. 2000-09-15 17:39:49 +00:00
check-POTFILES.pl Another try at fixing the Tinderbox. 2000-09-15 17:39:49 +00:00
check-signals.pl Wrote a script to check for people who forget to call 2000-08-03 18:40:39 +00:00
check-THANKS.pl reviewed by: John Sullivan <sullivan@eazel.com> 2000-11-14 19:20:55 +00:00
configure.in Fix for (4741), building with services on non-rpm machines. 2000-11-17 01:35:47 +00:00
COPYING.LIB Just adding copyright/license notices, and a copy of the LGPL. 1999-12-07 19:59:42 +00:00
CVSVERSION New file, used to detect whether we are configuring a cvs version or a 2000-08-08 01:36:50 +00:00
HACKING Fixed typo. 2000-10-12 01:45:05 +00:00
MAINTAINERS Changed to the new Nautilus list instead of the old secret list. 2000-04-27 22:54:19 +00:00
Makefile.am Add a place to put helper-scripts. 2000-11-04 00:52:02 +00:00
Makefile.shared Fixed bug 4057 (clicking the back button while opening a huge 2000-10-30 19:22:43 +00:00
nautilus-clean.sh Fix for bug 4530. Race condition in nautilus-clean.sh trying to kill its 2000-11-06 15:18:57 +00:00
nautilus-launch-icon.png Fix bug 4155. Nautilus Panel launching icon installed in the wrong place. 2000-10-29 00:28:47 +00:00
nautilus.desktop Addid Finnish entries to nautilus.desktop and ALL_LINGUAS. Added fi.po 2000-11-09 11:42:28 +00:00
nautilus.spec.in Fix bug 4619. fdl of nautilus collides with help from gnome-core. This is 2000-11-09 19:10:30 +00:00
NEWS add news from latest PR1 release. make dnd do real file operations from 2000-08-29 03:12:36 +00:00
README buddy: Gene Ragan <gzr@eazel.com> 2000-11-09 01:36:13 +00:00
RENAMING Fixed bug 1653 (new menu layout). View menu now contains 2000-08-24 18:45:29 +00:00
RPMs-README Fixed bug 1891 (calling set_title before report_load_underway has 2000-08-11 21:33:11 +00:00
THANKS Updated based on running check-THANKS.pl Fixed some typos in people's 2000-11-13 16:22:19 +00:00
TODO Added an empty file to fix the build (required since Elliot added it to 2000-07-13 23:10:07 +00:00

This file contains build instructions for Nautilus, the GNOME shell
and file manager.

====================
0: Table of contents
====================

0: Table of contents
1: Hacking
2: Introduction
3: Distribution-specific notes
4: Compiling
5: Issues when running Nautilus
6: Mozilla support
7: FreeType issues

==========
1: Hacking
==========

If you would like to hack on Nautilus, or have patches, please send
mail to the Nautilus maintainer: Darin Adler <darin@eazel.com>.
Patches should also be sent to the Nautilus mailing list:
<nautilus-list@lists.eazel.com>

The HACKING file contains other things you should know when hacking on
Nautilus and when contributing code. Please, make sure you check the
coding style document in docs/style-guide.html and other documents
found in the "docs" directory.

===============
2: Introduction
===============

To build Nautilus without interfering with an existing Gnome install,
you will need to build several components either from CVS or from 
tarballs into a separate prefix. Detailed instructions on how
to accomplish this are available in section 4.

==============================
3: Distribution-specific notes
==============================

The following describes the libraries that Nautilus hackers use for
development and what we have tested with. At the moment, we make no
guarantees one way or another about whether Nautilus will work with
other versions.

You will also need the library package that is associated with each
development package, these versions are for Red Hat 6.2 and Debian
"potato":

library         Red Hat                     Debian                          approx. version
--------------  ------------------------    ------------------------------  ------------------
audiofile       audiofile-devel-0.1.9-3     libaudiofile-dev (0.1.9-0.1)    0.1.9
libc            glibc-devel-2.1.3-15        libc6-dev (2.1.3-10)            2.1.3
libc++          egcs-c++-1.1.2-30           libstdc++2.10-dev (2.95.2-12)   2.9.0, 2.10
libjpeg         libjpeg-devel-6b-10         libjpeg62-dev (6b-1.2)          6b 1.0-1.2
libpng          libpng-devel-1.0.5-3        libpng2-dev (1.0.5-1)           1.0.5
libtiff         libtiff-devel-3.5.4-5       libtiff3g-dev (3.5.4-5)         3.5.4
libungif        libungif-devel-4.1.0-4      libungif3g-dev (3.0-3)          3.0 or 4.1.0
Xlib            XFree86-devel-3.3.6-20      xlib6g-dev (3.3.6-7)            3.3.6
zlib            zlib-devel-1.1.3-6          zlib1g-dev (1.1.3-5)            1.1.3
freetype2	freetype2-devel-1.0beta8    ???				    1.0beta8

Other modules for Red Hat users: either 6.1 or 6.2

        - For most modules, the versions in Red Hat 6.1 or 6.2 will do (listed above).
        - ORBit requires popt-1.5, which can be fetched from:

        ftp://ftp.valinux.com/pub/mirrors/redhat/rawhide/i386/RedHat/RPMS/popt-1.5-0.45.i386.rpm
        ftp://ftp.valinux.com/pub/mirrors/redhat/redhat/redhat-6.2/i386/RedHat/RPMS/popt-1.5-0.48.i386.rpm

	- FreeType packages are available here:

	http://developer.eazel.com/eazel-hacking/updates/freetype2/freetype2-1.0beta8-0_eazel_1.i386.rpm
	http://developer.eazel.com/eazel-hacking/updates/freetype2/freetype2-devel-1.0beta8-0_eazel_1.i386.rpm

Other modules for Debian users: using potato, or possibly woody

If you need to get a copy of popt from source: 

        CVSROOT=:pserver:anonymous@cvs.rpm.org:/cvs/devel
        The default password is a carriage return.  You should do a cvs co popt

============
4: Compiling
============

First, make sure you have installed the packages detailed below. If
you are running GNOME from binaries (Helix Code or your native
distribution binaries), please make sure you have installed the
corresponding development packages.  (i.e.: the *-devel packages which
provide the necessary C header files.

Then, make sure you have no old version of the packages nautilus
depends on on your system. You can check the version of the relevant
packages by trying to execute "package-config --version" (ie:
gnome-config --version will report gnome-libs version, gconf-config
--version will report gconf's version).

        Compiling from tarballs.
        ------------------------
If you are compiling from tarballs, (ie: using released versions of
nautilus and the relevant packages), you want to follow the
instructions below.

The following lists the packages and the versions they should report.

    module             version            configure options       dist.
    ------             ------             -----------------       -----
    rpm                3.0.5              --enable-eazel-services RH6.2 
    popt:              <1.5, but not from GNOME CVS, see below>   RH6.2
    glib:              1.2.8                                      HC1.2
    gtk+:              1.2.8                                      HC1.2
    imlib:             1.9.8.1                                    HC1.2
    gnome-xml:         1.8.10                                     HC1.2
    ORBit:             0.5.4                                      HC1.2
    gnome-libs:        1.2.7              --enable-prefer-db1     HC1.2
    gnome-http:        1.0.7					  HC1.2
    oaf:               0.6.0					  HC1.2
    gconf:             0.11
    gdk-pixbuf:        0.9.0              --enable-canvas-pixbuf  HC1.2
    gnome-print:       0.24					  HC1.2
    control-center     1.2.2					  HC1.2
    gnome-vfs:         HEAD 
    bonobo:            0.26					  HC
    libglade:          0.14				  	  HC1.2
    libunicode:        0.4					  HC
    medusa:            HEAD
    ammonite:          HEAD
    nautilus:          0.2   

RH6.2 == Version from Red Hat 6.2 OK
HC1.2 == Version from Helix Code Gnome 1.2 OK
HC == Helix Code may be from Evolution Preview

If you are running Helix Code's GNOME, you should not need recompile
the packages marked "HC1.2" provided you have installed the
corresponding development packages.

We assume you want to install these packages in another prefix than
/usr since you want to keep a working system. For the following, we
assume you are installing in /usr/local. ie: ${prefix}=/usr/local

Redefine your PATH environment variable: 
        export PATH=$PATH:${prefix}/bin
Redefine your LD_LIBRARY_PATH environment variable: 
        export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${prefix}/lib
Redefine your GNOME_PATH environment variable: 
        export GNOME_PATH=$GNOME_PATH:${prefix}

In the order defined above and with the specific options detailed
above, you should run the configure scripts with: "./configure
--prefix=${prefix} --special-options" Then, run make; get root and run
make install.

You should get a running nautilus soon after. :)

        Compiling from cvs.
        -------------------
Compiling from cvs usually requires more work and some packages may
not compile. Do so at your own risk!!

The following lists the packages and the versions that are required.

    module             branch             configure options      dist.
    ------             ------             -----------------      -----
    popt:              <1.5, but not from GNOME CVS, see below>  RH6.2
    glib:              glib-1-2
    gtk+:              gtk-1-2
    imlib:             HEAD
    gnome-xml:         LIB_XML_1_BRANCH
    ORBit:             orbit-stable-0-5
    gnome-libs:        gnome-libs-1-0     --enable-prefer-db1
    gnome-http:        HEAD
    oaf:               HEAD
    gconf:             HEAD
    gdk-pixbuf:        HEAD               --enable-canvas-pixbuf
    gnome-print:       HEAD
    control-center     control-center-1-0
    gnome-vfs:         HEAD
    bonobo:            HEAD
    ammonite           HEAD
    xpdf:              HEAD
    medusa:            HEAD
    nautilus:          HEAD

RH6.2 == Version from Red Hat 6.2 OK

One difference between tarball and cvs compilation is that when you
get stuff from cvs, you don't get a configure script. This script has
to be generated.  This script is usually generated with the help of
another script available from cvs named "autogen.sh". For those
interested, "autogen.sh" will run in turn aclocal, automake, autoconf
and configure. You thus need versions of the GNU tools for the
following packages:

        package         version       command
        -------         -------       -------
        automake        1.4           automake --version
        autoconf        2.13          autoconf --version

Earlier versions might work but no one has tested them.

Once you have these tools, you need to follow the compilation
instructions detailed above for tarballs but instead of running
"./configure --stuff", you will run "./autogen.sh --stuff". Using this
also requires you to create the ${prefix}/share/aclocal directory
before compiling any package and setup the following environment
variable:

        export ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I ${prefix}/share/aclocal"

Besides these differences, building from CVS should be otherwise
like building from released packages as described above.

===============================
5: Issues when running Nautilus
===============================

There's a script named nautilus-clean.sh, at the top level of the
Nautilus sources. If OAF or GConf changes, you may need to run this
script to get Nautilus to work properly. One way to invoke it is
like this:

        ./nautilus-clean.sh -x

===============================
6: Mozilla support
===============================

Nautilus includes support for browsing HTML content on the local
computer as well as remote web servers.  HTML content is handled by
the Nautilus Mozilla Component.  This component can be optionally
built with Nautilus.  It is automatically enabled at configure time if
Mozilla development libraries are detected on your system.

Mozilla M18 is required for the Mozilla component to build.

The easiest way to get the Mozilla development libraries, is to use
Chris Blizzard's Mozilla rpms.  These can be fetched over here:

http://developer.eazel.com/eazel-hacking/updates/mozilla/mozilla-M18-4.i386.rpm
http://developer.eazel.com/eazel-hacking/updates/mozilla/mozilla-devel-M18-4.i386.rpm

After installing these rpms, you can build nautilus with Mozilla
support as follows:

cd nautilus
rm -f config.cache config.status
./configure

The configure script should automatically detect and use the Mozilla
development libraries.

Alternatively, you can build Mozilla from source and use that.  Lets
say that you built Mozilla in /foo/bar.  You can build nautilus with
support for that Mozilla build as follows:

cd nautilus
rm -f config.cache config.status
./configure --with-mozilla-lib-place=/foo/bar/mozilla/dist/bin
            --with-mozilla-include-place=/foo/bar/mozilla/dist/include

NOTE:   The above command should be issued in one line.  It is split
        into two lines in this document for readability.


NOTE: If you are building mozilla from source (NOT from the rpm), you
need to do some environment setup for the Mozilla component:

export MOZILLA_FIVE_HOME=/foo/bar/mozilla/dist/bin
export LD_LIBRARY_PATH=/foo/bar/mozilla/dist/bin:$LD_LIBRARY_PATH

Finally, you can disable the Mozilla component (even if Mozilla
development libraries are installed in your system) as follows:

./configure --disable-mozilla-component

===============================
7: FreeType issues
===============================

Nautilus includes support for rendering anti aliased text (Smooth mode).
For smooth mode to work, Nautilus needs to detect and use FreeType2 
in your system.

To learn more about FreeType2, please see:

  http://freetype.sourceforge.net/

If you are using a RedHat 6.x or greater system, then you can easily
add FreeType2 support byt installing the rpms found here:

  http://developer.eazel.com/eazel-hacking/updates/freetype2

We will soon have additional autoconf flags for supporting FreeType2
builds in arbitrary locations.

We will also soon have the equivalent Debian packages.