Package: tj3 Version: 3.6.0-2 Severity: wishlist Tags: patch Dear Maintainer,
TaskJuggler includes a Vim plugin for syntax highlighting for tjp and tji files [0]. This should be packaged in accordance with Debian's Vim packaging policy [1]. The attached patch provides such a package. It would be great if you could apply this to the source package. Thanks. Christopher Hoskin [0] http://www.taskjuggler.org/tj3/manual/Installation.html#Installing_the_Vim_Support [1] https://pkg-vim.alioth.debian.org/vim-policy.html/ -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages tj3 depends on: ii ruby 1:2.3.0+4 ii ruby-mail 2.6.4+dfsg1-1 ii ruby-term-ansicolor 1.3.0-1 tj3 recommends no packages. tj3 suggests no packages. -- no debconf information
diff --git a/debian/control b/debian/control index e6153b2..094638b 100644 --- a/debian/control +++ b/debian/control @@ -32,3 +32,15 @@ Description: project management software, aka TaskJuggler to the completion of the project. It assists you during project scoping, resource assignment, cost and revenue planing, risk and communication management. + +Package: vim-tjp +Architecture: all +Recommends: vim-addon-manager +Description: vim addon for TaskJuggler .tjp files + TaskJuggler is project management software for project scoping, resource + assignment, cost and revenue planing, risk and communication management. It is + packaged in Debian as tj3. + . + This package provides a plugin for the vim editor prviding syntax highlighting + for .tjp files. + diff --git a/debian/rules b/debian/rules index 26f8596..9287874 100755 --- a/debian/rules +++ b/debian/rules @@ -6,6 +6,12 @@ override_dh_auto_build: dh_auto_build localehelper LANG=en_US.UTF-8 rake manual + rake vim + +override_dh_clean: + rm -rf manual/html + rm data/tjp.vim + dh_clean override_dh_auto_test: rake spec diff --git a/debian/vim-tjp.install b/debian/vim-tjp.install new file mode 100644 index 0000000..3ea6ab3 --- /dev/null +++ b/debian/vim-tjp.install @@ -0,0 +1,3 @@ +data/tjp.vim /usr/share/vim/addons/syntax/ +debian/vim/ /usr/share/ + diff --git a/debian/vim/addons/ftdetect/tjp.vim b/debian/vim/addons/ftdetect/tjp.vim new file mode 100644 index 0000000..401e13b --- /dev/null +++ b/debian/vim/addons/ftdetect/tjp.vim @@ -0,0 +1,2 @@ +autocmd BufNewFile,BufRead *.tjp,*.tji setfiletype tjp + diff --git a/debian/vim/registry/vim-tjp.yaml b/debian/vim/registry/vim-tjp.yaml new file mode 100644 index 0000000..c4a119c --- /dev/null +++ b/debian/vim/registry/vim-tjp.yaml @@ -0,0 +1,5 @@ +addon: tjp +description: "vim addon for TaskJuggler .tjp files" +files: + - syntax/tjp.vim + - ftdetect/tjp.vim