this post was submitted on 13 Nov 2023
0 points (50.0% liked)
Emacs
313 readers
2 users here now
A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!
Get Emacs
Rules
- Posts should be emacs related
- Be kind please
- Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.
Emacs Resources
Emacs Tutorials
- Beginner’s Guide to Emacs
- Absolute Beginner's Guide to Emacs
- How to Learn Emacs: A Hand-drawn One-pager for Beginners
Useful Emacs configuration files and distributions
Quick pain-saver tip
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
You could check openSUSE or Arch Linux's packaging to see how you can achieve this.
I think the one of openSUSE is the most concrete as it will use the Wayland binary on Wayland and the X11 binary on X11 and so on.
Check out the spec file here:
https://build.opensuse.org/package/view_file/editors/emacs/emacs.spec?expand=1
The build process starts at the %build section.
I'm using arch, couldn't find anything like my case. But openSUSE build seems like a good way.