Sign up now! · Forgot password?
RSS/Atom feed identi.ca Twitter

Trouble building Gimp from GIT repo

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

6 of 6 messages available
Toggle history

Please log in to manage your subscriptions.

Trouble building Gimp from GIT repo Steven P. Ulrick 11 Feb 10:48
  Trouble building Gimp from GIT repo Kevin Cozens 11 Feb 16:03
   Trouble building Gimp from GIT repo Steven P. Ulrick 12 Feb 00:03
    Trouble building Gimp from GIT repo Jehan Pagès 12 Feb 00:22
  Trouble building Gimp from GIT repo Carol Spears 12 Feb 00:02
   Trouble building Gimp from GIT repo Steven P. Ulrick 12 Feb 00:05
Steven P. Ulrick
2018-02-11 10:48:44 UTC (4 months ago)

Trouble building Gimp from GIT repo

Hello, Everyone

This is on Fedora 27, all current updates installed.

I have obtained the source code for GIMP using the following command "git clone https://github.com/GNOME/gimp.git"

When I attempt to build GIMP using the following command: "./autogen.sh && ./configure --enable-gtk-doc --enable-gtk-doc-html --prefix=/usr/local/spu/assorted/g/gimp/gimp-$(xdate) && make"

the result is as follows:

  - Error: missing dependency babl >= 0.1.42   - Error: missing dependency gegl-0.3 >= 0.3.29   - Error: missing dependency libmypaint >= 1.3.0   - Error: missing dependency mypaint-brushes-1.0

OK, the Fedora 27 versions of Babl & Gegl are too low. So I proceed to install them from their respective GIT repo's, to a location outside of the path that Fedora 27 installs in.  I then put this location in my ~/.bash_profile and then GIMP correctly sees them, and those two missing dependencies go away...

I also have libmypaint installed from GIT. It's "libmypaint-2.0.pc" file says the following:

Version: 2.0.0

"rpm -qa | grep -i mypaint" says the following:

[steve@afolkey2 ~]$ rpm -qa | grep -i mypaint mypaint-data-1.2.1-10.fc27.noarch
mypaint-1.2.1-10.fc27.x86_64
mypaint-devel-1.2.1-10.fc27.x86_64

So, "mypaint-data" (which contains the brushes that constitute mypaint-brushes) is a good version.
My custom install of libmypaint is newer than required, but is not detected as such by GIMP.
My custom installs of BABL and GEGL are both accepted versions, and they ARE detected by GIMP.

If I run "./autogen.sh && ./configure --enable-gtk-doc --enable-gtk-doc-html
--prefix=/usr/local/spu/assorted/g/gimp/gimp-$(xdate) && make" with all of the variables for the above listed items set appropriately in .bash_profile, the result is this:
Error: GIMP configuration failed.

  - Error: missing dependency libmypaint >= 1.3.0   - Error: missing dependency mypaint-brushes-1.0

See the file 'INSTALL' for more help. make: *** No targets specified and no makefile found.  Stop.

So, I THINK I have everything installed that GIMP requires, in the right versions, but still no success.

I will glady provide any additional information that you need.

Thank you, Steven P. Ulrick

Kevin Cozens
2018-02-11 16:03:46 UTC (4 months ago)

Trouble building Gimp from GIT repo

On 2018-02-11 05:48 AM, Steven P. Ulrick wrote:

I also have libmypaint installed from GIT. It's "libmypaint-2.0.pc" file says the following:

Version: 2.0.0

"rpm -qa | grep -i mypaint" says the following:

[snip]

My custom installs of BABL and GEGL are both accepted versions, and they ARE detected by GIMP.

I ran across the same problem with mypaint. After you clone the mypaint repo you need to checkout the 1.3 branch and built it. GIMP won't let you use the 2.0 version.

Cheers!

Kevin.

http://www.ve3syb.ca/           |"Nerds make the shiny things that distract
Owner of Elecraft K2 #2172      | the mouth-breathers, and that's why we're
                                 | powerful!"
#include  |             --Chris Hardwick
Carol Spears
2018-02-12 00:02:05 UTC (4 months ago)

Trouble building Gimp from GIT repo

On Sun, Feb 11, 2018 at 5:48 AM, Steven P. Ulrick wrote:

- Error: missing dependency mypaint-brushes-1.0

I have in my build directory a git repository for mypaint-brushes that was probably the solution to this problem.

It says [remote origin]
url=https://github.com/Jehan/mypaint-brushes etc.

carol

