tags 829781 + patch
thanks

Here is a trivial patch fixing this bug; it applies on top of the
patches from #765214 and #868422.
>From 41d6614cd65587a222e8dea1ed7583e4daa109dc Mon Sep 17 00:00:00 2001
From: Yavor Doganov <[email protected]>
Date: Sat, 13 Oct 2018 12:20:53 +0300
Subject: [PATCH 5/5] Remove deprecated gnome-common macros (#829781)

Replace gnome-common B-D with autoconf-archive.
---
 configure.in    | 4 ++--
 debian/control  | 2 +-
 src/Makefile.am | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/configure.in b/configure.in
index ea611ec..b75a160 100644
--- a/configure.in
+++ b/configure.in
@@ -17,7 +17,6 @@ AM_PROG_LIBTOOL
 AC_PROG_MAKE_SET
 AC_PROG_INTLTOOL([0.50.1])
 
-GNOME_COMMON_INIT
 dnl GNOME_PLATFORM_GNOME_2(yes, force)
 PKG_CHECK_MODULES(GJITEN, gtk+-2.0 >= 2.14 gmodule-export-2.0)
 GLIB_GSETTINGS
@@ -35,7 +34,8 @@ AC_FUNC_MMAP
 AC_FUNC_STAT
 AC_CHECK_FUNCS([getcwd putenv setlocale strerror strrchr strstr munmap])
 
-GNOME_COMPILE_WARNINGS(maximum)
+AX_IS_RELEASE([always])
+AX_COMPILER_FLAGS
 
 # Gettext stuff
 GETTEXT_PACKAGE=gjiten
diff --git a/debian/control b/debian/control
index e107d31..23630dc 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: gnome
 Priority: optional
 Maintainer: Botond Botyanszki <[email protected]>
 Uploaders: Ludovic Drolez <[email protected]>
-Build-Depends: cdbs, debhelper (>= 10), intltool, libgtk2.0-dev, gnome-common, 
scrollkeeper, libxml-parser-perl, libgnutls28-dev, docbook-utils, xmlto
+Build-Depends: cdbs, debhelper (>= 10), autoconf-archive, intltool, 
libgtk2.0-dev, scrollkeeper, libxml-parser-perl, libgnutls28-dev, 
docbook-utils, xmlto
 Standards-Version: 3.9.8
 
 Package: gjiten
diff --git a/src/Makefile.am b/src/Makefile.am
index ddb2df6..4773f90 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -20,5 +20,5 @@ radical_convtable: radical-convtable.txt
 
 EXTRA_DIST = convtable.pl radical-convtable.txt
 
-gjiten_CFLAGS = $(GJITEN_CFLAGS) -Wall -Wunused @DEBUG_FLAGS@
+gjiten_CFLAGS = $(GJITEN_CFLAGS) -Wall -Wunused @DEBUG_FLAGS@ @WARN_CFLAGS@
 gjiten_LDADD = $(GJITEN_LIBS)
-- 
2.19.1

Reply via email to