Re: [Gimp-developer] how do I build the latest GIMP on Fedora Core 4?

2006-01-11 Thread Shlomi Fish
On Wednesday 11 January 2006 09:28, Owen Cook wrote:
 --

 On Wed, 11 Jan 2006, Brannon King wrote:
  I'm sorry if this is a stupid question. Traditionally I'm a Windows
  programmer though I dual boot Fedora for some rare uses. (I'm open to
  other distro options!) I tried to compile GIMP 2.3.6 on FC4 the other
  day. That didn't work: I needed the 2.8 GLIB stuff. I downloaded the
  source code, etc., for it and compiled GLIB. That worked, but it
  installed it into usr/local and the GIMP compile still fails. How do I
  make the GIMP compile read the libraries from the correct location? And
  I'm not real sure the GLIB compile used the right libraries. Any good
  references on the matter would be appreciated.

 You would have needed the latest glib,atk,pango and gtk

 They should have been available from Red Hat?

 If they weren't you should have built them like

 ./configure --prefix-/usr


First of all it's:


./configure --prefix=/usr


Secondly, this is considered a bad idea. That way, you'll override the files 
of your RPMs, and mess up your system. Once the RPM is upgraded, you'll lose 
your files. A better solution would be to either install it under /usr/local 
and point the GIMP to it, or better yet install it under a unique path 
(like /usr/local/apps/glib-2.8) and also point the GIMP there. That way, you 
can remove such installed programs easily once you don't need them.

Regards,

Shlomi Fish

-
Shlomi Fish  [EMAIL PROTECTED]
Homepage:http://www.shlomifish.org/

95% of the programmers consider 95% of the code they did not write, in the
bottom 5%.
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Re: [Gegl-developer] Gegl web site

2006-01-11 Thread Alexandre Prokoudine
On 1/11/06, Sven Neumann wrote:

  On 1/10/06, Michael Schumacher wrote:
 
  IMO Sven has explained why this isn't a good idea yet.
 
  Well, I don't think he explained exactly *that* :)

 Yes, I did. If you want to argue about it, feel free to do that.
 But it feels somewhat strange if you simply ignore my point.

Do I ignore? Oh well, thanks for letting me know :)
I'll go reread the broken thread to find out why exactly it is a bad
idea to publish API. May be  I am missing something important that
makes me look like a jerk :)

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


Re: [Gimp-developer] how do I build the latest GIMP on Fedora Core 4?

2006-01-11 Thread Michael Schumacher
 Von: Shlomi Fish [EMAIL PROTECTED]

 A better solution would be to either install it under
 /usr/local and point the GIMP to it, or better yet install it under a
 unique path (like /usr/local/apps/glib-2.8) and also point the GIMP 
 there. 

s/GIMP/pkg-config/

But this topic is also covered in INSTALL, which is a must-read when
compiling GIMP (or any other program, for that matter).


HTH,
Michael

-- 
Telefonieren Sie schon oder sparen Sie noch?
NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] how do I build the latest GIMP on Fedora Core 4?

2006-01-11 Thread Sven Neumann
Hi,

Brannon King [EMAIL PROTECTED] writes:

I'm sorry if this is a stupid question. Traditionally I'm a Windows
programmer though I dual boot Fedora for some rare uses. (I'm open to
other distro options!) I tried to compile GIMP 2.3.6 on FC4 the other
day. That didn't work: I needed the 2.8 GLIB stuff. I downloaded the
source code, etc., for it and compiled GLIB. That worked, but it
installed it into usr/local and the GIMP compile still fails. How do I
make the GIMP compile read the libraries from the correct location?
And I'm not real sure the GLIB compile used the right libraries. Any
good references on the matter would be appreciated.

http://developer.gnome.org/doc/API/2.0/gtk/gtk-compiling.html


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


Re: [Gimp-developer] [SCM] text file management

2006-01-11 Thread Nathan Summers
f

On 1/10/06, Sven Neumann [EMAIL PROTECTED] wrote:
 Hi,

 Fab Psycho [EMAIL PROTECTED] writes:

   I'd like to write in a text file from a scm plugin.I didn't see
   any relevant fx in gimp function browser... Someone could give
   me a sample source for file opening, writing and closing ?

 From the SIOD reference:

  (fopen path mode)

   Opens the file and returns a file stream.


  (fwrite data stream)

   Write the data, a string or byte-array to the stream. Or data can also
   be a list of a string or byte-array and a numerical length.


  (fclose stream)

   Closes the open file stream.

Hmm, interesting.  I couldn't get this to work with script-fu under
1.2, but it seems to work fine under 2.2.

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


Re: [Gimp-developer] [SCM] text file management

2006-01-11 Thread Simon Budig
Nathan Summers ([EMAIL PROTECTED]) wrote:
 On 1/10/06, Sven Neumann [EMAIL PROTECTED] wrote:
   (fopen path mode)
   (fwrite data stream)
   (fclose stream)
 
 Hmm, interesting.  I couldn't get this to work with script-fu under
 1.2, but it seems to work fine under 2.2.

Well, it certainly worked 7 years ago:
   http://www.home.unix-ag.org/simon/gimp/hotspots.html

:-)

Bye,
Simon

-- 
  [EMAIL PROTECTED]  http://simon.budig.de/

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


RE: [Gimp-developer] how do I build the latest GIMP on Fedora Core 4?

2006-01-11 Thread Brannon King
 http://developer.gnome.org/doc/API/2.0/gtk/gtk-compiling.html

That link is entirely unhelpful to me. 1) does not the GIMP compile already
have that stuff in it?  2) It doesn't tell me how to install glib/gtk to the
locations it references 3) It doesn't tell me how to deal with GTK version
conflicts 4) It tells me that I should do without telling my why do or
when do

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


RE: [Gimp-developer] how do I build the latest GIMP on Fedora Core 4?

2006-01-11 Thread Brannon King
But this topic is also covered in INSTALL, which is a must-read when
compiling GIMP (or any other program, for that matter).

I read the install but it does not cover how to fix GLIB/GTK conflicts nor
does it cover usage of pkg-config. I don't think it should cover those but
perhaps it could give some useful references. The document does say to look
at the ./configere --help, but I was unable to determine from that list
which one I needed to set and what I should set it to.

 s/GIMP/pkg-config/

What does that mean? It looks like a find/replace command in Vim, etc.

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


RE: [Gimp-developer] how do I build the latest GIMP on Fedora Core 4?

2006-01-11 Thread Brannon King
The GLIB 2.8 stuff is available from Redhat but it has numerous dependencies
on the FC5 test1 release -- more than is reasonable to update to from FC4. 

 You would have needed the latest glib,atk,pango and gtk
 They should have been available from Red Hat? 
 If they weren't you should have built them like
 ./configure --prefix-/usr
 If you read ./configure --help you will see that unless you do this, it
will be built in /usr/local
 Now that it is in /usr/local you need to set  enviroment variables so that
it picks up that library
 Try (presume Fedora is sort of standard linux)
 export LD_LIBRARY_PATH=/usr/local/lib:/usr/lib
 export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/:/usr/lib/pkgconfig/
 That way it will look at /usr/local before /usr

Thanks. That is exactly what I needed to know.

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


RE: [Gimp-developer] how do I build the latest GIMP on Fedora Core 4?

2006-01-11 Thread Michael Schumacher
 Von: Brannon King [EMAIL PROTECTED]

 I read the install but it does not cover how to fix GLIB/GTK conflicts nor
 does it cover usage of pkg-config. 

Have a look at the section When ./configure fails


HTH,
Michael

-- 
DSL-Aktion wegen großer Nachfrage bis 28.2.2006 verlängert:
GMX DSL-Flatrate 1 Jahr kostenlos* http://www.gmx.net/de/go/dsl
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer