[Pkg-pascal-devel] Free Pascal units for windows (was Bug#1037137: add fp-units-*-win64_*.deb ...)

Abou Al Montacir abou.almontacir at sfr.fr
Sat Jun 10 09:49:13 BST 2023


On Thu, 2023-06-08 at 23:22 +0200, Abou Al Montacir wrote:
> Hi All,
> 
> On Thu, 2023-06-08 at 21:49 +0200, Abou Al Montacir wrote:
> > After thinking about it, it would probably better to locate them in
> > /usr/lib/x86_64-linux-gnu/fpc/3.2.2/units/x86_64-win64.
> > This is because the x86_64-linux-gnu here is related to the used compiler.
> > This also will help to generate the same thing for win32
> > under /usr/lib/i386-linux-gnu/fpc/3.2.2/units/i386-win32.
> > 
> > This may be considered as a separate project that builds on top of FPC in
> > order to avoid complicating more the build system of FPC which is already
> > quite complex.
> I need your advise about how to support this kind of features, which I'm
> interested in doing it and I actually started to do it.
> 
> I think that having a separate debian/control and debian/rules (debian/ folder
> as to make it short) to be applied on top of fpc-*.orig.tar.xz will be the
> easiest way to go here.
> 
> However I don't know if Debian allows to use same source project with two
> different packaging folders?
> The idea is that fpc and fp-units-win be two completely different projecs,
> like Lazarus and qt4pas.
> However, while Lazarus and qt4pas do not share same sources, and thus have two
> different .orig.tar.xz, here we will really use the very same source code.
> 
> Any advise?
I have found similar
project https://salsa.debian.org/toolchain-team/cross-toolchain-base/-/tree/master/debian
It uses a native package with *-source packages.
This is a good example to follow.
-- 
Cheers,
Abou Al Montacir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20230610/b1dd9646/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20230610/b1dd9646/attachment.sig>


More information about the Pkg-pascal-devel mailing list