conda-forge / emacs-feedstock

A conda-smithy repository for emacs.
BSD 3-Clause "New" or "Revised" License
6 stars 15 forks source link

is it possible to support the Windows platform as well? #54

Open ebo opened 2 years ago

ebo commented 2 years ago

I run Linux everywhere, including at home. At work half our machines are Windows, and we are not allowed to install virtual machines. We were able to get permission to install Anaconda some time back, and while conda-forge supports emacs, it does not do so on Windows. Is it possible to add that as well? Not having emacs on my work laptop is seriously slowing me down.

Thank you.

asmeurer commented 2 years ago

I tried here but didn't get very far https://github.com/conda-forge/emacs-feedstock/pull/4. We need someone who has more experience building stuff on Windows to help, I think. Or at least someone who has the tenacity to figure it all out. If you want to try it, give it a go. I don't do development on Windows, so I don't really have any motivation to do any work on it.

ebo commented 2 years ago

I'll take a quick look. My main issue with taking this on is that my day job focuses on an air-gaped Linux systems. At the moment I do not have compilers on my work laptop, I do not run Win* at home, and getting regular access is likely to be a longer haul than I can commit to at the moment. That said, I will put at least my eyes on it and see if I can pull in some others. Please leave this ticket open for say a month and lets tag back up then. Regardless, thank you for the feedback and the willingness to consider adding it if a developer can be found.

asmeurer commented 2 years ago

Often with conda-forge you can work just using the CI so that you don't have to rely on being able to build the recipe on your own computer. The real challenge here is how to build the package at all. Emacs had to be built with mingw. I would start by checking if there is conda-forge documentation on using mingw, or if there are any other packages built with it that we can emulate.

ebo commented 2 years ago

Thank you again. I will start with any package I can find that builds with mingw and the associated documentation.

pank commented 1 year ago

I don't understand how conda-forge builds stuff, but there's an example of a windows build here that works well:

https://github.com/kiennq/emacs-build

It would be wonderful to have a windows build of Emacs available on conda-forge (for the same reason that ebo mentioned).

asmeurer commented 1 year ago

This just needs someone to work on it. I don't have plans to finish #4 at the moment.

ebo commented 1 year ago

Sorry. I got sidetracked and completely forgot about all this. For the foreseeable future I will not be able to be involved. Should I, or someone else, close this ticket or leave it open to maybe inspire someone who has the experience.

asmeurer commented 1 year ago

Leave it open. The issue is still valid.