2000-08-11 18:39:15 +00:00
|
|
|
This file contains build instructions for Nautilus, the GNOME shell
|
2001-02-15 02:06:53 +00:00
|
|
|
and file manager. At some point we probably should move these to
|
2001-10-19 16:17:10 +00:00
|
|
|
INSTALL or HACKING and put a user-oriented README here instead.
|
2000-08-11 18:18:39 +00:00
|
|
|
|
|
|
|
====================
|
2000-08-11 18:39:15 +00:00
|
|
|
0: Table of contents
|
2000-08-11 18:18:39 +00:00
|
|
|
====================
|
|
|
|
|
2000-08-11 18:39:15 +00:00
|
|
|
0: Table of contents
|
2000-08-11 18:18:39 +00:00
|
|
|
1: Hacking
|
2000-08-11 18:39:15 +00:00
|
|
|
2: Introduction
|
|
|
|
3: Distribution-specific notes
|
|
|
|
4: Compiling
|
2000-10-03 14:09:29 +00:00
|
|
|
5: Issues when running Nautilus
|
|
|
|
6: Mozilla support
|
2000-10-06 07:25:37 +00:00
|
|
|
7: FreeType issues
|
2000-08-11 18:18:39 +00:00
|
|
|
|
|
|
|
==========
|
|
|
|
1: Hacking
|
|
|
|
==========
|
|
|
|
|
2002-02-22 02:13:39 +00:00
|
|
|
If you would like to hack on Nautilus, or have patches, please read
|
|
|
|
the HACKING file.
|
2000-08-11 18:18:39 +00:00
|
|
|
|
2000-08-11 18:39:15 +00:00
|
|
|
===============
|
|
|
|
2: Introduction
|
|
|
|
===============
|
2000-08-11 18:18:39 +00:00
|
|
|
|
2001-02-15 02:06:53 +00:00
|
|
|
To build Nautilus without interfering with an existing GNOME install,
|
2000-08-11 18:18:39 +00:00
|
|
|
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.
|
|
|
|
|
2000-08-11 18:39:15 +00:00
|
|
|
==============================
|
|
|
|
3: Distribution-specific notes
|
|
|
|
==============================
|
2000-08-11 18:18:39 +00:00
|
|
|
|
2000-08-11 18:39:15 +00:00
|
|
|
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.
|
2000-08-11 18:18:39 +00:00
|
|
|
|
2000-08-11 18:39:15 +00:00
|
|
|
You will also need the library package that is associated with each
|
Don't use tabs any more. Spell check. Add libglade.
* README: Don't use tabs any more. Spell check.
Add libglade.
* components/tree/nautilus-tree-model.c:
(nautilus_tree_model_monitor_add),
(nautilus_tree_model_monitor_node):
Use file attribute constant instead of hard-coded string. I was
here to make some changes to the monitor API, but I didn't get
to that yet. Next check-in.
* libnautilus-extensions/nautilus-directory-async.c:
(nautilus_directory_monitor_add_internal):
Use "files_added" signal instead of callback. This is the first
step toward removing the callback. I'll remove it tomorrow.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_notify_files_added): Fix directory ref count
leak.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_internal): Fix case where we would not ref
the NautilusFile even though the directory is monitoring it.
This would lead to an early destroy later.
* libnautilus-extensions/nautilus-search-uri.c:
(nautilus_search_uri_to_human): Comment out print statements.
Mathieu can delete them entirely later.
(nautilus_self_check_search_uri): Added a few more tests.
* libnautilus-extensions/nautilus-trash-directory.h:
* libnautilus-extensions/nautilus-trash-directory.c:
(nautilus_trash_directory_initialize), (trash_destroy),
(trash_callback_hash), (trash_callback_equal),
(trash_contains_file), (trash_callback_destroy),
(trash_callback_check_done), (directory_ready_callback),
(trash_callback_connect_directory), (trash_call_when_ready),
(trash_cancel_callback), (trash_file_monitor_add),
(trash_file_monitor_remove), (trash_are_all_files_seen),
(trash_is_not_empty), (nautilus_trash_directory_initialize_class),
(nautilus_trash_directory_add_real_trash_directory),
(nautilus_trash_directory_remove_real_trash_directory),
(remove_all_real_directories): Getting closer on the trash
implementation. Still a ways to go.
* src/file-manager/fm-icon-text-window.c:
(create_attributes_option_menu):
* src/file-manager/fm-icon-view.c: (fm_icon_view_merge_menus): Use
_() instead of calling gettext. It turns out this is the
recommended way to do it, even when the parameter is not a literal
string.
2000-08-17 00:43:18 +00:00
|
|
|
development package, these versions are for Red Hat 6.2 and Debian
|
2000-08-11 18:39:15 +00:00
|
|
|
"potato":
|
2000-08-11 18:18:39 +00:00
|
|
|
|
2000-10-06 07:25:37 +00:00
|
|
|
library Red Hat Debian approx. version
|
|
|
|
-------------- ------------------------ ------------------------------ ------------------
|
|
|
|
audiofile audiofile-devel-0.1.9-3 libaudiofile-dev (0.1.9-0.1) 0.1.9
|
2001-02-15 02:06:53 +00:00
|
|
|
esound esound-0.2.20 ? 0.2
|
2000-10-06 07:25:37 +00:00
|
|
|
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
|
2001-02-15 02:06:53 +00:00
|
|
|
freetype2 freetype2-devel-1.0beta8 ? 1.0beta8
|
2001-02-23 13:02:49 +00:00
|
|
|
scrollkeeper scrollkeeper-0.1.0-1 ? 0.1.0
|
2000-08-11 18:18:39 +00:00
|
|
|
|
2001-02-14 21:01:18 +00:00
|
|
|
Other modules for Red Hat users:
|
2000-08-11 18:18:39 +00:00
|
|
|
|
Don't use tabs any more. Spell check. Add libglade.
* README: Don't use tabs any more. Spell check.
Add libglade.
* components/tree/nautilus-tree-model.c:
(nautilus_tree_model_monitor_add),
(nautilus_tree_model_monitor_node):
Use file attribute constant instead of hard-coded string. I was
here to make some changes to the monitor API, but I didn't get
to that yet. Next check-in.
* libnautilus-extensions/nautilus-directory-async.c:
(nautilus_directory_monitor_add_internal):
Use "files_added" signal instead of callback. This is the first
step toward removing the callback. I'll remove it tomorrow.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_notify_files_added): Fix directory ref count
leak.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_internal): Fix case where we would not ref
the NautilusFile even though the directory is monitoring it.
This would lead to an early destroy later.
* libnautilus-extensions/nautilus-search-uri.c:
(nautilus_search_uri_to_human): Comment out print statements.
Mathieu can delete them entirely later.
(nautilus_self_check_search_uri): Added a few more tests.
* libnautilus-extensions/nautilus-trash-directory.h:
* libnautilus-extensions/nautilus-trash-directory.c:
(nautilus_trash_directory_initialize), (trash_destroy),
(trash_callback_hash), (trash_callback_equal),
(trash_contains_file), (trash_callback_destroy),
(trash_callback_check_done), (directory_ready_callback),
(trash_callback_connect_directory), (trash_call_when_ready),
(trash_cancel_callback), (trash_file_monitor_add),
(trash_file_monitor_remove), (trash_are_all_files_seen),
(trash_is_not_empty), (nautilus_trash_directory_initialize_class),
(nautilus_trash_directory_add_real_trash_directory),
(nautilus_trash_directory_remove_real_trash_directory),
(remove_all_real_directories): Getting closer on the trash
implementation. Still a ways to go.
* src/file-manager/fm-icon-text-window.c:
(create_attributes_option_menu):
* src/file-manager/fm-icon-view.c: (fm_icon_view_merge_menus): Use
_() instead of calling gettext. It turns out this is the
recommended way to do it, even when the parameter is not a literal
string.
2000-08-17 00:43:18 +00:00
|
|
|
- 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:
|
2000-08-11 18:18:39 +00:00
|
|
|
|
Don't use tabs any more. Spell check. Add libglade.
* README: Don't use tabs any more. Spell check.
Add libglade.
* components/tree/nautilus-tree-model.c:
(nautilus_tree_model_monitor_add),
(nautilus_tree_model_monitor_node):
Use file attribute constant instead of hard-coded string. I was
here to make some changes to the monitor API, but I didn't get
to that yet. Next check-in.
* libnautilus-extensions/nautilus-directory-async.c:
(nautilus_directory_monitor_add_internal):
Use "files_added" signal instead of callback. This is the first
step toward removing the callback. I'll remove it tomorrow.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_notify_files_added): Fix directory ref count
leak.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_internal): Fix case where we would not ref
the NautilusFile even though the directory is monitoring it.
This would lead to an early destroy later.
* libnautilus-extensions/nautilus-search-uri.c:
(nautilus_search_uri_to_human): Comment out print statements.
Mathieu can delete them entirely later.
(nautilus_self_check_search_uri): Added a few more tests.
* libnautilus-extensions/nautilus-trash-directory.h:
* libnautilus-extensions/nautilus-trash-directory.c:
(nautilus_trash_directory_initialize), (trash_destroy),
(trash_callback_hash), (trash_callback_equal),
(trash_contains_file), (trash_callback_destroy),
(trash_callback_check_done), (directory_ready_callback),
(trash_callback_connect_directory), (trash_call_when_ready),
(trash_cancel_callback), (trash_file_monitor_add),
(trash_file_monitor_remove), (trash_are_all_files_seen),
(trash_is_not_empty), (nautilus_trash_directory_initialize_class),
(nautilus_trash_directory_add_real_trash_directory),
(nautilus_trash_directory_remove_real_trash_directory),
(remove_all_real_directories): Getting closer on the trash
implementation. Still a ways to go.
* src/file-manager/fm-icon-text-window.c:
(create_attributes_option_menu):
* src/file-manager/fm-icon-view.c: (fm_icon_view_merge_menus): Use
_() instead of calling gettext. It turns out this is the
recommended way to do it, even when the parameter is not a literal
string.
2000-08-17 00:43:18 +00:00
|
|
|
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
|
2000-08-11 18:18:39 +00:00
|
|
|
|
2001-02-15 02:06:53 +00:00
|
|
|
- FreeType packages are available here:
|
|
|
|
|
|
|
|
http://developer.eazel.com/eazel-hacking/updates/redhat62/freetype2/freetype-2.0.1-4.i386.rpm
|
|
|
|
http://developer.eazel.com/eazel-hacking/updates/redhat62/freetype2/freetype-devel-2.0.1-4.i386.rpm
|
2000-10-06 07:25:37 +00:00
|
|
|
|
2001-02-23 13:02:49 +00:00
|
|
|
- ScrollKeeper source and packages are available here:
|
|
|
|
|
|
|
|
http://sourceforge.net/project/showfiles.php?group_id=11543
|
|
|
|
|
2001-02-14 21:01:18 +00:00
|
|
|
Replace "redhat62" with "redhat70" if you are using RedHat Linux 7.0.
|
2000-10-06 07:25:37 +00:00
|
|
|
|
2000-08-11 18:18:39 +00:00
|
|
|
Other modules for Debian users: using potato, or possibly woody
|
|
|
|
|
|
|
|
If you need to get a copy of popt from source:
|
|
|
|
|
Don't use tabs any more. Spell check. Add libglade.
* README: Don't use tabs any more. Spell check.
Add libglade.
* components/tree/nautilus-tree-model.c:
(nautilus_tree_model_monitor_add),
(nautilus_tree_model_monitor_node):
Use file attribute constant instead of hard-coded string. I was
here to make some changes to the monitor API, but I didn't get
to that yet. Next check-in.
* libnautilus-extensions/nautilus-directory-async.c:
(nautilus_directory_monitor_add_internal):
Use "files_added" signal instead of callback. This is the first
step toward removing the callback. I'll remove it tomorrow.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_notify_files_added): Fix directory ref count
leak.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_internal): Fix case where we would not ref
the NautilusFile even though the directory is monitoring it.
This would lead to an early destroy later.
* libnautilus-extensions/nautilus-search-uri.c:
(nautilus_search_uri_to_human): Comment out print statements.
Mathieu can delete them entirely later.
(nautilus_self_check_search_uri): Added a few more tests.
* libnautilus-extensions/nautilus-trash-directory.h:
* libnautilus-extensions/nautilus-trash-directory.c:
(nautilus_trash_directory_initialize), (trash_destroy),
(trash_callback_hash), (trash_callback_equal),
(trash_contains_file), (trash_callback_destroy),
(trash_callback_check_done), (directory_ready_callback),
(trash_callback_connect_directory), (trash_call_when_ready),
(trash_cancel_callback), (trash_file_monitor_add),
(trash_file_monitor_remove), (trash_are_all_files_seen),
(trash_is_not_empty), (nautilus_trash_directory_initialize_class),
(nautilus_trash_directory_add_real_trash_directory),
(nautilus_trash_directory_remove_real_trash_directory),
(remove_all_real_directories): Getting closer on the trash
implementation. Still a ways to go.
* src/file-manager/fm-icon-text-window.c:
(create_attributes_option_menu):
* src/file-manager/fm-icon-view.c: (fm_icon_view_merge_menus): Use
_() instead of calling gettext. It turns out this is the
recommended way to do it, even when the parameter is not a literal
string.
2000-08-17 00:43:18 +00:00
|
|
|
CVSROOT=:pserver:anonymous@cvs.rpm.org:/cvs/devel
|
|
|
|
The default password is a carriage return. You should do a cvs co popt
|
2000-08-11 18:18:39 +00:00
|
|
|
|
2001-02-15 02:06:53 +00:00
|
|
|
=====================
|
|
|
|
4: Compiling from cvs
|
|
|
|
=====================
|
|
|
|
|
|
|
|
Compiling from cvs a lot of work, and some packages may not compile at
|
|
|
|
any given moment when you check them out.
|
2000-08-11 18:18:39 +00:00
|
|
|
|
Don't use tabs any more. Spell check. Add libglade.
* README: Don't use tabs any more. Spell check.
Add libglade.
* components/tree/nautilus-tree-model.c:
(nautilus_tree_model_monitor_add),
(nautilus_tree_model_monitor_node):
Use file attribute constant instead of hard-coded string. I was
here to make some changes to the monitor API, but I didn't get
to that yet. Next check-in.
* libnautilus-extensions/nautilus-directory-async.c:
(nautilus_directory_monitor_add_internal):
Use "files_added" signal instead of callback. This is the first
step toward removing the callback. I'll remove it tomorrow.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_notify_files_added): Fix directory ref count
leak.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_internal): Fix case where we would not ref
the NautilusFile even though the directory is monitoring it.
This would lead to an early destroy later.
* libnautilus-extensions/nautilus-search-uri.c:
(nautilus_search_uri_to_human): Comment out print statements.
Mathieu can delete them entirely later.
(nautilus_self_check_search_uri): Added a few more tests.
* libnautilus-extensions/nautilus-trash-directory.h:
* libnautilus-extensions/nautilus-trash-directory.c:
(nautilus_trash_directory_initialize), (trash_destroy),
(trash_callback_hash), (trash_callback_equal),
(trash_contains_file), (trash_callback_destroy),
(trash_callback_check_done), (directory_ready_callback),
(trash_callback_connect_directory), (trash_call_when_ready),
(trash_cancel_callback), (trash_file_monitor_add),
(trash_file_monitor_remove), (trash_are_all_files_seen),
(trash_is_not_empty), (nautilus_trash_directory_initialize_class),
(nautilus_trash_directory_add_real_trash_directory),
(nautilus_trash_directory_remove_real_trash_directory),
(remove_all_real_directories): Getting closer on the trash
implementation. Still a ways to go.
* src/file-manager/fm-icon-text-window.c:
(create_attributes_option_menu):
* src/file-manager/fm-icon-view.c: (fm_icon_view_merge_menus): Use
_() instead of calling gettext. It turns out this is the
recommended way to do it, even when the parameter is not a literal
string.
2000-08-17 00:43:18 +00:00
|
|
|
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
|
2001-02-15 02:06:53 +00:00
|
|
|
corresponding development packages. (i.e.: the *-devel packages which
|
Don't use tabs any more. Spell check. Add libglade.
* README: Don't use tabs any more. Spell check.
Add libglade.
* components/tree/nautilus-tree-model.c:
(nautilus_tree_model_monitor_add),
(nautilus_tree_model_monitor_node):
Use file attribute constant instead of hard-coded string. I was
here to make some changes to the monitor API, but I didn't get
to that yet. Next check-in.
* libnautilus-extensions/nautilus-directory-async.c:
(nautilus_directory_monitor_add_internal):
Use "files_added" signal instead of callback. This is the first
step toward removing the callback. I'll remove it tomorrow.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_notify_files_added): Fix directory ref count
leak.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_internal): Fix case where we would not ref
the NautilusFile even though the directory is monitoring it.
This would lead to an early destroy later.
* libnautilus-extensions/nautilus-search-uri.c:
(nautilus_search_uri_to_human): Comment out print statements.
Mathieu can delete them entirely later.
(nautilus_self_check_search_uri): Added a few more tests.
* libnautilus-extensions/nautilus-trash-directory.h:
* libnautilus-extensions/nautilus-trash-directory.c:
(nautilus_trash_directory_initialize), (trash_destroy),
(trash_callback_hash), (trash_callback_equal),
(trash_contains_file), (trash_callback_destroy),
(trash_callback_check_done), (directory_ready_callback),
(trash_callback_connect_directory), (trash_call_when_ready),
(trash_cancel_callback), (trash_file_monitor_add),
(trash_file_monitor_remove), (trash_are_all_files_seen),
(trash_is_not_empty), (nautilus_trash_directory_initialize_class),
(nautilus_trash_directory_add_real_trash_directory),
(nautilus_trash_directory_remove_real_trash_directory),
(remove_all_real_directories): Getting closer on the trash
implementation. Still a ways to go.
* src/file-manager/fm-icon-text-window.c:
(create_attributes_option_menu):
* src/file-manager/fm-icon-view.c: (fm_icon_view_merge_menus): Use
_() instead of calling gettext. It turns out this is the
recommended way to do it, even when the parameter is not a literal
string.
2000-08-17 00:43:18 +00:00
|
|
|
provide the necessary C header files.
|
2000-08-11 18:18:39 +00:00
|
|
|
|
Don't use tabs any more. Spell check. Add libglade.
* README: Don't use tabs any more. Spell check.
Add libglade.
* components/tree/nautilus-tree-model.c:
(nautilus_tree_model_monitor_add),
(nautilus_tree_model_monitor_node):
Use file attribute constant instead of hard-coded string. I was
here to make some changes to the monitor API, but I didn't get
to that yet. Next check-in.
* libnautilus-extensions/nautilus-directory-async.c:
(nautilus_directory_monitor_add_internal):
Use "files_added" signal instead of callback. This is the first
step toward removing the callback. I'll remove it tomorrow.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_notify_files_added): Fix directory ref count
leak.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_internal): Fix case where we would not ref
the NautilusFile even though the directory is monitoring it.
This would lead to an early destroy later.
* libnautilus-extensions/nautilus-search-uri.c:
(nautilus_search_uri_to_human): Comment out print statements.
Mathieu can delete them entirely later.
(nautilus_self_check_search_uri): Added a few more tests.
* libnautilus-extensions/nautilus-trash-directory.h:
* libnautilus-extensions/nautilus-trash-directory.c:
(nautilus_trash_directory_initialize), (trash_destroy),
(trash_callback_hash), (trash_callback_equal),
(trash_contains_file), (trash_callback_destroy),
(trash_callback_check_done), (directory_ready_callback),
(trash_callback_connect_directory), (trash_call_when_ready),
(trash_cancel_callback), (trash_file_monitor_add),
(trash_file_monitor_remove), (trash_are_all_files_seen),
(trash_is_not_empty), (nautilus_trash_directory_initialize_class),
(nautilus_trash_directory_add_real_trash_directory),
(nautilus_trash_directory_remove_real_trash_directory),
(remove_all_real_directories): Getting closer on the trash
implementation. Still a ways to go.
* src/file-manager/fm-icon-text-window.c:
(create_attributes_option_menu):
* src/file-manager/fm-icon-view.c: (fm_icon_view_merge_menus): Use
_() instead of calling gettext. It turns out this is the
recommended way to do it, even when the parameter is not a literal
string.
2000-08-17 00:43:18 +00:00
|
|
|
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).
|
2000-08-11 18:18:39 +00:00
|
|
|
|
2001-11-01 01:01:49 +00:00
|
|
|
The requirement is basically "the GNOME2 platform". Any differences
|
|
|
|
from that will be listed here in this table.
|
2000-08-11 18:18:39 +00:00
|
|
|
|
2001-02-15 02:06:53 +00:00
|
|
|
module branch configure options
|
|
|
|
------ ------ -----------------
|
|
|
|
popt: <1.5, not from GNOME CVS, see above>
|
2001-11-01 01:01:49 +00:00
|
|
|
glib: HEAD
|
|
|
|
gtk+: HEAD
|
buddy: Gene Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-file.c: (rename_callback): Since
metadata for the directory itself is now stored under a fixed
name, no need to rename the metadata for self-owned files any
more.
(get_item_count), (get_size), (compare_directories_by_count),
(compare_files_by_size), (compare_by_size): Reimplement compares
by size so they don't use gnome_vfs_file_info_compare -- this
makes them work better for info == NULL cases.
(get_date), (compare_by_modification_date): Reimplement compares
by modification date so they don't use gnome_vfs_file_info_compare
-- this makes them work better for info == NULL cases.
(compare_by_name): Sort files that start with "." or "#" last.
(compare_by_name_and_directory_name): Helper function so that we
always sort by directory name when names are equal.
(nautilus_file_compare_for_sort): Use the new functions above so
we never have to use the gnome_vfs_file_info_compare function.
Because of that, we won't have to keep file names around any more.
This also simplified the logic -- I was able to remove all the
special cases for info == NULL.
(get_metadata_name): Function that returns "." for self-owned
files so the metadata for the directory itself is stored somewhere
that's not affected by renaming.
(nautilus_file_get_metadata), (nautilus_file_get_metadata_list),
(nautilus_file_set_metadata), (nautilus_file_set_metadata_list),
(nautilus_file_get_boolean_metadata),
(nautilus_file_get_integer_metadata),
(nautilus_file_set_boolean_metadata),
(nautilus_file_set_integer_metadata): Use the new
get_metadata_name function.
* src/file-manager/nautilus-directory-view-ui.xml: Changed an old
<menuitem/> to <separator/>.
* po/.cvsignore: Ignore the tmp directory, but no need to ignore
the .headerlock file which is now obsolete.
* README: Minor tweaks.
* libnautilus-extensions/Makefile.am: Resorted lists.
2000-11-09 01:36:13 +00:00
|
|
|
imlib: HEAD
|
2001-11-01 01:01:49 +00:00
|
|
|
gnome-xml: HEAD
|
|
|
|
ORBit: HEAD
|
2001-10-19 16:17:10 +00:00
|
|
|
intltool: HEAD
|
2001-11-01 01:01:49 +00:00
|
|
|
bonobo-activation: HEAD
|
|
|
|
gconf: HEAD
|
|
|
|
gnome-vfs: HEAD
|
|
|
|
libbonobo: HEAD
|
|
|
|
librsvg: HEAD
|
|
|
|
eel: HEAD
|
2000-08-11 18:18:39 +00:00
|
|
|
nautilus: HEAD
|
|
|
|
|
2000-08-11 18:39:15 +00:00
|
|
|
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
|
Don't use tabs any more. Spell check. Add libglade.
* README: Don't use tabs any more. Spell check.
Add libglade.
* components/tree/nautilus-tree-model.c:
(nautilus_tree_model_monitor_add),
(nautilus_tree_model_monitor_node):
Use file attribute constant instead of hard-coded string. I was
here to make some changes to the monitor API, but I didn't get
to that yet. Next check-in.
* libnautilus-extensions/nautilus-directory-async.c:
(nautilus_directory_monitor_add_internal):
Use "files_added" signal instead of callback. This is the first
step toward removing the callback. I'll remove it tomorrow.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_notify_files_added): Fix directory ref count
leak.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_internal): Fix case where we would not ref
the NautilusFile even though the directory is monitoring it.
This would lead to an early destroy later.
* libnautilus-extensions/nautilus-search-uri.c:
(nautilus_search_uri_to_human): Comment out print statements.
Mathieu can delete them entirely later.
(nautilus_self_check_search_uri): Added a few more tests.
* libnautilus-extensions/nautilus-trash-directory.h:
* libnautilus-extensions/nautilus-trash-directory.c:
(nautilus_trash_directory_initialize), (trash_destroy),
(trash_callback_hash), (trash_callback_equal),
(trash_contains_file), (trash_callback_destroy),
(trash_callback_check_done), (directory_ready_callback),
(trash_callback_connect_directory), (trash_call_when_ready),
(trash_cancel_callback), (trash_file_monitor_add),
(trash_file_monitor_remove), (trash_are_all_files_seen),
(trash_is_not_empty), (nautilus_trash_directory_initialize_class),
(nautilus_trash_directory_add_real_trash_directory),
(nautilus_trash_directory_remove_real_trash_directory),
(remove_all_real_directories): Getting closer on the trash
implementation. Still a ways to go.
* src/file-manager/fm-icon-text-window.c:
(create_attributes_option_menu):
* src/file-manager/fm-icon-view.c: (fm_icon_view_merge_menus): Use
_() instead of calling gettext. It turns out this is the
recommended way to do it, even when the parameter is not a literal
string.
2000-08-17 00:43:18 +00:00
|
|
|
following packages:
|
2000-08-11 18:39:15 +00:00
|
|
|
|
Don't use tabs any more. Spell check. Add libglade.
* README: Don't use tabs any more. Spell check.
Add libglade.
* components/tree/nautilus-tree-model.c:
(nautilus_tree_model_monitor_add),
(nautilus_tree_model_monitor_node):
Use file attribute constant instead of hard-coded string. I was
here to make some changes to the monitor API, but I didn't get
to that yet. Next check-in.
* libnautilus-extensions/nautilus-directory-async.c:
(nautilus_directory_monitor_add_internal):
Use "files_added" signal instead of callback. This is the first
step toward removing the callback. I'll remove it tomorrow.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_notify_files_added): Fix directory ref count
leak.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_internal): Fix case where we would not ref
the NautilusFile even though the directory is monitoring it.
This would lead to an early destroy later.
* libnautilus-extensions/nautilus-search-uri.c:
(nautilus_search_uri_to_human): Comment out print statements.
Mathieu can delete them entirely later.
(nautilus_self_check_search_uri): Added a few more tests.
* libnautilus-extensions/nautilus-trash-directory.h:
* libnautilus-extensions/nautilus-trash-directory.c:
(nautilus_trash_directory_initialize), (trash_destroy),
(trash_callback_hash), (trash_callback_equal),
(trash_contains_file), (trash_callback_destroy),
(trash_callback_check_done), (directory_ready_callback),
(trash_callback_connect_directory), (trash_call_when_ready),
(trash_cancel_callback), (trash_file_monitor_add),
(trash_file_monitor_remove), (trash_are_all_files_seen),
(trash_is_not_empty), (nautilus_trash_directory_initialize_class),
(nautilus_trash_directory_add_real_trash_directory),
(nautilus_trash_directory_remove_real_trash_directory),
(remove_all_real_directories): Getting closer on the trash
implementation. Still a ways to go.
* src/file-manager/fm-icon-text-window.c:
(create_attributes_option_menu):
* src/file-manager/fm-icon-view.c: (fm_icon_view_merge_menus): Use
_() instead of calling gettext. It turns out this is the
recommended way to do it, even when the parameter is not a literal
string.
2000-08-17 00:43:18 +00:00
|
|
|
package version command
|
|
|
|
------- ------- -------
|
2001-11-01 01:01:49 +00:00
|
|
|
automake 1.4p4 automake --version
|
|
|
|
autoconf 2.52 autoconf --version
|
2000-08-11 18:18:39 +00:00
|
|
|
|
|
|
|
Earlier versions might work but no one has tested them.
|
|
|
|
|
2001-02-15 02:06:53 +00:00
|
|
|
You will need to create the ${prefix}/share/aclocal directory
|
More work on whittling the state machine down to size.
* README: libunicode, libglade, and eog are no longer required.
* components/history/nautilus-history-view.c:
(history_title_changed):
* libnautilus/nautilus-view-component.idl:
* libnautilus/nautilus-view.c: (impl_Nautilus_View_title_changed),
(nautilus_view_initialize_class):
* libnautilus/nautilus-view.h:
* src/nautilus-view-frame.c: (nautilus_view_frame_title_changed):
* src/nautilus-view-frame.h:
Added title parameter for the title_changed function.
* src/nautilus-view-frame.c:
(nautilus_view_frame_report_load_complete): Got rid of extra
emission of report_load_complete, which is handled by
view_frame_loaded now.
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_initialize_class):
* libnautilus-extensions/nautilus-entry.c:
(nautilus_entry_initialize_class):
* libnautilus-extensions/nautilus-icon-text-item.c:
(iti_class_init):
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_initialize_class):
* src/nautilus-bookmark-list.c:
(nautilus_bookmark_list_initialize_class):
* src/nautilus-navigation-bar.c:
(nautilus_navigation_bar_initialize_class):
* src/nautilus-search-bar-criterion.c:
(nautilus_search_bar_criterion_initialize_class):
* src/nautilus-sidebar.c: (nautilus_sidebar_initialize_class):
* src/nautilus-switchable-navigation-bar.c:
(nautilus_switchable_navigation_bar_initialize_class):
Use GTK_RUN_LAST instead of GTK_RUN_FIRST.
* libnautilus-extensions/nautilus-directory-background.c:
* libnautilus-extensions/nautilus-link-set.c:
* libnautilus-extensions/nautilus-link.c:
* src/file-manager/fm-icon-text-window.c:
* src/file-manager/fm-icon-view.c:
* src/file-manager/fm-properties-window.c:
* src/nautilus-complex-search-bar.c:
* src/nautilus-link-set-window.c:
* src/nautilus-simple-search-bar.c:
* src/nautilus-switchable-search-bar.c:
Add includes needed now that the #include <gnome.h> was removed
from nautilus-global-preferences.h.
* libnautilus-extensions/nautilus-string.h:
* libnautilus-extensions/nautilus-string.c:
(nautilus_strcmp_case_breaks_ties): Added function, like
g_strcasecmp, but falls back on strcmp for strings that match
case-insensitive-wise.
(nautilus_istr_compare): Use nautilus_strcmp_case_breaks_ties
instead of nautilus_strcasecmp.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_compare_by_name): Use
nautilus_strcmp_case_breaks_ties instead of g_strcasecmp.
(nautilus_file_compare_by_directory_name): Use
nautilus_strcmp_case_breaks_ties instead of g_strcasecmp.
(get_automatic_emblems_as_integer): Convert automatic emblems to
integer form for simple sorting.
(prepend_automatic_emblem_names): Separate out the code that puts
on automatic emblem names, and make it put them first, before any
keyword-based emblems.
(nautilus_file_compare_by_emblems): Compare the automatic emblems
first, using the integer form.
(nautilus_file_compare_by_type): Use
nautilus_strcmp_case_breaks_ties instead of nautilus_strcmp.
(nautilus_file_compare_for_sort): Use
nautilus_strcmp_case_breaks_ties instead of g_strcasecmp.
(nautilus_file_compare_name): Use nautilus_strcmp_case_breaks_ties
instead of g_strcasecmp.
(nautilus_file_is_mime_type): Use nautilus_strcasecmp instead of
nautilus_strcmp.
(nautilus_file_get_emblem_names): Use
prepend_automatic_emblem_names.
(sort_keyword_list_and_remove_duplicates): Sort with
nautilus_strcmp_case_breaks_ties instead of
compare_emblem_names. Automatic emblem names are now dealt with
elsewhere.
* libnautilus-extensions/nautilus-icon-container.c:
(compare_icons_by_name): Use nautilus_strcmp_case_breaks_ties
instead of nautilus_strcasecmp.
* libnautilus-extensions/nautilus-glib-extensions.c:
(nautilus_g_str_list_sort): Use nautilus_str_compare.
(nautilus_g_str_list_sort_case_insensitive): Use
nautilus_istr_compare.
* components/services/vault/command-line/main.c: (main):
* test/test-nautilus-mime-actions-set.c: (str_to_action_type):
Use g_strcasecmp, not strcasecmp, for portability.
* libnautilus-extensions/nautilus-global-preferences.h:
* libnautilus-extensions/nautilus-global-preferences.c:
Removed _get_disabled_sidebar_panel_view_identifiers since the
logic now removes any not in the enabled list instead.
* libnautilus-extensions/nautilus-view-identifier.h:
* libnautilus-extensions/nautilus-view-identifier.c:
(nautilus_view_identifier_list_copy): New function.
(nautilus_view_identifier_compare): Now sorts properly instead of
returning 1 for any two identifiers that are !=.
* nautilus-clean.sh: Removed unadorned gconfd now that it's
ancient history and because it makes the script seem to fail all
the time.
* src/nautilus-window-manage-views.h:
* src/nautilus-window-manage-views.c:
(compute_title): Renamed to a shorter name since it's a local function.
(update_title): Renamed to a shorter name since it's a local
function and made it do nothing if the title is already correct.
(nautilus_window_update_internals): Simplified code by using the
new cached title.
(nautilus_window_has_really_changed): Removed sidebar panel logic
that is no longer needed.
(nautilus_window_free_load_info): Remove some unused fields.
(nautilus_window_open_location): Removed unused parameter.
(nautilus_window_open_location_in_new_window): Removed unused
parameter.
(load_content_view): Renamed to shorter name since it's a local
function.
(handle_view_failure), (cancel_location_change),
(load_view_for_new_location), (set_view_location_and_selection):
Broke out big pieces of code used by the state machine. Soon we
won't have a state machine at all, but we'll still need functions
like these.
(nautilus_window_update_state): Removed a lot of the code and
broke the remaining bits into the above functions.
(nautilus_window_set_state_info): Removed sidebar management code
and some now-unused state variables.
(nautilus_window_stop_loading): Moved this function in here and
renamed it so the whole state machine is in one place.
(nautilus_window_set_content_view): Moved this function in here
and renamed it so the whole state machine is in one place.
(compare_view_identifier_with_iid),
(nautilus_window_set_sidebar_panels): Wrote new code to set up the
sidebar panels based on a list of view identifiers, based on the
code that was used before when preferences change. Moved here so
the whole state machine is in one place.
* src/nautilus-window-toolbars.c: (toolbar_stop_callback): Call
the new function nautilus_window_stop_loading.
* src/nautilus-window-private.h:
* src/nautilus-window.h:
* src/nautilus-window.c: (nautilus_window_initialize_class):
Removed the "content_view" argument.
(nautilus_window_goto_uri): Removed the view frame parameter from
the open_location call.
(nautilus_window_constructed): Set up sidebars based on
preferences when the window is created.
(nautilus_window_set_arg): Removed the "content_view" argument.
(nautilus_window_get_arg): Removed the "content_view" argument.
(view_menu_switch_views_callback): Call the new function
nautilus_window_set_content_view.
(chose_component_callback), Call the new function
nautilus_window_set_content_view.
(nautilus_window_open_location_callback): Removed the view frame
parameter from the open_location call.
(nautilus_window_open_location_in_new_window_callback): Removed
the view frame parameter from the open_location_in_new_window
call.
(nautilus_window_connect_view): Don't connect to
report_load_progress any more. The view frame now handles this for
us.
(nautilus_window_set_content_view_widget): Renamed this to avoid
confusion with the new nautilus_window_set_content_view which is
used to change content views, given a new view identifier.
(update_sidebar_panels_from_preferences): Renamed and changed to
use the new nautilus_window_set_sidebar_panels call.
2000-10-03 02:02:10 +00:00
|
|
|
before compiling any package and setup the following environment
|
|
|
|
variable:
|
2000-08-11 18:39:15 +00:00
|
|
|
|
Don't use tabs any more. Spell check. Add libglade.
* README: Don't use tabs any more. Spell check.
Add libglade.
* components/tree/nautilus-tree-model.c:
(nautilus_tree_model_monitor_add),
(nautilus_tree_model_monitor_node):
Use file attribute constant instead of hard-coded string. I was
here to make some changes to the monitor API, but I didn't get
to that yet. Next check-in.
* libnautilus-extensions/nautilus-directory-async.c:
(nautilus_directory_monitor_add_internal):
Use "files_added" signal instead of callback. This is the first
step toward removing the callback. I'll remove it tomorrow.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_notify_files_added): Fix directory ref count
leak.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_internal): Fix case where we would not ref
the NautilusFile even though the directory is monitoring it.
This would lead to an early destroy later.
* libnautilus-extensions/nautilus-search-uri.c:
(nautilus_search_uri_to_human): Comment out print statements.
Mathieu can delete them entirely later.
(nautilus_self_check_search_uri): Added a few more tests.
* libnautilus-extensions/nautilus-trash-directory.h:
* libnautilus-extensions/nautilus-trash-directory.c:
(nautilus_trash_directory_initialize), (trash_destroy),
(trash_callback_hash), (trash_callback_equal),
(trash_contains_file), (trash_callback_destroy),
(trash_callback_check_done), (directory_ready_callback),
(trash_callback_connect_directory), (trash_call_when_ready),
(trash_cancel_callback), (trash_file_monitor_add),
(trash_file_monitor_remove), (trash_are_all_files_seen),
(trash_is_not_empty), (nautilus_trash_directory_initialize_class),
(nautilus_trash_directory_add_real_trash_directory),
(nautilus_trash_directory_remove_real_trash_directory),
(remove_all_real_directories): Getting closer on the trash
implementation. Still a ways to go.
* src/file-manager/fm-icon-text-window.c:
(create_attributes_option_menu):
* src/file-manager/fm-icon-view.c: (fm_icon_view_merge_menus): Use
_() instead of calling gettext. It turns out this is the
recommended way to do it, even when the parameter is not a literal
string.
2000-08-17 00:43:18 +00:00
|
|
|
export ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I ${prefix}/share/aclocal"
|
2000-08-11 18:18:39 +00:00
|
|
|
|
2001-02-15 02:06:53 +00:00
|
|
|
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:
|
2001-10-19 16:17:10 +00:00
|
|
|
|
2001-02-15 02:06:53 +00:00
|
|
|
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}
|
2000-08-11 18:18:39 +00:00
|
|
|
|
2001-02-15 02:06:53 +00:00
|
|
|
In the order defined above and with the specific options detailed
|
|
|
|
above for each package, you should run the autogen scripts:
|
2000-12-12 01:43:19 +00:00
|
|
|
|
2001-02-15 02:06:53 +00:00
|
|
|
./autogen.sh --prefix=${prefix} <special-options>
|
|
|
|
|
|
|
|
Then:
|
|
|
|
|
|
|
|
make
|
|
|
|
|
|
|
|
Then get root and:
|
|
|
|
|
|
|
|
make install.
|
2000-12-12 01:43:19 +00:00
|
|
|
|
2000-08-11 18:18:39 +00:00
|
|
|
===============================
|
2000-08-11 18:39:15 +00:00
|
|
|
5: Issues when running Nautilus
|
2000-08-11 18:18:39 +00:00
|
|
|
===============================
|
|
|
|
|
2001-11-07 19:02:02 +00:00
|
|
|
If bonobo-activation changes, you may need to run the bonobo-slay
|
|
|
|
script.
|
2000-08-11 18:18:39 +00:00
|
|
|
|
2001-11-07 19:02:02 +00:00
|
|
|
bonobo-slay
|
2000-10-03 14:09:29 +00:00
|
|
|
|
2001-02-15 02:06:53 +00:00
|
|
|
==================
|
2000-10-03 14:09:29 +00:00
|
|
|
6: Mozilla support
|
2001-02-15 02:06:53 +00:00
|
|
|
==================
|
2000-10-03 14:09:29 +00:00
|
|
|
|
|
|
|
Nautilus includes support for browsing HTML content on the local
|
2001-02-15 02:06:53 +00:00
|
|
|
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
|
2000-10-03 14:09:29 +00:00
|
|
|
Mozilla development libraries are detected on your system.
|
|
|
|
|
2001-10-16 02:38:42 +00:00
|
|
|
The recommended version of Mozilla for use with Nautilus is 0.9.5.
|
2000-10-03 14:09:29 +00:00
|
|
|
|
2001-06-08 11:38:48 +00:00
|
|
|
The latest Mozilla packages can be found here:
|
2001-02-14 21:01:18 +00:00
|
|
|
|
2001-10-16 02:38:42 +00:00
|
|
|
ftp://ftp.mozilla.org/pub/mozilla/releases/mozilla0.9.5/
|
2001-05-08 08:48:26 +00:00
|
|
|
|
2001-06-08 11:38:48 +00:00
|
|
|
After installing these packages (RPMs for example) you can build Nautilus
|
|
|
|
with Mozilla support as follows:
|
2000-10-03 14:09:29 +00:00
|
|
|
|
2001-02-15 02:06:53 +00:00
|
|
|
cd nautilus
|
|
|
|
rm -f config.cache config.status
|
|
|
|
./configure
|
2000-10-03 14:09:29 +00:00
|
|
|
|
|
|
|
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:
|
|
|
|
|
2001-02-15 02:06:53 +00:00
|
|
|
cd nautilus
|
|
|
|
rm -f config.cache config.status
|
|
|
|
./configure --with-mozilla-lib-place=/foo/bar/mozilla/dist/bin
|
2000-10-03 14:09:29 +00:00
|
|
|
--with-mozilla-include-place=/foo/bar/mozilla/dist/include
|
|
|
|
|
2001-02-15 02:06:53 +00:00
|
|
|
NOTE: The above configure command should be issued in one line. It is
|
|
|
|
split into two lines in this document for readability.
|
2000-10-03 14:09:29 +00:00
|
|
|
|
2000-10-19 03:55:20 +00:00
|
|
|
NOTE: If you are building mozilla from source (NOT from the rpm), you
|
|
|
|
need to do some environment setup for the Mozilla component:
|
2000-10-03 14:09:29 +00:00
|
|
|
|
2001-02-15 02:06:53 +00:00
|
|
|
export MOZILLA_FIVE_HOME=/foo/bar/mozilla/dist/bin
|
|
|
|
export LD_LIBRARY_PATH=/foo/bar/mozilla/dist/bin:$LD_LIBRARY_PATH
|
2000-10-03 14:09:29 +00:00
|
|
|
|
2001-02-15 02:06:53 +00:00
|
|
|
If you experience linking problems (e.g. undefined reference to
|
2001-01-22 20:56:02 +00:00
|
|
|
`nsString type_info node'), please note that both applications
|
|
|
|
(mozilla and nautilus) must be compiled not only with the same version
|
|
|
|
of compiler, but also with the same compiler flags. Download the right
|
2001-02-15 02:06:53 +00:00
|
|
|
mozilla package for your distribution (see upper).
|
|
|
|
|
|
|
|
If you have built Mozilla from source, Mozilla by default adds
|
|
|
|
CXXFLAGS -fno-rtti and -fno-exceptions or -fno-handle-exceptions
|
|
|
|
(depends on gcc version). You have two chances to make things in
|
|
|
|
sync:
|
|
|
|
|
|
|
|
1) Compile mozilla with this .mozconfig script: (You must place it in
|
|
|
|
your home directory):
|
|
|
|
|
|
|
|
# sh
|
|
|
|
# Build configuration script
|
|
|
|
#
|
|
|
|
# See http://www.mozilla.org/build/unix.html for build instructions.
|
|
|
|
#
|
|
|
|
|
|
|
|
# Options for 'configure' (same as command-line options).
|
|
|
|
ac_add_options --disable-tests
|
|
|
|
ac_add_options --disable-debug
|
|
|
|
ac_add_options --enable-strip-libs
|
|
|
|
ac_add_options --enable-cpp-rtti
|
|
|
|
ac_add_options --disable-mailnews
|
|
|
|
ac_add_options --enable-optimize
|
|
|
|
|
|
|
|
2) Configure mozilla with standard configure script and compile it.
|
2001-01-22 20:56:02 +00:00
|
|
|
Before configuring Nautilus set proper CXXFLAGS. For example with
|
|
|
|
latest gcc it means:
|
|
|
|
|
2001-02-15 02:06:53 +00:00
|
|
|
CXXFLAGS='-fno-rtti -fno-exceptions'
|
|
|
|
export CXXFLAGS
|
2001-01-22 20:56:02 +00:00
|
|
|
|
2001-02-15 02:06:53 +00:00
|
|
|
For more, see configure.in in mozilla source. You can save some space
|
|
|
|
by disabling RTTI.
|
2001-01-22 20:56:02 +00:00
|
|
|
|
2001-02-15 02:06:53 +00:00
|
|
|
As an alternative, if you don't want to use the Nautilus web page
|
|
|
|
viewer that uses Mozilla, you can disable the Mozilla component (even
|
|
|
|
if Mozilla development libraries are installed in your system) as
|
|
|
|
follows:
|
2000-10-03 14:09:29 +00:00
|
|
|
|
2001-02-15 02:06:53 +00:00
|
|
|
./configure --disable-mozilla-component
|
2000-10-06 07:25:37 +00:00
|
|
|
|
2001-04-21 00:39:44 +00:00
|
|
|
Mike Fleming has written some useful information about common
|
|
|
|
Mozilla problems and how to fix them. This information can be
|
|
|
|
found in the Nautilus Support FAQ:
|
2001-04-20 11:43:33 +00:00
|
|
|
|
2001-10-19 16:17:10 +00:00
|
|
|
http://www.eazel.com/nautilus-faq.html
|
2001-04-20 11:43:33 +00:00
|
|
|
|
2001-02-15 02:06:53 +00:00
|
|
|
==================
|
2000-10-06 07:25:37 +00:00
|
|
|
7: FreeType issues
|
2001-02-15 02:06:53 +00:00
|
|
|
==================
|
2000-10-06 07:25:37 +00:00
|
|
|
|
2001-02-15 02:06:53 +00:00
|
|
|
Nautilus includes support for rendering anti aliased text (smooth
|
2001-10-19 16:17:10 +00:00
|
|
|
mode). For smooth mode to work, the Nautilus library librsvg needs
|
|
|
|
to detect and use FreeType2 in your system.
|
2000-10-06 07:25:37 +00:00
|
|
|
|
|
|
|
To learn more about FreeType2, please see:
|
|
|
|
|
2001-02-15 02:06:53 +00:00
|
|
|
http://freetype.sourceforge.net/
|
2000-10-06 07:25:37 +00:00
|
|
|
|
|
|
|
If you are using a RedHat 6.x or greater system, then you can easily
|
reviewed by: Maciej Stachowiak <mjs@eazel.com>
Fixed bug 2802 (copy all metadata, not just certain items). There
are still a few loose ends but it's basically there.
Fixed bug 5296 (Hardware overview should be localized).
Fixed bug 5299 (Spacing problems with sizes in bytes).
* libnautilus-extensions/nautilus-directory-metafile.c:
(get_file_node): Used a local variable for the hash table to make
the code more readable because the full expression is too long.
Removed the half-baked attempt at using xmlNode objects to
represent "changes" data, which no longer seems a likely
direction.
(nautilus_directory_metafile_destroy): Local variable for hash
table.
(nautilus_directory_get_file_metadata): Return NULL, not FALSE,
since the function returns char *, not gboolean.
(nautilus_directory_rename_file_metadata): Local variable for hash
table. Also added a FIXME for a case that won't work.
(apply_file_changes): Broke out so it can be used elsewhere.
(apply_one_file_changes): This is now the version that has the
hash table iterator function interface.
(nautilus_directory_get_integer_file_metadata): Use sscanf instead
of atoi so we can do error checking.
(nautilus_directory_copy_file_metadata): Removed the old code that
copied fixed keys and wrote new code that copies all the metadata.
(nautilus_directory_remove_file_metadata): Local variable for hash
table.
* icons/arlo/arlo.xml: Added an explicit H offset of 0 for the
zoom control. It was inheriting the default theme's offset of
-2. This seems to indicate a design problem with the "fall back on
default" approach for themes, but for now it's nice to have the
zoom control looking right again.
* src/nautilus-window-menus.c:
(help_menu_about_nautilus_callback): Use the real copyright
character, not "(C)".
* src/file-manager/fm-desktop-icon-view.c
(find_and_update_home_link), (place_home_directory): Mark the
"darin's Home" string for localization. Needs improvement beyond
this, because just tacking "'s Home" onto the login name is
probably no good.
* components/hardware/nautilus-hardware-view.c: (read_proc_info):
Tweak code style a bit. Use g_string_free (FALSE) instead of
g_strdup and g_string_free (TRUE).
(get_CPU_description): Make this a little more localizable by
adding a strdup format string instead of appending things. Added
FIXMEs about additional problems.
(get_RAM_description): Add a little reality checking on the value
read from the file and make a little more localizable.
(get_IDE_description): Change to use the gnome-vfs file size
formatting functions in the right way. The old code had been
changed to not use them at all, probably because the first cut at
this code was using it wrong and ran into a 32-bit limit. Use
g_string_free (FALSE) instead of g_strdup and g_string_free
(TRUE).
* po/POTFILES.in: Marked nautilus-hardware-view.c as needing
localization.
* components/help/converters/gnome-db2html2/sect-elements.c:
(sect_informaltable_start_element): Fixed a runaway string
literal.
* libnautilus-extensions/nautilus-directory-async.c: Moved the
constants to the top of the file and put the compile-time switches
at the top of the constants section.
* NEWS: Removed out of date news.
* README: Fixed a typo.
* TODO: Removed out of date tasks.
2000-12-29 01:06:28 +00:00
|
|
|
add FreeType2 support by installing the rpms found here:
|
2000-10-06 07:25:37 +00:00
|
|
|
|
2001-02-15 02:06:53 +00:00
|
|
|
http://developer.eazel.com/eazel-hacking/updates/redhat62/freetype2
|
2001-02-14 21:01:18 +00:00
|
|
|
|
|
|
|
Replace "redhat62" with "redhat70" if you are using RedHat Linux 7.0.
|
2001-02-16 18:07:22 +00:00
|
|
|
|
|
|
|
Originally, the Freetype 2 rpm that we used for Nautilus was called "freetype2".
|
|
|
|
Now that RedHat 7.1 is is coming around, they have included freetype 2 in their
|
|
|
|
distribution. They called the rpm "freetype-2" (Freetype Version 2). Their
|
|
|
|
freetype-2 rpm contains both Freetype version 1 and Freetype version 2. In
|
|
|
|
order to avoid naming conflicts, we have renamed our freetype2 rpm to freetype-2.
|
|
|
|
This will cause problems for people upgrading from our old rpms to our new ones.
|
|
|
|
To remove the old rpms,
|
|
|
|
|
|
|
|
1) su
|
|
|
|
<password>
|
|
|
|
2) rpm -e --nodeps freetype2 freetype2-devel
|
|
|
|
3) Install the new Freetype-2 rpms: rpm -Uvh freetype*2.0.1*.rpm
|
2001-02-23 13:02:49 +00:00
|
|
|
|
|
|
|
=======================
|
|
|
|
8: Scrollkeeper support
|
|
|
|
=======================
|
|
|
|
|
|
|
|
Scrollkeeper is the documentation cataloging system based on document metadata.
|
|
|
|
It works with Nautilus to manage the documentation of installed packages
|
|
|
|
on your system.
|
|
|
|
|
|
|
|
Nautilus documentation is set up with metadata needed by Scrollkeeper. In order
|
|
|
|
to get the docs fully installed by Scrollkeeper the latest Scrollkeeper has to be
|
|
|
|
installed from here:
|
|
|
|
|
2001-10-19 16:17:10 +00:00
|
|
|
http://sourceforge.net/project/showfiles.php?group_id=11543
|
2001-02-23 13:02:49 +00:00
|
|
|
|
|
|
|
This is needed for building and for installing Nautilus.
|
|
|
|
|
|
|
|
The RPM installs below /usr. Scrollkeeper does a pre-install during build. Here it
|
|
|
|
doesnt matter where Scrollkeeper is installed.
|
|
|
|
|
|
|
|
At Nautilus install time Scrollkeeper installs the docs only if the metadata
|
|
|
|
is in $prefix/share/omf. This will be correct only if Nautilus and Scrollkeeper
|
|
|
|
are installed below the same prefix. If the Nautilus docs are not in the Nautilus
|
|
|
|
help sidebar then this did not happen.
|