fpc-cross-arm-wince stable port information

Package: fpc-cross-arm-wince
Version: 2.4.0
Revision: 4
Architecture: i386, x86_64
Depends: fpc, arm-wince-binutils
Replaces: fpc-arm-cross
Recommends: fpc-doc

CustomMirror: <<
eur-AT: ftp://gd.tuwien.ac.at/languages/pascal/fpc/
eur-BE: ftp://ftp.freepascal.org/pub/fpc/
eur-HU: ftp://ftp.hu.freepascal.org/pub/fpc/
eur-IL: http://mirror.mirimar.net/freepascal/
eur-NL: ftp://freepascal.stack.nl/mirrors/fpc/
eur-NO: ftp://ftp.no.freepascal.org/pub/fpc/
eur-RU: ftp://ftp.chg.ru/pub/lang/pascal/fpc/
Primary: ftp://ftp.freepascal.org/pub/fpc/
<<
Source: mirror:custom:/dist/%v/source/fpcbuild-%v.tar.gz
Source-MD5: af49e9a8bb632f361395add30ece8934

SourceDirectory: fpcbuild-%v/fpcsrc

BuildDepends: fink (>= 0.24.12)
# Patch the endian problem with MOFiles in packages/fcl-base/src/gettext.pp
PatchFile: fpc.patch
PatchFile-MD5: f01af3524aa65f6b2eb4eb1712a54901

Patchscript: <<
#!/bin/sh -ev

# Patch the endian problem with MOFiles in packages/fcl-base/src/gettext.pp
sed 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1
# preliminary fix of fcl-base Makefile. Can probably be removed with newer tarball.
sed -i.bak 's|src/win|src/dummy|g' packages/fcl-base/Makefile
# this should probably be fixed upstream in the future.
sed -i.bak 's|armpe|arm_wince_pe|g' compiler/systems/t_win.pas
<<

CompileScript: <<
# compile the crosscompiler, rtl and packages
make all PP=fpc CPU_TARGET=arm OS_TARGET=wince CROSSOPT="-Xe"
<<

InstallScript: <<
#!/bin/sh -ev
# make compiler_install would also install all tools, but the crosscompiler is all what is wanted
install -m 755 -d %i/lib/fpc/%v
install -c -m 755 %b/compiler/ppcrossarm %i/lib/fpc/%v/ppcrossarm
install -m 755 -d %i/bin
ln -sf ../lib/fpc/%v/ppcrossarm %i/bin/ppcarm
# install all units from the rtl and packages
make rtl_install OS_TARGET=wince CPU_TARGET=arm INSTALL_PREFIX=%i CROSSINSTALL=1 PP=%b/compiler/ppcrossarm
make packages_install OS_TARGET=wince CPU_TARGET=arm INSTALL_PREFIX=%i CROSSINSTALL=1 PP=%b/compiler/ppcrossarm
<<

License: GPL/LGPL

Description: FPC cross-compiler arm-wince

DescDetail: <<
Free Pascal (aka FPK Pascal) is a 32 and 64 bit professional Pascal
compiler. Supported processors: Intel x86, Amd64/x86 64, PowerPC,
Sparc, ARM.
Supported operating systems: nds, FreeBSD, Mac OS X/Darwin,
Mac OS classic, DOS, Win32, OS/2, Netware (libc and classic) and MorphOS.

The language syntax has excellent compatibility with TP 7.0 as well as
with most versions of Delphi (classes, rtti, exceptions, ansistrings,
widestrings, interfaces). A Mac Pascal compatibility mode is also provided
to assist users of previous Pascal compilers for the Mac.
Furthermore, Free Pascal supports function overloading, operator
overloading, global properties and other modern features.

http://wiki.freepascal.org/User_Changes_2.4.0 also lists changes in fpc 2.4.0.
<<

DescUsage: <<
This Pascal crosscompiler produces arm executables, which run
natively on arm-wince systems.
get help with: fpc -h
compile and link a Pascal file with:

fpc -Twince -Parm FILENAME

For more documentation about Free Pascal in HTML and pdf, install fpc-doc
<<

DescPort: <<
It should be possible to use the internal linker. On success, the
dependence on the arm-wince-binutils could be lifted. In addition,
it should also work on powerpc systems.
<<

Homepage: http://www.freepascal.org
Maintainer: Karl-Michael Schindler

fpc-cross-arm-wince _unstable_ port information

Package: fpc-cross-arm-wince
Version: 2.4.0
Revision: 4
Architecture: i386, x86_64
Depends: fpc, arm-wince-binutils
Replaces: fpc-arm-cross
Recommends: fpc-doc

CustomMirror: <<
eur-AT: ftp://gd.tuwien.ac.at/languages/pascal/fpc/
eur-BE: ftp://ftp.freepascal.org/pub/fpc/
eur-HU: ftp://ftp.hu.freepascal.org/pub/fpc/
eur-IL: http://mirror.mirimar.net/freepascal/
eur-NL: ftp://freepascal.stack.nl/mirrors/fpc/
eur-NO: ftp://ftp.no.freepascal.org/pub/fpc/
eur-RU: ftp://ftp.chg.ru/pub/lang/pascal/fpc/
Primary: ftp://ftp.freepascal.org/pub/fpc/
<<
Source: mirror:custom:/dist/%v/source/fpcbuild-%v.tar.gz
Source-MD5: af49e9a8bb632f361395add30ece8934

SourceDirectory: fpcbuild-%v/fpcsrc

BuildDepends: fink (>= 0.24.12)
# Patch the endian problem with MOFiles in packages/fcl-base/src/gettext.pp
PatchFile: fpc.patch
PatchFile-MD5: f01af3524aa65f6b2eb4eb1712a54901

Patchscript: <<
#!/bin/sh -ev

# Patch the endian problem with MOFiles in packages/fcl-base/src/gettext.pp
sed 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1
# preliminary fix of fcl-base Makefile. Can probably be removed with newer tarball.
sed -i.bak 's|src/win|src/dummy|g' packages/fcl-base/Makefile
# this should probably be fixed upstream in the future.
sed -i.bak 's|armpe|arm_wince_pe|g' compiler/systems/t_win.pas
<<

CompileScript: <<
# compile the crosscompiler, rtl and packages
make all PP=fpc CPU_TARGET=arm OS_TARGET=wince CROSSOPT="-Xe"
<<

InstallScript: <<
#!/bin/sh -ev
# make compiler_install would also install all tools, but the crosscompiler is all what is wanted
install -m 755 -d %i/lib/fpc/%v
install -c -m 755 %b/compiler/ppcrossarm %i/lib/fpc/%v/ppcrossarm
install -m 755 -d %i/bin
ln -sf ../lib/fpc/%v/ppcrossarm %i/bin/ppcarm
# install all units from the rtl and packages
make rtl_install OS_TARGET=wince CPU_TARGET=arm INSTALL_PREFIX=%i CROSSINSTALL=1 PP=%b/compiler/ppcrossarm
make packages_install OS_TARGET=wince CPU_TARGET=arm INSTALL_PREFIX=%i CROSSINSTALL=1 PP=%b/compiler/ppcrossarm
<<

License: GPL/LGPL

Description: FPC cross-compiler arm-wince

DescDetail: <<
Free Pascal (aka FPK Pascal) is a 32 and 64 bit professional Pascal
compiler. Supported processors: Intel x86, Amd64/x86 64, PowerPC,
Sparc, ARM.
Supported operating systems: nds, FreeBSD, Mac OS X/Darwin,
Mac OS classic, DOS, Win32, OS/2, Netware (libc and classic) and MorphOS.

The language syntax has excellent compatibility with TP 7.0 as well as
with most versions of Delphi (classes, rtti, exceptions, ansistrings,
widestrings, interfaces). A Mac Pascal compatibility mode is also provided
to assist users of previous Pascal compilers for the Mac.
Furthermore, Free Pascal supports function overloading, operator
overloading, global properties and other modern features.

http://wiki.freepascal.org/User_Changes_2.4.0 also lists changes in fpc 2.4.0.
<<

DescUsage: <<
This Pascal crosscompiler produces arm executables, which run
natively on arm-wince systems.
get help with: fpc -h
compile and link a Pascal file with:

fpc -Twince -Parm FILENAME

For more documentation about Free Pascal in HTML and pdf, install fpc-doc
<<

DescPort: <<
It should be possible to use the internal linker. On success, the
dependence on the arm-wince-binutils could be lifted. In addition,
it should also work on powerpc systems.
<<

Homepage: http://www.freepascal.org
Maintainer: Karl-Michael Schindler