Skip to content

glibc: update 2.33 -> 2.36 #2725

Merged
merged 3 commits into from
Dec 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
24 changes: 0 additions & 24 deletions glibc-locales.be0

This file was deleted.

28 changes: 23 additions & 5 deletions glibc.be0
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/env beesh

# BEE_VERSION glibc-2.33-0
# BEE_VERSION glibc-2.36-0

SRCURL[0]="https://ftp.gnu.org/gnu/glibc/glibc-${PKGVERSION}.tar.bz2"

Expand Down Expand Up @@ -89,10 +89,28 @@ mee_install_post() {
cd -
fi

# "make install" created (e.g.) /lib64/ld-linux-x86-64.so.2 -> ../lib/ld-2.26.so
# we have /lib64 -> /lib , so remove the lib64 directory and create a new link
# "make install" created (e.g.) /lib64/ld-linux-x86-64.so.2
# we have /lib64 -> /lib , so move the lib and remove the lib64 directory
#
rm $D/lib64/ld-linux-x86-64.so.${PKGVERSION[1]}
mv $D/lib64/ld-linux-x86-64.so.${PKGVERSION[1]} $D/lib/
rmdir $D/lib64
ln -s ld-$PKGVERSION.so $D/lib/ld-linux-x86-64.so.${PKGVERSION[1]}

mkdir -pv ${D}${LIBDIR}/locale
localedef --prefix=${D} -i cs_CZ -f UTF-8 cs_CZ.UTF-8
localedef --prefix=${D} -i de_DE -f ISO-8859-1 de_DE
localedef --prefix=${D} -i de_DE@euro -f ISO-8859-15 de_DE@euro
localedef --prefix=${D} -i de_DE -f UTF-8 de_DE.UTF-8
localedef --prefix=${D} -i en_HK -f ISO-8859-1 en_HK
localedef --prefix=${D} -i en_PH -f ISO-8859-1 en_PH
localedef --prefix=${D} -i en_US -f ISO-8859-1 en_US
localedef --prefix=${D} -i en_US -f UTF-8 en_US.UTF-8
localedef --prefix=${D} -i es_MX -f ISO-8859-1 es_MX
localedef --prefix=${D} -i fa_IR -f UTF-8 fa_IR
localedef --prefix=${D} -i fr_FR -f ISO-8859-1 fr_FR
localedef --prefix=${D} -i fr_FR@euro -f ISO-8859-15 fr_FR@euro
localedef --prefix=${D} -i fr_FR -f UTF-8 fr_FR.UTF-8
localedef --prefix=${D} -i it_IT -f ISO-8859-1 it_IT
localedef --prefix=${D} -i ja_JP -f EUC-JP ja_JP
localedef --prefix=${D} -i tr_TR -f UTF-8 tr_TR.UTF-8
localedef --prefix=${D} -i zh_CN -f GB18030 zh_CN.GB18030
}