-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
gsettings-qt: init at 0.1.20170824 #36320
Conversation
|
||
patchPhase = '' | ||
substituteInPlace GSettings/gsettings-qt.pro --replace '$$[QT_INSTALL_QML]' "$out/$qtQmlPrefix" | ||
substituteInPlace GSettings/gsettings-qt.pro --replace '$$[QT_INSTALL_BINS]' "${qtdeclarative.dev}/bin" |
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.
$$[QT_INSTALL_BINS]
needs to be replaced with $out/bin
which will be writable.
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.
In this case $$[QT_INSTALL_BINS]
is being used to locate the binary qmlplugindump
, which can be found as ${qtdeclarative.dev}/bin
or maybe in $PATH
.
qmltypes.extra = export LD_PRELOAD=../src/libgsettings-qt.so.1; $$[QT_INSTALL_BINS]/qmlplugindump -notrelocatable GSettings 1.0 .. > $(INSTALL_ROOT)/$$installPath/plugins.qmltypes
I think I have the derivation working now. But there is an issue yet: if the dependency
@ttuegel Any clues? |
@GrahamcOfBorg build gsettings-qt |
Failure on x86_64-darwin (full log) Partial log (click to expand)
|
Success on aarch64-linux (full log) Partial log (click to expand)
|
Success on x86_64-linux (full log) Partial log (click to expand)
|
Failure on x86_64-darwin (full log) Partial log (click to expand)
|
Success on aarch64-linux (full log) Partial log (click to expand)
|
Failure on x86_64-linux (full log) Partial log (click to expand)
|
I have replaced the dependency on |
Success on x86_64-linux (full log) Partial log (click to expand)
|
Success on aarch64-linux (full log) Partial log (click to expand)
|
Failure on x86_64-darwin (full log) Partial log (click to expand)
|
This replacement is not needed anymore. It seems that there is a bug in |
Success on x86_64-linux (full log) Partial log (click to expand)
|
Failure on x86_64-darwin (full log) Partial log (click to expand)
|
Success on aarch64-linux (full log) Partial log (click to expand)
|
A better workaround: set |
Success on aarch64-linux (full log) Partial log (click to expand)
|
Success on x86_64-linux (full log) Partial log (click to expand)
|
Failure on x86_64-darwin (full log) Partial log (click to expand)
|
Success on x86_64-linux (full log) Partial log (click to expand)
|
Failure on x86_64-darwin (full log) Partial log (click to expand)
|
Success on aarch64-linux (full log) Partial log (click to expand)
|
Failure on x86_64-darwin (full log) Partial log (click to expand)
|
Success on aarch64-linux (full log) Partial log (click to expand)
|
Success on x86_64-linux (full log) Partial log (click to expand)
|
It is a known issue with Nixpkgs that Qt packages must be installed with |
Maybe this PR can already be merged. |
@ttuegel can you merge this PR? |
Thanks. |
Motivation for this change
Add gsettings-qt (Qml bindings for GSettings) package.
It is a dependency for the deepin desktop environment.
I need help to conclude this derivation. Installation is failing. It uses QT5 and it is built with qmake.
cc @ttuegel
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)