I think with the latest version from upstream it would be easier to get the
debian package working.
With 1.5.7 version the build related issues are minimal.
Here's what I've done presently.
First, started from Rico's git. Then imported 1.4.7b after downloading
it from debian source using
```
gbp import-dsc ../sfst_1.4.7b-1.dsc
```
Now I was able to do
gbp buildpackage -uc -us
Now for the actual work.
First I downloaded the release 1.5.7 from
https://github.com/santhoshtr/sfst/releases/tag/1.5.7 and saved it as
../sfst_1.5.7.orig.tar.gz
Then updated debian/changelog for 1.5.7 and
gbp import-orig ../sfst_1.5.7.orig.tar.gz
Then I deleted all the patches. Also modified debian/rules to use cmake
as follows:
%:
dh $@ --buildsystem=cmake --builddirectory=build
I also changed the manpages, install, dirs files. And the control file.
With some more hacks (to suppress dh_installdocs missing NEWS file and
so on), I was able to build with gbp buildpackage -uc -us again
Will have to clean things up. But I've pushed to salsa for now
https://salsa.debian.org/akshay/sfst/-/commit/612e68d5c6228bfc162876b1e33ec6c97f25e9d0
In case I don't come back someone can benefit from these.