nautilus/data/Makefile.am

54 lines
1.1 KiB
Makefile
Raw Normal View History

Addressed most of task 148 (Better type-as-string for directory views). Added new directory to CVS, so make sure you do a "cvs update -d" and not just "cvs update". "make install" now installs a file of mime-type-to-English descriptions in the gnome-mime directory. * data/mime/nautilus.keys: The actual mapping between MIME types and English descriptions. Read these and send me your abuse. * data/mime/Makefile.am: New file, copies nautilus.keys to gnome-mime directory. * data/Makefile.am: includes "mime" subdirectory * configure.in: configures "data/mime" directory * libnautilus/nautilus-file.c: (nautilus_file_get_mime_type_as_string_attribute): New function, returns the raw MIME type as a string, and handles the no-MIME-type case. (nautilus_file_get_string_attribute): handle attribute "mime_type", distinct from "type" which is now the human-language one. (nautilus_file_get_type_as_string): Use gnome-mime to get human-language descriptions based on the MIME type. (nautilus_file_is_executable): Fixed this function which was reading info->flags instead of info->permissions. Now the special executable icon appears much more often (though we still don't know what it's supposed to be). * src/file-manager/fm-error-reporting.c: (fm_report_error_renaming_file): Use "directory" instead of "folder" to match our terminology elsewhere. * src/file-manager/fm-icon-text-window.c: add "mime type" to list of choices of text that can appear beneath icons (in addition to just plain "type", which is the human-language one).
2000-04-12 00:05:23 +00:00
NULL=
xml_in_files = nautilus.xml.in
xml_files = $(xml_in_files:.xml.in=.xml)
@INTLTOOL_XML_RULE@
desktopdir = $(datadir)/applications
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
desktop_in_files = \
nautilus.desktop.in \
nautilus-home.desktop.in \
nautilus-computer.desktop.in \
nautilus-folder-handler.desktop.in \
nautilus-browser.desktop.in \
nautilus-autorun-software.desktop.in
2009-05-05 00:48:21 +00:00
@INTLTOOL_DESKTOP_RULE@
mimedir = $(datadir)/mime/packages
mime_DATA = $(xml_files)
reviewed by: John Sullivan <sullivan@eazel.com> Fix bug 7783 (Makefile.am used to install xml data is wrong): * data/Makefile.am: Integrate build fix from fcrozat. Don't use the magic "info" name since it is used for special purposes on Mandrake and other systems. Other strings: * THANKS: Added some people who made recent contributions. * check-THANKS.pl: Add some more alternate names. * components/help/hyperbola-filefmt.c: (locale_score): Fix legal code that doesn't compile with some versions of gcc by adding a cast. * help/nautilus-user-manual/es/.cvsignore: Add nautilus-user-manual.junk. * libnautilus-extensions/nautilus-directory-async.c: (metafile_read_check_for_directory_callback), (metafile_read_done_callback), (metafile_write_failure_close_callback), (metafile_write_success_close_callback), (metafile_write_create_callback), (directory_load_callback), (directory_count_callback), (new_files_callback), (has_problem), (deep_count_callback), (mime_list_callback), (top_left_read_callback), (get_info_callback), (activation_uri_nautilus_link_read_callback), (activation_uri_gmc_link_read_callback), (cancel_activation_uri_for_file): Add ref/unref pairs that we need in callbacks that use NautilusDirectory objects but that also send out signals which might end up unref'ing them. * libnautilus-extensions/nautilus-file-operations.c: (nautilus_self_check_file_operations): Add tests to demonstrate bug 7701. * libnautilus-extensions/nautilus-smooth-text-layout-cache.c: (nautilus_self_check_smooth_text_layout_cache): Fix some destroys that should have been unrefs. * libnautilus-extensions/nautilus-string.c: (nautilus_self_check_string): Added tests for nautilus_str_get_after_prefix.
2001-03-15 23:17:57 +00:00
nautilusdatadir = $(datadir)/nautilus
reviewed by: John Sullivan <sullivan@eazel.com> Fix bug 7783 (Makefile.am used to install xml data is wrong): * data/Makefile.am: Integrate build fix from fcrozat. Don't use the magic "info" name since it is used for special purposes on Mandrake and other systems. Other strings: * THANKS: Added some people who made recent contributions. * check-THANKS.pl: Add some more alternate names. * components/help/hyperbola-filefmt.c: (locale_score): Fix legal code that doesn't compile with some versions of gcc by adding a cast. * help/nautilus-user-manual/es/.cvsignore: Add nautilus-user-manual.junk. * libnautilus-extensions/nautilus-directory-async.c: (metafile_read_check_for_directory_callback), (metafile_read_done_callback), (metafile_write_failure_close_callback), (metafile_write_success_close_callback), (metafile_write_create_callback), (directory_load_callback), (directory_count_callback), (new_files_callback), (has_problem), (deep_count_callback), (mime_list_callback), (top_left_read_callback), (get_info_callback), (activation_uri_nautilus_link_read_callback), (activation_uri_gmc_link_read_callback), (cancel_activation_uri_for_file): Add ref/unref pairs that we need in callbacks that use NautilusDirectory objects but that also send out signals which might end up unref'ing them. * libnautilus-extensions/nautilus-file-operations.c: (nautilus_self_check_file_operations): Add tests to demonstrate bug 7701. * libnautilus-extensions/nautilus-smooth-text-layout-cache.c: (nautilus_self_check_smooth_text_layout_cache): Fix some destroys that should have been unrefs. * libnautilus-extensions/nautilus-string.c: (nautilus_self_check_string): Added tests for nautilus_str_get_after_prefix.
2001-03-15 23:17:57 +00:00
nautilusdata_DATA = \
nautilus-extras.placeholder \
nautilus-suggested.placeholder \
nautilus.css \
$(NULL)
EXTRA_DIST = $(nautilusdata_DATA) \
2009-05-05 00:48:21 +00:00
nautilus.desktop \
nautilus.desktop.in \
nautilus.css \
$(xml_in_files) \
$(desktop_in_files) \
$(NULL)
CLEANFILES = $(xml_files) \
$(desktop_DATA) \
$(NULL)
SUBDIRS = \
icons \
Addressed most of task 148 (Better type-as-string for directory views). Added new directory to CVS, so make sure you do a "cvs update -d" and not just "cvs update". "make install" now installs a file of mime-type-to-English descriptions in the gnome-mime directory. * data/mime/nautilus.keys: The actual mapping between MIME types and English descriptions. Read these and send me your abuse. * data/mime/Makefile.am: New file, copies nautilus.keys to gnome-mime directory. * data/Makefile.am: includes "mime" subdirectory * configure.in: configures "data/mime" directory * libnautilus/nautilus-file.c: (nautilus_file_get_mime_type_as_string_attribute): New function, returns the raw MIME type as a string, and handles the no-MIME-type case. (nautilus_file_get_string_attribute): handle attribute "mime_type", distinct from "type" which is now the human-language one. (nautilus_file_get_type_as_string): Use gnome-mime to get human-language descriptions based on the MIME type. (nautilus_file_is_executable): Fixed this function which was reading info->flags instead of info->permissions. Now the special executable icon appears much more often (though we still don't know what it's supposed to be). * src/file-manager/fm-error-reporting.c: (fm_report_error_renaming_file): Use "directory" instead of "folder" to match our terminology elsewhere. * src/file-manager/fm-icon-text-window.c: add "mime type" to list of choices of text that can appear beneath icons (in addition to just plain "type", which is the human-language one).
2000-04-12 00:05:23 +00:00
$(NULL)
install-data-hook:
if ENABLE_UPDATE_MIMEDB
$(UPDATE_MIME_DATABASE) "$(DESTDIR)$(datadir)/mime"
endif
uninstall-hook:
if ENABLE_UPDATE_MIMEDB
$(UPDATE_MIME_DATABASE) "$(DESTDIR)$(datadir)/mime"
endif