Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
SUMMARY = "Framebuffer image and doc viewer tools"
|
||||
DESCRIPTION = "The fbida project contains a few applications for viewing and editing images, \
|
||||
with the main focus being photos."
|
||||
HOMEPAGE = "https://www.kraxel.org/blog/linux/fbida/"
|
||||
SECTION = "utils"
|
||||
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=e8feb78a32950a909621bbb51f634b39"
|
||||
|
||||
DEPENDS = "virtual/libiconv jpeg fontconfig freetype libexif libdrm pixman udev libinput cairo"
|
||||
|
||||
PV = "2.14+git"
|
||||
SRC_URI = "git://github.com/kraxel/fbida;protocol=https;branch=master \
|
||||
file://fix-preprocessor.patch \
|
||||
file://support-jpeg-turbo.patch \
|
||||
file://fbida-gcc10.patch \
|
||||
file://0001-meson.build-install-fbgs-shell-script.patch \
|
||||
file://0002-meson.build-add-features-options-for-png-gif-tiff-we.patch \
|
||||
file://0003-meson.build-do-not-require-xkbcommon.patch \
|
||||
file://0001-meson.build-make-fbpdf-build-optional.patch \
|
||||
file://0001-fbida-Include-missing-sys-types.h.patch \
|
||||
"
|
||||
SRCREV = "eb769e3d7f4a073d4c37ed524ebd5017c6a578f5"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit meson pkgconfig features_check
|
||||
|
||||
# Depends on libepoxy
|
||||
REQUIRED_DISTRO_FEATURES = "opengl"
|
||||
|
||||
PACKAGECONFIG ??= "gif png pdf"
|
||||
PACKAGECONFIG[gif] = "-Dgif=enabled,-Dgif=disabled,giflib"
|
||||
PACKAGECONFIG[png] = "-Dpng=enabled,-Dpng=disabled,libpng"
|
||||
PACKAGECONFIG[tiff] = "-Dtiff=enabled,-Dtiff=disabled,tiff"
|
||||
PACKAGECONFIG[motif] = "-Dmotif=enabled,-Dmotif=disabled,libx11 libxext libxpm libxt openmotif"
|
||||
PACKAGECONFIG[webp] = "-Dwebp=enabled,-Dwebp=disabled,libwebp"
|
||||
PACKAGECONFIG[pdf] = "-Dpdf=enabled,-Dpdf=disabled,poppler libepoxy"
|
||||
|
||||
CFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-DEGL_NO_X11=1', d)}"
|
||||
|
||||
RDEPENDS:${PN} = "ttf-dejavu-sans-mono"
|
||||
@@ -0,0 +1,31 @@
|
||||
From 17490e264e627ead81bf5840c8797de968485943 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Mon, 3 Jul 2023 11:25:26 -0700
|
||||
Subject: [PATCH] fbida: Include missing <sys/types.h>
|
||||
|
||||
Fixes build on musl
|
||||
../git/gfx.h:43:5: error: unknown type name 'dev_t'; did you mean 'div_t'?
|
||||
dev_t devnum;
|
||||
^~~~~
|
||||
div_t
|
||||
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fbida/2.14+gitAUTOINC+eb769e3d7f-r0/recipe-sysroot/usr/include/stdlib.h:64:35: note: 'div_t' declared here
|
||||
typedef struct { int quot, rem; } div_t;
|
||||
^
|
||||
1 error generated
|
||||
|
||||
Upstream-Status: Submitted [https://github.com/kraxel/fbida/pull/3]
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
gfx.h | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
--- a/gfx.h
|
||||
+++ b/gfx.h
|
||||
@@ -1,5 +1,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <inttypes.h>
|
||||
+#include <sys/types.h>
|
||||
|
||||
#include <pixman.h>
|
||||
#include <cairo.h>
|
||||
@@ -0,0 +1,28 @@
|
||||
From f9c455e81ad4d870c8ae20b9af8598139231ad26 Mon Sep 17 00:00:00 2001
|
||||
From: "Meyer, Wolfgang" <Wolfgang.Meyer@gossenmetrawatt.com>
|
||||
Date: Fri, 9 Sep 2022 09:32:22 +0200
|
||||
Subject: [PATCH] meson.build: install fbgs shell script
|
||||
|
||||
Upstream-Status: Submitted [https://github.com/kraxel/fbida/pull/4]
|
||||
Signed-off-by: "Meyer, Wolfgang" <Wolfgang.Meyer@gossenmetrawatt.com>
|
||||
---
|
||||
meson.build | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
diff --git a/meson.build b/meson.build
|
||||
index cbed982..2129896 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -126,6 +126,9 @@ executable('fbpdf',
|
||||
sources : fbpdf_srcs,
|
||||
dependencies : fbpdf_deps,
|
||||
install : true)
|
||||
+install_data('fbgs',
|
||||
+ install_dir : get_option('bindir'),
|
||||
+ install_mode : 'rwxr--r--')
|
||||
|
||||
# build fbcon
|
||||
fbcon_srcs = [ 'fbcon.c', 'drmtools.c', 'fbtools.c', 'gfx.c', 'vt.c', 'kbd.c' ]
|
||||
--
|
||||
2.37.3
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
From c00a155e90a9b22bd6ab5fa5407bb9923ee16ca0 Mon Sep 17 00:00:00 2001
|
||||
From: "Meyer, Wolfgang" <Wolfgang.Meyer@gossenmetrawatt.com>
|
||||
Date: Fri, 16 Sep 2022 18:45:58 +0200
|
||||
Subject: [PATCH] meson.build: make fbpdf build optional
|
||||
|
||||
Upstream-Status: Submitted [https://github.com/kraxel/fbida/pull/4]
|
||||
Signed-off-by: "Meyer, Wolfgang" <Wolfgang.Meyer@gossenmetrawatt.com>
|
||||
---
|
||||
meson.build | 22 ++++++++++++----------
|
||||
meson_options.txt | 1 +
|
||||
2 files changed, 13 insertions(+), 10 deletions(-)
|
||||
|
||||
diff --git a/meson.build b/meson.build
|
||||
index 6b3daf3..289d1ec 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -15,11 +15,11 @@ x11resdir = x11resrun.stdout().strip()
|
||||
|
||||
# pkg-config deps
|
||||
pixman_dep = dependency('pixman-1')
|
||||
-poppler_dep = dependency('poppler-glib')
|
||||
+poppler_dep = dependency('poppler-glib', required: get_option('pdf'))
|
||||
cairo_dep = dependency('cairo')
|
||||
drm_dep = dependency('libdrm')
|
||||
-gbm_dep = dependency('gbm')
|
||||
-epoxy_dep = dependency('epoxy')
|
||||
+gbm_dep = dependency('gbm', required: get_option('pdf'))
|
||||
+epoxy_dep = dependency('epoxy', required: get_option('pdf'))
|
||||
exif_dep = dependency('libexif')
|
||||
png_dep = dependency('libpng', required: get_option('png'))
|
||||
tiff_dep = dependency('libtiff-4', required: get_option('tiff'))
|
||||
@@ -132,13 +132,15 @@ fbpdf_deps = [ drm_dep, gbm_dep, epoxy_dep,
|
||||
pixman_dep, poppler_dep, cairo_dep,
|
||||
udev_dep, input_dep ]
|
||||
|
||||
-executable('fbpdf',
|
||||
- sources : fbpdf_srcs,
|
||||
- dependencies : fbpdf_deps,
|
||||
- install : true)
|
||||
-install_data('fbgs',
|
||||
- install_dir : get_option('bindir'),
|
||||
- install_mode : 'rwxr--r--')
|
||||
+if get_option('pdf').enabled()
|
||||
+ executable('fbpdf',
|
||||
+ sources : fbpdf_srcs,
|
||||
+ dependencies : fbpdf_deps,
|
||||
+ install : true)
|
||||
+ install_data('fbgs',
|
||||
+ install_dir : get_option('bindir'),
|
||||
+ install_mode : 'rwxr--r--')
|
||||
+endif
|
||||
|
||||
# build fbcon
|
||||
fbcon_srcs = [ 'fbcon.c', 'drmtools.c', 'fbtools.c', 'gfx.c', 'vt.c', 'kbd.c' ]
|
||||
diff --git a/meson_options.txt b/meson_options.txt
|
||||
index ce37188..74699ab 100644
|
||||
--- a/meson_options.txt
|
||||
+++ b/meson_options.txt
|
||||
@@ -3,3 +3,4 @@ option('png', type: 'feature', value : 'enabled')
|
||||
option('tiff', type: 'feature', value : 'enabled')
|
||||
option('webp', type: 'feature', value : 'disabled')
|
||||
option('motif', type: 'feature', value : 'disabled')
|
||||
+option('pdf', type: 'feature', value : 'enabled')
|
||||
--
|
||||
2.37.3
|
||||
|
||||
@@ -0,0 +1,124 @@
|
||||
From cdcde5c1fd106a69118dff98118600911392762f Mon Sep 17 00:00:00 2001
|
||||
From: "Meyer, Wolfgang" <Wolfgang.Meyer@gossenmetrawatt.com>
|
||||
Date: Fri, 16 Sep 2022 16:25:38 +0200
|
||||
Subject: [PATCH] meson.build: add features options for png, gif, tiff, webp, and motif
|
||||
|
||||
Upstream-Status: Submitted [https://github.com/kraxel/fbida/pull/4]
|
||||
Signed-off-by: "Meyer, Wolfgang" <Wolfgang.Meyer@gossenmetrawatt.com>
|
||||
---
|
||||
meson.build | 41 +++++++++++++++++++++++++++--------------
|
||||
meson_options.txt | 5 +++++
|
||||
selections.c | 4 ++++
|
||||
3 files changed, 36 insertions(+), 14 deletions(-)
|
||||
create mode 100644 meson_options.txt
|
||||
|
||||
diff --git a/meson.build b/meson.build
|
||||
index cd9cc49..b5e3ffc 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -23,9 +23,9 @@ drm_dep = dependency('libdrm')
|
||||
gbm_dep = dependency('gbm')
|
||||
epoxy_dep = dependency('epoxy')
|
||||
exif_dep = dependency('libexif')
|
||||
-png_dep = dependency('libpng')
|
||||
-tiff_dep = dependency('libtiff-4')
|
||||
-webp_dep = dependency('libwebp', required : false)
|
||||
+png_dep = dependency('libpng', required: get_option('png'))
|
||||
+tiff_dep = dependency('libtiff-4', required: get_option('tiff'))
|
||||
+webp_dep = dependency('libwebp', required : get_option('webp'))
|
||||
udev_dep = dependency('libudev')
|
||||
input_dep = dependency('libinput')
|
||||
xkb_dep = dependency('xkbcommon')
|
||||
@@ -36,20 +36,20 @@ jpeg_dep = cc.find_library('jpeg')
|
||||
util_dep = cc.find_library('util')
|
||||
math_dep = cc.find_library('m', required : false)
|
||||
pcd_dep = cc.find_library('pcd', required : false)
|
||||
-gif_dep = cc.find_library('gif', required : false)
|
||||
+gif_dep = cc.find_library('gif', required: get_option('gif'))
|
||||
|
||||
# motif + x11 libs
|
||||
-motif_dep = cc.find_library('Xm', required : false)
|
||||
-xpm_dep = cc.find_library('Xpm', required : false)
|
||||
-xt_dep = cc.find_library('Xt', required : false)
|
||||
-xext_dep = cc.find_library('Xext', required : false)
|
||||
-x11_dep = cc.find_library('X11', required : false)
|
||||
+motif_dep = cc.find_library('Xm', required : get_option('motif'))
|
||||
+xpm_dep = cc.find_library('Xpm', required : get_option('motif'))
|
||||
+xt_dep = cc.find_library('Xt', required : get_option('motif'))
|
||||
+xext_dep = cc.find_library('Xext', required : get_option('motif'))
|
||||
+x11_dep = cc.find_library('X11', required : get_option('motif'))
|
||||
|
||||
# image formats
|
||||
read_srcs = [ 'readers.c', 'rd/read-ppm.c', 'rd/read-bmp.c',
|
||||
- 'rd/read-jpeg.c', 'rd/read-png.c', 'rd/read-tiff.c' ]
|
||||
+ 'rd/read-jpeg.c' ]
|
||||
write_srcs = [ 'writers.c', 'wr/write-ppm.c', 'wr/write-ps.c',
|
||||
- 'wr/write-jpeg.c', 'wr/write-png.c', 'wr/write-tiff.c' ]
|
||||
+ 'wr/write-jpeg.c' ]
|
||||
image_deps = [ jpeg_dep, png_dep, tiff_dep,
|
||||
pcd_dep, gif_dep, webp_dep ]
|
||||
|
||||
@@ -57,11 +57,21 @@ if pcd_dep.found()
|
||||
read_srcs += 'rd/read-pcd.c'
|
||||
config.set('HAVE_LIBPCD', true)
|
||||
endif
|
||||
-if gif_dep.found()
|
||||
+if get_option('png').enabled()
|
||||
+ read_srcs += 'rd/read-png.c'
|
||||
+ write_srcs += 'wr/write-png.c'
|
||||
+ config.set('HAVE_LIBPNG', true)
|
||||
+endif
|
||||
+if get_option('tiff').enabled()
|
||||
+ read_srcs += 'rd/read-tiff.c'
|
||||
+ write_srcs += 'wr/write-tiff.c'
|
||||
+ config.set('HAVE_LIBTIFF', true)
|
||||
+endif
|
||||
+if get_option('gif').enabled()
|
||||
read_srcs += 'rd/read-gif.c'
|
||||
config.set('HAVE_LIBGIF', true)
|
||||
endif
|
||||
-if webp_dep.found()
|
||||
+if get_option('webp').enabled()
|
||||
read_srcs += 'rd/read-webp.c'
|
||||
config.set('HAVE_LIBWEBP', true)
|
||||
endif
|
||||
@@ -168,7 +181,7 @@ ida_srcs = [ 'ida.c', 'man.c', 'hex.c', 'x11.c', 'viewer.c',
|
||||
ida_deps = [ pixman_dep, exif_dep, image_deps, math_dep,
|
||||
motif_dep, xpm_dep, xt_dep, xext_dep, x11_dep ]
|
||||
|
||||
-if motif_dep.found()
|
||||
+if get_option('motif').enabled()
|
||||
executable('ida',
|
||||
sources : ida_srcs,
|
||||
dependencies : ida_deps,
|
||||
diff --git a/meson_options.txt b/meson_options.txt
|
||||
new file mode 100644
|
||||
index 0000000..ce37188
|
||||
--- /dev/null
|
||||
+++ b/meson_options.txt
|
||||
@@ -0,0 +1,5 @@
|
||||
+option('gif', type: 'feature', value : 'enabled')
|
||||
+option('png', type: 'feature', value : 'enabled')
|
||||
+option('tiff', type: 'feature', value : 'enabled')
|
||||
+option('webp', type: 'feature', value : 'disabled')
|
||||
+option('motif', type: 'feature', value : 'disabled')
|
||||
diff --git a/selections.c b/selections.c
|
||||
index 7b16264..ccdc686 100644
|
||||
--- a/selections.c
|
||||
+++ b/selections.c
|
||||
@@ -609,8 +609,12 @@ void ipc_init()
|
||||
#ifdef HAVE_LIBGIF
|
||||
targets[ntargets++] = MIME_IMAGE_GIF;
|
||||
#endif
|
||||
+#ifdef HAVE_LIBPNG
|
||||
targets[ntargets++] = MIME_IMAGE_PNG;
|
||||
+#endif
|
||||
+#ifdef HAVE_LIBTIFF
|
||||
targets[ntargets++] = MIME_IMAGE_TIFF;
|
||||
+#endif
|
||||
targets[ntargets++] = XA_PIXMAP;
|
||||
targets[ntargets++] = XA_STRING;
|
||||
|
||||
--
|
||||
2.37.3
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
From ec82a194f3454ac203a134c9a99bac6d63095d25 Mon Sep 17 00:00:00 2001
|
||||
From: "Meyer, Wolfgang" <Wolfgang.Meyer@gossenmetrawatt.com>
|
||||
Date: Fri, 16 Sep 2022 18:29:03 +0200
|
||||
Subject: [PATCH] meson.build: do not require xkbcommon
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: "Meyer, Wolfgang" <Wolfgang.Meyer@gossenmetrawatt.com>
|
||||
---
|
||||
meson.build | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/meson.build b/meson.build
|
||||
index 341939c..b5dab14 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -26,7 +26,7 @@ tiff_dep = dependency('libtiff-4', required: get_option('tiff'))
|
||||
webp_dep = dependency('libwebp', required : get_option('webp'))
|
||||
udev_dep = dependency('libudev')
|
||||
input_dep = dependency('libinput')
|
||||
-xkb_dep = dependency('xkbcommon')
|
||||
+xkb_dep = dependency('xkbcommon', required : false)
|
||||
tsm_dep = dependency('libtsm', required : false)
|
||||
|
||||
# other library deps
|
||||
--
|
||||
2.37.3
|
||||
|
||||
@@ -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,8 @@
|
||||
Upstream-Status: Pending
|
||||
|
||||
--- 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
Reference in New Issue
Block a user