Skip to contentSkip to conversation

coccinelle depends on unmaintained pygtk

Cocci eamanu 3 participants 10 messages Feb 4, 2020 – Feb 28, 2020

lore
Share & tools
lore

eamanu

author
#0 lore raw

Hi everybody,

Sorry if this issues is duplicated, I am new in the mailing list and in a very quickly searching I didn't found about this issue.

I am working on Coccinelle package on Debian and currently exist the next bug [1].

There is any plan to port to use GObject Instrospection?

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=885267

Thanks!

Cheers,
eamanu

_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

#1 lore raw
Quoted 6 lines · eamanu

Hi everybody,

Sorry if this issues is duplicated, I am new in the mailing list and in a very quickly searching I didn't found about this issue.

I am working on Coccinelle package on Debian

Thanks!

Quoted 6 lines

and currently
exist the next bug [1].

There is any plan to port to use GObject Instrospection?

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=885267

I think we should just drop the code that depends on it. It was added for a MS thesis more than 10 years ago, and I don't think anyone has used it since.

I will look into it.

julia
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

author
#2 lore raw

Hi!

Quoted 13 lines · Julia Lawall
Quoted 6 lines · eamanu

Hi everybody,

Sorry if this issues is duplicated, I am new in the mailing list and in a very quickly searching I didn't found about this issue.

I am working on Coccinelle package on Debian

Thanks!

Quoted 3 lines

and currently
exist the next bug [1].

Quoted 8 lines
Quoted 3 lines

There is any plan to port to use GObject Instrospection?

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=885267

I think we should just drop the code that depends on it. It was added for a MS thesis more than 10 years ago, and I don't think anyone has used it since.

I will look into it.

Great, if you need help, I can help :-)

I will wait for any news. Thanks

eamanu

Quoted 2 lines

julia

_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

#3 lore raw

Hi Emmanuel,

Instead of porting to GObject directly,
can we use PyGTKCompat ?

https://wiki.gnome.org/Projects/PyGObject/PyGTKCompat

Regards,

Le 04/02/2020 à 16:25, eamanu a écrit :

Quoted 38 lines

Hi!

Quoted 13 lines · Julia Lawall
Quoted 6 lines · eamanu

Hi everybody,

Sorry if this issues is duplicated, I am new in the mailing list and in a very quickly searching I didn't found about this issue.

I am working on Coccinelle package on Debian

Thanks!

Quoted 3 lines

and currently
exist the next bug [1].

Quoted 8 lines
Quoted 3 lines

There is any plan to port to use GObject Instrospection?

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=885267

I think we should just drop the code that depends on it. It was added for a MS thesis more than 10 years ago, and I don't think anyone has used it since.

I will look into it.

Great, if you need help, I can help :-)

I will wait for any news. Thanks

eamanu

Quoted 2 lines

julia

_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

Signature · 6 lines
Nicolas Palix
http://lig-membres.imag.fr/palix/
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci
#4 lore raw
Quoted 6 lines · Nicolas Palix

Hi Emmanuel,

Instead of porting to GObject directly,
can we use PyGTKCompat ?

https://wiki.gnome.org/Projects/PyGObject/PyGTKCompat

The problem is resolved by removing the python file that relied on the unavailable library. I don't think that that python file is useful.

julia

Quoted 44 lines

Regards,

Le 04/02/2020 à 16:25, eamanu a écrit :

Quoted 29 lines

Hi!

Quoted 13 lines · Julia Lawall
Quoted 6 lines · eamanu

Hi everybody,

Sorry if this issues is duplicated, I am new in the mailing list and in a very quickly searching I didn't found about this issue.

I am working on Coccinelle package on Debian

Thanks!

Quoted 3 lines

and currently
exist the next bug [1].

Quoted 8 lines
Quoted 3 lines

There is any plan to port to use GObject Instrospection?

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=885267

I think we should just drop the code that depends on it. It was added for a MS thesis more than 10 years ago, and I don't think anyone has used it since.

I will look into it.

Great, if you need help, I can help :-)

I will wait for any news. Thanks

Quoted 9 lines

eamanu

Quoted 2 lines

julia

_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

Quoted 4 lines

--
Nicolas Palix
http://lig-membres.imag.fr/palix/

_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

#5 lore raw

Le 27/02/2020 à 10:45, Julia Lawall a écrit :

Quoted 13 lines · Nicolas Palix
Quoted 7 lines

Hi Emmanuel,

Instead of porting to GObject directly,
can we use PyGTKCompat ?

https://wiki.gnome.org/Projects/PyGObject/PyGTKCompat

The problem is resolved by removing the python file that relied on the unavailable library. I don't think that that python file is useful.

It looks like python/coccilib/coccigui contains the offending files:
coccigui.py, pygui.glade and pygui.gradep.
But according to vimcom.py and vimembed.py, these laters also depend of GTK.

Should the coccigui folder be entirely removed ?

Quoted 52 lines

julia

Quoted 48 lines

Regards,

Le 04/02/2020 à 16:25, eamanu a écrit :

Quoted 29 lines

Hi!

Quoted 13 lines · Julia Lawall
Quoted 6 lines · eamanu

Hi everybody,

Sorry if this issues is duplicated, I am new in the mailing list and in a very quickly searching I didn't found about this issue.

I am working on Coccinelle package on Debian

Thanks!

Quoted 3 lines

and currently
exist the next bug [1].

Quoted 8 lines
Quoted 3 lines

There is any plan to port to use GObject Instrospection?

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=885267

I think we should just drop the code that depends on it. It was added for a MS thesis more than 10 years ago, and I don't think anyone has used it since.

I will look into it.

Great, if you need help, I can help :-)

I will wait for any news. Thanks

Quoted 9 lines

eamanu

Quoted 2 lines

julia

_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

--
Nicolas Palix
http://lig-membres.imag.fr/palix/

Signature · 6 lines
Nicolas Palix
http://lig-membres.imag.fr/palix/
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci
#6 lore raw
Quoted 12 lines · Nicolas Palix

Le 27/02/2020 à 10:45, Julia Lawall a écrit :

Quoted 11 lines · Nicolas Palix
Quoted 7 lines

Hi Emmanuel,

Instead of porting to GObject directly,
can we use PyGTKCompat ?

https://wiki.gnome.org/Projects/PyGObject/PyGTKCompat

Quoted 8 lines
Quoted 2 lines

The problem is resolved by removing the python file that relied on the unavailable library. I don't think that that python file is useful.

It looks like python/coccilib/coccigui contains the offending files:
coccigui.py, pygui.glade and pygui.gradep.
But according to vimcom.py and vimembed.py, these laters also depend of GTK.

Should the coccigui folder be entirely removed ?

Yes, they have already been removed on github.

julia

Quoted 57 lines
Quoted 55 lines

julia

Quoted 50 lines

Regards,

Le 04/02/2020 à 16:25, eamanu a écrit :

Quoted 31 lines

Hi!

Quoted 15 lines · Julia Lawall
Quoted 6 lines · eamanu

Hi everybody,

Sorry if this issues is duplicated, I am new in the mailing list and in a very quickly searching I didn't found about this issue.

I am working on Coccinelle package on Debian

Thanks!

Quoted 5 lines

and currently
exist the next bug [1].

There is any plan to port to use GObject Instrospection?

Quoted 8 lines
Quoted 1 line

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=885267

I think we should just drop the code that depends on it. It was added for
a MS thesis more than 10 years ago, and I don't think anyone has used it
since.

I will look into it.

Great, if you need help, I can help :-)

I will wait for any news. Thanks

Quoted 9 lines

eamanu

Quoted 2 lines

julia

_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

--
Nicolas Palix
http://lig-membres.imag.fr/palix/

Quoted 4 lines

--
Nicolas Palix
http://lig-membres.imag.fr/palix/

_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

#7 lore raw

Hi Nicolas,

It seems that PyGTKCompat is not in Debian, so IMHO I would not consider that option.

The files with pygtk are:

docs/manual/cocci-python.txt:The latter depends on pygtk2, and the dependency will not be evaluated until runtime. python/coccilib/coccigui/coccigui.py:import pygtk python/coccilib/coccigui/coccigui.py:pygtk.require("2.0") python/coccilib/coccigui/pycoccimodel.py:import pygtk

So according with Julia, removing that files will not affect to coccinelle.

Quoted 57 lines · Julia Lawall
Quoted 10 lines · Nicolas Palix
Quoted 9 lines · Julia Lawall
Quoted 5 lines · Nicolas Palix

Hi Emmanuel,

Instead of porting to GObject directly,
can we use PyGTKCompat ?

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

https://wiki.gnome.org/Projects/PyGObject/PyGTKCompat

The problem is resolved by removing the python file that relied on the unavailable library. I don't think that that python file is useful.

