Browse Source

- align target-libs.mk to max_10

master
vanhofen 6 years ago
parent
commit
23c976841d
  1. 2
      make/neutrino.mk
  2. 2
      make/target-development.mk
  3. 761
      make/target-libs.mk
  4. 2
      make/target-lua.mk
  5. 2
      make/target-tools-unused.mk
  6. 31
      make/target-tools.mk
  7. 22
      patches/glib2-automake.patch
  8. 2
      patches/glib2-disable-tests.patch
  9. 51
      patches/libass.patch
  10. 0
      patches/libbluray.patch
  11. 31
      patches/libtirpc-0007-include-stdint.h-for-uintptr_t.patch

2
make/neutrino.mk

@ -14,7 +14,7 @@ N_DEPS += $(D)/freetype
N_DEPS += $(D)/giflib
N_DEPS += $(D)/libcurl
N_DEPS += $(D)/libdvbsi
N_DEPS += $(D)/libfribidi
N_DEPS += $(D)/fribidi
N_DEPS += $(D)/libjpeg
N_DEPS += $(D)/libsigc++
N_DEPS += $(D)/lua

2
make/target-development.mk

@ -99,7 +99,7 @@ GDB_URL = https://sourceware.org/pub/gdb/releases
$(ARCHIVE)/$(GDB_SOURCE):
$(DOWNLOAD) $(GDB_URL)/$(GDB_SOURCE)
$(D)/gdb: $(D)/zlib $(D)/libncurses $(ARCHIVE)/$(GDB_SOURCE) | $(TARGET_DIR)
$(D)/gdb: $(D)/zlib $(D)/ncurses $(ARCHIVE)/$(GDB_SOURCE) | $(TARGET_DIR)
$(REMOVE)/$(GDB)
$(UNTAR)/$(GDB_SOURCE)
$(CHDIR)/$(GDB); \

761
make/target-libs.mk

File diff suppressed because it is too large

2
make/target-lua.mk

@ -16,7 +16,7 @@ LUA_PATCH += lua-02-shared-libs-for-lua.patch
LUA_PATCH += lua-03-lua-pc.patch
LUA_PATCH += lua-04-crashfix.diff
$(D)/lua: $(D)/libncurses $(ARCHIVE)/lua-$(LUA_VER).tar.gz | $(TARGET_DIR)
$(D)/lua: $(D)/ncurses $(ARCHIVE)/lua-$(LUA_VER).tar.gz | $(TARGET_DIR)
$(REMOVE)/lua-$(LUA_VER)
$(UNTAR)/lua-$(LUA_VER).tar.gz
$(CHDIR)/lua-$(LUA_VER); \

2
make/target-tools-unused.mk

@ -74,7 +74,7 @@ endif
$(ARCHIVE)/util-linux-$(UTIL-LINUX_VER).tar.xz:
$(DOWNLOAD) https://www.kernel.org/pub/linux/utils/util-linux/v$(UTIL-LINUX_VER_MAJOR).$(UTIL-LINUX_VER_MINOR)/util-linux-$(UTIL-LINUX_VER).tar.xz
$(D)/util-linux: $(D)/libncurses $(D)/zlib $(ARCHIVE)/util-linux-$(UTIL-LINUX_VER).tar.xz | $(TARGET_DIR)
$(D)/util-linux: $(D)/ncurses $(D)/zlib $(ARCHIVE)/util-linux-$(UTIL-LINUX_VER).tar.xz | $(TARGET_DIR)
$(REMOVE)/util-linux-$(UTIL-LINUX_VER)
$(UNTAR)/util-linux-$(UTIL-LINUX_VER).tar.xz
$(CHDIR)/util-linux-$(UTIL-LINUX_VER); \

31
make/target-tools.mk

