[lua-torch-image] 05/07: rename libpng.so -> liblua_png.so
Zhou Mo
cdluminate-guest at moszumanska.debian.org
Sat May 20 09:01:57 UTC 2017
This is an automated email from the git hooks/post-receive script.
cdluminate-guest pushed a commit to branch master
in repository lua-torch-image.
commit 4d01fbcd0e446f6f55534e2b9b9ea66380cb8332
Author: Zhou Mo <cdluminate at gmail.com>
Date: Sat May 20 08:58:05 2017 +0000
rename libpng.so -> liblua_png.so
---
debian/changelog | 1 +
debian/lua-torch-image.links | 8 ++++----
debian/rules | 2 +-
3 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 0a777a0..cabf2a0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ lua-torch-image (0~20170420-g5aa1881-1) UNRELEASED; urgency=medium
* Import upstream snapshot.
* Debhelper compat 10.
+ * Upstream renamed libpng.so -> liblua_png.so .
-- Zhou Mo <cdluminate at gmail.com> Sat, 20 May 2017 08:49:34 +0000
diff --git a/debian/lua-torch-image.links b/debian/lua-torch-image.links
index e74fe42..b9ef393 100644
--- a/debian/lua-torch-image.links
+++ b/debian/lua-torch-image.links
@@ -1,15 +1,15 @@
# Well, upstream just makes too many lua libraries to this package,
-# I squashed all the symbols into one library, which is ok to luajit,
-# and after that, correct entrance (i.e. symlinks) should be set.
+# I squashed all the symbols into one library, which is fine to luajit.
+# After that, correct entrance (i.e. symlinks) should be set.
# This prevents the following three lua statements from failing:
# > require 'libjpeg'
-# > require 'libpng'
+# > require 'liblua_png'
# > require 'libppm'
# These libraries are not for generic usage but only for lua/torch,
# so splitting these libraries into different packages is not a good
# idea, neither.
usr/lib/x86_64-linux-gnu/lua/5.1/libimage.so usr/lib/x86_64-linux-gnu/lua/5.1/libjpeg.so
-usr/lib/x86_64-linux-gnu/lua/5.1/libimage.so usr/lib/x86_64-linux-gnu/lua/5.1/libpng.so
+usr/lib/x86_64-linux-gnu/lua/5.1/libimage.so usr/lib/x86_64-linux-gnu/lua/5.1/liblua_png.so
usr/lib/x86_64-linux-gnu/lua/5.1/libimage.so usr/lib/x86_64-linux-gnu/lua/5.1/libppm.so
# This package needs the pictures installed on doc directory as test images
diff --git a/debian/rules b/debian/rules
index 0c74628..a1e6092 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,7 +19,7 @@ override_dh_auto_test:
ln -s image/assets deb.test/assets;
set -e; cd deb.test; ln -s image/init.lua image.lua; \
ln -s libimage.so libppm.so; \
- ln -s libimage.so libpng.so; \
+ ln -s libimage.so liblua_png.so; \
ln -s libimage.so libjpeg.so; \
luajit -limage -e 'image.test()';
dh_auto_test
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/lua-torch-image.git
More information about the debian-science-commits
mailing list