-
-
Notifications
You must be signed in to change notification settings - Fork 14k
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
insync: 3.3.5.40925 -> 3.8.5.50499 #205954
Conversation
Current the binary crashes, will find the root cause of it. |
a17610e
to
b3a8b06
Compare
Pulled out the python packages change to #207829 |
When you are eventually ready to merge this, would you like to take over maintainership of the derivation in nixpkgs? I'm going to remove myself from the meta.maintainers line since I haven't been using insync for a few years now. |
c053dfd
to
67a31ba
Compare
Happy to do so, since I am still using it as part of the workflow. I don't know how to add myself to maintainers list yet, I will look into it. |
For some reason, the system tray icon is not visible. I am using It seems a chronic bug in upstream insync, I will consider it a known bug and mark this PR ready for now. |
Never mind, I just noticed that you already removed yourself from upstream. Ready to merge! |
67a31ba
to
7c5a09b
Compare
bab484e
to
a948ae9
Compare
doing some testing now! |
Now things segfault using or not using steam-run:
to be continued... |
Good news folks! It works now! Without using full steam-run, instead with a very minimum FHS! Please give it a try! Although the system tray icon still not working:
I will give a few more debugging of this before call it known bug and consider we are good to go for this package again! |
@ofborg build insync |
206998a
to
4c5f1b0
Compare
Everyone this is ready now!!
|
Please don't use steam-run as it is giant and has a proprietary dependencies on steam, use a plain fhs instead and add the libraries that are required to it. |
in buildFHSEnv { # ref: pkgs/build-support/build-fhsenv-bubblewrap/default.nix | ||
name = "${pname}-${version}"; | ||
inherit meta; | ||
|
||
# for including insync's xdg data dirs | ||
extraOutputsToInstall = [ "share" ]; | ||
|
||
targetPkgs = pkgs: [ | ||
insync-pkg | ||
]; | ||
|
||
multiPkgs = pkgs: with pkgs; [ | ||
# apparently only package needed for the FHS :) | ||
libudev0-shim | ||
]; | ||
|
||
runScript = writeShellScript "insync-wrapper.sh" '' | ||
export QT_STYLE_OVERRIDE=Fusion | ||
exec "${insync-pkg.outPath}/lib/insync/insync" "$@" | ||
''; | ||
# "insync start" command starts a daemon. | ||
dieWithParent = false; |
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 buildFHSEnv { # ref: pkgs/build-support/build-fhsenv-bubblewrap/default.nix | |
name = "${pname}-${version}"; | |
inherit meta; | |
# for including insync's xdg data dirs | |
extraOutputsToInstall = [ "share" ]; | |
targetPkgs = pkgs: [ | |
insync-pkg | |
]; | |
multiPkgs = pkgs: with pkgs; [ | |
# apparently only package needed for the FHS :) | |
libudev0-shim | |
]; | |
runScript = writeShellScript "insync-wrapper.sh" '' | |
export QT_STYLE_OVERRIDE=Fusion | |
exec "${insync-pkg.outPath}/lib/insync/insync" "$@" | |
''; | |
# "insync start" command starts a daemon. | |
dieWithParent = false; | |
in buildFHSEnv { | |
name = "${pname}-${version}"; | |
inherit pname version; | |
# for including insync's xdg data dirs | |
extraOutputsToInstall = [ "share" ]; | |
targetPkgs = pkgs: [ | |
insync-pkg | |
]; | |
multiPkgs = pkgs: with pkgs; [ | |
libudev0-shim | |
]; | |
runScript = writeShellScript "insync-wrapper.sh" '' | |
export QT_STYLE_OVERRIDE=Fusion | |
exec "${insync-pkg.outPath}/lib/insync/insync" "$@" | |
''; | |
# "insync start" command starts a daemon. | |
dieWithParent = false; | |
inherit meta; |
Do we really must enforce the qt style?
Do we need to use multiPkgs aka 32 and 64 bit?
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.
Do we really must enforce the qt style?
Not necessarily, it was added to suppress one warning from Qt output.
Do we need to use multiPkgs aka 32 and 64 bit?
No, only 64bit binaries are shipped from the vendor.
preBuild = '' | ||
addAutoPatchelfSearchPath $out/lib/insync/ | ||
''; |
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.
Do we need this even when using fhs?
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 will give it a try, probably not anymore.
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.
yep, no longer needed, eliminated.
Yep, using |
Anything more I can do to help to get this merged? |
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.
Let's give @SuperSandro2000 a chance to chime in once more before merging but this looks pretty solid to me!
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review/3032/2199 |
pkgs/top-level/all-packages.nix
Outdated
@@ -33912,8 +33912,6 @@ with pkgs; | |||
|
|||
insync = callPackage ../applications/networking/insync { }; | |||
|
|||
insync-v3 = libsForQt5.callPackage ../applications/networking/insync/v3.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.
we should add an alias for this
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 it still good to keep this -v3 alias though? maybe time to deprecate it if there is no intention to keep maintaining multiple versions going forward?
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.
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.
Thank you for pointing this out, I amended the commits!
insync-v3 has been merged into the insync package; use insync instead.
- Simplified packaging process: - Use as much vendor provided binaries as possible. - Only replace glibc with system provided ones (2.36+ required, hence nixos 22.11 is out). - Use buildFHSEnv to create FHS environment to run insync in. Known bug(s): 1) Currently the system try icon does not render correctly. 2) libqtvirtualkeyboardplugin does not have necessary Qt library shipped from vendor.
Good day everyone! I have fixed the alias issue as suggested by @SuperSandro2000 , can this still make to the 2023-05-15 timeline? |
That timeline is not relevant for unimportant leave packages. |
Description of changes
The
insync-v3
package is currently broken in bothmaster
and22.11
.Resolution
Related Issues
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes