From: Peter Michael Green Date: Sat, 13 Apr 2013 07:52:42 +0000 (+0000) Subject: Import fpc_2.6.0-9.debian.tar.gz X-Git-Tag: archive/raspbian/3.0.0+dfsg-11+rpi1~1^2^2^2^2~7^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a1d367f8f90da2f6f51ce89c55bd5304f955ff19;p=fpc.git Import fpc_2.6.0-9.debian.tar.gz [dgit import tarball fpc 2.6.0-9 fpc_2.6.0-9.debian.tar.gz] --- a1d367f8f90da2f6f51ce89c55bd5304f955ff19 diff --git a/README.Debian.in b/README.Debian.in new file mode 100644 index 00000000..9314f80f --- /dev/null +++ b/README.Debian.in @@ -0,0 +1,47 @@ +The Free Pascal Compiler for Debian +----------------------------------- + +The source tree was checked out from the subversion repository at +svn.freepascal.org with + 'svn co http://svn.freepascal.org/svn/fpcbuild/tags/%{fpcsvnpath}' + +Only PDF docs are built as shipped. You may want to make the HTML files with +tex4ht by yourself and eventually adapt the doc-base file. + +To create a new config file for fpc (/etc/fpc.cfg) use the command: + /usr/lib/fpc/%{fpcversion}/samplecfg /usr/lib/fpc/%{fpcversion} +However, you should be aware that said file (/etc/fpc.cfg) is +declared as a conffile since version 1.0.2. + +And, yes - this is a i386/amd64/powerpc/sparc/arm only package currently. + + +Web site and download information: +---------------------------------- + +The Original site is + http://www.freepascal.org/ + ftp://ftp.freepascal.org/ + +HTTP Mirrored at + http://www.nl.freepascal.org/ + http://www.de.freepascal.org/ + http://www.freepascal.sk/ + http://gd.tuwien.ac.at/languages/pascal/fpc/www/ + http://www.atlasz.com/freepascal/ + +FTP Mirrored at + http://fpc.planetmirror.com/pub/fpc/ + ftp://gd.tuwien.ac.at/languages/pascal/fpc/ + ftp://ftp.hu.freepascal.org/pub/fpc/ + ftp://ftp.uni-erlangen.de/pub/mirrors/freepascal/ + http://mirror.mirimar.net/freepascal/ + http://cdn.mirror.garr.it/mirrors/freepascal/ + ftp://ftpsv1.u-aizu.ac.jp/pub/lang/pascal/freepascal/ + ftp://ftp.nl.freepascal.org/pub/fpc/ + ftp://freepascal.stack.nl/pub/fpc/ + ftp://ftp.no.freepascal.org/pub/fpc/ + ftp://ftp.chg.ru/pub/lang/pascal/fpc/ + ftp://ftp.us.freepascal.org/pub/fpc/ + + -- Varun Hiremath , Sat, 20 Jan 2007 01:28:28 +0530 diff --git a/changelog b/changelog new file mode 100644 index 00000000..c0b7e815 --- /dev/null +++ b/changelog @@ -0,0 +1,935 @@ +fpc (2.6.0-9) unstable; urgency=low + + * Revert previous broken and unnessacerally intrustive fix for debian/control + issue. Replace it with a more targetted fix inspired by abou's and paul's + proposed patches. + + -- Peter Michael Green Sat, 13 Apr 2013 07:52:42 +0000 + +fpc (2.6.0-8) unstable; urgency=low + + * Removed auto-generation of debian/control during build process as required + by policy. (Closes: Bug#704252) + + -- Abou Al Montacir Tue, 26 Mar 2013 09:54:00 +0100 + +fpc (2.6.0-7) unstable; urgency=low + + * Proofread templates by debian-l10n-english list. (Closes: Bug#686038) + * Added Danish translation. (Closes: Bug#687069) + * Added Slovak translation. (Closes: Bug#687087) + * Added Portuguese translation. (Closes: Bug#687116) + * Added Russian translation. (Closes: Bug#687192) + * Added German translation. (Closes: Bug#687444) + * Added Polish translation. (Closes: Bug#687550) + * Added Czech translation. (Closes: Bug#687713) + * Added French translation. (Closes: Bug#687724) + * Added Italian translation. (Closes: Bug#687771) + * Added Japanese translation. (Closes: Bug#688143) + * Added Swedish translation. (Closes: Bug#688424) + * Added Spanish translation. (Closes: Bug#689468) + + -- Abou Al Montacir Thu, 04 Oct 2012 09:12:00 +0000 + +fpc (2.6.0-6) unstable; urgency=low + + * Removed error thrown when trying to build help index if the documentation + is installed on a read only file system and tries to store the index file + in current directory. (Closes: Bug#528863) + * Fixed postrm script to guarantee removal of backup configuration files + during purge operation. (Closes: Bug#668742) + + -- Abou Al Montacir Tue, 30 Jul 2012 19:22:00 +0000 + +fpc (2.6.0-5) unstable; urgency=low + + * Add patch to fix inverted exception masking on arm vfp (armhf). + This patch is needed for the armhf compiler to work on hardware that + supports vfp exception trapping. + + -- Peter Michael Green Sun, 29 Jul 2012 00:52:27 +0000 + +fpc (2.6.0-4) unstable; urgency=low + + [ Peter Michael Green ] + * Add myself to uploaders in control.in as well as control so that the build + process doesn't blow my changes away + [ Abou Al Montacir ] + * Moved mention to openal from fp-units-gfx description to fp-untis-multimedia + description. (Closes: Bug#679138) + + -- Peter Michael Green Fri, 06 Jul 2012 20:25:10 +0000 + +fpc (2.6.0-3) unstable; urgency=low + * Add myself to uploaders + * Add support for armhf (Closes: Bug#666264) + - debian/rules: + + Specify arm variant explicitly when cycling the compiler so that it is + possible to bootstrap with a starting compiler from another arm variant. + + Use DEB_*_ARCH_CPU to reduce the ammount of special casing we + require when setting CPU_SOURCE and CPU_TARGET. + - debian/control: add armhf to architecture list. + - debian/patches/armhf.diff: main changes for port, based on patch + submitted upstream with adjustments to backport to 2.6.0 + - debian/patches/regenerate_messages.diff: regenerate messages file + to add new message introduced by armhf.diff + - armhf-linker-path.diff: change dynamic linker path to reflect new + cross-distro agreement. + * fixups to clean target in debian/rules: + - Don't remove .pc since we aren't removing the patches anymore + (fixes issues where quilt doesn't think the patches are applied even + though in fact they are) + - Cleanup some files which seem to get left behind by + the upstream build/cleanup process. + - Cleanup install-source-stamp + - Cleanup various generated files in debian directory + * set CFG_FILE in postrm so that the rm command in purge actually + removes the configuration file. + -- Peter Michael Green Sat, 21 Apr 2012 13:13:00 +0100 + + +fpc (2.6.0-2) unstable; urgency=low + + * Added alternatives to handle fp (IDE) binary. (Closes: Bug#655626) + * Set priority according to version in fpc and fp-utils so that newer version + is automatically selected. + * Fix default FPCDIR value in fpcmake utility reading links recursively. + (Closes: Bug#662814) + * Checked conformance to policy 3.9.3 and updated standard version. + + -- Abou Al Montacir Wed, 28 Mar 2012 11:51:00 +0100 + +fpc (2.6.0-1) unstable; urgency=low + + * Changed build dependencies on gs-common to ghostscript as the first no more + exists. (Closes: Bug#649703) + * Configuration file is now built on the fly by the post installation script. + * New upstream major release with many features and new targets + - List of changes which may affect the behaviour of previously working + code, and how to cope with these changes is available online on + http://wiki.freepascal.org/User_Changes_2.6.0 for a list + - List of reported bugs which have been fixed in this release is available + online on http://bugs.freepascal.org/changelog_page.php + - List of new features which have been added to this release is available + online on http://wiki.freepascal.org/FPC_New_Features_2.6.0 + * New Platforms: + - iPhoneSimulator target + * Compiler changes: + - Many new language features: + + Objective-Pascal dialect, supported on all Mac OS X and iOS targets + + constref parameter modifier for "const by reference" + + Pascal boolean types with multiple sizes (boolean16/32/64) + + ISO 7185 language mode (except for I/O). Features amongst others: + . Nested procedure variables + . Non-local goto's + + Mac Pascal mode improvements + . Nested procedure variables + . Univ modifier + + Intrinsics + . sar (shift arithmetic right) + . bsf/bsr (bitscan forward/reverse) + + Delphi compatibility mode improvements + . Nested types, class variables and class local constants + . Advanced records syntax (no constructors yet) + . (for..in) Enumerators in records + . Class and record helpers + . Generic records, arrays and procedural types + . Delphi-compatibility of generics improved + . Scoped enumerations + . Custom messages for "deprecated" directive + . Ability to use "&" for escaping keywords + - New ARM code generator features + + ARM VFPv2 and VFPv3 floating point unit support + + Thumb-2 support + * Packages changes: + - Many improvements to the rtl + - Many improvements to the database units (fcl-db) + - Objective-Pascal interfaces to Foundation, AppKit, CoreData and WebCore + - OpenGL headers updated to OpenGL 4.0 + - Added bindings for libzorba + + -- Abou Al Montacir Mon, 27 Dec 2011 11:30:00 +0100 + +fpc (2.4.4-3) unstable; urgency=low + + * Added libsdl-mixer1.2-dev to dependency list of fp-units-multimedia. + * Fixed link issue related to multi-arch by adding arch path to /etc/fpc.cfg. + (Closes: Bug#636802) + * Moved resource compiler fpcres alternative rule to be slave of fpc instead + of being slave of fp-utils. (Closes: Bug#624361) + + -- Abou Al Montacir Tue, 18 Oct 2011 19:12:00 +0200 + +fpc (2.4.4-2) unstable; urgency=low + + * Moved resource compiler fpcres binary to fp-compiler as this part of the + compiler itself. (Closes: Bug#624361) + * Use plain sh for moveexample script. + * Applied patches from upstream to fix armel buildd crash. + * Packages fpc.sty and fakehtml.sty to the default latex directory as these + are required to compile fpdoc latex output. (Closes: Bug#628100) + + -- Abou Al Montacir Mon, 04 Jul 2011 18:10:00 +0200 + +fpc (2.4.4-1) unstable; urgency=low + + * New upstream release with many fixes and a few new features. + - Most library fixes from early June 2010 till March 2011. + + New lib in fp-untis-misc: libsee + + New libs in fp-untis-gfx: hermes, ptc + + New lib in fp-units-fcl: fcl-js + - Some compiler fixes, most relating to 64-bit. + - List of changes which may affect the behaviour of previously working + code, and how to cope with these changes is available online on + http://wiki.freepascal.org/User_Changes_2.4.4 + - List of reported bugs which have been fixed in this release is + available online on http://bugs.freepascal.org/changelog_page.php + * Packages: + - Many improvements to the XML units + - Many improvements to the database units. + + Specially sqlite got quite some fixes. + - Many improvements to the chm units. + + Including a command line CHM compiler + - New interface units: + + opencl + + lua + - Many improvements to fppkg and fpmake for another round of testing. + * Platforms: + - Fixes for multi-threading support in OS/2 RTL. + * Alternative system priority is now set on build time, if given, or + automatically depending on upstream version. + * Removed build dependency on quilt and bumped standard version to 3.9.2. + + -- Abou Al Montacir Mon, 23 May 2011 09:50:00 +0200 + +fpc (2.4.2-3) unstable; urgency=low + + * Added depency on binutils package and declared conflict with binutils-gold + as FPC does not work new binutils chain.(Closes:Bug#620815) + * Fixed various lintian warnings and notes. + * Removed dependency of fp-units-gfx on libsvga1-dev on architectures where + it does not exist. + * Moved fd2pascal from fp-units-gfx to fp-utils. + + -- Abou Al Montacir Tue, 06 Apr 2011 23:30:00 +0200 + +fpc (2.4.2-2) unstable; urgency=low + + * Test for dh_input exit status 30 as this is a normal exit status which just + informs that the question was not displayed because of its priority. + (Closes:Bug#620803) + + -- Abou Al Montacir Tue, 05 Apr 2011 17:14:00 +0200 + +fpc (2.4.2-1) unstable; urgency=low + + * New upstream release with many fixes and a few new features. + (Closes:Bug#606655) + - Most bugfixes in the RTL and packages before june 2010 have been merged. + - List of changes which may affect the behaviour of previously working + code, and how to cope with these changes is available online on + http://wiki.freepascal.org/User_Changes_2.4.2 + - List of reported bugs which have been fixed in this release is + available online on http://bugs.freepascal.org/changelog_page.php + * New Platforms: + - Long term bug in OS/2 implementation of unit Video finally fixed which + among others allows inclusion of the text-mode IDE (without debugger) + for this platform as part of the distribution again. + * Compiler changes: + - Support D2006+ FOR..IN, with some FPC specific enhancements. Refer to + http://wiki.freepascal.org/for-in_loop for more information + - Support for sealed and abstract classes. + * Packages changes: + - Many improvements to the XML units + - Many improvements to the database units + - Many improvements to the chm units + - Moved fpc-subst tool from fp-compiler package to fp-utils one + * Set 2.4.2 as default FPC version. + + -- Abou Al Montacir Tue, 09 Mar 2011 10:02:00 +0100 + +fpc (2.4.0-4) unstable; urgency=low + + * Unset 2.4.0 as default FPC version. + + -- Abou Al Montacir Mon, 07 Mar 2011 09:21:00 +0100 + +fpc (2.4.0-3) unstable; urgency=low + + * Added dependncy for fp-units-gfx to libsvga1-dev. (Closes:Bug#608834) + * Added support for multiple version coexistence in the same system. This will + allow installing multiple versions of FPC in the same system and choose a + default using update-alternatives. + * Use version in package names and provide old names as virtual packages + * Moved fpc-subst tool from fp-compiler package to fp-utils one + + -- Abou Al Montacir Wed, 17 Feb 2011 08:41:00 +0100 + +fpc (2.4.0-2) unstable; urgency=low + + [ Abou Al Montacir ] + * Fixed build dependencies on fp-compiler (>= 2.2.4-5). (Closes:Bug#570591) + * Added dependency on ${misc:Depends} as required for packages using + debhelper. + * Removed pre-dependency on dpkg (>= 1.10.24). + * Fixed spell errors removing lintian warning. + * Fixed dependencies of fp-units-math package. (Closes:Bug#567574) + * Bumped standard version to 3.8.4. + * Updated lintian override files. + [ Stefan Kisdaroczi ] + * Fixed Pred and Succ functions. (Closes: Bug#569023) + + -- Abou Al Montacir Mon, 03 Feb 2010 22:48:00 +0100 + +fpc (2.4.0-1) unstable; urgency=low + + * New upstream release with many fixes and new features offering a nice + collection of new functionality and bug fixes. + * New platforms: + - Mac OS X/PowerPC64 + - Mac OS X/x86_64 + - Mac OS X/ARM (iPhone) + * Compiler changes: + - Support for Delphi-style resource handling + - Whole-program optimization infrastructure, which initially supports + program devirtualization and unused virtual method removal + - Much faster compilation of units containing many type-sections + - The ability to suppress individual hints/warnings/notes + - Several improvements to the DWARF debug information generation + - Fixes to the generics support + - Fixes to the interface delegation (implements) support + - Improved cpu register allocation + - Improved ARM/EABI support + * RTL changes: + - Linearly scaling multi-threaded memory manager + - Support for (advisory) file locking on Unix-based platforms + - when using the SysUtils file creation/opening routines + - Support for ANSI ISO Extended Pascal ReadStr/WriteStr + - A UnicodeString type that, while not yet equivalent to Delphi 2009's + UnicodeString type, offers reference counted UnicodeString support on + the Windows, Linux, Mac OS X, FreeBSD and Beos/Haiku platforms. + * Packages changes: + - Many improvements to the XML units + - Many improvements to the database units + - Updated the common Mac OS X Pascal interfaces to r241, including + header a translation of the CFNetwork framework + - The zipper unit now works correctly on big endian platforms + * Added a patch fixing building documentation on Debian systems. + * Included quilt.make in rules file. (Closes: Bug#538552) + * Packaged news utility program (fpclasschart) poducing a class tree from + source files. + * Removed duplicate section field. + * Fixed fp-units-i386 package short description. + * Removed unneeded override rule. + * Added doc-base file for fp-compiler package. + * Fixed lintian warnings related to spell errors. + * Fixed upgrade breakage from 2.2.4-3 caused by moving files from fp-units-gfx + to fp-units-multimedia. (Closes: Bug#565167) + + -- Abou Al Montacir Sun, 13 Dec 2009 22:25:00 +0100 + +fpc (2.2.4-5) unstable; urgency=low + + * Added a new package fp-units-math for math development support. + + -- Abou Al Montacir Sun, 04 Dec 2009 21:11:00 +0100 + +fpc (2.2.4-4) unstable; urgency=low + + * Added support of armel arch to fpcmake from upstream. + * Adde documentation index file. (fixes linitan warning) + * Bumped standard version to 3.8.3. + * Added README.source. (fixes linitian warning) + * Added support for automatic cross-platform deb packaging. + * Updated fcl-xml from upstream to allow building next upstream release doc. + * Bumped fpc-abi to take in account new fcl-xml interface changes. + * Removed build dependency on libreadline5-dev as no more required. + + -- Abou Al Montacir Sun, 30 Nov 2009 19:03:00 +0100 + +fpc (2.2.4-3) unstable; urgency=low + + [ Abou Al Montacir ] + * Fixed compilation error on power PC. + + -- Abou Al Montacir Wed, 03 Jun 2009 12:44:00 +0200 + +fpc (2.2.4-2) unstable; urgency=low + + [ Stefan Kisdaroczi ] + * Fixed FindFirst and FindGetFileInfo functions. (Closes: Bug#528681) + + [ Abou Al Montacir ] + * Added lintian override rules for embedded-zlib + * Fixed wrong passing of function parameters for powerpc architecture. + (Closes: Bug#515035, Bug#511626) + + -- Abou Al Montacir Sat, 30 May 2009 17:46:00 +0200 + +fpc (2.2.4-1) unstable; urgency=low + + [ Abou Al Montacir ] + * new upstream release + - Added support for TIFF reading/writing in fcl-image + - Improvements and fixes in CHM support + - Fixed linking the gtk2-package with gtk versions above 2.13.4 + - Added support for CHM help files + * Remove patches that are now obsolete. + * Removed dependency from GTK1 as it was removed from Squeeze. + [ Paul Gevers ] + * Fixed typo in sysconst.pp. (Closes: Bug#519013) + + -- Abou Al Montacir Sat, 02 May 2009 16:40:30 +0200 + +fpc (2.2.2-8) unstable; urgency=low + + * Removed .pc directory in clean target to avoid a lintian warning. + * Moved chmcmd and chmls tools to fp-utils and added man files for them. + * Added Debian build version to compiler full version. + + -- Abou Al Montacir Tue, 16 Dec 2008 23:23:00 +0100 + +fpc (2.2.2-7) unstable; urgency=low + + [ Abou Al Montacir ] + * Patches were not applyed by patch system, fixed. (Closes: Bug#508415) + + -- Torsten Werner Mon, 15 Dec 2008 06:12:58 +0100 + +fpc (2.2.2-6) unstable; urgency=low + + * Remove auto-generated make files in clean target to avoid lintian warning + (Closes: Bug#508013). + * Removed gtk file system bindings as these no more exist in new gtk + libraries. (Closes: Bug#507520) + + -- Abou Al Montacir Wed, 04 Dec 2008 12:21:00 +0100 + +fpc (2.2.2-5) unstable; urgency=low + + * Added missing man pages to remove lintian warnings. + * Fixed bug in clean-patched target causing configuration files to be removed + before arch independent packages are build. + * Updated description of fp-docs package. (Closes: Bug#506065) + customizations. + * Fixed dependencies in rules file speeding package generation by avoiding + rebuilding binaries up to four times. + + -- Abou Al Montacir Thu, 18 Nov 2008 16:50:00 +0100 + +fpc (2.2.2-4) unstable; urgency=low + + [ Torsten Werner ] + * Update ABI version in fpc-depends automatically. + * Remove empty directories from binary package fpc-source. + + [ Abou Al Montacir ] + * Removed leading path when calling update-alternatives to remove a Lintian + error. + * Fixed clean target. + * Improved description of packages. (Closes: #498882) + + -- Abou Al Montacir Thu, 09 Oct 2008 23:29:00 +0200 + +fpc (2.2.2-3) unstable; urgency=low + + * Add *.fpc files to the binary package fpc-source. + + -- Torsten Werner Wed, 20 Aug 2008 01:07:06 +0200 + +fpc (2.2.2-2) unstable; urgency=low + + * Add patch manpages.diff that fixes various errors in the man pages. + * Switch from dpatch to quilt. + * Yak shaving to make lintian happy: remove unneeded files from binary + package fpc-source. + * Fix Provides: field of fp-unit-rtl. + + -- Torsten Werner Sun, 17 Aug 2008 15:10:22 +0200 + +fpc (2.2.2-1) unstable; urgency=low + + [ Abou Al Montacir ] + * new upstream release + - shlobj changes + - fix for wince library support + - fix for windows 64 bit support for >2GB memory + - Documentation was updated completely to conform to the actual state of + the compiler and RTL. + - Possible CodeGear Copyright infringements in the source were reworked + using cleanroom approach. + * Remove all patches that are now obsolete. + + [ Torsten Werner ] + * Bump up Standards-Version: 3.8.0 (no changes needed). + * Do not install extra license files. + * Fix some other lintian warnings. + + -- Torsten Werner Tue, 12 Aug 2008 16:55:14 +0200 + +fpc (2.2.0-dfsg1-9) unstable; urgency=low + + [ Torsten Werner ] + * Add Abou Al Montacir to Uploaders field. + + [ Abou Al Montacir ] + * Moved FPC sources into a version dependent directory from /usr/share/fpcsrc + to /usr/share/fpcsrc/${FPCVERSION}. This allow installing more than on FPC + release. + * Fixed far call issue in compiler preventing building huge binearies. + (closes: #477743) + * Updated building dependencies, recomennded and suggested packages. + * Moved fppkg to fp-utils as it is just a helper tool and is not required by + compiler. + + -- Abou Al Montacir Sat, 17 May 2008 17:12:11 +0200 + +fpc (2.2.0-dfsg1-8) unstable; urgency=low + + [ Abou Al Montacir ] + * Fixed build of fpc-source package cased by accidental remove of + fpc-source.install file during clean-patched target execution. + * Fixed Build-Depend clause (needs binutils instead of binutils-dev and no + need for libgpmg1-dev). + * Added man pages to the same packages including corresponding binaries. + * Removed from fpc-source code which isn't required by Lazarus code tool. + + -- Abou Al Montacir Thu, 08 May 2008 17:45:19 +0200 + +fpc (2.2.0-dfsg1-7) unstable; urgency=low + + [ Abou Al Montacir ] + * Added make files to source package. This required by fpcmake tool to succeed + cross platform compilation. + * Added man pages for fpcmkcfg, fpcsubst, fpcres, mkxmlrpc and rmcvsdir + binaries. + + -- Abou Al Montacir Wed, 30 Apr 2008 16:01:50 +0200 + +fpc (2.2.0-dfsg1-6) unstable; urgency=medium + + * Remove the patch 09_powerpc again because the bug is in libgdb-dev and + will be fixed there. + * Disable Build-Depends: libexpat1-dev, libgdb-dev because fpc is + incompatible to gdb 6.8. (Closes: #473955) + * Set urgency to medium because we are fixing a FTBFS bug only. + + -- Torsten Werner Sat, 29 Mar 2008 23:31:44 +0100 + +fpc (2.2.0-dfsg1-5) unstable; urgency=low + + [ Abou Al Montacir ] + * Applied fixes from upstream to packages/fcl-xml + + [ Torsten Werner ] + * Add a new patch 09_powerpc to make the package builds on powerpc + architecture. + + -- Torsten Werner Sat, 29 Mar 2008 10:39:26 +0100 + +fpc (2.2.0-dfsg1-4) unstable; urgency=low + + * Build fp-ide with debugger support. (Closes: #328701) + * Remove unneeded Build-Depends: findutils. + * Update Standards-Version: 3.7.3. + * Change Depends: mawk | awk. + * Clean up some lintian errors and warnings. + + -- Torsten Werner Sat, 15 Mar 2008 19:18:23 +0100 + +fpc (2.2.0-dfsg1-3) unstable; urgency=low + + * Add files matching *.inc to package fpc-source. + + -- Torsten Werner Sat, 29 Dec 2007 22:29:07 +0100 + +fpc (2.2.0-dfsg1-2) unstable; urgency=low + + [ Torsten Werner ] + * Set Architecture: all for fpc package. + * Fix bug in debian/rules: it's $(FPCVERSION) not $(FPC_VERSION). + (Closes: #457951) + + [ Abou Al Montacir ] + * New patch from upstream fixes non-deterministic register allocation on + sparc + * Modified rules to apply patches before building compiler + + -- Torsten Werner Sat, 29 Dec 2007 15:49:57 +0100 + +fpc (2.2.0-dfsg1-1) unstable; urgency=low + + * Remove all files matching *.o from upstream's tarball. + * Change fpc-source package: + - Do not copy directories installer and tests because they are not needed + by lazarus. + - Install only files matching *.pas and *.pp. + * Clean up the XXXVERSION cruft in debian/rules and debian/fixdeb. + * Update FSF address in debian/copyright. + + -- Torsten Werner Thu, 20 Dec 2007 18:46:55 +0100 + +fpc (2.2.0-3) unstable; urgency=low + + * Create binary package fpc-source again after having some discussion on + debian-devel. (Closes: #413805) + * Use bzip2 when creating binary packages and add + Pre-Depends: dpkg (>= 1.10.24). + * Add the fpc-depends tool. + + -- Torsten Werner Sun, 09 Dec 2007 22:35:01 +0100 + +fpc (2.2.0-2) unstable; urgency=low + + [ Abou Al Montacir ] + * Added dbase to fcl-db packaged units for arch other than i386. + * Fixed build issue for sparc and powerpc arch. + + -- Torsten Werner Fri, 07 Dec 2007 09:22:17 +0100 + +fpc (2.2.0-1) unstable; urgency=low + + [ Carlos Laviola ] + * New upstream release. (Closes: #442206) + * Added arm as a supported arch. (Closes: #408693) + * fp-units-gfx depends on libggi-dev. (Closes: #423659) + * fp-ide bugs fixed in the new version. (Closes: #423099, #423601, #423602) + * general cleanup on debian/{rules,control,...} + + [ Torsten Werner ] + * Complete debian/copyright. + * Add debian/watch and get-orig-source target in debian/rules. + * Remove *.dll, *.exe, and *.log from upstream tarball. + + -- Torsten Werner Fri, 23 Nov 2007 20:30:45 +0100 + +fpc (2.0.4-5) unstable; urgency=low + + * Fixed Build-Depends. + * Add myself to Uploaders in debian/control. + * Make sure that the sources are really patched before building them. + * Build unit 'libc' on powerpc too. + + -- Torsten Werner Sat, 27 Jan 2007 20:08:50 +0100 + +fpc (2.0.4-4) unstable; urgency=low + + * debian/rules: Separate out the documentation build into build-doc to + stop the documentations from building on binary-arch builds resulting + in FTBFS. + * Add Index value in debian/fp-docs.doc-base (Closes: #407715) + + -- Varun Hiremath Sun, 21 Jan 2007 20:49:43 +0530 + +fpc (2.0.4-3) unstable; urgency=medium + + * Added dpatch as a build dependency. (Closes: #407594) + + -- Carlos Laviola Sun, 21 Jan 2007 17:08:58 -0200 + +fpc (2.0.4-2) unstable; urgency=low + + * New release fixes Bug: "fp-compiler: miscompiles multilevel + if-statement" (Closes: #403586) + * Provide html docs (Closes: #150150) + + debian/rules: Set DOCTYPE=html and use CONVERTER=hevea + + debian/control: Add hevea to Build-Depends + + -- Varun Hiremath Tue, 16 Jan 2007 21:53:01 +0530 + +fpc (2.0.4-1) unstable; urgency=low + + [ Abou Al Montacir ] + * New release (Closes: #383055) + + [ Torsten Werner ] + * Fix bugs in debian/fp-compiler.pre*.in. + * Updated debian/control to use variables provides by newer versions of + dpkg. + * Add XS-X-Vcs-Svn header to debian/control. + * Add german po files from Holger Wansing. (Closes: #348408, #346247) + * Remove unneeded debian/fp-compiler.conffiles. + * Fixed debian/changelog (lintian error). + * Changed Build-Depends: gawk | awk. + + [ Varun Hiremath ] + * Bump Standards version to 3.7.2 + * Add Homepage in debian/control file. + * Add fp-units-gtk2 missing dependencies (Closes: #337990) + + -- Torsten Werner Sun, 14 Jan 2007 11:40:59 +0100 + +fpc (2.0.4-rc3) unstable; urgency=low + + * New release candidate + + -- Abou Al Montacir Sun, 06 Aug 2006 19:00:00 +0200 + +fpc (2.0.4-rc2) unstable; urgency=low + + * New release candidate + + -- Abou Al Montacir Tue, 18 Jul 2006 21:23:26 +0200 + +fpc (2.0.4-rc1) unstable; urgency=low + + * New release + + -- Peter Vreman Thu, 07 Jul 2006 12:00:00 +0100 + +fpc (2.0.0-4) unstable; urgency=low + + * debian/control.in: add amd64 to the Architecture field. + + -- Carlos Laviola Fri, 9 Sep 2005 18:38:26 -0300 + +fpc (2.0.0-3) unstable; urgency=medium + + * Created a prerm and preinst for fp-compiler, as /usr/bin/fpc needs to + be removed from the list of 'pc' alternatives. (Closes: #311436) + * Added amd64 to the architecture list. (Closes: #315220) + + -- Carlos Laviola Fri, 2 Sep 2005 10:27:21 -0300 + +fpc (2.0.0-2) unstable; urgency=low + + * debian/fp-compiler.postinst.in: forgot to reapply the patch that + correctly creates the slave link to pc(1). (Closes: #310907) + + -- Carlos Laviola Mon, 30 May 2005 11:59:10 -0300 + +fpc (2.0.0-1) unstable; urgency=low + + * As I couldn't upload 1.9.8 on all supported architectures before 2.0.0 + was released, I'm rehashing its changelog now. + * New upstream release. + Bugs fixed on CVS before 1.9.8: + * man/man1/fpc.1: -OPn changed to -Opn in rev 1.8 (Closes: #255960) + * debian/fp-compiler.postinst.in: fixed in rev 1.5 (Closes: #269853) + Bugs fixed on CVS before 1.9.6: + * rtl/unix/crt.pp: fixed in rev 1.20 (Closes: #216060) + * rtl/i386/strings.inc: fixed in rev 1.16 (Closes: #288955) + * compiler/nadd.pas: fixed in rev 1.126 (Closes: #297881) + * debian/control: Added missing build dependencies on libgpmg1-dev and + libncurses5-dev and set save_size at build time, which finally makes + the package build without manual intervention. (Closes: #304633) + + -- Carlos Laviola Fri, 20 May 2005 19:07:00 -0300 + +fpc (1.9.6-2) unstable; urgency=low + + * debian/control: Oops -- fp-units-fv had the wrong description. + + -- Carlos Laviola Fri, 14 Jan 2005 13:15:50 -0200 + +fpc (1.9.6-1) unstable; urgency=low + + * New upstream release. + * debian/control: Added build dependency on libgpmg1-dev. + + -- Carlos Laviola Fri, 31 Dec 2004 21:16:25 -0200 + +fpc (1.9.4-5) unstable; urgency=low + + * fp-compiler: needs ld, adding dependency on binutils. (Closes: #265265) + + -- Carlos Laviola Thu, 12 Aug 2004 16:29:37 -0300 + +fpc (1.9.4-4) unstable; urgency=low + + * debian/control.in: Oops, forgot to update the Build-Deps for this file, + which generates debian/control per se. (Closes: #263942) + + -- Carlos Laviola Sun, 8 Aug 2004 22:12:41 -0300 + +fpc (1.9.4-3) unstable; urgency=low + + * Package needs fpcmake to build pretty much everything, so we need to + build-dep on fp-utils. Thanks to Daniel Schepler for finding the bug + and for Jurij Smakov's aid. (Closes: #263942) + * debian/README.Debian: removes mentions to old problems with tetex, fixes + spelling mistakes and other minor issues. + + -- Carlos Laviola Fri, 6 Aug 2004 19:46:51 -0300 + +fpc (1.9.4-2) unstable; urgency=low + + * The following fixes are the work of Marco van de Voort from CVS HEAD: + - man/man1/ppc386.1: typo fix. (Closes: #255960) + - rtl/unix/crt.pp: gotoxy/XY2Ansi fixes from. + (Closes: #216057, #216060) + - docs/linuxex, docs/dosex, docs/refex: various examples ported to + fpc 1.9.x's new API. + + -- Carlos Laviola Tue, 20 Jul 2004 15:12:05 -0300 + +fpc (1.9.4-1) unstable; urgency=low + + * This release is partly the work of Peter Vreman . + * Acknowledging NMU. (Closes: #221316) + * Made the description for the units packages more informative. + (Closes: #209518, #209581, #209613) + * Applied some patches from Marco van de Voort to CVS HEAD that fixed + compiling the documentation on powerpc with some adaptations of mine. + + -- Carlos Laviola Sat, 17 Jul 2004 21:53:03 -0300 + +fpc (1.0.10-1.2) unstable; urgency=low + + * NMU + * debian/control: Also had to remove build dependency on latex2html here + (Closes: #221316) + + -- Roland Stigge Thu, 12 Feb 2004 10:27:20 +0100 + +fpc (1.0.10-1.1) unstable; urgency=low + + * NMU + * debian/control.in: Removed Build-Depends: latex2html which moved to + non-free (Closes: #221316) + + -- Roland Stigge Sat, 20 Dec 2003 20:45:41 +0100 + +fpc (1.0.10-1) unstable; urgency=low + + * New upstream release. + * Acknowledging Amaya's NMU. Thanks for the hand. (Closes: #141439) + * Package dependency lists corrected. (Closes: #84863, #155158) + * Example compiles correctly now. (Closes: #174371) + * Fixed vanishing fpc(1) manpage if gpc is installed. (Closes: #136283) + * Fixed manpage error. (Closes: #191695) + * Spelling mistakes are gone. (Closes: #124637, #124638) + * Both bugs (doc-base-file-references-usr-doc and debian-changelog-file- + contains-obsolete-user-emacs-settings, in lintian tags) were corrected + long ago. (Closes: #127092) + * Upstream have added the AddDisk function. (Closes: #103163) + + -- Carlos Laviola Sat, 2 Aug 2003 04:35:51 -0300 + +fpc (1.0.6-2) unstable; urgency=low + + * NMU for Debcamp BSP. + * Apply a very silly patch (Closes: #141439), which was RC. The PDF file now + builds. + * Updated versioned-build-depends-on-debhelper. + + -- Amaya Rodrigo Sastre Sat, 12 Jul 2003 17:58:50 +0200 + +fpc (1.0.6-1) unstable; urgency=low + + * New upstream version. (Closes: #154199) + + -- Carlos Laviola Sat, 10 Aug 2002 04:26:15 -0300 + +fpc (1.0.4+1.0.6cvs20020228-1) unstable; urgency=low + + * New upstream version. + + -- Peter Vreman Tue, 1 Mar 2002 11:01:50 +0100 + +fpc (1.0.4-2) unstable; urgency=low + + * New maintainer. + * debian/README.Debian: Added a note on building 'pdflatex.fmt', which is + needed by pdflatex, in order to build the documentation in PDF format. + * debian/control: added latex2html, dvipdfm and tetex-extra to the + build-deps list. + + -- Carlos Laviola Wed, 29 Aug 2001 23:15:17 -0300 + +fpc (1.0.4-1) unstable; urgency=low + + * New upstream version. + + -- Ulf Jaenicke-Roessler Tue, 2 Jan 2001 11:01:50 +0100 + +fpc (1.0.3-0.20001206.1) unstable; urgency=low + + * Snapshot release from CVS 2000/12/06. + * Fixes internal compiler error on (buggy) appearance of + array of Date (Closes:#60720). + * ppc386 can be called more intuitively as fpc (Closes:#74810). + * Help option '-h' is (somewhat) more propagated than '-?' + (Closes:#74811). Furthermore, help is displayed when fpc + is called without any parameter. + * Package supports alternatives now, in order to be used as + "Pascal compiler" (pc) from Makefile(s) (Closes:#76615). + + -- Ulf Jaenicke-Roessler Wed, 6 Dec 2000 11:29:28 +0100 + +fpc (1.0.2-1) unstable; urgency=low + + * New upstream version. + * Maintainer field changed. + * Bug#60720 had already been fixed in the development tree some + time ago after the last upload (hence, this Closes: #60720). + + -- Ulf Jaenicke-Roessler Fri, 13 Oct 2000 13:11:34 +0200 + +fpc (1.0.1-0.20000811.1) unstable; urgency=low + + * Built for `official' upload. CVS as of 2000/08/11 - NMU. + * Update to latest version, thus Closes: #56873. + * Removes /usr/bin/ppc386 link upon package removal. Closes: #64403. + * This upload also Closes: #68801. + * Added Build-Depends. Hmmm, 'fp-compiler' is somehow like `the chicken + and the egg' story... + + -- Ulf Jaenicke-Roessler Fri, 11 Aug 2000 22:49:37 +0200 + +fpc (1.0.1-0) unstable; urgency=low + + * New Upstream Release + + -- Peter Vreman Sun, 09 Jun 2000 12:00:00 +0200 + +fpc (0.99.13-19991013-4) unstable; urgency=low + + * Fixed bashism in samplecfg (Closes: Bug#50636) + * Changed source-arch to 'i386' (Closes: Bug#50438) + + -- Mika Fischer Sat, 20 Nov 1999 22:18:11 +0100 + +fpc (0.99.13-19991013-3) unstable; urgency=low + + * Fixed bug which overwrote existing config files during an update + (Closes: Bug#50278) + + -- Mika Fischer Tue, 16 Nov 1999 23:57:36 +0100 + +fpc (0.99.13-19991013-2) unstable; urgency=low + + * Fixed bug in debian/rules (Fixes: #50096) + + -- Mika Fischer Sat, 13 Nov 1999 20:31:20 +0100 + +fpc (0.99.13-19991013-1) unstable; urgency=low + + * Removed fp-fv due to licensing issues. + + -- Mika Fischer Wed, 13 Oct 1999 19:33:30 +0200 + +fpc (0.99.13-19991005-1) unstable; urgency=low + + * New maintainer + + -- Mika Fischer Wed, 13 Oct 1999 19:33:13 +0200 + +fpc (0.99.13-19991001-1) unstable; urgency=low + + * New maintainer + * Updated to policy 3.0.1 + + -- Joseph Carter Tue, 27 Jul 1999 18:05:05 -0700 + +fpc (0.99.12b-1) unstable; urgency=low + + * New Upstream Release + + -- Peter Vreman Thu, 10 Jun 1999 12:00:00 +0200 + +fpc (0.99.12a-1) unstable; urgency=low + + * Initial Release + + -- Peter Vreman Thu, 10 Jun 1999 12:00:00 +0200 diff --git a/compat b/compat new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/compat @@ -0,0 +1 @@ +5 diff --git a/control b/control new file mode 100644 index 00000000..85966eb2 --- /dev/null +++ b/control @@ -0,0 +1,714 @@ +Source: fpc +Section: devel +Priority: optional +Maintainer: Carlos Laviola +Uploaders: Torsten Werner , Abou Al Montacir , Peter Michael Green +DM-Upload-Allowed: yes +Standards-Version: 3.9.3 +Build-Depends: debhelper (>= 7), fp-compiler, fp-units-base, fp-units-fcl, fp-utils, mawk | awk, libncurses-dev, binutils, ghostscript, po-debconf +Build-Depends-Indep: hevea +Vcs-Svn: https://bollin.googlecode.com/svn/fpc/trunk/ +Vcs-Browser: http://bollin.googlecode.com/svn/fpc/trunk/ +Homepage: http://www.freepascal.org/ + +Package: fpc-2.6.0 +Architecture: all +Depends: ${misc:Depends}, fp-units-rtl-2.6.0 (>= ${binary:Version}), fp-compiler-2.6.0 (>= ${binary:Version}), fp-units-base-2.6.0 (>= ${binary:Version}), fp-ide-2.6.0 (>= ${binary:Version}), fp-units-fcl-2.6.0 (>= ${binary:Version}), fp-units-fv-2.6.0 (>= ${binary:Version}), fp-units-gtk-2.6.0 (>= ${binary:Version}), fp-units-gtk2-2.6.0 (>= ${binary:Version}), fp-units-gnome1-2.6.0 (>= ${binary:Version}), fp-units-db-2.6.0 (>= ${binary:Version}), fp-units-gfx-2.6.0 (>= ${binary:Version}), fp-units-net-2.6.0 (>= ${binary:Version}), fp-units-misc-2.6.0 (>= ${binary:Version}), fp-units-multimedia-2.6.0 (>= ${binary:Version}), fp-units-math-2.6.0 (>= ${binary:Version}) +Recommends: fp-utils-2.6.0 +Suggests: lazarus, fp-docs-2.6.0 (>= ${source:Upstream-Version}) +Provides: fpc +Breaks: fpc (<= 2.4.0-3) +Replaces: fpc (<= 2.4.0-3) +Description: Free Pascal - SDK-2.6.0 suite + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + Extensions have been added to the language, such as function overloading, + creation and linking of shared libraries, and Delphi language extensions + including classes, exceptions, ANSI strings, and open arrays. + . + This metapackage pulls in all the FPC packages provided for this + architecture. Experienced users may instead prefer to install the particular + packages they require by hand. + +Package: fpc-source-2.6.0 +Architecture: all +Depends: ${misc:Depends} +Provides: fpc-source +Breaks: fpc-source (<= 2.4.0-3) +Replaces: fpc-source (<= 2.4.0-3) +Description: Free Pascal - SDK source code + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This package contains Free Pascal's own source code. It is meant to be used by + the Lazarus IDE. + +Package: fp-compiler-2.6.0 +Architecture: i386 powerpc sparc amd64 armel armhf +Depends: ${misc:Depends}, fp-units-rtl-2.6.0 (= ${binary:Version}), binutils +Recommends: fp-utils-2.6.0 (>= ${binary:Version}) +Suggests: fp-docs-2.6.0 (>= ${source:Upstream-Version}) +Provides: fp-compiler +Breaks: fp-compiler (<= 2.4.0-3), fp-utils-2.4.4 (<= 2.4.4-2), fp-utils-2.4.2 (<= 2.4.2-3) +Conflicts: binutils-gold +Replaces: fp-compiler (<= 2.4.0-3), fp-utils-2.4.4 (<= 2.4.4-1) +Description: Free Pascal - compiler + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + Extensions have been added to the language, such as function overloading, + creation and linking of shared libraries, and Delphi language extensions + including classes, exceptions, ANSI strings, and open arrays. + . + This package contains the command line compiler. + +Package: fp-ide-2.6.0 +Architecture: i386 powerpc sparc amd64 armel armhf +Depends: ${misc:Depends}, fp-units-rtl-2.6.0 (= ${binary:Version}), ${shlibs:Depends} +Recommends: fp-utils-2.6.0 (>= ${binary:Version}) +Suggests: fp-docs-2.6.0 (>= ${source:Upstream-Version}) +Provides: fp-ide +Breaks: fp-ide (<= 2.4.0-3) +Replaces: fp-ide (<= 2.4.0-3) +Description: Free Pascal - IDE + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + Extensions have been added to the language, such as function overloading, + creation and linking of shared libraries, and Delphi language extensions + including classes, exceptions, ANSI strings, and open arrays. + . + This package contains the Integrated Development Environment (IDE). The IDE + has an internal compiler. + +Package: fp-utils-2.6.0 +Architecture: i386 powerpc sparc amd64 armel armhf +Depends: ${misc:Depends} +Recommends: fp-compiler-2.6.0 (= ${binary:Version}) +Provides: fp-utils +Breaks: fp-utils (<= 2.4.0-3), fp-compiler (<= 2.4.0-3), fp-units-gfx (<= 2.4.2-2), fp-units-gfx-2.4.2 (<= 2.4.2-2) +Replaces: fp-utils (<= 2.4.0-3), fp-compiler (<= 2.4.0-3) +Description: Free Pascal - utilities + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This package contains some handy utilities for use with the Free Pascal + Compiler: + * data2inc convert binary/text data to include files; + * fpcmake create Makefile from Makefile.fpc; + * h2pas convert .h files to Pascal units; + * plex/pyacc Pascal Lex and Yacc implementations; + * ppdep create a dependency file for use with Makefiles; + * ppudump dump the information stored in a .ppu (unit) file; + * ppufiles show needed files for units; + * ppumove place multiple units in a shared library; + * ptop beautify source. + +Package: fp-docs-2.6.0 +Section: doc +Architecture: all +Depends: ${misc:Depends} +Provides: fp-docs +Breaks: fp-docs (<= 2.4.0-3) +Replaces: fp-docs (<= 2.4.0-3) +Description: Free Pascal - documentation + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This package provides documentation for the Free Pascal Compiler in HTML + format. + +Package: fp-units-rtl-2.6.0 +Architecture: i386 powerpc sparc amd64 armel armhf +Depends: ${misc:Depends} +Recommends: fp-compiler-2.6.0 (= ${binary:Version}) +Provides: fp-units-rtl, fpc-abi-${source:Upstream-Version} +Breaks: fp-units-rtl (<= 2.4.0-3) +Replaces: fp-units-rtl (<= 2.4.0-3) +Description: Free Pascal - runtime libraries + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This package contains the RunTime Libraries for the Free Pascal Compiler. + +Package: fp-units-base-2.6.0 +Architecture: i386 powerpc sparc amd64 armel armhf +Depends: ${misc:Depends}, fp-units-rtl-2.6.0 (= ${binary:Version}) +Provides: fp-units-base +Breaks: fp-units-base (<= 2.4.0-3) +Replaces: fp-units-base (<= 2.4.0-3) +Description: Free Pascal - base units + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This package contains Free Pascal units for common libraries (some of which + are also required by the Free Component Library): NCurses, X11 (Xlib, + Xutil), and ZLib. + +Package: fp-units-fcl-2.6.0 +Architecture: i386 powerpc sparc amd64 armel armhf +Depends: ${misc:Depends}, fp-units-rtl-2.6.0 (= ${binary:Version}), fp-units-base-2.6.0 (= ${binary:Version}) +Provides: fp-units-fcl +Breaks: fp-units-fcl (<= 2.4.0-3) +Replaces: fp-units-fcl (<= 2.4.0-3) +Description: Free Pascal - Free Component Library + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This package contains the Free Component Library for the Free Pascal Compiler. + +Package: fp-units-fv-2.6.0 +Architecture: i386 powerpc sparc amd64 armel armhf +Depends: ${misc:Depends}, fp-units-rtl-2.6.0 (= ${binary:Version}) +Provides: fp-units-fv +Breaks: fp-units-fv (<= 2.4.0-3) +Replaces: fp-units-fv (<= 2.4.0-3) +Description: Free Pascal - Free Vision units + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This package contains the Free Vision units for the Free Pascal Compiler + (which provide a framework for developing text user interfaces). + +Package: fp-units-gtk-2.6.0 +Architecture: i386 powerpc sparc amd64 armel armhf +Depends: ${misc:Depends}, fp-units-rtl-2.6.0 (= ${binary:Version}), fp-units-fcl-2.6.0 (= ${binary:Version}), libgtk2.0-dev +Provides: fp-units-gtk +Breaks: fp-units-gtk (<= 2.4.0-3) +Replaces: fp-units-gtk (<= 2.4.0-3) +Description: Free Pascal - GTK+ 1.2 units + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This package contains Free Pascal units and examples to create + programs with GTK+ 1.2. + +Package: fp-units-gtk2-2.6.0 +Architecture: i386 powerpc sparc amd64 armel armhf +Depends: ${misc:Depends}, fp-units-rtl-2.6.0 (= ${binary:Version}), fp-units-fcl-2.6.0 (= ${binary:Version}) +Provides: fp-units-gtk2 +Breaks: fp-units-gtk2 (<= 2.4.0-3) +Replaces: fp-units-gtk2 (<= 2.4.0-3) +Description: Free Pascal - GTK+ 2.x units + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This package contains Free Pascal units and examples to create + programs with GTK+ 2.x. + +Package: fp-units-gnome1-2.6.0 +Architecture: i386 powerpc sparc amd64 armel armhf +Depends: ${misc:Depends}, fp-units-rtl-2.6.0 (= ${binary:Version}), fp-units-gtk-2.6.0 (= ${binary:Version}) +Provides: fp-units-gnome1 +Breaks: fp-units-gnome1 (<= 2.4.0-3) +Replaces: fp-units-gnome1 (<= 2.4.0-3) +Description: Free Pascal - GNOME 1 units + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This package contains Free Pascal units and examples to create + programs for GNOME 1. + +Package: fp-units-db-2.6.0 +Architecture: i386 powerpc sparc amd64 armel armhf +Depends: ${misc:Depends}, fp-units-rtl-2.6.0 (= ${binary:Version}) +Provides: fp-units-db +Breaks: fp-units-db (<= 2.4.0-3) +Replaces: fp-units-db (<= 2.4.0-3) +Description: Free Pascal - database-library units + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This package contains Free Pascal units with bindings for GDBM, Interbase, + MySQL, PostgreSQL, ODBC, Oracle, and SQLite. + +Package: fp-units-gfx-2.6.0 +Architecture: i386 powerpc sparc amd64 armel armhf +Depends: ${misc:Depends}, fp-units-rtl-2.6.0 (= ${binary:Version}), fp-units-base-2.6.0 (= ${binary:Version}), libsvga1-dev [i386 amd64 armel armhf] +Provides: fp-units-gfx +Breaks: fp-units-gfx (<= 2.4.0-3) +Replaces: fp-units-gfx (<= 2.4.0-3) +Description: Free Pascal - graphics-library units + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This package contains Free Pascal units with bindings for cairo, forms, ggi, + graph, libgd, libpng, opengl, and svgalib. + +Package: fp-units-net-2.6.0 +Architecture: i386 powerpc sparc amd64 armel armhf +Depends: ${misc:Depends}, fp-units-rtl-2.6.0 (= ${binary:Version}) +Provides: fp-units-net +Breaks: fp-units-net (<= 2.4.0-3) +Replaces: fp-units-net (<= 2.4.0-3) +Description: Free Pascal - networking units + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This package contains Free Pascal units for creating network tools: dbus, + httpd-1.3, httpd-2.0, httpd-2.2, ldap, libasync, libcurl, netdb, openssl, + and pcap. + +Package: fp-units-math-2.6.0 +Architecture: i386 powerpc sparc amd64 armel armhf +Depends: ${misc:Depends}, fp-units-rtl-2.6.0 (= ${binary:Version}) +Provides: fp-units-math +Breaks: fp-units-math (<= 2.4.0-3) +Replaces: fp-units-math (<= 2.4.0-3), fp-units-misc (<= 2.2.4-4) +Description: Free Pascal - math units + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This package contains Free Pascal math interfacing units for: + * gmp (the GNU Multiple Precision arithmetic library); + * numlib (numerical computing); + * proj4 (cartographic projections); + * symbolic (symbolic computing). + +Package: fp-units-misc-2.6.0 +Architecture: i386 powerpc sparc amd64 armel armhf +Depends: ${misc:Depends}, fp-units-rtl-2.6.0 (= ${binary:Version}) +Provides: fp-units-misc +Breaks: fp-units-misc (<= 2.4.0-3) +Replaces: fp-units-misc (<= 2.4.0-3) +Description: Free Pascal - miscellaneous units + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This package contains miscellaneous Free Pascal units: fppkg (the FPC + packaging system), PasZLib (a Pascal-only zlib implementation), and Utmp. + +Package: fp-units-multimedia-2.6.0 +Architecture: i386 powerpc sparc amd64 armel armhf +Depends: ${misc:Depends}, fp-units-rtl-2.6.0 (= ${binary:Version}), libogg-dev, libvorbis-dev, a52dec-dev, libdts-dev, libmad0-dev, libmodplug-dev, libsdl-mixer1.2-dev +Provides: fp-units-multimedia +Breaks: fp-units-multimedia (<= 2.4.0-3) +Replaces: fp-units-multimedia (<= 2.4.0-3), fp-units-gfx (<= 2.2.4-3) +Description: Free Pascal - multimedia units + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This package contains Free Pascal multimedia units: a52, dts, mad, modplug, + oggvorbis, and openal. + +Package: fp-units-i386-2.6.0 +Architecture: i386 +Depends: ${misc:Depends}, fp-units-rtl-2.6.0 (= ${binary:Version}) +Provides: fp-units-i386 +Breaks: fp-units-i386 (<= 2.4.0-3) +Replaces: fp-units-i386 (<= 2.4.0-3) +Description: Free Pascal - Kylix compatibility units + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This package contains the deprecated Free Pascal libc unit for the i386 + architecture (used for compatibility with Borland's Kylix). + +##################### backward compatibility meta packages##################### + +Package: fpc +Architecture: all +Depends: ${misc:Depends}, fpc-2.6.0 (= ${binary:Version}) +Recommends: fp-utils-2.6.0 +Description: Free Pascal - SDK suite dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + Extensions have been added to the language, such as function overloading, + creation and linking of shared libraries, and Delphi language extensions + including classes, exceptions, ANSI strings, and open arrays. + . + This dependency package always depends on the latest available version of + the metapackage pulling in all the FPC packages provided for this + architecture. Experienced users may instead prefer to install the particular + packages they require by hand. + +Package: fpc-source +Architecture: all +Depends: ${misc:Depends}, fpc-source-2.6.0 (= ${binary:Version}) +Description: Free Pascal - SDK source code dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This dependency package always depends on the latest available version of + the package containing Free Pascal's own source code. It is meant to be used by + the Lazarus IDE. + +Package: fp-compiler +Architecture: any +Depends: ${misc:Depends}, fp-compiler-2.6.0 (= ${binary:Version}) +Description: Free Pascal - compiler dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + Extensions have been added to the language, such as function overloading, + creation and linking of shared libraries, and Delphi language extensions + including classes, exceptions, ANSI strings, and open arrays. + . + This dependency package always depends on the latest available version of + the package containing the command line compiler. + +Package: fp-ide +Architecture: any +Depends: ${misc:Depends}, fp-ide-2.6.0 (= ${binary:Version}) +Description: Free Pascal - IDE dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + Extensions have been added to the language, such as function overloading, + creation and linking of shared libraries, and Delphi language extensions + including classes, exceptions, ANSI strings, and open arrays. + . + This dependency package always depends on the latest available version of + the package containing the Integrated Development Environment (IDE). The IDE + has an internal compiler. + +Package: fp-utils +Architecture: any +Depends: ${misc:Depends}, fp-utils-2.6.0 (= ${binary:Version}) +Description: Free Pascal - utilities dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This dependency package always depends on the latest available version of + the package containing some handy utilities for use with the Free Pascal + Compiler: + * data2inc convert binary/text data to include files; + * fpcmake create Makefile from Makefile.fpc; + * h2pas convert .h files to Pascal units; + * plex/pyacc Pascal Lex and Yacc implementations; + * ppdep create a dependency file for use with Makefiles; + * ppudump dump the information stored in a .ppu (unit) file; + * ppufiles show needed files for units; + * ppumove place multiple units in a shared library; + * ptop beautify source. + +Package: fp-docs +Section: doc +Architecture: all +Depends: ${misc:Depends}, fp-docs-2.6.0 (= ${binary:Version}) +Description: Free Pascal - documentation dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This dependency package always depends on the latest available version of + the package containing documentation for the Free Pascal Compiler in HTML + format. + +Package: fp-units-rtl +Architecture: any +Depends: ${misc:Depends}, fp-units-rtl-2.6.0 (= ${binary:Version}) +Description: Free Pascal - runtime libraries dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This dependency package always depends on the latest available version of + the package containing the RunTime Libraries for the Free Pascal Compiler. + +Package: fp-units-base +Architecture: any +Depends: ${misc:Depends}, fp-units-base-2.6.0 (= ${binary:Version}) +Description: Free Pascal - base units dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This dependency package always depends on the latest available version of + the package containing Free Pascal units for common libraries (some of which + are also required by the Free Component Library): NCurses, X11 (Xlib, + Xutil), and ZLib. + +Package: fp-units-fcl +Architecture: any +Depends: ${misc:Depends}, fp-units-fcl-2.6.0 (= ${binary:Version}) +Description: Free Pascal - Free Component Library dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This dependency package always depends on the latest available version of + the package containing the Free Component Library for the Free Pascal Compiler. + +Package: fp-units-fv +Architecture: any +Depends: ${misc:Depends}, fp-units-fv-2.6.0 (= ${binary:Version}) +Description: Free Pascal - Free Vision units dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This dependency package always depends on the latest available version of + the package containing the Free Vision units for the Free Pascal Compiler + (which provide a framework for developing text user interfaces). + +Package: fp-units-gtk +Architecture: any +Depends: ${misc:Depends}, fp-units-gtk-2.6.0 (= ${binary:Version}) +Description: Free Pascal - GTK+ 1.2 units dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This dependency package always depends on the latest available version of + the package containing Free Pascal units and examples to create + programs with GTK+ 1.2. + +Package: fp-units-gtk2 +Architecture: any +Depends: ${misc:Depends}, fp-units-gtk2-2.6.0 (= ${binary:Version}) +Description: Free Pascal - GTK+ 2.x units dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This dependency package always depends on the latest available version of + the package containing Free Pascal units and examples to create + programs with GTK+ 2.x. + +Package: fp-units-gnome1 +Architecture: any +Depends: ${misc:Depends}, fp-units-gnome1-2.6.0 (= ${binary:Version}) +Description: Free Pascal - GNOME 1 units dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This dependency package always depends on the latest available version of + the package containing Free Pascal units and examples to create + programs for GNOME 1. + +Package: fp-units-db +Architecture: any +Depends: ${misc:Depends}, fp-units-db-2.6.0 (= ${binary:Version}) +Description: Free Pascal - database-library units dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This dependency package always depends on the latest available version of + the package containing Free Pascal units with bindings for GDBM, Interbase, + MySQL, PostgreSQL, ODBC, Oracle, and SQLite. + +Package: fp-units-gfx +Architecture: any +Depends: ${misc:Depends}, fp-units-gfx-2.6.0 (= ${binary:Version}) +Description: Free Pascal - graphics-library units dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This dependency package always depends on the latest available version of + the package containing Free Pascal units with bindings for cairo, forms, ggi, + graph, libgd, libpng, opengl, and svgalib. + +Package: fp-units-net +Architecture: any +Depends: ${misc:Depends}, fp-units-net-2.6.0 (= ${binary:Version}) +Description: Free Pascal - networking units dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This dependency package always depends on the latest available version of + the package containing Free Pascal units for creating network tools: dbus, + httpd-1.3, httpd-2.0, httpd-2.2, ldap, libasync, libcurl, netdb, openssl, + and pcap. + +Package: fp-units-math +Architecture: any +Depends: ${misc:Depends}, fp-units-math-2.6.0 (= ${binary:Version}) +Description: Free Pascal - math units dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This dependency package always depends on the latest available version of + the package containing Free Pascal math interfacing units for: + * gmp (the GNU Multiple Precision arithmetic library); + * numlib (numerical computing); + * proj4 (cartographic projections); + * symbolic (symbolic computing). + +Package: fp-units-misc +Architecture: any +Depends: ${misc:Depends}, fp-units-misc-2.6.0 (= ${binary:Version}) +Description: Free Pascal - miscellaneous units dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This dependency package always depends on the latest available version of + the package containing miscellaneous Free Pascal units: fppkg (the FPC + packaging system), PasZLib (a Pascal-only zlib implementation), and Utmp. + +Package: fp-units-multimedia +Architecture: any +Depends: ${misc:Depends}, fp-units-multimedia-2.6.0 (= ${binary:Version}) +Description: Free Pascal - multimedia units dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This dependency package always depends on the latest available version of + the package containing Free Pascal multimedia units: a52, dts, mad, modplug, + oggvorbis, and openal. + +Package: fp-units-i386 +Architecture: i386 +Depends: ${misc:Depends}, fp-units-i386-2.6.0 (= ${binary:Version}) +Description: Free Pascal - Kylix compatibility units dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This dependency package always depends on the latest available version of + the package containing the deprecated Free Pascal libc unit for the i386 + architecture (used for compatibility with Borland's Kylix). diff --git a/control.in b/control.in new file mode 100644 index 00000000..cda09bcd --- /dev/null +++ b/control.in @@ -0,0 +1,714 @@ +Source: fpc +Section: devel +Priority: optional +Maintainer: Carlos Laviola +Uploaders: Torsten Werner , Abou Al Montacir , Peter Michael Green +DM-Upload-Allowed: yes +Standards-Version: 3.9.3 +Build-Depends: debhelper (>= 7), fp-compiler, fp-units-base, fp-units-fcl, fp-utils, mawk | awk, libncurses-dev, binutils, ghostscript, po-debconf +Build-Depends-Indep: hevea +Vcs-Svn: https://bollin.googlecode.com/svn/fpc/trunk/ +Vcs-Browser: http://bollin.googlecode.com/svn/fpc/trunk/ +Homepage: http://www.freepascal.org/ + +Package: fpc${PACKAGESUFFIX} +Architecture: all +Depends: ${misc:Depends}, fp-units-rtl${PACKAGESUFFIX} (>= ${binary:Version}), fp-compiler${PACKAGESUFFIX} (>= ${binary:Version}), fp-units-base${PACKAGESUFFIX} (>= ${binary:Version}), fp-ide${PACKAGESUFFIX} (>= ${binary:Version}), fp-units-fcl${PACKAGESUFFIX} (>= ${binary:Version}), fp-units-fv${PACKAGESUFFIX} (>= ${binary:Version}), fp-units-gtk${PACKAGESUFFIX} (>= ${binary:Version}), fp-units-gtk2${PACKAGESUFFIX} (>= ${binary:Version}), fp-units-gnome1${PACKAGESUFFIX} (>= ${binary:Version}), fp-units-db${PACKAGESUFFIX} (>= ${binary:Version}), fp-units-gfx${PACKAGESUFFIX} (>= ${binary:Version}), fp-units-net${PACKAGESUFFIX} (>= ${binary:Version}), fp-units-misc${PACKAGESUFFIX} (>= ${binary:Version}), fp-units-multimedia${PACKAGESUFFIX} (>= ${binary:Version}), fp-units-math${PACKAGESUFFIX} (>= ${binary:Version}) +Recommends: fp-utils${PACKAGESUFFIX} +Suggests: lazarus, fp-docs${PACKAGESUFFIX} (>= ${source:Upstream-Version}) +Provides: fpc +Breaks: fpc (<= 2.4.0-3) +Replaces: fpc (<= 2.4.0-3) +Description: Free Pascal - SDK${PACKAGESUFFIX} suite + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + Extensions have been added to the language, such as function overloading, + creation and linking of shared libraries, and Delphi language extensions + including classes, exceptions, ANSI strings, and open arrays. + . + This metapackage pulls in all the FPC packages provided for this + architecture. Experienced users may instead prefer to install the particular + packages they require by hand. + +Package: fpc-source${PACKAGESUFFIX} +Architecture: all +Depends: ${misc:Depends} +Provides: fpc-source +Breaks: fpc-source (<= 2.4.0-3) +Replaces: fpc-source (<= 2.4.0-3) +Description: Free Pascal - SDK source code + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This package contains Free Pascal's own source code. It is meant to be used by + the Lazarus IDE. + +Package: fp-compiler${PACKAGESUFFIX} +Architecture: i386 powerpc sparc amd64 armel armhf +Depends: ${misc:Depends}, fp-units-rtl${PACKAGESUFFIX} (= ${binary:Version}), binutils +Recommends: fp-utils${PACKAGESUFFIX} (>= ${binary:Version}) +Suggests: fp-docs${PACKAGESUFFIX} (>= ${source:Upstream-Version}) +Provides: fp-compiler +Breaks: fp-compiler (<= 2.4.0-3), fp-utils-2.4.4 (<= 2.4.4-2), fp-utils-2.4.2 (<= 2.4.2-3) +Conflicts: binutils-gold +Replaces: fp-compiler (<= 2.4.0-3), fp-utils-2.4.4 (<= 2.4.4-1) +Description: Free Pascal - compiler + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + Extensions have been added to the language, such as function overloading, + creation and linking of shared libraries, and Delphi language extensions + including classes, exceptions, ANSI strings, and open arrays. + . + This package contains the command line compiler. + +Package: fp-ide${PACKAGESUFFIX} +Architecture: i386 powerpc sparc amd64 armel armhf +Depends: ${misc:Depends}, fp-units-rtl${PACKAGESUFFIX} (= ${binary:Version}), ${shlibs:Depends} +Recommends: fp-utils${PACKAGESUFFIX} (>= ${binary:Version}) +Suggests: fp-docs${PACKAGESUFFIX} (>= ${source:Upstream-Version}) +Provides: fp-ide +Breaks: fp-ide (<= 2.4.0-3) +Replaces: fp-ide (<= 2.4.0-3) +Description: Free Pascal - IDE + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + Extensions have been added to the language, such as function overloading, + creation and linking of shared libraries, and Delphi language extensions + including classes, exceptions, ANSI strings, and open arrays. + . + This package contains the Integrated Development Environment (IDE). The IDE + has an internal compiler. + +Package: fp-utils${PACKAGESUFFIX} +Architecture: i386 powerpc sparc amd64 armel armhf +Depends: ${misc:Depends} +Recommends: fp-compiler${PACKAGESUFFIX} (= ${binary:Version}) +Provides: fp-utils +Breaks: fp-utils (<= 2.4.0-3), fp-compiler (<= 2.4.0-3), fp-units-gfx (<= 2.4.2-2), fp-units-gfx-2.4.2 (<= 2.4.2-2) +Replaces: fp-utils (<= 2.4.0-3), fp-compiler (<= 2.4.0-3) +Description: Free Pascal - utilities + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This package contains some handy utilities for use with the Free Pascal + Compiler: + * data2inc convert binary/text data to include files; + * fpcmake create Makefile from Makefile.fpc; + * h2pas convert .h files to Pascal units; + * plex/pyacc Pascal Lex and Yacc implementations; + * ppdep create a dependency file for use with Makefiles; + * ppudump dump the information stored in a .ppu (unit) file; + * ppufiles show needed files for units; + * ppumove place multiple units in a shared library; + * ptop beautify source. + +Package: fp-docs${PACKAGESUFFIX} +Section: doc +Architecture: all +Depends: ${misc:Depends} +Provides: fp-docs +Breaks: fp-docs (<= 2.4.0-3) +Replaces: fp-docs (<= 2.4.0-3) +Description: Free Pascal - documentation + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This package provides documentation for the Free Pascal Compiler in HTML + format. + +Package: fp-units-rtl${PACKAGESUFFIX} +Architecture: i386 powerpc sparc amd64 armel armhf +Depends: ${misc:Depends} +Recommends: fp-compiler${PACKAGESUFFIX} (= ${binary:Version}) +Provides: fp-units-rtl, fpc-abi-${source:Upstream-Version} +Breaks: fp-units-rtl (<= 2.4.0-3) +Replaces: fp-units-rtl (<= 2.4.0-3) +Description: Free Pascal - runtime libraries + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This package contains the RunTime Libraries for the Free Pascal Compiler. + +Package: fp-units-base${PACKAGESUFFIX} +Architecture: i386 powerpc sparc amd64 armel armhf +Depends: ${misc:Depends}, fp-units-rtl${PACKAGESUFFIX} (= ${binary:Version}) +Provides: fp-units-base +Breaks: fp-units-base (<= 2.4.0-3) +Replaces: fp-units-base (<= 2.4.0-3) +Description: Free Pascal - base units + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This package contains Free Pascal units for common libraries (some of which + are also required by the Free Component Library): NCurses, X11 (Xlib, + Xutil), and ZLib. + +Package: fp-units-fcl${PACKAGESUFFIX} +Architecture: i386 powerpc sparc amd64 armel armhf +Depends: ${misc:Depends}, fp-units-rtl${PACKAGESUFFIX} (= ${binary:Version}), fp-units-base${PACKAGESUFFIX} (= ${binary:Version}) +Provides: fp-units-fcl +Breaks: fp-units-fcl (<= 2.4.0-3) +Replaces: fp-units-fcl (<= 2.4.0-3) +Description: Free Pascal - Free Component Library + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This package contains the Free Component Library for the Free Pascal Compiler. + +Package: fp-units-fv${PACKAGESUFFIX} +Architecture: i386 powerpc sparc amd64 armel armhf +Depends: ${misc:Depends}, fp-units-rtl${PACKAGESUFFIX} (= ${binary:Version}) +Provides: fp-units-fv +Breaks: fp-units-fv (<= 2.4.0-3) +Replaces: fp-units-fv (<= 2.4.0-3) +Description: Free Pascal - Free Vision units + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This package contains the Free Vision units for the Free Pascal Compiler + (which provide a framework for developing text user interfaces). + +Package: fp-units-gtk${PACKAGESUFFIX} +Architecture: i386 powerpc sparc amd64 armel armhf +Depends: ${misc:Depends}, fp-units-rtl${PACKAGESUFFIX} (= ${binary:Version}), fp-units-fcl${PACKAGESUFFIX} (= ${binary:Version}), libgtk2.0-dev +Provides: fp-units-gtk +Breaks: fp-units-gtk (<= 2.4.0-3) +Replaces: fp-units-gtk (<= 2.4.0-3) +Description: Free Pascal - GTK+ 1.2 units + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This package contains Free Pascal units and examples to create + programs with GTK+ 1.2. + +Package: fp-units-gtk2${PACKAGESUFFIX} +Architecture: i386 powerpc sparc amd64 armel armhf +Depends: ${misc:Depends}, fp-units-rtl${PACKAGESUFFIX} (= ${binary:Version}), fp-units-fcl${PACKAGESUFFIX} (= ${binary:Version}) +Provides: fp-units-gtk2 +Breaks: fp-units-gtk2 (<= 2.4.0-3) +Replaces: fp-units-gtk2 (<= 2.4.0-3) +Description: Free Pascal - GTK+ 2.x units + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This package contains Free Pascal units and examples to create + programs with GTK+ 2.x. + +Package: fp-units-gnome1${PACKAGESUFFIX} +Architecture: i386 powerpc sparc amd64 armel armhf +Depends: ${misc:Depends}, fp-units-rtl${PACKAGESUFFIX} (= ${binary:Version}), fp-units-gtk${PACKAGESUFFIX} (= ${binary:Version}) +Provides: fp-units-gnome1 +Breaks: fp-units-gnome1 (<= 2.4.0-3) +Replaces: fp-units-gnome1 (<= 2.4.0-3) +Description: Free Pascal - GNOME 1 units + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This package contains Free Pascal units and examples to create + programs for GNOME 1. + +Package: fp-units-db${PACKAGESUFFIX} +Architecture: i386 powerpc sparc amd64 armel armhf +Depends: ${misc:Depends}, fp-units-rtl${PACKAGESUFFIX} (= ${binary:Version}) +Provides: fp-units-db +Breaks: fp-units-db (<= 2.4.0-3) +Replaces: fp-units-db (<= 2.4.0-3) +Description: Free Pascal - database-library units + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This package contains Free Pascal units with bindings for GDBM, Interbase, + MySQL, PostgreSQL, ODBC, Oracle, and SQLite. + +Package: fp-units-gfx${PACKAGESUFFIX} +Architecture: i386 powerpc sparc amd64 armel armhf +Depends: ${misc:Depends}, fp-units-rtl${PACKAGESUFFIX} (= ${binary:Version}), fp-units-base${PACKAGESUFFIX} (= ${binary:Version}), libsvga1-dev [i386 amd64 armel armhf] +Provides: fp-units-gfx +Breaks: fp-units-gfx (<= 2.4.0-3) +Replaces: fp-units-gfx (<= 2.4.0-3) +Description: Free Pascal - graphics-library units + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This package contains Free Pascal units with bindings for cairo, forms, ggi, + graph, libgd, libpng, opengl, and svgalib. + +Package: fp-units-net${PACKAGESUFFIX} +Architecture: i386 powerpc sparc amd64 armel armhf +Depends: ${misc:Depends}, fp-units-rtl${PACKAGESUFFIX} (= ${binary:Version}) +Provides: fp-units-net +Breaks: fp-units-net (<= 2.4.0-3) +Replaces: fp-units-net (<= 2.4.0-3) +Description: Free Pascal - networking units + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This package contains Free Pascal units for creating network tools: dbus, + httpd-1.3, httpd-2.0, httpd-2.2, ldap, libasync, libcurl, netdb, openssl, + and pcap. + +Package: fp-units-math${PACKAGESUFFIX} +Architecture: i386 powerpc sparc amd64 armel armhf +Depends: ${misc:Depends}, fp-units-rtl${PACKAGESUFFIX} (= ${binary:Version}) +Provides: fp-units-math +Breaks: fp-units-math (<= 2.4.0-3) +Replaces: fp-units-math (<= 2.4.0-3), fp-units-misc (<= 2.2.4-4) +Description: Free Pascal - math units + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This package contains Free Pascal math interfacing units for: + * gmp (the GNU Multiple Precision arithmetic library); + * numlib (numerical computing); + * proj4 (cartographic projections); + * symbolic (symbolic computing). + +Package: fp-units-misc${PACKAGESUFFIX} +Architecture: i386 powerpc sparc amd64 armel armhf +Depends: ${misc:Depends}, fp-units-rtl${PACKAGESUFFIX} (= ${binary:Version}) +Provides: fp-units-misc +Breaks: fp-units-misc (<= 2.4.0-3) +Replaces: fp-units-misc (<= 2.4.0-3) +Description: Free Pascal - miscellaneous units + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This package contains miscellaneous Free Pascal units: fppkg (the FPC + packaging system), PasZLib (a Pascal-only zlib implementation), and Utmp. + +Package: fp-units-multimedia${PACKAGESUFFIX} +Architecture: i386 powerpc sparc amd64 armel armhf +Depends: ${misc:Depends}, fp-units-rtl${PACKAGESUFFIX} (= ${binary:Version}), libogg-dev, libvorbis-dev, a52dec-dev, libdts-dev, libmad0-dev, libmodplug-dev, libsdl-mixer1.2-dev +Provides: fp-units-multimedia +Breaks: fp-units-multimedia (<= 2.4.0-3) +Replaces: fp-units-multimedia (<= 2.4.0-3), fp-units-gfx (<= 2.2.4-3) +Description: Free Pascal - multimedia units + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This package contains Free Pascal multimedia units: a52, dts, mad, modplug, + oggvorbis, and openal. + +Package: fp-units-i386${PACKAGESUFFIX} +Architecture: i386 +Depends: ${misc:Depends}, fp-units-rtl${PACKAGESUFFIX} (= ${binary:Version}) +Provides: fp-units-i386 +Breaks: fp-units-i386 (<= 2.4.0-3) +Replaces: fp-units-i386 (<= 2.4.0-3) +Description: Free Pascal - Kylix compatibility units + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This package contains the deprecated Free Pascal libc unit for the i386 + architecture (used for compatibility with Borland's Kylix). + +##################### backward compatibility meta packages##################### + +Package: fpc +Architecture: all +Depends: ${misc:Depends}, fpc${PACKAGESUFFIX} (= ${binary:Version}) +Recommends: fp-utils${PACKAGESUFFIX} +Description: Free Pascal - SDK suite dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + Extensions have been added to the language, such as function overloading, + creation and linking of shared libraries, and Delphi language extensions + including classes, exceptions, ANSI strings, and open arrays. + . + This dependency package always depends on the latest available version of + the metapackage pulling in all the FPC packages provided for this + architecture. Experienced users may instead prefer to install the particular + packages they require by hand. + +Package: fpc-source +Architecture: all +Depends: ${misc:Depends}, fpc-source${PACKAGESUFFIX} (= ${binary:Version}) +Description: Free Pascal - SDK source code dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This dependency package always depends on the latest available version of + the package containing Free Pascal's own source code. It is meant to be used by + the Lazarus IDE. + +Package: fp-compiler +Architecture: any +Depends: ${misc:Depends}, fp-compiler${PACKAGESUFFIX} (= ${binary:Version}) +Description: Free Pascal - compiler dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + Extensions have been added to the language, such as function overloading, + creation and linking of shared libraries, and Delphi language extensions + including classes, exceptions, ANSI strings, and open arrays. + . + This dependency package always depends on the latest available version of + the package containing the command line compiler. + +Package: fp-ide +Architecture: any +Depends: ${misc:Depends}, fp-ide${PACKAGESUFFIX} (= ${binary:Version}) +Description: Free Pascal - IDE dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + Extensions have been added to the language, such as function overloading, + creation and linking of shared libraries, and Delphi language extensions + including classes, exceptions, ANSI strings, and open arrays. + . + This dependency package always depends on the latest available version of + the package containing the Integrated Development Environment (IDE). The IDE + has an internal compiler. + +Package: fp-utils +Architecture: any +Depends: ${misc:Depends}, fp-utils${PACKAGESUFFIX} (= ${binary:Version}) +Description: Free Pascal - utilities dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This dependency package always depends on the latest available version of + the package containing some handy utilities for use with the Free Pascal + Compiler: + * data2inc convert binary/text data to include files; + * fpcmake create Makefile from Makefile.fpc; + * h2pas convert .h files to Pascal units; + * plex/pyacc Pascal Lex and Yacc implementations; + * ppdep create a dependency file for use with Makefiles; + * ppudump dump the information stored in a .ppu (unit) file; + * ppufiles show needed files for units; + * ppumove place multiple units in a shared library; + * ptop beautify source. + +Package: fp-docs +Section: doc +Architecture: all +Depends: ${misc:Depends}, fp-docs${PACKAGESUFFIX} (= ${binary:Version}) +Description: Free Pascal - documentation dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This dependency package always depends on the latest available version of + the package containing documentation for the Free Pascal Compiler in HTML + format. + +Package: fp-units-rtl +Architecture: any +Depends: ${misc:Depends}, fp-units-rtl${PACKAGESUFFIX} (= ${binary:Version}) +Description: Free Pascal - runtime libraries dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This dependency package always depends on the latest available version of + the package containing the RunTime Libraries for the Free Pascal Compiler. + +Package: fp-units-base +Architecture: any +Depends: ${misc:Depends}, fp-units-base${PACKAGESUFFIX} (= ${binary:Version}) +Description: Free Pascal - base units dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This dependency package always depends on the latest available version of + the package containing Free Pascal units for common libraries (some of which + are also required by the Free Component Library): NCurses, X11 (Xlib, + Xutil), and ZLib. + +Package: fp-units-fcl +Architecture: any +Depends: ${misc:Depends}, fp-units-fcl${PACKAGESUFFIX} (= ${binary:Version}) +Description: Free Pascal - Free Component Library dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This dependency package always depends on the latest available version of + the package containing the Free Component Library for the Free Pascal Compiler. + +Package: fp-units-fv +Architecture: any +Depends: ${misc:Depends}, fp-units-fv${PACKAGESUFFIX} (= ${binary:Version}) +Description: Free Pascal - Free Vision units dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This dependency package always depends on the latest available version of + the package containing the Free Vision units for the Free Pascal Compiler + (which provide a framework for developing text user interfaces). + +Package: fp-units-gtk +Architecture: any +Depends: ${misc:Depends}, fp-units-gtk${PACKAGESUFFIX} (= ${binary:Version}) +Description: Free Pascal - GTK+ 1.2 units dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This dependency package always depends on the latest available version of + the package containing Free Pascal units and examples to create + programs with GTK+ 1.2. + +Package: fp-units-gtk2 +Architecture: any +Depends: ${misc:Depends}, fp-units-gtk2${PACKAGESUFFIX} (= ${binary:Version}) +Description: Free Pascal - GTK+ 2.x units dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This dependency package always depends on the latest available version of + the package containing Free Pascal units and examples to create + programs with GTK+ 2.x. + +Package: fp-units-gnome1 +Architecture: any +Depends: ${misc:Depends}, fp-units-gnome1${PACKAGESUFFIX} (= ${binary:Version}) +Description: Free Pascal - GNOME 1 units dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This dependency package always depends on the latest available version of + the package containing Free Pascal units and examples to create + programs for GNOME 1. + +Package: fp-units-db +Architecture: any +Depends: ${misc:Depends}, fp-units-db${PACKAGESUFFIX} (= ${binary:Version}) +Description: Free Pascal - database-library units dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This dependency package always depends on the latest available version of + the package containing Free Pascal units with bindings for GDBM, Interbase, + MySQL, PostgreSQL, ODBC, Oracle, and SQLite. + +Package: fp-units-gfx +Architecture: any +Depends: ${misc:Depends}, fp-units-gfx${PACKAGESUFFIX} (= ${binary:Version}) +Description: Free Pascal - graphics-library units dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This dependency package always depends on the latest available version of + the package containing Free Pascal units with bindings for cairo, forms, ggi, + graph, libgd, libpng, opengl, and svgalib. + +Package: fp-units-net +Architecture: any +Depends: ${misc:Depends}, fp-units-net${PACKAGESUFFIX} (= ${binary:Version}) +Description: Free Pascal - networking units dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This dependency package always depends on the latest available version of + the package containing Free Pascal units for creating network tools: dbus, + httpd-1.3, httpd-2.0, httpd-2.2, ldap, libasync, libcurl, netdb, openssl, + and pcap. + +Package: fp-units-math +Architecture: any +Depends: ${misc:Depends}, fp-units-math${PACKAGESUFFIX} (= ${binary:Version}) +Description: Free Pascal - math units dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This dependency package always depends on the latest available version of + the package containing Free Pascal math interfacing units for: + * gmp (the GNU Multiple Precision arithmetic library); + * numlib (numerical computing); + * proj4 (cartographic projections); + * symbolic (symbolic computing). + +Package: fp-units-misc +Architecture: any +Depends: ${misc:Depends}, fp-units-misc${PACKAGESUFFIX} (= ${binary:Version}) +Description: Free Pascal - miscellaneous units dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This dependency package always depends on the latest available version of + the package containing miscellaneous Free Pascal units: fppkg (the FPC + packaging system), PasZLib (a Pascal-only zlib implementation), and Utmp. + +Package: fp-units-multimedia +Architecture: any +Depends: ${misc:Depends}, fp-units-multimedia${PACKAGESUFFIX} (= ${binary:Version}) +Description: Free Pascal - multimedia units dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This dependency package always depends on the latest available version of + the package containing Free Pascal multimedia units: a52, dts, mad, modplug, + oggvorbis, and openal. + +Package: fp-units-i386 +Architecture: i386 +Depends: ${misc:Depends}, fp-units-i386${PACKAGESUFFIX} (= ${binary:Version}) +Description: Free Pascal - Kylix compatibility units dependency package + The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi + and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a + completely portable RunTime Library (RTL) available on many platforms and + compatible with Turbo Pascal, along with a platform-independent class-based + Free Component Library (FCL) adding many Delphi extensions and interfacing + with many popular open source libraries. + . + This dependency package always depends on the latest available version of + the package containing the deprecated Free Pascal libc unit for the i386 + architecture (used for compatibility with Borland's Kylix). diff --git a/copyright.in b/copyright.in new file mode 100644 index 00000000..72d3a8a5 --- /dev/null +++ b/copyright.in @@ -0,0 +1,71 @@ +The packages were originally put together by: + Peter Vreman + +Debian maintainer: + Carlos Laviola + +With sources obtained from: + 'svn co http://svn.freepascal.org/svn/fpcbuild/tags/${SVNPATH}' + +The files and libraries are released under the terms of the GNU Library +General Public License, which can be found in the file +/usr/share/common-licenses/GPL-2 on a Debian system. + +- object files and libraries linked into an application may be + distributed without source code. + +---------- + +djgpp: + +Copyright (C) DJ Delorie + 24 Kirsten Ave + Rochester NH 03867-2954 + + Source code copyright DJ Delorie is distributed under the terms of the + GNU General Public Licence, with the following exceptions: + + * Any existing copyright or authorship information in any given source + file must remain intact. If you modify a source file, a notice to that + effect must be added to the authorship information in the source file. + + * binaries provided in djgpp may be distributed without sources ONLY if + the recipient is given sufficient information to obtain a copy of djgpp + themselves. This primarily applies to go32.exe, emu387, stub.exe, and + the graphics drivers. + + * modified versions of the binaries provided in djgpp must be + distributed under the terms of the GPL. + + * objects and libraries linked into an application may be distributed + without sources. + +---------- + +emx: + + emx is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + +---------- + +rsx: + +Copyright (C) 1993-1998 Rainer Schnither + email to rainer@mathematik.uni-bielefeld.de + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + diff --git a/fixdeb b/fixdeb new file mode 100644 index 00000000..81042660 --- /dev/null +++ b/fixdeb @@ -0,0 +1,34 @@ +#!/bin/bash +# +# Create debian files from *.in files +# + +#set -x +if [ $# -lt 3 ]; then + echo 'Usage : fixdeb [priority]' + echo ' = path to debian files' + echo ' = fpc target (i386-linux)' + echo ' = ppcXXX binary name (ppc386)' + echo ' [priority] = package priority in alternative system' + exit 1 +fi + +DEB_SUBST_PACKAGEVERSION=`dpkg-parsechangelog | sed -ne's,^Version: \(.*\),\1,p'` +DEB_SUBST_VERSION=`echo $DEB_SUBST_PACKAGEVERSION | sed -ne's,^\([0-9.]*\).*,\1,p'` +DEB_SUBST_DEBVERSION=`echo $DEB_SUBST_PACKAGEVERSION | awk -F '-' '{ print $NF }'` +DEB_SUBST_SVNPATH=`echo $DEB_SUBST_VERSION | awk -F '.' '{ print "release_"$1"_"$2"_"$3 }'` +DEB_SUBST_TARGET="$2" +DEB_SUBST_PPCBIN="$3" +DEB_SUBST_PACKAGESUFFIX=${PACKAGESUFFIX} +DEB_SUBST_PRIORITY=${4:-$(($(echo ${DEB_SUBST_VERSION}.0.0.0.0 | sed -e 's@\([0-9]\)\+\.\([0-9]\)\+\.\([0-9]\+\)\.\([0-9]\+\).*@((\1*100+\2)*100+\3)*100+\4@')))} + +SUBST_CMD=`set | sed -n -e 's/^DEB_SUBST_\([A-Z_]\+\)=\(.*\)/-e s@\${\1}@\2@g/p'` + +for i in $1/*.in +do + j=`basename ${i} .in` + if ${GEN_CONTROL} || test ${j} != 'control' + then + sed ${SUBST_CMD} ${i} > $1/${j/./${PACKAGESUFFIX}.} + fi +done diff --git a/fp-compiler.config.in b/fp-compiler.config.in new file mode 100644 index 00000000..0a325fe6 --- /dev/null +++ b/fp-compiler.config.in @@ -0,0 +1,18 @@ +#! /bin/sh + +set -e + +# Load debconf +. /usr/share/debconf/confmodule + +CFG_FILE='/etc/fpc.cfg' +CFG_PRIORITY=$(echo ${VERSION} | sed -e 's/\.//g') + +if test -f "${CFG_FILE}" && ! test -L "${CFG_FILE}" +then + db_input high fp-compiler${PACKAGESUFFIX}/rename_cfg || test $? -eq 30 + db_go +fi + +# Debhelper code +#DEBHELPER# diff --git a/fp-compiler.doc-base.in b/fp-compiler.doc-base.in new file mode 100644 index 00000000..f6549652 --- /dev/null +++ b/fp-compiler.doc-base.in @@ -0,0 +1,10 @@ +Document: fp-compiler${PACKAGESUFFIX} +Title: Free Pascal FAQ +Author: Michael van Canneyt +Abstract: Frequnetly Asked Questions about the Free Pascal Compiler. + . +Section: Programming + +Format: html +Files: /usr/share/doc/fp-compiler/${VERSION}/* +Index: /usr/share/doc/fp-compiler/${VERSION}/faq.html diff --git a/fp-compiler.install.in b/fp-compiler.install.in new file mode 100644 index 00000000..89777b9f --- /dev/null +++ b/fp-compiler.install.in @@ -0,0 +1,9 @@ +/usr/bin/fpc-${VERSION} +/usr/bin/fpc-depends-${VERSION} +/usr/bin/fpcmkcfg-${VERSION} +/usr/bin/fpcres-${VERSION} +/usr/bin/grab_vcsa-${VERSION} +/usr/lib/fpc/${VERSION}/${PPCBIN} +/usr/lib/fpc/${VERSION}/samplecfg +/usr/lib/fpc/${VERSION}/msg +/usr/share/doc/fp-compiler diff --git a/fp-compiler.links.in b/fp-compiler.links.in new file mode 100644 index 00000000..8dd5d011 --- /dev/null +++ b/fp-compiler.links.in @@ -0,0 +1 @@ +/usr/lib/fpc/${VERSION}/${PPCBIN} /usr/bin/${PPCBIN}-${VERSION} diff --git a/fp-compiler.manpages.in b/fp-compiler.manpages.in new file mode 100644 index 00000000..0cefbe6b --- /dev/null +++ b/fp-compiler.manpages.in @@ -0,0 +1,7 @@ +debian/fpc-depends-${VERSION}.1 +debian/tmp/usr/man/man1/fpc-${VERSION}.1 +debian/tmp/usr/man/man1/fpcmkcfg-${VERSION}.1 +debian/tmp/usr/man/man1/fpcres-${VERSION}.1 +debian/tmp/usr/man/man1/${PPCBIN}-${VERSION}.1 +debian/tmp/usr/man/man1/grab_vcsa-${VERSION}.1 +debian/tmp/usr/man/man5/fpc-${VERSION}.cfg.5 diff --git a/fp-compiler.postinst.in b/fp-compiler.postinst.in new file mode 100644 index 00000000..3a144224 --- /dev/null +++ b/fp-compiler.postinst.in @@ -0,0 +1,48 @@ +#! /bin/sh + +set -e + +# Load debconf +. /usr/share/debconf/confmodule + +CFG_FILE="/etc/fpc-${VERSION}.cfg" +DEFAULT_CFG_FILE='/etc/fpc.cfg' +LIB_DIR="/usr/lib/fpc" +MAN_DIR="/usr/share/man/man1" + +# Debhelper code +#DEBHELPER# + +if test -f "${DEFAULT_CFG_FILE}" && ! test -L "${DEFAULT_CFG_FILE}" +then + db_get fp-compiler${PACKAGESUFFIX}/rename_cfg + if test "${RET}" = "true" + then + mv "${DEFAULT_CFG_FILE}" "${DEFAULT_CFG_FILE}.bak" + fi +fi + +# Create new compiler configuration file +fpcmkcfg-${VERSION} -0 -d "basepath=${LIB_DIR}/\$fpcversion" -o "${CFG_FILE}" +# Add multiarch path to /etc/fpc.cfg so executables linked against libc can be corectly linked +echo '# multiarch library search path' >> ${CFG_FILE} +echo '-Fl/usr/lib/$fpctarget-*' >> ${CFG_FILE} + +# add alternatives +update-alternatives \ + --install /usr/bin/fpc fpc /usr/bin/fpc-${VERSION} ${PRIORITY} \ + --slave /usr/bin/${PPCBIN} ${PPCBIN} ${LIB_DIR}/${VERSION}/${PPCBIN} \ + --slave /usr/bin/fpc-depends fpc-depends /usr/bin/fpc-depends-${VERSION} \ + --slave /usr/bin/fpcres fpcres /usr/bin/fpcres-${VERSION} \ + --slave ${MAN_DIR}/${PPCBIN}.1.gz ${PPCBIN}.1.gz ${MAN_DIR}/${PPCBIN}-${VERSION}.1.gz \ + --slave ${MAN_DIR}/fpc.1.gz fpc.1.gz ${MAN_DIR}/fpc-${VERSION}.1.gz \ + --slave ${MAN_DIR}/fpc-depends.1.gz fpc-depends.1.gz ${MAN_DIR}/fpc-depends-${VERSION}.1.gz \ + --slave ${MAN_DIR}/fpcres.1.gz fpcres.1.gz ${MAN_DIR}/fpcres-${VERSION}.1.gz +update-alternatives \ + --install /usr/bin/pc pc /usr/bin/fpc-${VERSION} 20 \ + --slave ${MAN_DIR}/pc.1.gz pc.1.gz ${MAN_DIR}/fpc-${VERSION}.1.gz + +# Configuration file is a special case as it is backward compatible and is +# likely to be handled as a special alternative pointing to the latest release +update-alternatives \ + --install ${DEFAULT_CFG_FILE} fpc.cfg ${CFG_FILE} ${PRIORITY} diff --git a/fp-compiler.postrm.in b/fp-compiler.postrm.in new file mode 100644 index 00000000..2b89b541 --- /dev/null +++ b/fp-compiler.postrm.in @@ -0,0 +1,17 @@ +#! /bin/sh + +set -e + +ACTION=$1 + +CFG_FILE="/etc/fpc-${VERSION}" + +# Debhelper code +#DEBHELPER# + +if test "${ACTION}" = "purge" +then + rm -f "${CFG_FILE}".cfg + rm -f "${CFG_FILE}".bak + rm -f "${CFG_FILE}".*dpkg* +fi diff --git a/fp-compiler.preinst.in b/fp-compiler.preinst.in new file mode 100644 index 00000000..2564b814 --- /dev/null +++ b/fp-compiler.preinst.in @@ -0,0 +1,12 @@ +#! /bin/sh + +set -e + +# Remove fpc from pc alternative if buggy 2.0.0-{1,2} versions are upgraded + +if [ "$1" = "upgrade" ] && [ "$2" = "2.0.0-1" ] || [ "$2" = "2.0.0-2" ]; then + update-alternatives --remove pc /usr/bin/fpc +fi + +# Debhelper code +#DEBHELPER# diff --git a/fp-compiler.prerm.in b/fp-compiler.prerm.in new file mode 100644 index 00000000..eba6179a --- /dev/null +++ b/fp-compiler.prerm.in @@ -0,0 +1,11 @@ +#! /bin/sh + +set -e + +# remove alternative +update-alternatives --remove fpc /usr/bin/fpc-${VERSION} +update-alternatives --remove fpc.cfg /etc/fpc-${VERSION}.cfg +update-alternatives --remove pc /usr/bin/fpc-${VERSION} + +# Debhelper code +#DEBHELPER# diff --git a/fp-compiler.templates.in b/fp-compiler.templates.in new file mode 100644 index 00000000..c3245bfe --- /dev/null +++ b/fp-compiler.templates.in @@ -0,0 +1,26 @@ +# These templates have been reviewed by the debian-l10n-english +# team +# +# If modifications/additions/rewording are needed, please ask +# debian-l10n-english@lists.debian.org for advice. +# +# Even minor modifications require translation updates and such +# changes should be coordinated with translators and reviewers. + +Template: fp-compiler${PACKAGESUFFIX}/rename_cfg +Type: boolean +Default: true +_Description: Rename "/etc/fpc.cfg" to "/etc/fpc.cfg.bak"? + FPC now supports having multiple versions installed on the same system. + The update-alternatives command can be used to set a default version for + * fpc (the compiler); + * fpc.cfg (the configuration file); + * fp-utils (the helper tools). + . + Whatever version you may choose as default, the configuration files are + always backward compatible, so it should always be safe to use the latest + version. + . + In order to use the alternatives system on the system wide FPC configuration + file you must accept renaming "/etc/fpc.cfg"; otherwise you will need to + manage this manually by yourself. diff --git a/fp-docs.doc-base.in b/fp-docs.doc-base.in new file mode 100644 index 00000000..edcf3d95 --- /dev/null +++ b/fp-docs.doc-base.in @@ -0,0 +1,10 @@ +Document: fpc-docs${PACKAGESUFFIX} +Title: Free Pascal Documentation +Author: Michael van Canneyt +Abstract: Documentation for the Free Pascal Compiler. + . +Section: Programming + +Format: html +Files: /usr/share/doc/fp-docs/${VERSION}/* +Index: /usr/share/doc/fp-docs/${VERSION}/fpctoc.html diff --git a/fp-docs.install.in b/fp-docs.install.in new file mode 100644 index 00000000..e574d4f0 --- /dev/null +++ b/fp-docs.install.in @@ -0,0 +1 @@ +/usr/share/doc/fp-docs diff --git a/fp-ide.install.in b/fp-ide.install.in new file mode 100644 index 00000000..ac4a8de5 --- /dev/null +++ b/fp-ide.install.in @@ -0,0 +1,3 @@ +/usr/bin/fp-${VERSION} +/usr/lib/fpc/${VERSION}/ide +/usr/share/doc/fp-ide diff --git a/fp-ide.manpages.in b/fp-ide.manpages.in new file mode 100644 index 00000000..a75880e3 --- /dev/null +++ b/fp-ide.manpages.in @@ -0,0 +1 @@ +debian/tmp/usr/man/man1/fp-${VERSION}.1 diff --git a/fp-ide.postinst.in b/fp-ide.postinst.in new file mode 100644 index 00000000..889e2a48 --- /dev/null +++ b/fp-ide.postinst.in @@ -0,0 +1,16 @@ +#! /bin/sh + +set -e + +# Load debconf +. /usr/share/debconf/confmodule + +LIB_DIR="/usr/lib/fpc" +MAN_DIR="/usr/share/man/man1" + +# Debhelper code +#DEBHELPER# + +# add alternatives +update-alternatives \ + --install /usr/bin/fp fp /usr/bin/fp-${VERSION} ${PRIORITY} diff --git a/fp-ide.prerm.in b/fp-ide.prerm.in new file mode 100644 index 00000000..31582321 --- /dev/null +++ b/fp-ide.prerm.in @@ -0,0 +1,9 @@ +#! /bin/sh + +set -e + +# remove alternative +update-alternatives --remove fp /usr/bin/fp-${VERSION} + +# Debhelper code +#DEBHELPER# diff --git a/fp-units-base.install.in b/fp-units-base.install.in new file mode 100644 index 00000000..58ac0dfd --- /dev/null +++ b/fp-units-base.install.in @@ -0,0 +1,9 @@ +/usr/share/doc/fp-units-base +/usr/lib/fpc/${VERSION}/units/${TARGET}/fpmkunit +/usr/lib/fpc/${VERSION}/units/${TARGET}/paszlib +/usr/lib/fpc/${VERSION}/units/${TARGET}/pasjpeg +/usr/lib/fpc/${VERSION}/units/${TARGET}/ncurses +/usr/lib/fpc/${VERSION}/units/${TARGET}/x11 +/usr/lib/fpc/${VERSION}/units/${TARGET}/regexpr +/usr/lib/fpc/${VERSION}/units/${TARGET}/hash +/usr/lib/fpc/${VERSION}/units/${TARGET}/uuid diff --git a/fp-units-db.install.in b/fp-units-db.install.in new file mode 100644 index 00000000..8633a878 --- /dev/null +++ b/fp-units-db.install.in @@ -0,0 +1,9 @@ +/usr/share/doc/fp-units-db +/usr/lib/fpc/${VERSION}/units/${TARGET}/mysql +/usr/lib/fpc/${VERSION}/units/${TARGET}/ibase +/usr/lib/fpc/${VERSION}/units/${TARGET}/postgres +/usr/lib/fpc/${VERSION}/units/${TARGET}/oracle +/usr/lib/fpc/${VERSION}/units/${TARGET}/odbc +/usr/lib/fpc/${VERSION}/units/${TARGET}/gdbm +/usr/lib/fpc/${VERSION}/units/${TARGET}/sqlite +/usr/lib/fpc/${VERSION}/units/${TARGET}/pxlib diff --git a/fp-units-fcl.install.in b/fp-units-fcl.install.in new file mode 100644 index 00000000..3c265607 --- /dev/null +++ b/fp-units-fcl.install.in @@ -0,0 +1,16 @@ +/usr/share/doc/fp-units-fcl +/usr/lib/fpc/${VERSION}/units/${TARGET}/fcl-base +/usr/lib/fpc/${VERSION}/units/${TARGET}/fcl-db +/usr/lib/fpc/${VERSION}/units/${TARGET}/fcl-extra +/usr/lib/fpc/${VERSION}/units/${TARGET}/fcl-fpcunit +/usr/lib/fpc/${VERSION}/units/${TARGET}/fcl-image +/usr/lib/fpc/${VERSION}/units/${TARGET}/fcl-js +/usr/lib/fpc/${VERSION}/units/${TARGET}/fcl-net +/usr/lib/fpc/${VERSION}/units/${TARGET}/fcl-passrc +/usr/lib/fpc/${VERSION}/units/${TARGET}/fcl-registry +/usr/lib/fpc/${VERSION}/units/${TARGET}/fcl-res +/usr/lib/fpc/${VERSION}/units/${TARGET}/fcl-web +/usr/lib/fpc/${VERSION}/units/${TARGET}/fcl-xml +/usr/lib/fpc/${VERSION}/units/${TARGET}/fcl-async +/usr/lib/fpc/${VERSION}/units/${TARGET}/fcl-json +/usr/lib/fpc/${VERSION}/units/${TARGET}/fcl-process diff --git a/fp-units-fv.install.in b/fp-units-fv.install.in new file mode 100644 index 00000000..e1e1e505 --- /dev/null +++ b/fp-units-fv.install.in @@ -0,0 +1,2 @@ +/usr/share/doc/fp-units-fv +/usr/lib/fpc/${VERSION}/units/${TARGET}/fv diff --git a/fp-units-gfx.install.in b/fp-units-gfx.install.in new file mode 100644 index 00000000..ba23cfcc --- /dev/null +++ b/fp-units-gfx.install.in @@ -0,0 +1,14 @@ +/usr/lib/fpc/${VERSION}/units/${TARGET}/hermes +/usr/lib/fpc/${VERSION}/units/${TARGET}/opencl +/usr/lib/fpc/${VERSION}/units/${TARGET}/opengl +/usr/lib/fpc/${VERSION}/units/${TARGET}/xforms +/usr/lib/fpc/${VERSION}/units/${TARGET}/svgalib +/usr/lib/fpc/${VERSION}/units/${TARGET}/ggi +/usr/lib/fpc/${VERSION}/units/${TARGET}/imagemagick +/usr/lib/fpc/${VERSION}/units/${TARGET}/libgd +/usr/lib/fpc/${VERSION}/units/${TARGET}/libpng +/usr/lib/fpc/${VERSION}/units/${TARGET}/graph +/usr/lib/fpc/${VERSION}/units/${TARGET}/cairo +/usr/lib/fpc/${VERSION}/units/${TARGET}/ptc +/usr/lib/fpc/${VERSION}/units/${TARGET}/rsvg +/usr/share/doc/fp-units-gfx diff --git a/fp-units-gnome1.install.in b/fp-units-gnome1.install.in new file mode 100644 index 00000000..8f865f0d --- /dev/null +++ b/fp-units-gnome1.install.in @@ -0,0 +1,3 @@ +/usr/lib/fpc/${VERSION}/units/${TARGET}/imlib +/usr/lib/fpc/${VERSION}/units/${TARGET}/gnome1 +#/usr/share/doc/fp-units-gnome1 diff --git a/fp-units-gtk.install.in b/fp-units-gtk.install.in new file mode 100644 index 00000000..c2bc4586 --- /dev/null +++ b/fp-units-gtk.install.in @@ -0,0 +1,4 @@ +/usr/share/doc/fp-units-gtk + +/usr/lib/fpc/${VERSION}/units/${TARGET}/gtk1 +/usr/lib/fpc/${VERSION}/units/${TARGET}/fpgtk diff --git a/fp-units-gtk2.install.in b/fp-units-gtk2.install.in new file mode 100644 index 00000000..28e837cf --- /dev/null +++ b/fp-units-gtk2.install.in @@ -0,0 +1,3 @@ +/usr/share/doc/fp-units-gtk2 + +/usr/lib/fpc/${VERSION}/units/${TARGET}/gtk2 diff --git a/fp-units-i386.install.in b/fp-units-i386.install.in new file mode 100644 index 00000000..45aed509 --- /dev/null +++ b/fp-units-i386.install.in @@ -0,0 +1,3 @@ +/usr/lib/fpc/${VERSION}/units/${TARGET}/libc +/usr/lib/fpc/${VERSION}/units/${TARGET}/unixutil +#/usr/share/doc/fp-units-i386 diff --git a/fp-units-math.install.in b/fp-units-math.install.in new file mode 100644 index 00000000..37711ec3 --- /dev/null +++ b/fp-units-math.install.in @@ -0,0 +1,5 @@ +/usr/lib/fpc/${VERSION}/units/${TARGET}/gmp +/usr/lib/fpc/${VERSION}/units/${TARGET}/numlib +/usr/lib/fpc/${VERSION}/units/${TARGET}/proj4 +/usr/lib/fpc/${VERSION}/units/${TARGET}/symbolic +/usr/share/doc/fp-units-math diff --git a/fp-units-misc.install.in b/fp-units-misc.install.in new file mode 100644 index 00000000..52258823 --- /dev/null +++ b/fp-units-misc.install.in @@ -0,0 +1,21 @@ +/usr/share/doc/fp-units-misc +/usr/lib/fpc/${VERSION}/units/${TARGET}/bzip2 +/usr/lib/fpc/${VERSION}/units/${TARGET}/chm +/usr/lib/fpc/${VERSION}/units/${TARGET}/fppkg +/usr/lib/fpc/${VERSION}/units/${TARGET}/iconvenc +/usr/lib/fpc/${VERSION}/units/${TARGET}/libxml2 +/usr/lib/fpc/${VERSION}/units/${TARGET}/libsee +/usr/lib/fpc/${VERSION}/units/${TARGET}/lua +/usr/lib/fpc/${VERSION}/units/${TARGET}/utmp +/usr/lib/fpc/${VERSION}/units/${TARGET}/pthreads +/usr/lib/fpc/${VERSION}/units/${TARGET}/zlib +/usr/lib/fpc/${VERSION}/units/${TARGET}/tcl +/usr/lib/fpc/${VERSION}/units/${TARGET}/cdrom +/usr/lib/fpc/${VERSION}/units/${TARGET}/bfd +/usr/lib/fpc/${VERSION}/units/${TARGET}/syslog +/usr/lib/fpc/${VERSION}/units/${TARGET}/gdbint +/usr/lib/fpc/${VERSION}/units/${TARGET}/unzip +/usr/lib/fpc/${VERSION}/units/${TARGET}/newt +/usr/lib/fpc/${VERSION}/units/${TARGET}/fftw +/usr/lib/fpc/${VERSION}/units/${TARGET}/aspell +/usr/lib/fpc/${VERSION}/units/${TARGET}/users diff --git a/fp-units-multimedia.install.in b/fp-units-multimedia.install.in new file mode 100644 index 00000000..04b23a53 --- /dev/null +++ b/fp-units-multimedia.install.in @@ -0,0 +1,8 @@ +/usr/lib/fpc/${VERSION}/units/${TARGET}/a52 +/usr/lib/fpc/${VERSION}/units/${TARGET}/dts +/usr/lib/fpc/${VERSION}/units/${TARGET}/mad +/usr/lib/fpc/${VERSION}/units/${TARGET}/modplug +/usr/lib/fpc/${VERSION}/units/${TARGET}/oggvorbis +/usr/lib/fpc/${VERSION}/units/${TARGET}/openal +/usr/lib/fpc/${VERSION}/units/${TARGET}/sdl +/usr/share/doc/fp-units-multimedia diff --git a/fp-units-net.install.in b/fp-units-net.install.in new file mode 100644 index 00000000..5f32949e --- /dev/null +++ b/fp-units-net.install.in @@ -0,0 +1,12 @@ +/usr/share/doc/fp-units-net + +/usr/lib/fpc/${VERSION}/units/${TARGET}/libcurl +/usr/lib/fpc/${VERSION}/units/${TARGET}/dbus +/usr/lib/fpc/${VERSION}/units/${TARGET}/fastcgi +#/usr/lib/fpc/${VERSION}/units/${TARGET}/httpd13 +#/usr/lib/fpc/${VERSION}/units/${TARGET}/httpd20 +/usr/lib/fpc/${VERSION}/units/${TARGET}/httpd22 +/usr/lib/fpc/${VERSION}/units/${TARGET}/ldap +/usr/lib/fpc/${VERSION}/units/${TARGET}/openssl +/usr/lib/fpc/${VERSION}/units/${TARGET}/pcap +/usr/lib/fpc/${VERSION}/units/${TARGET}/zorba diff --git a/fp-units-rtl.install.in b/fp-units-rtl.install.in new file mode 100644 index 00000000..fe0add05 --- /dev/null +++ b/fp-units-rtl.install.in @@ -0,0 +1 @@ +/usr/lib/fpc/${VERSION}/units/${TARGET}/rtl diff --git a/fp-utils.install.in b/fp-utils.install.in new file mode 100644 index 00000000..d48f0ab0 --- /dev/null +++ b/fp-utils.install.in @@ -0,0 +1,30 @@ +/usr/bin/chmcmd-${VERSION} +/usr/bin/chmls-${VERSION} +/usr/bin/fd2pascal-${VERSION} +/usr/bin/fppkg-${VERSION} +/usr/bin/ppufiles-${VERSION} +/usr/bin/ppudump-${VERSION} +/usr/bin/ppumove-${VERSION} +/usr/bin/ppdep-${VERSION} +/usr/bin/ptop-${VERSION} +/usr/bin/rstconv-${VERSION} +/usr/bin/data2inc-${VERSION} +/usr/bin/bin2obj-${VERSION} +/usr/bin/delp-${VERSION} +/usr/bin/plex-${VERSION} +/usr/bin/pyacc-${VERSION} +/usr/bin/h2pas-${VERSION} +/usr/bin/h2paspp-${VERSION} +/usr/bin/postw32-${VERSION} +/usr/bin/fpclasschart-${VERSION} +/usr/bin/fpcmake-${VERSION} +/usr/bin/fpcsubst-${VERSION} +/usr/bin/fprcp-${VERSION} +/usr/bin/fpdoc-${VERSION} +/usr/bin/makeskel-${VERSION} +/usr/bin/unitdiff-${VERSION} +/usr/bin/rmcvsdir-${VERSION} +/usr/lib/fpc/${VERSION}/lexyacc/yylex.cod +/usr/lib/fpc/${VERSION}/lexyacc/yyparse.cod +/usr/lib/fpc/${VERSION}/units/${TARGET}/lexyacc +/usr/share/texmf/tex/latex/fpc-${VERSION} diff --git a/fp-utils.manpages.in b/fp-utils.manpages.in new file mode 100644 index 00000000..5e0347bc --- /dev/null +++ b/fp-utils.manpages.in @@ -0,0 +1,28 @@ +debian/tmp/usr/man/man1/chmcmd-${VERSION}.1 +debian/tmp/usr/man/man1/chmls-${VERSION}.1 +debian/tmp/usr/man/man1/fd2pascal-${VERSION}.1 +debian/tmp/usr/man/man1/fppkg-${VERSION}.1 +debian/tmp/usr/man/man1/bin2obj-${VERSION}.1 +debian/tmp/usr/man/man1/data2inc-${VERSION}.1 +debian/tmp/usr/man/man1/fprcp-${VERSION}.1 +debian/tmp/usr/man/man1/h2paspp-${VERSION}.1 +debian/tmp/usr/man/man1/makeskel-${VERSION}.1 +debian/tmp/usr/man/man1/postw32-${VERSION}.1 +debian/tmp/usr/man/man1/rmcvsdir-${VERSION}.1 +debian/tmp/usr/man/man1/unitdiff-${VERSION}.1 +debian/tmp/usr/man/man1/delp-${VERSION}.1 +debian/tmp/usr/man/man1/fpcmake-${VERSION}.1 +debian/tmp/usr/man/man1/fpcsubst-${VERSION}.1 +debian/tmp/usr/man/man1/h2pas-${VERSION}.1 +debian/tmp/usr/man/man1/plex-${VERSION}.1 +debian/tmp/usr/man/man1/ppdep-${VERSION}.1 +debian/tmp/usr/man/man1/ppudump-${VERSION}.1 +debian/tmp/usr/man/man1/ppufiles-${VERSION}.1 +debian/tmp/usr/man/man1/ppumove-${VERSION}.1 +debian/tmp/usr/man/man1/ptop-${VERSION}.1 +debian/tmp/usr/man/man1/pyacc-${VERSION}.1 +debian/tmp/usr/man/man1/rstconv-${VERSION}.1 +debian/tmp/usr/man/man1/fpdoc-${VERSION}.1 +debian/tmp/usr/man/man1/fpclasschart-${VERSION}.1 +debian/tmp/usr/man/man5/fpcmake-${VERSION}.5 +debian/tmp/usr/man/man5/ptop-${VERSION}.cfg.5 diff --git a/fp-utils.postinst.in b/fp-utils.postinst.in new file mode 100644 index 00000000..a808e67e --- /dev/null +++ b/fp-utils.postinst.in @@ -0,0 +1,65 @@ +#! /bin/sh + +set -e + +FPCDIR=/usr/lib/fpc + +# add alternatives +update-alternatives \ + --install ${FPCDIR}/default fp-utils ${FPCDIR}/${VERSION} ${PRIORITY} \ + --slave ${FPCDIR}/lexyacc fplexyacc ${FPCDIR}/${VERSION}/lexyacc \ + --slave /usr/bin/chmcmd chmcmd /usr/bin/chmcmd-${VERSION} \ + --slave /usr/bin/chmls chmls /usr/bin/chmls-${VERSION} \ + --slave /usr/bin/fppkg fppkg /usr/bin/fppkg-${VERSION} \ + --slave /usr/bin/ppufiles ppufiles /usr/bin/ppufiles-${VERSION} \ + --slave /usr/bin/ppudump ppudump /usr/bin/ppudump-${VERSION} \ + --slave /usr/bin/ppumove ppumove /usr/bin/ppumove-${VERSION} \ + --slave /usr/bin/ppdep ppdep /usr/bin/ppdep-${VERSION} \ + --slave /usr/bin/ptop ptop /usr/bin/ptop-${VERSION} \ + --slave /usr/bin/rstconv rstconv /usr/bin/rstconv-${VERSION} \ + --slave /usr/bin/data2inc data2inc /usr/bin/data2inc-${VERSION} \ + --slave /usr/bin/bin2obj bin2obj /usr/bin/bin2obj-${VERSION} \ + --slave /usr/bin/delp delp /usr/bin/delp-${VERSION} \ + --slave /usr/bin/plex plex /usr/bin/plex-${VERSION} \ + --slave /usr/bin/pyacc pyacc /usr/bin/pyacc-${VERSION} \ + --slave /usr/bin/h2pas h2pas /usr/bin/h2pas-${VERSION} \ + --slave /usr/bin/h2paspp h2paspp /usr/bin/h2paspp-${VERSION} \ + --slave /usr/bin/postw32 postw32 /usr/bin/postw32-${VERSION} \ + --slave /usr/bin/fpclasschart fpclasschart /usr/bin/fpclasschart-${VERSION} \ + --slave /usr/bin/fpcmake fpcmake /usr/bin/fpcmake-${VERSION} \ + --slave /usr/bin/fpcsubst fpcsubst /usr/bin/fpcsubst-${VERSION} \ + --slave /usr/bin/fprcp fprcp /usr/bin/fprcp-${VERSION} \ + --slave /usr/bin/fpdoc fpdoc /usr/bin/fpdoc-${VERSION} \ + --slave /usr/bin/makeskel makeskel /usr/bin/makeskel-${VERSION} \ + --slave /usr/bin/unitdiff unitdiff /usr/bin/unitdiff-${VERSION} \ + --slave /usr/bin/rmcvsdir rmcvsdir /usr/bin/rmcvsdir-${VERSION} \ + --slave /usr/share/man/man1/chmcmd.1.gz chmcmd.1.gz /usr/share/man/man1/chmcmd-${VERSION}.1.gz \ + --slave /usr/share/man/man1/chmls.1.gz chmls.1.gz /usr/share/man/man1/chmls-${VERSION}.1.gz \ + --slave /usr/share/man/man1/fppkg.1.gz fppkg.1.gz /usr/share/man/man1/fppkg-${VERSION}.1.gz \ + --slave /usr/share/man/man1/bin2obj.1.gz bin2obj.1.gz /usr/share/man/man1/bin2obj-${VERSION}.1.gz \ + --slave /usr/share/man/man1/data2inc.1.gz data2inc.1.gz /usr/share/man/man1/data2inc-${VERSION}.1.gz \ + --slave /usr/share/man/man1/fprcp.1.gz fprcp.1.gz /usr/share/man/man1/fprcp-${VERSION}.1.gz \ + --slave /usr/share/man/man1/h2paspp.1.gz h2paspp.1.gz /usr/share/man/man1/h2paspp-${VERSION}.1.gz \ + --slave /usr/share/man/man1/makeskel.1.gz makeskel.1.gz /usr/share/man/man1/makeskel-${VERSION}.1.gz \ + --slave /usr/share/man/man1/postw32.1.gz postw32.1.gz /usr/share/man/man1/postw32-${VERSION}.1.gz \ + --slave /usr/share/man/man1/rmcvsdir.1.gz rmcvsdir.1.gz /usr/share/man/man1/rmcvsdir-${VERSION}.1.gz \ + --slave /usr/share/man/man1/unitdiff.1.gz unitdiff.1.gz /usr/share/man/man1/unitdiff-${VERSION}.1.gz \ + --slave /usr/share/man/man1/delp.1.gz delp.1.gz /usr/share/man/man1/delp-${VERSION}.1.gz \ + --slave /usr/share/man/man1/fpcmake.1.gz fpcmake.1.gz /usr/share/man/man1/fpcmake-${VERSION}.1.gz \ + --slave /usr/share/man/man1/fpcsubst.1.gz fpcsubst.1.gz /usr/share/man/man1/fpcsubst-${VERSION}.1.gz \ + --slave /usr/share/man/man1/h2pas.1.gz h2pas.1.gz /usr/share/man/man1/h2pas-${VERSION}.1.gz \ + --slave /usr/share/man/man1/plex.1.gz plex.1.gz /usr/share/man/man1/plex-${VERSION}.1.gz \ + --slave /usr/share/man/man1/ppdep.1.gz ppdep.1.gz /usr/share/man/man1/ppdep-${VERSION}.1.gz \ + --slave /usr/share/man/man1/ppudump.1.gz ppudump.1.gz /usr/share/man/man1/ppudump-${VERSION}.1.gz \ + --slave /usr/share/man/man1/ppufiles.1.gz ppufiles.1.gz /usr/share/man/man1/ppufiles-${VERSION}.1.gz \ + --slave /usr/share/man/man1/ppumove.1.gz ppumove.1.gz /usr/share/man/man1/ppumove-${VERSION}.1.gz \ + --slave /usr/share/man/man1/ptop.1.gz ptop.1.gz /usr/share/man/man1/ptop-${VERSION}.1.gz \ + --slave /usr/share/man/man1/pyacc.1.gz pyacc.1.gz /usr/share/man/man1/pyacc-${VERSION}.1.gz \ + --slave /usr/share/man/man1/rstconv.1.gz rstconv.1.gz /usr/share/man/man1/rstconv-${VERSION}.1.gz \ + --slave /usr/share/man/man1/fpdoc.1.gz fpdoc.1.gz /usr/share/man/man1/fpdoc-${VERSION}.1.gz \ + --slave /usr/share/man/man1/fpclasschart.1.gz fpclasschart.1.gz /usr/share/man/man1/fpclasschart-${VERSION}.1.gz \ + --slave /usr/share/man/man5/fpcmake.5.gz fpcmake.5.gz /usr/share/man/man5/fpcmake-${VERSION}.5.gz \ + --slave /usr/share/man/man5/ptop.cfg.5.gz ptop.cfg.5.gz /usr/share/man/man5/ptop-${VERSION}.cfg.5.gz + +# Debhelper code +#DEBHELPER# diff --git a/fp-utils.postrm.in b/fp-utils.postrm.in new file mode 100644 index 00000000..157ece53 --- /dev/null +++ b/fp-utils.postrm.in @@ -0,0 +1,12 @@ +#! /bin/sh + +set -e + +FPCDIR=/usr/lib/fpc + +# remove alternatives +update-alternatives \ + --remove fp-utils ${FPCDIR}/${VERSION} + +# Debhelper code +#DEBHELPER# diff --git a/fpc-depends.in b/fpc-depends.in new file mode 100755 index 00000000..218b09cd --- /dev/null +++ b/fpc-depends.in @@ -0,0 +1,65 @@ +#!/usr/bin/perl + +# Copyright (c) 2005 Rafael Laboissiere +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +=head1 NAME + +fpc-depends - calculates free pascal dependencies + +=cut + +use strict; +use warnings; +use Debian::Debhelper::Dh_Lib; + +=head1 SYNOPSIS + +B [S>] + +=head1 DESCRIPTION + +fpc-depends is a debhelper-like program that is responsible for +generating the ${fpc-abi:Depends} substitutions and adding them to +substvars files. + +If you use this program, your package must build-depend on fp-utils +(>= 2.4.2-1). + + +=cut + +init (); + +foreach my $package (@{$dh{DOPACKAGES}}) { + delsubstvar($package, "fpc-abi:Depends"); + addsubstvar($package, "fpc-abi:Depends", "fpc-abi-${VERSION}"); +} + +=head1 SEE ALSO + +L + +This program is not part of debhelper. + +=head1 AUTHOR + +Torsten Werner + +Most ideas borrowed from octave-depends by Rafael Laboissiere +. + +=cut diff --git a/fpc-source.install.in b/fpc-source.install.in new file mode 100644 index 00000000..a21599ad --- /dev/null +++ b/fpc-source.install.in @@ -0,0 +1,3 @@ +/usr/share/fpcsrc/${VERSION}/compiler +/usr/share/fpcsrc/${VERSION}/packages +/usr/share/fpcsrc/${VERSION}/rtl diff --git a/moveexamples b/moveexamples new file mode 100644 index 00000000..5e4d90d0 --- /dev/null +++ b/moveexamples @@ -0,0 +1,54 @@ +#!/bin/sh + +set -e + +EXAMPLE_TEMP=$1 +DOC_DIR=$2 +VERSION=$3 + +move_examples() +{ + local pkgName=$1 + local pkgContent=$2 + # Make examples dir + install -d -m 755 ${DOC_DIR}/${pkgName}/${VERSION}/examples + for package in ${pkgContent} + do + if [ -d $EXAMPLE_TEMP/${package}/examples ]; then + echo "Moving examples of ${package}" + EXAMPLE_TEMP_DIR="$EXAMPLE_TEMP/${package}/examples" + EXAMPLE_INSTALL_DIR="${DOC_DIR}/${pkgName}/${VERSION}/examples/${package}" + # Move dir renaming it + if [ -e "${EXAMPLE_INSTALL_DIR}" ] + then + echo "#### \"${EXAMPLE_INSTALL_DIR}\" is in the way, please remove it first ####" + exit 255 + else + mv -v -f "${EXAMPLE_TEMP_DIR}" "${EXAMPLE_INSTALL_DIR}" + rmdir $EXAMPLE_TEMP/${package} + # Remove empty directories: + rmdir --ignore-fail-on-non-empty "${EXAMPLE_INSTALL_DIR}" + fi + fi + done + + # Remove empty directories: + rmdir --ignore-fail-on-non-empty ${DOC_DIR}/${pkgName}/${VERSION}/examples +} + +echo '**** Copying examples ****' +PACKAGE_LIST='debian/fp-units-'*'.install.in' + +for PACKAGE_FILE in ${PACKAGE_LIST} +do + PACKAGE_NAME=`basename "${PACKAGE_FILE}" '.install.in'` + PACKAGE_CONTENT=`grep '/usr/lib/fpc' "${PACKAGE_FILE}" | sed -e 's@.*/\([^/]\)/\?@\1@'` + echo ' **** PACKAGE_NAME = "'${PACKAGE_NAME}'"' + echo ' **** PACKAGE_CONTENT = "'${PACKAGE_CONTENT}'"' + move_examples "${PACKAGE_NAME}" "${PACKAGE_CONTENT}" +done + +echo '**** Examples copyed ****' + +rmdir $EXAMPLE_TEMP + diff --git a/orig-tar.sh b/orig-tar.sh new file mode 100755 index 00000000..eac52f5b --- /dev/null +++ b/orig-tar.sh @@ -0,0 +1,17 @@ +#!/bin/sh -e + +# called by uscan with '--upstream-version' +TAR=$3 +DIR=fpcbuild-$2 + +# clean up the upstream tarball +tar -x -z -f $TAR +tar -c -z -f $TAR --exclude '*.dll' --exclude '*.exe' --exclude '*.log' --exclude '*.o' $DIR +rm -rf $DIR + +# move to directory 'tarballs' +if [ -r .svn/deb-layout ]; then + . .svn/deb-layout + mv $TAR $origDir + echo "moved $TAR to $origDir" +fi diff --git a/overrides/fp-compiler b/overrides/fp-compiler new file mode 100644 index 00000000..f3fa8817 --- /dev/null +++ b/overrides/fp-compiler @@ -0,0 +1,5 @@ +# Free pascal binaries are often statically linked. +# The Free Pascal Compiler does not properly support linking. Please +# see BTS #472304. +fp-compiler binary: statically-linked-binary +fp-compiler: statically-linked-binary diff --git a/overrides/fp-ide b/overrides/fp-ide new file mode 100644 index 00000000..5acb6a88 --- /dev/null +++ b/overrides/fp-ide @@ -0,0 +1,3 @@ +# Free pascal binaries are often statically linked. +fp-ide binary: statically-linked-binary +fp-ide: statically-linked-binary diff --git a/overrides/fp-units-net b/overrides/fp-units-net new file mode 100644 index 00000000..dbff457b --- /dev/null +++ b/overrides/fp-units-net @@ -0,0 +1,2 @@ +# The name of the unit is dbus not D-Bus. +fp-units-net: capitalization-error-in-description dbus D-Bus diff --git a/overrides/fp-units-rtl b/overrides/fp-units-rtl new file mode 100644 index 00000000..ae8af016 --- /dev/null +++ b/overrides/fp-units-rtl @@ -0,0 +1 @@ +fp-units-rtl: spelling-error-in-binary */rtl/stdconvs.o ang and diff --git a/overrides/fp-utils b/overrides/fp-utils new file mode 100644 index 00000000..fbb686aa --- /dev/null +++ b/overrides/fp-utils @@ -0,0 +1,5 @@ +# Free pascal binaries are often statically linked. +# The Free Pascal Compiler does not properly support linking. Please +# see BTS #472304. +fp-utils binary: statically-linked-binary +fp-utils: statically-linked-binary diff --git a/patches/armhf-linker-path.diff b/patches/armhf-linker-path.diff new file mode 100644 index 00000000..c1c51a6c --- /dev/null +++ b/patches/armhf-linker-path.diff @@ -0,0 +1,13 @@ +Index: fpc-2.6.0.svn.new/fpcsrc/compiler/systems/t_linux.pas +=================================================================== +--- fpc-2.6.0.svn.new.orig/fpcsrc/compiler/systems/t_linux.pas 2012-04-21 11:47:00.000000000 +0000 ++++ fpc-2.6.0.svn.new/fpcsrc/compiler/systems/t_linux.pas 2012-04-21 12:10:16.000000000 +0000 +@@ -186,7 +186,7 @@ + + {$ifdef arm} + {$ifdef FPC_ARMHF} +- defdynlinker:='/lib/arm-linux-gnueabihf/ld-linux.so.3'; ++ defdynlinker:='/lib/ld-linux-armhf.so.3'; + {$else FPC_ARMHF} + {$ifdef FPC_ARMEL} + defdynlinker:='/lib/ld-linux.so.3'; diff --git a/patches/armhf.diff b/patches/armhf.diff new file mode 100644 index 00000000..f72a0924 --- /dev/null +++ b/patches/armhf.diff @@ -0,0 +1,1263 @@ +Index: fpc-2.6.0/fpcsrc/rtl/arm/setjump.inc +=================================================================== +--- fpc-2.6.0.orig/fpcsrc/rtl/arm/setjump.inc 2012-03-28 20:18:02.000000000 +0000 ++++ fpc-2.6.0/fpcsrc/rtl/arm/setjump.inc 2012-03-28 20:18:04.000000000 +0000 +@@ -16,7 +16,7 @@ + + function fpc_setjmp(var S : jmp_buf) : longint;assembler;[Public, alias : 'FPC_SETJMP'];nostackframe; compilerproc; + asm +- {$if defined(FPUVFPV2) or defined(FPUVFPV3)} ++ {$if defined(FPUVFPV2) or defined(FPUVFPV3) or defined(FPUVFPV3_D16)} + {$if defined(CPUARMV3) or defined(CPUARMV4) or defined(CPUARMV5)} + fstmiax r0!, {d8-d15} + {$else} +@@ -46,7 +46,7 @@ + movs r0, r1 + it eq + moveq r0, #1 +- {$if defined(FPUVFPV2) or defined(FPUVFPV3)} ++ {$if defined(FPUVFPV2) or defined(FPUVFPV3) or defined(FPUVFPV3_D16)} + fldmiad ip!, {d8-d15} + {$endif} + ldmia ip,{v1-v6, sl, fp} +@@ -57,7 +57,7 @@ + mov ip, r0 + movs r0, r1 + moveq r0, #1 +- {$if defined(FPUVFPV2) or defined(FPUVFPV3)} ++ {$if defined(FPUVFPV2) or defined(FPUVFPV3) or defined(FPUVFPV3_D16)} + {$if defined(CPUARMV3) or defined(CPUARMV4) or defined(CPUARMV5)} + fldmiax ip!, {d8-d15} + {$else} +Index: fpc-2.6.0/fpcsrc/rtl/arm/math.inc +=================================================================== +--- fpc-2.6.0.orig/fpcsrc/rtl/arm/math.inc 2012-03-28 20:18:02.000000000 +0000 ++++ fpc-2.6.0/fpcsrc/rtl/arm/math.inc 2012-03-28 20:18:04.000000000 +0000 +@@ -14,7 +14,7 @@ + + **********************************************************************} + +-{$if defined(FPUFPA) or defined(FPUFPA10) or defined(FPUFPA11) or defined(FPUVFPV2) or defined(FPUVFPV3)} ++{$if defined(FPUFPA) or defined(FPUFPA10) or defined(FPUFPA11) or defined(FPUVFPV2) or defined(FPUVFPV3) or defined(FPUVFPV3_D16)} + {$define FPC_SYSTEM_HAS_ABS} + function fpc_abs_real(d : ValReal) : ValReal;compilerproc; + begin +Index: fpc-2.6.0/fpcsrc/rtl/arm/mathu.inc +=================================================================== +--- fpc-2.6.0.orig/fpcsrc/rtl/arm/mathu.inc 2012-03-28 20:18:02.000000000 +0000 ++++ fpc-2.6.0/fpcsrc/rtl/arm/mathu.inc 2012-03-28 20:18:04.000000000 +0000 +@@ -177,7 +177,7 @@ + begin + end; + +-{$elseif defined(darwin) or defined(FPUVFPV2) or defined(FPUVFPV3)} ++{$elseif defined(darwin) or defined(FPUVFPV2) or defined(FPUVFPV3) or defined(FPUVFPV3_d16)} + + const + _VFP_ENABLE_IM = 1 shl 8; { invalid operation } +Index: fpc-2.6.0/fpcsrc/rtl/arm/arm.inc +=================================================================== +--- fpc-2.6.0.orig/fpcsrc/rtl/arm/arm.inc 2012-03-28 20:18:02.000000000 +0000 ++++ fpc-2.6.0/fpcsrc/rtl/arm/arm.inc 2012-03-28 20:18:04.000000000 +0000 +@@ -30,7 +30,7 @@ + {$if not(defined(wince)) and not(defined(gba)) and not(defined(nds)) and not(defined(FPUSOFT)) and not(defined(FPULIBGCC))} + + {$define FPC_SYSTEM_HAS_SYSINITFPU} +-{$if not defined(darwin) and not defined(FPUVFPV2) and not defined(FPUVFPV3)} ++{$if not defined(darwin) and not defined(FPUVFPV2) and not defined(FPUVFPV3) and not defined(FPUVFPV3_D16)} + Procedure SysInitFPU;{$ifdef SYSTEMINLINE}inline;{$endif} + begin + { Enable FPU exceptions, but disable INEXACT, UNDERFLOW, DENORMAL } +Index: fpc-2.6.0/fpcsrc/rtl/arm/setjumph.inc +=================================================================== +--- fpc-2.6.0.orig/fpcsrc/rtl/arm/setjumph.inc 2012-03-28 20:18:02.000000000 +0000 ++++ fpc-2.6.0/fpcsrc/rtl/arm/setjumph.inc 2012-03-28 20:18:04.000000000 +0000 +@@ -16,7 +16,7 @@ + + type + jmp_buf = packed record +-{$if defined(FPUVFPV2) or defined(FPUVFPV3)} ++{$if defined(FPUVFPV2) or defined(FPUVFPV3) or defined(FPUVFPV3_D16)} + d8,d9,d10,d11,d12,d13,d14,d15: double; + {$endif} + v1,v2,v3,v4,v5,v6,sl,fp,sp,pc : dword; +Index: fpc-2.6.0/fpcsrc/compiler/systems.inc +=================================================================== +--- fpc-2.6.0.orig/fpcsrc/compiler/systems.inc 2012-03-28 20:18:02.000000000 +0000 ++++ fpc-2.6.0/fpcsrc/compiler/systems.inc 2012-03-28 20:18:04.000000000 +0000 +@@ -210,7 +210,7 @@ + + tabi = (abi_default + ,abi_powerpc_sysv,abi_powerpc_aix +- ,abi_eabi,abi_armeb ++ ,abi_eabi,abi_armeb,abi_eabihf + ); + + +Index: fpc-2.6.0/fpcsrc/compiler/systems.pas +=================================================================== +--- fpc-2.6.0.orig/fpcsrc/compiler/systems.pas 2012-03-28 20:18:02.000000000 +0000 ++++ fpc-2.6.0/fpcsrc/compiler/systems.pas 2012-03-28 20:18:04.000000000 +0000 +@@ -305,7 +305,7 @@ + 'mips','arm', 'powerpc64', 'avr', 'mipsel'); + + abi2str : array[tabi] of string[10] = +- ('DEFAULT','SYSV','AIX','EABI','ARMEB'); ++ ('DEFAULT','SYSV','AIX','EABI','ARMEB','EABIHF'); + + var + targetinfos : array[tsystem] of psysteminfo; +Index: fpc-2.6.0/fpcsrc/compiler/pp.pas +=================================================================== +--- fpc-2.6.0.orig/fpcsrc/compiler/pp.pas 2012-03-28 20:18:02.000000000 +0000 ++++ fpc-2.6.0/fpcsrc/compiler/pp.pas 2012-03-28 20:18:04.000000000 +0000 +@@ -43,6 +43,7 @@ + FPC_ARMEB create an arm big endian compiler + FPC_OARM create an arm oabi compiler, only needed when the host + compiler is ARMEL or ARMEB ++ FPC_ARMHF create an armhf (eabi vfp variant) compiler + ----------------------------------------------------------------- + cpuflags The target processor has status flags (on by default) + cpufpemu The target compiler will also support emitting software +Index: fpc-2.6.0/fpcsrc/compiler/arm/narminl.pas +=================================================================== +--- fpc-2.6.0.orig/fpcsrc/compiler/arm/narminl.pas 2012-03-28 20:18:02.000000000 +0000 ++++ fpc-2.6.0/fpcsrc/compiler/arm/narminl.pas 2012-03-28 20:18:04.000000000 +0000 +@@ -89,7 +89,8 @@ + end; + end; + fpu_vfpv2, +- fpu_vfpv3: ++ fpu_vfpv3, ++ fpu_vfpv3_d16: + begin + location_force_mmregscalar(current_asmdata.CurrAsmList,left.location,true); + location_copy(location,left.location); +@@ -118,7 +119,8 @@ + fpu_fpa11: + expectloc:=LOC_FPUREGISTER; + fpu_vfpv2, +- fpu_vfpv3: ++ fpu_vfpv3, ++ fpu_vfpv3_d16: + expectloc:=LOC_MMREGISTER; + else + internalerror(2009112401); +@@ -140,7 +142,8 @@ + fpu_fpa11: + expectloc:=LOC_FPUREGISTER; + fpu_vfpv2, +- fpu_vfpv3: ++ fpu_vfpv3, ++ fpu_vfpv3_d16: + expectloc:=LOC_MMREGISTER; + else + internalerror(2009112402); +@@ -162,7 +165,8 @@ + fpu_fpa11: + expectloc:=LOC_FPUREGISTER; + fpu_vfpv2, +- fpu_vfpv3: ++ fpu_vfpv3, ++ fpu_vfpv3_d16: + expectloc:=LOC_MMREGISTER; + else + internalerror(2009112403); +@@ -213,7 +217,8 @@ + fpu_fpa11: + current_asmdata.CurrAsmList.concat(setoppostfix(taicpu.op_reg_reg(A_ABS,location.register,left.location.register),get_fpu_postfix(resultdef))); + fpu_vfpv2, +- fpu_vfpv3: ++ fpu_vfpv3, ++ fpu_vfpv3_d16: + begin + if singleprec then + op:=A_FABSS +@@ -239,7 +244,8 @@ + fpu_fpa11: + current_asmdata.CurrAsmList.concat(setoppostfix(taicpu.op_reg_reg_reg(A_MUF,location.register,left.location.register,left.location.register),get_fpu_postfix(resultdef))); + fpu_vfpv2, +- fpu_vfpv3: ++ fpu_vfpv3, ++ fpu_vfpv3_d16: + begin + if singleprec then + op:=A_FMULS +@@ -265,7 +271,8 @@ + fpu_fpa11: + current_asmdata.CurrAsmList.concat(setoppostfix(taicpu.op_reg_reg(A_SQT,location.register,left.location.register),get_fpu_postfix(resultdef))); + fpu_vfpv2, +- fpu_vfpv3: ++ fpu_vfpv3, ++ fpu_vfpv3_d16: + begin + if singleprec then + op:=A_FSQRTS +Index: fpc-2.6.0/fpcsrc/compiler/arm/cgcpu.pas +=================================================================== +--- fpc-2.6.0.orig/fpcsrc/compiler/arm/cgcpu.pas 2012-03-28 20:18:02.000000000 +0000 ++++ fpc-2.6.0/fpcsrc/compiler/arm/cgcpu.pas 2012-03-28 20:18:04.000000000 +0000 +@@ -1430,7 +1430,8 @@ + end; + end; + fpu_vfpv2, +- fpu_vfpv3: ++ fpu_vfpv3, ++ fpu_vfpv3_d16: + begin; + mmregs:=rg[R_MMREGISTER].used_in_proc-paramanager.get_volatile_registers_mm(pocall_stdcall); + end; +@@ -1501,7 +1502,7 @@ + begin + reference_reset(ref,4); + if (tg.direction*tarmprocinfo(current_procinfo).floatregstart>=1023) or +- (current_settings.fputype in [fpu_vfpv2,fpu_vfpv3]) then ++ (current_settings.fputype in [fpu_vfpv2,fpu_vfpv3,fpu_vfpv3_d16]) then + begin + if not is_shifter_const(tarmprocinfo(current_procinfo).floatregstart,shift) then + begin +@@ -1529,7 +1530,8 @@ + lastfloatreg-firstfloatreg+1,ref)); + end; + fpu_vfpv2, +- fpu_vfpv3: ++ fpu_vfpv3, ++ fpu_vfpv3_d16: + begin + ref.index:=ref.base; + ref.base:=NR_NO; +@@ -1583,7 +1585,8 @@ + end; + end; + fpu_vfpv2, +- fpu_vfpv3: ++ fpu_vfpv3, ++ fpu_vfpv3_d16: + begin; + { restore vfp registers? } + mmregs:=rg[R_MMREGISTER].used_in_proc-paramanager.get_volatile_registers_mm(pocall_stdcall); +@@ -1595,7 +1598,7 @@ + begin + reference_reset(ref,4); + if (tg.direction*tarmprocinfo(current_procinfo).floatregstart>=1023) or +- (current_settings.fputype in [fpu_vfpv2,fpu_vfpv3]) then ++ (current_settings.fputype in [fpu_vfpv2,fpu_vfpv3,fpu_vfpv3_d16]) then + begin + if not is_shifter_const(tarmprocinfo(current_procinfo).floatregstart,shift) then + begin +@@ -1622,7 +1625,8 @@ + lastfloatreg-firstfloatreg+1,ref)); + end; + fpu_vfpv2, +- fpu_vfpv3: ++ fpu_vfpv3, ++ fpu_vfpv3_d16: + begin + ref.index:=ref.base; + ref.base:=NR_NO; +Index: fpc-2.6.0/fpcsrc/compiler/arm/narmcnv.pas +=================================================================== +--- fpc-2.6.0.orig/fpcsrc/compiler/arm/narmcnv.pas 2012-03-28 20:18:02.000000000 +0000 ++++ fpc-2.6.0/fpcsrc/compiler/arm/narmcnv.pas 2012-03-28 20:18:04.000000000 +0000 +@@ -116,7 +116,8 @@ + fpu_fpa11: + expectloc:=LOC_FPUREGISTER; + fpu_vfpv2, +- fpu_vfpv3: ++ fpu_vfpv3, ++ fpu_vfpv3_d16: + expectloc:=LOC_MMREGISTER; + else + internalerror(2009112702); +@@ -195,7 +196,8 @@ + end; + end; + fpu_vfpv2, +- fpu_vfpv3: ++ fpu_vfpv3, ++ fpu_vfpv3_d16: + begin + location_reset(location,LOC_MMREGISTER,def_cgsize(resultdef)); + signed:=left.location.size=OS_S32; +Index: fpc-2.6.0/fpcsrc/compiler/arm/rarmnum.inc +=================================================================== +--- fpc-2.6.0.orig/fpcsrc/compiler/arm/rarmnum.inc 2012-03-28 20:18:02.000000000 +0000 ++++ fpc-2.6.0/fpcsrc/compiler/arm/rarmnum.inc 2012-03-28 20:18:04.000000000 +0000 +@@ -25,52 +25,52 @@ + tregister($02000006), + tregister($02000007), + tregister($04060000), +-tregister($04060000), ++tregister($04060020), + tregister($04070000), + tregister($04060001), +-tregister($04060001), ++tregister($04060021), + tregister($04070001), + tregister($04060002), +-tregister($04060002), ++tregister($04060022), + tregister($04070002), + tregister($04060003), +-tregister($04060003), ++tregister($04060023), + tregister($04070003), + tregister($04060004), +-tregister($04060004), ++tregister($04060024), + tregister($04070004), + tregister($04060005), +-tregister($04060005), ++tregister($04060025), + tregister($04070005), + tregister($04060006), +-tregister($04060006), ++tregister($04060026), + tregister($04070006), + tregister($04060007), +-tregister($04060007), ++tregister($04060027), + tregister($04070007), + tregister($04060008), +-tregister($04060008), ++tregister($04060028), + tregister($04070008), + tregister($04060009), +-tregister($04060009), ++tregister($04060029), + tregister($04070009), + tregister($0406000A), +-tregister($0406000A), ++tregister($0406002A), + tregister($0407000A), + tregister($0406000B), +-tregister($0406000B), ++tregister($0406002B), + tregister($0407000B), + tregister($0406000C), +-tregister($0406000C), ++tregister($0406002C), + tregister($0407000C), + tregister($0406000D), +-tregister($0406000D), ++tregister($0406002D), + tregister($0407000D), + tregister($0406000E), +-tregister($0406000E), ++tregister($0406002E), + tregister($0407000E), + tregister($0406000F), +-tregister($0406000F), ++tregister($0406002F), + tregister($0407000F), + tregister($04070010), + tregister($04070011), +Index: fpc-2.6.0/fpcsrc/compiler/arm/narmcal.pas +=================================================================== +--- fpc-2.6.0.orig/fpcsrc/compiler/arm/narmcal.pas 2012-03-28 20:18:02.000000000 +0000 ++++ fpc-2.6.0/fpcsrc/compiler/arm/narmcal.pas 2012-03-28 20:18:04.000000000 +0000 +@@ -41,13 +41,15 @@ + cgbase, + cpubase,cpuinfo, + ncgutil, +- paramgr; ++ paramgr, ++ systems; + + procedure tarmcallnode.set_result_location(realresdef: tstoreddef); + begin +- if (realresdef.typ=floatdef) and ++ if (realresdef.typ=floatdef) and ++ (target_info.abi <> abi_eabihf) and + ((cs_fp_emulation in current_settings.moduleswitches) or +- (current_settings.fputype in [fpu_vfpv2,fpu_vfpv3])) then ++ (current_settings.fputype in [fpu_vfpv2,fpu_vfpv3,fpu_vfpv3_d16])) then + begin + { keep the fpu values in integer registers for now, the code + generator will move them to memory or an mmregister when necessary +Index: fpc-2.6.0/fpcsrc/compiler/arm/rarmsup.inc +=================================================================== +--- fpc-2.6.0.orig/fpcsrc/compiler/arm/rarmsup.inc 2012-03-28 20:18:02.000000000 +0000 ++++ fpc-2.6.0/fpcsrc/compiler/arm/rarmsup.inc 2012-03-28 20:18:04.000000000 +0000 +@@ -25,52 +25,52 @@ + RS_F6 = $06; + RS_F7 = $07; + RS_S0 = $00; +-RS_S1 = $00; ++RS_S1 = $20; + RS_D0 = $00; + RS_S2 = $01; +-RS_S3 = $01; ++RS_S3 = $21; + RS_D1 = $01; + RS_S4 = $02; +-RS_S5 = $02; ++RS_S5 = $22; + RS_D2 = $02; + RS_S6 = $03; +-RS_S7 = $03; ++RS_S7 = $23; + RS_D3 = $03; + RS_S8 = $04; +-RS_S9 = $04; ++RS_S9 = $24; + RS_D4 = $04; + RS_S10 = $05; +-RS_S11 = $05; ++RS_S11 = $25; + RS_D5 = $05; + RS_S12 = $06; +-RS_S13 = $06; ++RS_S13 = $26; + RS_D6 = $06; + RS_S14 = $07; +-RS_S15 = $07; ++RS_S15 = $27; + RS_D7 = $07; + RS_S16 = $08; +-RS_S17 = $08; ++RS_S17 = $28; + RS_D8 = $08; + RS_S18 = $09; +-RS_S19 = $09; ++RS_S19 = $29; + RS_D9 = $09; + RS_S20 = $0A; +-RS_S21 = $0A; ++RS_S21 = $2A; + RS_D10 = $0A; + RS_S22 = $0B; +-RS_S23 = $0B; ++RS_S23 = $2B; + RS_D11 = $0B; + RS_S24 = $0C; +-RS_S25 = $0C; ++RS_S25 = $2C; + RS_D12 = $0C; + RS_S26 = $0D; +-RS_S27 = $0D; ++RS_S27 = $2D; + RS_D13 = $0D; + RS_S28 = $0E; +-RS_S29 = $0E; ++RS_S29 = $2E; + RS_D14 = $0E; + RS_S30 = $0F; +-RS_S31 = $0F; ++RS_S31 = $2F; + RS_D15 = $0F; + RS_D16 = $10; + RS_D17 = $11; +Index: fpc-2.6.0/fpcsrc/compiler/arm/cpubase.pas +=================================================================== +--- fpc-2.6.0.orig/fpcsrc/compiler/arm/cpubase.pas 2012-03-28 20:18:02.000000000 +0000 ++++ fpc-2.6.0/fpcsrc/compiler/arm/cpubase.pas 2012-03-28 20:18:04.000000000 +0000 +@@ -87,7 +87,7 @@ + + { MM Super register first and last } + first_mm_supreg = RS_S0; +- first_mm_imreg = $20; ++ first_mm_imreg = $30; + + { TODO: Calculate bsstart} + regnumber_count_bsstart = 64; +@@ -106,7 +106,7 @@ + { registers which may be destroyed by calls } + VOLATILE_INTREGISTERS = [RS_R0..RS_R3,RS_R12..RS_R14]; + VOLATILE_FPUREGISTERS = [RS_F0..RS_F3]; +- VOLATILE_MMREGISTERS = [RS_D0..RS_D7,RS_D16..RS_D31]; ++ VOLATILE_MMREGISTERS = [RS_D0..RS_D7,RS_D16..RS_D31,RS_S1..RS_S15]; + + VOLATILE_INTREGISTERS_DARWIN = [RS_R0..RS_R3,RS_R9,RS_R12..RS_R14]; + +@@ -319,7 +319,7 @@ + + NR_FPU_RESULT_REG = NR_F0; + +- NR_MM_RESULT_REG = NR_NO; ++ NR_MM_RESULT_REG = NR_D0; + + NR_RETURN_ADDRESS_REG = NR_FUNCTION_RETURN_REG; + +Index: fpc-2.6.0/fpcsrc/compiler/arm/narmmat.pas +=================================================================== +--- fpc-2.6.0.orig/fpcsrc/compiler/arm/narmmat.pas 2012-03-28 20:18:02.000000000 +0000 ++++ fpc-2.6.0/fpcsrc/compiler/arm/narmmat.pas 2012-03-28 20:18:04.000000000 +0000 +@@ -273,7 +273,8 @@ + cgsize2fpuoppostfix[def_cgsize(resultdef)])); + end; + fpu_vfpv2, +- fpu_vfpv3: ++ fpu_vfpv3, ++ fpu_vfpv3_d16: + begin + location_force_mmregscalar(current_asmdata.CurrAsmList,left.location,true); + location:=left.location; +Index: fpc-2.6.0/fpcsrc/compiler/arm/rarmrni.inc +=================================================================== +--- fpc-2.6.0.orig/fpcsrc/compiler/arm/rarmrni.inc 2012-03-28 20:18:02.000000000 +0000 ++++ fpc-2.6.0/fpcsrc/compiler/arm/rarmrni.inc 2012-03-28 20:18:04.000000000 +0000 +@@ -25,37 +25,37 @@ + 23, + 24, + 25, +-26, +-29, + 28, + 31, +-32, +-35, + 34, + 37, +-38, +-41, + 40, + 43, +-44, +-47, + 46, + 49, +-50, +-53, + 52, + 55, +-56, +-59, + 58, + 61, +-62, +-65, + 64, + 67, ++70, ++26, ++29, ++32, ++35, ++38, ++41, ++44, ++47, ++50, ++53, ++56, ++59, ++62, ++65, + 68, + 71, +-70, + 27, + 30, + 33, +Index: fpc-2.6.0/fpcsrc/compiler/arm/rarmstd.inc +=================================================================== +--- fpc-2.6.0.orig/fpcsrc/compiler/arm/rarmstd.inc 2012-03-28 20:18:02.000000000 +0000 ++++ fpc-2.6.0/fpcsrc/compiler/arm/rarmstd.inc 2012-03-28 20:18:04.000000000 +0000 +@@ -69,7 +69,7 @@ + 's28', + 's29', + 'd14', +-'s20', ++'s30', + 's21', + 'd15', + 'd16', +Index: fpc-2.6.0/fpcsrc/compiler/arm/armreg.dat +=================================================================== +--- fpc-2.6.0.orig/fpcsrc/compiler/arm/armreg.dat 2012-03-28 20:18:02.000000000 +0000 ++++ fpc-2.6.0/fpcsrc/compiler/arm/armreg.dat 2012-03-28 20:18:04.000000000 +0000 +@@ -34,57 +34,60 @@ + F7,$02,$00,$07,f7,32,23 + + ; MM registers +-; S0/S1/D0 etc have the same register number because the register allocated +-; cannot deal with D0 conflicting with both S0 and S1. This unfortunately +-; means that we can only use 16 single precision registers instead of 32, +-; even if no double precision ones are used... ++; odd numbered single registers must not be made available to the register ++; allocator because it cannot deal with D0 conflicting with both S0 and S1. ++; This unfortunately means that we can only use 16 single precision registers ++; instead of 32, even if no double precision ones are used... ++; Nevertheless the odd numbered single registers must have seperate register ++; numbers to allow implementation of the "EABI VFP hardfloat" calling convention. ++ + S0,$04,$06,$00,s0,0,0 +-S1,$04,$06,$00,s1,0,0 ++S1,$04,$06,$20,s1,0,0 + D0,$04,$07,$00,d0,0,0 + S2,$04,$06,$01,s2,0,0 +-S3,$04,$06,$01,s3,0,0 ++S3,$04,$06,$21,s3,0,0 + D1,$04,$07,$01,d1,0,0 + S4,$04,$06,$02,s4,0,0 +-S5,$04,$06,$02,s5,0,0 ++S5,$04,$06,$22,s5,0,0 + D2,$04,$07,$02,d2,0,0 + S6,$04,$06,$03,s6,0,0 +-S7,$04,$06,$03,s7,0,0 ++S7,$04,$06,$23,s7,0,0 + D3,$04,$07,$03,d3,0,0 + S8,$04,$06,$04,s8,0,0 +-S9,$04,$06,$04,s9,0,0 ++S9,$04,$06,$24,s9,0,0 + D4,$04,$07,$04,d4,0,0 + S10,$04,$06,$05,s10,0,0 +-S11,$04,$06,$05,s11,0,0 ++S11,$04,$06,$25,s11,0,0 + D5,$04,$07,$05,d5,0,0 + S12,$04,$06,$06,s12,0,0 +-S13,$04,$06,$06,s13,0,0 ++S13,$04,$06,$26,s13,0,0 + D6,$04,$07,$06,d6,0,0 + S14,$04,$06,$07,s14,0,0 +-S15,$04,$06,$07,s15,0,0 ++S15,$04,$06,$27,s15,0,0 + D7,$04,$07,$07,d7,0,0 + S16,$04,$06,$08,s16,0,0 +-S17,$04,$06,$08,s17,0,0 ++S17,$04,$06,$28,s17,0,0 + D8,$04,$07,$08,d8,0,0 + S18,$04,$06,$09,s18,0,0 +-S19,$04,$06,$09,s19,0,0 ++S19,$04,$06,$29,s19,0,0 + D9,$04,$07,$09,d9,0,0 + S20,$04,$06,$0A,s20,0,0 +-S21,$04,$06,$0A,s21,0,0 ++S21,$04,$06,$2A,s21,0,0 + D10,$04,$07,$0A,d10,0,0 + S22,$04,$06,$0B,s22,0,0 +-S23,$04,$06,$0B,s23,0,0 ++S23,$04,$06,$2B,s23,0,0 + D11,$04,$07,$0B,d11,0,0 + S24,$04,$06,$0C,s24,0,0 +-S25,$04,$06,$0C,s25,0,0 ++S25,$04,$06,$2C,s25,0,0 + D12,$04,$07,$0C,d12,0,0 + S26,$04,$06,$0D,s26,0,0 +-S27,$04,$06,$0D,s27,0,0 ++S27,$04,$06,$2D,s27,0,0 + D13,$04,$07,$0D,d13,0,0 + S28,$04,$06,$0E,s28,0,0 +-S29,$04,$06,$0E,s29,0,0 ++S29,$04,$06,$2E,s29,0,0 + D14,$04,$07,$0E,d14,0,0 +-S30,$04,$06,$0F,s20,0,0 +-S31,$04,$06,$0F,s21,0,0 ++S30,$04,$06,$0F,s30,0,0 ++S31,$04,$06,$2F,s21,0,0 + D15,$04,$07,$0F,d15,0,0 + D16,$04,$07,$10,d16,0,0 + D17,$04,$07,$11,d17,0,0 +Index: fpc-2.6.0/fpcsrc/compiler/arm/cpuinfo.pas +=================================================================== +--- fpc-2.6.0.orig/fpcsrc/compiler/arm/cpuinfo.pas 2012-03-28 20:18:02.000000000 +0000 ++++ fpc-2.6.0/fpcsrc/compiler/arm/cpuinfo.pas 2012-03-28 20:18:04.000000000 +0000 +@@ -55,7 +55,8 @@ + fpu_fpa10, + fpu_fpa11, + fpu_vfpv2, +- fpu_vfpv3 ++ fpu_vfpv3, ++ fpu_vfpv3_d16 + ); + + tcontrollertype = +@@ -115,14 +116,15 @@ + 'CORTEXM3' + ); + +- fputypestr : array[tfputype] of string[6] = ('', ++ fputypestr : array[tfputype] of string[9] = ('', + 'SOFT', + 'LIBGCC', + 'FPA', + 'FPA10', + 'FPA11', + 'VFPV2', +- 'VFPV3' ++ 'VFPV3', ++ 'VFPV3_D16' + ); + + controllertypestr : array[tcontrollertype] of string[20] = +@@ -164,7 +166,7 @@ + 12 { No model specified } + ); + +- vfp_scalar = [fpu_vfpv2,fpu_vfpv3]; ++ vfp_scalar = [fpu_vfpv2,fpu_vfpv3,fpu_vfpv3_d16]; + + { Supported optimizations, only used for information } + supported_optimizerswitches = genericlevel1optimizerswitches+ +Index: fpc-2.6.0/fpcsrc/compiler/arm/rarmsri.inc +=================================================================== +--- fpc-2.6.0.orig/fpcsrc/compiler/arm/rarmsri.inc 2012-03-28 20:18:02.000000000 +0000 ++++ fpc-2.6.0/fpcsrc/compiler/arm/rarmsri.inc 2012-03-28 20:18:04.000000000 +0000 +@@ -72,7 +72,6 @@ + 53, + 28, + 55, +-70, + 71, + 56, + 58, +@@ -84,6 +83,7 @@ + 67, + 68, + 29, ++70, + 31, + 32, + 34, +Index: fpc-2.6.0/fpcsrc/compiler/arm/narmadd.pas +=================================================================== +--- fpc-2.6.0.orig/fpcsrc/compiler/arm/narmadd.pas 2012-03-28 20:18:02.000000000 +0000 ++++ fpc-2.6.0/fpcsrc/compiler/arm/narmadd.pas 2012-03-28 20:18:04.000000000 +0000 +@@ -164,7 +164,8 @@ + cgsize2fpuoppostfix[def_cgsize(resultdef)])); + end; + fpu_vfpv2, +- fpu_vfpv3: ++ fpu_vfpv3, ++ fpu_vfpv3_d16: + begin + { force mmreg as location, left right doesn't matter + as both will be in a fpureg } +@@ -248,7 +249,8 @@ + cgsize2fpuoppostfix[def_cgsize(resultdef)])); + end; + fpu_vfpv2, +- fpu_vfpv3: ++ fpu_vfpv3, ++ fpu_vfpv3_d16: + begin + location_force_mmregscalar(current_asmdata.CurrAsmList,left.location,true); + location_force_mmregscalar(current_asmdata.CurrAsmList,right.location,true); +Index: fpc-2.6.0/fpcsrc/compiler/arm/cpupi.pas +=================================================================== +--- fpc-2.6.0.orig/fpcsrc/compiler/arm/cpupi.pas 2012-03-28 20:18:02.000000000 +0000 ++++ fpc-2.6.0/fpcsrc/compiler/arm/cpupi.pas 2012-03-28 20:18:04.000000000 +0000 +@@ -106,7 +106,8 @@ + floatsavesize:=(lastfloatreg-firstfloatreg+1)*12; + end; + fpu_vfpv2, +- fpu_vfpv3: ++ fpu_vfpv3, ++ fpu_vfpv3_d16: + begin + floatsavesize:=0; + regs:=cg.rg[R_MMREGISTER].used_in_proc-paramanager.get_volatile_registers_mm(pocall_stdcall); +Index: fpc-2.6.0/fpcsrc/compiler/arm/rarmcon.inc +=================================================================== +--- fpc-2.6.0.orig/fpcsrc/compiler/arm/rarmcon.inc 2012-03-28 20:18:02.000000000 +0000 ++++ fpc-2.6.0/fpcsrc/compiler/arm/rarmcon.inc 2012-03-28 20:18:04.000000000 +0000 +@@ -25,52 +25,52 @@ + NR_F6 = tregister($02000006); + NR_F7 = tregister($02000007); + NR_S0 = tregister($04060000); +-NR_S1 = tregister($04060000); ++NR_S1 = tregister($04060020); + NR_D0 = tregister($04070000); + NR_S2 = tregister($04060001); +-NR_S3 = tregister($04060001); ++NR_S3 = tregister($04060021); + NR_D1 = tregister($04070001); + NR_S4 = tregister($04060002); +-NR_S5 = tregister($04060002); ++NR_S5 = tregister($04060022); + NR_D2 = tregister($04070002); + NR_S6 = tregister($04060003); +-NR_S7 = tregister($04060003); ++NR_S7 = tregister($04060023); + NR_D3 = tregister($04070003); + NR_S8 = tregister($04060004); +-NR_S9 = tregister($04060004); ++NR_S9 = tregister($04060024); + NR_D4 = tregister($04070004); + NR_S10 = tregister($04060005); +-NR_S11 = tregister($04060005); ++NR_S11 = tregister($04060025); + NR_D5 = tregister($04070005); + NR_S12 = tregister($04060006); +-NR_S13 = tregister($04060006); ++NR_S13 = tregister($04060026); + NR_D6 = tregister($04070006); + NR_S14 = tregister($04060007); +-NR_S15 = tregister($04060007); ++NR_S15 = tregister($04060027); + NR_D7 = tregister($04070007); + NR_S16 = tregister($04060008); +-NR_S17 = tregister($04060008); ++NR_S17 = tregister($04060028); + NR_D8 = tregister($04070008); + NR_S18 = tregister($04060009); +-NR_S19 = tregister($04060009); ++NR_S19 = tregister($04060029); + NR_D9 = tregister($04070009); + NR_S20 = tregister($0406000A); +-NR_S21 = tregister($0406000A); ++NR_S21 = tregister($0406002A); + NR_D10 = tregister($0407000A); + NR_S22 = tregister($0406000B); +-NR_S23 = tregister($0406000B); ++NR_S23 = tregister($0406002B); + NR_D11 = tregister($0407000B); + NR_S24 = tregister($0406000C); +-NR_S25 = tregister($0406000C); ++NR_S25 = tregister($0406002C); + NR_D12 = tregister($0407000C); + NR_S26 = tregister($0406000D); +-NR_S27 = tregister($0406000D); ++NR_S27 = tregister($0406002D); + NR_D13 = tregister($0407000D); + NR_S28 = tregister($0406000E); +-NR_S29 = tregister($0406000E); ++NR_S29 = tregister($0406002E); + NR_D14 = tregister($0407000E); + NR_S30 = tregister($0406000F); +-NR_S31 = tregister($0406000F); ++NR_S31 = tregister($0406002F); + NR_D15 = tregister($0407000F); + NR_D16 = tregister($04070010); + NR_D17 = tregister($04070011); +Index: fpc-2.6.0/fpcsrc/compiler/arm/cpupara.pas +=================================================================== +--- fpc-2.6.0.orig/fpcsrc/compiler/arm/cpupara.pas 2012-03-28 20:18:02.000000000 +0000 ++++ fpc-2.6.0/fpcsrc/compiler/arm/cpupara.pas 2012-03-28 20:18:04.000000000 +0000 +@@ -44,9 +44,9 @@ + function create_varargs_paraloc_info(p : tabstractprocdef; varargspara:tvarargsparalist):longint;override; + function get_funcretloc(p : tabstractprocdef; side: tcallercallee; def: tdef): tcgpara;override; + private +- procedure init_values(var curintreg, curfloatreg, curmmreg: tsuperregister; var cur_stack_offset: aword); ++ procedure init_values(var curintreg, curfloatreg, curmmreg: tsuperregister; var cur_stack_offset: aword; var sparesinglereg: tregister); + function create_paraloc_info_intern(p : tabstractprocdef; side: tcallercallee; paras: tparalist; +- var curintreg, curfloatreg, curmmreg: tsuperregister; var cur_stack_offset: aword):longint; ++ var curintreg, curfloatreg, curmmreg: tsuperregister; var cur_stack_offset: aword; var sparesinglereg: tregister; isvariadic: boolean):longint; + procedure create_funcretloc_info(p : tabstractprocdef; side: tcallercallee); + end; + +@@ -110,7 +110,7 @@ + end; + + +- function getparaloc(calloption : tproccalloption; p : tdef) : tcgloc; ++ function getparaloc(calloption : tproccalloption; p : tdef; isvariadic: boolean) : tcgloc; + begin + { Later, the LOC_REFERENCE is in most cases changed into LOC_REGISTER + if push_addr_param for the def is true +@@ -119,11 +119,15 @@ + orddef: + getparaloc:=LOC_REGISTER; + floatdef: +- if (calloption in [pocall_cdecl,pocall_cppdecl,pocall_softfloat]) or ++ if (target_info.abi = abi_eabihf) and ++ (not isvariadic) then ++ getparaloc:=LOC_MMREGISTER ++ else if (calloption in [pocall_cdecl,pocall_cppdecl,pocall_softfloat]) or + (cs_fp_emulation in current_settings.moduleswitches) or +- (current_settings.fputype in [fpu_vfpv2,fpu_vfpv3]) then ++ (current_settings.fputype in [fpu_vfpv2,fpu_vfpv3,fpu_vfpv3_d16]) then + { the ARM eabi also allows passing VFP values via VFP registers, +- but at least neither Mac OS X nor Linux seems to do that } ++ but Mac OS X doesn't seem to do that and linux only does it if ++ built with the "-mfloat-abi=hard" option } + getparaloc:=LOC_REGISTER + else + getparaloc:=LOC_FPUREGISTER; +@@ -213,17 +217,18 @@ + end; + + +- procedure tarmparamanager.init_values(var curintreg, curfloatreg, curmmreg: tsuperregister; var cur_stack_offset: aword); ++ procedure tarmparamanager.init_values(var curintreg, curfloatreg, curmmreg: tsuperregister; var cur_stack_offset: aword; var sparesinglereg: tregister); + begin + curintreg:=RS_R0; + curfloatreg:=RS_F0; + curmmreg:=RS_D0; + cur_stack_offset:=0; ++ sparesinglereg := NR_NO; + end; + + + function tarmparamanager.create_paraloc_info_intern(p : tabstractprocdef; side: tcallercallee; paras: tparalist; +- var curintreg, curfloatreg, curmmreg: tsuperregister; var cur_stack_offset: aword):longint; ++ var curintreg, curfloatreg, curmmreg: tsuperregister; var cur_stack_offset: aword; var sparesinglereg: tregister; isvariadic: boolean):longint; + + var + nextintreg,nextfloatreg,nextmmreg : tsuperregister; +@@ -302,7 +307,7 @@ + paralen := paradef.size + else + paralen := tcgsize2size[def_cgsize(paradef)]; +- loc := getparaloc(p.proccalloption,paradef); ++ loc := getparaloc(p.proccalloption,paradef,isvariadic); + if (paradef.typ in [objectdef,arraydef,recorddef]) and + not is_special_array(paradef) and + (hp.varspez in [vs_value,vs_const]) then +@@ -349,7 +354,7 @@ + LOC_REGISTER: + begin + { align registers for eabi } +- if (target_info.abi=abi_eabi) and ++ if (target_info.abi in [abi_eabi,abi_eabihf]) and + firstparaloc and + (paradef.alignment=8) then + begin +@@ -405,6 +410,52 @@ + end; + end; + end; ++ LOC_MMREGISTER: ++ begin ++ if (nextmmreg<=RS_D7) or ++ ((paraloc^.size = OS_F32) and ++ (sparesinglereg<>NR_NO)) then ++ begin ++ paraloc^.loc:=LOC_MMREGISTER; ++ case paraloc^.size of ++ OS_F32: ++ if sparesinglereg = NR_NO then ++ begin ++ paraloc^.register:=newreg(R_MMREGISTER,nextmmreg,R_SUBFS); ++ sparesinglereg:=newreg(R_MMREGISTER,nextmmreg-RS_S0+RS_S1,R_SUBFS); ++ inc(nextmmreg); ++ end ++ else ++ begin ++ paraloc^.register:=sparesinglereg; ++ sparesinglereg := NR_NO; ++ end; ++ OS_F64: ++ begin ++ paraloc^.register:=newreg(R_MMREGISTER,nextmmreg,R_SUBFD); ++ inc(nextmmreg); ++ end; ++ else ++ internalerror(2012031601); ++ end; ++ end ++ else ++ begin ++ { once a floating point parameters has been placed ++ on the stack we must not pass any more in vfp regs ++ even if there is a single precision register still ++ free} ++ sparesinglereg := NR_NO; ++ { LOC_REFERENCE always contains everything that's left } ++ paraloc^.loc:=LOC_REFERENCE; ++ paraloc^.size:=int_cgsize(paralen); ++ if (side=callerside) then ++ paraloc^.reference.index:=NR_STACK_POINTER_REG; ++ paraloc^.reference.offset:=stack_offset; ++ inc(stack_offset,align(paralen,4)); ++ paralen:=0; ++ end; ++ end; + LOC_REFERENCE: + begin + if push_addr_param(hp.varspez,paradef,p.proccalloption) then +@@ -415,7 +466,7 @@ + else + begin + { align stack for eabi } +- if (target_info.abi=abi_eabi) and ++ if (target_info.abi in [abi_eabi,abi_eabihf]) and + firstparaloc and + (paradef.alignment=8) then + stack_offset:=align(stack_offset,8); +@@ -499,9 +550,28 @@ + { Return in FPU register? } + if def.typ=floatdef then + begin +- if (p.proccalloption in [pocall_softfloat]) or ++ if target_info.abi = abi_eabihf then ++ begin ++ paraloc^.loc:=LOC_MMREGISTER; ++ case retcgsize of ++ OS_64, ++ OS_F64: ++ begin ++ paraloc^.register:=NR_MM_RESULT_REG; ++ end; ++ OS_32, ++ OS_F32: ++ begin ++ paraloc^.register:=NR_S0; ++ end; ++ else ++ internalerror(2012032501); ++ end; ++ paraloc^.size:=retcgsize; ++ end ++ else if (p.proccalloption in [pocall_softfloat]) or + (cs_fp_emulation in current_settings.moduleswitches) or +- (current_settings.fputype in [fpu_vfpv2,fpu_vfpv3]) then ++ (current_settings.fputype in [fpu_vfpv2,fpu_vfpv3,fpu_vfpv3_d16]) then + begin + case retcgsize of + OS_64, +@@ -563,10 +633,11 @@ + var + cur_stack_offset: aword; + curintreg, curfloatreg, curmmreg: tsuperregister; ++ sparesinglereg:tregister; + begin +- init_values(curintreg,curfloatreg,curmmreg,cur_stack_offset); ++ init_values(curintreg,curfloatreg,curmmreg,cur_stack_offset,sparesinglereg); + +- result:=create_paraloc_info_intern(p,side,p.paras,curintreg,curfloatreg,curmmreg,cur_stack_offset); ++ result:=create_paraloc_info_intern(p,side,p.paras,curintreg,curfloatreg,curmmreg,cur_stack_offset,sparesinglereg,false); + + create_funcretloc_info(p,side); + end; +@@ -576,13 +647,14 @@ + var + cur_stack_offset: aword; + curintreg, curfloatreg, curmmreg: tsuperregister; ++ sparesinglereg:tregister; + begin +- init_values(curintreg,curfloatreg,curmmreg,cur_stack_offset); ++ init_values(curintreg,curfloatreg,curmmreg,cur_stack_offset,sparesinglereg); + +- result:=create_paraloc_info_intern(p,callerside,p.paras,curintreg,curfloatreg,curmmreg,cur_stack_offset); ++ result:=create_paraloc_info_intern(p,callerside,p.paras,curintreg,curfloatreg,curmmreg,cur_stack_offset,sparesinglereg,true); + if (p.proccalloption in [pocall_cdecl,pocall_cppdecl]) then + { just continue loading the parameters in the registers } +- result:=create_paraloc_info_intern(p,callerside,varargspara,curintreg,curfloatreg,curmmreg,cur_stack_offset) ++ result:=create_paraloc_info_intern(p,callerside,varargspara,curintreg,curfloatreg,curmmreg,cur_stack_offset,sparesinglereg,true) + else + internalerror(200410231); + end; +Index: fpc-2.6.0/fpcsrc/compiler/systems/i_linux.pas +=================================================================== +--- fpc-2.6.0.orig/fpcsrc/compiler/systems/i_linux.pas 2012-03-28 20:18:02.000000000 +0000 ++++ fpc-2.6.0/fpcsrc/compiler/systems/i_linux.pas 2012-03-28 20:18:04.000000000 +0000 +@@ -534,6 +534,70 @@ + abi : abi_default + ); + ++{$ifdef FPC_ARMHF} ++ system_arm_linux_info : tsysteminfo = ++ ( ++ system : system_arm_Linux; ++ name : 'Linux for ARMHF'; ++ shortname : 'Linux'; ++ flags : [tf_needs_symbol_size,tf_needs_symbol_type,tf_files_case_sensitive, ++ tf_requires_proper_alignment, ++ tf_smartlink_sections,tf_smartlink_library,tf_has_winlike_resources]; ++ cpu : cpu_arm; ++ unit_env : 'LINUXUNITS'; ++ extradefines : 'UNIX;HASUNIX;CPUARMHF'; ++ exeext : ''; ++ defext : '.def'; ++ scriptext : '.sh'; ++ smartext : '.sl'; ++ unitext : '.ppu'; ++ unitlibext : '.ppl'; ++ asmext : '.s'; ++ objext : '.o'; ++ resext : '.res'; ++ resobjext : '.or'; ++ sharedlibext : '.so'; ++ staticlibext : '.a'; ++ staticlibprefix : 'libp'; ++ sharedlibprefix : 'lib'; ++ sharedClibext : '.so'; ++ staticClibext : '.a'; ++ staticClibprefix : 'lib'; ++ sharedClibprefix : 'lib'; ++ importlibprefix : 'libimp'; ++ importlibext : '.a'; ++ Cprefix : ''; ++ newline : #10; ++ dirsep : '/'; ++ assem : as_gas; ++ assemextern : as_gas; ++ link : nil; ++ linkextern : nil; ++ ar : ar_gnu_ar; ++ res : res_elf; ++ dbg : dbg_stabs; ++ script : script_unix; ++ endian : endian_little; ++ alignment : ++ ( ++ procalign : 4; ++ loopalign : 4; ++ jumpalign : 0; ++ constalignmin : 0; ++ constalignmax : 8; ++ varalignmin : 0; ++ varalignmax : 8; ++ localalignmin : 4; ++ localalignmax : 8; ++ recordalignmin : 0; ++ recordalignmax : 8; ++ maxCrecordalign : 8 ++ ); ++ first_parm_offset : 8; ++ stacksize : 8*1024*1024; ++ abi : abi_eabihf ++ ); ++{$else FPC_ARMHF} + {$ifdef FPC_ARMEL} + system_arm_linux_info : tsysteminfo = + ( +@@ -726,6 +790,7 @@ + ); + {$endif FPC_ARMEB} + {$endif FPC_ARMEL} ++{$endif FPC_ARMHF} + + system_mips_linux_info : tsysteminfo = + ( +Index: fpc-2.6.0/fpcsrc/compiler/systems/t_linux.pas +=================================================================== +--- fpc-2.6.0.orig/fpcsrc/compiler/systems/t_linux.pas 2012-03-28 20:18:02.000000000 +0000 ++++ fpc-2.6.0/fpcsrc/compiler/systems/t_linux.pas 2012-03-28 20:18:33.000000000 +0000 +@@ -185,11 +185,15 @@ + {$endif powerpc64} + + {$ifdef arm} ++{$ifdef FPC_ARMHF} ++ defdynlinker:='/lib/arm-linux-gnueabihf/ld-linux.so.3'; ++{$else FPC_ARMHF} + {$ifdef FPC_ARMEL} + defdynlinker:='/lib/ld-linux.so.3'; + {$else FPC_ARMEL} + defdynlinker:='/lib/ld-linux.so.2'; + {$endif FPC_ARMEL} ++{$endif FPC_ARMHF} + {$endif arm} + + {$ifdef mips} +Index: fpc-2.6.0/fpcsrc/compiler/options.pas +=================================================================== +--- fpc-2.6.0.orig/fpcsrc/compiler/options.pas 2012-03-28 20:18:02.000000000 +0000 ++++ fpc-2.6.0/fpcsrc/compiler/options.pas 2012-03-28 20:18:04.000000000 +0000 +@@ -2660,6 +2660,11 @@ + undef_system_macro('FPC_ABI_'+abi2str[abi]); + def_system_macro('FPC_ABI_'+abi2str[target_info.abi]); + ++ { Define FPC_ABI_EABI in addition to FPC_ABI_EABIHF on EABI VFP hardfloat ++ systems since most code needs to behave the same on both} ++ if target_info.abi = abi_eabihf then ++ def_system_macro('FPC_ABI_EABI'); ++ + { Write logo } + if option.ParaLogo then + option.writelogo; +@@ -2823,6 +2828,24 @@ + end; + + {$ifdef arm} ++ if target_info.abi = abi_eabihf then ++ begin ++ if not(option.FPUSetExplicitly) then ++ begin ++ init_settings.fputype:=fpu_vfpv3_d16 ++ end ++ else ++ begin ++ if not (init_settings.fputype in [fpu_vfpv2,fpu_vfpv3,fpu_vfpv3_d16]) then ++ begin ++ Message(option_illegal_fpu_eabihf); ++ StopOptions(1); ++ end; ++ end; ++ end; ++{$endif arm} ++ ++{$ifdef arm} + { set default cpu type to ARMv6 for Darwin unless specified otherwise } + if (target_info.system=system_arm_darwin) then + begin +@@ -2831,6 +2854,16 @@ + if not option.OptCPUSetExplicitly then + init_settings.optimizecputype:=cpu_armv6; + end; ++ ++{ set default cpu type to ARMv7 for ARMHF unless specified otherwise } ++if (target_info.abi = abi_eabihf) then ++ begin ++ if not option.CPUSetExplicitly then ++ init_settings.cputype:=cpu_armv7; ++ if not option.OptCPUSetExplicitly then ++ init_settings.optimizecputype:=cpu_armv7; ++ end; ++ + {$endif arm} + + { now we can define cpu and fpu type } +Index: fpc-2.6.0/fpcsrc/compiler/msg/errore.msg +=================================================================== +--- fpc-2.6.0.orig/fpcsrc/compiler/msg/errore.msg 2012-03-28 20:18:02.000000000 +0000 ++++ fpc-2.6.0/fpcsrc/compiler/msg/errore.msg 2012-03-28 20:18:04.000000000 +0000 +@@ -2807,7 +2807,7 @@ + # + # Options + # +-# 11048 is the last used one ++# 11049 is the last used one + # + option_usage=11000_O_$1 [options] [options] + # BeginOfTeX +@@ -2934,6 +2934,8 @@ + % Not all debug formats can be stored in an external file on all platforms. In particular, on + % Mac OS X only DWARF debug information can be stored externally. + %\end{description} ++option_illegal_fpu_eabihf=11049_E_You must use a FPU type of VFPV2, VFPV3 or VFPV3_D16 when using the EABIHF ABI target ++% The EABIHF (VFP hardfloat) ABI target can only be used with VFP FPUs. + # EndOfTeX + + # +Index: fpc-2.6.0/fpcsrc/compiler/arm/agarmgas.pas +=================================================================== +--- fpc-2.6.0.orig/fpcsrc/compiler/arm/agarmgas.pas 2012-03-28 20:18:02.000000000 +0000 ++++ fpc-2.6.0/fpcsrc/compiler/arm/agarmgas.pas 2012-03-28 20:18:04.000000000 +0000 +@@ -80,11 +80,19 @@ + result:=inherited MakeCmdLine; + if (current_settings.fputype = fpu_soft) then + result:='-mfpu=softvfp '+result; +- ++ if (current_settings.fputype = fpu_vfpv2) then ++ result:='-mfpu=vfpv2 '+result; ++ if (current_settings.fputype = fpu_vfpv3) then ++ result:='-mfpu=vfpv3 '+result; ++ if (current_settings.fputype = fpu_vfpv3_d16) then ++ result:='-mfpu=vfpv3-d16 '+result; + if current_settings.cputype = cpu_cortexm3 then + result:='-mcpu=cortex-m3 -mthumb -mthumb-interwork '+result; + if current_settings.cputype = cpu_armv7m then + result:='-march=armv7m -mthumb -mthumb-interwork '+result; ++ if target_info.abi = abi_eabihf then ++ { options based on what gcc uses on debian armhf } ++ result:='-mfloat-abi=hard -meabi=5 '+result; + end; + + procedure TArmGNUAssembler.WriteExtraHeader; +Index: fpc-2.6.0/fpcsrc/compiler/fpcdefs.inc +=================================================================== +--- fpc-2.6.0.orig/fpcsrc/compiler/fpcdefs.inc 2012-03-28 20:18:02.000000000 +0000 ++++ fpc-2.6.0/fpcsrc/compiler/fpcdefs.inc 2012-03-28 20:18:04.000000000 +0000 +@@ -111,13 +111,17 @@ + {$define cpuneedsdiv32helper} + {$define cputargethasfixedstack} + { inherit FPC_ARMEL? } +- {$if defined(CPUARMEL) and not(defined(FPC_OARM)) and not(defined(FPC_ARMEB))} ++ {$if defined(CPUARMEL) and not(defined(FPC_OARM)) and not(defined(FPC_ARMEB)) and not(defined(FPC_ARMHF))} + {$define FPC_ARMEL} + {$endif} + { inherit FPC_ARMEB? } +- {$if defined(CPUARMEB) and not(defined(FPC_OARM)) and not(defined(FPC_ARMEL))} ++ {$if defined(CPUARMEB) and not(defined(FPC_OARM)) and not(defined(FPC_ARMEL)) and not(defined(FPC_ARMHF))} + {$define FPC_ARMEB} + {$endif} ++ { inherit FPC_ARMHF? } ++ {$if defined(CPUARMHF) and not(defined(FPC_OARM)) and not(defined(FPC_ARMEL)) and not(defined(FPC_ARMEB))} ++ {$define FPC_ARMHF} ++ {$endif} + {$endif arm} + + {$ifdef m68k} diff --git a/patches/fix-FPCDIR-in-fpcmake.diff b/patches/fix-FPCDIR-in-fpcmake.diff new file mode 100644 index 00000000..47a7c273 --- /dev/null +++ b/patches/fix-FPCDIR-in-fpcmake.diff @@ -0,0 +1,71 @@ +This patch fixes evaluation of default value for FPCDIR. (Closes: bug#662814) + +Index: fpcbuild/fpcsrc/utils/fpcm/fpcmmain.pp +=================================================================== +--- fpcbuild/fpcsrc/utils/fpcm/fpcmmain.pp (revision 20644) ++++ fpcbuild/fpcsrc/utils/fpcm/fpcmmain.pp (working copy) +@@ -303,6 +303,46 @@ + end; + + ++{$ifdef UNIX} ++{$ifndef NO_UNIX_UNIT} ++ function ReadLink(LinkName: ansistring; Depth: byte = 0): ansistring; ++ { ++ Read a link (where it points to) ++ @Param LinkName ++ @Param Depth ++ 0 means raw link value (could be relative path) ++ 1 means expanded full path and name to liked file ++ 2..255 follow links recursively up to Depth level ++ } ++ var ++ LinkedFileName: PChar; ++ i: cInt; ++ begin ++ GetMem(LinkedFileName, PATH_MAX + 1); ++ Result := ExpandFileName(LinkName); ++ repeat ++ i := fpReadLink(PChar(Result), LinkedFileName, PATH_MAX); ++ if i >= 0 then begin ++ LinkedFileName[i] := #0; ++ if Depth > 0 then begin ++ Result := ExpandFileName(FileSearch(LinkedFileName, PathSep + ExtractFileDir(Result))); ++ Dec(Depth); ++ end else begin ++ Result := LinkedFileName; ++ end; ++ end; ++ until (i <= 0) or (Depth <= 0); ++ if i < 0 then begin ++ if FpGetErrNo <> ESysEINVAL then begin ++ Result := ''; ++ end; ++ end; ++ FreeMem(LinkedFileName, PATH_MAX + 1); ++ end; ++{$endif UNIX} ++{$endif NO_UNIX_UNIT} ++ ++ + function posidx(const substr,s : string;idx:integer):integer; + var + i,j : integer; +@@ -1203,7 +1243,7 @@ + end; + if FileExists('/usr/local/bin/ppc' + ppcSuffix[cpu]) then + begin +- s:=ExtractFilePath({$ifdef ver1_0}ReadLink{$else}fpReadlink{$endif}('/usr/local/bin/ppc' + ppcSuffix[cpu])); ++ s:=ExtractFilePath(ReadLink('/usr/local/bin/ppc' + ppcSuffix[cpu], 255)); + if s<>'' then + begin + if s[length(s)]='/' then +@@ -1215,7 +1255,7 @@ + begin + if FileExists('/usr/bin/ppc' + ppcSuffix[cpu]) then + begin +- s:=ExtractFilePath({$ifdef ver1_0}ReadLink{$else}fpReadLink{$endif}('/usr/bin/ppc' + ppcSuffix[cpu])); ++ s:=ExtractFilePath(ReadLink('/usr/bin/ppc' + ppcSuffix[cpu], 255)); + if s<>'' then + begin + if s[length(s)]='/' then diff --git a/patches/fix-creating-help-index-on-read-only-file-system.diff b/patches/fix-creating-help-index-on-read-only-file-system.diff new file mode 100644 index 00000000..b3870908 --- /dev/null +++ b/patches/fix-creating-help-index-on-read-only-file-system.diff @@ -0,0 +1,110 @@ +This patch removes error thrown when trying to build help index if the +documentation is installed on a read only file system and tries to store the +index file in current directory. (Closes: bug#662814) + +diff --git fpcbuild~/fpcsrc/ide/fpmhelp.inc fpcbuild/fpcsrc/ide/fpmhelp.inc +index 1823941..fcabddb 100644 +--- fpcbuild~/fpcsrc/ide/fpmhelp.inc ++++ fpcbuild/fpcsrc/ide/fpmhelp.inc +@@ -132,13 +132,48 @@ begin + end; + + procedure THelpFilesDialog.HandleEvent(var Event: TEvent); ++ function StoreHtmlIndexFile(const FileName: string; LS: PFPHTMLFileLinkScanner;var Re: Word; SilentFails: Boolean): Boolean; ++ var ++ BS: PBufStream; ++ begin ++ if ExistsFile(FileName) then ++ if ConfirmBox(FormatStrStr(msg_filealreadyexistsoverwrite,FileName),nil,true)<>cmYes then ++ Re:=cmCancel; ++ if Re<>cmCancel then ++ begin ++ PushStatus(FormatStrStr(msg_storinghtmlindexinfile,FileName)); ++ New(BS, Init(FileName, stCreate, 4096)); ++ if Assigned(BS)=false then ++ begin ++ if not SilentFails then ++ begin ++ ErrorBox(FormatStrStr(msg_cantcreatefile,FileName),nil); ++ end; ++ Re:=cmCancel; ++ end ++ else ++ begin ++ LS^.StoreDocuments(BS^); ++ if BS^.Status<>stOK then ++ begin ++ if not SilentFails then ++ begin ++ ErrorBox(FormatStrInt(msg_errorstoringindexdata,BS^.Status),nil); ++ end; ++ Re:=cmCancel; ++ end; ++ Dispose(BS, Done); ++ end; ++ PopStatus; ++ end; ++ StoreHtmlIndexFile := Re <> cmCancel; ++ end; + var I: integer; + D: PFileDialog; + FileName: string; + Re: word; + S: string; + LS: PFPHTMLFileLinkScanner; +- BS: PBufStream; + begin + case Event.What of + evKeyDown : +@@ -193,30 +228,15 @@ begin + else + begin + FileName:=DirAndNameOf(FileName)+HTMLIndexExt; +- if ExistsFile(FileName) then +- if ConfirmBox(FormatStrStr(msg_filealreadyexistsoverwrite,FileName),nil,true)<>cmYes then +- Re:=cmCancel; +- if Re<>cmCancel then ++ if not StoreHtmlIndexFile(FileName, LS, Re, True) then + begin +- PushStatus(FormatStrStr(msg_storinghtmlindexinfile,FileName)); +- New(BS, Init(FileName, stCreate, 4096)); +- if Assigned(BS)=false then +- begin +- ErrorBox(FormatStrStr(msg_cantcreatefile,FileName),nil); +- Re:=cmCancel; +- end +- else +- begin +- LS^.StoreDocuments(BS^); +- if BS^.Status<>stOK then +- begin +- ErrorBox(FormatStrInt(msg_errorstoringindexdata,BS^.Status),nil); +- Re:=cmCancel; +- end; +- Dispose(BS, Done); +- end; +- PopStatus; +- end; ++ Re:=ConfirmBox(FormatStrStr('Could not create "%s", try creating it in local dir?', FileName),nil,true); ++ FileName := GetCurDir + NameAndExtOf(FileName); ++ if Re = cmYes then ++ begin ++ StoreHtmlIndexFile(FileName, LS, Re, False); ++ end; ++ end + end; + Dispose(LS, Done); + PopStatus; +diff --git fpcbuild~/fpcsrc/ide/whtmlhlp.pas fpcbuild/fpcsrc/ide/whtmlhlp.pas +index 7df67af..216a218 100644 +--- fpcbuild~/fpcsrc/ide/whtmlhlp.pas ++++ fpcbuild/fpcsrc/ide/whtmlhlp.pas +@@ -1615,7 +1615,7 @@ begin + OK:=Assigned(LS); + if OK then + begin +- LS^.SetBaseDir(DirOf(IndexFileName)); ++ {LS^.SetBaseDir(DirOf(IndexFileName)); already set by LoadDocuments to real base dire stored into htx file. This allows storing toc file in current dir in case doc installation dir is read only.} + for I:=0 to LS^.GetDocumentCount-1 do + begin + TLI:=TopicLinks^.AddItem(LS^.GetDocumentURL(I)); diff --git a/patches/fix-vfp-exceptions.diff b/patches/fix-vfp-exceptions.diff new file mode 100644 index 00000000..2faaba8e --- /dev/null +++ b/patches/fix-vfp-exceptions.diff @@ -0,0 +1,60 @@ +--- a/fpcsrc/rtl/arm/mathu.inc 2012/03/29 20:50:09 20660 ++++ b/fpcsrc/rtl/arm/mathu.inc 2012/07/23 07:26:57 21952 +@@ -281,22 +281,22 @@ + Result:=[]; + cw:=VFP_GetCW; + +- if (cw and _VFP_ENABLE_IM)<>0 then ++ if (cw and _VFP_ENABLE_IM)=0 then + include(Result,exInvalidOp); + +- if (cw and _VFP_ENABLE_DM)<>0 then ++ if (cw and _VFP_ENABLE_DM)=0 then + include(Result,exDenormalized); + +- if (cw and _VFP_ENABLE_ZM)<>0 then ++ if (cw and _VFP_ENABLE_ZM)=0 then + include(Result,exZeroDivide); + +- if (cw and _VFP_ENABLE_OM)<>0 then ++ if (cw and _VFP_ENABLE_OM)=0 then + include(Result,exOverflow); + +- if (cw and _VFP_ENABLE_UM)<>0 then ++ if (cw and _VFP_ENABLE_UM)=0 then + include(Result,exUnderflow); + +- if (cw and _VFP_ENABLE_PM)<>0 then ++ if (cw and _VFP_ENABLE_PM)=0 then + include(Result,exPrecision); + end; + +@@ -308,22 +308,22 @@ + cw:=VFP_GetCW and not(_VFP_ENABLE_ALL); + + {$ifndef darwin} +- if exInvalidOp in Mask then ++ if not(exInvalidOp in Mask) then + cw:=cw or _VFP_ENABLE_IM; + +- if exDenormalized in Mask then ++ if not(exDenormalized in Mask) then + cw:=cw or _VFP_ENABLE_DM; + +- if exZeroDivide in Mask then ++ if not(exZeroDivide in Mask) then + cw:=cw or _VFP_ENABLE_ZM; + +- if exOverflow in Mask then ++ if not(exOverflow in Mask) then + cw:=cw or _VFP_ENABLE_OM; + +- if exUnderflow in Mask then ++ if not(exUnderflow in Mask) then + cw:=cw or _VFP_ENABLE_UM; + +- if exPrecision in Mask then ++ if not(exPrecision in Mask) then + cw:=cw or _VFP_ENABLE_PM; + {$endif} + VFP_SetCW(cw); diff --git a/patches/regenerate_messages.diff b/patches/regenerate_messages.diff new file mode 100644 index 00000000..59d0ab3b --- /dev/null +++ b/patches/regenerate_messages.diff @@ -0,0 +1,586 @@ +Index: fpc-2.6.0.new/fpcsrc/compiler/msgidx.inc +=================================================================== +--- fpc-2.6.0.new.orig/fpcsrc/compiler/msgidx.inc 2011-08-29 19:03:52.000000000 +0000 ++++ fpc-2.6.0.new/fpcsrc/compiler/msgidx.inc 2012-03-26 00:01:48.000000000 +0000 +@@ -874,6 +874,7 @@ + option_dwarf_smart_linking=11046; + option_ignored_target=11047; + option_debug_external_unsupported=11048; ++ option_illegal_fpu_eabihf=11049; + wpo_cant_find_file=12000; + wpo_begin_processing=12001; + wpo_end_processing=12002; +@@ -898,9 +899,9 @@ + option_info=11024; + option_help_pages=11025; + +- MsgTxtSize = 60934; ++ MsgTxtSize = 61028; + + MsgIdxMax : array[1..20] of longint=( + 24,89,314,103,85,54,111,23,202,63, +- 49,20,1,1,1,1,1,1,1,1 ++ 50,20,1,1,1,1,1,1,1,1 + ); +Index: fpc-2.6.0.new/fpcsrc/compiler/msgtxt.inc +=================================================================== +--- fpc-2.6.0.new.orig/fpcsrc/compiler/msgtxt.inc 2011-08-29 19:03:52.000000000 +0000 ++++ fpc-2.6.0.new/fpcsrc/compiler/msgtxt.inc 2012-03-26 00:01:48.000000000 +0000 +@@ -1,7 +1,7 @@ + {$ifdef Delphi} +-const msgtxt : array[0..000253] of string[240]=( ++const msgtxt : array[0..000254] of string[240]=( + {$else Delphi} +-const msgtxt : array[0..000253,1..240] of char=( ++const msgtxt : array[0..000254,1..240] of char=( + {$endif Delphi} + '01000_T_Compiler: $1'#000+ + '01001_D_Compiler OS: $1'#000+ +@@ -1029,60 +1029,62 @@ + '11047_W_Option "$1" is ignored for t','he current target platform.'#000+ + '11048_W_Disabling external debug information because it is unsupported'+ + ' for the selected target/debug format combination.'#000+ ++ '11049_E_You must use a FPU type of VFPV2, VFPV3 or VFPV3_D16 when usin'+ ++ 'g the EABIHF ABI targ','et'#000+ + '12000_F_Cannot open whole program optimization feedback file "$1"'#000+ +- '12001_D_Processing whole ','program optimization information in wpo fee'+ +- 'dback file "$1"'#000+ ++ '12001_D_Processing whole program optimization information in wpo feedb'+ ++ 'ack file "$1"'#000+ + '12002_D_Finished processing the whole program optimization information'+ +- ' in wpo feedback file "$1"'#000+ ++ ' in wpo feedback ','file "$1"'#000+ + '12003_E_Expected section header, but got "$2" at line $1 of wpo feedba'+ + 'ck file'#000+ +- '12004_','W_No handler registered for whole program optimization section'+ +- ' "$2" at line $1 of wpo feedback file, ignoring'#000+ +- '12005_D_Found whole program optimization section "$1" with information'+ +- ' about "$2"'#000+ +- '12006_F_The selected whole program optimizations',' require a previousl'+ +- 'y generated feedback file (use -Fw to specify)'#000+ ++ '12004_W_No handler registered for whole program optimization section "'+ ++ '$2" at line $1 of wpo feedback file, ignoring'#000+ ++ '12005_D_Found whole program optimiza','tion section "$1" with informati'+ ++ 'on about "$2"'#000+ ++ '12006_F_The selected whole program optimizations require a previously '+ ++ 'generated feedback file (use -Fw to specify)'#000+ + '12007_E_No collected information necessary to perform "$1" whole progr'+ +- 'am optimization found'#000+ ++ 'am optimi','zation found'#000+ + '12008_F_Specify a whole program optimization feedback file to store th'+ +- 'e generated',' info in (using -FW)'#000+ ++ 'e generated info in (using -FW)'#000+ + '12009_E_Not generating any whole program optimization information, yet'+ + ' a feedback file was specified (using -FW)'#000+ +- '12010_E_Not performing any whole program optimizations, yet an input f'+ +- 'eedback file was specified (using -F','w)'#000+ ++ '12010_E_Not ','performing any whole program optimizations, yet an input'+ ++ ' feedback file was specified (using -Fw)'#000+ + '12011_D_Skipping whole program optimization section "$1", because not '+ + 'needed by the requested optimizations'#000+ +- '12012_W_Overriding previously read information for "$1" from feedback '+ +- 'input file using information in section "$2"'#000+ +- '12013_E_Cannot',' extract symbol liveness information from program when'+ +- ' stripping symbols, use -Xs-'#000+ +- '12014_E_Cannot extract symbol liveness information from program when w'+ +- 'hen not linking'#000+ ++ '12012_W_Overriding previously read ','information for "$1" from feedbac'+ ++ 'k input file using information in section "$2"'#000+ ++ '12013_E_Cannot extract symbol liveness information from program when s'+ ++ 'tripping symbols, use -Xs-'#000+ ++ '12014_E_Cannot extract symbol liveness information from program',' when'+ ++ ' when not linking'#000+ + '12015_F_Cannot find "$1" or "$2" to extract symbol liveness informatio'+ +- 'n',' from linked program'#000+ ++ 'n from linked program'#000+ + '12016_E_Error during reading symbol liveness information produced by "'+ + '$1"'#000+ +- '12017_F_Error executing "$1" (exitcode: $2) to extract symbol informat'+ +- 'ion from linked program'#000+ +- '12018_E_Collection of symbol liveness information c','an only help when'+ +- ' using smart linking, use -CX -XX'#000+ ++ '12017_F_Error executing "$1" (exitcode: $2) to extr','act symbol inform'+ ++ 'ation from linked program'#000+ ++ '12018_E_Collection of symbol liveness information can only help when u'+ ++ 'sing smart linking, use -CX -XX'#000+ + '12019_E_Cannot create specified whole program optimisation feedback fi'+ + 'le "$1"'#000+ +- '11023_Free Pascal Compiler version $FPCFULLVERSION [$FPCDATE] for $FPC'+ +- 'CPU'#010+ +- 'Copyright (c) 1993-2011 by Florian Kl','aempfl and others'#000+ ++ '11023_Free Pascal',' Compiler version $FPCFULLVERSION [$FPCDATE] for $F'+ ++ 'PCCPU'#010+ ++ 'Copyright (c) 1993-2011 by Florian Klaempfl and others'#000+ + '11024_Free Pascal Compiler version $FPCVERSION'#010+ + #010+ + 'Compiler Date : $FPCDATE'#010+ + 'Compiler CPU Target: $FPCCPU'#010+ + #010+ + 'Supported targets:'#010+ +- ' $OSTARGETS'#010+ ++ ' ',' $OSTARGETS'#010+ + #010+ + 'Supported CPU instruction sets:'#010+ + ' $INSTRUCTIONSETS'#010+ + #010+ +- 'Supported FPU instruction set','s:'#010+ ++ 'Supported FPU instruction sets:'#010+ + ' $FPUINSTRUCTIONSETS'#010+ + #010+ + 'Supported ABI targets:'#010+ +@@ -1091,333 +1093,332 @@ + 'Supported Optimizations:'#010+ + ' $OPTIMIZATIONS'#010+ + #010+ +- 'Supported Whole Program Optimizations:'#010+ ++ 'Supported Whole Program Optimizations:'#010, + ' All'#010+ + ' $WPOPTIMIZATIONS'#010+ + #010+ + 'Supported Microcontroller types:'#010+ + ' $CONTROLLERTYPES'#010+ + #010+ +- 'This program co','mes under the GNU General Public Licence'#010+ ++ 'This program comes under the GNU General Public Licence'#010+ + 'For more information read COPYING.FPC'#010+ + #010+ + 'Report bugs, suggestions, etc. to:'#010+ +- ' http://bugs.freepascal.org'#010+ ++ ' http://bugs.fr','eepascal.org'#010+ + 'or'#010+ + ' bugs@freepascal.org'#000+ +- '11025_**0*_Put + after a boolean switch o','ption to enable it, - to di'+ +- 'sable it'#010+ ++ '11025_**0*_Put + after a boolean switch option to enable it, - to disa'+ ++ 'ble it'#010+ + '**1a_The compiler doesn'#039't delete the generated assembler file'#010+ + '**2al_List sourcecode lines in assembler file'#010+ +- '**2an_List node info in assembler file'#010+ +- '*L2ap_Use pipes instead of creating temporary assembler f','iles'#010+ ++ '**','2an_List node info in assembler file'#010+ ++ '*L2ap_Use pipes instead of creating temporary assembler files'#010+ + '**2ar_List register allocation/release info in assembler file'#010+ + '**2at_List temp allocation/release info in assembler file'#010+ +- '**1A_Output format:'#010+ ++ '**1A_Output format',':'#010+ + '**2Adefault_Use default assembler'#010+ + '3*2Aas_Assemble using GNU AS'#010+ +- '3*2Amacho_Mach-O (Darwin, Int','el 32 bit) using internal writer'#010+ ++ '3*2Amacho_Mach-O (Darwin, Intel 32 bit) using internal writer'#010+ + '3*2Anasmcoff_COFF (Go32v2) file using Nasm'#010+ + '3*2Anasmelf_ELF32 (Linux) file using Nasm'#010+ +- '3*2Anasmwin32_Win32 object file using Nasm'#010+ ++ '3*2Anasmwin32_Win32 object f','ile using Nasm'#010+ + '3*2Anasmwdosx_Win32/WDOSX object file using Nasm'#010+ +- '3*2Awasm_Obj file using Wasm (','Watcom)'#010+ ++ '3*2Awasm_Obj file using Wasm (Watcom)'#010+ + '3*2Anasmobj_Obj file using Nasm'#010+ + '3*2Amasm_Obj file using Masm (Microsoft)'#010+ + '3*2Atasm_Obj file using Tasm (Borland)'#010+ +- '3*2Aelf_ELF (Linux) using internal writer'#010+ ++ '3*2Aelf_ELF (Linux) using ','internal writer'#010+ + '3*2Acoff_COFF (Go32v2) using internal writer'#010+ +- '3*2Apecoff_PE-COFF (Win32) using ','internal writer'#010+ ++ '3*2Apecoff_PE-COFF (Win32) using internal writer'#010+ + '4*2Aas_Assemble using GNU AS'#010+ + '4*2Agas_Assemble using GNU GAS'#010+ + '4*2Agas-darwin_Assemble darwin Mach-O64 using GNU GAS'#010+ +- '4*2Amasm_Win64 object file using ml64 (Microsoft)'#010+ ++ '4*2Amasm_Win64 o','bject file using ml64 (Microsoft)'#010+ + '4*2Apecoff_PE-COFF (Win64) using internal writer'#010+ +- '4*2Aelf_ELF',' (Linux-64bit) using internal writer'#010+ ++ '4*2Aelf_ELF (Linux-64bit) using internal writer'#010+ + '6*2Aas_Unix o-file using GNU AS'#010+ + '6*2Agas_GNU Motorola assembler'#010+ + '6*2Amit_MIT Syntax (old GAS)'#010+ +- '6*2Amot_Standard Motorola assembler'#010+ ++ '6*2Amot_Standard ','Motorola assembler'#010+ + 'A*2Aas_Assemble using GNU AS'#010+ + 'P*2Aas_Assemble using GNU AS'#010+ +- 'S*2Aas_Assemble u','sing GNU AS'#010+ ++ 'S*2Aas_Assemble using GNU AS'#010+ + '**1b_Generate browser info'#010+ + '**2bl_Generate local symbol info'#010+ + '**1B_Build all modules'#010+ + '**1C_Code generation options:'#010+ +- '**2C3_Turn on ieee error checking for constants'#010+ ++ '**2C3_Turn on i','eee error checking for constants'#010+ + '**2Ca_Select ABI, see fpc -i for possible values'#010+ +- '**2Cb_Gen','erate big-endian code'#010+ ++ '**2Cb_Generate big-endian code'#010+ + '**2Cc_Set default calling convention to '#010+ + '**2CD_Create also dynamic library (not supported)'#010+ +- '**2Ce_Compilation with emulated floating point opcodes'#010+ +- '**2Cf_Select fpu instruction set to use, see fpc -i for possibl','e '+ +- 'values'#010+ ++ '**2Ce_Compilation with emul','ated floating point opcodes'#010+ ++ '**2Cf_Select fpu instruction set to use, see fpc -i for possible va'+ ++ 'lues'#010+ + '**2CF_Minimal floating point constant precision (default, 32, 64)'#010+ + '**2Cg_Generate PIC code'#010+ +- '**2Ch_ bytes heap (between 1023 and 67107840)'#010+ ++ '**2Ch_ bytes heap (between 1023 and 67','107840)'#010+ + '**2Ci_IO-checking'#010+ + '**2Cn_Omit linking stage'#010+ +- '**2Co_Check overflow of integer operations'#010, ++ '**2Co_Check overflow of integer operations'#010+ + '**2CO_Check for possible overflow of integer operations'#010+ + '**2Cp_Select instruction set, see fpc -i for possible values'#010+ +- '**2CP=_ packing settings'#010+ ++ '**2CP=_ packing sett','ings'#010+ + '**3CPPACKSET=_ set allocation: 0, 1 or DEFAULT or NORMAL, 2, 4 '+ + 'and 8'#010+ +- '**2Cr_Range c','hecking'#010+ ++ '**2Cr_Range checking'#010+ + '**2CR_Verify object method call validity'#010+ + '**2Cs_Set stack checking size to '#010+ + '**2Ct_Stack checking (for testing only, see manual)'#010+ +- '**2CX_Create also smartlinked library'#010+ ++ '**2CX','_Create also smartlinked library'#010+ + '**1d_Defines the symbol '#010+ + '**1D_Generate a DEF file'#010+ +- '**2Dd','_Set description to '#010+ ++ '**2Dd_Set description to '#010+ + '**2Dv_Set DLL version to '#010+ + '*O2Dw_PM application'#010+ + '**1e_Set path to executable'#010+ + '**1E_Same as -Cn'#010+ +- '**1fPIC_Same as -Cg'#010+ ++ '**1fPIC_Same as -C','g'#010+ + '**1F_Set file names and paths:'#010+ +- '**2Fa[,y]_(for a program) load units and [y] before',' uses is p'+ +- 'arsed'#010+ ++ '**2Fa[,y]_(for a program) load units and [y] before uses is par'+ ++ 'sed'#010+ + '**2Fc_Set input codepage to '#010+ + '**2FC_Set RC compiler binary name to '#010+ +- '**2Fd_Disable the compiler'#039's internal directory cache'#010+ ++ '**2Fd_Disable the compiler'#039's internal directory cac','he'#010+ + '**2FD_Set the directory where to search for compiler utilities'#010+ +- '**2Fe_Redirect error o','utput to '#010+ ++ '**2Fe_Redirect error output to '#010+ + '**2Ff_Add to framework path (Darwin only)'#010+ + '**2FE_Set exe/unit output path to '#010+ + '**2Fi_Add to include path'#010+ +- '**2Fl_Add to library path'#010+ ++ '**2Fl_A','dd to library path'#010+ + '**2FL_Use as dynamic linker'#010+ +- '**2Fm_Load unicode conversion tab','le from .txt in the compiler '+ +- 'dir'#010+ ++ '**2Fm_Load unicode conversion table from .txt in the compiler di'+ ++ 'r'#010+ + '**2Fo_Add to object path'#010+ + '**2Fr_Load error message file '#010+ +- '**2FR_Set resource (.res) linker to '#010+ ++ '**2FR_Set resource (.res) linker to '#010+ + '**2Fu_Add to unit path'#010+ + '**2FU_Set unit output path to , overrides -FE'#010+ +- '**2FW_S','tore generated whole-program optimization feedback in '#010+ ++ '**2FW_Store generated whole-program optimization feedback in '#010+ + '**2Fw_Load previously stored whole-program optimization feedback fr'+ + 'om '#010+ +- '*g1g_Generate debug information (default format for target)'#010+ ++ '*g1g_Genera','te debug information (default format for target)'#010+ + '*g2gc_Generate checks for pointers'#010+ +- '*g2gh_Use ','heaptrace unit (for memory leak/corruption debugging)'#010+ ++ '*g2gh_Use heaptrace unit (for memory leak/corruption debugging)'#010+ + '*g2gl_Use line info unit (show more info with backtraces)'#010+ +- '*g2go_Set debug information options'#010+ ++ '*g2go_Set debug information opt','ions'#010+ + '*g3godwarfsets_ Enable DWARF '#039'set'#039' type debug information (bre'+ + 'aks gdb < 6.5)'#010+ +- '*g3gostabsab','sincludes_ Store absolute/full include file paths in Sta'+ +- 'bs'#010+ ++ '*g3gostabsabsincludes_ Store absolute/full include file paths in Stabs'+ ++ #010+ + '*g3godwarfmethodclassprefix_ Prefix method names in DWARF with class n'+ + 'ame'#010+ +- '*g2gp_Preserve case in stabs symbol names'#010+ ++ '*g2gp_Preserv','e case in stabs symbol names'#010+ + '*g2gs_Generate Stabs debug information'#010+ +- '*g2gt_Trash local variable','s (to detect uninitialized uses)'#010+ ++ '*g2gt_Trash local variables (to detect uninitialized uses)'#010+ + '*g2gv_Generates programs traceable with Valgrind'#010+ + '*g2gw_Generate DWARFv2 debug information (same as -gw2)'#010+ +- '*g2gw2_Generate DWARFv2 debug information'#010+ ++ '*g2gw2_G','enerate DWARFv2 debug information'#010+ + '*g2gw3_Generate DWARFv3 debug information'#010+ +- '*g2gw4_Generate DW','ARFv4 debug information (experimental)'#010+ ++ '*g2gw4_Generate DWARFv4 debug information (experimental)'#010+ + '**1i_Information'#010+ + '**2iD_Return compiler date'#010+ + '**2iV_Return short compiler version'#010+ +- '**2iW_Return full compiler version'#010+ ++ '**2iW_Return full compiler ','version'#010+ + '**2iSO_Return compiler OS'#010+ + '**2iSP_Return compiler host processor'#010+ +- '**2iTO_Return target O','S'#010+ ++ '**2iTO_Return target OS'#010+ + '**2iTP_Return target processor'#010+ + '**1I_Add to include path'#010+ + '**1k_Pass to the linker'#010+ + '**1l_Write logo'#010+ + '**1M_Set language mode to '#010+ +- '**2Mfpc_Free Pascal dialect (default)'#010+ ++ '*','*2Mfpc_Free Pascal dialect (default)'#010+ + '**2Mobjfpc_FPC mode with Object Pascal support'#010+ +- '**2Mdelphi','_Delphi 7 compatibility mode'#010+ ++ '**2Mdelphi_Delphi 7 compatibility mode'#010+ + '**2Mtp_TP/BP 7.0 compatibility mode'#010+ + '**2Mmacpas_Macintosh Pascal dialects compatibility mode'#010+ +- '**1n_Do not read the default config files'#010+ ++ '**1n_Do not read the defa','ult config files'#010+ + '**1N_Node tree optimizations'#010+ + '**2Nu_Unroll loops'#010+ +- '**1o_Change the name of',' the executable produced to '#010+ ++ '**1o_Change the name of the executable produced to '#010+ + '**1O_Optimizations:'#010+ + '**2O-_Disable optimizations'#010+ + '**2O1_Level 1 optimizations (quick and debugger friendly)'#010+ +- '**2O2_Level 2 optimizations (-O1 + quick optimizations)'#010+ +- '**2O3_Level 3 optimizations (-O2 + slow opt','imizations)'#010+ ++ '**2O2','_Level 2 optimizations (-O1 + quick optimizations)'#010+ ++ '**2O3_Level 3 optimizations (-O2 + slow optimizations)'#010+ + '**2Oa=_Set alignment'#010+ + '**2Oo[NO]_Enable or disable optimizations, see fpc -i for possible '+ + 'values'#010+ +- '**2Op_Set target cpu for optimizing, see fpc -i for possible values'+ +- #010+ +- '**2OW_Generate whole-program optimization feedback',' for optimizati'+ +- 'on , see fpc -i for possible values'#010+ ++ '**2Op_Set target cpu for op','timizing, see fpc -i for possible valu'+ ++ 'es'#010+ ++ '**2OW_Generate whole-program optimization feedback for optimization'+ ++ ' , see fpc -i for possible values'#010+ + '**2Ow_Perform whole-program optimization , see fpc -i for possib'+ + 'le values'#010+ +- '**2Os_Optimize for size rather than speed'#010+ ++ '**2Os_Optimi','ze for size rather than speed'#010+ + '**1pg_Generate profile code for gprof (defines FPC_PROFILE)'#010+ +- '**1R','_Assembler reading style:'#010+ ++ '**1R_Assembler reading style:'#010+ + '**2Rdefault_Use default assembler for target'#010+ + '3*2Ratt_Read AT&T style assembler'#010+ + '3*2Rintel_Read Intel style assembler'#010+ +- '6*2RMOT_Read motorola style assembler'#010+ ++ '6','*2RMOT_Read motorola style assembler'#010+ + '**1S_Syntax options:'#010+ + '**2S2_Same as -Mobjfpc'#010+ +- '**2Sc_Supp','ort operators like C (*=,+=,/= and -=)'#010+ ++ '**2Sc_Support operators like C (*=,+=,/= and -=)'#010+ + '**2Sa_Turn on assertions'#010+ + '**2Sd_Same as -Mdelphi'#010+ +- '**2Se_Error options. is a combination of the following:'#010+ ++ '**2Se_Error options. is a combination of the followi','ng:'#010+ + '**3*_ : Compiler halts after the errors (default is 1)'#010+ +- '**3*_w : Compiler also halts',' after warnings'#010+ ++ '**3*_w : Compiler also halts after warnings'#010+ + '**3*_n : Compiler also halts after notes'#010+ + '**3*_h : Compiler also halts after hints'#010+ +- '**2Sg_Enable LABEL and GOTO (default in -Mtp and -Mdelphi)'#010+ ++ '**2Sg_Enable LABEL and GOTO (default in -Mtp and',' -Mdelphi)'#010+ + '**2Sh_Use ansistrings by default instead of shortstrings'#010+ +- '**2Si_Turn on inlining of ','procedures/functions declared as "inline"'#010+ ++ '**2Si_Turn on inlining of procedures/functions declared as "inline"'#010+ + '**2Sk_Load fpcylix unit'#010+ + '**2SI_Set interface style to '#010+ +- '**3SIcom_COM compatible interface (default)'#010+ ++ '**3SIcom_COM compatible interface (default)'#010, + '**3SIcorba_CORBA compatible interface'#010+ + '**2Sm_Support macros like C (global)'#010+ +- '**2So_Same as -Mtp'#010, ++ '**2So_Same as -Mtp'#010+ + '**2Ss_Constructor name must be init (destructor must be done)'#010+ + '**2Sx_Enable exception keywords (default in Delphi/ObjFPC modes)'#010+ +- '**2Sy_@ returns a typed pointer, same as $T+'#010+ ++ '**2Sy_@ re','turns a typed pointer, same as $T+'#010+ + '**1s_Do not call assembler and linker'#010+ +- '**2sh_Generate script',' to link on host'#010+ ++ '**2sh_Generate script to link on host'#010+ + '**2st_Generate script to link on target'#010+ + '**2sr_Skip register allocation phase (use with -alr)'#010+ + '**1T_Target operating system:'#010+ +- '3*2Tdarwin_Darwin/Mac OS X'#010+ ++ '3*2','Tdarwin_Darwin/Mac OS X'#010+ + '3*2Temx_OS/2 via EMX (including EMX/RSX extender)'#010+ +- '3*2Tfreebsd_FreeBSD'#010, ++ '3*2Tfreebsd_FreeBSD'#010+ + '3*2Tgo32v2_Version 2 of DJ Delorie DOS extender'#010+ + '3*2Tiphonesim_ iPhoneSimulator from iOS SDK 3.2+ (older versions: -Tda'+ + 'rwin)'#010+ + '3*2Tlinux_Linux'#010+ +- '3*2Tnetbsd_NetBSD'#010+ ++ '3*2Tne','tbsd_NetBSD'#010+ + '3*2Tnetware_Novell Netware Module (clib)'#010+ +- '3*2Tnetwlibc_Novell Netware Module (libc)',#010+ ++ '3*2Tnetwlibc_Novell Netware Module (libc)'#010+ + '3*2Topenbsd_OpenBSD'#010+ + '3*2Tos2_OS/2 / eComStation'#010+ + '3*2Tsunos_SunOS/Solaris'#010+ + '3*2Tsymbian_Symbian OS'#010+ + '3*2Tsolaris_Solaris'#010+ +- '3*2Twatcom_Watcom compatible DOS extender'#010+ ++ '3*2Twatcom_Watcom compatible DO','S extender'#010+ + '3*2Twdosx_WDOSX DOS extender'#010+ + '3*2Twin32_Windows 32 Bit'#010+ + '3*2Twince_Windows CE'#010+ +- '4*2Tdarw','in_Darwin/Mac OS X'#010+ ++ '4*2Tdarwin_Darwin/Mac OS X'#010+ + '4*2Tlinux_Linux'#010+ + '4*2Twin64_Win64 (64 bit Windows systems)'#010+ + '6*2Tamiga_Commodore Amiga'#010+ + '6*2Tatari_Atari ST/STe/TT'#010+ + '6*2Tlinux_Linux'#010+ +- '6*2Tpalmos_PalmOS'#010+ ++ '6*','2Tpalmos_PalmOS'#010+ + 'A*2Tdarwin_Darwin/iPhoneOS/iOS'#010+ + 'A*2Tlinux_Linux'#010+ + 'A*2Twince_Windows CE'#010+ +- 'P*2Tamiga_','AmigaOS'#010+ ++ 'P*2Tamiga_AmigaOS'#010+ + 'P*2Tdarwin_Darwin/Mac OS X'#010+ + 'P*2Tlinux_Linux'#010+ + 'P*2Tmacos_Mac OS (classic)'#010+ + 'P*2Tmorphos_MorphOS'#010+ + 'S*2Tsolaris_Solaris'#010+ + 'S*2Tlinux_Linux'#010+ +- '**1u_Undefines the symbol '#010+ ++ '**1u_Unde','fines the symbol '#010+ + '**1U_Unit options:'#010+ +- '**2Un_Do not check where the unit name matches the fil','e name'#010+ ++ '**2Un_Do not check where the unit name matches the file name'#010+ + '**2Ur_Generate release unit files (never automatically recompiled)'#010+ + '**2Us_Compile a system unit'#010+ +- '**1v_Be verbose. is a combination of the following letters:'#010+ ++ '**1v_Be verbose. is a combination of ','the following letters:'#010+ + '**2*_e : Show errors (default) 0 : Show nothing (except errors)'#010+ +- '*','*2*_w : Show warnings u : Show unit info'#010+ ++ '**2*_w : Show warnings u : Show unit info'#010+ + '**2*_n : Show notes t : Show tried/used files'#010+ +- '**2*_h : Show hints c : Show conditionals'#010+ ++ '**2*_h : Show hints ',' c : Show conditionals'#010+ + '**2*_i : Show general info d : Show debug info'#010+ +- '**2*_l',' : Show linenumbers r : Rhide/GCC compatibility mod'+ +- 'e'#010+ ++ '**2*_l : Show linenumbers r : Rhide/GCC compatibility mode'#010+ + '**2*_s : Show time stamps q : Show message numbers'#010+ +- '**2*_a : Show everything x : Executable info (Win32 only)'#010+ +- '**2*_b : Write file names messages p : Wri','te tree.log with parse t'+ +- 'ree'#010+ ++ '**2*_a : Show everyt','hing x : Executable info (Win32 only'+ ++ ')'#010+ ++ '**2*_b : Write file names messages p : Write tree.log with parse tre'+ ++ 'e'#010+ + '**2*_ with full path v : Write fpcdebug.txt with'#010+ +- '**2*_ lots of debugging info'#010+ ++ '**2*_ lots of debu','gging info'#010+ + '**2*_m, : Don'#039't show messages numbered and '#010+ +- '**1W_Target-specific op','tions (targets)'#010+ ++ '**1W_Target-specific options (targets)'#010+ + '3*2WA_Specify native type application (Windows)'#010+ + '4*2WA_Specify native type application (Windows)'#010+ +- 'A*2WA_Specify native type application (Windows)'#010+ ++ 'A*2WA_Specify native type applicat','ion (Windows)'#010+ + '3*2Wb_Create a bundle instead of a library (Darwin)'#010+ +- 'P*2Wb_Create a bundle instea','d of a library (Darwin)'#010+ ++ 'P*2Wb_Create a bundle instead of a library (Darwin)'#010+ + 'p*2Wb_Create a bundle instead of a library (Darwin)'#010+ + 'A*2Wb_Create a bundle instead of a library (Darwin)'#010+ +- '4*2Wb_Create a bundle instead of a library (Darwin)'#010+ ++ '4*2Wb_Create a bun','dle instead of a library (Darwin)'#010+ + '3*2WB_Create a relocatable image (Windows, Symbian)'#010+ +- '3*2WBxxx','x_Set image base to xxxx (Windows, Symbian)'#010+ ++ '3*2WBxxxx_Set image base to xxxx (Windows, Symbian)'#010+ + '4*2WB_Create a relocatable image (Windows)'#010+ + '4*2WBxxxx_Set image base to xxxx (Windows)'#010+ +- 'A*2WB_Create a relocatable image (Windows, Symbian)'#010+ ++ 'A*2WB_Create a r','elocatable image (Windows, Symbian)'#010+ + 'A*2WBxxxx_Set image base to xxxx (Windows, Symbian)'#010+ +- '3*2WC_','Specify console type application (EMX, OS/2, Windows)'#010+ ++ '3*2WC_Specify console type application (EMX, OS/2, Windows)'#010+ + '4*2WC_Specify console type application (EMX, OS/2, Windows)'#010+ +- 'A*2WC_Specify console type application (Windows)'#010+ ++ 'A*2WC_Specify console type appli','cation (Windows)'#010+ + 'P*2WC_Specify console type application (Classic Mac OS)'#010+ +- '3*2WD_Use DEFFILE to ','export functions of DLL or EXE (Windows)'#010+ ++ '3*2WD_Use DEFFILE to export functions of DLL or EXE (Windows)'#010+ + '4*2WD_Use DEFFILE to export functions of DLL or EXE (Windows)'#010+ +- 'A*2WD_Use DEFFILE to export functions of DLL or EXE (Windows)'#010+ ++ 'A*2WD_Use DEFFILE to export functions of DL','L or EXE (Windows)'#010+ + '3*2We_Use external resources (Darwin)'#010+ +- '4*2We_Use external resources (Darwin)',#010+ ++ '4*2We_Use external resources (Darwin)'#010+ + 'A*2We_Use external resources (Darwin)'#010+ + 'P*2We_Use external resources (Darwin)'#010+ + 'p*2We_Use external resources (Darwin)'#010+ +- '3*2WF_Specify full-screen type application (EMX, OS/2)'#010+ ++ '3*2WF_Specify full-screen type ','application (EMX, OS/2)'#010+ + '3*2WG_Specify graphic type application (EMX, OS/2, Windows)'#010+ +- '4*2WG_Spec','ify graphic type application (EMX, OS/2, Windows)'#010+ ++ '4*2WG_Specify graphic type application (EMX, OS/2, Windows)'#010+ + 'A*2WG_Specify graphic type application (Windows)'#010+ +- 'P*2WG_Specify graphic type application (Classic Mac OS)'#010+ ++ 'P*2WG_Specify graphic type application (Classic',' Mac OS)'#010+ + '3*2Wi_Use internal resources (Darwin)'#010+ + '4*2Wi_Use internal resources (Darwin)'#010+ +- 'A*2Wi_Use',' internal resources (Darwin)'#010+ ++ 'A*2Wi_Use internal resources (Darwin)'#010+ + 'P*2Wi_Use internal resources (Darwin)'#010+ + 'p*2Wi_Use internal resources (Darwin)'#010+ +- '3*2WI_Turn on/off the usage of import sections (Windows)'#010+ ++ '3*2WI_Turn on/off the usage of import sec','tions (Windows)'#010+ + '4*2WI_Turn on/off the usage of import sections (Windows)'#010+ +- 'A*2WI_Turn on/off the',' usage of import sections (Windows)'#010+ ++ 'A*2WI_Turn on/off the usage of import sections (Windows)'#010+ + '3*2WN_Do not generate relocation code, needed for debugging (Windows)'#010+ +- '4*2WN_Do not generate relocation code, needed for debugging (Windows)'#010+ +- 'A*2WN_Do not generate relocation code, needed for debugging (Win','dows'+ ++ '4*2WN_Do not generate relocation code, n','eeded for debugging (Windows'+ + ')'#010+ ++ 'A*2WN_Do not generate relocation code, needed for debugging (Windows)'#010+ + 'A*2Wpxxxx_Specify the controller type, see fpc -i for possible values'#010+ +- 'V*2Wpxxxx_Specify the controller type, see fpc -i for possible values'#010+ ++ 'V*2Wpxxxx_Specify the controller type, see fpc -i for possible values'#010, + '3*2WR_Generate relocation code (Windows)'#010+ + '4*2WR_Generate relocation code (Windows)'#010+ +- 'A*2WR_Genera','te relocation code (Windows)'#010+ ++ 'A*2WR_Generate relocation code (Windows)'#010+ + 'P*2WT_Specify MPW tool type application (Classic Mac OS)'#010+ + '**2WX_Enable executable stack (Linux)'#010+ +- '**1X_Executable options:'#010+ ++ '**1X_Executable option','s:'#010+ + '**2Xc_Pass --shared/-dynamic to the linker (BeOS, Darwin, FreeBSD, Lin'+ + 'ux)'#010+ +- '**2Xd_Do not use ','standard library search path (needed for cross comp'+ +- 'ile)'#010+ ++ '**2Xd_Do not use standard library search path (needed for cross compil'+ ++ 'e)'#010+ + '**2Xe_Use external linker'#010+ +- '**2Xg_Create debuginfo in a separate file and add a debuglink section '+ +- 'to executable'#010+ ++ '**2Xg_Create debuginfo in a separate file and add a debuglink se','ctio'+ ++ 'n to executable'#010+ + '**2XD_Try to link units dynamically (defines FPC_LINK_DYNAMIC)'#010+ +- '**2Xi_','Use internal linker'#010+ ++ '**2Xi_Use internal linker'#010+ + '**2Xm_Generate link map'#010+ + '**2XM_Set the name of the '#039'main'#039' program routine (default i'+ + 's '#039'main'#039')'#010+ +- '**2XP_Prepend the binutils names with the prefix '#010+ ++ '**2XP_Prepend the binutils ','names with the prefix '#010+ + '**2Xr_Set the linker'#039's rlink-path to (needed for cross comp'+ +- 'il','e, see the ld manual for more information) (BeOS, Linux)'#010+ ++ 'ile, see the ld manual for more information) (BeOS, Linux)'#010+ + '**2XR_Prepend to all linker search paths (BeOS, Darwin, FreeBSD'+ +- ', Linux, Mac OS, Solaris)'#010+ ++ ', Linux, Mac OS, So','laris)'#010+ + '**2Xs_Strip all symbols from executable'#010+ +- '**2XS_Try to link units statically (default, de','fines FPC_LINK_STATIC'+ +- ')'#010+ ++ '**2XS_Try to link units statically (default, defines FPC_LINK_STATIC)'#010+ + '**2Xt_Link with static libraries (-static is passed to linker)'#010+ +- '**2XX_Try to smartlink units (defines FPC_LINK_SMART)'#010+ ++ '**2XX_Try to smartlink units (defines FPC_LINK_S','MART)'#010+ + '**1*_'#010+ + '**1?_Show this help'#010+ + '**1h_Shows this help without waiting' diff --git a/patches/series b/patches/series new file mode 100644 index 00000000..2501d525 --- /dev/null +++ b/patches/series @@ -0,0 +1,7 @@ +version.diff +armhf.diff +regenerate_messages.diff +fix-FPCDIR-in-fpcmake.diff +armhf-linker-path.diff +fix-vfp-exceptions.diff +fix-creating-help-index-on-read-only-file-system.diff diff --git a/patches/version.diff b/patches/version.diff new file mode 100644 index 00000000..502d1c5c --- /dev/null +++ b/patches/version.diff @@ -0,0 +1,27 @@ +This patch adds Debian build version to compiler full version. + +--- fpc-2.2.4~/fpcsrc/compiler/version.pas ++++ fpc-2.2.4/fpcsrc/compiler/version.pas +@@ -78,6 +78,9 @@ + + implementation + ++const ++ FullVersionString={$INCLUDE version.inc}; ++ + function version_string:string; + begin + version_string := version_nr+'.'+release_nr+'.'+patch_nr; +@@ -86,11 +89,7 @@ + + function full_version_string:string; + begin +- full_version_string := version_nr+'.'+release_nr+'.'+patch_nr+minorpatch +-{$ifdef REVINC} +- +'-r'+{$i revision.inc} +-{$endif REVINC} +- ; ++ full_version_string := FullVersionString; + end; + + end. diff --git a/po/POTFILES.in b/po/POTFILES.in new file mode 100644 index 00000000..c0b46843 --- /dev/null +++ b/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] fp-compiler.templates.in diff --git a/po/cs.po b/po/cs.po new file mode 100644 index 00000000..6c0ad6c5 --- /dev/null +++ b/po/cs.po @@ -0,0 +1,63 @@ +# Czech PO debconf template translation of fpc. +# Copyright (C) 2012 Michal Simunek +# This file is distributed under the same license as the fpc package. +# Michal Simunek , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: fpc 2.6.0-6\n" +"Report-Msgid-Bugs-To: fpc@packages.debian.org\n" +"POT-Creation-Date: 2012-09-08 10:07-0400\n" +"PO-Revision-Date: 2012-09-15 12:02+0200\n" +"Last-Translator: Michal Simunek \n" +"Language-Team: Czech \n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "Rename \"/etc/fpc.cfg\" to \"/etc/fpc.cfg.bak\"?" +msgstr "Přejmenovat \"/etc/fpc.cfg\" na \"/etc/fpc.cfg.bak\"?" + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "" +"FPC now supports having multiple versions installed on the same system. The " +"update-alternatives command can be used to set a default version for\n" +" * fpc (the compiler);\n" +" * fpc.cfg (the configuration file);\n" +" * fp-utils (the helper tools)." +msgstr "" +"FPC nyní podporuje možnost mít na stejném systému nainstalováno vícero verzí. " +"Příkazem update-alternatives lze nastavit výchozí verze pro\n" +" * fpc (kompilátor);\n" +" * fpc.cfg (konfigurační soubor);\n" +" * fp-utils (pomocné nástroje)." + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "" +"Whatever version you may choose as default, the configuration files are " +"always backward compatible, so it should always be safe to use the latest " +"version." +msgstr "" +"Bez ohledu na to, že si můžete vybrat výchozí verzi, jsou konfigurační " +"soubory vždy zpětně kompatibilní, takže by mělo být vždy bezpečné použít " +"nejnovější verzi." + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "" +"In order to use the alternatives system on the system wide FPC configuration " +"file you must accept renaming \"/etc/fpc.cfg\"; otherwise you will need to " +"manage this manually by yourself." +msgstr "" +"Pokud chcete, aby se v systému pro konfigurační soubor FPC používal systém " +"alternativ, musíte přijmout přejmenování souboru \"/etc/fpc.cfg\"; jinak " +"bude nutné, aby jste si jej spravovali sami." diff --git a/po/da.po b/po/da.po new file mode 100644 index 00000000..c9d97b3c --- /dev/null +++ b/po/da.po @@ -0,0 +1,65 @@ +# Danish translation fpc. +# Copyright (c) 2012 fpc & nedenstående oversættere. +# This file is distributed under the same license as the fpc package. +# Joe Hansen , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: fpc\n" +"Report-Msgid-Bugs-To: fpc@packages.debian.org\n" +"POT-Creation-Date: 2012-09-08 10:07-0400\n" +"PO-Revision-Date: 2012-09-09 17:30+01:00\n" +"Last-Translator: Joe Hansen \n" +"Language-Team: Danish \n" +"Language: da\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "Rename \"/etc/fpc.cfg\" to \"/etc/fpc.cfg.bak\"?" +msgstr "Omdøb »/etc/fpc.cfg« til »/etc/fpc.cfg.bak«?" + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "" +"FPC now supports having multiple versions installed on the same system. The " +"update-alternatives command can be used to set a default version for\n" +" * fpc (the compiler);\n" +" * fpc.cfg (the configuration file);\n" +" * fp-utils (the helper tools)." +msgstr "" +"FPC understøtter nu at der er installeret flere versioner på det samme " +"system. Kommandoen update-alternatives kan bruges til at angive en " +"standardversion for\n" +" * fpc (kompileren);\n" +" * fpc.cfg (konfigurationsfilen);\n" +" * fp-utils (hjælpeværktøjerne)." + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "" +"Whatever version you may choose as default, the configuration files are " +"always backward compatible, so it should always be safe to use the latest " +"version." +msgstr "" +"Uanset versionen du vælger som standard, så er konfigurationsfilerne " +"altid bagud kompatible, så det bør være sikkert at bruge den seneste " +"version." + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "" +"In order to use the alternatives system on the system wide FPC configuration " +"file you must accept renaming \"/etc/fpc.cfg\"; otherwise you will need to " +"manage this manually by yourself." +msgstr "" +"For at bruge systemet for alternativerne på den for hele systemet brugte " +"FPC-konfigurationsfil, så skal du acceptere omdøbelse af »/etc/fpc.cfg«; ellers " +"skal du selv håndtere dette manuelt." + diff --git a/po/de.po b/po/de.po new file mode 100644 index 00000000..8cb9178d --- /dev/null +++ b/po/de.po @@ -0,0 +1,64 @@ +# Translation of fpc debconf template to German. +# Copyright (C) 1999 Peter Vreman. +# This file is distributed under the same license as the citadel package. +# Copyright of this translation Chris Leick . +# +msgid "" +msgstr "" +"Project-Id-Version: fpc 2.6.0-6\n" +"Report-Msgid-Bugs-To: fpc@packages.debian.org\n" +"POT-Creation-Date: 2012-09-08 10:07-0400\n" +"PO-Revision-Date: 2012-09-09 22:09+0200\n" +"Last-Translator: Chris Leick \n" +"Language-Team: de \n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "Rename \"/etc/fpc.cfg\" to \"/etc/fpc.cfg.bak\"?" +msgstr "»/etc/fpc.cfg« in »/etc/fpc.cfg.bak« umbenennen?" + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "" +"FPC now supports having multiple versions installed on the same system. The " +"update-alternatives command can be used to set a default version for\n" +" * fpc (the compiler);\n" +" * fpc.cfg (the configuration file);\n" +" * fp-utils (the helper tools)." +msgstr "" +"FPC unterstützt nun mehrere auf dem selben System installierte Versionen. Der " +"Befehl »update-alternatives« kann zum Setzen einer Standardversion für\n" +" * fpc (den Compiler),\n" +" * fpc.cfg (die Konfigurationsdatei) und\n" +" * fp-utils (die Helper-Werkzeuge)\n" +"benutzt werden." + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "" +"Whatever version you may choose as default, the configuration files are " +"always backward compatible, so it should always be safe to use the latest " +"version." +msgstr "" +"Egal welche Version als Vorgabe gewählt wird, die Konfigurationsdateien sind " +"immer abwärtskompatibel, so dass die Verwendung der neusten Version stets " +"sicher möglich sein sollte." + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "" +"In order to use the alternatives system on the system wide FPC configuration " +"file you must accept renaming \"/etc/fpc.cfg\"; otherwise you will need to " +"manage this manually by yourself." +msgstr "" +"Um das Alternatives-System auf die systemweite Konfigurationsdatei " +"anzuwenden, müssen Sie dem Umbenennen von »/etc/fpc.cfg« zustimmen, " +"andernfalls müssen Sie dies selbst verwalten." diff --git a/po/es.po b/po/es.po new file mode 100644 index 00000000..4d4e61eb --- /dev/null +++ b/po/es.po @@ -0,0 +1,91 @@ +# fpc translation to Spanish +# Copyright (C) 2012 Software in the Public Interest, SPI Inc. +# This file is distributed under the same license as the fpc package. +# +# Changes: +# - Initial translation +# Matías Bellone , 2012 +# +# Traductores, si no conoce el formato PO, merece la pena leer la +# documentación de gettext, especialmente las secciones dedicadas a este +# formato, por ejemplo ejecutando: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Equipo de traducción al español, por favor lean antes de traducir +# los siguientes documentos: +# +# - El proyecto de traducción de Debian al español +# http://www.debian.org/intl/spanish/ +# especialmente las notas y normas de traducción en +# http://www.debian.org/intl/spanish/notas +# +# - La guía de traducción de po's de debconf: +# /usr/share/doc/po-debconf/README-trans +# o http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Si tiene dudas o consultas sobre esta traducción consulte con el último +# traductor (campo Last-Translator) y ponga en copia a la lista de +# traducción de Debian al español () +# +msgid "" +msgstr "" +"Project-Id-Version: fpc\n" +"Report-Msgid-Bugs-To: fpc@packages.debian.org\n" +"POT-Creation-Date: 2012-09-25 19:56+0200\n" +"PO-Revision-Date: 2012-10-02 21:30-0300\n" +"Last-Translator: Matías Bellone \n" +"Language-Team: Debian L10N Spanish \n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "Rename \"/etc/fpc.cfg\" to \"/etc/fpc.cfg.bak\"?" +msgstr "¿Renombrar «/etc/fpc.cfg» a «/etc/fpc.cfg.bak»?" + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "" +"FPC now supports having multiple versions installed on the same system. The " +"update-alternatives command can be used to set a default version for\n" +" * fpc (the compiler);\n" +" * fpc.cfg (the configuration file);\n" +" * fp-utils (the helper tools)." +msgstr "" +"FPC ahora puede tener múltiples versiones instaladas en el mismo sistema. " +"Puede utilizar la órden «update-alternatives» para definir la versión " +"predeterminada de: " +" * fpc (el compilador);\n" +" * fpc.cfg (el archivo de configuración);\n" +" * fp-utils (las herammientas de ayuda)." + + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "" +"Whatever version you may choose as default, the configuration files are " +"always backward compatible, so it should always be safe to use the latest " +"version." +msgstr "" +"Los archivos de configuración son siempre compatibles hacia atrás sin " +"importar la versión que elija como predeterminada, por lo que siempre " +"debería ser seguro utilizar la última versión." + + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "" +"In order to use the alternatives system on the system wide FPC configuration " +"file you must accept renaming \"/etc/fpc.cfg\"; otherwise you will need to " +"manage this manually by yourself." +msgstr "" +"Debe aceptar el cambiar el nombre de «/etc/fpc.cfg» para utilizar el " +"sistema de alternativas en la configuración de FPC para todo el equipo; " +"de lo contrario deberá administrarlo a mano por su cuenta." diff --git a/po/fr.po b/po/fr.po new file mode 100644 index 00000000..69bd61ab --- /dev/null +++ b/po/fr.po @@ -0,0 +1,66 @@ +# Translation of fpc debconf templates to French +# Copyright (C) 2012 Debian French l10n team +# This file is distributed under the same license as the fpc package. +# +# David Prévot , 2012. +msgid "" +msgstr "" +"Project-Id-Version: fpc\n" +"Report-Msgid-Bugs-To: fpc@packages.debian.org\n" +"POT-Creation-Date: 2012-09-03 21:31-0400\n" +"PO-Revision-Date: 2012-09-03 21:41-0400\n" +"Last-Translator: David Prévot \n" +"Language-Team: French \n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Lokalize 1.4\n" + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:1001 +msgid "Rename \"/etc/fpc.cfg\" to \"/etc/fpc.cfg.bak\"?" +msgstr "Faut-il renommer « /etc/fpc.cfg » en « /etc/fpc.cfg.bak » ?" + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:1001 +msgid "" +"FPC now supports having multiple versions installed on the same system. The " +"update-alternatives command can be used to set a default version for\n" +" * fpc (the compiler);\n" +" * fpc.cfg (the configuration file);\n" +" * fp-utils (the helper tools)." +msgstr "" +"Plusieurs versions de FPC peuvent maintenant être installées sur le même " +"système. La commande update-alternatives permet de définir une version par " +"défaut pour :\n" +" * fpc (le compilateur) ;\n" +" * fpc.cfg (le fichier de configuration) ;\n" +" * fp-utils (les outils d'assistance)." + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:1001 +msgid "" +"Whatever version you may choose as default, the configuration files are " +"always backward compatible, so it should always be safe to use the latest " +"version." +msgstr "" +"Quelle que soit la version choisie par défaut, les fichiers de configuration " +"sont toujours rétrocompatibles, il devrait donc être toujours possible " +"d'utiliser la dernière version." + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:1001 +msgid "" +"In order to use the alternatives system on the system wide FPC configuration " +"file you must accept renaming \"/etc/fpc.cfg\"; otherwise you will need to " +"manage this manually by yourself." +msgstr "" +"Afin d'utiliser le système d'alternatives pour le fichier de configuration " +"global de FPC, vous devez accepter de renommer « /etc/fpc.cfg », sinon vous " +"devrez gérer cela vous-même." diff --git a/po/it.po b/po/it.po new file mode 100644 index 00000000..5d45c16f --- /dev/null +++ b/po/it.po @@ -0,0 +1,65 @@ +# Italian translation of fpc debconf messages. +# Copyright (C) 2012, Beatrice Torracca +# This file is distributed under the same license as the fpc package. +# Beatrice Torracca , 2012. +msgid "" +msgstr "" +"Project-Id-Version: fpc\n" +"Report-Msgid-Bugs-To: fpc@packages.debian.org\n" +"POT-Creation-Date: 2012-09-08 10:07-0400\n" +"PO-Revision-Date: 2012-09-15 18:51+0200\n" +"Last-Translator: Beatrice Torracca \n" +"Language-Team: Italian \n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Virtaal 0.7.1\n" + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "Rename \"/etc/fpc.cfg\" to \"/etc/fpc.cfg.bak\"?" +msgstr "Rinominare «/etc/fpc.cfg» in «/etc/fpc.cfg.bak»?" + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "" +"FPC now supports having multiple versions installed on the same system. The " +"update-alternatives command can be used to set a default version for\n" +" * fpc (the compiler);\n" +" * fpc.cfg (the configuration file);\n" +" * fp-utils (the helper tools)." +msgstr "" +"FPC permette adesso di avere più versioni installate sullo stesso sistema. " +"Il comando update-alternatives può essere usato per impostare una versione " +"predefinita per\n" +" * fpc (il compilatore);\n" +" * fpc.cfg (il file di configurazione);\n" +" * fp-utils (gli strumenti ausiliari)." + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "" +"Whatever version you may choose as default, the configuration files are " +"always backward compatible, so it should always be safe to use the latest " +"version." +msgstr "" +"Indipendentemente da quale versione si scelga come predefinita, i file di " +"configurazione sono sempre compatibili all'indietro, perciò dovrebbe in ogni " +"caso essere sicuro scegliere di usare la versione più recente." + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "" +"In order to use the alternatives system on the system wide FPC configuration " +"file you must accept renaming \"/etc/fpc.cfg\"; otherwise you will need to " +"manage this manually by yourself." +msgstr "" +"Per usare il sistema di alternative per il file di configurazione FPC a " +"livello di sistema, si deve accettare di rinominare «/etc/fpc.cfg»; in caso " +"contrario si dovrà gestire la cosa da soli manualmente." diff --git a/po/ja.po b/po/ja.po new file mode 100644 index 00000000..94cb3ed5 --- /dev/null +++ b/po/ja.po @@ -0,0 +1,63 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# victory , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: fpc\n" +"Report-Msgid-Bugs-To: fpc@packages.debian.org\n" +"POT-Creation-Date: 2012-09-08 10:07-0400\n" +"PO-Revision-Date: 2012-09-08 23:07+0900\n" +"Last-Translator: victory \n" +"Language-Team: Japanese \n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "Rename \"/etc/fpc.cfg\" to \"/etc/fpc.cfg.bak\"?" +msgstr "\"/etc/fpc.cfg\" を \"/etc/fpc.cfg.bak\" に変更しますか?" + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "" +"FPC now supports having multiple versions installed on the same system. The " +"update-alternatives command can be used to set a default version for\n" +" * fpc (the compiler);\n" +" * fpc.cfg (the configuration file);\n" +" * fp-utils (the helper tools)." +msgstr "" +"FPC は現在同一システムに複数バージョンが混在することをサポートしています。" +"update-alternatives コマンドを使って、以下のファイルにデフォルトのバージョンを" +"セットすることが可能です\n" +" * fpc (コンパイラ);\n" +" * fpc.cfg (設定ファイル);\n" +" * fp-utils (補助ツール)." + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "" +"Whatever version you may choose as default, the configuration files are " +"always backward compatible, so it should always be safe to use the latest " +"version." +msgstr "" +"デフォルトにどのバージョンを選んでも、設定ファイルは常に後方互換なので、" +"最新版の使用はいつでも安全です。" + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "" +"In order to use the alternatives system on the system wide FPC configuration " +"file you must accept renaming \"/etc/fpc.cfg\"; otherwise you will need to " +"manage this manually by yourself." +msgstr "" +"システムワイドの FPC 設定ファイルにより代替システムを使用する場合、" +"\"/etc/fpc.cfg\" ファイルの改名を受け入れなければなりません。" +"受け入れない場合は手作業で自ら管理する必要があります。" diff --git a/po/pl.po b/po/pl.po new file mode 100644 index 00000000..0113d275 --- /dev/null +++ b/po/pl.po @@ -0,0 +1,68 @@ +# Translation of fpc debconf templates to Polish. +# Copyright (C) 2012 +# This file is distributed under the same license as the fpc package. +# +# Michał Kułach , 2012. +msgid "" +msgstr "" +"Project-Id-Version: fpc\n" +"Report-Msgid-Bugs-To: fpc@packages.debian.org\n" +"POT-Creation-Date: 2012-09-08 10:07-0400\n" +"PO-Revision-Date: 2012-09-10 23:28+0200\n" +"Last-Translator: Michał Kułach \n" +"Language-Team: Polish \n" +"Language: pl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2);\n" +"X-Generator: Lokalize 1.4\n" + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "Rename \"/etc/fpc.cfg\" to \"/etc/fpc.cfg.bak\"?" +msgstr "Zmienić nazwę pliku \"/etc/fpc.cfg\" na \"/etc/fpc.cfg.bak\"?" + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "" +"FPC now supports having multiple versions installed on the same system. The " +"update-alternatives command can be used to set a default version for\n" +" * fpc (the compiler);\n" +" * fpc.cfg (the configuration file);\n" +" * fp-utils (the helper tools)." +msgstr "" +"FPC obsługuje obecnie instalację wielu wersji w tym samym systemie. Polecenie " +"update-alternatives może zostać użyte do wybrania domyślnej wersji do\n" +" * fpc (kompilatora),\n" +" * fpc.cfg (pliku konfiguracyjnego),\n" +" * fp-utils (narzędzi pomocniczych)." + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "" +"Whatever version you may choose as default, the configuration files are " +"always backward compatible, so it should always be safe to use the latest " +"version." +msgstr "" +"Niezależnie od wyboru wersji domyślnej, pliki konfiguracyjne są zawsze " +"wstecznie kompatybilne, więc korzystanie z najnowszej wersji powinno być " +"całkowicie bezpieczne." + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "" +"In order to use the alternatives system on the system wide FPC configuration " +"file you must accept renaming \"/etc/fpc.cfg\"; otherwise you will need to " +"manage this manually by yourself." +msgstr "" +"Aby używać systemu alternatyw na poziomie systemowego pliku konfiguracyjnego " +"FPC, konieczne jest zaakceptowanie zmiany nazwy \"/etc/fpc.cfg\", w " +"przeciwnym razie konieczne będzie samodzielne zarządzanie wspomnianym plikiem." + + diff --git a/po/pt.po b/po/pt.po new file mode 100644 index 00000000..9a43d74d --- /dev/null +++ b/po/pt.po @@ -0,0 +1,65 @@ +# Portuguese translation for fpc's debconf messages +# Copyright (C) 2012 +# This file is distributed under the same license as the fpc package. +# Rui Branco , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: fpc 2.6.0-6\n" +"Report-Msgid-Bugs-To: fpc@packages.debian.org\n" +"POT-Creation-Date: 2012-09-08 10:07-0400\n" +"PO-Revision-Date: 2012-09-09 10:14+0100\n" +"Last-Translator: Rui Branco \n" +"Language-Team: Portuguese \n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "Rename \"/etc/fpc.cfg\" to \"/etc/fpc.cfg.bak\"?" +msgstr "Alterar o nome de \"/etc/fpc.cfg\" para \"/etc/fpc.cfg.bak\"?" + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "" +"FPC now supports having multiple versions installed on the same system. The " +"update-alternatives command can be used to set a default version for\n" +" * fpc (the compiler);\n" +" * fpc.cfg (the configuration file);\n" +" * fp-utils (the helper tools)." +msgstr "" +"O FPC suporta agora múltiplas versões instaladas no mesmo sistema. O comando " +"update-alternatives pode ser utilizado para definir a versão por omissão " +"para\n" +" * fpc (compilador)\n" +" * fpc.cfg (ficheiro do configuração)\n" +" * fp-utils (ferramentas de ajuda)." + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "" +"Whatever version you may choose as default, the configuration files are " +"always backward compatible, so it should always be safe to use the latest " +"version." +msgstr "" +"Qualquer que seja a versão que escolha como omissão, os ficheiros de " +"configuração são sempre compatíveis com anteriores, deste modo deverá ser " +"sempre seguro usar a última versão." + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "" +"In order to use the alternatives system on the system wide FPC configuration " +"file you must accept renaming \"/etc/fpc.cfg\"; otherwise you will need to " +"manage this manually by yourself." +msgstr "" +"De modo a usar o sistema de alternativas abrangendo todo o sistema, deverá " +"aceitar a mudança de nome do ficheiro de configuração do FPC, para \"/etc/" +"fpc.cfg\"; de outro modo terá que fazê-lo manualmente." diff --git a/po/ru.po b/po/ru.po new file mode 100644 index 00000000..af372a0e --- /dev/null +++ b/po/ru.po @@ -0,0 +1,67 @@ +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the fpc package. +# +# Yuri Kozlov , 2012. +msgid "" +msgstr "" +"Project-Id-Version: fpc 2.6.0-6\n" +"Report-Msgid-Bugs-To: fpc@packages.debian.org\n" +"POT-Creation-Date: 2012-09-08 10:07-0400\n" +"PO-Revision-Date: 2012-09-10 21:11+0400\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<" +"=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Generator: Lokalize 1.4\n" + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "Rename \"/etc/fpc.cfg\" to \"/etc/fpc.cfg.bak\"?" +msgstr "Переименовать «/etc/fpc.cfg» в «/etc/fpc.cfg.bak»?" + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "" +"FPC now supports having multiple versions installed on the same system. The " +"update-alternatives command can be used to set a default version for\n" +" * fpc (the compiler);\n" +" * fpc.cfg (the configuration file);\n" +" * fp-utils (the helper tools)." +msgstr "" +"Теперь в систему можно установить сразу несколько версий FPC. " +"Для выбора версии по умолчанию можно использовать команду " +"update-alternatives. Можно выбрать:\n" +" * fpc (компилятор);\n" +" * fpc.cfg (файл настройки);\n" +" * fp-utils (вспомогательные инструменты)." + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "" +"Whatever version you may choose as default, the configuration files are " +"always backward compatible, so it should always be safe to use the latest " +"version." +msgstr "" +"Какую бы версию вы не выбрали, файлы настройки всегда обратно " +"совместимы, поэтому можно всегда без опаски выбирать самую " +"новую версию." + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "" +"In order to use the alternatives system on the system wide FPC configuration " +"file you must accept renaming \"/etc/fpc.cfg\"; otherwise you will need to " +"manage this manually by yourself." +msgstr "" +"Чтобы использовать систему альтернатив системный файла настройки FPC " +"нужно разрешить переименовывать в «/etc/fpc.cfg»; в противном случае " +"вам каждый раз нужно будет делать это вручную." + diff --git a/po/sk.po b/po/sk.po new file mode 100644 index 00000000..fcce823d --- /dev/null +++ b/po/sk.po @@ -0,0 +1,66 @@ +# Slovak translations for fpc package +# Slovenské preklady pre balík fpc. +# Copyright (C) 2012 THE fpc'S COPYRIGHT HOLDER +# This file is distributed under the same license as the fpc package. +# Slavko , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: fpc 2.6.0-6\n" +"Report-Msgid-Bugs-To: fpc@packages.debian.org\n" +"POT-Creation-Date: 2012-09-08 10:07-0400\n" +"PO-Revision-Date: 2012-09-09 16:30+0200\n" +"Last-Translator: Slavko \n" +"Language-Team: slovenčina \n" +"Language: sk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" +"X-POFile-SpellExtra: fp-utils fpc FPC cfg etc update-alternatives bak\n" + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "Rename \"/etc/fpc.cfg\" to \"/etc/fpc.cfg.bak\"?" +msgstr "Premenovať „/etc/fpc.cfg” na „/etc/fpc.cfg.bak”?" + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "" +"FPC now supports having multiple versions installed on the same system. The " +"update-alternatives command can be used to set a default version for\n" +" * fpc (the compiler);\n" +" * fpc.cfg (the configuration file);\n" +" * fp-utils (the helper tools)." +msgstr "" +"FPC teraz podporuje viacero nainštalovaných verzií na jednom stroji. Na " +"nastavenie predvolenej verzie možno použiť príkaz update-alternatives pre\n" +" * fpc (kompilátor);\n" +" * fpc.cfg (konfiguračný súbor);\n" +" * fp-utils (pomocné nástroje)." + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "" +"Whatever version you may choose as default, the configuration files are " +"always backward compatible, so it should always be safe to use the latest " +"version." +msgstr "" +"Ako predvolenú môžete zvoliť ktorúkoľvek verziu, konfiguračné súbory sú vždy " +"spätne kompatibilné, takže by malo byť vždy bezpečné používať najnovšiu " +"verziu." + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "" +"In order to use the alternatives system on the system wide FPC configuration " +"file you must accept renaming \"/etc/fpc.cfg\"; otherwise you will need to " +"manage this manually by yourself." +msgstr "" +"Aby ste mohli používať systém alternatív na systémový konfiguračný súbor " +"FPC, musíte potvrdiť premenovanie „/etc/fpc.cfg”; inak to budete musieť " +"spravovať manuálne." diff --git a/po/sv.po b/po/sv.po new file mode 100644 index 00000000..74f0c5e9 --- /dev/null +++ b/po/sv.po @@ -0,0 +1,65 @@ +# Translation of fpc debconf template to Swedish +# Copyright (C) 2012 Martin Bagge +# This file is distributed under the same license as the fpc package. +# +# Martin Bagge , 2012 +msgid "" +msgstr "" +"Project-Id-Version: fpc\n" +"Report-Msgid-Bugs-To: fpc@packages.debian.org\n" +"POT-Creation-Date: 2012-09-08 10:07-0400\n" +"PO-Revision-Date: 2012-09-22 17:09+0100\n" +"Last-Translator: Martin Bagge / brother \n" +"Language-Team: Swedish \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: Swedish\n" +"X-Poedit-Country: Sweden\n" + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "Rename \"/etc/fpc.cfg\" to \"/etc/fpc.cfg.bak\"?" +msgstr "Byt namn på \"/etc/fpc.cfg\" till \"/etc/fpc.cfg.bak\"?" + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "" +"FPC now supports having multiple versions installed on the same system. The " +"update-alternatives command can be used to set a default version for\n" +" * fpc (the compiler);\n" +" * fpc.cfg (the configuration file);\n" +" * fp-utils (the helper tools)." +msgstr "" +"FPC har nu stöd för att ha flera versioner installerade på samma system. " +"Kommandot update-alternatives kan användas för att sätta en standardversion " +"för\n" +" * fpc (kompileraren);\n" +" * fpc.cfg (inställningsfilen);\n" +" * fp-utils (hjälpverktygen)." + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "" +"Whatever version you may choose as default, the configuration files are " +"always backward compatible, so it should always be safe to use the latest " +"version." +msgstr "" +"Inställningsfilerna fungerar på äldre versioner oberoende vilken version du " +"anger som standard, därför är senaste versionen som standard ett säkert val." + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "" +"In order to use the alternatives system on the system wide FPC configuration " +"file you must accept renaming \"/etc/fpc.cfg\"; otherwise you will need to " +"manage this manually by yourself." +msgstr "" +"För att kunna använda alternativsystemet för systemets inställningsfil för " +"FPC måste du tillåta att \"/etc/fpc.cfg\" byter namn annars behöver du " +"hantera detta manuellt." diff --git a/po/templates.pot b/po/templates.pot new file mode 100644 index 00000000..ba0e588f --- /dev/null +++ b/po/templates.pot @@ -0,0 +1,53 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: fpc\n" +"Report-Msgid-Bugs-To: fpc@packages.debian.org\n" +"POT-Creation-Date: 2012-09-25 19:56+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "Rename \"/etc/fpc.cfg\" to \"/etc/fpc.cfg.bak\"?" +msgstr "" + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "" +"FPC now supports having multiple versions installed on the same system. The " +"update-alternatives command can be used to set a default version for\n" +" * fpc (the compiler);\n" +" * fpc.cfg (the configuration file);\n" +" * fp-utils (the helper tools)." +msgstr "" + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "" +"Whatever version you may choose as default, the configuration files are " +"always backward compatible, so it should always be safe to use the latest " +"version." +msgstr "" + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "" +"In order to use the alternatives system on the system wide FPC configuration " +"file you must accept renaming \"/etc/fpc.cfg\"; otherwise you will need to " +"manage this manually by yourself." +msgstr "" diff --git a/rules b/rules new file mode 100755 index 00000000..e9bd0eaa --- /dev/null +++ b/rules @@ -0,0 +1,387 @@ +#!/usr/bin/make -f +# debian/rules for Free Pascal + +DEB_PACKAGE_NAME = fpc +DEB_DH_BUILDDEB_ARGS := -- -Z bzip2 +export DH_ALWAYS_EXCLUDE := COPYING:LICENSE +export LANG:=C + +# Documentation type to use pdf/html +ifeq (${DEBDOCTYPE},) +DOCTYPE=html +# HTML Converter l2h/4ht/hevea or html for (default) +CONVERTER=hevea +else +DOCTYPE=${DEBDOCTYPE} +CONVERTER=${DOCTYPE} +endif +# Undefine FPC if it was set +unexport FPC + +# Detect name of new compiler, take care that debian uses amd64 instead of x86_64 +CPU_SOURCE := $(subst amd64,x86_64,$(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU)) +CPU_TARGET := $(subst amd64,x86_64,$(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)) + +ifeq ($(CPU_TARGET),m68k) +PPSUF=68k +endif +ifeq ($(CPU_TARGET),i386) +PPSUF=386 +endif +ifeq ($(CPU_TARGET),x86_64) +PPSUF=x64 +endif +ifeq ($(CPU_TARGET),powerpc) +PPSUF=ppc +endif +ifeq ($(CPU_TARGET),alpha) +PPSUF=axp +endif +ifeq ($(CPU_TARGET),arm) +PPSUF=arm +endif +ifeq ($(CPU_TARGET),sparc) +PPSUF=sparc +endif + +ifneq ($(CPU_SOURCE),$(CPU_TARGET)) +PPPRE=ppcross +else +PPPRE=ppc +endif + +PPNEW=$(PPPRE)$(PPSUF) + +FPCTARGET=$(CPU_TARGET)-linux +# Get version information from changelog file +DEB_VERSION:=$(shell dpkg-parsechangelog | grep '^Version:' | cut -f 2 -d ' ') +DEB_UPSTREAM_VERSION:=$(shell echo $(DEB_VERSION) | cut -f 1 -d -) +DEB_UPSTREAM_MAIN_VERSION:=$(shell echo ${DEB_UPSTREAM_VERSION} | sed -e 's/^\([0-9\.]*\).*/\1/') +DEB_BUILD=$(lastword $(subst -, ,${DEB_VERSION})) +ifndef PACKAGESUFFIX +export PACKAGESUFFIX=-${DEB_UPSTREAM_MAIN_VERSION} +endif +# Get directories +BUILD_DIR:=$(shell pwd) +INSTALL_DIR=${BUILD_DIR}/debian/tmp +BIN_DIR=${INSTALL_DIR}/usr/bin +LIB_DIR=${INSTALL_DIR}/usr/lib/${DEB_PACKAGE_NAME}/${DEB_UPSTREAM_MAIN_VERSION} +DOC_DIR=${INSTALL_DIR}/usr/share/doc +SRC_DIR=${INSTALL_DIR}/usr/share/fpcsrc/${DEB_UPSTREAM_MAIN_VERSION} +EXAMPLE_TEMP=${INSTALL_DIR}/usr/share/doc/fpc-${DEB_UPSTREAM_MAIN_VERSION} +STY_DIR=${INSTALL_DIR}/usr/share/texmf/tex/latex/fpc-${DEB_UPSTREAM_VERSION} +# Get utils +ifndef MKDIR +MKDIR=mkdir -p +endif +ifndef CP +CP=cp -Rfpl +endif +ifndef MV +MV=mv +endif +RM:=rm -rf +# Get fpcmake from path if none is specified. +ifndef FPCMAKE +FPCMAKE=fpcmake +endif +# Undefine FPCDIR if it was set +unexport FPCDIR +NEWPP=$(BUILD_DIR)/fpcsrc/compiler/$(PPNEW) +NEWFPDOC=$(BUILD_DIR)/fpcsrc/utils/fpdoc/fpdoc +# Set default compilation options +BUILDOPTS=PP=$(NEWPP) +ifdef CROSSOPT +BUILDOPTS+= CROSSOPT=${CROSSOPT} +endif +INSTALLOPTS=INSTALL_PREFIX=$(INSTALL_DIR)/usr PP=$(NEWPP) + +export GDBLIBDIR=/usr/lib + +#specify arm variant explicitly so we can use a starting +#compiler from a different arm variant (for bootstrapping) +ifeq ($(CPU_TARGET),arm) + DEBIANARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH) + ifeq ($(DEBIANARCH),arm) + CYCLEOPTS := OPT='-dFPC_OARM' + else + CYCLEOPTS := OPT='-dFPC_$(DEBIANARCH)' + endif +else + CYCLEOPTS= +endif + +#export DH_VERBOSE=1 + +################### +# Clean +# + +clean: configure clean-patched + ${RM} build-arch-stamp install-arch-stamp arrange-arch-stamp configure-stamp + ${RM} install-man-stamp + ${RM} build-doc-stamp install-doc-stamp + ${RM} build-indep-stamp install-indep-stamp + ${RM} install-source-stamp + ${RM} debian/*.install + ${RM} debian/*.config + ${RM} debian/*.doc-base + ${RM} debian/*.links + ${RM} debian/*.manpages + ${RM} debian/*.preinst + ${RM} debian/*.prerm + ${RM} debian/*.templates + ${RM} debian/README*.Debian + ${RM} debian/copyright + ${RM} debian/fpc-depends + ${RM} debian-files-stamp + ${RM} debian/files debian/docs debian/dirs debian/*.files debian/*.docs debian/*.examples debian/*.postinst debian/*.postrm + ${RM} debian/fpc-depends-${DEB_UPSTREAM_MAIN_VERSION}.1 + # Remove auto-generated version file. + ${RM} fpcsrc/compiler/version.inc + #remove some stuff that seems to get left behind by the upstream build + ${RM} fpcsrc/compiler/utils/msg2inc + ${RM} fpcdocs/fpdoc.haux + ${RM} fpcdocs/prog.haux + ${RM} fpcdocs/ref.haux + ${RM} fpcdocs/ref.hind + ${RM} fpcdocs/user.haux + + dh_clean + +clean-patched: + @echo "--- Cleaning" + dh_testdir + dh_testroot + $(MAKE) -C fpcsrc compiler_distclean + $(MAKE) -C fpcsrc rtl_distclean + $(MAKE) -C fpcsrc packages_distclean + $(MAKE) -C fpcsrc ide_distclean + $(MAKE) -C fpcsrc utils_distclean + $(MAKE) -C fpcdocs clean + find -regex '.*\.\(a\|or?\|so\.*\|ppu\)' -delete + dh_prep + +################### +# Debian files +# + +debian-files: debian-files-stamp +debian-files-stamp: + @echo "--- Creating/fixing *.install files" + GEN_CONTROL=false /bin/bash debian/fixdeb debian $(FPCTARGET) $(PPNEW) + touch debian-files-stamp + +debian/control: debian/control.in + GEN_CONTROL=true /bin/bash debian/fixdeb debian $(FPCTARGET) $(PPNEW) + + +################### +# Arch packages +# + +configure: configure-stamp +configure-stamp: + dh_testdir + # Remove auto-generated version file. + ${RM} fpcsrc/compiler/version.inc + # Add version.inc: + echo \'$(DEB_VERSION)\' > fpcsrc/compiler/version.inc + touch configure-stamp + +build-arch: debian-files configure build-arch-stamp +build-arch-stamp: + @echo "--- Building" + dh_testdir + # First make a new Compiler using a make cycle + $(MAKE) -C fpcsrc compiler_cycle $(CYCLEOPTS) + # Then build RTL using new compiler + $(MAKE) -C fpcsrc rtl_clean rtl_smart $(BUILDOPTS) + # Finally build packages and tools using new compiler and new RTL + $(MAKE) -C fpcsrc packages_smart $(BUILDOPTS) + $(MAKE) -C fpcsrc ide_all $(BUILDOPTS) + $(MAKE) -C fpcsrc utils_all $(BUILDOPTS) + touch build-arch-stamp + +install-arch: build-arch install-arch-stamp +install-arch-stamp: + @echo "--- Installing" + dh_testdir + dh_testroot + dh_installdirs + # create all necessary directories + ${MKDIR} ${BIN_DIR} + ${MKDIR} ${LIB_DIR} + ${MKDIR} ${STY_DIR} + # Specify the compiler to use so installing will use the correct versioned dir + $(MAKE) -C fpcsrc compiler_distinstall $(INSTALLOPTS) + $(MAKE) -C fpcsrc rtl_distinstall $(INSTALLOPTS) + $(MAKE) -C fpcsrc packages_distinstall $(INSTALLOPTS) + $(MAKE) -C fpcsrc ide_distinstall $(INSTALLOPTS) INSTALL_DOCDIR=$(DOC_DIR)/fp-ide/${DEB_UPSTREAM_MAIN_VERSION} + $(MAKE) -C fpcsrc utils_distinstall $(INSTALLOPTS) + ${MV} -t ${LIB_DIR} ${INSTALL_DIR}/usr/lib/fpc/lexyacc + ${CP} -t ${BIN_DIR} debian/fpc-depends + # Copy examples to the correct doc dir + /bin/bash debian/moveexamples ${EXAMPLE_TEMP} ${DOC_DIR} ${DEB_UPSTREAM_MAIN_VERSION} + # Rename executables + for f in ${BIN_DIR}/* ; do ${MV} $$f $${f}-${DEB_UPSTREAM_MAIN_VERSION} ; done + # Install RTL demos + $(MAKE) -C demo sourceinstall $(INSTALLOPTS) INSTALL_SOURCEDIR=$(DOC_DIR)/fp-compiler/${DEB_UPSTREAM_MAIN_VERSION} + # Install whatsnew and readme + $(MAKE) -C install/doc installdoc $(INSTALLOPTS) INSTALL_DOCDIR=$(DOC_DIR)/fp-compiler/${DEB_UPSTREAM_MAIN_VERSION} + # Install fpdoc latex styles + ${CP} -t ${STY_DIR} \ + ${BUILD_DIR}/fpcdocs/*.sty + # Install lintian override files + set -x -e ; cd debian/overrides ; for PACKAGE in * ; do \ + if [ -d ../$${PACKAGE}${PACKAGESUFFIX} ] ; \ + then \ + ${MKDIR} ../$${PACKAGE}${PACKAGESUFFIX}/usr/share/lintian/overrides ; \ + sed -e "s/$${PACKAGE}/&${PACKAGESUFFIX}/g" $${PACKAGE} > ../$${PACKAGE}${PACKAGESUFFIX}/usr/share/lintian/overrides/$${PACKAGE}${PACKAGESUFFIX} ; \ + fi ; \ + done +ifeq (${DEB_BUILD},0) + # We are building upstream debs, install override files for build = 0 + set -x -e ; cd debian ; for PACKAGE in `sed -n -e 's/Package: \(.*\)/\1/p' control` ; do \ + if [ -d $${PACKAGE} ] ; \ + then \ + ${MKDIR} $${PACKAGE}/usr/share/lintian/overrides ; \ + echo "$${PACKAGE}: debian-revision-should-not-be-zero" >> $${PACKAGE}/usr/share/lintian/overrides/$${PACKAGE} ; \ + fi ; \ + done +endif + find ${INSTALL_DIR} -empty -delete + touch install-arch-stamp + +arrange-arch: install-arch arrange-arch-stamp install-man +arrange-arch-stamp: + dh_testdir + dh_testroot + dh_install -s --sourcedir=debian/tmp --list-missing + touch arrange-arch-stamp + +build-indep: +install-indep: + touch install-indep-stamp + +install-man: install-man-stamp +install-man-stamp: + # Install man pages + $(MAKE) -C install/man installman $(INSTALLOPTS) + for s in ${INSTALL_DIR}/usr/man/man[1-9] ; do cd $${s} && ( gzip -d *.gz || true ) && for f in *.[1-9] ; do ${MV} $${f} $${f%%.*}-${DEB_UPSTREAM_MAIN_VERSION}."$${f#*.}" ; done ; done || true + pod2man -c 'Free pascal for Debian GNU/Linux' debian/fpc-depends > debian/fpc-depends-${DEB_UPSTREAM_MAIN_VERSION}.1 + dh_installman -s + ${RM} ${INSTALL_DIR}/usr/man + touch install-man-stamp + +################### +# Documentation +# + +build-doc: debian-files build-doc-stamp +build-doc-stamp: + @echo "--- Building Documentation" + dh_testdir + ${MKDIR} fpcsrc/compiler/utils/units/${FPCTARGET} + $(MAKE) -C fpcdocs $(CONVERTER) + touch build-doc-stamp + +install-doc: build-doc install-doc-stamp +install-doc-stamp: + @echo "--- Installing Documentation" + dh_testdir + dh_testroot + ${MAKE} -C fpcdocs ${DOCTYPE}install INSTALL_PREFIX=${INSTALL_DIR}/usr INSTALL_DOCDIR=${DOC_DIR}/fp-docs/${DEB_UPSTREAM_MAIN_VERSION} + touch install-doc-stamp + +################### +# Source +# + +install-source: install-source-stamp +install-source-stamp: + @echo "--- Cleaning the tree and copying the source code" + dh_testdir + dh_testroot + ${MKDIR} ${SRC_DIR} + ${CP} -t ${SRC_DIR} \ + $(BUILD_DIR)/fpcsrc/compiler \ + $(BUILD_DIR)/fpcsrc/packages \ + $(BUILD_DIR)/fpcsrc/rtl + touch install-source-stamp + +################### +# Generic +# + +build: build-arch build-indep +install: install-arch install-indep +binary: binary-arch binary-indep + + +################### +# Deb building +# + +binary-indep: clean-patched build-doc install-doc install-source debian-files + @echo "--- Building: arch-indep packages" + dh_testdir + dh_testroot + dh_installdocs -i -X.in + dh_installchangelogs -i + dh_install -i --sourcedir=debian/tmp --list-missing + find debian/fpc-source${PACKAGESUFFIX}/usr/share/fpcsrc/ -type f \ + -not -regex '.*\.\(fpc\|inc\|pas\|pp\)' -delete + find debian/fpc-source${PACKAGESUFFIX}/usr/share/fpcsrc/ -type d \ + -empty -delete + # Install lintian override files + set -x -e ; cd debian/overrides ; for PACKAGE in * ; do \ + if [ -d ../$${PACKAGE}${PACKAGESUFFIX} ] ; \ + then \ + ${MKDIR} ../$${PACKAGE}${PACKAGESUFFIX}/usr/share/lintian/overrides ; \ + sed -e "s/$${PACKAGE}/&${PACKAGESUFFIX}/g" $${PACKAGE} > ../$${PACKAGE}${PACKAGESUFFIX}/usr/share/lintian/overrides/$${PACKAGE}${PACKAGESUFFIX} ; \ + fi ; \ + done +ifeq (${DEB_BUILD},0) + # We are building upstream debs, install override files for build = 0 + set -x -e ; cd debian ; for PACKAGE in `sed -n -e 's/Package: \(.*\)/\1/p' control` ; do \ + if [ -d $${PACKAGE} ] ; \ + then \ + ${MKDIR} $${PACKAGE}/usr/share/lintian/overrides ; \ + echo "$${PACKAGE}: debian-revision-should-not-be-zero" >> $${PACKAGE}/usr/share/lintian/overrides/$${PACKAGE} ; \ + fi ; \ + done +endif + dh_compress -i -X.pdf + dh_fixperms -i + dh_installdebconf -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i $(DEB_DH_BUILDDEB_ARGS) + +binary-arch: arrange-arch + @echo "--- Building: arch packages" + dh_testdir + dh_testroot + dh_link + dh_installdocs -a -X.in + dh_installchangelogs -a + dh_installexamples -a + dh_strip -s + dh_compress -a + dh_fixperms -a + dh_installdebconf -a + dh_installdeb -a + dh_shlibdeps -s + dh_gencontrol -s + dh_md5sums -s + dh_builddeb -s $(DEB_DH_BUILDDEB_ARGS) + +.PHONY: build clean binary binary-arch \ + binary-indep debian-files build-arch \ + install install-indep install-arch \ + configure + +get-orig-source: + -uscan --upstream-version=0 --rename diff --git a/source/format b/source/format new file mode 100644 index 00000000..163aaf8d --- /dev/null +++ b/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/watch b/watch new file mode 100644 index 00000000..ddc47d75 --- /dev/null +++ b/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/freepascal/ fpcbuild-(.*).tar.gz debian debian/orig-tar.sh