diff --git a/community/csview/APKBUILD b/community/csview/APKBUILD index fd304dc4272..8cfe5320143 100644 --- a/community/csview/APKBUILD +++ b/community/csview/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Jakub Jirutka pkgname=csview pkgver=1.2.2 -pkgrel=1 +pkgrel=2 pkgdesc="Pretty csv viewer for cli with cjk/emoji support" url="https://github.com/wfxr/csview" arch="aarch64 armhf armv7 ppc64le x86 x86_64" # blocked by rust/cargo @@ -13,7 +13,9 @@ subpackages=" $pkgname-fish-completion $pkgname-zsh-completion " -source="https://github.com/wfxr/csview/archive/v$pkgver/csview-$pkgver.tar.gz" +source="https://github.com/wfxr/csview/archive/v$pkgver/csview-$pkgver.tar.gz + deps.patch + " export CARGO_REGISTRIES_CRATES_IO_PROTOCOL="sparse" @@ -43,4 +45,5 @@ package() { sha512sums=" b4248c7fdf22b1dc3a23eb3c2792bd05cce945a4b646500541d6927e1722be79c78aa5421b74421c35ca70ab814468db27e5bf6016a942c856568b6c1a734010 csview-1.2.2.tar.gz +445e190fa6185bdc3fb597844d9f70b50affd922c55930899306c2d7cb2cee7e0c467f93fc7df3d5e356d87e3ec063b47dab83a8a471b70bc2eff08bb2da9c56 deps.patch " diff --git a/community/csview/deps.patch b/community/csview/deps.patch new file mode 100644 index 00000000000..e5ba5e41b45 --- /dev/null +++ b/community/csview/deps.patch @@ -0,0 +1,148 @@ +fixes build on arm +diff --git a/Cargo.lock b/Cargo.lock +index 711e318..f64d8a8 100644 +--- a/Cargo.lock ++++ b/Cargo.lock +@@ -176,9 +176,9 @@ dependencies = [ + + [[package]] + name = "io-lifetimes" +-version = "0.7.3" ++version = "0.7.5" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "1ea37f355c05dde75b84bba2d767906ad522e97cd9e2eef2be7a4ab7fb442c06" ++checksum = "59ce5ef949d49ee85593fc4d3f3f95ad61657076395cbbce23e2121fc5542074" + + [[package]] + name = "itertools" +@@ -281,16 +281,16 @@ checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" + + [[package]] + name = "rustix" +-version = "0.35.11" ++version = "0.35.13" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "fbb2fda4666def1433b1b05431ab402e42a1084285477222b72d6c564c417cef" ++checksum = "727a1a6d65f786ec22df8a81ca3121107f235970dc1705ed681d3e6e8b9cd5f9" + dependencies = [ + "bitflags", + "errno", + "io-lifetimes", + "libc", + "linux-raw-sys", +- "windows-sys", ++ "windows-sys 0.42.0", + ] + + [[package]] +@@ -338,7 +338,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "8440c860cf79def6164e4a0a983bcc2305d82419177a0e0c71930d049e3ac5a1" + dependencies = [ + "rustix", +- "windows-sys", ++ "windows-sys 0.36.1", + ] + + [[package]] +@@ -405,39 +405,96 @@ version = "0.36.1" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "ea04155a16a59f9eab786fe12a4a450e75cdb175f9e0d80da1e17db09f55b8d2" + dependencies = [ +- "windows_aarch64_msvc", +- "windows_i686_gnu", +- "windows_i686_msvc", +- "windows_x86_64_gnu", +- "windows_x86_64_msvc", ++ "windows_aarch64_msvc 0.36.1", ++ "windows_i686_gnu 0.36.1", ++ "windows_i686_msvc 0.36.1", ++ "windows_x86_64_gnu 0.36.1", ++ "windows_x86_64_msvc 0.36.1", + ] + ++[[package]] ++name = "windows-sys" ++version = "0.42.0" ++source = "registry+https://github.com/rust-lang/crates.io-index" ++checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" ++dependencies = [ ++ "windows_aarch64_gnullvm", ++ "windows_aarch64_msvc 0.42.2", ++ "windows_i686_gnu 0.42.2", ++ "windows_i686_msvc 0.42.2", ++ "windows_x86_64_gnu 0.42.2", ++ "windows_x86_64_gnullvm", ++ "windows_x86_64_msvc 0.42.2", ++] ++ ++[[package]] ++name = "windows_aarch64_gnullvm" ++version = "0.42.2" ++source = "registry+https://github.com/rust-lang/crates.io-index" ++checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" ++ + [[package]] + name = "windows_aarch64_msvc" + version = "0.36.1" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47" + ++[[package]] ++name = "windows_aarch64_msvc" ++version = "0.42.2" ++source = "registry+https://github.com/rust-lang/crates.io-index" ++checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" ++ + [[package]] + name = "windows_i686_gnu" + version = "0.36.1" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6" + ++[[package]] ++name = "windows_i686_gnu" ++version = "0.42.2" ++source = "registry+https://github.com/rust-lang/crates.io-index" ++checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" ++ + [[package]] + name = "windows_i686_msvc" + version = "0.36.1" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024" + ++[[package]] ++name = "windows_i686_msvc" ++version = "0.42.2" ++source = "registry+https://github.com/rust-lang/crates.io-index" ++checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" ++ + [[package]] + name = "windows_x86_64_gnu" + version = "0.36.1" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1" + ++[[package]] ++name = "windows_x86_64_gnu" ++version = "0.42.2" ++source = "registry+https://github.com/rust-lang/crates.io-index" ++checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" ++ ++[[package]] ++name = "windows_x86_64_gnullvm" ++version = "0.42.2" ++source = "registry+https://github.com/rust-lang/crates.io-index" ++checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" ++ + [[package]] + name = "windows_x86_64_msvc" + version = "0.36.1" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680" ++ ++[[package]] ++name = "windows_x86_64_msvc" ++version = "0.42.2" ++source = "registry+https://github.com/rust-lang/crates.io-index" ++checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0"