mirror of
git://slackware.nl/current.git
synced 2024-12-30 10:24:23 +01:00
50cb4bf294
a/util-linux-2.37.2-x86_64-2.txz: Rebuilt. Rebuild with --disable-raw since the raw driver has been removed from the kernel. Thanks to nobodino and SeB. ap/vim-8.2.3394-x86_64-1.txz: Upgraded. l/glib2-2.68.4-x86_64-2.txz: Rebuilt. Better detect UTF-8 locales in libglib2.sh and libglib2.csh. Thanks to Didier Spaier. l/tidy-html5-5.8.0-x86_64-2.txz: Rebuilt. Fixed manpage installation. Thanks to kaott. n/iproute2-5.14.0-x86_64-1.txz: Upgraded. x/libwacom-1.12-x86_64-1.txz: Upgraded. x/wayland-protocols-1.22-noarch-1.txz: Upgraded. xap/vim-gvim-8.2.3394-x86_64-1.txz: Upgraded. extra/sendmail/sendmail-8.17.1-x86_64-2.txz: Rebuilt. Rebuilt with -DUSE_EAI and -licui18n -licuuc -licudata added to site.config.m4 to support SMTPUTF8. Thanks to niksoggia. extra/sendmail/sendmail-cf-8.17.1-noarch-2.txz: Rebuilt.
25 lines
909 B
Bash
25 lines
909 B
Bash
#!/bin/sh
|
|
#
|
|
# Description: This script sets the environment variables G_FILENAME_ENCODING
|
|
# and G_BROKEN_FILENAMES for the glib-2.0 library.
|
|
#
|
|
# G_FILENAME_ENCODING
|
|
# This environment variable can be set to a comma-separated list of
|
|
# character set names. GLib assumes that filenames are encoded in the
|
|
# first character set from that list rather than in UTF-8. The special
|
|
# token "@locale" can be used to specify the character set for the
|
|
# current locale.
|
|
#
|
|
# G_BROKEN_FILENAMES
|
|
# If this environment variable is set, GLib assumes that filenames are
|
|
# in the locale encoding rather than in UTF-8.
|
|
|
|
# Determine if the locale is UTF-8:
|
|
if locale charmap 2> /dev/null | grep -q UTF-8 ; then
|
|
export G_FILENAME_ENCODING="@locale"
|
|
fi
|
|
|
|
# It doesn't hurt to export this since G_FILENAME_ENCODING takes priority
|
|
# over G_BROKEN_FILENAMES:
|
|
export G_BROKEN_FILENAMES=1
|
|
|