@ -327,7 +327,7 @@ LESS_VER = 530
$(ARCHIVE)/less-$(LESS_VER).tar.gz:
$(DOWNLOAD) http://www.greenwoodsoftware.com/less/less-$(LESS_VER).tar.gz
$(D)/less: $(D)/libncurses $(ARCHIVE)/less-$(LESS_VER).tar.gz | $(TARGET_DIR)
$(D)/less: $(D)/ncurses $(ARCHIVE)/less-$(LESS_VER).tar.gz | $(TARGET_DIR)
$(REMOVE)/less-$(LESS_VER)
$(UNTAR)/less-$(LESS_VER).tar.gz
$(CHDIR)/less-$(LESS_VER); \
@ -409,18 +409,21 @@ $(D)/djmount: $(ARCHIVE)/djmount-$(DJMOUNT_VER).tar.gz $(D)/libfuse | $(TARGET_D
# -----------------------------------------------------------------------------
USHARE_VER = 1.1a
USHARE_VER = 1.1a
USHARE = ushare-uShare_v$(USHARE_VER)
USHARE_SOURCE = uShare_v$(USHARE_VER).tar.gz
USHARE_URL = https://github.com/GeeXboX/ushare/archive
$(ARCHIVE)/ushare-$(USHARE_VER).tar.bz2:
$(DOWNLOAD) http://ushare.geexbox.org/releases/ushare-$(USHARE_VER).tar.bz2
$(ARCHIVE)/$(USHARE_SOURCE):
$(DOWNLOAD) $(USHARE_URL)/$(USHARE_SOURCE)
USHARE_PATCH = ushare.diff
USHARE_PATCH += ushare-fix-building-with-gcc-5.x.patch
$(D)/ushare: $(ARCHIVE)/ushare-$(USHARE_VER).tar.bz2 $(D)/libupnp | $(TARGET_DIR)
$(REMOVE)/ushare-$(USHARE_VER)
$(UNTAR)/ushare-$(USHARE_VER).tar.bz2
$(CHDIR)/ushare-$(USHARE_VER); \
$(D)/ushare: $(D)/libupnp $(ARCHIVE)/$(USHARE_SOURCE)| $(TARGET_DIR)
$(REMOVE)/$(USHARE)
$(UNTAR)/$(USHARE_SOURCE)
$(CHDIR)/$(USHARE); \
$(call apply_patches, $(USHARE_PATCH)); \
$(BUILDENV) \
./configure \
@ -440,7 +443,7 @@ $(D)/ushare: $(ARCHIVE)/ushare-$(USHARE_VER).tar.bz2 $(D)/libupnp | $(TARGET_DIR
install -D -m 0755 $(IMAGEFILES)/scripts/ushare.init $(TARGET_DIR)/etc/init.d/ushare
ln -sf ushare $(TARGET_DIR)/etc/init.d/S99ushare
ln -sf ushare $(TARGET_DIR)/etc/init.d/K01ushare
$(REMOVE)/ushare-$(USHARE_VER)
$(REMOVE)/$(USHARE)
$(TOUCH)
# -----------------------------------------------------------------------------
@ -538,7 +541,7 @@ PROCPS-NG_PATCH += procps-ng-no-tests-docs.patch
PROCPS-NG_BIN = ps top
$(D)/procps-ng: $(D)/libncurses $(ARCHIVE)/$(PROCPS-NG_SOURCE) | $(TARGET_DIR)
$(D)/procps-ng: $(D)/ncurses $(ARCHIVE)/$(PROCPS-NG_SOURCE) | $(TARGET_DIR)
$(REMOVE)/$(PROCPS-NG)
$(UNTAR)/$(PROCPS-NG_SOURCE)
$(CHDIR)/$(PROCPS-NG); \
@ -576,7 +579,7 @@ NANO_VER = $(NANO_VER_MAJOR).2
$(ARCHIVE)/nano-$(NANO_VER).tar.gz:
$(DOWNLOAD) http://www.nano-editor.org/dist/v$(NANO_VER_MAJOR)/nano-$(NANO_VER).tar.gz
$(D)/nano: $(D)/libncurses $(ARCHIVE)/nano-$(NANO_VER).tar.gz | $(TARGET_DIR)
$(D)/nano: $(D)/ncurses $(ARCHIVE)/nano-$(NANO_VER).tar.gz | $(TARGET_DIR)
$(REMOVE)/nano-$(NANO_VER)
$(UNTAR)/nano-$(NANO_VER).tar.gz
$(CHDIR)/nano-$(NANO_VER); \
@ -599,7 +602,7 @@ $(ARCHIVE)/minicom-$(MINICOM_VER).tar.gz:
MINICOM_PATCH = minicom-fix-h-v-return-value-is-not-0.patch
$(D)/minicom: $(D)/libncurses $(ARCHIVE)/minicom-$(MINICOM_VER).tar.gz | $(TARGET_DIR)
$(D)/minicom: $(D)/ncurses $(ARCHIVE)/minicom-$(MINICOM_VER).tar.gz | $(TARGET_DIR)
$(REMOVE)/minicom-$(MINICOM_VER)
$(UNTAR)/minicom-$(MINICOM_VER).tar.gz
$(CHDIR)/minicom-$(MINICOM_VER); \
@ -1020,7 +1023,7 @@ $(D)/fbshot: $(D)/libpng $(ARCHIVE)/fbshot-$(FBSHOT_VER).tar.gz | $(TARGET_DIR)
# -----------------------------------------------------------------------------
$(D)/lcd4linux: $(D)/libncurses $(D)/libgd2 $(D)/libdpf | $(TARGET_DIR)
$(D)/lcd4linux: $(D)/ncurses $(D)/libgd2 $(D)/libdpf | $(TARGET_DIR)
$(REMOVE)/lcd4linux.git
get-git-source.sh https://github.com/TangoCash/lcd4linux.git $(ARCHIVE)/lcd4linux.git
$(CPDIR)/lcd4linux.git
@ -1337,7 +1340,7 @@ MC_VER = 4.8.23
$(ARCHIVE)/mc-$(MC_VER).tar.xz:
$(DOWNLOAD) http://ftp.midnight-commander.org/mc-$(MC_VER).tar.xz
$(D)/mc: $(D)/glib2 $(D)/libncurses $(ARCHIVE)/mc-$(MC_VER).tar.xz | $(TARGET_DIR)
$(D)/mc: $(D)/glib2 $(D)/ncurses $(ARCHIVE)/mc-$(MC_VER).tar.xz | $(TARGET_DIR)
$(REMOVE)/mc-$(MC_VER)
$(UNTAR)/mc-$(MC_VER).tar.xz
$(CHDIR)/mc-$(MC_VER); \

22
patches/glib2-automake.patch

@ -0,0 +1,22 @@
--- a/Makefile.in
+++ b/Makefile.in
@@ -484,15 +484,15 @@
| sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
distcleancheck_listfiles = find . -type f -print
ABS_TAPSET_DIR = @ABS_TAPSET_DIR@
-ACLOCAL = @ACLOCAL@
+ACLOCAL = true
ALLOCA = @ALLOCA@
AMTAR = @AMTAR@
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
AR = @AR@
AS = @AS@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
+AUTOCONF = true
+AUTOHEADER = true
+AUTOMAKE = true
AWK = @AWK@
CARBON_LIBS = @CARBON_LIBS@
CATALOGS = @CATALOGS@

2
patches/glib2-disable-tests.patch

@ -31,7 +31,7 @@ diff --git a/gio/Makefile.am b/gio/Makefile.am
index 67db1b7..78309b5 100644
--- a/gio/Makefile.am
+++ b/gio/Makefile.am
@@ -253,7 +253,7 @@ platform_libadd += win32/libgiowin32.la
@@ -246,7 +246,7 @@ platform_libadd += win32/libgiowin32.la
platform_deps += win32/libgiowin32.la
endif

51
patches/libass.patch

@ -0,0 +1,51 @@
--- a/libass/ass.c
+++ b/libass/ass.c
@@ -627,6 +627,26 @@
"No event format found, using fallback");
}
+// we may get duplicate events from a rewinded stream ...
+static int check_duplicate_event_adv(ASS_Track *track)
+{
+ int i, last = track->n_events - 1;
+ for (i = 0; i < last; ++i)
+ if (track->events[i].Start == track->events[last].Start
+ && track->events[i].Duration == track->events[last].Duration
+ && track->events[i].Layer == track->events[last].Layer
+ && track->events[i].Style == track->events[last].Style
+ && track->events[i].MarginL == track->events[last].MarginL
+ && track->events[i].MarginR == track->events[last].MarginR
+ && track->events[i].MarginV == track->events[last].MarginV
+ && !strcmp(track->events[i].Name, track->events[last].Name)
+ && !strcmp(track->events[i].Effect, track->events[last].Effect)
+ && !strcmp(track->events[i].Text, track->events[last].Text)
+ )
+ return 1;
+ return 0;
+}
+
static int process_events_line(ASS_Track *track, char *str)
{
if (!strncmp(str, "Format:", 7)) {
@@ -653,6 +673,11 @@
event_format_fallback(track);
process_event_tail(track, event, str, 0);
+
+ if (check_duplicate_event_adv(track)) {
+ ass_free_event(track, eid);
+ track->n_events--;
+ }
} else {
ass_msg(track->library, MSGL_V, "Not understood: '%.30s'", str);
}
@@ -939,6 +964,9 @@
event->Start = timecode;
event->Duration = duration;
+
+ if (check_duplicate_event_adv(track))
+ break;
free(str);
return;

0
patches/libbluray.diff → patches/libbluray.patch

31
patches/libtirpc-0007-include-stdint.h-for-uintptr_t.patch

@ -1,31 +0,0 @@
From 18f8a605e176f0362da22fd1203eb7cedb136aaf Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Tue, 20 Jun 2017 22:06:35 +0200
Subject: [PATCH] include stdint.h for uintptr_t
Fixes
| ../../libtirpc-1.0.1/src/xdr_sizeof.c:93:13: error: 'uintptr_t' undeclared (first use in this function); did you mean '__intptr_t'?
| if (len < (uintptr_t)xdrs->x_base) {
| ^~~~~~~~~
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Dmitrii Kolesnichenko <dmitrii@synopsys.com>
---
src/xdr_sizeof.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/xdr_sizeof.c b/src/xdr_sizeof.c
index d23fbd1..79d6707 100644
--- a/src/xdr_sizeof.c
+++ b/src/xdr_sizeof.c
@@ -39,6 +39,7 @@
#include <rpc/xdr.h>
#include <sys/types.h>
#include <stdlib.h>
+#include <stdint.h>
#include "un-namespace.h"
/* ARGSUSED */
--
2.9.4
Loading…
Cancel
Save