[libzapojit/tchaik/2-drop-intltool] build: Drop initial intltool support



commit 5a13e732daf08dc28db2133e3d0a1066f3e227bd
Author: Martin Blanchard <tchaik gmx com>
Date:   Mon Jul 8 21:59:46 2019 +0200

    build: Drop initial intltool support
    
    https://wiki.gnome.org/Initiatives/GnomeGoals/GettextMigration
    
    https://gitlab.gnome.org/GNOME/libzapojit/issues/2

 Makefile.am      | 15 +--------------
 autogen.sh       |  1 -
 configure.ac     | 12 ++----------
 po/LINGUAS       |  1 -
 po/POTFILES.in   |  2 --
 po/POTFILES.skip |  0
 6 files changed, 3 insertions(+), 28 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index d92d8a2..f2e2f6a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,12 +1,4 @@
-SUBDIRS = src docs po
-
-ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
-
-INTLTOOL_FILES = \
-       intltool-extract.in \
-       intltool-merge.in \
-       intltool-update.in \
-       $(NULL)
+SUBDIRS = src docs
 
 libzapojitdocdir = $(docdir)
 libzapojitdoc_DATA = \
@@ -23,7 +15,6 @@ libzapojitpkgconfig_DATA = \
        $(NULL)
 
 EXTRA_DIST = \
-       $(INTLTOOL_FILES) \
        $(libzapojitdoc_DATA) \
        $(NULL)
 
@@ -33,10 +24,6 @@ DISTCHECK_CONFIGURE_FLAGS = \
        $(NULL)
 
 DISTCLEANFILES = \
-       intltool-extract \
-       intltool-merge \
-       intltool-update \
-       po/.intltool-merge-cache \
        $(NULL)
 
 MAINTAINERCLEANFILES = \
diff --git a/autogen.sh b/autogen.sh
index fd35663..9d394bf 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -24,7 +24,6 @@ fi
 
 aclocal --install || exit 1
 gtkdocize --copy || exit 1
-intltoolize --force --copy --automake || exit 1
 autoreconf --verbose --force --install || exit 1
 
 cd "$olddir"
diff --git a/configure.ac b/configure.ac
index cadeb45..697ff1e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,13 +26,6 @@ SOUP_MIN_VERSION=2.38
 
 GOBJECT_INTROSPECTION_CHECK([1.30.0])
 
-IT_PROG_INTLTOOL([0.35.0])
-
-GETTEXT_PACKAGE=AC_PACKAGE_TARNAME
-AC_SUBST(GETTEXT_PACKAGE)
-AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"],
-                   [GETTEXT package name])
-
 LT_INIT
 
 GTK_DOC_CHECK([1.11],[--flavour no-tmpl])
@@ -56,7 +49,6 @@ Makefile
 docs/Makefile
 docs/reference/Makefile
 docs/reference/version.xml
-src/Makefile
-po/Makefile.in
-])
+src/Makefile])
+
 AC_OUTPUT


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]