summaryrefslogtreecommitdiffstats
path: root/meta-gnome
diff options
context:
space:
mode:
Diffstat (limited to 'meta-gnome')
-rw-r--r--meta-gnome/recipes-gnome/nautilus/nautilus/0001-Replace-filename-with-basename.patch46
-rw-r--r--meta-gnome/recipes-gnome/nautilus/nautilus_45.0.bb (renamed from meta-gnome/recipes-gnome/nautilus/nautilus_44.2.1.bb)10
2 files changed, 5 insertions, 51 deletions
diff --git a/meta-gnome/recipes-gnome/nautilus/nautilus/0001-Replace-filename-with-basename.patch b/meta-gnome/recipes-gnome/nautilus/nautilus/0001-Replace-filename-with-basename.patch
deleted file mode 100644
index dbf42a9ab..000000000
--- a/meta-gnome/recipes-gnome/nautilus/nautilus/0001-Replace-filename-with-basename.patch
+++ /dev/null
@@ -1,46 +0,0 @@
1From 4ec1f99f170033138036d6547dce9b7dcf541338 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 24 May 2023 07:56:33 -0700
4Subject: [PATCH] Replace filename with basename
5
6This avoids emitting absolute paths into generated sourcecode, it
7improves reproducibility. See [1]
8
9[1] https://developer-old.gnome.org/gobject/stable/glib-mkenums.html
10
11Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/nautilus/-/merge_requests/1211]
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13---
14 src/nautilus-enum-types.c.template | 2 +-
15 src/nautilus-enum-types.h.template | 2 +-
16 2 files changed, 2 insertions(+), 2 deletions(-)
17
18diff --git a/src/nautilus-enum-types.c.template b/src/nautilus-enum-types.c.template
19index 9d8ac83..a757949 100644
20--- a/src/nautilus-enum-types.c.template
21+++ b/src/nautilus-enum-types.c.template
22@@ -4,7 +4,7 @@
23 /*** END file-header ***/
24
25 /*** BEGIN file-production ***/
26-/* Enumerations from "@filename@" */
27+/* Enumerations from "@basename@" */
28 #include "@filename@"
29
30 /*** END file-production ***/
31diff --git a/src/nautilus-enum-types.h.template b/src/nautilus-enum-types.h.template
32index 399bbca..7eb6c54 100644
33--- a/src/nautilus-enum-types.h.template
34+++ b/src/nautilus-enum-types.h.template
35@@ -8,7 +8,7 @@ G_BEGIN_DECLS
36 /*** END file-header ***/
37
38 /*** BEGIN file-production ***/
39-/* Enumerations from "@filename@" */
40+/* Enumerations from "@basename@" */
41
42 /*** END file-production ***/
43
44--
452.40.1
46
diff --git a/meta-gnome/recipes-gnome/nautilus/nautilus_44.2.1.bb b/meta-gnome/recipes-gnome/nautilus/nautilus_45.0.bb
index f181822b1..a083d1799 100644
--- a/meta-gnome/recipes-gnome/nautilus/nautilus_44.2.1.bb
+++ b/meta-gnome/recipes-gnome/nautilus/nautilus_45.0.bb
@@ -23,11 +23,7 @@ DEPENDS = " \
23 23
24inherit gnomebase gsettings gobject-introspection gi-docgen gettext features_check mime-xdg gtk-icon-cache 24inherit gnomebase gsettings gobject-introspection gi-docgen gettext features_check mime-xdg gtk-icon-cache
25 25
26def gnome_verdir(v): 26SRC_URI[archive.sha256sum] = "b311c465ce2ca7bc648f61b865187b4451388dec9358a169f3277e741718ab5d"
27 return oe.utils.trim_version(v, 1)
28
29SRC_URI += "file://0001-Replace-filename-with-basename.patch"
30SRC_URI[archive.sha256sum] = "d9c62f024727f7a76fc6a5da788a2b0247df01a71c2a601143c62aac0ff41e4c"
31 27
32REQUIRED_DISTRO_FEATURES = "x11 opengl gobject-introspection-data" 28REQUIRED_DISTRO_FEATURES = "x11 opengl gobject-introspection-data"
33 29
@@ -43,6 +39,10 @@ PACKAGECONFIG = "extensions"
43PACKAGECONFIG[extensions] = "-Dextensions=true,-Dextensions=false, gexiv2 gstreamer1.0-plugins-base gdk-pixbuf" 39PACKAGECONFIG[extensions] = "-Dextensions=true,-Dextensions=false, gexiv2 gstreamer1.0-plugins-base gdk-pixbuf"
44PACKAGECONFIG[packagekit] = "-Dpackagekit=true,-Dpackagekit=false,packagekit" 40PACKAGECONFIG[packagekit] = "-Dpackagekit=true,-Dpackagekit=false,packagekit"
45 41
42do_install:prepend() {
43 sed -i -e 's|${B}/||g' ${B}/src/nautilus-enum-types.c
44}
45
46FILES:${PN} += " \ 46FILES:${PN} += " \
47 ${datadir}/dbus-1 \ 47 ${datadir}/dbus-1 \
48 ${datadir}/metainfo \ 48 ${datadir}/metainfo \