Re: [Gimp-user] babl

2009-07-19 Thread Martin Nordholts
On 07/19/2009 03:16 AM, John Culleton wrote:
  IMO
 these required libraries should be embedded in the Gimp release
 itself but there may be turf issues that prevent that.


Embedding babl and GEGL in the GIMP tarball would make usage of GEGL by 
other projects much more complicated, and we don't want that. A library 
shared between many apps will have much more development and maintenance 
than a library only used by a single app, so we should encourage usage 
of these libraries by other projects.

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


Re: [Gimp-user] babl

2009-07-19 Thread Martin Nordholts
On 07/19/2009 04:58 AM, Owen wrote:
 if you built babl and gegl from scratch, no problems, but sounds like
 you might be using Ubuntu or fedora. So look in you package manager
 for things like gegl-dev and babl-dev

If he is trying to build git master then the packages provided by his 
distro will not work since he basically needs git master of babl and 
GEGL too.


 If you built babl and gegl in some non standard directory, you need to
 tell the system where to find them, hence;

 export PKG_CONFIG_PATH=/non_standard/directory/lib/pkgconfig

There is method to deal with building for non-standard prefixes that is 
superior to manually managing the environment variables, and this method 
is config.site.

Put this in the file /home/user/dev/share/config.site:

   # for development: export CFLAGS=-g -O0
   export PKG_CONFIG_PATH=/home/user/dev/lib/pkgconfig:$PKG_CONFIG_PATH
   export LD_LIBRARY_PATH=/home/user/dev/lib:$LD_LIBRARY_PATH

This file will then be sourced by configure whenever it is invoked with 
the prefix /home/user/dev, so assuming you have all build dependencies, 
all you have to do to build babl, GEGL and GIMP is to clone all the 
repos from git://git.gnome.org/project and then do

   ./autogen.sh --prefix=/home/user/dev
   make
   make install

in all of them, in that order. Then after git pull --rebase you don't 
need to bother about setting up the environment again, you just do

   make

and all dependencies will be processed properly with the right env vars set.

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


Re: [Gimp-user] babl

2009-07-19 Thread Martin Nordholts
On 07/19/2009 11:37 AM, Martin Nordholts wrote:
 Then after git pull --rebase you don't
 need to bother about setting up the environment again, you just do

   make

That should of course be

   make
   make install

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


Re: [Gimp-user] babl

2009-07-19 Thread Martin Nordholts
On 07/19/2009 11:39 AM, Martin Nordholts wrote:
 On 07/19/2009 11:37 AM, Martin Nordholts wrote:
 Then after git pull --rebase you don't
 need to bother about setting up the environment again, you just do

 make

 That should of course be

 make
 make install

 / Martin

I should also mention that to run your fresh build of GIMP you don't 
need to setup any env vars at all since libtool have setup the rpaths in 
the binaries, so just doing

   /home/user/dev/bin/gimp-2.7

without messing with environment variables will launch GIMP 2.7.

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


Re: [Gimp-user] babl

