aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-11-17 10:44:10 +0000
committerRoberto Oliveira <robertoguimaraes8@gmail.com>2017-11-17 10:45:10 +0000
commitfbf22fa15629b820e252c8e7baf7ecb22680f215 (patch)
treedad46fd6a2f0db8f8c8054301a2af26466afef67
parent1c2d90548a007b7ebf899dca5632dd38bc3d79c3 (diff)
downloadaports-fbf22fa15629b820e252c8e7baf7ecb22680f215.tar.bz2
aports-fbf22fa15629b820e252c8e7baf7ecb22680f215.tar.xz
main/gtk-xfce-engine: fix build
Fix build error: UnicodeDecodeError: 'utf8' codec can't decode byte 0xd6 in position 980: invalid continuation byte
-rw-r--r--main/gtk-xfce-engine/APKBUILD9
-rw-r--r--main/gtk-xfce-engine/fix-utf8-codec-can-not-decode-byte.patch18
2 files changed, 22 insertions, 5 deletions
diff --git a/main/gtk-xfce-engine/APKBUILD b/main/gtk-xfce-engine/APKBUILD
index f21241f340..8b28ed3ae0 100644
--- a/main/gtk-xfce-engine/APKBUILD
+++ b/main/gtk-xfce-engine/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gtk-xfce-engine
pkgver=3.2.0
-pkgrel=0
+pkgrel=1
pkgdesc="Xfce theme engine"
url="http://www.xfce.org/"
arch="all"
@@ -9,7 +9,7 @@ license="GPL2"
depends=
makedepends="gtk+2.0-dev gtk+3.0-dev"
source="http://archive.xfce.org/src/xfce/gtk-xfce-engine/${pkgver%.*}/gtk-xfce-engine-$pkgver.tar.bz2
- "
+fix-utf8-codec-can-not-decode-byte.patch"
subpackages="gtk2-xfce-engine:_gtk2 gtk3-xfce-engine:_gtk3"
_builddir="$srcdir"/$pkgname-$pkgver
@@ -57,6 +57,5 @@ _split() {
_gtk2() { _split gtk-2.0; }
_gtk3() { _split gtk-3.0; }
-md5sums="363d6c16a48a00e26d45c45c2e1fd739 gtk-xfce-engine-3.2.0.tar.bz2"
-sha256sums="875c9c3bda96faf050a2224649cc42129ffb662c4de33add8c0fd1fb860b47ed gtk-xfce-engine-3.2.0.tar.bz2"
-sha512sums="c965e597c1b4aa04f3b474f3c4cea249aa6e753be697d5d3d7a19184adca650fc084f39acbd357f53eaf4180d96d5d3499866367e221ae445de4864fc9487012 gtk-xfce-engine-3.2.0.tar.bz2"
+sha512sums="c965e597c1b4aa04f3b474f3c4cea249aa6e753be697d5d3d7a19184adca650fc084f39acbd357f53eaf4180d96d5d3499866367e221ae445de4864fc9487012 gtk-xfce-engine-3.2.0.tar.bz2
+2ab7d90f82bc9ec911ac18d6a6c676813038076b9f140e00c24e235f54c31d107d9ef2ef28f5e9f4b3f8de0e56ccab5b73ba691d98441ddb55c3bb3748813897 fix-utf8-codec-can-not-decode-byte.patch"
diff --git a/main/gtk-xfce-engine/fix-utf8-codec-can-not-decode-byte.patch b/main/gtk-xfce-engine/fix-utf8-codec-can-not-decode-byte.patch
new file mode 100644
index 0000000000..0aeeefb5b8
--- /dev/null
+++ b/main/gtk-xfce-engine/fix-utf8-codec-can-not-decode-byte.patch
@@ -0,0 +1,18 @@
+--- a/gtk-3.0/xfce_style_types.h
++++ b/gtk-3.0/xfce_style_types.h
+@@ -19,13 +19,13 @@
+ *
+ * Portions based Thinice port by
+ * Tim Gerla <timg@rrv.net>,
+- * Tomas Ögren <stric@ing.umu.se,
++ * Tomas Ogren <stric@ing.umu.se,
+ * Richard Hult <rhult@codefactory.se>
+ * Portions based on Smooth theme by
+ * Andrew Johnson <ajgenius@ajgenius.us>
+ * Portions based on IceGradient theme by
+ * Tim Gerla <timg@means.net>
+- * Tomas Ă–gren <stric@ing.umu.se>
++ * Tomas Ogren <stric@ing.umu.se>
+ * JM Perez <jose.perez@upcnet.es>
+ * Portions based on Wonderland theme by
+ * Garrett LeSage