diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2017-12-10 22:08:01 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-17 23:38:50 -0500 |
commit | 1eff66897a6ca7977a920e16d2b6953446f67d09 (patch) | |
tree | a4d703ea604d0ac048b632c5d1e9ba08fa8b9f18 /libraries/libgnome | |
parent | d4b8227bf251c5dbe3d843f65d74c0efbbcb8508 (diff) | |
download | slackbuilds-1eff66897a6ca7977a920e16d2b6953446f67d09.tar.gz |
libraries/libgnome: Fix source files encoding.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/libgnome')
-rw-r--r-- | libraries/libgnome/libgnome.SlackBuild | 6 | ||||
-rw-r--r-- | libraries/libgnome/libgnome.info | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/libraries/libgnome/libgnome.SlackBuild b/libraries/libgnome/libgnome.SlackBuild index 15083db758..a05779e965 100644 --- a/libraries/libgnome/libgnome.SlackBuild +++ b/libraries/libgnome/libgnome.SlackBuild @@ -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.* diff --git a/libraries/libgnome/libgnome.info b/libraries/libgnome/libgnome.info index 5b173bffdb..1fe704d75d 100644 --- a/libraries/libgnome/libgnome.info +++ b/libraries/libgnome/libgnome.info @@ -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" |