<?xml version="1.0" ?>

<kc>

<title>Gimp Traffic</title>

<author contact="mailto:alexh@dowco.com">Alex Harford</author>

<issue num="22" date="05 Jun 2000 00:00:00 -0800" />

<intro>

<p>Yosh announced yet another 1.2 Pre-Release.  It can be downloaded from <a
href="ftp://ftp.gimp.org/pub/gimp/v1.1/v1.1.23/">ftp://ftp.gimp.org/pub/gimp/v1.1/v1.1.23/</a></p>

<p>If you haven't downloaded your 1.1 version yet, please do so now.  It is
important that all the bugs get found so the developers can release 1.2!</p>

<stats posts="53" size="161" contrib="37" multiples="11" lastweek="4">

<person posts="4" size="10" who="Marco Lamberto &lt;lm@geocities.com&gt;" />
<person posts="3" size="9" who="Martin Baulig &lt;martin@home-of-linux.org&gt;" />
<person posts="3" size="9" who="Marc Lehmann &lt;pcg@goof.com&gt;" />
<person posts="3" size="7" who="Havoc Pennington &lt;hp@redhat.com&gt;" />
<person posts="2" size="7" who="quinet@gamers.org (Raphael Quinet)" />
<person posts="2" size="7" who="Kevin Turner &lt;acapnotic@users.sourceforge.net&gt;" />
<person posts="2" size="7" who="FUJITA Yuji &lt;yuji@wl.me.titech.ac.jp&gt;" />
<person posts="2" size="6" who="Sven Neumann &lt;neumanns@uni-duesseldorf.de&gt;" />
<person posts="2" size="5" who="pixel fairy &lt;pixelfairy@yahoo.com&gt;" />
<person posts="2" size="5" who="Warren Hedley &lt;w.hedley@auckland.ac.nz&gt;" />
<person posts="2" size="4" who="kelly@poverty.bloomington.in.us" />
<person posts="1" size="8" who="Hans Breuer &lt;hans@Breuer.org&gt;" />
<person posts="1" size="4" who="Tom Rathborne &lt;tomr@aceldama.com&gt;" />
<person posts="1" size="4" who="Adrian Likins &lt;alikins@redhat.com&gt;" />
<person posts="1" size="3" who="Tuomas Kuosmanen &lt;tigert@gimp.org&gt;" />
<person posts="1" size="3" who="Sven.Neumann@rz.uni-duesseldorf.de (Sven Neumann)" />
<person posts="1" size="3" who="Nem W Schlecht &lt;nem@emptec.com&gt;" />
<person posts="1" size="3" who="&lt;aaronn@btinternet.com&gt;" />
<person posts="1" size="2" who="Phil Schwan &lt;pschwan@off.net&gt;" />
<person posts="1" size="2" who="Peter Kirchgessner &lt;peter@kirchgessner.net&gt;" />
<person posts="1" size="2" who="Miguel de Icaza &lt;miguel@helixcode.com&gt;" />
<person posts="1" size="2" who="Michael Natterer &lt;mitschel@cs.tu-berlin.de&gt;" />
<person posts="1" size="2" who="Manish Singh &lt;yosh@gimp.org&gt;" />
<person posts="1" size="2" who="Keith Parks &lt;emkxp01@mtcc.demon.co.uk&gt;" />
<person posts="1" size="2" who="Jon Winters &lt;winters@obscurasite.com&gt;" />
<person posts="1" size="2" who="Jens-Reimer@t-online.de" />
<person posts="1" size="2" who="Jens Finke &lt;jens@triq.net&gt;" />
<person posts="1" size="2" who="Jay Cox &lt;jaycox@gimp.org&gt;" />
<person posts="1" size="2" who="Gunjan Kapoor &lt;gkapoor@cmie.com&gt;" />
<person posts="1" size="2" who="Garrett LeSage &lt;garrett@linux.com&gt;" />
<person posts="1" size="2" who="Federico Mena Quintero &lt;federico@helixcode.com&gt;" />
<person posts="1" size="2" who="David Hodson &lt;hodsond@ozemail.com.au&gt;" />
<person posts="1" size="2" who="Calvin Williamson &lt;calvinw@mindspring.com&gt;" />
<person posts="1" size="2" who="Avi Bercovich &lt;bercovic@swi.psy.uva.nl&gt;" />
<person posts="1" size="2" who="Austin Donnelly &lt;austin@gimp.org&gt;" />
<person posts="1" size="2" who="Alan Cox &lt;alan@redhat.com&gt;" />
</stats>

