Re: [Gimp-developer] [ANN] gimpgitbuild 0.2.1 - a commandline tool to build GIMP and its dependencies from their git repos

2020-03-09 Thread Shlomi Fish
Hi Owen,

On Sun, 1 Mar 2020 00:53:43 +0100
Owen  wrote:

> > > On Sat, 29 Feb 2020 06:15:40 -
> > > "Ed"  wrote:
> > >  
> > > > I'd suggest setting up Travis and using CI with your project repo to
> > > > ensure people can start from a clean version of at least Ubuntu with a
> > > > fair chance it will work. The various packages and versions in the
> > > > Travis config would provide a great guide on dependencies.
> > > >  
> > >
> > > Thanks for the suggestion, Ed! I shall try that.
> > >  
> >
> > This was now implemented: https://travis-ci.org/shlomif/App-gimpgitbuild/ -
> > thanks. It took me half a day, and I ended up skipping the build of gimp
> > git master itself (due to the fact it required some newer deps). It
> > inspired a feature in gimpgitbuild 0.8.0 .  
> 
> 
> 
> 
> Thanks again and it built right to the end of gimp. But;
> 
> I suspect the following is relevant only to Ubuntu-19.10;
> 
> To get past libmypaint build not finding automake, I needed to;
> 
>  a.  Remove the symbolic links /etc/alternatives/automake and
> /etc/alternatives/aclocal (the /etc/alternatves linked back to the 1.16
> versions in /usr/bin b.  Copy automake-1.16 and aclocal-1.16 to 1.13 version
>  c.  link the 1.13 versions to automake and aclocal
> 
> There is probably an easier way to do this. However "it worked"
> 
> Gimp then built to "Success" but running the app,
> 
> # apps/graphics/gimp-devel/bin/gimp-2.99: error while loading shared
> libraries: libgimpbase-3.0.so.0: cannot open shared object file: No such file
> or directory
> 
> Vaguely remember having to set up some environment variable and will later
> try;
> 
>   # export
> LD_LIBRARY_PATH=/home/owen/apps/graphics/gimp-devel/lib:$LD_LIBRARY_PATH
> 

I've now added the runenv subcommand in version 0.12.0, inspired by this message
of yours: https://metacpan.org/release/App-gimpgitbuild . Thanks!

> but maybe that needs to be added to the 0.8.0 version
> 
> 
> 
> 
> Owen
> 



-- 

Shlomi Fish   https://www.shlomifish.org/
https://www.shlomifish.org/open-source/projects/fortune-mod/

Chuck Norris can end world hunger, but he thinks that hungry people make
humanity a more challenging adversary.
— http://www.shlomifish.org/humour/bits/facts/Chuck-Norris/

Please reply to list if it's a mailing list post - http://shlom.in/reply .
___
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] [ANN] gimpgitbuild 0.2.1 - a commandline tool to build GIMP and its dependencies from their git repos

2020-02-29 Thread Owen




> > On Sat, 29 Feb 2020 06:15:40 -
> > "Ed"  wrote:
> >
> > > I'd suggest setting up Travis and using CI with your project repo to 
> > > ensure
> > > people can start from a clean version of at least Ubuntu with a fair 
> > > chance
> > > it will work. The various packages and versions in the Travis config would
> > > provide a great guide on dependencies.
> > >
> >
> > Thanks for the suggestion, Ed! I shall try that.
> >
>
> This was now implemented: https://travis-ci.org/shlomif/App-gimpgitbuild/ -
> thanks. It took me half a day, and I ended up skipping the build of gimp
> git master itself (due to the fact it required some newer deps). It inspired a
> feature in gimpgitbuild 0.8.0 .




Thanks again and it built right to the end of gimp. But;

I suspect the following is relevant only to Ubuntu-19.10;

To get past libmypaint build not finding automake, I needed to;

 a.  Remove the symbolic links /etc/alternatives/automake and 
/etc/alternatives/aclocal
 (the /etc/alternatves linked back to the 1.16 versions in /usr/bin
 b.  Copy automake-1.16 and aclocal-1.16 to 1.13 version
 c.  link the 1.13 versions to automake and aclocal

There is probably an easier way to do this. However "it worked"

Gimp then built to "Success" but running the app,

# apps/graphics/gimp-devel/bin/gimp-2.99: error while loading shared libraries: 
libgimpbase-3.0.so.0: cannot open shared object file: No such file or directory

Vaguely remember having to set up some environment variable and will later try;

  # export 
LD_LIBRARY_PATH=/home/owen/apps/graphics/gimp-devel/lib:$LD_LIBRARY_PATH

but maybe that needs to be added to the 0.8.0 version




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] [ANN] gimpgitbuild 0.2.1 - a commandline tool to build GIMP and its dependencies from their git repos

