r67259 - in /trunk/libgraphics-gnuplotif-perl/debian: changelog rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Mon Jan 10 17:56:19 UTC 2011


Author: gregoa
Date: Mon Jan 10 17:56:12 2011
New Revision: 67259

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=67259
Log:
commit HOME workaround, not sure if this is enough

Modified:
    trunk/libgraphics-gnuplotif-perl/debian/changelog
    trunk/libgraphics-gnuplotif-perl/debian/rules

Modified: trunk/libgraphics-gnuplotif-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgraphics-gnuplotif-perl/debian/changelog?rev=67259&op=diff
==============================================================================
--- trunk/libgraphics-gnuplotif-perl/debian/changelog (original)
+++ trunk/libgraphics-gnuplotif-perl/debian/changelog Mon Jan 10 17:56:12 2011
@@ -1,11 +1,17 @@
 libgraphics-gnuplotif-perl (1.5-2) UNRELEASED; urgency=low
 
+  * Team upload.
+  
   [ gregor herrmann ]
   * debian/control: Changed: (build-)depend on perl instead of perl-
     modules.
 
   [ Damyan Ivanov ]
   * add -a option to xvfb-run invocation
+
+  [ gregor herrmann ]
+  * Fix "Build hangs": set HOME to a writable directory in debian/rules
+    (closes: #609472).
 
  -- gregor herrmann <gregoa at debian.org>  Sun, 20 Dec 2009 15:15:41 +0100
 

Modified: trunk/libgraphics-gnuplotif-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgraphics-gnuplotif-perl/debian/rules?rev=67259&op=diff
==============================================================================
--- trunk/libgraphics-gnuplotif-perl/debian/rules (original)
+++ trunk/libgraphics-gnuplotif-perl/debian/rules Mon Jan 10 17:56:12 2011
@@ -26,13 +26,15 @@
 PERL   ?= /usr/bin/perl
 PACKAGE = $(shell dh_listpackages)
 TMP     = $(CURDIR)/debian/$(PACKAGE)
+BUILDHOME = $(CURDIR)/debian/build
 
 build: build-stamp
 build-stamp:
 	dh_testdir
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
 	$(MAKE)
-	xvfb-run -a $(MAKE) test
+	mkdir -p $(BUILDHOME)
+	HOME=$(BUILDHOME) xvfb-run -a $(MAKE) test
 	touch $@
 
 clean:
@@ -40,6 +42,7 @@
 	dh_testroot
 	dh_clean build-stamp install-stamp
 	[ ! -f Makefile ] || $(MAKE) realclean
+	rm -rf $(BUILDHOME)
 
 install: install-stamp
 install-stamp: build-stamp




More information about the Pkg-perl-cvs-commits mailing list