new directories etc/, data/images/ and data/misc/.

2001-11-14  Michael Natterer  <mitch@gimp.org>

	* configure.in: new directories etc/, data/images/ and data/misc/.

	* Makefile.am
	* data/Makefile.am: added new SUBDIRs.

	* data/images/Makefile.am
	* data/misc/Makefile.am
	* etc/Makefile.am: new Makefiles

	* gimp1_0_splash.ppm
	* gimp1_2_splash.ppm
	* gimp_logo.ppm
	* gimp_splash.ppm: removed, now in data/images/

	* rmshm
	* user_install
	* user_install.bat: removed, now in data/misc/

	* gimprc.in
	* gimprc.win32
	* gimprc_user.in
	* gtkrc_user
	* ps-menurc
	* unitrc: removed, now in etc/

	* app/gui/about-dialog.c
	* app/gui/splash.c
	* app/gui/user-install-dialog.c: changed image and script file
	paths accordingly.
This commit is contained in:
Michael Natterer 2001-11-14 18:44:55 +00:00 committed by Michael Natterer
parent 38a1e54223
commit 9a1a607b88
29 changed files with 104 additions and 2367 deletions

View File

@ -7,11 +7,9 @@ config.cache
stamp-h
stamp-h1
gimp.spec
gimprc
config.status
libtool
aclocal.m4
gimprc_user
gimptool-1.4
intl
config.h.in

View File

@ -1,3 +1,35 @@
2001-11-14 Michael Natterer <mitch@gimp.org>
* configure.in: new directories etc/, data/images/ and data/misc/.
* Makefile.am
* data/Makefile.am: added new SUBDIRs.
* data/images/Makefile.am
* data/misc/Makefile.am
* etc/Makefile.am: new Makefiles
* gimp1_0_splash.ppm
* gimp1_2_splash.ppm
* gimp_logo.ppm
* gimp_splash.ppm: removed, now in data/images/
* rmshm
* user_install
* user_install.bat: removed, now in data/misc/
* gimprc.in
* gimprc.win32
* gimprc_user.in
* gtkrc_user
* ps-menurc
* unitrc: removed, now in etc/
* app/gui/about-dialog.c
* app/gui/splash.c
* app/gui/user-install-dialog.c: changed image and script file
paths accordingly.
2001-11-14 Sven Neumann <sven@gimp.org>
* app/pdb/gimprc_cmds.c

View File

@ -21,6 +21,7 @@ SUBDIRS = \
$(GIMP_MODULES) \
$(GIMP_PLUGINS) \
data \
etc \
tips \
docs \
devel-docs \
@ -39,15 +40,7 @@ EXTRA_DIST = \
PLUGIN_MAINTAINERS \
MAINTAINERS \
TODO \
gtkrc_user \
unitrc \
gimp_logo.ppm \
gimp_splash.ppm \
rmshm \
user_install \
user_install.bat \
ps-menurc \
gimprc.win32 \
TODO.xml \
config.h.win32 \
po/po2tbl.sed.in \
po/update.sh \
@ -57,21 +50,6 @@ EXTRA_DIST = \
po-script-fu/script-fu-xgettext \
po-script-fu/update.sh
gimpdata_DATA = \
gimp_logo.ppm \
gimp_splash.ppm
gimpsysconf_DATA = \
gimprc \
gimprc_user \
gtkrc_user \
unitrc \
ps-menurc
gimpdata_SCRIPTS = user_install
scriptdata =
gimpinstall:
$(LN_S) $(srcdir)/install-sh $(srcdir)/gimpinstall

View File

@ -316,7 +316,8 @@ about_dialog_load_logo (GtkWidget *window)
if (logo_pixmap)
return TRUE;
filename = g_build_filename (gimp_data_directory (), "gimp_logo.ppm", NULL);
filename = g_build_filename (gimp_data_directory (), "images",
"gimp_logo.ppm", NULL);
fp = fopen (filename, "rb");
g_free (filename);

View File

