Skip to content

Commit

Permalink
add folding-mode-el (0.0~git20240308.b27c4a1-2) unstable;
Browse files Browse the repository at this point in the history
  • Loading branch information
Cherrling committed Dec 31, 2024
1 parent d13c96d commit 9b7ac39
Show file tree
Hide file tree
Showing 21 changed files with 6,737 additions and 27 deletions.
339 changes: 339 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion README.md

This file was deleted.

91 changes: 88 additions & 3 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,5 +1,90 @@
template-repository (1.0-1) unstable; urgency=medium
folding-mode-el (0.0~git20240308.b27c4a1-2) unstable; urgency=medium

* Initial release
* Team upload.
* Rebuild against dh-elpa 2.1.5.
Upload pushed to dgit-repos but not salsa.
See <https://lists.debian.org/debian-emacsen/2024/07/msg00077.html>.

-- Tsic404 <liuheng@deepin.org> Sat, 28 Jan 2023 13:46:49 +0800
-- Sean Whitton <spwhitton@spwhitton.name> Thu, 25 Jul 2024 20:36:28 +0900

folding-mode-el (0.0~git20240308.b27c4a1-1) unstable; urgency=medium

* Import new upstream snapshot.
* Rebase quilt series onto this snapshot.
* Record copyright info for folding.texi.
* Import upstream copyright statement update.
* Declare Standards-Version: 4.7.0 (no changes required).

-- Nicholas D Steeves <sten@debian.org> Mon, 22 Apr 2024 07:53:21 -0400

folding-mode-el (0.0~git20231003.f6fc3af-1) unstable; urgency=medium

* Import new upstream snapshot.
* Update copyright file with upstream statements, and update my own range.
* Make generation of Package-Version automatic:
+ Do this work in the dh_elpa override, and undo it before_dh_auto_clean.
+ Rename 0001-Add-Package-Version-used-in-MELPA-for-this-snapshot.patch
-> 0001-Generate-Package-Version-from-folding-version-time.patch

-- Nicholas D Steeves <sten@debian.org> Sat, 07 Oct 2023 16:22:19 -0400

folding-mode-el (0.0~git20230919.46ebc3a-1) unstable; urgency=medium

* Package new upstream snapshot.
* Update 0001-Add-Package-Version-used-in-MELPA-for-this-snapshot.patch.
* Drop unnecessary version qualifier for Recommends: emacs (>= 46.0 is
available in oldoldstable).
* Declare Standards-Version: 4.6.2 (No changes required).

-- Nicholas D Steeves <sten@debian.org> Wed, 27 Sep 2023 16:47:41 -0400

folding-mode-el (0.0~git20220110.1ce338b-1) unstable; urgency=medium

* Package new upstream snapshot.
* Rebase quilt series onto this snapshot:
- Drop 0003-folding.el-Fix-typo-thanks-to-Reuben-Thomas.patch (merged
upstream).
* Update ELPA version in
0001-Add-Package-Version-used-in-MELPA-for-this-snapshot.patch.
* Update my email address.
* Streamline copyright date ranges, and update my own.
* Create watch file using git mode to provide notifications with commit
granularity, because it doesn't look like upstream will ever start using
tagged releases, and because commits are infrequent.
* Declare Standards-Version: 4.6.1 (No changes required).

-- Nicholas D Steeves <sten@debian.org> Fri, 13 May 2022 21:01:06 -0400

folding-mode-el (0+20200825.748-1) unstable; urgency=medium

* Package new upstream snapshot.
* Rebase patches onto this tag, and update
0001-Add-Package-Version-used-in-MELPA-for-this-snapshot.patch to declare
the correct version.
* Drop 0002-Add-folding.texi.patch (merged upstream).
* Migrate to debhelper-compat 13.
* Drop Enhances emacs25, because emacs has been unversioned.
* Synchronise copyright file with upstream copyright statements.
* Update my copyright year range.
* Set Forwarded URL for
0003-folding.el-Fix-typo-thanks-to-Reuben-Thomas.patch
* Declare Rules-Requires-Root: no.
* Declare Standards-Version: 4.5.0. (No changes needed)

-- Nicholas D Steeves <nsteeves@gmail.com> Tue, 25 Aug 2020 20:09:17 -0400

folding-mode-el (0+20170925.1538-2) unstable; urgency=medium

