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
cudatext: init at 1.111.0 #97063
cudatext: init at 1.111.0 #97063
Conversation
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.
FYI @Alexey-T |
It works, after you configure the "pylib__linux" option
It works. on your screen, we have little count of tabs so they don't scroll. |
Before build, I set full path to $ grep "\"pylib__linux\":" result/share/cudatext/settings_default/default.json
"pylib__linux": "libpython3.so", |
Steps to reproduce:
It looks like Nix lexer was not actually installed. |
I've just found the root cause, CudaText on first start copy data folder from nix store into |
IMO yes, it should work.
but default.json is not read by program, it's only for user reference. |
Cud runs this:
so permissions 555 is copy from your dir, which is 555. |
Indeed, folder in nix store have 555 permissions. IMHO, It would be good if CudaText would make no assumption about source permissions and force 755 while copying. What do you think? |
Yes, agree. Will try to change that code part. |
Made this change. do you need new linux build? |
Thanks!
No, nix package doesn't use binary CudaText packages, but build it from sources. So I can just apply your patch. |
Nix lexer is now installed by default, just for convenience of Nix users. |
I built it again, but can't see the changes. Plugins still don't appear and Nix is not known.
|
Check that file Nix.lcf exists in the .config/cudatext/data/lexlib. |
Plugins don't appear? But python console panel input works OK? press Ctrl+tilde - input works ok? |
I've not commited yet, wait a bit... |
@davidak Check it now, it works for me. |
Just note that currrent version is 1.111.0. |
I don't see 1.111.0 in https://github.com/Alexey-T/CudaText/tags. |
Ah, "tag" will be little later, in 1-2 days. |
@Alexey-T Just in case, is there any repo where I can find CudaText translations other than https://sourceforge.net/projects/cudatext/files/addons/translations/? I can't find it in https://github.com/CudaText-addons as well. I want to allow users to optionally install more languages by default, like it's done for libreoffice:
The problem is that we need somehow versioned permanent links, but sourceforge files are not (after translations files update, links will be the same, but sha256 will be changed). |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
@davidak I've added |
fa60eb8
to
9d32d5d
Compare
ace9e78
to
94ccb49
Compare
I'm using the GTK-based Pantheon desktop. |
1.111.0 is out meanwhile (fixes problem with permissions, so we can remove patching), so let me to update and I thnk we are ready to proceed. |
@7c6f434c Update to 1.111.0 is done and verified, feel free to proceed with merge. |
Motivation for this change
CudaText is a cross-platform text editor, written in Lazarus.
Resolves #56339.
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)