[Pkg-pascal-devel] About ptop.cfg and fpc.cfg man pages

Abou Al Montacir abou.almontacir at sfr.fr
Mon Apr 21 15:01:23 UTC 2014


Hi Paul,

On Mon, 2014-04-21 at 14:17 +0200, Paul Gevers wrote:
> Hi all,
> 
> On 21-04-14 11:43, Abou Al Montacir wrote:
> > By the way, do you consider Lazarus now uploadable? As we need to pass
> > also by the NEW queue, maybe we should push this soon.
> 
> Why? We already did that with the RC. So Lazarus is building as soon as
> I upload, which I don't mind doing right now by the way. I thought you
> wanted to look at it some more.
Yes, you are right, indeed the RC had the same packages name as the
final release. This should give me a good argument to prepare RCs in the
future. 

> I am not fully satisfied with Lazarus yet, I don't like the qt/gtk
> separation as it is. But that is not blocking. I am trying to figure out
> how to do it best, but I have one big question to you: how did you
> originally decide which files would go where
> (lcl-units/lcl-nogui/lcl-gtk/lcl-qt).
I did not, the upstream did that. It is buggy now in the sense that some
common files are now duplicate. The destination directory is created
function of the ${LCL_PLATFORM}. However FPC is smart enough to produce
the very same code. as soon as the interface is the same.

>  If you are confident that all the
> qt/gtk files in lcl-units should be mere copies (and thus fixable with
> softlinks) I am fine with the proper separation, but if there actually
> should be a lot more files in lcl-gtk and lcl-qt from lcl-units, we need
For me we should diff files and produce soft links if they are the same.
There is probably something that does this automatically.

> to fix things. If softlinks could be created between lcl-qt and lcl-gtk
> than I don't see the reason to have these four packages anyways (because
> they would just depend on eachother). I couldn't find a reason (with the
> current d/control file) why lcl-nogui exists, because lcl-units depends
> on lcl-gtk|lcl-qt and lcl-gtk needs lcl-nogui (because they share a lot
> of files). But of course, I made the dependency of lcl-gtk to lcl-nogui,
> but for a good reason.
lcl-units contains the code that is widgetset independent by design such
as components which do not have ifdef in their code. Most components are
in this category.

The lcl-nogui contains components that are not graphical and thus are
independent from widgetset but also do not link to any widgetset. This
means that these units are also usable in text mode applications, just
like the FCL from FPC.

lcl-gtk and lcl-qt are meant to contain the widgetset dependent units.
These are either interfacing units or components with native
implementations like some native buttons, memos and text entries.

I hope this is clear now.

Cheers,
Mazen NEIFER
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-pascal-devel/attachments/20140421/826f43c4/attachment.sig>


More information about the Pkg-pascal-devel mailing list