Re: [Gimp-developer] start perl server

2004-06-17 Thread Sven Neumann
Hi,

kovzol [EMAIL PROTECTED] writes:

 Illegal default font description for perl_fu_mysite_buttons: -*-luxi
 sans-medium-r-*-*-24-*-*-*-*-*-iso8859-2

GIMP doesn't use X Logical Font Descriptors any longer, so please
change this to Sans Medium.

 oval-buttons.pl: Expected an INT32 but got 'BG_IMAGE_FILL'. Add '*1' if
 you really intend to pass in a string at ./oval-buttons.pl line 110 (DIE)

Please update your enums, this should be BACKGROUND_FILL instead of
BG_IMAGE_FILL. Have a look at gimpcompat.h that documents these
changes.


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


[Gimp-developer] Confirmation for GUADEC accomodation?

2004-06-17 Thread Tor Lillqvist
Has anybody else received an confirmation after booking a student flat
when registering for the conference? I haven't. I did get a
confirmation for the conference registration, but on the other hand no
charge has showed up on my credit card yet. And no reply to my inqury
to the FiloNova address. (The address that the conference
registration confirmation was sent from didn't work...) Odd.

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


[Gimp-developer] Schedule for gimpcon

2004-06-17 Thread Øyvind Kolås
I've started collecting some information about peoples arrival and
departure dates,
as well as trying to come up with timeslots we could reserve for small
presentations
and discussion. The current gathered information is available at
http://freedesktop.org/~pippin/gimp/gimpcon04_schedule.txt

I'll try to prepare some slides, documenting the current architecture
I'm using for my non linear video editor bauxite ( bauxite/oxide (and
file format)/gggl ) and how it maps to gimp/(internal data structures
and file format)/gegl ), as an introduction to talking about gegl
migration.

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


Re: [Gimp-developer] Schedule for gimpcon

2004-06-17 Thread Jakub Steiner
On Thu, 2004-06-17 at 16:45 +0200, yvind Kols wrote:
 I've started collecting some information about peoples arrival and
 departure dates,
 as well as trying to come up with timeslots we could reserve for small
 presentations
 and discussion. The current gathered information is available at
 http://freedesktop.org/~pippin/gimp/gimpcon04_schedule.txt
 
 I'll try to prepare some slides, documenting the current architecture
 I'm using for my non linear video editor bauxite ( bauxite/oxide (and
 file format)/gggl ) and how it maps to gimp/(internal data structures
 and file format)/gegl ), as an introduction to talking about gegl
 migration.

Very excited to see that stuff!

--- gimpcon04_schedule.txt  2004-06-17 18:46:17.357297227 +0200
+++ gimpcon04_schedule2.txt 2004-06-17 18:53:29.518199513 +0200
@@ -13,6 +13,7 @@
   +bolsh
11:00 +carol
17:25 +drc
+   22:30 +jimmac
 2004-06-27 sun
  +brix +yosh +rock
  +scizzo (sleeps in a car coming from Vaxjo)
@@ -118,6 +119,7 @@
  -brix -nomis
 2004-07-01 thu
06:35  -drc
+   07:20  -jimmac
11:45  -neo
 2004-07-02 fri
 2004-07-03 sat

cheers


-- 
Jakub Steiner [EMAIL PROTECTED]
Novell, Inc.

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


Re: [Gimp-developer] Confirmation for GUADEC accomodation?

2004-06-17 Thread David Neary
Hi Tor,

I'm forwarding your mail to guadec-list, so that someone there
can answer. I have no idea what the story is with the student
flats, I'm afraid.

Dave.

