diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2017-01-05 23:33:44 +0000 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2017-01-05 23:33:44 +0000 |
commit | 722e7ce2293e432a708e822650c7b5099a723457 (patch) | |
tree | bba35df6eedaada32c12e6cfff43e903c2c374e0 | |
parent | 4b3df0665edc6cab1ec41222d9a623360eae5b62 (diff) | |
parent | b922d80995850bd4c2b1c22a9074bbbcf3799769 (diff) |
s-el (1.11.0-1.1) unstable; urgency=medium
* Non-maintainer upload.
* Skip install for emacsen flavour xemacs21 (Closes: #812464).
[dgit import unpatched s-el 1.11.0-1.1]
-rw-r--r-- | debian/changelog | 24 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 17 | ||||
-rw-r--r-- | debian/copyright | 28 | ||||
-rw-r--r-- | debian/docs | 1 | ||||
-rw-r--r-- | debian/emacsen-compat | 1 | ||||
-rw-r--r-- | debian/emacsen-install | 53 | ||||
-rw-r--r-- | debian/emacsen-remove | 15 | ||||
-rw-r--r-- | debian/emacsen-startup | 24 | ||||
-rw-r--r-- | debian/install | 1 | ||||
-rwxr-xr-x | debian/rules | 32 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/watch | 2 |
13 files changed, 200 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..46c3410 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,24 @@ +s-el (1.11.0-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Skip install for emacsen flavour xemacs21 (Closes: #812464). + + -- Sean Whitton <spwhitton@spwhitton.name> Thu, 05 Jan 2017 16:33:44 -0700 + +s-el (1.11.0-1) unstable; urgency=medium + + * new upstream release + + -- Hajime Mizuno <mizuno-as@ubuntu.com> Sun, 17 Jan 2016 20:32:56 +0900 + +s-el (1.10.0-1) unstable; urgency=medium + + * new upstream release + + -- Hajime Mizuno <mizuno-as@ubuntu.com> Tue, 12 Jan 2016 16:54:11 +0900 + +s-el (1.9.0-1) unstable; urgency=low + + * Initial release (Closes: #770337) + + -- Hajime Mizuno <mizuno-as@ubuntu.com> Thu, 20 Nov 2014 21:49:32 +0900 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..e0f6745 --- /dev/null +++ b/debian/control @@ -0,0 +1,17 @@ +Source: s-el +Section: lisp +Priority: extra +Maintainer: Hajime Mizuno <mizuno-as@ubuntu.com> +Build-Depends: debhelper (>= 9) +Standards-Version: 3.9.6 +Homepage: https://github.com/magnars/s.el +#Vcs-Git: git://git.debian.org/collab-maint/s-el.git +#Vcs-Browser: http://git.debian.org/?p=collab-maint/s-el.git;a=summary + +Package: s-el +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, emacsen-common (>= 2.0.8), emacs +Description: String manipulation library for Emacs + s.el is API library to manipulate character string by Emacs Lisp. + For example, you can easily perform truncate, padding, concatenate, + remove prefix/suffix, tweak whitespace, and more functions. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..94f1f2a --- /dev/null +++ b/debian/copyright @@ -0,0 +1,28 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: s.el +Source: https://github.com/magnars/s.el + +Files: * +Copyright: 2012 Magnar Sveen <magnars@gmail.com> +License: GPL-3+ + +Files: debian/* +Copyright: 2014 Hajime Mizuno <mizuno-as@ubuntu.com> +License: GPL-3+ + +License: GPL-3+ + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..b43bf86 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +README.md diff --git a/debian/emacsen-compat b/debian/emacsen-compat new file mode 100644 index 0000000..573541a --- /dev/null +++ b/debian/emacsen-compat @@ -0,0 +1 @@ +0 diff --git a/debian/emacsen-install b/debian/emacsen-install new file mode 100644 index 0000000..957ab7f --- /dev/null +++ b/debian/emacsen-install @@ -0,0 +1,53 @@ +#! /bin/sh -e +# /usr/lib/emacsen-common/packages/install/s-el + +# Written by Jim Van Zandt <jrv@debian.org>, borrowing heavily +# from the install scripts for gettext by Santiago Vila +# <sanvila@ctv.es> and octave by Dirk Eddelbuettel <edd@debian.org>. + +FLAVOR=$1 +PACKAGE=s-el + +if [ ${FLAVOR} = emacs ]; then exit 0; fi + +# see #812464 +if [ ${FLAVOR} = xemacs21 ]; then + echo install/${PACKAGE}: Skipping incompatible emacsen xemacs21 + exit 0 +fi + +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} +ELRELDIR=../../../emacs/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` +cd ${ELCDIR} +ln -sf ${ELRELDIR}/*.el . + +cat << EOF > path.el +(debian-pkg-add-load-path-item ".") +(setq byte-compile-warnings nil) +EOF +${FLAVOR} ${FLAGS} ${FILES} +rm -f path.el + +exit 0 diff --git a/debian/emacsen-remove b/debian/emacsen-remove new file mode 100644 index 0000000..ca91499 --- /dev/null +++ b/debian/emacsen-remove @@ -0,0 +1,15 @@ +#!/bin/sh -e +# /usr/lib/emacsen-common/packages/remove/s-el + +FLAVOR=$1 +PACKAGE=s-el + +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/s-el.info.gz + fi + + echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} + rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} +fi diff --git a/debian/emacsen-startup b/debian/emacsen-startup new file mode 100644 index 0000000..3b00a19 --- /dev/null +++ b/debian/emacsen-startup @@ -0,0 +1,24 @@ +;; -*-emacs-lisp-*- +;; +;; Emacs startup file, e.g. /etc/emacs/site-start.d/50s-el.el +;; for the Debian s-el package +;; +;; Originally contributed by Nils Naumann <naumann@unileoben.ac.at> +;; Modified by Dirk Eddelbuettel <edd@debian.org> +;; Adapted for dh-make by Jim Van Zandt <jrv@debian.org> + +;; The s-el package follows the Debian/GNU Linux 'emacsen' policy and +;; byte-compiles its elisp files for each 'emacs flavor' (emacs19, +;; xemacs19, emacs20, xemacs20...). The compiled code is then +;; installed in a subdirectory of the respective site-lisp directory. +;; We have to add this to the load-path: +(let ((package-dir (concat "/usr/share/" + (symbol-name debian-emacs-flavor) + "/site-lisp/s-el"))) +;; If package-dir does not exist, the s-el package must have +;; removed but not purged, and we should skip the setup. + (when (file-directory-p package-dir) + (if (fboundp 'debian-pkg-add-load-path-item) + (debian-pkg-add-load-path-item package-dir) + (setq load-path (cons package-dir load-path))) + (require 's nil t))) diff --git a/debian/install b/debian/install new file mode 100644 index 0000000..0536e05 --- /dev/null +++ b/debian/install @@ -0,0 +1 @@ +s.el usr/share/emacs/site-lisp/s-el/ diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..ce15cce --- /dev/null +++ b/debian/rules @@ -0,0 +1,32 @@ +#!/usr/bin/make -f +# See debhelper(7) (uncomment to enable) +# output every command that modifies files on the build system. +#DH_VERBOSE = 1 + +# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/* +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/default.mk + +# see FEATURE AREAS in dpkg-buildflags(1) +#export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +# see ENVIRONMENT in dpkg-buildflags(1) +# package maintainers to append CFLAGS +#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic +# package maintainers to append LDFLAGS +#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed + + +# main packaging script based on dh7 syntax +%: + dh $@ + +# debmake generated override targets +# This is example for Cmake (See http://bugs.debian.org/641051 ) +#override_dh_auto_configure: +# dh_auto_configure -- \ +# -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) + + + + diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..dbf0d77 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +https://github.com/magnars/s.el/releases /magnars/s.el/archive/(.+)\.tar\.gz |