mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-07 20:27:02 +01:00
libraries/libgnome: Fix source files encoding.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
d4b8227bf2
commit
1eff66897a
2 changed files with 7 additions and 1 deletions
|
@ -69,6 +69,12 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
|
||||
# https://github.com/voidlinux/void-packages/commit/f16a2d557e84f5d7f5ece8b2022aab4fd17aa0ce
|
||||
for f in $(find . -type f -exec file "{}" \; | grep "C source" | cut -d ':' -f1); do
|
||||
echo "${f}"
|
||||
recode ISO-8859-1..UTF-8 "${f}"
|
||||
done
|
||||
|
||||
# Fix for the newer glib
|
||||
sed -i "/-DG_DISABLE_DEPRECATED/d" libgnome/Makefile.*
|
||||
|
||||
|
|
|
@ -5,6 +5,6 @@ DOWNLOAD="https://ftp.gnome.org/pub/GNOME/sources/libgnome/2.32/libgnome-2.32.1.
|
|||
MD5SUM="a4345e6087ae6195d65a4674ffdca559"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="gnome-vfs"
|
||||
REQUIRES="gnome-vfs recode"
|
||||
MAINTAINER="Erik Hanson"
|
||||
EMAIL="erik@slackbuilds.org"
|
||||
|
|
Loading…
Reference in a new issue