Source: weechat
Version: 1.2-2
Severity: important
Tags: +patch
Dear Maintainer,
sources of weechat may not be built on some arches, because libv8 for
them do not exist. See on buildd reports:
https://buildd.debian.org/status/package.php?p=weechat&suite=sid
Javascript plugin may be build only on arches which v8 engine supports,
install file for this changes must use dh-exec. See on my NMU debdiff.
Cheers,
Mateusz
diff -Nru weechat-1.2/debian/changelog weechat-1.2/debian/changelog
--- weechat-1.2/debian/changelog 2015-07-16 18:24:06.000000000 +0200
+++ weechat-1.2/debian/changelog 2015-08-04 18:24:40.000000000 +0200
@@ -1,3 +1,11 @@
+weechat (1.2-2.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Use dh-exec to build javascript plugin only on arches which v8 engine
+ supports. (Closes: #)
+
+ -- Mateusz Łukasik <[email protected]> Tue, 04 Aug 2015 18:24:33 +0200
+
weechat (1.2-2) unstable; urgency=medium
* Add patch (backported from upstream) to fix a FTBFS while building
diff -Nru weechat-1.2/debian/control weechat-1.2/debian/control
--- weechat-1.2/debian/control 2015-05-11 18:03:36.000000000 +0200
+++ weechat-1.2/debian/control 2015-08-04 18:24:10.000000000 +0200
@@ -9,6 +9,7 @@
docbook-xsl,
docbook-xml,
debhelper (>= 9),
+ dh-exec,
cmake, pkg-config,
libncursesw5-dev,
gem2deb,
@@ -18,7 +19,7 @@
liblua5.1-0-dev,
tcl8.5-dev,
guile-2.0-dev,
- libv8-dev,
+ libv8-dev [amd64 armel armhf hurd-i386 i386 kfrebsd-any mips mipsel],
libcurl4-gnutls-dev,
libgcrypt20-dev,
libgnutls28-dev,
diff -Nru weechat-1.2/debian/weechat-plugins.install
weechat-1.2/debian/weechat-plugins.install
--- weechat-1.2/debian/weechat-plugins.install 2015-05-11 17:57:13.000000000
+0200
+++ weechat-1.2/debian/weechat-plugins.install 2015-08-04 18:24:20.000000000
+0200
@@ -1,8 +1,10 @@
+#!/usr/bin/dh-exec
+
usr/lib/weechat/plugins/aspell.so
usr/lib/weechat/plugins/exec.so
usr/lib/weechat/plugins/fifo.so
usr/lib/weechat/plugins/guile.so
-usr/lib/weechat/plugins/javascript.so
+[amd64 armel armhf hurd-i386 i386 kfrebsd-any mips mipsel]
usr/lib/weechat/plugins/javascript.so
usr/lib/weechat/plugins/lua.so
usr/lib/weechat/plugins/perl.so
usr/lib/weechat/plugins/python.so