diff -Nru fonts-roboto-slab-1.100263+20170512/debian/changelog fonts-roboto-slab-1.100263+20170512/debian/changelog --- fonts-roboto-slab-1.100263+20170512/debian/changelog 2019-10-22 11:29:39.000000000 +0000 +++ fonts-roboto-slab-1.100263+20170512/debian/changelog 2020-02-02 04:46:50.000000000 +0000 @@ -1,12 +1,8 @@ -fonts-roboto-slab (1.100263+20170512-2) unstable; urgency=medium +fonts-roboto-slab (1.100263+20170512-1~16.04.sav0) xenial; urgency=medium - * Use fontmake to build font from source - * Drop unused build-Depends - * Build-Depend on debhelper-compat 12 and drop debian/compat - * Drop complex get-orig-source rule - * Update Vcs fields for migration to https://salsa.debian.org/ + * Backport to Xenial - -- Jeremy Bicha Tue, 22 Oct 2019 07:29:39 -0400 + -- Rob Savoury Sat, 01 Feb 2020 20:46:50 -0800 fonts-roboto-slab (1.100263+20170512-1) unstable; urgency=medium diff -Nru fonts-roboto-slab-1.100263+20170512/debian/compat fonts-roboto-slab-1.100263+20170512/debian/compat --- fonts-roboto-slab-1.100263+20170512/debian/compat 1970-01-01 00:00:00.000000000 +0000 +++ fonts-roboto-slab-1.100263+20170512/debian/compat 2017-11-18 13:06:27.000000000 +0000 @@ -0,0 +1 @@ +10 diff -Nru fonts-roboto-slab-1.100263+20170512/debian/control fonts-roboto-slab-1.100263+20170512/debian/control --- fonts-roboto-slab-1.100263+20170512/debian/control 2019-10-22 11:29:39.000000000 +0000 +++ fonts-roboto-slab-1.100263+20170512/debian/control 2017-11-18 13:06:27.000000000 +0000 @@ -3,12 +3,19 @@ Priority: optional Maintainer: Debian Fonts Task Force Uploaders: Jeremy Bicha -Build-Depends: debhelper-compat (= 12), - fontmake +Build-Depends: debhelper (>= 10), + fonttools, + imagemagick, + libcairo2-dev, + libpng-dev, + pkg-config, + pngquant, + python-nototools, + zopfli, Standards-Version: 4.1.1 Homepage: https://fonts.google.com/specimen/Roboto+Slab -Vcs-Git: https://salsa.debian.org/fonts-team/fonts-roboto-slab.git -Vcs-Browser: https://salsa.debian.org/fonts-team/fonts-roboto-slab +Vcs-Git: https://anonscm.debian.org/git/pkg-fonts/fonts-roboto-slab.git +Vcs-Browser: https://anonscm.debian.org/git/pkg-fonts/fonts-roboto-slab.git Package: fonts-roboto-slab Architecture: all diff -Nru fonts-roboto-slab-1.100263+20170512/debian/copyright fonts-roboto-slab-1.100263+20170512/debian/copyright --- fonts-roboto-slab-1.100263+20170512/debian/copyright 2019-10-22 11:29:39.000000000 +0000 +++ fonts-roboto-slab-1.100263+20170512/debian/copyright 2017-11-18 13:06:27.000000000 +0000 @@ -1,4 +1,4 @@ -Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Roboto Slab Source: https://github.com/googlefonts/robotoslab diff -Nru fonts-roboto-slab-1.100263+20170512/debian/install fonts-roboto-slab-1.100263+20170512/debian/install --- fonts-roboto-slab-1.100263+20170512/debian/install 2019-10-22 11:29:39.000000000 +0000 +++ fonts-roboto-slab-1.100263+20170512/debian/install 2017-11-18 13:06:27.000000000 +0000 @@ -1 +1 @@ -master_otf/*.otf usr/share/fonts/opentype/roboto/slab +old/version-1.100263/*.ttf usr/share/fonts/truetype/roboto/slab diff -Nru fonts-roboto-slab-1.100263+20170512/debian/rules fonts-roboto-slab-1.100263+20170512/debian/rules --- fonts-roboto-slab-1.100263+20170512/debian/rules 2019-10-22 11:29:39.000000000 +0000 +++ fonts-roboto-slab-1.100263+20170512/debian/rules 2017-11-18 13:06:27.000000000 +0000 @@ -3,9 +3,23 @@ %: dh $@ -override_dh_auto_build: - fontmake -o otf -m sources/RobotoSlab.designspace +PKD := $(abspath $(dir $(MAKEFILE_LIST))) +VER := $(shell dpkg-parsechangelog -l$(PKD)/changelog -SVersion | cut -d- -f1) +PKG := fonts-roboto-slab +UURL := https://github.com/googlefonts/robotoslab +COMMIT := b62d3ce77d217e2ab5c11e560df97a506830911d -override_dh_clean: - rm -rf master_otf/ - dh_clean +.PHONY: get-orig-source +## http://wiki.debian.org/onlyjob/get-orig-source +## https://anonscm.debian.org/cgit/pkg-games/pangzero.git/commit/debian/rules?id=eeaefee +get-orig-source get-packaged-orig-source: + @echo "# Cloning upstream git repository..." + git clone $(UURL) $(PKG)-$(VER) \ + || $(RM) -r $(PKG)-$(VER) + cd $(PKG)-$(VER) \ + && git checkout -b debiansource $(COMMIT) \ + && $(RM) -r .git .git* + @echo "# Packing..." + find -L "$(PKG)-$(VER)" -xdev -type f -o -type d -print | sort \ + | XZ_OPT="-6v" tar -caf "$(PKG)_$(VER)$(DTYPE).orig.tar.xz" -T- --owner=root --group=root --mode=a+rX \ + && $(RM) -r "$(PKG)-$(VER)"