added my Recipes
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
From f231cecc151930fd5b6309da317a8c5bc6001f38 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
|
||||
Date: Sat, 30 Oct 2021 15:10:28 +0200
|
||||
Subject: [PATCH] Add W_EXITCODE macro for non-glibc systems
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
|
||||
---
|
||||
src/terminal.cc | 5 +++++
|
||||
1 file changed, 5 insertions(+)
|
||||
|
||||
diff --git a/src/terminal.cc b/src/terminal.cc
|
||||
index 27ee91e..5f4d880 100644
|
||||
--- a/src/terminal.cc
|
||||
+++ b/src/terminal.cc
|
||||
@@ -47,6 +47,11 @@
|
||||
GS_DEFINE_CLEANUP_FUNCTION0(TerminalOptions*, gs_local_options_free, terminal_options_free)
|
||||
#define gs_free_options __attribute__ ((cleanup(gs_local_options_free)))
|
||||
|
||||
+/* fix for musl */
|
||||
+#ifndef W_EXITCODE
|
||||
+#define W_EXITCODE(ret, sig) ((ret) << 8 | (sig))
|
||||
+#endif
|
||||
+
|
||||
/* Wait-for-exit helper */
|
||||
|
||||
typedef struct {
|
||||
--
|
||||
2.31.1
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
From f88447850e162c8d514be367db574c6fa2fec2a5 Mon Sep 17 00:00:00 2001
|
||||
From: Christian Persch <chpe@src.gnome.org>
|
||||
Date: Fri, 14 Jan 2022 11:33:32 +0100
|
||||
Subject: [PATCH] build: Fix for newer meson
|
||||
|
||||
Upstream-Status: Backport
|
||||
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
|
||||
---
|
||||
data/meson.build | 5 +----
|
||||
1 file changed, 1 insertion(+), 4 deletions(-)
|
||||
|
||||
diff --git a/data/meson.build b/data/meson.build
|
||||
index 79d97e5..e0bcbb9 100644
|
||||
--- a/data/meson.build
|
||||
+++ b/data/meson.build
|
||||
@@ -18,7 +18,6 @@
|
||||
metainfodir = gt_datadir / 'metainfo'
|
||||
|
||||
i18n.merge_file(
|
||||
- gt_dns_name + '.metainfo.xml',
|
||||
input: gt_dns_name + '.metainfo.xml.in',
|
||||
output: '@BASENAME@',
|
||||
po_dir: po_dir,
|
||||
@@ -27,7 +26,6 @@ i18n.merge_file(
|
||||
)
|
||||
|
||||
i18n.merge_file(
|
||||
- gt_dns_name + '.Nautilus.metainfo.xml',
|
||||
input: gt_dns_name + '.Nautilus.metainfo.xml.in',
|
||||
output: '@BASENAME@',
|
||||
po_dir: po_dir,
|
||||
@@ -40,7 +38,6 @@ i18n.merge_file(
|
||||
desktopdatadir = gt_datadir / 'applications'
|
||||
|
||||
i18n.merge_file(
|
||||
- gt_dns_name + '.desktop',
|
||||
input: gt_dns_name + '.desktop.in',
|
||||
output: '@BASENAME@',
|
||||
type: 'desktop',
|
||||
@@ -57,4 +54,4 @@ meson.add_install_script(
|
||||
|
||||
# Subdirs
|
||||
|
||||
-subdir('icons')
|
||||
\ No newline at end of file
|
||||
+subdir('icons')
|
||||
@@ -0,0 +1,38 @@
|
||||
SUMMARY = "GNOME terminal"
|
||||
LICENSE = "GPL-3.0-only & GFDL-1.3"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \
|
||||
file://COPYING.GFDL;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
"
|
||||
|
||||
GNOMEBASEBUILDCLASS = "meson"
|
||||
|
||||
inherit pkgconfig meson gsettings gnome-help gettext itstool upstream-version-is-even
|
||||
|
||||
DEPENDS = " \
|
||||
glib-2.0 \
|
||||
docbook-xsl-stylesheets-native libxslt-native \
|
||||
desktop-file-utils-native \
|
||||
gtk+3 \
|
||||
gsettings-desktop-schemas \
|
||||
vte \
|
||||
dconf \
|
||||
libpcre2 \
|
||||
"
|
||||
|
||||
SRC_URI = "git://gitlab.gnome.org/GNOME/gnome-terminal.git;protocol=https;nobranch=1"
|
||||
SRC_URI += "file://0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch"
|
||||
SRCREV = "a85ecc959344ee2e0d345f7dd081dc781d95d364"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
PACKAGECONFIG ?= ""
|
||||
PACKAGECONFIG[nautilus] = "-Dnautilus_extension=true,-Dnautilus_extension=false,nautilus,nautilus"
|
||||
PACKAGECONFIG[search_provider] = "-Dsearch_provider=true,-Dsearch_provider=false,,gnome-shell"
|
||||
|
||||
FILES:${PN} += " \
|
||||
${datadir} \
|
||||
${libdir}/nautilus/extensions-4 \
|
||||
${systemd_user_unitdir} \
|
||||
"
|
||||
|
||||
RRECOMMENDS:${PN} += "vte-prompt gsettings-desktop-schemas"
|
||||
Reference in New Issue
Block a user