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



commit 0ae115290d68e1dcb290cc5f826fc26dd698b78a
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]