Page 1 of 2

Three more package requests: XnView MP, NConvert, ffqueue

Posted: Sat Aug 04, 2018 10:50 am
by thomasl
These are all apps I am currently using in my Windows installs. All are also available in native Linux versions and can be downloaded from their authors' websites.

XnView MP is the enhanced version of XnView Classic. It is a powerful picture viewer, browser and converter for Windows, Mac and Linux. This software can read more than 500 formats change picture size, reduce picture file size and much more! See https://www.xnview.com/en/xnviewmp/

NConvert is a powerful command line multi-platform batch image processor with more than 80 commands. Compatible with 500 image formats. See https://www.xnview.com/en/nconvert/

FFQueue is (yet another) graphical user interface for FFMpeg with comprehensive support for both the basic features but also the more advanced features like filtergraphs. FFQueue makes it easy to create multiple jobs and process them as a single queue. See http://ffqueue.bruchhaus.dk/

Re: Three more package requests: XnView MP, NConvert, ffqueue

Posted: Sat Aug 04, 2018 11:17 am
by Jerry3904
XnView MP installs without problem on my testing machine.

I didn't spend much time on it--was just interested since I am currently evaluating batch resize options.

Re: Three more package requests: XnView MP, NConvert, ffqueue

Posted: Sat Aug 04, 2018 11:44 am
by thomasl
Jerry3904 wrote:
Sat Aug 04, 2018 11:17 am
XnView MP installs without problem on my testing machine.
I would expect that it does. I mainly posted this here because I was/am under the impression that the Repo guys prefer to have those apps in the repo rather than having us download and install them directly. But perhaps I am wrong.

Re: Three more package requests: XnView MP, NConvert, ffqueue

Posted: Sat Aug 04, 2018 12:01 pm
by Jerry3904
Sorry, I was just recording that for the Packagers.

Re: Three more package requests: XnView MP, NConvert, ffqueue

Posted: Sat Aug 04, 2018 12:10 pm
by timkb4cq
While I have used both XnView and NConvert and agree they are fine programs, there are reasons they can't go in our repositories.

NConvert's free license doesn't allow distribution.
XnView MP has a slightly different restriction:
XnView MP is provided as FREEWARE (NO Adware, NO Spyware) for private or educational use (including non-profit organizations).
We can't police how our users use the software in our repositories so, like debian, we don't put packages with that restriction in our repositories.

I hadn't heard of FFQueue but it looks interesting and it's licensed GPL-3+ so that one certainly deserves consideration.

Re: Three more package requests: XnView MP, NConvert, ffqueue

Posted: Sat Aug 04, 2018 12:54 pm
by thomasl
@timkb4cq: I see, hadn't realised that. So perhaps another point to add to that posting about what we should do and check before requesting stuff might be to make sure it is actually under a permissive license.

Re: Three more package requests: XnView MP, NConvert, ffqueue

Posted: Sat Aug 04, 2018 1:28 pm
by Stevo
A workaround for programs with restrictive licenses like would be to add them to the Package Installer, so it gets them directly from the download site. A nice touch would be to pop up the license if it's restrictive and have the user agree to it, but I don't know if MXPI can handle that. If not, maybe just adding "free for personal use only" in the description would be enough.

Re: Three more package requests: XnView MP, NConvert, ffqueue

Posted: Sat Aug 04, 2018 2:01 pm
by fehlix
Stevo wrote:
Sat Aug 04, 2018 1:28 pm
A workaround for programs with restrictive licenses like would be to add them to the Package Installer, so it gets them directly from the download site. ...
I wonder if we could add to those package download-installs
a sha256-checksum test , even if we do not have signatures or checksums
provided by the owner of those packages.
The sha256-checksum we could create once when preparing the download-installer.
This would avoid having users get injected with "bad" packages, where
the download-side may have been hacked (or otherwise bad redirected).
If the check-sum test fails, warning might be shown, that something have changed,
either a new version or something else.

Re: Three more package requests: XnView MP, NConvert, ffqueue

Posted: Sat Aug 04, 2018 2:46 pm
by Stevo
I'm looking at FFQueue, but the source's build files as they are shipped will not work. I see that the Arch AUR PKGBUILD modifies a couple files with the sed command, which is how they handle that instead of using patches, but I don't know exactly what the result is so I could duplicate that manually and then turn the changes into a patch:

Code: Select all

sed -i "s?m_ConfigPath = exe;?m_ConfigPath = wxGetCwd();?g" ./src/utils/FFQConfig.cpp
sed -i "s?WX:=../wxWidgets?WX:=/usr/lib/wx?g" ./Makefile.lin
sed -i "s?\$(WX)/gtk-build/wx-config --version=3.1 --static=yes?wx-config?g" ./Makefile.lin
sed -i "s?LINKVARS:=\$(shell wx-config --debug=no --libs) -s -static-libgcc -static-libstdc++?LINKVARS:=\$(shell wx-config --debug=no --libs)  -s -static-libgcc -static-libstdc++ -lz?g" ./Makefile.lin

Re: Three more package requests: XnView MP, NConvert, ffqueue

Posted: Sun Aug 05, 2018 6:17 am
by thomasl
Stevo wrote:
Sat Aug 04, 2018 1:28 pm
A workaround for programs with restrictive licenses like would be to add them to the Package Installer, so it gets them directly from the download site. A nice touch would be to pop up the license if it's restrictive and have the user agree to it, but I don't know if MXPI can handle that. If not, maybe just adding "free for personal use only" in the description would be enough.
It would certainly be nice if there was either a way to get such packages via MXPI or at least an entry with a hint (perhaps a popup) that there's a reason why they can't be downloaded with (and won't be included in) MXPI.