debian/0000775000000000000000000000000012030666767007205 5ustar debian/emacsen-startup0000664000000000000000000000172412030666153012234 0ustar ;; -*-emacs-lisp-*- ;; Figure out package dir: (let ((package-dir (concat "/usr/share/" (symbol-name debian-emacs-flavor) "/site-lisp/vala-mode-el"))) ;; If package-dir does not exist, this package must have ;; removed but not purged, and we should skip the setup. (when (file-directory-p package-dir) ;; add it to the load-path: (cond ((fboundp 'debian-pkg-add-load-path-item) (debian-pkg-add-load-path-item package-dir)) ((fboundp 'add-to-list) (add-to-list load-path package-dir)) (t (setq load-path (cons package-dir load-path)))) ;; Installation snippet per https://live.gnome.org/Vala/Emacs (autoload 'vala-mode "vala-mode" "Major mode for editing Vala code." t) (add-to-list 'auto-mode-alist '("\\.vala$" . vala-mode)) (add-to-list 'auto-mode-alist '("\\.vapi$" . vala-mode)) (add-to-list 'file-coding-system-alist '("\\.vala$" . utf-8)) (add-to-list 'file-coding-system-alist '("\\.vapi$" . utf-8)))) debian/rules0000775000000000000000000000005112030666153010246 0ustar #!/usr/bin/make -f %: dh $@ --parallel debian/compat0000664000000000000000000000000212030666153010370 0ustar 9 debian/copyright0000664000000000000000000000214512030666767011142 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: vala-mode Source: Files: * Copyright: 2005 Dylan R. E. Moonfire 2008 Étienne BERSAC License: GPL-2+ Files: debian/* Copyright: 2012 Barak A. Pearlmutter License: GPL-2+ License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". and the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". debian/changelog0000664000000000000000000000021412030666153011041 0ustar vala-mode-el (0.1-1) unstable; urgency=low * Initial release -- Barak A. Pearlmutter Wed, 26 Sep 2012 15:22:30 +0100 debian/control0000664000000000000000000000115112030666153010573 0ustar Source: vala-mode-el Section: editors Priority: extra Maintainer: Barak A. Pearlmutter Build-Depends: debhelper (>= 9) Standards-Version: 3.9.4 Homepage: https://live.gnome.org/Vala/Emacs Vcs-Git: git://git.debian.org/collab-maint/vala-mode-el.git Vcs-Browser: http://git.debian.org/?p=collab-maint/vala-mode-el.git;a=summary Package: vala-mode-el Architecture: all Depends: ${misc:Depends} Enhances: valac, emacs, emacs23, emacs24 Description: Emacs editor major mode for vala source code The package provides a Vala major mode for Emacsen, and sets it up for files with extension vala and vapi. debian/emacsen-install0000775000000000000000000000174712030666153012210 0ustar #! /bin/sh -e # /usr/lib/emacsen-common/packages/install/vala-mode-el # Written by Jim Van Zandt , borrowing heavily # from the install scripts for gettext by Santiago Vila # and octave by Dirk Eddelbuettel . FLAVOR=$1 PACKAGE=vala-mode-el if [ ${FLAVOR} = emacs ]; then exit 0; fi echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR} #FLAVORTEST=`echo $FLAVOR | cut -c-6` #if [ ${FLAVORTEST} = xemacs ] ; then # SITEFLAG="-no-site-file" #else # SITEFLAG="--no-site-file" #fi FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile" ELDIR=/usr/share/emacs/site-lisp/${PACKAGE} ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE} ELRELDIR=../../../emacs/site-lisp/${PACKAGE} install -m 755 -d ${ELCDIR} cd ${ELDIR} FILES=`echo *.el` cd ${ELCDIR} ln -sf ${ELRELDIR}/*.el . cat << EOF > path.el (debian-pkg-add-load-path-item ".") (setq byte-compile-warnings nil) EOF ${FLAVOR} ${FLAGS} ${FILES} rm -f path.el exit 0 debian/source/0000775000000000000000000000000012030666153010472 5ustar debian/source/format0000664000000000000000000000001412030666153011700 0ustar 3.0 (quilt) debian/emacsen-remove0000775000000000000000000000040312030666153012023 0ustar #!/bin/sh -e # /usr/lib/emacsen-common/packages/remove/vala-mode-el FLAVOR=$1 PACKAGE=vala-mode-el if [ ${FLAVOR} != emacs ]; then echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} fi debian/README.source0000664000000000000000000000047212030666153011354 0ustar vala-mode-el for Debian --------------------------- The version number is in a comment in the sole upstream file. Said file is an attachment to https://live.gnome.org/Vala/Emacs and as such, I am repackaging it into a tar file manually. -- Barak A. Pearlmutter , Wed, 26 Sep 2012 21:49:10 +0100 debian/vala-mode-el.install0000664000000000000000000000006612030666153013027 0ustar vala-mode.el /usr/share/emacs/site-lisp/vala-mode-el/