2020-02-29 Thread Shlomi Fish
Hi Ed and all,

On Sat, 29 Feb 2020 10:27:38 +0200
Shlomi Fish  wrote:

> On Sat, 29 Feb 2020 06:15:40 -
> "Ed"  wrote:
> 
> > I'd suggest setting up Travis and using CI with your project repo to ensure 
> > people can start from a clean version of at least Ubuntu with a fair chance 
> > it will work. The various packages and versions in the Travis config would 
> > provide a great guide on dependencies.
> >   
> 
> Thanks for the suggestion, Ed! I shall try that.
> 

This was now implemented: https://travis-ci.org/shlomif/App-gimpgitbuild/ -
thanks. It took me half a day, and I ended up skipping the build of gimp
git master itself (due to the fact it required some newer deps). It inspired a
feature in gimpgitbuild 0.8.0 .

Thanks!

-- 

Shlomi Fish   https://www.shlomifish.org/
https://youtu.be/KxGRhd_iWuE - Never Give Up!!

Chuck Norris can construct any logical expression using only AND gates.
Summer Glau can replace Chuck with a very small AND gate.
— http://www.shlomifish.org/humour/bits/facts/Summer-Glau/

Please reply to list if it's a mailing list post - http://shlom.in/reply .
___
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] [ANN] gimpgitbuild 0.2.1 - a commandline tool to build GIMP and its dependencies from their git repos

2020-02-29 Thread Shlomi Fish
On Sat, 29 Feb 2020 06:15:40 -
"Ed"  wrote:

> I'd suggest setting up Travis and using CI with your project repo to ensure 
> people can start from a clean version of at least Ubuntu with a fair chance 
> it will work. The various packages and versions in the Travis config would 
> provide a great guide on dependencies.
> 

Thanks for the suggestion, Ed! I shall try that.

-- 

Shlomi Fish   https://www.shlomifish.org/
https://www.shlomifish.org/humour/bits/Can-I-SCO-Now/ - “Can I SCO Now?”

If Chuck Norris is disappointed by you not following his advice, he’ll survive.
On the other hand, you will not.
— http://www.shlomifish.org/humour/bits/facts/Chuck-Norris/

Please reply to list if it's a mailing list post - http://shlom.in/reply .
___
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] [ANN] gimpgitbuild 0.2.1 - a commandline tool to build GIMP and its dependencies from their git repos

2020-02-28 Thread Ed via gimp-developer-list
I'd suggest setting up Travis and using CI with your project repo to ensure 
people can start from a clean version of at least Ubuntu with a fair chance 
it will work. The various packages and versions in the Travis config would 
provide a great guide on dependencies.


-Original Message- 
From: Owen

Sent: Saturday, February 29, 2020 2:15 AM
To: Shlomi Fish
Cc: Gimp-Developer
Subject: Re: [Gimp-developer] [ANN] gimpgitbuild 0.2.1 - a commandline tool 
to build GIMP and its dependencies from their git repos




Hi Owen,

Please try gimpgitbuild 0.6.1 which should have a fix:

https://github.com/shlomif/App-gimpgitbuild/blob/51e404c476aaffb4f5f54bb67ee00d6f3baf3fa1/App-gimpgitbuild/Changes#L3




Hi Shlomi,

This is with Ubuntu-19.1 and is being built as an unprivileged user.

Version 0.6.1 got me into libmypaint where it failed. Details below.

I have the latest automake and even built another copy of it into 
/usr/local. Besides, I am pretty sure automake was required for babl and 
gegl


Thanks for your troubles so far and hope you can solve this one.



Owen


==Details


I am testing that you have the tools required to build
libmypaint from git. This test is not foolproof.

checking for libtool >= 1.5 ... Major version might be too new (2.4.6)
checking for autoconf >= 2.62 ... yes (version 2.69)
checking for automake >= 1.13 ...
 You must have automake 1.13 or newer installed to compile libmypaint.
 Download the appropriate package for your distribution,
 or get the source tarball at ftp://ftp.gnu.org/pub/gnu/automake/

