alpha 2 removed emacs, kate & vim plugins

This commit is contained in:
Sylvestre Ledru 2015-02-23 14:05:08 +01:00
parent 1c8ac2b079
commit 1f1dbfca17
11 changed files with 1 additions and 99 deletions

1
debian/TODO.Debian vendored
View File

@ -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
View File

@ -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
View File

@ -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.

View File

@ -1 +0,0 @@
src/etc/kate/ usr/share/kde4/apps/katepart/syntax/

View File

@ -1 +0,0 @@
src/etc/emacs/README.md

View File

@ -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

View File

@ -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

View File

@ -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))))

View File

@ -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/

View File

@ -1,2 +0,0 @@
debian/vim-syntax-rust.yaml usr/share/vim/registry/
src/etc/vim usr/share/vim/addons/

View File

@ -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