Package Base Details: rust-git

Git Clone URL: https://aur.archlinux.org/rust-git.git (read-only, click to copy)
Keywords: mozilla rust
Submitter: mrshpot
Maintainer: spider-mario (ishitatsuyuki)
Last Packager: ishitatsuyuki
Votes: 28
Popularity: 0.000000
First Submitted: 2012-01-21 11:30 (UTC)
Last Updated: 2022-11-10 14:57 (UTC)

Latest Comments

« First ‹ Previous 1 .. 7 8 9 10 11 12 13 Next › Last »

thestinger commented on 2013-05-01 21:34 (UTC)

The llnextgen/naturaldocs optdepends can be removed now, and the pandoc one should be changed to haskell-pandoc.

thestinger commented on 2013-01-30 00:35 (UTC)

@ackalker: It's reported upstream already and is harmless (just annoying), which is why it hasn't gotten any attention yet.

ackalker commented on 2013-01-30 00:31 (UTC)

s/hear/here/ # ;(

ackalker commented on 2013-01-30 00:30 (UTC)

After building and installing this package, and every time something runs 'ldconfig', I get these warnings: ldconfig: File /usr/lib/libcargo.so is empty, not checked. ldconfig: File /usr/lib/librusti.so is empty, not checked. ldconfig: File /usr/lib/librustdoc.so is empty, not checked. ldconfig: File /usr/lib/librustc.so is empty, not checked. Probably an upstream bug, but posted hear just FYI.

thestinger commented on 2013-01-03 07:27 (UTC)

Would be nice if this included provides=(rust) and conflicts=(rust). Thanks!

<deleted-account> commented on 2012-12-23 20:40 (UTC)

ah, ok, that makes sense. But you certainly want to avoid copying the Makefile don't you? It *did* work, btw. :) Thanks!

spider-mario commented on 2012-12-23 19:35 (UTC)

The thing is, if the .el files are copied too, then the user can install emacs after building the package and still be able to use the mode (though it will be slower than if it has been precompiled). That is the reason why only the call to make is in the if.

<deleted-account> commented on 2012-12-23 19:03 (UTC)

I'm trying it out now, but I made the following modifications: cp -a *.elc "$pkgdir/usr/share/emacs/site-lisp/" # copy just the .elc files It also might be useful to wrap this whole section in the if: if which emacs > /dev/null; cd src/etc/emacs; make; install --directory "$pkgdir/usr/share/emacs/site-lisp/"; cp -a *.elc "$pkgdir/usr/share/emacs/site-lisp/" echo "enable rust-mode in emacs by adding (require 'rust-mode) to your ~/.emacs file" fi Something along these lines perhaps.

spider-mario commented on 2012-12-23 18:04 (UTC)

I’ve just given it a try, please let me know whether it works.

<deleted-account> commented on 2012-12-23 17:43 (UTC)

For emacs, you need to first build the files in the emacs directory. I'm not sure what the pre-reqs for this are (you at least need emacs installed though). the emacs files are in src/etc/emacs. You need to run make from this directory. Then you copy all the .elc files from there to /usr/share/emacs/site-lisp/ After that you need to add (require 'rust-mode) to your ~/.emacs file (This can probably just be some post-install output for the user to act on). I'm not sure how to do all this in the PKGBUILD right now. I'll look into (and I'm testing some stuff now) and I'll hopefully get back to you with a patched PKGBUILD, but if anyone can do this quickly off the top of their head, that'd be great too :)