Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
NAME copy_gnome_icons SYNOPSIS For icons files starting with "gnome-": copy_gnome_icons *.png For icons files starting with "gnome-mime-": copy_gnome_icons --strip gnome-mime- *.png DESCRIPTION This script is designed to convert a collection of GNOME MIME type icons to the Bricoalge root and to the naming convention used by Bricolage. The icons will then be used by the Bricolage UI, assuming that the "USE_THUMBNAILS" bricolage.conf directive has been enabled. Be sure to set the $BRICOLAGE_ROOT environment variable if it is anything other than /usr/local/bricolage. The icons will bee installed into the comp/media/mime directory under the Bricolage root. The icons are named exactly as the corresponding MIME types are named, with the resulting PNG files installed in appropriate subdirectories. For example, an icon named "gnome-text-html.png" will be copied to comp/media/mime/text/html.png. This script was developed using the GNOME MIME type icons downloaded from <http://developer.ximian.com/images/art-devel/mime-icons.tgz>. (linked to from <http://developer.ximian.com/themes/icons/>), but appears as though it would work with the files in a mimetypes subdirectory of most PNG icon distributions downloadable from <http://art.gnome.org/themes/icon/index.php> (the "NoiaWarm" theme's 48 x 48 MIME type icons look pretty nice with the Bricolage UI color scheme). Updates happily accepted. OPTIONS "--strip" GNOME MIME type icon files typically start with a string that preceeds the MIME type they're named for. Use the "--strip" option to specify what that string is that needs to be stripped from the file name. The remainder of the file name is assumed to be the full MIME type name, with a dash in place of the usual slash. So the GNOME MIME type icon file name for "application/msword" might be gnome-application-msword.png or gnome-mime-application-msword.png or something similar. In the former example, the default value for "--strip", "gnome-", can be used to strip off the "gnome-" and leave "appplication-msword.png". In the latter example specify "gnome-mime-" for the "--strip" option. Note that the "--strip" option can be a regular expression. SEE ALSO <http://developer.ximian.com/themes/icons/> The Ximian GNOME Icons page. <http://developer.ximian.com/images/art-devel/mime-icons.tgz> The canonical MIME type icons for GNOME. <http://art.gnome.org/themes/icon/index.php> GNOME icon themes page, where several different collections of icon themes (some of which include the required MIME type icons) can be downloaded. AUTHOR David Wheeler <firstname.lastname@example.org> COPYRIGHT AND LICENSE Copyright (c) 2004 Kineticode, Inc. See Bric::License for complete license terms and conditions. GNOME icons files are distributed separately and under their own licenses.