2009-07-19 Thread Doug
Greg S. wrote:
   
 Greg S. wrote:

 Hi, i have already installed babl and gegl but still no good when
 using
 ./configure This is driving me nuts.
   
 What about the

 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 installed software in a non-standard prefix.

 part? If you need help to understand this one you should say so,
 otherwise people will assume that you are actually doing what it
 suggests.


 HTH,
 Michael

 Yes I need all the help I can get. Please advise me how to do this.
 
 PKG_CONFIG_PATH what am I to do to make this work. Please explain to
 me like I
 am a 5 year old.
   

 You don't say what you are using as an OS, but what you are missing in
 my mind, are the development files for gegl and babl

 if you built babl and gegl from scratch, no problems, but sounds like
 you might be using Ubuntu or fedora. So look in you package manager
 for things like gegl-dev and babl-dev

 If you built babl and gegl in some non standard directory, you need to
 tell the system where to find them, hence;

 export PKG_CONFIG_PATH=/non_standard/directory/lib/pkgconfig

 hth


 I am using Centos 5.3
 

 This sort of thing comes up continually when installing from tarball.

 (1) Is the library/package complained of on your system or  not?

 (2) If it is, have you got the development package? - you'll need it. 
 Check with your package manager or look for files on your system 
 (typically in /usr) named name of package-devel: without it you 
 can't proceed with compilation. If you haven't, get the development 
 package from somewhere (installation disk, upgrading resource, or 
 Googling for the tarball if necessary.

 (3) If you have, where are the libraries for that package installed? 
 commonly /usr/lib or /usr/local/lib, but may be /usr/lib64 or more 
 outlandish places - Find File or equivalent is your friend.

 (4) use echo $PKG_CONFIG_PATH to see where compilation is going to 
 be looking for external programs - assuming you haven't resolved the 
 problem already by this stage, the libaries you need will be in none 
 of those places.

 (5) Use Find File for folders named pkgconfig  or files ending in 
 .pc(no quotes). You'll find quite a number. You should be able to 
 recognise the relevant .pc file for your package amongst the names in 
 the list.
 Note which folder it's in, e.g. 
 /usr/local/Trolltech/Qt-4.5.2/lib/pkgconfig (to quote a genuine 
 outlandish example)

 (6) Then use the export PKG_CONFIG_PATH before configuring, i.e.

 export 
 PKG_CONFIG_PATH=/usr/local/Trolltech/Qt-4.5.2/lib/pkgconfig:$PKG_CONFIG_PATH 


 (This adds the new path to existing ones.
 Note: as a general rule *don't* use export 
 PKG_CONFIG_PATH=/non_standard/directory/lib/pkgconfig or you'll 
 completely replace the existing path for this session. You may need 
 the existing path for other progs in the compilation).

 /configure

 make

 (then as root) make install

 HTH

 Doug
   

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


[Gimp-user] Are There Gimp Beginner Level Tutorials?

2009-07-19 Thread Laurenpens
I'm a beginner and need to learn the basics. If there are tutorials where  
can I find them?
 
LNF
**Can love help you live longer? Find out now. 
(http://personals.aol.com/articles/2009/02/18/longer-lives-through-relationships/?ncid=emlweu
slove0001)
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Are There Gimp Beginner Level Tutorials?

2009-07-19 Thread Norman Silverstone

 I'm a beginner and need to learn the basics. If there are tutorials
 where can I find them?

If your interest is photography have a look at http://meetthegimp.org/ 

Norman

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


[Gimp-user] babl

2009-07-19 Thread Greg S.
On 07/19/2009 11:39 AM, Martin Nordholts wrote:
 On 07/19/2009 11:37 AM, Martin Nordholts wrote:
 Then after git pull --rebase you don't
 need to bother about setting up the environment again, you just do

 make

 That should of course be

 make
 make install

 / Martin

I should also mention that to run your fresh build of GIMP you don't 
need to setup any env vars at all since libtool have setup the rpaths in 
the binaries, so just doing

   /home/user/dev/bin/gimp-2.7

without messing with environment variables will launch GIMP 2.7.

  / Martin


Hi Martin,

Thanks for your info, but git did not work. Other end hungup. Tried many
times.  Please advise  regards

greg

-- 
Greg S. (via www.gimpusers.com)
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] babl

2009-07-19 Thread Martin Nordholts
On 07/20/2009 01:11 AM, Greg S. wrote:
 Hi Martin,

 Thanks for your info, but git did not work. Other end hungup. Tried many
 times.  Please advise  regards

Exactly what commands do you use?

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


[Gimp-user] babl

2009-07-19 Thread Greg S.
On 07/20/2009 01:11 AM, Greg S. wrote:
 Hi Martin,

 Thanks for your info, but git did not work. Other end hungup. Tried many
 times.  Please advise  regards

Exactly what commands do you use?

  / Martin
These are the commands to set up git from the git site.

git config --global user.name Rupert Monkey
git config --global user.email rup...@example.com

-- 
Greg S. (via www.gimpusers.com)
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


[Gimp-user] babl

2009-07-19 Thread Greg S.
On 07/20/2009 01:11 AM, Greg S. wrote:
 Hi Martin,

 Thanks for your info, but git did not work. Other end hungup. Tried many
 times.  Please advise  regards

Exactly what commands do you use?

  / Martin
These are the commands to set up git from the git site.

git config --global user.name Rupert Monkey
git config --global user.email rup...@example.com


Plus below also from git site.

To clone all the history and branches of a project, from a shell:

git clone git://git.gnome.org/[project]



-- 
Greg S. (via www.gimpusers.com)
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] babl

