Align fp IDE template file paths with Debian standards
authorAbou Al Montacir <abou.almontacir@sfr.fr>
Sat, 20 Aug 2022 12:31:18 +0000 (13:31 +0100)
committerGraham Inggs <ginggs@debian.org>
Sat, 20 Aug 2022 12:31:18 +0000 (13:31 +0100)
commit9a10a6179882657a24b372e1f2d204a6c0b4526b
tree25dadfc9f20d3b6c8e202e54d8d9ea363d58a340
parent134c88f2f9f75b313c02965be1e1c2fb32162496
Align fp IDE template file paths with Debian standards

 The fp IDE looks for template files in /usr/bin where itself is installed.
 However this is not conform with Debian standard for file locations.
 This patch fixes this by making the IDE looking for templates in the base
 installation directory.
 Location of IDE template files in Debian distribution is:
 /usr/lib/$(DEB_TARGET_MULTIARCH)/fpc/3.2.2/ide/
 as for examples:
 /usr/lib/x86_64-linux-gnu/fpc/3.2.2/ide
 /usr/lib/arm-linux-gnueabihf/fpc/3.2.2/ide
index 54d0ffd1..39ae6079 100644

Gbp-Pq: Name fix-IDE-data-file-location.patch
fpcsrc/packages/ide/fpcompil.pas
fpcsrc/packages/ide/fpini.pas
fpcsrc/packages/ide/fpmake.pp
fpcsrc/packages/ide/fpswitch.pas