<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Abou, thanks heaps for what you are doing here but I am afraid it
may not make the problem go away.</p>
<p>By changing the dependency of the [fpc]/packages/gtk2 on gtk2,
yes, its acceptable to Debian. </p>
<p>However, it will not, now, build Lazarus using (eg) Qt6 because
the fp-unit-gtk2 is no longer a dependency of fpc.. The other
widget sets make use of cairocanvas (and pango, pangocairo) and
they depend on FPC units that live (for what ever reason) in that
same packages/gtk2 directory. They are not gtk2 packages and don't
themselves depend on gtk2, are widely used elsewhere.</p>
<p>I have just tried it in an unstable box, installed fpc,
libqt6pas6 and then downloaded the source for Lazarus 4.4. Run the
command </p>
<p>$> make bigide LCL_PLATFORM=qt6 <enter></p>
<p>and after most of the build, I get this -</p>
<p>.....</p>
<p>/usr/bin/ppcx64 -MObjFPC -Scghi -O1 -g -gl -l -vewnhibq -dLCL
-dLCLqt6 -Fu. -Fu../../packager/units/x86_64-linux
-Fu../lazutils/lib/x86_64-linux -Fu../freetype/lib/x86_64-linux
-Fu../../lcl/units/x86_64-linux
-Fu../../lcl/units/x86_64-linux/qt6 -FE. -FUlib/x86_64-linux/qt6
-Cg -Fl/usr/lib/gcc/x86_64-linux-gnu/15 -dx86_64
cairocanvas_pkg.pas<br>
Hint: (11030) Start of reading config file /etc/fpc.cfg<br>
Hint: (11031) End of reading config file /etc/fpc.cfg<br>
Free Pascal Compiler version 3.2.2+dfsg-47 [2026/02/12] for x86_64<br>
Copyright (c) 1993-2021 by Florian Klaempfl and others<br>
(1002) Target OS: Linux for x86-64<br>
(3104) Compiling cairocanvas_pkg.pas<br>
(3104) Compiling cairocanvasall.pas<br>
(3104) Compiling cairocanvas.pas<br>
/home/dbannon/bin/Lazarus/lazarus_4_4/components/cairocanvas/cairocanvas.pas(36,3)
Fatal: (10022) Can't find unit Cairo used by CairoCanvas<br>
Fatal: (1018) Compilation aborted<br>
make[2]: *** [Makefile:3520: cairocanvas_pkg.ppu] Error 1<br>
make[2]: Leaving directory
'/home/dbannon/bin/Lazarus/lazarus_4_4/components/cairocanvas'<br>
make[1]: *** [Makefile:1956: bigide] Error 2<br>
make[1]: Leaving directory
'/home/dbannon/bin/Lazarus/lazarus_4_4/components'<br>
make: *** [Makefile:3167: bigidecomponents] Error 2</p>
<p>IMHO, at least the non-gtk2 specific files from that directory
need to be returned to the RTL unit and built when it is is built.</p>
<p>I suspect it would build without the "bigide" clause but most end
user codes will require the missing units, sooner or later.
Please, can we have those important files back in the RTL unit ?
PLEASE ??</p>
<p>Davo</p>
<p>ps : I am afraid I will be away for a few days, may be unable to
connect ...</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 13/2/26 05:11, Matija Nalis wrote:<br>
</div>
<blockquote type="cite"
cite="mid:aY4Xv8L8S-UXTvVl@leia.torres.voyager.hr">
<pre wrap="" class="moz-quote-pre">On Sat, 24 Jan 2026 18:35:18 +0100 Abou Al Montacir <a class="moz-txt-link-rfc2396E" href="mailto:abou.almontacir@sfr.fr"><abou.almontacir@sfr.fr></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="" class="moz-quote-pre">I'm going to remove any dependency of fp-units-gtk2* into gtk2 libs.
This will imply that users will need to install the libs manually.
This will be only a first step.
</pre>
</blockquote>
<pre wrap="" class="moz-quote-pre">
That would be great Abou!
Note that according to <a class="moz-txt-link-freetext" href="https://tracker.debian.org/pkg/fpc">https://tracker.debian.org/pkg/fpc</a> the whole
of fpc is "marked for autoremoval from testing on Fri 13 Mar 2026"
because of this "Severity: serious" bug.
As I maintain a package "ironseed" which build-depends on "fpc", it
would be great if autoremoval of fpc could be avoided in time.
Thanks for your efforts !
</pre>
</blockquote>
</body>
</html>