2009-07-19 Thread Martin Nordholts
On 07/20/2009 01:22 AM, Greg S. wrote:
 On 07/20/2009 01:11 AM, Greg S. wrote:
 Hi Martin,

 Thanks for your info, but git did not work. Other end hungup. Tried many
 times.  Please advise  regards
 Exactly what commands do you use?

   / Martin
 These are the commands to set up git from the git site.
 git config --global user.name Rupert Monkey
 git config --global user.email rup...@example.com


 Plus below also from git site.

 To clone all the history and branches of a project, from a shell:

 git clone git://git.gnome.org/[project]


You need to specify the project, try

   cd ~/source
   git clone git://git.gnome.org/babl
   git clone git://git.gnome.org/gegl
   git clone git://git.gnome.org/gimp

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


[Gimp-user] babl

2009-07-19 Thread Greg S.
On 07/20/2009 01:22 AM, Greg S. wrote:
 On 07/20/2009 01:11 AM, Greg S. wrote:
 Hi Martin,

 Thanks for your info, but git did not work. Other end hungup. Tried
many
 times.  Please advise  regards
 Exactly what commands do you use?

   / Martin
 These are the commands to set up git from the git site.
 git config --global user.name Rupert Monkey
 git config --global user.email rup...@example.com


 Plus below also from git site.

 To clone all the history and branches of a project, from a shell:

 git clone git://git.gnome.org/[project]


You need to specify the project, try

   cd ~/source
   git clone git://git.gnome.org/babl
   git clone git://git.gnome.org/gegl
   git clone git://git.gnome.org/gimp

  / Martin

I put babl, gegl  gimp inside the square brackets it is now cloning repos. 
regards

greg


-- 
Greg S. (via www.gimpusers.com)
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


[Gimp-user] babl

2009-07-19 Thread Greg S.
On 07/20/2009 01:22 AM, Greg S. wrote:
 On 07/20/2009 01:11 AM, Greg S. wrote:
 Hi Martin,

 Thanks for your info, but git did not work. Other end hungup. Tried
many
 times.  Please advise  regards
 Exactly what commands do you use?

   / Martin
 These are the commands to set up git from the git site.
 git config --global user.name Rupert Monkey
 git config --global user.email rup...@example.com


 Plus below also from git site.

 To clone all the history and branches of a project, from a shell:

 git clone git://git.gnome.org/[project]


You need to specify the project, try

   cd ~/source
   git clone git://git.gnome.org/babl
   git clone git://git.gnome.org/gegl
   git clone git://git.gnome.org/gimp

  / Martin

I put babl, gegl  gimp inside the square brackets it is now cloning repos.

regards

greg


I have all the repos from git for babl, gegl  gimp. I have run ./configure
and still configure can't find babl.

What do I do next. This is driving me nuts. /Greg


-- 
Greg S. (via www.gimpusers.com)
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] babl

2009-07-19 Thread Owen

On 07/20/2009 01:22 AM, Greg S. wrote:
 On 07/20/2009 01:11 AM, Greg S. wrote:
 Hi Martin,

 Thanks for your info, but git did not work. Other end hungup.
 Tried
many
 times.  Please advise  regards
 Exactly what commands do you use?

   / Martin
 These are the commands to set up git from the git site.
 git config --global user.name Rupert Monkey
 git config --global user.email rup...@example.com


 Plus below also from git site.

 To clone all the history and branches of a project, from a shell:

 git clone git://git.gnome.org/[project]


You need to specify the project, try

   cd ~/source
   git clone git://git.gnome.org/babl
   git clone git://git.gnome.org/gegl
   git clone git://git.gnome.org/gimp

  / Martin

I put babl, gegl  gimp inside the square brackets it is now cloning
 repos.

regards

greg


 I have all the repos from git for babl, gegl  gimp. I have run
 ./configure
 and still configure can't find babl.

 What do I do next. This is driving me nuts. /Greg






Hi,

I will bow out of this for the moment and thank Martin for his build
instructions which I will try out.

You might want to look at this,

http://www.gimpusers.com/news/2009-04-23/gimp-master-for-ubuntu-9-04.html

It *really* is that simple
-- 



Owen

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


Re: [Gimp-user] babl

2009-07-19 Thread Martin Nordholts
On 07/20/2009 02:05 AM, Greg S. wrote:
 I have all the repos from git for babl, gegl  gimp. I have run ./configure
 and still configure can't find babl.

 What do I do next. This is driving me nuts. /Greg


You are supposed to use ./autogen.sh, not ./configure. Calm down adn 
read my instructions again:
http://lists.xcf.berkeley.edu/lists/gimp-user/2009-July/015313.html

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