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
|
|
|
|
INSTALL or HACKING and put an explanation of what Nautilus is here in
|
|
|
|
README 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
|
|
|
|
==========
|
|
|
|
|
2000-08-11 18:39:15 +00:00
|
|
|
If you would like to hack on Nautilus, or have patches, please send
|
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
|
|
|
mail to the Nautilus maintainer: Darin Adler <darin@eazel.com>.
|
2000-08-11 18:39:15 +00:00
|
|
|
Patches should also be sent to the Nautilus mailing list:
|
|
|
|
<nautilus-list@lists.eazel.com>
|
2000-08-11 18:18:39 +00:00
|
|
|
|
2000-08-11 18:39:15 +00:00
|
|
|
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.
|
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
|
|
|
Which RPM version you need depends on your distribution. If you have
|
|
|
|
Red Hat 6.2, you need at least 3.0.4. If you have Red Hat 7.0, you
|
|
|
|
need 4.0. Unfortunately, the released rpms from RedHat have bug (a
|
|
|
|
header file is missing), so for Red Hat 7.0 you will need the Eazel
|
|
|
|
Hacking rpm's for RPM, available from:
|
|
|
|
|
|
|
|
http://developer.eazel.com/eazel-hacking/updates/redhat70/rpm/
|
|
|
|
|
|
|
|
=====================
|
|
|
|
4: Compiling from cvs
|
|
|
|
=====================
|
|
|
|
|
|
|
|
NOTE: Instructions on compiling from tarballs should be extracted from
|
|
|
|
the copy of Nautilus inside the tarball, not here in 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
|
|
|
|
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
|
|
|
The following lists the packages and the versions that are required.
|
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>
|
|
|
|
rpm <see above>
|
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
|
|
|
glib: glib-1-2
|
|
|
|
gtk+: gtk-1-2
|
|
|
|
imlib: HEAD
|
2000-09-08 22:09:34 +00:00
|
|
|
gnome-xml: LIB_XML_1_BRANCH
|
Fixed bugs in Nautilus link management, some other minor problems
I encountered along the way, and did the first cut at a state
machine for NautilusViewFrame based on Maciej's design that can
mostly replace the super-complicated one for NautilusWindow.
* README: We no longer can use the ORBit that comes with HC1.2
with cvs HEAD, since warnings have been fixed in the code
generated by the newer ORBit, so fix that line in the README.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_new): Use the new nautilus_uri_is_trash
function to avoid hard-coding incorrect checks for "trash:".
(nautilus_directory_copy_move_metadata_key): Make simple fix for
empty metadata. This code gets replaced soon anyway.
* libnautilus-extensions/nautilus-drag.c:
(nautilus_drag_can_accept_item): Simplify code to get rid of
illegal sync. I/O. It's OK to assume all NautilusLink objects
point to directories for now, and if we make a change to do
something fancier later, we have to do it with async.
(nautilus_drag_default_drop_action_for_icons): Use the new
nautilus_uri_is_trash function to avoid hard-coding incorrect
checks for "trash:".
* libnautilus-extensions/nautilus-drag.h: Fixed a typo.
* libnautilus-extensions/nautilus-file-operations.c:
(get_link_name): Fix unintialized variable warning in a simple
way that avoids adding too much code.
(get_duplicate_name): Fix unintialized variable warning in a
simple way that avoids adding too much code.
(nautilus_file_operations_copy_move): Use the new
nautilus_uri_is_trash function to avoid hard-coding incorrect
checks for "trash:".
* libnautilus-extensions/nautilus-file-utilities.h:
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_uri_is_trash): Add new function to avoid hard-coding
incorrect checks for "trash:".
(nautilus_make_uri_canonical), Use nautilus_uri_is_trash.
* libnautilus-extensions/nautilus-icon-container.h:
* libnautilus-extensions/nautilus-icon-container.c:
Remove nautilus_icon_container_trash_link_is_in_selection for 3
reasons. It doesn't belong in NautilusIconContainer, the use of it
in drag code was incorrectly looking at the destination
directory's selection, and it used sync. I/O.
* libnautilus-extensions/nautilus-icon-dnd.c:
(selection_includes_trash),
(nautilus_icon_container_receive_dropped_icons):
Changed code to actually check selection -- the old code would
check the selection in the target window. Unfortunately this still
uses sync. I/O, but that's now covered by bug 3020.
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_icon_for_file): Change to use new
"local" API for links to make it clear that it uses sync. I/O and
only works on local files.
* libnautilus-extensions/nautilus-link.h:
* libnautilus-extensions/nautilus-link.c: (get_tag),
(get_link_type): Added functions to handle tags internally as part
of getting rid of tag string values from the API.
(nautilus_link_local_create): Changed name to local to emphasize this
takes a path not a URI and uses sync. I/O.
(local_set_root_property): Share code among the set
functions. Before there were a lot of copies of the same
code. Also made sure that it does no rewrite of the file if called
to set a property to the same value it already has.
(nautilus_link_local_set_icon),
(nautilus_link_local_set_link_uri),
(nautilus_link_local_set_type): Changed name to local to emphasize
these take a path not a URI and use sync. I/O. Reimplement by
calling local_set_root_property.
(nautilus_link_local_get_additional_text): Change name to local
and make it take a path instead of a URI to make it clear it uses
sync. I/O and doesn't work on remote URIs.
(nautilus_link_local_get_image_uri): Change name to local and make
it take a path instead of a URI to make it clear it uses sync.
I/O and doesn't work on remote URIs.
(nautilus_link_local_get_link_uri): Change name to local and make
it take a path instead of a URI to make it clear it uses sync.
I/O and doesn't work on remote URIs.
(nautilus_link_local_get_link_type): Change return value to be the
NautilusLinkType enum instead of the type tag string to make the
interface cleaner. Also changed name to local to make it clear
that it takes a path instead of a URI and uses sync. I/O.
(nautilus_link_local_is_volume_link),
(nautilus_link_local_is_home_link),
(nautilus_link_local_is_trash_link): Changed all three of these to
take advantage of the new simpler get_link_type, and changed name
to local to make it clear that they take a path instead of a URI
and use sync. I/O.
* src/file-manager/fm-desktop-icon-view.c: (create_mount_link):
Use call by new "local" name.
(trash_link_is_selection): Call new "local" function, which now
requires a path rather than a URI.
(fm_desktop_icon_view_trash_state_changed_callback): Use call by
new "local" name.
(volume_unmounted_callback): Fix bug where the unmounted callback
was using a path as a URI without converting.
(find_and_update_home_link): Use call by new "local" name.
(place_home_directory): Use call by new "local" name.
(find_and_rename_trash_link): Use call by new "local" name.
(create_or_rename_trash): Use call by new "local" name.
(remove_old_mount_links): Use call by new "local" name.
(get_sort_category): Use new get_link_type call and a case
statement instead of the old one and a list of string compares.
* src/file-manager/fm-directory-view.c:
(fm_directory_trash_link_in_selection): Wrote a new version of
this function. This is similar to what was in
NautilusIconContainer, but the one in there didn't belong there,
and didn't really work for other callers. Also, the one in there
didn't work at all for the list view case. This new function works
for either icon or list view. It still has the limitation that it
won't recognize a trash link if it's not local.
* src/file-manager/fm-icon-view.c:
(get_icon_drop_target_uri_callback): Fix to use new local calls, but
still does sync. I/O. Bug 3020 reported about that.
(get_icon_text_callback): Changed to use new local calls. Still a
problem that it works only locally and uses sync. I/O. Bug 2531 was
already reported about that.
* src/file-manager/fm-properties-window.c:
(get_and_ref_file_to_display): Changed to use new local calls and the
simpler link type interface.
* src/nautilus-view-frame-private.h: Moved some private
declarations here since they are for objects used in one file and
declared in another.
* src/nautilus-view-frame.h:
* src/nautilus-view-frame.c: (nautilus_view_frame_destroy_client):
Destroy the "check if view is gone" timeout here; makes more sense
than the way it was managed before.
(nautilus_view_frame_destroy): Don't destroy the timeout here any
more. Also, label was moved into details.
(nautilus_view_frame_handle_client_gone): Renamed from
handle_client_destroy_2.
(view_frame_wait), (view_frame_underway),
(view_frame_wait_is_over), (view_frame_loaded),
(view_frame_failed): Added functions to implement view frame state
machine transitions.
(check_if_view_is_gone): Moved code to check if view is gone here;
it's now activated automatically without requiring an explicit
call to turn it on, since all callers were turning it on at
load_client time.
(nautilus_view_frame_load_client): Add state management. Moved the
code to turn on the object check timeout here.
(nautilus_view_frame_load_location): Add state management.
(nautilus_view_frame_open_location): Add state management.
(nautilus_view_frame_open_location_in_new_window): Add state management.
(nautilus_view_frame_open_in_new_window_and_select): Add state management.
(nautilus_view_frame_report_location_change): Add state management.
(nautilus_view_frame_report_selection_change): Add state management.
(nautilus_view_frame_report_status): Add state management.
(nautilus_view_frame_report_load_underway): Add state management.
(nautilus_view_frame_report_load_progress): Add state management.
(nautilus_view_frame_report_load_complete): Add state management.
(nautilus_view_frame_report_load_failed): Add state management.
(nautilus_view_frame_set_title): Add state management.
(nautilus_view_frame_zoom_level_changed): Add state management.,
(nautilus_view_frame_get_label), (nautilus_view_frame_set_label):
Moved label into details structure.
* src/nautilus-window-manage-views.c:
(nautilus_window_load_sidebar_panel): Fixed code structure a bit
(fixes bug 2463) and got rid of call to old
nautilus_view_frame_set_active_errors function, which is no longer
needed.
(nautilus_window_load_content_view): Got rid of call to old
nautilus_view_frame_set_active_errors function, which is no longer
needed.
* src/nautilus-window.c:
(window_update_sidebar_panels_from_preferences): Got rid of call
to old nautilus_view_frame_set_active_errors function, which is no
longer needed.
2000-09-13 18:13:56 +00:00
|
|
|
ORBit: orbit-stable-0-5
|
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
|
|
|
gnome-libs: gnome-libs-1-0 --enable-prefer-db1
|
2000-08-11 18:18:39 +00:00
|
|
|
gnome-http: HEAD
|
reviewed by: Gene Ragan <gzr@eazel.com>
Finish fixing bug 6286 (need to re-apply optimization where we do
a single directory load):
* src/nautilus-window-manage-views.c: (begin_location_change): Do
the force_reload work in here. We want it on all 4 kinds of
location change (forward, back, new location, reload). Other
browsers don't do reload on back, so we may want to change this at
some point.
(nautilus_window_reload): Remove the old code to invalidate from
here now that it's done in begin_location_change.
* src/file-manager/fm-directory-view.c: (load_location_callback),
(load_directory), (finish_loading), (filtering_changed_callback):
Remove the old code to do force_reload. The NautilusDirectory part
of triggering a reload is now handled by the shell.
* libnautilus-extensions/nautilus-directory.h:
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_file_monitor_add): No force_reload parameter
any more.
(nautilus_directory_force_reload): New separate call used to force
a reload. A method call so subclasses can implement.
(nautilus_self_check_directory): Removed the FALSE force_reload
argument to file_monitor_add.
* libnautilus-extensions/nautilus-vfs-directory.c:
(vfs_file_monitor_add): No force_reload parameter any more.
(vfs_force_reload): Call through to
nautilus_directory_force_reload_internal to do the real work.
(nautilus_vfs_directory_initialize_class): Install the new
force_reload function.
* libnautilus-extensions/nautilus-merged-directory.c:
(merged_file_monitor_add): No force_reload parameter any more.
(merged_force_reload): Tell all of the real directories to force a
reload.
(monitor_add_directory): No force_reload to track any more.
(nautilus_merged_directory_initialize_class): Install the new
force_reload function.
* libnautilus-extensions/nautilus-directory-private.h:
* libnautilus-extensions/nautilus-directory-async.c:
(nautilus_directory_force_reload_internal): Change the name of
this function, since there's now a public function that is named
nautilus_directory_force_reload.
* libnautilus-extensions/nautilus-file-private.h:
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_all_attributes): Made a separate call so other
parts of the framework can use it.
(nautilus_file_invalidate_all_attributes): Use the new call.
* components/tree/nautilus-tree-model.c:
(nautilus_tree_model_monitor_add),
(nautilus_tree_model_node_begin_monitoring_no_connect): Use the
new force_reload call. The old one had more granularity and thus
forced less to be reloaded, but it's OK to do a little more here.
* libnautilus-extensions/nautilus-trash-monitor.c:
(nautilus_trash_monitor_initialize): Removed the FALSE
force_reload argument to file_monitor_add.
Other stuff:
* libnautilus-extensions/nautilus-directory-metafile.c:
(get_metafile), (nautilus_directory_get_file_metadata),
(nautilus_directory_get_file_metadata_list),
(nautilus_directory_set_file_metadata),
(nautilus_directory_set_file_metadata_list),
(nautilus_directory_copy_file_metadata),
(nautilus_directory_remove_file_metadata),
(nautilus_directory_rename_file_metadata): Moved FIXMEs around.
Pass NULL instead of &ev when calling bonobo_object_release_unref
since we don't really want to do anything different if there's
some kind of error.
* nautilus-installer/install-lib/.cvsignore:
* nautilus-installer/libtrilobite/.cvsignore:
Gotta create these files when you make new directories.
* README: Change xml-i18n-tools to mention the correct branch.
2001-02-16 18:33:09 +00:00
|
|
|
xml-i18n-tools: xml-i18n-tools-stable-1-x
|
2000-12-04 23:34:18 +00:00
|
|
|
oaf: oaf-stable-0-6
|
2000-12-11 17:50:30 +00:00
|
|
|
gconf: gconf-1-0 --disable-debug
|
2000-08-11 18:18:39 +00:00
|
|
|
gdk-pixbuf: HEAD --enable-canvas-pixbuf
|
2001-02-07 22:53:46 +00:00
|
|
|
gnome-print: GNOME_PRINT_0_25
|
2000-08-11 18:18:39 +00:00
|
|
|
control-center control-center-1-0
|
2001-03-07 00:51:41 +00:00
|
|
|
gnome-vfs: HEAD
|
2000-11-04 00:48:52 +00:00
|
|
|
bonobo: HEAD
|
2000-10-27 23:19:41 +00:00
|
|
|
ammonite HEAD
|
2000-08-11 18:18:39 +00:00
|
|
|
medusa: HEAD
|
2001-04-04 09:55:41 +00:00
|
|
|
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
|
|
|
|
------- ------- -------
|
|
|
|
automake 1.4 automake --version
|
|
|
|
autoconf 2.13 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:
|
|
|
|
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
|
|
|
===============================
|
|
|
|
|
2000-08-11 18:39:15 +00:00
|
|
|
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
|
2001-02-15 02:06:53 +00:00
|
|
|
script to get Nautilus to work properly. One way to invoke it is like
|
|
|
|
this:
|
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
|
|
|
./nautilus-clean.sh -x
|
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-02-16 11:40:14 +00:00
|
|
|
The latest Mozilla RPMs that we require can be found here:
|
2000-10-03 14:09:29 +00:00
|
|
|
|
2001-02-16 11:40:14 +00:00
|
|
|
RedHat 6.x: http://developer.eazel.com/eazel-hacking/updates/redhat62/mozilla
|
|
|
|
RedHat 7.x: http://developer.eazel.com/eazel-hacking/updates/redhat70/mozilla
|
2001-02-14 21:01:18 +00:00
|
|
|
|
2001-03-31 09:29:29 +00:00
|
|
|
The minimum Mozilla version required is Mozilla 0.8. Mozilla 0.7 and M18, the
|
2001-04-03 02:45:28 +00:00
|
|
|
0.8 predecessors, no longer work. Mozilla 0.8.1 is not recommended. Among other
|
|
|
|
thinkgs, you will not be able to follow links in help documents if you install
|
|
|
|
Mozilla 0.8.1.
|
2000-10-03 14:09:29 +00:00
|
|
|
|
|
|
|
After installing these rpms, you can build nautilus with Mozilla
|
|
|
|
support as follows:
|
|
|
|
|
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-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
|
|
|
|
mode).For smooth mode to work, Nautilus 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:
|
|
|
|
|
|
|
|
http://sourceforge.net/project/showfiles.php?group_id=11543
|
|
|
|
|
|
|
|
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.
|