debian/0000755000000000000000000000000012145246240007166 5ustar debian/rules0000755000000000000000000000075312145062643010256 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 override_dh_auto_install: make install PREFIX=debian/commit-patch/usr # No need for another copy of the GPL: rm debian/commit-patch/usr/share/doc/commit-patch/COPYING # Installed by dh_installchangelogs: rm debian/commit-patch/usr/share/doc/commit-patch/Changes # Skip tests. They aren't mature enough to offer any benefit during packaging. override_dh_auto_test: true %: dh $@ debian/control0000644000000000000000000000215512145246062010576 0ustar Source: commit-patch Section: vcs Priority: optional Maintainer: David Caldwell Build-Depends: debhelper (>= 8.0.0~), perl Standards-Version: 3.9.4 Homepage: http://porkrind.org/commit-patch/ Vcs-Git: git://github.com/caldwell/commit-patch.git -b debian Package: commit-patch Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libipc-run-perl, patch, patchutils Suggests: darcs | git | mercurial | bzr | monotone | subversion | cvs Description: utility to commit fine grained patches to source code control repositories Normally version control systems don't allow fine grained commits. commit-patch allows the user to control exactly what gets committed by letting the user supply a patch to be committed rather than using the files in the current working directory. . commit-patch supports Darcs, Git, Mercurial, Bazaar, Monotone, Subversion, or CVS repositories. . Also included is an Emacs interface to commit-patch. It allows you to just hit C-c C-c in any patch buffer to apply and commit only the changes indicated by the patch, regardless of the changes in your working directory. debian/source/0000755000000000000000000000000011531162117010464 5ustar debian/source/format0000644000000000000000000000001411351257211011672 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000164312145241731011044 0ustar commit-patch (2.5-1) unstable; urgency=low * New upstream release: * Added Monotone support. * Support Subversion version 1.7. * Fixed an issue with git where committing inside a repository's subdirectory would fail. * Fixed some cases where adding and removing files would fail. * Upgraded to standards version 3.9.4. * Updated emacsen-install debhelper script (Closes: #703583) -- David Caldwell Wed, 15 May 2013 20:44:57 -0700 commit-patch (2.4-1) unstable; urgency=low * New upstream version. * Upgraded to standards base 3.9.1. * Fixed a slew of packaging issues pointed out by Gregor Herrmann . -- David Caldwell Wed, 23 Feb 2011 01:22:03 -0800 commit-patch (2.3-1) unstable; urgency=low * Initial Debian release (Closes: #574787) -- David Caldwell Sat, 20 Mar 2010 15:42:43 -0700 debian/commit-patch.doc-base0000644000000000000000000000064012145241044013147 0ustar Document: commit-patch Title: Debian commit-patch Manual Author: David Caldwell Abstract: This manual describes what commit-patch is and how it can be used to commit patches to Darcs, Git, Mercurial, Bazaar, Monotone, Subversion, or CVS repositories. Section: Programming Format: HTML Index: /usr/share/doc/commit-patch/commit-patch.html Files: /usr/share/doc/commit-patch/commit-patch.html debian/compat0000644000000000000000000000000211531141347010364 0ustar 8 debian/clean0000644000000000000000000000013311531156117010171 0ustar commit-partial commit-partial.1 commit-patch.1 commit-patch.html pod2htmd.tmp pod2htmi.tmp debian/commit-patch.lintian-overrides0000644000000000000000000000007311531162100015121 0ustar commit-patch: description-contains-duplicated-word C-c C-c debian/emacsen-startup0000644000000000000000000000206511351305654012232 0ustar ;; -*-emacs-lisp-*- ;; ;; Emacs startup file, e.g. /etc/emacs/site-start.d/50commit-patch.el ;; for the Debian commit-patch package ;; ;; Originally contributed by Nils Naumann ;; Modified by Dirk Eddelbuettel ;; Adapted for dh-make by Jim Van Zandt ;; The commit-patch 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/commit-patch"))) ;; If package-dir does not exist, the commit-patch package must have ;; removed but not purged, and we should skip the setup. (when (file-directory-p package-dir) (setq load-path (cons package-dir load-path)) (eval-after-load 'diff-mode '(require 'commit-patch-buffer nil 'noerror)))) debian/emacsen-install0000644000000000000000000000241612145063517012177 0ustar #! /bin/sh -e # /usr/lib/emacsen-common/packages/install/commit-patch # Written by Jim Van Zandt , borrowing heavily # from the install scripts for gettext by Santiago Vila # and octave by Dirk Eddelbuettel . FLAVOR=$1 PACKAGE=commit-patch 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/patches/0000755000000000000000000000000012145060003010604 5ustar debian/patches/makefile-install_el_files_to_correct_dir.patch0000644000000000000000000000144412145052741022006 0ustar Description: Fix elisp install location Author: David Caldwell Index: commit-patch/Makefile =================================================================== --- commit-patch.orig/Makefile 2013-05-15 20:43:23.000000000 -0700 +++ commit-patch/Makefile 2013-05-15 20:43:23.000000000 -0700 @@ -36,9 +36,9 @@ install: $(ALL) mkdir -p "$(PREFIX)/bin" mkdir -p "$(PREFIX)/share/man/man1" - mkdir -p "$(PREFIX)/share/emacs/site-lisp" + mkdir -p "$(PREFIX)/share/emacs/site-lisp/commit-patch" mkdir -p "$(PREFIX)/share/doc/commit-patch" cp -a $(BIN) "$(PREFIX)/bin" cp -a $(MAN) "$(PREFIX)/share/man/man1" - cp -a $(ELISP) "$(PREFIX)/share/emacs/site-lisp" + cp -a $(ELISP) "$(PREFIX)/share/emacs/site-lisp/commit-patch" cp -a $(DOC) "$(PREFIX)/share/doc/commit-patch" debian/patches/series0000644000000000000000000000005712145052646012041 0ustar makefile-install_el_files_to_correct_dir.patch debian/copyright0000644000000000000000000000240412145057056011126 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: commit-patch Upstream-Contact: David Caldwell Jim Radford Source: http://porkrind.org/commit-patch/ Files: * Copyright: 2003-2013 by David Caldwell and Jim Radford. License: GPL-2+ Files: debian/* Copyright: 2010,2011,2013 David Caldwell 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. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. debian/emacsen-remove0000644000000000000000000000074612145063526012032 0ustar #!/bin/sh -e # /usr/lib/emacsen-common/packages/remove/commit-patch FLAVOR=$1 PACKAGE=commit-patch 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/commit-patch.info.gz fi echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} fi debian/watch0000644000000000000000000000011311531141445010211 0ustar version=3 http://www.porkrind.org/commit-patch commit-patch-(.*)\.tar\.gz