debian/0000755000000000000000000000000011734404537007176 5ustar debian/emacsen-install0000644000000000000000000000206311670617230012174 0ustar #! /bin/sh -e # /usr/lib/emacsen-common/packages/install/auto-install-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=auto-install case $FLAVOR in emacs|emacs21|emacs20|emacs19|mule2|*xemacs*) exit 0 ;; *) EMACSEN=$FLAVOR ;; esac echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR} FLAGS="-no-site-file -q -batch -l path.el -f batch-byte-compile" ELDIR=/usr/share/emacs/site-lisp/${PACKAGE} ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE} cd "$ELDIR" LINKS=`echo *.el` if [ ! -d "$ELCDIR" ]; then mkdir "$ELCDIR" chmod 755 "$ELCDIR" fi cd "$ELCDIR" TOELDIR=../../../emacs/site-lisp/$PACKAGE rm -f *.el path.el for f in $LINKS; do ln -sf "$TOELDIR/$f" ./ done FILES=`/bin/ls -1 *.el` cat << EOF > path.el (setq load-path (cons "." load-path)) (setq byte-compile-warnings nil) EOF ${FLAVOR} ${FLAGS} ${FILES} chmod 644 *.elc rm -f path.el exit 0 debian/copyright0000644000000000000000000000205011670617226011126 0ustar Format: http://dep.debian.net/deps/dep5 Upstream-Name: auto-install.el Source: http://www.emacswiki.org/emacs/AutoInstall Files: auto-install.el Copyright: 2008, 2009, Andy Stewart 2009, rubikitch License: GPL-3.0+ License: GPL-3.0+ 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 3 of the License, or (at your option) any later version. . This package 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. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". debian/source/0000755000000000000000000000000011670617014010471 5ustar debian/source/format0000644000000000000000000000001411670617014011677 0ustar 3.0 (quilt) debian/emacsen-startup0000644000000000000000000000156711670654344012247 0ustar ;; -*-emacs-lisp-*- ;; ;; Emacs startup file, e.g. /etc/emacs/site-start.d/50auto-install-el.el ;; for the Debian auto-install-el package ;; ;; Originally contributed by Nils Naumann ;; Modified by Dirk Eddelbuettel ;; Adapted for dh-make by Jim Van Zandt ;; The auto-install-el package follows the Debian/GNU Linux 'emacsen' policy and ;; byte-compiles its elisp files for each 'emacs flavor' (emacs19, ;; xemacs19, emacs20, xemacs20...). The compiled code is then ;; installed in a subdirectory of the respective site-lisp directory. ;; We have to add this to the load-path: (let ((package-dir (concat "/usr/share/" (symbol-name flavor) "/site-lisp/auto-install"))) (if (fboundp 'debian-pkg-add-load-path-item) (debian-pkg-add-load-path-item package-dir)) ) debian/compat0000644000000000000000000000000211670617225010373 0ustar 7 debian/dirs0000644000000000000000000000004711670617227010064 0ustar usr/share/emacs/site-lisp/auto-install debian/README.Debian0000644000000000000000000000300011670617217011230 0ustar auto-install-el for Debian -------------------------- This is Debian package of auto-install-el. Emacs Lisp files are put in /usr/share/emacs/site-lisp/auto-install instead of /usr/share/emacs/site-lisp/@PACKAGE@ Installation: (1) And put the following in your ~/.emacs startup file: (require 'auto-install) (2) Add this to your ~/.emacs to optionally specify a download directory: (setq auto-install-directory "~/.emacs.d/auto-install/") If you don't set this, "~/.emacs.d/auto-install/" will be used as the default, and will be created as needed. (3) Optionally, if your computer is always connected Internet when Emacs start up, I recommend you add below to your ~/.emacs, to update package name when start up: (auto-install-update-emacswiki-package-name t) And above setup is not necessary, because AutoInstall will automatically update package name when you just first call `auto-install-from-emacswiki', above setup just avoid *delay* when you first call `auto-install-from-emacswiki'. (4) I recommend you add below to your ~/.emacs for install-elisp users: (auto-install-compatibility-setup) This command `defalias'es `install-elisp', `install-elisp-from-emacswiki' and `install-elisp-from-gist' to `auto-install' ones. (5) If you want to use proxy server, set `url-proxy-services'. For example: (setq url-proxy-services '(("http" . "localhost:8339"))) -- Takaya Yamashita Tue, 15 Jun 2010 23:16:42 +0900 debian/control0000644000000000000000000000127111732543473010603 0ustar Source: auto-install-el Section: lisp Priority: extra Maintainer: Takaya Yamashita Build-Depends: debhelper (>= 7.0.50~) Standards-Version: 3.9.3 Homepage: http://www.emacswiki.org/AutoInstall Package: auto-install-el Architecture: all Depends: ${misc:Depends}, emacs | emacs23 | emacs-snapshot, emacsen-common (>= 1.4.14) Description: Auto install elisp file Effortlessly download, install, and update Elisp files from the web or from a local buffer. . Easily install packages from the Emacswiki ElispArea (with auto-complete of package name, and easy update of selected packages). . Optionally view changes from previous versions of packages before installation. debian/changelog0000644000000000000000000000113511732543720011044 0ustar auto-install-el (1.53-1) unstable; urgency=low * New upstream release. * debian/control: Update Standards-Version to 3.9.3. * debian/control: Update Build-Depends: debhelper 7.0.50~ * debian/copyright: Switch to the DEP-5 format. * debian/emacsen-startup: Use debian-pkg-add-load-path-item.(Closes: #644109) * debian/README.source: Newly added file. -- Takaya Yamashita Thu, 22 Mar 2012 06:33:38 +0000 auto-install-el (1.48-1) unstable; urgency=low * Initial release (Closes: #586177) -- Takaya Yamashita Tue, 15 Jun 2010 23:16:42 +0900 debian/install0000644000000000000000000000007011732542640010560 0ustar auto-install.el usr/share/emacs/site-lisp/auto-install debian/rules0000755000000000000000000000067211732542621010256 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ debian/README.source0000644000000000000000000000105211670617220011345 0ustar README.source -------------------------- auto-install.el distributes by svn for Emacs Wiki. So the orig.tar.gz file createed by the following command. $ wget http://www.emacswiki.org/emacs/download/auto-install.el $ export VERSION=`sed -n '/^;; Version\:/p' auto-install.el | sed -e "s/.*Revision\:\s\([0-9.]*\)\s.*/\1/g"` $ mkdir auto-install-el-$VERSION $ mv auto-install.el auto-install-el-$VERSION $ tar cvfz auto-install-el_$VERSION.tar.gz auto-install-el-$VERSION -- Takaya Yamashita , Wed, 4 May 2011 18:25:50 +0900 debian/emacsen-remove0000644000000000000000000000040611670617230012022 0ustar #!/bin/sh -e # /usr/lib/emacsen-common/packages/remove/auto-install-el FLAVOR=$1 PACKAGE=auto-install if [ ${FLAVOR} != emacs ]; then echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} fi