diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-11-17 12:24:53 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-11-17 12:26:54 +0000 |
commit | 9093b7889fcd40b4124c1c77c85d9db3d0688716 (patch) | |
tree | 3ad21712b102647570c9c3d779cc7bea356a0114 /main | |
parent | 8d7fd98d2c72470b0fb94293148a01ad1a6ef3bc (diff) | |
download | aports-9093b7889fcd40b4124c1c77c85d9db3d0688716.tar.bz2 aports-9093b7889fcd40b4124c1c77c85d9db3d0688716.tar.xz |
main/gnumeric: hack to workaround build error in doc
we simply skip the cs translation for now.
fixes the build error:
'ascii' codec can't decode byte 0xc2 in position 97: ordinal not in
range(128)
It looks like OpenBSD has similar error:
http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/math/gnumeric/patches/patch-doc_Makefile_in?rev=1.4&content-type=text/x-cvsweb-markup&sortby=rev
Diffstat (limited to 'main')
-rw-r--r-- | main/gnumeric/APKBUILD | 11 | ||||
-rw-r--r-- | main/gnumeric/unbreak-build-by-skipping-cs.patch | 13 |
2 files changed, 20 insertions, 4 deletions
diff --git a/main/gnumeric/APKBUILD b/main/gnumeric/APKBUILD index f5ddecb7b6..da39670eea 100644 --- a/main/gnumeric/APKBUILD +++ b/main/gnumeric/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gnumeric pkgver=1.12.35 -pkgrel=0 +pkgrel=1 pkgdesc="A GNOME Spreadsheet Program" url="http://www.gnome.org/projects/gnumeric/" arch="all" @@ -11,7 +11,9 @@ makedepends="gtk+3.0-dev intltool desktop-file-utils goffice-dev rarian libxml2-utils autoconf automake libtool" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" -source="https://download.gnome.org/sources/$pkgname/1.12/$pkgname-$pkgver.tar.xz" +source="https://download.gnome.org/sources/$pkgname/${pkver%.*}/$pkgname-$pkgver.tar.xz + unbreak-build-by-skipping-cs.patch + " builddir="$srcdir"/$pkgname-$pkgver prepare() { @@ -34,7 +36,8 @@ build() { package() { cd "$builddir" - make -j1 DESTDIR="$pkgdir" install + make DESTDIR="$pkgdir" install } -sha512sums="0781c0d003342653a7cb57d2f23d1222903f18fdce15f4276250aae66239fc5f0da6472d900a59d29b511fbf55b529f7923a68f346752cd242775d52f99aba11 gnumeric-1.12.35.tar.xz" +sha512sums="0781c0d003342653a7cb57d2f23d1222903f18fdce15f4276250aae66239fc5f0da6472d900a59d29b511fbf55b529f7923a68f346752cd242775d52f99aba11 gnumeric-1.12.35.tar.xz +8162b0901e7acf586f4f5be103e2507c17da38ef4e22ce98011dba076de14ea819d346d11917d4d5c70c328b876d890bad2d6b3cede793d218033a59853a0d81 unbreak-build-by-skipping-cs.patch" diff --git a/main/gnumeric/unbreak-build-by-skipping-cs.patch b/main/gnumeric/unbreak-build-by-skipping-cs.patch new file mode 100644 index 0000000000..a415d7004d --- /dev/null +++ b/main/gnumeric/unbreak-build-by-skipping-cs.patch @@ -0,0 +1,13 @@ +diff --git a/doc/Makefile.am b/doc/Makefile.am +index 4705b58..fe0abae 100644 +--- a/doc/Makefile.am ++++ b/doc/Makefile.am +@@ -8,7 +8,7 @@ DISTCLEANFILES= + @YELP_HELP_RULES@ + + HELP_ID=gnumeric +-HELP_LINGUAS=cs de es ++HELP_LINGUAS=de es + HELP_FILES=gnumeric.xml + + HELP_EXTRA= \ |