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,28 @@
|
||||
Upstream-Status: Pending
|
||||
|
||||
In some circumstances, gconf isn't able to save configurations
|
||||
because ~/.config folder aka root_dir doesn't exist.
|
||||
This issue was not seen before because ~/.config directory is shared
|
||||
between several packages and one of those packages usually creates it
|
||||
by the time gconf wants to use it.
|
||||
|
||||
This patch makes sure that gconf creates the .config directory if it
|
||||
doesn't exist, along with the gconf directory inside it.
|
||||
|
||||
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
|
||||
Signed-off-by: Alejandro Hernandez <alejandr@xilinx.com>
|
||||
|
||||
|
||||
Index: GConf-3.2.6/backends/markup-backend.c
|
||||
===================================================================
|
||||
--- GConf-3.2.6.orig/backends/markup-backend.c
|
||||
+++ GConf-3.2.6/backends/markup-backend.c
|
||||
@@ -276,7 +276,7 @@ resolve_address (const char *address,
|
||||
/* dir_mode without search bits */
|
||||
file_mode = dir_mode & (~0111);
|
||||
}
|
||||
- else if (g_mkdir (root_dir, dir_mode) < 0)
|
||||
+ else if (g_mkdir_with_parents (root_dir, dir_mode) < 0)
|
||||
{
|
||||
/* Error out even on EEXIST - shouldn't happen anyway */
|
||||
gconf_set_error (err, GCONF_ERROR_FAILED,
|
||||
60
sources/poky/meta/recipes-gnome/gnome/gconf/python3.patch
Normal file
60
sources/poky/meta/recipes-gnome/gnome/gconf/python3.patch
Normal file
@@ -0,0 +1,60 @@
|
||||
gconf: use python3
|
||||
|
||||
Convert gsettings-schema-convert to use python3.
|
||||
|
||||
Upstream-Status: Inappropriate [gconf is deprecated]
|
||||
|
||||
Signed-off-by: Joe Slater <joe.slater@windriver.com>
|
||||
|
||||
|
||||
--- a/gsettings/gsettings-schema-convert
|
||||
+++ b/gsettings/gsettings-schema-convert
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env python
|
||||
+#!/usr/bin/env python3
|
||||
# vim: set ts=4 sw=4 et: coding=UTF-8
|
||||
#
|
||||
# Copyright (c) 2010, Novell, Inc.
|
||||
@@ -603,7 +603,7 @@ class SimpleSchemaParser:
|
||||
for line in lines:
|
||||
current_line_nb += 1
|
||||
self.parse_line(line)
|
||||
- except GSettingsSchemaConvertException, e:
|
||||
+ except GSettingsSchemaConvertException as e:
|
||||
raise GSettingsSchemaConvertException('%s:%s: %s' % (os.path.basename(self.file), current_line_nb, e))
|
||||
|
||||
return self.root
|
||||
@@ -1095,7 +1095,7 @@ def main(args):
|
||||
try:
|
||||
parser = GConfSchemaParser(argfile, options.gettext_domain, options.schema_id, options.keep_underscores)
|
||||
schema_root = parser.parse()
|
||||
- except SyntaxError, e:
|
||||
+ except SyntaxError as e:
|
||||
raise GSettingsSchemaConvertException('\'%s\' does not look like a valid gconf schema file: %s' % (argfile, e))
|
||||
else:
|
||||
# autodetect if file is XML or not
|
||||
@@ -1104,7 +1104,7 @@ def main(args):
|
||||
schema_root = parser.parse()
|
||||
if not options.simple and not options.xml:
|
||||
options.simple = True
|
||||
- except SyntaxError, e:
|
||||
+ except SyntaxError as e:
|
||||
parser = SimpleSchemaParser(argfile)
|
||||
schema_root = parser.parse()
|
||||
if not options.simple and not options.xml:
|
||||
@@ -1127,13 +1127,13 @@ def main(args):
|
||||
fout = open(options.output, 'w')
|
||||
fout.write(output)
|
||||
fout.close()
|
||||
- except GSettingsSchemaConvertException, e:
|
||||
+ except GSettingsSchemaConvertException as e:
|
||||
fout.close()
|
||||
if os.path.exists(options.output):
|
||||
os.unlink(options.output)
|
||||
raise e
|
||||
|
||||
- except GSettingsSchemaConvertException, e:
|
||||
+ except GSettingsSchemaConvertException as e:
|
||||
print >> sys.stderr, '%s' % e
|
||||
return 1
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
Upstream-Status: Pending
|
||||
|
||||
Remove '+' from invalid characters list
|
||||
|
||||
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
|
||||
|
||||
Index: GConf-3.2.5/gconf/gconf-backend.c
|
||||
===================================================================
|
||||
--- GConf-3.2.5.orig/gconf/gconf-backend.c
|
||||
+++ GConf-3.2.5/gconf/gconf-backend.c
|
||||
@@ -37,7 +37,7 @@ static const char invalid_chars[] =
|
||||
/* Space is common in user names (and thus home directories) on Windows */
|
||||
" "
|
||||
#endif
|
||||
- "\t\r\n\"$&<>,+=#!()'|{}[]?~`;%\\";
|
||||
+ "\t\r\n\"$&<>,=#!()'|{}[]?~`;%\\";
|
||||
|
||||
static gboolean
|
||||
gconf_address_valid (const char *address,
|
||||
@@ -0,0 +1,95 @@
|
||||
Fixes errors such as this in the rootfs generation:
|
||||
|
||||
(gconftool-2.real:10095): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
|
||||
Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
|
||||
|
||||
Upstream-Status: Backport
|
||||
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
||||
|
||||
From b0895e1998ebc83ab030ec0f17c0685439f5b404 Mon Sep 17 00:00:00 2001
|
||||
From: Ray Strode <rstrode@redhat.com>
|
||||
Date: Mon, 15 Apr 2013 09:57:34 -0400
|
||||
Subject: [PATCH] dbus: Don't spew to console when unable to connect to dbus
|
||||
daemon
|
||||
|
||||
Instead pass the error up for the caller to decide what to do.
|
||||
|
||||
This prevent untrappable warning messages from showing up at the
|
||||
console if gconftool --makefile-install-rule is called.
|
||||
---
|
||||
gconf/gconf-dbus.c | 24 ++++++++++++------------
|
||||
1 file changed, 12 insertions(+), 12 deletions(-)
|
||||
|
||||
diff --git a/gconf/gconf-dbus.c b/gconf/gconf-dbus.c
|
||||
index 5610fcf..048e3ea 100644
|
||||
--- a/gconf/gconf-dbus.c
|
||||
+++ b/gconf/gconf-dbus.c
|
||||
@@ -105,7 +105,7 @@ static GHashTable *engines_by_db = NULL;
|
||||
static GHashTable *engines_by_address = NULL;
|
||||
static gboolean dbus_disconnected = FALSE;
|
||||
|
||||
-static gboolean ensure_dbus_connection (void);
|
||||
+static gboolean ensure_dbus_connection (GError **error);
|
||||
static gboolean ensure_service (gboolean start_if_not_found,
|
||||
GError **err);
|
||||
static gboolean ensure_database (GConfEngine *conf,
|
||||
@@ -383,7 +383,7 @@ gconf_engine_detach (GConfEngine *conf)
|
||||
}
|
||||
|
||||
static gboolean
|
||||
-ensure_dbus_connection (void)
|
||||
+ensure_dbus_connection (GError **err)
|
||||
{
|
||||
DBusError error;
|
||||
|
||||
@@ -392,7 +392,9 @@ ensure_dbus_connection (void)
|
||||
|
||||
if (dbus_disconnected)
|
||||
{
|
||||
- g_warning ("The connection to DBus was broken. Can't reinitialize it.");
|
||||
+ g_set_error (err, GCONF_ERROR,
|
||||
+ GCONF_ERROR_NO_SERVER,
|
||||
+ "The connection to DBus was broken. Can't reinitialize it.");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
@@ -402,7 +404,10 @@ ensure_dbus_connection (void)
|
||||
|
||||
if (!global_conn)
|
||||
{
|
||||
- g_warning ("Client failed to connect to the D-BUS daemon:\n%s", error.message);
|
||||
+ g_set_error (err, GCONF_ERROR,
|
||||
+ GCONF_ERROR_NO_SERVER,
|
||||
+ "Client failed to connect to the D-BUS daemon:\n%s",
|
||||
+ error.message);
|
||||
|
||||
dbus_error_free (&error);
|
||||
return FALSE;
|
||||
@@ -431,13 +436,8 @@ ensure_service (gboolean start_if_not_found,
|
||||
|
||||
if (global_conn == NULL)
|
||||
{
|
||||
- if (!ensure_dbus_connection ())
|
||||
- {
|
||||
- g_set_error (err, GCONF_ERROR,
|
||||
- GCONF_ERROR_NO_SERVER,
|
||||
- _("No D-BUS daemon running\n"));
|
||||
- return FALSE;
|
||||
- }
|
||||
+ if (!ensure_dbus_connection (err))
|
||||
+ return FALSE;
|
||||
|
||||
g_assert (global_conn != NULL);
|
||||
}
|
||||
@@ -2512,7 +2512,7 @@ gconf_ping_daemon (void)
|
||||
{
|
||||
if (global_conn == NULL)
|
||||
{
|
||||
- if (!ensure_dbus_connection ())
|
||||
+ if (!ensure_dbus_connection (NULL))
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
--
|
||||
1.7.10.4
|
||||
|
||||
Reference in New Issue
Block a user