slackware-current/source/l/glib2/libglib2.csh
Patrick J Volkerding 50cb4bf294 Wed Sep 1 18:39:59 UTC 2021
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.
2021-09-02 08:59:54 +02:00

26 lines
926 B
Tcsh

#!/bin/csh
#
# 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:
locale charmap 2> /dev/null | grep -q UTF-8
if ($status == 0) then
setenv G_FILENAME_ENCODING "@locale"
endif
# It doesn't hurt to export this since G_FILENAME_ENCODING takes priority
# over G_BROKEN_FILENAMES:
setenv G_BROKEN_FILENAMES 1