</intro>

<section
  title="Toolbox Resizing Problems"
  subject="Toolbox (interface.c) &amp; Solaris x86 probs"
  archive="http://www.mail-archive.com/gimp-developer%40scam.xcf.berkeley.edu/msg02488.html"
  posts="2"
  startdate="28 May 2000 00:00:00 -0800"
  enddate="30 May 2000 00:00:00 -0800"
>

<mention></mention>

<p>Nem W Schlecht is <quote who="Nem W Schlecht">having a couple problems w/
gimp-1.1.x that I've been trying to figure out. The Gimp toolbox doesn't
come up correctly (there is "blank" column on the right hand side),
and each successive time I run the Gimp, the toolbox gets smaller and
smaller.</quote></p>

<p>He was also having problems with the window geometry being reported
incorrectly. <quote who="Nem W Schlecht">I don't know about the second
problem - I'm guessing there's nothing wrong in session.c, but rather the
window geometry is reported incorrectly to session calls. I don't have any
other geometry problems with any of the other windows (I usually have layers,
brushes, patterns, palettes, and gradient dialogs open).</quote> He continued
by describing his setup, <quote who="Nem W Schlecht"> I'm running Solaris
8 x86, gcc 2.95.2. I've had tried both glib/gtk 1.2.7 and 1.2.8, with gimp
1.1.x (started around 17 or 18, if I remember correctly). I've been looking
into it more w/ 1.1.21 &amp; 1.1.23.</quote></p>

<p>Keith Parks replied that he <quote who="Keith Parks">reported the shrinking
behaviour as bug Bug#9683.</quote></p>

<p>He is thinking that the bug is caused by CDE in Solaris.</p>

</section>

<section
  title="Problems Installing The Gimp In Non-standard Locations"
  subject="installation in non-standard location / configure bug"
  archive=""
  posts="4"
  startdate="28 May 2000 00:00:00 -0800"
  enddate="29 May 2000 00:00:00 -0800"
>

<mention></mention>

<p>Warren Hedley writes:</p>

<quote who="Warren Hedley">

<p>I've just compiled and installed gimp 1.1.22
under Irix, but have done so in a non-standard (ie. not /usr/local) location
so as not to interfere with other users on the network.</p>

<p>My problem is that the executable seems to expect user_install to be in
/usr/local. I get this message when it starts trying to create my personal
directories</p>

<p>/usr/local/share/gimp/1.1/user_install does not exist. ...</p>

<p>My configure line set the prefix like this:</p>

<p>./configure --enable-perl=/product/perl/bin/perl --disable-nls
--prefix=/product/gimp</p>

<p>I've tried setting the GIMP_HOME environment variable to /product/gimp, and
added /product/gimp/lib to my LD_LIBRARY_PATH.</p>

</quote>

<p>He also adds that the configure script is not looking for perl where he
specified, but is looking in the standard location.</p>

<p>Marc Lehmann replied that <quote who="Marc Lehmann">the --enable-perl option
specifies the perl prefix to install the perl modules, not the perl
executable path. Specifying a file will be disastrous.</quote></p>

<p>Raphael Quinet suggested that</p>

<quote who="Raphael Quinet">

<p>the option should be named "--enable-perl-prefix" instead of the shorter
"--enable-perl", in order to avoid confusion. This would be more consistent
with the other options, and longer names are not a problem because they
are not used very often anyway.  The help string should then be changed to
"--enable-perl-prefix=PFX".</p>

<p>If someone wants an option to specify the path to the perl executable, then
it should be "--with-perl=...". Maybe adding the "--with-perl" option would
make people think twice before making incorrect assumptions?</p>

</quote>

</section>

