Package Details: i4tools-bin 3.06.007-1

Git Clone URL: https://aur.archlinux.org/i4tools-bin.git (read-only, click to copy)
Package Base: i4tools-bin
Description: 爱思助手是一款集“高效管理 iOS 设备数据”,“智能刷机”和“免费下载海量应用游戏、铃声壁纸”等为一体的 iOS 设备管理工具。
Upstream URL: https://www.i4.cn/pro_pc.html
Keywords: i4tools iOS 应用游戏 智能刷机 爱思助手 设备数据 铃声壁纸 高效管理
Licenses: custom
Submitter: taotieren
Maintainer: maoyaotang1
Last Packager: maoyaotang1
Votes: 1
Popularity: 0.000001
First Submitted: 2021-08-12 03:07 (UTC)
Last Updated: 2024-09-27 22:22 (UTC)

Latest Comments

1 2 Next › Last »

maoyaotang1 commented on 2024-09-06 02:22 (UTC)

已经改进了,谢谢

taotieren commented on 2024-09-06 01:53 (UTC) (edited on 2024-09-06 01:54 (UTC) by taotieren)

这是 补丁,PKGBUILD 中的 .. 需要替换成 ${SRCDIR} 不然在 devtools 下编译会报错。 git 的依赖不是必须的可以去掉。

❯ cat git_clone/aur/i4tools-bin/0001-update-i4tools-bin.patch
From 55734bb94adea84812bce3dfe6ec52cd2544180c Mon Sep 17 00:00:00 2001
From: taotieren <admin@taotieren.com>
Date: Fri, 6 Sep 2024 01:06:25 +0800
Subject: [PATCH] update i4tools-bin

