[Gtk-sharp-list] gapi__pp.pl patch for striping out c comments
Martin Willemoes Hansen
mwh@sysrq.dk
24 Jun 2003 15:44:59 +0200
--=-jt/M5SIxB3N2/P0/2/R8
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
> > Did you do a make in sources/ to see if anything changed in api/*.xml?
> > The patch isn't showing any such changes, but I'd like to confirm this
> > step was done, since you are making the change for an external lib and
> > may not have thought to rerun the parser on Gtk#.
while doing a make get-source-code in gtk-sharp/sources I got some
errors:
Resolving ftp.gnome.org... done.
Connecting to ftp.gnome.org[130.239.18.173]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 341,640 [application/x-tar]
0% [ ]
0 --.--K/s ETA --:--tar (grandchild): Cannot write to
compression program: Bad address
tar (grandchild): Error is not recoverable: exiting now
tar: Skipping to next file header
I use wget-1.8.2, tar-2.4h and gzip-1.2.4a
I made a patch which solves this problem, by dividing the task up into
two more steps.
Can I commit?
--
Martin Willemoes Hansen
--------------------------------------------------------
E-Mail mwh@sysrq.dk Website mwh.sysrq.dk
IRC MWH, freenode.net
--------------------------------------------------------
--=-jt/M5SIxB3N2/P0/2/R8
Content-Disposition: attachment; filename=makefile.diff
Content-Type: text/x-makefile; name=makefile.diff; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
--- makefile~ 2003-06-24 15:35:05.000000000 +0200
+++ makefile 2003-06-24 15:35:05.000000000 +0200
@@ -17,8 +17,10 @@
PERLLIB=../parser PATH=../parser:$$PATH ../parser/gapi.pl gtk-sharp.sources ../api
get-source-code:
- for i in $(DOWNLOADS); do \
- wget $$i --output-document=- | tar -xz ; \
+ for i in $(DOWNLOADS); do \
+ wget $$i; \
+ tar xvzf $${i##*/}; \
+ rm -f $${i##*/}; \
done;
export CVS_PASSWORD=""
cvs -z3 -d:pserver:anonymous@anoncvs.gnome.org:/cvs/gnome co gtkhtml/src/gtkhtml.c
--=-jt/M5SIxB3N2/P0/2/R8--