From ad282195021f69062f66c7ef0a69727017f8d6f7 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Wed, 24 Jul 2019 13:16:56 -0400 Subject: [PATCH] various improvements for emacs --- emacs | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/emacs b/emacs index 19bcc0b..53a212a 100755 --- a/emacs +++ b/emacs @@ -47,6 +47,8 @@ for x in {35..24}; do done pkgs=(gawk attr autoconf-archive git) +##### warning, apt-rdepends seems to look at the newest version of the package, +##### not the one that build-dep would install. if $show_pkgs; then echo ${pkgs[*]} for x in $latest_emacs maildir-utils; do @@ -56,7 +58,7 @@ if $show_pkgs; then if ! type -p apt-rdepends &>/dev/null; then sudo apt-get -y install --purge --auto-remove apt-rdepends fi - apt-rdepends --build-depends --follow=DEPENDS $x|sed -rn 's/^\s*Build-Depends: (\S+).*/\1/p' + apt-rdepends -p --build-depends --follow=DEPENDS $x|sed -rn 's/^\s*Build-Depends: (\S+).*/\1/p' done exit 0 fi @@ -143,7 +145,16 @@ s lnf /usr/local/bin/emacs /usr/bin #git clone https://github.com/djcb/mu # note: master failed, i moved back to the commit before a bug https://github.com/djcb/mu/issues/1400 # from its HACKING file + cd /a/opt/mu +if [[ $(distro-name) == trisquel ]]; then + git checkout flidas +else + # newer version than build-dep installs for buster + sudo apt-get -y install --purge --auto-remove libgmime-3.0-dev + git checkout upmaster +fi +git clean -xfffd ./autogen.sh make s make install @@ -158,11 +169,12 @@ fi # org-edit-src-exit does not get bound, so using latest #/a/bin/buildscripts/org-mode -if $update; then - logq pi bzr - cd ~/.emacs.d/src/mediawiki-el - bzr pull -fi +# disabled as i haven't used it in a while +# if $update; then +# logq pi bzr +# cd ~/.emacs.d/src/mediawiki-el +# bzr pull +# fi # not keeping up with the latest gnus development. @@ -175,3 +187,5 @@ fi # fi # logq ./configure # logq make + +my-update-info-dir -- 2.30.2