Import Upstream version 2.72.4
This commit is contained in:
commit
4ef3ff9793
2003 changed files with 1332420 additions and 0 deletions
33
glib/libcharset/update.sh
Executable file
33
glib/libcharset/update.sh
Executable file
|
|
@ -0,0 +1,33 @@
|
|||
#!/bin/sh
|
||||
|
||||
if test $# = 1 ; then
|
||||
ORIGINAL=$1
|
||||
else
|
||||
echo "Usage: update.sh /path/to/libcharset" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if test -f "${ORIGINAL}/lib/localcharset.c" ; then : ; else
|
||||
echo "Usage: update.sh /path/to/libcharset" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
VERSION=$(grep VERSION= "${ORIGINAL}/configure.ac" | sed s/VERSION=//)
|
||||
|
||||
for i in localcharset.c ref-add.sin ref-del.sin config.charset ; do
|
||||
cp "${ORIGINAL}/lib/${i}" .
|
||||
done
|
||||
|
||||
for i in libcharset.h localcharset.h ; do
|
||||
cp "${ORIGINAL}/include/${i}.in" "./${i}"
|
||||
done
|
||||
|
||||
for i in codeset.m4 glibc21.m4 ; do
|
||||
cp "${ORIGINAL}/m4/${i}" .
|
||||
done
|
||||
|
||||
patch -p0 < libcharset-glib.patch
|
||||
|
||||
echo "dnl From libcharset ${VERSION}" > ../../aclibcharset.m4
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue