-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
texmacs: 1.99.11 -> 1.99.13 #84816
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
texmacs: 1.99.11 -> 1.99.13 #84816
Conversation
@roconnor This is a pretty straight forward update. Can I do anything to move this along? |
Rebased on latest master and bumped version update to 1.99.13. |
Result of 1 package built:- texmacs |
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.
👍 change LGTM
👍 commit LGTM
✔️ resulting texmacs
binary works
Edit: I've tested the wrong revision.
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.
Tried to test the binary with
git checkout 49f14e49ebbe42699ba9393aa68e7aea73fae6fa
nix run -f . texmacs -c texmacs
this resulted in
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Aborted (Speicherabzug geschrieben)
Appears to work for me. NixOS unstable, sway 1.4,
Opens a window with TexMacs, all the editing works. However, for some reason it shows
Which doesn't seem to match the version in the PR's title. |
@balsoft: Title does not match because upstream forgot to update the version string used by CMake before tagging the release. And the fix is only in master. Also it should be noted that @das-g was able to resolve his issues by installing |
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 can confirm that after adding qt5.qtwayland
to environment.systemPackages
(followed by nixos-rebuild switch
),
nix-shell -I nixpkgs=. -p texmacs --run 'QT_QPA_PLATFORM=wayland texmacs'
in a repo with 49f14e49ebbe42699ba9393aa68e7aea73fae6fa checked out does work and launches a texmacs window. 🚀
Interestingly, despite setting QT_QPA_PLATFORM
, the following warning is still emitted:
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
(Without the QT_QPA_PLATFORM=wayland
, I'd still get the error messages qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
and Aborted (Speicherabzug geschrieben)
additionally to the warning, and no texmacs window would appear.)
The toolbar icons and the UI in general seem much larger than they were with texmacs 1.99.11:
Result of 1 package failed to build:
|
Build fails for me:
|
49f14e4
to
2a454a2
Compare
@doronbehar Thank you for your feedback. It indeed requires some minor backward-compatible patching with Qt 5.15, which hopefully will be included in the next release (texmacs/texmacs#43). I included the patch and rebased everything on master. |
2a454a2
to
169cefc
Compare
|
169cefc
to
a0a1b1b
Compare
@doronbehar I am terribly sorry for wasting your time. Somehow snuck in a minor typo hidden by caching. Fixed now. Should I also include da5b670 to fix the returned version as well? |
I'm surprised upstream didn't commit that before they tagged the release.. Yes, I think you should. |
a0a1b1b
to
51603d6
Compare
I was just as surprised. But they do not use CMake for the official release and this only effect CMake builds. Anyhow, I included aforementioned commit/patch as well. |
Result of 1 package built:
|
But it won't launch:
You should use |
675cd0f
to
ccfb18f
Compare
@doronbehar: Thanks again for the feedback. That seemed to have been the issue indeed. Switched to Qt5's |
Result of 1 package built:
|
@FlorianFranzen is this launching for you without qt errors? It doesn't for me, and it won't create a wrapper. I suspect that it's because upstream's diff --git i/pkgs/applications/editors/texmacs/default.nix w/pkgs/applications/editors/texmacs/default.nix
index 8e985711213..aeef43e3f0b 100644
--- i/pkgs/applications/editors/texmacs/default.nix
+++ w/pkgs/applications/editors/texmacs/default.nix
@@ -69,6 +69,10 @@ mkDerivation {
])
];
+ postFixup = ''
+ wrapQtApp $out/bin/texmacs
+ '';
+
inherit (common) postPatch;
meta = common.meta // { |
ccfb18f
to
a30600a
Compare
Forgot that With your fix it now also works in a pure |
You should never need that. Current export QT_QPA_PLATFORM=wayland Credit: https://wiki.archlinux.org/index.php/Wayland#GUI_libraries |
Result of 1 package built:
|
Motivation for this change
Update texmacs to latest release, now build against qt5
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)