Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pipewire patched for xdg-desktop-portal-kde build failure
lua move to 5.2, conky can no longer use 5.1, that version is over 4 years old, packages not ready for newer, disable lua mpv rebuild, disabled lua rrdtool & nmap normal rebuild
- Loading branch information
Showing
7 changed files
with
90 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,57 @@ | ||
diff -ur lua-5.1.4/etc/lua.pc lua-5.1.4-new/etc/lua.pc | ||
--- lua-5.1.4/etc/lua.pc 2008-08-08 14:46:11.000000000 +0200 | ||
+++ lua-5.1.4-new/etc/lua.pc 2012-02-23 18:25:34.000000000 +0100 | ||
@@ -8,6 +8,6 @@ | ||
diff -ru lua-5.2.1/Makefile lua-5.2.1.new/Makefile | ||
--- lua-5.2.1/Makefile 2012-05-17 16:05:54.000000000 +0200 | ||
+++ lua-5.2.1.new/Makefile 2012-09-12 22:39:07.162748096 +0200 | ||
@@ -52,7 +52,7 @@ | ||
all: $(PLAT) | ||
|
||
$(PLATS) clean: | ||
- cd src && $(MAKE) $@ | ||
+ cd src && $(MAKE) $@ V=$(V) R=$(R) | ||
|
||
test: dummy | ||
src/lua -v | ||
diff -ru lua-5.2.1/src/luaconf.h lua-5.2.1.new/src/luaconf.h | ||
--- lua-5.2.1/src/luaconf.h 2012-05-11 16:14:42.000000000 +0200 | ||
+++ lua-5.2.1.new/src/luaconf.h 2012-09-12 22:40:27.986622772 +0200 | ||
@@ -100,7 +100,7 @@ | ||
#else /* }{ */ | ||
|
||
# grep '^INSTALL_.*=' ../Makefile | sed 's/INSTALL_TOP/prefix/' | ||
-prefix= /usr/local | ||
+prefix= /usr | ||
INSTALL_BIN= ${prefix}/bin | ||
INSTALL_INC= ${prefix}/include | ||
INSTALL_LIB= ${prefix}/lib | ||
diff -ur lua-5.1.4/src/luaconf.h lua-5.1.4-new/src/luaconf.h | ||
--- lua-5.1.4/src/luaconf.h 2008-02-11 17:25:08.000000000 +0100 | ||
+++ lua-5.1.4-new/src/luaconf.h 2012-02-23 18:25:34.000000000 +0100 | ||
@@ -94,7 +94,7 @@ | ||
".\\?.dll;" LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll" | ||
|
||
#else | ||
#define LUA_VDIR LUA_VERSION_MAJOR "." LUA_VERSION_MINOR "/" | ||
-#define LUA_ROOT "/usr/local/" | ||
+#define LUA_ROOT "/usr/" | ||
#define LUA_LDIR LUA_ROOT "share/lua/5.1/" | ||
#define LUA_CDIR LUA_ROOT "lib/lua/5.1/" | ||
#define LUA_LDIR LUA_ROOT "share/lua/" LUA_VDIR | ||
#define LUA_CDIR LUA_ROOT "lib/lua/" LUA_VDIR | ||
#define LUA_PATH_DEFAULT \ | ||
diff -ur lua-5.1.4/src/Makefile lua-5.1.4-new/src/Makefile | ||
--- lua-5.1.4/src/Makefile 2008-01-19 20:37:58.000000000 +0100 | ||
+++ lua-5.1.4-new/src/Makefile 2012-02-23 18:26:43.000000000 +0100 | ||
@@ -23,6 +23,7 @@ | ||
diff -ru lua-5.2.1/src/Makefile lua-5.2.1.new/src/Makefile | ||
--- lua-5.2.1/src/Makefile 2012-03-09 17:32:16.000000000 +0100 | ||
+++ lua-5.2.1.new/src/Makefile 2012-09-12 22:38:08.591386896 +0200 | ||
@@ -29,6 +29,7 @@ | ||
PLATS= aix ansi bsd freebsd generic linux macosx mingw posix solaris | ||
|
||
LUA_A= liblua.a | ||
+LUA_SO= liblua.so | ||
CORE_O= lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o \ | ||
lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o \ | ||
lundump.o lvm.o lzio.o | ||
@@ -36,7 +37,7 @@ | ||
LUAC_O= luac.o print.o | ||
+LUA_SO= liblua.so | ||
CORE_O= lapi.o lcode.o lctype.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o \ | ||
lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o \ | ||
ltm.o lundump.o lvm.o lzio.o | ||
@@ -43,7 +44,7 @@ | ||
LUAC_O= luac.o | ||
|
||
ALL_O= $(CORE_O) $(LIB_O) $(LUA_O) $(LUAC_O) | ||
ALL_O= $(BASE_O) $(LUA_O) $(LUAC_O) | ||
-ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T) | ||
+ALL_T= $(LUA_A) $(LUA_SO) $(LUA_T) $(LUAC_T) | ||
+ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T) $(LUA_SO) | ||
ALL_A= $(LUA_A) | ||
|
||
default: $(PLAT) | ||
@@ -51,6 +52,11 @@ | ||
$(AR) $@ $? | ||
# Targets start here. | ||
@@ -59,6 +60,12 @@ | ||
$(AR) $@ $(BASE_O) | ||
$(RANLIB) $@ | ||
|
||
+$(LUA_SO): $(CORE_O) $(LIB_O) | ||
+ $(CC) -shared -ldl -Wl,-soname,$(LUA_SO).$(V) -o $@.$(R) $? -lm $(MYLDFLAGS) | ||
+ ln -sf $(LUA_SO).$(R) $(LUA_SO).$(V) | ||
+ ln -sf $(LUA_SO).$(R) $(LUA_SO) | ||
+ | ||
+ | ||
$(LUA_T): $(LUA_O) $(LUA_A) | ||
$(CC) -o $@ $(MYLDFLAGS) $(LUA_O) $(LUA_A) $(LIBS) | ||
|
||
--- lua-5.1.4/Makefile 2008-08-12 02:40:48.000000000 +0200 | ||
+++ lua-5.1.4-new/Makefile 2012-02-23 19:06:32.000000000 +0100 | ||
@@ -53,7 +53,7 @@ | ||
all: $(PLAT) | ||
$(CC) -o $@ $(LDFLAGS) $(LUA_O) $(LUA_A) $(LIBS) | ||
|
||
$(PLATS) clean: | ||
- cd src && $(MAKE) $@ | ||
+ cd src && $(MAKE) $@ V=$(V) R=$(R) | ||
|
||
test: dummy | ||
src/lua test/hello.lua |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# lua.pc -- pkg-config data for Lua | ||
|
||
# vars from install Makefile | ||
|
||
V=%VER% | ||
R=%REL% | ||
|
||
prefix=/usr | ||
INSTALL_BIN=${prefix}/bin | ||
INSTALL_INC=${prefix}/include | ||
INSTALL_LIB=${prefix}/lib | ||
INSTALL_MAN=${prefix}/man/man1 | ||
INSTALL_LMOD=${prefix}/share/lua/${V} | ||
INSTALL_CMOD=${prefix}/lib/lua/${V} | ||
|
||
# canonical vars | ||
exec_prefix=${prefix} | ||
libdir=${exec_prefix}/lib | ||
includedir=${prefix}/include | ||
|
||
Name: Lua | ||
Description: An Extensible Extension Language | ||
Version: ${R} | ||
Requires: | ||
Libs: -L${libdir} -llua -lm | ||
Cflags: -I${includedir} | ||
|
||
# (end of lua.pc) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters