[librsvg: 2/3] Drop i18n suppport from the build system




commit 348e35b3de0c30cfe8cce50481f00c59cace286f
Author: Sven Neumann <sven svenfoo org>
Date:   Thu Feb 4 12:52:29 2021 +0100

    Drop i18n suppport from the build system
    
    May need some more cleanup for Win32, but I'll leave that to someone
    who can actually test the changes.

 .gitignore     |  13 -------
 COMPILING.md   |  13 +++----
 Makefile.am    |   2 +-
 configure.ac   |  13 -------
 po/LINGUAS     |   4 ---
 po/Makevars    |  78 ------------------------------------------
 po/POTFILES.in |  85 ---------------------------------------------
 po/es.po       | 106 ---------------------------------------------------------
 po/librsvg.pot | 105 --------------------------------------------------------
 9 files changed, 6 insertions(+), 413 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a0833030..0849d20b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,7 +2,6 @@
 ChangeLog
 Makefile
 Makefile.in
-ABOUT-NLS
 TAGS
 aclocal.m4
 autom4te.cache
@@ -71,18 +70,6 @@ m4/nls.m4
 m4/pkg.m4
 m4/po.m4
 m4/progtest.m4
-po/Makefile.in.in
-po/Makevars.template
-po/POTFILES
-po/Rules-quot
-po/boldquot.sed
-po/en@boldquot.header
-po/en@quot.header
-po/insert-header.sin
-po/quot.sed
-po/remove-potcdate.sin
-po/stamp-po
-po/*.gmo
 target/
 tests/api
 tests/rsvg-test
diff --git a/COMPILING.md b/COMPILING.md
index 3e6b5ef6..a405fa51 100644
--- a/COMPILING.md
+++ b/COMPILING.md
@@ -58,9 +58,8 @@ As of 2018/Feb/22, librsvg cannot be built in `debian stable` and
 
 ```sh
 apt-get install -y gcc make rustc cargo \
-automake autoconf libtool gettext itstool \
+automake autoconf libtool gtk-doc-tools git \
 libgdk-pixbuf2.0-dev libgirepository1.0-dev \
-gtk-doc-tools git \
 libxml2-dev libcairo2-dev libpango1.0-dev
 ```
 
@@ -74,9 +73,8 @@ PATH="$PATH:/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0"
 
 ```sh
 dnf install -y gcc rust rust-std-static cargo make \
-automake autoconf libtool gettext itstool \
+automake autoconf libtool gtk-doc git redhat-rpm-config \
 gdk-pixbuf2-devel gobject-introspection-devel \
-gtk-doc git redhat-rpm-config gettext-devel \
 libxml2-devel cairo-devel pango-devel
 ```
 
@@ -84,10 +82,9 @@ libxml2-devel cairo-devel pango-devel
 
 ```sh
 zypper install -y gcc rust rust-std cargo make \
-automake autoconf libtool gettext itstool git \
-gtk-doc gobject-introspection-devel \
-libxml2-devel cairo-devel \
-pango-devel gdk-pixbuf-devel
+automake autoconf libtool gtk-doc git \
+gdk-pixbuf-devel gobject-introspection-devel \
+libxml2-devel cairo-devel pango-devel 
 ```
 
 ### macOS systems
diff --git a/Makefile.am b/Makefile.am
index 15c39266..a4f50489 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = . gdk-pixbuf-loader tests doc win32 po
+SUBDIRS = . gdk-pixbuf-loader tests doc win32
 
 NULL =
 
diff --git a/configure.ac b/configure.ac
index 0c84a34e..eee5d77c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -54,18 +54,6 @@ AC_SUBST([LIBRSVG_MAJOR_VERSION],[rsvg_major_version])
 AC_SUBST([LIBRSVG_MINOR_VERSION],[rsvg_minor_version])
 AC_SUBST([LIBRSVG_MICRO_VERSION],[rsvg_micro_version])
 
-dnl ===========================================================================
-dnl Gettext stuff
-dnl ===========================================================================
-
-# FIXME: Remove AM_GNU_GETTEXT_VERSION once autoreconf supports REQUIRE_VERSION
-AM_GNU_GETTEXT_VERSION([0.19.8])
-AM_GNU_GETTEXT_REQUIRE_VERSION([0.19.8])
-AM_GNU_GETTEXT([external])
-
-AC_SUBST([GETTEXT_PACKAGE], [librsvg])
-AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], "$GETTEXT_PACKAGE", [Define to the gettext package name.])
-
 dnl ===========================================================================
 dnl Please update COMPILING.md with version numbers if these change
 CAIRO_REQUIRED=1.16.0
@@ -391,7 +379,6 @@ doc/version.xml
 win32/Makefile
 win32/config.h.win32
 win32/config-msvc.mak
-po/Makefile.in
 ])
 
 AC_CONFIG_FILES([librsvg-${RSVG_API_VERSION}.pc:librsvg.pc.in],[],[RSVG_API_VERSION=$RSVG_API_VERSION])


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