Merge pull request #787 from micmac1/gsm-no-nls-21.02

[21.02] gsmlib: disable NLS
This commit is contained in:
micmac1 2022-10-31 07:37:14 +01:00 committed by GitHub
commit e2f3704624
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 2 deletions

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=gsmlib PKG_NAME:=gsmlib
PKG_VERSION:=1.10-20140304 PKG_VERSION:=1.10-20140304
PKG_RELEASE:=2 PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://github.com/vbouchaud/gsmlib.git PKG_SOURCE_URL:=https://github.com/vbouchaud/gsmlib.git
@ -63,6 +63,8 @@ define Package/gsm-utils/description
Some simple command line programs to access GSM mobile phones via GSM modems. Some simple command line programs to access GSM mobile phones via GSM modems.
endef endef
CONFIGURE_ARGS += --disable-nls
define Build/InstallDev define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include/$(PKG_NAME) $(INSTALL_DIR) $(1)/usr/include/$(PKG_NAME)
$(INSTALL_DATA) \ $(INSTALL_DATA) \

View file

@ -19,6 +19,15 @@ Description: Update autotools-related stuff.
dnl comment out this line to get extensive debugging output and asserts dnl comment out this line to get extensive debugging output and asserts
dnl CXXFLAGS="-DNDEBUG $CXXFLAGS" dnl CXXFLAGS="-DNDEBUG $CXXFLAGS"
@@ -108,7 +111,7 @@ AC_SUBST(GSM_VERSION)
dnl national language support (NLS)
LINGUAS="de"
ALL_LINGUAS=$LINGUAS
-AM_GNU_GETTEXT
+AM_GNU_GETTEXT([external])
dnl AM_GLIB_GNU_GETTEXT
dnl set locale dir (FIXME there must be a better way)
--- /dev/null --- /dev/null
+++ b/po/Makevars +++ b/po/Makevars
@@ -0,0 +1,5 @@ @@ -0,0 +1,5 @@
@ -29,7 +38,7 @@ Description: Update autotools-related stuff.
+ +
--- a/Makefile.am --- a/Makefile.am
+++ b/Makefile.am +++ b/Makefile.am
@@ -11,6 +11,8 @@ @@ -11,14 +11,12 @@
# * Created: 21.5.1999 # * Created: 21.5.1999
# ************************************************************************* # *************************************************************************
@ -38,3 +47,11 @@ Description: Update autotools-related stuff.
SUBDIRS_ = po gsmlib apps tests doc scripts win32 ext SUBDIRS_ = po gsmlib apps tests doc scripts win32 ext
EXTRA_DIST = gsmlib.spec EXTRA_DIST = gsmlib.spec
-if COMPILE_INTL
-SUBDIRS = intl $(SUBDIRS_) # po - make automake happy
-else
SUBDIRS = $(SUBDIRS_) # po intl - make automake happy
-endif
all: