Package: org-mode
Version: 7.5-1
Severity: normal
Tags: patch
The org-mode package install script does not link to the source .el
files and
only installs the byte-compiled .elc files. I am unable to browse the
source
code of org-mode functions within Emacs as a result of this. The
attached patch
modifies the package install script so that it creates and stores
symbolic
links to the source .el files alongside the byte-compiled versions.
-- System Information:
Debian Release: squeeze/sid
APT prefers maverick-updates
APT policy: (500, 'maverick-updates'), (500, 'maverick-security'),
(500,
'maverick-proposed'), (500, 'maverick-backports'), (500, 'maverick'),
(90,
'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.38-7-generic (SMP w/2 CPU cores)
Locale: LANG=en_IN.UTF-8, LC_CTYPE=en_IN.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages org-mode depends on:
ii dpkg 1.15.8.4ubuntu3.1 Debian package management
system
ii emacs23 23.2+1-4ubuntu1~ppa3 The GNU Emacs editor (with
GTK+ us
ii install-info 4.13a.dfsg.1-5ubuntu1 Manage installed
documentation in
org-mode recommends no packages.
Versions of packages org-mode suggests:
pn ditaa <none> (no description available)
pn easypg <none> (no description available)
pn remember-el <none> (no description available)
-- no debconf information
*** /tmp/patch
--- /usr/lib/emacsen-common/packages/install/org-mode 2011-04-18
14:55:10.000000000 +0200
+++ org-mode 2011-04-19 20:06:28.831197070 +0200
@@ -24,14 +24,16 @@
ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
install -m 755 -d ${ELCDIR}
-cp ${FILES} ${ELCDIR}
+cd ${ELCDIR}
+for i in ${FILES}; do
+ ln -fs $i
+done
if [ -n "$EXCLUDE_FILES" ] ; then
rm -f ${ELCDIR}/${EXCLUDE_FILES}
fi
FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile"
-cd ${ELCDIR}
cat << EOF > path.el
(setq load-path (cons "." load-path))
(setq byte-compile-warnings nil)
@@ -41,6 +43,6 @@
${FLAVOR} ${FLAGS} *.el >> ${LOG} 2>& 1
egrep -s -e "While compiling|\*\*" ${LOG} || /bin/true
echo install/${PACKAGE}: Deleting ${LOG}
-rm -f *.el path.el*
+rm -f path.el*
--
http://www.fastmail.fm - Accessible with your email software
or over the web
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]