nautilus/configure.in

385 lines
10 KiB
Plaintext
Raw Normal View History

AC_INIT(src)
1999-12-05 00:40:26 +00:00
dnl ===========================================================================
ART_REQUIRED=2.3.10
BONOBO_ACTIVATION_REQUIRED=1.0.0
BONOBO_REQUIRED=2.1.0
BONOBO_UI_REQUIRED=2.0.0
EEL_REQUIRED=2.1.5
ESOUND_REQUIRED=0.2.27
GLIB_REQUIRED=2
GNOME_DESKTOP_REQUIRED=2.1.0
GNOME_REQUIRED=2.0.1
GNOME_UI_REQUIRED=2.1.1
GNOME_VFS_REQUIRED=2.1.5
PANGO_REQUIRED=1.1.2
GTK_REQUIRED=2.1.1
MEDUSA_REQUIRED=0.5.1
RSVG_REQUIRED=2.0.1
Require at least libxml 2.4.7, since that's the version where xmlFree and * configure.in: Require at least libxml 2.4.7, since that's the version where xmlFree and friends were moved out of <libxml/xmlmemory.h>. * components/news/nautilus-news.c: * components/text/nautilus-text-view.c: * libnautilus-private/nautilus-customization-data.c: * libnautilus-private/nautilus-directory-async.c: * libnautilus-private/nautilus-find-icon-image.c: * libnautilus-private/nautilus-link-desktop-file.c: * libnautilus-private/nautilus-link-historical.c: * libnautilus-private/nautilus-link.c: * libnautilus-private/nautilus-metafile.c: * libnautilus-private/nautilus-theme.c: * libnautilus-private/nautilus-volume-monitor.c: * src/nautilus-bookmark-list.c: * src/nautilus-property-browser.c: * src/nautilus-window-menus.c: Remove unneeded include of <libxml/xmlmemory.h>. * components/tree/nautilus-tree-model.c: (get_node_uri): New, used only for logging ref. counts. (decrement_ref_count): New. (abandon_node_ref_count): New. (abandon_dummy_row_ref_count): New. (report_dummy_row_inserted): Do nothing if the parent is not yet in the inserted state. (report_dummy_row_deleted): Make it abandon any lingering ref count that's still in the dummy row. (report_node_inserted): Make it report that the dummy node is inserted if the node starts with a dummy child. Also, set the new inserted state so we know this node is live. (report_node_contents_changed): Do nothing if the node is not yet in the inserted state. (report_node_has_child_toggled): Do nothing if the node is not yet in the inserted state. (report_dummy_row_contents_changed): Do nothing if the parent is not yet in the inserted state. (stop_monitoring_directory): Set done_loading to FALSE so we'll get a dummy node for directories we are not monitoring. (destroy_node_without_reporting): Abandon any ref count left in the node. Also set the inserted state to FALSE before destroying children. (destroy_node): Report if the parent gains a dummy node as a result of destroying this node. (update_node_without_reporting): Don't clear done_loading any more, since stop_monitoring_directory does it now. (reparent_node): Abandon any ref count that's still in the node before reparenting it. (schedule_destroy_unneeded_children): New. (last_child_unref): Use new schedule_destroy_unneeded_children function so we cna share code with the new abandon ref count functions. (nautilus_tree_model_ref_node), (nautilus_tree_model_unref_node): Add some logging for debugging purposes. * components/tree/nautilus-tree-view.c: (compare_rows): Sort function to use when GtkTreeModelSort works. (create_tree): Hook up sort function.
2002-02-12 00:56:13 +00:00
XML_REQUIRED=2.4.7
AC_SUBST(EEL_REQUIRED)
AC_SUBST(GNOME_VFS_REQUIRED)
AC_SUBST(MEDUSA_REQUIRED)
AC_SUBST(RSVG_REQUIRED)
AC_SUBST(XML_REQUIRED)
dnl ===========================================================================
AM_INIT_AUTOMAKE(nautilus, 2.1.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_ORBIT2
PKG_CHECK_MODULES(ALL, \
esound >= $ESOUND_REQUIRED \
bonobo-activation-2.0 >= $BONOBO_ACTIVATION_REQUIRED \
eel-2.0 >= $EEL_REQUIRED \
glib-2.0 >= $GLIB_REQUIRED \
gnome-desktop-2.0 >= $GNOME_DESKTOP_REQUIRED \
gnome-vfs-2.0 >= $GNOME_VFS_REQUIRED \
pango >= $PANGO_REQUIRED \
gtk+-2.0 >= $GTK_REQUIRED \
libart-2.0 >= $ART_REQUIRED \
libbonobo-2.0 >= $BONOBO_REQUIRED \
2002-01-03 15:28:16 +00:00
libbonoboui-2.0 >= $BONOBO_UI_REQUIRED \
libgnome-2.0 >= $GNOME_REQUIRED \
libgnomeui-2.0 >= $GNOME_UI_REQUIRED \
librsvg-2.0 >= $RSVG_REQUIRED \
libxml-2.0 >= $XML_REQUIRED)
dnl ==========================================================================
ALL_LINGUAS="az be bg ca cs da de el en_GB es eu fi fr ga gl hu it ja ko lt lv ms nl nn no pl pt pt_BR ro ru sk sl sq sv ta tr uk vi zh_CN 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))
profiling_support=off
if test "x$ENABLE_PROFILER" = "x1"
then
CFLAGS="-g -O -gdwarf-2 -finstrument-functions -D__NO_STRING_INLINES $CFLAGS"
LDFLAGS="/gnome/GNOME2/lib/libprofiler.so -lpthread $LDFLAGS"
profiling_support=on
fi
AC_SUBST(ENABLE_PROFILER)
AM_CONDITIONAL(ENABLE_PROFILER, test "x$ENABLE_PROFILER" = "x1")
dnl ==========================================================================
AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal)
dnl ==========================================================================
AC_CHECK_FUNCS(setmntent endmntent hasmntopt getmntinfo)
AC_CHECK_HEADERS(mntent.h sys/mnttab.h sys/vfstab.h sys/cdio.h sys/mount.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 Rodríguez Pérez <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 Rodríguez Pérez <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 X
x_libs="`$PKG_CONFIG --libs pangox`"
case x_libs in
*-lX11*) pango_omitted_x_deps=no ;;
*) pango_omitted_x_deps=yes ;;
esac
x_cflags="`$PKG_CONFIG --cflags pangox`"
x_extra_libs=
if test $pango_omitted_x_deps = yes ; then
AC_PATH_XTRA
if test x$no_x = xyes ; then
AC_MSG_ERROR([X development libraries not found])
fi
x_libs="$X_LIBS -lX11 $X_EXTRA_LIBS"
fi
## Strip the .la files
x_libs_for_checks=$x_libs
#for I in $x_libs ; do
# case $I in
# *.la) ;;
# *) x_libs_for_checks="$x_libs_for_checks $I" ;;
# esac
#done
AC_CHECK_LIB(X11, XOpenDisplay, :,
AC_MSG_ERROR([*** libX11 not found. Check 'config.log' for more details.]),
$x_libs_for_checks)
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 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 ==========================================================================
dnl medusa checking
2001-12-13 23:37:55 +00:00
AC_MSG_CHECKING(for Medusa)
2001-12-13 23:37:55 +00:00
PKG_CHECK_MODULES(MEDUSA, medusa-2.0 >= $MEDUSA_REQUIRED, have_medusa=yes, have_medusa=no)
if test "x$have_medusa" = "xyes"; then
AC_DEFINE(HAVE_MEDUSA,1)
EXTRA_CORE_MODULES="$EXTRA_CORE_MODULES medusa-2.0"
fi
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)
Move libegg stuff to cut-n-paste-code and update to the latest egg 2002-11-06 Anders Carlsson <andersca@gnu.org> * configure.in: * cut-n-paste-code/Makefile.am: * cut-n-paste-code/libegg/Makefile.am: * cut-n-paste-code/libegg/egg-recent-item.c: (egg_recent_item_new), (egg_recent_item_free), (egg_recent_item_ref), (egg_recent_item_unref), (egg_recent_item_new_from_uri), (egg_recent_item_set_uri), (egg_recent_item_get_uri), (egg_recent_item_peek_uri), (egg_recent_item_get_uri_utf8), (egg_recent_item_get_uri_for_display), (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type), (egg_recent_item_set_timestamp), (egg_recent_item_get_timestamp), (egg_recent_item_get_groups), (egg_recent_item_in_group), (egg_recent_item_add_group), (egg_recent_item_remove_group), (egg_recent_item_set_private), (egg_recent_item_get_private), (egg_recent_item_get_type): * cut-n-paste-code/libegg/egg-recent-item.h: * cut-n-paste-code/libegg/egg-recent-model.c: (egg_recent_model_string_match), (egg_recent_model_write_raw), (egg_recent_model_delete_from_list), (egg_recent_model_add_new_groups), (egg_recent_model_update_item), (egg_recent_model_read_raw), (parse_info_init), (parse_info_free), (push_state), (pop_state), (peek_state), (start_element_handler), (list_compare_func_mru), (list_compare_func_lru), (end_element_handler), (text_handler), (error_handler), (egg_recent_model_enforce_limit), (egg_recent_model_sort), (egg_recent_model_group_match), (egg_recent_model_filter), (egg_recent_model_monitor_list_cb), (egg_recent_model_monitor_list), (egg_recent_model_changed_timeout), (egg_recent_model_monitor_cb), (egg_recent_model_monitor), (egg_recent_model_set_limit_internal), (egg_recent_model_read), (egg_recent_model_write), (egg_recent_model_open_file), (egg_recent_model_lock_file), (egg_recent_model_unlock_file), (egg_recent_model_finalize), (egg_recent_model_set_property), (egg_recent_model_get_property), (egg_recent_model_class_init), (egg_recent_model_limit_changed), (egg_recent_model_expiration_changed), (egg_recent_model_init), (egg_recent_model_new), (egg_recent_model_add_full), (egg_recent_model_add), (egg_recent_model_delete), (egg_recent_model_get_list), (egg_recent_model_set_limit), (egg_recent_model_get_limit), (egg_recent_model_clear), (egg_recent_model_set_filter_mime_types), (egg_recent_model_set_filter_groups), (egg_recent_model_set_filter_uri_schemes), (egg_recent_model_set_sort), (egg_recent_model_changed), (egg_recent_model_remove_expired_list), (egg_recent_model_remove_expired), (egg_recent_model_get_type): * cut-n-paste-code/libegg/egg-recent-model.h: * cut-n-paste-code/libegg/egg-recent-vfs-utils.c: (make_valid_utf8), (istr_has_prefix), (str_has_prefix), (uri_is_local_scheme), (handle_trailing_slashes), (make_uri_canonical), (format_uri_for_display), (egg_recent_vfs_format_uri_for_display), (is_valid_scheme_character), (has_valid_scheme), (escape_high_chars), (make_uri_from_input_internal), (egg_recent_vfs_make_uri_from_input), (make_uri_canonical_strip_fragment), (uris_match), (egg_recent_vfs_uris_match), (egg_recent_vfs_get_uri_scheme): * cut-n-paste-code/libegg/egg-recent-vfs-utils.h: * cut-n-paste-code/libegg/egg-screen-exec.c: (egg_screen_exec_display_string), (egg_screen_exec_environment), (egg_screen_execute_async), (egg_screen_execute_shell), (egg_screen_execute_command_line_async): * cut-n-paste-code/libegg/egg-screen-exec.h: * cut-n-paste-code/libegg/egg-screen-help.c: (egg_help_display_on_screen), (egg_help_display_with_doc_id_on_screen), (egg_help_display_desktop_on_screen), (egg_help_display_uri_on_screen): * cut-n-paste-code/libegg/egg-screen-help.h: * cut-n-paste-code/libegg/egg-screen-url.c: (egg_url_show_on_screen): * cut-n-paste-code/libegg/egg-screen-url.h: * cut-n-paste-code/libegg/eggtreemultidnd.c: (egg_tree_multi_drag_source_get_type), (egg_tree_multi_drag_source_row_draggable), (egg_tree_multi_drag_source_drag_data_delete), (egg_tree_multi_drag_source_drag_data_get), (stop_drag_check), (egg_tree_multi_drag_button_release_event), (selection_foreach), (path_list_free), (set_context_data), (get_context_data), (get_info), (egg_tree_multi_drag_drag_data_get), (egg_tree_multi_drag_motion_event), (egg_tree_multi_drag_button_press_event), (egg_tree_multi_drag_add_drag_support): * cut-n-paste-code/libegg/eggtreemultidnd.h: * cut-n-paste-code/libegg/update-from-egg.sh: * libnautilus-private/Makefile.am: * libnautilus-private/egg-recent-item.c: * libnautilus-private/egg-recent-item.h: * libnautilus-private/egg-recent-model.c: * libnautilus-private/egg-recent-model.h: * libnautilus-private/egg-recent-vfs-utils.c: * libnautilus-private/egg-recent-vfs-utils.h: * libnautilus-private/egg-screen-exec.c: * libnautilus-private/egg-screen-exec.h: * libnautilus-private/egg-screen-help.c: * libnautilus-private/egg-screen-help.h: * libnautilus-private/egg-screen-url.c: * libnautilus-private/egg-screen-url.h: * libnautilus-private/eggtreemultidnd.c: * libnautilus-private/eggtreemultidnd.h: * libnautilus-private/nautilus-program-chooser.c: (help_cb): * libnautilus-private/update-from-egg.sh: * src/Makefile.am: * src/file-manager/Makefile.am: * src/file-manager/fm-desktop-icon-view.c: * src/file-manager/fm-directory-view.c: * src/file-manager/fm-list-model.c: * src/file-manager/fm-list-view.c: * src/file-manager/fm-properties-window.c: (help_button_callback): * src/file-manager/update-from-egg.sh: * src/nautilus-bookmarks-window.c: (nautilus_bookmarks_window_response_callback): * src/nautilus-property-browser.c: (help_button_callback): * src/nautilus-window-menus.c: (help_menu_nautilus_manual_callback): Move libegg stuff to cut-n-paste-code and update to the latest egg versions.
2002-11-06 10:38:48 +00:00
dnl libegg
LIBEGG_MODULES="gtk+-2.0 libgnome-2.0"
LIBEGG_CFLAGS="`$PKG_CONFIG --cflags $LIBEGG_MODULES`"
AC_SUBST(LIBEGG_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 librsvg-2.0 bonobo-activation-2.0 libbonobo-2.0 libbonoboui-2.0 esound gnome-desktop-2.0 $EXTRA_CORE_MODULES"
CORE_CFLAGS="`$PKG_CONFIG --cflags $CORE_MODULES` $x_cflags"
AC_SUBST(CORE_CFLAGS)
CORE_LIBS="`$PKG_CONFIG --libs $CORE_MODULES` $CDDA_LIBS $LIBJPEG $x_libs"
AC_SUBST(CORE_LIBS)
CORE_IDL_INCLUDES="`$PKG_CONFIG --variable=idldir $CORE_MODULES | $srcdir/add-include-prefix`"
AC_SUBST(CORE_IDL_INCLUDES)
dnl typical components
COMPONENT_MODULES="eel-2.0 libbonoboui-2.0 gnome-vfs-module-2.0 gnome-desktop-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 emblems component
EMBLEM_COMPONENT_MODULES="$COMPONENT_MODULES librsvg-2.0"
EMBLEM_COMPONENT_CFLAGS="`$PKG_CONFIG --cflags $EMBLEM_COMPONENT_MODULES`"
AC_SUBST(EMBLEM_COMPONENT_CFLAGS)
EMBLEM_COMPONENT_LIBS="`$PKG_CONFIG --libs $EMBLEM_COMPONENT_MODULES`"
AC_SUBST(EMBLEM_COMPONENT_LIBS)
setup both the rgba and GdkColor variants. (update_label_color): upd. 2002-02-17 Michael Meeks <michael@ximian.com> * libnautilus-private/nautilus-icon-container.c (nautilus_icon_container_theme_changed): setup both the rgba and GdkColor variants. (update_label_color): upd. color handling. (alloc_colors): allocate the colors on realize 2002-02-15 Michael Meeks <michael@ximian.com> * libnautilus-private/nautilus-icon-container.c (nautilus_icon_container_get_label_color): return the colors we need, grab them from the style's text information though. 2002-02-14 Michael Meeks <michael@ximian.com> * libnautilus-private/nautilus-icon-canvas-item.c (nautilus_icon_canvas_item_get_property), (nautilus_icon_canvas_item_set_property): port to properties. (draw_or_measure_label_text): update color handling, could we re-use the gc here ? (draw_stretch_handles): upd gc unref. (nautilus_icon_canvas_item_class_init): upd. * libnautilus-private/nautilus-theme.c (nautilus_pixmap_file_may_be_local), (nautilus_theme_install_user_theme), (nautilus_theme_make_preview_pixbuf), (theme_get_property), (load_theme_document): upd. file tests. * libnautilus-private/nautilus-monitor.c (get_event_uri): use g_build_filename. * libnautilus-private/nautilus-find-icon-image.c (get_user_emblem_path, make_full_icon_path), (make_full_icon_path): upd. file test. * libnautilus-private/nautilus-file-utilities.c (nautilus_pixmap_file), (nautilus_get_data_file_path), (nautilus_get_user_directory), (nautilus_get_desktop_directory): upd. file tests. * libnautilus-private/nautilus-directory-metafile.c (nautilus_directory_get_boolean_file_metadata): use strcasecmp not ascii_strdown to save yet more malloc locking penalty. * libnautilus-private/nautilus-directory-background.c (nautilus_file_background_receive_root_window_changes), (desktop_background_destroyed_callback): upd. root window macro. (nautilus_connect_background_to_file_metadata), (initialize_background_from_settings), (image_loading_done_callback): upd g_signal bits. * libnautilus-private/nautilus-volume-monitor.c (nautilus_volume_monitor_class_init): upd file test. * libnautilus-private/nautilus-undo-signal-handlers.c (nautilus_undo_tear_down_nautilus_entry_for_undo): upd. * libnautilus-private/nautilus-undo-manager.c (nautilus_undo_manager_class_init): upd. signal bits. * libnautilus-private/nautilus-trash-monitor.c (nautilus_trash_monitor_class_init): g_cclosureize. (nautilus_trash_monitor_init): g_signal upds. * libnautilus-private/nautilus-trash-file.c (trash_destroy, nautilus_trash_file_init), (remove_real_file): upd. g_signal bits. * libnautilus-private/nautilus-trash-directory.c (nautilus_trash_directory_init): upd. signal connect. (trash_destroy): upd. signal bits. * libnautilus-private/nautilus-program-choosing.c (get_xalf_prefix): upd. find_program_in_path. * libnautilus-private/nautilus-program-chooser.c (nautilus_program_chooser_init): upd. window policy * libnautilus-private/nautilus-merged-directory.c (merged_remove_real_directory): upd. g_signal. (nautilus_merged_directory_class_init): upd. g_closure * libnautilus-private/nautilus-link-desktop-file.c (nautilus_link_desktop_file_get_link_icon_from_desktop): upd. pixmap location. * libnautilus-private/nautilus-icon-factory.c (nautilus_icon_factory_class_init): upd. marshallers (is_theme_in_user_directory): upd. file test. * libnautilus-private/nautilus-icon-dnd.c (auto_scroll_timeout_callback): do a queue_draw_area instead of a widget_draw. * libnautilus-private/nautilus-icon-container.c (nautilus_icon_container_init), (set_pending_icon_to_reveal): g_signal updates. (nautilus_icon_container_new): remove visual push/pop. * libnautilus-private/nautilus-file.c (nautilus_file_fit_date_as_string): upd. julian date get. (nautilus_file_class_init): upd. marshallers. * libnautilus-private/nautilus-file-operations.c (extract_and_ellipsize_file_name_for_dialog): use get_basename. (nautilus_file_operations_copy_move): use gtk stock. * libnautilus-private/nautilus-file-operations-progress.c (nautilus_file_operations_progress_update): use progress_bar_set_fraction. (nautilus_file_operations_progress_init): prune progress setup - these are the defaults. * libnautilus-private/nautilus-entry.c (nautilus_entry_key_press): upd select_region. * libnautilus-private/nautilus-drag-window.c (get_ancestor_blocked_by): upd type_is_a. * libnautilus-private/nautilus-dnd.c (nautilus_drag_finalize), (nautilus_drag_init): g_object ref upd. * libnautilus-private/nautilus-directory.c (nautilus_directory_class_init): marshaller upd.. (nautilus_directory_schedule_metadata_remove), (nautilus_directory_schedule_metadata_copy), (nautilus_directory_schedule_metadata_move): basename upd. * libnautilus-private/nautilus-directory-background.c (desktop_background_realized): g_signal upd. (theme_image_path_to_uri): file test upd. (image_loading_done_callback): object unref on gc & pixmap. (background_changed_callback): g_signal upd. * libnautilus-private/nautilus-bookmark.c (nautilus_bookmark_disconnect_file): g_signal upd. (nautilus_bookmark_uri_known_not_to_exist): upd file test. * libnautilus-private/nautilus-authn-manager.c (authentication_dialog_button_clicked): use GTK_RESPONSE_OK * libnautilus-private/Makefile.am: add deprc. CFLAGS. * libnautilus/Makefile.am: ditto. * configure.in (DISABLE_DEPRECATED_CFLAGS): add. 2002-02-13 Michael Meeks <michael@ximian.com> * libnautilus-private/nautilus-icon-dnd.c (nautilus_icon_container_free_drag_data): re-enterancy protection.
2002-02-19 09:11:16 +00:00
DISABLE_DEPRECATED_CFLAGS=" \
-DG_DISABLE_DEPRECATED \
-DGDK_DISABLE_DEPRECATED \
-DGDK_PIXBUF_DISABLE_DEPRECATED \
-DGTK_DISABLE_DEPRECATED \
-DGNOME_DISABLE_DEPRECATED"
dnl FIXME: put this back once the registration_id stuff is cleared up.
dnl -DBONOBO_DISABLE_DEPRECATED
setup both the rgba and GdkColor variants. (update_label_color): upd. 2002-02-17 Michael Meeks <michael@ximian.com> * libnautilus-private/nautilus-icon-container.c (nautilus_icon_container_theme_changed): setup both the rgba and GdkColor variants. (update_label_color): upd. color handling. (alloc_colors): allocate the colors on realize 2002-02-15 Michael Meeks <michael@ximian.com> * libnautilus-private/nautilus-icon-container.c (nautilus_icon_container_get_label_color): return the colors we need, grab them from the style's text information though. 2002-02-14 Michael Meeks <michael@ximian.com> * libnautilus-private/nautilus-icon-canvas-item.c (nautilus_icon_canvas_item_get_property), (nautilus_icon_canvas_item_set_property): port to properties. (draw_or_measure_label_text): update color handling, could we re-use the gc here ? (draw_stretch_handles): upd gc unref. (nautilus_icon_canvas_item_class_init): upd. * libnautilus-private/nautilus-theme.c (nautilus_pixmap_file_may_be_local), (nautilus_theme_install_user_theme), (nautilus_theme_make_preview_pixbuf), (theme_get_property), (load_theme_document): upd. file tests. * libnautilus-private/nautilus-monitor.c (get_event_uri): use g_build_filename. * libnautilus-private/nautilus-find-icon-image.c (get_user_emblem_path, make_full_icon_path), (make_full_icon_path): upd. file test. * libnautilus-private/nautilus-file-utilities.c (nautilus_pixmap_file), (nautilus_get_data_file_path), (nautilus_get_user_directory), (nautilus_get_desktop_directory): upd. file tests. * libnautilus-private/nautilus-directory-metafile.c (nautilus_directory_get_boolean_file_metadata): use strcasecmp not ascii_strdown to save yet more malloc locking penalty. * libnautilus-private/nautilus-directory-background.c (nautilus_file_background_receive_root_window_changes), (desktop_background_destroyed_callback): upd. root window macro. (nautilus_connect_background_to_file_metadata), (initialize_background_from_settings), (image_loading_done_callback): upd g_signal bits. * libnautilus-private/nautilus-volume-monitor.c (nautilus_volume_monitor_class_init): upd file test. * libnautilus-private/nautilus-undo-signal-handlers.c (nautilus_undo_tear_down_nautilus_entry_for_undo): upd. * libnautilus-private/nautilus-undo-manager.c (nautilus_undo_manager_class_init): upd. signal bits. * libnautilus-private/nautilus-trash-monitor.c (nautilus_trash_monitor_class_init): g_cclosureize. (nautilus_trash_monitor_init): g_signal upds. * libnautilus-private/nautilus-trash-file.c (trash_destroy, nautilus_trash_file_init), (remove_real_file): upd. g_signal bits. * libnautilus-private/nautilus-trash-directory.c (nautilus_trash_directory_init): upd. signal connect. (trash_destroy): upd. signal bits. * libnautilus-private/nautilus-program-choosing.c (get_xalf_prefix): upd. find_program_in_path. * libnautilus-private/nautilus-program-chooser.c (nautilus_program_chooser_init): upd. window policy * libnautilus-private/nautilus-merged-directory.c (merged_remove_real_directory): upd. g_signal. (nautilus_merged_directory_class_init): upd. g_closure * libnautilus-private/nautilus-link-desktop-file.c (nautilus_link_desktop_file_get_link_icon_from_desktop): upd. pixmap location. * libnautilus-private/nautilus-icon-factory.c (nautilus_icon_factory_class_init): upd. marshallers (is_theme_in_user_directory): upd. file test. * libnautilus-private/nautilus-icon-dnd.c (auto_scroll_timeout_callback): do a queue_draw_area instead of a widget_draw. * libnautilus-private/nautilus-icon-container.c (nautilus_icon_container_init), (set_pending_icon_to_reveal): g_signal updates. (nautilus_icon_container_new): remove visual push/pop. * libnautilus-private/nautilus-file.c (nautilus_file_fit_date_as_string): upd. julian date get. (nautilus_file_class_init): upd. marshallers. * libnautilus-private/nautilus-file-operations.c (extract_and_ellipsize_file_name_for_dialog): use get_basename. (nautilus_file_operations_copy_move): use gtk stock. * libnautilus-private/nautilus-file-operations-progress.c (nautilus_file_operations_progress_update): use progress_bar_set_fraction. (nautilus_file_operations_progress_init): prune progress setup - these are the defaults. * libnautilus-private/nautilus-entry.c (nautilus_entry_key_press): upd select_region. * libnautilus-private/nautilus-drag-window.c (get_ancestor_blocked_by): upd type_is_a. * libnautilus-private/nautilus-dnd.c (nautilus_drag_finalize), (nautilus_drag_init): g_object ref upd. * libnautilus-private/nautilus-directory.c (nautilus_directory_class_init): marshaller upd.. (nautilus_directory_schedule_metadata_remove), (nautilus_directory_schedule_metadata_copy), (nautilus_directory_schedule_metadata_move): basename upd. * libnautilus-private/nautilus-directory-background.c (desktop_background_realized): g_signal upd. (theme_image_path_to_uri): file test upd. (image_loading_done_callback): object unref on gc & pixmap. (background_changed_callback): g_signal upd. * libnautilus-private/nautilus-bookmark.c (nautilus_bookmark_disconnect_file): g_signal upd. (nautilus_bookmark_uri_known_not_to_exist): upd file test. * libnautilus-private/nautilus-authn-manager.c (authentication_dialog_button_clicked): use GTK_RESPONSE_OK * libnautilus-private/Makefile.am: add deprc. CFLAGS. * libnautilus/Makefile.am: ditto. * configure.in (DISABLE_DEPRECATED_CFLAGS): add. 2002-02-13 Michael Meeks <michael@ximian.com> * libnautilus-private/nautilus-icon-dnd.c (nautilus_icon_container_free_drag_data): re-enterancy protection.
2002-02-19 09:11:16 +00:00
AC_SUBST(DISABLE_DEPRECATED_CFLAGS)
dnl
dnl disable (broken) hardware view
dnl
hw_view=disabled
AC_ARG_ENABLE(hardware,
[ --enable-hardware Enable (broken, Linux only) hardware view],
hw_view=enabled)
if test "x`(uname -s) 2>/dev/null`" != "xLinux"; then
hw_view=disabled
fi
AM_CONDITIONAL(ENABLE_HARDWARE_VIEW, test "$hw_view" = "enabled")
dnl libbackground
PKG_CHECK_MODULES(CAPPLET, "gtk+-2.0 gconf-2.0 libgnomeui-2.0 libbonoboui-2.0")
dnl ==========================================================================
don't try to set properties on a remote container that is being / has been 2002-03-06 Michael Meeks <michael@ximian.com> * src/file-manager/fm-icon-view.c (fm_icon_view_update_menus): don't try to set properties on a remote container that is being / has been torn down. * libnautilus-private/nautilus-global-preferences.c (default_icon_view_sort_order_or_manual_layout_changed_callback), (nautilus_global_preferences_set_default_folder_viewer), (default_folder_viewer_changed_callback): upd. for enum code. * libnautilus-private/nautilus-icon-canvas-item.c (nautilus_icon_canvas_item_class_init): use eel_preferences_add_auto_enum instead of auto_int. * src/file-manager/fm-list-view.c (fm_list_view_class_init): ditto. * src/file-manager/fm-icon-view.c (get_default_sort_order, get_default_zoom_level_font_size), (get_default_zoom_level, fm_icon_view_init): ditto. * libnautilus-private/nautilus-thumbnails.c (prefer_global_thumbnails_location): ditto. * libnautilus-private/nautilus-icon-factory.c (should_display_image_file_as_itself): ditto. * libnautilus-private/nautilus-icon-container.c (nautilus_icon_container_class_init): ditto. 2002-03-05 Michael Meeks <michael@ximian.com> * components/music/nautilus-music-view.c (nautilus_music_view_init): use eel_preferences_get_enum instead of get_integer * src/nautilus-switchable-search-bar.c (nautilus_search_uri_to_search_bar_mode), (nautilus_switchable_search_bar_new): ditto. * src/file-manager/fm-icon-view.c (fm_icon_view_update_click_mode): ditto. * src/file-manager/fm-directory-view.c (get_executable_text_file_action): ditto. * libnautilus-private/nautilus-metafile.c (can_use_public_metafile): ditto. * libnautilus-private/nautilus-file.c (show_directory_item_count_changed_callback), (show_text_in_icons_changed_callback): use get_enum * libnautilus-private/nautilus-global-preferences.c (preference_defaults): add the PREFERENCE_ENUM type and make this a string, as GConf expects. * configure.in: add the GConf magic. * libnautilus-private/Makefile.am (schemadir): add schema installation bits.
2002-03-06 15:36:01 +00:00
dnl ==============================================
dnl Special GConf section
dnl ==============================================
AC_PATH_PROG(GCONFTOOL, gconftool-2, no)
if test x"$GCONFTOOL" = xno; then
AC_MSG_ERROR([gconftool-2 executable not found in your path - should be installed with GConf])
fi
AM_GCONF_SOURCE_2
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/history/Makefile
components/notes/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
components/emblem/Makefile
components/image_properties/Makefile
cut-n-paste-code/Makefile
Move libegg stuff to cut-n-paste-code and update to the latest egg 2002-11-06 Anders Carlsson <andersca@gnu.org> * configure.in: * cut-n-paste-code/Makefile.am: * cut-n-paste-code/libegg/Makefile.am: * cut-n-paste-code/libegg/egg-recent-item.c: (egg_recent_item_new), (egg_recent_item_free), (egg_recent_item_ref), (egg_recent_item_unref), (egg_recent_item_new_from_uri), (egg_recent_item_set_uri), (egg_recent_item_get_uri), (egg_recent_item_peek_uri), (egg_recent_item_get_uri_utf8), (egg_recent_item_get_uri_for_display), (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type), (egg_recent_item_set_timestamp), (egg_recent_item_get_timestamp), (egg_recent_item_get_groups), (egg_recent_item_in_group), (egg_recent_item_add_group), (egg_recent_item_remove_group), (egg_recent_item_set_private), (egg_recent_item_get_private), (egg_recent_item_get_type): * cut-n-paste-code/libegg/egg-recent-item.h: * cut-n-paste-code/libegg/egg-recent-model.c: (egg_recent_model_string_match), (egg_recent_model_write_raw), (egg_recent_model_delete_from_list), (egg_recent_model_add_new_groups), (egg_recent_model_update_item), (egg_recent_model_read_raw), (parse_info_init), (parse_info_free), (push_state), (pop_state), (peek_state), (start_element_handler), (list_compare_func_mru), (list_compare_func_lru), (end_element_handler), (text_handler), (error_handler), (egg_recent_model_enforce_limit), (egg_recent_model_sort), (egg_recent_model_group_match), (egg_recent_model_filter), (egg_recent_model_monitor_list_cb), (egg_recent_model_monitor_list), (egg_recent_model_changed_timeout), (egg_recent_model_monitor_cb), (egg_recent_model_monitor), (egg_recent_model_set_limit_internal), (egg_recent_model_read), (egg_recent_model_write), (egg_recent_model_open_file), (egg_recent_model_lock_file), (egg_recent_model_unlock_file), (egg_recent_model_finalize), (egg_recent_model_set_property), (egg_recent_model_get_property), (egg_recent_model_class_init), (egg_recent_model_limit_changed), (egg_recent_model_expiration_changed), (egg_recent_model_init), (egg_recent_model_new), (egg_recent_model_add_full), (egg_recent_model_add), (egg_recent_model_delete), (egg_recent_model_get_list), (egg_recent_model_set_limit), (egg_recent_model_get_limit), (egg_recent_model_clear), (egg_recent_model_set_filter_mime_types), (egg_recent_model_set_filter_groups), (egg_recent_model_set_filter_uri_schemes), (egg_recent_model_set_sort), (egg_recent_model_changed), (egg_recent_model_remove_expired_list), (egg_recent_model_remove_expired), (egg_recent_model_get_type): * cut-n-paste-code/libegg/egg-recent-model.h: * cut-n-paste-code/libegg/egg-recent-vfs-utils.c: (make_valid_utf8), (istr_has_prefix), (str_has_prefix), (uri_is_local_scheme), (handle_trailing_slashes), (make_uri_canonical), (format_uri_for_display), (egg_recent_vfs_format_uri_for_display), (is_valid_scheme_character), (has_valid_scheme), (escape_high_chars), (make_uri_from_input_internal), (egg_recent_vfs_make_uri_from_input), (make_uri_canonical_strip_fragment), (uris_match), (egg_recent_vfs_uris_match), (egg_recent_vfs_get_uri_scheme): * cut-n-paste-code/libegg/egg-recent-vfs-utils.h: * cut-n-paste-code/libegg/egg-screen-exec.c: (egg_screen_exec_display_string), (egg_screen_exec_environment), (egg_screen_execute_async), (egg_screen_execute_shell), (egg_screen_execute_command_line_async): * cut-n-paste-code/libegg/egg-screen-exec.h: * cut-n-paste-code/libegg/egg-screen-help.c: (egg_help_display_on_screen), (egg_help_display_with_doc_id_on_screen), (egg_help_display_desktop_on_screen), (egg_help_display_uri_on_screen): * cut-n-paste-code/libegg/egg-screen-help.h: * cut-n-paste-code/libegg/egg-screen-url.c: (egg_url_show_on_screen): * cut-n-paste-code/libegg/egg-screen-url.h: * cut-n-paste-code/libegg/eggtreemultidnd.c: (egg_tree_multi_drag_source_get_type), (egg_tree_multi_drag_source_row_draggable), (egg_tree_multi_drag_source_drag_data_delete), (egg_tree_multi_drag_source_drag_data_get), (stop_drag_check), (egg_tree_multi_drag_button_release_event), (selection_foreach), (path_list_free), (set_context_data), (get_context_data), (get_info), (egg_tree_multi_drag_drag_data_get), (egg_tree_multi_drag_motion_event), (egg_tree_multi_drag_button_press_event), (egg_tree_multi_drag_add_drag_support): * cut-n-paste-code/libegg/eggtreemultidnd.h: * cut-n-paste-code/libegg/update-from-egg.sh: * libnautilus-private/Makefile.am: * libnautilus-private/egg-recent-item.c: * libnautilus-private/egg-recent-item.h: * libnautilus-private/egg-recent-model.c: * libnautilus-private/egg-recent-model.h: * libnautilus-private/egg-recent-vfs-utils.c: * libnautilus-private/egg-recent-vfs-utils.h: * libnautilus-private/egg-screen-exec.c: * libnautilus-private/egg-screen-exec.h: * libnautilus-private/egg-screen-help.c: * libnautilus-private/egg-screen-help.h: * libnautilus-private/egg-screen-url.c: * libnautilus-private/egg-screen-url.h: * libnautilus-private/eggtreemultidnd.c: * libnautilus-private/eggtreemultidnd.h: * libnautilus-private/nautilus-program-chooser.c: (help_cb): * libnautilus-private/update-from-egg.sh: * src/Makefile.am: * src/file-manager/Makefile.am: * src/file-manager/fm-desktop-icon-view.c: * src/file-manager/fm-directory-view.c: * src/file-manager/fm-list-model.c: * src/file-manager/fm-list-view.c: * src/file-manager/fm-properties-window.c: (help_button_callback): * src/file-manager/update-from-egg.sh: * src/nautilus-bookmarks-window.c: (nautilus_bookmarks_window_response_callback): * src/nautilus-property-browser.c: (help_button_callback): * src/nautilus-window-menus.c: (help_menu_nautilus_manual_callback): Move libegg stuff to cut-n-paste-code and update to the latest egg versions.
2002-11-06 10:38:48 +00:00
cut-n-paste-code/libegg/Makefile
cut-n-paste-code/widgets/Makefile
cut-n-paste-code/widgets/gimphwrapbox/Makefile
data/Makefile
data/patterns/Makefile
docs/Makefile
icons/Makefile
icons/crux_eggplant/Makefile
icons/crux_eggplant/throbber/Makefile
icons/crux_teal/Makefile
icons/crux_teal/throbber/Makefile
Seperate document icons from the themes so they can be moved into 2002-01-22 Seth Nickell <snickell@stanford.edu> Seperate document icons from the themes so they can be moved into gnome-mime-data and used by other applications more cleanly. * configure.in: * icons/Makefile.am: * icons/default.xml: * icons/default/.cvsignore: * icons/default/Back.png: * icons/default/Forward.png: * icons/default/Home.png: * icons/default/Makefile: * icons/default/Makefile.am: * icons/default/Makefile.in: * icons/default/Refresh.png: * icons/default/Search.png: * icons/default/SearchWeb.png: * icons/default/Stop.png: * icons/default/Up.png: * icons/default/decrement.png: * icons/default/default.xml: * icons/default/home.png: * icons/default/i-bookmark-20.png: * icons/default/i-bookmark-missing-20.png: * icons/default/i-bookmark-missing.png: * icons/default/i-bookmark.png: * icons/default/i-broken-image.png: * icons/default/i-directory-12.png: * icons/default/i-directory-24.png: * icons/default/i-directory-36.png: * icons/default/i-directory-72.png: * icons/default/i-directory-96.png: * icons/default/i-directory-accept-12.png: * icons/default/i-directory-accept-24.png: * icons/default/i-directory-accept-36.png: * icons/default/i-directory-accept-72.png: * icons/default/i-directory-accept-96.png: * icons/default/i-directory-accept.png: * icons/default/i-directory-accept.xml: * icons/default/i-directory.png: * icons/default/i-directory.xml: * icons/default/i-regular-12.png: * icons/default/i-regular-24.png: * icons/default/i-regular-36.png: * icons/default/i-regular-72.png: * icons/default/i-regular-96.png: * icons/default/i-regular.png: * icons/default/i-regular.xml: * icons/default/i-search-72.png: * icons/default/i-spreadsheet.png: * icons/default/i-stalled.png: * icons/default/i-symlink.png: * icons/default/i-web-72.png: * icons/default/increment.png: * icons/default/loading.png: * icons/default/manual.png: * icons/default/number_strip.png: * icons/default/side_bar_image.png: * icons/default/temp-home.png: * icons/default/theme_preview.png: * icons/default/trash-empty.png: * icons/default/trash-full.png: * icons/default/zoom_body.png: Move default theme from icons/ into icons/default. * icons/gnome-application-encapsulated_postscript.png: * icons/gnome-application-pdf-192.png: * icons/gnome-application-pdf.png: * icons/gnome-application-pgp-192.png: * icons/gnome-application-pgp.png: * icons/gnome-application-postscript-192.png: * icons/gnome-application-postscript-72.png: * icons/gnome-application-postscript-96.png: * icons/gnome-application-postscript.png: * icons/gnome-application-x-c-header.png: * icons/gnome-application-x-c-source.png: * icons/gnome-application-x-cc-source.png: * icons/gnome-application-x-e-theme.png: * icons/gnome-application-x-generic-spreadsheet.png: * icons/gnome-application-x-gnome-app-info.png: * icons/gnome-application-x-java-source.png: * icons/gnome-application-x-kde-app-info.png: * icons/gnome-application-x-php.png: * icons/gnome-application-x-reject.png: * icons/gnome-application-x-scheme-source.png: * icons/gnome-application-x-sql.png: * icons/gnome-audio-basic.png: * icons/gnome-audio-midi.png: * icons/gnome-audio-ulaw.png: * icons/gnome-audio-x-aiff.png: * icons/gnome-audio-x-mod-192.png: * icons/gnome-audio-x-mod.png: * icons/gnome-audio-x-mp3-192.png: * icons/gnome-audio-x-mp3.png: * icons/gnome-audio-x-ogg-192.png: * icons/gnome-audio-x-ogg.png: * icons/gnome-audio-x-pn-realaudio.png: * icons/gnome-audio-x-real-192.png: * icons/gnome-audio-x-s3m-192.png: * icons/gnome-audio-x-s3m.png: * icons/gnome-audio-x-stm-192.png: * icons/gnome-audio-x-stm.png: * icons/gnome-audio-x-voc.png: * icons/gnome-audio-x-wav.png: * icons/gnome-audio-x-xi-192.png: * icons/gnome-audio-x-xi.png: * icons/gnome-audio-x-xm.png: * icons/gnome-audio.png: * icons/gnome-compressed-192.png: * icons/gnome-compressed.png: * icons/gnome-core.png: * icons/gnome-emacs-192.png: * icons/gnome-font-afm.png: * icons/gnome-font-ttf.png: * icons/gnome-font-x-pcf.png: * icons/gnome-gimp.png: * icons/gnome-gnumeric.png: * icons/gnome-http-url.png: * icons/gnome-image-bmp.png: * icons/gnome-image-generic.png: * icons/gnome-image-gif.png: * icons/gnome-image-ief.png: * icons/gnome-image-jpeg.png: * icons/gnome-image-pbm.png: * icons/gnome-image-pgm.png: * icons/gnome-image-png.png: * icons/gnome-image-pnm.png: * icons/gnome-image-ppm.png: * icons/gnome-image-psd.png: * icons/gnome-image-ras.png: * icons/gnome-image-rgb.png: * icons/gnome-image-tga.png: * icons/gnome-image-tiff.png: * icons/gnome-image-x-xfig.png: * icons/gnome-image-xbm.png: * icons/gnome-image-xcf.png: * icons/gnome-image-xpm.png: * icons/gnome-image-xwd.png: * icons/gnome-library.png: * icons/gnome-manpage.png: * icons/gnome-objectfile.png: * icons/gnome-pack-deb.png: * icons/gnome-pack-rpm.png: * icons/gnome-package.png: * icons/gnome-tex-192.png: * icons/gnome-tex.png: * icons/gnome-text-html-192.png: * icons/gnome-text-html.png: * icons/gnome-text-x-authors.png: * icons/gnome-text-x-copying.png: * icons/gnome-text-x-credits.png: * icons/gnome-text-x-install.png: * icons/gnome-text-x-makefile-192.png: * icons/gnome-text-x-makefile.png: * icons/gnome-text-x-readme.png: * icons/gnome-textfile.png: * icons/gnome-video-mpeg.png: * icons/gnome-video-quicktime.png: * icons/gnome-video-x-msvideo.png: * icons/gnome-word-192.png: * icons/i-blockdev.png: * icons/i-bookmark-20.png: * icons/i-bookmark-missing-20.png: * icons/i-bookmark-missing.png: * icons/i-bookmark.png: * icons/i-broken-image.png: * icons/i-cdrom-192.png: * icons/i-cdrom.png: * icons/i-chardev.png: * icons/i-core.png: * icons/i-device.png: * icons/i-dirclosed.png: * icons/i-directory-12.png: * icons/i-directory-24.png: * icons/i-directory-36.png: * icons/i-directory-72.png: * icons/i-directory-96.png: * icons/i-directory-accept-12.png: * icons/i-directory-accept-24.png: * icons/i-directory-accept-36.png: * icons/i-directory-accept-72.png: * icons/i-directory-accept-96.png: * icons/i-directory-accept.png: * icons/i-directory-accept.xml: * icons/i-directory.png: * icons/i-directory.xml: * icons/i-executable.png: * icons/i-fifo.png: * icons/i-floppy.png: * icons/i-harddisk.png: * icons/i-music-12.png: * icons/i-music-24.png: * icons/i-music-36.png: * icons/i-music.png: * icons/i-nfs.png: * icons/i-printer.png: * icons/i-regular-12.png: * icons/i-regular-24.png: * icons/i-regular-36.png: * icons/i-regular-72.png: * icons/i-regular-96.png: * icons/i-regular.png: * icons/i-regular.xml: * icons/i-search-72.png: * icons/i-sock.png: * icons/i-spreadsheet.png: * icons/i-stalled.png: * icons/i-symlink.png: * icons/i-web-72.png: * icons/i-zip.png: * icons/i-zipdisk.png: * icons/i-zipdisk2.png: * icons/loading.png: * icons/manual.png: * icons/temp-home.png: * icons/trash-empty.png: * icons/trash-full.png: Move icons to either gnome-mime-data/icons or, perhaps, nautilus/icons/default * libnautilus-private/nautilus-find-icon-image.c: (make_full_icon_path), (get_themed_icon_file_path), (nautilus_get_icon_file_name): Add support for looking in DATADIR/share/pixmaps/document-icons as a fallback for the current theme and the fallback theme. Remove hardcoded "default" theme stuff. * libnautilus-private/nautilus-icon-factory.c: (icon_theme_changed_callback): If a theme doesn't have a fallback theme listed, use the "default" theme as the fallback. Should be the only default theme hardcoding left. * libnautilus-private/nautilus-theme.c: (load_theme_document), (nautilus_theme_get_theme_data_from_theme), (nautilus_theme_get_image_path_from_theme), (nautilus_theme_make_preview_pixbuf), (has_image_file), (theme_get_property), (nautilus_theme_for_each_theme): Remove hardcoding of default theme. * icons/crux_eggplant/crux_eggplant.xml: Remove inheritance clause which was pointing to "arlo", a theme which does not exist anymore.
2002-01-22 19:51:22 +00:00
icons/default/Makefile
icons/gnome/Makefile
icons/gnome/throbber/Makefile
icons/sierra/Makefile
icons/tahoe/Makefile
icons/throbber/Makefile
libbackground/Makefile
libnautilus-adapter/Makefile
libnautilus-private/Makefile
libnautilus/Makefile
libnautilus/libnautilus.pc
nautilus.spec
po/Makefile.in
src/Makefile
src/file-manager/Makefile
test/Makefile
1999-12-05 00:40:26 +00:00
])
dnl ==========================================================================
echo "
nautilus-$VERSION:
prefix: ${prefix}
source code location: ${srcdir}
compiler: ${CC}
hardware view: ${hw_view}
profiling support: ${profiling_support}
"