r37054 - in /packages/wordnet/trunk/debian: changelog rules

unera at users.alioth.debian.org unera at users.alioth.debian.org
Mon Nov 29 17:41:22 UTC 2010


Author: unera
Date: Mon Nov 29 17:41:21 2010
New Revision: 37054

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=37054
Log:
goldendict is built for all the architectures except arm, mips and s390:
Debian's buildd servers don't have enough memory to build this package
and this package isn't necessary to be built everywhere
(Architecture: All). This is a temporary hack. closes: #595878.


Modified:
    packages/wordnet/trunk/debian/changelog
    packages/wordnet/trunk/debian/rules

Modified: packages/wordnet/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/wordnet/trunk/debian/changelog?rev=37054&op=diff
==============================================================================
--- packages/wordnet/trunk/debian/changelog (original)
+++ packages/wordnet/trunk/debian/changelog Mon Nov 29 17:41:21 2010
@@ -1,3 +1,12 @@
+wordnet (1:3.0-24) unstable; urgency=low
+
+  * goldendict is built for all the architectures except arm, mips and s390:
+    Debian's buildd servers don't have enough memory to build this package
+    and this package isn't necessary to be built everywhere
+    (Architecture: All). This is a temporary hack. closes: #595878.
+
+ -- Dmitry E. Oboukhov <unera at debian.org>  Mon, 29 Nov 2010 20:04:57 +0300
+
 wordnet (1:3.0-23) unstable; urgency=low
 
   * debian/rules: Fix bashism

Modified: packages/wordnet/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/wordnet/trunk/debian/rules?rev=37054&op=diff
==============================================================================
--- packages/wordnet/trunk/debian/rules (original)
+++ packages/wordnet/trunk/debian/rules Mon Nov 29 17:41:21 2010
@@ -42,4 +42,16 @@
 	dictzip -k $<
 
 goldendict-wordnet.dsl:
-	ruby debian/wn-for-goldendict.rb > $@
+	set -e; \
+	if dpkg-architecture -qDEB_BUILD_ARCH|grep -q 'mips\|arm\|s390'; then \
+		if test "$$FORCE_GOLDENDICT_BUILD" -gt 0; then \
+			ruby debian/wn-for-goldendict.rb > $@; \
+		else \
+			echo "Building of goldendict-wordnet dictionary was skipped"; \
+			echo "to build this package use environment variable"; \
+			echo "FORCE_GOLDENDICT_BUILD=1" ; \
+			touch $@; \
+		fi; \
+	else \
+		ruby debian/wn-for-goldendict.rb > $@; \
+	fi




More information about the debian-science-commits mailing list