Skip to content
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

Info manuals not visible #11

Open
lispandfound opened this issue Oct 10, 2022 · 6 comments
Open

Info manuals not visible #11

lispandfound opened this issue Oct 10, 2022 · 6 comments

Comments

@lispandfound
Copy link

Firstly want to say thank you for building this, my experience with this flatpak has been really solid. When I invoke the info manual with M-x info I am missing the emacs manual that would usually be present. This problem persists even with my config disabled via passing the -Q flag. The emacs info manuals are installed to the /app/share/info directory which is populated in the Info-directory-list after invoking (info-initialize). If I invoke info on the emacs manual in this directory manually (using eshell: info emacs.info.gz) it does work, but it does not then populate the directory node of M-x info.

@fejfighter
Copy link
Owner

Sorry it took me a little while to get back to you on this.

it should be fixed now, I did need to clean up my build dirs with recent changes in emacs master but it appears to work for me now

@maddovr
Copy link

maddovr commented Oct 22, 2022

It's still not fixed actually, emacs info manual is still not there, just installed packages manual.

@lispandfound
Copy link
Author

Yup, I tried the fix yesterday and it did not work for me. I thought it was because the "env" field was placed in the wrong place, because I kept getting warnings about it. I tried moving it to the build-options section; it did fix the warning but it did not fix the build.

Somehow, the build is installing the info files to the correct location, but not calling install-info to populate the directory node during the build. My best guess is maybe install-info is not available in the flatpak build sandbox. Admittedly I don't really know anything about how flatpak builds packages, so perhaps it doesn't sandbox the building process at all.

@fejfighter fejfighter reopened this Oct 22, 2022
@fejfighter
Copy link
Owner

@Triagle @maddovr What distro are you running?

I generally use this on a normal Fedora workstation but I have seen a few things that are different on silverblue.

it seems that there are a few "leaky" bits on workstation that don'` occur on silverblue so I get more access to host files than normal

Longer term I do want to move back to silverblue when there's a sway spin but I have not had to time to put one together.

@lispandfound
Copy link
Author

I'm running this in fedora silverblue, and it's built in a toolbox container. The container does have install-info. I tried running the build step without installing, then mucking around with the files to build the directory node manually in the build-dir, and finally installing the flatpak as normal. Flatpak just pulls out a cached copy of the build before installing, so my manual changes don't reflect in the final flatpak. Not sure where it's getting it from.

@fejfighter
Copy link
Owner

I have been able to replicated this on my silverblue system

I can see the same behavior
it's not really ignoring the info bundles on the path (as straight extends that variable) it's seemingly ignoring any gzipped info bundles, will need to look closer tomorrow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants