Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
Replace the legacy index() with strchr()
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
applets/mb-applet-menu-launcher.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: matchbox-panel-0.9.3/applets/mb-applet-menu-launcher.c
===================================================================
--- matchbox-panel-0.9.3.orig/applets/mb-applet-menu-launcher.c
+++ matchbox-panel-0.9.3/applets/mb-applet-menu-launcher.c
@@ -280,7 +280,7 @@
DBG("\tkey %s ", key);
if (*(++p) == '"') { p++; tc = sc; } /* skip "'s */
val = p;
- while(index(tc,*p) == NULL)
+ while(strchr(tc,*p) == NULL)
{
if (*p == '\\' && *(p+1) == '"') p++; /* skip \" */
p++;

View File

@@ -0,0 +1,34 @@
mb-applet-wireless: fix undefined reference to `log' and `lrint'
mb-applet-wireless.o: In function `update_wireless':
.. matchbox-panel-0.9.3/applets/mb-applet-wireless.c:143: undefined reference to `log'
.. matchbox-panel-0.9.3/applets/mb-applet-wireless.c:143: undefined reference to `lrint'
Signed-off-by: Jean-Paul Etienne <fractalclone@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[arnout: add description and Signed-off-by]
---
diff -rup matchbox-panel-0.9.3.orig/applets/Makefile.in matchbox-panel-0.9.3/applets/Makefile.in
--- matchbox-panel-0.9.3.orig/applets/Makefile.in 2015-01-23 00:16:47.594850985 +0100
+++ matchbox-panel-0.9.3/applets/Makefile.in 2015-01-23 00:15:18.458694947 +0100
@@ -198,7 +198,7 @@ WANT_SMALL_ICONS_FALSE = @WANT_SMALL_ICO
WANT_SMALL_ICONS_TRUE = @WANT_SMALL_ICONS_TRUE@
WANT_WIFI_FALSE = @WANT_WIFI_FALSE@
WANT_WIFI_TRUE = @WANT_WIFI_TRUE@
-WIRELESS_LIBS = @WIRELESS_LIBS@
+WIRELESS_LIBS = @WIRELESS_LIBS@ -lm
XGETTEXT = @XGETTEXT@
ac_ct_CC = @ac_ct_CC@
ac_ct_STRIP = @ac_ct_STRIP@
diff -rup matchbox-panel-0.9.3.orig/applets/mb-applet-wireless.c matchbox-panel-0.9.3/applets/mb-applet-wireless.c
--- matchbox-panel-0.9.3.orig/applets/mb-applet-wireless.c 2015-01-23 00:16:31.531822865 +0100
+++ matchbox-panel-0.9.3/applets/mb-applet-wireless.c 2015-01-23 00:03:43.067563827 +0100
@@ -50,6 +50,8 @@
#endif
+#include <math.h>
+
#ifdef MB_HAVE_PNG
#define IMG_EXT "png"
#else

View File

@@ -0,0 +1,21 @@
mb-applet-battery: don't declare line_parse as static
Fix this build failure:
mb-applet-battery.c: In function 'read_apm':
mb-applet-battery.c:181:2: error: invalid storage class for function 'line_parse'
Reported-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
diff -durN matchbox-panel-0.9.3.orig/applets/mb-applet-battery.c matchbox-panel-0.9.3/applets/mb-applet-battery.c
--- matchbox-panel-0.9.3.orig/applets/mb-applet-battery.c 2006-02-07 23:27:24.000000000 +0100
+++ matchbox-panel-0.9.3/applets/mb-applet-battery.c 2015-05-02 17:13:00.843578796 +0200
@@ -177,7 +177,7 @@
unsigned long present_rate;
};
- static int
+ int
line_parse(char *line, struct entry *e)
{
char *ptr;

View File

@@ -0,0 +1,16 @@
Description: fix FTBFS with stricter GCC flags
Upstream: https://sources.debian.org/src/matchbox-panel/0.9.3%2Bgit20100816-2/debian/patches/fix-build
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Index: matchbox-panel-0.9.3+git20100816/src/msg.h
===================================================================
--- matchbox-panel-0.9.3+git20100816.orig/src/msg.h 2020-06-16 16:04:57.000000000 +0100
+++ matchbox-panel-0.9.3+git20100816/src/msg.h 2024-08-09 11:22:54.986036009 +0100
@@ -17,5 +17,6 @@
void msg_handle_events(MBPanel *d, XEvent *e);
void msg_handle_timeouts(MBPanel *d);
void msg_cancel(MBPanel *d, XClientMessageEvent *e);
+Bool msg_set_timeout (MBPanel *d, struct timeval *tv, struct timeval **tvp);
#endif

View File

@@ -0,0 +1,36 @@
From 7608e4f755b1fb3a99c387c58f79b0c4b6aadfbe Mon Sep 17 00:00:00 2001
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Date: Sat, 27 Dec 2025 23:53:23 +0100
Subject: [PATCH] applets/mb-applet-launcher.c: add missing <time.h>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Fixes:
mb-applet-launcher.c: In function ‘get_launch_window’:
mb-applet-launcher.c:269:18: error: implicit declaration of function ‘time’ [-Wimplicit-function-declaration]
269 | time_t stime = time(NULL);
| ^~~~
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Upstream: N/A, dead
---
applets/mb-applet-launcher.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/applets/mb-applet-launcher.c b/applets/mb-applet-launcher.c
index 08a6a10..f7685de 100644
--- a/applets/mb-applet-launcher.c
+++ b/applets/mb-applet-launcher.c
@@ -26,6 +26,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <signal.h>
+#include <time.h>
#ifdef USE_LIBSN
#define SN_API_NOT_YET_FROZEN 1
--
2.52.0

View File

@@ -0,0 +1,8 @@
config BR2_PACKAGE_MATCHBOX_PANEL
bool "matchbox-panel"
select BR2_PACKAGE_MATCHBOX_LIB
help
A flexible always present 'window bar' for holding
application launchers.
http://git.yoctoproject.org/cgit/cgit.cgi/matchbox-panel/

View File

@@ -0,0 +1,4 @@
# From http://downloads.yoctoproject.org/releases/matchbox/matchbox-panel/0.9/matchbox-panel-0.9.3.tar.bz2.md5
md5 56d1807636f3919e22e51896ab7ccd2e matchbox-panel-0.9.3.tar.bz2
# Locally computed
sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING

View File

@@ -0,0 +1,35 @@
################################################################################
#
# matchbox-panel
#
################################################################################
MATCHBOX_PANEL_VERSION_MAJOR = 0.9
MATCHBOX_PANEL_VERSION = $(MATCHBOX_PANEL_VERSION_MAJOR).3
MATCHBOX_PANEL_SOURCE = matchbox-panel-$(MATCHBOX_PANEL_VERSION).tar.bz2
MATCHBOX_PANEL_SITE = http://downloads.yoctoproject.org/releases/matchbox/matchbox-panel/$(MATCHBOX_PANEL_VERSION_MAJOR)
MATCHBOX_PANEL_LICENSE = GPL-2.0+
MATCHBOX_PANEL_LICENSE_FILES = COPYING
MATCHBOX_PANEL_DEPENDENCIES = matchbox-lib $(TARGET_NLS_DEPENDENCIES)
MATCHBOX_PANEL_CONF_ENV = LIBS=$(TARGET_NLS_LIBS)
MATCHBOX_PANEL_CONF_OPTS = --enable-expat --enable-dnotify
ifeq ($(BR2_PACKAGE_MATCHBOX_STARTUP_MONITOR),y)
MATCHBOX_PANEL_CONF_OPTS += --enable-startup-notification
MATCHBOX_PANEL_DEPENDENCIES += matchbox-startup-monitor
else
MATCHBOX_PANEL_CONF_OPTS += --disable-startup-notification
endif
# Using ACPI is only possible on x86 (32- or 64-bit) or AArch64
ifeq ($(BR2_aarch64)$(BR2_i386)$(BR2_x86_64),y)
MATCHBOX_PANEL_CONF_OPTS += --enable-acpi-linux
else
MATCHBOX_PANEL_CONF_OPTS += --disable-acpi-linux
endif
ifeq ($(BR2_PACKAGE_WIRELESS_TOOLS_LIB),y)
MATCHBOX_PANEL_DEPENDENCIES += wireless_tools
endif
$(eval $(autotools-package))