<html><head></head><body><div>Hi All,</div><div><span><pre><br></pre></span></div><div>On Wed, 2025-01-15 at 23:02 +0100, Paul Gevers wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div>Hi,<br></div><div><br></div><div>On 15-01-2025 22:48, Peter Blackman wrote:<br></div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div>so the package name only goes into the source, and then the package name <br></div><div>plus version gets into the binary?</div></blockquote></blockquote><div>Here is my understand on how this should work:</div><div><br></div><div>First we should patch fpc-depends to generate a substitution variable let's say as fommows:</div><pre>diff --git a/debian/fpc-depends.in b/debian/fpc-depends.in</pre><pre>index ddc3c348..04de6033 100755</pre><pre>--- a/debian/fpc-depends.in</pre><pre>+++ b/debian/fpc-depends.in</pre><pre>@@ -47,6 +47,7 @@ init ();</pre><pre> foreach my $package (@{$dh{DOPACKAGES}}) {</pre><pre>   delsubstvar($package, "fpc-abi:Depends");</pre><pre>   addsubstvar($package, "fpc-abi:Depends", "fpc-abi-${VERSION}");</pre><pre>+  addsubstvar($package, "fpc:Static-Built-Using", "fpc (= ${DEB_VERSION})");</pre><pre> }</pre><pre> </pre><pre> =head1 SEE ALSO</pre><pre><br></pre><div>The inside CGE we add the filed, lets say as follow:</div><pre>diff --git a/debian/control b/debian/control</pre><pre>index 2ced4249..b9b1ad99 100644</pre><pre>--- a/debian/control</pre><pre>+++ b/debian/control</pre><pre>@@ -38,7 +38,7 @@ Rules-Requires-Root: no</pre><pre> </pre><pre> Package: fp-units-castle-game-engine</pre><pre> Architecture: any</pre><pre>-Static-Built-Using: fpc</pre><pre>+Static-Built-Using: ${fpc:Static-Built-Using}</pre><pre> Depends:</pre><pre>  ${fpc-abi:Depends},</pre><pre>  ${misc:Depends},</pre><pre>diff --git a/debian/rules b/debian/rules</pre><pre>index 28aaa45f..d0107ae2 100755</pre><pre>--- a/debian/rules</pre><pre>+++ b/debian/rules</pre><pre>@@ -146,6 +146,7 @@ override_dh_auto_install-arch:</pre><pre>        ${CP} debian/castle-game-engine.cfg ${CFG_DIR}/castle-game-engine</pre><pre>        # Perform cleanup</pre><pre>        find ${INSTALL_DIR} -empty -delete</pre><pre>+       fpc-depends</pre><pre> </pre><pre> override_dh_auto_build-indep: prepare-source install-source</pre><pre>        @echo "--- Building Documentation"</pre><pre><br></pre><div>This way, the dependency on FPC is added dynamically upon the build.</div><div><br></div><div>Please let me know what do you think?</div><div style="caret-color: rgb(46, 52, 54); color: rgb(46, 52, 54); font-family: Cantarell; font-size: 14.666667px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0.4); -webkit-text-stroke-width: 0px; text-decoration: none;"><span><pre>-- <br></pre><pre>Cheers,
Abou Al Montacir
</pre></span></div><br class="Apple-interchange-newline"><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"></blockquote></body></html>