Skip to content

Unbreak qt5.full, add qt3d, qtgamepad, qtremoteobjects#102490

Closed
Lucus16 wants to merge 4 commits intoNixOS:masterfrom
Lucus16:qt
Closed

Unbreak qt5.full, add qt3d, qtgamepad, qtremoteobjects#102490
Lucus16 wants to merge 4 commits intoNixOS:masterfrom
Lucus16:qt

Conversation

@Lucus16
Copy link
Copy Markdown
Contributor

@Lucus16 Lucus16 commented Nov 2, 2020

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 broke qt5.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 in out. I added out to the used outputs of the qt5.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
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@Lucus16 Lucus16 requested a review from ttuegel as a code owner November 2, 2020 15:30
@ofborg ofborg bot added the 6.topic: qt/kde Object-oriented framework for GUI creation label Nov 2, 2020
Copy link
Copy Markdown
Member

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?

Copy link
Copy Markdown
Contributor Author

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.

Copy link
Copy Markdown
Member

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.

@Lucus16 Lucus16 force-pushed the qt branch 2 times, most recently from bb640fe to 7d8ad16 Compare November 6, 2020 09:17
@ofborg ofborg bot added 8.has: clean-up This PR removes packages or removes other cruft 8.has: package (new) This PR adds a new package labels Nov 6, 2020
@ofborg ofborg bot requested review from Phreedom and svanderburg November 6, 2020 09:44
@ofborg ofborg bot added 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. labels Nov 6, 2020
@ofborg ofborg bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Nov 6, 2020
@ofborg ofborg bot requested review from ebzzry and zraexy November 6, 2020 11:29
Comment on lines 5335 to 5339
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @FRidh

@veprbl veprbl mentioned this pull request Nov 12, 2020
69 tasks
@doronbehar
Copy link
Copy Markdown
Contributor

@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.

@SuperSandro2000 SuperSandro2000 added the 2.status: merge conflict This PR has merge conflicts with the target branch label Dec 25, 2020
@SuperSandro2000
Copy link
Copy Markdown
Member

@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
@Lucus16
Copy link
Copy Markdown
Contributor Author

Lucus16 commented Dec 26, 2020

Rebased. I don't have access to a build machine right now so I haven't tested.

@ofborg ofborg bot removed 6.topic: python Python is a high-level, general-purpose programming language. 2.status: merge conflict This PR has merge conflicts with the target branch labels Dec 26, 2020
Copy link
Copy Markdown
Contributor

@doronbehar doronbehar left a 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.

Comment on lines -202 to +208
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
Copy link
Copy Markdown
Contributor

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.

mkDerivation, lib,
extra-cmake-modules, boost,
qtbase, qtscript, qtquickcontrols, qtwebkit, qtxmlpatterns, grantlee,
qtbase, qtscript, qtquickcontrols, qtxmlpatterns, grantlee,
Copy link
Copy Markdown
Contributor

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.

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,
Copy link
Copy Markdown
Contributor

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.

@stale
Copy link
Copy Markdown

stale bot commented Jun 26, 2021

I marked this as stale due to inactivity. → More info

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 26, 2021
@SuperSandro2000
Copy link
Copy Markdown
Member

Closing due to inactivity from author.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 6.topic: qt/kde Object-oriented framework for GUI creation 8.has: clean-up This PR removes packages or removes other cruft 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants