[Pkg-pascal-devel] Bug#1011318: Bug#1011318: Bug#1011318: Bug#1011318: fp terminal ide does not compile hello world

Abou Al Montacir abou.almontacir at sfr.fr
Thu May 26 10:04:22 BST 2022


Hi All,

I've worked a bit on this issue to try to fix it. Finally I have identified 3
steps:
   1. Change the code to look for configuration files in /etc. This is done by
      replacing current patch named fix-IDE-data-file-location.patch as
      attached.
   2. Change the fp-ide post installation script to create fp IDE system wide
      configuration files. This is done a perd the attached file.
   3. Move fpmkcfg binary from fp-compiler package to fp-units-rtl. This is a
      heavy change and may cause multiple breakage before it gets its stable
      form. A simpler solution would be to make fp-ide depend on fp-compiler,
      but this is just the lazy way to fix the issue. In reality fp IDE does not
      need the external compiler, however it needs the configuration tool.

I also thought that fpcmkcfg could be moved to fp-utils, but that one depends on
fpc-source which is probably a bug. Anyway, one may want a minimal installation
where he installs only fp-ide and fp-units-rtl, so it makes sense fpmkcfg be in
that last package. Anyway, the configuration itself depends on the RTL units
location.

To be discussed.
-- 
Cheers, Abou Al Montacir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20220526/77e185e4/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-IDE-data-file-location.patch
Type: text/x-patch
Size: 4153 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20220526/77e185e4/attachment-0001.bin>
-------------- next part --------------
#! /usr/bin/dh-exec
usr/bin/fp-*
usr/lib/${DEB_HOST_MULTIARCH}/fpc/*/ide
usr/lib/${DEB_HOST_MULTIARCH}/fpc/*/fpmkinst/*/ide.fpm
usr/share/doc/fp-ide    [!freebsd-any]
-------------- 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/20220526/77e185e4/attachment-0001.sig>


More information about the Pkg-pascal-devel mailing list