@ -923,7 +923,8 @@ user_install_run (void)
gint err;
gboolean executable = TRUE;
filename = g_build_filename (gimp_data_directory (), USER_INSTALL, NULL);
filename = g_build_filename (gimp_data_directory (), "misc",
USER_INSTALL, NULL);
if ((err = stat (filename, &stat_buf)) != 0)
{
@ -973,7 +974,8 @@ user_install_run (void)
g_free (filename);
filename = g_build_filename (quoted_data_dir, USER_INSTALL, NULL);
filename = g_build_filename (quoted_data_dir, "misc",
USER_INSTALL, NULL);
command = g_strdup_printf ("%s %s %s %s",
filename,

View File

@ -316,7 +316,8 @@ about_dialog_load_logo (GtkWidget *window)
if (logo_pixmap)
return TRUE;
filename = g_build_filename (gimp_data_directory (), "gimp_logo.ppm", NULL);
filename = g_build_filename (gimp_data_directory (), "images",
"gimp_logo.ppm", NULL);
fp = fopen (filename, "rb");
g_free (filename);

View File

@ -218,7 +218,8 @@ splash_logo_load_size (GtkWidget *window)
if (logo_pixmap)
return TRUE;
filename = g_build_filename (gimp_data_directory (), "gimp_splash.ppm", NULL);
filename = g_build_filename (gimp_data_directory (), "images",
"gimp_splash.ppm", NULL);
fp = fopen (filename, "rb");
@ -258,7 +259,8 @@ splash_logo_load (void)
if (! win_initstatus || logo_pixmap || ! splash_show_logo)
return;
filename = g_build_filename (gimp_data_directory (), "gimp_splash.ppm", NULL);
filename = g_build_filename (gimp_data_directory (), "images",
"gimp_splash.ppm", NULL);
fp = fopen (filename, "rb");

View File

@ -923,7 +923,8 @@ user_install_run (void)
gint err;
gboolean executable = TRUE;
filename = g_build_filename (gimp_data_directory (), USER_INSTALL, NULL);
filename = g_build_filename (gimp_data_directory (), "misc",
USER_INSTALL, NULL);
if ((err = stat (filename, &stat_buf)) != 0)
{
@ -973,7 +974,8 @@ user_install_run (void)
g_free (filename);
filename = g_build_filename (quoted_data_dir, USER_INSTALL, NULL);
filename = g_build_filename (quoted_data_dir, "misc",
USER_INSTALL, NULL);
command = g_strdup_printf ("%s %s %s %s",
filename,

View File

@ -825,8 +825,6 @@ AC_SUBST(GIMP_MODULES)
dnl Output the Makefiles
AC_OUTPUT([
gimprc
gimprc_user
gimptool-1.4
gimp.spec
Makefile
@ -925,10 +923,15 @@ themes/Default/Makefile
themes/Default/images/Makefile
themes/Default/images/tools/Makefile
data/Makefile
data/misc/Makefile
data/images/Makefile
data/brushes/Makefile
data/gradients/Makefile
data/palettes/Makefile
data/patterns/Makefile
etc/Makefile
etc/gimprc
etc/gimprc_user
m4macros/Makefile
po/Makefile.in
po-libgimp/Makefile.in

View File

@ -1,5 +1,8 @@
## Makefile.am for gimp/data
SUBDIRS = brushes gradients palettes patterns
SUBDIRS = misc images brushes gradients palettes patterns
EXTRA_DIST = AUTHORS ChangeLog README
EXTRA_DIST = \
AUTHORS \
ChangeLog \
README

2
data/images/.cvsignore Normal file
View File

@ -0,0 +1,2 @@
Makefile.in
Makefile

9
data/images/Makefile.am Normal file
View File

@ -0,0 +1,9 @@
## Makefile.am for gimp/data/images
imagedatadir = $(gimpdatadir)/images
imagedata_DATA = \
gimp_logo.ppm \
gimp_splash.ppm
EXTRA_DIST = $(imagedata_DATA)

2
data/misc/.cvsignore Normal file
View File

@ -0,0 +1,2 @@
Makefile.in
Makefile

11
data/misc/Makefile.am Normal file
View File

@ -0,0 +1,11 @@
## Makefile.am for gimp/data/misc
miscdatadir = $(gimpdatadir)/misc
miscdata_SCRIPTS = \
user_install
EXTRA_DIST =
$(miscdata_SCRIPTS) \
user_install.bat \
rmshm

4
etc/.cvsignore Normal file
View File

@ -0,0 +1,4 @@
Makefile
Makefile.in
gimprc
gimprc_user

16
etc/Makefile.am Normal file
View File

@ -0,0 +1,16 @@
## Makefile.am for gimp/etc
gimpsysconf_DATA = \
gimprc \
gimprc_user \
gtkrc_user \
unitrc \
ps-menurc
EXTRA_DIST = \
gimprc.in \
gimprc_user.in \
gimprc.win32 \
gtkrc_user \
unitrc \
ps-menurc

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

337
gimprc.in
View File

@ -1,337 +0,0 @@
# This is the system-wide gimprc file. Any change made in this file
# will affect all users of this system, provided that they are not
# overriding the default values in their personal gimprc file.
#
# Lines that start with a '#' are comments.
# Blank lines are ignored.
# The variable gimp_dir is set to either the interned value
# @gimpdir@ or the environment variable GIMP_DIRECTORY. If
# the path in GIMP_DIRECTORY is relative, it is considered
# relative to your home directory.
(prefix "@prefix@")
(exec_prefix "@exec_prefix@")
(gimp_data_dir "@gimpdatadir@")
(gimp_plugin_dir "@gimpplugindir@")
# Set the temporary storage directory...files will appear here
# during the course of running the gimp. Most files will disappear
# when the gimp exits, but some files are likely to remain,
# such as working palette files, so it is best if this directory
# not be one that is shared by other users or is cleared on machine
# reboot such as /tmp.
(temp-path "${gimp_dir}/tmp")
# Set the swap file location. The gimp uses a tile based memory
# allocation scheme. The swap file is used to quickly and easily
# swap files out to disk and back in. Be aware that the swap file
# can easily get very large if the gimp is used with large images.
# Also, things can get horribly slow if the swap file is created on
# a directory that is mounted over NFS. For these reasons, it may
# be desirable to put your swap file in "/tmp".
(swap-path "${gimp_dir}")
# Set the brush search path...this path will be searched for valid
# brushes at startup.
(brush-path "${gimp_dir}/brushes:${gimp_data_dir}/brushes")
# Specify a default brush. If none is specified it defaults to the
# "1circle.gbr" brush which is just a single pixel sized brush.
# The brush is searched for in the brush path.
(default-brush "Circle (19)")
# Set the pattern search path...this path will be searched for valid
# patterns at startup.
(pattern-path "${gimp_dir}/patterns:${gimp_data_dir}/patterns")
# Specify a default pattern.
# The pattern is searched for in the specified pattern paths.
(default-pattern "Pine?")
# Set the palette search path...this path will be searched for valid
# palettes at startup.
(palette-path "${gimp_dir}/palettes")
# Specify a default palette.
# The pattern is searched for in the specified pattern paths.
(default-palette "Default")
# Set the gradient search path...this path will be searched for valid
# gradients at startup.
(gradient-path "${gimp_dir}/gradients:${gimp_data_dir}/gradients")
# Specify a default gradient.
# The gradient is searched for in the specified gradient paths.
(default-gradient "German_flag_smooth")
# Set the plug-in search path...this path will be searched for
# plug-ins when the plug-in is run.
(plug-in-path "${gimp_dir}/plug-ins:${gimp_plugin_dir}/plug-ins")
# Set the path for the script-fu plug-in. This value is ignored by
# the GIMP if the script-fu plug-in is never run.
(script-fu-path "${gimp_dir}/scripts:${gimp_data_dir}/scripts")
# Set the path to modules that are to be initialized at startup
(module-path "${gimp_dir}/modules:${gimp_plugin_dir}/modules")
# Specify a theme for the GUI. If none is specified it defaults to "Default"
(theme "Default")
# Set the theme path.
(theme-path "${gimp_dir}/themes:${gimp_data_dir}/themes")
# The tile cache is used to make sure the gimp doesn't thrash
# tiles between memory and disk. Setting this value higher will
# cause the gimp to use less swap space, but will also cause
# the gimp to use more memory. Conversely, a smaller cache size
# causes the gimp to use more swap space and less memory.
# Note: the gimp will still run even if `tile-cache-size' is
# set to 0. The actual size can contain a suffix of 'm', 'M',
# 'k', 'K', 'b' or 'B', which makes the gimp interpret the
# size as being specified in megabytes, kilobytes and bytes
# respectively. If no suffix is specified the size defaults to
# being specified in kilobytes.
(tile-cache-size 32m)
# Speed of marching ants in the selection outline
# this value is in milliseconds
# (less time indicates faster marching)
(marching-ants-speed 300)
# Set the number of operations kept on the undo stack
(undo-levels 5)
# Set the minimal number of colors for dithering on 8-bit displays.
# If the GIMP cannot allocate at least this number of colors, a
# private colormap will be allocated, resulting in colormap "flashing".
# The default value of 144 corresponds to a "color cube" of 6*6*4 colors
# where the 3 values stand for shades of red, green and blue.
# Multiplying the # of shades of each primary color yields
# the total number of colors that will be allocated for the
# GIMP colormap.
# This number must not exceed 256. Most of the colors remaining after
# the allocation of the colorcube will be left to the system palette
# in an effort to reduce colormap "flashing".
# Note that setting this value to something higher than 216 (6*6*6)
# will not work with Gtk versions lower than 1.2.8.
(min-colors 144)
# Install a private GIMP colormap by default -- only for 8-bit displays
# (install-colormap)
# Specify that marching ants for selected regions will be drawn
# with colormap cycling as oposed to redrawing with different stipple masks
# this color cycling option works only with 8-bit displays
# (colormap-cycling)
# Tools such as fuzzy-select and bucket fill find regions based on a
# seed-fill algorithm. The seed fill starts at the intially selected
# pixel and progresses in all directions until the difference of pixel
# intensity from the original is greater than a specified threshold
# ==> This value represents the default threshold
(default-threshold 15)
# There is always a tradeoff between memory usage and speed. In most
# cases, the GIMP opts for speed over memory. However, if memory is
# a big issue, set stingy-memory-use
# (stingy-memory-use)
# When zooming into and out of images, this option enables the
# automatic resizing of windows
# (allow-resize-windows)
# Context-dependent cursors are cool. They are enabled by default.
# However, they require overhead that you may want to do without.
# Uncomment this line to disable them.
# (no-cursor-updating)
# Layer preview sizes (also used for the Undo History):
# none: no previews in layers dialog/layer selector
# tiny: 24x24
# small: 32x32
# medium: 48x48
# large: 64x64
# huge: 128x128
# #: #x#
(preview-size small)
# Navigation window preview sizes:
# small: 48x48
# medium: 80x80
# large: 112x112
# #: #x#
(nav-preview-size large)
# Tooltips
# Comment this out to disable the tooltips in the toolbox
# (dont-show-tool-tips)
# Help System
# Comment this out to disable context-sensitive help with F1 key
# (dont-use-help)
# Controlling ruler visibility
# The default behavior is for rulers to be ON.
# This can also be toggled with the View->Toggle Rulers command
# or shift+control+r
# (dont-show-rulers)
# Controlling statusbar visibility
# The default behavior is to show the statusbar.
# This can also be toggled with the View->Toggle Statusbar command
# or shift+control+s
# (dont-show-statusbar)
# Default units
# This is the default unit of a new image. It will appear in the
# File/New dialog and will be the unit for coordinate display when
# dot-for-dot is off.
# The default units can be one of:
# (inches millimeters points picas) plus those in your user units database
# The default is inches
(default-units inches)
# Default Resolution units
# This is used to specify the resolution of a new image
# The units for the resolution can be one of:
# (inches millimeters points picas) plus those in your user units database
# The default is inches
(default-resolution-units inches)
# Default Resolution
# This is the default resolution of a new image in dpi
# The default is 72.0 dpi in both x and y direction
(default-xresolution 72.0)
(default-yresolution 72.0)
# Disable auto saving
# Auto saving is not yet implemented! Nothing will be auto-saved, no matter
# how you set this here.
# Just uncomment the line below...
# (dont-auto-save)
# Disable confirmation before closing an image without saving
# Just uncomment the next line
# (dont-confirm-on-close)
# By default GIMP remembers the positions and sizes of the main dialogs and
# advices your window-manager to place them there again the next time you
# use the GIMP. To disable this behaviour, uncomment the line below...
# (dont-save-session-info)
# Session managment
# To let GIMP try to restore your last saved session,
# just uncomment the line below...
(always-restore-session)
# Setting the level of interpolation
# Uncommenting this line will enable cubic interpolation.
# By default, GIMP uses linear interpolation, which is faster, but
# has poorer quality
# (cubic-interpolation)
# Set the gamma correction values for the display
# 1.0 corresponds to no gamma correction. For most displays,
# gamma correction should be set to between 2.0 and 2.6
# Run the utility "gamma_correct" to determine appropriate values
# for your display.
#
# One important item to keep in mind: Many images that you might
# get from outside sources will in all likelihood already be
# gamma-corrected. In these cases, the image will look washed-out
# if the gimp has gamma-correction turned on. If you are going
# to work with images of this sort, turn gamma correction off
# by removing this line, or setting the values to 1.0.
# gamma-correction 1.0
# gamma-correction 2.0
#
(gamma-correction 1.0)
# Set the manner in which transparency is displayed in images
# Transparency type can be one of:
# 0: Light Checks
# 1: Mid-Tone Checks
# 2: Dark Checks
# 3: White Only
# 4: Gray Only
# 5: Black Only
# Check size can be one of:
# 0: Small
# 1: Medium
# 2: Large
(transparency-type 1)
(transparency-size 2)
# This string sets how image window titles are formatted.
# The following percent expansions are performed:
# %% literal percent sign
# %f bare filename, or "Untitled"
# %F full path to file
# %p PDB image id
# %i view instance number
# %t image type (RGB, indexed, greyscale)
# %z zoom factor as a percentage
# %s source scale factor
# %d destination scale factor
# %Dx expands to x if the image is dirty
# See gimprc(5) for further details.
(image-title-format "%D*%f-%p.%i (%t) %z%%")
# Global paint options
# By default options for the paint tools are local, e.g. all paint tools
# use the options you specify in their tool options dialog. If you wish
# to have global settings in the brushes dialog that affect all paint tools,
# you can change this by uncommenting the next line.
# (global-paint-options)
# Maximal new image size
# To prevent mistakes Gimp will warn you if you try to create a very large
# image. The default maximum memory consumption of the new image that
# triggers the warning is 32MB.
(max-new-image-size 32M)
# Trust dirty flag
# Gimp tries to keep track of changes to an image. If you trust this
# behaviour, nothing will happen if you save an unchanged image. By default
# this is turned off.
# Just uncomment the following line if you trust the dirty flag.
# (trust-dirty-flag)
# Perfect mouse tracking
# GIMP attempts to keep up with the motion of the pointer when
# painting, but when a painting operation is particularly CPU
# intensive the GIMP will miss the subtlety of your painting
# motion and render overly-angular strokes. Enabling 'perfect
# mouse tracking' allows GIMP to track your painting motion
# more evenly, at the expense of lagging behind your brush at
# times of CPU stress.
(perfect-mouse yes)
# Help browser
# Determines which program to use as browser for the GIMP help pages.
# Possible values are "gimp" which means the built-in help browser
# which comes with GIMP as a plug-in and "netscape" which will show
# the help pages using the "netscape-remote" command.
(help-browser gimp)
# Fractalexplorer path
# This path will be searched for fractals when you use the Fractalexplorer
# plug-in.
(fractalexplorer-path "${gimp_dir}/fractalexplorer:${gimp_data_dir}/fractalexplorer")
# Gfig search path
# This path will be searched for Gfig figures when you use the Gfig plug-in.
(gfig-path "${gimp_dir}/gfig:${gimp_data_dir}/gfig")
# GFlare path
# This path will be searched for gflares when you use the GFlare plug-in.
(gflare-path "${gimp_dir}/gflare:${gimp_data_dir}/gflare")
# Gimpressionist path
# This path will be searched for data when you use the Gimpressionist plug-in.
(gimpressionist-path "${gimp_dir}/gimpressionist:${gimp_data_dir}/gimpressionist")
# [end of file]

View File

@ -1,345 +0,0 @@
# This is the system-wide gimprc file. Any change made in this file
# will affect all users of this system, provided that they are not
# overriding the default values in their personal gimprc file.
#
# Lines that start with a '#' are comments.
# Blank lines are ignored.
# The variable gimp_dir refers to your personal gimp directory. It is
# set to either the value _gimp1.2 or the value of the environment
# variable GIMP_DIRECTORY. If the path in gimp_dir is relative, it is
# considered relative to your home directory (value of environment
# variable %HOME%, or %HOMEDRIVE%:%HOMEPATH%). If you don't have a
# home directory (typical on Windows systems), gimp_dir refers to
# directory in the GIMP installation directory.
# The variable gimp_install_dir is set to the directory where the gimp
# was installed.
(exec_prefix "${gimp_install_dir}\\bin")
(gimp_data_dir "${gimp_install_dir}")
(gimp_plugin_dir "${gimp_install_dir}")
# Set the temporary storage directory...files will appear here
# during the course of running the gimp. Most files will disappear
# when the gimp exits, but some files are likely to remain,
# such as working palette files, so it is best if this directory
# not be one that is shared by other users or is cleared on machine
# reboot such as /tmp.
(temp-path "${TEMP}")
# Set the swap file location. The gimp uses a tile based memory
# allocation scheme. The swap file is used to quickly and easily
# swap files out to disk and back in. Be aware that the swap file
# can easily get very large if the gimp is used with large images.
# Also, things can get horribly slow if the swap file is created on
# a directory that is mounted over NFS. For these reasons, it may
# be desirable to put your swap file in "/tmp".
(swap-path "${TEMP}")
# Set the brush search path...this path will be searched for valid
# brushes at startup.
(brush-path "${gimp_dir}\\brushes;${gimp_data_dir}\\brushes")
# Set the generated brush search path...this path will be searched for valid
# generated brushes at startup.
(brush-vbr-path "${gimp_dir}\\generated_brushes")
# Specify a default brush. If none is specified it defaults to the
# "1circle.gbr" brush which is just a single pixel sized brush.
# The brush is searched for in the brush path.
(default-brush "Circle (19)")
# Set the pattern search path...this path will be searched for valid
# patterns at startup.
(pattern-path "${gimp_dir}\\patterns;${gimp_data_dir}\\patterns")
# Specify a default pattern.
# The pattern is searched for in the specified pattern paths.
(default-pattern "Pine?")
# Set the palette search path...this path will be searched for valid
# palettes at startup.
(palette-path "${gimp_dir}\\palettes")
# Specify a default palette.
# The pattern is searched for in the specified pattern paths.
(default-palette "Default")
# Set the gradient search path...this path will be searched for valid
# gradients at startup.
(gradient-path "${gimp_dir}\\gradients;${gimp_data_dir}\\gradients")
# Specify a default gradient.
# The gradient is searched for in the specified gradient paths.
(default-gradient "German_flag_smooth")
# Set the plug-in search path...this path will be searched for
# plug-ins when the plug-in is run.
(plug-in-path "${gimp_dir}\\plug-ins;${gimp_plugin_dir}\\plug-ins")
# Set the path for the script-fu plug-in. This value is ignored by
# the GIMP if the script-fu plug-in is never run.
(script-fu-path "${gimp_dir}\\scripts;${gimp_data_dir}\\scripts")
# Set the path to modules that are to be initialized at startup
(module-path "${gimp_dir}\\modules;${gimp_plugin_dir}\\modules")
# Specify a theme for the GUI. If none is specified it defaults to "Default"
(theme "Default")
# Set the theme path.
(theme-path "${gimp_dir}\\themes:${gimp_data_dir}\\themes")
# The tile cache is used to make sure the gimp doesn't thrash
# tiles between memory and disk. Setting this value higher will
# cause the gimp to use less swap space, but will also cause
# the gimp to use more memory. Conversely, a smaller cache size
# causes the gimp to use more swap space and less memory.
# Note: the gimp will still run even if `tile-cache-size' is
# set to 0. The actual size can contain a suffix of 'm', 'M',
# 'k', 'K', 'b' or 'B', which makes the gimp interpret the
# size as being specified in megabytes, kilobytes and bytes
# respectively. If no suffix is specified the size defaults to
# being specified in kilobytes.
(tile-cache-size 32m)
# Speed of marching ants in the selection outline
# this value is in milliseconds
# (less time indicates faster marching)
(marching-ants-speed 300)
# Set the number of operations kept on the undo stack
(undo-levels 5)
# Set the minimal number of colors for dithering on 8-bit displays.
# If the GIMP cannot allocate at least this number of colors, a
# private colormap will be allocated, resulting in colormap "flashing".
# The default value of 144 corresponds to a "color cube" of 6*6*4 colors
# where the 3 values stand for shades of red, green and blue.
# Multiplying the # of shades of each primary color yields
# the total number of colors that will be allocated for the
# GIMP colormap.
# This number must not exceed 256. Most of the colors remaining after
# the allocation of the colorcube will be left to the system palette
# in an effort to reduce colormap "flashing".
# Note that setting this value to something higher than 216 (6*6*6)
# will not work with Gtk versions lower than 1.2.8.
(min-colors 144)
# Install a private GIMP colormap by default -- only for 8-bit displays
# (install-colormap)
# Specify that marching ants for selected regions will be drawn
# with colormap cycling as oposed to redrawing with different stipple masks
# this color cycling option works only with 8-bit displays
# (colormap-cycling)
# Tools such as fuzzy-select and bucket fill find regions based on a
# seed-fill algorithm. The seed fill starts at the intially selected
# pixel and progresses in all directions until the difference of pixel
# intensity from the original is greater than a specified threshold
# ==> This value represents the default threshold
(default-threshold 15)
# There is always a tradeoff between memory usage and speed. In most
# cases, the GIMP opts for speed over memory. However, if memory is
# a big issue, set stingy-memory-use
# (stingy-memory-use)
# When zooming into and out of images, this option enables the
# automatic resizing of windows
# (allow-resize-windows)
# Context-dependent cursors are cool. They are enabled by default.
# However, they require overhead that you may want to do without.
# Uncomment this line to disable them.
# (no-cursor-updating)
# Layer preview sizes (also used for the Undo History):
# none: no previews in layers dialog/layer selector
# tiny: 24x24
# small: 32x32
# medium: 48x48
# large: 64x64
# huge: 128x128
# #: #x#
(preview-size small)
# Navigation window preview sizes:
# small: 48x48
# medium: 80x80
# large: 112x112
# #: #x#
(nav-preview-size large)
# Tooltips
# Comment this out to disable the tooltips in the toolbox
# (dont-show-tool-tips)
# Help System
# Comment this out to disable context-sensitive help with F1 key
# (dont-use-help)
# Controlling ruler visibility
# The default behavior is for rulers to be ON.
# This can also be toggled with the View->Toggle Rulers command
# or shift+control+r
# (dont-show-rulers)
# Controlling statusbar visibility
# The default behavior is to show the statusbar.
# This can also be toggled with the View->Toggle Statusbar command
# or shift+control+s
# (dont-show-statusbar)
# Default units
# This is the default unit of a new image. It will appear in the
# File/New dialog and will be the unit for coordinate display when
# dot-for-dot is off.
# The default units can be one of:
# (inches millimeters points picas) plus those in your user units database
# The default is inches
(default-units inches)
# Default Resolution units
# This is used to specify the resolution of a new image
# The units for the resolution can be one of:
# (inches millimeters points picas) plus those in your user units database
# The default is inches
(default-resolution-units inches)
# Default Resolution
# This is the default resolution of a new image in dpi
# The default is 72.0 dpi in both x and y direction
(default-xresolution 72.0)
(default-yresolution 72.0)
# Disable auto saving
# Auto saving is not yet implemented! Nothing will be auto-saved, no matter
# how you set this here.
# Just uncomment the line below...
# (dont-auto-save)
# Disable confirmation before closing an image without saving
# Just uncomment the next line
# (dont-confirm-on-close)
# By default GIMP remembers the positions and sizes of the main dialogs and
# advices your window-manager to place them there again the next time you
# use the GIMP. To disable this behaviour, uncomment the line below...
# (dont-save-session-info)
# Session managment
# To let GIMP try to restore your last saved session,
# just uncomment the line below...
(always-restore-session)
# Setting the level of interpolation
# Uncommenting this line will enable cubic interpolation.
# By default, GIMP uses linear interpolation, which is faster, but
# has poorer quality
# (cubic-interpolation)
# Set the gamma correction values for the display
# 1.0 corresponds to no gamma correction. For most displays,
# gamma correction should be set to between 2.0 and 2.6
# Run the utility "gamma_correct" to determine appropriate values
# for your display.
#
# One important item to keep in mind: Many images that you might
# get from outside sources will in all likelihood already be
# gamma-corrected. In these cases, the image will look washed-out
# if the gimp has gamma-correction turned on. If you are going
# to work with images of this sort, turn gamma correction off
# by removing this line, or setting the values to 1.0.
# gamma-correction 1.0
# gamma-correction 2.0
#
(gamma-correction 1.0)
# Set the manner in which transparency is displayed in images
# Transparency type can be one of:
# 0: Light Checks
# 1: Mid-Tone Checks
# 2: Dark Checks
# 3: White Only
# 4: Gray Only
# 5: Black Only
# Check size can be one of:
# 0: Small
# 1: Medium
# 2: Large
(transparency-type 1)
(transparency-size 2)
# This string sets how image window titles are formatted.
# The following percent expansions are performed:
# %% literal percent sign
# %f bare filename, or "Untitled"
# %F full path to file
# %p PDB image id
# %i view instance number
# %t image type (RGB, indexed, greyscale)
# %z zoom factor as a percentage
# %s source scale factor
# %d destination scale factor
# %Dx expands to x if the image is dirty
# See gimprc(5) for further details.
(image-title-format "%D*%f-%p.%i (%t) %z%%")
# Global paint options
# By default options for the paint tools are local, e.g. all paint tools
# use the options you specify in their tool options dialog. If you wish
# to have global settings in the brushes dialog that affect all paint tools,
# you can change this by uncommenting the next line.
# (global-paint-options)
# Maximal new image size
# To prevent mistakes Gimp will warn you if you try to create a very large
# image. The default maximum memory consumption of the new image that
# triggers the warning is 32MB.
(max-new-image-size 32M)
# Trust dirty flag
# Gimp tries to keep track of changes to an image. If you trust this
# behaviour, nothing will happen if you save an unchanged image. By default
# this is turned off.
# Just uncomment the following line if you trust the dirty flag.
# (trust-dirty-flag)
# Perfect mouse tracking
# GIMP attempts to keep up with the motion of the pointer when
# painting, but when a painting operation is particularly CPU
# intensive the GIMP will miss the subtlety of your painting
# motion and render overly-angular strokes. Enabling 'perfect
# mouse tracking' allows GIMP to track your painting motion
# more evenly, at the expense of lagging behind your brush at
# times of CPU stress.
(perfect-mouse yes)
# Help browser
# Determines which program to use as browser for the GIMP help pages.
# The only possible value on Win32 is "netscape" which will show
# the help pages using your default web browser.
(help-browser netscape)
# Fractalexplorer path
# This path will be searched for fractals when you use the Fractalexplorer
# plug-in.
(fractalexplorer-path "${gimp_dir}\\fractalexplorer;${gimp_data_dir}\\fractalexplorer")
# Gfig search path
# This path will be searched for Gfig figures when you use the Gfig plug-in.
(gfig-path "${gimp_dir}\\gfig;${gimp_data_dir}\\gfig")
# GFlare path
# This path will be searched for gflares when you use the GFlare plug-in.
(gflare-path "${gimp_dir}\\gflare;${gimp_data_dir}\\gflare")
# Gimpressionist path
# This path will be searched for data when you use the Gimpressionist plug-in.
(gimpressionist-path "${gimp_dir}\\gimpressionist;${gimp_data_dir}\\gimpressionist")
# [end of file]

View File

@ -1,18 +0,0 @@
# This is your personal gimprc file. Any variable defined in this file
# takes precedence over the value defined in the system-wide gimprc:
# @gimpdatadir@/gimprc
# (where ${prefix} is @prefix@)
# Take a look at that file if you want to see some of the options that
# can be set here.
# Most values can be set automatically within the GIMP, if you press
# the "save" button after changing some options in the Preferences
# dialog box. You can also edit this file by hand, and the GIMP will
# always try to do the right thing when saving new options after you
# have edited this file.
(show-tips yes)
# Install a GIMP colormap by default -- only for 8-bit displays
# (install-colormap)

View File

@ -1,13 +0,0 @@
# pixmap_path "<dir 1>:<dir 2>:<dir 3>:..."
#
# include "rc-file"
#
# style <name> [= <name>]
# {
# <option>
# }
#
# widget <widget_set> style <style_name>
# widget_class <widget_class_set> style <style_name>
# You can add your own GIMP-specific GTK styles here.

View File

@ -1,39 +0,0 @@
(menu-path "<Image>/Image/Colors/Curves" "<control>M")
(menu-path "<Image>/Select/Invert" "<control><shift>I")
(menu-path "<Image>/Select/Sharpen" "")
(menu-path "<Image>/Select/Feather" "<control><shift>D")
(menu-path "<Image>/Tools/Eraser" "")
(menu-path "<Image>/View/<check>Toggle Guides" "<control>;")
(menu-path "<Image>/Image/Colors/Invert" "<control>I")
(menu-path "<Image>/View/Shrink Wrap" "")
(menu-path "<Image>/Image/Colors/Color Balance" "<control>B")
(menu-path "<Image>/Edit/Paste Into" "<control><shift>V")
(menu-path "<Image>/View/<check>Snap To Guides" "<control><shift>:")
(menu-path "<Image>/Select/Toggle" "")
(menu-path "<Image>/Select/Float" "")
(menu-path "<Image>/View/Zoom In" "<control><shift>+")
(menu-path "<Image>/Layers/Raise Layer" "<control>]")
(menu-path "<Image>/Edit/Cut Named" "")
(menu-path "<Image>/Image/Colors/Desaturate" "<control><shift>U")
(menu-path "<Image>/Image/Colors/Hue-Saturation" "<control>U")
(menu-path "<Image>/Edit/Redo" "<control><shift>Z")
(menu-path "<Image>/Filters/Repeat last" "<control>F")
(menu-path "<Image>/View/Zoom Out" "<control>-")
(menu-path "<Image>/Layers/Lower Layer" "<control>[")
(menu-path "<Image>/Select/None" "<control>D")
(menu-path "<Image>/File/Save" "<control>S")
(menu-path "<Image>/File/Save as" "<control><shift>S")
(menu-path "<Image>/Dialogs/Palette..." "")
(menu-path "<Image>/Layers/Layers & Channels..." "")
(menu-path "<Image>/Dialogs/Layers & Channels..." "")
(menu-path "<Image>/Image/Colors/Levels" "<control>L")
(menu-path "<Image>/Image/Channel Ops/Duplicate" "")
(menu-path "<Image>/Edit/Paste Named" "")
(menu-path "<Image>/Edit/Copy Named" "")
(menu-path "<Image>/File/Print..." "<control>P")
(menu-path "<Image>/View/Window Info..." "")
(menu-path "<Image>/Edit/Clear" "")
(menu-path "<Image>/Layers/Merge Visible Layers" "<control><shift>E")
(menu-path "<Image>/View/<check>Toggle Rulers" "<control>R")
(menu-path "<Image>/File/Preferences..." "<control>K")
(menu-path "<Image>/Filters/Re-show last" "<control><alt>F")

16
rmshm
View File

@ -1,16 +0,0 @@
#!/bin/sh
user=`whoami`
if test `uname` = "Linux"; then
shmids=`ipcs -m | grep $user | awk '{ print $1 }'`
IPCRM="ipcrm shm"
else
shmids=`ipcs -m | grep $user | awk '{ print $2 }'`
IPCRM="ipcrm -m"
fi
for id in $shmids; do
echo removing shared memory segment: $id
$IPCRM $id
done

54
unitrc
View File

@ -1,54 +0,0 @@
# GIMP unitrc
# This file contains your user unit database. You can
# modify this list with the unit editor. You are not
# supposed to edit it manually, but of course you can do.
# This file will be entirely rewritten every time
# you quit the gimp.
(unit-info "centimeters"
(factor 2.540000)
(digits 2)
(symbol "cm")
(abbreviation "cm")
(singular "centimeter")
(plural "centimeters"))
(unit-info "meters"
(factor 0.025400)
(digits 4)
(symbol "m")
(abbreviation "m")
(singular "meter")
(plural "meters"))
(unit-info "feet"
(factor 0.083333)
(digits 4)
(symbol "'")
(abbreviation "ft")
(singular "foot")
(plural "feet"))
(unit-info "yards"
(factor 0.027778)
(digits 4)
(symbol "yd")
(abbreviation "yd")
(singular "yard")
(plural "yards"))
(unit-info "typogr. points"
(factor 72.270000)
(digits 0)
(symbol "tpt")
(abbreviation "tpt")
(singular "typogr. point")
(plural "typogr. points"))
(unit-info "typogr. picas"
(factor 6.022500)
(digits 1)
(symbol "tpc")
(abbreviation "tpc")
(singular "typogr. pica")
(plural "typogr. picas"))

View File

@ -1,62 +0,0 @@
#!/bin/sh
# Script to perform the default installation steps for the
# specified user home directory.
#
# 1) Create ~/.gimp-1.2 if it doesn't exist
# 2) Copy system gimprc file to ~/.gimp-1.2
# 3) Create brushes, gradients, palettes, patterns, plug-ins subdirs
# 4) Create the tmp subdirectory for disk-swapping undo buffers
# 5) Copy the palette files in system palette directory
#
echo "mkdir $2"
mkdir $2
echo "cp $3/gimprc_user $2/gimprc"
cp $3/gimprc_user $2/gimprc
echo "cp $3/unitrc $2/unitrc"
cp $3/unitrc $2/unitrc
echo "cp $3/gtkrc_user $2/gtkrc"
cp $3/gtkrc_user $2/gtkrc
echo "mkdir $2/themes"
mkdir $2/themes
echo "mkdir $2/brushes"
mkdir $2/brushes
echo "mkdir $2/gradients"
mkdir $2/gradients
echo "mkdir $2/palettes"
mkdir $2/palettes
echo "cp $1/palettes/* $2/palettes"
cp $1/palettes/* $2/palettes
echo "mkdir $2/patterns"
mkdir $2/patterns
echo "mkdir $2/plug-ins"
mkdir $2/plug-ins
echo "mkdir $2/modules"
mkdir $2/modules
echo "mkdir $2/scripts"
mkdir $2/scripts
echo "mkdir $2/tmp"
mkdir $2/tmp
echo "mkdir $2/curves"
mkdir $2/curves
echo "mkdir $2/levels"
mkdir $2/levels
echo "mkdir $2/fractalexplorer"
mkdir $2/fractalexplorer
echo "mkdir $2/gfig"
mkdir $2/gfig
echo "mkdir $2/gflare"
mkdir $2/gflare
echo "mkdir $2/gimpressionist"
mkdir $2/gimpressionist
echo "mkdir $2/gimpressionist/Brushes"
mkdir $2/gimpressionist/Brushes
echo "mkdir $2/gimpressionist/Paper"
mkdir $2/gimpressionist/Paper
echo "mkdir $2/gimpressionist/Presets"
mkdir $2/gimpressionist/Presets

View File

@ -1,25 +0,0 @@
@REM This file is executed by the GIMP. Do NOT run this yourself.
@echo off
mkdir %2
copy %3\gimprc_user %2\gimprc
copy %3\unitrc %2\unitrc
copy %3\gtkrc_user %2\gtkrc
mkdir %2\themes
mkdir %2\brushes
mkdir %2\gradients
mkdir %2\palettes
mkdir %2\patterns
mkdir %2\plug-ins
mkdir %2\modules
mkdir %2\scripts
mkdir %2\gfig
mkdir %2\gflare
mkdir %2\fractalexplorer
mkdir %2\gimpressionist
mkdir %2\gimpressionist\Brushes
mkdir %2\gimpressionist\Paper
mkdir %2\gimpressionist\Presets
mkdir %2\levels
mkdir %2\curves
pause