gtk-xfce-engine: Fix build with glib-2.0 > 2.53

Fixes errors like
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd6 in position 980: invalid continuation byte
Makefile:737: recipe for target 'xfce_typebuiltin.h' failed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2017-12-12 12:14:48 -08:00
committed by Armin Kuster
parent 06ede87198
commit 9473dddf8a
2 changed files with 25 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
Description: Fix FTBFS with glib 2.54
glib-mkenums now expects input files to be UTF-8,
fix the encoding of libgnomeui/gnome-scores.h
Author: Adrian Bunk <bunk@debian.org>
ported from: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870738
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Index: gtk-xfce-engine-3.2.0/gtk-3.0/xfce_style_types.h
===================================================================
--- gtk-xfce-engine-3.2.0.orig/gtk-3.0/xfce_style_types.h
+++ gtk-xfce-engine-3.2.0/gtk-3.0/xfce_style_types.h
@@ -19,7 +19,7 @@
*
* Portions based Thinice port by
* Tim Gerla <timg@rrv.net>,
- * Tomas <20>gren <stric@ing.umu.se,
+ * Tomas Ögren <stric@ing.umu.se>,
* Richard Hult <rhult@codefactory.se>
* Portions based on Smooth theme by
* Andrew Johnson <ajgenius@ajgenius.us>

View File

@@ -8,6 +8,8 @@ inherit xfce distro_features_check
REQUIRED_DISTRO_FEATURES = "x11"
SRC_URI += "file://glib-2.54-ftbfs.patch"
SRC_URI[md5sum] = "363d6c16a48a00e26d45c45c2e1fd739"
SRC_URI[sha256sum] = "875c9c3bda96faf050a2224649cc42129ffb662c4de33add8c0fd1fb860b47ed"