Tor Lillqvist wrote:
 Has anybody else received an confirmation after booking a student flat
 when registering for the conference? I haven't. I did get a
 confirmation for the conference registration, but on the other hand no
 charge has showed up on my credit card yet. And no reply to my inqury
 to the FiloNova address. (The address that the conference
 registration confirmation was sent from didn't work...) Odd.
 
 --tml
 ___
 Gimp-developer mailing list
 [EMAIL PROTECTED]
 http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer

-- 
   David Neary,
   Lyon, France
  E-Mail: [EMAIL PROTECTED]
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: Re: [Gimp-developer] start perl server

2004-06-17 Thread kovzol
On 17 Jun 2004, Sven Neumann wrote:

 Hi,

 kovzol [EMAIL PROTECTED] writes:

  Illegal default font description for perl_fu_mysite_buttons: -*-luxi
  sans-medium-r-*-*-24-*-*-*-*-*-iso8859-2

 GIMP doesn't use X Logical Font Descriptors any longer, so please
 change this to Sans Medium.

Thank you for your help! I changed this to the needed font. The only
problem is if I want to use accented letters, I run into an error:

[EMAIL PROTECTED]:~/cvs/wmi/ui ./oval-buttons.pl -font_size_pixels 11 -text_string
This works.
[EMAIL PROTECTED]:~/cvs/wmi/ui ./oval-buttons.pl -font_size_pixels 11 -text_string
Unmglich.
oval-buttons.pl: gimp_text_get_extents_fontname: procedural database
execution failed at ./oval-buttons.pl line 64 (DIE)

By the way, why must I define font_size_pixels? Without it I get into
another error:

[EMAIL PROTECTED]:~/cvs/wmi/ui ./oval-buttons.pl -text_string Unmglich
oval-buttons.pl: Unable to convert a reference to type 'FLOAT' at
./oval-buttons.pl line 64 (DIE)

  oval-buttons.pl: Expected an INT32 but got 'BG_IMAGE_FILL'. Add '*1' if
  you really intend to pass in a string at ./oval-buttons.pl line 110 (DIE)

 Please update your enums, this should be BACKGROUND_FILL instead of
 BG_IMAGE_FILL. Have a look at gimpcompat.h that documents these
 changes.

Sometimes it helps, sometimes not. Sorry to say, but I didn't find an
accurate, updated, fresh documentation about the syntax of the Gimp-Perl
(2.0) statements. Is there any?

A last note: I didn't even have to run Perl-Server within Gimp to run my
script reasonably fast:

[EMAIL PROTECTED]:~/cvs/wmi/ui time ./oval-buttons.pl -font_size_pixels 11 
-text_string
Fast

real0m0.609s
user0m0.080s
sys 0m0.000s

Congratulations for this speedup (it's about 7 times faster than
gimp-1.2.5 did)! However, server mode run fails on gimp_display_new():

[EMAIL PROTECTED]:~/cvs/wmi/ui gimp -i -b '(extension-perl-server 0 0 0)'
[1] 2633
[EMAIL PROTECTED]:~/cvs/wmi/ui 1087502556: server version 2 started
1087502556: accepting connections on
/tmp/gimp-perl-serv-uid-503/gimp-perl-serv
[EMAIL PROTECTED]:~/cvs/wmi/ui ./oval-buttons.pl -font_size_pixels 11 -text_string 
Fast
1087502561: accepted unix connection
oval-buttons.pl: gimp_display_new: procedural database execution failed at
./oval-buttons.pl line 144 (DIE)
[Invalid UTF-8] Kiszolgl: oval-buttons.pl: gimp_display_new: procedural
database execution failed at ./oval-buttons.pl line 144 (DIE)

[EMAIL PROTECTED]:~/cvs/wmi/ui 1087502561: closing connection 9 (136 requests in 0
seconds)

Am I using gimp_display_new() in a wrong way? But during standalone run it
works well... Why?


TIA, Zoltan

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


Re: Re: [Gimp-developer] start perl server

2004-06-17 Thread kovzol
 [Invalid UTF-8] Kiszolgl: oval-buttons.pl: gimp_display_new: procedural
 database execution failed at ./oval-buttons.pl line 144 (DIE)

 [EMAIL PROTECTED]:~/cvs/wmi/ui 1087502561: closing connection 9 (136 requests in 0
 seconds)

 Am I using gimp_display_new() in a wrong way? But during standalone run it
 works well... Why?

If I cut lines 144 and 145, then it works OK:

[EMAIL PROTECTED]:~/cvs/wmi/ui time ./oval-buttons.pl -font_size_pixels 11
-text_string Fast
1087503061: accepted unix connection
1087503061: closing connection 9 (133 requests in 0 seconds)

real0m0.132s
user0m0.090s
sys 0m0.000s

This is really nice (another 4 times of speedup). However, it would be
great if I will be able to decide if gimp_display_new() is prohibited to
run or not (within the script), i.e. to know if my script was called
without any parameters.

TIA, Zoltan

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


Re: Re: [Gimp-developer] start perl server

2004-06-17 Thread Seth Burgess
 oval-buttons.pl: gimp_display_new: procedural database execution failed at
 ./oval-buttons.pl line 144 (DIE)
 [Invalid UTF-8] Kiszolgáló: oval-buttons.pl: gimp_display_new: procedural
 database execution failed at ./oval-buttons.pl line 144 (DIE)

If you're running in batch mode, trying to open a display probably
should cause an error (no UI enviornment is setup in gimp to do this!)
.

I'd recommend putting the call inside an 'eval' block, so that it
failing doesn't stop the execution of the script.

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


Re: Re: [Gimp-developer] start perl server

2004-06-17 Thread Simon Budig
kovzol ([EMAIL PROTECTED]) wrote:
 Thank you for your help! I changed this to the needed font. The only
 problem is if I want to use accented letters, I run into an error:
 
 [EMAIL PROTECTED]:~/cvs/wmi/ui ./oval-buttons.pl -font_size_pixels 11 -text_string
 This works.
 [EMAIL PROTECTED]:~/cvs/wmi/ui ./oval-buttons.pl -font_size_pixels 11 -text_string
 Unmöglich.
 oval-buttons.pl: gimp_text_get_extents_fontname: procedural database
 execution failed at ./oval-buttons.pl line 64 (DIE)

Make sure that the text passed to the Gimp is in the UTF-8 encoding.
Gimp is quite strict about that.

Bye,
Simon
-- 
  [EMAIL PROTECTED]  http://simon.budig.de/
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: Re: [Gimp-developer] start perl server

2004-06-17 Thread kovzol
 Am I using gimp_display_new() in a wrong way? But during standalone run it
 works well... Why?

I forgot to attach the current version of the script. Maybe this can give
additional information.

Zoltan


oval-buttons.pl
Description: Perl program
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer