Skip to content

Commit 569d2a6

Browse files
committed
feat!: Eliminate gettext support and translations
- gettext is placing unnecessarily restriction on dependencies - no translation contribution to care about - closes #18
1 parent 71de543 commit 569d2a6

16 files changed

+20
-873
lines changed

Makefile.am

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
AUTOMAKE_OPTIONS = foreign dist-xz dist-zip
44

5-
SUBDIRS = src po test
5+
SUBDIRS = src test
66

77
EXTRA_DIST = \
88
docs \

config.rpath

Whitespace-only changes.

configure.ac

-7
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@ AC_SUBST(is_mingw)
2222
AC_SUBST(is_cygwin)
2323
AM_CONDITIONAL([OS_WINDOWS], [test "x$is_mingw" != x])
2424

25-
dnl I18N
26-
AM_GNU_GETTEXT([external])
27-
AM_GNU_GETTEXT_VERSION([0.19])
28-
LOCALEDIR_PORTABLE="${PACKAGE}-l10n"
29-
AC_SUBST([LOCALEDIR_PORTABLE])
30-
3125
dnl Compiler and devel toolchain checks.
3226
AS_BOX([Compiler and toolchain])
3327
AC_PROG_CC
@@ -142,7 +136,6 @@ AC_CHECK_FUNCS([setlocale strerror fseek fread memcpy])
142136

143137
AC_CONFIG_FILES([
144138
Makefile
145-
po/Makefile.in
146139
src/Makefile
147140
test/Makefile
148141
test/atlocal

dist-win.mk

+1-5
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dist-win: win-pkg-data win-pkg-bin
1313
rm -f $(ZIPNAME).zip && \
1414
7z a -bd -o$(abs_top_builddir) $(ZIPNAME).zip .
1515

16-
win-pkg-data: win-pkg/$(LOCALEDIR_PORTABLE) win-pkg/README.html
16+
win-pkg-data: win-pkg/README.html
1717

1818
win-pkg-bin: \
1919
win-pkg/rifiuti.exe \
@@ -31,10 +31,6 @@ win-pkg/README.html: $(top_srcdir)/src/rifiuti.1
3131
sed -e '0,/^####CHANGELOG####/d' $$tmpfile1 ) > $@ ;\
3232
rm -f $$tmpfile1 $$tmpfile2
3333

34-
win-pkg/$(LOCALEDIR_PORTABLE): $(top_srcdir)/po/$(PACKAGE).pot
35-
cd po && $(MAKE) install localedir=$(abs_top_builddir)/$@
36-
cp $< $(abs_top_builddir)/$@/
37-
3834
win-pkg/rifiuti.exe: $(top_builddir)/src/rifiuti.exe
3935
$(MKDIR_P) win-pkg
4036
strip --strip-unneeded -o $@ $<

po/ChangeLog

Whitespace-only changes.

po/LINGUAS

-1
This file was deleted.

po/Makevars

-78
This file was deleted.

po/POTFILES.in

-4
This file was deleted.

0 commit comments

Comments
 (0)