commit lua-ldbus for openSUSE:Factory

2020-07-15 Thread root
Hello community,

here is the log from the commit of package lua-ldbus for openSUSE:Factory 
checked in at 2020-07-15 14:55:00

Comparing /work/SRC/openSUSE:Factory/lua-ldbus (Old)
 and  /work/SRC/openSUSE:Factory/.lua-ldbus.new.3060 (New)


Package is "lua-ldbus"

Wed Jul 15 14:55:00 2020 rev:5 rq:819738 version:0.0+git20190816.9e176fe

Changes:

--- /work/SRC/openSUSE:Factory/lua-ldbus/lua-ldbus.changes  2019-10-27 
13:41:11.345279651 +0100
+++ /work/SRC/openSUSE:Factory/.lua-ldbus.new.3060/lua-ldbus.changes
2020-07-15 14:55:03.090818831 +0200
@@ -1,0 +2,10 @@
+Thu Jul  9 13:41:16 UTC 2020 - Callum Farmer 
+
+- Added lua54.patch to fix building with Lua 5.4
+
+---
+Mon Jul  6 19:03:42 UTC 2020 - Matej Cepl 
+
+- Add lua54 as new build target
+
+---

New:

  lua54.patch



Other differences:
--
++ lua-ldbus.spec ++
--- /var/tmp/diff_new_pack.dCkTPn/_old  2020-07-15 14:55:03.994819761 +0200
+++ /var/tmp/diff_new_pack.dCkTPn/_new  2020-07-15 14:55:03.998819764 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package lua-ldbus
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,6 +25,7 @@
 Group:  Development/Libraries/Other
 URL:https://github.com/daurnimator/ldbus/
 Source: lua-ldbus-%{version}.tar.xz
+Patch0: lua54.patch
 BuildRequires:  %{flavor}-devel
 Requires:   %{flavor}
 %if 0%{?suse_version} < 1330
@@ -47,7 +48,7 @@
 ldbus is a C binding to dbus for Lua.
 
 %prep
-%setup -q -n lua-ldbus-%{version}
+%autosetup -n lua-ldbus-%{version} -p1
 %if "%{flavor}" != "lua53"
 sed -i -e "s/lua5.3/lua%{lua_version}/" src/Makefile
 %endif
@@ -60,7 +61,7 @@
 %endif
 %endif
 cd src
-make %{?_smp_mflags}
+%make_build
 
 %install
 cd src

++ _multibuild ++
--- /var/tmp/diff_new_pack.dCkTPn/_old  2020-07-15 14:55:04.030819797 +0200
+++ /var/tmp/diff_new_pack.dCkTPn/_new  2020-07-15 14:55:04.034819802 +0200
@@ -1,4 +1,5 @@
 
 lua51
 lua53
+lua54
 

++ lua54.patch ++
diff --git a/vendor/compat-5.3/c-api/compat-5.3.h 
b/vendor/compat-5.3/c-api/compat-5.3.h
index 8e10893..52d2830 100644
--- a/vendor/compat-5.3/c-api/compat-5.3.h
+++ b/vendor/compat-5.3/c-api/compat-5.3.h
@@ -397,11 +397,11 @@ COMPAT53_API void luaL_requiref (lua_State *L, const char 
*modname,


 /* other Lua versions */
-#if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 501 || LUA_VERSION_NUM > 503
+#if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 501

-#  error "unsupported Lua version (i.e. not Lua 5.1, 5.2, or 5.3)"
+#  error "unsupported Lua version (i.e. less than Lua 5.1)"

-#endif /* other Lua versions except 5.1, 5.2, and 5.3 */
+#endif







commit lua-ldbus for openSUSE:Factory

2019-10-27 Thread root
Hello community,

here is the log from the commit of package lua-ldbus for openSUSE:Factory 
checked in at 2019-10-27 13:41:01

Comparing /work/SRC/openSUSE:Factory/lua-ldbus (Old)
 and  /work/SRC/openSUSE:Factory/.lua-ldbus.new.2990 (New)


Package is "lua-ldbus"

Sun Oct 27 13:41:01 2019 rev:4 rq:742983 version:0.0+git20190816.9e176fe

Changes:

--- /work/SRC/openSUSE:Factory/lua-ldbus/lua-ldbus.changes  2018-11-01 
14:43:30.462882858 +0100
+++ /work/SRC/openSUSE:Factory/.lua-ldbus.new.2990/lua-ldbus.changes
2019-10-27 13:41:11.345279651 +0100
@@ -1,0 +2,16 @@
+Thu Oct 24 16:12:43 UTC 2019 - alarr...@suse.com
+
+- Update to version 0.0+git20190816.9e176fe:
+  * Squashed 'vendor/compat-5.3/' changes from bc91f40..daebe77
+  * src/Makefile: Use LDFLAGS
+  * src/Makefile: Introduce LUA_PKGNAME
+  * src/ldbus.h: Remove now unused ldbus_callback_udata
+  * src/: Move 'timeout' callbacks to new callback management style
+  * src/: Move 'watch' callbacks to new callback management style
+  * Use ldbus_callback_indexes enum instead of hard-coding
+  * src/connection.c: Use different style of callback management for wakeup 
and dispatch functions
+  * src/connection.c: Use different style of callback management for VTable 
functions
+  * src/pending_call.c: Use different style of callback management
+  * Squashed 'vendor/compat-5.3/' changes from 924cdb2..bc91f40
+
+---

Old:

  lua-ldbus-0.0+git20161023.e277e22.tar.xz

New:

  lua-ldbus-0.0+git20190816.9e176fe.tar.xz



Other differences:
--
++ lua-ldbus.spec ++
--- /var/tmp/diff_new_pack.4o7xlO/_old  2019-10-27 13:41:13.165281846 +0100
+++ /var/tmp/diff_new_pack.4o7xlO/_new  2019-10-27 13:41:13.189281875 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package lua-ldbus
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %define flavor @BUILD_FLAVOR@
 %define mod_name ldbus
-Version:0.0+git20161023.e277e22
+Version:0.0+git20190816.9e176fe
 Release:0
 Summary:Lua bindings to dbus
 License:MIT

++ _service ++
--- /var/tmp/diff_new_pack.4o7xlO/_old  2019-10-27 13:41:13.321282034 +0100
+++ /var/tmp/diff_new_pack.4o7xlO/_new  2019-10-27 13:41:13.325282039 +0100
@@ -4,7 +4,7 @@
 lua-ldbus
 0.0+git%cd.%h
 git
-e277e22eecbc1234aea70c7edf18a86266e841b1
+9e176fe851006037a643610e6d8f3a8e597d4073
 enable
   
   

++ _servicedata ++
--- /var/tmp/diff_new_pack.4o7xlO/_old  2019-10-27 13:41:13.361282082 +0100
+++ /var/tmp/diff_new_pack.4o7xlO/_new  2019-10-27 13:41:13.365282087 +0100
@@ -1,4 +1,4 @@
 
 
 https://github.com/daurnimator/ldbus
-  e277e22eecbc1234aea70c7edf18a86266e841b1
\ No newline at end of file
+  9e176fe851006037a643610e6d8f3a8e597d4073
\ No newline at end of file

++ lua-ldbus-0.0+git20161023.e277e22.tar.xz -> 
lua-ldbus-0.0+git20190816.9e176fe.tar.xz ++
 4711 lines of diff (skipped)




commit lua-ldbus for openSUSE:Factory

2018-11-02 Thread root
Hello community,

here is the log from the commit of package lua-ldbus for openSUSE:Factory 
checked in at 2018-11-01 14:43:22

Comparing /work/SRC/openSUSE:Factory/lua-ldbus (Old)
 and  /work/SRC/openSUSE:Factory/.lua-ldbus.new (New)


Package is "lua-ldbus"

Thu Nov  1 14:43:22 2018 rev:3 rq:645807 version:0.0+git20161023.e277e22

Changes:

--- /work/SRC/openSUSE:Factory/lua-ldbus/lua-ldbus.changes  2017-10-31 
15:44:01.633714884 +0100
+++ /work/SRC/openSUSE:Factory/.lua-ldbus.new/lua-ldbus.changes 2018-11-01 
14:43:30.462882858 +0100
@@ -1,0 +2,5 @@
+Wed Oct 31 21:08:41 CET 2018 - mc...@suse.com
+
+- Make package building even on SLE-12/Leap 42
+
+---



Other differences:
--
++ lua-ldbus.spec ++
--- /var/tmp/diff_new_pack.D16gVD/_old  2018-11-01 14:43:30.990882805 +0100
+++ /var/tmp/diff_new_pack.D16gVD/_new  2018-11-01 14:43:30.990882805 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package lua-ldbus
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -23,11 +23,15 @@
 Summary:Lua bindings to dbus
 License:MIT
 Group:  Development/Libraries/Other
-Url:https://github.com/daurnimator/ldbus/
+URL:https://github.com/daurnimator/ldbus/
 Source: lua-ldbus-%{version}.tar.xz
 BuildRequires:  %{flavor}-devel
-BuildRequires:  pkgconfig(dbus-1)
 Requires:   %{flavor}
+%if 0%{?suse_version} < 1330
+BuildRequires:  dbus-1-devel
+%else
+BuildRequires:  pkgconfig(dbus-1)
+%endif
 %if "%{flavor}" == "lua53"
 Provides:   lua-%{mod_name} = %{version}
 Obsoletes:  lua-%{mod_name} < %{version}
@@ -44,23 +48,26 @@
 
 %prep
 %setup -q -n lua-ldbus-%{version}
-%if "%{flavor}" == "lua52"
-sed -i -e "s/lua5.3/lua5.2/" src/Makefile
-%endif
-%if "%{flavor}" == "lua51"
-sed -i -e "s/lua5.3/lua5.1/" src/Makefile
+%if "%{flavor}" != "lua53"
+sed -i -e "s/lua5.3/lua%{lua_version}/" src/Makefile
 %endif
 
 %build
+%if 0%{?suse_version} < 1330
+export CFLAGS="-I/usr/include/lua%{lua_version} -I/usr/include/dbus-1.0 
-I/usr/lib64/dbus-1.0/include"
+%if "%{flavor}" != "lua53"
+export CFLAGS="$CFLAGS -Ivendor/compat-5.3"
+%endif
+%endif
 cd src
-make
+make %{?_smp_mflags}
 
 %install
 cd src
 %make_install LUA_LIBDIR='$(DESTDIR)%{lua_archdir}'
 
 %files
-%doc LICENSE
+%license LICENSE
 %{lua_archdir}/ldbus.so
 
 %changelog




commit lua-ldbus for openSUSE:Factory

2017-10-31 Thread root
Hello community,

here is the log from the commit of package lua-ldbus for openSUSE:Factory 
checked in at 2017-10-31 15:44:00

Comparing /work/SRC/openSUSE:Factory/lua-ldbus (Old)
 and  /work/SRC/openSUSE:Factory/.lua-ldbus.new (New)


Package is "lua-ldbus"

Tue Oct 31 15:44:00 2017 rev:2 rq:537620 version:0.0+git20161023.e277e22

Changes:

--- /work/SRC/openSUSE:Factory/lua-ldbus/lua-ldbus.changes  2017-08-24 
18:54:38.846424161 +0200
+++ /work/SRC/openSUSE:Factory/.lua-ldbus.new/lua-ldbus.changes 2017-10-31 
15:44:01.633714884 +0100
@@ -1,0 +2,5 @@
+Mon Oct 30 14:45:32 UTC 2017 - jmate...@suse.com
+
+- do not build for Lua 5.2
+
+---



Other differences:
--
++ lua-ldbus.spec ++
--- /var/tmp/diff_new_pack.c3Yjnh/_old  2017-10-31 15:44:02.325689799 +0100
+++ /var/tmp/diff_new_pack.c3Yjnh/_new  2017-10-31 15:44:02.333689509 +0100
@@ -25,8 +25,8 @@
 Group:  Development/Libraries/Other
 Url:https://github.com/daurnimator/ldbus/
 Source: lua-ldbus-%{version}.tar.xz
-BuildRequires:  pkgconfig(dbus-1)
 BuildRequires:  %{flavor}-devel
+BuildRequires:  pkgconfig(dbus-1)
 Requires:   %{flavor}
 %if "%{flavor}" == "lua53"
 Provides:   lua-%{mod_name} = %{version}

++ _multibuild ++
--- /var/tmp/diff_new_pack.c3Yjnh/_old  2017-10-31 15:44:02.365688349 +0100
+++ /var/tmp/diff_new_pack.c3Yjnh/_new  2017-10-31 15:44:02.365688349 +0100
@@ -1,5 +1,4 @@
 
 lua51
-lua52
 lua53