<section
  title="New Feature: Rotate Brush While Following A Path"
  subject="Feature idea: rotate brush while following a path"
  archive="http://www.mail-archive.com/gimp-developer%40scam.xcf.berkeley.edu/msg02494.html"
  posts="4"
  startdate="29 May 2000 00:00:00 -0800"
  enddate="31 May 2000 00:00:00 -0800"
>

<mention></mention>

<p>Raphael Quinet had some suggestions for improving brushes.  He would like to
add <quote who="Raphael Quinet">an option to rotate a brush automatically
according to the local tangent of the path that the brush is following. To
make it even nicer, the user should be able to specify what is "local": how
many pixels should be taken into account for calculating the angle.</quote></p>

<p>He tried playing with making brushes that could do this and came to the
conclusion that it would be better to have brushes that can be dynamically
rotated depending on the path. He concluded that making brushes with enough
static frames to do this would be a huge memory hog, and it would be easier
to have the CPU handle it.</p>

<p>Tom Rathborne replied that he was thinking about the exact same thing.  He
added that <quote who="Tom Rathborne">brush spacing is also
important in this case - you would want to be able to stroke with,
say, a rainbow line, and have both edges of the stroke come out
perfectly smoothly, as if you had stroked with a couple dozen parallel
single-pixel brushes.</quote></p>

<p>He also noted that <quote who="Tom Rathborne">brush
pressure/alpha/transparency is also important. When you're stroking a
circle, you don't always want the inside of the circle to be more opaque
just because the brushstrokes are somehow "denser" there. You _do_ want this
if you're trying to imitate natural media, though.</quote></p>

<p>Adrian Likins wrote that he thought <quote who="Adrian Likins">this is
something I would like to see as well. The simplest approach would be
increase the "angular" resolution of Pipes, and then just generate a pipe by
rotating the brush shape. The primary reason I would like to see this, is to
make it possible to create a "gimpressionist" style painting tool. The
plugin currenty works by taking a single brush shape, rotating it X number
of times, and then painting to the image with whatever rotated brush fits
closest to any edges it finds in the image. No reason we cant do that with a
painting tool ;-&gt;</quote></p>

<p>David Hodson replied that he had written:</p>

<quote who="David Hodson">

<p>a short piece on implementing this sort of thing a while ago. Wrote the
code and it seemed to work OK; but I was having trouble deciding on the best
way to incorporate it into the existing GUI, and I thought that 1.2 was closer
than it has turned out to be, so I left it for later. The writeup is at:</p>

<p><a
href="http://www.ozemail.com.au/~hodsond/gimpbrush.html">http://www.ozemail.com.au/~hodsond/gimpbrush.html</a></p>

<p>for those who might be interested.</p>

</quote>

</section>

<section
  title="Licensing Issues With XCF Loader"
  subject="XCF loader for gdk-pixbuf"
  archive="http://www.mail-archive.com/gimp-developer%40scam.xcf.berkeley.edu/msg02505.html"
  posts="12"
  startdate="30 May 2000 00:00:00 -0800"
  enddate="30 May 2000 00:00:00 -0800"
>

<mention>Michael Natterer</mention>
<mention>Adam Moss</mention>
<mention>Austin Donnelly</mention>

<p>Federico Mena Quintero announced that</p>

<quote who="Federico Mena Quintero">

<p>Jens Finke &lt;pearl@darkride.net&gt; has sent me an amazing patch to add
support for XCF file loading to gdk-pixbuf.  I would really like to
have this sort of functionality so that simple programs like EOG can
view GIMP files.</p>

<p>However, there is the issue of licensing.  Gdk-pixbuf is released
under the LGPL, and the XCF loader uses big chunks of GPLed code from
the GIMP.  I am not sure what is the best way to proceed.</p>

</quote>

<p>Phil Schwan asked if Federico knew who the copyright holders were.  Kelly
replied that they were <quote who="">At least myself, Peter, Spencer, and Adam Moss.  There are
almost certainly others.</quote></p>

<p>Austin Donnelly said that he couldn't recall if he had added some code, but
gave his permission for the copyright to be changed if needed.  Michael
Natterer said that he had done the GimpUnit loading/saving code, and gives
his permission to make it LGPL.</p>