---
.SRCINFO | 14 ++++++++++++++
PKGBUILD | 29 ++++++++++++++++++++++-------
2 files changed, 36 insertions(+), 7 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 8355654..3716b4a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -5,7 +5,21 @@ pkgbase = i4tools-bin
url = https://www.i4.cn/pro_pc.html
arch = x86_64
license = custom
+       depends = bash
+       depends = brotli
+       depends = curl
+       depends = expat
+       depends = gcc-libs
+       depends = glib2
+       depends = glibc
depends = git
+       depends = hicolor-icon-theme
+       depends = libffi
+       depends = libp11-kit
+       depends = openssl
+       depends = sqlite
+       depends = util-linux-libs
+       depends = zlib
source = i4tools_v3.06.006.rpm::https://d-updater.i4.cn/i4linux/deb/i4tools_v3.06.006.rpm
source = i4tools.desktop
source = run.sh
diff --git a/PKGBUILD b/PKGBUILD
index 9e0c3f2..a5018eb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,15 +4,30 @@
pkgname=i4tools-bin
_pkgname=i4tools
pkgver=3.06.006
-_pkgver=v3.06.006
+_pkgver=v${pkgver}
pkgrel=1
pkgdesc='简单好用的多功能苹果设备管理助手。'
arch=('x86_64')
url="https://www.i4.cn/pro_pc.html"
license=('custom')
-depends=('git')
+depends=(
+    'bash'
+    'brotli'
+    'curl'
+    'expat'
+    'gcc-libs'
+    'glib2'
+    'glibc'
+    'git'
+    'hicolor-icon-theme'
+    'libffi'
+    'libp11-kit'
+    'openssl'
+    'sqlite'
+    'util-linux-libs'
+    'zlib')
source=(
-    "${_pkgname}_v3.06.006.rpm::https://d-updater.i4.cn/i4linux/deb/${_pkgname}_${_pkgver}.rpm"
+    "${_pkgname}_${_pkgver}.rpm::https://d-updater.i4.cn/i4linux/deb/${_pkgname}_${_pkgver}.rpm"
"$_pkgname.desktop"
"run.sh"
"LICENSE.txt::https://www.i4.cn/copyright.html"
@@ -26,11 +41,11 @@ package() {
install -m755 -d "${pkgdir}/usr/share/pixmaps"
install -m755 -d "${pkgdir}/usr/share/icons/hicolor/scalable/apps"
install -m755 -d "${pkgdir}/usr/bin"
-    install -Dm755  ../run.sh "${pkgdir}/usr/bin/${_pkgname}"
-    install -Dm644 ../$_pkgname.desktop "$pkgdir"/usr/share/applications/$_pkgname.desktop
+    install -Dm755 ${srcdir}/run.sh "${pkgdir}/usr/bin/${_pkgname}"
+    install -Dm644 ${srcdir}/$_pkgname.desktop "$pkgdir"/usr/share/applications/$_pkgname.desktop
cp -r "${srcdir}/opt/apps/cn.i4Tools" "${pkgdir}/opt/"
-    install -Dm644 ../LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+    install -Dm644 ${srcdir}/LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
cd "${srcdir}/opt/apps/cn.i4Tools/resources"
cp logo.png "$pkgdir"/usr/share/pixmaps/$_pkgname.png
-    cp logo.svg "$pkgdir"/usr/share/icons/hicolor/scalable/apps/$_pkgname.svg
+    cp logo.svg "$pkgdir"/usr/share/icons/hicolor/scalable/apps/$_pkgname.svg
}
--
2.46.0

maoyaotang1 commented on 2024-09-05 21:47 (UTC)

忘记添加依赖了

taotieren commented on 2024-09-05 17:06 (UTC)

本地编译测试报错

==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found i4tools_v3.06.006.rpm
-> Found i4tools.desktop
-> Found run.sh
-> Found LICENSE.txt
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
-> Extracting i4tools_v3.06.006.rpm with bsdtar
==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat '../run.sh': No such file or directory
==> ERROR: A failure occurred in package().
Aborting...

修改后

# Maintainer: MYT1 <MYT1 @ QQ .com>
# Maintainer: i4 <admin@i4.cn>
# Maintainer: taotieren <admin@taotieren.com>
pkgname=i4tools-bin
_pkgname=i4tools
pkgver=3.06.006
_pkgver=v${pkgver}
pkgrel=1
pkgdesc='简单好用的多功能苹果设备管理助手。'
arch=('x86_64')
url="https://www.i4.cn/pro_pc.html"
license=('custom')
depends=(
    'bash'
    'brotli'
    'curl'
    'expat'
    'gcc-libs'
    'glib2'
    'glibc'
    'git'
    'hicolor-icon-theme'
    'libffi'
    'libp11-kit'
    'openssl'
    'sqlite'
    'util-linux-libs'
    'zlib')
source=(
    "${_pkgname}_${_pkgver}.rpm::https://d-updater.i4.cn/i4linux/deb/${_pkgname}_${_pkgver}.rpm"
    "$_pkgname.desktop"
    "run.sh"
    "LICENSE.txt::https://www.i4.cn/copyright.html"
)
sha256sums=('298c9dc6543b837edbaa8ed7856b743d8cba179e3c1724d9ca7d7505d9e8fe98'
    'c39f1408107cd69076a37d14326609fb8773717914b5ee335cb039e0bd66e1ed'
    'b7fc9c90852ce99769fb31352e33d387cb8fe8ea3ec4c6a745c73cfd719020b7'
    'f3cc70ece76bae973291aa37ced5a48da64360ec4860e8549240a5f6cd3babd4')
package() {
    install -m755 -d "${pkgdir}/opt/cn.i4Tools"
    install -m755 -d "${pkgdir}/usr/share/pixmaps"
    install -m755 -d "${pkgdir}/usr/share/icons/hicolor/scalable/apps"
    install -m755 -d "${pkgdir}/usr/bin"
    install -Dm755 ${srcdir}/run.sh "${pkgdir}/usr/bin/${_pkgname}"
    install -Dm644 ${srcdir}/$_pkgname.desktop "$pkgdir"/usr/share/applications/$_pkgname.desktop
    cp -r "${srcdir}/opt/apps/cn.i4Tools" "${pkgdir}/opt/"
    install -Dm644 ${srcdir}/LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
    cd "${srcdir}/opt/apps/cn.i4Tools/resources"
    cp logo.png "$pkgdir"/usr/share/pixmaps/$_pkgname.png
    cp logo.svg "$pkgdir"/usr/share/icons/hicolor/scalable/apps/$_pkgname.svg
}

taotieren commented on 2024-09-05 16:53 (UTC)

i4tools 也是奇怪,前段时间给他们反馈过,说是停更了,就弃置了,现在又更新了。。。

deconf commented on 2024-01-18 05:08 (UTC)

sudo ln -sf /usr/lib/libsodium.so.26.1.0 /usr/lib/libsodium.so.23

Universebenzene commented on 2024-01-18 02:56 (UTC)

Like the libwebp.so.6, libsodium.so.23 can also be created as link to solve the problem that @deconf mentioned.

deconf commented on 2024-01-18 02:48 (UTC)

/usr/share/i4tools/i4toolslinux: error while loading shared libraries: libsodium.so.23: cannot open shared object file: No such file or directory

kearneyBack commented on 2023-03-15 12:03 (UTC)

存在遥测功能,不可关闭

kearneyBack commented on 2022-11-21 02:55 (UTC)

ifuse 都不能导入音乐,这个是i4tool咋做到的