Re: [Gimp-developer] removing duplicate names from our data collection

2003-11-20 Thread Sven Neumann
Hi,

"Steven P. Ulrick" <[EMAIL PROTECTED]> writes:

>Could you please send me, or tell me how to get, the files that I
> would need to rename,

The files are in the GIMP source tree, preferably the latest released
tarball (1.3.22) or a CVS checkout. We are talking about the standard
set of brushes, patterns, gradients, palettes, ... that live in the
data directory in the GIMP source tree. These files are installed to a
systemwide GIMP data directory and that's what you see when you look
at the brushes, patterns, gradients, palettes views.

> and then give me a reasonably detailed description of what you want?

The task is to make sure that no two items of the same type share the
same name. So far I only know of a handful of brushes with duplicate
names. There might be others though and someone should check for this.

GIMP data files are either easily editable text file (gradients,
palettes, ...) or binary files (brushes, patterns, ...). GIMP can open
the latter formats as an image format. This means you can open a GIMP
brush as an image simply by opening it just like any other image file.
When you save the brush (or pattern, ...) using "Save As", you will
get to a dialog that allows you to change some parameters including
the name. This is described in more detail in:

 http://www.linuxfocus.org/English/November2003/article314.shtml

So, there are the tools you need to rename our data files. It might be
worthwhile to not only check for duplicates but also to attempt to
unify the style used for the names. For example, do they all start
with a capital letter?


Sven

___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-developer] removing duplicate names from our data collection

2003-11-20 Thread Steven P. Ulrick
On 20 Nov 2003 16:12:47 +0100
Sven Neumann <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> here's an easy task for a potential contributor: At the moment a few
> of the brushes (and perhaps other data files as well) that we
> distribute with the GIMP tarball, have the same name. An example are
> the three "Pencil Sketch" brushes which should probably have the pixel
> size added to their names.
> 
> GIMP takes care of duplicate names and adds #n to the name so that
> every brush has a unique name. It would of course be a lot better if
> we wouldn't distribute files with duplicate names. So if someone wants
> to contribute but hesitated to do so because of lack of coding skills,
> here's a job that doesn't require any. All you need to do is to
> identify duplicates, open the respective files and save them with
> unique names. Then send me a tarball of the files that needed to be
> changed. Please let the list know if you are interested so we avoid
> multiple people working on this at the same time.
> 
> 
> Sven

Hello, Sven :)
   Could you please send me, or tell me how to get, the files that I
would need to rename, and then give me a reasonably detailed description
of what you want?  I would love to help, and I definitely fit the bill
of not having any coding experience, but in the interest of excellence,
I would like to have the above requested information before I commit to
this task.
   I truly hope to be able to help you with this.  If I understand the
description you gave in the above quoted message, this might be right up
my alley :)

Have a Great Day :)
Steven P. Ulrick
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer