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

