[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#984931: [PATCH] git-el: disable byte-compilation



Since there is no provided user functionality, there is no point in
making things more complicated.
---
 debian/changelog              | 6 ++++++
 debian/git-el.emacsen-install | 6 +++---
 2 files changed, 9 insertions(+), 3 deletions(-)

I confirmed that this fixes the installation problem, and that it
still prints the same messages as before.  There's really no benefit
to byte compiling such simple elisp, especially since most users will
probably only run it once.

I'd rather not NMU git during the freeze; would you mind applying this
(or something similar)?

diff --git a/debian/changelog b/debian/changelog
index c458ad8f05..a67c56e62c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+git (1:2.31.0-2) unstable; urgency=medium
+
+  * git-el: Disable byte compilation (Closes: #984931).
+
+ -- David Bremner <bremner@debian.org>  Sat, 20 Mar 2021 20:20:04 -0300
+
 git (1:2.31.0-1) unstable; urgency=low
 
   * new upstream release (see RelNotes/2.31.0.txt).
diff --git a/debian/git-el.emacsen-install b/debian/git-el.emacsen-install
index 4b02513a5a..70809aa606 100755
--- a/debian/git-el.emacsen-install
+++ b/debian/git-el.emacsen-install
@@ -21,7 +21,7 @@ printf 'install/git: Handling install of emacsen flavor %s\n' "$FLAVOR"
     ln -sf $el_dir/$i $i
   done
 
-  printf 'install/git: Byte-compiling for %s\n' "$FLAVOR"
-  set -x
-  $FLAVOR -batch -q -no-site-file -f batch-byte-compile $el_files
+  printf 'install/git: Not byte-compiling for %s\n' "$FLAVOR"
+#  set -x
+#  $FLAVOR -batch -q -no-site-file -f batch-byte-compile $el_files
 )
-- 
2.30.2


Reply to: