-
Notifications
You must be signed in to change notification settings - Fork 11
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 doxymacs
to non-GNU ELPA
#7
Comments
Hi, I can not find Doxymacs in MELPA.
If I have something wrong? |
It is on our todo list to put |
As it is tagged as help-wanted: Would you like to describe which kind of help you have in mind? |
@keinstein, I haven't looked at how to add packages to MELPA. It's help-wanted, because it would be a really great thing to do, it's something that isn't high on my priority list, and it's something I think is low-hanging fruit that someone could come in and tackle without much experience with the codebase. That last bit in particular is different from, e.g, adding support for doxypress, which is also on my radar, but which I know will involve some deep changes to the code to get it to the place I want it to be. |
Hey, I spent some time looking into this, since me and many others on IIRC where I tried to add this to melpa, since to me it seems to have the best instructions (doxymacs :fetcher github
:repo "pniedzielski/doxymacs") This managed to clone the repository as it should but then failed to build the Problem with current setupCurrently, there exists no Solution(s)QuickAdd a file Build instructions of AUR -> PKGBUILD since this repo's INSTALL appears to be outdated./bootstrap
./configure --prefix=</path/to/install/dir>
make
make install If specifying Not so quickRewrite the C portion of the code in elisp and include it in the appropriate I would be willing to conduct further experiments to try and get it to work using a fork. Greetings |
one step into the direction of the "Quick" fix mentioned in pniedzielski#7
First, thank you for your investigation and detailed write-up. This gave me the information I needed! Your quick solutionI took a look at your fork with your quick solution. While it should do the job, it does mean that every time the package is loaded, we recreate our configure script, our Makefile, our The path pdf-tools takes is to let the user explicitly choose when to compile the package's C component, which seems better to me. The user has to opt-in. (Also, the build instructions currently are for running from a packaged version, created by Getting rid of autotools, etcTo me the biggest issue you've found is not the C program, but autotools. If we can get rid of our autoconf setup in its current form, we'll be in a much better position to put the package on ELPA. There are a few parts to this, some independent: Currently we use autoconf both to substitute in some variables in the Now, as you suggested we can go further and remove the C code. For the XML parser in C, I've been hoping to get rid of this for a while (issue #16), but two things have kept me back:
This is the way I'd like to go, but it may be worth putting the package in (M)ELPA before removing the C code. This way, at least, anyone who's working on a large project that does need the external C parser will not have the rug pulled out from under them. MELPA vs non-GNU ELPAWhile MELPA is the biggest package archive, I think it may be best to target non-GNU ELPA, because that will put this package in the hands of all Emacs users by default, and I can control the release cycle. The instructions for adding a package to non-GNU ELPA are different, though not terribly hard. But, I don't think most of what you've found depends strongly on that MELPA script. It is possible to add it to both, and some packages do that, but I'll have to be very careful with versioning. Next stepsIf you're interested in pursuing this, absolutely! If not, I can start on removing the elisp side of autotools and adding a |
Hey, @pniedzielski MELPA was the first thing that I stumbled upon, which was why I thought it might I would love to continue this saga on helping doxymacs into the package It would be fantastic if you could have a look at the options at our disposal to The spontaneous and sneaky execution of shell commands you mentioned were a I will keep you updated if I find out anything new and I'm glad to work together |
Hey, @pniedzielski To get where this is right now, I needed to ditch automake in the process of refactoring the repository structure once more; Instead, a Makefile can be used to build all source files. I first built the package using the Configuring the build in a fine-grained manner is thus no longer an option, but I don't know how many people made use of that feature beforehand. Furthermore I have not tested building the package using XEmacs, since it is not supplied by my package manager and I was too lazy to build it myself because it's also not in the AUR either. The To get the doxymacs repository a bit cleaner, we could think about merging the Copy-license files into one file that tells users that redistribution is possible under the conditions of GPLv2+. |
@L0ren2 I'm just giving you an ACK; I'll have a chance to look at your fork this evening, and we can move forward with this. If it looks good overall, you can make a PR, I can take a look at the details, and we can get the ball moving on submitting this to nonGNU ELPA. Thanks again for your work on this! |
Hey, I just posted a pull request after making some final changes on my end. |
Hey,
|
No description provided.
The text was updated successfully, but these errors were encountered: