[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1021364: RFS: ghostwriter/2.2.0-1 [RC] -- Distraction-free, themeable Markdown editor



On 2022-10-10 23:56 +0200, Sebastien Chavaux wrote:
>    Good evening;
>    I set build dependency in debian/control file "node-react" and
>    "libs-mathjax". For now and to test if the package builds well, I removed
>    the 3rdparty/MathJax/ and 3rdparty/react/ sources.  It builds and works
>    well that way. What would be best next, remove those two folders from
>    sources, leave them but ignore them, or whatever?  How should I do the
>    thing?

Either complies with policy.

There is nothing wrong with the 3rdparty stuff from a copyright
POV. However, I prefer to remove it as it often makes a dramatically
smaller source package, and avoids accidental regressions (to using
the embedded copy) in later updates. It's good practice to adjust the
version number to show that the tarball has been repacked from what
upstream released.

Just put 3rdparty into files-excluded: in the debian/copyright file, and setup up the watch file to repack/rename.
https://wiki.debian.org/Javascript/Repacking
https://wiki.debian.org/UscanEnhancements

Wookey
-- 
Principal hats:  Debian, Wookware, ARM
http://wookware.org/

Attachment: signature.asc
Description: PGP signature


Reply to: