From fc6fe2b87a8e758b0d5f8fff52a2827a73d29769 Mon Sep 17 00:00:00 2001 From: Hajime Mizuno Date: Sun, 17 Jan 2016 20:32:56 +0900 Subject: Imported Debian patch 1.11.0-1 --- debian/changelog | 17 +++++++++++++++++ debian/compat | 1 + debian/control | 17 +++++++++++++++++ debian/copyright | 28 ++++++++++++++++++++++++++++ debian/docs | 1 + debian/emacsen-compat | 1 + debian/emacsen-install | 47 +++++++++++++++++++++++++++++++++++++++++++++++ debian/emacsen-remove | 15 +++++++++++++++ debian/emacsen-startup | 24 ++++++++++++++++++++++++ debian/install | 1 + debian/rules | 32 ++++++++++++++++++++++++++++++++ debian/source/format | 1 + debian/watch | 2 ++ 13 files changed, 187 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/docs create mode 100644 debian/emacsen-compat create mode 100644 debian/emacsen-install create mode 100644 debian/emacsen-remove create mode 100644 debian/emacsen-startup create mode 100644 debian/install create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/watch (limited to 'debian') diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..15e84c1 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,17 @@ +s-el (1.11.0-1) unstable; urgency=medium + + * new upstream release + + -- Hajime Mizuno Sun, 17 Jan 2016 20:32:56 +0900 + +s-el (1.10.0-1) unstable; urgency=medium + + * new upstream release + + -- Hajime Mizuno Tue, 12 Jan 2016 16:54:11 +0900 + +s-el (1.9.0-1) unstable; urgency=low + + * Initial release (Closes: #770337) + + -- Hajime Mizuno 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 +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 +License: GPL-3+ + +Files: debian/* +Copyright: 2014 Hajime Mizuno +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 . + . + 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..ab176db --- /dev/null +++ b/debian/emacsen-install @@ -0,0 +1,47 @@ +#! /bin/sh -e +# /usr/lib/emacsen-common/packages/install/s-el + +# Written by Jim Van Zandt , borrowing heavily +# from the install scripts for gettext by Santiago Vila +# and octave by Dirk Eddelbuettel . + +FLAVOR=$1 +PACKAGE=s-el + +if [ ${FLAVOR} = emacs ]; then 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 +;; Modified by Dirk Eddelbuettel +;; Adapted for dh-make by Jim Van Zandt + +;; 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 -- cgit v1.2.3