Skip to content

Commit

Permalink
LinGui: use gettext instead of intltool
Browse files Browse the repository at this point in the history
gettext can do the whole translation parsing job now and intltool is
deprecated.  it is not available in flatpak's gnome sdk
  • Loading branch information
jstebbins committed Sep 14, 2019
1 parent 9562e63 commit 8a61da6
Show file tree
Hide file tree
Showing 15 changed files with 3,918 additions and 16 deletions.
2 changes: 2 additions & 0 deletions gtk/Makefile.am
Expand Up @@ -15,3 +15,5 @@ dist-hook:
fi \
done


ACLOCAL_AMFLAGS = -I m4
23 changes: 13 additions & 10 deletions gtk/configure.ac
@@ -1,10 +1,9 @@
dnl Process this file with autoconf to produce a configure script.
dnl Created by Anjuta application wizard.

AC_INIT(ghb, 0.1)
AC_INIT([ghb], [0.1])
AM_INIT_AUTOMAKE([-Wall 1.7.9 foreign dist-bzip2 dist-zip])

AM_INIT_AUTOMAKE([1.7.9 foreign dist-bzip2 dist-zip])
AM_CONFIG_HEADER(config.h)
AM_MAINTAINER_MODE

AC_USE_SYSTEM_EXTENSIONS
Expand All @@ -14,6 +13,16 @@ AC_PROG_CXX(g++ clang++)
AM_PROG_CC_STDC
AC_HEADER_STDC

AM_CONFIG_HEADER([config.h])
AC_CONFIG_FILES([
po/Makefile.in
Makefile
src/Makefile
])

AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION([0.19.8])

if test x"$CC_FOR_BUILD" = x; then
if test x"$cross_compiling" = x"yes"; then
AC_CHECK_PROGS(CC_FOR_BUILD, gcc clang, cc)
Expand Down Expand Up @@ -105,8 +114,6 @@ dnl ***************************************************************************
GETTEXT_PACKAGE=ghb
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name])
AM_GLIB_GNU_GETTEXT
IT_PROG_INTLTOOL([0.35.0])

AM_PROG_LIBTOOL

Expand Down Expand Up @@ -252,8 +259,4 @@ AC_SUBST(HB_LIBS)
AC_SUBST(GHB_CFLAGS)
AC_SUBST(GHB_LIBS)

AC_OUTPUT([
Makefile
src/Makefile
po/Makefile.in
])
AC_OUTPUT

0 comments on commit 8a61da6

Please sign in to comment.