./autogen.sh: 1: automake-1.13: not found
Major version might be too new (1.13)
checking for intltool >= 0.40.1 ... yes (version 0.51.0)

Please install/upgrade the missing tools and call me again.




owen@DTU:~$ aptitude search automake
i A automake   - Tool 
for generating GNU Standards-compliant Makefiles

v   automake:i386  -
p   automake-1.15  - Tool 
for generating GNU Standards-compliant Makefiles

v   automake-1.16  -
v   automake-1.16:i386 -
p   automake1.11   - Tool 
for generating GNU Standards-compliant Makefiles

v   automaken



owen@DTU:~$ apt-cache policy automake
automake:
 Installed: 1:1.16.1-4ubuntu3
 Candidate: 1:1.16.1-4ubuntu3



owen@DTU:~$ ls -la /usr/bin/automake
lrwxrwxrwx 1 root root 26 Sep 29 19:08 /usr/bin/automake -> 
/etc/alternatives/automake




owen@DTU:~$ /usr/bin/automake --version
automake (GNU automake) 1.16.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later 


This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey 
  and Alexandre Duret-Lutz .


___
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] [ANN] gimpgitbuild 0.2.1 - a commandline tool to build GIMP and its dependencies from their git repos

2020-02-28 Thread Owen


> Hi Owen,
>
> Please try gimpgitbuild 0.6.1 which should have a fix:
>
> https://github.com/shlomif/App-gimpgitbuild/blob/51e404c476aaffb4f5f54bb67ee00d6f3baf3fa1/App-gimpgitbuild/Changes#L3



Hi Shlomi,

This is with Ubuntu-19.1 and is being built as an unprivileged user.

Version 0.6.1 got me into libmypaint where it failed. Details below.

I have the latest automake and even built another copy of it into /usr/local. 
Besides, I am pretty sure automake was required for babl and gegl

Thanks for your troubles so far and hope you can solve this one.



Owen


==Details


I am testing that you have the tools required to build
libmypaint from git. This test is not foolproof.

checking for libtool >= 1.5 ... Major version might be too new (2.4.6)
checking for autoconf >= 2.62 ... yes (version 2.69)
checking for automake >= 1.13 ...
  You must have automake 1.13 or newer installed to compile libmypaint.
  Download the appropriate package for your distribution,
  or get the source tarball at ftp://ftp.gnu.org/pub/gnu/automake/

./autogen.sh: 1: automake-1.13: not found
Major version might be too new (1.13)
checking for intltool >= 0.40.1 ... yes (version 0.51.0)

Please install/upgrade the missing tools and call me again.




owen@DTU:~$ aptitude search automake
i A automake   - Tool for 
generating GNU Standards-compliant Makefiles
v   automake:i386  -
p   automake-1.15  - Tool for 
generating GNU Standards-compliant Makefiles
v   automake-1.16  -
v   automake-1.16:i386 -
p   automake1.11   - Tool for 
generating GNU Standards-compliant Makefiles
v   automaken



owen@DTU:~$ apt-cache policy automake
automake:
  Installed: 1:1.16.1-4ubuntu3
  Candidate: 1:1.16.1-4ubuntu3



owen@DTU:~$ ls -la /usr/bin/automake
lrwxrwxrwx 1 root root 26 Sep 29 19:08 /usr/bin/automake -> 
/etc/alternatives/automake



owen@DTU:~$ /usr/bin/automake --version
automake (GNU automake) 1.16.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later 

This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey 
   and Alexandre Duret-Lutz .


___
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] [ANN] gimpgitbuild 0.2.1 - a commandline tool to build GIMP and its dependencies from their git repos

2020-02-27 Thread Shlomi Fish
Hi Owen and all,

On Thu, 27 Feb 2020 00:59:39 +0100
Owen  wrote:

> > Hi all!
> >
> > See:
> >
> > https://metacpan.org/release/App-gimpgitbuild
> >
> > You can do either:
> >
> > gimpgitbuild build
> >
> > Or:
> >
> > gimpgitbuild env
> >
> > Hope you find it useful and contributions / comments are welcome at
> > https://github.com/shlomif/App-gimpgitbuild , here on the list, or in
> > private.  
> 
> 
> Hi,
> 
> All the modules installed ok, but running failed after downloading  babl
> 
> ...
> Running [cd "/home/owen/Download/unpack/graphics/gimp/babl/git/babl" && git
> checkout "master" && (false || git s origin "master") && mkdir -p "build" &&
> cd build && meson --prefix="/home/owen/apps/graphics/babl" .. && ninja -j4 &&
> ninja -j4 test && ninja -j4 install] Already on 'master' Your branch is up to
> date with 'origin/master'. git: 's' is not a git command. See 'git --help'.
> 

