Bug#892917: love: use BD on lua OR luajit

Frédéric Bonnard frediz at debian.org
Wed Mar 14 13:37:36 UTC 2018


Package: src:love
Version: 0.9.1-4

--

Dear maintainer,

at the moment both liblua5.1-0-dev and libluajit-5.1-dev are required to
build. I think one or the other exclusively should be enough, and your
d/rules specifies one or the other already.
The best being to require first libluajit-5.1-dev if available and
fallback on liblua5.1-0-dev.
This way, love will benefit from luajit's speed if possible but will
build on more architectures as well thanks to lua's portability (that
should fix the BD-Uninstallable status on some architectures)
Here is a patch for this.
Also, ppc64el's support in luajit is unsure in the long term, so with
the patch, we ensure to be able to still have love on this architecture
even if luajit drops ppc64el support (and thus fix the current FTBFS :
https://buildd.debian.org/status/fetch.php?pkg=love&arch=ppc64el&ver=0.9.1-4&stamp=1503721727&raw=0
Thanks,

Regards.
F.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20180314/204b3deb/attachment.sig>
-------------- next part --------------
diff -Nru love-0.9.1/debian/control love-0.9.1/debian/control
--- love-0.9.1/debian/control	2016-08-03 20:27:34.000000000 +0000
+++ love-0.9.1/debian/control	2016-08-03 20:37:52.000000000 +0000
@@ -17,8 +17,7 @@
  libflac++-dev,
  libflac-dev,
  libfreetype6-dev,
- liblua5.1-0-dev,
- libluajit-5.1-dev [!hurd-i386 !kfreebsd-amd64 !s390x],
+ libluajit-5.1-dev [!hurd-i386 !kfreebsd-amd64 !s390x] | liblua5.1-0-dev,
  libmodplug-dev,
  libmpg123-dev,
  libogg-dev,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20180314/204b3deb/attachment-0001.sig>


More information about the Pkg-games-devel mailing list