Merge lp:~yolanda.robla/ubuntu/saucy/rrdtool/lua5.2 into lp:ubuntu/saucy/rrdtool

Proposed by Yolanda Robla
Status: Rejected
Rejected by: Mathieu Trudel-Lapierre
Proposed branch: lp:~yolanda.robla/ubuntu/saucy/rrdtool/lua5.2
Merge into: lp:ubuntu/saucy/rrdtool
Diff against target: 278 lines (+124/-35)
10 files modified
debian/changelog (+15/-0)
debian/control (+11/-26)
debian/liblua5.1-rrd-dev.install (+0/-3)
debian/liblua5.1-rrd0.install (+0/-2)
debian/liblua5.2-rrd-dev.install (+3/-0)
debian/liblua5.2-rrd0.install (+2/-0)
debian/patches/fix-makefile-tcl.patch (+14/-0)
debian/patches/rrdtool-1.4.7-lua-5.2.patch (+72/-0)
debian/patches/series (+2/-0)
debian/rules (+5/-4)
To merge this branch: bzr merge lp:~yolanda.robla/ubuntu/saucy/rrdtool/lua5.2
Reviewer Review Type Date Requested Status
Ubuntu branches Pending
Review via email: [email protected]

Description of the change

Updated to lua 5.2

To post a comment you must log in.
40. By Yolanda Robla

