mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 22:26:42 +00:00
new package:
- add the full gettext package
This commit is contained in:
parent
4af75eddd0
commit
98df6634cd
21
packages/devel/gettext/build
Normal file
21
packages/devel/gettext/build
Normal file
@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
|
||||
cd $PKG_BUILD/gettext-runtime
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--with-included-gettext \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--disable-dependency-tracking \
|
||||
--disable-java \
|
||||
--disable-native-java \
|
||||
--disable-libasprintf
|
||||
|
||||
make
|
||||
|
||||
$MAKEINSTALL
|
6
packages/devel/gettext/install
Normal file
6
packages/devel/gettext/install
Normal file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp -PR $PKG_BUILD/gettext-runtime/intl/.libs/libintl.so* $INSTALL/usr/lib
|
29
packages/devel/gettext/patches/10_gnulib-fix.diff
Normal file
29
packages/devel/gettext/patches/10_gnulib-fix.diff
Normal file
@ -0,0 +1,29 @@
|
||||
diff -Naur gettext-0.17/gettext-runtime/gnulib-lib/mbchar.h gettext-0.17a/gettext-runtime/gnulib-lib/mbchar.h
|
||||
--- gettext-0.17/gettext-runtime/gnulib-lib/mbchar.h 2007-10-07 22:28:16.000000000 +0200
|
||||
+++ gettext-0.17a/gettext-runtime/gnulib-lib/mbchar.h 2009-05-17 10:09:49.000000000 +0200
|
||||
@@ -147,6 +147,8 @@
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
|
||||
+typedef unsigned int wint_t;
|
||||
+
|
||||
/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
|
||||
<wchar.h>.
|
||||
BSD/OS 4.1 has a bug: <stdio.h> and <time.h> must be included before
|
||||
diff -Naur gettext-0.17/gettext-runtime/gnulib-lib/wchar.in.h gettext-0.17a/gettext-runtime/gnulib-lib/wchar.in.h
|
||||
--- gettext-0.17/gettext-runtime/gnulib-lib/wchar.in.h 2007-10-04 00:23:31.000000000 +0200
|
||||
+++ gettext-0.17a/gettext-runtime/gnulib-lib/wchar.in.h 2009-05-17 10:15:26.000000000 +0200
|
||||
@@ -41,7 +41,7 @@
|
||||
/* The include_next requires a split double-inclusion guard. */
|
||||
#if @HAVE_WCHAR_H@
|
||||
# @INCLUDE_NEXT@ @NEXT_WCHAR_H@
|
||||
-#endif
|
||||
+#else
|
||||
|
||||
#ifndef _GL_WCHAR_H
|
||||
#define _GL_WCHAR_H
|
||||
@@ -80,3 +80,4 @@
|
||||
|
||||
#endif /* _GL_WCHAR_H */
|
||||
#endif /* _GL_WCHAR_H */
|
||||
+#endif
|
1
packages/devel/gettext/url
Normal file
1
packages/devel/gettext/url
Normal file
@ -0,0 +1 @@
|
||||
http://mirrors.ircam.fr/pub/gnu/gnu/gettext/gettext-0.17.tar.gz
|
Loading…
x
Reference in New Issue
Block a user