Steven P. Ulrick
2018-02-12 00:03:58 UTC (4 months ago)

Trouble building Gimp from GIT repo

On 02/11/2018 10:03 AM, Kevin Cozens wrote:

On 2018-02-11 05:48 AM, Steven P. Ulrick wrote:

I also have libmypaint installed from GIT. It's "libmypaint-2.0.pc" file says the following:

Version: 2.0.0

"rpm -qa | grep -i mypaint" says the following:

[snip]

My custom installs of BABL and GEGL are both accepted versions, and they ARE detected by GIMP.

I ran across the same problem with mypaint. After you clone the mypaint repo you need to checkout the 1.3 branch and built it. GIMP won't let you use the 2.0 version.

Hello, Kevin
Are you referring to libmypaint?  I know that I was unclear in my original email. I just built and installed libmypaint-1.3.0 and GIMP is happy with that...  But, libmypaint does not appear to have the brushes that are contained in mypaint.
This is the only error I am getting right now:   - Error: missing dependency mypaint-brushes-1.0

I have the appropriate RPM installed, and the brushes are located at "/usr/share/mypaint/brushes" but GIMP does not see them...

Thank you, Steven P. Ulrick

Steven P. Ulrick
2018-02-12 00:05:18 UTC (4 months ago)

Trouble building Gimp from GIT repo

On 02/11/2018 06:02 PM, Carol Spears wrote:

On Sun, Feb 11, 2018 at 5:48 AM, Steven P. Ulrick > wrote:

  - Error: missing dependency mypaint-brushes-1.0

I have in my build directory a git repository for mypaint-brushes that was probably the solution to this problem.

It says [remote origin]
  url=https://github.com/Jehan/mypaint-brushes etc.

carol

Hello, Carol
I have the mypaint-data RPM installed, and the brushes are located at "/usr/share/mypaint/brushes" but GIMP does not see them...

Steven P. Ulrick

Jehan Pagès
2018-02-12 00:22:49 UTC (4 months ago)

Trouble building Gimp from GIT repo

Hello,

On Mon, Feb 12, 2018 at 1:03 AM, Steven P. Ulrick wrote:

On 02/11/2018 10:03 AM, Kevin Cozens wrote:

On 2018-02-11 05:48 AM, Steven P. Ulrick wrote:

I also have libmypaint installed from GIT. It's "libmypaint-2.0.pc" file says the following:

Version: 2.0.0

"rpm -qa | grep -i mypaint" says the following:

[snip]

My custom installs of BABL and GEGL are both accepted versions, and they ARE detected by GIMP.

I ran across the same problem with mypaint. After you clone the mypaint repo you need to checkout the 1.3 branch and built it. GIMP won't let you use the 2.0 version.

Hello, Kevin
Are you referring to libmypaint? I know that I was unclear in my original email. I just built and installed libmypaint-1.3.0 and GIMP is happy with that... But, libmypaint does not appear to have the brushes that are contained in mypaint.
This is the only error I am getting right now: - Error: missing dependency mypaint-brushes-1.0

It is better to read the INSTALL file when you are building a software. :-) Or in the case of GIMP, If you build from git repository, then read INSTALL.in instead. Everything is explained.

As you note yourself, libmypaint do not contain MyPaint brushes, which is a problem. This is why mypaint-brushes is a separate package. It is available in https://github.com/Jehan/mypaint-brushes Install the branch v1.3.x and make sure that your PKG_CONFIG_PATH is well set (once again, everything is explained in details in INSTALL.in).

I have the appropriate RPM installed, and the brushes are located at "/usr/share/mypaint/brushes" but GIMP does not see them...

Yes these are installed with MyPaint, but this is a problem because:

(1) it makes MyPaint a defacto dependency to GIMP since we use libmypaint (which is useless without brushes). (2) there is no way to know where the brushes are but guessing. This is what we were doing previously trying various common places (/usr, /usr/local, etc.). But this is not an acceptable solution. We need to know where each of our dependencies are actually installed with certainty.

This is why we have a separate package which hopefully will be used also soon by every project using libmypaint out there (instead of duplicating these data everywhere! For instance, I read that it is what OpenToonz is doing: they just ship MyPaint brushes which is not a good idea).

Jehan

Thank you,
Steven P. Ulrick
_______________________________________________ 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

ZeMarmot open animation film
http://film.zemarmot.net
Liberapay: https://liberapay.com/ZeMarmot/
Patreon: https://patreon.com/zemarmot
Tipeee: https://www.tipeee.com/zemarmot