Package: ledger
Version: 2.6.2-1
Severity: wishlist

It'd be good if ledger.el from sources was included in the package.
Just chucking it and a startup file under the emacs dirs would be enough
and doesn't create a dependency on emacs or emacsen-common.  I get some
joy from the couple of lines below.

I suspect right now ledger.el and timeclock.el get into the package if
you've got emacs installed when building, and not if not (and that with
emacs it would put in .elc files too - which would generally end up
emacs version specific).

--- ../../orig/ledger-2.6.2/debian/rules	2009-11-02 15:34:12.000000000 +1100
+++ rules	2009-11-01 16:50:08.000000000 +1100
@@ -70,6 +70,14 @@
 	# Clean out some stuff that make install puts in that we don't want
 	rm -rf $(CURDIR)/debian/ledger/usr/include
 	rm -rf $(CURDIR)/debian/ledger/usr/lib
+	rm -rf $(CURDIR)/debian/ledger/usr/share/info/dir
+
+	# not byte compiled, and exclude timeclock.el since it comes with
+	# emacs already and in particular the one with emacs 23.1 might be
+	# newer than with ledger 2.6.2
+	rm -rf $(CURDIR)/debian/ledger/usr/share/emacs/site-lisp/*
+	cp -a ledger.el $(CURDIR)/debian/ledger/usr/share/emacs/site-lisp
+
 
 # Build architecture-independent files here.
 binary-indep: build install
@@ -81,6 +89,7 @@
 	dh_testroot
 	dh_installchangelogs
 	dh_installdocs
+	dh_installemacsen
 	dh_installexamples
 	dh_installinfo
 	dh_installman
--- ../../orig/ledger-2.6.2/debian/dirs	2009-11-02 15:34:12.000000000 +1100
+++ dirs	2009-11-01 16:38:17.000000000 +1100
@@ -1 +1,2 @@
 usr/bin
+usr/share/emacs/site-lisp

Attachment: emacsen-startup
Description: Binary data



-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i586)

Kernel: Linux 2.6.30-1-486
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages ledger depends on:
ii  dpkg                      1.15.3.1       Debian package management system
ii  install-info              4.13a.dfsg.1-5 Manage installed documentation in 
ii  libc6                     2.9-18         GNU C Library: Shared libraries
ii  libexpat1                 2.0.1-4        XML parsing C library - runtime li
ii  libgcc1                   1:4.4.1-6      GCC support library
ii  libgmp3c2                 2:4.3.1+dfsg-3 Multiprecision arithmetic library
ii  libpcre3                  7.8-3          Perl 5 Compatible Regular Expressi
ii  libstdc++6                4.4.1-6        The GNU Standard C++ Library v3

ledger recommends no packages.

ledger suggests no packages.

-- no debconf information

Reply via email to