Package: dh-make
Version: 1.20140617
Severity: wishlist
Tags: patch

Dear Maintainer,

 I've add some file to dh-make to comply Debian Emacs policy.
 Could you check attached patch and consider to apply it, please?

-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dh-make depends on:
ii  debhelper          9.20150101
ii  dpkg-dev           1.17.23
ii  make-guile [make]  4.0-8
ii  perl               5.20.1-4

dh-make recommends no packages.

Versions of packages dh-make suggests:
ii  build-essential  11.7

-- no debconf information
>From 175786a0008092225644aa684e4b8a5bfa921015 Mon Sep 17 00:00:00 2001
From: Hideki Yamane <henr...@debian.org>
Date: Sun, 4 Jan 2015 12:49:00 +0900
Subject: [PATCH 1/2] add emacsen-compat for modern Emacs lisp package

as debian-emacs-policy, newer style emacs package should add compat
file, see /usr/share/doc/emacsen-common/debian-emacs-policy.gz

5) Emacs add-on package support (examples below should make this much clearer)
>
>  A) Each add-on package must add a "Depends: emacsen-common (>=
>     2.0.8)" and include a file like this that indicates its
>     emacsen-common compatibility level:
>
>       /usr/lib/emacsen-common/packages/compat/<package>
>
>     This file should contain a single integer, which at the moment
>     should be 0.  (Currently, the file is just used to distinguish
>     between old-style packages and new-style packages.)
---
 lib/emacs/emacsen-compat | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 lib/emacs/emacsen-compat

diff --git a/lib/emacs/emacsen-compat b/lib/emacs/emacsen-compat
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/lib/emacs/emacsen-compat
@@ -0,0 +1 @@
+0
-- 
2.1.4

>From c870912992da04d5513e75ea40b2b20f69184333 Mon Sep 17 00:00:00 2001
From: Hideki Yamane <henr...@debian.org>
Date: Sun, 4 Jan 2015 12:56:57 +0900
Subject: [PATCH 2/2] add debian/control file for Emacs add-on

Emacs package must have "Depends: emacsen-common (>= 2.0.8)",
see debian-emacs-policy

>5) Emacs add-on package support (examples below should make this much clearer)
>
>  A) Each add-on package must add a "Depends: emacsen-common (>=
>     2.0.8)" and include a file like this that indicates its
>     emacsen-common compatibility level:
---
 lib/emacs/control | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 lib/emacs/control

diff --git a/lib/emacs/control b/lib/emacs/control
new file mode 100644
index 0000000..d850f09
--- /dev/null
+++ b/lib/emacs/control
@@ -0,0 +1,15 @@
+Source: #PACKAGE#
+Section: lisp
+Priority: optional
+Maintainer: #USERNAME# <#EMAIL#>
+Build-Depends: #BUILD_DEPS#
+Standards-Version: #POLICY#
+Homepage: <insert the upstream URL, if relevant>
+#Vcs-Git: git://anonscm.debian.org/collab-maint/#PACKAGE#.git
+#Vcs-Browser: http://anonscm.debian.org/cgit/collab-maint/#PACKAGE#.git/
+
+Package: #PACKAGE#
+Architecture: all
+Depends: ${misc:Depends}, emacsen-common (>= 2.0.8), emacs | emacsen,
+Description: <insert up to 60 chars description>
+ <insert long description, indented with spaces>
-- 
2.1.4

Reply via email to