nautilus/configure.in

656 lines
19 KiB
Text
Raw Normal View History

AC_INIT(src)
1999-12-05 00:40:26 +00:00
dnl ==========================================================================
dnl
dnl If you add a version number here, you *must* add an AC_SUBST line for
dnl it too, or it will never make it into the spec file!
dnl
dnl ==========================================================================
ART_REQUIRED=2.3.6
BONOBO_ACTIVATION_REQUIRED=0.9.3
BONOBO_REQUIRED=1.106
EEL_REQUIRED=1.0.2
ESOUND_REQUIRED=0.2.22
GCONF_REQUIRED=1.1.3
GDK_PIXBUF_REQUIRED=1.3.10
GLIB_REQUIRED=1.3.10
GNOME_CANVAS_REQUIRED=1.105
GNOME_REQUIRED=1.105
GNOME_UI_REQUIRED=1.105
GNOME_VFS_REQUIRED=1.1
GTK_REQUIRED=1.3.10
IMLIB_REQUIRED=1.9.8
MEDUSA_REQUIRED=0.5.1
ORBIT_REQUIRED=2.3.97
POPT_REQUIRED=1.5
RSVG_REQUIRED=1.1
SCROLLKEEPER_REQUIRED=0.1.4
XML_REQUIRED=2.4.6
AC_SUBST(EEL_REQUIRED)
AC_SUBST(ESOUND_REQUIRED)
AC_SUBST(GNOME_VFS_REQUIRED)
AC_SUBST(IMLIB_REQUIRED)
AC_SUBST(MEDUSA_REQUIRED)
AC_SUBST(ORBIT_REQUIRED)
AC_SUBST(POPT_REQUIRED)
AC_SUBST(RSVG_REQUIRED)
AC_SUBST(SCROLLKEEPER_REQUIRED)
AC_SUBST(XML_REQUIRED)
dnl ===========================================================================
AM_INIT_AUTOMAKE(nautilus, 1.0.5)
1999-12-05 00:40:26 +00:00
AM_CONFIG_HEADER(config.h)
AM_SANITY_CHECK
1999-12-05 00:40:26 +00:00
AM_MAINTAINER_MODE
AC_C_BIGENDIAN
AC_C_CONST
AC_ISC_POSIX
1999-12-05 00:40:26 +00:00
AC_PROG_CC
AC_PROG_CPP
1999-12-05 00:40:26 +00:00
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
AM_DISABLE_STATIC
AM_PROG_LIBTOOL
1999-12-05 00:40:26 +00:00
AM_PATH_ESD
AM_PATH_ORBIT2
GNOME_PLATFORM_GNOME_2(yes)
PKG_CHECK_MODULES(ALL, \
bonobo-activation-2.0 >= $BONOBO_ACTIVATION_REQUIRED \
eel-2.0 >= $EEL_REQUIRED \
glib-2.0 >= $GLIB_REQUIRED \
gnome-vfs-2.0 >= $GNOME_VFS_REQUIRED \
gtk+-2.0 >= $GTK_REQUIRED \
libart-2.0 >= $ART_REQUIRED \
libbonobo-2.0 >= $BONOBO_REQUIRED \
libbonoboui-2.0 >= $BONOBO_REQUIRED \
libgnome-2.0 >= $GNOME_REQUIRED \
libgnomecanvas-2.0 >= $GNOME_CANVAS_REQUIRED \
libgnomeui-2.0 >= $GNOME_UI_REQUIRED \
librsvg-2.0 >= $RSVG_REQUIRED \
libxml-2.0 >= $XML_REQUIRED)
dnl ==========================================================================
ALL_LINGUAS="az ca cs da de el en_GB es fi fr ga gl hu it ja ko lt lv nl nn no pl pt pt_BR ro ru sk sl sv ta tr uk zh_TW"
GETTEXT_PACKAGE=nautilus
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE")
AM_GLIB_GNU_GETTEXT
AC_PROG_INTLTOOL
dnl ==========================================================================
ENABLE_PROFILER=
AC_ARG_ENABLE(profiler,
[ --enable-profiler Enable profiler],
ENABLE_PROFILER=1
AC_DEFINE(ENABLE_PROFILER))
if test "x$ENABLE_PROFILER" = "x1"
then
CFLAGS="-g -O -gdwarf-2 -finstrument-functions -D__NO_STRING_INLINES"
LDFLAGS="/gnome/PROFILE/lib/libprofiler.so -lpthread"
fi
AC_SUBST(ENABLE_PROFILER)
AM_CONDITIONAL(ENABLE_PROFILER, test "x$ENABLE_PROFILER" = "x1")
dnl ==========================================================================
AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal)
dnl ==========================================================================
Fixed problem compiling with new gettext: * hack-macros/gnome.m4: Add BUILD_INCLUDED_LIBINTL for compatibility with the new gettext. Fixed a problem with the throbber detecting that its X window is gone. Based on suggestions from Owen Taylor. * libnautilus/nautilus-bonobo-workarounds.h: * libnautilus/nautilus-bonobo-workarounds.c: (destroy_later_callback), (destroyed_before_timeout_callback), (nautilus_bonobo_object_force_destroy_later): Changed to "destroy later" instead of "destroy at idle". This makes us less likely to experience race conditions. * src/nautilus-window.c: (nautilus_window_initialize_class), (nautilus_window_unrealize), (nautilus_window_destroy): Moved the throbber destruction to unrealize so we destroy the throbber before we destroy its X window. Starting with patch by Anders Carlsson <andersca@gnu.org>, added both prelighting and tracking to the throbber, also making it take action on release, not press. * components/throbber/nautilus-throbber.c: (nautilus_throbber_initialize_class): Add handlers for enter, leave, and release. (nautilus_throbber_initialize): Set flags so we get enter and leave events. (select_throbber_image): Ref the image that's returned. (draw_throbber_image): Make the image be prelit if the mouse is over the throbber but it wasn't clicked, and darkened if the mouse is over the throbber and it was clicked. (nautilus_throbber_enter_notify_event): Set flag and request redraw to prelight. (nautilus_throbber_leave_notify_event): Set flag and request redraw to un-prelight. (nautilus_throbber_button_press_event): Set flag to indicate we hit the button in the throbber. Also, respond only to left clicks. (nautilus_throbber_button_release_event): Look at flag set in press event. Do the work here now instead of at press time since we are more like a real button. Rolled in change by Miguel Rodrguez Prez <migrax@terra.es> to fix volume mounting problems: * configure.in: Check for hasmntopt. * libnautilus-private/nautilus-volume-monitor.c: (get_removable_volumes): Fix typo (HAVE_MNTTENT_H -> HAVE_MNTENT_H). Integrated patch by Miguel Rodrguez Prez <migrax@terra.es> to make Nautilus not try to preview MPEG lists: * src/file-manager/fm-icon-view.c: (icon_container_preview_callback): Made audio/x-mpegurl another exception to the list of audio types we can preview. Rolled in change by Dennis Smit <synap@area101.penguin.nl>: * THANKS: added more translators that were missing from the THANKS file (names from all the .po files in ./po). Other updates to THANKS: * THANKS: Added Jon K Hellan. * check-THANKS.pl: Fixed logic so you can be credited as both an author and translator. Other changes: * src/file-manager/fm-list-view.c: (get_default_zoom_level): Fix typo (storaged -> storage). * src/nautilus-shell-ui.xml: * src/file-manager/nautilus-directory-view-ui.xml: Fixed keybindings entries to use the correct tags as described by ui-xml.txt.
2001-05-23 00:03:03 +00:00
AC_CHECK_FUNCS(setmntent endmntent hasmntopt)
AC_CHECK_HEADERS(mntent.h sys/mnttab.h sys/vfstab.h sys/cdio.h)
dnl ==========================================================================
Fixed problem compiling with new gettext: * hack-macros/gnome.m4: Add BUILD_INCLUDED_LIBINTL for compatibility with the new gettext. Fixed a problem with the throbber detecting that its X window is gone. Based on suggestions from Owen Taylor. * libnautilus/nautilus-bonobo-workarounds.h: * libnautilus/nautilus-bonobo-workarounds.c: (destroy_later_callback), (destroyed_before_timeout_callback), (nautilus_bonobo_object_force_destroy_later): Changed to "destroy later" instead of "destroy at idle". This makes us less likely to experience race conditions. * src/nautilus-window.c: (nautilus_window_initialize_class), (nautilus_window_unrealize), (nautilus_window_destroy): Moved the throbber destruction to unrealize so we destroy the throbber before we destroy its X window. Starting with patch by Anders Carlsson <andersca@gnu.org>, added both prelighting and tracking to the throbber, also making it take action on release, not press. * components/throbber/nautilus-throbber.c: (nautilus_throbber_initialize_class): Add handlers for enter, leave, and release. (nautilus_throbber_initialize): Set flags so we get enter and leave events. (select_throbber_image): Ref the image that's returned. (draw_throbber_image): Make the image be prelit if the mouse is over the throbber but it wasn't clicked, and darkened if the mouse is over the throbber and it was clicked. (nautilus_throbber_enter_notify_event): Set flag and request redraw to prelight. (nautilus_throbber_leave_notify_event): Set flag and request redraw to un-prelight. (nautilus_throbber_button_press_event): Set flag to indicate we hit the button in the throbber. Also, respond only to left clicks. (nautilus_throbber_button_release_event): Look at flag set in press event. Do the work here now instead of at press time since we are more like a real button. Rolled in change by Miguel Rodrguez Prez <migrax@terra.es> to fix volume mounting problems: * configure.in: Check for hasmntopt. * libnautilus-private/nautilus-volume-monitor.c: (get_removable_volumes): Fix typo (HAVE_MNTTENT_H -> HAVE_MNTENT_H). Integrated patch by Miguel Rodrguez Prez <migrax@terra.es> to make Nautilus not try to preview MPEG lists: * src/file-manager/fm-icon-view.c: (icon_container_preview_callback): Made audio/x-mpegurl another exception to the list of audio types we can preview. Rolled in change by Dennis Smit <synap@area101.penguin.nl>: * THANKS: added more translators that were missing from the THANKS file (names from all the .po files in ./po). Other updates to THANKS: * THANKS: Added Jon K Hellan. * check-THANKS.pl: Fixed logic so you can be credited as both an author and translator. Other changes: * src/file-manager/fm-list-view.c: (get_default_zoom_level): Fix typo (storaged -> storage). * src/nautilus-shell-ui.xml: * src/file-manager/nautilus-directory-view-ui.xml: Fixed keybindings entries to use the correct tags as described by ui-xml.txt.
2001-05-23 00:03:03 +00:00
AC_CHECK_FUNCS(setenv unsetenv putenv)
Add checks to fix things on Solaris regarding mounting, environment 2000-09-11 Seth Nickell <seth@eazel.com> * configure.in: Add checks to fix things on Solaris regarding mounting, environment variables, and fonts. Added tests for compiler warning flags that are not supported with all versions of GCC. * helper-utilities/authenticate/nautilus-authenticate-pam.c: (pam_conversion_func): Remove "const" from system call for compatibility with Solaris. * libnautilus-extensions/nautilus-file.c: (get_id_from_digit_string): uid_t != int, so change functions converting from string to uid_t to deal with greater bit uids properly. * libnautilus-extensions/nautilus-glib-extensions.h: * libnautilus-extensions/nautilus-glib-extensions.c: (nautilus_g_setenv), (nautilus_g_unsetenv): Add system gnostic functions for setting and removing variables from the environment. * libnautilus-extensions/nautilus-scalable-font.c: (initialize_global_stuff_if_needed): Temporary fix to deal with the absence of "RedHat-style" font paths on Solaris and Debian whilst font paths are still hard-coded. * libnautilus-extensions/nautilus-volume-monitor.c: (nautilus_volume_monitor_get_volume_name), (nautilus_volume_monitor_volume_is_mounted), (mount_volumes_update_is_mounted), (mnttab_add_mount_volume), (mntent_add_mount_volume), (find_volumes): Rewrite sections to use the appropriate Solaris mounting functions if Linux-style mount/umount/mount-table manipulation functions are not available. * libnautilus/nautilus-view-component.idl: * src/nautilus-view-frame-corba.c: * src/nautilus-zoomable-frame-corba.c: (impl_Nautilus_ZoomableFrame_report_zoom_level_changed): Change doubles to floats to work around an ORBit problem on Solaris wherein doubles are not correctly aligned. * src/file-manager/fm-desktop-icon-view.c: remove gratuitous linux specific header inclusion * src/nautilus-first-time-druid.c: (set_http_proxy): * src/nautilus-main.c: (main): * src/nautilus-shell.c: (corba_restart): (impl_Nautilus_ViewFrame_report_load_progress): Changed "setenv" and "unsetenv" calls to use nautilus_g_setenv and nautilus_g_unsetenv. * src/nautilus-window-manage-views.c: (report_sidebar_panel_failure_to_user): Add better error message to sidebar failures where it can't figure out which sidebar failed. Done in order to fix null string being passed to dialogue function which segfaulted Nautilus on Solaris. Yes children, your Nautilus will now run and frollick in the green, green pasture of the multi-cpu UltraSparc.
2000-09-12 02:01:33 +00:00
dnl ==========================================================================
dnl FAM
Load filesystems from an XML file rather than hardcoding the various 2001-08-14 Seth Nickell <snickell@stanford.edu> Load filesystems from an XML file rather than hardcoding the various attributes and behaviors. Some properties, such as for CDDA and NFS, are still hardcoded because they require actual code. This also makes it easier to add new filesystems. * libnautilus-private/filesystem-attributes.xml Filesystem description file. * libnautilus-private/Makefile.am: Add filesystem-attribute.xml to the build. * libnautilus-private/nautilus-volume-monitor.c: (mount_volume_prepend_filesystem): Don't try to detect filesystem strings and associate them with an enumeration type...nix the enumeration altogether since its not compatible with dynamically loading the filesystems. (get_xml_path), (load_filesystem_attributes_table) Functions for reading in filesystem-attribute.xml and loading the various filesystems into a hashtable. (nautilus_volume_monitor_initialize) Read in the filesystem attributes table. (get_removable_volumes), (mount_volume_deactivate), (get_mount_list), (get_current_mount_list), (verify_current_mount_state) Take a file attributes hashtable, or pass one to a subfunction. (nautilus_volume_monitor_get_target_uri), CDDA is the only system we need to deal with in an unusual way. Take out a long list and just check for CDDA. (nautilus_volume_monitor_should_integrate_trash) Use information read from the file rather than hardcoding a list of filesystems that can use trash (should be the same for now). (make_volume_name_from_path), (mount_volume_make_name) Get name out of the filesystem table rather than hardcoding. (mount_volume_iso9660_add) We were deciding if a device was *really* a CDROM by doing an ioctl on it to determine the drive status. This is a good check...except that on systems using DevFS devices can be user mountable without being user readable by default. Also, on my system it fails if there's no disk in the drive itself. (mount_volume_auto_add) Continue setting the device if its a floppy drive (eventually this should probably be cleaned out too), but don't set the filesystem type since we don't use the enum anymore. (mount_volume_cdda_add) Set as a CDDA device, but not a CDDA volume (since we don't have hardcoded volume types anymore). (mount_volume_nfs_add) Don't set NFS type since the enum was blown away. (create_volume) Accept a filesystem table and set attributes read from filesystem-attributes.xml if a volume's filesystem is found in the table. Perhaps eventually we should just assign a reference to the volume entry, but this was simpler for now since some functions modify things like the description. (copy_volume) Deal with copying the new attributes. * libnautilus-private/nautilus-volume-monitor.h: Nix the filesystem enumeration. Change NAUTILUS_DEVICE_CD_ROM to NAUTILUS_DEVICE_CDROM * src/file-manager/fm-desktop-icon-view.c: (create_mount_link), (update_disks_menu): Deal with rename of NAUTILUS_DEVICE_CD_ROM * src/nautilus-application.c: (volume_mounted_callback): Deal with rename of NAUTILUS_DEVICE_CD_ROM * AUTHORS: Update E-mail address. * configure.in: Make "FAM not found" warning a little more serious and informative. We particularly want to encourage distributors to enable FAM support.
2001-08-15 06:35:04 +00:00
FAM_MISSING_WARNING="Nautilus depends on FAM to provide notification when files are altered (either through filesystem polling, or a kernel notification mechanism). If Nautilus is built without FAM support, directories viewed with Nautilus will not remain in synch with the actual filesystem when they are altered by external processes. Particularly if you are a distributor please compile Nautilus with FAM support. FAM is available from http://oss.sgi.com/projects/fam/. A patch to add Linux Kernel 2.4 directory notify support to FAM (highly desirable) is available from http://people.redhat.com/alexl/files/"
FAM_LIBS=
AC_CHECK_LIB(fam, FAMOpen,
AC_CHECK_HEADERS(fam.h,
[AC_DEFINE(HAVE_LIBFAM)
FAM_LIBS="-lfam"],
Load filesystems from an XML file rather than hardcoding the various 2001-08-14 Seth Nickell <snickell@stanford.edu> Load filesystems from an XML file rather than hardcoding the various attributes and behaviors. Some properties, such as for CDDA and NFS, are still hardcoded because they require actual code. This also makes it easier to add new filesystems. * libnautilus-private/filesystem-attributes.xml Filesystem description file. * libnautilus-private/Makefile.am: Add filesystem-attribute.xml to the build. * libnautilus-private/nautilus-volume-monitor.c: (mount_volume_prepend_filesystem): Don't try to detect filesystem strings and associate them with an enumeration type...nix the enumeration altogether since its not compatible with dynamically loading the filesystems. (get_xml_path), (load_filesystem_attributes_table) Functions for reading in filesystem-attribute.xml and loading the various filesystems into a hashtable. (nautilus_volume_monitor_initialize) Read in the filesystem attributes table. (get_removable_volumes), (mount_volume_deactivate), (get_mount_list), (get_current_mount_list), (verify_current_mount_state) Take a file attributes hashtable, or pass one to a subfunction. (nautilus_volume_monitor_get_target_uri), CDDA is the only system we need to deal with in an unusual way. Take out a long list and just check for CDDA. (nautilus_volume_monitor_should_integrate_trash) Use information read from the file rather than hardcoding a list of filesystems that can use trash (should be the same for now). (make_volume_name_from_path), (mount_volume_make_name) Get name out of the filesystem table rather than hardcoding. (mount_volume_iso9660_add) We were deciding if a device was *really* a CDROM by doing an ioctl on it to determine the drive status. This is a good check...except that on systems using DevFS devices can be user mountable without being user readable by default. Also, on my system it fails if there's no disk in the drive itself. (mount_volume_auto_add) Continue setting the device if its a floppy drive (eventually this should probably be cleaned out too), but don't set the filesystem type since we don't use the enum anymore. (mount_volume_cdda_add) Set as a CDDA device, but not a CDDA volume (since we don't have hardcoded volume types anymore). (mount_volume_nfs_add) Don't set NFS type since the enum was blown away. (create_volume) Accept a filesystem table and set attributes read from filesystem-attributes.xml if a volume's filesystem is found in the table. Perhaps eventually we should just assign a reference to the volume entry, but this was simpler for now since some functions modify things like the description. (copy_volume) Deal with copying the new attributes. * libnautilus-private/nautilus-volume-monitor.h: Nix the filesystem enumeration. Change NAUTILUS_DEVICE_CD_ROM to NAUTILUS_DEVICE_CDROM * src/file-manager/fm-desktop-icon-view.c: (create_mount_link), (update_disks_menu): Deal with rename of NAUTILUS_DEVICE_CD_ROM * src/nautilus-application.c: (volume_mounted_callback): Deal with rename of NAUTILUS_DEVICE_CD_ROM * AUTHORS: Update E-mail address. * configure.in: Make "FAM not found" warning a little more serious and informative. We particularly want to encourage distributors to enable FAM support.
2001-08-15 06:35:04 +00:00
AC_MSG_WARN(*** FAM support will not be built (header files not found) $FAM_MISSING_WARNING ***)),
AC_MSG_WARN(*** FAM support will not be built (FAM library not found) $FAM_MISSING_WARNING ***))
AC_SUBST(FAM_LIBS)
dnl ==========================================================================
AC_ARG_WITH(libiconv, [ --with-libiconv Use the libiconv library ],,with_libiconv=maybe)
found_iconv=no
if test "x$with_libiconv" != "xyes" ; then
#
# Check in the C library
#
AC_CHECK_FUNC(iconv_open, with_libiconv=no; found_iconv=yes)
fi
if test "x$with_libiconv" != "xno" ; then
#
# Check for libiconv
#
AC_CHECK_LIB(iconv, libiconv_open, with_libiconv=yes; found_iconv=yes)
fi
if test "x$found_iconv" = "xno" ; then
AC_MSG_ERROR([*** No iconv() implementation found in C library or libiconv])
fi
if test "x$with_libiconv" = "xyes" ; then
ICONV_LIBS="-liconv"
fi
AC_SUBST(ICONV_LIBS)
dnl ==========================================================================
dnl x86 checks (used by audio routines in music component)
_system_is_x86="no"
AC_CHECK_HEADER( asm/vm86.h, _system_is_x86="yes" )
AM_CONDITIONAL(X86_OPTIMIZED, test "x$_system_is_x86" = "xyes")
dnl ==========================================================================
dnl ====================================
dnl = mozilla embedded component support
dnl =
dnl = The following voodoo does detection of mozilla libraries needed by
dnl = the nautilus mozilla component.
dnl =
dnl = The nautilus mozilla component is only built if these libraries are found
dnl =
dnl = --disable-mozilla-component can be used to disable building of the
dnl = mozilla component even if the mozilla development libraries are
dnl = detected.
dnl ====================================
mozilla_component_enabled="yes"
AC_ARG_ENABLE(mozilla-component,
[ --disable-mozilla-component Disable the mozilla component],
mozilla_component_enabled="$enableval")
dnl Dont build the mozilla component for profiled builds because the C++ compiler
dnl used for mozilla rpms is not binary compatible with the one used for profiling.
if test "x$ENABLE_PROFILER" = "x1"
then
mozilla_component_enabled="no"
fi
found_mozilla=false
if test "x$mozilla_component_enabled" = "xyes"
then
_mozilla_lib_place=/usr/lib/mozilla
AC_ARG_WITH(mozilla-lib-place,
[ --with-mozilla-lib-place Set mozilla 'lib' place ],
[ _mozilla_lib_place="$withval" ])
_mozilla_include_place=/usr/include/mozilla
AC_ARG_WITH(mozilla-include-place,
[ --with-mozilla-include-place Set mozilla 'include' place ],
[ _mozilla_include_place="$withval" ])
_mozilla_nspr_include_place=$_mozilla_include_place/nspr
AC_ARG_WITH(mozilla-nspr-include-place,
[ --with-mozilla-nspr-include-place Set mozilla nspr directory 'include' place ],
[ _mozilla_nspr_include_place="$withval" ])
dnl Save flags and compiler
_save_cflags="$CFLAGS"
_save_ldflags="$LDFLAGS"
_save_cc="$CC"
dnl Hack flags to find the mozilla stuff
CFLAGS="$_save_cflags -I$_mozilla_include_place -I$_mozilla_include_place/nspr"
Fixed bug 640 (icon cache never frees images (awaiting GdkPixbuf fix)). Also took care of bug 3145 (zillions of 'main_loops != NULL' assertion failures when quitting) and bug 3138 (Some code in the icon factory is cut and pasted from elsewhere). And a few unrelated things that came up while I was busy working on these. * configure.in: Applied patch from Dan Winship to fix handling of CFLAGS and LDFLAGS. Fixes some missing quoting and other mistakes. * libnautilus-extensions/Makefile.am: * libnautilus-extensions/nautilus-icon-factory-private.h: * libnautilus-extensions/nautilus-thumbnails.c: * libnautilus-extensions/nautilus-thumbnails.h: Broke out the thumbnailing code into its own source file for clarity. * libnautilus-extensions/nautilus-directory.c: * libnautilus-extensions/nautilus-file-utilities.h: * libnautilus-extensions/nautilus-file-utilities.c: (nautilus_make_directory_and_parents): Moved nautilus_make_directory_and_parents into a place where the thumbnail code can share it instead of requiring its own copy. * libnautilus-extensions/nautilus-global-preferences.h: * libnautilus-extensions/nautilus-global-preferences.c: (destroy_global_prefs_dialog), (global_preferences_get_dialog), (nautilus_global_preferences_dialog_update), (nautilus_global_preferences_initialize): * libnautilus-extensions/nautilus-preferences.h: * libnautilus-extensions/nautilus-preferences.c: (preferences_initialize_if_needed), (preferences_shutdown): * src/nautilus-application.c: (nautilus_application_destroy): Changed code so that it cleans up with g_atexit instead of with an explicit shutdown call. This makes it sequence correctly with other atexit code. * libnautilus-extensions/nautilus-icon-canvas-item.h: * libnautilus-extensions/nautilus-icon-canvas-item.c: (nautilus_icon_canvas_item_destroy), (nautilus_icon_canvas_item_set_attach_points), (emblem_layout_next): * libnautilus-extensions/nautilus-icon-container.c: (nautilus_icon_container_update_icon): Added a Nautilus prefix to the EmblemAttachPoints typedef, since it's public. * libnautilus-extensions/nautilus-icon-factory.h: * libnautilus-extensions/nautilus-icon-factory.c: Changed the icon factory structure so that it will actually free pixbufs when done with them. Made some other small fixes to the icon factory in passing, including removing some redundant code and fixing the logic for getting custom icons and deleting the icon factory and g_atexit time. * src/file-manager/fm-icon-view.c: (play_file), (preview_sound): Restructured the logic for playing sound previews a little to get rid of compiler warnings and close some loopholes in the old code. * src/nautilus-main.c: (is_event_loop_needed), (quit_if_in_main_loop), (nautilus_gtk_main_quit_all), (event_loop_unregister), (nautilus_main_event_loop_register), (nautilus_main_is_event_loop_mainstay), (nautilus_main_event_loop_quit), (main): Fixed the main loop quitting logic so that it is a bit simpler and works with the gnome-vfs code that runs event handling after the last main loop is gone.
2000-09-20 00:44:07 +00:00
LDFLAGS="$_save_ldflags -L$_mozilla_lib_place"
_mozilla_nspr_libs=
AC_CHECK_LIB(nspr4, PR_Init, [_mozilla_nspr_libs="-lnspr4"])
LDFLAGS="$LDFLAGS $_mozilla_nspr_libs"
_mozilla_plc_libs=
AC_CHECK_LIB(plc4, PL_strcmp, [_mozilla_plc_libs="-lplc4"])
_mozilla_plds_libs=
AC_CHECK_LIB(plds4, PL_NewHashTable, [_mozilla_plds_libs="-lplds4"])
_mozilla_all_nspr_flags="$_mozilla_nspr_libs $_mozilla_plc_libs $_mozilla_plds_libs"
dnl Now check for the evil c++ ones "by hand"
CC="g++"
LDFLAGS="$_save_ldflags -L$_mozilla_lib_place $_mozilla_all_nspr_flags -lxpcom"
AC_MSG_CHECKING(for xpcom)
AC_CACHE_VAL(have_xpcom,
[AC_TRY_COMPILE([extern "C" int NS_RegistryGetFactory(void**);]
[],
[NS_RegistryGetFactory(0); return 0;],
[have_xpcom=true],
[have_xpcom=false])])
if test "$have_xpcom" = "true" ; then
_mozilla_xpcom_libs="-lxpcom"
AC_MSG_RESULT(yes)
else
_mozilla_xpcom_libs=
AC_MSG_RESULT(no)
fi
dnl The next two are pure evil
Fixed bug 640 (icon cache never frees images (awaiting GdkPixbuf fix)). Also took care of bug 3145 (zillions of 'main_loops != NULL' assertion failures when quitting) and bug 3138 (Some code in the icon factory is cut and pasted from elsewhere). And a few unrelated things that came up while I was busy working on these. * configure.in: Applied patch from Dan Winship to fix handling of CFLAGS and LDFLAGS. Fixes some missing quoting and other mistakes. * libnautilus-extensions/Makefile.am: * libnautilus-extensions/nautilus-icon-factory-private.h: * libnautilus-extensions/nautilus-thumbnails.c: * libnautilus-extensions/nautilus-thumbnails.h: Broke out the thumbnailing code into its own source file for clarity. * libnautilus-extensions/nautilus-directory.c: * libnautilus-extensions/nautilus-file-utilities.h: * libnautilus-extensions/nautilus-file-utilities.c: (nautilus_make_directory_and_parents): Moved nautilus_make_directory_and_parents into a place where the thumbnail code can share it instead of requiring its own copy. * libnautilus-extensions/nautilus-global-preferences.h: * libnautilus-extensions/nautilus-global-preferences.c: (destroy_global_prefs_dialog), (global_preferences_get_dialog), (nautilus_global_preferences_dialog_update), (nautilus_global_preferences_initialize): * libnautilus-extensions/nautilus-preferences.h: * libnautilus-extensions/nautilus-preferences.c: (preferences_initialize_if_needed), (preferences_shutdown): * src/nautilus-application.c: (nautilus_application_destroy): Changed code so that it cleans up with g_atexit instead of with an explicit shutdown call. This makes it sequence correctly with other atexit code. * libnautilus-extensions/nautilus-icon-canvas-item.h: * libnautilus-extensions/nautilus-icon-canvas-item.c: (nautilus_icon_canvas_item_destroy), (nautilus_icon_canvas_item_set_attach_points), (emblem_layout_next): * libnautilus-extensions/nautilus-icon-container.c: (nautilus_icon_container_update_icon): Added a Nautilus prefix to the EmblemAttachPoints typedef, since it's public. * libnautilus-extensions/nautilus-icon-factory.h: * libnautilus-extensions/nautilus-icon-factory.c: Changed the icon factory structure so that it will actually free pixbufs when done with them. Made some other small fixes to the icon factory in passing, including removing some redundant code and fixing the logic for getting custom icons and deleting the icon factory and g_atexit time. * src/file-manager/fm-icon-view.c: (play_file), (preview_sound): Restructured the logic for playing sound previews a little to get rid of compiler warnings and close some loopholes in the old code. * src/nautilus-main.c: (is_event_loop_needed), (quit_if_in_main_loop), (nautilus_gtk_main_quit_all), (event_loop_unregister), (nautilus_main_event_loop_register), (nautilus_main_is_event_loop_mainstay), (nautilus_main_event_loop_quit), (main): Fixed the main loop quitting logic so that it is a bit simpler and works with the gnome-vfs code that runs event handling after the last main loop is gone.
2000-09-20 00:44:07 +00:00
CC="$_save_cc"
dnl gtk superwin library
Fixed bug 640 (icon cache never frees images (awaiting GdkPixbuf fix)). Also took care of bug 3145 (zillions of 'main_loops != NULL' assertion failures when quitting) and bug 3138 (Some code in the icon factory is cut and pasted from elsewhere). And a few unrelated things that came up while I was busy working on these. * configure.in: Applied patch from Dan Winship to fix handling of CFLAGS and LDFLAGS. Fixes some missing quoting and other mistakes. * libnautilus-extensions/Makefile.am: * libnautilus-extensions/nautilus-icon-factory-private.h: * libnautilus-extensions/nautilus-thumbnails.c: * libnautilus-extensions/nautilus-thumbnails.h: Broke out the thumbnailing code into its own source file for clarity. * libnautilus-extensions/nautilus-directory.c: * libnautilus-extensions/nautilus-file-utilities.h: * libnautilus-extensions/nautilus-file-utilities.c: (nautilus_make_directory_and_parents): Moved nautilus_make_directory_and_parents into a place where the thumbnail code can share it instead of requiring its own copy. * libnautilus-extensions/nautilus-global-preferences.h: * libnautilus-extensions/nautilus-global-preferences.c: (destroy_global_prefs_dialog), (global_preferences_get_dialog), (nautilus_global_preferences_dialog_update), (nautilus_global_preferences_initialize): * libnautilus-extensions/nautilus-preferences.h: * libnautilus-extensions/nautilus-preferences.c: (preferences_initialize_if_needed), (preferences_shutdown): * src/nautilus-application.c: (nautilus_application_destroy): Changed code so that it cleans up with g_atexit instead of with an explicit shutdown call. This makes it sequence correctly with other atexit code. * libnautilus-extensions/nautilus-icon-canvas-item.h: * libnautilus-extensions/nautilus-icon-canvas-item.c: (nautilus_icon_canvas_item_destroy), (nautilus_icon_canvas_item_set_attach_points), (emblem_layout_next): * libnautilus-extensions/nautilus-icon-container.c: (nautilus_icon_container_update_icon): Added a Nautilus prefix to the EmblemAttachPoints typedef, since it's public. * libnautilus-extensions/nautilus-icon-factory.h: * libnautilus-extensions/nautilus-icon-factory.c: Changed the icon factory structure so that it will actually free pixbufs when done with them. Made some other small fixes to the icon factory in passing, including removing some redundant code and fixing the logic for getting custom icons and deleting the icon factory and g_atexit time. * src/file-manager/fm-icon-view.c: (play_file), (preview_sound): Restructured the logic for playing sound previews a little to get rid of compiler warnings and close some loopholes in the old code. * src/nautilus-main.c: (is_event_loop_needed), (quit_if_in_main_loop), (nautilus_gtk_main_quit_all), (event_loop_unregister), (nautilus_main_event_loop_register), (nautilus_main_is_event_loop_mainstay), (nautilus_main_event_loop_quit), (main): Fixed the main loop quitting logic so that it is a bit simpler and works with the gnome-vfs code that runs event handling after the last main loop is gone.
2000-09-20 00:44:07 +00:00
LDFLAGS="$_save_ldflags -L$_mozilla_lib_place $_mozilla_all_nspr_flags -lgtksuperwin"
_mozilla_gtk_super_win_libs=
AC_CHECK_LIB(gtksuperwin, gdk_superwin_get_type, [_mozilla_gtk_super_win_libs="-lgtksuperwin"])
dnl gtk moz embed library
Fixed bug 640 (icon cache never frees images (awaiting GdkPixbuf fix)). Also took care of bug 3145 (zillions of 'main_loops != NULL' assertion failures when quitting) and bug 3138 (Some code in the icon factory is cut and pasted from elsewhere). And a few unrelated things that came up while I was busy working on these. * configure.in: Applied patch from Dan Winship to fix handling of CFLAGS and LDFLAGS. Fixes some missing quoting and other mistakes. * libnautilus-extensions/Makefile.am: * libnautilus-extensions/nautilus-icon-factory-private.h: * libnautilus-extensions/nautilus-thumbnails.c: * libnautilus-extensions/nautilus-thumbnails.h: Broke out the thumbnailing code into its own source file for clarity. * libnautilus-extensions/nautilus-directory.c: * libnautilus-extensions/nautilus-file-utilities.h: * libnautilus-extensions/nautilus-file-utilities.c: (nautilus_make_directory_and_parents): Moved nautilus_make_directory_and_parents into a place where the thumbnail code can share it instead of requiring its own copy. * libnautilus-extensions/nautilus-global-preferences.h: * libnautilus-extensions/nautilus-global-preferences.c: (destroy_global_prefs_dialog), (global_preferences_get_dialog), (nautilus_global_preferences_dialog_update), (nautilus_global_preferences_initialize): * libnautilus-extensions/nautilus-preferences.h: * libnautilus-extensions/nautilus-preferences.c: (preferences_initialize_if_needed), (preferences_shutdown): * src/nautilus-application.c: (nautilus_application_destroy): Changed code so that it cleans up with g_atexit instead of with an explicit shutdown call. This makes it sequence correctly with other atexit code. * libnautilus-extensions/nautilus-icon-canvas-item.h: * libnautilus-extensions/nautilus-icon-canvas-item.c: (nautilus_icon_canvas_item_destroy), (nautilus_icon_canvas_item_set_attach_points), (emblem_layout_next): * libnautilus-extensions/nautilus-icon-container.c: (nautilus_icon_container_update_icon): Added a Nautilus prefix to the EmblemAttachPoints typedef, since it's public. * libnautilus-extensions/nautilus-icon-factory.h: * libnautilus-extensions/nautilus-icon-factory.c: Changed the icon factory structure so that it will actually free pixbufs when done with them. Made some other small fixes to the icon factory in passing, including removing some redundant code and fixing the logic for getting custom icons and deleting the icon factory and g_atexit time. * src/file-manager/fm-icon-view.c: (play_file), (preview_sound): Restructured the logic for playing sound previews a little to get rid of compiler warnings and close some loopholes in the old code. * src/nautilus-main.c: (is_event_loop_needed), (quit_if_in_main_loop), (nautilus_gtk_main_quit_all), (event_loop_unregister), (nautilus_main_event_loop_register), (nautilus_main_is_event_loop_mainstay), (nautilus_main_event_loop_quit), (main): Fixed the main loop quitting logic so that it is a bit simpler and works with the gnome-vfs code that runs event handling after the last main loop is gone.
2000-09-20 00:44:07 +00:00
LDFLAGS="$_save_ldflags -L$_mozilla_lib_place $_mozilla_all_nspr_flags -lgtkembedmoz $_mozilla_xpcom_libs"
_mozilla_gtk_moz_embed_libs=
AC_CHECK_LIB(gtkembedmoz, gtk_moz_embed_get_type, [_mozilla_gtk_moz_embed_libs="-lgtkembedmoz"])
dnl Restore the flags and compiler
Fixed bug 640 (icon cache never frees images (awaiting GdkPixbuf fix)). Also took care of bug 3145 (zillions of 'main_loops != NULL' assertion failures when quitting) and bug 3138 (Some code in the icon factory is cut and pasted from elsewhere). And a few unrelated things that came up while I was busy working on these. * configure.in: Applied patch from Dan Winship to fix handling of CFLAGS and LDFLAGS. Fixes some missing quoting and other mistakes. * libnautilus-extensions/Makefile.am: * libnautilus-extensions/nautilus-icon-factory-private.h: * libnautilus-extensions/nautilus-thumbnails.c: * libnautilus-extensions/nautilus-thumbnails.h: Broke out the thumbnailing code into its own source file for clarity. * libnautilus-extensions/nautilus-directory.c: * libnautilus-extensions/nautilus-file-utilities.h: * libnautilus-extensions/nautilus-file-utilities.c: (nautilus_make_directory_and_parents): Moved nautilus_make_directory_and_parents into a place where the thumbnail code can share it instead of requiring its own copy. * libnautilus-extensions/nautilus-global-preferences.h: * libnautilus-extensions/nautilus-global-preferences.c: (destroy_global_prefs_dialog), (global_preferences_get_dialog), (nautilus_global_preferences_dialog_update), (nautilus_global_preferences_initialize): * libnautilus-extensions/nautilus-preferences.h: * libnautilus-extensions/nautilus-preferences.c: (preferences_initialize_if_needed), (preferences_shutdown): * src/nautilus-application.c: (nautilus_application_destroy): Changed code so that it cleans up with g_atexit instead of with an explicit shutdown call. This makes it sequence correctly with other atexit code. * libnautilus-extensions/nautilus-icon-canvas-item.h: * libnautilus-extensions/nautilus-icon-canvas-item.c: (nautilus_icon_canvas_item_destroy), (nautilus_icon_canvas_item_set_attach_points), (emblem_layout_next): * libnautilus-extensions/nautilus-icon-container.c: (nautilus_icon_container_update_icon): Added a Nautilus prefix to the EmblemAttachPoints typedef, since it's public. * libnautilus-extensions/nautilus-icon-factory.h: * libnautilus-extensions/nautilus-icon-factory.c: Changed the icon factory structure so that it will actually free pixbufs when done with them. Made some other small fixes to the icon factory in passing, including removing some redundant code and fixing the logic for getting custom icons and deleting the icon factory and g_atexit time. * src/file-manager/fm-icon-view.c: (play_file), (preview_sound): Restructured the logic for playing sound previews a little to get rid of compiler warnings and close some loopholes in the old code. * src/nautilus-main.c: (is_event_loop_needed), (quit_if_in_main_loop), (nautilus_gtk_main_quit_all), (event_loop_unregister), (nautilus_main_event_loop_register), (nautilus_main_is_event_loop_mainstay), (nautilus_main_event_loop_quit), (main): Fixed the main loop quitting logic so that it is a bit simpler and works with the gnome-vfs code that runs event handling after the last main loop is gone.
2000-09-20 00:44:07 +00:00
CFLAGS="$_save_cflags"
LDFLAGS="$_save_ldflags"
CC="$_save_cc"
dnl Now make sure all the libraries are good
AC_MSG_CHECKING(for Mozilla)
if test -n "$_mozilla_nspr_libs" -a \
-n "$_mozilla_plc_libs" -a \
-n "$_mozilla_plds_libs" -a \
-n "$_mozilla_xpcom_libs" -a \
-n "$_mozilla_gtk_super_win_libs" -a \
-n "$_mozilla_gtk_moz_embed_libs"
then
AC_MSG_RESULT(yes)
AC_PROG_CXX
found_mozilla=true
MOZILLA_COMPONENT_RPATH_FLAGS=-Wl,-rpath=$_mozilla_lib_place
MOZILLA_COMPONENT_LDFLAGS=-L$_mozilla_lib_place
MOZILLA_COMPONENT_LIBS="$_mozilla_gtk_moz_embed_libs \
$_mozilla_gtk_super_win_libs \
$_mozilla_xpcom_libs \
$_mozilla_nspr_libs \
$_mozilla_plc_libs \
$_mozilla_plds_libs"
AC_SUBST(MOZILLA_COMPONENT_RPATH_FLAGS)
AC_SUBST(MOZILLA_COMPONENT_LDFLAGS)
AC_SUBST(MOZILLA_COMPONENT_LIBS)
else
AC_MSG_RESULT(no)
found_mozilla=false
fi
fi
AM_CONDITIONAL(BUILD_MOZILLA_COMPONENT, test "$found_mozilla" = "true")
if test "$found_mozilla" = "true"
then
grep -w gtk_moz_embed_set_profile_path $_mozilla_include_place/gtkembedmoz/gtkmozembed.h > /dev/null 2>&1
if test $? -eq 0
then
MOZILLA_PROFILES_CFLAGS="-DMOZILLA_HAVE_PROFILES_SUPPORT"
AC_SUBST(MOZILLA_PROFILES_CFLAGS)
MOZILLA_COMPONENT_CFLAGS="-I$_mozilla_include_place -I$_mozilla_nspr_include_place -fno-rtti -fno-exceptions"
for component in xpcom gfx widget gtkembedmoz dom \
webbrwsr docshell content layout pref uconv string; do
MOZILLA_COMPONENT_CFLAGS="$MOZILLA_COMPONENT_CFLAGS -I$_mozilla_include_place/$component"
done
AC_SUBST(MOZILLA_COMPONENT_CFLAGS)
else
AC_MSG_ERROR([
*** Mozilla 0.9.5 or greater is required to build the
*** Nautilus Mozilla component.])
fi
dnl The DEBUG check is a most evil hack. The problem im trying to solve
dnl is that we dont know whether the mozilla binaries we are using are built
dnl in debug mode or not (DEBUG). We need to know this so that we set
dnl appropiate compile flags in the mozilla component. Otherwise we get
dnl undefined symbols. Specifically, the undefined symbols are some
dnl destrcutors (nsCOMPtr_base::~nsCOMPtr_base) which are implemented only
dnl if the debug flag DEBUG is set a certain way.
_xpcom_lib=$_mozilla_lib_place/libxpcom.so
_symbol="nsCOMPtr_base::~nsCOMPtr_base"
_num_symbols=`nm $_xpcom_lib 2> /dev/null | wc -l`
MOZILLA_COMPONENT_DEBUG_FLAGS=
if test $_num_symbols -ne 0
then
nm --demangle $_xpcom_lib | grep $_symbol > /dev/null 2>&1
if test $? -eq 1
then
MOZILLA_COMPONENT_DEBUG_FLAGS="-DDEBUG"
fi
fi
AC_SUBST(MOZILLA_COMPONENT_DEBUG_FLAGS)
fi
dnl ==========================================================================
dnl cdda
AM_CONDITIONAL(HAVE_CDDA, false);
AC_CHECK_HEADERS(cdda_interface.h cdda_paranoia.h, [
CDDA_LIBS="-lcdda_paranoia -lcdda_interface";
AM_CONDITIONAL(HAVE_CDDA, true);
])
dnl ==========================================================================
dnl scrollkeeper
AC_PATH_PROG(SCROLLKEEPER_CONFIG, scrollkeeper-config,no)
if test x$SCROLLKEEPER_CONFIG = xno; then
AC_MSG_ERROR(Couldn't find scrollkeeper-config, please install the scrollkeeper packaga)
fi
dnl ==========================================================================
dnl jw (for doc build)
AC_PATH_PROG(JW,jw,no)
if test x$JW = xno; then
HAVE_JW="no"
else
HAVE_JW="yes"
fi
AM_CONDITIONAL(HAVE_JW, test "x$HAVE_JW" = "xyes")
AC_SUBST(HAVE_JW)
dnl ==========================================================================
AC_MSG_CHECKING(for Medusa)
reviewed by: John Sullivan <sullivan@eazel.com> A cut at an ability to build without Medusa, starting with a patch that Eric Fischer wrote. This change is not fully tested. Fixed bug 5513 ("nautilus --help" displays "Help options" twice). * acconfig.h: Add HAVE_MEDUSA. * configure.in: Add code to detect HAVE_MEDUSA. * libnautilus-extensions/nautilus-customization-data.c: (nautilus_customization_data_destroy), (load_name_map_hash_table): Added a FIXME. * libnautilus-extensions/Makefile.am: * libnautilus-extensions/nautilus-file.h: * libnautilus-extensions/nautilus-trash-file.h: * libnautilus-extensions/nautilus-trash-file.c: (nautilus_trash_file_initialize), (trash_destroy), (nautilus_trash_file_initialize_class): * libnautilus-extensions/nautilus-vfs-file.h: * libnautilus-extensions/nautilus-vfs-file.c: (nautilus_vfs_file_initialize), (vfs_destroy), (nautilus_vfs_file_initialize_class): Initial cut at breaking out the special trash version of NautilusFile. Sadly we need this as well as NautilusTrashDirectory. * src/file-manager/fm-search-list-view.c: (load_location_callback): Add _() so things get localized and put the code to compose the indexing message inside ifdef HAVE_MEDUSA. * src/file-manager/nautilus-indexing-info.h: * src/file-manager/nautilus-indexing-info.c: Put HAVE_MEDUSA ifdefs around most of this file. (get_text_for_progress_label): Mark string for translation. (update_progress_display): Remove code to "handle" timeout left around after dialog is destroyed. (update_file_index_callback): Change error messages to be more easily localizable. Use nautilus_error_dialog instead of gnome_error_dialog. (timeout_remove_callback): Get rid of the timeout when the object is destroyed. (show_index_progress_bar): Connect handler to get rid of the timeout when the object is destroyed. (show_indexing_info_dialog): Move code that puts up dialog into a new function. Also use nautilus_gtk_window_present to put up a window. Change the NautilusLabel to use line wrapping. (show_search_service_not_available_dialog): Put this dialog in its own function so you can use it multiple times. (nautilus_indexing_info_request_reindex): Put HAVE_MEDUSA around the content of this function. (nautilus_indexing_info_get_last_index_time): Put HAVE_MEDUSA around the function, with a small simple implementation for the other case. (nautilus_indexing_info_show_dialog): Put HAVE_MEDUSA around the function, with a small invocation of the "not available" dialog. * src/nautilus-main.c: (main): Remove redundant AUTOHELP. * src/nautilus-search-bar-criterion.c: (make_emblem_value_menu): Fix emblem_name storage lifetime problem. * src/file-manager/fm-icon-view.c: Whitespace tweak.
2001-01-09 02:05:41 +00:00
case "`medusa-config --libs 2>/dev/null | cut -d ' ' -f1`" in
'')
MEDUSA_CFLAGS=""
MEDUSA_LIBS=""
AC_MSG_RESULT(no)
reviewed by: John Sullivan <sullivan@eazel.com> A cut at an ability to build without Medusa, starting with a patch that Eric Fischer wrote. This change is not fully tested. Fixed bug 5513 ("nautilus --help" displays "Help options" twice). * acconfig.h: Add HAVE_MEDUSA. * configure.in: Add code to detect HAVE_MEDUSA. * libnautilus-extensions/nautilus-customization-data.c: (nautilus_customization_data_destroy), (load_name_map_hash_table): Added a FIXME. * libnautilus-extensions/Makefile.am: * libnautilus-extensions/nautilus-file.h: * libnautilus-extensions/nautilus-trash-file.h: * libnautilus-extensions/nautilus-trash-file.c: (nautilus_trash_file_initialize), (trash_destroy), (nautilus_trash_file_initialize_class): * libnautilus-extensions/nautilus-vfs-file.h: * libnautilus-extensions/nautilus-vfs-file.c: (nautilus_vfs_file_initialize), (vfs_destroy), (nautilus_vfs_file_initialize_class): Initial cut at breaking out the special trash version of NautilusFile. Sadly we need this as well as NautilusTrashDirectory. * src/file-manager/fm-search-list-view.c: (load_location_callback): Add _() so things get localized and put the code to compose the indexing message inside ifdef HAVE_MEDUSA. * src/file-manager/nautilus-indexing-info.h: * src/file-manager/nautilus-indexing-info.c: Put HAVE_MEDUSA ifdefs around most of this file. (get_text_for_progress_label): Mark string for translation. (update_progress_display): Remove code to "handle" timeout left around after dialog is destroyed. (update_file_index_callback): Change error messages to be more easily localizable. Use nautilus_error_dialog instead of gnome_error_dialog. (timeout_remove_callback): Get rid of the timeout when the object is destroyed. (show_index_progress_bar): Connect handler to get rid of the timeout when the object is destroyed. (show_indexing_info_dialog): Move code that puts up dialog into a new function. Also use nautilus_gtk_window_present to put up a window. Change the NautilusLabel to use line wrapping. (show_search_service_not_available_dialog): Put this dialog in its own function so you can use it multiple times. (nautilus_indexing_info_request_reindex): Put HAVE_MEDUSA around the content of this function. (nautilus_indexing_info_get_last_index_time): Put HAVE_MEDUSA around the function, with a small simple implementation for the other case. (nautilus_indexing_info_show_dialog): Put HAVE_MEDUSA around the function, with a small invocation of the "not available" dialog. * src/nautilus-main.c: (main): Remove redundant AUTOHELP. * src/nautilus-search-bar-criterion.c: (make_emblem_value_menu): Fix emblem_name storage lifetime problem. * src/file-manager/fm-icon-view.c: Whitespace tweak.
2001-01-09 02:05:41 +00:00
;;
*)
MEDUSA_CFLAGS=`medusa-config --cflags`
MEDUSA_LIBS=`medusa-config --libs`
AC_DEFINE(HAVE_MEDUSA)
AC_MSG_RESULT(yes)
;;
esac
AC_SUBST(MEDUSA_CFLAGS)
AC_SUBST(MEDUSA_LIBS)
dnl ==========================================================================
dnl libpng
if test -z "$LIBPNG"; then
AC_CHECK_LIB(png, png_read_info,
AC_CHECK_HEADER(png.h,
png_ok=yes,
png_ok=no),
AC_MSG_ERROR(*** (PNG library not found) ***), -lz -lm)
if test "$png_ok" = yes; then
AC_MSG_CHECKING([for png_structp in png.h])
AC_TRY_COMPILE([#include <png.h>],
[png_structp pp; png_infop info; png_colorp cmap; png_create_read_struct;],
png_ok=yes,
png_ok=no)
AC_MSG_RESULT($png_ok)
if test "$png_ok" = yes; then
PNG='png'; LIBPNG='-lpng -lz'
else
AC_MSG_WARN(*** PNG loader will not be built (PNG library is too old) ***)
fi
else
AC_MSG_WARN(*** PNG loader will not be built (PNG header file not found) ***)
fi
fi
AC_SUBST(LIBPNG)
dnl ==========================================================================
dnl libjpeg
if test -z "$LIBJPEG"; then
AC_CHECK_LIB(jpeg, jpeg_start_decompress,
AC_CHECK_HEADER(jpeglib.h,
jpeg_ok=yes,
jpeg_ok=no),
AC_MSG_WARN(*** (jpeg library not found) ***), -lm)
if test "$jpeg_ok" = yes; then
JPEG='jpeg'; LIBJPEG='-ljpeg'
AC_DEFINE(HAVE_LIBJPEG)
else
AC_MSG_WARN(*** JPEG loader will not be built (jpeg header file not found) ***)
fi
fi
AC_SUBST(LIBJPEG)
dnl ==========================================================================
1999-12-05 00:40:26 +00:00
Change to use bonobo_object_unref now that the leaks have been fixed. This * src/nautilus-view-frame.c: (nautilus_view_frame_destroy_client): Change to use bonobo_object_unref now that the leaks have been fixed. This requires the new Bonobo or you'll have lots of leaked processes. Luckily, Nautilus won't compile without the new Bonobo due to my use of bonobo_object_shutdown in main :-) * configure.in: Fix the way -Werror works so it affects all directories, not just ones where we use WERROR. * components/hardware/Makefile.am: * components/help/Makefile.am: * components/history/Makefile.am: * components/loser/content/Makefile.am: * components/loser/sidebar/Makefile.am: * components/mozilla/Makefile.am: * components/music/Makefile.am: * components/notes/Makefile.am: * components/rpmview/Makefile.am: * components/sample/Makefile.am: * components/services/install/command-line/Makefile.am: * components/services/install/lib/Makefile.am: * components/services/install/nautilus-view/Makefile.am: * components/services/install/server/Makefile.am: * components/services/inventory/lib/Makefile.am: * components/services/inventory/nautilus-view/Makefile.am: * components/services/inventory/service/Makefile.am: * components/services/login/lib/Makefile.am: * components/services/login/nautilus-view/Makefile.am: * components/services/login/service/Makefile.am: * components/services/startup/command-line/Makefile.am: * components/services/startup/lib/Makefile.am: * components/services/startup/nautilus-view/Makefile.am: * components/services/summary/lib/Makefile.am: * components/services/summary/nautilus-view/Makefile.am: * components/services/summary/service/Makefile.am: * components/services/time/command-line/Makefile.am: * components/services/time/nautilus-view/Makefile.am: * components/services/time/service/Makefile.am: * components/services/trilobite/helper/Makefile.am: * components/services/trilobite/libtrilobite/Makefile.am: * components/services/trilobite/sample/command-line/.cvsignore: * components/services/trilobite/sample/command-line/Makefile.am: * components/services/trilobite/sample/lib/Makefile.am: * components/services/trilobite/sample/nautilus-view/Makefile.am: * components/services/trilobite/sample/service/Makefile.am: * components/services/vault/command-line/Makefile.am: * components/services/vault/lib/Makefile.am: * components/services/vault/nautilus-view/Makefile.am: * components/services/vault/service/Makefile.am: * components/tree/Makefile.am: * components/websearch/Makefile.am: * cut-n-paste-code/widgets/nautilus-druid/Makefile.am: * helper-utilities/authenticate/Makefile.am: * libnautilus-extensions/Makefile.am: * libnautilus/Makefile.am: * librsvg/Makefile.am: * nautilus-installer/src/Makefile.am: * src/Makefile.am: * src/file-manager/Makefile.am: * test/Makefile.am: Got rid of the WERROR shell variable. The -Werror switch is no longer a per-directory thing. * librsvg/Makefile.am: Added libpng to the libraries for the test program. Maybe this was the wrong thing to do, but before this change the link failed. * components/sample/Makefile.am: * components/sample/main.c: * components/sample/nautilus-sample-content-view.c: * components/sample/nautilus-sample-content-view.h: A clean-up of the sample, including fixing many bugs and adding lots of comments. I figure we want this to be as close to exemplary as possible since people will continue to start with it for new components. * libnautilus-extensions/nautilus-bookmark.c: (nautilus_bookmark_new_with_icon): Removed a bogus extra ref of a NautilusFile object that I spotted in here. * src/nautilus-application.c: (nautilus_application_destroy_window): Re-added the code to quit when the last window is closed that Mike removed in his recent check-in. * src/nautilus-main.c: (main): Added a call to bonobo_shutdown. We don't need this call, but I say, "Why not?"
2000-07-12 19:33:38 +00:00
dnl Turn on the additional warnings last, so -Werror doesn't affect other tests.
Change to use bonobo_object_unref now that the leaks have been fixed. This * src/nautilus-view-frame.c: (nautilus_view_frame_destroy_client): Change to use bonobo_object_unref now that the leaks have been fixed. This requires the new Bonobo or you'll have lots of leaked processes. Luckily, Nautilus won't compile without the new Bonobo due to my use of bonobo_object_shutdown in main :-) * configure.in: Fix the way -Werror works so it affects all directories, not just ones where we use WERROR. * components/hardware/Makefile.am: * components/help/Makefile.am: * components/history/Makefile.am: * components/loser/content/Makefile.am: * components/loser/sidebar/Makefile.am: * components/mozilla/Makefile.am: * components/music/Makefile.am: * components/notes/Makefile.am: * components/rpmview/Makefile.am: * components/sample/Makefile.am: * components/services/install/command-line/Makefile.am: * components/services/install/lib/Makefile.am: * components/services/install/nautilus-view/Makefile.am: * components/services/install/server/Makefile.am: * components/services/inventory/lib/Makefile.am: * components/services/inventory/nautilus-view/Makefile.am: * components/services/inventory/service/Makefile.am: * components/services/login/lib/Makefile.am: * components/services/login/nautilus-view/Makefile.am: * components/services/login/service/Makefile.am: * components/services/startup/command-line/Makefile.am: * components/services/startup/lib/Makefile.am: * components/services/startup/nautilus-view/Makefile.am: * components/services/summary/lib/Makefile.am: * components/services/summary/nautilus-view/Makefile.am: * components/services/summary/service/Makefile.am: * components/services/time/command-line/Makefile.am: * components/services/time/nautilus-view/Makefile.am: * components/services/time/service/Makefile.am: * components/services/trilobite/helper/Makefile.am: * components/services/trilobite/libtrilobite/Makefile.am: * components/services/trilobite/sample/command-line/.cvsignore: * components/services/trilobite/sample/command-line/Makefile.am: * components/services/trilobite/sample/lib/Makefile.am: * components/services/trilobite/sample/nautilus-view/Makefile.am: * components/services/trilobite/sample/service/Makefile.am: * components/services/vault/command-line/Makefile.am: * components/services/vault/lib/Makefile.am: * components/services/vault/nautilus-view/Makefile.am: * components/services/vault/service/Makefile.am: * components/tree/Makefile.am: * components/websearch/Makefile.am: * cut-n-paste-code/widgets/nautilus-druid/Makefile.am: * helper-utilities/authenticate/Makefile.am: * libnautilus-extensions/Makefile.am: * libnautilus/Makefile.am: * librsvg/Makefile.am: * nautilus-installer/src/Makefile.am: * src/Makefile.am: * src/file-manager/Makefile.am: * test/Makefile.am: Got rid of the WERROR shell variable. The -Werror switch is no longer a per-directory thing. * librsvg/Makefile.am: Added libpng to the libraries for the test program. Maybe this was the wrong thing to do, but before this change the link failed. * components/sample/Makefile.am: * components/sample/main.c: * components/sample/nautilus-sample-content-view.c: * components/sample/nautilus-sample-content-view.h: A clean-up of the sample, including fixing many bugs and adding lots of comments. I figure we want this to be as close to exemplary as possible since people will continue to start with it for new components. * libnautilus-extensions/nautilus-bookmark.c: (nautilus_bookmark_new_with_icon): Removed a bogus extra ref of a NautilusFile object that I spotted in here. * src/nautilus-application.c: (nautilus_application_destroy_window): Re-added the code to quit when the last window is closed that Mike removed in his recent check-in. * src/nautilus-main.c: (main): Added a call to bonobo_shutdown. We don't need this call, but I say, "Why not?"
2000-07-12 19:33:38 +00:00
AC_ARG_ENABLE(more-warnings,
[ --enable-more-warnings Maximum compiler warnings],
set_more_warnings="$enableval",[
if test -f $srcdir/CVSVERSION; then
is_cvs_version=true
set_more_warnings=yes
else
set_more_warnings=no
fi
])
Change to use bonobo_object_unref now that the leaks have been fixed. This * src/nautilus-view-frame.c: (nautilus_view_frame_destroy_client): Change to use bonobo_object_unref now that the leaks have been fixed. This requires the new Bonobo or you'll have lots of leaked processes. Luckily, Nautilus won't compile without the new Bonobo due to my use of bonobo_object_shutdown in main :-) * configure.in: Fix the way -Werror works so it affects all directories, not just ones where we use WERROR. * components/hardware/Makefile.am: * components/help/Makefile.am: * components/history/Makefile.am: * components/loser/content/Makefile.am: * components/loser/sidebar/Makefile.am: * components/mozilla/Makefile.am: * components/music/Makefile.am: * components/notes/Makefile.am: * components/rpmview/Makefile.am: * components/sample/Makefile.am: * components/services/install/command-line/Makefile.am: * components/services/install/lib/Makefile.am: * components/services/install/nautilus-view/Makefile.am: * components/services/install/server/Makefile.am: * components/services/inventory/lib/Makefile.am: * components/services/inventory/nautilus-view/Makefile.am: * components/services/inventory/service/Makefile.am: * components/services/login/lib/Makefile.am: * components/services/login/nautilus-view/Makefile.am: * components/services/login/service/Makefile.am: * components/services/startup/command-line/Makefile.am: * components/services/startup/lib/Makefile.am: * components/services/startup/nautilus-view/Makefile.am: * components/services/summary/lib/Makefile.am: * components/services/summary/nautilus-view/Makefile.am: * components/services/summary/service/Makefile.am: * components/services/time/command-line/Makefile.am: * components/services/time/nautilus-view/Makefile.am: * components/services/time/service/Makefile.am: * components/services/trilobite/helper/Makefile.am: * components/services/trilobite/libtrilobite/Makefile.am: * components/services/trilobite/sample/command-line/.cvsignore: * components/services/trilobite/sample/command-line/Makefile.am: * components/services/trilobite/sample/lib/Makefile.am: * components/services/trilobite/sample/nautilus-view/Makefile.am: * components/services/trilobite/sample/service/Makefile.am: * components/services/vault/command-line/Makefile.am: * components/services/vault/lib/Makefile.am: * components/services/vault/nautilus-view/Makefile.am: * components/services/vault/service/Makefile.am: * components/tree/Makefile.am: * components/websearch/Makefile.am: * cut-n-paste-code/widgets/nautilus-druid/Makefile.am: * helper-utilities/authenticate/Makefile.am: * libnautilus-extensions/Makefile.am: * libnautilus/Makefile.am: * librsvg/Makefile.am: * nautilus-installer/src/Makefile.am: * src/Makefile.am: * src/file-manager/Makefile.am: * test/Makefile.am: Got rid of the WERROR shell variable. The -Werror switch is no longer a per-directory thing. * librsvg/Makefile.am: Added libpng to the libraries for the test program. Maybe this was the wrong thing to do, but before this change the link failed. * components/sample/Makefile.am: * components/sample/main.c: * components/sample/nautilus-sample-content-view.c: * components/sample/nautilus-sample-content-view.h: A clean-up of the sample, including fixing many bugs and adding lots of comments. I figure we want this to be as close to exemplary as possible since people will continue to start with it for new components. * libnautilus-extensions/nautilus-bookmark.c: (nautilus_bookmark_new_with_icon): Removed a bogus extra ref of a NautilusFile object that I spotted in here. * src/nautilus-application.c: (nautilus_application_destroy_window): Re-added the code to quit when the last window is closed that Mike removed in his recent check-in. * src/nautilus-main.c: (main): Added a call to bonobo_shutdown. We don't need this call, but I say, "Why not?"
2000-07-12 19:33:38 +00:00
AC_MSG_CHECKING(for more warnings, including -Werror)
if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
AC_MSG_RESULT(yes)
CFLAGS="\
-Wall \
Change to use bonobo_object_unref now that the leaks have been fixed. This * src/nautilus-view-frame.c: (nautilus_view_frame_destroy_client): Change to use bonobo_object_unref now that the leaks have been fixed. This requires the new Bonobo or you'll have lots of leaked processes. Luckily, Nautilus won't compile without the new Bonobo due to my use of bonobo_object_shutdown in main :-) * configure.in: Fix the way -Werror works so it affects all directories, not just ones where we use WERROR. * components/hardware/Makefile.am: * components/help/Makefile.am: * components/history/Makefile.am: * components/loser/content/Makefile.am: * components/loser/sidebar/Makefile.am: * components/mozilla/Makefile.am: * components/music/Makefile.am: * components/notes/Makefile.am: * components/rpmview/Makefile.am: * components/sample/Makefile.am: * components/services/install/command-line/Makefile.am: * components/services/install/lib/Makefile.am: * components/services/install/nautilus-view/Makefile.am: * components/services/install/server/Makefile.am: * components/services/inventory/lib/Makefile.am: * components/services/inventory/nautilus-view/Makefile.am: * components/services/inventory/service/Makefile.am: * components/services/login/lib/Makefile.am: * components/services/login/nautilus-view/Makefile.am: * components/services/login/service/Makefile.am: * components/services/startup/command-line/Makefile.am: * components/services/startup/lib/Makefile.am: * components/services/startup/nautilus-view/Makefile.am: * components/services/summary/lib/Makefile.am: * components/services/summary/nautilus-view/Makefile.am: * components/services/summary/service/Makefile.am: * components/services/time/command-line/Makefile.am: * components/services/time/nautilus-view/Makefile.am: * components/services/time/service/Makefile.am: * components/services/trilobite/helper/Makefile.am: * components/services/trilobite/libtrilobite/Makefile.am: * components/services/trilobite/sample/command-line/.cvsignore: * components/services/trilobite/sample/command-line/Makefile.am: * components/services/trilobite/sample/lib/Makefile.am: * components/services/trilobite/sample/nautilus-view/Makefile.am: * components/services/trilobite/sample/service/Makefile.am: * components/services/vault/command-line/Makefile.am: * components/services/vault/lib/Makefile.am: * components/services/vault/nautilus-view/Makefile.am: * components/services/vault/service/Makefile.am: * components/tree/Makefile.am: * components/websearch/Makefile.am: * cut-n-paste-code/widgets/nautilus-druid/Makefile.am: * helper-utilities/authenticate/Makefile.am: * libnautilus-extensions/Makefile.am: * libnautilus/Makefile.am: * librsvg/Makefile.am: * nautilus-installer/src/Makefile.am: * src/Makefile.am: * src/file-manager/Makefile.am: * test/Makefile.am: Got rid of the WERROR shell variable. The -Werror switch is no longer a per-directory thing. * librsvg/Makefile.am: Added libpng to the libraries for the test program. Maybe this was the wrong thing to do, but before this change the link failed. * components/sample/Makefile.am: * components/sample/main.c: * components/sample/nautilus-sample-content-view.c: * components/sample/nautilus-sample-content-view.h: A clean-up of the sample, including fixing many bugs and adding lots of comments. I figure we want this to be as close to exemplary as possible since people will continue to start with it for new components. * libnautilus-extensions/nautilus-bookmark.c: (nautilus_bookmark_new_with_icon): Removed a bogus extra ref of a NautilusFile object that I spotted in here. * src/nautilus-application.c: (nautilus_application_destroy_window): Re-added the code to quit when the last window is closed that Mike removed in his recent check-in. * src/nautilus-main.c: (main): Added a call to bonobo_shutdown. We don't need this call, but I say, "Why not?"
2000-07-12 19:33:38 +00:00
-Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes \
-Wnested-externs -Wpointer-arith \
reviewed by: Darin Adler <darin@eazel.com> 2000-11-13 Pavel Cisler <pavel@eazel.com> reviewed by: Darin Adler <darin@eazel.com> * configure.in: Enable the sign-compare and cast-align warnings. * components/help/converters/gnome-db2html2/gdb3html.c: (find_first_element): * components/help/hyperbola-filefmt.c: (fmt_free_tree_info): * components/help/hyperbola-nav-index.c: (hyperbola_navigation_index_update_clist), (despace), (end_element): * components/history/nautilus-history-view.c: (history_load_location): * components/mozilla/nautilus-mozilla-content-view.c: (string_list_get_index_of_string): * components/services/install/lib/eazel-install-corba-types.c: (corba_string_sequence_to_glist), (corba_packagedatastructlist_from_packagedata_list), (packagedata_list_from_corba_packagedatastructlist), (categorydata_list_from_corba_categorystructlist): * components/services/install/lib/eazel-install-query.c: (eazel_install_simple_rpm_query): * components/services/install/lib/eazel-install-rpm-glue.c: (eazel_install_monitor_rpm_process_pipe): * components/services/install/lib/eazel-install-rpm-signature.c: (read_rpm_lead), (read_rpm_signature): * components/services/trilobite/libtrilobite/trilobite-root-helper. c: (trilobite_root_helper_run_program), (trilobite_root_helper_set_time): * cut-n-paste-code/widgets/nautilusclist/nautilusclist.c: (nautilus_clist_get_arg), (nautilus_clist_construct): * helper-utilities/authenticate/nautilus-authenticate.c: (main): * libnautilus-extensions/nautilus-background.c: (set_image_and_color_image_loading_done_callback): * libnautilus-extensions/nautilus-buffered-widget.c: (nautilus_gdk_pixbuf_tile_alpha): * libnautilus-extensions/nautilus-caption-table.c: (entry_activate): * libnautilus-extensions/nautilus-caption-table.h: * libnautilus-extensions/nautilus-ctree.c: (nautilus_ctree_node_nth), (nautilus_ctree_drag_motion): * libnautilus-extensions/nautilus-ctree.h: * libnautilus-extensions/nautilus-directory-async.c: (metafile_write): * libnautilus-extensions/nautilus-file-changes-queue.c: (nautilus_file_changes_consume_changes): * libnautilus-extensions/nautilus-file-operations-progress.c: (truncate_string_from_start): * libnautilus-extensions/nautilus-file-operations.c: (extract_string_until): * libnautilus-extensions/nautilus-file-utilities.c: (nautilus_read_entire_file): * libnautilus-extensions/nautilus-gdk-extensions.c: (nautilus_get_largest_fitting_font): * libnautilus-extensions/nautilus-global-preferences.c: (global_preferences_get_sidebar_panel_view_identifiers): * libnautilus-extensions/nautilus-gtk-extensions.c: (nautilus_gtk_window_set_initial_geometry_from_string), (nautilus_gtk_menu_set_item_visibility): * libnautilus-extensions/nautilus-icon-canvas-item.c: (draw_or_measure_label_text), (draw_or_measure_label_text_aa): * libnautilus-extensions/nautilus-icon-container.c: (rubberband_timeout_callback), (destroy), (compute_stretch): * libnautilus-extensions/nautilus-icon-container.h: (nautilus_icon_container_find_drop_target): * libnautilus-extensions/nautilus-icon-factory.c: (check_recently_used_list), (get_themed_icon_file_path), (revise_scale_factors_if_too_big): * libnautilus-extensions/nautilus-icon-text-item.c: (recompute_bounding_box), (iti_draw), (iti_selection_motion): * libnautilus-extensions/nautilus-label.c: (nautilus_label_size_allocate), (label_recompute_line_geometries): * libnautilus-extensions/nautilus-list.c: (draw_cell), (nautilus_list_drag_data_received): * libnautilus-extensions/nautilus-mime-actions.c: (server_matches_content_requirements), (nautilus_do_component_query): * libnautilus-extensions/nautilus-password-dialog.c: (caption_table_activate_callback): * libnautilus-extensions/nautilus-preferences-item.c: (has_image_file): * libnautilus-extensions/nautilus-scalable-font.c: (file_as_string), (parse_font_description_file), (nautilus_text_layout_new): * libnautilus-extensions/nautilus-scalable-font.h: * libnautilus-extensions/nautilus-volume-monitor.c: (check_permissions): * libnautilus/nautilus-view.c: (nautilus_shallow_g_list_from_uri_list): * libnautilus/nautilus-zoomable.c: (nautilus_g_list_from_ZoomLevelList): * librsvg/rsvg-ft.c: (rsvg_ft_measure_or_render_string): * librsvg/rsvg.c: (rsvg_parse_transform): * src/file-manager/fm-icon-view.c: (fm_icon_view_create_background_context_menu_items), (get_sort_criterion_by_metadata_text), (get_sort_criterion_by_id): * src/file-manager/fm-list-view.c: (select_row_common), (select_matching_name_callback), (select_previous_next_common), (fm_list_view_bump_zoom_level): * src/nautilus-search-bar-criterion.c: (nautilus_search_bar_criterion_update_valid_criteria_choices): * src/nautilus-shell.c: (corba_open_windows), (corba_open_default_window): * src/nautilus-sidebar.c: (nautilus_sidebar_add_panel_items): * src/nautilus-window-menus.c: (nautilus_window_disable_keyboard_navigation_for_menus): * src/nautilus-window.c: (nautilus_window_size_request): Fix all sign-compare violations.
2000-11-14 02:46:02 +00:00
-Wcast-align -Wsign-compare \
-Werror \
$CFLAGS"
Add checks to fix things on Solaris regarding mounting, environment 2000-09-11 Seth Nickell <seth@eazel.com> * configure.in: Add checks to fix things on Solaris regarding mounting, environment variables, and fonts. Added tests for compiler warning flags that are not supported with all versions of GCC. * helper-utilities/authenticate/nautilus-authenticate-pam.c: (pam_conversion_func): Remove "const" from system call for compatibility with Solaris. * libnautilus-extensions/nautilus-file.c: (get_id_from_digit_string): uid_t != int, so change functions converting from string to uid_t to deal with greater bit uids properly. * libnautilus-extensions/nautilus-glib-extensions.h: * libnautilus-extensions/nautilus-glib-extensions.c: (nautilus_g_setenv), (nautilus_g_unsetenv): Add system gnostic functions for setting and removing variables from the environment. * libnautilus-extensions/nautilus-scalable-font.c: (initialize_global_stuff_if_needed): Temporary fix to deal with the absence of "RedHat-style" font paths on Solaris and Debian whilst font paths are still hard-coded. * libnautilus-extensions/nautilus-volume-monitor.c: (nautilus_volume_monitor_get_volume_name), (nautilus_volume_monitor_volume_is_mounted), (mount_volumes_update_is_mounted), (mnttab_add_mount_volume), (mntent_add_mount_volume), (find_volumes): Rewrite sections to use the appropriate Solaris mounting functions if Linux-style mount/umount/mount-table manipulation functions are not available. * libnautilus/nautilus-view-component.idl: * src/nautilus-view-frame-corba.c: * src/nautilus-zoomable-frame-corba.c: (impl_Nautilus_ZoomableFrame_report_zoom_level_changed): Change doubles to floats to work around an ORBit problem on Solaris wherein doubles are not correctly aligned. * src/file-manager/fm-desktop-icon-view.c: remove gratuitous linux specific header inclusion * src/nautilus-first-time-druid.c: (set_http_proxy): * src/nautilus-main.c: (main): * src/nautilus-shell.c: (corba_restart): (impl_Nautilus_ViewFrame_report_load_progress): Changed "setenv" and "unsetenv" calls to use nautilus_g_setenv and nautilus_g_unsetenv. * src/nautilus-window-manage-views.c: (report_sidebar_panel_failure_to_user): Add better error message to sidebar failures where it can't figure out which sidebar failed. Done in order to fix null string being passed to dialogue function which segfaulted Nautilus on Solaris. Yes children, your Nautilus will now run and frollick in the green, green pasture of the multi-cpu UltraSparc.
2000-09-12 02:01:33 +00:00
for option in -Wsign-promo -Wno-sign-compare; do
SAVE_CFLAGS="$CFLAGS"
CFLAGS="$option $CFLAGS"
Add checks to fix things on Solaris regarding mounting, environment 2000-09-11 Seth Nickell <seth@eazel.com> * configure.in: Add checks to fix things on Solaris regarding mounting, environment variables, and fonts. Added tests for compiler warning flags that are not supported with all versions of GCC. * helper-utilities/authenticate/nautilus-authenticate-pam.c: (pam_conversion_func): Remove "const" from system call for compatibility with Solaris. * libnautilus-extensions/nautilus-file.c: (get_id_from_digit_string): uid_t != int, so change functions converting from string to uid_t to deal with greater bit uids properly. * libnautilus-extensions/nautilus-glib-extensions.h: * libnautilus-extensions/nautilus-glib-extensions.c: (nautilus_g_setenv), (nautilus_g_unsetenv): Add system gnostic functions for setting and removing variables from the environment. * libnautilus-extensions/nautilus-scalable-font.c: (initialize_global_stuff_if_needed): Temporary fix to deal with the absence of "RedHat-style" font paths on Solaris and Debian whilst font paths are still hard-coded. * libnautilus-extensions/nautilus-volume-monitor.c: (nautilus_volume_monitor_get_volume_name), (nautilus_volume_monitor_volume_is_mounted), (mount_volumes_update_is_mounted), (mnttab_add_mount_volume), (mntent_add_mount_volume), (find_volumes): Rewrite sections to use the appropriate Solaris mounting functions if Linux-style mount/umount/mount-table manipulation functions are not available. * libnautilus/nautilus-view-component.idl: * src/nautilus-view-frame-corba.c: * src/nautilus-zoomable-frame-corba.c: (impl_Nautilus_ZoomableFrame_report_zoom_level_changed): Change doubles to floats to work around an ORBit problem on Solaris wherein doubles are not correctly aligned. * src/file-manager/fm-desktop-icon-view.c: remove gratuitous linux specific header inclusion * src/nautilus-first-time-druid.c: (set_http_proxy): * src/nautilus-main.c: (main): * src/nautilus-shell.c: (corba_restart): (impl_Nautilus_ViewFrame_report_load_progress): Changed "setenv" and "unsetenv" calls to use nautilus_g_setenv and nautilus_g_unsetenv. * src/nautilus-window-manage-views.c: (report_sidebar_panel_failure_to_user): Add better error message to sidebar failures where it can't figure out which sidebar failed. Done in order to fix null string being passed to dialogue function which segfaulted Nautilus on Solaris. Yes children, your Nautilus will now run and frollick in the green, green pasture of the multi-cpu UltraSparc.
2000-09-12 02:01:33 +00:00
AC_MSG_CHECKING([whether gcc understands $option])
Fix extra dependency that was causing the xml.h files to be generated too * Makefile.shared: Fix extra dependency that was causing the xml.h files to be generated too often. * configure.in: Fix code that detects the gcc options to work even with -O on. * src/nautilus-view-frame.h: * src/nautilus-view-frame.c: (nautilus_view_frame_initialize_class), (view_frame_loaded), (view_frame_failed), (nautilus_view_frame_handle_client_destroy), (nautilus_view_frame_handle_client_gone), (nautilus_view_frame_new), (check_if_view_is_gone), (nautilus_view_frame_set_to_component), (nautilus_view_frame_get_is_underway): Revamp set of signals to be easier to understand. Handle all failures uniformly, * src/nautilus-window-manage-views.h: * src/nautilus-window-manage-views.c: (change_selection), (nautilus_window_update_for_new_location), (nautilus_window_has_really_changed), (nautilus_window_set_state_info), (nautilus_window_set_sidebar_panels), (zoom_level_changed_callback), (get_history_list_callback), (change_selection_callback), (change_status_callback), (failed_callback), (load_underway_callback), (load_complete_callback), (open_location_callback), (open_location_in_new_window_callback), (title_changed_callback), (nautilus_window_connect_view), (nautilus_window_disconnect_view): Make more of the view management private to this file. Use the signals by their new names. Disconnect all the signals, not just the error-related ones. * src/nautilus-window.c: (nautilus_window_set_content_view_widget): Updated the debugging check to do it with the new Bonobo UI calls.
2000-10-23 22:21:12 +00:00
AC_TRY_COMPILE([], [],
Add checks to fix things on Solaris regarding mounting, environment 2000-09-11 Seth Nickell <seth@eazel.com> * configure.in: Add checks to fix things on Solaris regarding mounting, environment variables, and fonts. Added tests for compiler warning flags that are not supported with all versions of GCC. * helper-utilities/authenticate/nautilus-authenticate-pam.c: (pam_conversion_func): Remove "const" from system call for compatibility with Solaris. * libnautilus-extensions/nautilus-file.c: (get_id_from_digit_string): uid_t != int, so change functions converting from string to uid_t to deal with greater bit uids properly. * libnautilus-extensions/nautilus-glib-extensions.h: * libnautilus-extensions/nautilus-glib-extensions.c: (nautilus_g_setenv), (nautilus_g_unsetenv): Add system gnostic functions for setting and removing variables from the environment. * libnautilus-extensions/nautilus-scalable-font.c: (initialize_global_stuff_if_needed): Temporary fix to deal with the absence of "RedHat-style" font paths on Solaris and Debian whilst font paths are still hard-coded. * libnautilus-extensions/nautilus-volume-monitor.c: (nautilus_volume_monitor_get_volume_name), (nautilus_volume_monitor_volume_is_mounted), (mount_volumes_update_is_mounted), (mnttab_add_mount_volume), (mntent_add_mount_volume), (find_volumes): Rewrite sections to use the appropriate Solaris mounting functions if Linux-style mount/umount/mount-table manipulation functions are not available. * libnautilus/nautilus-view-component.idl: * src/nautilus-view-frame-corba.c: * src/nautilus-zoomable-frame-corba.c: (impl_Nautilus_ZoomableFrame_report_zoom_level_changed): Change doubles to floats to work around an ORBit problem on Solaris wherein doubles are not correctly aligned. * src/file-manager/fm-desktop-icon-view.c: remove gratuitous linux specific header inclusion * src/nautilus-first-time-druid.c: (set_http_proxy): * src/nautilus-main.c: (main): * src/nautilus-shell.c: (corba_restart): (impl_Nautilus_ViewFrame_report_load_progress): Changed "setenv" and "unsetenv" calls to use nautilus_g_setenv and nautilus_g_unsetenv. * src/nautilus-window-manage-views.c: (report_sidebar_panel_failure_to_user): Add better error message to sidebar failures where it can't figure out which sidebar failed. Done in order to fix null string being passed to dialogue function which segfaulted Nautilus on Solaris. Yes children, your Nautilus will now run and frollick in the green, green pasture of the multi-cpu UltraSparc.
2000-09-12 02:01:33 +00:00
has_option=yes,
has_option=no,)
if test $has_option = no; then
CFLAGS="$SAVE_CFLAGS"
Add checks to fix things on Solaris regarding mounting, environment 2000-09-11 Seth Nickell <seth@eazel.com> * configure.in: Add checks to fix things on Solaris regarding mounting, environment variables, and fonts. Added tests for compiler warning flags that are not supported with all versions of GCC. * helper-utilities/authenticate/nautilus-authenticate-pam.c: (pam_conversion_func): Remove "const" from system call for compatibility with Solaris. * libnautilus-extensions/nautilus-file.c: (get_id_from_digit_string): uid_t != int, so change functions converting from string to uid_t to deal with greater bit uids properly. * libnautilus-extensions/nautilus-glib-extensions.h: * libnautilus-extensions/nautilus-glib-extensions.c: (nautilus_g_setenv), (nautilus_g_unsetenv): Add system gnostic functions for setting and removing variables from the environment. * libnautilus-extensions/nautilus-scalable-font.c: (initialize_global_stuff_if_needed): Temporary fix to deal with the absence of "RedHat-style" font paths on Solaris and Debian whilst font paths are still hard-coded. * libnautilus-extensions/nautilus-volume-monitor.c: (nautilus_volume_monitor_get_volume_name), (nautilus_volume_monitor_volume_is_mounted), (mount_volumes_update_is_mounted), (mnttab_add_mount_volume), (mntent_add_mount_volume), (find_volumes): Rewrite sections to use the appropriate Solaris mounting functions if Linux-style mount/umount/mount-table manipulation functions are not available. * libnautilus/nautilus-view-component.idl: * src/nautilus-view-frame-corba.c: * src/nautilus-zoomable-frame-corba.c: (impl_Nautilus_ZoomableFrame_report_zoom_level_changed): Change doubles to floats to work around an ORBit problem on Solaris wherein doubles are not correctly aligned. * src/file-manager/fm-desktop-icon-view.c: remove gratuitous linux specific header inclusion * src/nautilus-first-time-druid.c: (set_http_proxy): * src/nautilus-main.c: (main): * src/nautilus-shell.c: (corba_restart): (impl_Nautilus_ViewFrame_report_load_progress): Changed "setenv" and "unsetenv" calls to use nautilus_g_setenv and nautilus_g_unsetenv. * src/nautilus-window-manage-views.c: (report_sidebar_panel_failure_to_user): Add better error message to sidebar failures where it can't figure out which sidebar failed. Done in order to fix null string being passed to dialogue function which segfaulted Nautilus on Solaris. Yes children, your Nautilus will now run and frollick in the green, green pasture of the multi-cpu UltraSparc.
2000-09-12 02:01:33 +00:00
fi
AC_MSG_RESULT($has_option)
unset has_option
unset SAVE_CFLAGS
done
unset option
Change to use bonobo_object_unref now that the leaks have been fixed. This * src/nautilus-view-frame.c: (nautilus_view_frame_destroy_client): Change to use bonobo_object_unref now that the leaks have been fixed. This requires the new Bonobo or you'll have lots of leaked processes. Luckily, Nautilus won't compile without the new Bonobo due to my use of bonobo_object_shutdown in main :-) * configure.in: Fix the way -Werror works so it affects all directories, not just ones where we use WERROR. * components/hardware/Makefile.am: * components/help/Makefile.am: * components/history/Makefile.am: * components/loser/content/Makefile.am: * components/loser/sidebar/Makefile.am: * components/mozilla/Makefile.am: * components/music/Makefile.am: * components/notes/Makefile.am: * components/rpmview/Makefile.am: * components/sample/Makefile.am: * components/services/install/command-line/Makefile.am: * components/services/install/lib/Makefile.am: * components/services/install/nautilus-view/Makefile.am: * components/services/install/server/Makefile.am: * components/services/inventory/lib/Makefile.am: * components/services/inventory/nautilus-view/Makefile.am: * components/services/inventory/service/Makefile.am: * components/services/login/lib/Makefile.am: * components/services/login/nautilus-view/Makefile.am: * components/services/login/service/Makefile.am: * components/services/startup/command-line/Makefile.am: * components/services/startup/lib/Makefile.am: * components/services/startup/nautilus-view/Makefile.am: * components/services/summary/lib/Makefile.am: * components/services/summary/nautilus-view/Makefile.am: * components/services/summary/service/Makefile.am: * components/services/time/command-line/Makefile.am: * components/services/time/nautilus-view/Makefile.am: * components/services/time/service/Makefile.am: * components/services/trilobite/helper/Makefile.am: * components/services/trilobite/libtrilobite/Makefile.am: * components/services/trilobite/sample/command-line/.cvsignore: * components/services/trilobite/sample/command-line/Makefile.am: * components/services/trilobite/sample/lib/Makefile.am: * components/services/trilobite/sample/nautilus-view/Makefile.am: * components/services/trilobite/sample/service/Makefile.am: * components/services/vault/command-line/Makefile.am: * components/services/vault/lib/Makefile.am: * components/services/vault/nautilus-view/Makefile.am: * components/services/vault/service/Makefile.am: * components/tree/Makefile.am: * components/websearch/Makefile.am: * cut-n-paste-code/widgets/nautilus-druid/Makefile.am: * helper-utilities/authenticate/Makefile.am: * libnautilus-extensions/Makefile.am: * libnautilus/Makefile.am: * librsvg/Makefile.am: * nautilus-installer/src/Makefile.am: * src/Makefile.am: * src/file-manager/Makefile.am: * test/Makefile.am: Got rid of the WERROR shell variable. The -Werror switch is no longer a per-directory thing. * librsvg/Makefile.am: Added libpng to the libraries for the test program. Maybe this was the wrong thing to do, but before this change the link failed. * components/sample/Makefile.am: * components/sample/main.c: * components/sample/nautilus-sample-content-view.c: * components/sample/nautilus-sample-content-view.h: A clean-up of the sample, including fixing many bugs and adding lots of comments. I figure we want this to be as close to exemplary as possible since people will continue to start with it for new components. * libnautilus-extensions/nautilus-bookmark.c: (nautilus_bookmark_new_with_icon): Removed a bogus extra ref of a NautilusFile object that I spotted in here. * src/nautilus-application.c: (nautilus_application_destroy_window): Re-added the code to quit when the last window is closed that Mike removed in his recent check-in. * src/nautilus-main.c: (main): Added a call to bonobo_shutdown. We don't need this call, but I say, "Why not?"
2000-07-12 19:33:38 +00:00
else
AC_MSG_RESULT(no)
fi
dnl ==========================================================================
dnl gimphwrapbox
GIMPHWRAPBOX_MODULES="gtk+-2.0"
GIMPHWRAPBOX_CFLAGS="`$PKG_CONFIG --cflags $GIMPHWRAPBOX_MODULES`"
AC_SUBST(GIMPHWRAPBOX_CFLAGS)
dnl libnautilus (must list bonobo-activation and libbonobo because idldir does not respect "requires")
LIBNAUTILUS_MODULES="eel-2.0 bonobo-activation-2.0 libbonobo-2.0 libbonoboui-2.0"
LIBNAUTILUS_CFLAGS="`$PKG_CONFIG --cflags $LIBNAUTILUS_MODULES`"
AC_SUBST(LIBNAUTILUS_CFLAGS)
LIBNAUTILUS_LIBS="`$PKG_CONFIG --libs $LIBNAUTILUS_MODULES`"
AC_SUBST(LIBNAUTILUS_LIBS)
LIBNAUTILUS_IDL_INCLUDES="`$PKG_CONFIG --variable=idldir $LIBNAUTILUS_MODULES | $srcdir/add-include-prefix`"
AC_SUBST(LIBNAUTILUS_IDL_INCLUDES)
dnl core nautilus (must list bonobo-activation and libbonobo because idldir does not respect "requires")
CORE_MODULES="eel-2.0 bonobo-activation-2.0 libbonobo-2.0 libbonoboui-2.0"
CORE_CFLAGS="`$PKG_CONFIG --cflags $CORE_MODULES`"
AC_SUBST(CORE_CFLAGS)
CORE_LIBS="`$PKG_CONFIG --libs $CORE_MODULES` $CDDA_LIBS $ESD_LIBS $FAM_LIBS $ICONV_LIBS $LIBJPEG $MEDUSA_LIBS"
AC_SUBST(CORE_LIBS)
CORE_IDL_INCLUDES="`$PKG_CONFIG --variable=idldir $CORE_MODULES | $srcdir/add-include-prefix`"
AC_SUBST(CORE_IDL_INCLUDES)
dnl libnautilus-private
LIBNAUTILUS_PRIVATE_LIBS="$CORE_LIBS $CDDA_LIBS $ESD_LIBS $FAM_LIBS $ICONV_LIBS $LIBJPEG $MEDUSA_LIBS"
AC_SUBST(LIBNAUTILUS_PRIVATE_LIBS)
dnl typical components
COMPONENT_MODULES="eel-2.0 libbonoboui-2.0"
COMPONENT_CFLAGS="`$PKG_CONFIG --cflags $COMPONENT_MODULES`"
AC_SUBST(COMPONENT_CFLAGS)
COMPONENT_LIBS="`$PKG_CONFIG --libs $COMPONENT_MODULES`"
AC_SUBST(COMPONENT_LIBS)
dnl ==========================================================================
1999-12-05 00:40:26 +00:00
AC_OUTPUT([
Makefile
1999-12-09 23:56:07 +00:00
components/Makefile
components/adapter/Makefile
components/hardware/Makefile
components/hardware/icons/Makefile
components/help/Makefile
components/history/Makefile
Fixed bug 2194, no scrollbars in image view Fixed bug 2215, image viewer 2000-09-15 Gene Z. Ragan <gzr@eazel.com> Fixed bug 2194, no scrollbars in image view Fixed bug 2215, image viewer needs to erase background when loading image. I fixed these bugs by writing a new image component. Is this bad? I don't know. What is bad is the current state of the EOG bonobo component. I don't think it is worth our time to fix it right now. This component will also support the zoomable interface when Maciej finishes the work there. It is doubtful the EOG bonobo component would have a Nautilus specific dependency. * components/Makefile.am: * components/image-viewer/.cvsignore: * components/image-viewer/Makefile.am: * components/image-viewer/io-png.c: (png_write_data_fn), (png_flush_fn), (image_save): * components/image-viewer/io-png.h: * components/image-viewer/nautilus-image-view.c: (release_pixbuf_cb), (release_pixbuf), (bod_destroy_cb), (get_pixbuf), (render_pixbuf), (redraw_view), (configure_size), (resize_all_cb), (view_update), (save_image_to_stream), (load_image_from_stream), (destroy_view), (zoomable_zoom_in_callback), (zoomable_zoom_out_callback), (zoomable_set_zoom_level_callback), (zoomable_zoom_to_fit_callback), (drawing_area_exposed), (view_size_allocate_cb), (scrolled_view_size_allocate_cb), (view_factory_common), (scaled_view_factory), (scrollable_view_factory), (bonobo_object_factory), (init_bonobo_image_generic_factory), (init_server_factory), (main): * components/image-viewer/nautilus-image-view.oafinfo: * configure.in: New files and functions.
2000-09-16 01:01:39 +00:00
components/image-viewer/Makefile
components/loser/Makefile
components/loser/content/Makefile
components/loser/sidebar/Makefile
components/mozilla/Makefile
components/music/Makefile
first check-in of "news" sidebar view to display news from selected sites first check-in of "news" sidebar view to display news from selected sites that support an rss feed. It's around 80% completed now, and should be quite usable; I just need to finish the remaining 80%. * components/news/.cvsignore: * components/news/Makefile.am: * components/news/Nautilus_View_news.oaf.in: * components/news/nautilus-news.c: (get_bonobo_properties), (set_bonobo_properties), (do_destroy), (pixbuf_composite), (draw_triangle), (draw_rss_logo_image), (draw_rss_title), (draw_rss_items), (nautilus_news_draw_channel), (nautilus_news_update_display), (nautilus_news_configure_event), (nautilus_news_expose_event), (nautilus_news_set_prelight_index), (go_to_uri), (toggle_open_state), (item_hit_test), (nautilus_news_button_release_event), (nautilus_news_motion_notify_event), (nautilus_news_leave_notify_event), (nautilus_news_set_title), (free_rss_data_item), (free_rss_channel_items), (free_channel), (nautilus_news_free_channel_list), (bool_to_text), (nautilus_news_make_channel_document), (nautilus_news_save_channel_state), (rss_logo_callback), (extract_items), (update_size_and_redraw), (rss_read_done_callback), (nautilus_news_load_channel), (nautilus_news_make_new_channel), (nautilus_news_add_channels), (get_xml_path), (read_channel_list), (check_for_updates), (news_get_indicator_image), (load_xpm_image), (nautilus_news_load_images), (configure_button_clicked), (add_site_button_clicked), (add_site_from_fields), (add_command_buttons), (get_channel_from_name), (check_button_toggled_callback), (nautilus_news_load_location), (add_channel_entry), (add_channels_to_configure_list), (set_up_add_widgets), (set_up_configure_widgets), (set_up_main_widgets), (make_news_view), (main): * components/news/news_bullet.png: * components/news/news_channels.xml: * components/news/pixmaps.h: * configure.in:
2001-04-21 00:23:48 +00:00
components/news/Makefile
components/notes/Makefile
components/sample/Makefile
added a new text view component with zooming, settable fonts and added a new text view component with zooming, settable fonts and text-oriented services. The services are currently hardwired but there will be a framework soon. You may have to delete your /gnome/share/oaf/text-plain.oafinfo to see it in action. * configure.in: * components/Makefile.am: * components/text/.cvsignore: * components/text/Makefile.am: build stuff for the new text view * components/text/main.c: (text_view_object_destroyed), (text_view_make_object), (main): factory object for the text view * components/text/nautilus-text-view-ui.xml: xml file defining the menus for the text view * components/text/nautilus-text-view.oafinfo: oaf definitions for the text view * components/text/nautilus-text-view.h: interface file for the text view * components/text/nautilus-text-view.c: (nautilus_text_view_initialize_class), (nautilus_text_view_initialize), (detach_file), (nautilus_text_view_destroy), (nautilus_text_view_get_nautilus_view), (nautilus_text_view_update), (nautilus_text_view_load_uri), (text_view_load_location_callback), (nautilus_text_view_update_font), (get_selected_text), (text_view_search_callback), (text_view_lookup_callback), (nautilus_text_view_set_font), (handle_ui_event), (merge_bonobo_menu_items), (nautilus_text_view_zoom_to_level), (nautilus_text_view_bump_zoom_level), (zoomable_zoom_in_callback), (zoomable_zoom_out_callback), (zoom_index_from_float), (zoomable_set_zoom_level_callback), (zoomable_zoom_to_fit_callback): implementation for the text view * libnautilus-extensions/nautilus-icon-container.c: (lay_down_icons_horizontal): fixed bug 3485, icon layout not using all of the available space, by tweaking the code to not require the extra space between the columns
2000-11-28 01:43:43 +00:00
components/text/Makefile
components/text/services/Makefile
fixed bug 4369, throbber frozen during long refresh, by making the fixed bug 4369, throbber frozen during long refresh, by making the throbber a bonobo component so it's driven by its own thread. Note that clicking on the throbber is temporarily broken; I'll fix that soon. Also, made the frame delay be specified by the theme and set the default to spin somewhat slower than before. * configure.in: * components/Makefile.am: * components/throbber/.cvsignore: * components/throbber/Makefile.am: * components/throbber/nautilus-throbber.oafinfo: added throbber component * components/throbber/main.c: (throbber_object_destroyed), (throbber_make_object), (main): factory for the throbber component * components/throbber/nautilus-throbber.c,h: (nautilus_throbber_initialize_class), (is_throbbing), (get_bonobo_properties), (set_bonobo_properties), (nautilus_throbber_destroy), (nautilus_throbber_get_control), (get_throbber_dimensions), (nautilus_throbber_initialize), (nautilus_throbber_new), (nautilus_throbber_theme_changed), (draw_pixbuf), (select_throbber_image), (draw_throbber_image), (nautilus_throbber_draw), (nautilus_throbber_expose), (nautilus_throbber_map), (bump_throbber_frame), (nautilus_throbber_start), (nautilus_throbber_remove_update_callback), (nautilus_throbber_stop), (nautilus_throbber_unload_images), (load_themed_image), (make_throbber_frame_name), (nautilus_throbber_load_images), (nautilus_throbber_button_press_event), (nautilus_throbber_set_small_mode), (nautilus_throbber_size_allocate), (nautilus_throbber_size_request): throbber widget for the bonobo component * src/nautilus-window-toolbars.c: (theme_changed_callback), (nautilus_window_initialize_toolbars): set up throbber component in the toolbar * src/nautilus-window.c,h: (nautilus_window_constructed), (nautilus_window_allow_stop): use property interface to start and stop the throbber * icons/default.xml: added delay specification to throbber in default theme * nautilus-clean.sh: clean throbber component as necessary * src/Makefile.am: * src/nautilus-throbber.c,h removed old throbber widget
2001-01-16 03:44:40 +00:00
components/throbber/Makefile
components/tree/Makefile
cut-n-paste-code/Makefile
cut-n-paste-code/widgets/Makefile
cut-n-paste-code/widgets/gimphwrapbox/Makefile
data/Makefile
data/emblems/Makefile
data/patterns/Makefile
reviewed by: Mike Fleming <mfleming@eazel.com> 2001-02-21 Dan Mueth <dan@eazel.com> reviewed by: Mike Fleming <mfleming@eazel.com> The old help tree, "user-guide/*", was broken in several ways. It assumed there was only one doc, called "user-guide", whereas we have multiple docs. Plus it had odd subdirectories which are unusual and we don't want to use. Plus the convention is to put all docs in a directory called "help" (modelled after $prefix/gnome/help) and figures in a subdir called "figures". So, I'm creating a new tree for this called "help" and installing the latest version of Vera's Nautilus User Manual with screenshots. I also added a nifty makefile, help/docs.make, which we will use for all the SGML docs and translations to keep things tidy and working with low maintenance. * Makefile.am: Including help/ * configure.in: Including help/ and subdirs * help/Makefile.am: added * help/docs.make: added nifty makefile to be used by all SGML docs and translations of SGML docs * help/nautilus-user-manual/C/Makefile.am: added * help/nautilus-user-manual/C/figures/custicon.png: added * help/nautilus-user-manual/C/figures/full.png: added * help/nautilus-user-manual/C/figures/link.png: added * help/nautilus-user-manual/C/figures/locbar.png: added * help/nautilus-user-manual/C/figures/noread.png: added * help/nautilus-user-manual/C/figures/nowrite.png: added * help/nautilus-user-manual/C/figures/part.png: added * help/nautilus-user-manual/C/figures/player.png: added * help/nautilus-user-manual/C/figures/prefmenu.png: added * help/nautilus-user-manual/C/figures/sidebar.png: added * help/nautilus-user-manual/C/figures/viewmenu.png: added * help/nautilus-user-manual/C/figures/viewmusic.png: added * help/nautilus-user-manual/C/nautilus-user-manual-C.omf: added * help/nautilus-user-manual/C/nautilus-user-manual.sgml: added * help/nautilus-user-manual/Makefile.am: added * user-guide/Makefile.am: turned off old user guide installation
2001-02-21 08:52:21 +00:00
help/Makefile
reviewed by: Pavel Cisler <pavel@eazel.com> 2001-02-22 Dan Mueth <dan@eazel.com> reviewed by: Pavel Cisler <pavel@eazel.com> Generally, I removed old cruft, added COPYING-DOCS, added a new HTML doc (nautilus-quick-reference), and updated the build stuff and spec file as necessary. * COPYING-DOCS: This is the GNU FDL, similar to COPYING. It should be installed with all modules with FDL'd docs. * Makefile.am: Added COPYING-DOCS to EXTRA_DIST * configure.in: Added nautilus-quick-reference * help/Makefile.am: Added nautilus-quick-reference * help/htmldocs.make: Created this file. This is the makefile to suck in for html docs. Be sure to use index.html as your primary HTML file and put PNG images into figures/ This stuff is Vera's new Nautilus Quick Reference doc in HTML format. <vera@eazel.com> I purposefully left out two screenshots with the Eazel logo in them. * help/nautilus-quick-reference/C/Makefile.am: added * help/nautilus-quick-reference/C/figures/colors_small.png: added * help/nautilus-quick-reference/C/figures/emblems_small.png: added * help/nautilus-quick-reference/C/figures/ff_small.png: * help/nautilus-quick-reference/C/figures/find_small.png: * help/nautilus-quick-reference/C/figures/locbar_small.png: * help/nautilus-quick-reference/C/figures/menubar_small.png: * help/nautilus-quick-reference/C/figures/music_small.png: * help/nautilus-quick-reference/C/figures/sidebar_small.png: * help/nautilus-quick-reference/C/figures/softcat.png: * help/nautilus-quick-reference/C/figures/storage.png: * help/nautilus-quick-reference/C/figures/themes_small.png: * help/nautilus-quick-reference/C/index.html: * help/nautilus-quick-reference/C/nautilus-quick-reference-C.omf: * help/nautilus-quick-reference/Makefile.am: * help/nautilus-user-manual/C/nautilus-user-manual-C.omf: Updated * nautilus.spec.in: Added OMF files, Quick Ref, and COPYING-DOCS Removed this old stuff: * user-guide/C/Makefile.am: * user-guide/C/html/license.html: * user-guide/C/img/custicon.png: * user-guide/C/img/full.png: removed * user-guide/C/img/locbar.png: * user-guide/C/img/player.png: * user-guide/C/img/prefmenu.png: * user-guide/C/img/sidebar.png: * user-guide/C/img/viewmenu.png: * user-guide/C/nautilus-C.omf: * user-guide/C/sgml/nautilus.sgml: Added this notice so people don't add stuff in user-guide/ * user-guide/NOTICE:
2001-02-22 10:26:22 +00:00
help/nautilus-quick-reference/C/Makefile
help/nautilus-quick-reference/Makefile
reviewed by: Maciej Stachowiak <mjs@eazel.com> 2001-03-01 Dan Mueth <dan@eazel.com> reviewed by: Maciej Stachowiak <mjs@eazel.com> Added Spanish version of Nautilus Quick Reference: * configure.in: * help/Makefile.am: * help/nautilus-quick-reference/Makefile.am: * help/nautilus-quick-reference/es/.cvsignore: * help/nautilus-quick-reference/es/Makefile.am: * help/nautilus-quick-reference/es/figures/colors_small.png: * help/nautilus-quick-reference/es/figures/emblems_small.png: * help/nautilus-quick-reference/es/figures/ff_small.png: * help/nautilus-quick-reference/es/figures/find_small.png: * help/nautilus-quick-reference/es/figures/full_small.png: * help/nautilus-quick-reference/es/figures/locbar_small.png: * help/nautilus-quick-reference/es/figures/menubar_small.png: * help/nautilus-quick-reference/es/figures/music_small.png: * help/nautilus-quick-reference/es/figures/navbar_small.png: * help/nautilus-quick-reference/es/figures/sidebar_small.png: * help/nautilus-quick-reference/es/figures/softcat.png: * help/nautilus-quick-reference/es/figures/storage.png: * help/nautilus-quick-reference/es/figures/themes_small.png: * help/nautilus-quick-reference/es/index.html: * help/nautilus-quick-reference/es/nautilus-quick-reference-es.omf: Added placeholder for Nautilus Release Notes, to be filled in by Vera later: Bug #: 6969 * help/nautilus-release-notes/.cvsignore: * help/nautilus-release-notes/C/.cvsignore: * help/nautilus-release-notes/C/Makefile.am: * help/nautilus-release-notes/C/nautilus-release-notes-C.omf: * help/nautilus-release-notes/C/nautilus-release-notes.sgml: * help/nautilus-release-notes/Makefile.am: Fixed Nautilus spec file w/r/t documentation. It is now simpler, gives the right permissions to figures, and doesn't need to be updated every time somebody adds a new doc or translation. Bug #: 7002 * nautilus.spec.in:
2001-03-01 09:27:39 +00:00
help/nautilus-quick-reference/es/Makefile
2001-03-08 14:01:02 +00:00
help/nautilus-quick-reference/ko/Makefile
help/nautilus-quick-reference/no/Makefile
help/nautilus-quick-reference/sv/Makefile
reviewed by: Maciej Stachowiak <mjs@eazel.com> 2001-03-01 Dan Mueth <dan@eazel.com> reviewed by: Maciej Stachowiak <mjs@eazel.com> Added Spanish version of Nautilus Quick Reference: * configure.in: * help/Makefile.am: * help/nautilus-quick-reference/Makefile.am: * help/nautilus-quick-reference/es/.cvsignore: * help/nautilus-quick-reference/es/Makefile.am: * help/nautilus-quick-reference/es/figures/colors_small.png: * help/nautilus-quick-reference/es/figures/emblems_small.png: * help/nautilus-quick-reference/es/figures/ff_small.png: * help/nautilus-quick-reference/es/figures/find_small.png: * help/nautilus-quick-reference/es/figures/full_small.png: * help/nautilus-quick-reference/es/figures/locbar_small.png: * help/nautilus-quick-reference/es/figures/menubar_small.png: * help/nautilus-quick-reference/es/figures/music_small.png: * help/nautilus-quick-reference/es/figures/navbar_small.png: * help/nautilus-quick-reference/es/figures/sidebar_small.png: * help/nautilus-quick-reference/es/figures/softcat.png: * help/nautilus-quick-reference/es/figures/storage.png: * help/nautilus-quick-reference/es/figures/themes_small.png: * help/nautilus-quick-reference/es/index.html: * help/nautilus-quick-reference/es/nautilus-quick-reference-es.omf: Added placeholder for Nautilus Release Notes, to be filled in by Vera later: Bug #: 6969 * help/nautilus-release-notes/.cvsignore: * help/nautilus-release-notes/C/.cvsignore: * help/nautilus-release-notes/C/Makefile.am: * help/nautilus-release-notes/C/nautilus-release-notes-C.omf: * help/nautilus-release-notes/C/nautilus-release-notes.sgml: * help/nautilus-release-notes/Makefile.am: Fixed Nautilus spec file w/r/t documentation. It is now simpler, gives the right permissions to figures, and doesn't need to be updated every time somebody adds a new doc or translation. Bug #: 7002 * nautilus.spec.in:
2001-03-01 09:27:39 +00:00
help/nautilus-release-notes/C/Makefile
help/nautilus-release-notes/Makefile
help/nautilus-screenshot-guidelines/C/Makefile
help/nautilus-screenshot-guidelines/Makefile
help/nautilus-user-manual/C/Makefile
help/nautilus-user-manual/Makefile
help/nautilus-user-manual/es/Makefile
help/nautilus-user-manual/ko/Makefile
icons/Makefile
icons/crux_eggplant/Makefile
icons/crux_eggplant/backgrounds/Makefile
icons/crux_eggplant/sidebar_tab_pieces/Makefile
icons/crux_eggplant/throbber/Makefile
icons/crux_teal/Makefile
icons/crux_teal/backgrounds/Makefile
icons/crux_teal/sidebar_tab_pieces/Makefile
icons/crux_teal/throbber/Makefile
icons/gnome/Makefile
icons/gnome/sidebar_tab_pieces/Makefile
icons/gnome/throbber/Makefile
icons/sidebar_tab_pieces/Makefile
icons/sierra/Makefile
icons/tahoe/Makefile
icons/throbber/Makefile
libnautilus-adapter/Makefile
libnautilus-private/Makefile
libnautilus/Makefile
nautilus.spec
omf-install/Makefile
po/Makefile.in
src/Makefile
src/file-manager/Makefile
test/Makefile
user-guide/Makefile
user-guide/gnufdl/Makefile
user-guide/gnugpl/Makefile
1999-12-05 00:40:26 +00:00
])
dnl ==========================================================================
2000-06-26 14:36:10 +00:00
dnl <= Configuration summary =>
echo "Nautilus configuration summary:"
echo ""
dnl <= CFLAGS and LDFLAGS =>
echo "CFLAGS : $CFLAGS"
echo "LDFLAGS : $LDFLAGS"
echo ""
dnl <= Mozilla component integrated? =>
case $found_mozilla in
t*)
echo "Mozilla component : YES"
echo " mozilla libraries : $_mozilla_lib_place"
echo " mozilla includes : $_mozilla_include_place"
echo " MOZILLA_PROFILES_CFLAGS : $MOZILLA_PROFILES_CFLAGS"
echo " MOZILLA_COMPONENT_RPATH_FLAGS : $MOZILLA_COMPONENT_RPATH_FLAGS"
echo " MOZILLA_COMPONENT_DEBUG_FLAGS : $MOZILLA_COMPONENT_DEBUG_FLAGS"
;;
*)
echo "Mozilla component : NO"
;;
esac
dnl <= Profile support? =>
case "X$ENABLE_PROFILER" in
X1)
echo "Enable profiler : YES"
;;
*)
echo "Enable profiler : NO"
;;
esac
2000-06-26 14:36:10 +00:00
dnl <= End of configuration summary =>