This should be fixed in version 0.6.0:

https://metacpan.org/pod/App::gimpgitbuild

Thanks for the report, and if possible, please try again and let me know if it
is now working for you.

> Grepping for "git" in gimpgitbuild did not find a git command with the 's'
> option (found no git commands at all)
> 
> Is this a bug?
> 
> 
> Owen
> 
> 



-- 

Shlomi Fish   https://www.shlomifish.org/
Free (Creative Commons) Music Downloads, Reviews and more - http://jamendo.com/

When you say “I wrote a program that crashed Windows”, people just stare at
you blankly and say “Hey, I got those with the system, *for free*”.
— https://en.wikiquote.org/wiki/Linus_Torvalds

Please reply to list if it's a mailing list post - http://shlom.in/reply .
___
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] [ANN] gimpgitbuild 0.2.1 - a commandline tool to build GIMP and its dependencies from their git repos

2020-02-27 Thread Shlomi Fish
Hi Owen,

thanks for your problem report, and for trying gimpgitbuild.

On Thu, 27 Feb 2020 00:59:39 +0100
Owen  wrote:

> > Hi all!
> >
> > See:
> >
> > https://metacpan.org/release/App-gimpgitbuild
> >
> > You can do either:
> >
> > gimpgitbuild build
> >
> > Or:
> >
> > gimpgitbuild env
> >
> > Hope you find it useful and contributions / comments are welcome at
> > https://github.com/shlomif/App-gimpgitbuild , here on the list, or in
> > private.  
> 
> 
> Hi,
> 
> All the modules installed ok, but running failed after downloading  babl
> 
> ...
> Running [cd "/home/owen/Download/unpack/graphics/gimp/babl/git/babl" && git
> checkout "master" && (false || git s origin "master") && mkdir -p "build" &&
> cd build && meson --prefix="/home/owen/apps/graphics/babl" .. && ninja -j4 &&
> ninja -j4 test && ninja -j4 install] Already on 'master' Your branch is up to
> date with 'origin/master'.
>
> git: 's' is not a git command. See 'git --help'.
> 
> Grepping for "git" in gimpgitbuild did not find a git command with the 's'
> option (found no git commands at all)
> 
> Is this a bug?
>

Kind of - I assumed my "git-s" program is in the path, see:

https://github.com/shlomif/shlomif-computer-settings/blob/master/shlomif-settings/home-bin-executables/bin/git-s
 
Naturally, it is not a right assumption and so I'll have to fix it in the
upcoming, new, release.

Thanks!

> 
> Owen
> 
> 



-- 

Shlomi Fish   https://www.shlomifish.org/
https://github.com/shlomif/Freenode-programming-channel-FAQ

 * rindolf demands equal rights for years, minutes, hours and days to also get
   YAAKOV’S GREAT HUGE LOVE.
—  http://www.shlomifish.org/humour/fortunes/sharp-perl.html

Please reply to list if it's a mailing list post - http://shlom.in/reply .
___
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] [ANN] gimpgitbuild 0.2.1 - a commandline tool to build GIMP and its dependencies from their git repos

2020-02-26 Thread Owen


> Hi all!
>
> See:
>
> https://metacpan.org/release/App-gimpgitbuild
>
> You can do either:
>
>   gimpgitbuild build
>
> Or:
>
>   gimpgitbuild env
>
> Hope you find it useful and contributions / comments are welcome at
> https://github.com/shlomif/App-gimpgitbuild , here on the list, or in private.


Hi,

All the modules installed ok, but running failed after downloading  babl

...
Running [cd "/home/owen/Download/unpack/graphics/gimp/babl/git/babl" && git 
checkout "master" && (false || git s origin "master") && mkdir -p "build" && cd 
build && meson --prefix="/home/owen/apps/graphics/babl" .. && ninja -j4 && 
ninja -j4 test && ninja -j4 install]
Already on 'master'
Your branch is up to date with 'origin/master'.
git: 's' is not a git command. See 'git --help'.

Grepping for "git" in gimpgitbuild did not find a git command with the 's' 
option (found no git commands at all)

Is this a bug?


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