Bug 116603 - gtk-sharp should depend on dev-perl/XML-LibXML
Bug#: 116603 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: dotnet@gentoo.org Reported By: eikke@eikke.com
Component: Unspecified
URL: 
Summary: gtk-sharp should depend on dev-perl/XML-LibXML
Keywords:  
Status Whiteboard: 
Opened: 2005-12-24 05:04 0000
Description:   Opened: 2005-12-24 05:04 0000
gapi2-parser and other gapi2-* tools shipping with gtk-sharp depend on
dev-perl/XML-LibXML to function. As other foo-sharp packages use these gapi
tools to auto-generate the Mono bindings, the necessary CPAN classes should be
installed.

------- Comment #1 From Peter Johanson (RETIRED) 2006-01-15 00:04:27 0000 -------
The 1.0.x gtk-sharp ebuilds definitely were missing the dep, and I've just
added those. The gapi2-parser in 2.x was rewritten in C# though, and the dep is
no longer valid, afaict.

Marking this FIXED, please feel free to re-open if you find this not to be the
case.

------- Comment #2 From Ikke 2006-01-15 01:25:38 0000 -------
I don't think you're completely right... The main tools are written in C#
indeed, but they do call some Perl scripts:

~ $ emerge -pv gtk-sharp

These are the packages that I would merge, in order:

Calculating dependencies  ...done!
[ebuild   R   ] dev-dotnet/gtk-sharp-2.6.0  -doc 0 kB

Total size of downloads: 0 kB
~ $ equery files gtk-sharp | grep pl
/usr/lib/gtk-sharp-2.0/gapi2xml.pl
/usr/lib/gtk-sharp-2.0/gapi_pp.pl
~ $ grep "^use" /usr/lib/gtk-sharp-2.0/gapi2xml.pl
use XML::LibXML;

This script is called from the C# gapi2-* tools, as stated in the official GAPI
documentation: http://www.mono-project.com/GAPI#Internal_Tools_and_Perl_Files

Re-opening this, I hope I'm right :-)

------- Comment #3 From Peter Johanson (RETIRED) 2006-01-18 23:00:49 0000 -------
Indeed you are. Sorry for missing that. Commited the changes to the 2.x
gtk-sharp ebuilds as well. Thanks yet again. Marking FIXED.