ScreenToGif
ScreenToGif copied to clipboard
Improve chocolatey package
ffmpeg and gifski could be added as choco dependencies. Gifski doesn't exist as choco package yet but I am willing to make it.
That way
- doing
cinst screentogif
would install all of them and configure correctly. - doing
choco update ...
would update only dependencies that actually have a new version - it is also possible to install only main package without dependencies using
--ignore-dependencies
cmd line argument.
What do you think ?
If you accept, I can do relevant work. I also think package should be embedded (i.e. contain binary inside, not just link)
@majkinetor , It would be nice, if you add lossygif to Chocolatey too. See my table — it a best GIF compression tool.
Thanks.
@Kristinita
They don't provide binaries so its a bit complicated as I need to build them myself which I generally do not do.
@majkinetor Hi, sorry for taking so long.
I would like to push this forward, at least with FFmpeg.
With Gifski and SharpDX, it's a little bit different. I think that it's best to bundle together.
Sure, just add 1 line to nuspec file, that it depends on ffmpeg. I am personally involved in keeping this package up to date all the time as you can see in the version history.
If you need any help let me know.
Strange, it's not working on my tests in here:
I added these lines to the nuspec:
<metadata>
<package>
[...]
<dependencies>
<dependency id="ffmpeg" version="4.2.2"/>
</dependencies>
</metadata>
</package>
And I'm trying to test with this command:
choco install -fdv .\screentogif.nuspec
I end up with this error:
screentogif not installed. An error occurred during installation:
Unable to resolve dependency 'ffmpeg (≥ 4.2.2)'.
Forget it, it's working now with this command, running the same folder as the package:
choco install -s "'.;https://chocolatey.org/api/v2/'" -fdv screentogif
Now for the Gifski and SharpDX, I think that I could simply ship my own MSI file. But I'm not sure how existent "choco" installations of ScreenToGif would work.
Because the current package is installed via the portable version.
Now for the Gifski and SharpDX, I think that I could simply ship my own MSI file.
Why not just add them to portable installation directly. Why MSI for 1 simple exe and a library ?
Like suggested I can create gifsky package. If you add it to deps, the exe will then be available on the PATH. If you don't want to depend on choco, you should embedd it.
I'll try to embedd both Gifski.dll and SharpDX.dll.
I just got a message saying Netframework 4.8 is required as well... Could be added as another dep: https://chocolatey.org/packages/netfx-4.8
@lucastheisen Yes, it can be. Thanks.
Is it possible to get an installer in addition to the current portable version, or at least an install argument? Cause the current package is potable only