fpc.git
4 years agoManual merge of version 3.2.0+dfsg-11+rpi1 and 3.2.0+dfsg-12 to produce 3.2.0+dfsg... bullseye-staging archive/raspbian/3.2.0+dfsg-12+rpi1 raspbian/3.2.0+dfsg-12+rpi1
Peter Michael Green [Sun, 7 Feb 2021 23:03:39 +0000 (23:03 +0000)]
Manual merge of version 3.2.0+dfsg-11+rpi1 and 3.2.0+dfsg-12 to produce 3.2.0+dfsg-12+rpi1

4 years agoMerge fpc (3.2.0+dfsg-12) import into refs/heads/workingbranch
Abou Al Montacir [Mon, 25 Jan 2021 21:36:28 +0000 (21:36 +0000)]
Merge fpc (3.2.0+dfsg-12) import into refs/heads/workingbranch

4 years agofix version lists in utests.pp
Pascal Packaging Team [Mon, 25 Jan 2021 21:36:28 +0000 (21:36 +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

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 [Mon, 25 Jan 2021 21:36:28 +0000 (21:36 +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

4 years agoncurses6
Pascal Packaging Team [Mon, 25 Jan 2021 21:36:28 +0000 (21:36 +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

4 years agoClean man pages to be lintian warnings and erros free.
Abou Al Montacir [Mon, 25 Jan 2021 21:36:28 +0000 (21:36 +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

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 [Mon, 25 Jan 2021 21:36:28 +0000 (21:36 +0000)]
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 [Mon, 25 Jan 2021 21:36:28 +0000 (21:36 +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

4 years agoRemoved declaration of legacy ncursus variables.
Abou Al Montacir [Mon, 25 Jan 2021 21:36:28 +0000 (21:36 +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

4 years agosome more Lintian detection spelling misstakes
Paul Gevers [Mon, 25 Jan 2021 21:36:28 +0000 (21:36 +0000)]
some more Lintian detection spelling misstakes

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

4 years agofix_source_location_for_documentation
Pascal Packaging Team [Mon, 25 Jan 2021 21:36:28 +0000 (21:36 +0000)]
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 [Mon, 25 Jan 2021 21:36:28 +0000 (21:36 +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

4 years agoReproducible builds requires that the build time stamp is not
Paul Gevers [Mon, 25 Jan 2021 21:36:28 +0000 (21:36 +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

4 years agoAlign fp IDE template file paths with Debian standards
Abou Al Montacir [Mon, 25 Jan 2021 21:36:28 +0000 (21:36 +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

4 years agoDisable the gnome1, gtk1, fpgtk and imlib packages to build
Paul Gevers [Mon, 25 Jan 2021 21:36:28 +0000 (21:36 +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

4 years agoTimestamps in fpc documentation are hindering reproducible builds
Paul Gevers [Mon, 25 Jan 2021 21:36:28 +0000 (21:36 +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

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 [Mon, 25 Jan 2021 21:36:28 +0000 (21:36 +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

4 years agorename-instantfpc-to-ifpc
Pascal Packaging Team [Mon, 25 Jan 2021 21:36:28 +0000 (21:36 +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

4 years agorelpath
Pascal Packaging Team [Mon, 25 Jan 2021 21:36:28 +0000 (21:36 +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

4 years agofix-FPCDIR-in-fpcmake
Pascal Packaging Team [Mon, 25 Jan 2021 21:36:28 +0000 (21:36 +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

4 years agoversion
Pascal Packaging Team [Mon, 25 Jan 2021 21:36:28 +0000 (21:36 +0000)]
version

This patch adds Debian build version to compiler full version.

Gbp-Pq: Name version.diff

4 years agofpc (3.2.0+dfsg-12) unstable; urgency=medium
Abou Al Montacir [Mon, 25 Jan 2021 21:36:28 +0000 (21:36 +0000)]
fpc (3.2.0+dfsg-12) unstable; urgency=medium

  [ Graham Inggs ]
  * Drop unnecessary build dependency on binutils

  [ Abou Al Montacir ]
  * Disable FPU inlining on m68k.
    Thanks to John Paul Adrian Glaubitz (Closes: Bug#980841)

[dgit import unpatched fpc 3.2.0+dfsg-12]

4 years agoImport fpc_3.2.0+dfsg-12.debian.tar.xz
Abou Al Montacir [Mon, 25 Jan 2021 21:36:28 +0000 (21:36 +0000)]
Import fpc_3.2.0+dfsg-12.debian.tar.xz

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

4 years agoMerge fpc (3.2.0+dfsg-11+rpi1) import into refs/heads/workingbranch
Raspbian forward porter [Thu, 14 Jan 2021 20:35:41 +0000 (20:35 +0000)]
Merge fpc (3.2.0+dfsg-11+rpi1) import into refs/heads/workingbranch

4 years agoChange compiler defaults for raspbian
Peter Michael Green [Thu, 14 Jan 2021 20:35:41 +0000 (20:35 +0000)]
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 [Thu, 14 Jan 2021 20:35:41 +0000 (20:35 +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

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 agofix-FTBFS-on-m68k
Pascal Packaging Team [Thu, 14 Jan 2021 20:35:41 +0000 (20:35 +0000)]
fix-FTBFS-on-m68k

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

Gbp-Pq: Name fix-FTBFS-on-m68k.patch

4 years agoncurses6
Pascal Packaging Team [Thu, 14 Jan 2021 20:35:41 +0000 (20:35 +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

4 years agoClean man pages to be lintian warnings and erros free.
Abou Al Montacir [Thu, 14 Jan 2021 20:35:41 +0000 (20:35 +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

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, 14 Jan 2021 20:35:41 +0000 (20:35 +0000)]
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, 14 Jan 2021 20:35:41 +0000 (20:35 +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

4 years agoRemoved declaration of legacy ncursus variables.
Abou Al Montacir [Thu, 14 Jan 2021 20:35:41 +0000 (20:35 +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

4 years agosome more Lintian detection spelling misstakes
Paul Gevers [Thu, 14 Jan 2021 20:35:41 +0000 (20:35 +0000)]
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, 14 Jan 2021 20:35:41 +0000 (20:35 +0000)]
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, 14 Jan 2021 20:35:41 +0000 (20:35 +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

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

4 years agoAlign fp IDE template file paths with Debian standards
Abou Al Montacir [Thu, 14 Jan 2021 20:35:41 +0000 (20:35 +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

4 years agoDisable the gnome1, gtk1, fpgtk and imlib packages to build
Paul Gevers [Thu, 14 Jan 2021 20:35:41 +0000 (20:35 +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

4 years agoTimestamps in fpc documentation are hindering reproducible builds
Paul Gevers [Thu, 14 Jan 2021 20:35:41 +0000 (20:35 +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

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 [Thu, 14 Jan 2021 20:35:41 +0000 (20:35 +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

4 years agorename-instantfpc-to-ifpc
Pascal Packaging Team [Thu, 14 Jan 2021 20:35:41 +0000 (20:35 +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

4 years agorelpath
Pascal Packaging Team [Thu, 14 Jan 2021 20:35:41 +0000 (20:35 +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

4 years agofix-FPCDIR-in-fpcmake
Pascal Packaging Team [Thu, 14 Jan 2021 20:35:41 +0000 (20:35 +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

4 years agoversion
Pascal Packaging Team [Thu, 14 Jan 2021 20:35:41 +0000 (20:35 +0000)]
version

This patch adds Debian build version to compiler full version.

Gbp-Pq: Name version.diff

4 years agofpc (3.2.0+dfsg-11+rpi1) bullseye-staging; urgency=medium
Raspbian forward porter [Thu, 14 Jan 2021 20:35:41 +0000 (20:35 +0000)]
fpc (3.2.0+dfsg-11+rpi1) bullseye-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-11+rpi1]

4 years agoImport fpc_3.2.0+dfsg-11+rpi1.debian.tar.xz
Raspbian forward porter [Thu, 14 Jan 2021 20:35:41 +0000 (20:35 +0000)]
Import fpc_3.2.0+dfsg-11+rpi1.debian.tar.xz

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

4 years agoMerge fpc (3.2.0+dfsg-11) import into refs/heads/workingbranch
Graham Inggs [Tue, 12 Jan 2021 11:45:42 +0000 (11:45 +0000)]
Merge fpc (3.2.0+dfsg-11) import into refs/heads/workingbranch

4 years agofix version lists in utests.pp
Pascal Packaging Team [Tue, 12 Jan 2021 11:45:42 +0000 (11:45 +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

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 agofix-FTBFS-on-m68k
Pascal Packaging Team [Tue, 12 Jan 2021 11:45:42 +0000 (11:45 +0000)]
fix-FTBFS-on-m68k

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

Gbp-Pq: Name fix-FTBFS-on-m68k.patch

4 years agoncurses6
Pascal Packaging Team [Tue, 12 Jan 2021 11:45:42 +0000 (11:45 +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

4 years agoClean man pages to be lintian warnings and erros free.
Abou Al Montacir [Tue, 12 Jan 2021 11:45:42 +0000 (11:45 +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

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, 12 Jan 2021 11:45:42 +0000 (11:45 +0000)]
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, 12 Jan 2021 11:45:42 +0000 (11:45 +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

4 years agoRemoved declaration of legacy ncursus variables.
Abou Al Montacir [Tue, 12 Jan 2021 11:45:42 +0000 (11:45 +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

4 years agosome more Lintian detection spelling misstakes
Paul Gevers [Tue, 12 Jan 2021 11:45:42 +0000 (11:45 +0000)]
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, 12 Jan 2021 11:45:42 +0000 (11:45 +0000)]
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, 12 Jan 2021 11:45:42 +0000 (11:45 +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

4 years agoReproducible builds requires that the build time stamp is not
Paul Gevers [Tue, 12 Jan 2021 11:45:42 +0000 (11:45 +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

4 years agoAlign fp IDE template file paths with Debian standards
Abou Al Montacir [Tue, 12 Jan 2021 11:45:42 +0000 (11:45 +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

4 years agoDisable the gnome1, gtk1, fpgtk and imlib packages to build
Paul Gevers [Tue, 12 Jan 2021 11:45:42 +0000 (11:45 +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

4 years agoTimestamps in fpc documentation are hindering reproducible builds
Paul Gevers [Tue, 12 Jan 2021 11:45:42 +0000 (11:45 +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

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, 12 Jan 2021 11:45:42 +0000 (11:45 +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

4 years agorename-instantfpc-to-ifpc
Pascal Packaging Team [Tue, 12 Jan 2021 11:45:42 +0000 (11:45 +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

4 years agorelpath
Pascal Packaging Team [Tue, 12 Jan 2021 11:45:42 +0000 (11:45 +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

4 years agofix-FPCDIR-in-fpcmake
Pascal Packaging Team [Tue, 12 Jan 2021 11:45:42 +0000 (11:45 +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

4 years agoversion
Pascal Packaging Team [Tue, 12 Jan 2021 11:45:42 +0000 (11:45 +0000)]
version

This patch adds Debian build version to compiler full version.

Gbp-Pq: Name version.diff

4 years agofpc (3.2.0+dfsg-11) bullseye; urgency=medium
Graham Inggs [Tue, 12 Jan 2021 11:45:42 +0000 (11:45 +0000)]
fpc (3.2.0+dfsg-11) bullseye; urgency=medium

  * Add missing backslash in fp-compiler.postinst (Closes: #979850)
  * Upload to bullseye since fp-compiler is not installable in unstable

[dgit import unpatched fpc 3.2.0+dfsg-11]

4 years agoImport fpc_3.2.0+dfsg-11.debian.tar.xz
Graham Inggs [Tue, 12 Jan 2021 11:45:42 +0000 (11:45 +0000)]
Import fpc_3.2.0+dfsg-11.debian.tar.xz

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

5 years agoMerge fpc (3.2.0+dfsg-8) import into refs/heads/workingbranch
Peter Michael Green [Sat, 22 Aug 2020 13:17:07 +0000 (14:17 +0100)]
Merge fpc (3.2.0+dfsg-8) import into refs/heads/workingbranch

5 years agofix version lists in utests.pp
Pascal Packaging Team [Sat, 22 Aug 2020 13:17:07 +0000 (14:17 +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

5 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

5 years agofix-FTBFS-on-m68k
Pascal Packaging Team [Sat, 22 Aug 2020 13:17:07 +0000 (14:17 +0100)]
fix-FTBFS-on-m68k

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

Gbp-Pq: Name fix-FTBFS-on-m68k.patch

5 years agoncurses6
Pascal Packaging Team [Sat, 22 Aug 2020 13:17:07 +0000 (14:17 +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

5 years agoClean man pages to be lintian warnings and erros free.
Abou Al Montacir [Sat, 22 Aug 2020 13:17:07 +0000 (14:17 +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

5 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

5 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

5 years agoPrevent FTBFS by creating directories when required
Paul Gevers [Sat, 22 Aug 2020 13:17:07 +0000 (14:17 +0100)]
Prevent FTBFS by creating directories when required

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

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

5 years agothe jsminifier.pp is not dfsg free. Therefore we strip it during
Paul Gevers [Sat, 22 Aug 2020 13:17:07 +0000 (14:17 +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

5 years agoRemoved declaration of legacy ncursus variables.
Abou Al Montacir [Sat, 22 Aug 2020 13:17:07 +0000 (14:17 +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

5 years agosome more Lintian detection spelling misstakes
Paul Gevers [Sat, 22 Aug 2020 13:17:07 +0000 (14:17 +0100)]
some more Lintian detection spelling misstakes

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

5 years agofix_source_location_for_documentation
Pascal Packaging Team [Sat, 22 Aug 2020 13:17:07 +0000 (14:17 +0100)]
fix_source_location_for_documentation

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

Gbp-Pq: Name fix_source_location_for_documentation.patch

5 years agoAdd tags to make armhf binaries come out correctly.
Peter Michael Green [Sat, 22 Aug 2020 13:17:07 +0000 (14:17 +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

5 years agoReproducible builds requires that the build time stamp is not
Paul Gevers [Sat, 22 Aug 2020 13:17:07 +0000 (14:17 +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

5 years agoAlign fp IDE template file paths with Debian standards
Abou Al Montacir [Sat, 22 Aug 2020 13:17:07 +0000 (14:17 +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

5 years agoDisable the gnome1, gtk1, fpgtk and imlib packages to build
Paul Gevers [Sat, 22 Aug 2020 13:17:07 +0000 (14:17 +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