* Updating to lua 5.2 version (LP: #1196921):
  - debian/rules: build 5.2 version, use autoconf
  - debian/control: update lua to 5.2 version, added autoreconf
  - debian/liblua5.2-rrd0.install: updated path to 5.2 version
  - debian/liblua5.2-rrd-dev.install: updated path to 5.2 version
  - debian/patches/rrdtool-1.4.7-lua-5.2.patch: fixes for lua 5.2 version

41. By Yolanda Robla

* Dropping ruby 1.9 dependency:
  - debian/control: dropped ruby 1.8 deps and librdd-ruby1.8 package
  - debian/rules: not building for 1.8

Revision history for this message
Yolanda Robla (yolanda.robla) wrote :

Please recheck

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

This was landed already in the archive:
https://launchpad.net/ubuntu/+source/rrdtool/1.4.7-2ubuntu2

Marking rejected to get it off the sponsoring list.

Unmerged revisions

41. By Yolanda Robla

* Dropping ruby 1.9 dependency:
  - debian/control: dropped ruby 1.8 deps and librdd-ruby1.8 package
  - debian/rules: not building for 1.8

40. By Yolanda Robla

* Updating to lua 5.2 version (LP: #1196921):
  - debian/rules: build 5.2 version, use autoconf
  - debian/control: update lua to 5.2 version, added autoreconf
  - debian/liblua5.2-rrd0.install: updated path to 5.2 version
  - debian/liblua5.2-rrd-dev.install: updated path to 5.2 version
  - debian/patches/rrdtool-1.4.7-lua-5.2.patch: fixes for lua 5.2 version

39. By Yolanda Robla

* debian/rules: build 5.2 version, use autoconf
* debian/control: update lua to 5.2 version, added autoreconf
* debian/liblua5.2-rrd0.install: updated path to 5.2 version
* debian/liblua5.2-rrd-dev.install: updated path to 5.2 version
* debian/patches/rrdtool-1.4.7-lua-5.2.patch: fixes for lua 5.2 version

38. By Yolanda Robla

applying patches

37. By Yolanda Robla

* debian/liblua5.2-rrd0.install: copying librrd.so.4 version
* debian/liblua5.2-rrd-dev.install: moved to 5.2 from 5.1

36. By Yolanda Robla

* debian/liblua5.2-rrd0.install: moved to 5.2 from 5.1
* debian/liblua5.2-rrd-dev.install: moved to 5.2 from 5.1
* debian/rules: build 5.2 version
* debian/control: update lua to 5.2 version

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2013-04-02 09:48:24 +0000
3+++ debian/changelog 2013-07-19 14:18:28 +0000
4@@ -1,3 +1,18 @@
5+rrdtool (1.4.7-2ubuntu2) saucy; urgency=low
6+
7+ * Updating to lua 5.2 version (LP: #1196921):
8+ - debian/rules: build 5.2 version, use autoconf
9+ - debian/control: update lua to 5.2 version, added autoreconf
10+ - debian/liblua5.2-rrd0.install: updated path to 5.2 version
11+ - debian/liblua5.2-rrd-dev.install: updated path to 5.2 version
12+ - debian/patches/rrdtool-1.4.7-lua-5.2.patch: fixes for lua 5.2 version
13+
14+ * Dropping ruby 1.9 dependency:
15+ - debian/control: dropped ruby 1.8 deps and librdd-ruby1.8 package
16+ - debian/rules: not building for 1.8
17+
18+ -- Yolanda Robla <[email protected]> Wed, 17 Jul 2013 13:02:00 +0200
19+
20 rrdtool (1.4.7-2ubuntu1) raring; urgency=low
21
22 * Configure for the Tcl 8.5 multiarch installation.
23
24=== modified file 'debian/control'
25--- debian/control 2012-08-01 10:23:39 +0000
26+++ debian/control 2013-07-19 14:18:28 +0000
27@@ -11,9 +11,8 @@
28 tcl-dev (>= 8), tcl-dev (<= 9),
29 perl (>= 5.8.0),
30 python-all-dev (>= 2.6.6-3~), python-all-dbg (>= 2.6.6-3~),
31- ruby1.8, ruby1.8-dev, ruby1.9.1, ruby1.9.1-dev,
32- liblua5.1-0-dev, lua5.1
33-Build-Conflicts: lua50
34+ ruby1.9.1, ruby1.9.1-dev, liblua5.2-dev, lua5.2, dh-autoreconf
35+Build-Conflicts: lua50, lua5.1
36 Homepage: http://oss.oetiker.ch/rrdtool/
37 Vcs-Browser: http://git.snow-crash.org/?p=pkg-rrdtool.git;a=summary
38 Vcs-Git: git://git.snow-crash.org/pkg-rrdtool.git/
39@@ -56,8 +55,8 @@
40 ${shlibs:Depends}, ${python:Depends}, ${misc:Depends}
41 Recommends: librrds-perl (= ${binary:Version}),
42 rrdtool-tcl (= ${binary:Version}), python-rrdtool (= ${binary:Version}),
43- librrd-ruby1.8 (= ${binary:Version}), librrd-ruby1.9.1 (= ${binary:Version}),
44- python-all-dbg, liblua5.1-rrd0 (= ${binary:Version})
45+ librrd-ruby1.9.1 (= ${binary:Version}), python-all-dbg,
46+ liblua5.2-rrd0 (= ${binary:Version})
47 Description: time-series data storage and display system (debugging symbols)
48 The Round Robin Database Tool (RRDtool) is a system to store and display
49 time-series data (e.g. network bandwidth, machine-room temperature,
50@@ -178,20 +177,6 @@
51 This is a dummy package which depends on the package for Debian's default
52 Ruby version.
53
54-Package: librrd-ruby1.8
55-Architecture: any
56-Section: ruby
57-Depends: ${shlibs:Depends}, ${misc:Depends}
58-Description: time-series data storage and display system (Ruby 1.8 interface)
59- The Round Robin Database Tool (RRDtool) is a system to store and display
60- time-series data (e.g. network bandwidth, machine-room temperature,
61- server load average). It stores the data in Round Robin Databases (RRDs),
62- a very compact way that will not expand over time. RRDtool processes the
63- extracted data to enforce a certain data density, allowing for useful
64- graphical representation of data values.
65- .
66- This package contains a Ruby 1.8 interface to RRDs.
67-
68 Package: librrd-ruby1.9.1
69 Architecture: any
70 Section: ruby
71@@ -206,11 +191,11 @@
72 .
73 This package contains a Ruby 1.9.1 interface to RRDs.
74
75-Package: liblua5.1-rrd0
76+Package: liblua5.2-rrd0
77 Architecture: any
78 Section: interpreters
79 Depends: ${shlibs:Depends}, ${misc:Depends}
80-Description: time-series data storage and display system (Lua 5.1 interface)
81+Description: time-series data storage and display system (Lua 5.2 interface)
82 The Round Robin Database Tool (RRDtool) is a system to store and display
83 time-series data (e.g. network bandwidth, machine-room temperature,
84 server load average). It stores the data in Round Robin Databases (RRDs),
85@@ -218,13 +203,13 @@
86 extracted data to enforce a certain data density, allowing for useful
87 graphical representation of data values.
88 .
89- This package contains a Lua 5.1 interface to RRDs.
90+ This package contains a Lua 5.2 interface to RRDs.
91
92-Package: liblua5.1-rrd-dev
93+Package: liblua5.2-rrd-dev
94 Architecture: any
95 Section: libdevel
96-Depends: ${shlibs:Depends}, ${misc:Depends}, liblua5.1-rrd0 (= ${binary:Version})
97-Description: time-series data storage and display system (Lua 5.1 development)
98+Depends: ${shlibs:Depends}, ${misc:Depends}, liblua5.2-rrd0 (= ${binary:Version})
99+Description: time-series data storage and display system (Lua 5.2 development)
100 The Round Robin Database Tool (RRDtool) is a system to store and display
101 time-series data (e.g. network bandwidth, machine-room temperature,
102 server load average). It stores the data in Round Robin Databases (RRDs),
103@@ -232,4 +217,4 @@
104 extracted data to enforce a certain data density, allowing for useful
105 graphical representation of data values.
106 .
107- This package contains development files for the Lua 5.1 interface to RRDs.
108+ This package contains development files for the Lua 5.2 interface to RRDs.
109
110=== removed file 'debian/liblua5.1-rrd-dev.install'
111--- debian/liblua5.1-rrd-dev.install 2011-06-26 18:40:41 +0000
112+++ debian/liblua5.1-rrd-dev.install 1970-01-01 00:00:00 +0000
113@@ -1,3 +0,0 @@
114-usr/lib/lua/5.1/rrd.a
115-usr/lib/lua/5.1/rrd.so
116-../lua-rrd.h usr/include/lua5.1
117
118=== removed file 'debian/liblua5.1-rrd0.install'
119--- debian/liblua5.1-rrd0.install 2009-10-05 22:27:13 +0000
120+++ debian/liblua5.1-rrd0.install 1970-01-01 00:00:00 +0000
121@@ -1,2 +0,0 @@
122-usr/lib/lua/5.1/rrd.so.0
123-usr/lib/lua/5.1/rrd.so.0.0.0
124
125=== added file 'debian/liblua5.2-rrd-dev.install'
126--- debian/liblua5.2-rrd-dev.install 1970-01-01 00:00:00 +0000
127+++ debian/liblua5.2-rrd-dev.install 2013-07-19 14:18:28 +0000
128@@ -0,0 +1,3 @@
129+usr/lib/lua/5.2/rrd.a
130+usr/lib/lua/5.2/rrd.so
131+../lua-rrd.h usr/include/lua5.2
132
133=== added file 'debian/liblua5.2-rrd0.install'
134--- debian/liblua5.2-rrd0.install 1970-01-01 00:00:00 +0000
135+++ debian/liblua5.2-rrd0.install 2013-07-19 14:18:28 +0000
136@@ -0,0 +1,2 @@
137+usr/lib/lua/5.2/rrd.so.0
138+usr/lib/lua/5.2/rrd.so.0.0.0
139
140=== added file 'debian/patches/fix-makefile-tcl.patch'
141--- debian/patches/fix-makefile-tcl.patch 1970-01-01 00:00:00 +0000
142+++ debian/patches/fix-makefile-tcl.patch 2013-07-19 14:18:28 +0000
143@@ -0,0 +1,14 @@
144+--- a/bindings/tcl/Makefile.am 2013-07-17 10:44:54.844364000 +0000
145++++ b/bindings/tcl/Makefile.am 2013-07-18 08:02:49.685215728 +0000
146+@@ -27,8 +27,8 @@
147+ tclpkg_DATA = pkgIndex.tcl
148+ tclpkg_SCRIPTS = ifOctets.tcl
149+ else
150+-pkglib_DATA = pkgIndex.tcl
151+-pkglib_SCRIPTS = ifOctets.tcl
152++pkgdata_DATA = pkgIndex.tcl
153++pkgdata_SCRIPTS = ifOctets.tcl
154+ endif
155+
156+ # Automake doen't like `tclrrd$(VERSION)$(TCL_SHLIB_SUFFIX)' as
157+
158
159=== added file 'debian/patches/rrdtool-1.4.7-lua-5.2.patch'
160--- debian/patches/rrdtool-1.4.7-lua-5.2.patch 1970-01-01 00:00:00 +0000
161+++ debian/patches/rrdtool-1.4.7-lua-5.2.patch 2013-07-19 14:18:28 +0000
162@@ -0,0 +1,72 @@
163+Index: b/configure.ac
164+===================================================================
165+--- a/configure.ac
166++++ b/configure.ac
167+@@ -744,8 +744,8 @@
168+ LIBS=
169+ lua_havelib=no
170+ LUA_HAVE_COMPAT51=DONT_HAVE_COMPAT51
171+- AC_SEARCH_LIBS(lua_call, lua$lua_vdot lua$lua_vndot lua,
172+- [AC_SEARCH_LIBS(luaL_register, lua$lua_vdot lua$lua_vndot lua,
173++ RRD_SEARCH_LIBS(lua_call, [#include <${lua_headerdir:+$lua_headerdir/}lua.h>], [0, 0, 0], lua$lua_vdot lua$lua_vndot lua,
174++ [AC_SEARCH_LIBS(luaL_openlibs, lua$lua_vdot lua$lua_vndot lua,
175+ [lua_havelib=LUA$lua_vndot],
176+ [AC_SEARCH_LIBS(luaL_module, lualib$lua_vndot lualib$lua_vdot lualib,
177+ [lua_havelib=$lua_vndot; $LUA -l compat-5.1 2>/dev/null;
178+Index: b/m4/acinclude.m4
179+===================================================================
180+--- a/m4/acinclude.m4
181++++ b/m4/acinclude.m4
182+@@ -610,3 +610,31 @@
183+ fi
184+ fi
185+ ])
186++
187++dnl Like AC_SEARCH_LIBS, but allowing specifying a prologue and arguments so
188++dnl that macros expand correctly.
189++AC_DEFUN([RRD_SEARCH_LIBS],
190++[AS_VAR_PUSHDEF([rrd_Search], [rrd_cv_search_$1])dnl
191++AC_CACHE_CHECK([for library containing $1], [rrd_Search],
192++[rrd_func_search_save_LIBS=$LIBS
193++AC_LANG_CONFTEST([AC_LANG_PROGRAM([$2], [$1 ($3);])])
194++for rrd_lib in '' $4; do
195++ if test -z "$rrd_lib"; then
196++ rrd_res="none required"
197++ else
198++ rrd_res=-l$rrd_lib
199++ LIBS="-l$rrd_lib $7 $rrd_func_search_save_LIBS"
200++ fi
201++ AC_LINK_IFELSE([], [AS_VAR_SET([rrd_Search], [$rrd_res])])
202++ AS_VAR_SET_IF([rrd_Search], [break])
203++done
204++AS_VAR_SET_IF([rrd_Search], , [AS_VAR_SET([rrd_Search], [no])])
205++rm conftest.$ac_ext
206++LIBS=$rrd_func_search_save_LIBS])
207++AS_VAR_COPY([rrd_res], [rrd_Search])
208++AS_IF([test "$rrd_res" != no],
209++ [test "$rrd_res" = "none required" || LIBS="$rrd_res $LIBS"
210++ $5],
211++ [$6])
212++AS_VAR_POPDEF([rrd_Search])dnl
213++])
214+--- a/bindings/lua/rrdlua.c 2013-07-17 10:44:54.844364000 +0000
215++++ b/bindings/lua/rrdlua.c 2013-07-18 08:36:24.705215728 +0000
216+@@ -342,7 +342,7 @@
217+
218+ /**********************************************************/
219+
220+-static const struct luaL_reg rrd[] = {
221++static const struct luaL_Reg rrd[] = {
222+ {"create", lua_rrd_create},
223+ {"dump", lua_rrd_dump},
224+ {"fetch", lua_rrd_fetch},
225+@@ -373,7 +373,7 @@
226+ /* luaL_module is defined in compat-5.1.c */
227+ luaL_module (L, "rrd", rrd, 0);
228+ #else
229+- luaL_register (L, "rrd", rrd);
230++ luaL_newlib (L, rrd);
231+ #endif
232+ set_info (L);
233+ return 1;
234+
235
236=== modified file 'debian/patches/series'
237--- debian/patches/series 2012-08-01 10:23:39 +0000
238+++ debian/patches/series 2013-07-19 14:18:28 +0000
239@@ -7,3 +7,5 @@
240 tcl-8.5
241 ruby_bindings_format_string.patch
242 bts664724-rrdcached-j-segfault
243+rrdtool-1.4.7-lua-5.2.patch
244+fix-makefile-tcl.patch
245
246=== modified file 'debian/rules'
247--- debian/rules 2013-04-02 09:48:24 +0000
248+++ debian/rules 2013-07-19 14:18:28 +0000
249@@ -20,8 +20,8 @@
250
251
252 #Ruby versions to build for
253-RUBY_VERS := 1.8 1.9.1
254-RUBY_DEFAULT_VERS := 1.8
255+RUBY_VERS := 1.9.1
256+RUBY_DEFAULT_VERS := 1.9.1
257
258 PY_VERS := $(shell pyversions -vr)
259
260@@ -77,6 +77,7 @@
261 cp -f /usr/share/misc/config.guess config.guess
262 endif
263
264+ autoconf
265 LDFLAGS="$(LINKER_FLAGS)" \
266 CFLAGS="$(CFLAGS)" \
267 RRDDOCDIR=/usr/share/doc/rrdtool \
268@@ -224,8 +225,8 @@
269 dh_strip -a --dbg-package=rrdtool-dbg
270 dh_compress -a
271 dh_fixperms -a
272- dh_makeshlibs -a -Nliblua5.1-rrd0 -Nliblua5.1-rrd-dev
273- dh_makeshlibs -pliblua5.1-rrd0 -pliblua5.1-rrd-dev -n
274+ dh_makeshlibs -a -Nliblua5.2-rrd0 -Nliblua5.2-rrd-dev
275+ dh_makeshlibs -pliblua5.2-rrd0 -pliblua5.2-rrd-dev -n
276 dh_installdeb -a
277 dh_shlibdeps -a
278 dh_gencontrol -a

Subscribers

People subscribed via source and target branches

to all changes: