Hello community, here is the log from the commit of package lua51-luajit for openSUSE:Factory checked in at 2015-10-26 12:47:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lua51-luajit (Old) and /work/SRC/openSUSE:Factory/.lua51-luajit.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "lua51-luajit" Changes: -------- New Changes file: --- /dev/null 2015-10-14 00:04:03.524025256 +0200 +++ /work/SRC/openSUSE:Factory/.lua51-luajit.new/lua51-luajit.changes 2015-10-26 12:47:42.000000000 +0100 @@ -0,0 +1,135 @@ +------------------------------------------------------------------- +Sun Oct 18 14:01:45 UTC 2015 - i@marguerite.su + +- rename to lua51-luajit, w/ versioned lua as suffix +- add patch: luajit-lua-versioned.patch +- use update-alternatives to provide /usr/bin/luajit + and its manpage +- provides luajit and luajit-devel + +------------------------------------------------------------------- +Thu Aug 13 16:59:33 UTC 2015 - normand@linux.vnet.ibm.com + +- ExcludeArch: ppc64 ppc64le + lj_arch.h do not support ppc64/ppc64le + +------------------------------------------------------------------- +Wed Jul 1 08:31:37 UTC 2015 - tchvatal@suse.com + +- Version bump to 2.0.4: + * Fix stack check in narrowing optimization. + * Fix Lua/C API typecheck error for special indexes. + * Fix string to number conversion. + * Fix lexer error for chunks without tokens. + * Don't compile IR_RETF after CALLT to ff with-side effects. + * Fix BC_UCLO/BC_JMP join optimization in Lua parser. + * Fix corner case in string to number conversion. + * Gracefully handle lua_error() for a suspended coroutine. + * Avoid error messages when building with Clang. + * Fix snapshot #0 handling for traces with a stack check on entry. + * Fix fused constant loads under high register pressure. + * Invalidate backpropagation cache after DCE. + * Fix ABC elimination. + * Fix debug info for main chunk of stripped bytecode. + * Fix FOLD rule for string.sub(s, ...) == k. + * Fix FOLD rule for STRREF of SNEW. + * Fix frame traversal while searching for error function. + * Prevent GC estimate miscalculation due to buffer growth. + * Prevent adding side traces for stack checks. + * Fix top slot calculation for snapshots with continuations. + * Fix check for reuse of SCEV results in FORL. + * Add PS Vita port. + * Fix compatibility issues with Illumos. + * Fix DragonFly build (unsupported). + * OpenBSD/x86: Better executable memory allocation for W^X mode. + * x86: Fix argument checks for ipairs() iterator. + * x86: lj_math_random_step() clobbers XMM regs on OSX Clang. + * x86: Fix code generation for unused result of math.random(). + * x64: Allow building with LUAJIT_USE_SYSMALLOC and LUAJIT_USE_VALGRIND. + * x86/x64: Fix argument check for bit shifts. + * x86/x64: Fix code generation for fused test/arith ops. + * ARM: Fix write barrier check in BC_USETS. + * PPC: Fix red zone overflow in machine code generation. + * PPC: Don't use mcrxr on PPE. + * Various archs: Fix excess stack growth in interpreter. + * FFI: Fix FOLD rule for TOBIT + CONV num.u32. + * FFI: Prevent DSE across ffi.string(). + * FFI: No meta fallback when indexing pointer to incomplete struct. + * FFI: Fix initialization of unions of subtypes. + * FFI: Fix cdata vs. non-cdata arithmetic and comparisons. + * FFI: Fix __index/__newindex metamethod resolution for ctypes. + * FFI: Fix compilation of reference field access. + * FFI: Fix frame traversal for backtraces with FFI callbacks. + * FFI: Fix recording of indexing a struct pointer ctype object itself. + * FFI: Allow non-scalar cdata to be compared for equality by address. + * FFI: Fix pseudo type conversions for type punning. + +------------------------------------------------------------------- +Fri Mar 13 12:44:38 UTC 2015 - tchvatal@suse.com + +- Cleanup a bit with spec-cleaner + +------------------------------------------------------------------- +Sat Oct 18 19:46:59 UTC 2014 - mailaender@opensuse.org + +- update to version 2.0.3 + * Add support for multilib distro builds. + * Improve ULOAD forwarding for open upvalues. + * Fix GC steps threshold handling when called by JIT-compiled code. + * Fix argument checks for math.deg() and math.rad(). + * Fix jit.flush(func|true). + * Respect jit.off(func) when returning to a function, too. + * Fix compilation of string.byte(s, nil, n). + * Fix line number for relocated bytecode after closure fixup + * Fix frame traversal for backtraces. + * Fix ABC elimination. + * Fix handling of redundant PHIs. + * Fix snapshot restore for exit to function header. + * Fix type punning alias analysis for constified pointers + * Fix call unroll checks in the presence of metamethod frames. + * Fix initial maxslot for down-recursive traces. + * Prevent BASE register coalescing if parent uses IR_RETF. + * Don't purge modified function from stack slots in BC_RET. + * Fix recording of BC_VARG. + * Don't access dangling reference to reallocated IR. + * Fix frame depth display for bytecode dump in -jdump. + * ARM: Fix register allocation when rematerializing FPRs. + * x64: Fix store to upvalue for lightuserdata values. + * FFI: Add missing GC steps for callback argument conversions. + * FFI: Properly unload loaded DLLs. + * FFI: Fix argument checks for ffi.string(). + * FFI/x64: Fix passing of vector arguments to calls. + * FFI: Rehash finalizer table after GC cycle, if needed. + * FFI: Fix cts->L for cdata unsinking in snapshot restore. + +------------------------------------------------------------------- +Thu Apr 17 12:57:05 UTC 2014 - simon@simotek.net + +- %make_install replaced with make DESTDIR=%{buildroot} install + to fix fedora builds + +------------------------------------------------------------------- +Wed Oct 23 17:33:38 UTC 2013 - tchvatal@suse.com + +- Export CFLAGS, funny localy it used them properly. + +------------------------------------------------------------------- +Wed Oct 23 11:52:47 UTC 2013 - tchvatal@suse.com + +- Drop STRIP=true from the args. + +------------------------------------------------------------------- +Wed Oct 23 11:48:45 UTC 2013 - tchvatal@suse.com + +- Change lib group to libraries only. + +------------------------------------------------------------------- +Thu Oct 17 20:28:34 UTC 2013 - tchvatal@suse.com + +- Make the thing acutally build&install. + +------------------------------------------------------------------- +Thu Oct 17 20:00:13 UTC 2013 - tchvatal@suse.com + +- Inital package. Used in mpv multimedia player. + New: ---- LuaJIT-2.0.4.tar.gz lua51-luajit.changes lua51-luajit.spec luajit-lua-versioned.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lua51-luajit.spec ++++++ # # spec file for package lua51-luajit # # Copyright (c) 2015 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # 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/ # %define lua_suffix 5_1 %define lib_suffix 2 Name: lua51-luajit Version: 2.0.4 Release: 0 Summary: JIT compiler for Lua language License: MIT Group: Development/Languages/Lua Url: http://www.luajit.com/ Source: http://luajit.org/download/LuaJIT-%{version}.tar.gz Patch: luajit-lua-versioned.patch BuildRequires: pkg-config Requires: libluajit-%{lua_suffix}-%{lib_suffix} = %{version} Requires(preun): update-alternatives Requires(post): update-alternatives Provides: luajit = %{version} Conflicts: otherproviders(luajit) BuildRoot: %{_tmppath}/%{name}-%{version}-build # lj_arch.h do not support ppc64/ppc64le ExcludeArch: ppc64 ppc64le %description A Just-In-Time Compiler for Lua language %package -n libluajit-%{lua_suffix}-%{lib_suffix} Summary: Library for JIT Lua compiler Group: System/Libraries %description -n libluajit-%{lua_suffix}-%{lib_suffix} Libraries to use JIT Lua compiler %package devel Summary: Devel files for LuaJIT Group: Development/Languages/Lua Requires: %{name} = %{version} Requires: libluajit-%{lua_suffix}-%{lib_suffix} = %{version} Provides: luajit-devel = %{version} Conflicts: otherproviders(luajit-devel) %description devel Devel files for luajit package %prep %setup -q -n LuaJIT-%{version} %patch -p1 # Fix variables sed -i "s,PREFIX= %{_prefix}/local,PREFIX= %{_prefix}," Makefile sed -i "s,%{_libexecdir},%{_libdir}," etc/luajit.pc %build CFLAGS="%{optflags}" \ make %{?_smp_mflags} \ Q= \ DYNAMIC_CC="cc -fPIC" \ LDCONFIG="true" \ TARGET_AR="ar rcus" %install make DESTDIR=%{buildroot} install \ INSTALL_LIB="%{buildroot}/%{_libdir}" \ DYNAMIC_CC="cc -fPIC" \ LDCONFIG="true" \ TARGET_AR="ar rcus" # remove static lib, not needed rm %{buildroot}/%{_libdir}/*.a # update-alternatives mkdir -p %{buildroot}%{_sysconfdir}/alternatives/ touch %{buildroot}%{_sysconfdir}/alternatives/luajit touch %{buildroot}%{_sysconfdir}/alternatives/luajit.1%{ext_man} ln -sf %{_sysconfdir}/alternatives/luajit %{buildroot}%{_bindir}/luajit ln -sf %{_sysconfdir}/alternatives/luajit.1%{ext_man} %{buildroot}%{_mandir}/man1/luajit.1%{ext_man} %post %{_sbindir}/update-alternatives --install %{_bindir}/luajit luajit %{_bindir}/luajit-%{lua_suffix}-%{version} 60 \ --slave %{_mandir}/man1/luajit.1%{ext_man} luajit.1%{ext_man} %{_mandir}/man1/luajit-%{lua_suffix}.1%{ext_man} %preun if [ "$1" = 0 ] ; then %{_sbindir}/update-alternatives --remove luajit %{_bindir}/luajit-%{lua_suffix}-%{version} fi %post -n libluajit-%{lua_suffix}-%{lib_suffix} -p /sbin/ldconfig %postun -n libluajit-%{lua_suffix}-%{lib_suffix} -p /sbin/ldconfig %files %defattr(-,root,root) %ghost %{_sysconfdir}/alternatives/luajit %ghost %{_sysconfdir}/alternatives/luajit.1%{ext_man} %{_bindir}/luajit %{_bindir}/luajit-%{lua_suffix} %{_bindir}/luajit-%{lua_suffix}-%{version} %{_mandir}/man1/luajit.1%{ext_man} %{_mandir}/man1/luajit-%{lua_suffix}.1%{ext_man} %{_datadir}/luajit-%{lua_suffix}-%{version}/ %files -n libluajit-%{lua_suffix}-%{lib_suffix} %defattr(-,root,root) %{_libdir}/libluajit-5.1.so.2.0.4 %files devel %defattr(-,root,root) %{_includedir}/luajit-%{lua_suffix}-2.0/ %{_libdir}/libluajit-5.1.so %{_libdir}/pkgconfig/luajit-%{lua_suffix}.pc %changelog ++++++ luajit-lua-versioned.patch ++++++ Index: LuaJIT-2.0.4/src/Makefile =================================================================== --- LuaJIT-2.0.4.orig/src/Makefile +++ LuaJIT-2.0.4/src/Makefile @@ -15,6 +15,7 @@ MINVER= 0 RELVER= 4 ABIVER= 5.1 NODOTABIVER= 51 +SUFFIX= 5_1 ############################################################################## ############################# COMPILER OPTIONS ############################# @@ -474,7 +475,7 @@ LIB_VMDEFP= $(LIB_VMDEF) LUAJIT_O= luajit.o LUAJIT_A= libluajit.a LUAJIT_SO= libluajit.so -LUAJIT_T= luajit +LUAJIT_T= luajit-$(SUFFIX) ALL_T= $(LUAJIT_T) $(LUAJIT_A) $(LUAJIT_SO) $(HOST_T) ALL_HDRGEN= lj_bcdef.h lj_ffdef.h lj_libdef.h lj_recdef.h lj_folddef.h \ Index: LuaJIT-2.0.4/Makefile =================================================================== --- LuaJIT-2.0.4.orig/Makefile +++ LuaJIT-2.0.4/Makefile @@ -18,6 +18,7 @@ MINVER= 0 RELVER= 4 VERSION= $(MAJVER).$(MINVER).$(RELVER) ABIVER= 5.1 +SUFFIX= 5_1 ############################################################################## # @@ -32,26 +33,26 @@ DPREFIX= $(DESTDIR)$(PREFIX) INSTALL_BIN= $(DPREFIX)/bin INSTALL_LIB= $(DPREFIX)/$(MULTILIB) INSTALL_SHARE= $(DPREFIX)/share -INSTALL_INC= $(DPREFIX)/include/luajit-$(MAJVER).$(MINVER) +INSTALL_INC= $(DPREFIX)/include/luajit-$(SUFFIX)-$(MAJVER).$(MINVER) -INSTALL_LJLIBD= $(INSTALL_SHARE)/luajit-$(VERSION) +INSTALL_LJLIBD= $(INSTALL_SHARE)/luajit-$(SUFFIX)-$(VERSION) INSTALL_JITLIB= $(INSTALL_LJLIBD)/jit INSTALL_LMODD= $(INSTALL_SHARE)/lua INSTALL_LMOD= $(INSTALL_LMODD)/$(ABIVER) INSTALL_CMODD= $(INSTALL_LIB)/lua INSTALL_CMOD= $(INSTALL_CMODD)/$(ABIVER) -INSTALL_MAN= $(INSTALL_SHARE)/man/man1 +INSTALL_MAN= $(INSTALL_SHARE)/man/man1/ INSTALL_PKGCONFIG= $(INSTALL_LIB)/pkgconfig -INSTALL_TNAME= luajit-$(VERSION) -INSTALL_TSYMNAME= luajit +INSTALL_TNAME= luajit-$(SUFFIX)-$(VERSION) +INSTALL_TSYMNAME= luajit-$(SUFFIX) INSTALL_ANAME= libluajit-$(ABIVER).a INSTALL_SONAME= libluajit-$(ABIVER).so.$(MAJVER).$(MINVER).$(RELVER) INSTALL_SOSHORT= libluajit-$(ABIVER).so INSTALL_DYLIBNAME= libluajit-$(ABIVER).$(MAJVER).$(MINVER).$(RELVER).dylib INSTALL_DYLIBSHORT1= libluajit-$(ABIVER).dylib INSTALL_DYLIBSHORT2= libluajit-$(ABIVER).$(MAJVER).dylib -INSTALL_PCNAME= luajit.pc +INSTALL_PCNAME= luajit-$(SUFFIX).pc INSTALL_STATIC= $(INSTALL_LIB)/$(INSTALL_ANAME) INSTALL_DYN= $(INSTALL_LIB)/$(INSTALL_SONAME) @@ -77,7 +78,7 @@ LDCONFIG= ldconfig -n SED_PC= sed -e "s|^prefix=.*|prefix=$(PREFIX)|" \ -e "s|^multilib=.*|multilib=$(MULTILIB)|" -FILE_T= luajit +FILE_T= luajit-$(SUFFIX) FILE_A= libluajit.a FILE_SO= libluajit.so FILE_MAN= luajit.1 @@ -115,7 +116,7 @@ install: $(INSTALL_DEP) $(LDCONFIG) $(INSTALL_LIB) && \ $(SYMLINK) $(INSTALL_SONAME) $(INSTALL_SHORT1) && \ $(SYMLINK) $(INSTALL_SONAME) $(INSTALL_SHORT2) || : - cd etc && $(INSTALL_F) $(FILE_MAN) $(INSTALL_MAN) + cd etc && $(INSTALL_F) $(FILE_MAN) $(INSTALL_MAN)/luajit-$(SUFFIX).1 cd etc && $(SED_PC) $(FILE_PC) > $(FILE_PC).tmp && \ $(INSTALL_F) $(FILE_PC).tmp $(INSTALL_PC) && \ $(RM) $(FILE_PC).tmp Index: LuaJIT-2.0.4/etc/luajit.pc =================================================================== --- LuaJIT-2.0.4.orig/etc/luajit.pc +++ LuaJIT-2.0.4/etc/luajit.pc @@ -10,7 +10,7 @@ multilib=lib exec_prefix=${prefix} libdir=${exec_prefix}/${multilib} libname=luajit-${abiver} -includedir=${prefix}/include/luajit-${majver}.${minver} +includedir=${prefix}/include/luajit-5_1-${majver}.${minver} INSTALL_LMOD=${prefix}/share/lua/${abiver} INSTALL_CMOD=${prefix}/${multilib}/lua/${abiver}