added my Recipes
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
From 8d8fa9f22d9f6a95523bac63ac3af724faf5ff92 Mon Sep 17 00:00:00 2001
|
||||
From: Marek Vasut <marex@denx.de>
|
||||
Date: Fri, 7 Apr 2017 23:26:09 +0200
|
||||
Subject: [PATCH] Avoid using host-path
|
||||
|
||||
Remove the explicit reference to /usr/local/* , this is completely
|
||||
bogus and causes trouble during cross-compilation.
|
||||
|
||||
Signed-off-by: Marek Vasut <marex@denx.de>
|
||||
Upstream-Status: Inappropriate [upstream requires this]
|
||||
---
|
||||
mk/Variables.mk | 6 ------
|
||||
1 file changed, 6 deletions(-)
|
||||
|
||||
diff --git a/mk/Variables.mk b/mk/Variables.mk
|
||||
index 99f787c..3ffd87a 100644
|
||||
--- a/mk/Variables.mk
|
||||
+++ b/mk/Variables.mk
|
||||
@@ -42,12 +42,6 @@ CFLAGS += -Wall -Wmissing-prototypes -Wstrict-prototypes \
|
||||
-Wpointer-arith -Wunused
|
||||
CXXFLAGS += -Wall -Wpointer-arith -Wunused
|
||||
|
||||
-# add /usr/local to the search path if something is in there ...
|
||||
-ifneq ($(wildcard /usr/local/include/*.h),)
|
||||
- CFLAGS += -I/usr/local/include
|
||||
- LDFLAGS += -L/usr/local/$(LIB)
|
||||
-endif
|
||||
-
|
||||
# fixup include path for $(srcdir) != "."
|
||||
ifneq ($(srcdir),.)
|
||||
CFLAGS += -I. -I$(srcdir)
|
||||
--
|
||||
2.11.0
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
OE configures cairo to disable EGL support, however fbida expects cairo with egl support
|
||||
this patch therefore makes it possible to set HAVE_CAIRO_GL via recipe
|
||||
|
||||
Upstream-Status: Inappropriate [OE-Specific]
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
|
||||
--- a/GNUmakefile
|
||||
+++ b/GNUmakefile
|
||||
@@ -67,7 +67,7 @@ define make-config
|
||||
LIB := $(LIB)
|
||||
RESDIR := $(call ac_resdir)
|
||||
HAVE_LINUX_FB_H := $(call ac_header,linux/fb.h)
|
||||
-HAVE_CAIRO_GL := $(call ac_pkg_config,cairo-gl)
|
||||
+HAVE_CAIRO_GL ?= $(call ac_pkg_config,cairo-gl)
|
||||
HAVE_LIBPCD := $(call ac_lib,pcd_open,pcd)
|
||||
HAVE_LIBGIF := $(call ac_lib,DGifOpenFileName,gif)
|
||||
HAVE_LIBWEBP := $(call ac_pkg_config,libwebp)
|
||||
@@ -0,0 +1,61 @@
|
||||
Fix build with gcc10
|
||||
|
||||
Patch from https://src.fedoraproject.org/rpms/fbida/raw/master/f/fbida.gcc10.patch
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
|
||||
--- fbida-2.14/fbi.c.org 2020-03-15 17:02:17.944189632 +0100
|
||||
+++ fbida-2.14/fbi.c 2020-03-15 17:02:21.880223224 +0100
|
||||
@@ -100,7 +100,6 @@
|
||||
|
||||
/* graphics interface */
|
||||
gfxstate *gfx;
|
||||
-int debug;
|
||||
|
||||
/* framebuffer */
|
||||
char *fbdev = NULL;
|
||||
--- fbida-2.14/filter.c 2020-03-15 16:44:17.159855150 +0100
|
||||
+++ fbida-2.14/filter.c 2020-03-15 16:44:27.017941447 +0100
|
||||
@@ -6,8 +6,6 @@
|
||||
#include "readers.h"
|
||||
#include "filter.h"
|
||||
|
||||
-int debug = 0;
|
||||
-
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
static void
|
||||
--- fbida-2.14/readers.c.org 2020-03-15 17:01:18.692683597 +0100
|
||||
+++ fbida-2.14/readers.c 2020-03-15 16:57:19.141632384 +0100
|
||||
@@ -6,6 +6,8 @@
|
||||
|
||||
#include "readers.h"
|
||||
|
||||
+int debug=0;
|
||||
+
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
void load_bits_lsb(unsigned char *dst, unsigned char *src, int width,
|
||||
|
||||
--- fbida-2.14/viewer.c.org 2020-03-15 17:05:02.991595832 +0100
|
||||
+++ fbida-2.14/viewer.c 2020-03-15 17:04:55.424531467 +0100
|
||||
@@ -40,7 +40,6 @@
|
||||
#define PROCESS_LINES 16
|
||||
|
||||
-int debug;
|
||||
Cursor ptrs[POINTER_COUNT];
|
||||
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
||||
--- fbida-2.14/idaconfig.h.org 2020-03-15 17:07:09.239668196 +0100
|
||||
+++ fbida-2.14/idaconfig.h 2020-03-15 17:07:21.248770061 +0100
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
|
||||
-char *ida_lists;
|
||||
+extern char *ida_lists;
|
||||
|
||||
void ida_init_config(void);
|
||||
void ida_read_config(void);
|
||||
@@ -0,0 +1,6 @@
|
||||
--- a/scripts/jpeg-version.sh
|
||||
+++ b/scripts/jpeg-version.sh
|
||||
@@ -1,2 +1,2 @@
|
||||
#!/bin/sh
|
||||
-echo JPEG_LIB_VERSION | cpp $CFLAGS -include jpeglib.h | tail -1
|
||||
+${CPP} -include jpeglib.h -dM -E -x c /dev/null | grep 'define JPEG_LIB_VERSION' | cut -f 3 -d' '
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,13 @@
|
||||
Index: fbida-2.10/GNUmakefile
|
||||
===================================================================
|
||||
--- fbida-2.10.orig/GNUmakefile
|
||||
+++ fbida-2.10/GNUmakefile
|
||||
@@ -51,7 +51,7 @@ HAVE_LIBSANE := $(call ac_lib,sane_init,
|
||||
HAVE_LIBCURL := $(call ac_lib,curl_easy_init,curl)
|
||||
HAVE_LIBLIRC := $(call ac_lib,lirc_init,lirc_client)
|
||||
HAVE_MOTIF := $(call ac_lib,XmStringGenerate,Xm,-L/usr/X11R6/$(LIB) -lXpm -lXt -lXext -lX11)
|
||||
-JPEG_VER := $(call ac_jpeg_ver)
|
||||
+JPEG_VER := 62
|
||||
endef
|
||||
|
||||
# transposing
|
||||
Reference in New Issue
Block a user