nautilus/HACKING

163 lines
5.5 KiB
Plaintext
Raw Normal View History

====================
0: Table of Contents
====================
0: Table of Contents
1: Intro
2: Module Listing
3: Distribution Specific Notes
4: m4 macro and aclocal issues
5: Issues When Running Nautilus
========
1: Intro
========
To build Nautilus without interfering with an existing Gnome install,
you will need to build several components from CVS into a separate
prefix.
1999-12-15 01:32:28 +00:00
For example, you could install these components into /usr/local/gnome2
or /usr/local/nautilus. Do do this, make sure to specify these with
the --prefix= option to autogen.sh or configure.
1999-12-15 01:32:28 +00:00
Specifically, you will need to:
1999-12-15 01:32:28 +00:00
* Install all the needed modules into your selected prefix.
1999-12-15 01:32:28 +00:00
NOTE: more documentation is in docs/
=================
2: Module Listing
=================
NOTE the development libraries in helix gnome 1.2, are not adequate,
you need the versions from CVS. (as of Wed Jun 14 13:48:35 PDT 2000,
you can use glib, gtk+, imlib, gtk-engine, gnome-xml, gnome-libs from
Helix Gnome ) also modern version of RedHat come with a new popt,
Some more instructions and cleanup. Removed one gratuitous renaming we * HACKING: Some more instructions and cleanup. * RENAMING: Removed one gratuitous renaming we won't do. * components/html/ntl-web-browser.c: Removed stray "#include <config.h>" that I added by accident. * components/hardware/main.c: (main): * components/help/hyperbola-main.c: (main): * components/html/ntl-web-browser.c: (main): * components/music/main.c: (main): * components/notes/ntl-notes.c: (main): * components/rpmview/main.c: (main): * components/websearch/ntl-web-search.c: (main): * src/file-manager/gnome-desktop.c (main): * src/ntl-main.c (main): Added ifdefs so you don't get warnings when building with localization turned off. Ugly, but needed I think. * components/help/converters/gnome-db2html2/gdb3html.c: (ulink_start_element), (start_element): * components/help/converters/gnome-db2html2/sect-elements.c: (sect_sect_start_element), (sect_sect_end_element), (sect_title_start_element), (sect_xref_start_element), (sect_graphic_start_element), (sect_get_infobox_logo): * components/help/converters/gnome-db2html2/sect-preparse.c: (sect_preparse_sect_start_element), (sect_preparse_title_characters): * components/help/converters/gnome-db2html2/toc-elements.c: (toc_sect_start_element), (toc_title_start_element): * components/help/converters/gnome-info2html2/html.c: (write_node_link_html): * components/help/hyperbola-filefmt.c: (tree_key_compare): * components/help/hyperbola-nav-index.c: (start_element), (end_element), (hyperbola_navigation_index_new): * components/html/ntl-web-browser.c: (browser_submit): Replaced all uses of strcasecmp with g_strcasecmp. Why? Because Michael Meeks said so and that's good enough for me (in this case :-). * components/music/nautilus-music-view.c: (nautilus_music_view_update_from_uri): * libnautilus-extensions/nautilus-file.c: (nautilus_file_get_mime_type_as_string_attribute), (nautilus_file_get_mime_type): * libnautilus-extensions/nautilus-icon-factory.c: (nautilus_icon_factory_get_icon_name_for_regular_file): * src/file-manager/fm-icon-view.c (get_icon_property_callback): * src/ntl-index-panel.c (nautilus_index_panel_update_buttons): * src/ntl-uri-map.c (file_list_to_mime_type_hash_table): Changed get_mime_type to be like all other text functions and return a strdup'd string. John said it was a good idea. * libnautilus-extensions/nautilus-file-private.h: * libnautilus-extensions/nautilus-directory-async.c: (metafile_read_callback), (metafile_read_some), (set_up_request_by_file_attributes), (nautilus_directory_monitor_add_internal), (directory_list_get_next_position), (directory_load_callback), (ready_callback_call), (nautilus_directory_call_when_ready_internal), (wants_directory_count), (has_problem), (ready_callback_is_satisfied), (is_anyone_monitoring_file_list), (is_anyone_waiting_for_metafile), (is_wanted), (select_needy_file), (start_getting_directory_counts): Reorganize to get ready for adding code to read the top left text. * libnautilus-extensions/nautilus-file-attributes.h: Added name for the "top left text" attribute. * libnautilus-extensions/nautilus-file.h: * libnautilus-extensions/nautilus-file.c: (nautilus_file_get_top_left_text): Added call to get the top left text. * libnautilus-extensions/nautilus-icon-canvas-item.c: (draw_embedded_text): Tiny format tweak. * libnautilus-extensions/nautilus-icon-container.c: (nautilus_icon_container_update_icon): Tiny format tweak. * libnautilus-extensions/nautilus-icon-factory.h: * libnautilus-extensions/nautilus-icon-factory.c: (nautilus_icon_factory_get_pixbuf_for_file), (nautilus_icon_factory_get_pixmap_and_mask_for_file), (nautilus_icon_factory_embed_text), (nautilus_icon_factory_embed_file_text): Added support for embedded text. Not completely deployed yet.
2000-05-04 15:46:22 +00:00
Nautilus currently requires the following modules from GNOME CVS
(built in the given order):
2000-02-15 19:50:27 +00:00
module branch configure options Distro
------ ------ ----------------- -------
popt: <need 1.5, but not from GNOME CVS, see below>RH6.2
glib: glib-1-2 H1.2
gtk+: gtk-1-2 H1.2
imlib: HEAD H1.2
gnome-xml: LIB_XML_1_X H1.2
Change format to make popt "pop" out more. * HACKING: Change format to make popt "pop" out more. * libnautilus-extensions/nautilus-entry.h: * src/file-manager/fm-properties-window.c: (create_basic_page): * src/nautilus-bookmarks-window.c: (on_text_field_focus_in_event), (on_window_delete_event): * src/nautilus-location-bar.c: (nautilus_location_bar_enable_undo): * src/nautilus-location-bar.h: * src/nautilus-window-menus.c: (edit_menu_undo_callback), (bookmarks_menu_add_bookmark_callback), (bookmarks_menu_edit_bookmarks_callback), (get_or_create_bookmarks_window), (nautilus_bookmarks_exiting), (edit_bookmarks), (nautilus_window_initialize_menus), (update_undo_menu_item): * src/ntl-app.c: (nautilus_app_init), (nautilus_app_destroy): * libnautilus-extensions/nautilus-icon-container.c: (nautilus_icon_container_start_renaming_selected_item): * libnautilus-extensions/nautilus-entry.c: (nautilus_entry_key_press), (nautilus_entry_enable_undo): * libnautilus/nautilus-undo-manager.c: (nautilus_undo_manager_begin_transaction), (nautilus_undo_manager_unregister_object), (prune_undo_manager_list), (nautilus_get_undo_manager), (nautilus_attach_undo_manager), (nautilus_share_undo_manager): * libnautilus/nautilus-undo-manager.h: * src/ntl-window-private.h: * src/ntl-window.c: (nautilus_window_constructed), (nautilus_window_real_set_content_view), (nautilus_window_get_undo_manager): * src/ntl-window.h: Got rid of the undo manager parameter for the enable_undo operation. Eliminated code that sets up the undo manager except for the top widgets. We only need it attached to windows and to the top widget in each component. Change callers to get the undo manager in a few simple ways instead of calling gtk_object_get_data directly. Added some calls to attach the undo manager to an arbitrary object. * libnautilus/nautilus-undo.idl: Added comments to the IDL and also added the Undo::Context class. * libnautilus/nautilus-view-component.idl: Removed the dependency on the undo IDL and the undo_manager attribute. * src/nautilus-bookmarks-window.h: * src/nautilus-bookmarks-window.c: (create_bookmarks_window): Changed interface to take object to inherit the undo manager from instead of the undo manager itself. Got rid of unnecesary undo manager setting. (nautilus_bookmarks_window_save_geometry): Also changed interface to use GtkWindow instead of GtkWidget.
2000-05-18 22:31:58 +00:00
ORBit: orbit-stable-0-5
gnome-libs: gnome-libs-1-0 --enable-prefer-db1 H1.2
Change format to make popt "pop" out more. * HACKING: Change format to make popt "pop" out more. * libnautilus-extensions/nautilus-entry.h: * src/file-manager/fm-properties-window.c: (create_basic_page): * src/nautilus-bookmarks-window.c: (on_text_field_focus_in_event), (on_window_delete_event): * src/nautilus-location-bar.c: (nautilus_location_bar_enable_undo): * src/nautilus-location-bar.h: * src/nautilus-window-menus.c: (edit_menu_undo_callback), (bookmarks_menu_add_bookmark_callback), (bookmarks_menu_edit_bookmarks_callback), (get_or_create_bookmarks_window), (nautilus_bookmarks_exiting), (edit_bookmarks), (nautilus_window_initialize_menus), (update_undo_menu_item): * src/ntl-app.c: (nautilus_app_init), (nautilus_app_destroy): * libnautilus-extensions/nautilus-icon-container.c: (nautilus_icon_container_start_renaming_selected_item): * libnautilus-extensions/nautilus-entry.c: (nautilus_entry_key_press), (nautilus_entry_enable_undo): * libnautilus/nautilus-undo-manager.c: (nautilus_undo_manager_begin_transaction), (nautilus_undo_manager_unregister_object), (prune_undo_manager_list), (nautilus_get_undo_manager), (nautilus_attach_undo_manager), (nautilus_share_undo_manager): * libnautilus/nautilus-undo-manager.h: * src/ntl-window-private.h: * src/ntl-window.c: (nautilus_window_constructed), (nautilus_window_real_set_content_view), (nautilus_window_get_undo_manager): * src/ntl-window.h: Got rid of the undo manager parameter for the enable_undo operation. Eliminated code that sets up the undo manager except for the top widgets. We only need it attached to windows and to the top widget in each component. Change callers to get the undo manager in a few simple ways instead of calling gtk_object_get_data directly. Added some calls to attach the undo manager to an arbitrary object. * libnautilus/nautilus-undo.idl: Added comments to the IDL and also added the Undo::Context class. * libnautilus/nautilus-view-component.idl: Removed the dependency on the undo IDL and the undo_manager attribute. * src/nautilus-bookmarks-window.h: * src/nautilus-bookmarks-window.c: (create_bookmarks_window): Changed interface to take object to inherit the undo manager from instead of the undo manager itself. Got rid of unnecesary undo manager setting. (nautilus_bookmarks_window_save_geometry): Also changed interface to use GtkWindow instead of GtkWidget.
2000-05-18 22:31:58 +00:00
gnome-http: HEAD
oaf: HEAD
gconf: HEAD
gdk-pixbuf: HEAD --enable-canvas-pixbuf
gnome-print: HEAD
bonobo: HEAD --enable-oaf=yes
2000-05-24 07:02:03 +00:00
control-center control-center-1-0
Change format to make popt "pop" out more. * HACKING: Change format to make popt "pop" out more. * libnautilus-extensions/nautilus-entry.h: * src/file-manager/fm-properties-window.c: (create_basic_page): * src/nautilus-bookmarks-window.c: (on_text_field_focus_in_event), (on_window_delete_event): * src/nautilus-location-bar.c: (nautilus_location_bar_enable_undo): * src/nautilus-location-bar.h: * src/nautilus-window-menus.c: (edit_menu_undo_callback), (bookmarks_menu_add_bookmark_callback), (bookmarks_menu_edit_bookmarks_callback), (get_or_create_bookmarks_window), (nautilus_bookmarks_exiting), (edit_bookmarks), (nautilus_window_initialize_menus), (update_undo_menu_item): * src/ntl-app.c: (nautilus_app_init), (nautilus_app_destroy): * libnautilus-extensions/nautilus-icon-container.c: (nautilus_icon_container_start_renaming_selected_item): * libnautilus-extensions/nautilus-entry.c: (nautilus_entry_key_press), (nautilus_entry_enable_undo): * libnautilus/nautilus-undo-manager.c: (nautilus_undo_manager_begin_transaction), (nautilus_undo_manager_unregister_object), (prune_undo_manager_list), (nautilus_get_undo_manager), (nautilus_attach_undo_manager), (nautilus_share_undo_manager): * libnautilus/nautilus-undo-manager.h: * src/ntl-window-private.h: * src/ntl-window.c: (nautilus_window_constructed), (nautilus_window_real_set_content_view), (nautilus_window_get_undo_manager): * src/ntl-window.h: Got rid of the undo manager parameter for the enable_undo operation. Eliminated code that sets up the undo manager except for the top widgets. We only need it attached to windows and to the top widget in each component. Change callers to get the undo manager in a few simple ways instead of calling gtk_object_get_data directly. Added some calls to attach the undo manager to an arbitrary object. * libnautilus/nautilus-undo.idl: Added comments to the IDL and also added the Undo::Context class. * libnautilus/nautilus-view-component.idl: Removed the dependency on the undo IDL and the undo_manager attribute. * src/nautilus-bookmarks-window.h: * src/nautilus-bookmarks-window.c: (create_bookmarks_window): Changed interface to take object to inherit the undo manager from instead of the undo manager itself. Got rid of unnecesary undo manager setting. (nautilus_bookmarks_window_save_geometry): Also changed interface to use GtkWindow instead of GtkWidget.
2000-05-18 22:31:58 +00:00
gnome-vfs: HEAD --enable-oaf=yes
gtkhtml: HEAD
eog: HEAD --enable-oaf=yes
xpdf: HEAD
medusa: HEAD
nautilus: HEAD
RH6.2 == Version from Red Hat 6.2 OK
H1.2 == Version from Helix Gnome 1.2 OK
=============================
3: Distribution Specfic Notes
=============================
Updated code affected by destroy-notify addition to bonobo. Requires new Updated code affected by destroy-notify addition to bonobo. Requires new bonobo. * libnautilus-extensions/nautilus-bonobo-extensions.c: (nautilus_bonobo_ui_handler_menu_set_toggle_appearance): Save and restore the destroy notify function as well as the callback. This requires using the new function bonobo_ui_handler_menu_remove_callback_no_notify to do right. * src/file-manager/fm-directory-view.c: (application_launch_parameters_new), (application_launch_parameters_free): Ref and unref the directory view object now that we correctly free this as needed. (viewer_launch_parameters_new), (viewer_launch_parameters_free): Ref and unref the directory view object now that we correctly free this as needed. (add_open_with_bonobo_menu_item): Add a destroy-notify function parameters and apply it using bonobo_ui_handler_menu_set_callback. (add_application_to_bonobo_menu): Free the launch parmaeters using a destroy-notify function. (add_component_to_bonobo_menu): Free the launch parmaeters using a destroy-notify function. * src/nautilus-window-menus.c: (append_bookmark_to_menu): Use a destroy-notify function to destroy the bookmark holder. (clear_appended_bookmark_items): Get rid of the code that gets the callback data and destroys it explicitly. * libnautilus/nautilus-clipboard.c: (add_menu_item): * src/file-manager/fm-directory-view.c: (insert_bonobo_menu_item), (fm_directory_view_real_merge_menus): * src/file-manager/fm-icon-view.c: (append_bonobo_menu_item), (fm_icon_view_merge_menus): Rename BonoboUIHandlerCallbackFunc -> BonoboUIHandlerCallback. * HACKING: Some reformatting.
2000-06-07 19:29:09 +00:00
Other libraries needed:
Here is what has been tested
You will also need the library package that is associated with each development package,
these versions are for RedHat 6.2 and Debian "potato":
library RedHat Debian Implied Version
-------------- ---------------------- ------------------------------ ------------------
audiofile audiofile-devel-0.1.9-3 libaudiofile-dev (0.1.9-0.1) 0.1.9
libc glibc-devel-2.1.3-15 libc6-dev (2.1.3-10) 2.1.3
libc++ egcs-c++-1.1.2-30 libstdc++2.10-dev (2.95.2-12) 2.9.0, 2.10
libjpeg libjpeg-devel-6b-10 libjpeg62-dev (6b-1.2) 6b 1.0-1.2
libpng libpng-devel-1.0.5-3 libpng2-dev (1.0.5-1) 1.0.5
libtiff libtiff-devel-3.5.4-5 libtiff3g-dev (3.5.4-5) 3.5.4
libungif libungif-devel-4.1.0-4 libungif3g-dev (3.0-3) 3.0 or 4.1.0
w3c-libwww w3c-libwww-devel-5.2.8-4 libw3c-libwww-dev (5.2.8-1) 5.2.8
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
Some more instructions and cleanup. Removed one gratuitous renaming we * HACKING: Some more instructions and cleanup. * RENAMING: Removed one gratuitous renaming we won't do. * components/html/ntl-web-browser.c: Removed stray "#include <config.h>" that I added by accident. * components/hardware/main.c: (main): * components/help/hyperbola-main.c: (main): * components/html/ntl-web-browser.c: (main): * components/music/main.c: (main): * components/notes/ntl-notes.c: (main): * components/rpmview/main.c: (main): * components/websearch/ntl-web-search.c: (main): * src/file-manager/gnome-desktop.c (main): * src/ntl-main.c (main): Added ifdefs so you don't get warnings when building with localization turned off. Ugly, but needed I think. * components/help/converters/gnome-db2html2/gdb3html.c: (ulink_start_element), (start_element): * components/help/converters/gnome-db2html2/sect-elements.c: (sect_sect_start_element), (sect_sect_end_element), (sect_title_start_element), (sect_xref_start_element), (sect_graphic_start_element), (sect_get_infobox_logo): * components/help/converters/gnome-db2html2/sect-preparse.c: (sect_preparse_sect_start_element), (sect_preparse_title_characters): * components/help/converters/gnome-db2html2/toc-elements.c: (toc_sect_start_element), (toc_title_start_element): * components/help/converters/gnome-info2html2/html.c: (write_node_link_html): * components/help/hyperbola-filefmt.c: (tree_key_compare): * components/help/hyperbola-nav-index.c: (start_element), (end_element), (hyperbola_navigation_index_new): * components/html/ntl-web-browser.c: (browser_submit): Replaced all uses of strcasecmp with g_strcasecmp. Why? Because Michael Meeks said so and that's good enough for me (in this case :-). * components/music/nautilus-music-view.c: (nautilus_music_view_update_from_uri): * libnautilus-extensions/nautilus-file.c: (nautilus_file_get_mime_type_as_string_attribute), (nautilus_file_get_mime_type): * libnautilus-extensions/nautilus-icon-factory.c: (nautilus_icon_factory_get_icon_name_for_regular_file): * src/file-manager/fm-icon-view.c (get_icon_property_callback): * src/ntl-index-panel.c (nautilus_index_panel_update_buttons): * src/ntl-uri-map.c (file_list_to_mime_type_hash_table): Changed get_mime_type to be like all other text functions and return a strdup'd string. John said it was a good idea. * libnautilus-extensions/nautilus-file-private.h: * libnautilus-extensions/nautilus-directory-async.c: (metafile_read_callback), (metafile_read_some), (set_up_request_by_file_attributes), (nautilus_directory_monitor_add_internal), (directory_list_get_next_position), (directory_load_callback), (ready_callback_call), (nautilus_directory_call_when_ready_internal), (wants_directory_count), (has_problem), (ready_callback_is_satisfied), (is_anyone_monitoring_file_list), (is_anyone_waiting_for_metafile), (is_wanted), (select_needy_file), (start_getting_directory_counts): Reorganize to get ready for adding code to read the top left text. * libnautilus-extensions/nautilus-file-attributes.h: Added name for the "top left text" attribute. * libnautilus-extensions/nautilus-file.h: * libnautilus-extensions/nautilus-file.c: (nautilus_file_get_top_left_text): Added call to get the top left text. * libnautilus-extensions/nautilus-icon-canvas-item.c: (draw_embedded_text): Tiny format tweak. * libnautilus-extensions/nautilus-icon-container.c: (nautilus_icon_container_update_icon): Tiny format tweak. * libnautilus-extensions/nautilus-icon-factory.h: * libnautilus-extensions/nautilus-icon-factory.c: (nautilus_icon_factory_get_pixbuf_for_file), (nautilus_icon_factory_get_pixmap_and_mask_for_file), (nautilus_icon_factory_embed_text), (nautilus_icon_factory_embed_file_text): Added support for embedded text. Not completely deployed yet.
2000-05-04 15:46:22 +00:00
Other modules for Red Hat users: either 6.1 or 6.2
Updated code affected by destroy-notify addition to bonobo. Requires new Updated code affected by destroy-notify addition to bonobo. Requires new bonobo. * libnautilus-extensions/nautilus-bonobo-extensions.c: (nautilus_bonobo_ui_handler_menu_set_toggle_appearance): Save and restore the destroy notify function as well as the callback. This requires using the new function bonobo_ui_handler_menu_remove_callback_no_notify to do right. * src/file-manager/fm-directory-view.c: (application_launch_parameters_new), (application_launch_parameters_free): Ref and unref the directory view object now that we correctly free this as needed. (viewer_launch_parameters_new), (viewer_launch_parameters_free): Ref and unref the directory view object now that we correctly free this as needed. (add_open_with_bonobo_menu_item): Add a destroy-notify function parameters and apply it using bonobo_ui_handler_menu_set_callback. (add_application_to_bonobo_menu): Free the launch parmaeters using a destroy-notify function. (add_component_to_bonobo_menu): Free the launch parmaeters using a destroy-notify function. * src/nautilus-window-menus.c: (append_bookmark_to_menu): Use a destroy-notify function to destroy the bookmark holder. (clear_appended_bookmark_items): Get rid of the code that gets the callback data and destroys it explicitly. * libnautilus/nautilus-clipboard.c: (add_menu_item): * src/file-manager/fm-directory-view.c: (insert_bonobo_menu_item), (fm_directory_view_real_merge_menus): * src/file-manager/fm-icon-view.c: (append_bonobo_menu_item), (fm_icon_view_merge_menus): Rename BonoboUIHandlerCallbackFunc -> BonoboUIHandlerCallback. * HACKING: Some reformatting.
2000-06-07 19:29:09 +00:00
- For most modules, the versions in Red Hat 6.1 or 6.2 will do (listed above).
Change format to make popt "pop" out more. * HACKING: Change format to make popt "pop" out more. * libnautilus-extensions/nautilus-entry.h: * src/file-manager/fm-properties-window.c: (create_basic_page): * src/nautilus-bookmarks-window.c: (on_text_field_focus_in_event), (on_window_delete_event): * src/nautilus-location-bar.c: (nautilus_location_bar_enable_undo): * src/nautilus-location-bar.h: * src/nautilus-window-menus.c: (edit_menu_undo_callback), (bookmarks_menu_add_bookmark_callback), (bookmarks_menu_edit_bookmarks_callback), (get_or_create_bookmarks_window), (nautilus_bookmarks_exiting), (edit_bookmarks), (nautilus_window_initialize_menus), (update_undo_menu_item): * src/ntl-app.c: (nautilus_app_init), (nautilus_app_destroy): * libnautilus-extensions/nautilus-icon-container.c: (nautilus_icon_container_start_renaming_selected_item): * libnautilus-extensions/nautilus-entry.c: (nautilus_entry_key_press), (nautilus_entry_enable_undo): * libnautilus/nautilus-undo-manager.c: (nautilus_undo_manager_begin_transaction), (nautilus_undo_manager_unregister_object), (prune_undo_manager_list), (nautilus_get_undo_manager), (nautilus_attach_undo_manager), (nautilus_share_undo_manager): * libnautilus/nautilus-undo-manager.h: * src/ntl-window-private.h: * src/ntl-window.c: (nautilus_window_constructed), (nautilus_window_real_set_content_view), (nautilus_window_get_undo_manager): * src/ntl-window.h: Got rid of the undo manager parameter for the enable_undo operation. Eliminated code that sets up the undo manager except for the top widgets. We only need it attached to windows and to the top widget in each component. Change callers to get the undo manager in a few simple ways instead of calling gtk_object_get_data directly. Added some calls to attach the undo manager to an arbitrary object. * libnautilus/nautilus-undo.idl: Added comments to the IDL and also added the Undo::Context class. * libnautilus/nautilus-view-component.idl: Removed the dependency on the undo IDL and the undo_manager attribute. * src/nautilus-bookmarks-window.h: * src/nautilus-bookmarks-window.c: (create_bookmarks_window): Changed interface to take object to inherit the undo manager from instead of the undo manager itself. Got rid of unnecesary undo manager setting. (nautilus_bookmarks_window_save_geometry): Also changed interface to use GtkWindow instead of GtkWidget.
2000-05-18 22:31:58 +00:00
- ORBit requires popt-1.5, which can be fetched from:
2000-02-15 19:50:27 +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
Other modules for Debian users: using potato, or possibly woody
Some more instructions and cleanup. Removed one gratuitous renaming we * HACKING: Some more instructions and cleanup. * RENAMING: Removed one gratuitous renaming we won't do. * components/html/ntl-web-browser.c: Removed stray "#include <config.h>" that I added by accident. * components/hardware/main.c: (main): * components/help/hyperbola-main.c: (main): * components/html/ntl-web-browser.c: (main): * components/music/main.c: (main): * components/notes/ntl-notes.c: (main): * components/rpmview/main.c: (main): * components/websearch/ntl-web-search.c: (main): * src/file-manager/gnome-desktop.c (main): * src/ntl-main.c (main): Added ifdefs so you don't get warnings when building with localization turned off. Ugly, but needed I think. * components/help/converters/gnome-db2html2/gdb3html.c: (ulink_start_element), (start_element): * components/help/converters/gnome-db2html2/sect-elements.c: (sect_sect_start_element), (sect_sect_end_element), (sect_title_start_element), (sect_xref_start_element), (sect_graphic_start_element), (sect_get_infobox_logo): * components/help/converters/gnome-db2html2/sect-preparse.c: (sect_preparse_sect_start_element), (sect_preparse_title_characters): * components/help/converters/gnome-db2html2/toc-elements.c: (toc_sect_start_element), (toc_title_start_element): * components/help/converters/gnome-info2html2/html.c: (write_node_link_html): * components/help/hyperbola-filefmt.c: (tree_key_compare): * components/help/hyperbola-nav-index.c: (start_element), (end_element), (hyperbola_navigation_index_new): * components/html/ntl-web-browser.c: (browser_submit): Replaced all uses of strcasecmp with g_strcasecmp. Why? Because Michael Meeks said so and that's good enough for me (in this case :-). * components/music/nautilus-music-view.c: (nautilus_music_view_update_from_uri): * libnautilus-extensions/nautilus-file.c: (nautilus_file_get_mime_type_as_string_attribute), (nautilus_file_get_mime_type): * libnautilus-extensions/nautilus-icon-factory.c: (nautilus_icon_factory_get_icon_name_for_regular_file): * src/file-manager/fm-icon-view.c (get_icon_property_callback): * src/ntl-index-panel.c (nautilus_index_panel_update_buttons): * src/ntl-uri-map.c (file_list_to_mime_type_hash_table): Changed get_mime_type to be like all other text functions and return a strdup'd string. John said it was a good idea. * libnautilus-extensions/nautilus-file-private.h: * libnautilus-extensions/nautilus-directory-async.c: (metafile_read_callback), (metafile_read_some), (set_up_request_by_file_attributes), (nautilus_directory_monitor_add_internal), (directory_list_get_next_position), (directory_load_callback), (ready_callback_call), (nautilus_directory_call_when_ready_internal), (wants_directory_count), (has_problem), (ready_callback_is_satisfied), (is_anyone_monitoring_file_list), (is_anyone_waiting_for_metafile), (is_wanted), (select_needy_file), (start_getting_directory_counts): Reorganize to get ready for adding code to read the top left text. * libnautilus-extensions/nautilus-file-attributes.h: Added name for the "top left text" attribute. * libnautilus-extensions/nautilus-file.h: * libnautilus-extensions/nautilus-file.c: (nautilus_file_get_top_left_text): Added call to get the top left text. * libnautilus-extensions/nautilus-icon-canvas-item.c: (draw_embedded_text): Tiny format tweak. * libnautilus-extensions/nautilus-icon-container.c: (nautilus_icon_container_update_icon): Tiny format tweak. * libnautilus-extensions/nautilus-icon-factory.h: * libnautilus-extensions/nautilus-icon-factory.c: (nautilus_icon_factory_get_pixbuf_for_file), (nautilus_icon_factory_get_pixmap_and_mask_for_file), (nautilus_icon_factory_embed_text), (nautilus_icon_factory_embed_file_text): Added support for embedded text. Not completely deployed yet.
2000-05-04 15:46:22 +00:00
Change format to make popt "pop" out more. * HACKING: Change format to make popt "pop" out more. * libnautilus-extensions/nautilus-entry.h: * src/file-manager/fm-properties-window.c: (create_basic_page): * src/nautilus-bookmarks-window.c: (on_text_field_focus_in_event), (on_window_delete_event): * src/nautilus-location-bar.c: (nautilus_location_bar_enable_undo): * src/nautilus-location-bar.h: * src/nautilus-window-menus.c: (edit_menu_undo_callback), (bookmarks_menu_add_bookmark_callback), (bookmarks_menu_edit_bookmarks_callback), (get_or_create_bookmarks_window), (nautilus_bookmarks_exiting), (edit_bookmarks), (nautilus_window_initialize_menus), (update_undo_menu_item): * src/ntl-app.c: (nautilus_app_init), (nautilus_app_destroy): * libnautilus-extensions/nautilus-icon-container.c: (nautilus_icon_container_start_renaming_selected_item): * libnautilus-extensions/nautilus-entry.c: (nautilus_entry_key_press), (nautilus_entry_enable_undo): * libnautilus/nautilus-undo-manager.c: (nautilus_undo_manager_begin_transaction), (nautilus_undo_manager_unregister_object), (prune_undo_manager_list), (nautilus_get_undo_manager), (nautilus_attach_undo_manager), (nautilus_share_undo_manager): * libnautilus/nautilus-undo-manager.h: * src/ntl-window-private.h: * src/ntl-window.c: (nautilus_window_constructed), (nautilus_window_real_set_content_view), (nautilus_window_get_undo_manager): * src/ntl-window.h: Got rid of the undo manager parameter for the enable_undo operation. Eliminated code that sets up the undo manager except for the top widgets. We only need it attached to windows and to the top widget in each component. Change callers to get the undo manager in a few simple ways instead of calling gtk_object_get_data directly. Added some calls to attach the undo manager to an arbitrary object. * libnautilus/nautilus-undo.idl: Added comments to the IDL and also added the Undo::Context class. * libnautilus/nautilus-view-component.idl: Removed the dependency on the undo IDL and the undo_manager attribute. * src/nautilus-bookmarks-window.h: * src/nautilus-bookmarks-window.c: (create_bookmarks_window): Changed interface to take object to inherit the undo manager from instead of the undo manager itself. Got rid of unnecesary undo manager setting. (nautilus_bookmarks_window_save_geometry): Also changed interface to use GtkWindow instead of GtkWidget.
2000-05-18 22:31:58 +00:00
- You'll need libwww, which can be found at:
Some more instructions and cleanup. Removed one gratuitous renaming we * HACKING: Some more instructions and cleanup. * RENAMING: Removed one gratuitous renaming we won't do. * components/html/ntl-web-browser.c: Removed stray "#include <config.h>" that I added by accident. * components/hardware/main.c: (main): * components/help/hyperbola-main.c: (main): * components/html/ntl-web-browser.c: (main): * components/music/main.c: (main): * components/notes/ntl-notes.c: (main): * components/rpmview/main.c: (main): * components/websearch/ntl-web-search.c: (main): * src/file-manager/gnome-desktop.c (main): * src/ntl-main.c (main): Added ifdefs so you don't get warnings when building with localization turned off. Ugly, but needed I think. * components/help/converters/gnome-db2html2/gdb3html.c: (ulink_start_element), (start_element): * components/help/converters/gnome-db2html2/sect-elements.c: (sect_sect_start_element), (sect_sect_end_element), (sect_title_start_element), (sect_xref_start_element), (sect_graphic_start_element), (sect_get_infobox_logo): * components/help/converters/gnome-db2html2/sect-preparse.c: (sect_preparse_sect_start_element), (sect_preparse_title_characters): * components/help/converters/gnome-db2html2/toc-elements.c: (toc_sect_start_element), (toc_title_start_element): * components/help/converters/gnome-info2html2/html.c: (write_node_link_html): * components/help/hyperbola-filefmt.c: (tree_key_compare): * components/help/hyperbola-nav-index.c: (start_element), (end_element), (hyperbola_navigation_index_new): * components/html/ntl-web-browser.c: (browser_submit): Replaced all uses of strcasecmp with g_strcasecmp. Why? Because Michael Meeks said so and that's good enough for me (in this case :-). * components/music/nautilus-music-view.c: (nautilus_music_view_update_from_uri): * libnautilus-extensions/nautilus-file.c: (nautilus_file_get_mime_type_as_string_attribute), (nautilus_file_get_mime_type): * libnautilus-extensions/nautilus-icon-factory.c: (nautilus_icon_factory_get_icon_name_for_regular_file): * src/file-manager/fm-icon-view.c (get_icon_property_callback): * src/ntl-index-panel.c (nautilus_index_panel_update_buttons): * src/ntl-uri-map.c (file_list_to_mime_type_hash_table): Changed get_mime_type to be like all other text functions and return a strdup'd string. John said it was a good idea. * libnautilus-extensions/nautilus-file-private.h: * libnautilus-extensions/nautilus-directory-async.c: (metafile_read_callback), (metafile_read_some), (set_up_request_by_file_attributes), (nautilus_directory_monitor_add_internal), (directory_list_get_next_position), (directory_load_callback), (ready_callback_call), (nautilus_directory_call_when_ready_internal), (wants_directory_count), (has_problem), (ready_callback_is_satisfied), (is_anyone_monitoring_file_list), (is_anyone_waiting_for_metafile), (is_wanted), (select_needy_file), (start_getting_directory_counts): Reorganize to get ready for adding code to read the top left text. * libnautilus-extensions/nautilus-file-attributes.h: Added name for the "top left text" attribute. * libnautilus-extensions/nautilus-file.h: * libnautilus-extensions/nautilus-file.c: (nautilus_file_get_top_left_text): Added call to get the top left text. * libnautilus-extensions/nautilus-icon-canvas-item.c: (draw_embedded_text): Tiny format tweak. * libnautilus-extensions/nautilus-icon-container.c: (nautilus_icon_container_update_icon): Tiny format tweak. * libnautilus-extensions/nautilus-icon-factory.h: * libnautilus-extensions/nautilus-icon-factory.c: (nautilus_icon_factory_get_pixbuf_for_file), (nautilus_icon_factory_get_pixmap_and_mask_for_file), (nautilus_icon_factory_embed_text), (nautilus_icon_factory_embed_file_text): Added support for embedded text. Not completely deployed yet.
2000-05-04 15:46:22 +00:00
ftp://ftp.internatif.org/pub/debian/UNOFFICIAL/libw3c-libwww5_5.2.8-1_i386.deb
ftp://ftp.internatif.org/pub/debian/UNOFFICIAL/libw3c-libwww-dev_5.2.8-1_i386.deb
If you need to get a copy of popt from source:
Updated code affected by destroy-notify addition to bonobo. Requires new Updated code affected by destroy-notify addition to bonobo. Requires new bonobo. * libnautilus-extensions/nautilus-bonobo-extensions.c: (nautilus_bonobo_ui_handler_menu_set_toggle_appearance): Save and restore the destroy notify function as well as the callback. This requires using the new function bonobo_ui_handler_menu_remove_callback_no_notify to do right. * src/file-manager/fm-directory-view.c: (application_launch_parameters_new), (application_launch_parameters_free): Ref and unref the directory view object now that we correctly free this as needed. (viewer_launch_parameters_new), (viewer_launch_parameters_free): Ref and unref the directory view object now that we correctly free this as needed. (add_open_with_bonobo_menu_item): Add a destroy-notify function parameters and apply it using bonobo_ui_handler_menu_set_callback. (add_application_to_bonobo_menu): Free the launch parmaeters using a destroy-notify function. (add_component_to_bonobo_menu): Free the launch parmaeters using a destroy-notify function. * src/nautilus-window-menus.c: (append_bookmark_to_menu): Use a destroy-notify function to destroy the bookmark holder. (clear_appended_bookmark_items): Get rid of the code that gets the callback data and destroys it explicitly. * libnautilus/nautilus-clipboard.c: (add_menu_item): * src/file-manager/fm-directory-view.c: (insert_bonobo_menu_item), (fm_directory_view_real_merge_menus): * src/file-manager/fm-icon-view.c: (append_bonobo_menu_item), (fm_icon_view_merge_menus): Rename BonoboUIHandlerCallbackFunc -> BonoboUIHandlerCallback. * HACKING: Some reformatting.
2000-06-07 19:29:09 +00:00
CVSROOT=:pserver:anonymous@cvs.rpm.org:/cvs/devel
The default passwd is a carriage return. You should do a cvs co popt
==============================
4: m4 macro and aclocal issues
==============================
Updated code affected by destroy-notify addition to bonobo. Requires new Updated code affected by destroy-notify addition to bonobo. Requires new bonobo. * libnautilus-extensions/nautilus-bonobo-extensions.c: (nautilus_bonobo_ui_handler_menu_set_toggle_appearance): Save and restore the destroy notify function as well as the callback. This requires using the new function bonobo_ui_handler_menu_remove_callback_no_notify to do right. * src/file-manager/fm-directory-view.c: (application_launch_parameters_new), (application_launch_parameters_free): Ref and unref the directory view object now that we correctly free this as needed. (viewer_launch_parameters_new), (viewer_launch_parameters_free): Ref and unref the directory view object now that we correctly free this as needed. (add_open_with_bonobo_menu_item): Add a destroy-notify function parameters and apply it using bonobo_ui_handler_menu_set_callback. (add_application_to_bonobo_menu): Free the launch parmaeters using a destroy-notify function. (add_component_to_bonobo_menu): Free the launch parmaeters using a destroy-notify function. * src/nautilus-window-menus.c: (append_bookmark_to_menu): Use a destroy-notify function to destroy the bookmark holder. (clear_appended_bookmark_items): Get rid of the code that gets the callback data and destroys it explicitly. * libnautilus/nautilus-clipboard.c: (add_menu_item): * src/file-manager/fm-directory-view.c: (insert_bonobo_menu_item), (fm_directory_view_real_merge_menus): * src/file-manager/fm-icon-view.c: (append_bonobo_menu_item), (fm_icon_view_merge_menus): Rename BonoboUIHandlerCallbackFunc -> BonoboUIHandlerCallback. * HACKING: Some reformatting.
2000-06-07 19:29:09 +00:00
m4 macros have issues. Trying to install multiple versions of them on you system can be very tricky.
While building these libraries you will place following m4 macros into "your prefix"/share/aclocal
directory. Note you will generally get errors with -I
glib.m4
gtk.m4
imlib.m4
libIDL.m4
ORBit.m4
libart.m4
gnet.m4
oaf.m4
gconf.m4
gdk-pixbuf.m4
One ugly but functional way to make this work is to symlink your system m4 files into your
First you need to make the directory where they will live.
mkdir -p "your prefix"/share/aclocal
Then you need to link all the m4 files from your system aclocal directory to the new one.
for file in `ls /usr/share/alocal/*m4`
do
ln -s $file "your prefix"/share/aclocal/
done
Then you want to remove the m4 file for any of the things you are building.
for link in glib.m4 gtk.m4 imlib.m4 libIDL.m4 ORBit.m4\
libart.m4 gnet.m4 oaf.m4 gconf.m4 gdk-pixbuf.m4
do
rm "your prefix"/$link
done
* Build and install nautilus into your selected prefix.
===============================
5: Issues When Running Nautilus
===============================
Also, you need to do a "killall oafd; killall gconfd" before
running Nautilus if OAF, GConf, or any of the .oafinfo files
in any module changed.
Updated code affected by destroy-notify addition to bonobo. Requires new Updated code affected by destroy-notify addition to bonobo. Requires new bonobo. * libnautilus-extensions/nautilus-bonobo-extensions.c: (nautilus_bonobo_ui_handler_menu_set_toggle_appearance): Save and restore the destroy notify function as well as the callback. This requires using the new function bonobo_ui_handler_menu_remove_callback_no_notify to do right. * src/file-manager/fm-directory-view.c: (application_launch_parameters_new), (application_launch_parameters_free): Ref and unref the directory view object now that we correctly free this as needed. (viewer_launch_parameters_new), (viewer_launch_parameters_free): Ref and unref the directory view object now that we correctly free this as needed. (add_open_with_bonobo_menu_item): Add a destroy-notify function parameters and apply it using bonobo_ui_handler_menu_set_callback. (add_application_to_bonobo_menu): Free the launch parmaeters using a destroy-notify function. (add_component_to_bonobo_menu): Free the launch parmaeters using a destroy-notify function. * src/nautilus-window-menus.c: (append_bookmark_to_menu): Use a destroy-notify function to destroy the bookmark holder. (clear_appended_bookmark_items): Get rid of the code that gets the callback data and destroys it explicitly. * libnautilus/nautilus-clipboard.c: (add_menu_item): * src/file-manager/fm-directory-view.c: (insert_bonobo_menu_item), (fm_directory_view_real_merge_menus): * src/file-manager/fm-icon-view.c: (append_bonobo_menu_item), (fm_icon_view_merge_menus): Rename BonoboUIHandlerCallbackFunc -> BonoboUIHandlerCallback. * HACKING: Some reformatting.
2000-06-07 19:29:09 +00:00
* All patches should go through nautilus-list@lists.eazel.com.