Re: Building a package for ScummVM 2.5.0
On 2021-10-12 21:48 +0200, Christian Britz wrote:
> I am trying to build a Debian package for the latest ScummVM release
> for personal use and need help.
> I have no deep knowledge of Debian packaging, but in the past I had
> some success with applying dh_make to source trees.
I would probably rather start with the existing scummvm package in the
archive and adapt that to the new upstream release.
> This is what I have done in the source folder:
>
> dh_make -n -s -e aaa@bbb.ccc
> fakeroot debian/rules binary
>
> Output:
>
> dh binary
> dh_update_autotools_config
> dh_autoreconf
> dh_auto_configure
> ./configure --build=x86_64-linux-gnu --prefix=/usr
> --includedir=\${prefix}/include --mandir=\${prefix}/share/man
> --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var
> --disable-option-checking --disable-silent-rules
> --libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run
> --disable-maintainer-mode --disable-dependency-tracking
> Running ScummVM configure...
> error: unrecognized option: --disable-option-checking
> [...]
>
> The configure script seems to be unable to deal with the parameter
> --disable-option-checking. Where is this set? The debian sub directory
> does not contain that string.
It is passed by dh_auto_configure, see
/usr/share/perl5/Debian/Debhelper/Buildsystem/autoconf.pm.
> Running ./configure manually works fine.
That is what the Debian package does[1], because scummvm's configure
script is apparently not produced by autoconf.
Cheers,
Sven
1. https://sources.debian.org/src/scummvm/2.2.0+dfsg1-4/debian/rules/#L37
Reply to: