debian/0000755000000000000000000000000012256406755007202 5ustar debian/copyright0000644000000000000000000000233012243563677011136 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: xscope.el Upstream-Contact: Dima Kogan 2001 Triet H. Lai 2001 Steven Elliott 2013 Dima Kogan License: GPL-2+ Files: debian/* Copyright: 2013 Dima Kogan License: GPL-2+ License: GPL-2+ This package 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 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 can be found in "/usr/share/common-licenses/GPL-2". debian/rules0000755000000000000000000000110312256406652010251 0ustar #!/usr/bin/make -f # -*- makefile -*- %: dh $@ # command to extract the documentation from the lisp and to strip out the # install instructions define CMD_GET_DOCS if(/^;;; Commentary:/.../^;;;/) \ { \ next if /^;;;/; \ s/^;; ?//; \ print unless /INSTALLATION/.../USING THIS MODULE/; \ } endef READMES_EXTRA := README README.updates.org README: xcscope.el perl -ne '$(CMD_GET_DOCS)' $< > $@ README.updates.org: README.org cp $< $@ override_dh_installdocs: $(READMES_EXTRA) dh_installdocs override_dh_clean: rm -rf $(READMES_EXTRA) debian/emacsen-startup0000644000000000000000000000314712243563677012250 0ustar ;; -*-emacs-lisp-*- ;; ;; Emacs startup file, e.g. /etc/emacs/site-start.d/50xcscope.el ;; for the Debian xcscope package ;; ;; Originally contributed by Nils Naumann ;; Modified by Dirk Eddelbuettel ;; Adapted for dh-make by Jim Van Zandt ;; The xcscope 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/xcscope"))) ;; If package-dir does not exist, the xcscope 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))) ;; actual setup happens here (autoload 'cscope-minor-mode "xcscope.el" "Minor mode for the xcscope interface" t) (autoload 'cscope-setup "xcscope.el" "Hook cscope minor mode for C and C++ sources" t) ;; do (cscope-setup) if the package is loaded. This is done to retain ;; compatibility with the older cscope-el debian package. The older packages ;; had no (cscope-setup) function at all, so loading the package would do ;; all the setup. This mimics that behavior (eval-after-load 'xcscope '(cscope-setup)))) debian/source/0000755000000000000000000000000012243563677010505 5ustar debian/source/format0000644000000000000000000000001412243563677011713 0ustar 3.0 (quilt) debian/docs0000644000000000000000000000003212256406652010044 0ustar README.updates.org README debian/emacsen-compat0000644000000000000000000000000212256377240012005 0ustar 0 debian/changelog0000644000000000000000000000227112256406725011053 0ustar xcscope-el (1.0-2) unstable; urgency=low * Minor fixes to follow the emacsen-common 2.0 policy * Expanded documentation included with the package -- Dima Kogan Tue, 24 Dec 2013 14:41:58 -0800 xcscope-el (1.0-1) unstable; urgency=low [ Dima Kogan ] * New package (Closes: #729457) * New upstream release using Dima Kogan's enhanced tree (Closes: #653662, #672194). Main changes from the stable code in the cscope CVS: - New searches are appended to the *cscope* buffer, instead of overwriting. - The *cscope* buffer can be navigated and edited similarly to emacs Diff buffers - Previous searches can be re-run with the 'r' key in the *cscope* buffer. - xcscope.el can now work remotely over TRAMP - The indexing output now goes to the echo area instead of an explicit new buffer that the user must deal with - Better mouse support - Removed the external 'cscope-indexer' script - Various cscope options can now be accessed through the emacs variables [ tony mancill ] * Add myself to Uploaders. * Declare Conflicts with cscope-el. -- tony mancill Wed, 27 Nov 2013 14:53:13 -0800 debian/README.debian0000644000000000000000000000040512256406621011272 0ustar To use xcscope-el in Debian, all you need to do is (require 'xcscope) This automatically calls (cscope-setup), so there is no reason to explicitly do this when using the Debian package. -- Dima Kogan , Tue, 24 Dec 2013 13:43:52 -0800 debian/watch0000644000000000000000000000034512243563700010223 0ustar version=3 opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)\d*)$/$1~$2/,dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$// \ https://github.com/dkogan/xcscope.el/tags .*/v?(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)) debian/control0000644000000000000000000000164412256406652010606 0ustar Source: xcscope-el Section: devel Priority: optional Maintainer: Dima Kogan Uploaders: tony mancill Build-Depends: debhelper (>= 9), perl Standards-Version: 3.9.5 Homepage: https://github.com/dkogan/xcscope.el Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/xcscope-el.git Vcs-Git: git://anonscm.debian.org/collab-maint/xcscope-el.git Package: xcscope-el Architecture: all Depends: cscope, emacs24 | emacsen, ${misc:Depends} Conflicts: cscope-el (<< 15.8a-2), emacsen-common (<< 2.0.0) Replaces: cscope-el Description: Interactively examine a C program source in emacs Cscope is a program that generates index tables from C and C++ source files. It is also a client program that knows how to use the generated index tables to answer questions such as where is a symbol defined, where is a symbol referenced, etc. . xcscope-el contains the Emacs interfaces to cscope debian/emacsen-install0000644000000000000000000000240412243563677012207 0ustar #! /bin/sh -e # /usr/lib/emacsen-common/packages/install/xcscope # Written by Jim Van Zandt , borrowing heavily # from the install scripts for gettext by Santiago Vila # and octave by Dirk Eddelbuettel . FLAVOR=$1 PACKAGE=xcscope 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/emacsen-remove0000644000000000000000000000072712243563677012044 0ustar #!/bin/sh -e # /usr/lib/emacsen-common/packages/remove/xcscope FLAVOR=$1 PACKAGE=xcscope 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/xcscope.info.gz fi echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} fi debian/install0000644000000000000000000000005612243563677010577 0ustar xcscope.el /usr/share/emacs/site-lisp/xcscope debian/compat0000644000000000000000000000000212243563677010403 0ustar 9 debian/gbp.conf0000644000000000000000000000011612243563677010622 0ustar [DEFAULT] upstream-tag =v%(version)s pristine-tar = True debian-branch=debian