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

Add oz Emacs to MELPA repo #170

Open
mcandre opened this issue May 3, 2013 · 4 comments
Open

Add oz Emacs to MELPA repo #170

mcandre opened this issue May 3, 2013 · 4 comments

Comments

@mcandre
Copy link

mcandre commented May 3, 2013

I like how oz-mode comes builtin with Mozart/Oz, and how it's offered on Marmalade. That makes it convenient to view and edit Oz code in environments where you don't have Oz installed. Could we also add this package to MELPA?

@sjmackenzie
Copy link
Member

What a great idea, why not?

@milkypostman
Copy link

We would be happy to work with someone to make changes to MELPA so that this package could be included but if you have a look at melpa/melpa#749 you can see that there are some code changes that would need to be made so that some of the pre-processing your build files do can be done by our server when processing the .el.in files.

If there is someone passionate about taking this on and helping us work on a solution please feel free to swing over to melpa/melpa#750 and let us know what we can do.

@sjmackenzie
Copy link
Member

Pull requests are welcome!

What exactly is needed to make this work with MELPA?

@milkypostman
Copy link

Minor issue: The .el file does follow the necessary conventions for packages. Also the file would need to be named mozart.el but that is something we can deal with if there is significant issue to changing the naming.

Major issue: The file has some entries like $version$ that apparently get replaced by the Makefile? Normally a file like this needs to have a line like,

;; Version: 1.0

or some other version besides 1.0. It's actually irrelevant to us because we replace the line but we require some well-formed line to be there because we use the package-buffer-info function to extract info from the file during our build process and that function will throw an exception if the Version line is not present.

We have considered, many times, allowing for preprocessing on our end---our server is creating packages from the source---but we do not allow arbitrary Makefiles from the repos themselves.

I think in this case what should be done is,

  • Rename the file to mozart.el
  • Update the file to have the proper format for packaging.
  • Add a line that is ;; Version: 0
  • Change the Makefile to look for a line starting with ;; Version: and have it replace that line with the correct version number.

I apologize that I don't have the time or the interest in doing this. Possibly someone here, like @mcandre, would be willing to help?

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