mirror of
https://git.proxmox.com/git/rustc
synced 2026-01-02 03:01:59 +00:00
alpha 2 removed emacs, kate & vim plugins
This commit is contained in:
parent
1c8ac2b079
commit
1f1dbfca17
1
debian/TODO.Debian
vendored
1
debian/TODO.Debian
vendored
@ -6,5 +6,6 @@
|
||||
* Create a runtime package (rust-runtime)
|
||||
* Move the runtime library into a public directory
|
||||
* Fix the parallel build (failing on tests)
|
||||
* Package the various editors plugins (emacs, kate & vim)
|
||||
|
||||
-- Sylvestre Ledru <sylvestre@debian.org> Tue, 20 Jan 2015 08:50:28 +0100
|
||||
|
||||
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -6,7 +6,6 @@ rust (1.0.0~alpha-0~exp2) experimental; urgency=medium
|
||||
- Improving of the parallel syntax
|
||||
- Use override_dh_auto_build-arch
|
||||
- Use override_dh_auto_build-indep
|
||||
- Introduction of rust-mode, vim-syntax-rust & kate-syntax-rust packages
|
||||
- Better declarations of the doc
|
||||
- Update of the description
|
||||
- Watch file updated (with key check)
|
||||
|
||||
25
debian/control
vendored
25
debian/control
vendored
@ -65,28 +65,3 @@ Description: Rust systems programming language - Documentation
|
||||
styles.
|
||||
.
|
||||
This package contains the documentation.
|
||||
|
||||
Package: rust-mode
|
||||
Architecture: all
|
||||
Depends: emacs24 | emacsen, ${misc:Depends}
|
||||
Suggests: rustc
|
||||
Description: Rust mode for emacs
|
||||
This package provides a GNU Emacs major mode for editing code in the
|
||||
Rust programming language.
|
||||
|
||||
Package: vim-syntax-rust
|
||||
Architecture: all
|
||||
Depends: vim, ${misc:Depends}
|
||||
Recommends: vim-addon-manager
|
||||
Suggests: rustc, vim-syntastic
|
||||
Description: Vim highlighting syntax files for Rust
|
||||
This package provides syntax files for the Vim editor for editing code
|
||||
in the Rust programming language.
|
||||
|
||||
Package: kate-syntax-rust
|
||||
Architecture: all
|
||||
Depends: kate, ${misc:Depends}
|
||||
Suggests: rustc
|
||||
Description: Kate highlighting syntax files for Rust
|
||||
This package provides syntax files for the Kate editor for editing
|
||||
code in the Rust programming language.
|
||||
|
||||
1
debian/kate-syntax-rust.install
vendored
1
debian/kate-syntax-rust.install
vendored
@ -1 +0,0 @@
|
||||
src/etc/kate/ usr/share/kde4/apps/katepart/syntax/
|
||||
1
debian/rust-mode.docs
vendored
1
debian/rust-mode.docs
vendored
@ -1 +0,0 @@
|
||||
src/etc/emacs/README.md
|
||||
20
debian/rust-mode.emacsen-install
vendored
20
debian/rust-mode.emacsen-install
vendored
@ -1,20 +0,0 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
FLAVOR=$1
|
||||
PACKAGE=rust-mode
|
||||
ELDIR=/usr/share/emacs/site-lisp/
|
||||
ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
|
||||
ELFILE="rust-mode.el"
|
||||
FLAGS="-batch -no-site-file -f batch-byte-compile"
|
||||
|
||||
if [ ${FLAVOR} != emacs ]; then
|
||||
echo install/${PACKAGE}: Byte-compiling for ${FLAVOR}
|
||||
|
||||
install -m 755 -d ${ELCDIR}
|
||||
|
||||
# Source file symlink (emacsen policy 5C)
|
||||
ln -s "${ELDIR}/${ELFILE}" "${ELCDIR}/${ELFILE}"
|
||||
|
||||
# Compile
|
||||
(cd ${ELCDIR}; ${FLAVOR} ${FLAGS} ${ELFILE})
|
||||
fi
|
||||
11
debian/rust-mode.emacsen-remove
vendored
11
debian/rust-mode.emacsen-remove
vendored
@ -1,11 +0,0 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
FLAVOR=$1
|
||||
PACKAGE=rust-mode
|
||||
ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
|
||||
|
||||
if [ ${FLAVOR} != emacs ]; then
|
||||
echo remove/${PACKAGE}: Purging byte-compiled files for ${FLAVOR}
|
||||
rm -rf "${ELCDIR}"
|
||||
fi
|
||||
22
debian/rust-mode.emacsen-startup
vendored
22
debian/rust-mode.emacsen-startup
vendored
@ -1,22 +0,0 @@
|
||||
;; -*- emacs-lisp -*-
|
||||
;;
|
||||
;; Emacs startup file for the Debian GNU/Linux rust-mode package
|
||||
|
||||
(cond
|
||||
((not (file-exists-p "/usr/share/emacs/site-lisp/rust-mode"))
|
||||
(message "Package rust-mode removed but not purged. Skipping setup."))
|
||||
((not (file-exists-p (concat "/usr/share/"
|
||||
(symbol-name debian-emacs-flavor)
|
||||
"/site-lisp/rust-mode/rust-mode.elc")))
|
||||
(message "Package rust-mode not fully installed. Skipping setup."))
|
||||
(t
|
||||
|
||||
(debian-pkg-add-load-path-item
|
||||
(concat "/usr/share/"
|
||||
(symbol-name debian-emacs-flavor)
|
||||
"/site-lisp/rust-mode"))
|
||||
|
||||
;; autoloads for rust-mode
|
||||
(autoload 'rust-mode "rust-mode" "Major mode for Rust code." t)
|
||||
|
||||
(add-to-list 'auto-mode-alist '("\\.rs\\'" . rust-mode))))
|
||||
2
debian/rust-mode.install
vendored
2
debian/rust-mode.install
vendored
@ -1,2 +0,0 @@
|
||||
src/etc/emacs/rust-mode.el usr/share/emacs/site-lisp/rust-mode/
|
||||
src/etc/emacs/rust-mode-tests.el usr/share/emacs/site-lisp/rust-mode/
|
||||
2
debian/vim-syntax-rust.install
vendored
2
debian/vim-syntax-rust.install
vendored
@ -1,2 +0,0 @@
|
||||
debian/vim-syntax-rust.yaml usr/share/vim/registry/
|
||||
src/etc/vim usr/share/vim/addons/
|
||||
14
debian/vim-syntax-rust.yaml
vendored
14
debian/vim-syntax-rust.yaml
vendored
@ -1,14 +0,0 @@
|
||||
addon: rust-syntax
|
||||
description: "Addon support for the Rust language"
|
||||
files:
|
||||
- after/syntax/rust.vim
|
||||
- syntax/rust.vim
|
||||
- compiler/rustc.vim
|
||||
- compiler/cargo.vim
|
||||
- ftdetect/rust.vim
|
||||
- plugin/rust.vim
|
||||
- autoload/rust.vim
|
||||
- doc/rust.txt
|
||||
- indent/rust.vim
|
||||
- ftplugin/rust.vim
|
||||
- syntax_checkers/rust/rustc.vim
|
||||
Loading…
Reference in New Issue
Block a user