fpc.git
3 years agoMerge version 3.2.2+dfsg-4+rpi1 and 3.2.2+dfsg-6 to produce 3.2.2+dfsg-6+rpi1 archive/raspbian/3.2.2+dfsg-6+rpi1 raspbian/3.2.2+dfsg-6+rpi1
Raspbian automatic forward porter [Sun, 16 Jan 2022 21:24:06 +0000 (21:24 +0000)]
Merge version 3.2.2+dfsg-4+rpi1 and 3.2.2+dfsg-6 to produce 3.2.2+dfsg-6+rpi1

3 years agoMerge fpc (3.2.2+dfsg-6) import into refs/heads/workingbranch
Abou Al Montacir [Thu, 13 Jan 2022 20:54:24 +0000 (20:54 +0000)]
Merge fpc (3.2.2+dfsg-6) import into refs/heads/workingbranch

3 years agofix version lists in utests.pp
Pascal Packaging Team [Thu, 13 Jan 2022 20:54:24 +0000 (20:54 +0000)]
fix version lists in utests.pp

utests.pp has three version lists, the first defining an enumerated type
and then the second two defining textual versions and svn branches
for each enumeration entry.
 Unfortunately the first list was not consistent with each other resulting
 in a compile error. This patch expands the first list to match the
 others.
Author: Peter Michael Green <plugwash@debian.org>

Gbp-Pq: Name fix-utest-version-lists.patch

3 years ago@PLT is needed for calls to link it properly with pic code
Florian Klämpfl [Mon, 3 Aug 2020 19:42:14 +0000 (19:42 +0000)]
@PLT is needed for calls to link it properly with pic code

Gbp-Pq: Name Fix-liking-with-libc-when-PIC-is-enabled.patch

3 years agoDisable FPU inlining on m68k
John Paul Adrian Glaubitz [Thu, 13 Jan 2022 20:54:24 +0000 (20:54 +0000)]
Disable FPU inlining on m68k

Forwarded: https://bugs.freepascal.org/view.php?id=37250
Last-Update: 2021-01-22

