-
-
Notifications
You must be signed in to change notification settings - Fork 15k
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
Deprecate lesstif: port motif to darwin and switch texlive to motif #17359
Comments
I'm currently compiling this on my 10.9 machine and it seems to compile fine with only minimal changes.
Especially I didn't have to remove My changes are located here: knedlsepp@d148388 I have only tested a few of the demos and they seem to work correctly. |
@knedlsepp nice :) I'll comment on the changes but for the most part you just need to condition the changes for darwin only using Edit: And Thanks :) Especially for catclock :D |
Ok. I'll add the removal of |
@knedlsepp thanks :) I kept commenting a little further as well explaining some of the whats and whys... Btw, it will probably be faster to push a PR and move the review over there. I don't have merge privileges so I suspect one of nixpkgs maintainers would want to weight in on the changes and make some of their own alterations. |
I have not used any texlive from nixpkgs up until now. It seems the |
It's not deprecated. texLive refers to texlive. Do the following:
There's also texlive-new which represents the current texlive as opposed to the stable derivation. Regardless, at this point we actually shouldn't be doing it ourselves. Once your darwin motif PR gets committed, I'll CC the texlive maintainers and have them make the switch themselves. Edit: err |
But texLive is an old derivation, and texlive is a new infrastructure. |
@AndersonTorres see my previous comment. Also, run |
It doesn't imply texLive being "upstream-maintained". |
I'm not sure which texlive package depends on motif.
As https://nixos.org/wiki/TexLive_HOWTO explains. However, #17347 is probably holding us back on the first one. Anyhow, even if I was sure this was all there is to it and that there's no need to get the texlive maintainers involved right up until PR time, I'd still prefer to at least wait until everything else is committed to master. Maybe even unstable... Still, if you'd like, nothing is stopping you from running with this. (EDIT) Admittedly, texlive-new is configured with "--without-x" so no one will even notice this change... |
The old texlive package can't be recompiled (mirror gone; missing tarballs. #10026 (comment)). So, I'm trying to piggy back on the upgrade PR for texlive-new (#16391). (EDIT) To expand on that, the texlive people overwrote the tarballs on their website so the package broke. That is, if one were to try |
Just note these are both about "texlive-new" (as typically used, by the directory name). The really old |
Thanks! |
Currently, TexLive is the last package to depend on lesstif. Lesstif was abandoned circa 2012 (http://lesstif.sourceforge.net/ dates the last commit to May 27, 2009) when motif became available under lgpl. By contrast, motif just received an update and is available in nixpkgs (https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/motif/default.nix).
As such, if a Mac user could port the motif package to darwin, it would be possible to completely deprecate lesstif.
How to fix:
Try to compile motif on darwin with the demos. Resolve any issues.(DONE; motif: Add support for darwin #17410)Disable demos.(DONE; motif: Add support for darwin #17410)Try porting catclock (it should work as is since it's very minimal x11 and motif and upstream already tested it on mac).(DONE; motif: Add support for darwin #17410)The text was updated successfully, but these errors were encountered: