Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/languages
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv3987

Modified Files:
        fpc-config.info fpc-doc.info fpc-sources.info fpc.info 
Added Files:
        fpc-cross-arm-wince.info fpc-cross-arm.info 
        fpc-cross-i386-darwin.info fpc-cross-i386.info 
        fpc-cross-powerpc-darwin.info fpc-cross-powerpc.info 
        fpc-cross-x86-64-darwin.info fpc-cross-x86-64.info fpc.patch 
Removed Files:
        fpc-crossppc.info fpc-i386-linux.info fpc-win32.info 
Log Message:
FreePascal: update to 2.4.0 (move to stable) and patch of endian problem in 
MOFile unit.

--- fpc-win32.info DELETED ---

--- NEW FILE: fpc.patch ---
--- /packages/fcl-base/src/gettext.pp
+++ /packages/fcl-base/src/gettext.pp
@@ -26,7 +26,6 @@
   MOFileHeaderMagic = $950412de;
 
 type
-
   TMOFileHeader = packed record
     magic: LongWord;             // MOFileHeaderMagic
     revision: LongWord;          // 0
@@ -85,18 +84,55 @@
 {$endif}
 
 
+procedure Endianfixmotable(p:PMOStringTable;n:integer);
+var I:integer;
+begin
+  if n>0 then
+    for i:=0 to n-1 do
+      begin 
+        p^[i].length:=swapendian(p^[i].length);
+        p^[i].offset:=swapendian(p^[i].offset);
+      end;
+end;
+
+procedure Endianfixhashtable(p:PLongwordArray;n:integer);
+var I:integer;
+begin
+  if n>0 then
+    for i:=0 to n-1 do
+      begin 
+        p^[i]:=swapendian(p^[i]);
+      end;
+end;
+
 constructor TMOFile.Create(AStream: TStream);
 var
   header: TMOFileHeader;
   i: Integer;
+  endianswap : boolean;
+
 begin
   inherited Create;
 
   AStream.Read(header, Sizeof(header));
 
-  if header.magic <> MOFileHeaderMagic then
+  if (header.magic <> MOFileHeaderMagic) and 
(swapendian(header.magic)<>MOFileHeaderMagic) then
     raise EMOFileError.Create('Invalid magic - not a MO file?');
 
+  endianswap:=header.magic<>MOFileHeaderMagic;
+  If EndianSwap then 
+    begin
+     with header do
+       begin 
+          revision     :=SwapEndian(revision);
+          nstrings     :=SwapEndian(nstrings);
+          OrigTabOffset :=SwapEndian(OrigTabOffset);
+          TransTabOffset:=SwapEndian(TransTabOffset);
+          HashTabSize   :=SwapEndian(HashTabSize);
+          HashTabOffset :=SwapEndian(HashTabOffset);
+       end;
+    end;
+
   GetMem(OrigTable, header.nstrings * SizeOf(TMOStringInfo));
   GetMem(TranslTable, header.nstrings * SizeOf(TMOStringInfo));
   GetMem(OrigStrings, header.nstrings * SizeOf(PChar));
@@ -105,9 +141,13 @@
 
   AStream.Position := header.OrigTabOffset;
   AStream.Read(OrigTable^, header.nstrings * SizeOf(TMOStringInfo));
+  if EndianSwap then 
+    EndianFixmotable(OrigTable,Header.NStrings);
 
   AStream.Position := header.TransTabOffset;
   AStream.Read(TranslTable^, header.nstrings * SizeOf(TMOStringInfo));
+  if EndianSwap then 
+    EndianFixmotable(TranslTable,Header.NStrings);
 
   StringCount := header.nstrings;
 
@@ -139,6 +179,8 @@
   GetMem(HashTable, 4 * HashTableSize);
   AStream.Position := header.HashTabOffset;
   AStream.Read(HashTable^, 4 * HashTableSize);
+  if EndianSwap then 
+    EndianFixHashTable(hashtable,hashtablesize);
 end;
 
 constructor TMOFile.Create(const AFilename: String);

Index: fpc.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/stable/main/finkinfo/languages/fpc.info,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- fpc.info    5 Dec 2009 15:24:47 -0000       1.5
+++ fpc.info    17 Jan 2010 01:33:16 -0000      1.6
@@ -1,13 +1,10 @@
 Package: fpc
-Version: 2.2.4
-Revision: 3
+Version: 2.4.0
+Revision: 2
 Architecture: powerpc, i386, x86_64
 Depends: fpc-config
 Recommends: fpc-doc
 
-#Conflicts: fpc
-#Replaces: fpc
-
 CustomMirror: <<
 eur-AT: ftp://gd.tuwien.ac.at/languages/pascal/fpc/
 eur-BE: ftp://ftp.freepascal.org/pub/fpc/
@@ -19,25 +16,32 @@
 Primary: ftp://ftp.freepascal.org/pub/fpc/
 <<
 Source: mirror:custom:/dist/%v/source/fpcbuild-%v.tar.gz
-Source-MD5: 20bb9a4a9f1449e2249c80d7aba7c245
+Source-MD5: af49e9a8bb632f361395add30ece8934
 
-Source2: mirror:custom:dist/%v/source/fpc-%v.universal-darwin.bootstrap.tar.bz2
-Source2-MD5: 4a313307cbd7955a120c0fc02d1281a0
+Source2: 
mirror:custom:dist/%v/bootstrap/fpc-%v.universal-darwin.bootstrap.tar.bz2
+Source2-MD5: 172857a9ccb6c05996078b05429993ef
 
 SourceDirectory: fpcbuild-%v/fpcsrc
 
+BuildDepends: fink (>= 0.24.12)
+# Patch the endian problem with MOFiles in packages/fcl-base/src/gettext.pp
+PatchFile: %n.patch
+PatchFile-MD5: f01af3524aa65f6b2eb4eb1712a54901
+
 CompileScript: <<
 #!/bin/sh -ev
 
 # compile the compiler
-  make all PP=%b/../../ppcuniversal
+  if [ "%m" = "powerpc" ]; then archtype="-ppc" ; else archtype="-%m" ; fi
+  make all PP="arch $archtype %b/../../ppcuniversal"
 
 # compile the ide
-  if [ "%m" = "powerpc" ]; then ppcarch="ppcppc" ; else ppcarch="ppc386" ; fi
+  if [ "%m" = "powerpc" ]; then ppcarch="ppcppc" ; fi
+  if [ "%m" = "i386"    ]; then ppcarch="ppc386" ; fi
+  if [ "%m" = "x86_64"  ]; then ppcarch="ppcx64" ; fi
   make ide PP=%b/compiler/$ppcarch
 
 # compile the the compiler utility msgdif
-
   cd compiler/utils
   %b/compiler/$ppcarch -Fu%b/rtl/units/%m-darwin msgdif.pp
 
@@ -46,24 +50,33 @@
 InfoTest: <<
   TestScript: <<
 #!/bin/sh -ev
+  if [ "%m" = "powerpc" ]; then ppcarch="ppcppc" ; fi
+  if [ "%m" = "i386"    ]; then ppcarch="ppc386" ; fi
+  if [ "%m" = "x86_64"  ]; then ppcarch="ppcx64" ; fi
   mkdir -p       freepascal-tests
   cp -R rtl      freepascal-tests
   cp -R tests    freepascal-tests
   cp -R packages freepascal-tests
-  chmod -R 777   freepascal-tests
+  chmod -R 777   .
   cd             freepascal-tests/tests
 
-# If you really want to run the tests uncomment the following line.
+# Executing the following does not work because of permission problems.
+# If you really want to run the tests uncomment the following line and execute
+# "fink --test rebuild fpc"
+# Make sure there is no other version of fpc installed. 
+# Depending on your path settings you may get errors about the system unit 
being wrong,
 # The tests will take quite some time! You have been warned.
 
-#  sudo -u _unknown make full TEST_FPC=%b/compiler/$ppcarch 
FPC=%b/compiler/$ppcarch FPCMAKE=%b/utils/fpcm/fpcmake
+# make full TEST_FPC=%b/compiler/$ppcarch FPC=%b/compiler/$ppcarch 
OPT=-Fu%b/rtl/units/%m-darwin/ FPCMAKE=%b/utils/fpcm/fpcmake
 
 <<
 <<
 
 InstallScript: <<
 #!/bin/sh -ev
-  if [ "%m" = "powerpc" ]; then ppcarch="ppcppc" ; else ppcarch="ppc386" ; fi
+  if [ "%m" = "powerpc" ]; then ppcarch="ppcppc" ; fi
+  if [ "%m" = "i386"    ]; then ppcarch="ppc386" ; fi
+  if [ "%m" = "x86_64"  ]; then ppcarch="ppcx64" ; fi
   make install           INSTALL_PREFIX=%i       PP=%b/compiler/$ppcarch 
FPCMAKE=%b/utils/fpcm/fpcmake
   ln -sf ../lib/fpc/%v/$ppcarch %i/bin/$ppcarch
   make ide_install       INSTALL_PREFIX=%i       PP=%b/compiler/$ppcarch 
FPCMAKE=%b/utils/fpcm/fpcmake
@@ -96,7 +109,7 @@
 Furthermore, Free Pascal supports function overloading, operator 
 overloading, global properties and other modern features.
 
-http://wiki.freepascal.org/User_Changes_2.2.4 also lists changes in fpc 2.2.4.
+http://wiki.freepascal.org/User_Changes_2.4.0 also lists changes in fpc 2.4.0.
 <<
 
 DescUsage: <<
@@ -114,7 +127,8 @@
  For using Free Pascal with Xcode see:
     http://www.freepascal.org/xcode.html
 
- With "fink --test rebuild fpc" the test suite of the compiler is executed.
+ After uncommenting a line in fpc.info "fink --test rebuild fpc" executes 
+ the test suite of the compiler.
  This takes quite some time, in particular on slow machines.
  Expect a small number of failed tests.
 

--- NEW FILE: fpc-cross-i386.info ---
Info2: <<
Package: fpc-cross-i386-%type_pkg[platform]
Version: 2.4.0
Revision: 2
Type: platform (linux freebsd win32 wince)
# tried, but not yet working or needed: os2 go32v2 symbian netbsd openbsd beos 
haiku qnx netware wdosx emx watcom netwlibc
Architecture: i386, x86_64
BuildDepends: fink (>= 0.24.12)
Depends: <<
(%m = i386)   fpc,
(%m = x86_64) fpc-cross-i386-darwin,
(%type_pkg[platform] = linux)   i386-%type_pkg[platform]-binutils,
(%type_pkg[platform] = freebsd) i386-%type_pkg[platform]-binutils,
(%type_pkg[platform] = win32)   i386-%type_pkg[platform]-binutils
<<
Replaces: fpc-win, fpc-i386-linux
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)
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.
  if [ "%type_pkg[platform]" = "wince" ]; then \
    sed -i.bak 's|src/win|src/dummy|g' packages/fcl-base/Makefile; \
  fi
<<

CompileScript: <<
  make rtl      PP=ppc386 CPU_TARGET=i386 OS_TARGET=%type_pkg[platform]
  make packages PP=ppc386 CPU_TARGET=i386 OS_TARGET=%type_pkg[platform]
<<

InstallScript: <<
#!/bin/sh -ev
#  make compiler_install would also install all tools, but the crosscompiler is 
all what is wanted
  make rtl_install      OS_TARGET=%type_pkg[platform] CPU_TARGET=i386 
INSTALL_PREFIX=%i CROSSINSTALL=1 FPCMAKE=fpcmake PP=ppc386
  make packages_install OS_TARGET=%type_pkg[platform] CPU_TARGET=i386 
INSTALL_PREFIX=%i CROSSINSTALL=1 FPCMAKE=fpcmake PP=ppc386
<<

License: LGPL

Description: FPC cross-compiler i386-%type_pkg[platform]

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: Linux, 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 x86 executables for %type_pkg[platform].

 get help with: fpc -h

 compile and link a Pascal file with:
 
 fpc -T%type_pkg[platform] FILENAME

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

DescPort: <<
 Only the rtl and the packages need to be installed. The original x86 compiler 
 (ppc386) is enough for compiling.
 Missing/ToDo: OS/2, WinCE (Bug?), Symbian, ...
<<

Homepage: http://www.freepascal.org

Maintainer: Karl-Michael Schindler <karl-michael.schind...@web.de>
<<
--- NEW FILE: fpc-cross-arm-wince.info ---
Package: fpc-cross-arm-wince
Version: 2.4.0
Revision: 2
Architecture: powerpc, i386, x86_64
Depends: fpc
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

<<

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

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: <<
 Please report if it works for you.
<<

Homepage: http://www.freepascal.org
Maintainer: Karl-Michael Schindler <karl-michael.schind...@web.de>

--- NEW FILE: fpc-cross-powerpc.info ---
Info2: <<
Package: fpc-cross-powerpc-%type_pkg[platform]
Version: 2.4.0
Revision: 2
Type: platform (linux)
Architecture: powerpc, i386, x86_64
# For powerpc-linux binutils are needed. 
Depends: <<
(%m = powerpc) fpc,
(%m = i386)    fpc-cross-powerpc-darwin,
(%m = x86_64)  fpc-cross-powerpc-darwin,
powerpc-%type_pkg[platform]-binutils
<<
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

CompileScript: <<
# compile the crosscompiler, rtl and packages
  make rtl      PP=ppcppc CPU_TARGET=powerpc OS_TARGET=%type_pkg[platform]
  make packages PP=ppcppc CPU_TARGET=powerpc OS_TARGET=%type_pkg[platform] 
FPCDIR=%b
<<

InstallScript: <<
#!/bin/sh -ev
# install all units from the rtl and packages
  make rtl_install      OS_TARGET=%type_pkg[platform] CPU_TARGET=powerpc 
INSTALL_PREFIX=%i CROSSINSTALL=1 FPCMAKE=fpcmake PP=ppcppc
  make packages_install OS_TARGET=%type_pkg[platform] CPU_TARGET=powerpc 
INSTALL_PREFIX=%i CROSSINSTALL=1 FPCMAKE=fpcmake PP=ppcppc
<<

License: GPL/LGPL

Description: FPC cross-compiler ppc-%type_pkg[platform]

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: Linux, 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 powerpc executables, which run 
 natively on powerpc %type_pkg[platform] systems.
 get help with: fpc -h
 compile and link a Pascal file with:
 
 fpc -T%type_pkg[platform] -Ppowerpc FILENAME

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

DescPort: <<

<<

Homepage: http://www.freepascal.org

Maintainer: Karl-Michael Schindler <karl-michael.schind...@web.de>
<<
--- fpc-crossppc.info DELETED ---

--- NEW FILE: fpc-cross-x86-64.info ---
Info2: <<
Package: fpc-cross-x86-64-%type_pkg[platform]
Version: 2.4.0
Revision: 2
Type: platform (linux freebsd win64)
Architecture: i386, x86_64
Depends: <<
(%m = x86_64) fpc,
(%m = i386)   fpc-cross-x86-64-darwin,
x86-64-%type_pkg[platform]-binutils
<<
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

CompileScript: <<
#!/bin/sh -ev
# compile rtl and packages for X86-64
  make rtl      PP=ppcx64 CPU_TARGET=x86_64 OS_TARGET=%type_pkg[platform]
  make packages PP=ppcx64 CPU_TARGET=x86_64 OS_TARGET=%type_pkg[platform]
<<

InstallScript: <<
#!/bin/sh -ev
  make rtl_install      OS_TARGET=%type_pkg[platform] CPU_TARGET=x86_64 
INSTALL_PREFIX=%i CROSSINSTALL=1 FPCMAKE=fpcmake PP=ppcx64
  make packages_install OS_TARGET=%type_pkg[platform] CPU_TARGET=x86_64 
INSTALL_PREFIX=%i CROSSINSTALL=1 FPCMAKE=fpcmake PP=ppcx64
<<

License: GPL/LGPL

Description: FPC cross-compiler X86_64-%type_pkg[platform]

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: Linux, 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 Free Pascal cross compiler produces X86 64bit code for Linux, FreeBSD 
 and Win64.

 get help with: fpc -h

 compile and link a Pascal file with:

  fpc -Px64 -T%type_pkg[platform] FILENAME

 For setting up the Free Pascal IDE see: 
    http://www.freepascal.org/wiki/index.php/Textmode_IDE
 For using Free Pascal with Xcode see:
    http://www.freepascal.org/xcode.html

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

DescPort: <<

<<

Homepage: http://www.freepascal.org

Maintainer: Karl-Michael Schindler <karl-michael.schind...@web.de>
<<
Index: fpc-sources.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/stable/main/finkinfo/languages/fpc-sources.info,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- fpc-sources.info    22 May 2009 11:31:24 -0000      1.2
+++ fpc-sources.info    17 Jan 2010 01:33:16 -0000      1.3
@@ -1,7 +1,7 @@
 Package: fpc-sources
-Version: 2.2.4
-Revision: 1
-Architecture: powerpc, i386
+Version: 2.4.0
+Revision: 2
+Architecture: powerpc, i386, x86_64
 Recommends: lazarus-common
 
 Conflicts: lazarus-common (<= 0.9.26)
@@ -18,10 +18,15 @@
 Primary: ftp://ftp.freepascal.org/pub/fpc/
 <<
 Source: mirror:custom:/dist/%v/source/fpcbuild-%v.tar.gz
-Source-MD5: 20bb9a4a9f1449e2249c80d7aba7c245
+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
+
 CompileScript: <<
 #!/bin/sh -ev
 echo 'Nothing to compile.'

--- NEW FILE: fpc-cross-arm.info ---
Info2: <<
Package: fpc-cross-arm-%type_pkg[platform]
Version: 2.4.0
Revision: 2
Type: platform (linux)
Architecture: powerpc, i386, x86_64
# For arm-cross binutils are needed. 
# As soon as fpc has a builtin assembler and linker, 
# the dependence on arm-nds-binutils can be removed.
Depends: fpc-cross-arm-wince, arm-%type_pkg[platform]-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

CompileScript: <<
  make rtl      PP=ppcarm CPU_TARGET=arm OS_TARGET=%type_pkg[platform]
  make packages PP=ppcarm CPU_TARGET=arm OS_TARGET=%type_pkg[platform]
<<

InstallScript: <<
#!/bin/sh -ev
# install all units from the rtl and packages
  make rtl_install      OS_TARGET=%type_pkg[platform] CPU_TARGET=arm 
INSTALL_PREFIX=%i CROSSINSTALL=1 PP=ppcarm
  make packages_install OS_TARGET=%type_pkg[platform] CPU_TARGET=arm 
INSTALL_PREFIX=%i CROSSINSTALL=1 PP=ppcarm
<<

License: GPL/LGPL

Description: FPC cross-compiler arm-%type_pkg[platform]

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-%type_pkg[platform] systems.
 get help with: fpc -h
 compile and link a Pascal file with:
 
 fpc -T%type_pkg[platform] -Parm FILENAME

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

DescPort: <<
 Please report if it works for you.
<<

Homepage: http://www.freepascal.org

Maintainer: Karl-Michael Schindler <karl-michael.schind...@web.de>
<<
Index: fpc-doc.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/stable/main/finkinfo/languages/fpc-doc.info,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- fpc-doc.info        22 May 2009 11:31:24 -0000      1.3
+++ fpc-doc.info        17 Jan 2010 01:33:16 -0000      1.4
@@ -1,7 +1,7 @@
 Package: fpc-doc
-Version: 2.2.4
+Version: 2.4.0
 Revision: 1
-Architecture: powerpc, i386
+Architecture: powerpc, i386, x86_64
 Enhances: fpc
 
 CustomMirror: <<
@@ -16,10 +16,10 @@
 <<
 
 Source: mirror:custom:dist/%v/docs/doc-pdf.tar.gz
-Source-MD5: 3a99d6bafb7bc2306128b4bd11748506
+Source-MD5: 2577599d35a69d2643524febea386664
 
 Source2: mirror:custom:dist/%v/docs/doc-html.tar.gz
-Source2-MD5: 7f5b7944eb3f5603a05a153e3afe49ca
+Source2-MD5: 14f264fef541f8e961fdea58e8745564
 
 SourceRename: %n-%v-pdf.tar.gz
 Source2Rename: %n-%v-html.tar.gz
@@ -34,9 +34,10 @@
 mkdir -p %i/share/doc/fpc-%v
 install -d -m 755 %i/share/doc/fpc-%v/pdf
 install -d -m 755 %i/share/doc/fpc-%v/html
-install -c -m 644 share/doc/fpdocs-%v/*.pdf %i/share/doc/fpc-%v/pdf
-rm share/doc/fpdocs-%v/*.pdf
-mv share/doc/fpdocs-%v/* %i/share/doc/fpc-%v/html
+install -c -m 644 doc/*.pdf %i/share/doc/fpc-%v/pdf
+mv doc/buttons     %i/share/doc/fpc-%v/html
+mv doc/pics        %i/share/doc/fpc-%v/html
+mv doc/fpctoc.html %i/share/doc/fpc-%v/html
 <<
 
 License: GPL

--- fpc-i386-linux.info DELETED ---

Index: fpc-config.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/stable/main/finkinfo/languages/fpc-config.info,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- fpc-config.info     22 May 2009 11:31:24 -0000      1.2
+++ fpc-config.info     17 Jan 2010 01:33:16 -0000      1.3
@@ -1,12 +1,11 @@
 Package: fpc-config
-Version: 2.2.4
+Version: 2.4.0
 Revision: 1
-Architecture: powerpc, i386
+Architecture: powerpc, i386, x86_64
+Conflicts: fpc (<= 2.0.4)
+Replaces:  fpc (<= 2.0.4)
 Recommends: fpc
 
-#Conflicts: fpc-config
-#Replaces: fpc ( << 2.2.2-2 ), fpc-config
-
 Source: http://www.gnu.org/licenses/gpl.txt
 Source-MD5: d32239bcb673463ab874e80d47fae504
 Source2: http://www.gnu.org/licenses/lgpl.txt
@@ -17,7 +16,7 @@
 CompileScript: <<
 #!/bin/sh -ev
 
-# The version number of darwin (8 for 10.4 and 9 for 10.5) 
+# The version number of darwin (8 for 10.4, 9 for 10.5, ...) 
 # is needed for the directories of the gcc libraries
 DARWINVERSION=`uname -r|cut -f1 -d.`
 
@@ -264,7 +263,7 @@
 Description: Free Pascal compiler configuration
 
 DescDetail: <<
-This packages sets up the Free Pascal compiler configuration file 
+This package sets up the Free Pascal compiler configuration file 
 (%p/etc/fpc.cfg)
 <<
 
@@ -277,7 +276,7 @@
  -Fu%p/lib/fpc/%v/units/\$FPCTARGET/*
  is important that units of different targets are found.
  The "\" is important otherwise the shell tries to replace it 
- with the content of the variable FPCTARGET, which does not exist.
+ with the content of the variable FPCTARGET which does not exist.
 <<
 
 Homepage: http://www.freepascal.org

--- NEW FILE: fpc-cross-powerpc-darwin.info ---
Package: fpc-cross-powerpc-darwin
Version: 2.4.0
Revision: 2
Architecture: i386, x86_64
Depends: fpc-config
Replaces: fpc-crossppc
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

Source2: 
mirror:custom:dist/%v/bootstrap/fpc-%v.universal-darwin.bootstrap.tar.bz2
Source2-MD5: 172857a9ccb6c05996078b05429993ef

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

CompileScript: <<
# compile the crosscompiler, rtl and packages
  make all PP="arch -ppc %b/../../ppcuniversal" CPU_TARGET=powerpc
<<

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/ppcppc %i/lib/fpc/%v/ppcppc
  install -m 755 -d %i/bin
  ln -sf ../lib/fpc/%v/ppcppc %i/bin/ppcppc
  make rtl_install      OS_TARGET=darwin  CPU_TARGET=powerpc INSTALL_PREFIX=%i 
CROSSINSTALL=1 FPCMAKE=%b/utils/fpcm/fpcmake PP=%b/compiler/ppcppc
  make packages_install OS_TARGET=darwin  CPU_TARGET=powerpc INSTALL_PREFIX=%i 
CROSSINSTALL=1 FPCMAKE=%b/utils/fpcm/fpcmake PP=%b/compiler/ppcppc
# install all units from the rtl and packages
<<

License: GPL/LGPL

Description: FPC cross-compiler ppc-darwin

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: Linux, 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 powerpc executables, which run 
 natively on powerpc Mac OS X systems.
 get help with: fpc -h
 compile and link a Pascal file with:
 
 fpc -Ppowerpc FILENAME

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

DescPort: <<

<<

Homepage: http://www.freepascal.org

Maintainer: Karl-Michael Schindler <karl-michael.schind...@web.de>

--- NEW FILE: fpc-cross-x86-64-darwin.info ---
Package: fpc-cross-x86-64-darwin
Version: 2.4.0
Revision: 2
Architecture: i386
Depends: fpc-config
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

Source2: 
mirror:custom:dist/%v/bootstrap/fpc-%v.universal-darwin.bootstrap.tar.bz2
Source2-MD5: 172857a9ccb6c05996078b05429993ef

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

CompileScript: <<
#!/bin/sh -ev
# compile the crosscompiler for X86-64
  make all PP="arch -x86_64 %b/../../ppcuniversal" CPU_TARGET=x86_64
<<

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/ppcx64 %i/lib/fpc/%v/ppcx64
  install -m 755 -d %i/bin
  ln -sf ../lib/fpc/%v/ppcx64 %i/bin/ppcx64
  make rtl_install      OS_TARGET=darwin CPU_TARGET=x86_64 INSTALL_PREFIX=%i 
CROSSINSTALL=1 FPCMAKE=%b/utils/fpcm/fpcmake PP=%b/compiler/ppcx64
  make packages_install OS_TARGET=darwin CPU_TARGET=x86_64 INSTALL_PREFIX=%i 
CROSSINSTALL=1 FPCMAKE=%b/utils/fpcm/fpcmake PP=%b/compiler/ppcx64
<<

License: GPL/LGPL

Description: FPC cross-compiler X86_64-darwin

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: Linux, 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 Free Pascal cross compiler produces X86 64bit code for Mac OS X.

 get help with: fpc -h

 compile and link a Pascal file with:

  fpc -Px64 FILENAME

 For setting up the Free Pascal IDE see: 
    http://www.freepascal.org/wiki/index.php/Textmode_IDE
 For using Free Pascal with Xcode see:
    http://www.freepascal.org/xcode.html

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

DescPort: <<

<<

Homepage: http://www.freepascal.org

Maintainer: Karl-Michael Schindler <karl-michael.schind...@web.de>

--- NEW FILE: fpc-cross-i386-darwin.info ---
Package: fpc-cross-i386-darwin
Version: 2.4.0
Revision: 2
Architecture: x86_64
Depends: fpc-config
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

Source2: 
mirror:custom:dist/%v/bootstrap/fpc-%v.universal-darwin.bootstrap.tar.bz2
Source2-MD5: 172857a9ccb6c05996078b05429993ef

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

CompileScript: <<
  make all PP="arch -i386 %b/../../ppcuniversal" CPU_TARGET=i386
<<

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/ppc386 %i/lib/fpc/%v/ppc386
  install -m 755 -d %i/bin
  ln -sf ../lib/fpc/%v/ppcx64 %i/bin/ppc386
  make rtl_install      OS_TARGET=darwin CPU_TARGET=i386 INSTALL_PREFIX=%i 
CROSSINSTALL=1 FPCMAKE=%b/utils/fpcm/fpcmake PP=%b/compiler/ppc386
  make packages_install OS_TARGET=darwin CPU_TARGET=i386 INSTALL_PREFIX=%i 
CROSSINSTALL=1 FPCMAKE=%b/utils/fpcm/fpcmake PP=%b/compiler/ppc386
<<

License: LGPL

Description: FPC cross-compiler i386-darwin

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: Linux, 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 x86 executables.

 get help with: fpc -h

 compile and link a Pascal file with:
 
 fpc -Pi386 FILENAME

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

DescPort: <<
 Only the rtl and the packages need to be installed. The original x86 compiler 
 (ppc386) is enough for compiling.
<<

Homepage: http://www.freepascal.org

Maintainer: Karl-Michael Schindler <karl-michael.schind...@web.de>


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to