Re: [Gimp-developer] GIMP can't find libmypaint-gegl
On Tue, 2015-12-22 at 20:35 -0500, Elle Stone wrote: > On 12/22/2015 06:46 PM, Eneko Castresana wrote: > > Sorry, I meant to say "in case you didn't install to the standard > > directories"; that needs to be done so that the shared libraries > > can be > > found in non-standard dirs. > > > > Cheers, > > Eneko > > > > 2015-12-23 0:38 GMT+01:00 Eneko Castresana: > > > > > > Hello Ellen, > > > > > > > > I had exactly this problem today, and as a newcomer found it > > > > all extremely > > > > frustrating, but I manged to figure it out at last (you got way > > > > further > > > > than me by the beginning, BTW): > > > > > > > > add "use_sharedlib=yes" to scons > > > > > > > > And just in case you installed to /usr/local, remember to > > > > update > > > > /etc/ld.so.conf and use ldconfig > > > > > > > > Cheers, > > > > Eneko > > Hi Eneko, and thanks! for responding. > > I build GIMP from git in a prefix to avoid interfering with GIMP 2.8 > installed from Gentoo portage, and so I'm not sure that modifying > /etc/ld.so.conf is the right thing to do. > > I have three different installations of GIMP in three different > prefixes. So I want libmypaint in prefix1 to link with GEGL in > prefix1, > and GIMP in prefix1 to look for libmypaint-gegl also and only in > prefix1, and so forth for the other two prefixes. > > Here's how I set up the first prefix: > > PREFIX=$HOME/data/gimp/gimpdefault/install > export PATH=$PREFIX/bin:$PATH > export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH > export XDG_DATA_DIRS=$PREFIX/share:$XDG_DATA_DIRS > export ACLOCAL_FLAGS="-I $PREFIX/share/aclocal" > export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH > export GIO_EXTRA_MODULES=/usr/lib/gio/modules > export SRC_DIR=$HOME/data/gimp/gimpdefault/build > > Here's the command to build libmypaint: > > scons prefix=$HOME/data/gimp/gimpdefault/install use_sharedlib=yes > enable_gegl=true Do you also pass prefix=foo when installing it? scons prefix=foo install --Mitch ___ gimp-developer-list mailing list List address:gimp-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list
Re: [Gimp-developer] GIMP can't find libmypaint-gegl
> On 12/22/2015 08:41 PM, Owen Cook wrote: > >> On 12/22/2015 08:19 PM, Owen Cook wrote: > >>> After you built Mypaint, you should have had a libmypaint-gegl.pc which > >>> needs to be included in your PKG_CONFIG path > > > > > but here is the pc file which I think explains what is going on. As you can > > see, I built it in my Gimp directory, but suspect it can be built anywhere. > > Let PKG_CONFIG find it. > > > > > > owen@LM-17 ~/Gimp-GIT/libmypaint $ cat libmypaint-gegl.pc > > prefix=/home/owen/Gimp-GIT/libmypaint > > exec_prefix=/home/owen/Gimp-GIT/libmypaint > > libdir=/home/owen/Gimp-GIT/libmypaint/lib > > includedir=/home/owen/Gimp-GIT/libmypaint/include > > > > Name: libmypaint-gegl > > Description: MyPaint brush engine library, with GEGL integration > > Version: 1.1 > > Requires: gegl-0.3 libmypaint > > Cflags: -I${includedir}/libmypaint-gegl > > Libs: -L${libdir} -lmypaint-gegl > > > > Hmm, there are already similar files for babl/GEGL/GIMP. So that file > probably should be generated automatically when building/installing > libmypaint, but there isn't one in the prefix. Did you create that file? > or was it generated automatically? I searched my history for libmypaint as well as otherthings found I did this; a. git clone https://github.com/mypaint/libmypaint.git b. I then read the README.md c. Had to install scons d. The last scons command was # scons prefix=/home/owen/Gimp-GIT enable_gegl=true (but judging by the number of other attempts, I must have had some problem) e. That generated the libmypaint-gegl.pc f. then I exported /home/owen/Gimp-GIT/libmypaint to the PKG_CONFIG path g. Lastly I installed MyPaint from a debian package manager for the brushes h. rebuilt gimp, there was an entry to load mypaint brushes, but "it didn't work" All that was some time ago and many iterations later I see I no longer build gimp with libmypaint. In the README.md, there is an interesting line that says; You can also build a minimal version of libmypaint directly into your application by including "libmypaint.c" I never psyched that out, but would like to know how to do that. Owen ___ gimp-developer-list mailing list List address:gimp-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list
Re: [Gimp-developer] May I try to correct this bug?
On Mon, 2015-12-21 at 14:10 +0100, Eneko Castresana wrote: > Hello, > > I'd like to try to correct this bug: > Bug 562564 - Impossible stroke a path with the clone tool ( > https://bugzilla.gnome.org/show_bug.cgi?id=562564 ) I can't imagine people objecting to a suitable patch...:-) It's a feature request more than a bug I think - and in the UI you'd have to have a clone source selected first, and there would need to be clear messages to help people through the process. Liam (ankh) ___ gimp-developer-list mailing list List address:gimp-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list
Re: [Gimp-developer] GIMP can't find libmypaint-gegl
On 12/22/2015 08:41 PM, Owen Cook wrote: On 12/22/2015 08:19 PM, Owen Cook wrote: After you built Mypaint, you should have had a libmypaint-gegl.pc which needs to be included in your PKG_CONFIG path but here is the pc file which I think explains what is going on. As you can see, I built it in my Gimp directory, but suspect it can be built anywhere. Let PKG_CONFIG find it. owen@LM-17 ~/Gimp-GIT/libmypaint $ cat libmypaint-gegl.pc prefix=/home/owen/Gimp-GIT/libmypaint exec_prefix=/home/owen/Gimp-GIT/libmypaint libdir=/home/owen/Gimp-GIT/libmypaint/lib includedir=/home/owen/Gimp-GIT/libmypaint/include Name: libmypaint-gegl Description: MyPaint brush engine library, with GEGL integration Version: 1.1 Requires: gegl-0.3 libmypaint Cflags: -I${includedir}/libmypaint-gegl Libs: -L${libdir} -lmypaint-gegl Hmm, there are already similar files for babl/GEGL/GIMP. So that file probably should be generated automatically when building/installing libmypaint, but there isn't one in the prefix. Did you create that file? or was it generated automatically? Elle ___ gimp-developer-list mailing list List address:gimp-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list
Re: [Gimp-developer] GIMP can't find libmypaint-gegl
Sorry, that was my mistake again. For some reason I was thinking of the problem I had when the gimp binary wouldn't find the dynamic library. I did have issues while building gimp and libmypaint but IIRC it was just me not configuring the gegl option in libmypaint. I installed everything to /usr/local, so aside from the shared library thing, I suppose every file was at reach. In short: I'm clueless and Owen is probably right. :) 2015-12-23 2:35 GMT+01:00 Elle Stone : > [...] > Hi Eneko, and thanks! for responding. > > I build GIMP from git in a prefix to avoid interfering with GIMP 2.8 > installed from Gentoo portage, and so I'm not sure that modifying > /etc/ld.so.conf is the right thing to do. > > I have three different installations of GIMP in three different prefixes. > So I want libmypaint in prefix1 to link with GEGL in prefix1, and GIMP in > prefix1 to look for libmypaint-gegl also and only in prefix1, and so forth > for the other two prefixes. > > Here's how I set up the first prefix: > > PREFIX=$HOME/data/gimp/gimpdefault/install > export PATH=$PREFIX/bin:$PATH > export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH > export XDG_DATA_DIRS=$PREFIX/share:$XDG_DATA_DIRS > export ACLOCAL_FLAGS="-I $PREFIX/share/aclocal" > export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH > export GIO_EXTRA_MODULES=/usr/lib/gio/modules > export SRC_DIR=$HOME/data/gimp/gimpdefault/build > > Here's the command to build libmypaint: > > scons prefix=$HOME/data/gimp/gimpdefault/install use_sharedlib=yes > enable_gegl=true > > libmypaint-gegl.so is located in > /home/elle/data/gimp/gimpdefault/install/lib/, along with libmypaint.so and > the two corresponding ".a" files. > > But GIMP still isn't finding libmypaint-gegl.so. > > Elle > ___ gimp-developer-list mailing list List address:gimp-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list
Re: [Gimp-developer] GIMP can't find libmypaint-gegl
> Sent: Wednesday, December 23, 2015 at 12:38 PM > From: "Elle Stone" > To: gimp-developer-list@gnome.org > Subject: Re: [Gimp-developer] GIMP can't find libmypaint-gegl > > On 12/22/2015 08:19 PM, Owen Cook wrote: > > After you built Mypaint, you should have had a libmypaint-gegl.pc which > > needs to be included in your PKG_CONFIG path > > Does this mean I need to install Mypaint in the prefix along with > babl/GEGL/libmypaint/GIMP? > > I cloned Mypaint from git, but there doesn't seem to be any guidance as > to how to build mypaint. Is there a guide somewhere? I really don't know, but here is the pc file which I think explains what is going on. As you can see, I built it in my Gimp directory, but suspect it can be built anywhere. Let PKG_CONFIG find it. owen@LM-17 ~/Gimp-GIT/libmypaint $ cat libmypaint-gegl.pc prefix=/home/owen/Gimp-GIT/libmypaint exec_prefix=/home/owen/Gimp-GIT/libmypaint libdir=/home/owen/Gimp-GIT/libmypaint/lib includedir=/home/owen/Gimp-GIT/libmypaint/include Name: libmypaint-gegl Description: MyPaint brush engine library, with GEGL integration Version: 1.1 Requires: gegl-0.3 libmypaint Cflags: -I${includedir}/libmypaint-gegl Libs: -L${libdir} -lmypaint-gegl Owen ___ gimp-developer-list mailing list List address:gimp-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list
Re: [Gimp-developer] GIMP can't find libmypaint-gegl
On 12/22/2015 08:19 PM, Owen Cook wrote: After you built Mypaint, you should have had a libmypaint-gegl.pc which needs to be included in your PKG_CONFIG path Does this mean I need to install Mypaint in the prefix along with babl/GEGL/libmypaint/GIMP? I cloned Mypaint from git, but there doesn't seem to be any guidance as to how to build mypaint. Is there a guide somewhere? I'm sure Mypaint is a wonderful program. But why is this a hard dependency for GIMP? Elle ___ gimp-developer-list mailing list List address:gimp-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list
Re: [Gimp-developer] GIMP can't find libmypaint-gegl
On 12/22/2015 06:46 PM, Eneko Castresana wrote: Sorry, I meant to say "in case you didn't install to the standard directories"; that needs to be done so that the shared libraries can be found in non-standard dirs. Cheers, Eneko 2015-12-23 0:38 GMT+01:00 Eneko Castresana: >Hello Ellen, > >I had exactly this problem today, and as a newcomer found it all extremely >frustrating, but I manged to figure it out at last (you got way further >than me by the beginning, BTW): > >add "use_sharedlib=yes" to scons > >And just in case you installed to /usr/local, remember to update >/etc/ld.so.conf and use ldconfig > >Cheers, >Eneko Hi Eneko, and thanks! for responding. I build GIMP from git in a prefix to avoid interfering with GIMP 2.8 installed from Gentoo portage, and so I'm not sure that modifying /etc/ld.so.conf is the right thing to do. I have three different installations of GIMP in three different prefixes. So I want libmypaint in prefix1 to link with GEGL in prefix1, and GIMP in prefix1 to look for libmypaint-gegl also and only in prefix1, and so forth for the other two prefixes. Here's how I set up the first prefix: PREFIX=$HOME/data/gimp/gimpdefault/install export PATH=$PREFIX/bin:$PATH export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH export XDG_DATA_DIRS=$PREFIX/share:$XDG_DATA_DIRS export ACLOCAL_FLAGS="-I $PREFIX/share/aclocal" export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH export GIO_EXTRA_MODULES=/usr/lib/gio/modules export SRC_DIR=$HOME/data/gimp/gimpdefault/build Here's the command to build libmypaint: scons prefix=$HOME/data/gimp/gimpdefault/install use_sharedlib=yes enable_gegl=true libmypaint-gegl.so is located in /home/elle/data/gimp/gimpdefault/install/lib/, along with libmypaint.so and the two corresponding ".a" files. But GIMP still isn't finding libmypaint-gegl.so. Elle ___ gimp-developer-list mailing list List address:gimp-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list
Re: [Gimp-developer] GIMP can't find libmypaint-gegl
> checking for LIBMYPAINTGEGL... no > configure: error: Package requirements (libmypaint-gegl >= 1.1) were not > met: > > No package 'libmypaint-gegl' found > > There isn't any libmypaint or libmypaint-gegl in Gentoo portage, and > installing mypaint from Gentoo portage didn't fix the problem. > > I compiled libmypaint from git (https://github.com/mypaint/libmypaint) > in the prefix with babl/GEGL/GIMP, using the command: > > scons prefix=$HOME/data/gimp/gimpdefault/install enable_gegl=true > > which put the file "libmypaint-gegl.a" and "libmypaint.a" in the install > prefix, in the lib folder. > > But GIMP still says it can't find libmypaint-gegl. How do I fix this so > GIMP can compile? After you built Mypaint, you should have had a libmypaint-gegl.pc which needs to be included in your PKG_CONFIG path Owen ___ gimp-developer-list mailing list List address:gimp-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list
Re: [Gimp-developer] GIMP can't find libmypaint-gegl
Am 23.12.2015 um 00:26 schrieb Elle Stone: I updated and tried to rebuild GIMP from git, with the following error: checking for LIBMYPAINTGEGL... no configure: error: Package requirements (libmypaint-gegl >= 1.1) were not met: No package 'libmypaint-gegl' found There isn't any libmypaint or libmypaint-gegl in Gentoo portage, and installing mypaint from Gentoo portage didn't fix the problem. I compiled libmypaint from git (https://github.com/mypaint/libmypaint) in the prefix with babl/GEGL/GIMP, using the command: scons prefix=$HOME/data/gimp/gimpdefault/install enable_gegl=true which put the file "libmypaint-gegl.a" and "libmypaint.a" in the install prefix, in the lib folder. But GIMP still says it can't find libmypaint-gegl. How do I fix this so GIMP can compile? I'm just try to build current packages in my Ubuntu PPA. It takes some time. I hope this helps. I added some dirty patches in order ti builld the whole stack. Stay tuned. :-) https://launchpad.net/~otto-kesselgulasch/+archive/ubuntu/gimp-edge/+packages Elle ___ gimp-developer-list mailing list List address:gimp-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list -- Lao-Tse sagt: Nichtstun ist besser, als mit viel Mühe nichts zu schaffen. Und er sagt auch: Ich habe drei Schätze, die ich hüte und hege. Der eine ist die Liebe, der zweite ist die Genügsamkeit, der dritte ist die Demut. Nur der Liebende ist mutig, nur der Genügsame ist großzügig, nur der Demütige ist fähig zu herrschen. ___ gimp-developer-list mailing list List address:gimp-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list
Re: [Gimp-developer] GIMP can't find libmypaint-gegl
Sorry, I meant to say "in case you didn't install to the standard directories"; that needs to be done so that the shared libraries can be found in non-standard dirs. Cheers, Eneko 2015-12-23 0:38 GMT+01:00 Eneko Castresana : > Hello Ellen, > > I had exactly this problem today, and as a newcomer found it all extremely > frustrating, but I manged to figure it out at last (you got way further > than me by the beginning, BTW): > > add "use_sharedlib=yes" to scons > > And just in case you installed to /usr/local, remember to update > /etc/ld.so.conf and use ldconfig > > Cheers, > Eneko > > P.S: Hope I posted to the list now. Sorry. > > 2015-12-23 0:26 GMT+01:00 Elle Stone : > >> I updated and tried to rebuild GIMP from git, with the following error: >> >> checking for LIBMYPAINTGEGL... no >> configure: error: Package requirements (libmypaint-gegl >= 1.1) were not >> met: >> >> No package 'libmypaint-gegl' found >> >> There isn't any libmypaint or libmypaint-gegl in Gentoo portage, and >> installing mypaint from Gentoo portage didn't fix the problem. >> >> I compiled libmypaint from git (https://github.com/mypaint/libmypaint) >> in the prefix with babl/GEGL/GIMP, using the command: >> >> scons prefix=$HOME/data/gimp/gimpdefault/install enable_gegl=true >> >> which put the file "libmypaint-gegl.a" and "libmypaint.a" in the install >> prefix, in the lib folder. >> >> But GIMP still says it can't find libmypaint-gegl. How do I fix this so >> GIMP can compile? >> >> Elle >> ___ >> gimp-developer-list mailing list >> List address:gimp-developer-list@gnome.org >> List membership: >> https://mail.gnome.org/mailman/listinfo/gimp-developer-list >> List archives: https://mail.gnome.org/archives/gimp-developer-list >> > > ___ gimp-developer-list mailing list List address:gimp-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list
Re: [Gimp-developer] GIMP can't find libmypaint-gegl
Hello Ellen, I had exactly this problem today, and as a newcomer found it all extremely frustrating, but I manged to figure it out at last (you got way further than me by the beginning, BTW): add "use_sharedlib=yes" to scons And just in case you installed to /usr/local, remember to update /etc/ld.so.conf and use ldconfig Cheers, Eneko P.S: Hope I posted to the list now. Sorry. 2015-12-23 0:26 GMT+01:00 Elle Stone : > I updated and tried to rebuild GIMP from git, with the following error: > > checking for LIBMYPAINTGEGL... no > configure: error: Package requirements (libmypaint-gegl >= 1.1) were not > met: > > No package 'libmypaint-gegl' found > > There isn't any libmypaint or libmypaint-gegl in Gentoo portage, and > installing mypaint from Gentoo portage didn't fix the problem. > > I compiled libmypaint from git (https://github.com/mypaint/libmypaint) in > the prefix with babl/GEGL/GIMP, using the command: > > scons prefix=$HOME/data/gimp/gimpdefault/install enable_gegl=true > > which put the file "libmypaint-gegl.a" and "libmypaint.a" in the install > prefix, in the lib folder. > > But GIMP still says it can't find libmypaint-gegl. How do I fix this so > GIMP can compile? > > Elle > ___ > gimp-developer-list mailing list > List address:gimp-developer-list@gnome.org > List membership: > https://mail.gnome.org/mailman/listinfo/gimp-developer-list > List archives: https://mail.gnome.org/archives/gimp-developer-list > ___ gimp-developer-list mailing list List address:gimp-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list
[Gimp-developer] GIMP can't find libmypaint-gegl
I updated and tried to rebuild GIMP from git, with the following error: checking for LIBMYPAINTGEGL... no configure: error: Package requirements (libmypaint-gegl >= 1.1) were not met: No package 'libmypaint-gegl' found There isn't any libmypaint or libmypaint-gegl in Gentoo portage, and installing mypaint from Gentoo portage didn't fix the problem. I compiled libmypaint from git (https://github.com/mypaint/libmypaint) in the prefix with babl/GEGL/GIMP, using the command: scons prefix=$HOME/data/gimp/gimpdefault/install enable_gegl=true which put the file "libmypaint-gegl.a" and "libmypaint.a" in the install prefix, in the lib folder. But GIMP still says it can't find libmypaint-gegl. How do I fix this so GIMP can compile? Elle ___ gimp-developer-list mailing list List address:gimp-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list