<p>The discussion continued in several subthreads.  Even Alan Cox got into the discussion.  Nobody
really came to a final agreement on this, and Marc Lehmann summarized the problem quite
well, saying, <quote who="Marc Lehmann">The problem, of course, will be S&amp;P, which
are very difficult to contact. It took quite a long time until I had the
license changed from GPL to LGPL for a single file in libgimp, so whoever
weants the license changed should act soon ;)</quote> There were no more messages in this thread.</p>

</section>

<section
  title="Gimp Plugin Template Questions"
  subject="gimp-plugin-template questions"
  archive="http://www.mail-archive.com/gimp-developer%40scam.xcf.berkeley.edu/msg02502.html"
  posts="3"
  startdate="30 May 2000 00:00:00 -0800"
  enddate="30 May 2000 00:00:00 -0800"
>

<mention>Sven Neumann </mention>
<mention></mention>

<p>Kevin Turner had some questions about the GIMP plugin template.  He asks:</p>

<quote who="Kevin Turner">

<p>What is the purpose of including
src/plugin-intl.h in the template?
Does #include "plugin-intl.h" do something
that #include &lt;libgimp/gimpintl.h&gt; does not?</p>

<p>How are individual user installations supposed to work?  (is there a
target that installs to ~/.gimp?)</p>

<p>are config.sub and guess necessary for most plug-ins?</p>

</quote>

<p>In response to the first question, Sven Neumann replied:</p>

<quote who="Sven Neumann">

<p>Yes, a lot!</p>

<p>Actually plugin-intl.h as shipped with gimp-plugin-template is the
equivalent to libgimp/std-plugins-intl.h which is included from all
plug-ins in the standard distribution.</p>

<p>plugin-intl.h includes &lt;libgimp/gimpintl.h&gt; and builds a wrapper
around the basic internationalisation macros defined their.
By including it you get two macros:</p>

<p>        INIT_I18N() and INIT_I18N_UI()</p>

<p>that do the dirty work of binding your application to the libgimp's
and its own textdomain. I'd suggest you take a short look into
plugin-intl.h, it should be self-explanatory.</p>

</quote>

<p>Sven also replied that he didn't think it was necessary to have a target
for ~/.gimp, but config.sub and guess are necessary if the plug-in is going
to use configure.</p>

<p>Kevin responded that <quote who="Kevin Turner">the usual way for people
to install plug-ins they downloaded has been "gimptool --install" (or
"gimptool --install-bin" called by the Makefile), which installs to the gimp
directory in $HOME.  So I think that is the expectation based on Gimp history.
And unless we have decided that everyone who uses gimp is either a sysadmin
or on a single-user box, it makes sense to keep that behaviour.</quote></p>

</section>

<section
  title="Adding Transparency In Perl-Fu"
  subject="Perl-fu - transparent colour"
  archive=""
  posts="2"
  startdate="31 May 2000 00:00:00 -0800"
  enddate="31 May 2000 00:00:00 -0800"
>

<mention></mention>

<p>Gunjan Kapoor writes, <quote who="Gunjan Kapoor">Could someone help me out
with this. I need to specify a transparent colour for the entire image. Is
that possible with Perl-fu. e.g: specify white as the transparent colour.
Additionally, I need to make the background transparent for a programmatically
generated image. The image contains only one drawable.  I've tried adding an
alpha channel programmatically but perhaps did not know the proper procedure
and the desired results were not achieved.</quote></p>

<p>Marc Lehmann asked</p>

<quote who="Marc Lehmann">

<p>What do you want to do? Do
you want to replace white by transparency? This is easy (not only in perl-fu,
btw), just use plug_in_colortoalpha, e.g.:</p>

<p>$layer-&gt;colortoalpha(WHITE);</p>

<p>If you just want to replace a specific colour index (e.g. in an indexed
image) you can also use select_by_color and selection_clear.</p>

</quote>

<p>In response to the question about adding Alpha, Marc said that it is
usually done with a "$layer-&gt;add_alpha"</p>

<p>There were no more messages in this thread.</p>

</section>

</kc>
