Commit Graph

6 Commits

Author SHA1 Message Date
Daniel P. Berrange
c49f648f92 Revert "Don't set LC_ALL=C during build as that breaks python apps"
This reverts commit 921e988db0.
2017-08-14 11:37:07 +01:00
Daniel P. Berrange
921e988db0 Don't set LC_ALL=C during build as that breaks python apps
Setting LC_ALL=C breaks python apps doing I/O on UTF-8 source
files. In particular this broke glib-mkenums

    Traceback (most recent call last):
      File "/usr/bin/glib-mkenums", line 669, in <module>
        process_file(fname)
      File "/usr/bin/glib-mkenums", line 406, in process_file
        line = curfile.readline()
      File "/usr/lib64/python3.6/encodings/ascii.py", line 26, in decode
        return codecs.ascii_decode(input, self.errors)[0]
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 849: ordinal not in range(128)

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2017-07-25 13:45:09 +01:00
Daniel P. Berrange
09a961ceba Adapt 'po file' syntax check to look at more files
The 'po file' check needs to consider various files in data/
as well as normal sources
2013-02-13 15:18:19 +00:00
Daniel P. Berrange
77808ceb5c Adjust POTFILES.in check to strip type prefix 2012-02-15 09:29:22 +00:00
Daniel P. Berrange
3349a1d42e Re-added GtkBuilder XML files to POTFILES.in
Adapt syntax-check  rule to allow XML files in POTFILES.in and
re-add the GtkBuilder XML files
2012-02-08 13:32:42 +00:00
Daniel P. Berrange
d9825f3c74 Import GNULIB rules for syntax checking code 2012-02-06 12:42:23 +00:00