From: Paul Gevers Date: Mon, 13 Oct 2014 19:16:54 +0000 (+0000) Subject: Import fpc_2.6.4+dfsg-4.debian.tar.xz X-Git-Tag: archive/raspbian/3.0.0+dfsg-11+rpi1~1^2^2^2~19^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b713fd5d6d222bd26100d8c3ec2233ccdc547133;p=fpc.git Import fpc_2.6.4+dfsg-4.debian.tar.xz [dgit import tarball fpc 2.6.4+dfsg-4 fpc_2.6.4+dfsg-4.debian.tar.xz] --- b713fd5d6d222bd26100d8c3ec2233ccdc547133 diff --git a/README.Debian.in b/README.Debian.in new file mode 100644 index 00000000..c28f560a --- /dev/null +++ b/README.Debian.in @@ -0,0 +1,26 @@ +The Free Pascal Compiler for Debian +- ----------------------------------- + +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. + + -- Varun Hiremath , Sat, 20 Jan 2007 01:28:28 +0530 + + +Debugging support +------------------------------------- + +As discussed in bug 528855 [1], fp-ide currently does not have debugging +support. We are still trying to define a proper solution, but for now it +just doesn't work. + +[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=528855 + + -- Paul Gevers Mon, 23 Sep 2013 21:20:16 +0200 diff --git a/changelog b/changelog new file mode 100644 index 00000000..76ccfda1 --- /dev/null +++ b/changelog @@ -0,0 +1,1207 @@ +fpc (2.6.4+dfsg-4) unstable; urgency=low + + * Let "Select manually" be translatable in debconf questions and update + language files accordingly. + * Bump standards version to 3.9.6 (no changes) + * New/updated translations + - Danish (Joe Hansen) (Closes: #763984) + - Dutch (Paul Gevers) + - German (Chris Leick) (Closes: #763807) + - Italian (Beatrice Torracca) (Closes: #764934) + - Japanese (victory) + - Swedish (Martin Bagge / brother) (Closes: #763446) + + -- Paul Gevers Mon, 13 Oct 2014 21:16:54 +0200 + +fpc (2.6.4+dfsg-3) unstable; urgency=low + + [ Abou Al Montacir ] + * Added libgmp-dev to recommended packages list of fp-units-math in order to + avoid users getting lik errors about missing libgmp. (Closes: Bug#749418) + [ Michal Å imůnek ] + * Updated Czech translation of PO debconf. (Closes: Bug#751387) + + -- Abou Al Montacir Thu, 12 Jun 2014 21:01:47 +0200 + +fpc (2.6.4+dfsg-2) unstable; urgency=medium + + * Revert manpage change in previous upload + * Next time, in case of repack, also remove Windows dll files + * Fix fpc-abi version provided by fp-units-rtl-## (Closes: #746794) + + -- Paul Gevers Sat, 03 May 2014 18:25:46 +0200 + +fpc (2.6.4+dfsg-1) unstable; urgency=low + + [ Abou Al Montacir ] + * New upstream point release with many fixes to the 2.6.2 fixes branch. + - List of changes that 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.4 + - List of reported bugs which have been fixed in this release is available + online on http://bugs.freepascal.org/changelog_page.php?version_id=315 + * Packages changes: + + Lots and lots fixes and improvements for fcl-db + + web and json packages synchronized. + + improvements to the chmcmd compiler. + + Several fixes for winunits (and winceunits) + * Docs changes: + + Many additions. + + fpjson documented. + * Fixed bug making fp-utils not installable in multiple versions. + * Moved removing alternatives from postrm script to prerm as is recommended. + * Bumped standard version to 3.9.5. + + [ Paul Gevers ] + * Update bug number in previous changelog entry + * Remove nearly obsolete bzip compression for binary packages + (See https://lists.debian.org/debian-devel/2014/01/msg00542.html) + * Fixed versioning of ptop.cfg and fpc.cfg manpage + * Add lintian override for two text documents it considers Flash files + * Repack source to strip fpcsrc/rtl/netwlibc/pre/libcpre.gcc.o + + -- Paul Gevers Sat, 19 Apr 2014 18:05:27 +0200 + +fpc (2.6.2-8) unstable; urgency=low + + [ Gianfranco Costamagna ] + * Backport upstream revision 22477 to fix a FTBFS. (Closes: Bug#733618) + + [ Abou Al Montacir ] + * Change path of localization files to fit Debian standard. + (Closes: Bug#733688) + * Fix encoding of German localization files to be UTF-8. + + -- Abou Al Montacir Mon, 20 Jan 2014 20:39:35 +0100 + +fpc (2.6.2-7) unstable; urgency=low + + [ Christian Perrier ] + * Update debian/control and debconf templates file from Debian translation + team. (Closes: Bug#725851) + * Update Russian translation (Yuri Kozlov). (Closes: Bug#729391) + * Update Danish translation (Joe Hansen). (Closes: Bug#729428) + * Update German translation (Chris Leick). (Closes: Bug#729841) + * Update Polish translation (Michał Kułach). (Closes: Bug#730064) + * Update Swedish translation (Martin Bagge / brother). (Closes: Bug#730186) + * Update Slovak translation (Slavko). (Closes: Bug#730303) + * Update French translation (David Prévot). (Closes: Bug#730514) + * Update Italian translation (Beatrice Torracca). (Closes: Bug#730579) + * Update Japanese translation (victory). (Closes: Bug#730607) + * Update Portuguese translation (Américo Monteiro). (Closes: Bug#730706) + * Update Spanish translation (Matias Bellone). (Closes: Bug#731767) + + [ Paul Gevers ] + * fp-docs, prevent loads of duplicate files, replace with symlinks + - Add Build-Depends-Indep on rdfind and symlinks + * Removed some dependencies in d/rules target to ease manual building + * lintian override for extra-license-file (it is a Pascal header) + * Allow $EXAMPLE_TEMP to be non-existent in d/moveexamples + * Remove fix-doc-build-with-fpdoc-2.6.0.diff (obsolete) + * Allow builds on all arches (will automatically fail on unsatified + build-depends when never bootstrapped on that arch before) + * Initial work for kfreebsd (not finished yet) + - Don't hardcode linux in d/rules + - Add find_iconv_in_libc_on_debian.patch to force use of libc for iconv + - Add kfreebsd-amd64_bootstrap.patch for freebsd target to set linker to + /lib/ld-kfreebsd-x86-64.so.1 and errno to __errno_location + - Add dont_build_fastcgi_fcl-web_and_fppkg_on_kfreebsd.patch to do exactly + that. + + -- Paul Gevers Sun, 15 Dec 2013 21:08:59 +0100 + +fpc (2.6.2-6) unstable; urgency=low + + [ Peter Michael Green ] + * Actually apply add-ppc64-support.diff (Closes: Bug#716813) + + [ Abou Al Montacir ] + * Removed dependency on svgalib which was removed from Debian. Users may + install it manually to link against it. (Closes: Bug#714025) + + [ Paul Gevers ] + * Fix clean target to run as any user and to not require configure target to + run. + * Update README.Debian to describe debugging situation (see bug 528855) and + remove useless information. + * d/control(.in) + - Remove deprecated DM-Upload-Allowed field + - Update Standards-Version (no changes needed) + - Add myself to uploaders + - Add recommends for *-dev packages for fp-units-gfx- + (Closes: #702689, LP: 1153007) + + -- Paul Gevers Mon, 07 Oct 2013 20:24:12 +0200 + +fpc (2.6.2-5) unstable; urgency=high + + * Add -f to rm statements introduced in last upload so they don't fail if + the files are not present. + + -- Peter Michael Green Wed, 24 Jul 2013 17:28:54 +0000 + +fpc (2.6.2-4) unstable; urgency=high + + * Remove the config files used to pass options to the compiler during the + build in clean target to produce clean source packages and to ensure that + they are generated correctly for each architecture. + + -- Peter Michael Green Wed, 24 Jul 2013 11:28:06 +0000 + +fpc (2.6.2-3) unstable; urgency=high + + [Abou Al Montacir] + * Added a new directive, CFGDIR, to configuration file allowing one to add a + directory to a list where included configuration files are searched. + * Define a default location, multi-arch compatible, for third party units, + which should be installed in /usr/lib/$fpctarget-gnu/fp-units-2.6.2/$pkg/. + Each fp-units package should install a configuration file called $pkg.cfg + in configuration directory /etc/fp-units-$fpcversion.cfg.d/$fpctarget/. + * Use compiler configuration file to pass debian custom compilaer flags. + * Pass "-z relro" to linker to remove lintian error. + * Restored ppc64 compiler man page. (Closes: Bug#716813) + + [Peter Michael Green] + * Use "FPMAKE_SKIP_CONFIG" rather than "FPCFPMAKE" to pass linker option + needed for building fpmake. This method unlike the previous one shouldn't + break crossbuilding. (though I don't know if crossbuilding works in + general) + * Change way patching is done for doc build to fix build with newer + versions of patch. + * Remove conflicts with binutils-gold (Closes: Bug#717651) + * Use ld.bfd explicitly (Helps with: Bug#624525) + * Use urgency high so that above binutils related changes hopefully get into + Testing before new binutils does. + + -- Peter Michael Green Tue, 23 Jul 2013 21:48:50 +0000 + +fpc (2.6.2-2) unstable; urgency=low + + [Abou Al Montacir] + * debian/rules + - Allow generating each autogenrated file separately on demand. + - Avoid changing content of hidden directory .pc as this is used by quilt and changing its content may cause some tricky issues. + + [Peter Michael Green] + * debian/patches/armhf-build-with-2.6.0 + - fixup some conditionals in arm assembler to avoid using instrutions that + fpc 2.6.0 doesn't support when building the rtl with 2.6.0 (first stage) + * debian/rules + - Pass 'PPCFPMAKE=$PPCNEW -Fl/usr/lib/$(DEB_BUILD_MULTIARCH)' during + packages build so that fpmake links successfully. + - Pass 'OPT=-Fl/usr/lib/$(DEB_HOST_MULTIARCH)' during utils build so + fpdoc links successfully. + + -- Peter Michael Green Thu, 30 May 2013 11:16:27 +0000 + +fpc (2.6.2-1) unstable; urgency=low + + * New upstream point release with many fixes to the 2.6.0 fixes branch. + - List of changes that 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.2 + - List of reported bugs which have been fixed in this release is available + online on http://bugs.freepascal.org/changelog_page.php?version_id=223 + - List of new features which have been added to this release is available + online on http://wiki.freepascal.org/FPC_New_Features_2.6.2 + * Compiler changes: + - Improvements and fixes for the ARM architecture + * Packages changes: + - New package fpindexer (indexing engine) + - Support for observer pattern added to fcl-base (and base classes in RTL) + - Lots and lots fixes and improvements for fcl-db + + Support for JSON dataset added among others + - Fixes and improvements for fcl-passrc (and fpdoc) + - Updates for PTCPas and gtk2 + - fpmkunit improvements (better support for future switch to fpmake) + - Several fixes for x11 + - Several fixes for winunits (and winceunits) + * Platforms specific changes: + - Improvements to the NativeNT target (newly introduced as alpha in 2.6.0) + - Many fixes for OpenBSD and NetBSD (considered in beta state now) + - Internal ELF writer supported for more BSD targets + - Fixes and improvements for gba and nds + * Added new tool relpath to compute relative path according to a given base + directory. + * Added new tool ifpc (Instant Free Pascal Compiler) for compiling and + running pascal scripts. + + -- Abou Al Montacir Wed, 7 May 2013 19:41:59 +0100 + +fpc (2.6.0-12) unstable; urgency=low + + [ Abou Al Montacir ] + * Fix lookup keys in debconf database. (Closes: Bug#706459) + * Fixed typo in variable name in post installation script for fp-compiler + package. + * Apply sed changes directly on new configuration file and update + alternatives later. Using sed -i on symbolic link seems to change it on + plain file introducing a regression. + * Fix lintian wraning about questions in debconf prompts. + [ Peter Michael Green ] + * Upload to unstable + + -- Peter Michael Green Sun, 5 May 2013 22:02:00 +0000 + +fpc (2.6.0-11) experimental; urgency=low + + * more powerpc64 fixes (Really closes: Bug#692893) + + set PPUSF to ppc64 in debian/rules. + + add manpage patch to series file. + + -- Peter Michael Green Tue, 30 Apr 2013 09:05:24 +0000 + +fpc (2.6.0-10) experimental; urgency=low + + [ Abou Al Montacir ] + * Fixed typo in French translation. (Closes: Bug#696536) + * Removed auto-generation of debian/control during build process as required + by policy. (Closes: Bug#704252) + * Detect when user refused to migrate to update-alternatives managed and + do not handle configuration files. (Closes: Bug#704251) + * Added debconf screens to let user select a default .rc MS Windows resourse + files compiler either from mingw32-binutils package or any others custom + installed the system. (Closes: UpstreamBug#23092) + [Hiroyuki Yamamoto] + * Added support for ppc64 architecture. (Closes: Bug#692893) + [ Peter Michael Green ] + * Don't remove fpc.*dpkg* the release team don't like it and + as far as I can tell it isn't needed. + + -- Abou Al Montacir Fri, 26 Apr 2013 18:59:00 +0100 + +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..b645dcbb --- /dev/null +++ b/control @@ -0,0 +1,729 @@ +Source: fpc +Section: devel +Priority: optional +Maintainer: Carlos Laviola +Uploaders: Abou Al Montacir , + Paul Gevers , + Peter Michael Green , + Torsten Werner +Standards-Version: 3.9.6 +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, rdfind, symlinks +Vcs-Git: git://anonscm.debian.org/pkg-pascal/fpc.git +Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-pascal/fpc.git +Homepage: http://www.freepascal.org/ + +Package: fpc-2.6.4 +Architecture: all +Depends: ${misc:Depends}, fp-units-rtl-2.6.4 (>= ${binary:Version}), fp-compiler-2.6.4 (>= ${binary:Version}), fp-units-base-2.6.4 (>= ${binary:Version}), fp-ide-2.6.4 (>= ${binary:Version}), fp-units-fcl-2.6.4 (>= ${binary:Version}), fp-units-fv-2.6.4 (>= ${binary:Version}), fp-units-gtk-2.6.4 (>= ${binary:Version}), fp-units-gtk2-2.6.4 (>= ${binary:Version}), fp-units-gnome1-2.6.4 (>= ${binary:Version}), fp-units-db-2.6.4 (>= ${binary:Version}), fp-units-gfx-2.6.4 (>= ${binary:Version}), fp-units-net-2.6.4 (>= ${binary:Version}), fp-units-misc-2.6.4 (>= ${binary:Version}), fp-units-multimedia-2.6.4 (>= ${binary:Version}), fp-units-math-2.6.4 (>= ${binary:Version}) +Recommends: fp-utils-2.6.4 +Suggests: lazarus, fp-docs-2.6.4 (>= ${source:Upstream-Version}) +Provides: fpc +Breaks: fpc (<= 2.4.0-3) +Replaces: fpc (<= 2.4.0-3) +Description: Free Pascal - SDK-2.6.4 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.4 +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.4 +Architecture: any +Depends: ${misc:Depends}, fp-units-rtl-2.6.4 (= ${binary:Version}), binutils +Recommends: fp-utils-2.6.4 (>= ${binary:Version}) +Suggests: fp-docs-2.6.4 (>= ${source:Upstream-Version}), mingw32-binutils +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) +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.4 +Architecture: any +Depends: ${misc:Depends}, fp-units-rtl-2.6.4 (= ${binary:Version}), ${shlibs:Depends} +Recommends: fp-utils-2.6.4 (>= ${binary:Version}) +Suggests: fp-docs-2.6.4 (>= ${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.4 +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Recommends: fp-compiler-2.6.4 (= ${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.4 +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.4 +Architecture: any +Depends: ${misc:Depends} +Recommends: fp-compiler-2.6.4 (= ${binary:Version}) +Provides: fp-units-rtl, fpc-abi-2.6.4 +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.4 +Architecture: any +Depends: ${misc:Depends}, fp-units-rtl-2.6.4 (= ${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.4 +Architecture: any +Depends: ${misc:Depends}, fp-units-rtl-2.6.4 (= ${binary:Version}), fp-units-base-2.6.4 (= ${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.4 +Architecture: any +Depends: ${misc:Depends}, fp-units-rtl-2.6.4 (= ${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.4 +Architecture: any +Depends: ${misc:Depends}, fp-units-rtl-2.6.4 (= ${binary:Version}), fp-units-fcl-2.6.4 (= ${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.4 +Architecture: any +Depends: ${misc:Depends}, fp-units-rtl-2.6.4 (= ${binary:Version}), fp-units-fcl-2.6.4 (= ${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.4 +Architecture: any +Depends: ${misc:Depends}, fp-units-rtl-2.6.4 (= ${binary:Version}), fp-units-gtk-2.6.4 (= ${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.4 +Architecture: any +Depends: ${misc:Depends}, fp-units-rtl-2.6.4 (= ${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.4 +Architecture: any +Depends: ${misc:Depends}, fp-units-rtl-2.6.4 (= ${binary:Version}), fp-units-base-2.6.4 (= ${binary:Version}) +Provides: fp-units-gfx +Recommends: libcairo2-dev, + libforms-dev, + libgd-dev, + libggi2-dev, + libgl1-mesa-dev, + libgraphviz-dev, + libpng-dev, + libxxf86dga-dev, + libxxf86vm-dev, +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. + . + SVGALib is no longer packaged by Debian and should be installed manually by + users who want to link against it. + +Package: fp-units-net-2.6.4 +Architecture: any +Depends: ${misc:Depends}, fp-units-rtl-2.6.4 (= ${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: D-Bus, + httpd-1.3, httpd-2.0, httpd-2.2, ldap, libasync, libcurl, netdb, openssl, + and pcap. + +Package: fp-units-math-2.6.4 +Architecture: any +Depends: ${misc:Depends}, fp-units-rtl-2.6.4 (= ${binary:Version}) +Recommends: libgmp-dev +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.4 +Architecture: any +Depends: ${misc:Depends}, fp-units-rtl-2.6.4 (= ${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.4 +Architecture: any +Depends: ${misc:Depends}, fp-units-rtl-2.6.4 (= ${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.4 +Architecture: i386 +Depends: ${misc:Depends}, fp-units-rtl-2.6.4 (= ${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). + +Package: fpc +Architecture: all +Depends: ${misc:Depends}, fpc-2.6.4 (= ${binary:Version}) +Recommends: fp-utils-2.6.4 +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.4 (= ${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.4 (= ${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.4 (= ${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.4 (= ${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.4 (= ${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.4 (= ${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.4 (= ${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.4 (= ${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.4 (= ${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.4 (= ${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.4 (= ${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.4 (= ${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.4 (= ${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.4 (= ${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. + . + SVGALib is no longer packaged by Debian and should be installed manually by + users who want to link against it. + +Package: fp-units-net +Architecture: any +Depends: ${misc:Depends}, fp-units-net-2.6.4 (= ${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: D-Bus, + 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.4 (= ${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.4 (= ${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.4 (= ${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.4 (= ${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..1c577429 --- /dev/null +++ b/control.in @@ -0,0 +1,729 @@ +Source: fpc +Section: devel +Priority: optional +Maintainer: Carlos Laviola +Uploaders: Abou Al Montacir , + Paul Gevers , + Peter Michael Green , + Torsten Werner +Standards-Version: 3.9.6 +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, rdfind, symlinks +Vcs-Git: git://anonscm.debian.org/pkg-pascal/fpc.git +Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-pascal/fpc.git +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: any +Depends: ${misc:Depends}, fp-units-rtl${PACKAGESUFFIX} (= ${binary:Version}), binutils +Recommends: fp-utils${PACKAGESUFFIX} (>= ${binary:Version}) +Suggests: fp-docs${PACKAGESUFFIX} (>= ${source:Upstream-Version}), mingw32-binutils +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) +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: any +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: any +Depends: ${misc:Depends}, ${shlibs: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: any +Depends: ${misc:Depends} +Recommends: fp-compiler${PACKAGESUFFIX} (= ${binary:Version}) +Provides: fp-units-rtl, fpc-abi${PACKAGESUFFIX} +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: any +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: any +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: any +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: any +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: any +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: any +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: any +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: any +Depends: ${misc:Depends}, fp-units-rtl${PACKAGESUFFIX} (= ${binary:Version}), fp-units-base${PACKAGESUFFIX} (= ${binary:Version}) +Provides: fp-units-gfx +Recommends: libcairo2-dev, + libforms-dev, + libgd-dev, + libggi2-dev, + libgl1-mesa-dev, + libgraphviz-dev, + libpng-dev, + libxxf86dga-dev, + libxxf86vm-dev, +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. + . + SVGALib is no longer packaged by Debian and should be installed manually by + users who want to link against it. + +Package: fp-units-net${PACKAGESUFFIX} +Architecture: any +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: D-Bus, + httpd-1.3, httpd-2.0, httpd-2.2, ldap, libasync, libcurl, netdb, openssl, + and pcap. + +Package: fp-units-math${PACKAGESUFFIX} +Architecture: any +Depends: ${misc:Depends}, fp-units-rtl${PACKAGESUFFIX} (= ${binary:Version}) +Recommends: libgmp-dev +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: any +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: any +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). + +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. + . + SVGALib is no longer packaged by Debian and should be installed manually by + users who want to link against it. + +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: D-Bus, + 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 b/copyright new file mode 100644 index 00000000..8157ef18 --- /dev/null +++ b/copyright @@ -0,0 +1,77 @@ +The packages were originally put together by: + Peter Vreman + +Debian maintainer: + Carlos Laviola + +Sources were obtained from: http://sourceforge.net/projects/freepascal/files/ + +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. + +The upstream source has been repacked to remove a non-distributable file: +fpcsrc/rtl/netwlibc/pre/libcpre.gcc.o . Because repacking needed to be done +anyways, also other precompiled files and generated Makefiles were removed, +in order to save considerable amounts of disk space. The Makefiles can be +recreated by running the make-files target in debian/rules, i.e.: +$ debian/rules make-files + +---------- + +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 100755 index 00000000..5ba67650 --- /dev/null +++ b/fixdeb @@ -0,0 +1,57 @@ +#!/bin/bash +# +# Create debian files from *.in files +# + +set -e + +usage() +{ + echo 'Usage : DEB_SUBST_= ... DEB_SUBST_= fixdeb [-sc|--gen-control] [file1.in] ... [filen.in]' + echo ' Changes environment variables with their values. The variables to be' + echo ' changed should be exported prefixed with DEB_SUBST_' + echo ' --gen-control: do not skip generating control file, by default it will be ignored' + echo ' = space separated list to debian files templates' + echo + echo ' List of defined variables' + set | grep '^DEB_SUBST_' + exit 1 +} + +true ${DEB_SUBST_PACKAGEVERSION:=$(dpkg-parsechangelog | sed -ne's,^Version: \(.*\),\1,p')} +true ${DEB_SUBST_VERSION:=$(echo $DEB_SUBST_PACKAGEVERSION | sed -ne's,^\([0-9.]*\).*,\1,p')} +true ${DEB_SUBST_DEBVERSION:=$(echo $DEB_SUBST_PACKAGEVERSION | awk -F '-' '{ print $NF }')} +true ${DEB_SUBST_UPSTREAM_VERSION:=$(echo ${DEB_SUBST_PACKAGEVERSION} | cut -f 1 -d -)} +true ${DEB_SUBST_UPSTREAM_MAIN_VERSION:=$(echo ${DEB_SUBST_UPSTREAM_VERSION} | sed -e 's/^\([0-9\.]*\).*/\1/')} +true ${DEB_SUBST_PACKAGESUFFIX:=-${DEB_SUBST_UPSTREAM_MAIN_VERSION}} +true ${DEB_SUBST_PRIORITY:=$(($(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@')))} +true ${DEB_SUBST_TARGET:=$(dpkg-architecture -qDEB_BUILD_ARCH)-$(dpkg-architecture -qDEB_BUILD_ARCH_OS)} + +if test ${1} = '--gen-control' +then + echo ========== Genrating debian/control as per explicit request ========== + gen_control=true + shift +else + gen_control=false +fi +if test $# -lt 1 +then + usage +fi + +echo 'List of defined variables' +set | grep '^DEB_SUBST_' +SUBST_CMD=$(set | sed -n -e 's/^DEB_SUBST_\([A-Z_]\+\)=\(.*\)/-e s@\${\1}@\2@g/p') + +for i in $* +do + f=$(basename ${i} .in) + if ${gen_control} || test ${f} != 'control' + then + d=$(dirname ${i}) + o=${d}/${f/./${DEB_SUBST_PACKAGESUFFIX}.} + echo " * Generating ${o}" + sed ${SUBST_CMD} ${i} > ${o} + fi +done diff --git a/fp-compiler.config.in b/fp-compiler.config.in new file mode 100644 index 00000000..5eb7cb56 --- /dev/null +++ b/fp-compiler.config.in @@ -0,0 +1,34 @@ +#! /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/rename_cfg || test $? -eq 30 +fi +WINDRES_BINS=$(find '/usr/bin' -maxdepth 1 -mindepth 1 -executable -name "*windres*" -printf "%p, ") +# The last comma needs to be stripped because the template already has it +db_subst fp-compiler/windres-select choices ${WINDRES_BINS%, } +db_metaget fp-compiler/windres-select choices +# The last entry of the template now has "Select manually" but let's not hardcode +# it here. It should remain the last item though. +MANUAL_SELECT_MESSAGE="${RET##*, }" +db_input low fp-compiler/windres-select || test $? -eq 30 +db_go +db_get fp-compiler/windres-select +if test "${RET}" = "${MANUAL_SELECT_MESSAGE}" +then + db_input low fp-compiler/windres || test $? -eq 30 +else + WINDRES_BIN=${RET} + db_set fp-compiler/windres "${WINDRES_BIN}" +fi +db_go + +# 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..fc7de534 --- /dev/null +++ b/fp-compiler.postinst.in @@ -0,0 +1,75 @@ +#! /bin/sh + +set -e + +# Load debconf +. /usr/share/debconf/confmodule + +CFG_PATH='/etc/fpc.cfg' +PKG_CFG_PATH="/etc/fpc-${VERSION}.cfg" +LIB_DIR="/usr/lib/fpc" +MAN_DIR="/usr/share/man/man1" + +# Debhelper code +#DEBHELPER# + +USER_HAS_ENABLED_NEW_CONF="test -L ${CFG_PATH} -o ! -e ${CFG_PATH}" + +if ! ${USER_HAS_ENABLED_NEW_CONF} +then + db_get fp-compiler/rename_cfg + if test "${RET}" = "true" -a -e ${CFG_PATH} + then + mv "${CFG_PATH}" "${CFG_PATH}.bak" + fi +fi + +# Create new compiler configuration file +fpcmkcfg-${VERSION} -0 -d "basepath=${LIB_DIR}/\$fpcversion" -o "${PKG_CFG_PATH}" +# Add multiarch path to /etc/fpc.cfg so executables linked against libc can be corectly linked +echo '# multiarch library search path' >> ${PKG_CFG_PATH} +echo '-Fl/usr/lib/$fpctarget-*' >> ${PKG_CFG_PATH} +# Define a default location, multi-arch compatible, for third party units. +cat >> ${PKG_CFG_PATH} <> ${PKG_CFG_PATH} + echo "-FC${WINDRES_BIN}" >> ${PKG_CFG_PATH} +fi + +# 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 +# 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 +if ${USER_HAS_ENABLED_NEW_CONF} +then + update-alternatives \ + --install ${CFG_PATH} fpc.cfg ${PKG_CFG_PATH} ${PRIORITY} +fi +# Replace legacy/gnu pascal compilers +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 diff --git a/fp-compiler.postrm.in b/fp-compiler.postrm.in new file mode 100644 index 00000000..5199a598 --- /dev/null +++ b/fp-compiler.postrm.in @@ -0,0 +1,16 @@ +#! /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 +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..7cfa337b --- /dev/null +++ b/fp-compiler.templates.in @@ -0,0 +1,60 @@ +# 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/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. + +Template: fp-compiler/windres-select +Type: select +# This string should be in sync with the translation in the description +#flag:translate:2 +__Choices: ${choices}, Select manually +Default: Select manually +#flag:comment:4 +# "Select manually" should be in sync with the text elsewhere in the +# translation +_Description: Default MS Windows .rc resource compiler: + FPC supports compiling programs that embed resources as MS Windows + .rc-format files on all platforms where the MinGW windres tool is available. + . + In order to be able to compile projects using .rc files, you need first to + manually install the package mingw32-binutils. mingw32-binutils is suggested + by fp-compiler but not pulled in automatically. + . + If you want to enter a custom .rc file compiler that does not appear in this + list or if you simply want to disable this feature, please select + "Select manually". + +Template: fp-compiler/windres +Type: string +Default: +_Description: Default MS Windows .rc resource compiler: + FPC supports compiling programs that embed resources as MS Windows + .rc-format files on all platforms where the MinGW windres tool is available. + . + In order to be able to compile projects using .rc files, you need first to + manually install the package mingw32-binutils. mingw32-binutils is suggested + by fp-compiler but not pulled in automatically. + . + If you don't want to use a default .rc file compiler, leave this blank. 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..13b725a3 --- /dev/null +++ b/fp-units-db.install.in @@ -0,0 +1,10 @@ +/usr/share/doc/fp-units-db +/usr/lib/fpc/${VERSION}/units/${TARGET}/dblib +/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..493cd180 --- /dev/null +++ b/fp-units-misc.install.in @@ -0,0 +1,22 @@ +/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}/fpindexer +/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..37f5343f --- /dev/null +++ b/fp-units-net.install.in @@ -0,0 +1,13 @@ +/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}/httpd24 +/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..4a67633f --- /dev/null +++ b/fp-utils.install.in @@ -0,0 +1,33 @@ +/usr/bin/chmcmd-${VERSION} +/usr/bin/chmls-${VERSION} +/usr/bin/fd2pascal-${VERSION} +/usr/bin/ifpc-${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/relpath-${VERSION} +/usr/bin/rmcvsdir-${VERSION} +/usr/bin/unitdiff-${VERSION} +/usr/lib/fpc/${VERSION}/lexyacc/yylex.cod +/usr/lib/fpc/${VERSION}/lexyacc/yyparse.cod +/usr/lib/fpc/${VERSION}/units/${TARGET}/lexyacc +/usr/share/locale +/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..2385b4a4 --- /dev/null +++ b/fp-utils.manpages.in @@ -0,0 +1,30 @@ +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/ifpc-${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/man1/relpath-${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..1309d959 --- /dev/null +++ b/fp-utils.postinst.in @@ -0,0 +1,71 @@ +#! /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/ifpc ifpc /usr/bin/ifpc-${VERSION} \ + --slave /usr/bin/fppkg fppkg /usr/bin/fppkg-${VERSION} \ + --slave /usr/bin/instantfpc instantfpc /usr/bin/ifpc-${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/relpath relpath /usr/bin/relpath-${VERSION} \ + --slave /usr/bin/rmcvsdir rmcvsdir /usr/bin/rmcvsdir-${VERSION} \ + --slave /usr/bin/unitdiff unitdiff /usr/bin/unitdiff-${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/ifpc.1.gz ifpc.1.gz /usr/share/man/man1/ifpc-${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/instantfpc.1.gz instantfpc.1.gz /usr/share/man/man1/ifpc-${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/relpath.1.gz relpath.1.gz /usr/share/man/man1/relpath-${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.prerm.in b/fp-utils.prerm.in new file mode 100644 index 00000000..157ece53 --- /dev/null +++ b/fp-utils.prerm.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/gbp.conf b/gbp.conf new file mode 100644 index 00000000..8638e06e --- /dev/null +++ b/gbp.conf @@ -0,0 +1,3 @@ +[DEFAULT] +pristine-tar = True +cleaner = /bin/true diff --git a/moveexamples b/moveexamples new file mode 100644 index 00000000..3b5b621a --- /dev/null +++ b/moveexamples @@ -0,0 +1,55 @@ +#!/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 copied ****' + +if [ -d $EXAMPLE_TEMP ] ; then + rmdir $EXAMPLE_TEMP +fi diff --git a/orig-tar.sh b/orig-tar.sh new file mode 100755 index 00000000..0774fc55 --- /dev/null +++ b/orig-tar.sh @@ -0,0 +1,36 @@ +#!/bin/sh -xe + +PACKAGE_NAME=fpc +TMP_DIR=`/bin/mktemp -d -t ${PACKAGE_NAME}.XXXXXX` || exit 1 +ORIG_PATH=$(pwd) + +while test $# -gt 0 +do + case $1 in + --upstream-version) + shift + VERSION=$1 + ;; + *) + ORIG_SRC_TAR=$(readlink -m $1) + ;; + esac + shift +done + +ORIG_SRC_DIR=${PACKAGE_NAME} +DEB_SRC_DIR=${PACKAGE_NAME}-${VERSION}+dfsg +DEB_SRC_TAR=${PACKAGE_NAME}_${VERSION}+dfsg.orig.tar.gz + +cd ${TMP_DIR} +tar -axf ${ORIG_SRC_TAR} +mv ${ORIG_SRC_DIR}* ${DEB_SRC_DIR} +cd ${DEB_SRC_DIR} +find -name Makefile.fpc -execdir sh -c 'rm $(basename {} .fpc)' ';' +find -regex '.*\.\(a\|or?\|so\.*\|ppu\|compiled\|exe\|dll\)' -delete +find -name '*.pp' -exec chmod a-x {} ';' +cd .. +tar -acf ${DEB_SRC_TAR} ${DEB_SRC_DIR} +cd ${ORIG_PATH} +mv ${TMP_DIR}/${DEB_SRC_TAR} ../ +rm -rf ${TMP_DIR} 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-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/overrides/fpc-source b/overrides/fpc-source new file mode 100644 index 00000000..5c7acea4 --- /dev/null +++ b/overrides/fpc-source @@ -0,0 +1,2 @@ +# False positive, this is a Pascal header file +fpc-source: extra-license-file diff --git a/patches/add-a-new-directive-CFGDIR-to-configuration-file.patch b/patches/add-a-new-directive-CFGDIR-to-configuration-file.patch new file mode 100644 index 00000000..37fa0d88 --- /dev/null +++ b/patches/add-a-new-directive-CFGDIR-to-configuration-file.patch @@ -0,0 +1,101 @@ +This patch adds a new directive, CFGDIR, to configuration file allowing user to +add a directory to a list where included configuration files are searched. + +--- fpcbuild-2.6.2/fpcsrc/compiler/options.pas ++++ fpcbuild-2.6.2/fpcsrc/compiler/options.pas +@@ -40,6 +40,7 @@ Type + OptCPUSetExplicitly: boolean; + FileLevel : longint; + QuickInfo : string; ++ ParaIncludeCfgPath, + ParaIncludePath, + ParaUnitPath, + ParaObjectPath, +@@ -2046,24 +2047,31 @@ + line, + level : longint; + option_read : boolean; ++ oldfilemode : byte; ++ ConfigFile: TPathStr; + begin + { avoid infinite loop } + Inc(FileLevel); + Option_read:=false; + If FileLevel>MaxLevel then + Message(option_too_many_cfg_files); ++ if not ParaIncludeCfgPath.FindFile(fileName,true,ConfigFile) then ++ ConfigFile := ExpandFileName(filename); + { Maybe It's Directory ?} //Jaro Change: +- if PathExists(filename,false) then ++ if PathExists(ConfigFile,false) then + begin + Message1(option_config_is_dir,filename); + exit; + end; + { open file } + Message1(option_using_file,filename); +- assign(f,ExpandFileName(filename)); ++ oldfilemode:=filemode; ++ filemode:=0; ++ assign(f,ConfigFile); + {$I-} + reset(f); + {$I+} ++ filemode:=oldfilemode; + if ioresult<>0 then + begin + Message1(option_unable_open_file,filename); +@@ -2147,6 +2155,7 @@ + tmp:= GetName(opts); + if tmp <> '' then + def_system_macro(tmp); ++ Option_read:=true; + end + else + if (s='UNDEF') then +@@ -2155,18 +2164,29 @@ + tmp:= GetName(opts); + if tmp <> '' then + undef_system_macro(tmp); ++ Option_read:=true; + end + else + if (s='WRITE') then + begin + Delete(opts,1,1); + WriteLn(opts); ++ Option_read:=true; + end + else + if (s='INCLUDE') then + begin + Delete(opts,1,1); + Interpret_file(opts); ++ Option_read:=true; ++ end ++ else ++ if (s='CFGDIR') then ++ begin ++ Delete(opts,1,1); ++ DefaultReplacements(opts); ++ ParaIncludeCfgPath.AddPath(opts,false); ++ Option_read:=true; + end; + end; + end +@@ -2514,6 +2534,7 @@ + OptCPUSetExplicitly:=false; + FileLevel:=0; + Quickinfo:=''; ++ ParaIncludeCfgPath:=TSearchPathList.Create; + ParaIncludePath:=TSearchPathList.Create; + ParaObjectPath:=TSearchPathList.Create; + ParaUnitPath:=TSearchPathList.Create; +@@ -2526,6 +2547,7 @@ + + destructor TOption.destroy; + begin ++ ParaIncludeCfgPath.Free; + ParaIncludePath.Free; + ParaObjectPath.Free; + ParaUnitPath.Free; diff --git a/patches/add-ppc64-support.diff b/patches/add-ppc64-support.diff new file mode 100644 index 00000000..096eb897 --- /dev/null +++ b/patches/add-ppc64-support.diff @@ -0,0 +1,41 @@ +This patch adds man file for the ppcppc64 compiler for ppc64 architecture. + +diff --git a/install/man/man1/ppcppc64.1 b/install/man/man1/ppcppc64.1 +new file mode 100644 +index 0000000..05a97d2 +--- /dev/null ++++ b/install/man/man1/ppcppc64.1 +@@ -0,0 +1,33 @@ ++.TH ppcppc64 1 "30 may 1999" "Free Pascal" "Free Pascal Compiler" ++.SH NAME ++ppcppc64 \- Free Pascal Compiler (FPC) binary, name derived ++from Portable Pascal Compiler ++ ++.SH SYNOPSIS ++ ++.B "ppcppc64 [options] [sourcefile]" ++.BR ++ ++.SH DESCRIPTION ++This binary is the back-end binary of the ++.I Free Pascal Compiler (FPC) ++which is a ++.I Turbo Pascal ++and ++.I Delphi (7.0) ++compatible standalone (non GCC frontend) multitarget Pascal compiler. ++ ++This binary should not be called directly, instead the ++.B fpc ++program should be used instead. ++It will choose the right back-end for compiling units for the requested platforms. ++ ++.SH OPTIONS ++ ++For a complete list of all supported command-line options, see the ++.BR fpc (1) ++manual page. ++ ++.SH SEE ALSO ++.BR fpc (1) ++ diff --git a/patches/armhf-build-with-2.6.0.diff b/patches/armhf-build-with-2.6.0.diff new file mode 100644 index 00000000..bb9a228a --- /dev/null +++ b/patches/armhf-build-with-2.6.0.diff @@ -0,0 +1,45 @@ +Description: + fixup some conditionals in arm assembler to avoid using instrutions that + fpc 2.6.0 doesn't support when building the rtl with 2.6.0 (first stage) +Author: Peter Michael Green +Forwarded: not-needed +Last-Update: 2013-05-30 + +--- fpc-2.6.2.orig/fpcsrc/rtl/arm/arm.inc ++++ fpc-2.6.2/fpcsrc/rtl/arm/arm.inc +@@ -895,7 +895,7 @@ end; + function SwapEndian(const AValue: LongInt): LongInt;assembler;nostackframe; + asm + // We're starting with r0 = 4321 +-{$if defined(cpuarmv3) or defined(cpuarmv4) or defined(cpuarmv5)} ++{$if defined(cpuarmv3) or defined(cpuarmv4) or defined(cpuarmv5) or defined(ver2_6_0)} + mov r2, r0, lsr #24 // r2 = 0004 + and r1, r0, #16711680 // r1 = 0300 + orr r2, r2, r0, lsl #24 // r2 = 1004 +@@ -910,7 +910,7 @@ end; + function SwapEndian(const AValue: DWord): DWord;assembler;nostackframe; + asm + // We're starting with r0 = 4321 +-{$if defined(cpuarmv3) or defined(cpuarmv4) or defined(cpuarmv5)} ++{$if defined(cpuarmv3) or defined(cpuarmv4) or defined(cpuarmv5) or defined(ver2_6_0)} + mov r2, r0, lsr #24 // r2 = 0004 + and r1, r0, #16711680 // r1 = 0300 + orr r2, r2, r0, lsl #24 // r2 = 1004 +@@ -925,7 +925,7 @@ end; + function SwapEndian(const AValue: Int64): Int64; assembler; nostackframe; + asm + // We're starting with r0 = 4321 r1 = 8765 +-{$if defined(cpuarmv3) or defined(cpuarmv4) or defined(cpuarmv5)} ++{$if defined(cpuarmv3) or defined(cpuarmv4) or defined(cpuarmv5) or defined(ver2_6_0)} + mov ip, r1 + + mov r2, r0, lsr #24 // r2 = 0004 +@@ -952,7 +952,7 @@ end; + function SwapEndian(const AValue: QWord): QWord; assembler; nostackframe; + asm + // We're starting with r0 = 4321 r1 = 8765 +-{$if defined(cpuarmv3) or defined(cpuarmv4) or defined(cpuarmv5)} ++{$if defined(cpuarmv3) or defined(cpuarmv4) or defined(cpuarmv5) or defined(ver2_6_0)} + mov ip, r1 + + mov r2, r0, lsr #24 // r2 = 0004 diff --git a/patches/armhf-linker-path.diff b/patches/armhf-linker-path.diff new file mode 100644 index 00000000..dc05b42a --- /dev/null +++ b/patches/armhf-linker-path.diff @@ -0,0 +1,15 @@ +This patch fixes path to the dynamic linker for armhf architecture. + +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..2333a21b --- /dev/null +++ b/patches/armhf.diff @@ -0,0 +1,1265 @@ +This patch adds support for armhf architecture. + +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 +@@ -2811,7 +2811,7 @@ unit_u_indirect_crc_changed=10062_U_Indirect interface (objects/classes) CRC cha + # + # Options + # +-# 11050 is the last used one ++# 11051 is the last used one + # + option_usage=11000_O_$1 [options] [options] + # BeginOfTeX +@@ -2944,6 +2944,8 @@ option_invalid_iphoneos_deployment_target=11050_E_Invalid value for IPHONEOS_DEP + % XY.Z or XY.Z.AB with X, Y,Z , A and B all digits from 0-9. + % In case of iOS, it has to be X.Z.A, where X, Z and A can all be either 1 or 2 + % digits from 0-9. ++option_illegal_fpu_eabihf=11051_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. + %\end{description} + # 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/change-path-of-localization-files-to-fit-Debian-standar.patch b/patches/change-path-of-localization-files-to-fit-Debian-standar.patch new file mode 100644 index 00000000..aa2120f2 --- /dev/null +++ b/patches/change-path-of-localization-files-to-fit-Debian-standar.patch @@ -0,0 +1,97 @@ +From: Abou Al Montacir +Date: Wed, 15 Jan 2014 21:49:04 +0100 +Subject: Change path of localization fies to fit Debian standard. (Closes: Bug#73368) +Bug-Debian: http://bugs.debian.org/73368 + +diff --git a/fpcsrc/utils/fpdoc/dglobals.pp b/fpcsrc/utils/fpdoc/dglobals.pp +--- a/fpcsrc/utils/fpdoc/dglobals.pp ++++ b/fpcsrc/utils/fpdoc/dglobals.pp +@@ -1601,7 +1601,7 @@ procedure TranslateDocStrings(const Lang: String); + + Const + {$ifdef unix} +- DefDir = '/usr/local/share/locale'; ++ DefDir = '/usr/share/locale'; + {$else} + DefDir = 'intl'; + {$endif} +@@ -1634,7 +1634,7 @@ + Dir:=DefDir; + Dir:=IncludeTrailingPathDelimiter(Dir); + {$IFDEF Unix} +- mo := TMOFile.Create(Format(Dir+'%s/LC_MESSAGES/dglobals.mo', [Lang])); ++ mo := TMOFile.Create(Format(Dir+'%s/LC_MESSAGES/dglobals-' + {$include %FPCVERSION%} + '.mo', [Lang])); + {$ELSE} + mo := TMOFile.Create(Format(Dir+'dglobals.%s.mo', [Lang])); + {$ENDIF} +diff --git a/fpcsrc/utils/fpdoc/fpclasschart.pp b/fpcsrc/utils/fpdoc/fpclasschart.pp +--- a/fpcsrc/utils/fpdoc/fpclasschart.pp ++++ b/fpcsrc/utils/fpdoc/fpclasschart.pp +@@ -786,7 +786,7 @@ Function ParseCommandLine : Integer; + + Const + {$IFDEF Unix} +- MoFileTemplate = '/usr/local/share/locale/%s/LC_MESSAGES/makeskel.mo'; ++ MoFileTemplate = '/usr/share/locale/%s/LC_MESSAGES/makeskel-' + {$include %FPCVERSION%} + '.mo'; + {$ELSE} + MoFileTemplate ='intl/makeskel.%s.mo'; + {$ENDIF} +diff --git a/fpcsrc/utils/fpdoc/fpdoc.pp b/fpcsrc/utils/fpdoc/fpdoc.pp +--- a/fpcsrc/utils/fpdoc/fpdoc.pp ++++ b/fpcsrc/utils/fpdoc/fpdoc.pp +@@ -347,7 +347,7 @@ Procedure TFPDocAplication.DoRun; + + begin + {$IFDEF Unix} +- gettext.TranslateResourceStrings('/usr/local/share/locale/%s/LC_MESSAGES/fpdoc.mo'); ++ gettext.TranslateResourceStrings('/usr/share/locale/%s/LC_MESSAGES/fpdoc-' + {$include %FPCVERSION%} + '.mo'); + {$ELSE} + gettext.TranslateResourceStrings('intl/fpdoc.%s.mo'); + {$ENDIF} +diff --git a/fpcsrc/utils/fpdoc/intl/Makefile b/fpcsrc/utils/fpdoc/intl/Makefile +--- a/fpcsrc/utils/fpdoc/intl/Makefile ++++ b/fpcsrc/utils/fpdoc/intl/Makefile +@@ -1,3 +1,5 @@ pot: ++FPC_VERSION=$(shell ${PP} -iV) ++ + all: de + + clean: +@@ -16,8 +16,8 @@ pot: + rstconv -i ../makeskel.rst -o makeskel.pot + rstconv -i ../fpdocmk.rst -o fpdocmk.pot + +-install: +- install -D -m 0644 fpdoc.de.mo /usr/local/share/locale/de/LC_MESSAGES/fpdoc.mo +- install -D -m 0644 dglobals.de.mo /usr/local/share/locale/de/LC_MESSAGES/dglobals.mo +- install -D -m 0644 makeskel.de.mo /usr/local/share/locale/de/LC_MESSAGES/makeskel.mo +- install -D -m 0644 fpdocmk.de.mo /usr/local/share/locale/de/LC_MESSAGES/fpdocmk.mo ++install: de ++ install -D -m 0644 fpdoc.de.mo ${INSTALL_PREFIX}/share/locale/de/LC_MESSAGES/fpdoc-${FPC_VERSION}.mo ++ install -D -m 0644 dglobals.de.mo ${INSTALL_PREFIX}/share/locale/de/LC_MESSAGES/dglobals-${FPC_VERSION}.mo ++ install -D -m 0644 makeskel.de.mo ${INSTALL_PREFIX}/share/locale/de/LC_MESSAGES/makeskel-${FPC_VERSION}.mo ++ install -D -m 0644 fpdocmk.de.mo ${INSTALL_PREFIX}/share/locale/de/LC_MESSAGES/fpdocmk-${FPC_VERSION}.mo +diff --git a/fpcsrc/utils/fpdoc/makeskel.pp b/fpcsrc/utils/fpdoc/makeskel.pp +--- a/fpcsrc/utils/fpdoc/makeskel.pp ++++ b/fpcsrc/utils/fpdoc/makeskel.pp +@@ -534,7 +534,7 @@ Function ParseCommandLine : Integer; + + Const + {$IFDEF Unix} +- MoFileTemplate = '/usr/local/share/locale/%s/LC_MESSAGES/makeskel.mo'; ++ MoFileTemplate = '/usr/share/locale/%s/LC_MESSAGES/makeskel-' + {$include %FPCVERSION%} + '.mo'; + {$ELSE} + MoFileTemplate ='intl/makeskel.%s.mo'; + {$ENDIF} +diff --git a/fpcsrc/utils/fpdoc/unitdiff.pp b/fpcsrc/utils/fpdoc/unitdiff.pp +--- a/fpcsrc/utils/fpdoc/unitdiff.pp ++++ b/fpcsrc/utils/fpdoc/unitdiff.pp +@@ -167,7 +167,7 @@ procedure ParseCommandLine; + + Const + {$IFDEF Unix} +- MoFileTemplate = '/usr/local/share/locale/%s/LC_MESSAGES/makeskel.mo'; ++ MoFileTemplate = '/usr/share/locale/%s/LC_MESSAGES/makeskel-' + {$include %FPCVERSION%} + '.mo'; + {$ELSE} + MoFileTemplate ='intl/makeskel.%s.mo'; + {$ENDIF} diff --git a/patches/dont_build_fastcgi_fcl-web_and_fppkg_on_kfreebsd.patch b/patches/dont_build_fastcgi_fcl-web_and_fppkg_on_kfreebsd.patch new file mode 100644 index 00000000..4dee388f --- /dev/null +++ b/patches/dont_build_fastcgi_fcl-web_and_fppkg_on_kfreebsd.patch @@ -0,0 +1,63 @@ +Description: Temporary kfreebsd bootstrap issue + In fastcgi and fcl-web, something goes wrong with linking. Originally it was + ELF interpreter /usr/libexec/ld-elf.so.1 not found + which is fixed, but now it crashes when it is used (symbols issue I think) + . + For now, I decide to remove fastcgi and fcl-web from the kfreebsd build. + . + Because of removing fastcgi and fcl-web from building, also fppkg fails: + pkgfphttp.pp(18,12) Fatal: Can't find unit fphttpclient used by pkgfphttp + This last failure can be prevented by building fcl-web until failure, + then enough pieces are in place for fppkg to build. But as I haven't figured + out yet how to do that sensibly, let's not build fppkg for now on kfreebsd. +Author: Paul Gevers + +--- fpc-2.6.2.orig/fpcsrc/packages/Makefile.fpc ++++ fpc-2.6.2/fpcsrc/packages/Makefile.fpc +@@ -4,7 +4,7 @@ + # + + [target] +-dirs=hash pasjpeg paszlib fpmkunit fcl-xml fcl-base fcl-db fcl-image fcl-net fcl-passrc fcl-registry fcl-fpcunit fcl-json fcl-js fcl-process unzip regexpr chm fcl-res libgd symbolic bzip2 hermes fppkg ++dirs=hash pasjpeg paszlib fpmkunit fcl-xml fcl-base fcl-db fcl-image fcl-net fcl-passrc fcl-registry fcl-fpcunit fcl-json fcl-js fcl-process unzip regexpr chm fcl-res libgd symbolic bzip2 hermes + dirs_linux_i386=libc unixutil graph pxlib bzip2 + dirs_i386_linux=graph + dirs_x86_64_linux=graph +@@ -21,7 +21,7 @@ dirs_haiku=fv fcl-web fastcgi fcl-async + gdbint libpng x11 gdbm tcl syslog libcurl opengl cairo bfd aspell svgalib \ + imlib utmp fpgtk xforms fftw pcap ggi sdl openssl graph gnome1 gtk1 gtk2 librsvg httpd22 httpd24 pxlib numlib \ + iconvenc dblib fpindexer +-dirs_freebsd=fv fcl-web fastcgi fcl-async ibase mysql ncurses zlib oracle odbc postgres sqlite pthreads imagemagick \ ++dirs_freebsd=fv fcl-async ibase mysql ncurses zlib oracle odbc postgres sqlite pthreads imagemagick \ + gdbint libpng x11 gdbm tcl syslog libcurl opengl cairo bfd aspell svgalib \ + imlib utmp fpgtk xforms fftw pcap ggi sdl openssl graph gnome1 gtk1 gtk2 librsvg httpd22 httpd24 pxlib numlib \ + users iconvenc gmp fcl-extra libxml dblib fpindexer libvlc +@@ -48,7 +48,7 @@ dirs_linux=fv fcl-web fastcgi fcl-async + gdbint libpng x11 uuid ldap modplug dts mad gdbm tcl syslog libcurl opengl opencl cairo gtk1 gtk2 librsvg \ + a52 bfd aspell svgalib newt cdrom users iconvenc libxml proj4 fcl-extra zorba \ + imlib utmp fpgtk openal lua oggvorbis xforms fftw pcap ggi sdl openssl gnome1 httpd22 httpd24 \ +- pxlib numlib gmp libsee ptc dblib fpindexer libvlc ++ pxlib numlib gmp libsee ptc dblib fpindexer libvlc fppkg + dirs_win32=fv winunits-base winunits-jedi fcl-web fastcgi ibase mysql zlib oracle odbc postgres sqlite imagemagick \ + gdbint libpng mad tcl opengl gtk1 gtk2 librsvg a52 cdrom fpgtk openal fftw lua fcl-extra zorba \ + oggvorbis sdl openssl graph pcap httpd22 httpd24 pxlib numlib winceunits cairo libxml \ +--- fpc-2.6.2.orig/fpcsrc/utils/Makefile.fpc ++++ fpc-2.6.2/fpcsrc/utils/Makefile.fpc +@@ -7,7 +7,7 @@ name=utils + version=2.6.4 + + [target] +-dirs=fppkg fpcm tply h2pas fprcp dxegen fpdoc fpcmkcfg pas2ut pas2fpm ++dirs=fpcm tply h2pas fprcp dxegen fpdoc fpcmkcfg pas2ut pas2fpm + programs=ppdep ptop rstconv data2inc delp bin2obj postw32 rmcvsdir relpath + programs_linux=grab_vcsa + dirs_win32=fpmc fpcres rmwait instantfpc importtl +@@ -14,7 +14,7 @@ dirs_win32=fpmc fpcres rmwait instantfpc + dirs_win64=fpmc fpcres rmwait instantfpc importtl + dirs_wince=fpcres rmwait instantfpc + dirs_haiku=fpcres instantfpc +-dirs_linux=fpcres instantfpc ++dirs_linux=fpcres fppkg instantfpc + dirs_freebsd=fpcres instantfpc + dirs_openbsd=fpcres instantfpc + dirs_netbsd=fpcres instantfpc diff --git a/patches/find_iconv_in_libc_on_debian.patch b/patches/find_iconv_in_libc_on_debian.patch new file mode 100644 index 00000000..860b2a2b --- /dev/null +++ b/patches/find_iconv_in_libc_on_debian.patch @@ -0,0 +1,35 @@ +Description: iconv in kfreebsd is found in libc as on linux + On FreeBSD, iconv is a seperate library. In Debian, it is found in libc. +Author: Paul Gevers +--- a/fpcsrc/rtl/unix/cwstring.pp ++++ b/fpcsrc/rtl/unix/cwstring.pp +@@ -25,9 +25,10 @@ + implementation + + {$linklib c} ++{$define debian} + + // Linux (and maybe glibc platforms in general), have iconv in glibc. +-{$if defined(linux) or defined(solaris)} ++{$if defined(linux) or defined(solaris) or defined(debian)} + {$define iconv_is_in_libc} + {$endif} + +@@ -89,7 +90,7 @@ + + + const +-{$ifdef linux} ++{$if defined(linux) or defined(debian)} + __LC_CTYPE = 0; + LC_ALL = 6; + _NL_CTYPE_CLASS = (__LC_CTYPE shl 16); +@@ -168,7 +169,7 @@ + {$endif} + {$endif} + +-{$if (not defined(bsd) and not defined(beos)) or defined(iconv_is_in_libc) or (defined(darwin) and not defined(cpupowerpc32))} ++{$if (not defined(bsd) and not defined(beos)) or defined(iconv_is_in_libc) or (defined(darwin) and not defined(cpupowerpc32)) or defined(debian)} + function iconv_open(__tocode:pchar; __fromcode:pchar):iconv_t;cdecl;external libiconvname name 'iconv_open'; + function iconv(__cd:iconv_t; __inbuf:ppchar; __inbytesleft:psize_t; __outbuf:ppchar; __outbytesleft:psize_t):size_t;cdecl;external libiconvname name 'iconv'; + function iconv_close(__cd:iconv_t):cint;cdecl;external libiconvname name 'iconv_close'; diff --git a/patches/fix-733618.patch b/patches/fix-733618.patch new file mode 100644 index 00000000..00af92a3 --- /dev/null +++ b/patches/fix-733618.patch @@ -0,0 +1,375 @@ +Bug-Debian: http://bugs.debian.org/733618 +Forwarded: not-needed + +--- fpc-2.6.2.orig/fpcsrc/compiler/sparc/cgcpu.pas ++++ fpc-2.6.2/fpcsrc/compiler/sparc/cgcpu.pas +@@ -43,6 +43,7 @@ interface + function getfpuregister(list:TAsmList;size:Tcgsize):Tregister;override; + { sparc special, needed by cg64 } + procedure make_simple_ref(list:TAsmList;var ref: treference); ++ procedure make_simple_ref_sparc(list:TAsmList;var ref: treference;loadaddr : boolean;addrreg : tregister); + procedure handle_load_store(list:TAsmList;isstore:boolean;op: tasmop;reg:tregister;ref: treference); + procedure handle_reg_const_reg(list:TAsmList;op:Tasmop;src:tregister;a:tcgint;dst:tregister); + { parameter } +@@ -84,6 +85,7 @@ interface + procedure g_overflowCheck_loc(List:TAsmList;const Loc:TLocation;def:TDef;ovloc : tlocation);override; + procedure g_proc_entry(list : TAsmList;localsize : longint;nostackframe:boolean);override; + procedure g_proc_exit(list : TAsmList;parasize:longint;nostackframe:boolean);override; ++ procedure g_maybe_got_init(list: TAsmList); override; + procedure g_restore_registers(list:TAsmList);override; + procedure g_save_registers(list : TAsmList);override; + procedure g_concatcopy(list : TAsmList;const source,dest : treference;len : tcgint);override; +@@ -92,6 +94,7 @@ interface + procedure g_intf_wrapper(list: TAsmList; procdef: tprocdef; const labelname: string; ioffset: longint);override; + private + g1_used : boolean; ++ use_unlimited_pic_mode : boolean; + end; + + TCg64Sparc=class(tcg64f32) +@@ -146,11 +149,22 @@ implementation + + + procedure tcgsparc.make_simple_ref(list:TAsmList;var ref: treference); ++ begin ++ make_simple_ref_sparc(list,ref,false,NR_NO); ++ end; ++ ++ procedure tcgsparc.make_simple_ref_sparc(list:TAsmList;var ref: treference;loadaddr : boolean;addrreg : tregister); + var +- tmpreg : tregister; ++ tmpreg,tmpreg2 : tregister; + tmpref : treference; ++ need_add_got,need_got_load : boolean; + begin +- tmpreg:=NR_NO; ++ if loadaddr then ++ tmpreg:=addrreg ++ else ++ tmpreg:=NR_NO; ++ need_add_got:=false; ++ need_got_load:=false; + { Be sure to have a base register } + if (ref.base=NR_NO) then + begin +@@ -158,14 +172,37 @@ implementation + ref.index:=NR_NO; + end; + if (cs_create_pic in current_settings.moduleswitches) and +- assigned(ref.symbol) then ++ (tf_pic_uses_got in target_info.flags) and ++ use_unlimited_pic_mode and ++ assigned(ref.symbol) then ++ begin ++ if not(pi_needs_got in current_procinfo.flags) then ++ begin ++ //internalerror(200501161); ++ include(current_procinfo.flags,pi_needs_got); ++ end; ++ if current_procinfo.got=NR_NO then ++ current_procinfo.got:=NR_L7; ++ need_got_load:=true; ++ need_add_got:=true; ++ end; ++ if (cs_create_pic in current_settings.moduleswitches) and ++ (tf_pic_uses_got in target_info.flags) and ++ not use_unlimited_pic_mode and ++ assigned(ref.symbol) then + begin +- tmpreg:=GetIntRegister(list,OS_INT); ++ if tmpreg=NR_NO then ++ tmpreg:=GetIntRegister(list,OS_INT); + reference_reset(tmpref,ref.alignment); + tmpref.symbol:=ref.symbol; + tmpref.refaddr:=addr_pic; + if not(pi_needs_got in current_procinfo.flags) then +- internalerror(200501161); ++ begin ++ //internalerror(200501161); ++ include(current_procinfo.flags,pi_needs_got); ++ end; ++ if current_procinfo.got=NR_NO then ++ current_procinfo.got:=NR_L7; + tmpref.index:=current_procinfo.got; + list.concat(taicpu.op_ref_reg(A_LD,tmpref,tmpreg)); + ref.symbol:=nil; +@@ -187,14 +224,16 @@ implementation + (ref.offsetsimm13hi) then + begin +- tmpreg:=GetIntRegister(list,OS_INT); ++ if tmpreg=NR_NO then ++ tmpreg:=GetIntRegister(list,OS_INT); + reference_reset(tmpref,ref.alignment); + tmpref.symbol:=ref.symbol; +- tmpref.offset:=ref.offset; ++ if not need_got_load then ++ tmpref.offset:=ref.offset; + tmpref.refaddr:=addr_high; + list.concat(taicpu.op_ref_reg(A_SETHI,tmpref,tmpreg)); + if (ref.offset=0) and (ref.index=NR_NO) and +- (ref.base=NR_NO) then ++ (ref.base=NR_NO) and not need_add_got then + begin + ref.refaddr:=addr_low; + end +@@ -203,10 +242,36 @@ implementation + { Load the low part is left } + tmpref.refaddr:=addr_low; + list.concat(taicpu.op_reg_ref_reg(A_OR,tmpreg,tmpref,tmpreg)); +- ref.offset:=0; ++ if not need_got_load then ++ ref.offset:=0; + { symbol is loaded } + ref.symbol:=nil; + end; ++ if need_add_got then ++ begin ++ list.concat(taicpu.op_reg_reg_reg(A_ADD,tmpreg,current_procinfo.got,tmpreg)); ++ need_add_got:=false; ++ end; ++ if need_got_load then ++ begin ++ tmpref.refaddr:=addr_no; ++ tmpref.base:=tmpreg; ++ tmpref.symbol:=nil; ++ list.concat(taicpu.op_ref_reg(A_LD,tmpref,tmpreg)); ++ need_got_load:=false; ++ if (ref.offsetsimm13hi) then ++ begin ++ tmpref.symbol:=nil; ++ tmpref.offset:=ref.offset; ++ tmpref.base:=tmpreg; ++ tmpref.refaddr := addr_high; ++ tmpreg2:=GetIntRegister(list,OS_INT); ++ a_load_const_reg(list,OS_INT,ref.offset,tmpreg2); ++ list.concat(taicpu.op_reg_reg_reg(A_ADD,tmpreg,tmpreg2,tmpreg)); ++ ref.offset:=0; ++ end; ++ end; + if (ref.index<>NR_NO) then + begin + list.concat(taicpu.op_reg_reg_reg(A_ADD,tmpreg,ref.index,tmpreg)); +@@ -220,9 +285,34 @@ implementation + ref.base:=tmpreg; + end; + end; +- if (ref.base<>NR_NO) then ++ if need_add_got then + begin +- if (ref.index<>NR_NO) and ++ if tmpreg=NR_NO then ++ tmpreg:=GetIntRegister(list,OS_INT); ++ list.concat(taicpu.op_reg_reg_reg(A_ADD,ref.base,current_procinfo.got,tmpreg)); ++ ref.base:=tmpreg; ++ ref.index:=NR_NO; ++ end; ++ if need_got_load then ++ begin ++ if tmpreg=NR_NO then ++ tmpreg:=GetIntRegister(list,OS_INT); ++ list.concat(taicpu.op_ref_reg(A_LD,ref,tmpreg)); ++ ref.base:=tmpreg; ++ ref.index:=NR_NO; ++ end; ++ if (ref.base<>NR_NO) or loadaddr then ++ begin ++ if loadaddr then ++ begin ++ if ref.index<>NR_NO then ++ list.concat(taicpu.op_reg_reg_reg(A_ADD,ref.base,ref.index,tmpreg)); ++ ref.base:=tmpreg; ++ ref.index:=NR_NO; ++ if ref.offset<>0 then ++ list.concat(taicpu.op_reg_const_reg(A_ADD,ref.base,ref.offset,tmpreg)); ++ end ++ else if (ref.index<>NR_NO) and + ((ref.offset<>0) or assigned(ref.symbol)) then + begin + if tmpreg=NR_NO then +@@ -278,7 +368,8 @@ implementation + inherited init_register_allocators; + + if (cs_create_pic in current_settings.moduleswitches) and +- (pi_needs_got in current_procinfo.flags) then ++ assigned(current_procinfo) and ++ (pi_needs_got in current_procinfo.flags) then + begin + current_procinfo.got:=NR_L7; + rg[R_INTREGISTER]:=Trgcpu.create(R_INTREGISTER,R_SUBD, +@@ -637,21 +728,47 @@ implementation + procedure TCgSparc.a_loadaddr_ref_reg(list : TAsmList;const ref : TReference;r : tregister); + var + tmpref,href : treference; +- hreg,tmpreg : tregister; ++ hreg,tmpreg,hreg2 : tregister; ++ need_got,need_got_load : boolean; + begin + href:=ref; ++ (* make_simple_ref_sparc(list,href,true,r); *) ++ need_got:=false; ++ need_got_load:=false; + if (href.base=NR_NO) and (href.index<>NR_NO) then + internalerror(200306171); ++ if (cs_create_pic in current_settings.moduleswitches) and ++ (tf_pic_uses_got in target_info.flags) and ++ use_unlimited_pic_mode and ++ assigned(ref.symbol) then ++ begin ++ if not(pi_needs_got in current_procinfo.flags) then ++ begin ++ //internalerror(200501161); ++ include(current_procinfo.flags,pi_needs_got); ++ end; ++ if current_procinfo.got=NR_NO then ++ current_procinfo.got:=NR_L7; ++ need_got_load:=true; ++ need_got:=true; ++ end; + + if (cs_create_pic in current_settings.moduleswitches) and +- assigned(href.symbol) then ++ (tf_pic_uses_got in target_info.flags) and ++ not use_unlimited_pic_mode and ++ assigned(href.symbol) then + begin + tmpreg:=GetIntRegister(list,OS_ADDR); + reference_reset(tmpref,href.alignment); + tmpref.symbol:=href.symbol; + tmpref.refaddr:=addr_pic; + if not(pi_needs_got in current_procinfo.flags) then +- internalerror(200501161); ++ begin ++ //internalerror(200501161); ++ include(current_procinfo.flags,pi_needs_got); ++ end; ++ if current_procinfo.got=NR_NO then ++ current_procinfo.got:=NR_L7; + tmpref.base:=current_procinfo.got; + list.concat(taicpu.op_ref_reg(A_LD,tmpref,tmpreg)); + href.symbol:=nil; +@@ -677,12 +794,41 @@ implementation + hreg:=GetAddressRegister(list); + reference_reset(tmpref,href.alignment); + tmpref.symbol := href.symbol; +- tmpref.offset := href.offset; ++ if not need_got_load then ++ tmpref.offset := href.offset; + tmpref.refaddr := addr_high; + list.concat(taicpu.op_ref_reg(A_SETHI,tmpref,hreg)); + { Only the low part is left } + tmpref.refaddr:=addr_low; + list.concat(taicpu.op_reg_ref_reg(A_OR,hreg,tmpref,hreg)); ++ if need_got then ++ begin ++ list.concat(taicpu.op_reg_reg_reg(A_ADD,hreg,current_procinfo.got,hreg)); ++ need_got:=false; ++ end; ++ if need_got_load then ++ begin ++ tmpref.symbol:=nil; ++ tmpref.base:=hreg; ++ tmpref.refaddr:=addr_no; ++ list.concat(taicpu.op_ref_reg(A_LD,tmpref,hreg)); ++ need_got_load:=false; ++ if (href.offsetsimm13hi) then ++ begin ++ tmpref.symbol:=nil; ++ tmpref.offset:=href.offset; ++ tmpref.refaddr := addr_high; ++ hreg2:=GetIntRegister(list,OS_INT); ++ a_load_const_reg(list,OS_INT,href.offset,hreg2); ++ { Only the low part is left } ++ list.concat(taicpu.op_reg_reg_reg(A_ADD,hreg,hreg2,hreg)); ++ end ++ else if (href.offset<>0) then ++ begin ++ list.concat(taicpu.op_reg_const_reg(A_ADD,hreg,href.offset,hreg)); ++ end; ++ end; + if href.base<>NR_NO then + begin + if href.index<>NR_NO then +@@ -728,6 +874,10 @@ implementation + else + { only offset, can be generated by absolute } + a_load_const_reg(list,OS_ADDR,href.offset,r); ++ if need_got then ++ list.concat(taicpu.op_reg_reg_reg(A_ADD,r,current_procinfo.got,r)); ++ if need_got_load then ++ list.concat(taicpu.op_reg_reg(A_LD,r,r)); + end; + + +@@ -1102,10 +1252,28 @@ implementation + end + else + list.concat(Taicpu.Op_reg_const_reg(A_SAVE,NR_STACK_POINTER_REG,-LocalSize,NR_STACK_POINTER_REG)); ++ end; ++ ++ procedure TCgSparc.g_maybe_got_init(list : TAsmList); ++ var ++ ref : treference; ++ begin + if (cs_create_pic in current_settings.moduleswitches) and +- (pi_needs_got in current_procinfo.flags) then ++ (pi_needs_got in current_procinfo.flags) then + begin + current_procinfo.got:=NR_L7; ++ { Set register $l7 to _GLOBAL_OFFSET_TABLE_ at function entry } ++ { The offsets -8 for %hi and -4 for %lo correspnod to the ++ code distance from the call to FPC_GETGOT inxtruction } ++ reference_reset_symbol(ref,current_asmdata.RefAsmSymbol('_GLOBAL_OFFSET_TABLE_'),-8,sizeof(pint)); ++ ref.refaddr:=addr_high; ++ list.concat(taicpu.op_ref_reg(A_SETHI,ref,NR_L7)); ++ ref.refaddr:=addr_low; ++ ref.offset:=-4; ++ list.concat(Taicpu.Op_reg_ref_reg(A_OR,NR_L7,ref,NR_L7)); ++ list.concat(Taicpu.Op_sym(A_CALL,current_asmdata.RefAsmSymbol('FPC_GETGOT'))); ++ { Delay slot } ++ list.concat(Taicpu.Op_none(A_NOP)); + end; + end; + +@@ -1388,6 +1556,13 @@ implementation + { jmp *vmtoffs(%eax) ; method offs } + reference_reset_base(href,NR_G1,tobjectdef(procdef.struct).vmtmethodoffset(procdef.extnumber),sizeof(pint)); + list.concat(taicpu.op_ref_reg(A_LD,href,NR_G1)); ++ { FIXME: this assumes for now that %l7 already has the correct value } ++ if (cs_create_pic in current_settings.moduleswitches) then ++ begin ++ list.concat(taicpu.op_reg_reg_reg(A_ADD,NR_G1,NR_L7,NR_G1)); ++ reference_reset_base(href,NR_G1,0,sizeof(pint)); ++ list.concat(taicpu.op_ref_reg(A_LD,href,NR_G1)); ++ end; + list.concat(taicpu.op_reg(A_JMP,NR_G1)); + g1_used:=false; + end +@@ -1399,6 +1574,14 @@ implementation + g1_used:=true; + href.refaddr := addr_low; + list.concat(taicpu.op_reg_ref_reg(A_OR,NR_G1,href,NR_G1)); ++ { FIXME: this assumes for now that %l7 already has the correct value } ++ if (cs_create_pic in current_settings.moduleswitches) then ++ begin ++ list.concat(taicpu.op_reg_reg_reg(A_ADD,NR_G1,NR_L7,NR_G1)); ++ reference_reset_base(href,NR_G1,0,sizeof(pint)); ++ list.concat(taicpu.op_ref_reg(A_LD,href,NR_G1)); ++ end; ++ + list.concat(taicpu.op_reg(A_JMP,NR_G1)); + g1_used:=false; + end; +@@ -1579,6 +1762,10 @@ implementation + procedure create_codegen; + begin + cg:=TCgSparc.Create; ++ if target_info.system=system_sparc_linux then ++ TCgSparc(cg).use_unlimited_pic_mode:=true ++ else ++ TCgSparc(cg).use_unlimited_pic_mode:=false; + cg64:=TCg64Sparc.Create; + end; + 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-encoding-of-localization-files-to-be-utf8.patch b/patches/fix-encoding-of-localization-files-to-be-utf8.patch new file mode 100644 index 00000000..1796a254 --- /dev/null +++ b/patches/fix-encoding-of-localization-files-to-be-utf8.patch @@ -0,0 +1,334 @@ +From: Abou Al Montacir +Date: Wed, 15 Jan 2014 21:49:04 +0100 +Subject: Change path of localization fies to fit Debian standard. (Closes: Bug#73368) +Bug-Debian: http://bugs.debian.org/73368 + +diff --git a/fpcsrc/utils/fpdoc/intl/dglobals.de.po b/fpcsrc/utils/fpdoc/intl/dglobals.de.po +index bf52569..d9e1176 100644 +--- a/fpcsrc/utils/fpdoc/intl/dglobals.de.po ++++ b/fpcsrc/utils/fpdoc/intl/dglobals.de.po +@@ -1,6 +1,6 @@ + #: dglobals:sdocpackagetitle + msgid "Reference for package '%s'" +-msgstr "Referenz für Paket '%s'" ++msgstr "Referenz für Paket '%s'" + + #: dglobals:sdocprograms + msgid "Programs" +@@ -12,7 +12,7 @@ msgstr "Units" + + #: dglobals:sdocunittitle + msgid "Reference for unit '%s'" +-msgstr "Referenz für Unit '%s'" ++msgstr "Referenz für Unit '%s'" + + #: dglobals:sdocinterfacesection + msgid "Interface section" +@@ -60,11 +60,11 @@ msgstr "Variablen" + + #: dglobals:sdocunitoverview + msgid "Overview of unit '%s'" +-msgstr "Überblick über Unit '%s'" ++msgstr "Überblick über Unit '%s'" + + #: dglobals:sdocoverview + msgid "Overview" +-msgstr "Überblick" ++msgstr "Überblick" + + #: dglobals:sdocsearch + msgid "Search" +@@ -104,11 +104,11 @@ msgstr "Bemerkung: " + + #: dglobals:sdocmethodoverview + msgid "Method overview" +-msgstr "Überblick über die Methoden" ++msgstr "Überblick über die Methoden" + + #: dglobals:sdocpropertyoverview + msgid "Property overview" +-msgstr "Überblick über die Eigenschaften" ++msgstr "Überblick über die Eigenschaften" + + #: dglobals:sdocpage + msgid "Page" +@@ -152,11 +152,11 @@ msgstr "Wert" + + #: dglobals:sdocexplanation + msgid "Explanation" +-msgstr "Erklärung" ++msgstr "Erklärung" + + #: dglobals:sdocvaluesforenum + msgid "Enumeration values for type %s" +-msgstr "Aufzählungswerte für Typ %s" ++msgstr "Aufzählungswerte für Typ %s" + + #: dglobals.sdocup + msgid "Up" +@@ -164,7 +164,7 @@ msgstr "Hoch" + + #: dglobals.sdocnext + msgid "Next" +-msgstr "Nächste" ++msgstr "Nächste" + + #: dglobals.sdocprevious + msgid "Previous" +diff --git a/fpcsrc/utils/fpdoc/intl/dwriter.de.po b/fpcsrc/utils/fpdoc/intl/dwriter.de.po +index ebe2f3f..d9d5804 100644 +--- a/fpcsrc/utils/fpdoc/intl/dwriter.de.po ++++ b/fpcsrc/utils/fpdoc/intl/dwriter.de.po +@@ -4,23 +4,23 @@ msgstr "Beim Schreiben der Datei \"%s\" ist ein Fehler aufgetrete: %s" + + #: dwriter:serrinvalidshortdescr + msgid "Invalid short description" +-msgstr "Ungültige Kurzbeschreibung" ++msgstr "Ungültige Kurzbeschreibung" + + #: dwriter:serrinvaliddescr + msgid "Invalid description (illegal XML element: \"%s\")" +-msgstr "Ungültige Beschreibung (illegales XML-Element: \"%s\")" ++msgstr "Ungültige Beschreibung (illegales XML-Element: \"%s\")" + + #: dwriter:serrinvalidparacontent + msgid "Invalid paragraph content" +-msgstr "Ungültiger Absatzinhalt (in

-Element)" ++msgstr "Ungültiger Absatzinhalt (in

-Element)" + + #: dwriter:serrinvalidelementinlist + msgid "Invalid element in list - only \"li\" allowed" +-msgstr "Ungültiges Element in Liste - nur \"li\" ist erlaubt" ++msgstr "Ungültiges Element in Liste - nur \"li\" ist erlaubt" + + #: dwriter:serrinvalidlistcontent + msgid "Invalid list content" +-msgstr "Ungültiger Listeninhalt" ++msgstr "Ungültiger Listeninhalt" + + #: dwriter:serrlistisempty + msgid "List is empty - need at least one \"li\" element" +@@ -28,11 +28,11 @@ msgstr "Liste ist leer - brauche mindestens ein \"li\"-Element" + + #: dwriter:serrinvalidremarkcontent + msgid "Invalid content (illegal XML element: \"%s\")" +-msgstr "Ungültiger -Inhalt (illegales XML-Element: \"%s\")" ++msgstr "Ungültiger -Inhalt (illegales XML-Element: \"%s\")" + + #: dwriter:serrinvaliddefinitiontermcontent + msgid "Invalid content in definition term" +-msgstr "Ungültiger Inhalt in Definitionsterm" ++msgstr "Ungültiger Inhalt in Definitionsterm" + + #: dwriter:serrdefinitionentrymissing + msgid "Definition entry after definition term is missing" +@@ -40,11 +40,11 @@ msgstr "Definitionseintrag nach Definitionsterm fehlt" + + #: dwriter:serrtableinvalidbordervalue + msgid "Invalid \"border\" value for " +-msgstr "Ungültiger \"border\"-Wert für
" ++msgstr "Ungültiger \"border\"-Wert für
" + + #: dwriter:serrinvalidtablecontent + msgid "Invalid table content" +-msgstr "Ungültiger Tabelleninhalt" ++msgstr "Ungültiger Tabelleninhalt" + + #: dwriter:serrtablerowempty + msgid "Table row is empty (no \"td\" elements found)" +@@ -52,7 +52,7 @@ msgstr "Tabellenzeile ist leer (keine \"td\"-Elemente gefunden)" + + #: dwriter:serrinvalidcontentbeforesectiontitle + msgid "Invalid content before section title" +-msgstr "Ungültiger Inhalt vor Abschnittstitel" ++msgstr "Ungültiger Inhalt vor Abschnittstitel" + + #: dwriter:serrsectiontitleexpected + msgid "Section title (\"title\" element) expected" +@@ -76,5 +76,5 @@ msgstr "Warnung: Ziel-ID von ist unbekannt: \"%s\"" + + #: dwriter:serrunknownlink + msgid "Could not resolve link to \"%s\"" +-msgstr "Konnte Link auf \"%s\" nicht auflösen" ++msgstr "Konnte Link auf \"%s\" nicht auflösen" + +diff --git a/fpcsrc/utils/fpdoc/intl/fpdoc.de.po b/fpcsrc/utils/fpdoc/intl/fpdoc.de.po +index e53f7d7..2ad9f91 100644 +--- a/fpcsrc/utils/fpdoc/intl/fpdoc.de.po ++++ b/fpcsrc/utils/fpdoc/intl/fpdoc.de.po +@@ -4,7 +4,7 @@ msgstr "FPDoc - Free-Pascal-Dokumentationstool" + + #: fpdoc:scopyright + msgid "(c) 2000 - 2003 Areca Systems GmbH / Sebastian Guenther, sg@freepascal.org" +-msgstr "(c) 2000 - 2003 Areca Systems GmbH / Sebastian Günther, sg@freepascal.org" ++msgstr "(c) 2000 - 2003 Areca Systems GmbH / Sebastian Günther, sg@freepascal.org" + + #: fpdoc:scmdlinehelp + msgid "See documentation for usage." +@@ -16,11 +16,11 @@ msgstr "Ignoriere unbekannte Option \"%s\"" + + #: fpdoc:scmdlineinvalidformat + msgid "Invalid format \"%s\" specified" +-msgstr "Ungültiges Format \"%s\" angegeben" ++msgstr "Ungültiges Format \"%s\" angegeben" + + #: fpdoc:scmdlineoutputoptionmissing + msgid "Need an output filename, please specify one with --output=" +-msgstr "Benötige einen Ausgabedateinamen, bitte geben Sie einen mit --output= an" ++msgstr "Benötige einen Ausgabedateinamen, bitte geben Sie einen mit --output= an" + + #: fpdoc:swritingpages + msgid "Writing %d pages..." +diff --git a/fpcsrc/utils/fpdoc/intl/fpdocmk.de.po b/fpcsrc/utils/fpdoc/intl/fpdocmk.de.po +index c7fa2d1..fc822a1 100644 +--- a/fpcsrc/utils/fpdoc/intl/fpdocmk.de.po ++++ b/fpcsrc/utils/fpdoc/intl/fpdocmk.de.po +@@ -18,33 +18,33 @@ msgstr "" + + #: fpdocmk:stitle + msgid "FPDocMK - Makefile.fpc processor for Free Pascal Documentation Tool" +-msgstr "FPDocMK - Makefile.fpc-Prozessor für das " ++msgstr "FPDocMK - Makefile.fpc-Prozessor für das " + "Free-Pascal-Dokumentationswerkzeug" + + #: fpdocmk:scopyright + msgid "(c) 2003 Areca Systems GmbH / Sebastian Guenther, sg@freepascal.org" +-msgstr "(c) 2003 Areca Systems GmbH / Sebastian Günther, sg@freepascal.org" ++msgstr "(c) 2003 Areca Systems GmbH / Sebastian Günther, sg@freepascal.org" + + #: fpdocmk:scmdlinehelp + msgid "See documentation for usage." +-msgstr "Lesen Sie die Dokumentation für Infos zur Benutzung." ++msgstr "Lesen Sie die Dokumentation für Infos zur Benutzung." + + #: fpdocmk:scmdlineinvalidoption + msgid "Ignoring unknown option \"%s\"" +-msgstr "Ignoriere unbekannte Option »%s«" ++msgstr "Ignoriere unbekannte Option »%s«" + + #: fpdocmk:scmdlineinvalidformat + msgid "Invalid format \"%s\" specified" +-msgstr "Ungültiges Format »%s« gewählt" ++msgstr "Ungültiges Format »%s« gewählt" + + #: fpdocmk:scmdlineoutputoptionmissing + msgid "Need an output path or filename, please specify one with --output=" +-msgstr "Benötige einen Ausgabepfad oder -dateinamen; " ++msgstr "Benötige einen Ausgabepfad oder -dateinamen; " + "bitte geben Sie mit --output= einen an." + + #: fpdocmk:sneedpackagename + msgid "No package name specified. Please specify one using the --package option." +-msgstr "Kein Paketname gewählt. Bitte geben Sie mit der Option --package " ++msgstr "Kein Paketname gewählt. Bitte geben Sie mit der Option --package " + "einen an." + + #: fpdocmk:sdone +diff --git a/fpcsrc/utils/fpdoc/intl/fpdocstr.de.po b/fpcsrc/utils/fpdoc/intl/fpdocstr.de.po +index 677e547..3a351d6 100644 +--- a/fpcsrc/utils/fpdoc/intl/fpdocstr.de.po ++++ b/fpcsrc/utils/fpdoc/intl/fpdocstr.de.po +@@ -50,11 +50,11 @@ msgstr "Alias-Typ" + + #: fpdocstr:sptreetypealiastype + msgid "\"type\" alias type" +-msgstr "Alias-Typ »type«" ++msgstr "Alias-Typ »type«" + + #: fpdocstr:sptreeclassoftype + msgid "\"class of\" type" +-msgstr "»class-of«-Typ" ++msgstr "»class-of«-Typ" + + #: fpdocstr:sptreerangetype + msgid "Range type" +@@ -66,11 +66,11 @@ msgstr "Array-Typ" + + #: fpdocstr:sptreeenumvalue + msgid "Enumeration value" +-msgstr "Aufzählungswert" ++msgstr "Aufzählungswert" + + #: fpdocstr:sptreeenumtype + msgid "Enumeration type" +-msgstr "Aufzählungstyp" ++msgstr "Aufzählungstyp" + + #: fpdocstr:sptreesettype + msgid "Set type" +@@ -118,7 +118,7 @@ msgstr "Eigenschaft" + + #: fpdocstr:sptreeoverloadedprocedure + msgid "Overloaded procedure" +-msgstr "Überladene Prozedur" ++msgstr "Überladene Prozedur" + + #: fpdocstr:sptreeprocedure + msgid "Procedure" +@@ -138,7 +138,7 @@ msgstr "Destruktor" + + #: fpdocstr:sdocpackagetitle + msgid "Reference for package '%s'" +-msgstr "Referenz für das Paket »%s«" ++msgstr "Referenz für das Paket »%s«" + + #: fpdocstr:sdocprograms + msgid "Programs" +@@ -150,7 +150,7 @@ msgstr "Units" + + #: fpdocdef:sdocunittitle + msgid "Reference for unit '%s'" +-msgstr "Referenz für Unit »%s«" ++msgstr "Referenz für Unit »%s«" + + #: fpdocdef:sdocinterfacesection + msgid "Interface section" +@@ -166,7 +166,7 @@ msgstr "Verwendete Units" + + #: fpdocdef:sdocusedunitsbyunitxy + msgid "Used units by unit '%s'" +-msgstr "Von Unit »%s« verwendete Units" ++msgstr "Von Unit »%s« verwendete Units" + + #: fpdocdef:sdocconststypesvars + msgid "Constants, types and variables" +@@ -198,7 +198,7 @@ msgstr "Variablen" + + #: fpdocdef:sdocoverview + msgid "Overview" +-msgstr "Überblick" ++msgstr "Überblick" + + #: fpdocdef:sdocsearch + msgid "Search" +@@ -234,11 +234,11 @@ msgstr "Bemerkung: " + + #: fpdocstr:sdocmethodoverview + msgid "Method overview" +-msgstr "Überblick über die Methoden" ++msgstr "Überblick über die Methoden" + + #: fpdocstr:sdocpropertyoverview + msgid "Property overview" +-msgstr "Überblick über die Eigenschaften" ++msgstr "Überblick über die Eigenschaften" + + #: fpdocstr:sdocpage + msgid "Page" +diff --git a/fpcsrc/utils/fpdoc/intl/makeskel.de.po b/fpcsrc/utils/fpdoc/intl/makeskel.de.po +index c564c7a..0d2d113 100644 +--- a/fpcsrc/utils/fpdoc/intl/makeskel.de.po ++++ b/fpcsrc/utils/fpdoc/intl/makeskel.de.po +@@ -1,10 +1,10 @@ + #: makeskel:stitle + msgid "MakeSkel - FPDoc skeleton XML description file generator" +-msgstr "MakeSkel - Skelett-Generator für FPDoc-XML-Beschreibungsdateien" ++msgstr "MakeSkel - Skelett-Generator für FPDoc-XML-Beschreibungsdateien" + + #: makeskel:scopyright + msgid "(c) 2000 - 2003 Areca Systems GmbH / Sebastian Guenther, sg@freepascal.org" +-msgstr "(c) 2000 - 2003 Areca Systems GmbH / Sebastian Günther, sg@freepascal.org" ++msgstr "(c) 2000 - 2003 Areca Systems GmbH / Sebastian Günther, sg@freepascal.org" + + #: makeskel:scmdlinehelp + msgid "See documentation for usage." diff --git a/patches/fix-spell-errors.patch b/patches/fix-spell-errors.patch new file mode 100644 index 00000000..3cb027da --- /dev/null +++ b/patches/fix-spell-errors.patch @@ -0,0 +1,22 @@ +This patch fixes spell errors detected by linitian. + +--- fpcbuild-2.6.2/fpcsrc/ide/fphelp.pas 2010-12-22 19:39:13.000000000 +0100 ++++ fpcbuild-2.6.2/fpcsrc/ide/fphelp.pas 2013-05-08 14:13:52.000000000 +0200 +@@ -96,7 +96,7 @@ + hint_systemmenu = 'System menu'; + hint_update = 'Refresh and redraw display'; + hint_about = 'Show version and copyright information'; +- hint_filemenu = 'File managment commands (Open, New, Save, etc.)'; ++ hint_filemenu = 'File management commands (Open, New, Save, etc.)'; + hint_filenew = 'Create a new file in a new edit window'; + hint_filenewfromtemplate='Create a new file using a code template'; + hint_fileopen = 'Locate and open a file in an edit window'; +@@ -194,7 +194,7 @@ + hint_openini = 'Load a previously saved options file'; + hint_saveini = 'Save all the changes made in the options menu'; + hint_saveasini = 'Save all the changes made under a different name'; +- hint_windowmenu = 'Windows managment commands'; ++ hint_windowmenu = 'Windows management commands'; + hint_tile = 'Arrange windows on desktop by tiling'; + hint_cascade = 'Arrange windows on desktop by cascading'; + hint_closeall = 'Close all windows on the desktop'; diff --git a/patches/kfreebsd-amd64_bootstrap.patch b/patches/kfreebsd-amd64_bootstrap.patch new file mode 100644 index 00000000..60f7c962 --- /dev/null +++ b/patches/kfreebsd-amd64_bootstrap.patch @@ -0,0 +1,51 @@ +Description: kfreebsd bootstrap necessities + In the case we use freebsd as OS_TARGET the following goes wrong: + . + In fastcgi and fcl-web, something goes wrong with linking: + ELF interpreter /usr/libexec/ld-elf.so.1 not found + I have no idea where this comes from as all references to libexec are either + in fpmake itself after compilation or in t_bsd.pas in parts that should not be + used. However, if we force it in t_bsd.pas, it at least calls the right linker. + It still doesn't work though, as the symbols it links to are wrong. +Author: Paul Gevers + +--- a/fpcsrc/compiler/systems/t_bsd.pas ++++ b/fpcsrc/compiler/systems/t_bsd.pas +@@ -187,13 +187,8 @@ + DllCmd[2]:='strip --strip-unneeded $EXE' + else + DllCmd[2]:='strip -x $EXE'; +- { OpenBSD seems to use a wrong dynamic linker by default } +- if target_info.system in systems_openbsd then +- DynamicLinker:='/usr/libexec/ld.so' +- else if target_info.system in systems_netbsd then +- DynamicLinker:='/usr/libexec/ld.elf_so' +- else +- DynamicLinker:=''; ++ { On Debian systems it seems we have to set the dynamicLinker } ++ DynamicLinker:='/lib/ld-kfreebsd-x86-64.so.1'; + end; + end; + +--- a/fpcsrc/rtl/unix/initc.pp ++++ b/fpcsrc/rtl/unix/initc.pp +@@ -56,7 +56,7 @@ + {$endif} + + {$ifdef FreeBSD} // tested on x86 +-function geterrnolocation: pcint; cdecl;external clib name '__error'; ++function geterrnolocation: pcint; cdecl;external clib name '__errno_location'; + {$endif} + + {$ifdef OpenBSD} // tested on x86 +--- a/fpcsrc/rtl/bsd/sysos.inc ++++ b/fpcsrc/rtl/bsd/sysos.inc +@@ -23,7 +23,7 @@ + plibcint=^libcint; + + {$ifdef FreeBSD} // tested on x86 +-function geterrnolocation: Plibcint; cdecl;external clib name '__error'; ++function geterrnolocation: Plibcint; cdecl;external clib name '__errno_location'; + {$else} + {$ifdef NetBSD} // from a sparc dump. + function geterrnolocation: Plibcint; cdecl;external clib name '__errno'; diff --git a/patches/regenerate_messages.diff b/patches/regenerate_messages.diff new file mode 100644 index 00000000..017001b2 --- /dev/null +++ b/patches/regenerate_messages.diff @@ -0,0 +1,49 @@ +This patch update compiler messages after adding armhf architecture support. + +diff --git a/fpcsrc/compiler/msgidx.inc b/fpcsrc/compiler/msgidx.inc +index 4537489..d30b945 100644 +--- a/fpcsrc/compiler/msgidx.inc ++++ b/fpcsrc/compiler/msgidx.inc +@@ -877,6 +877,7 @@ const + option_debug_external_unsupported=11048; + option_invalid_macosx_deployment_target=11049; + option_invalid_iphoneos_deployment_target=11050; ++ option_illegal_fpu_eabihf=11051; + wpo_cant_find_file=12000; + wpo_begin_processing=12001; + wpo_end_processing=12002; +@@ -901,9 +902,9 @@ const + option_info=11024; + option_help_pages=11025; + +- MsgTxtSize = 61832; ++ MsgTxtSize = 61926; + + MsgIdxMax : array[1..20] of longint=( + 24,90,314,103,85,54,111,23,202,63, +- 51,20,1,1,1,1,1,1,1,1 ++ 52,20,1,1,1,1,1,1,1,1 + ); +diff --git a/fpcsrc/compiler/msgtxt.inc b/fpcsrc/compiler/msgtxt.inc +index d699678..f015d78 100644 +--- a/fpcsrc/compiler/msgtxt.inc ++++ b/fpcsrc/compiler/msgtxt.inc +@@ -1,7 +1,7 @@ + {$ifdef Delphi} +-const msgtxt : array[0..000257] of string[240]=( ++const msgtxt : array[0..000258] of string[240]=( + {$else Delphi} +-const msgtxt : array[0..000257,1..240] of char=( ++const msgtxt : array[0..000258,1..240] of char=( + {$endif Delphi} + '01000_T_Compiler: $1'#000+ + '01001_D_Compiler OS: $1'#000+ +@@ -1034,6 +1034,8 @@ const msgtxt : array[0..000257,1..240] of char=( + 'e: $1'#000+ + '11050_E_Invalid value for IPHONEOS_DEPLOYMENT_TARGET environment varia'+ + 'ble: $1'#000+ ++ '11051_E_You must use a FPU type of VFPV2, VFPV3 or VFPV3_D','16 when us'+ ++ 'ing the EABIHF ABI target'#000+ + '12000_F_Cannot open whole program optimization feedback fi','le "$1"'#000+ + '12001_D_Processing whole program optimization information in wpo feedb'+ + 'ack file "$1"'#000+ diff --git a/patches/relpath.patch b/patches/relpath.patch new file mode 100644 index 00000000..abbfb582 --- /dev/null +++ b/patches/relpath.patch @@ -0,0 +1,73 @@ +This patch adds an utility for computing relative path according to a given +base directory. This is useful for libraries that are to install .lpk in +order to be used with lazarus. As these libraries may be compiled without +need to build depend on Lazarus, we add it in fp-utils package which is likely +to be used by any big project which build depends on fp-compiler. + +--- /dev/null 2013-04-25 22:57:42.765358414 +0200 ++++ fpc-2.6.2/fpcsrc/utils/relpath.pas 2013-05-07 16:21:46.000000000 +0200 +@@ -0,0 +1,16 @@ ++program relpath; ++uses ++ SysUtils; ++ ++var ++ BaseDir: string; ++ TargetDir: string; ++begin ++ TargetDir := ParamStr(1); ++ BaseDir := ParamStr(2); ++ if BaseDir = '' ++ then begin ++ BaseDir := GetCurrentDir; ++ end; ++ WriteLn(ExtractRelativePath(IncludeTrailingPathDelimiter(BaseDir), TargetDir)); ++end. + +--- /dev/null 2013-04-25 22:57:42.765358414 +0200 ++++ fpc-2.6.2/install/man/man1/relpath.1 2013-05-07 16:21:46.000000000 +0200 +@@ -0,0 +1,32 @@ ++.TH relpath 1 "7 May 2013" "Free Pascal" "Relative path computing tool" ++.SH NAME ++relpath \- The Free Pascal file deletion tool. ++ ++.SH SYNOPSIS ++ ++.B relpath ++[\fIfile or directory\fR] [\fIbase directory\fR] ++ ++.SH DESCRIPTION ++ ++.B relpath ++This is an utility for computing relative path according to a given base ++directory. This is useful for libraries that are to install .lpk in order to be ++used with lazarus. As these libraries may be compiled without need to build ++depend on Lazarus, we add it in fp-utils package which is likely to be used by ++any big project which build depends on fp-compiler. ++ ++.SH USAGE ++ ++.B relpath ++takes the following arguments: ++.TP ++.B file or directory ++The target file or directory for which relative path should be computed. ++.TP ++.B base directory ++The base directory according to which the relative patch should be computed. ++ ++.SH SEE ALSO ++.IP ++.BR readlink (1) + +--- fpc-2.6.2/fpcsrc/utils/Makefile.fpc 2013-01-29 11:19:19.000000000 +0100 ++++ fpc-2.6.2/fpcsrc/utils/Makefile.fpc 2013-05-08 12:15:40.000000000 +0200 +@@ -8,7 +8,7 @@ + + [target] + dirs=fppkg fpcm tply h2pas fprcp dxegen fpdoc fpcmkcfg pas2ut pas2fpm +-programs=ppdep ptop rstconv data2inc delp bin2obj postw32 rmcvsdir ++programs=ppdep ptop rstconv data2inc delp bin2obj postw32 rmcvsdir relpath + programs_linux=grab_vcsa + dirs_win32=fpmc fpcres rmwait instantfpc importtl + dirs_win64=fpmc fpcres rmwait instantfpc importtl diff --git a/patches/rename-instantfpc-to-ifpc.patch b/patches/rename-instantfpc-to-ifpc.patch new file mode 100644 index 00000000..35c9c983 --- /dev/null +++ b/patches/rename-instantfpc-to-ifpc.patch @@ -0,0 +1,152 @@ +This patch renames instantfpc to ifpc (Instant Free Pascal Compiler) and adds +man files for it. + +--- /dev/null ++++ fpcbuild-2.6.2/install/man/man1/ifpc.1 +@@ -0,0 +1,54 @@ ++.TH ifpc 1 "18 May 2013" "Free Pascal" "Instant pascal code interpreter" ++.SH NAME ++ifpc \- The Free Pascal Interpreter. ++ ++.SH SYNOPSIS ++ ++.B ifpc ++[\fI\-h\fR] [\fI\-v\fR] [\fIcompiler options\fR] <\fIsource file\fR> ++[\fIprogram parameters\fR] ++ ++.SH DESCRIPTION ++ ++.B ifpc ++This is a pascal code interpreter program. It compiles source and runs the ++ generated program. ++ ++Source is compared with the cache. If cache is not valid then then source is ++copied to cache with the shebang line commented and cached source is compiled. ++If compilation fails the fpc output is written to stdout and and exit code 1 ++is returned ++If compilation was successful the program is executed. ++If the compiler options contains \-B the program is always recompiled. ++If the environment option INSTANTFPCOPTIONS is set it is passed to compiler as ++the first parameters. ++ ++.SH USAGE ++ ++.B ifpc ++takes the following arguments: ++.TP ++.B \-h ++Prints this help message and exit. ++.TP ++.B \-v ++Prints version and exit. ++.TP ++.B \-\-get\-cache ++Prints current cache directory and exit. ++.TP ++.B \-\-set\-cache= ++Set the cache to be used. Otherwise using environment variable INSTANTFPCCACHE. ++.TP ++.B \-\-compiler= ++Normally fpc is searched in PATH and used as compiler. ++.TP ++.B \-\-skip\-run ++Do not execute the program. Useful to test if script compiles ++.TP ++.B \-B ++Always recompile. ++ ++.SH SEE ALSO ++.IP ++.BR fpc (1) + +--- fpcbuild-2.6.2/fpcsrc/utils/instantfpc/instantfpc.pas ++++ fpcbuild-2.6.2/fpcsrc/utils/instantfpc/instantfpc.pas +@@ -27,37 +27,38 @@ + Version = '1.3'; + // 1.3 compile in a separate directory, so that parallel invocations do not overwrite link.res files + ++var ++ BinPath, BinName: string; + + Procedure Usage; +- + begin +- writeln('instantfpc '+Version); ++ writeln(BinName, ' ', Version); + writeln; + writeln('Run pascal source files as scripts.'); + writeln('Normal usage is to add to a program source file a first line'); +- writeln('("shebang") "#!/usr/bin/instantfpc".'); ++ writeln('("shebang") "#!', BinPath, BinName, '".'); + writeln('Then you can execute the source directly in the terminal/console.'); + writeln; +- writeln('instantfpc -h'); ++ writeln(BinName, ' -h'); + writeln(' Print this help message and exit.'); + writeln; +- writeln('instantfpc -v'); ++ writeln(BinName, ' -v'); + writeln(' Print version and exit.'); + writeln; +- writeln('instantfpc [compiler options] [program parameters]'); ++ writeln(BinName, ' [compiler options] [program parameters]'); + writeln(' Compiles source and runs program.'); + writeln(' Source is compared with the cache. If cache is not valid then'); + writeln(' source is copied to cache with the shebang line commented and'); + writeln(' cached source is compiled.'); + writeln(' If compilation fails the fpc output is written to stdout and'); +- writeln(' instantfpc exits with error code 1.'); ++ writeln(' ', BinName, ' exits with error code 1.'); + writeln(' If compilation was successful the program is executed.'); + writeln(' If the compiler options contains -B the program is always'); + writeln(' compiled.'); + writeln(' If the environment option INSTANTFPCOPTIONS is set it is'); + writeln(' passed to the compiler as first parameters.'); + writeln; +- writeln('instantfpc --get-cache'); ++ writeln(BinName, ' --get-cache'); + writeln(' Prints current cache directory and exit.'); + writeln; + writeln('Options:'); +@@ -104,7 +105,7 @@ + if (P='') then exit; + if p='-v' then + begin +- writeln('instantfpc '+Version); ++ writeln(BinName, ' ', Version); + Halt(1); + end + else if p='-h' then +@@ -137,6 +138,8 @@ + { For example: + /usr/bin/instantfpc -MObjFpc -Sh ./envvars.pas param1 + } ++ BinPath := ExtractFilePath(ParamStr(0)); ++ BinName := 'ifpc'; + for i:=1 to Paramcount do + begin + p:=ParamStr(i); +--- fpcbuild-2.6.2/fpcsrc/utils/instantfpc/Makefile.fpc ++++ fpcbuild-2.6.2/fpcsrc/utils/instantfpc/Makefile.fpc +@@ -3,7 +3,7 @@ + # + + [package] +-name=instantfpc ++name=ifpc + version=2.6.4 + + [install] +@@ -13,7 +13,7 @@ + packages=fcl-process + + [target] +-programs=instantfpc ++programs=ifpc + + [compiler] + options=-S2h +--- fpcbuild-2.6.2/fpcsrc/utils/instantfpc/ifpc.pas ++++ fpcbuild-2.6.2/fpcsrc/utils/instantfpc/ifpc.pas +@@ -0,0 +1,1 @@ ++{$INCLUDE instantfpc.pas} diff --git a/patches/series b/patches/series new file mode 100644 index 00000000..00363f71 --- /dev/null +++ b/patches/series @@ -0,0 +1,18 @@ +version.diff +armhf.diff +regenerate_messages.diff +fix-FPCDIR-in-fpcmake.diff +armhf-linker-path.diff +relpath.patch +fix-spell-errors.patch +rename-instantfpc-to-ifpc.patch +armhf-build-with-2.6.0.diff +add-a-new-directive-CFGDIR-to-configuration-file.patch +use-bfd-explicitly.diff +add-ppc64-support.diff +kfreebsd-amd64_bootstrap.patch +find_iconv_in_libc_on_debian.patch +dont_build_fastcgi_fcl-web_and_fppkg_on_kfreebsd.patch +fix-733618.patch +change-path-of-localization-files-to-fit-Debian-standar.patch +fix-encoding-of-localization-files-to-be-utf8.patch diff --git a/patches/use-bfd-explicitly.diff b/patches/use-bfd-explicitly.diff new file mode 100644 index 00000000..eaff9b73 --- /dev/null +++ b/patches/use-bfd-explicitly.diff @@ -0,0 +1,32 @@ +Description: Use ld.bfd explicitly + Freepascal is broken with ld.gold, previously we conflicted with binutils-gold + but that makes us uninstallable with the new binutils. + + So instead we take the approach of patching fpc to use ld.bfd directly +Author: Peter Michael Green +Bug-Debian: http://bugs.debian.org/620815 +Bug-Debian: http://bugs.debian.org/624525 +Bug-Debian: http://bugs.debian.org/717651 + +Index: fpc-2.6.2/fpcsrc/compiler/systems/t_linux.pas +=================================================================== +--- fpc-2.6.2.orig/fpcsrc/compiler/systems/t_linux.pas 2013-07-23 21:41:40.000000000 +0000 ++++ fpc-2.6.2/fpcsrc/compiler/systems/t_linux.pas 2013-07-24 00:38:25.000000000 +0000 +@@ -1031,7 +1031,7 @@ + if HasExports then + cmdstr:=cmdstr+' -E'; + +- success:=DoExec(FindUtil(utilsprefix+BinStr),CmdStr,true,false); ++ success:=DoExec(FindUtil(utilsprefix+BinStr)+'.bfd',CmdStr,true,false); + + { Create external .dbg file with debuginfo } + if success and (cs_link_separate_dbg_file in current_settings.globalswitches) then +@@ -1086,7 +1090,7 @@ + Replace(cmdstr,'$INIT',InitStr); + Replace(cmdstr,'$FINI',FiniStr); + Replace(cmdstr,'$SONAME',SoNameStr); +- success:=DoExec(FindUtil(utilsprefix+binstr),cmdstr,true,false); ++ success:=DoExec(FindUtil(utilsprefix+binstr)+'.bfd',cmdstr,true,false); + + { Strip the library ? } + if success and (cs_link_strip in current_settings.globalswitches) then 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..7015b86f --- /dev/null +++ b/po/cs.po @@ -0,0 +1,127 @@ +# 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 - 2014. +# +msgid "" +msgstr "" +"Project-Id-Version: fpc 2.6.2-6\n" +"Report-Msgid-Bugs-To: fpc@packages.debian.org\n" +"POT-Creation-Date: 2014-09-21 20:49+0200\n" +"PO-Revision-Date: 2014-06-12 10: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." + +#. Type: select +#. Choices +#. This string should be in sync with the translation in the description +#: ../fp-compiler.templates.in:3001 +msgid "Select manually" +msgstr "" + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 ../fp-compiler.templates.in:4001 +msgid "Default MS Windows .rc resource compiler:" +msgstr "Výchozí kompilátor zdrojových souborů .rc pro MS Windows:" + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 ../fp-compiler.templates.in:4001 +msgid "" +"FPC supports compiling programs that embed resources as MS Windows .rc-" +"format files on all platforms where the MinGW windres tool is available." +msgstr "" +"FPC podporuje kompilování programů založených na zdrojových souborech MS " +"Windows ve formátu .rc." + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 ../fp-compiler.templates.in:4001 +msgid "" +"In order to be able to compile projects using .rc files, you need first to " +"manually install the package mingw32-binutils. mingw32-binutils is suggested " +"by fp-compiler but not pulled in automatically." +msgstr "" +"V případě, že chcete mít možnost kompilovat projekty používající soubory ." +"rc, budete v první řadě muset ručně nainstalovat balíček mingw32-binutils. " +"mingw32-binutils je navrhován kompilátorem fp-compiler, ale automaticky jej " +"neinstaluje." + +#. Type: select +#. Description +#. "Select manually" should be in sync with the option elsewhere in the +#. translation +#: ../fp-compiler.templates.in:3002 +msgid "" +"If you want to enter a custom .rc file compiler that does not appear in this " +"list or if you simply want to disable this feature, please select \"Select " +"manually\"." +msgstr "" +"Pokud chcete vložit vlastní kompilátor souborů .rc, který se na tomto " +"seznamu nenachází, nebo pokud tuto funkci chcete prostě zakázat, zvolte " +"prosím \"Select manually\"." + +#. Type: string +#. Description +#: ../fp-compiler.templates.in:4001 +msgid "If you don't want to use a default .rc file compiler, leave this blank." +msgstr "" +"Pokud výchozí kompilátor souborů .rc nechcete používat, ponechte políčko " +"prázdné." diff --git a/po/da.po b/po/da.po new file mode 100644 index 00000000..827393d2 --- /dev/null +++ b/po/da.po @@ -0,0 +1,126 @@ +# Danish translation fpc. +# Copyright (c) 2014 fpc & nedenstÃ¥ende oversættere. +# This file is distributed under the same license as the fpc package. +# Joe Hansen , 2012, 2013, 2014. +# +msgid "" +msgstr "" +"Project-Id-Version: fpc\n" +"Report-Msgid-Bugs-To: fpc@packages.debian.org\n" +"POT-Creation-Date: 2014-09-21 20:49+0200\n" +"PO-Revision-Date: 2014-10-04 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." + +#. Type: select +#. Choices +#. This string should be in sync with the translation in the description +#: ../fp-compiler.templates.in:3001 +msgid "Select manually" +msgstr "Vælg manuelt" + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 ../fp-compiler.templates.in:4001 +msgid "Default MS Windows .rc resource compiler:" +msgstr "Standard for MS Windows .rc-ressourcekompiler:" + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 ../fp-compiler.templates.in:4001 +msgid "" +"FPC supports compiling programs that embed resources as MS Windows .rc-" +"format files on all platforms where the MinGW windres tool is available." +msgstr "" +"FPC understøtter kompilering af programmer, som indlejrer ressourcer som MS " +"Windows .rc-format-filer pÃ¥ alle platforme hvor MinGW windres-værktøjet er " +"tilgængeligt." + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 ../fp-compiler.templates.in:4001 +msgid "" +"In order to be able to compile projects using .rc files, you need first to " +"manually install the package mingw32-binutils. mingw32-binutils is suggested " +"by fp-compiler but not pulled in automatically." +msgstr "" +"For at kunne kompilere projekter med brug af .rc-filer, sÃ¥ skal du først " +"manuelt installere pakken mingw32-binutils. Mingw32-binutils foreslÃ¥s af fp-" +"compiler men installeres ikke automatisk." + +#. Type: select +#. Description +#. "Select manually" should be in sync with the option elsewhere in the +#. translation +#: ../fp-compiler.templates.in:3002 +msgid "" +"If you want to enter a custom .rc file compiler that does not appear in this " +"list or if you simply want to disable this feature, please select \"Select " +"manually\"." +msgstr "" +"Hvis du ønsker at indtaste en tilpasset .rc-fil-kompiler, som ikke fremgÃ¥r " +"af denne liste eller hvis du simpelthen ønsker at deaktivere denne funktion, " +"sÃ¥ vælg »Vælg manuelt«." + +#. Type: string +#. Description +#: ../fp-compiler.templates.in:4001 +msgid "If you don't want to use a default .rc file compiler, leave this blank." +msgstr "" +"Hvis du ikke ønsker at bruge en standard .rc-fil-kompiler, sÃ¥ efterland tom." diff --git a/po/de.po b/po/de.po new file mode 100644 index 00000000..6188a83b --- /dev/null +++ b/po/de.po @@ -0,0 +1,128 @@ +# Translation of the fpc debconf template to German. +# Copyright (C) 1999 Peter Vreman. +# This file is distributed under the same license as the fpc package. +# Copyright of this file Chris Leick 2012-2014. +# +msgid "" +msgstr "" +"Project-Id-Version: fpc 2.6.4+dfsg-4\n" +"Report-Msgid-Bugs-To: fpc@packages.debian.org\n" +"POT-Creation-Date: 2014-09-21 20:49+0200\n" +"PO-Revision-Date: 2014-10-02 18:05+0100\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 demselben 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 Hilfswerkzeuge)\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 neuesten 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." + +#. Type: select +#. Choices +#. This string should be in sync with the translation in the description +#: ../fp-compiler.templates.in:3001 +msgid "Select manually" +msgstr "Manuelle Auswahl" + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 ../fp-compiler.templates.in:4001 +msgid "Default MS Windows .rc resource compiler:" +msgstr "Standard-Compiler für .rc-Ressourcen unter MS Windows:" + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 ../fp-compiler.templates.in:4001 +msgid "" +"FPC supports compiling programs that embed resources as MS Windows .rc-" +"format files on all platforms where the MinGW windres tool is available." +msgstr "" +"FPC unterstützt Kompilierprogramme, die Ressourcen als Dateien im .rc-Format " +"von MS Windows auf allen Plattformen einbetten, auf denen das MinGW-Windres-" +"Werkzeug verfügbar ist." + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 ../fp-compiler.templates.in:4001 +msgid "" +"In order to be able to compile projects using .rc files, you need first to " +"manually install the package mingw32-binutils. mingw32-binutils is suggested " +"by fp-compiler but not pulled in automatically." +msgstr "" +"Um Projekte mittels .rc-Dateien kompilieren zu können, müssen Sie zuerst das " +"Paket »mingw32-binutils« manuell installieren. »mingw32-binutils« wird durch " +"»fp-compiler« vorgeschlagen, aber nicht automatisch bezogen." + +#. Type: select +#. Description +#. "Select manually" should be in sync with the option elsewhere in the +#. translation +#: ../fp-compiler.templates.in:3002 +msgid "" +"If you want to enter a custom .rc file compiler that does not appear in this " +"list or if you simply want to disable this feature, please select \"Select " +"manually\"." +msgstr "" +"Falls Sie einen benutzerdefinierten Compiler für .rc-Dateien eingeben " +"möchten, der nicht in dieser Liste erscheint oder falls Sie diese " +"Funktionalität deaktivieren wollen, wählen Sie bitte »Manuelle Auswahl«." + +#. Type: string +#. Description +#: ../fp-compiler.templates.in:4001 +msgid "If you don't want to use a default .rc file compiler, leave this blank." +msgstr "" +"Falls Sie keinen Standard-Compiler für .rc-Dateien verwenden möchten, lassen " +"Sie dies leer." diff --git a/po/es.po b/po/es.po new file mode 100644 index 00000000..d90a90f1 --- /dev/null +++ b/po/es.po @@ -0,0 +1,155 @@ +# 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 +# +# - Updates +# Matías Bellone , 2013 +# +# 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: 2014-09-21 20:49+0200\n" +"PO-Revision-Date: 2013-12-03 19:06-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 "¿Desea 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 orden «update-alternatives» para definir la versión " +"predeterminada de: * fpc (el compilador);\n" +" * fpc.cfg (el archivo de configuración);\n" +" * fp-utils (las heramientas 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 siempre son compatibles con versiones " +"anteriores 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 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." + +#. Type: select +#. Choices +#. This string should be in sync with the translation in the description +#: ../fp-compiler.templates.in:3001 +msgid "Select manually" +msgstr "Seleccionar manualmente" + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 ../fp-compiler.templates.in:4001 +msgid "Default MS Windows .rc resource compiler:" +msgstr "Compilador predeterminado de recursos .rc de MS Windows:" + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 ../fp-compiler.templates.in:4001 +msgid "" +"FPC supports compiling programs that embed resources as MS Windows .rc-" +"format files on all platforms where the MinGW windres tool is available." +msgstr "" +"FPC puede compilar programas que incluyen recursos en archivos con formato ." +"rc de MS Windows en todas las plataformas en las que esté disponible la " +"herramienta «windres» de MinGW." + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 ../fp-compiler.templates.in:4001 +msgid "" +"In order to be able to compile projects using .rc files, you need first to " +"manually install the package mingw32-binutils. mingw32-binutils is suggested " +"by fp-compiler but not pulled in automatically." +msgstr "" +"Para poder compilar proyectos que utilizan archivos .rc, primero debe " +"instalar el paquete mingw32-binutils. El paquete fp-compiler sugiere el " +"paquete mingw32-binutils, pero no se lo instalará automáticamente." + +#. Type: select +#. Description +#. "Select manually" should be in sync with the option elsewhere in the +#. translation +#: ../fp-compiler.templates.in:3002 +msgid "" +"If you want to enter a custom .rc file compiler that does not appear in this " +"list or if you simply want to disable this feature, please select \"Select " +"manually\"." +msgstr "" +"Si desea utilizar un compilador de archivos .rc personalizado que no se " +"encuentra en esta lista o si desea desactivar esta funcionalidad, seleccione " +"«Seleccionar manualmente»." + +#. Type: string +#. Description +#: ../fp-compiler.templates.in:4001 +msgid "If you don't want to use a default .rc file compiler, leave this blank." +msgstr "" +"Si no desea utilizar un compilador de archivos .rc predeterminado, deje este " +"valor vacío." diff --git a/po/fr.po b/po/fr.po new file mode 100644 index 00000000..8ba64da6 --- /dev/null +++ b/po/fr.po @@ -0,0 +1,131 @@ +# Translation of fpc debconf templates to French +# Copyright (C) 2012, 2013 Debian French l10n team +# This file is distributed under the same license as the fpc package. +# +# David Prévot , 2012, 2013. +msgid "" +msgstr "" +"Project-Id-Version: fpc\n" +"Report-Msgid-Bugs-To: fpc@packages.debian.org\n" +"POT-Creation-Date: 2014-09-21 20:49+0200\n" +"PO-Revision-Date: 2013-11-14 17:34-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:2001 +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: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 "" +"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: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 "" +"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: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 "" +"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." + +#. Type: select +#. Choices +#. This string should be in sync with the translation in the description +#: ../fp-compiler.templates.in:3001 +msgid "Select manually" +msgstr "Sélectionnez vous-même" + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 ../fp-compiler.templates.in:4001 +msgid "Default MS Windows .rc resource compiler:" +msgstr "Compilateur de ressources .rc MS Windows par défaut :" + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 ../fp-compiler.templates.in:4001 +msgid "" +"FPC supports compiling programs that embed resources as MS Windows .rc-" +"format files on all platforms where the MinGW windres tool is available." +msgstr "" +"FPC permet de compiler des programmes contenant des ressources au format .rc " +"de MS Windows sur toutes les plateformes où l’outil MinGW windres est " +"disponible." + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 ../fp-compiler.templates.in:4001 +msgid "" +"In order to be able to compile projects using .rc files, you need first to " +"manually install the package mingw32-binutils. mingw32-binutils is suggested " +"by fp-compiler but not pulled in automatically." +msgstr "" +"Pour pouvoir compiler des projets utilisant des fichiers .rc, vous devez " +"d’abord installer vous-même le paquet mingw32-binutils. Ce paquet est en " +"effet seulement suggéré par fp-compiler et n’est donc pas installé par " +"défaut." + +#. Type: select +#. Description +#. "Select manually" should be in sync with the option elsewhere in the +#. translation +#: ../fp-compiler.templates.in:3002 +msgid "" +"If you want to enter a custom .rc file compiler that does not appear in this " +"list or if you simply want to disable this feature, please select \"Select " +"manually\"." +msgstr "" +"Pour sélectionner un compilateur de fichiers .rc personnalisé qui n’est pas " +"présent dans cette liste, ou simplement pour désactiver cette " +"fonctionnalité, veuillez choisir « Sélectionnez vous-même »." + +#. Type: string +#. Description +#: ../fp-compiler.templates.in:4001 +msgid "If you don't want to use a default .rc file compiler, leave this blank." +msgstr "" +"Si vous ne voulez pas utiliser de compilateur de fichiers .rc par défaut, " +"laissez ce champ vide." diff --git a/po/it.po b/po/it.po new file mode 100644 index 00000000..eebd0475 --- /dev/null +++ b/po/it.po @@ -0,0 +1,129 @@ +# Italian translation of fpc debconf messages. +# Copyright (C) 2014, fpc's package copyright holder +# This file is distributed under the same license as the fpc package. +# Beatrice Torracca , 2012, 2013, 2014. +msgid "" +msgstr "" +"Project-Id-Version: fpc\n" +"Report-Msgid-Bugs-To: fpc@packages.debian.org\n" +"POT-Creation-Date: 2014-09-21 20:49+0200\n" +"PO-Revision-Date: 2014-10-01 13:31+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." + +#. Type: select +#. Choices +#. This string should be in sync with the translation in the description +#: ../fp-compiler.templates.in:3001 +msgid "Select manually" +msgstr "Selezione manuale" + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 ../fp-compiler.templates.in:4001 +msgid "Default MS Windows .rc resource compiler:" +msgstr "Compilatore predefinito di risorse .rc di MS Windows:" + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 ../fp-compiler.templates.in:4001 +msgid "" +"FPC supports compiling programs that embed resources as MS Windows .rc-" +"format files on all platforms where the MinGW windres tool is available." +msgstr "" +"FPC permette la compilazione di programmi che incorporano risorse come file " +"in formato .rc di MS Windows su tutte le piattaforme su cui è disponibile lo " +"strumento MinGW windres." + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 ../fp-compiler.templates.in:4001 +msgid "" +"In order to be able to compile projects using .rc files, you need first to " +"manually install the package mingw32-binutils. mingw32-binutils is suggested " +"by fp-compiler but not pulled in automatically." +msgstr "" +"Per poter compilare i progetti che usano file .rc, è necessario installare " +"prima manualmente il pacchetto mingw32-binutils. mingw32-binutils è " +"suggerito da fp-compiler, ma non viene richiamato automaticamente." + +#. Type: select +#. Description +#. "Select manually" should be in sync with the option elsewhere in the +#. translation +#: ../fp-compiler.templates.in:3002 +msgid "" +"If you want to enter a custom .rc file compiler that does not appear in this " +"list or if you simply want to disable this feature, please select \"Select " +"manually\"." +msgstr "" +"Se si desidera indicare un compilatore di file .rc personalizzato che non " +"appare in questo elenco o se si desidera semplicemente disabilitare questa " +"funzionalità, selezionare «Selezione manuale»" + +#. Type: string +#. Description +#: ../fp-compiler.templates.in:4001 +msgid "If you don't want to use a default .rc file compiler, leave this blank." +msgstr "" +"Se non si desidera usare un compilatore di file .rc predefinito, lasciare " +"vuoto questo campo." diff --git a/po/ja.po b/po/ja.po new file mode 100644 index 00000000..92d6ab8a --- /dev/null +++ b/po/ja.po @@ -0,0 +1,126 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the fpc package. +# victory , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: fpc\n" +"Report-Msgid-Bugs-To: fpc@packages.debian.org\n" +"POT-Creation-Date: 2014-09-21 20:49+0200\n" +"PO-Revision-Date: 2014-09-22 03:49+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」ファイルの改名を受け入れないといけません。受け入れない場合は手作業で" +"自ら管理する必要があります。" + +#. Type: select +#. Choices +#. This string should be in sync with the translation in the description +#: ../fp-compiler.templates.in:3001 +msgid "Select manually" +msgstr "手作業で指定する" + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 ../fp-compiler.templates.in:4001 +msgid "Default MS Windows .rc resource compiler:" +msgstr "デフォルトの MS Windows .rc リソースコンパイラ:" + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 ../fp-compiler.templates.in:4001 +msgid "" +"FPC supports compiling programs that embed resources as MS Windows .rc-" +"format files on all platforms where the MinGW windres tool is available." +msgstr "" +"FPC は MS Windows の .rc 形式のファイルにリソースを埋め込んだプログラムの、" +"MinGW windres ツールが利用できるあらゆるプラットフォーム上でのコンパイルをサ" +"ポートしています。" + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 ../fp-compiler.templates.in:4001 +msgid "" +"In order to be able to compile projects using .rc files, you need first to " +"manually install the package mingw32-binutils. mingw32-binutils is suggested " +"by fp-compiler but not pulled in automatically." +msgstr "" +".rc ファイルを使っているプロジェクトをコンパイルできるようにするためにはまず " +"mingw32-binutils パッケージを手作業でインストールする必要があります。mingw32-" +"binutils は fp-compiler で提案されていますが自動的にインストールはされませ" +"ん。" + +#. Type: select +#. Description +#. "Select manually" should be in sync with the option elsewhere in the +#. translation +#: ../fp-compiler.templates.in:3002 +msgid "" +"If you want to enter a custom .rc file compiler that does not appear in this " +"list or if you simply want to disable this feature, please select \"Select " +"manually\"." +msgstr "" +"一覧に表示されない独自の .rc ファイルのコンパイラを指定したい、あるいはこの機" +"能を単に無効化したい場合は、「手作業で指定する」を選択ください。" + +#. Type: string +#. Description +#: ../fp-compiler.templates.in:4001 +msgid "If you don't want to use a default .rc file compiler, leave this blank." +msgstr "" +"デフォルトの .rc ファイルコンパイラを使いたくない場合は空白にしてください。" diff --git a/po/nl.po b/po/nl.po new file mode 100644 index 00000000..b1502ac9 --- /dev/null +++ b/po/nl.po @@ -0,0 +1,99 @@ +# Dutch translation of the fpc debconf templates. +# Copyright (C) 2014 Debian Pascal team +# This file is distributed under the same license as the fpc package. +# Paul Gevers , 2014 +# +msgid "" +msgstr "" +"Project-Id-Version: fpc\n" +"Report-Msgid-Bugs-To: fpc@packages.debian.org\n" +"POT-Creation-Date: 2014-09-21 20:49+0200\n" +"PO-Revision-Date: 2014-09-29 21:12+0100\n" +"Last-Translator: Paul Gevers \n" +"Language-Team: Debian Dutch l10n Team \n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: Dutch\n" + +#. Type: boolean +#. Description +#: ../fp-compiler.templates.in:2001 +msgid "Rename \"/etc/fpc.cfg\" to \"/etc/fpc.cfg.bak\"?" +msgstr "Hernoem \"/etc/fpc.cfg\" naar \"/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 ondersteunt het nu dat meerdere versies simultaan geïnstalleerd zijn. Het commando update-alternatives kan gebruikt worden om de standaardversie in te stellen voor:\n" +" * fpc (de compiler)\n" +" * fpc.cfg (het configuratiebestand)\n" +" * fp-utils (de hulpgereedschappen)." + +#. 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 "Welke versie u ook als standaard kiest, de configuratiebestanden zijn altijd achterwaarts verenigbaar. Het zou dus altijd veilig moeten zijn om de laatste versie te gebruiken." + +#. 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 "Als u het alternatieven-systeem wilt gebuiken voor het systeembrede configuratiebestand van FPC, dan is het noodzakelijk dat u het hernoemen van \"/etc/fpc.cfg\" accepteert. Als u dat niet doet, zult u dit handmatig moeten afhandelen." + +#. Type: select +#. Choices +#. This string should be in sync with the translation in the description +#: ../fp-compiler.templates.in:3001 +msgid "Select manually" +msgstr "Handmatig selecteren" + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3001 +#: ../fp-compiler.templates.in:4001 +msgid "Default MS Windows .rc resource compiler:" +msgstr "Standaardcompiler voor MS-Windows .rc-bronnen:" + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 +#: ../fp-compiler.templates.in:4001 +msgid "FPC supports compiling programs that embed resources as MS Windows .rc-format files on all platforms where the MinGW windres tool is available." +msgstr "Op alle platformen waar MinGW windres beschikbaar is, ondersteunt FPC het compileren van programma's die bronnen inbouwen als MS-Windowsbestanden van het \".rc\" formaat." + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3001 +#: ../fp-compiler.templates.in:4001 +msgid "In order to be able to compile projects using .rc files, you need first to manually install the package mingw32-binutils. mingw32-binutils is suggested by fp-compiler but not pulled in automatically." +msgstr "Om projecten te kunnen compileren die gebruik maken van .rc-bestanden, is het nodig dat het pakket mingw32-binutils is geïnstalleerd. mingw32-binutils wordt gesuggereerd door fp-compiler maar wordt niet automatisch geselecteerd voor installatie." + +#. Type: select +#. Description +#. "Select manually" should be in sync with the option elsewhere in the +#. translation +#: ../fp-compiler.templates.in:3002 +msgid "If you want to enter a custom .rc file compiler that does not appear in this list or if you simply want to disable this feature, please select \"Select manually\"." +msgstr "Selecteer \"Handmatig selecteren\" als u een compiler voor .rc-bestanden wilt invoeren die niet in de lijst voorkomt of als u deze functionaliteit simpelweg wilt uitschakelen." + +#. Type: string +#. Description +#: ../fp-compiler.templates.in:4001 +msgid "If you don't want to use a default .rc file compiler, leave this blank." +msgstr "Laat dit leeg als u geen standaardcompiler voor .rc-bestanden wilt gebruiken." + diff --git a/po/pl.po b/po/pl.po new file mode 100644 index 00000000..40cf1985 --- /dev/null +++ b/po/pl.po @@ -0,0 +1,132 @@ +# 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, 2013. +msgid "" +msgstr "" +"Project-Id-Version: fpc\n" +"Report-Msgid-Bugs-To: fpc@packages.debian.org\n" +"POT-Creation-Date: 2014-09-21 20:49+0200\n" +"PO-Revision-Date: 2013-11-20 20:50+0100\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." + +#. Type: select +#. Choices +#. This string should be in sync with the translation in the description +#: ../fp-compiler.templates.in:3001 +msgid "Select manually" +msgstr "Wybierz ręcznie" + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 ../fp-compiler.templates.in:4001 +msgid "Default MS Windows .rc resource compiler:" +msgstr "Domyślny kompilator zasobu .rc MS Windows:" + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 ../fp-compiler.templates.in:4001 +msgid "" +"FPC supports compiling programs that embed resources as MS Windows .rc-" +"format files on all platforms where the MinGW windres tool is available." +msgstr "" +"FPC obsługuje programy kompilujące które osadzają zasoby w formacie .rc MS " +"Windows na wszystkich platformach na których dostępne jest narzędzie MinGW " +"windres." + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 ../fp-compiler.templates.in:4001 +msgid "" +"In order to be able to compile projects using .rc files, you need first to " +"manually install the package mingw32-binutils. mingw32-binutils is suggested " +"by fp-compiler but not pulled in automatically." +msgstr "" +"Aby móc kompilować projekty za pomocą plików .rc konieczna jest uprzednia " +"ręczna instalacja pakietu mingw32-binutils. Jest to zależność pakietu " +"mingw32-binutils na poziomie \"poleca\", lecz nie jest ona wybierana " +"automatycznie." + +#. Type: select +#. Description +#. "Select manually" should be in sync with the option elsewhere in the +#. translation +#: ../fp-compiler.templates.in:3002 +msgid "" +"If you want to enter a custom .rc file compiler that does not appear in this " +"list or if you simply want to disable this feature, please select \"Select " +"manually\"." +msgstr "" +"Aby wprowadzić własny kompilator plików .rc nie uwidoczniony na tej liście " +"lub aby wyłączyć tę funkcję, proszę wybrać \"Wybierz ręcznie\"." + +#. Type: string +#. Description +#: ../fp-compiler.templates.in:4001 +msgid "If you don't want to use a default .rc file compiler, leave this blank." +msgstr "" +"Jeśli nie chce się używać domyślnego kompilatora plików .rc, należy " +"pozostawić to pole puste." diff --git a/po/pt.po b/po/pt.po new file mode 100644 index 00000000..4374a9ff --- /dev/null +++ b/po/pt.po @@ -0,0 +1,131 @@ +# Portuguese translation for fpc's debconf messages +# Copyright (C) 2012 the fpc's copyright holder +# This file is distributed under the same license as the fpc package. +# +# Rui Branco , 2012. +# Américo Monteiro , 2013. +msgid "" +msgstr "" +"Project-Id-Version: fpc >2.6.2-6\n" +"Report-Msgid-Bugs-To: fpc@packages.debian.org\n" +"POT-Creation-Date: 2014-09-21 20:49+0200\n" +"PO-Revision-Date: 2013-11-27 21:05+0000\n" +"Last-Translator: Américo Monteiro \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" +"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 "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 predefinida " +"para\n" +" * fpc (o compilador)\n" +" * fpc.cfg (o ficheiro do configuração)\n" +" * fp-utils (as 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 predefinição, os ficheiros de " +"configuração são sempre compatíveis com anteriores, deste modo deverá ser " +"sempre seguro usar a versão mais 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 "" +"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 você fazê-lo manualmente." + +#. Type: select +#. Choices +#. This string should be in sync with the translation in the description +#: ../fp-compiler.templates.in:3001 +msgid "Select manually" +msgstr "Seleccionar Manualmente" + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 ../fp-compiler.templates.in:4001 +msgid "Default MS Windows .rc resource compiler:" +msgstr "Compilador predefinido de recursos .rc do MS Windows:" + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 ../fp-compiler.templates.in:4001 +msgid "" +"FPC supports compiling programs that embed resources as MS Windows .rc-" +"format files on all platforms where the MinGW windres tool is available." +msgstr "" +"O FPC suporta compilar programas que têm embebidos recursos como ficheiros " +"de formato .rc do MS Windows em todas as plataformas onde a ferramenta MinGW " +"windres esteja disponível." + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 ../fp-compiler.templates.in:4001 +msgid "" +"In order to be able to compile projects using .rc files, you need first to " +"manually install the package mingw32-binutils. mingw32-binutils is suggested " +"by fp-compiler but not pulled in automatically." +msgstr "" +"De modo a ser capaz de compilar projectos que usem ficheiros .rc, primeiro " +"precisa de instalar manualmente o pacote mingw32-binutils. O mingw32-" +"binutils é sugerido pelo fp-compiler mas não adicionado automaticamente." + +#. Type: select +#. Description +#. "Select manually" should be in sync with the option elsewhere in the +#. translation +#: ../fp-compiler.templates.in:3002 +msgid "" +"If you want to enter a custom .rc file compiler that does not appear in this " +"list or if you simply want to disable this feature, please select \"Select " +"manually\"." +msgstr "" +"Se desejar adicionar um compilador personalizado de ficheiros .rc que não " +"aparece nesta lista ou se simplesmente deseja desactivar esta " +"funcionalidade, por favor escolha \"Seleccionar Manualmente\"." + +#. Type: string +#. Description +#: ../fp-compiler.templates.in:4001 +msgid "If you don't want to use a default .rc file compiler, leave this blank." +msgstr "" +"Se não deseja usar um compilador predefinido de ficheiros .rc, deixe isto em " +"vazio." diff --git a/po/ru.po b/po/ru.po new file mode 100644 index 00000000..dd0cbd1b --- /dev/null +++ b/po/ru.po @@ -0,0 +1,128 @@ +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the fpc package. +# +# Yuri Kozlov , 2012, 2013. +msgid "" +msgstr "" +"Project-Id-Version: fpc 2.6.2-6\n" +"Report-Msgid-Bugs-To: fpc@packages.debian.org\n" +"POT-Creation-Date: 2014-09-21 20:49+0200\n" +"PO-Revision-Date: 2013-11-12 19:34+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»; в противном случае вам каждый " +"раз нужно будет делать это вручную." + +#. Type: select +#. Choices +#. This string should be in sync with the translation in the description +#: ../fp-compiler.templates.in:3001 +msgid "Select manually" +msgstr "Указать вручную" + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 ../fp-compiler.templates.in:4001 +msgid "Default MS Windows .rc resource compiler:" +msgstr "Компилятор ресурсов MS Windows .rc по умолчанию:" + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 ../fp-compiler.templates.in:4001 +msgid "" +"FPC supports compiling programs that embed resources as MS Windows .rc-" +"format files on all platforms where the MinGW windres tool is available." +msgstr "" +"FPC поддерживает программы компиляции, которые встраивают файлы ресурсов " +"(такие как MS Windows .rc) на всех платформах, где доступна программа MinGW " +"windres." + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 ../fp-compiler.templates.in:4001 +msgid "" +"In order to be able to compile projects using .rc files, you need first to " +"manually install the package mingw32-binutils. mingw32-binutils is suggested " +"by fp-compiler but not pulled in automatically." +msgstr "" +"Чтобы можно было компилировать проекты с файлами .rc, во-первых, вам нужно " +"вручную установить mingw32-binutils. Наличие пакета mingw32-binutils " +"предполагается fp-compiler, но он не вытягивается автоматически." + +#. Type: select +#. Description +#. "Select manually" should be in sync with the option elsewhere in the +#. translation +#: ../fp-compiler.templates.in:3002 +msgid "" +"If you want to enter a custom .rc file compiler that does not appear in this " +"list or if you simply want to disable this feature, please select \"Select " +"manually\"." +msgstr "" +"Если вы хотите указать другой компилятор файлов .rc, которого нет в списке " +"или хотите совсем отключить эту возможность, выберите «Указать вручную»." + +#. Type: string +#. Description +#: ../fp-compiler.templates.in:4001 +msgid "If you don't want to use a default .rc file compiler, leave this blank." +msgstr "" +"Если вы не хотите использовать компилятор файлов .rc по умолчанию, оставьте " +"это поле пустым." diff --git a/po/sk.po b/po/sk.po new file mode 100644 index 00000000..e8fa24be --- /dev/null +++ b/po/sk.po @@ -0,0 +1,133 @@ +# 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, 2013. +# +msgid "" +msgstr "" +"Project-Id-Version: fpc 2.6.2-6\n" +"Report-Msgid-Bugs-To: fpc@packages.debian.org\n" +"POT-Creation-Date: 2014-09-21 20:49+0200\n" +"PO-Revision-Date: 2013-11-23 20:22+0100\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" +"X-Generator: Gtranslator 2.91.6\n" +"X-POFile-SpellExtra: resource windres mingw32-binutils MinGW rc\n" +"X-POFile-SpellExtra: fp-compiler\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." + +#. Type: select +#. Choices +#. This string should be in sync with the translation in the description +#: ../fp-compiler.templates.in:3001 +msgid "Select manually" +msgstr "VybraÅ¥ manuálne" + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 ../fp-compiler.templates.in:4001 +msgid "Default MS Windows .rc resource compiler:" +msgstr "Predvolený kompilátor .rc resource MS Windows:" + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 ../fp-compiler.templates.in:4001 +msgid "" +"FPC supports compiling programs that embed resources as MS Windows .rc-" +"format files on all platforms where the MinGW windres tool is available." +msgstr "" +"FPC podporuje programy na zostavovanie, ktoré zahrnú zdroje ako súbory vo " +"formáte MS Windows .rc na vÅ¡etkých platformách, kde je dostupný nástroj " +"MinGW windres." + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 ../fp-compiler.templates.in:4001 +msgid "" +"In order to be able to compile projects using .rc files, you need first to " +"manually install the package mingw32-binutils. mingw32-binutils is suggested " +"by fp-compiler but not pulled in automatically." +msgstr "" +"Aby ste mohli zostavovaÅ¥ projekty pomocou pomocou súborov .rc, musíte najprv " +"manuálne nainÅ¡talovaÅ¥ balík mingw32-binutils. Balík mingw32-binutils je " +"navrhovaný balíkom fp-compiler, ale nie je zvolený automaticky." + +#. Type: select +#. Description +#. "Select manually" should be in sync with the option elsewhere in the +#. translation +#: ../fp-compiler.templates.in:3002 +msgid "" +"If you want to enter a custom .rc file compiler that does not appear in this " +"list or if you simply want to disable this feature, please select \"Select " +"manually\"." +msgstr "" +"Ak chcete zadaÅ¥ vlastný kompilátor súboru .rc, ktorý nie je v tomto zozname, " +"alebo ak chcete jednoducho vypnúť túto vlastnosÅ¥, prosím, vyberte možnosÅ¥ " +"„VybraÅ¥ manuálne”." + +#. Type: string +#. Description +#: ../fp-compiler.templates.in:4001 +msgid "If you don't want to use a default .rc file compiler, leave this blank." +msgstr "" +"Ak nechcete používaÅ¥ predvolený kompilátor súboru .rc, nechajte toto pole " +"prázdne." diff --git a/po/sv.po b/po/sv.po new file mode 100644 index 00000000..44c19cc1 --- /dev/null +++ b/po/sv.po @@ -0,0 +1,128 @@ +# Translation of fpc debconf template to Swedish +# Copyright (C) 2014 Martin Bagge +# This file is distributed under the same license as the fpc package. +# +# Martin Bagge , 2012, 2014 +msgid "" +msgstr "" +"Project-Id-Version: fpc\n" +"Report-Msgid-Bugs-To: fpc@packages.debian.org\n" +"POT-Creation-Date: 2014-09-21 20:49+0200\n" +"PO-Revision-Date: 2014-09-30 13:13+0100\n" +"Last-Translator: Martin Bagge / brother \n" +"Language-Team: Swedish \n" +"Language: Swedish\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.5.4\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." + +#. Type: select +#. Choices +#. This string should be in sync with the translation in the description +#: ../fp-compiler.templates.in:3001 +msgid "Select manually" +msgstr "Manuell hantering" + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 ../fp-compiler.templates.in:4001 +msgid "Default MS Windows .rc resource compiler:" +msgstr "Standardkompilator för MS Windows .rc-resurser:" + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 ../fp-compiler.templates.in:4001 +msgid "" +"FPC supports compiling programs that embed resources as MS Windows .rc-" +"format files on all platforms where the MinGW windres tool is available." +msgstr "" +"FPC har stöd för kompilering av program som bäddar in resurser som MS " +"Windows .rc-format-filer pÃ¥ alla plattformar där MinGW windres-verktyg finns " +"tillgängligt." + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 ../fp-compiler.templates.in:4001 +msgid "" +"In order to be able to compile projects using .rc files, you need first to " +"manually install the package mingw32-binutils. mingw32-binutils is suggested " +"by fp-compiler but not pulled in automatically." +msgstr "" +"För att kunna kompilera projekt med .rc-filer behöver du först manuellt " +"installera paketet mingw32-binutils. mingw32-binutils föreslÃ¥s av fp-" +"compiler men installeras inte automatiskt." + +#. Type: select +#. Description +#. "Select manually" should be in sync with the option elsewhere in the +#. translation +#: ../fp-compiler.templates.in:3002 +msgid "" +"If you want to enter a custom .rc file compiler that does not appear in this " +"list or if you simply want to disable this feature, please select \"Select " +"manually\"." +msgstr "" +"Om du vill ange en alternativ kompilator för .rc-filer som inte visas i " +"denna lista eller om du helt enkelt vill avaktivera den här funktionen ange " +"\"Manuell hantering\"." + +#. Type: string +#. Description +#: ../fp-compiler.templates.in:4001 +msgid "If you don't want to use a default .rc file compiler, leave this blank." +msgstr "" +"Vill du inte använda en standardkompilator för .rc-filer kan detta fält " +"lämnas tomt." diff --git a/po/templates.pot b/po/templates.pot new file mode 100644 index 00000000..9e5259a9 --- /dev/null +++ b/po/templates.pot @@ -0,0 +1,106 @@ +# 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: 2014-09-21 20:49+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 "" + +#. Type: select +#. Choices +#. This string should be in sync with the translation in the description +#: ../fp-compiler.templates.in:3001 +msgid "Select manually" +msgstr "" + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 ../fp-compiler.templates.in:4001 +msgid "Default MS Windows .rc resource compiler:" +msgstr "" + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 ../fp-compiler.templates.in:4001 +msgid "" +"FPC supports compiling programs that embed resources as MS Windows .rc-" +"format files on all platforms where the MinGW windres tool is available." +msgstr "" + +#. Type: select +#. Description +#. Type: string +#. Description +#: ../fp-compiler.templates.in:3002 ../fp-compiler.templates.in:4001 +msgid "" +"In order to be able to compile projects using .rc files, you need first to " +"manually install the package mingw32-binutils. mingw32-binutils is suggested " +"by fp-compiler but not pulled in automatically." +msgstr "" + +#. Type: select +#. Description +#. "Select manually" should be in sync with the option elsewhere in the +#. translation +#: ../fp-compiler.templates.in:3002 +msgid "" +"If you want to enter a custom .rc file compiler that does not appear in this " +"list or if you simply want to disable this feature, please select \"Select " +"manually\"." +msgstr "" + +#. Type: string +#. Description +#: ../fp-compiler.templates.in:4001 +msgid "If you don't want to use a default .rc file compiler, leave this blank." +msgstr "" diff --git a/rules b/rules new file mode 100755 index 00000000..e5201fb4 --- /dev/null +++ b/rules @@ -0,0 +1,464 @@ +#!/usr/bin/make -f +# debian/rules for Free Pascal + +DEB_PACKAGE_NAME = fpc +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 +# Build new compiler name +CPU_SOURCE=$(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU) +CPU_TARGET=$(shell dpkg-architecture -qDEB_HOST_ARCH_CPU) +# Take care that Debian uses amd64 while FPC perfers x86_64 instead +CPU_SOURCE := $(subst amd64,x86_64,${CPU_SOURCE}) +CPU_TARGET := $(subst amd64,x86_64,${CPU_TARGET}) +# Take care that debian uses ppc64 while FPC prefers powerpc64 instead +CPU_SOURCE := $(subst ppc64,powerpc64,${CPU_SOURCE}) +CPU_TARGET := $(subst ppc64,powerpc64,${CPU_TARGET}) +# Shuld get rid of this one day, as it is done automatically by FPC make files +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),powerpc64) +PPSUF=ppc64 +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) + +OS_TARGET=$(subst kfreebsd,freebsd,$(shell dpkg-architecture -qDEB_HOST_ARCH_OS)) + +FPCTARGET=$(CPU_TARGET)-$(OS_TARGET) +# 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 +INSTALL_DIR=${CURDIR}/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_MAIN_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=fpcsrc/utils/fpcm/fpcmake +endif +# Undefine FPCDIR if it was set +unexport FPCDIR +NEWPP=$(CURDIR)/fpcsrc/compiler/$(PPNEW) +NEWFPDOC=$(CURDIR)/fpcsrc/utils/fpdoc/fpdoc +# Set default compilation options +DEB_BUILD_FPC_OPT=debian/deb-build-fpc.cfg +DEB_HOST_FPC_OPT=debian/deb-host-fpc.cfg +BUILDOPTS=PP=$(NEWPP) OPT='@${CURDIR}/${DEB_HOST_FPC_OPT}' +ifdef CROSSOPT +BUILDOPTS+= CROSSOPT=${CROSSOPT} +endif +INSTALLOPTS=INSTALL_PREFIX=$(INSTALL_DIR)/usr PP=$(NEWPP) + +export GDBLIBDIR=/usr/lib + +ifeq ($(OS_TARGET),freebsd) +#exclude some stuff that doesn't appear to be built on kfreebsd +#long term it might be an idea to review this list and see if there +#is actually a way to get some of this stuff to build on kfreebsd +#but for now getting stuff bootstrapped is the aim + DH_INSTALL_EXCLUDE_OPTS=-Xgrab_vcsa -Xuuid -Xopencl -Xptc -Xdbus -Xldap -Xproj4 -Xlibsee -Xlua -Xcdrom -Xnewt -Xa52 -Xdts -Xmad -Xmodplug -Xoggvorbis -Xopenal -Xdoc/fp -Xfpclasschart -Xmakeskel -Xunitdiff -Xfcl-web -Xfastcgi -Xzorba -Xfppkg +else + DH_INSTALL_EXCLUDE_OPTS= +endif + +#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='@${CURDIR}/${DEB_HOST_FPC_OPT} -dFPC_OARM' + else + CYCLEOPTS:=OPT='@${CURDIR}/${DEB_HOST_FPC_OPT} -dFPC_$(DEBIANARCH)' + endif +else + CYCLEOPTS:=OPT='@${CURDIR}/${DEB_HOST_FPC_OPT}' +endif +# Set default compilation options +DEB_HOST_MULTIARCH ?=$(shell dpkg-architecture -qDEB_HOST_MULTIARCH) +DEB_BUILD_MULTIARCH ?=$(shell dpkg-architecture -qDEB_BUILD_MULTIARCH) + +FPMAKE_BUILDOPTS=FPMAKE_SKIP_CONFIG='-n @${CURDIR}/${DEB_BUILD_FPC_OPT}' + +LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS | sed -e 's/-Wl,//g' -e 's/,/ /g') + +#export DH_VERBOSE=1 + +################### +# Clean +# + +clean: clean-patched clean-make-files + ${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/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 + #remove build config files + rm -f $(DEB_BUILD_FPC_OPT) + rm -f $(DEB_HOST_FPC_OPT) + dh_clean + +clean-patched: make-files + @echo "--- Cleaning" + dh_testdir + $(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\|compiled\)' -delete + +################### +# Debian files +# + +debian-files: debian-files-stamp +debian-files-stamp:debian/fixdeb debian/*.in + @echo "--- Creating/fixing *.install files" + DEB_SUBST_PACKAGESUFFIX=${PACKAGESUFFIX} \ + DEB_SUBST_PPCBIN=${PPNEW} \ + DEB_SUBST_TARGET=${FPCTARGET} \ + $< debian/*.in + touch debian-files-stamp + +make-files: make-files-stamp +make-files-stamp:$(patsubst %.fpc,%,$(shell find ${CURDIR}/* -name Makefile.fpc)) +# Make files are now generated. + touch $@ + +# Regenrate make files using fpcmake. +%Makefile:%Makefile.fpc ${FPCMAKE} + ${FPCMAKE} -Tall -q $< + +clean-make-files: + # Remove auto-generated make files. + find * -name Makefile.fpc -execdir sh -c '${RM} $$(basename {} .fpc)' ';' + ${RM} make-files-stamp + +################### +# Arch packages +# + +configure: debian-files make-files configure-stamp +configure-stamp: + dh_testdir + dh_prep + # 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: ${DEB_BUILD_FPC_OPT} ${DEB_HOST_FPC_OPT} + @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} ${FPMAKE_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) + $(MAKE) -C fpcsrc/utils/fpdoc/intl install $(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} \ + ${CURDIR}/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 $(DH_INSTALL_EXCLUDE_OPTS) + 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: 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} + + # The following lines are taken from https://wiki.debian.org/dedup.debian.net + # Replace duplicate files with symlinks + rdfind -outputname /dev/null -makesymlinks true ${DOC_DIR} + # Fix those symlinks to make them relative + symlinks -r -s -c ${DOC_DIR} + + touch install-doc-stamp + +################### +# Source +# + +install-source: clean-patched 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} \ + $(CURDIR)/fpcsrc/compiler \ + $(CURDIR)/fpcsrc/packages \ + $(CURDIR)/fpcsrc/rtl + touch install-source-stamp + +################### +# Generic +# + +build: build-arch build-indep +install: install-arch install-indep +binary: binary-arch binary-indep + + +################### +# Deb building +# + +configure-indep: configure-indep-stamp configure +configure-indep-stamp: + @echo -- Configure indep + dh_prep + touch configure-indep-stamp + +binary-indep: configure-indep install-doc install-source + @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 + 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 + 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 configure-indep make-files clean-make-files \ + get-orig-source build-doc + +get-orig-source: + -uscan --upstream-version=0 --rename --force-download + +debian/%:debian/fixdeb debian/changelog debian/%.in + DEB_SUBST_PACKAGESUFFIX=${PACKAGESUFFIX} \ + DEB_SUBST_PPCBIN=${PPNEW} \ + DEB_SUBST_TARGET=${FPCTARGET} \ + $< --gen-control $@.in + +fpcsrc/utils/fpcm/fpcmake:fpcsrc/utils/fpcm/Makefile ${DEB_BUILD_FPC_OPT} + ${MAKE} -C ${@D} OPT=@${CURDIR}/${DEB_BUILD_FPC_OPT} + +fpcsrc/utils/fpcm/Makefile:fpcsrc/utils/fpcm/Makefile.fpc + fpcmake -Tall -q $< + +${DEB_BUILD_FPC_OPT}: + echo '# FPC configuration file for build system tools' > $@ + echo '-k${LDFLAGS}' >> $@ + echo '-Fl/usr/lib/${DEB_BUILD_MULTIARCH}' >> $@ + +${DEB_HOST_FPC_OPT}: + echo '# FPC configuration file for host system applications' > $@ + echo '-k${LDFLAGS}' >> $@ + echo '-Fl/usr/lib/${DEB_HOST_MULTIARCH}' >> $@ diff --git a/source.lintian-overrides b/source.lintian-overrides new file mode 100644 index 00000000..cd24fb04 --- /dev/null +++ b/source.lintian-overrides @@ -0,0 +1,5 @@ +# Lintian believes these text files are pre-build Shockwave Flash (SWF) +# or Flash Video (FLV) files, which is definitely not true. +# Filing bug in lintian, but until that time, override +fpc source: source-is-missing install/doc/cwsdpmi.txt +fpc source: source-is-missing install/doc/cwsparam.txt 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..e573d9a4 --- /dev/null +++ b/watch @@ -0,0 +1,9 @@ +version=3 +# Original line if repacking is needed... +opts=uversionmangle=s/(RC)/\L$1/;\ +s/(\d)((rc|pre|dev|beta|alpha|b|a))/$1~$2/;\ +s/\-\d//;\ +s/\-src//,\ +dversionmangle=s/\+dfsg// \ +http://sf.net/freepascal/ fpcbuild-(.*).tar.gz debian debian/orig-tar.sh +# http://sf.net/freepascal/ fpcbuild-(.*).tar.gz