There is a bug in the FPU code on m68k which causes the
bootstrap to fail (upstream bug #37250). Until the bug
has been fixed, disable FPU inlining to work around the
issue and fix the bootstrap on m68k.

Gbp-Pq: Name m68k-disable-FPU-inlining.patch

3 years agoncurses6
Pascal Packaging Team [Thu, 13 Jan 2022 20:54:24 +0000 (20:54 +0000)]
ncurses6

Patch to update ncurses.pp for ncurses 6 by Sven Joachim
Taken from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=894049#39

Gbp-Pq: Name ncurses6.patch

3 years agoClean man pages to be lintian warnings and erros free.
Abou Al Montacir [Thu, 13 Jan 2022 20:54:24 +0000 (20:54 +0000)]
Clean man pages to be lintian warnings and erros free.

Lintian enforces strict policy on man pages. We try here to fix upstream files
to ensure a lintian rules compatible files..

Gbp-Pq: Name clean_man_pages.patch

3 years agoFix sub directories in Makefile.fpc to allor recursive generation.
Abou Al Montacir [Mon, 4 Dec 2017 22:55:22 +0000 (23:55 +0100)]
Fix sub directories in Makefile.fpc to allor recursive generation.

Gbp-Pq: Name fix_make_files_generation.patch

3 years agoChange path of unit files to make it support MA co-installation.
Abou Al Montacir [Sun, 12 Nov 2017 21:24:15 +0000 (22:24 +0100)]
Change path of unit files to make it support MA co-installation.

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

(Closes: Bug#73368)

Gbp-Pq: Name fix-units-path-to-be-multi-arch-safe.patch

3 years agoPrevent FTBFS by creating directories when required
Paul Gevers [Thu, 13 Jan 2022 20:54:24 +0000 (20:54 +0000)]
Prevent FTBFS by creating directories when required

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

Gbp-Pq: Name create-directory-before-copy-in-Makefile.fpc.patch

3 years agothe jsminifier.pp is not dfsg free. Therefore we strip it during
Paul Gevers [Thu, 13 Jan 2022 20:54:24 +0000 (20:54 +0000)]
the jsminifier.pp is not dfsg free. Therefore we strip it during

Bug: https://bugs.freepascal.org/view.php?id=32288

repack but we must prevent during build as well.
===================================================================

Gbp-Pq: Name drop-jsminifier-from-build-as-we-strip-it.patch

3 years agoRemoved declaration of legacy ncursus variables.
Abou Al Montacir [Thu, 13 Jan 2022 20:54:24 +0000 (20:54 +0000)]
Removed declaration of legacy ncursus variables.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=789091

These variables are now internal and no more exported by new ncursus libraries.

Gbp-Pq: Name remove-depreciated-ncursus-variables-declaration.patch

3 years agosome more Lintian detection spelling misstakes
Paul Gevers [Thu, 13 Jan 2022 20:54:24 +0000 (20:54 +0000)]
some more Lintian detection spelling misstakes

Gbp-Pq: Name fix-spelling-errors-3.patch

3 years agofix_source_location_for_documentation
Pascal Packaging Team [Thu, 13 Jan 2022 20:54:24 +0000 (20:54 +0000)]
fix_source_location_for_documentation

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

Gbp-Pq: Name fix_source_location_for_documentation.patch

3 years agoAdd tags to make armhf binaries come out correctly.
Peter Michael Green [Thu, 13 Jan 2022 20:54:24 +0000 (20:54 +0000)]
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

3 years agoReproducible builds requires that the build time stamp is not
Paul Gevers [Thu, 13 Jan 2022 20:54:24 +0000 (20:54 +0000)]
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

3 years agoAlign fp IDE template file paths with Debian standards
Abou Al Montacir [Thu, 13 Jan 2022 20:54:24 +0000 (20:54 +0000)]
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 stadard for file locations.
 This patch fixes this by making the IDE looking for templates in the base
 installation directory.
===================================================================

Gbp-Pq: Name fix-IDE-data-file-location.patch

3 years agoDisable the gnome1, gtk1, fpgtk and imlib packages to build
Paul Gevers [Thu, 13 Jan 2022 20:54:24 +0000 (20:54 +0000)]
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

3 years agoTimestamps in fpc documentation are hindering reproducible builds
Paul Gevers [Thu, 13 Jan 2022 20:54:24 +0000 (20:54 +0000)]
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

3 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

3 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

3 years agoUse ld.bfd explicitly
Peter Michael Green [Thu, 13 Jan 2022 20:54:24 +0000 (20:54 +0000)]
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

3 years agorename-instantfpc-to-ifpc
Pascal Packaging Team [Thu, 13 Jan 2022 20:54:24 +0000 (20:54 +0000)]
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

3 years agorelpath
Pascal Packaging Team [Thu, 13 Jan 2022 20:54:24 +0000 (20:54 +0000)]
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

3 years agofix-FPCDIR-in-fpcmake
Pascal Packaging Team [Thu, 13 Jan 2022 20:54:24 +0000 (20:54 +0000)]
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

3 years agoversion
Pascal Packaging Team [Thu, 13 Jan 2022 20:54:24 +0000 (20:54 +0000)]
version

This patch adds Debian build version to compiler full version.

Gbp-Pq: Name version.diff

3 years agofpc (3.2.2+dfsg-6) unstable; urgency=medium
Abou Al Montacir [Thu, 13 Jan 2022 20:54:24 +0000 (20:54 +0000)]
fpc (3.2.2+dfsg-6) unstable; urgency=medium

  * Revert "Updated timestamps for newly modified files."
  * Revert "Imported upstream patch to fix FPU related internal compiler error."
    (Closes: Bug#1003627)

[dgit import unpatched fpc 3.2.2+dfsg-6]

3 years agoImport fpc_3.2.2+dfsg-6.debian.tar.xz
Abou Al Montacir [Thu, 13 Jan 2022 20:54:24 +0000 (20:54 +0000)]
Import fpc_3.2.2+dfsg-6.debian.tar.xz

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

4 years agoManual merge of version 3.2.0+dfsg-13+rpi1 and 3.2.2+dfsg-4 to produce 3.2.2+dfsg... archive/raspbian/3.2.2+dfsg-4+rpi1 raspbian/3.2.2+dfsg-4+rpi1
Peter Michael Green [Tue, 7 Dec 2021 17:03:50 +0000 (17:03 +0000)]
Manual merge of version 3.2.0+dfsg-13+rpi1 and 3.2.2+dfsg-4 to produce 3.2.2+dfsg-4+rpi1

4 years agoMerge fpc (3.2.2+dfsg-4) import into refs/heads/workingbranch
Abou Al Montacir [Sat, 30 Oct 2021 12:46:26 +0000 (13:46 +0100)]
Merge fpc (3.2.2+dfsg-4) import into refs/heads/workingbranch

4 years agofix version lists in utests.pp
Pascal Packaging Team [Sat, 30 Oct 2021 12:46:26 +0000 (13:46 +0100)]
fix version lists in utests.pp

utests.pp has three version lists, the first defining an enumerated type
and then the second two defining textual versions and svn branches
for each enumeration entry.
 Unfortunately the first list was not consistent with each other resulting
 in a compile error. This patch expands the first list to match the
 others.
Author: Peter Michael Green <plugwash@debian.org>

Gbp-Pq: Name fix-utest-version-lists.patch

4 years ago@PLT is needed for calls to link it properly with pic code
Florian Klämpfl [Mon, 3 Aug 2020 19:42:14 +0000 (19:42 +0000)]
@PLT is needed for calls to link it properly with pic code

Gbp-Pq: Name Fix-liking-with-libc-when-PIC-is-enabled.patch

4 years agoDisable FPU inlining on m68k
John Paul Adrian Glaubitz [Sat, 30 Oct 2021 12:46:26 +0000 (13:46 +0100)]
Disable FPU inlining on m68k

Forwarded: https://bugs.freepascal.org/view.php?id=37250
Last-Update: 2021-01-22

There is a bug in the FPU code on m68k which causes the
bootstrap to fail (upstream bug #37250). Until the bug
has been fixed, disable FPU inlining to work around the
issue and fix the bootstrap on m68k.

Gbp-Pq: Name m68k-disable-FPU-inlining.patch

4 years agoncurses6
Pascal Packaging Team [Sat, 30 Oct 2021 12:46:26 +0000 (13:46 +0100)]
ncurses6

Patch to update ncurses.pp for ncurses 6 by Sven Joachim
Taken from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=894049#39

Gbp-Pq: Name ncurses6.patch

4 years agoClean man pages to be lintian warnings and erros free.
Abou Al Montacir [Sat, 30 Oct 2021 12:46:26 +0000 (13:46 +0100)]
Clean man pages to be lintian warnings and erros free.

Lintian enforces strict policy on man pages. We try here to fix upstream files
to ensure a lintian rules compatible files..

Gbp-Pq: Name clean_man_pages.patch

4 years agoFix sub directories in Makefile.fpc to allor recursive generation.
Abou Al Montacir [Mon, 4 Dec 2017 22:55:22 +0000 (23:55 +0100)]
Fix sub directories in Makefile.fpc to allor recursive generation.

Gbp-Pq: Name fix_make_files_generation.patch

4 years agoChange path of unit files to make it support MA co-installation.
Abou Al Montacir [Sun, 12 Nov 2017 21:24:15 +0000 (22:24 +0100)]
Change path of unit files to make it support MA co-installation.

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

(Closes: Bug#73368)

Gbp-Pq: Name fix-units-path-to-be-multi-arch-safe.patch

4 years agoPrevent FTBFS by creating directories when required
Paul Gevers [Sat, 30 Oct 2021 12:46:26 +0000 (13:46 +0100)]
Prevent FTBFS by creating directories when required

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

Gbp-Pq: Name create-directory-before-copy-in-Makefile.fpc.patch

4 years agothe jsminifier.pp is not dfsg free. Therefore we strip it during
Paul Gevers [Sat, 30 Oct 2021 12:46:26 +0000 (13:46 +0100)]
the jsminifier.pp is not dfsg free. Therefore we strip it during

Bug: https://bugs.freepascal.org/view.php?id=32288

repack but we must prevent during build as well.
===================================================================

Gbp-Pq: Name drop-jsminifier-from-build-as-we-strip-it.patch

4 years agoRemoved declaration of legacy ncursus variables.
Abou Al Montacir [Sat, 30 Oct 2021 12:46:26 +0000 (13:46 +0100)]
Removed declaration of legacy ncursus variables.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=789091

These variables are now internal and no more exported by new ncursus libraries.

Gbp-Pq: Name remove-depreciated-ncursus-variables-declaration.patch

4 years agosome more Lintian detection spelling misstakes
Paul Gevers [Sat, 30 Oct 2021 12:46:26 +0000 (13:46 +0100)]
some more Lintian detection spelling misstakes

Gbp-Pq: Name fix-spelling-errors-3.patch

4 years agofix_source_location_for_documentation
Pascal Packaging Team [Sat, 30 Oct 2021 12:46:26 +0000 (13:46 +0100)]
fix_source_location_for_documentation

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

Gbp-Pq: Name fix_source_location_for_documentation.patch

4 years agoAdd tags to make armhf binaries come out correctly.
Peter Michael Green [Sat, 30 Oct 2021 12:46:26 +0000 (13:46 +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

4 years agoReproducible builds requires that the build time stamp is not
Paul Gevers [Sat, 30 Oct 2021 12:46:26 +0000 (13:46 +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

4 years agoAlign fp IDE template file paths with Debian standards
Abou Al Montacir [Sat, 30 Oct 2021 12:46:26 +0000 (13:46 +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 stadard for file locations.
 This patch fixes this by making the IDE looking for templates in the base
 installation directory.
===================================================================

Gbp-Pq: Name fix-IDE-data-file-location.patch

4 years agoDisable the gnome1, gtk1, fpgtk and imlib packages to build
Paul Gevers [Sat, 30 Oct 2021 12:46:26 +0000 (13:46 +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

4 years agoTimestamps in fpc documentation are hindering reproducible builds
Paul Gevers [Sat, 30 Oct 2021 12:46:26 +0000 (13:46 +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

4 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

4 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

4 years agoUse ld.bfd explicitly
Peter Michael Green [Sat, 30 Oct 2021 12:46:26 +0000 (13:46 +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

4 years agorename-instantfpc-to-ifpc
Pascal Packaging Team [Sat, 30 Oct 2021 12:46:26 +0000 (13:46 +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

4 years agorelpath
Pascal Packaging Team [Sat, 30 Oct 2021 12:46:26 +0000 (13:46 +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

4 years agofix-FPCDIR-in-fpcmake
Pascal Packaging Team [Sat, 30 Oct 2021 12:46:26 +0000 (13:46 +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

4 years agoversion
Pascal Packaging Team [Sat, 30 Oct 2021 12:46:26 +0000 (13:46 +0100)]
version

This patch adds Debian build version to compiler full version.

Gbp-Pq: Name version.diff

4 years agofpc (3.2.2+dfsg-4) unstable; urgency=medium
Abou Al Montacir [Sat, 30 Oct 2021 12:46:26 +0000 (13:46 +0100)]
fpc (3.2.2+dfsg-4) unstable; urgency=medium

  * Updated list of expected failed tests.
    Most are testes used to fail and do not fail anymore.
    Some of them are new tests added by this release (i386:+1, ppc64:+1).
    A new generics related test is also failing on non x86_64 platforms.

[dgit import unpatched fpc 3.2.2+dfsg-4]

4 years agoImport fpc_3.2.2+dfsg-4.debian.tar.xz
Abou Al Montacir [Sat, 30 Oct 2021 12:46:26 +0000 (13:46 +0100)]
Import fpc_3.2.2+dfsg-4.debian.tar.xz

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

4 years agoMerge fpc (3.2.0+dfsg-13+rpi1) import into refs/heads/workingbranch
Raspbian forward porter [Tue, 21 Sep 2021 19:22:17 +0000 (20:22 +0100)]
Merge fpc (3.2.0+dfsg-13+rpi1) import into refs/heads/workingbranch

4 years agoChange compiler defaults for raspbian
Peter Michael Green [Tue, 21 Sep 2021 19:22:17 +0000 (20:22 +0100)]
Change compiler defaults for raspbian

We need armv6 and vfpv2 rather than armv7 and vfpv3-d16

Gbp-Pq: Name raspbian.diff

4 years agofix version lists in utests.pp
Pascal Packaging Team [Tue, 21 Sep 2021 19:22:17 +0000 (20:22 +0100)]
fix version lists in utests.pp

utests.pp has three version lists, the first defining an enumerated type
and then the second two defining textual versions and svn branches
for each enumeration entry.
 Unfortunately the first list was not consistent with each other resulting
 in a compile error. This patch expands the first list to match the
 others.
Author: Peter Michael Green <plugwash@debian.org>

Gbp-Pq: Name fix-utest-version-lists.patch

4 years ago@PLT is needed for calls to link it properly with pic code
Florian Klämpfl [Mon, 3 Aug 2020 19:42:14 +0000 (19:42 +0000)]
@PLT is needed for calls to link it properly with pic code

Gbp-Pq: Name Fix-liking-with-libc-when-PIC-is-enabled.patch

4 years agoDisable FPU inlining on m68k
John Paul Adrian Glaubitz [Tue, 21 Sep 2021 19:22:17 +0000 (20:22 +0100)]
Disable FPU inlining on m68k

Forwarded: https://bugs.freepascal.org/view.php?id=37250
Last-Update: 2021-01-22

There is a bug in the FPU code on m68k which causes the
bootstrap to fail (upstream bug #37250). Until the bug
has been fixed, disable FPU inlining to work around the
issue and fix the bootstrap on m68k.

Gbp-Pq: Name m68k-disable-FPU-inlining.patch

4 years agoncurses6
Pascal Packaging Team [Tue, 21 Sep 2021 19:22:17 +0000 (20:22 +0100)]
ncurses6

Patch to update ncurses.pp for ncurses 6 by Sven Joachim
Taken from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=894049#39

Gbp-Pq: Name ncurses6.patch

4 years agoClean man pages to be lintian warnings and erros free.
Abou Al Montacir [Tue, 21 Sep 2021 19:22:17 +0000 (20:22 +0100)]
Clean man pages to be lintian warnings and erros free.

Lintian enforces strict policy on man pages. We try here to fix upstream files
to ensure a lintian rules compatible files..

Gbp-Pq: Name clean_man_pages.patch

4 years agoFix sub directories in Makefile.fpc to allor recursive generation.
Abou Al Montacir [Mon, 4 Dec 2017 22:55:22 +0000 (23:55 +0100)]
Fix sub directories in Makefile.fpc to allor recursive generation.

Gbp-Pq: Name fix_make_files_generation.patch

4 years agoChange path of unit files to make it support MA co-installation.
Abou Al Montacir [Sun, 12 Nov 2017 21:24:15 +0000 (22:24 +0100)]
Change path of unit files to make it support MA co-installation.

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

(Closes: Bug#73368)

Gbp-Pq: Name fix-units-path-to-be-multi-arch-safe.patch

4 years agoPrevent FTBFS by creating directories when required
Paul Gevers [Tue, 21 Sep 2021 19:22:17 +0000 (20:22 +0100)]
Prevent FTBFS by creating directories when required

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

Gbp-Pq: Name create-directory-before-copy-in-Makefile.fpc.patch

4 years agothe jsminifier.pp is not dfsg free. Therefore we strip it during
Paul Gevers [Tue, 21 Sep 2021 19:22:17 +0000 (20:22 +0100)]
the jsminifier.pp is not dfsg free. Therefore we strip it during

Bug: https://bugs.freepascal.org/view.php?id=32288

repack but we must prevent during build as well.
===================================================================

Gbp-Pq: Name drop-jsminifier-from-build-as-we-strip-it.patch

4 years agoRemoved declaration of legacy ncursus variables.
Abou Al Montacir [Tue, 21 Sep 2021 19:22:17 +0000 (20:22 +0100)]
Removed declaration of legacy ncursus variables.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=789091

These variables are now internal and no more exported by new ncursus libraries.

Gbp-Pq: Name remove-depreciated-ncursus-variables-declaration.patch

4 years agosome more Lintian detection spelling misstakes
Paul Gevers [Tue, 21 Sep 2021 19:22:17 +0000 (20:22 +0100)]
some more Lintian detection spelling misstakes

Gbp-Pq: Name fix-spelling-errors-3.patch

4 years agofix_source_location_for_documentation
Pascal Packaging Team [Tue, 21 Sep 2021 19:22:17 +0000 (20:22 +0100)]
fix_source_location_for_documentation

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

Gbp-Pq: Name fix_source_location_for_documentation.patch

4 years agoAdd tags to make armhf binaries come out correctly.
Peter Michael Green [Tue, 21 Sep 2021 19:22:17 +0000 (20:22 +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

4 years agoReproducible builds requires that the build time stamp is not
Paul Gevers [Tue, 21 Sep 2021 19:22:17 +0000 (20:22 +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

4 years agoAlign fp IDE template file paths with Debian standards
Abou Al Montacir [Tue, 21 Sep 2021 19:22:17 +0000 (20:22 +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 stadard for file locations.
 This patch fixes this by making the IDE looking for templates in the base
 installation directory.
===================================================================

Gbp-Pq: Name fix-IDE-data-file-location.patch

4 years agoDisable the gnome1, gtk1, fpgtk and imlib packages to build
Paul Gevers [Tue, 21 Sep 2021 19:22:17 +0000 (20:22 +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

4 years agoTimestamps in fpc documentation are hindering reproducible builds
Paul Gevers [Tue, 21 Sep 2021 19:22:17 +0000 (20:22 +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

4 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

4 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

4 years agoUse ld.bfd explicitly
Peter Michael Green [Tue, 21 Sep 2021 19:22:17 +0000 (20:22 +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

4 years agorename-instantfpc-to-ifpc
Pascal Packaging Team [Tue, 21 Sep 2021 19:22:17 +0000 (20:22 +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

4 years agorelpath
Pascal Packaging Team [Tue, 21 Sep 2021 19:22:17 +0000 (20:22 +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

4 years agofix-FPCDIR-in-fpcmake
Pascal Packaging Team [Tue, 21 Sep 2021 19:22:17 +0000 (20:22 +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

4 years agoversion
Pascal Packaging Team [Tue, 21 Sep 2021 19:22:17 +0000 (20:22 +0100)]
version

This patch adds Debian build version to compiler full version.

Gbp-Pq: Name version.diff

4 years agofpc (3.2.0+dfsg-13+rpi1) bookworm-staging; urgency=medium
Raspbian forward porter [Tue, 21 Sep 2021 19:22:17 +0000 (20:22 +0100)]
fpc (3.2.0+dfsg-13+rpi1) bookworm-staging; urgency=medium

  [changes brought forward from 2.6.4+dfsg-4+rpi1 by Peter Michael Green <plugwash@raspbian.org> at Mon, 20 Oct 2014 23:12:17 +0000]
  * Set compiler defaults for raspbian.

[dgit import unpatched fpc 3.2.0+dfsg-13+rpi1]

4 years agoImport fpc_3.2.0+dfsg-13+rpi1.debian.tar.xz
Raspbian forward porter [Tue, 21 Sep 2021 19:22:17 +0000 (20:22 +0100)]
Import fpc_3.2.0+dfsg-13+rpi1.debian.tar.xz

[dgit import tarball fpc 3.2.0+dfsg-13+rpi1 fpc_3.2.0+dfsg-13+rpi1.debian.tar.xz]

4 years agoMerge fpc (3.2.0+dfsg-13) import into refs/heads/workingbranch
Paul Gevers [Thu, 16 Sep 2021 13:41:58 +0000 (14:41 +0100)]
Merge fpc (3.2.0+dfsg-13) import into refs/heads/workingbranch

4 years agofix version lists in utests.pp
Pascal Packaging Team [Thu, 16 Sep 2021 13:41:58 +0000 (14:41 +0100)]
fix version lists in utests.pp

utests.pp has three version lists, the first defining an enumerated type
and then the second two defining textual versions and svn branches
for each enumeration entry.
 Unfortunately the first list was not consistent with each other resulting
 in a compile error. This patch expands the first list to match the
 others.
Author: Peter Michael Green <plugwash@debian.org>

Gbp-Pq: Name fix-utest-version-lists.patch

4 years ago@PLT is needed for calls to link it properly with pic code
Florian Klämpfl [Mon, 3 Aug 2020 19:42:14 +0000 (19:42 +0000)]
@PLT is needed for calls to link it properly with pic code

Gbp-Pq: Name Fix-liking-with-libc-when-PIC-is-enabled.patch

4 years agoDisable FPU inlining on m68k
John Paul Adrian Glaubitz [Thu, 16 Sep 2021 13:41:58 +0000 (14:41 +0100)]
Disable FPU inlining on m68k

Forwarded: https://bugs.freepascal.org/view.php?id=37250
Last-Update: 2021-01-22

There is a bug in the FPU code on m68k which causes the
bootstrap to fail (upstream bug #37250). Until the bug
has been fixed, disable FPU inlining to work around the
issue and fix the bootstrap on m68k.

Gbp-Pq: Name m68k-disable-FPU-inlining.patch

4 years agoncurses6
Pascal Packaging Team [Thu, 16 Sep 2021 13:41:58 +0000 (14:41 +0100)]
ncurses6

Patch to update ncurses.pp for ncurses 6 by Sven Joachim
Taken from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=894049#39

Gbp-Pq: Name ncurses6.patch

4 years agoClean man pages to be lintian warnings and erros free.
Abou Al Montacir [Thu, 16 Sep 2021 13:41:58 +0000 (14:41 +0100)]
Clean man pages to be lintian warnings and erros free.

Lintian enforces strict policy on man pages. We try here to fix upstream files
to ensure a lintian rules compatible files..

Gbp-Pq: Name clean_man_pages.patch

4 years agoFix sub directories in Makefile.fpc to allor recursive generation.
Abou Al Montacir [Mon, 4 Dec 2017 22:55:22 +0000 (23:55 +0100)]
Fix sub directories in Makefile.fpc to allor recursive generation.

Gbp-Pq: Name fix_make_files_generation.patch

4 years agoChange path of unit files to make it support MA co-installation.
Abou Al Montacir [Sun, 12 Nov 2017 21:24:15 +0000 (22:24 +0100)]
Change path of unit files to make it support MA co-installation.

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

(Closes: Bug#73368)

Gbp-Pq: Name fix-units-path-to-be-multi-arch-safe.patch

4 years agoPrevent FTBFS by creating directories when required
Paul Gevers [Thu, 16 Sep 2021 13:41:58 +0000 (14:41 +0100)]
Prevent FTBFS by creating directories when required

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

Gbp-Pq: Name create-directory-before-copy-in-Makefile.fpc.patch

4 years agothe jsminifier.pp is not dfsg free. Therefore we strip it during
Paul Gevers [Thu, 16 Sep 2021 13:41:58 +0000 (14:41 +0100)]
the jsminifier.pp is not dfsg free. Therefore we strip it during

Bug: https://bugs.freepascal.org/view.php?id=32288

repack but we must prevent during build as well.
===================================================================

Gbp-Pq: Name drop-jsminifier-from-build-as-we-strip-it.patch

4 years agoRemoved declaration of legacy ncursus variables.
Abou Al Montacir [Thu, 16 Sep 2021 13:41:58 +0000 (14:41 +0100)]
Removed declaration of legacy ncursus variables.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=789091

These variables are now internal and no more exported by new ncursus libraries.

Gbp-Pq: Name remove-depreciated-ncursus-variables-declaration.patch

4 years agosome more Lintian detection spelling misstakes
Paul Gevers [Thu, 16 Sep 2021 13:41:58 +0000 (14:41 +0100)]
some more Lintian detection spelling misstakes

Gbp-Pq: Name fix-spelling-errors-3.patch

4 years agofix_source_location_for_documentation
Pascal Packaging Team [Thu, 16 Sep 2021 13:41:58 +0000 (14:41 +0100)]
fix_source_location_for_documentation

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

Gbp-Pq: Name fix_source_location_for_documentation.patch

4 years agoAdd tags to make armhf binaries come out correctly.
Peter Michael Green [Thu, 16 Sep 2021 13:41:58 +0000 (14:41 +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

4 years agoReproducible builds requires that the build time stamp is not
Paul Gevers [Thu, 16 Sep 2021 13:41:58 +0000 (14:41 +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

4 years agoAlign fp IDE template file paths with Debian standards
Abou Al Montacir [Thu, 16 Sep 2021 13:41:58 +0000 (14:41 +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 stadard for file locations.
 This patch fixes this by making the IDE looking for templates in the base
 installation directory.
===================================================================

Gbp-Pq: Name fix-IDE-data-file-location.patch