Doing without pygtk ?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Doing without pygtk ?

Developers mailing list
Everyone knows that python2 is reaching end of life, but until now
pygtk-2 (which seems to be unmaintained) has continued to build.
But now pango is under more-active maintenance, and using harfbuzz
(which is a good thing).  Unfortunately, as part of the changes in
pango-1.44 to move to hb, a _lot_ of things from pango headers have
moved into private headers which do not get installed.

At the risk of offending people who want to use python2 with gimp:
is it practical to build gimp-2.10 without pygtk-2 ?

ĸen
--
One pill makes you larger, And one pill makes you small.
And the ones that mother gives you, Don't do anything at all.
Go ask Alice, When she's ten feet tall.
               -- Jefferson Airplane, White Rabbit
_______________________________________________
gimp-developer-list mailing list
List address:    [hidden email]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list
Reply | Threaded
Open this post in threaded view
|

Re: Doing without pygtk ?

Developers mailing list
On Sun, Aug 04, 2019 at 08:18:26PM +0100, Ken Moffat via gimp-developer-list wrote:

> Everyone knows that python2 is reaching end of life, but until now
> pygtk-2 (which seems to be unmaintained) has continued to build.
> But now pango is under more-active maintenance, and using harfbuzz
> (which is a good thing).  Unfortunately, as part of the changes in
> pango-1.44 to move to hb, a _lot_ of things from pango headers have
> moved into private headers which do not get installed.
>
> At the risk of offending people who want to use python2 with gimp:
> is it practical to build gimp-2.10 without pygtk-2 ?
>

Builds fine with --disable-python.  Whether all users will find it
usable is a different matter ;-)

ĸen
--
One pill makes you larger, And one pill makes you small.
And the ones that mother gives you, Don't do anything at all.
Go ask Alice, When she's ten feet tall.
               -- Jefferson Airplane, White Rabbit
_______________________________________________
gimp-developer-list mailing list
List address:    [hidden email]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list
Reply | Threaded
Open this post in threaded view
|

Re: Doing without pygtk ?

Developers mailing list
Hi!

On Sun, Aug 4, 2019 at 10:32 PM Ken Moffat via gimp-developer-list <
[hidden email]> wrote:

> On Sun, Aug 04, 2019 at 08:18:26PM +0100, Ken Moffat via
> gimp-developer-list wrote:
> > Everyone knows that python2 is reaching end of life, but until now
> > pygtk-2 (which seems to be unmaintained) has continued to build.
> > But now pango is under more-active maintenance, and using harfbuzz
> > (which is a good thing).  Unfortunately, as part of the changes in
> > pango-1.44 to move to hb, a _lot_ of things from pango headers have
> > moved into private headers which do not get installed.
> >
> > At the risk of offending people who want to use python2 with gimp:
> > is it practical to build gimp-2.10 without pygtk-2 ?
>
>
Is it a question because it is actually going to be impossible to have
pygtk in some distributions in a close future?
If so, which distribution, and for when?


>
> Builds fine with --disable-python.  Whether all users will find it
> usable is a different matter ;-)
>

Yeah Python has always been an option but it is also a very important
feature of GIMP. People will not be happy if their scripts suddenly stop
working.

This being said, we already dropped pygtk in the master branch (future Gimp
3), which now uses GObject Introspection for Python support (both 2 and 3)
and much more (we tested with success already JavaScript and Lua too, and
someone is working on Vala if not mistaken).

Now when will GIMP 3 be released? Nobody can say. We'd really like GIMP
2.10 to keep Python 2 support for as long as possible.

Jehan


>
> ĸen
> --
> One pill makes you larger, And one pill makes you small.
> And the ones that mother gives you, Don't do anything at all.
> Go ask Alice, When she's ten feet tall.
>                -- Jefferson Airplane, White Rabbit
> _______________________________________________
> gimp-developer-list mailing list
> List address:    [hidden email]
> 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
_______________________________________________
gimp-developer-list mailing list
List address:    [hidden email]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list
Reply | Threaded
Open this post in threaded view
|

Re: Doing without pygtk ?

Developers mailing list
On Sat, Aug 17, 2019 at 12:22:49AM +0200, Jehan Pagès wrote:

> Hi!
>
> On Sun, Aug 4, 2019 at 10:32 PM Ken Moffat via gimp-developer-list <
> [hidden email]> wrote:
>
> > On Sun, Aug 04, 2019 at 08:18:26PM +0100, Ken Moffat via
> > gimp-developer-list wrote:
> >
> Is it a question because it is actually going to be impossible to have
> pygtk in some distributions in a close future?
> If so, which distribution, and for when?
>
It was a problem in Beyond Linux From Scratch, but for the moment we
have reverted to 2.42.4.

>
> >
> > Builds fine with --disable-python.  Whether all users will find it
> > usable is a different matter ;-)
> >
>
> Yeah Python has always been an option but it is also a very important
> feature of GIMP. People will not be happy if their scripts suddenly stop
> working.
>
> This being said, we already dropped pygtk in the master branch (future Gimp
> 3), which now uses GObject Introspection for Python support (both 2 and 3)
> and much more (we tested with success already JavaScript and Lua too, and
> someone is working on Vala if not mistaken).
>
> Now when will GIMP 3 be released? Nobody can say. We'd really like GIMP
> 2.10 to keep Python 2 support for as long as possible.
>
> Jehan
>

It's good to know that master has dropped pygtk.  Here's hoping that
GIMP 3 is ready before python-2 stops getting vulnerability fixes.
Thanks for taking your time to reply.

ĸen
--
Adopted by dwarfs, brought up by dwarfs.  To dwarfs I'm a dwarf, sir.
I can do the rite of k'zakra, I know the secrets of h'ragna, I can
ha'lk my g'rakha correctly ... I am a dwarf
           Captain Carrot Ironfoundersson (in The Fifth Elephant)
_______________________________________________
gimp-developer-list mailing list
List address:    [hidden email]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list