Hello,
line 35 in the PKGBUILD should be mkdir -p "$pkgdir/usr/share/applications".
Git Clone URL: | https://aur.archlinux.org/xiaomitool-v2.git (read-only, click to copy) |
---|---|
Package Base: | xiaomitool-v2 |
Description: | Modding of Xiaomi devices made easy for everyone |
Upstream URL: | https://www.xiaomitool.com/V2/ |
Licenses: | custom |
Submitter: | ariasuni |
Maintainer: | davispuh |
Last Packager: | ariasuni |
Votes: | 19 |
Popularity: | 0.057902 |
First Submitted: | 2019-04-28 01:06 (UTC) |
Last Updated: | 2021-05-20 17:01 (UTC) |
Hello,
line 35 in the PKGBUILD should be mkdir -p "$pkgdir/usr/share/applications".
I wonder if you can fix the permissions issue of the package?All if the file or directies are "777".
I managed to build the thing myself (it’s relatively easy) but I spent two hours on it and can’t find how to generate the jar. I don’t have more time to dedicate to it anymore, so I’m stepping down as a maintainer for this package.
The upstream repository has a Linux branch, on top of which you need to apply the latest commit that’s on top of master (a335da6) which is missing from the linux branch and which fixes XiaomiTool V2 apparently. You can probably just use ./gradlew run
for your personal use, but I don’t know for packaging this.
java-11-openjdk & java-8-openjdk/jre both error.
/bin/xiaomitool: line 2: /opt/XiaoMiTool-V2/bin/java: cannot execute binary file: Exec format error /bin/xiaomitool: line 2: /opt/XiaoMiTool-V2/bin/java: Success
The linux version has a bug.
https://github.com/francescotescari/XiaoMiToolV2/issues/23#issuecomment-924575903
Maybe, creating a PKGBUILD that use source and patch the line we can get a usefull version
Making this package on ARM machine processed without any problems. After runnin' I resolve such strings: /bin/xiaomitool: строка 2: /opt/XiaoMiTool-V2/bin/java: не удаётся запустить бинарный файл: Ошибка формата выполняемого файла /bin/xiaomitool: строка 2: /opt/XiaoMiTool-V2/bin/java: Выполнено. Java's already installed. Am I a donkey?
If you're having problem with text. try to install ttf-dejavu
sudo pacman -S ttf-dejavu
XiaoMiTool V2 has its own version of Java and seems to use the default font of the system (Noto Sans here), so I don’t know what’s your problem, EgidioCaprino.
I updated the package so building the package should fail like it did for your, Antikruk.
I still have no idea about your problem, Kush…
With both OpenJDK 8 and latest Oracle's JDK it's showing no text: https://ibb.co/dgpXgNN Can you please help me?
==> Entering fakeroot environment... ==> Starting package()... mv: cannot stat 'XiaoMiTool-V2': No such file or directory ==> ERROR: A failure occurred in package(). Aborting...
Pinned Comments
ariasuni commented on 2019-09-13 15:55 (UTC)
Please, do not flag this package out-of-date unless there is a newer release with a build for Linux (look for the assets named XMT2_Linux_Debian_[VERSION].deb).
The author releases minor versions only for Windows, so we have to wait for a major version to get a new Linux build (since there is no source code that we can compile).