* debian/rules: Fix typo.
* Add 0003-folding.el-Fix-typo-thanks-to-Reuben-Thomas.patch
to fix upstream typo. (Closes: #639222)
* Switch to debhelper-compat, and drop debian/compat.
* Declare Standards-Version: 4.3.0. (No changes needed)

-- Nicholas D Steeves <nsteeves@gmail.com> Fri, 01 Mar 2019 15:45:18 -0700

folding-mode-el (0+20170925.1538-1) unstable; urgency=medium

* Initial release. (Closes: #639221)

-- Nicholas D Steeves <nsteeves@gmail.com> Thu, 20 Sep 2018 21:33:53 -0400
1 change: 0 additions & 1 deletion debian/compat

This file was deleted.

46 changes: 33 additions & 13 deletions debian/control
Original file line number Diff line number Diff line change
@@ -1,15 +1,35 @@
Source: template-repository
Section: unknown
Source: folding-mode-el
Section: lisp
Priority: optional
Maintainer: Tsic404 <liuheng@deepin.org>
Build-Depends: debhelper (>= 11)
Standards-Version: 4.1.3
Homepage: https://github.com/deepin-community/template-repository
#Vcs-Browser: https://salsa.debian.org/debian/deepin-community-template-repository
#Vcs-Git: https://salsa.debian.org/debian/deepin-community-template-repository.git
Maintainer: Debian Emacsen team <debian-emacsen@lists.debian.org>
Uploaders: Nicholas D Steeves <sten@debian.org>
Build-Depends: debhelper-compat (= 13),
dh-elpa,
texinfo <!nodoc>
Rules-Requires-Root: no
Standards-Version: 4.7.0
Homepage: https://github.com/jaalto/project-emacs--folding-mode
Vcs-Browser: https://salsa.debian.org/emacsen-team/folding-mode-el
Vcs-Git: https://salsa.debian.org/emacsen-team/folding-mode-el.git

Package: template-repository
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: <insert up to 60 chars description>
<insert long description, indented with spaces>
Package: elpa-folding
Architecture: all
Depends: ${elpa:Depends}, ${misc:Depends}
Recommends: emacs
Enhances: emacs
Description: folding-editor minor mode for Emacs
This package provides an Emacs minor mode for folding (hiding) custom
regions. It also provides an Isearch interface to the folds. Folds
can be nested hierarchically.
.
Folding-mode is similar to a general-purpose Outline-mode or to
Org-mode. It can CLOSE a fold so that only initial special marker
and optional fold name/comment are visible, or it can ENTER a fold so
that all text outside of the target fold is hidden.
.
The upstream maintainers of folding-mode do not recommend exclusively
relying on folding-mode for code layout and navigation. Hideshow and
Imenu are more appropriate for folding code at a per-function() level
of granularity. In particular Imenu is more useful for this because
it parses function indexes. Folding mode is most useful for dividing
code into broad operations and for organising stubs while prototyping.
30 changes: 22 additions & 8 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -1,22 +1,36 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: template-repository
Source: https://github.com/deepin-community/template-repository
Upstream-Name: folding-mode
Source: https://github.com/jaalto/project-emacs--folding-mode

Files: *
Copyright: 2023 Tsic404 <liuheng@deepin.org>
Copyright: 1994, 2000-2024 Jari Aalto
1995-1999 Jari Aalto, Anders Lindgren.
1992, 1993 Jamie Lokier <jamie@shareable.org>
License: GPL-2+
This package is free software; you can redistribute it and/or modify

Files: folding.texi
Copyright: 2000-2003 Roland Mas <lolando@debian.org>,
2005-2014 Peter S Galbraith <psg@debian.org>
2014 Julian Gilbey <jdg@debian.org>
License: GPL-2+

Files: debian/*
Copyright: 2018-2023 Nicholas D Steeves <sten@debian.org>
License: GPL-2+

License: GPL-2+
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 2 of the License, or
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
This program 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 <https://www.gnu.org/licenses/>
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 2 can be found in "/usr/share/common-licenses/GPL-2".
Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'
1 change: 1 addition & 0 deletions debian/elpa
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.el
1 change: 1 addition & 0 deletions debian/info
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
folding.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
From: Nicholas D Steeves <sten@debian.org>
Date: Sat, 15 Sep 2018 16:22:02 -0400
Subject: Generate Package-Version from folding-version-time

Generate Package-Version from upstream folding-version-time in a
format that retains compatibility with MELPA.

Forwarded: no
Last-Update: 2024-04-22
---
folding.el | 1 +
1 file changed, 1 insertion(+)

diff --git a/folding.el b/folding.el
index c414341..75d969e 100644
--- a/folding.el
+++ b/folding.el
@@ -14,6 +14,7 @@
;; Maintainer: Jari Aalto <jari aalto A T cante dt net>
;; Created: 1992
;; Keywords: tools
+;; Package-Version: GENERATED-IN-RULES
;; Vcs-URL: https://github.com/jaalto/project-emacs--folding-mode

(defconst folding-version-time "2024.0308.0333"
1 change: 1 addition & 0 deletions debian/patches/series
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0001-Generate-Package-Version-from-folding-version-time.patch
18 changes: 17 additions & 1 deletion debian/rules
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
#!/usr/bin/make -f

export GENERATED_VERSION:=$(shell emacs --batch -Q -q -l folding.el --eval "(print folding-version-time)" | sed -e 's/\"//g' -e 's/\.//')

%:
dh $@
dh $@ --with elpa

# info page is not generated without this override
override_dh_elpa:
sed -i "s/GENERATED-IN-RULES/$(GENERATED_VERSION)/" folding.el
dh_elpa
# support the nodoc build profile
ifneq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
echo -e "\nnodoc build profile enabled, therefore not building docs.\n"
else
makeinfo --no-split folding.texi -o debian/tmp/folding.info
endif

execute_before_dh_auto_clean:
sed -i "s/$(GENERATED_VERSION)/GENERATED-IN-RULES/" folding.el
4 changes: 4 additions & 0 deletions debian/watch
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
version=4
opts="mode=git, pgpmode=none" \
https://github.com/jaalto/project-emacs--folding-mode/ \
HEAD
Loading

0 comments on commit 9b7ac39

Please sign in to comment.