radian-software / straight.el

🍀 Next-generation, purely functional package manager for the Emacs hacker.
MIT License
2.68k stars 151 forks source link

packaging of auctex #1165

Open wang1zhen opened 3 days ago

wang1zhen commented 3 days ago

What's wrong

The packaging of auctex has been changed and tex-site.el was replaced by tex-sit.el.in. As there is no process of make, the tex-site.el will be missing, and makes auctex unusable.

Directions to reproduce

(straight-pull-package 'auctex)

Version information

VictorYYW commented 2 days ago

The same issue occurred to me. It looks like tex-site.el somehow get excluded by .gitignore upstream. And the change is mirrored into emacs-straight/auctex. My workaround is to checking out the previous commit and rebuild auctex.

jezcope commented 4 hours ago

I've just got it working with the following :pre-build option to regenerate tex-site.el before straight does its build process:

(use-package tex-site
  :straight (auctex :type git
            :host github
            :repo "emacs-straight/auctex"
            :files ("*" (:exclude ".git"))
            :pre-build ("make" "tex-site.el")))