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
indicator-application-gtk3: 12.10.0 -> 12.10.1 #45052
indicator-application-gtk3: 12.10.0 -> 12.10.1 #45052
Conversation
Retriggering eval due to master failure |
On a side note, there is a new fork of the indicators spearheaded by the Debian’s Ayatana team. We might want to package it too and ask elementary for its support. |
}; | ||
|
||
nativeBuildInputs = [ pkgconfig autoconf ]; | ||
nativeBuildInputs = [ pkgconfig autoreconfHook systemd ]; |
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 systemd actually a nativeBuildInput
? If it is used at runtime, it should be a buildInput
.
@jtojnar I think that's a good idea and something they would be interested in 👍 |
--replace 'applicationlibdir = $(INDICATORDIR)' "applicationlibdir = $out/lib" | ||
|
||
substituteInPlace configure.ac \ | ||
--replace 'SYSTEMD_USERDIR=`$PKG_CONFIG --variable=systemduserunitdir systemd`' 'SYSTEMD_USERDIR="$out/lib/systemd/user"' |
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.
Can you try setting the PKG_CONFIG_SYSTEMD_SYSTEMDUSERUNITDIR = "$(out)/lib/systemd/user";
attribute in the expression?
substituteInPlace data/Makefile.am \ | ||
--replace "/etc/xdg/autostart" "$out/etc/xdg/autostart" | ||
|
||
substituteInPlace src/Makefile.am \ | ||
--replace 'applicationlibdir = $(INDICATORDIR)' "applicationlibdir = $out/lib" |
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.
Same here with PKG_CONFIG_INDICATOR3_0_4_INDICATORDIR
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.
Lol I tried that early on but I struggle to get the name right even when I look at the pc file :)
335b9fb
to
6e7ad95
Compare
}; | ||
|
||
nativeBuildInputs = [ pkgconfig autoconf ]; | ||
nativeBuildInputs = [ pkgconfig systemd autoreconfHook ]; |
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.
Still in native.
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.
Without it there was no $out/lib/systemd
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.
But should not it be in buildInputs
instead of nativeBuildInputs
?
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.
Oh right. Done.
6e7ad95
to
8ef5a29
Compare
@GrahamcOfBorg build indicator-application-gtk3 |
Success on x86_64-linux (full log) Attempted: indicator-application-gtk3 Partial log (click to expand)
|
Just looking into the lib location. |
I do not see anything out of ordinary. Could you clarify what you mean by
|
Success on aarch64-linux (full log) Attempted: indicator-application-gtk3 Partial log (click to expand)
|
That's because it wanted to install there using the libindicators |
Yes, that should probably be fixed to Not sure if the indicator library supports loading the indicators from there. |
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: indicator-application-gtk3 Partial log (click to expand)
|
For what its worth LGTM, but @jtojnar seems more knowledgeable about his than me so I'm not merging. |
@@ -47,7 +38,16 @@ stdenv.mkDerivation rec { | |||
"localstatedir=\${TMPDIR}" | |||
]; | |||
|
|||
meta = { | |||
PKG_CONFIG_SYSTEMD_SYSTEMDUSERUNITDIR = "$(out)/lib/systemd/user"; | |||
PKG_CONFIG_INDICATOR3_0_4_INDICATORDIR = "$(out)/lib"; |
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.
Needs to be changed to $(out)/lib/indicators3/7/
as per indicator3-0.4.pc
file.
8ef5a29
to
3a73518
Compare
Ok, great :) |
@jtojnar All done here I think |
Motivation for this change
I guess elementary needs this version for the ayatana indicators.
I now includes a systemd user service and xdg autostart.
One thing I noticed is that it wanted to install its libraries to /nix/store/-libindicator-gtk3-/lib/indicators3/7.
I hope that's not important.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)471815040
471811400
cc @jtojnar