diff options
author | Chris Lamb <lamby@debian.org> | 2018-09-09 07:51:23 -0400 |
---|---|---|
committer | Jeremy Bicha <jbicha@ubuntu.com> | 2018-09-09 07:57:40 -0400 |
commit | 7e4d50aab9e25ff32e09c406a6fc09d7ff137f57 (patch) | |
tree | c7f1dc87feb848d32efd99047cd3729b0b1db75f /gdk-pixbuf | |
parent | 36939ecb02a8855b0ee1ae183fc284389ee54a9d (diff) | |
download | gdk-pixbuf-7e4d50aab9e25ff32e09c406a6fc09d7ff137f57.tar.gz |
Use @basename@ instead of @filename@ for reproducible builds
Whilst working on the Reproducible Builds effort [0], we noticed [1]
that gdk-pixbuf could not be built reproducibly as it includes the
absolute build path.
The glib-mkenums documentation recommends using @basename@ over
@filename@ for this reason [2].
[0] https://reproducible-builds.org/
[1] https://bugs.debian.org/908309
[2] https://developer.gnome.org/gobject/stable/glib-mkenums.html#id-1.5.2.5.4
Diffstat (limited to 'gdk-pixbuf')
-rw-r--r-- | gdk-pixbuf/gdk-pixbuf-enum-types.c.template | 2 | ||||
-rw-r--r-- | gdk-pixbuf/gdk-pixbuf-enum-types.h.template | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-enum-types.c.template b/gdk-pixbuf/gdk-pixbuf-enum-types.c.template index f79e8b7a9..a4252f336 100644 --- a/gdk-pixbuf/gdk-pixbuf-enum-types.c.template +++ b/gdk-pixbuf/gdk-pixbuf-enum-types.c.template @@ -6,7 +6,7 @@ /*** END file-header ***/ /*** BEGIN file-production ***/ -/* enumerations from "@filename@" */ +/* enumerations from "@basename@" */ /*** END file-production ***/ /*** BEGIN value-header ***/ diff --git a/gdk-pixbuf/gdk-pixbuf-enum-types.h.template b/gdk-pixbuf/gdk-pixbuf-enum-types.h.template index 8dad58f2b..f4e47963b 100644 --- a/gdk-pixbuf/gdk-pixbuf-enum-types.h.template +++ b/gdk-pixbuf/gdk-pixbuf-enum-types.h.template @@ -15,7 +15,7 @@ G_BEGIN_DECLS /*** BEGIN file-production ***/ -/* enumerations from "@filename@" */ +/* enumerations from "@basename@" */ /*** END file-production ***/ /*** BEGIN value-header ***/ |