tags 589194 + patch
tags 589194 + pending
thanks

Dear maintainer,

I've prepared an NMU for openclipart (versioned as 0.18+dfsg-9.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I should delay 
it longer.

Regards,

Miguel

-- 
Miguel Angel Ruiz Manzano                    http://mruiz.openminds.cl
Computer Engineer - PUCV - Chile
Linux User #323437                   PGP key 1024D/0D3FD8A9 2005-06-03
diff -u openclipart-0.18+dfsg/debian/rules openclipart-0.18+dfsg/debian/rules
--- openclipart-0.18+dfsg/debian/rules
+++ openclipart-0.18+dfsg/debian/rules
@@ -43,6 +43,7 @@
 	
 	# Create svg and png files
 	cd $(CURDIR)/clipart && for i in `find . -name "*.svg" -printf "%p " ` ; do \
+		case "$$i" in ./office/telephone/mobile_phone_01.svg) continue ; esac ; \
 		echo "Processing $$i" ; \
 		dir=`dirname $$i` ; \
 		file=`basename $$i` ; \
@@ -52,10 +53,10 @@
 			$(CURDIR)/build/usr/share/openclipart/svg/$$dir/$$file ; \
 		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 \
+			inkscape -z -w 1500 --export-png=$(CURDIR)/build/usr/share/openclipart/png/$$dir/$$pngfile \
 				 $$dir/$$file ; \
 		else \
-			inkscape --export-png=$(CURDIR)/build/usr/share/openclipart/png/$$dir/$$pngfile \
+			inkscape -z --export-png=$(CURDIR)/build/usr/share/openclipart/png/$$dir/$$pngfile \
 				 $$dir/$$file ; \
 		fi ; \
 	done
diff -u openclipart-0.18+dfsg/debian/changelog openclipart-0.18+dfsg/debian/changelog
--- openclipart-0.18+dfsg/debian/changelog
+++ openclipart-0.18+dfsg/debian/changelog
@@ -1,3 +1,15 @@
+openclipart (0.18+dfsg-9.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/rules:
+    + Applied patch from Ubuntu. Fixes FTBFS (Closes: #589194)
+      - Skip office/telephone/mobile_phone_01.svg as it appears to be buggy 
+        and causes inkscape to get caught in an infinite loop.
+      - Use inkscape flag -z "Do not use X server".
+      - Thanks to Chris Cheney.
+
+ -- Miguel Ruiz <debiani...@gmail.com>  Tue, 05 Oct 2010 00:13:15 -0400
+
 openclipart (0.18+dfsg-9) unstable; urgency=low
 
   * rebuild for OOo 3.2 (closes: #565970)

Reply via email to