diff options
author | Sven Neumann <sven@svenfoo.org> | 2021-02-04 12:52:29 +0100 |
---|---|---|
committer | Sven Neumann <sven@svenfoo.org> | 2021-02-04 12:52:29 +0100 |
commit | 348e35b3de0c30cfe8cce50481f00c59cace286f (patch) | |
tree | 86bcf5f90fe9c14b53c126d403ea21a3364da220 | |
parent | ac0de0583619b432e3aaaff97b31e64aeaa7d22e (diff) | |
download | librsvg-348e35b3de0c30cfe8cce50481f00c59cace286f.tar.gz |
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.
-rw-r--r-- | .gitignore | 13 | ||||
-rw-r--r-- | COMPILING.md | 13 | ||||
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | configure.ac | 13 | ||||
-rw-r--r-- | po/LINGUAS | 4 | ||||
-rw-r--r-- | po/Makevars | 78 | ||||
-rw-r--r-- | po/POTFILES.in | 85 | ||||
-rw-r--r-- | po/es.po | 106 | ||||
-rw-r--r-- | po/librsvg.pot | 105 |
9 files changed, 6 insertions, 413 deletions
@@ -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 @@ -55,18 +55,6 @@ 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 dnl This corresponds to Freetype2 2.8 @@ -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]) diff --git a/po/LINGUAS b/po/LINGUAS deleted file mode 100644 index fabc6fc3..00000000 --- a/po/LINGUAS +++ /dev/null @@ -1,4 +0,0 @@ -# -# librsvg translations -# please keep this list sorted alphabetically -es diff --git a/po/Makevars b/po/Makevars deleted file mode 100644 index a2c6e0c5..00000000 --- a/po/Makevars +++ /dev/null @@ -1,78 +0,0 @@ -# Makefile variables for PO directory in any package using GNU gettext. - -# Usually the message domain is the same as the package name. -DOMAIN = $(PACKAGE) - -# These two variables depend on the location of this directory. -subdir = po -top_builddir = .. - -# These options get passed to xgettext. -XGETTEXT_OPTIONS = --from-code=UTF-8 --keyword=_ --keyword=N_ --keyword=C_:1c,2 --keyword=NC_:1c,2 --keyword=g_dngettext:2,3 --keyword=Description --add-comments - -# This is the copyright holder that gets inserted into the header of the -# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding -# package. (Note that the msgstr strings, extracted from the package's -# sources, belong to the copyright holder of the package.) Translators are -# expected to transfer the copyright for their translations to this person -# or entity, or to disclaim their copyright. The empty string stands for -# the public domain; in this case the translators are expected to disclaim -# their copyright. -COPYRIGHT_HOLDER = The librsvg authors - -# This tells whether or not to prepend "GNU " prefix to the package -# name that gets inserted into the header of the $(DOMAIN).pot file. -# Possible values are "yes", "no", or empty. If it is empty, try to -# detect it automatically by scanning the files in $(top_srcdir) for -# "GNU packagename" string. -PACKAGE_GNU = - -# This is the email address or URL to which the translators shall report -# bugs in the untranslated strings: -# - Strings which are not entire sentences, see the maintainer guidelines -# in the GNU gettext documentation, section 'Preparing Strings'. -# - Strings which use unclear terms or require additional context to be -# understood. -# - Strings which make invalid assumptions about notation of date, time or -# money. -# - Pluralisation problems. -# - Incorrect English spelling. -# - Incorrect formatting. -# It can be your email address, or a mailing list address where translators -# can write to without being subscribed, or the URL of a web page through -# which the translators can contact you. -MSGID_BUGS_ADDRESS = https://gitlab.gnome.org/GNOME/librsvg/issues - -# This is the list of locale categories, beyond LC_MESSAGES, for which the -# message catalogs shall be used. It is usually empty. -EXTRA_LOCALE_CATEGORIES = - -# This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt' -# context. Possible values are "yes" and "no". Set this to yes if the -# package uses functions taking also a message context, like pgettext(), or -# if in $(XGETTEXT_OPTIONS) you define keywords with a context argument. -USE_MSGCTXT = yes - -# These options get passed to msgmerge. -# Useful options are in particular: -# --previous to keep previous msgids of translated messages, -# --quiet to reduce the verbosity. -MSGMERGE_OPTIONS = - -# These options get passed to msginit. -# If you want to disable line wrapping when writing PO files, add -# --no-wrap to MSGMERGE_OPTIONS, XGETTEXT_OPTIONS, and -# MSGINIT_OPTIONS. -MSGINIT_OPTIONS = - -# This tells whether or not to regenerate a PO file when $(DOMAIN).pot -# has changed. Possible values are "yes" and "no". Set this to no if -# the POT file is checked in the repository and the version control -# program ignores timestamps. -PO_DEPENDS_ON_POT = no - -# This tells whether or not to forcibly update $(DOMAIN).pot and -# regenerate PO files on "make dist". Possible values are "yes" and -# "no". Set this to no if the POT file and PO files are maintained -# externally. -DIST_DEPENDS_ON_UPDATE_PO = no diff --git a/po/POTFILES.in b/po/POTFILES.in deleted file mode 100644 index 0eec6d32..00000000 --- a/po/POTFILES.in +++ /dev/null @@ -1,85 +0,0 @@ -# List of source files containing translatable strings. -# Please keep this file sorted alphabetically. -src/angle.rs -src/api.rs -src/aspect_ratio.rs -src/bbox.rs -src/c_api/dpi.rs -src/c_api/handle.rs -src/c_api/messages.rs -src/c_api/mod.rs -src/c_api/pixbuf_utils.rs -src/c_api/sizing.rs -src/color.rs -src/cond.rs -src/coord_units.rs -src/css.rs -src/dasharray.rs -src/document.rs -src/dpi.rs -src/drawing_ctx.rs -src/element.rs -src/error.rs -src/filter.rs -src/filters/blend.rs -src/filters/bounds.rs -src/filters/color_matrix.rs -src/filters/component_transfer.rs -src/filters/composite.rs -src/filters/context.rs -src/filters/convolve_matrix.rs -src/filters/displacement_map.rs -src/filters/error.rs -src/filters/flood.rs -src/filters/gaussian_blur.rs -src/filters/image.rs -src/filters/lighting.rs -src/filters/merge.rs -src/filters/mod.rs -src/filters/morphology.rs -src/filters/offset.rs -src/filters/tile.rs -src/filters/turbulence.rs -src/float_eq_cairo.rs -src/font_props.rs -src/gradient.rs -src/handle.rs -src/href.rs -src/image.rs -src/io.rs -src/iri.rs -src/length.rs -src/lib.rs -src/limits.rs -src/log.rs -src/marker.rs -src/node.rs -src/paint_server.rs -src/parsers.rs -src/path_builder.rs -src/path_parser.rs -src/pattern.rs -src/properties.rs -src/property_defs.rs -src/property_macros.rs -src/rect.rs -src/shapes.rs -src/space.rs -src/structure.rs -src/style.rs -src/surface_utils/compare_surfaces.rs -src/surface_utils/iterators.rs -src/surface_utils/mod.rs -src/surface_utils/shared_surface.rs -src/surface_utils/srgb.rs -src/test_utils.rs -src/text.rs -src/transform.rs -src/unit_interval.rs -src/url_resolver.rs -src/util.rs -src/viewbox.rs -src/xml/attributes.rs -src/xml/mod.rs -src/xml/xml2.rs -src/xml/xml2_load.rs diff --git a/po/es.po b/po/es.po deleted file mode 100644 index f28684d2..00000000 --- a/po/es.po +++ /dev/null @@ -1,106 +0,0 @@ -# Librsvg. -# Copyright (C) YEAR The librsvg authors -# This file is distributed under the same license as the librsvg package. -# danigm <danigm@gnome.org>, 2018. -# -msgid "" -msgstr "" -"Project-Id-Version: librsvg 2.45.0\n" -"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/librsvg/issues\n" -"POT-Creation-Date: 2018-11-29 10:16+0100\n" -"PO-Revision-Date: 2018-11-29 10:27+0100\n" -"Last-Translator: danigm <danigm@gnome.org>\n" -"Language-Team: Spanish; Castilian <es@gnome.org>\n" -"Language: es\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1)\n" -"X-Generator: Gtranslator 3.30.1\n" - -#: librsvg/rsvg-base.c:150 -#, c-format -msgid "%s: assertion `%s' failed" -msgstr "%s: comprobación `%s' fallida" - -#: librsvg/rsvg-handle.c:307 librsvg/rsvg-handle.c:308 -msgid "Horizontal resolution" -msgstr "Resolución horizontal" - -#: librsvg/rsvg-handle.c:315 librsvg/rsvg-handle.c:316 -msgid "Vertical resolution" -msgstr "Resolución vertical" - -#: librsvg/rsvg-handle.c:323 librsvg/rsvg-handle.c:324 -msgid "Base URI" -msgstr "URI base" - -#: librsvg/rsvg-handle.c:330 librsvg/rsvg-handle.c:331 -msgid "Image width" -msgstr "Ancho de imagen" - -#: librsvg/rsvg-handle.c:336 librsvg/rsvg-handle.c:337 -msgid "Image height" -msgstr "Alto de Imagen" - -#: librsvg/rsvg-handle.c:342 librsvg/rsvg-handle.c:343 -msgid "em" -msgstr "em" - -#: librsvg/rsvg-handle.c:348 librsvg/rsvg-handle.c:349 -msgid "ex" -msgstr "ex" - -#: librsvg/rsvg-handle.c:361 -msgid "Title" -msgstr "Título" - -#: librsvg/rsvg-handle.c:362 -msgid "SVG file title" -msgstr "Título de fichero SVG" - -#: librsvg/rsvg-handle.c:374 -msgid "Description" -msgstr "Descripción" - -#: librsvg/rsvg-handle.c:375 -msgid "SVG file description" -msgstr "Descripción de fichero SVG" - -#: librsvg/rsvg-handle.c:387 -msgid "Metadata" -msgstr "Metadatos" - -#: librsvg/rsvg-handle.c:388 -msgid "SVG file metadata" -msgstr "Metadatos de fichero SVG" - -#: librsvg/rsvg-handle.c:504 -#, c-format -msgid "Cannot obtain URI from '%s'" -msgstr "No se puede obtener URI desde '%s'" - -#: librsvg/rsvg-handle.c:666 -msgid "SVG has no elements" -msgstr "SVG no tiene elementos" - -#: librsvg/rsvg-handle.c:671 -msgid "root element is not <svg>" -msgstr "el elemento raíz no es <svg>" - -#: librsvg/rsvg-handle.c:740 -msgid "no data passed to parser" -msgstr "no se han pasado datos para el parser" - -#: librsvg/rsvg-load.c:267 -msgid "Error creating XML parser" -msgstr "Error creando el parser XML" - -#: librsvg/rsvg-load.c:577 -#, c-format -msgid "Error domain %d code %d on line %d column %d of %s: %s" -msgstr "Error dominio %d código %d en la línea %d columna %d de %s: %s" - -#: librsvg/rsvg-load.c:583 -msgid "Error parsing XML data" -msgstr "Error analizando datos XML" diff --git a/po/librsvg.pot b/po/librsvg.pot deleted file mode 100644 index 57d5daa5..00000000 --- a/po/librsvg.pot +++ /dev/null @@ -1,105 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR The librsvg authors -# This file is distributed under the same license as the librsvg package. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: librsvg 2.45.0\n" -"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/librsvg/issues\n" -"POT-Creation-Date: 2018-11-29 10:16+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <LL@li.org>\n" -"Language: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=CHARSET\n" -"Content-Transfer-Encoding: 8bit\n" - -#: librsvg/rsvg-base.c:150 -#, c-format -msgid "%s: assertion `%s' failed" -msgstr "" - -#: librsvg/rsvg-handle.c:307 librsvg/rsvg-handle.c:308 -msgid "Horizontal resolution" -msgstr "" - -#: librsvg/rsvg-handle.c:315 librsvg/rsvg-handle.c:316 -msgid "Vertical resolution" -msgstr "" - -#: librsvg/rsvg-handle.c:323 librsvg/rsvg-handle.c:324 -msgid "Base URI" -msgstr "" - -#: librsvg/rsvg-handle.c:330 librsvg/rsvg-handle.c:331 -msgid "Image width" -msgstr "" - -#: librsvg/rsvg-handle.c:336 librsvg/rsvg-handle.c:337 -msgid "Image height" -msgstr "" - -#: librsvg/rsvg-handle.c:342 librsvg/rsvg-handle.c:343 -msgid "em" -msgstr "" - -#: librsvg/rsvg-handle.c:348 librsvg/rsvg-handle.c:349 -msgid "ex" -msgstr "" - -#: librsvg/rsvg-handle.c:361 -msgid "Title" -msgstr "" - -#: librsvg/rsvg-handle.c:362 -msgid "SVG file title" -msgstr "" - -#: librsvg/rsvg-handle.c:374 -msgid "Description" -msgstr "" - -#: librsvg/rsvg-handle.c:375 -msgid "SVG file description" -msgstr "" - -#: librsvg/rsvg-handle.c:387 -msgid "Metadata" -msgstr "" - -#: librsvg/rsvg-handle.c:388 -msgid "SVG file metadata" -msgstr "" - -#: librsvg/rsvg-handle.c:504 -#, c-format -msgid "Cannot obtain URI from '%s'" -msgstr "" - -#: librsvg/rsvg-handle.c:666 -msgid "SVG has no elements" -msgstr "" - -#: librsvg/rsvg-handle.c:671 -msgid "root element is not <svg>" -msgstr "" - -#: librsvg/rsvg-handle.c:740 -msgid "no data passed to parser" -msgstr "" - -#: librsvg/rsvg-load.c:267 -msgid "Error creating XML parser" -msgstr "" - -#: librsvg/rsvg-load.c:577 -#, c-format -msgid "Error domain %d code %d on line %d column %d of %s: %s" -msgstr "" - -#: librsvg/rsvg-load.c:583 -msgid "Error parsing XML data" -msgstr "" |