Re: [Gimp-user] Adventures in MacPorts Land (continued)

2007-07-27 Thread Axel Wernicke
Hi Victor,

Am 27.07.2007 um 00:55 schrieb Victor Domingos:


 

 $/opt/local/gimp-2.3/bin/gimp-2.3
 process 23395: D-Bus library appears to be incorrectly set up; failed
 to read machine uuid: Failed to open /opt/local/var/lib/dbus/machine-
 id: No such file or directory
 See the manual page for dbus-uuidgen to correct this issue.
D-Bus not compiled with backtrace support so unable to print a
 backtrace
 Abort trap

 Does anyone have any idea about what this means?

dbus is an infrastructure component that allows applications to talk  
with eachother (at least that is what I understood). In GIMP dbus is  
used to handle the opening of images from outside (the finder in our  
example) and only to start GIMP once.

dbus installs a so called startup item which starts dbus with OS X.  
If everything goes well, you should be able to find its process:

axelwernicke$ ps -aux | grep dbus
axelwern  8538   0.3 -0,027452516  p2  S+7:48am   0:00.01  
grep dbus
messageb   167   0.0 -0,028544 64  ??  Ss5:42pm
0:00.00 /sw/bin/dbus-daemon --system
axelwern   572   0.0 -0,028544140  ??  Ss5:58pm
0:00.00 /sw/bin/dbus-daemon --fork --print-pid 4 --print-address
root   957   0.0 -0,028544140  ??  Ss6:07pm
0:00.00 /sw/bin/dbus-daemon --fork --print-pid 10 --print-address
root34   0.0 -0,027836360  ??  Ss5:42pm
0:00.02 /opt/local/bin/daemondo --label=dbus --start-cmd /opt/loc

If not, you could try to start dbus by hand (sorry, I do not know how  
this is done) or reboot your machine - eeek :(

Hope this helps,

lexA



 Thanks in advance. I am sending an email to the port maintainer.
 Let's see.

 Victor Domingos

 ___
 Gimp-user mailing list
 Gimp-user@lists.XCF.Berkeley.EDU
 https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

---
Live is like a chocolate box, you never know what you wanna get...
GPG Signatur auf http://wernicke-online.net/Impressum/ prüfen


___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


[Gimp-user] Writing values to a file from within GIMP

2007-07-27 Thread David Feinzeig
Hi,

I'm writing a script-fu GIMP plugin and I need to be able to write some
decimal values to a file during the execution of the script.  I've seen some
people suggesting that use of fprintf, etc., but can't figure out how to get
this to work.  Can someone please provide some guidance?

Thanks!
Dave
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


[Gimp-user] Rounding those corners

2007-07-27 Thread DJ
Hi gimp-user,

How are you creating a single rounded corner, like those used for
css boxes with rounded corners.

(i.e., http://www.csszengarden.com/063/corner_yelongreen_tr.gif)

Or, if you wanted to outline an image's left, bottom, and right, sides
and round the lower corners (radius 8), so it would look like a U
without the tail and a flatter bottom (again for use in CSS
background for a round cornered semi-flexible box).

Select-Rounded Rectangle and Edit-Stroke Selection don't seem like
the right option.

Thank you. :-)

-- 
__ 


___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Writing values to a file from within GIMP

2007-07-27 Thread David Gowers
On 7/28/07, David Feinzeig [EMAIL PROTECTED] wrote:
 Hi,

 I'm writing a script-fu GIMP plugin and I need to be able to write some
 decimal values to a file during the execution of the script.  I've seen some
 people suggesting that use of fprintf, etc., but can't figure out how to get
 this to work.  Can someone please provide some guidance?

 Thanks!
 Dave

Hi,

fprintf() is a C function, and because it does I/O, it's unlikely to
be exposed to Script-Fu. Script-Fu cannot, for instance, delete files,
so I would expect it cannot directly create files either (only save
images using gimp-file-save.). I recommend you look up a reference for
the Script-Fu API. plug-ins/script-fu/tinyscheme/Manual.txt is the one
you probably want. It looks like Script-fu actually does support I/O.
(that file is in the SVN repository; it might also be in a
distribution tarball (eg. gimp-2.3.19.tar.bz2)
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user