It looks like python/coccilib/coccigui contains the offending files:
coccigui.py, pygui.glade and pygui.gradep.
But according to vimcom.py and vimembed.py, these laters also depend of

GTK.

Quoted 2 lines

Should the coccigui folder be entirely removed ?

Yes, they have already been removed on github.

julia

Quoted 8 lines
Quoted 8 lines

julia

Quoted 4 lines

Regards,

Le 04/02/2020 à 16:25, eamanu a écrit :

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

Hi!

Quoted 5 lines · Julia Lawall
Quoted 3 lines · eamanu

Hi everybody,

Sorry if this issues is duplicated, I am new in the mailing

list

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

and in a very quickly searching I didn't found about this

issue.

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 2 lines

I am working on Coccinelle package on Debian

Thanks!

Quoted 3 lines

and currently
exist the next bug [1].

Quoted 39 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines

There is any plan to port to use GObject Instrospection?

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=885267

I think we should just drop the code that depends on it. It was

added

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

for
a MS thesis more than 10 years ago, and I don't think anyone has

used

Quoted 31 lines
Quoted 20 lines
Quoted 20 lines
Quoted 18 lines
Quoted 4 lines

it
since.

I will look into it.

Great, if you need help, I can help :-)

I will wait for any news. Thanks

eamanu

Quoted 2 lines

julia

_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

Quoted 5 lines
Quoted 4 lines

--
Nicolas Palix
http://lig-membres.imag.fr/palix/

--
Nicolas Palix
http://lig-membres.imag.fr/palix/

_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

#8 lore raw
Quoted 7 lines · Emmanuel Arias

Hi Nicolas,

It seems that PyGTKCompat is not in Debian, so IMHO I would not consider that option.

The files with pygtk are:

Quoted 7 lines

docs/manual/cocci-python.txt:The latter depends on pygtk2, and the dependency will not be evaluated until runtime. python/coccilib/coccigui/coccigui.py:import pygtk python/coccilib/coccigui/coccigui.py:pygtk.require("2.0") python/coccilib/coccigui/pycoccimodel.py:import pygtk

So according with Julia, removing that files will not affect to coccinelle.

The files are gone in github. We expect to make a new release within about a week.

julia

Quoted 97 lines · Julia Lawall

      On Thu, 27 Feb 2020, Nicolas Palix wrote:

      > Le 27/02/2020 à 10:45, Julia Lawall a écrit :
      > >
      > >
      > > On Thu, 27 Feb 2020, Nicolas Palix wrote:
      > >
      > > > Hi Emmanuel,
      > > >
      > > > Instead of porting to GObject directly,
      > > > can we use PyGTKCompat ?
      > > >
      > > > https://wiki.gnome.org/Projects/PyGObject/PyGTKCompat
      > >
      > > The problem is resolved by removing the python file that
      relied on the
      > > unavailable library.  I don't think that that python file is
      useful.
      >
      > It looks like python/coccilib/coccigui contains the offending
      files:
      > coccigui.py, pygui.glade and pygui.gradep.
      > But according to vimcom.py and vimembed.py, these laters also
      depend of GTK.
      >
      > Should the coccigui folder be entirely removed ?

      Yes, they have already been removed on github.

      julia


      >
      > >
      > > julia
      > >
      > > >
      > > > Regards,
      > > >
      > > > Le 04/02/2020 à 16:25, eamanu a écrit :
      > > > > Hi!
      > > > >
      > > > > On 04/02/2020 11:59, Julia Lawall wrote:
      > > > > > On Tue, 4 Feb 2020, eamanu wrote:
      > > > > >
      > > > > > > Hi everybody,
      > > > > > >
      > > > > > > Sorry if this issues is duplicated, I am new in the
      mailing list
      > > > > > > and in a very quickly searching I didn't found about
      this issue.
      > > > > > >
      > > > > > > I am working on Coccinelle package on Debian
      > > > > > Thanks!
      > > > > >
      > > > > > > and currently
      > > > > > > exist the next bug [1].
      > > > > > >
      > > > > > > There is any plan to port to use GObject
      Instrospection?
      > > > > > >
      > > > > > > [1]
      https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=885267
      > > > > > I think we should just drop the code that depends on
      it.  It was added
      > > > > > for
      > > > > > a MS thesis more than 10 years ago, and I don't think
      anyone has used
      > > > > > it
      > > > > > since.
      > > > > >
      > > > > > I will look into it.
      > > > >
      > > > > Great, if you need help, I can help :-)
      > > > >
      > > > > I will wait for any news. Thanks
      > > > >
      > > > > eamanu
      > > > > >
      > > > > > julia
      > > > >
      > > > > _______________________________________________
      > > > > Cocci mailing list
      > > > > [email protected]
      > > > > https://systeme.lip6.fr/mailman/listinfo/cocci
      > > > >
      > > >
      > > >
      > > > --
      > > > Nicolas Palix
      > > > http://lig-membres.imag.fr/palix/
