Control: tags -1 patch
Please find a patch attached.
diff -Nru luabind-0.9.1+git20150823+dfsg/debian/changelog
luabind-0.9.1+git20150823+dfsg/debian/changelog
--- luabind-0.9.1+git20150823+dfsg/debian/changelog 2020-04-23
01:19:27.000000000 +0000
+++ luabind-0.9.1+git20150823+dfsg/debian/changelog 2023-08-25
22:10:22.000000000 +0000
@@ -1,3 +1,11 @@
+luabind (0.9.1+git20150823+dfsg-3.1) unstable; urgency=medium
+
+ * Non-maintainer upload
+ * Downgrade to lua 5.1 (Closes: #1050540)
+ * d/watch: Scan GitHub tags
+
+ -- Bastian Germann <b...@debian.org> Fri, 25 Aug 2023 22:10:22 +0000
+
luabind (0.9.1+git20150823+dfsg-3) unstable; urgency=medium
* Add appropriate multi-arch hints in debian/control
diff -Nru luabind-0.9.1+git20150823+dfsg/debian/control
luabind-0.9.1+git20150823+dfsg/debian/control
--- luabind-0.9.1+git20150823+dfsg/debian/control 2020-04-23
01:19:27.000000000 +0000
+++ luabind-0.9.1+git20150823+dfsg/debian/control 2023-08-25
22:10:22.000000000 +0000
@@ -3,7 +3,7 @@
Maintainer: Roberto C. Sanchez <robe...@connexer.com>
Build-Depends: debhelper (>= 10),
cmake,
- liblua5.2-dev,
+ liblua5.1-0-dev,
libboost-all-dev,
python3-sphinx
Standards-Version: 4.5.0
@@ -29,7 +29,7 @@
Section: libdevel
Architecture: any
Multi-Arch: same
-Depends: libluabind0.9.1d1 (= ${binary:Version}), ${shlibs:Depends},
liblua5.2-dev, libboost-dev, ${misc:Depends}
+Depends: libluabind0.9.1d1 (= ${binary:Version}), ${shlibs:Depends},
liblua5.1-0-dev, libboost-dev, ${misc:Depends}
Suggests: libluabind-doc, libluabind-examples
Description: luabind c++ binding for Lua: static library and headers
Luabind is a library that helps you create bindings between C++ and Lua.
diff -Nru luabind-0.9.1+git20150823+dfsg/debian/luabind.pc
luabind-0.9.1+git20150823+dfsg/debian/luabind.pc
--- luabind-0.9.1+git20150823+dfsg/debian/luabind.pc 2020-04-23
01:19:27.000000000 +0000
+++ luabind-0.9.1+git20150823+dfsg/debian/luabind.pc 2023-08-25
22:10:22.000000000 +0000
@@ -8,5 +8,5 @@
URL: http://www.rasterbar.com/products/luabind.html
Version: 0.9.1
Libs: -L${libdir} -lluabind
-Libs.private: -llua5.2
-Cflags: -I${includedir} -I/usr/include/lua5.2
+Libs.private: -llua5.1
+Cflags: -I${includedir} -I/usr/include/lua5.1
diff -Nru
luabind-0.9.1+git20150823+dfsg/debian/patches/00_example_cleaning.patch
luabind-0.9.1+git20150823+dfsg/debian/patches/00_example_cleaning.patch
--- luabind-0.9.1+git20150823+dfsg/debian/patches/00_example_cleaning.patch
2020-04-23 01:19:27.000000000 +0000
+++ luabind-0.9.1+git20150823+dfsg/debian/patches/00_example_cleaning.patch
2023-08-25 22:10:22.000000000 +0000
@@ -11,8 +11,8 @@
+
+helloworld_test: hello_world.cpp
+ $(CXX) -shared hello_world.cpp -o hello_world.so $(CPPFLAGS) \
-+ -I/usr/include/lua5.2 -I/usr/include/boost \
-+ -llua5.2 -lluabind
++ -I/usr/include/lua5.1 -I/usr/include/boost \
++ -llua5.1 -lluabind
+
+clean:
+ rm -f helloworld *.o *~
@@ -38,8 +38,8 @@
+
+glutbind_test: glut_bind.cpp
+ $(CXX) glut_bind.cpp -o glut_bind $(CPPFLAGS) \
-+ -I/usr/include/lua5.2 -I/usr/include/boost \
-+ -llua5.2 -lluabind -lGL -lGLU -lglut
++ -I/usr/include/lua5.1 -I/usr/include/boost \
++ -llua5.1 -lluabind -lGL -lGLU -lglut
+
+clean:
+ rm -f glut_bind *.o *~
@@ -72,8 +72,8 @@
+
+regexp_test: regex_wrap.cpp
+ $(CXX) regex_wrap.cpp -o regex_wrap $(CPPFLAGS) \
-+ -I/usr/include/lua5.2 -I/usr/include/boost \
-+ -llua5.2 -lluabind -lboost_regex
++ -I/usr/include/lua5.1 -I/usr/include/boost \
++ -llua5.1 -lluabind -lboost_regex
+
+clean:
+ rm -f regex_wrap *.o *~
@@ -101,7 +101,7 @@
+
+cln_test: cln_test.cpp
+ $(CXX) cln_test.cpp -o cln_test \
-+ -I/usr/include/lua5.2 -I/usr/include/boost \
++ -I/usr/include/lua5.1 -I/usr/include/boost \
+ -lluabind -llua -llualib -lcln
+
+clean:
diff -Nru
luabind-0.9.1+git20150823+dfsg/debian/patches/03_compile_examples_with_PIC.patch
luabind-0.9.1+git20150823+dfsg/debian/patches/03_compile_examples_with_PIC.patch
---
luabind-0.9.1+git20150823+dfsg/debian/patches/03_compile_examples_with_PIC.patch
2020-04-23 01:19:27.000000000 +0000
+++
luabind-0.9.1+git20150823+dfsg/debian/patches/03_compile_examples_with_PIC.patch
2023-08-25 22:10:22.000000000 +0000
@@ -6,9 +6,9 @@
glutbind_test: glut_bind.cpp
$(CXX) glut_bind.cpp -o glut_bind $(CPPFLAGS) \
-- -I/usr/include/lua5.2 -I/usr/include/boost \
-+ -I/usr/include/lua5.2 -I/usr/include/boost -fPIC \
- -llua5.2 -lluabind -lGL -lGLU -lglut
+- -I/usr/include/lua5.1 -I/usr/include/boost \
++ -I/usr/include/lua5.1 -I/usr/include/boost -fPIC \
+ -llua5.1 -lluabind -lGL -lGLU -lglut
clean:
--- luabind.git.orig/examples/hello_world/Makefile
@@ -17,9 +17,9 @@
helloworld_test: hello_world.cpp
$(CXX) -shared hello_world.cpp -o hello_world.so $(CPPFLAGS) \
-- -I/usr/include/lua5.2 -I/usr/include/boost \
-+ -I/usr/include/lua5.2 -I/usr/include/boost -fPIC \
- -llua5.2 -lluabind
+- -I/usr/include/lua5.1 -I/usr/include/boost \
++ -I/usr/include/lua5.1 -I/usr/include/boost -fPIC \
+ -llua5.1 -lluabind
clean:
--- luabind.git.orig/examples/regexp/Makefile
@@ -28,8 +28,8 @@
regexp_test: regex_wrap.cpp
$(CXX) regex_wrap.cpp -o regex_wrap $(CPPFLAGS) \
-- -I/usr/include/lua5.2 -I/usr/include/boost \
-+ -I/usr/include/lua5.2 -I/usr/include/boost -fPIC \
- -llua5.2 -lluabind -lboost_regex
+- -I/usr/include/lua5.1 -I/usr/include/boost \
++ -I/usr/include/lua5.1 -I/usr/include/boost -fPIC \
+ -llua5.1 -lluabind -lboost_regex
clean:
diff -Nru luabind-0.9.1+git20150823+dfsg/debian/watch
luabind-0.9.1+git20150823+dfsg/debian/watch
--- luabind-0.9.1+git20150823+dfsg/debian/watch 2020-04-23 01:19:27.000000000
+0000
+++ luabind-0.9.1+git20150823+dfsg/debian/watch 2023-08-25 22:07:30.000000000
+0000
@@ -1,2 +1,2 @@
version=4
-# New upstream does not make versioned releases
+https://github.com/ValyriaTear/luabind/tags .*/tags/([\d\.]+)\.tar\.gz