Bug#785553: Processed: severity of 785553 is serious, tagging 785553

Damyan Ivanov dmn at debian.org
Sun Nov 26 15:08:45 UTC 2017


[added maintainer of gscan2pdf to CC. gscan2pdf is the only reverse 
dependency of libgoo-canvas-perl]

goocanvas is deprecated & replaced by goocanvas-2.0. gscan2pdf depends 
on libgoo-canvas-perl, which uses goocanvas.

Are there any plans to migrate gscanpdf away from 
libgoocanvas-perl/goocanvas to goocanvas-2.0?


-=| Debian Bug Tracking System, 26.11.2017 14:09:08 +0000 |=-
> > severity 785553 serious
> > tags 785553 + buster sid

I tried to convince Goo::Canvas to build with libgoocanvas-2.0-dev by 
patching the search for 'goocanvas' in pkg_config to 'goocanvas-2.0' 
and adjusting the build dependency of 'libgoocanvas-dev' to 
'libgoocanvas-2.0-dev', but this fails with:

In file included from /usr/lib/x86_64-linux-gnu/perl5/5.26/Gtk2/Install/gtk2perl.h:45:0,
                 from ./goocanvas-perl.h:8,
                 from xs/goocanvas.xs:1:
/usr/lib/x86_64-linux-gnu/perl5/5.26/Gtk2/Install/gtk2perl-autogen.h:2308:11: error: unknown type name 'GdkRegion'
   typedef GdkRegion GdkRegion_ornull;
           ^~~~~~~~~
/usr/lib/x86_64-linux-gnu/perl5/5.26/Gtk2/Install/gtk2perl-autogen.h:2311:11: error: unknown type name 'GdkRegion'
   typedef GdkRegion GdkRegion_own;
           ^~~~~~~~~
/usr/lib/x86_64-linux-gnu/perl5/5.26/Gtk2/Install/gtk2perl-autogen.h:2312:11: error: unknown type name 'GdkRegion'
   typedef GdkRegion GdkRegion_copy;
           ^~~~~~~~~
/usr/lib/x86_64-linux-gnu/perl5/5.26/Gtk2/Install/gtk2perl-autogen.h:2313:11: error: unknown type name 'GdkRegion'
   typedef GdkRegion GdkRegion_own_ornull;
           ^~~~~~~~~

... and many more.

So to me trying to convert Goo::Canvas to work with goocanvas-2.0 is a dead-end.

Looking at CPAN, there is GooCanvas2, which is supposed to work with 
Gtk3 and goocanvas-2.0.

Some facts about libgoo-canvas-perl:

 Popcon: 6000 installs, 380 votes
 One reverse-dependency: gscan2pdf (1900 installs, 360 votes)


-- Damyan



More information about the pkg-perl-maintainers mailing list