added my Recipes
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
From 4ec1f99f170033138036d6547dce9b7dcf541338 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Wed, 24 May 2023 07:56:33 -0700
|
||||
Subject: [PATCH] Replace filename with basename
|
||||
|
||||
This avoids emitting absolute paths into generated sourcecode, it
|
||||
improves reproducibility. See [1]
|
||||
|
||||
[1] https://developer-old.gnome.org/gobject/stable/glib-mkenums.html
|
||||
|
||||
Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/nautilus/-/merge_requests/1211]
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
src/nautilus-enum-types.c.template | 2 +-
|
||||
src/nautilus-enum-types.h.template | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/nautilus-enum-types.c.template b/src/nautilus-enum-types.c.template
|
||||
index 9d8ac83..a757949 100644
|
||||
--- a/src/nautilus-enum-types.c.template
|
||||
+++ b/src/nautilus-enum-types.c.template
|
||||
@@ -4,7 +4,7 @@
|
||||
/*** END file-header ***/
|
||||
|
||||
/*** BEGIN file-production ***/
|
||||
-/* Enumerations from "@filename@" */
|
||||
+/* Enumerations from "@basename@" */
|
||||
#include "@filename@"
|
||||
|
||||
/*** END file-production ***/
|
||||
diff --git a/src/nautilus-enum-types.h.template b/src/nautilus-enum-types.h.template
|
||||
index 399bbca..7eb6c54 100644
|
||||
--- a/src/nautilus-enum-types.h.template
|
||||
+++ b/src/nautilus-enum-types.h.template
|
||||
@@ -8,7 +8,7 @@ G_BEGIN_DECLS
|
||||
/*** END file-header ***/
|
||||
|
||||
/*** BEGIN file-production ***/
|
||||
-/* Enumerations from "@filename@" */
|
||||
+/* Enumerations from "@basename@" */
|
||||
|
||||
/*** END file-production ***/
|
||||
|
||||
--
|
||||
2.40.1
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
SUMMARY = "File manager for GNOME"
|
||||
SECTION = "x11/gnome"
|
||||
|
||||
LICENSE="GPL-3.0-only"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504"
|
||||
|
||||
GNOMEBASEBUILDCLASS = "meson"
|
||||
|
||||
DEPENDS = " \
|
||||
appstream-glib-native \
|
||||
desktop-file-utils-native \
|
||||
glib-2.0 \
|
||||
gnome-autoar \
|
||||
gnome-desktop \
|
||||
gtk4 \
|
||||
libadwaita \
|
||||
libcloudproviders \
|
||||
libhandy \
|
||||
libportal \
|
||||
libxml2 \
|
||||
tracker \
|
||||
"
|
||||
|
||||
inherit gnomebase gsettings gobject-introspection gtk-doc gettext features_check mime-xdg gtk-icon-cache
|
||||
|
||||
def gnome_verdir(v):
|
||||
return oe.utils.trim_version(v, 1)
|
||||
|
||||
SRC_URI += "file://0001-Replace-filename-with-basename.patch"
|
||||
SRC_URI[archive.sha256sum] = "360802a595e3edbad962c8cea353b62baa8be407513b5162c89c933ca5387aa9"
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "x11 opengl"
|
||||
|
||||
EXTRA_OEMESON += " \
|
||||
-Dtests=none \
|
||||
"
|
||||
|
||||
PACKAGECONFIG = "extensions"
|
||||
PACKAGECONFIG[extensions] = "-Dextensions=true,-Dextensions=false, gexiv2 gstreamer1.0-plugins-base gdk-pixbuf"
|
||||
PACKAGECONFIG[packagekit] = "-Dpackagekit=true,-Dpackagekit=false,packagekit"
|
||||
|
||||
FILES:${PN} += " \
|
||||
${datadir}/dbus-1 \
|
||||
${datadir}/metainfo \
|
||||
${datadir}/gnome-shell \
|
||||
${datadir}/tracker3 \
|
||||
"
|
||||
|
||||
# mandatory - not checked during configuration:
|
||||
# | (org.gnome.Nautilus:863): GLib-GIO-ERROR **: 21:03:52.326: Settings schema 'org.freedesktop.Tracker.Miner.Files' is not installed
|
||||
RDEPENDS:${PN} += "tracker-miners bubblewrap"
|
||||
Reference in New Issue
Block a user