fpc.git
2 years agofix_source_location_for_documentation
Pascal Packaging Team [Mon, 4 Sep 2023 20:43:35 +0000 (21:43 +0100)]
fix_source_location_for_documentation

===================================================================

Gbp-Pq: Name fix_source_location_for_documentation.patch

2 years agoAdd tags to make armhf binaries come out correctly.
Peter Michael Green [Mon, 4 Sep 2023 20:43:35 +0000 (21:43 +0100)]
Add tags to make armhf binaries come out correctly.

Bug-Debian: https://bugs.debian.org/695547

Add elf tag to mark hardfp binaries as such. (Closes: 695547)

Gbp-Pq: Name armhf-tags.patch

2 years agoReproducible builds requires that the build time stamp is not
Paul Gevers [Mon, 4 Sep 2023 20:43:35 +0000 (21:43 +0100)]
Reproducible builds requires that the build time stamp is not

recorded in binaries. In FPC they are fuild in via the $INCLUDE %DATE%
directive which calls getdatestr in globals.pas. To allow reproducible builds
we should honor the SOURCE_DATE_EPOCH environment variable. To not depend on
the dateutil unit, we include the required code from that package here.

Gbp-Pq: Name honor_SOURCE_DATE_EPOCH_in_date.patch

2 years agoAlign fp IDE template file paths with Debian standards
Abou Al Montacir [Mon, 4 Sep 2023 20:43:35 +0000 (21:43 +0100)]
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

2 years agoDisable the gnome1, gtk1, fpgtk and imlib packages to build
Paul Gevers [Mon, 4 Sep 2023 20:43:35 +0000 (21:43 +0100)]
Disable the gnome1, gtk1, fpgtk and imlib packages to build

as they depend on libraries long go removed from Debian.

Gbp-Pq: Name disable_building_gnome1_and_gtk1.patch

2 years agoTimestamps in fpc documentation are hindering reproducible builds
Paul Gevers [Mon, 4 Sep 2023 20:43:35 +0000 (21:43 +0100)]
Timestamps in fpc documentation are hindering reproducible builds

Forwarded: no

Don't add the date to the footer of docs generated by fpdoc
===================================================================

Gbp-Pq: Name prevent_date_in_fpcdocs.patch

2 years agoChange path of localization fies to fit Debian standard. (Closes: Bug#73368)
Abou Al Montacir [Wed, 15 Jan 2014 20:49:04 +0000 (21:49 +0100)]
Change path of localization fies to fit Debian standard. (Closes: Bug#73368)

Bug-Debian: http://bugs.debian.org/73368

Gbp-Pq: Name fix-encoding-of-localization-files-to-be-utf8.patch

2 years agoChange path of localization fies to fit Debian standard. (Closes: Bug#73368)
Abou Al Montacir [Wed, 15 Jan 2014 20:49:04 +0000 (21:49 +0100)]
Change path of localization fies to fit Debian standard. (Closes: Bug#73368)

Bug-Debian: http://bugs.debian.org/73368

Gbp-Pq: Name change-path-of-localization-files-to-fit-Debian-standar.patch

2 years agoUse ld.bfd explicitly
Peter Michael Green [Mon, 4 Sep 2023 20:43:35 +0000 (21:43 +0100)]
Use ld.bfd explicitly

Bug-Debian: http://bugs.debian.org/620815
Bug-Debian: http://bugs.debian.org/624525
Bug-Debian: http://bugs.debian.org/717651

Freepascal is broken with ld.gold, previously we conflicted with binutils-gold
but that makes us uninstallable with the new binutils.

So instead we take the approach of patching fpc to use ld.bfd directly

Gbp-Pq: Name use-bfd-explicitly.diff

2 years agorename-instantfpc-to-ifpc
Pascal Packaging Team [Mon, 4 Sep 2023 20:43:35 +0000 (21:43 +0100)]
rename-instantfpc-to-ifpc

This patch renames instantfpc to ifpc (Instant Free Pascal Compiler) and adds
man files for it.

Gbp-Pq: Name rename-instantfpc-to-ifpc.patch

2 years agorelpath
Pascal Packaging Team [Mon, 4 Sep 2023 20:43:35 +0000 (21:43 +0100)]
relpath

This patch adds an utility for computing relative path according to a given
base directory. This is useful for libraries that are to install .lpk in
order to be used with lazarus. As these libraries may be compiled without
need to build depend on Lazarus, we add it in fp-utils package which is likely
to be used by any big project which build depends on fp-compiler.

Gbp-Pq: Name relpath.patch

2 years agofix-FPCDIR-in-fpcmake
Pascal Packaging Team [Mon, 4 Sep 2023 20:43:35 +0000 (21:43 +0100)]
fix-FPCDIR-in-fpcmake

This patch fixes evaluation of default value for FPCDIR. (Closes: bug#662814)

This patch fixes evaluation of default value for FPCDIR. (Closes: bug#662814)

Gbp-Pq: Name fix-FPCDIR-in-fpcmake.diff

2 years agoversion
Pascal Packaging Team [Mon, 4 Sep 2023 20:43:35 +0000 (21:43 +0100)]
version

This patch adds Debian build version to compiler full version.

Gbp-Pq: Name version.diff

2 years agofpc (3.2.2+dfsg-22) unstable; urgency=medium
Abou Al Montacir [Mon, 4 Sep 2023 20:43:35 +0000 (21:43 +0100)]
fpc (3.2.2+dfsg-22) unstable; urgency=medium

  [ Graham Inggs ]
  * Pass TEST_CFLAGS=-fno-stack-protector when creating C test objects

  [ Abou Al Montacir ]
  * Fixed clean target. (Closes: Bug#1044623)

[dgit import unpatched fpc 3.2.2+dfsg-22]

2 years agoImport fpc_3.2.2+dfsg-22.debian.tar.xz
Abou Al Montacir [Mon, 4 Sep 2023 20:43:35 +0000 (21:43 +0100)]
Import fpc_3.2.2+dfsg-22.debian.tar.xz

[dgit import tarball fpc 3.2.2+dfsg-22 fpc_3.2.2+dfsg-22.debian.tar.xz]

4 years agoImport fpc_3.2.2+dfsg.orig.tar.xz
Abou Al Montacir [Sat, 19 Jun 2021 10:43:44 +0000 (11:43 +0100)]
Import fpc_3.2.2+dfsg.orig.tar.xz

[dgit import orig fpc_3.2.2+dfsg.orig.tar.xz]