Closed AntumDeluge closed 6 years ago
I can't get it to compile.
You can't compile,i can! It need a lot of concentration!
Ya. And how did you get your Android filesystem to support executables?
https://mega.nz/#!UqJVDYAZ!SDqy6V7fCG-t4GRyOpW1fBqTnzL1L5A4PA9yvhbac7A Check makefile and watch my mistakes and type them here ! I'm using GCC v7.2.0 but it's doesn't matter after I'll compile all the required libraries, please check everything in zip and tell my mistakes!
I have opened #1888. Thanks for the detailed request, helped a lot. I can provide deb file for testing if you specify your arch.
@vishalbiswas where is my credit?:weary:
@SamSanuch I didn't use gcc. Didn't see your Makefile. If you compared my pull request, there is nothing in common between our builds.
Thank you both very much!
@vishalbiswas
$ uname -a
Linux localhost 3.10.49-MPI24.241-2.35-1-g84466aa #1 SMP PREEMPT Tue Jul 25 16:01:38 CEST 2017 armv7l Android
armv7l 32-bit is my Android architecture.
@AntumDeluge https://drive.google.com/open?id=162by1hU8BLkt0ZV9w6ZbxcEbzIYmLZj1 Please tell me if there are any regressions.
Thanks a bunch! I have installed it, but probably won't be able to test it thoroughly until tomorrow.
Thanks to @vishalbiswas the package is now available for installation: pkg install pngquant
.
Thank you all so much (yes, you too @SamSanuch 😉). Now I am able to run my scripts on Android.
@AntumDeluge thanks! I'll suggest you something? I think you'll probably love to use this rootfs this a collection of all new tools with extraordinary tools that Official repo not possess https://github.com/xeffyr/termux-rootfs
Thanks @SamSanuch, that does look interesting. It looks like it for 64-bit only though. If that's the case, I won't be able to try it out until I get a 64-bit Android OS. 😢
Description:
(taken from pngquant.org)
pngquant is a command-line utility and a library for lossy compression of PNG images.
The conversion reduces file sizes significantly (often as much as 70%) and preserves full alpha transparency. Generated images are compatible with all web browsers and operating systems.
Features
Homepage: https://pngquant.org/ GitHub: https://github.com/pornel/pngquant
Notes:
libimagequant is the only dependency that I am aware of. I am not sure if it is included with pngquant's source. I only recently started using it.
libimagequant links:
About page: https://pngquant.org/lib GitHub: https://github.com/ImageOptim/libimagequant
I read over #1831 & saw that Arch for Termux was referenced. pngquant does not appear to be included with it (at least, I didn't find it), so I decided to make this package request.
If I felt that I would have the time soon, I would attempt compiling & create a pull request myself. But I honestly don't know when I would be able to get to it.
Also, there is a GUI Android app available called Atomize, but I would still like to have the command line utility.
I would add the Package Request label, but I guess I can't.
Edit: I just found the Termux Create Package repo. I may check this out & see if I can create the package myself if it's not too difficult... if I get time to do so.
Edit: Made a mistake. libpng is required too. Should have known that.