debian: repack DFSG tarball using uscan #496

This commit is contained in:
nick black 2020-04-17 21:08:22 -04:00 committed by Nick Black
parent 5880083022
commit 957e09671e
4 changed files with 12 additions and 11 deletions

View File

@ -76,8 +76,7 @@ NCURSES, benefiting greatly from its portability and thoroughness.
notcurses opens up advanced functionality for the interactive user on
workstations, phones, laptops, and tablets, at the expense of e.g.
industrial and retail terminals (or even the Linux virtual console,
which offers only eight colors and limited glyphs).
some industrial and retail terminals.
Why use this non-standard library?
@ -90,8 +89,8 @@ Why use this non-standard library?
`static inline` header-only code is used. This facilitates compiler
optimizations, and reduces loader time.
* All APIs natively (and exclusively) support UTF-8. The `cell` API is based
around Unicode's [Extended Grapheme Cluster](https://unicode.org/reports/tr29/) concept.
* All APIs natively support the Universal Character Set (Unicode). The `cell`
* API is based around Unicode's [Extended Grapheme Cluster](https://unicode.org/reports/tr29/) concept.
* Visual features including images, fonts, video, high-contrast text, sprites,
and transparent regions. All APIs natively support 24-bit color, quantized

5
debian/copyright vendored
View File

@ -2,6 +2,11 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: notcurses
Upstream-Contact: Nick Black <dankamongmen@gmail.com>
Source: https://nick-black.com/dankwiki/index.php/notcurses
# The following files contain content believed to fall outside the DFSG, and
# are thus removed for the Debian tarball. So far as I can tell, character
# classes are not supported (nor newline continuations), hence the rather
# unreadable listing :/.
Files-Excluded: data/a* data/chun* data/covid* data/d* data/e* data/f* data/l* data/m* data/P* data/w* src/demo/jungle.c
Files: *
Copyright: 2019-2020 Nick Black <dankamongmen@gmail.com>

2
debian/watch vendored
View File

@ -1,5 +1,5 @@
version=4
opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.dfsg\.tar\.gz%notcurses-$1.tar.gz%" \
opts="repacksuffix=+dfsg,filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%notcurses-$1.tar.gz%" \
https://github.com/dankamongmen/notcurses/tags \
(?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate

View File

@ -1,6 +1,5 @@
* Finalize CHANGELOG.md
* `for i in CMakeLists.txt doc/Doxyfile doc/FreeBSD-Makefile doc/man/man*/* doc/man/index.html python/setup.py rust/*/Cargo.toml rust/libnotcurses-sys/build.rs tools/notcurses.spec ; do sed -i -e "s/$OLDVERSION/$VERSION/g" $i ; done`
* Finalize Debian changelog with `dch -r`
* Verify that Debian package builds properly
* git clean -d -f -x
* `tar -cJf ../notcurses_$VERSION.orig.tar.xz --exclude=.git --exclude=debian -C.. notcurses-$VERSION`
@ -12,11 +11,9 @@
* Draft new release at https://github.com/dankamongmen/notcurses/releases
* Title is "v$VERSION—some quip"
* That's an em dash (U+2014, UTF-8 e2 80 94), get it right
* Repack DFSG-safe tarball, upload to github
* download github-spun tarball
* remove nonfree multimedia:
* rm data/chun* data/covid* data/[adeflmPw]* src/demo/jungle.c
* `tar -cJf ../v$VERSION.dfsg.tar.xz -C.. notcurses-$VERSION`
* Finalize Debian changelog with `dch -r`
* Repack DFSG-safe tarball with uscan, upload to github
* `uscan --repack --compression xz -v`
* upload to github
* Build new Debian package
* download DFSG tarball, unpack