2017-06-05 10:22:09 +02:00
|
|
|
Subject: vendor/luajit is removed in the Debian package
|
|
|
|
Author: Sebastian Reichel <sre@debian.org>
|
|
|
|
Forwarded: not-needed
|
|
|
|
Last-Update: 2014-08-06
|
|
|
|
|
2019-03-29 14:34:01 +01:00
|
|
|
Index: Aegisub-524c6114a82157b143567240884de3a6d030b091/header.mk
|
2018-08-30 15:06:57 +02:00
|
|
|
===================================================================
|
2019-03-29 14:34:01 +01:00
|
|
|
--- Aegisub-524c6114a82157b143567240884de3a6d030b091.orig/header.mk 2018-07-10 00:06:51.000000000 +0200
|
|
|
|
+++ Aegisub-524c6114a82157b143567240884de3a6d030b091/header.mk 2019-03-29 13:17:35.252933339 +0200
|
2018-08-30 15:06:57 +02:00
|
|
|
@@ -13,7 +13,6 @@ subdirs := \
|
2017-06-05 10:22:09 +02:00
|
|
|
tests \
|
|
|
|
tools \
|
|
|
|
vendor/luabins \
|
2018-08-30 15:06:57 +02:00
|
|
|
- vendor/luajit
|
2017-06-05 10:22:09 +02:00
|
|
|
|
|
|
|
subdirs := $(addprefix $(TOP),$(addsuffix /Makefile,$(subdirs)))
|
2018-08-30 15:06:57 +02:00
|
|
|
|
2019-03-29 14:34:01 +01:00
|
|
|
Index: Aegisub-524c6114a82157b143567240884de3a6d030b091/Makefile.inc.in
|
2018-08-30 15:06:57 +02:00
|
|
|
===================================================================
|
2019-03-29 14:34:01 +01:00
|
|
|
--- Aegisub-524c6114a82157b143567240884de3a6d030b091.orig/Makefile.inc.in 2019-03-29 13:17:21.692386078 +0200
|
|
|
|
+++ Aegisub-524c6114a82157b143567240884de3a6d030b091/Makefile.inc.in 2019-03-29 13:17:35.252933339 +0200
|
2018-08-30 15:06:57 +02:00
|
|
|
@@ -79,7 +79,7 @@ CFLAGS_ICONV = @ICONV_CFLAGS@
|
2017-06-05 10:22:09 +02:00
|
|
|
CFLAGS_ICU = @ICU_I18N_CFLAGS@
|
|
|
|
CFLAGS_LIBASS = @LIBASS_CFLAGS@
|
|
|
|
CFLAGS_LIBPULSE = @LIBPULSE_CFLAGS@
|
2018-08-30 15:06:57 +02:00
|
|
|
-CFLAGS_LUA = @LUAJIT_CFLAGS@
|
2017-06-05 10:22:09 +02:00
|
|
|
+CFLAGS_LUA = `pkg-config --cflags luajit`
|
|
|
|
CFLAGS_OPENAL = @OPENAL_CFLAGS@
|
|
|
|
CFLAGS_OSS = @OSS_CFLAGS@
|
|
|
|
CFLAGS_PORTAUDIO = @PORTAUDIO_CFLAGS@
|
2018-08-30 15:06:57 +02:00
|
|
|
@@ -97,14 +97,14 @@ LIBS_ICONV = @ICONV_LIBS@
|
2017-06-05 10:22:09 +02:00
|
|
|
LIBS_ICU = @ICU_UC_LIBS@ @ICU_I18N_LIBS@
|
|
|
|
LIBS_LIBASS = @LIBASS_LIBS@
|
|
|
|
LIBS_LIBPULSE = @LIBPULSE_LIBS@
|
2018-08-30 15:06:57 +02:00
|
|
|
-LIBS_LUA = @LUAJIT_LIBS@
|
2017-06-05 10:22:09 +02:00
|
|
|
+LIBS_LUA = `pkg-config --libs luajit`
|
|
|
|
LIBS_OPENAL = @OPENAL_LIBS@
|
|
|
|
LIBS_PORTAUDIO = @PORTAUDIO_LIBS@
|
2018-08-30 15:06:57 +02:00
|
|
|
LIBS_PTHREAD = @PTHREAD_CFLAGS@ @PTHREAD_LIBS@
|
|
|
|
LIBS_UCHARDET = @UCHARDET_LIBS@
|
2017-06-05 10:22:09 +02:00
|
|
|
|
2018-08-30 15:06:57 +02:00
|
|
|
ifeq (yes, $(BUILD_DARWIN))
|
|
|
|
-LIBS_LUA = $(TOP)vendor/luajit/src/libluajit-aegisub.so
|
|
|
|
+LIBS_LUA = `pkg-config --libs luajit`
|
|
|
|
endif
|
2017-06-05 10:22:09 +02:00
|
|
|
|
2018-08-30 15:06:57 +02:00
|
|
|
FONTCONFIG_CONF_DIR = @FONTCONFIG_CONF_DIR@
|
2019-03-29 14:34:01 +01:00
|
|
|
Index: Aegisub-524c6114a82157b143567240884de3a6d030b091/tools/Makefile
|
2018-08-30 15:06:57 +02:00
|
|
|
===================================================================
|
2019-03-29 14:34:01 +01:00
|
|
|
--- Aegisub-524c6114a82157b143567240884de3a6d030b091.orig/tools/Makefile 2018-07-10 00:06:51.000000000 +0200
|
|
|
|
+++ Aegisub-524c6114a82157b143567240884de3a6d030b091/tools/Makefile 2019-03-29 13:17:35.252933339 +0200
|
2018-08-30 15:06:57 +02:00
|
|
|
@@ -12,6 +12,4 @@ repack-thes-dict_CPPFLAGS := -I$(TOP) -I
|
2017-06-05 10:22:09 +02:00
|
|
|
|
|
|
|
PROGRAM += $(d)repack-thes-dict
|
|
|
|
|
2018-08-30 15:06:57 +02:00
|
|
|
-$(TOP)tools/respack.lua: $(shell command -v "$(BIN_LUA)")
|
2017-06-05 10:22:09 +02:00
|
|
|
-
|
|
|
|
include $(TOP)Makefile.target
|
2019-03-29 14:34:01 +01:00
|
|
|
Index: Aegisub-524c6114a82157b143567240884de3a6d030b091/src/libresrc/Makefile
|
2018-08-30 15:06:57 +02:00
|
|
|
===================================================================
|
2019-03-29 14:34:01 +01:00
|
|
|
--- Aegisub-524c6114a82157b143567240884de3a6d030b091.orig/src/libresrc/Makefile 2018-07-10 00:06:51.000000000 +0200
|
|
|
|
+++ Aegisub-524c6114a82157b143567240884de3a6d030b091/src/libresrc/Makefile 2019-03-29 13:17:35.252933339 +0200
|
2018-08-30 15:06:57 +02:00
|
|
|
@@ -10,7 +10,7 @@ resrc_OBJ := \
|
2017-06-05 10:22:09 +02:00
|
|
|
|
|
|
|
$(resrc_OBJ): $(d)default_config.h $(d)bitmap.h $(d)default_config.cpp $(d)bitmap.cpp
|
|
|
|
|
2018-08-30 15:06:57 +02:00
|
|
|
-RESPACK := cd $(TOP)src/libresrc; $(BIN_LUA) $(TOP)tools/respack.lua
|
2017-06-05 10:22:09 +02:00
|
|
|
+RESPACK := cd $(TOP)src/libresrc; $(TOP)tools/respack.lua
|
|
|
|
|
|
|
|
$(d)bitmap.cpp: $(d)bitmap.h
|
|
|
|
$(d)default_config.cpp: $(d)default_config.h
|
2019-03-29 14:34:01 +01:00
|
|
|
Index: Aegisub-524c6114a82157b143567240884de3a6d030b091/tools/respack.lua
|
2018-08-30 15:06:57 +02:00
|
|
|
===================================================================
|
2019-03-29 14:34:01 +01:00
|
|
|
--- Aegisub-524c6114a82157b143567240884de3a6d030b091.orig/tools/respack.lua 2018-07-10 00:06:51.000000000 +0200
|
|
|
|
+++ Aegisub-524c6114a82157b143567240884de3a6d030b091/tools/respack.lua 2019-03-29 13:17:35.252933339 +0200
|
2018-08-30 15:06:57 +02:00
|
|
|
@@ -1,4 +1,4 @@
|
|
|
|
-#!/usr/bin/env luajit
|
|
|
|
+#!/usr/bin/lua
|
|
|
|
-- Copyright (c) 2014, Thomas Goyne <plorkyeran@aegisub.org>
|
|
|
|
--
|
|
|
|
-- Permission to use, copy, modify, and distribute this software for any
|