Quoted 11 lines
      > > >
      > >
      >
      >
      > --
      > Nicolas Palix
      > http://lig-membres.imag.fr/palix/
      >

_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

author
#9 lore raw
Quoted 16 lines · Julia Lawall
Quoted 13 lines · Emmanuel Arias

Hi Nicolas,

It seems that PyGTKCompat is not in Debian, so IMHO I would not consider that option.

The files with pygtk are:

docs/manual/cocci-python.txt:The latter depends on pygtk2, and the dependency will not be evaluated until runtime. python/coccilib/coccigui/coccigui.py:import pygtk python/coccilib/coccigui/coccigui.py:pygtk.require("2.0") python/coccilib/coccigui/pycoccimodel.py:import pygtk

Quoted 5 lines
Quoted 1 line

So according with Julia, removing that files will not affect to coccinelle.

The files are gone in github. We expect to make a new release within about a week.

julia

oh great! thanks!

Emmanuel

Quoted 108 lines
Quoted 108 lines · Julia Lawall

      On Thu, 27 Feb 2020, Nicolas Palix wrote:

      > Le 27/02/2020 à 10:45, Julia Lawall a écrit :
      > >
      > >
      > > On Thu, 27 Feb 2020, Nicolas Palix wrote:
      > >
      > > > Hi Emmanuel,
      > > >
      > > > Instead of porting to GObject directly,
      > > > can we use PyGTKCompat ?
      > > >
      > > > https://wiki.gnome.org/Projects/PyGObject/PyGTKCompat
      > >
      > > The problem is resolved by removing the python file that
      relied on the
      > > unavailable library.  I don't think that that python file is
      useful.
      >
      > It looks like python/coccilib/coccigui contains the offending
      files:
      > coccigui.py, pygui.glade and pygui.gradep.
      > But according to vimcom.py and vimembed.py, these laters also
      depend of GTK.
      >
      > Should the coccigui folder be entirely removed ?

      Yes, they have already been removed on github.

      julia


      >
      > >
      > > julia
      > >
      > > >
      > > > Regards,
      > > >
      > > > Le 04/02/2020 à 16:25, eamanu a écrit :
      > > > > Hi!
      > > > >
      > > > > On 04/02/2020 11:59, Julia Lawall wrote:
      > > > > > On Tue, 4 Feb 2020, eamanu wrote:
      > > > > >
      > > > > > > Hi everybody,
      > > > > > >
      > > > > > > Sorry if this issues is duplicated, I am new in the
      mailing list
      > > > > > > and in a very quickly searching I didn't found about
      this issue.
      > > > > > >
      > > > > > > I am working on Coccinelle package on Debian
      > > > > > Thanks!
      > > > > >
      > > > > > > and currently
      > > > > > > exist the next bug [1].
      > > > > > >
      > > > > > > There is any plan to port to use GObject
      Instrospection?
      > > > > > >
      > > > > > > [1]
      https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=885267
      > > > > > I think we should just drop the code that depends on
      it.  It was added
      > > > > > for
      > > > > > a MS thesis more than 10 years ago, and I don't think
      anyone has used
      > > > > > it
      > > > > > since.
      > > > > >
      > > > > > I will look into it.
      > > > >
      > > > > Great, if you need help, I can help :-)
      > > > >
      > > > > I will wait for any news. Thanks
      > > > >
      > > > > eamanu
      > > > > >
      > > > > > julia
      > > > >
      > > > > _______________________________________________
      > > > > Cocci mailing list
      > > > > [email protected]
      > > > > https://systeme.lip6.fr/mailman/listinfo/cocci
      > > > >
      > > >
      > > >
      > > > --
      > > > Nicolas Palix
      > > > http://lig-membres.imag.fr/palix/
      > > >
      > >
      >
      >
      > --
      > Nicolas Palix
      > http://lig-membres.imag.fr/palix/
      >
Signature · 3 lines
Emmanuel Arias
@eamanu
yaerobi.com

_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci