Commit d2fd5ac7 authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter
Browse files

avoid unnecessary xml_pp dependency, patch by Alberto Ruiz, fixes bug

2007-09-01  Juerg Billeter  <j@bitron.ch>

	* vapigen/gidlgen/gapi2xml.pl, vapigen/gidlgen/gidlgen.in: avoid
	  unnecessary xml_pp dependency, patch by Alberto Ruiz, fixes bug 472658

svn path=/trunk/; revision=571
parent eb763528
2007-09-01 Jürg Billeter <j@bitron.ch>
* vapigen/gidlgen/gapi2xml.pl, vapigen/gidlgen/gidlgen.in: avoid
unnecessary xml_pp dependency, patch by Alberto Ruiz, fixes bug 472658
2007-09-01 Jürg Billeter <j@bitron.ch> 2007-09-01 Jürg Billeter <j@bitron.ch>
* vapigen/gidlgen/gidlgen.in: improve gidlgen command-line options, * vapigen/gidlgen/gidlgen.in: improve gidlgen command-line options,
......
...@@ -479,10 +479,10 @@ foreach $define (sort (keys (%defines))) { ...@@ -479,10 +479,10 @@ foreach $define (sort (keys (%defines))) {
if ($ARGV[1]) { if ($ARGV[1]) {
open(XMLFILE, ">$ARGV[1]") || open(XMLFILE, ">$ARGV[1]") ||
die "Couldn't open $ARGV[1] for writing.\n"; die "Couldn't open $ARGV[1] for writing.\n";
print XMLFILE $doc->toString(); print XMLFILE $doc->toString(1);
close(XMLFILE); close(XMLFILE);
} else { } else {
print $doc->toString(); print $doc->toString(1);
} }
############################################################## ##############################################################
......
...@@ -31,8 +31,8 @@ then ...@@ -31,8 +31,8 @@ then
patch -d $PKGBASE-src -Np1 < $PKGBASE.patch patch -d $PKGBASE-src -Np1 < $PKGBASE.patch
fi fi
perl $pkglibdir/gapi_pp.pl `cat $PKGBASE.files | sed -e "s@^@$PKGBASE-src/@"` | perl $pkglibdir/gapi2xml.pl $(cat $PKGBASE.namespace) $PKGBASE.raw rm -f $PKGBASE.gidl
xml_pp $PKGBASE.raw > $PKGBASE.gidl perl $pkglibdir/gapi_pp.pl `cat $PKGBASE.files | sed -e "s@^@$PKGBASE-src/@"` | perl $pkglibdir/gapi2xml.pl $(cat $PKGBASE.namespace) $PKGBASE.gidl
rm -rf $PKGBASE-src $PKGBASE.raw rm -rf $PKGBASE-src
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment