Repository navigation
openshot-qt: 2.1.0 -> 2.2.0 - #22710
Conversation
|
@AndersonTorres, thanks for your PR! By analyzing the history of the files in this pull request, we identified @bjornfor and @TOHL to be potential reviewers. |
|
Thanks for the changes.
There are a lot of changes in the diff without changes in the actual nix
expression. Would it be possible to keep the unchanged things actually
unchanged?
For example, is this change necessary?
- libopenshot = callPackage ./libopenshot.nix {};
+ libopenshot = callPackage ./libopenshot.nix { };
Or this?
- license = licenses.gpl3Plus;
+ license = with licenses; gpl3Plus;
- platforms = platforms.linux;
+ platforms = with platforms; linux;
It is always good to keep the diff minimal for everybody to see the real
changes and not all that formatting noise. It saves everybody time.
For example:
- propagatedBuildInputs = [
- qt55.qtbase
- qt55.qtmultimedia
- libopenshot
- ];
+ propagatedBuildInputs =
+ [ libopenshot qt5.qtbase qt5.qtmultimedia ];
If you change qt55 to qt5, I should see no change to libopenshot.
However, in your diff, there is a change which I have to pay attention
to and there will be in the future, e.g. if somebody changes qt5 to qt.
Or this:
- buildInputs = [
- cmake doxygen
- imagemagick ffmpeg qt55.qtbase qt55.qtmultimedia swig python3 ruby
- unittest-cpp cppzmq czmqpp
+ buildInputs =
+ [ pkgconfig cmake doxygen imagemagick ffmpeg qt55.qtbase qt55.qtmultimedia
+ swig python3 ruby unittest-cpp cppzmq czmqpp
Did something change in regard with cmake, doxygen, unittest-cpp cppzmq
czmqpp? If no, why does it need to be in the diff?
This doesn't bring anything either, or does it?
- openshot-qt = callPackage ../applications/video/openshot-qt { };
+ openshot-qt = callPackage ../applications/video/openshot-qt { qt5 = qt55; };
|
|
Also, you changed qt55 to qt5 but your build inputs still use qt55.
- buildInputs = [
- cmake doxygen
- imagemagick ffmpeg qt55.qtbase qt55.qtmultimedia swig python3 ruby
- unittest-cpp cppzmq czmqpp
+ buildInputs =
+ [ pkgconfig cmake doxygen imagemagick ffmpeg qt55.qtbase qt55.qtmultimedia
+ swig python3 ruby unittest-cpp cppzmq czmqpp
So, what changed here actually? A new dependency, or removed
dependency, or just noise?
|
|
Oh, my mistakes. And yes, I have forgotten to save some pieces of work, like changing all qt55 pieces. But I have tested with qt57 and openshot runs fine. I will fix this now. |
|
The packages should be updated in separate commits, but I think it is ready to merge after that. |
|
When you said "separate commits", it is about updating every component? First libopenhot and after the openshot app itself? |
|
The proper way to build the qt packages is to use |
|
I can see I'm a bit outdated on this things! I will refactor all now (or tonight!). EDIT: failing with the use of qt5.callPackage. |
|
Can we get a re-review, @7c6f434c? |
There was a problem hiding this comment.
cmake and pkgconfig should go into nativeBuildInputs.
There was a problem hiding this comment.
cmake and doxygen (probably) should go into nativeBuildInputs.
There was a problem hiding this comment.
OK, I will do it now! (Sorry by the delay...)
|
Couple of pointers:
|
|
No way. |
|
I just removed myself from the maintainer list as I've settled on the
cli-based melt. If anybody wants, please feel free to take over the
maintenance.
|
|
This is the error message when I use qt5 wrappers:
|
|
You need to pass in |
|
Now it is compiling fine. Can we close it and merge? |
There was a problem hiding this comment.
makeQtWrapper should be in nativeBuildInputs.
There was a problem hiding this comment.
Does it work with libopenshot in buildInputs?
There was a problem hiding this comment.
Yes, I have changed to reflect this.
Also, libopenshot and libopenshot-audio are now directly referenced on all-packages.nix.
|
Many thanks, @peterhoeg ! |
|
No worries, thanks for your patience. Good we got this merged in time for the release of openshot 2.3 y'day! ;-) |
Also, libopenshot: 0.1.2 -> 0.1.3
(nix.useSandbox on NixOS,
or option
build-use-sandboxinnix.confon non-NixOS)
nix-shell -p nox --run "nox-review wip"./result/bin/)