Your message dated Wed, 27 Feb 2013 11:17:30 +0000 with message-id <[email protected]> and subject line Bug#696793: fixed in dh-make 0.62 has caused the Debian Bug report #696793, regarding dh-make: don't install emac files by default to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 696793: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696793 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: dh-make Version: 0.61 Severity: wishlist Tags: patch Hi, In my experience, emacs related files are not necessary (it's rare) and I should remove those files each time. So, I request you to not install those files by default. Please check attached patch and apply it. summary) - move emacs files from lib/debian to lib/emacs - add "--with-emacs" option. If users would specify this, then install emacs files. - Also install emacs files automatically if there's any *.el file. -- Regards, Hideki Yamane henrich @ debian.or.jp/org http://wiki.debian.org/HidekiYamanediff -Nru dh-make-0.61/debian/changelog dh-make-0.61+nmu1/debian/changelog --- dh-make-0.61/debian/changelog 2012-07-13 20:27:59.000000000 +0900 +++ dh-make-0.61+nmu1/debian/changelog 2012-12-27 16:43:43.000000000 +0900 @@ -1,3 +1,10 @@ +dh-make (0.61+nmu1) UNRELEASED; urgency=low + + * Non-maintainer upload. + * Don't install emacsen files by defalult. Add --with-emacs file for it. + + -- Hideki Yamane <[email protected]> Thu, 27 Dec 2012 16:42:36 +0900 + dh-make (0.61) unstable; urgency=low * Update to standards version 3.9.3 diff -Nru dh-make-0.61/dh_make dh-make-0.61+nmu1/dh_make --- dh-make-0.61/dh_make 2012-06-25 20:43:31.000000000 +0900 +++ dh-make-0.61+nmu1/dh_make 2012-12-27 16:45:41.000000000 +0900 @@ -48,6 +48,7 @@ our $filename; our $SOURCE_EXTRADOCS=""; our ($email, $date); +our $with_emacs = 0; sub process_file(@) { @@ -159,6 +160,7 @@ -l, --library set package class to library -k, --kmod set package class to kernel module --kpatch set package class to kernel patch + --with-emacs add files for emacsen -a, --addmissing reprocess package and add missing files -t, --templates <dir> apply customizing templates in <dir> -d --defaultless skip the default debian and package class templates @@ -194,6 +196,7 @@ 'library|l' => \$library, 'kmod|k' => \$kmod, 'kpatch' => \$kpatch, + 'with-emacs' => \$main::with_emacs, 'addmissing|a' => \$main::add_missing, 'rulesformat|r=s' => \$main::rules_format, 'templates|t=s' => \$main::custom, @@ -562,6 +565,12 @@ $CHANGELOG = $changelogs[0] if ($#changelogs != -1); shift @changelogs; @DOCS = (@DOCS,@changelogs); +# check whether emacs files exist or not +our @EMACS= split / |\n/, qx(find . -regex '.*\\.el'); +if (! @EMACS eq '') +{ + $with_emacs = 1; +} # Are there any .orig files in the upstream sources my @ORIG= split /[ \n]/, qx(find . -name '\*.orig'); @@ -749,6 +758,16 @@ } process_file("$DHLIB/debian$package_class/$filename", $filename); } + + # emacs files + if ($with_emacs) + { + @filenames= split / |\n/, qx{(cd $DHLIB/emacs && ls)}; + foreach $filename (@filenames) + { + process_file("$DHLIB/emacs/$filename", $filename); + } + } } # Custom template diff -Nru dh-make-0.61/lib/debian/emacsen-install.ex dh-make-0.61+nmu1/lib/debian/emacsen-install.ex --- dh-make-0.61/lib/debian/emacsen-install.ex 2012-06-24 09:46:59.000000000 +0900 +++ dh-make-0.61+nmu1/lib/debian/emacsen-install.ex 1970-01-01 09:00:00.000000000 +0900 @@ -1,47 +0,0 @@ -#! /bin/sh -e -# /usr/lib/emacsen-common/packages/install/#PACKAGE# - -# Written by Jim Van Zandt <[email protected]>, borrowing heavily -# from the install scripts for gettext by Santiago Vila -# <[email protected]> and octave by Dirk Eddelbuettel <[email protected]>. - -FLAVOR=$1 -PACKAGE=#PACKAGE# - -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 diff -Nru dh-make-0.61/lib/debian/emacsen-remove.ex dh-make-0.61+nmu1/lib/debian/emacsen-remove.ex --- dh-make-0.61/lib/debian/emacsen-remove.ex 2011-01-04 20:19:11.000000000 +0900 +++ dh-make-0.61+nmu1/lib/debian/emacsen-remove.ex 1970-01-01 09:00:00.000000000 +0900 @@ -1,15 +0,0 @@ -#!/bin/sh -e -# /usr/lib/emacsen-common/packages/remove/#PACKAGE# - -FLAVOR=$1 -PACKAGE=#PACKAGE# - -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/#PACKAGE#.info.gz - fi - - echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} - rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} -fi diff -Nru dh-make-0.61/lib/debian/emacsen-startup.ex dh-make-0.61+nmu1/lib/debian/emacsen-startup.ex --- dh-make-0.61/lib/debian/emacsen-startup.ex 2012-06-24 08:56:19.000000000 +0900 +++ dh-make-0.61+nmu1/lib/debian/emacsen-startup.ex 1970-01-01 09:00:00.000000000 +0900 @@ -1,27 +0,0 @@ -;; -*-emacs-lisp-*- -;; -;; Emacs startup file, e.g. /etc/emacs/site-start.d/50#PACKAGE#.el -;; for the Debian #PACKAGE# package -;; -;; Originally contributed by Nils Naumann <[email protected]> -;; Modified by Dirk Eddelbuettel <[email protected]> -;; Adapted for dh-make by Jim Van Zandt <[email protected]> - -;; The #PACKAGE# 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/#PACKAGE#"))) -;; If package-dir does not exist, the #PACKAGE# 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 '#PACKAGE#-mode "#PACKAGE#-mode" - "Major mode for editing #PACKAGE# files." t) - (add-to-list 'auto-mode-alist '("\\.#PACKAGE#$" . #PACKAGE#-mode)))) - diff -Nru dh-make-0.61/lib/emacs/emacsen-install.ex dh-make-0.61+nmu1/lib/emacs/emacsen-install.ex --- dh-make-0.61/lib/emacs/emacsen-install.ex 1970-01-01 09:00:00.000000000 +0900 +++ dh-make-0.61+nmu1/lib/emacs/emacsen-install.ex 2012-12-27 08:13:09.000000000 +0900 @@ -0,0 +1,47 @@ +#! /bin/sh -e +# /usr/lib/emacsen-common/packages/install/#PACKAGE# + +# Written by Jim Van Zandt <[email protected]>, borrowing heavily +# from the install scripts for gettext by Santiago Vila +# <[email protected]> and octave by Dirk Eddelbuettel <[email protected]>. + +FLAVOR=$1 +PACKAGE=#PACKAGE# + +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 diff -Nru dh-make-0.61/lib/emacs/emacsen-remove.ex dh-make-0.61+nmu1/lib/emacs/emacsen-remove.ex --- dh-make-0.61/lib/emacs/emacsen-remove.ex 1970-01-01 09:00:00.000000000 +0900 +++ dh-make-0.61+nmu1/lib/emacs/emacsen-remove.ex 2012-12-27 08:13:09.000000000 +0900 @@ -0,0 +1,15 @@ +#!/bin/sh -e +# /usr/lib/emacsen-common/packages/remove/#PACKAGE# + +FLAVOR=$1 +PACKAGE=#PACKAGE# + +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/#PACKAGE#.info.gz + fi + + echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} + rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} +fi diff -Nru dh-make-0.61/lib/emacs/emacsen-startup.ex dh-make-0.61+nmu1/lib/emacs/emacsen-startup.ex --- dh-make-0.61/lib/emacs/emacsen-startup.ex 1970-01-01 09:00:00.000000000 +0900 +++ dh-make-0.61+nmu1/lib/emacs/emacsen-startup.ex 2012-12-27 08:13:09.000000000 +0900 @@ -0,0 +1,27 @@ +;; -*-emacs-lisp-*- +;; +;; Emacs startup file, e.g. /etc/emacs/site-start.d/50#PACKAGE#.el +;; for the Debian #PACKAGE# package +;; +;; Originally contributed by Nils Naumann <[email protected]> +;; Modified by Dirk Eddelbuettel <[email protected]> +;; Adapted for dh-make by Jim Van Zandt <[email protected]> + +;; The #PACKAGE# 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/#PACKAGE#"))) +;; If package-dir does not exist, the #PACKAGE# 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 '#PACKAGE#-mode "#PACKAGE#-mode" + "Major mode for editing #PACKAGE# files." t) + (add-to-list 'auto-mode-alist '("\\.#PACKAGE#$" . #PACKAGE#-mode)))) +
--- End Message ---
--- Begin Message ---Source: dh-make Source-Version: 0.62 We believe that the bug you reported is fixed in the latest version of dh-make, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Craig Small <[email protected]> (supplier of updated dh-make package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Sat, 02 Feb 2013 18:14:21 +1100 Source: dh-make Binary: dh-make Architecture: source all Version: 0.62 Distribution: unstable Urgency: low Maintainer: Craig Small <[email protected]> Changed-By: Craig Small <[email protected]> Description: dh-make - tool that converts source archives into Debian package source Closes: 643337 683800 684258 696728 696729 696730 696793 Changes: dh-make (0.62) unstable; urgency=low . * MIT license uses MIT for debian/* files, to be consistent Closes: #683800 * options are case sensitive Closes: #684258 * Update to standard 3.9.4 Closes: 696728 * Added orig.tar.xz support Closes: #696729 * dh-make will use xz compression by default Closes: #696730 * don't install emacs by default Closes: #696793 * init.d template warns about interpreted daemons Closes: #643337 Checksums-Sha1: 32ea467f38a87e1f4958d4dc204e8164455406b2 1511 dh-make_0.62.dsc 523b611353573116c200cf9081605da31b686164 42195 dh-make_0.62.tar.gz 884447101c37bd4f7bcc5a591e652444567fc339 46666 dh-make_0.62_all.deb Checksums-Sha256: abd31c896714a151d0cf14519787e5da1bb790935acb56159c4d534f96e93293 1511 dh-make_0.62.dsc fe0416e84af3987510bd5773819e7fbee7b149a71aade6b25d19f6c0bff2f255 42195 dh-make_0.62.tar.gz 3dac5c9532dd647d33ccbf664b4b6b9c95269eb377d8224f61e901f84d3b8049 46666 dh-make_0.62_all.deb Files: 8156ecc545c89efb484f6b4ee36e0ea6 1511 devel optional dh-make_0.62.dsc 50df589c6a25c34805be0bd436f81986 42195 devel optional dh-make_0.62.tar.gz 47cef95c4686071b57ada77516013fe3 46666 devel optional dh-make_0.62_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCgAGBQJRLek7AAoJEDk4+WvfUP6lZwcP/jW2yrfet+ftU9OXGRgToWxC uoA6kvPk7neMmGYOIFrAB8ts7oEp7h2lSQGj8wJVWh8GMtAGA4eORUV8qqPnS4O+ Hq8Ax+SRopL9bk2+Aagf4hyWsWMJ2Sjj27XWyY9wPOKR+oyJkxmP+GScr896E5iN BICWe/v5VTspTz6znQKpcE1ookzQmWlfkVbkJQnZPIRySiKEwAArqtQiAHigcoXG N9oQNS+teK95l2iGPbIjchtP0BYg3LuweD7OQo2a5RO1BXeIiBwI6ZxDzUkVC0wm YqmnVzBCK4aGE99EM7pisA/TAY87KHfS+Biyn5iINxEmqAaeUXWwb/JsuUnpAF/x N44vI7JyxRU30vmGxmJDH31qiDtEF5kl2+A60yGkgAf67Ewa0XiB3VEINRNlrKGE lpz0rtzCGng6QZU2bdsz5TZdVKTC0Q+dabSBwDGnystdLftBJQWys4Z4wjcvZUrr gkVhdBh5QFDwwrWychR9n/6t/VZMpBrOSZ0g2JM9EXM4FS3J+CD231E/4K6aJ7Ti wBRBscF734DKHo1za+hNKua0mqB/tQ23LKSPSyFIKSwWeHKDRn2PBYFEZXpI5VwS 9p8qhKOcGoG9Xa2X7kIoZl1pbkYmSwhMmUrcIpXi7FtkUj7xxXoMQmtVZmNNSqzd 2p6f56tHtkYi+CiTOmc8 =f0E5 -----END PGP SIGNATURE-----
--- End Message ---

