--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: stretch
User: release.debian.org@packages.debian.org
Usertags: pu
supercollider fails to install with xemacs21, #916858
This is a backport (only changes to the changelog were needed)
of the commit from sid that disabled support for xemacs and other old
emacs <= 23. The diff looks a bit bigger due to the reindenting, but
diff -w showed that nothing actually changed in the reindented code.
Andreas
diff -Nru supercollider-3.7.0~repack/debian/changelog supercollider-3.7.0~repack/debian/changelog
--- supercollider-3.7.0~repack/debian/changelog 2016-11-17 00:27:41.000000000 +0100
+++ supercollider-3.7.0~repack/debian/changelog 2019-02-09 22:39:14.000000000 +0100
@@ -1,3 +1,16 @@
+supercollider (1:3.7.0~repack-4+deb9u1) stretch; urgency=medium
+
+ [ Andreas Beckmann ]
+ * Non-maintainer upload.
+ * Backport disabling support for XEmacs etc. from 1:3.10.0+repack-0.1.
+
+ [ Georges Khaznadar ]
+ * modified emacsen configuration files to fit the patterns found
+ with ELPA. This prevents the installation with xemacs and emacs <= 23.
+ Closes: #916858
+
+ -- Andreas Beckmann <anbe@debian.org> Sat, 09 Feb 2019 22:39:14 +0100
+
supercollider (1:3.7.0~repack-4) unstable; urgency=medium
[ Dan Stowell ]
diff -Nru supercollider-3.7.0~repack/debian/gbp.conf supercollider-3.7.0~repack/debian/gbp.conf
--- supercollider-3.7.0~repack/debian/gbp.conf 2016-11-17 00:27:41.000000000 +0100
+++ supercollider-3.7.0~repack/debian/gbp.conf 2019-02-09 22:39:14.000000000 +0100
@@ -1,3 +1,4 @@
[DEFAULT]
pristine-tar = True
sign-tags = True
+debian-branch = stretch
diff -Nru supercollider-3.7.0~repack/debian/supercollider-emacs.emacsen-install supercollider-3.7.0~repack/debian/supercollider-emacs.emacsen-install
--- supercollider-3.7.0~repack/debian/supercollider-emacs.emacsen-install 2016-11-17 00:27:41.000000000 +0100
+++ supercollider-3.7.0~repack/debian/supercollider-emacs.emacsen-install 2019-02-09 22:39:14.000000000 +0100
@@ -8,38 +8,51 @@
FLAVOR=$1
PACKAGE=SuperCollider
-if [ ${FLAVOR} = emacs ]; then exit 0; fi
+case $FLAVOR in
+ emacs)
+ exit 0
+ ;;
+ emacs2[0123]*)
+ echo install/${PACKAGE}: Skipping obsolete emacs ${FLAVOR}
+ exit 0
+ ;;
+ xemacs*)
+ echo install/${PACKAGE}: Skipping unsupported emacs ${FLAVOR}
+ exit 0
+ ;;
+ *)
+ echo install/${PACKAGE}: Handling install of emacsen flavor ${FLAVOR}
+
+ #FLAVORTEST=`echo $FLAVOR | cut -c-6`
+ #if [ ${FLAVORTEST} = xemacs ] ; then
+ # SITEFLAG="-no-site-file"
+ #else
+ # SITEFLAG="--no-site-file"
+ #fi
+ FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile"
+
+ ELDIR=/usr/share/emacs/site-lisp/${PACKAGE}
+ ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
+
+ # Install-info-altdir does not actually exist.
+ # Maybe somebody will write it.
+ if test -x /usr/sbin/install-info-altdir; then
+ echo install/${PACKAGE}: install Info links for ${FLAVOR}
+ install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} /usr/share/info/${PACKAGE}.info.gz
+ fi
+
+ install -m 755 -d ${ELCDIR}
+ cd ${ELDIR}
+ FILES=`echo *.el`
+ cp ${FILES} ${ELCDIR}
+ cd ${ELCDIR}
-echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR}
-
-#FLAVORTEST=`echo $FLAVOR | cut -c-6`
-#if [ ${FLAVORTEST} = xemacs ] ; then
-# SITEFLAG="-no-site-file"
-#else
-# SITEFLAG="--no-site-file"
-#fi
-FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile"
-
-ELDIR=/usr/share/emacs/site-lisp/${PACKAGE}
-ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
-
-# Install-info-altdir does not actually exist.
-# Maybe somebody will write it.
-if test -x /usr/sbin/install-info-altdir; then
- echo install/${PACKAGE}: install Info links for ${FLAVOR}
- install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} /usr/share/info/${PACKAGE}.info.gz
-fi
-
-install -m 755 -d ${ELCDIR}
-cd ${ELDIR}
-FILES=`echo *.el`
-cp ${FILES} ${ELCDIR}
-cd ${ELCDIR}
-
-cat << EOF > path.el
+ cat << EOF > path.el
(setq load-path (cons "." load-path) byte-compile-warnings nil)
EOF
-${FLAVOR} ${FLAGS} ${FILES}
-rm -f *.el path.el
+ ${FLAVOR} ${FLAGS} ${FILES}
+ rm -f *.el path.el
+
+ exit 0
+esac
-exit 0
diff -Nru supercollider-3.7.0~repack/debian/supercollider-emacs.emacsen-remove supercollider-3.7.0~repack/debian/supercollider-emacs.emacsen-remove
--- supercollider-3.7.0~repack/debian/supercollider-emacs.emacsen-remove 2016-11-17 00:27:41.000000000 +0100
+++ supercollider-3.7.0~repack/debian/supercollider-emacs.emacsen-remove 2019-02-09 22:39:14.000000000 +0100
@@ -4,12 +4,25 @@
FLAVOR=$1
PACKAGE=SuperCollider
-if [ ${FLAVOR} != emacs ]; then
- if test -x /usr/sbin/install-info-altdir; then
- echo remove/${PACKAGE}: removing Info links for ${FLAVOR}
- install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/share/info/supercollider.info.gz
- fi
+case $FLAVOR in
+ emacs)
+ exit 0
+ ;;
+ emacs2[0123]*)
+ echo remove/${PACKAGE}: Skipping obsolete emacs ${FLAVOUR}
+ exit 0
+ ;;
+ xemacs*)
+ echo remove/${PACKAGE}: Skipping unsupported emacs ${FLAVOUR}
+ exit 0
+ ;;
+ *)
+ if test -x /usr/sbin/install-info-altdir; then
+ echo remove/${PACKAGE}: removing Info links for ${FLAVOR}
+ install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/share/info/supercollider.info.gz
+ fi
+
+ echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
+ rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
+esac
- echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
- rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
-fi
--- End Message ---