diff -ru ubuntu-font-family-sources-0.83.orig/debian/changelog ubuntu-font-family-sources-0.83/debian/changelog --- ubuntu-font-family-sources-0.83.orig/debian/changelog 2019-03-08 14:07:43.000000000 +0100 +++ ubuntu-font-family-sources-0.83/debian/changelog 2020-11-19 14:37:11.615601913 +0100 @@ -1,3 +1,12 @@ +fonts-ubuntu (0.83-4ubuntu2) hirsute; urgency=medium + + * debian/rules: + - Don't state section "non-free" when building for Ubuntu, and + prevent with that the packages from getting listed as non-free + when running vrms on Ubuntu (LP: #1754804). + + -- Gunnar Hjalmarsson Thu, 19 Nov 2020 14:37:00 +0100 + fonts-ubuntu (0.83-4ubuntu1) disco; urgency=medium * Include Ubuntu-Th.ttf from the newer 0.84 version (lp: #1819135) diff -ru ubuntu-font-family-sources-0.83.orig/debian/rules ubuntu-font-family-sources-0.83/debian/rules --- ubuntu-font-family-sources-0.83.orig/debian/rules 2018-04-26 17:06:04.000000000 +0200 +++ ubuntu-font-family-sources-0.83/debian/rules 2020-11-19 14:30:19.802532048 +0100 @@ -7,4 +7,9 @@ override_dh_gencontrol: dh_gencontrol -pttf-ubuntu-font-family -- -v1:$(DEB_VERSION_UPSTREAM_REVISION) dh_gencontrol -pfonts-ubuntu-font-family-console -- -v1:$(DEB_VERSION_UPSTREAM_REVISION) + # Don't state "non-free" for the fonts-ubuntu{,-console} packages when building for Ubuntu. + # https://launchpad.net/bugs/1754804 + if dpkg-vendor --is ubuntu; then \ + sed -i 's#^Section: non-free/fonts#Section: fonts#' debian/control; \ + fi dh_gencontrol --remaining-packages