[gtk/gtk-3-24-meson: 76/99] meson: mkenums: only write basenames in the comments



commit 2eb3cd1ebc8a3f70c530ac421d71685cd64a5b90
Author: Christoph Reiter <creiter src gnome org>
Date:   Sat Mar 30 08:49:11 2019 +0100

    meson: mkenums: only write basenames in the comments
    
    The autotools build uses relative filenames here while with meson
    we get absolute paths. Switch to basename so we get the same result
    for both and don't break reproducible builds with absolute paths
    in public headers.

 gdk/gdkenumtypes.h.template    | 2 +-
 gtk/gtktypebuiltins.h.template | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk/gdkenumtypes.h.template b/gdk/gdkenumtypes.h.template
index 0bc4a71033..d6f62480bc 100644
--- a/gdk/gdkenumtypes.h.template
+++ b/gdk/gdkenumtypes.h.template
@@ -14,7 +14,7 @@ G_BEGIN_DECLS
 
 /*** BEGIN file-production ***/
 
-/* enumerations from "@filename@" */
+/* enumerations from "@basename@" */
 /*** END file-production ***/
 
 /*** BEGIN value-header ***/
diff --git a/gtk/gtktypebuiltins.h.template b/gtk/gtktypebuiltins.h.template
index 6a2c32013c..3dc9f834bf 100644
--- a/gtk/gtktypebuiltins.h.template
+++ b/gtk/gtktypebuiltins.h.template
@@ -14,7 +14,7 @@ G_BEGIN_DECLS
 
 /*** BEGIN file-production ***/
 
-/* enumerations from "@filename@" */
+/* enumerations from "@basename@" */
 /*** END file-production ***/
 
 /*** BEGIN value-header ***/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]