Re: [Gimp-developer] gimp print dlg

2008-09-10 Thread Sven Neumann
Hi,

On Wed, 2008-09-10 at 10:41 +0200, [EMAIL PROTECTED] wrote:

> where does the current (cvs) print dlg come from. It looks the same as the  
> one used by ffox so I guess it may be gtk+ rather than gimp.
> 
> Though it has many fancy features it lacks the simple on screen scaling  
> and positioning that was so useful in gimpprint.

It is the GtkPrint dialog. But the GIMP Print plug-in adds a notebook
tab to it that provides the simple on screen scaling and positioning
that you are looking for. What exactly is it that you are missing?


Sven


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


Re: [Gimp-developer] concurrent 2.4 and 2.5

2008-09-10 Thread Sven Neumann
Hi,

On Wed, 2008-09-10 at 11:26 +0200, [EMAIL PROTECTED] wrote:

> I have installed distribution's 2.4 and cvs . I built cvs with  
> --preifix=/usr/local but there is some conflict with 2.4 which refuses to  
> run having detected the conflicting library versions.

http://gimp.org/release-notes/gimp-2.5.html mentions quite explicitly
that this is not going to work. /usr/local is not a separate
installation prefix.


Sven


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


Re: [Gimp-developer] gimp print dlg

2008-09-10 Thread Robert Krawitz
   Date: Wed, 10 Sep 2008 22:22:45 +0200
   From: [EMAIL PROTECTED]

   On Wed, 10 Sep 2008 19:16:36 +0200, Akkana Peck <[EMAIL PROTECTED]>  
   wrote:

   > [EMAIL PROTECTED] writes:
   >> thanks for the explaination. I've checked and gimp-print is built with
   >> gimp option. Should that alter the dlg I get from gimp file print menu?
   >
   > Are you building in gimp-print then doing a make install?
   > Is this the latest gimp-print from
   > http://sourceforge.net/projects/gimp-print/ ?
   > Check that make install is really succeeding.
   >
   > If you already have gimp's built-in gtkprint plug-in, and you also
   > build gimp-print from the Gutenprint project, you'll probably end
   > up with two different File->Print... menu entries. One of them
   > should bring up the Gutenprint dialog, the other, the GTKprint one.
   >
   > As long as you're building gutenprint yourself, I'd recommend
   > modifying their src/gimp/print.c: find the line that registers to
   >   N_("/File/Print..."),
   > (line 166 in the latest version) and change the name, e.g.
   >   N_("/File/GutenPrint..."),
   >
   > Then you'll be able to tell the the two plug-ins apart and verify
   > that your gutenprint plug-in is really getting installed.
   >
   >...Akkana

   Thanks,  a very good idea. I'm building 5.2.0-beta4 and the closest I can  
   find is src/gimp2/print.c , sadly I don't find anything that matches the  
   snippet you posted. What function is it in?

You don't need to do any of this any more; as of 5.0, the menu item is
"Print with Gutenprint" (if GIMP 2.4 or above is in use) to
distinguish it from the GTKPrint plugin bundled with GIMP.

-- 
Robert Krawitz <[EMAIL PROTECTED]>

Tall Clubs International  --  http://www.tall.org/ or 1-888-IM-TALL-2
Member of the League for Programming Freedom -- mail [EMAIL PROTECTED]
Project lead for Gutenprint   --http://gimp-print.sourceforge.net

"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] gimp print dlg

2008-09-10 Thread gg
On Wed, 10 Sep 2008 19:16:36 +0200, Akkana Peck <[EMAIL PROTECTED]>  
wrote:

> [EMAIL PROTECTED] writes:
>> thanks for the explaination. I've checked and gimp-print is built with
>> gimp option. Should that alter the dlg I get from gimp file print menu?
>
> Are you building in gimp-print then doing a make install?
> Is this the latest gimp-print from
> http://sourceforge.net/projects/gimp-print/ ?
> Check that make install is really succeeding.
>
> If you already have gimp's built-in gtkprint plug-in, and you also
> build gimp-print from the Gutenprint project, you'll probably end
> up with two different File->Print... menu entries. One of them
> should bring up the Gutenprint dialog, the other, the GTKprint one.
>
> As long as you're building gutenprint yourself, I'd recommend
> modifying their src/gimp/print.c: find the line that registers to
>   N_("/File/Print..."),
> (line 166 in the latest version) and change the name, e.g.
>   N_("/File/GutenPrint..."),
>
> Then you'll be able to tell the the two plug-ins apart and verify
> that your gutenprint plug-in is really getting installed.
>
>   ...Akkana

Thanks,  a very good idea. I'm building 5.2.0-beta4 and the closest I can  
find is src/gimp2/print.c , sadly I don't find anything that matches the  
snippet you posted. What function is it in?

thx.

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


Re: [Gimp-developer] gimp print dlg

