Package: openclipart
Version: 0.18+dfsg-9
Severity: normal

Hi altogether,

Bug 591184 reports that building openclipart produces extremely large logfiles
due to inkscape's verboseness. Until this is fixed in inkscape I suggest curing
the symptoms by applying the attached patch. It removes empty lines from the
output and then throws away double lines. This way all the needed debugging
info is kept, but the size of the logfile is greatly reduced. Since this also
reduces IO during the build, the build is much faster now on my machine.

With best wishes,

Wolfi


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages openclipart depends on:
ii  openclipart-openoffice.org   0.18+dfsg-9 clip art for OpenOffice.org galler
ii  openclipart-png              0.18+dfsg-9 clip art in PNG format
ii  openclipart-svg              0.18+dfsg-9 clip art in SVG format

openclipart recommends no packages.

openclipart suggests no packages.

-- no debconf information
commit 2c3f8bbdba1db168870102ddf7c4411b4be06dff
Author: Wolfram Quester <wo...@sigxcpu.org>
Date:   Wed Aug 18 09:13:02 2010 +0200

    throw away double debugging output

diff --git a/debian/rules b/debian/rules
index 8d6a78a..f96498a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -53,10 +53,10 @@ build-stamp:
 		mkdir -p $(CURDIR)/build/usr/share/openclipart/png/$$dir ; \
 		if echo $(OVERSIZED_FILES) | grep -q $$i ; then \
 			inkscape -w 1500 --export-png=$(CURDIR)/build/usr/share/openclipart/png/$$dir/$$pngfile \
-				 $$dir/$$file ; \
+				 $$dir/$$file 2>&1 | grep -v "^$$"  | uniq; \
 		else \
 			inkscape --export-png=$(CURDIR)/build/usr/share/openclipart/png/$$dir/$$pngfile \
-				 $$dir/$$file ; \
+				 $$dir/$$file 2>&1 | grep -v "^$$"  | uniq; \
 		fi ; \
 	done
   

Attachment: signature.asc
Description: Digital signature

Reply via email to