diff --git a/gegl.changes b/gegl.changes index 0019a00..41f9396 100644 --- a/gegl.changes +++ b/gegl.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jul 19 07:40:24 UTC 2024 - Bernhard Wiedemann + +- Add normalize-gir.pl to strip details about build machines + to achive reproducible builds + ------------------------------------------------------------------- Thu Feb 22 01:59:19 UTC 2024 - Marcus Rueckert diff --git a/gegl.spec b/gegl.spec index cb5fafd..5a20cd9 100644 --- a/gegl.spec +++ b/gegl.spec @@ -33,6 +33,7 @@ License: GPL-3.0-or-later AND LGPL-3.0-or-later Group: Productivity/Graphics/Other URL: http://gegl.org/ Source0: https://download.gimp.org/pub/gegl/0.4/%{name}-%{version}.tar.xz +Source1: normalize-gir.pl Source99: baselibs.conf BuildRequires: ImageMagick @@ -186,6 +187,7 @@ export LD_PRELOAD="/usr/lib64/libgomp.so.1" %install %meson_install +perl -i %{SOURCE1} %{buildroot}%{_datadir}/gir-1.0/Gegl-0.4.gir find %{buildroot} -type f -name "*.la" -delete -print %find_lang %{name}-0.4 %{?no_lang_C} diff --git a/normalize-gir.pl b/normalize-gir.pl new file mode 100644 index 0000000..a198dfe --- /dev/null +++ b/normalize-gir.pl @@ -0,0 +1,20 @@ +#!/usr/bin/perl -w +# SPDX-License-Identifier: LGPL-3.0-or-later +# written by Bernhard M. Wiedemann in 2024 +# to normalize the .gir file values +# for reproducible builds of the gegl package +use strict; + +my $property = ""; +while(<>) { + if(m/