Ticket #372 (closed defect: fixed)
Opened 5 years ago
Last modified 3 years ago
fpc Free Pascal download zip issues (needs a proper .bep file)
| Reported by: | scottmc | Owned by: | oco |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | dev-lang/fpc | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
The zip file contains the empty folders "home/Desktop" and
"home/Desktop/Trash" which cause problems when extracted.
The symlink "develop/tools/pascal" is broken. Should link to
"/boot/develop/tools/fpc-2.3.1-i386-haiku-090602" but is missing the
"-i386".
Change History
comment:1 follow-up: ↓ 2 Changed 5 years ago by oco
comment:2 in reply to: ↑ 1 Changed 5 years ago by augiedoggie
Replying to oco:
This unofficial package is now out of date. The latest official freepascal version (2.4.0) is available for Haiku at http://freepascal.org/down/i386/haiku.var.
This version still has some problems to compile Lazarus (require Qt). But those problems are fixed in the fpc trunk.
The link should be updated to point to the new version. I don't think i have enough rights for that.
A .bep file is not necessary. All patchs are already in the official repository.
Bep files are useful for automatic rebuilding/packaging regardless of whether the software needs patches. This can happen for a variety of reasons, like the ABI increment for Haiku releases. It also does things like generating an OptionalPackageDescription file.
comment:3 Changed 3 years ago by oco
I saw this task as one of the possible GCI ideas. Here are some informations about building freepascal :
It is required to use the immediate previous official version to compile a specific version. For example, to compile 2.6.2, you will need 2.6.0. Only the compiler binary is required at this stage. One possible solution could be to download the corresponding version (for example from sourceforge : http://sourceforge.net/projects/freepascal/files/Haiku/) and extract the corresponding binary from the package.
The process to compile official freepascal version is described in this page : http://wiki.freepascal.org/Haiku_specific_Release_Engineering.
Installation is usually done by running the install script after decompressing the package resulting from the previous stage. It is an interactive process though. Not sure about how to handle this with bep files.
comment:4 Changed 3 years ago by scottmc
- Resolution set to fixed
- Status changed from new to closed
applied in r2141.

This unofficial package is now out of date. The latest official freepascal version (2.4.0) is available for Haiku at http://freepascal.org/down/i386/haiku.var.
This version still has some problems to compile Lazarus (require Qt). But those problems are fixed in the fpc trunk.
The link should be updated to point to the new version. I don't think i have enough rights for that.
A .bep file is not necessary. All patchs are already in the official repository.