Add patch to set a serial number in gtk-3.0.m4

d/p/m4macros-Set-a-serial-number.patch: Add patch from upstream to give
gtk-3.0.m4 a serial number so that it will override older copies bundled
with other packages, typically in the m4 directory.

This is the GTK+ 3 version of #895018.
This commit is contained in:
Simon McVittie 2018-06-26 10:27:35 +01:00
parent 63887f58b4
commit 5c5a07f595
3 changed files with 42 additions and 0 deletions

7
debian/changelog vendored
View File

@ -1,7 +1,14 @@
gtk+3.0 (3.22.30-2) UNRELEASED; urgency=medium
[ Jeremy Bicha ]
* Bump minimum wayland-protocols to 1.12
[ Simon McVittie ]
* d/p/m4macros-Set-a-serial-number.patch:
Add patch from upstream to give gtk-3.0.m4 a serial number so that
it will override older copies bundled with other packages, typically
in the m4 directory (GTK+ 3 version of #895018)
-- Jeremy Bicha <jbicha@debian.org> Mon, 16 Apr 2018 21:04:30 -0400
gtk+3.0 (3.22.30-1) unstable; urgency=medium

View File

@ -0,0 +1,34 @@
From: Simon McVittie <smcv@debian.org>
Date: Fri, 6 Apr 2018 11:29:17 +0100
Subject: m4macros: Set a serial number
When a project has a bundled copy of our macro included in tarball
source releases, typically in a m4/ or aclocal/ directory, aclocal
uses the serial number to determine whether the system copy in
/usr/share/aclocal is newer or older than the bundled copy. Without
a serial number, the bundled copy will always be used and will not
be overwritten, even if it is outdated.
Signed-off-by: Simon McVittie <smcv@debian.org>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895018
Forwarded: https://gitlab.gnome.org/GNOME/gtk/merge_requests/103
Applied-upstream: 3.22.31, commit:16a6c39a9bbb0f3fa209662776f2b74e7175a4b8
---
m4macros/gtk-3.0.m4 | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/m4macros/gtk-3.0.m4 b/m4macros/gtk-3.0.m4
index 799c7be..983913a 100644
--- a/m4macros/gtk-3.0.m4
+++ b/m4macros/gtk-3.0.m4
@@ -1,6 +1,10 @@
# Configure paths for GTK+
# Owen Taylor 1997-2001
+# Version number used by aclocal, see `info automake Serials`.
+# Increment on every change.
+#serial 1
+
dnl AM_PATH_GTK_3_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
dnl Test for GTK+, and define GTK_CFLAGS and GTK_LIBS, if gthread is specified in MODULES,
dnl pass to pkg-config

View File

@ -1,3 +1,4 @@
m4macros-Set-a-serial-number.patch
016_no_offscreen_widgets_grabbing.patch
017_no_offscreen_device_grabbing.patch
018_gdkenumtypes.c_location.patch