termux / termux-packages

A package build system for Termux.
https://termux.dev
Other
13.05k stars 3k forks source link

leanify #20885

Closed TPS closed 2 months ago

TPS commented 2 months ago

Why is it worth to add this package?

Very good recursive minifier/optimizer for a wide variety of compressed archives, documents, & files

Home page URL

https://github.com/JayXon/Leanify

Source code URL

https://github.com/JayXon/Leanify

Packaging policy acknowledgement

Additional information

N.B.: Project no longer has standard releases, but has more of rolling releases.

TomJo2000 commented 2 months ago

That packaging list is looking pretty slim. https://repology.org/project/leanify/versions

and the commits are looking pretty sporadic. https://github.com/JayXon/Leanify/commits/master/

I'm not opposed to this package, but I think it would be a better fit for the TUR.

TPS commented 2 months ago

@TomJo2000 Would you be willing to move the request there? 🙇🏾‍♂️

TomJo2000 commented 2 months ago

I can do that later. I have it very close to building fine locally.

The Makefile just doesn't have a install target, so I need to overwrite that step of the build process. Other than that, was pretty simple to get it to compile. Just had to add

TERMUX_PKG_DEPENDS='libiconv_open'
# and
termux_step_post_configure() {
    CFLAGS+=' -Wno-error=unused-but-set-variable'
    LDFLAGS+=' -liconv'
}

to the standard build script template after filling in the package details.

TomJo2000 commented 2 months ago

Got it building. I'll tidy it up, do some testing and send a pull request to the TUR after I get back from running some errands.

TomJo2000 commented 2 months ago

Closed by termux-user-repository/tur#1123