debian/0000755000000000000000000000000012237103171007163 5ustar debian/source/0000755000000000000000000000000012150266202010462 5ustar debian/source/format0000644000000000000000000000001412150266202011670 0ustar 3.0 (quilt) debian/emacsen-remove0000644000000000000000000000077612150266202012025 0ustar #!/bin/sh -e # /usr/lib/emacsen-common/packages/remove/silversearcher-ag-el FLAVOR=$1 PACKAGE=silversearcher-ag-el if [ ${FLAVOR} != emacs ]; then if test -x /usr/sbin/install-info-altdir; then echo remove/${PACKAGE}: removing Info links for ${FLAVOR} install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/share/info/silversearcher-ag-el.info.gz fi echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} fi debian/emacsen-startup0000644000000000000000000000223412150276130012222 0ustar ;; -*-emacs-lisp-*- ;; ;; Emacs startup file, e.g. /etc/emacs/site-start.d/50silversearcher-ag-el.el ;; for the Debian silversearcher-ag-el package ;; ;; Originally contributed by Nils Naumann ;; Modified by Dirk Eddelbuettel ;; Adapted for dh-make by Jim Van Zandt ;; The silversearcher-ag-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 debian-emacs-flavor) "/site-lisp/silversearcher-ag-el"))) ;; If package-dir does not exist, the silversearcher-ag-el package must have ;; removed but not purged, and we should skip the setup. (when (file-directory-p package-dir) (if (fboundp 'debian-pkg-add-load-path-item) (debian-pkg-add-load-path-item package-dir) (setq load-path (cons package-dir load-path))) (autoload 'ag "ag" nil t))) debian/copyright0000644000000000000000000000206712153371773011137 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: ag.el Source: https://github.com/Wilfred/ag.el Files: * Copyright: 2013 Wilfred Hughes License: GPL-3+ Files: debian/* Copyright: 2013 Hajime Mizuno License: GPL-3+ License: GPL-3+ 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/compat0000644000000000000000000000000212150266202010360 0ustar 8 debian/emacsen-install0000644000000000000000000000243612150266202012171 0ustar #! /bin/sh -e # /usr/lib/emacsen-common/packages/install/silversearcher-ag-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=silversearcher-ag-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-info-altdir does not actually exist. # Maybe somebody will write it. if test -x /usr/sbin/install-info-altdir; then echo install/${PACKAGE}: install Info links for ${FLAVOR} install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} /usr/share/info/${PACKAGE}.info.gz fi 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/rules0000755000000000000000000000013612150270525010245 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ debian/docs0000644000000000000000000000001212150266202010026 0ustar README.md debian/changelog0000644000000000000000000000050012237103171011030 0ustar silversearcher-ag-el (0.33-1) unstable; urgency=low * new upstream release -- Hajime Mizuno Fri, 08 Nov 2013 15:36:26 +0900 silversearcher-ag-el (0.22-1) unstable; urgency=low * Initial release (Closes: #709851) -- Hajime Mizuno Sun, 26 May 2013 10:59:14 +0900 debian/install0000644000000000000000000000006612150277221010560 0ustar ag.el usr/share/emacs/site-lisp/silversearcher-ag-el/ debian/control0000644000000000000000000000133012152361711010565 0ustar Source: silversearcher-ag-el Section: lisp Priority: extra Maintainer: Hajime Mizuno Build-Depends: debhelper (>= 8.0.0) Standards-Version: 3.9.4 Homepage: https://github.com/Wilfred/ag.el #Vcs-Git: git://git.debian.org/collab-maint/silversearcher-ag-el.git #Vcs-Browser: http://git.debian.org/?p=collab-maint/silversearcher-ag-el.git;a=summary Package: silversearcher-ag-el Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends}, silversearcher-ag, emacs24 | emacs23 Description: Emacs frontend to ag The Silver Searcher (a.k.a. ag) is very fast grep-like program. It is faster and has an attractive features than grep. ag.el is simple ag frontend for Emacs, loosely based on ack-and-half.el.