-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unbreak qt5.full, add qt3d, qtgamepad, qtremoteobjects #102490
Conversation
@@ -141,19 +127,18 @@ let | |||
qtwebchannel = callPackage ../modules/qtwebchannel.nix {}; | |||
qtwebengine = callPackage ../modules/qtwebengine.nix {}; | |||
qtwebglplugin = callPackage ../modules/qtwebglplugin.nix {}; | |||
qtwebkit = callPackage ../modules/qtwebkit.nix {}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this the eval error?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand what you mean.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ofborg fails to eval everything and until that I can't run nixpkgs-review.
bb640fe
to
7d8ad16
Compare
pkgs/top-level/python-packages.nix
Outdated
pyqt5_with_qtwebkit = | ||
pkgs.libsForQt514.callPackage ../development/python-modules/pyqt/5.x.nix { | ||
pythonPackages = self; | ||
withWebKit = true; | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @FRidh
@Lucus16 some of the changes here look good. They would be worth putting in a separate PR or PRs, as now qt515.qtwebkit builds and works and the new qt modules added don't relate to qtwebkit for as far as I understand. |
@Lucus16 Please resolve the merge conflict. |
For some qt modules, the default output is bin while the shared objects are still in out. This makes sure all shared objects show up in the qt5.full env. Maybe the default output should always be out instead?
These packages don't seem to need qtwebkit anymore: k3b kreport rocs
Rebased. I don't have access to a build machine right now so I haven't tested. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few nits about the commit log and not the changes themselves. Otherwise looks great to me.
qtcharts qtconnectivity qtdeclarative qtdoc qtgamepad qtgraphicaleffects | ||
qtimageformats qtlocation qtmultimedia qtquickcontrols qtquickcontrols2 | ||
qtscript qtsensors qtserialport qtsvg qttools qttranslations | ||
qtvirtualkeyboard qtwebchannel qtwebengine qtwebkit qtwebsockets | ||
qtwebview qtx11extras qtxmlpatterns | ||
qt3d qtcharts qtconnectivity qtdeclarative qtdoc qtgamepad | ||
qtgraphicaleffects qtimageformats qtlocation qtmultimedia | ||
qtquickcontrols qtquickcontrols2 qtremoteobjects qtscript qtsensors | ||
qtserialport qtsvg qttools qttranslations qtvirtualkeyboard qtwebchannel | ||
qtwebengine qtwebkit qtwebsockets qtwebview qtx11extras qtxmlpatterns |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: It'd be nice if the diff was cleaner and would only include the added modules.
@@ -1,7 +1,7 @@ | |||
{ | |||
mkDerivation, lib, | |||
extra-cmake-modules, boost, | |||
qtbase, qtscript, qtquickcontrols, qtwebkit, qtxmlpatterns, grantlee, | |||
qtbase, qtscript, qtquickcontrols, qtxmlpatterns, grantlee, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: The changes in kdeApplications: remove qtwebkit dependency
IMO should be split to 3 - each change for each package.
@@ -8,7 +8,7 @@ | |||
kwindowsystem, kxmlgui, sonnet, threadweaver, | |||
kcontacts, akonadi, akonadi-calendar, akonadi-contacts, | |||
eigen, git, gsl, ilmbase, kproperty, kreport, lcms2, marble, pcre, libgit2, libodfgen, | |||
librevenge, libvisio, libwpd, libwpg, libwps, okular, openexr, openjpeg, phonon, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another nit: The commit for calligra should explain that openjpeg is used / not used / isn't mandatory for it's build? And that the latest poppler can be used and poppler_0_61 is not needed.
I marked this as stale due to inactivity. → More info |
Closing due to inactivity from author. |
Motivation for this change
qtwebkit
was already marked broken for qt 5.15 and the last commit I found is more than a year old so it is unlikely to be fixed. It brokeqt5.full
by being a part of it so I removed it.For some qt modules, the default output is
bin
while the shared objects are still inout
. I addedout
to the used outputs of theqt5.full
environment so all shared objects are included. Maybe the default output of the qt modules should always be out instead?Added more qt modules: qt3d, qtgamepad, qtremoteobjects
I tested the changes by building
qt5{12,14,15}.full
and running an application that depends on the added qt modules.Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)