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

Hi altogether,

Bug #591184 reports the creation of extremely large logfiles while building
openclipart. This is due to an overwhelming verbosity of inkscape's debugging
output. As long as inkscape keeps this level of verbosity I suggest applying
the attached patch. It filters out empty and double lines, drastically reducing
the logfile size. Since it also reduces IO, it speeds up building openclipart
on my machine very much.

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