2008-09-10 Thread Akkana Peck
[EMAIL PROTECTED] writes:
> thanks for the explaination. I've checked and gimp-print is built with  
> gimp option. Should that alter the dlg I get from gimp file print menu?

Are you building in gimp-print then doing a make install?
Is this the latest gimp-print from
http://sourceforge.net/projects/gimp-print/ ?
Check that make install is really succeeding.

If you already have gimp's built-in gtkprint plug-in, and you also
build gimp-print from the Gutenprint project, you'll probably end
up with two different File->Print... menu entries. One of them
should bring up the Gutenprint dialog, the other, the GTKprint one.

As long as you're building gutenprint yourself, I'd recommend
modifying their src/gimp/print.c: find the line that registers to 
  N_("/File/Print..."),
(line 166 in the latest version) and change the name, e.g.
  N_("/File/GutenPrint..."),

Then you'll be able to tell the the two plug-ins apart and verify
that your gutenprint plug-in is really getting installed.

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


Re: [Gimp-developer] concurrent 2.4 and 2.5

2008-09-10 Thread gg
On Wed, 10 Sep 2008 13:12:42 +0200, Owen <[EMAIL PROTECTED]> wrote:

>> Hi,
>>
>> I have installed distribution's 2.4 and cvs . I built cvs with
>> --preifix=/usr/local but there is some conflict with 2.4 which refuses
>> to
>> run having detected the conflicting library versions. Here the
>> beginning
>> of ldd for 2.4
>
> 
>
>> bash-3.2#echo $PATH
>>
>
> I think all the paths are getting mixed up
>
> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin
> ^^   before  ^^^
>
>
>> bash-3.2#echo $LD_LIBRARY_PATH
>> /usr/qt/3/lib
>
> It is picking up /usr/local because that is what you path has first
> (or before /usr/bin )
>
> You are starting Gimp from a console?
>
> You need to set the PATH to see /usr/bin first and the same for
> LD_LIBRARY_PATH.to see /usr/lib first
>
> export PATH=/usr/bin:$PATH and
> export LD_LIBRARY_PATH=/usr/lib
>
>
> and when you start 2.5, do so from another console with the paths set
> to pick up the 2.5 libraries first.
>
>
> You should actually keep away from /usr/local, the various bashrc and
> profile files set up paths to include /usr and /usr/local and it can
> get confusing.
>
> Just build in /opt in accordance with the instructions for paths.
>

Yes, it's the scripts that are prepending things , I'd have though  
/usr/local should come after but I'll need to dig to get the order  
corrected.

I still don't understand what it's picking from /usr/local/lib since  
/usr/local/lib is not in path or ld_library_path and ldd shows it loading  
 from /usr/local/lib first no /usr/local. I must have an incomplete idea of  
the loading mechanism.

Your suggestion of /opt is probably the easiest solution. Thanks. (and  
Micheal too)


regards.

>
>
>> I adapted the way I set this up last time but something did not
>> follow.
>>
>> bash-3.2#which gimp4
>> /usr/local/bin/gimp4
>> bash-3.2#cat `!!`
>> cat `which gimp4`
>> #!/bin/sh
>>
>> #PATH=/usr/local/bin:$PATH
>> #export PATH
>> LD_LIBRARY_PATH=/usr/local/lib
>> export LD_LIBRARY_PATH
>>
>> /usr/local/bin/gimp-2.5 "$@"
>>
>>
>> I don't see why 2.4 is pulling from /usr/local/lib
>
>
>

-- 

   .*.
   /V\
  (/ \)
  (   )
  ^^_^^
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] concurrent 2.4 and 2.5

2008-09-10 Thread Owen
> Hi,
>
> I have installed distribution's 2.4 and cvs . I built cvs with
> --preifix=/usr/local but there is some conflict with 2.4 which refuses
> to
> run having detected the conflicting library versions. Here the
> beginning
> of ldd for 2.4



> bash-3.2#echo $PATH
>

I think all the paths are getting mixed up

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin
^^   before  ^^^


> bash-3.2#echo $LD_LIBRARY_PATH
> /usr/qt/3/lib

It is picking up /usr/local because that is what you path has first
(or before /usr/bin )

You are starting Gimp from a console?

You need to set the PATH to see /usr/bin first and the same for
LD_LIBRARY_PATH.to see /usr/lib first

export PATH=/usr/bin:$PATH and
export LD_LIBRARY_PATH=/usr/lib


and when you start 2.5, do so from another console with the paths set
to pick up the 2.5 libraries first.


You should actually keep away from /usr/local, the various bashrc and
profile files set up paths to include /usr and /usr/local and it can
get confusing.

Just build in /opt in accordance with the instructions for paths.







> I adapted the way I set this up last time but something did not
> follow.
>
> bash-3.2#which gimp4
> /usr/local/bin/gimp4
> bash-3.2#cat `!!`
> cat `which gimp4`
> #!/bin/sh
>
> #PATH=/usr/local/bin:$PATH
> #export PATH
> LD_LIBRARY_PATH=/usr/local/lib
> export LD_LIBRARY_PATH
>
> /usr/local/bin/gimp-2.5 "$@"
>
>
> I don't see why 2.4 is pulling from /usr/local/lib


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


Re: [Gimp-developer] concurrent 2.4 and 2.5

2008-09-10 Thread Salvatore De Paolis
On Wed, 10 Sep 2008 11:26:38 +0200
[EMAIL PROTECTED] wrote:

> Hi,
> 
> I have installed distribution's 2.4 and cvs . I built cvs with  
> --preifix=/usr/local but there is some conflict with 2.4 which refuses to  
> run having detected the conflicting library versions. Here the beginning  
> of ldd for 2.4

Install it on a different path, eg. /opt
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


[Gimp-developer] concurrent 2.4 and 2.5

2008-09-10 Thread gg
Hi,

I have installed distribution's 2.4 and cvs . I built cvs with  
--preifix=/usr/local but there is some conflict with 2.4 which refuses to  
run having detected the conflicting library versions. Here the beginning  
of ldd for 2.4


/usr/bin/gimp
bash-3.2#ldd `!!`
ldd `which gimp`
 linux-gate.so.1 =>  (0xe000)
 libgimpwidgets-2.0.so.0 => /usr/local/lib/libgimpwidgets-2.0.so.0  
(0xb7e1a000)
 libgimpconfig-2.0.so.0 => /usr/local/lib/libgimpconfig-2.0.so.0  
(0xb7e0b000)
 libgimpmodule-2.0.so.0 => /usr/local/lib/libgimpmodule-2.0.so.0  
(0xb7e06000)
 libgimpcolor-2.0.so.0 => /usr/local/lib/libgimpcolor-2.0.so.0  
(0xb7dfb000)
 libgimpthumb-2.0.so.0 => /usr/local/lib/libgimpthumb-2.0.so.0  
(0xb7df2000)
 libgimpmath-2.0.so.0 => /usr/local/lib/libgimpmath-2.0.so.0  
(0xb7deb000)
 libgimpbase-2.0.so.0 => /usr/local/lib/libgimpbase-2.0.so.0  
(0xb7dd7000)
 libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb7a79000)
 libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb79f8000)
 libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0  
(0xb79e)
 libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb79d9000)
 libpthread.so.0 => /lib/libpthread.so.0 (0xb79c1000)

bash-3.2#echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin
bash-3.2#echo $LD_LIBRARY_PATH
/usr/qt/3/lib




I adapted the way I set this up last time but something did not follow.

bash-3.2#which gimp4
/usr/local/bin/gimp4
bash-3.2#cat `!!`
cat `which gimp4`
#!/bin/sh

#PATH=/usr/local/bin:$PATH
#export PATH
LD_LIBRARY_PATH=/usr/local/lib
export LD_LIBRARY_PATH

/usr/local/bin/gimp-2.5 "$@"


I don't see why 2.4 is pulling from /usr/local/lib

Any help?

Thx

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


Re: [Gimp-developer] gimp print dlg

2008-09-10 Thread gg
On Wed, 10 Sep 2008 10:54:55 +0200, Michael Schumacher <[EMAIL PROTECTED]>  
wrote:

>> Von: [EMAIL PROTECTED]
>
>> Is there a way to build recent gimp to use gimpprint/gutenprint plugin  
>> for
>
> It is the other way round - you build gutenprint and tell it to create a  
> gimp plug-in (if that isn't the default if it detects libgimp during  
> configure, that is).
>
>
> HTH,
> Michael

Hi,

thanks for the explaination. I've checked and gimp-print is built with  
gimp option. Should that alter the dlg I get from gimp file print menu?

BTW gimp print preview just zaps out (I'll detail that in another post).

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


Re: [Gimp-developer] gimp print dlg

2008-09-10 Thread Michael Schumacher
> Von: [EMAIL PROTECTED]

> Is there a way to build recent gimp to use gimpprint/gutenprint plugin for

It is the other way round - you build gutenprint and tell it to create a gimp 
plug-in (if that isn't the default if it detects libgimp during configure, that 
is).


HTH,
Michael
-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


[Gimp-developer] gimp print dlg

2008-09-10 Thread gg
Hi,

where does the current (cvs) print dlg come from. It looks the same as the  
one used by ffox so I guess it may be gtk+ rather than gimp.

Though it has many fancy features it lacks the simple on screen scaling  
and positioning that was so useful in gimpprint.

Is there a way to build recent gimp to use gimpprint/gutenprint plugin for  
printing? I don't see anything that seems to correcpond in ./configure  
options.

Thanks for any help on that.

regards.

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