Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/devel
In directory vz-cvs-3.sog:/tmp/cvs-serv3721

Added Files:
        forttopas.info fpc-xcode3-integration.info 
        fpprofiler-cross.info fpprofiler.info 
Log Message:
move pascal related packages to stable.

--- NEW FILE: forttopas.info ---
Package: forttopas
Version: 1.01
Revision: 1
Description: Semi-automatic Fortran to Pascal converter
Architecture: powerpc, i386
BuildDepends: fpc, xdev-toolkit, libicns1-bin, imagemagick
License: GPL

# Unpack Phase:
Source: mirror:sourceforge:fortran2pascal/%v/ForToPasSrcOnly1-01.zip
Source-MD5: 50341009f4f0f511157dbb48f5c54f49
SourceDirectory: ForToPasSrc

PatchScript: <<
#!/bin/sh -ev
  sed -i.bak 's|Windows,||g'     fAbout.pas
  sed -i.bak 's|ShellAPI|Unix|g' fAbout.pas
  sed -i.bak "s|ShellExecute|fpSystem('open 
http://www.shokhirev.com/nikolai.html');//|g" fAbout.pas
cat >%b/fAbout.lfm <<FILEEOF
object AboutBox: TAboutBox
  Left = 331
  Height = 187
  Top = 153
  Width = 298
  BorderStyle = bsDialog
  Caption = 'About'
  ClientHeight = 187
  ClientWidth = 298
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Position = poScreenCenter
  LCLVersion = '0.9.28.2'
  object Panel1: TPanel
    Left = 8
    Height = 145
    Top = 0
    Width = 281
    BevelInner = bvRaised
    BevelOuter = bvLowered
    ClientHeight = 145
    ClientWidth = 281
    TabOrder = 0
    object ProgramIcon: TImage
      Left = 8
      Height = 57
      Top = 8
      Width = 65
      Picture.Data = {
        07544269746D617076020000424D760200000000000076000000280000002000
        0000200000000100040000000000000200000000000000000000100000000000
        000000000000000080000080000000808000800000008000800080800000C0C0
        C000808080000000FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFF
        FF00000000000000000000000000000000000EE8787878EEEEEEE03F30878EEE
        EEE00EE8787878EEEEEEE03F30878EEEEEE00EE8787878EEEEEEE03F30878EEE
        EEE00EE8787878EEEEEEE03F30878EEEEEE00887787877788888803F3088787E
        EEE00788787878878887803F3088887EEEE00788887888878887803F3088887E
        EEE00877888887788888703F308887EEEEE00888777778888888037883088888
        8EE007777777777777703787883087777EE00888888888888803787FF8830888
        888008888888888880378777778830888880077777777788037873F3F3F87808
        88E00888888888803787FFFFFFFF8830EEE00887777778800001111111111100
        EEE00888888888888899B999B99999EEEEE00888888888888899B9B99BB9B9EE
        EEE0088888888888899BB9BB99BB99EEEEE0078888888888899B999B999999EE
        EEE0087788888778899B9B9BB9BB99EEEEE00888778778888E9B9B9BB9999EEE
        EEE0088888788888EE9B99B9BB9BEEEEEEE00EE8888888EEEEE999B9999EEEEE
        EEE00EEEE888EEEEEEEE99BB999EEEEEEEE00EEEEE8EEEEEEEEEE999B9EEEEEE
        EEE00EEEEE8EEEEEEEEEEEE999EEEEEEEEE00EEEEE8EEEEEEEEEEEEE99EEEEEE
        EEE00EEEEE8EEEEEEEEEEEEE9EEEEEEEEEE00EEEEE8EEEEEEEEEEEEEEEEEEEEE
        EEE00EEEEEEEEEEEEEEEEEEEEEEEEEEEEEE00000000000000000000000000000
        0000
      }
      Stretch = True
    end
    object ProductName: TLabel
      Left = 88
      Height = 13
      Top = 8
      Width = 129
      Caption = 'Fortran to Pascal Converter'
      ParentColor = False
    end
    object Version: TLabel
      Left = 88
      Height = 13
      Top = 32
      Width = 56
      Caption = 'Version: 1.0'
      ParentColor = False
    end
    object Copyright: TLabel
      Left = 88
      Height = 13
      Top = 56
      Width = 176
      Caption = 'Copyright: Nikolai V. Shokhirev, 2004'
      ParentColor = False
    end
    object Label5: TLabel
      Cursor = crHandPoint
      Left = 8
      Height = 13
      Top = 112
      Width = 96
      Caption = 'www.shokhirev.com'
      Font.Color = clBlue
      Font.Height = -11
      Font.Name = 'MS Sans Serif'
      Font.Style = [fsUnderline]
      ParentColor = False
      ParentFont = False
      OnClick = Label5Click
    end
    object Label1: TLabel
      Left = 120
      Height = 13
      Top = 112
      Width = 145
      Caption = '"Useful and useless programs"'
      ParentColor = False
    end
    object Label2: TLabel
      Left = 88
      Height = 13
      Top = 72
      Width = 169
      Caption = 'Updated by Nathanael Inkson 2006'
      ParentColor = False
    end
  end
  object OKButton: TButton
    Left = 111
    Height = 25
    Top = 156
    Width = 75
    Caption = 'OK'
    Default = True
    ModalResult = 1
    TabOrder = 1
  end
end
FILEEOF
<<

# Compile Phase (NOTE: there is no configure):
CompileScript: <<
#!/bin/sh -ev

makepasx FortToPas.dpr

makepasx fForToPas.pas
makepasx fAbout.pas

cp %p/bin/dfmtolfm.ini .

dfmtolfm fForToPas.dfm -s
#dfmtolfm fAbout.dfm -s

fpc -dLCL -Mdelphi -Fu%p/share/lazarus/lcl/units/i386-darwin 
-Fu%p/share/lazarus/lcl/units/i386-darwin/carbon FortToPas.dpr

convert F2P.ico -resize 512x512 F2Pa.png
convert F2P.ico -resize 256x256 F2Pb.png
convert F2P.ico -resize 128x128 F2Pc.png
convert F2P.ico -resize  32x32  F2Pd.png
convert F2P.ico -resize  16x16  F2Pe.png
png2icns F2P.icns F2Pa.png F2Pb.png F2Pc.png F2Pd.png F2Pe.png

create_app_mac.sh FortToPas "FortranToPascalConverter"
rm FortranToPascalConverter.app/Contents/MacOS/FortToPas
mv FortToPas FortranToPascalConverter.app/Contents/MacOS/
mv F2P.icns FortranToPascalConverter.app/Contents/Resources/
sed -i.bak 's|English|English</string> <key>CFBundleIconFile</key> 
<string>F2P|g' FortranToPascalConverter.app/Contents/Info.plist
rm FortranToPascalConverter.app/Contents/Info.plist.bak

<<

# Install Phase:
InstallScript: <<
#!/bin/sh -ev
  echo "nothing to install!"
<<

AppBundles: FortranToPascalConverter.app

DescDetail: <<
FortranToPascalConverter: A Fortran to Pascal (Delphi) converter.
It is a semi-automatic Fortran to Pascal converter by simple string 
manipulations. Convert code quickly and easily with a user friendly GUI.
<<

DescUsage: <<
Double click the program in /Applications/Fink
<<

DescPort: <<
The About form was a problem. So I created a new one.
<<

Homepage: http://www.shokhirev.com/nikolai/programs/tools.html
Maintainer: Karl-Michael Schindler <karl-michael.schind...@web.de>

--- NEW FILE: fpc-xcode3-integration.info ---
Package: fpc-xcode3-integration
Version: 1.0
Revision: 2
Description: FreePascal templates for Xcode 3
Architecture: powerpc, i386, x86_64
Depends: fpc | fpc-trunk
License: GPL

# Unpack Phase:
Source: 
http://michael-ep3.physik.uni-halle.de/fink-sources/FreePascalTemplates-%v.tar.bz2
Source-MD5: bb0c110b2bc4d85a4c1dbf173baea035
SourceDirectory: FreePascal Templates

Patchscript: <<
  sed -i.bak 's|/usr/local|%p|g' */*/*.pbxproj
  rm */*/*.bak
<<

CompileScript:  echo Nothing to compile.

# Install Phase:
InstallScript: <<
#!/bin/sh -ev
  mkdir                                -p 
%i/share/fpc-xcode3-integration-kit/Templates
  mv 'FPC Carbon Application 2.4.0'       
%i/share/fpc-xcode3-integration-kit/Templates/FPC\ Carbon\ Application\ 2.4.x
  mv 'FPC Standard Tool 2.4.0'            
%i/share/fpc-xcode3-integration-kit/Templates/FPC\ Standard\ Tool\ 2.4.x
  mv 'FPC-C-C++ Carbon Application 2.4.0' 
%i/share/fpc-xcode3-integration-kit/Templates/FPC-C-C++\ Carbon\ Application\ 
2.4.x
  mkdir             -p %i/share/fpc-xcode3-integration-kit/Specifications
  mv Pascal.xclangspec %i/share/fpc-xcode3-integration-kit/Specifications
<<

DocFiles: FPC*.rtf License.txt

PostInstScript: <<
  umask 0022
  mkdir -p /Library/Application\ Support/Developer/Shared/Xcode/Project\ 
Templates
  mkdir -p /Library/Application\ Support/Developer/Shared/Xcode/Specifications
  ln -s -f %p/share/fpc-xcode3-integration-kit/Templates /Library/Application\ 
Support/Developer/Shared/Xcode/Project\ Templates/FreePascal\ \(Fink\)
  ln -s -f %p/share/fpc-xcode3-integration-kit/Specifications/Pascal.xclangspec 
/Library/Application\ Support/Developer/Shared/Xcode/Specifications/Pascal\ 
\(Fink\).xclangspec
<<

PostRmScript: <<
  if [ -L /Library/Application\ Support/Developer/Shared/Xcode/Project\ 
Templates/FreePascal\ \(Fink\) ]
  then
    rm -f /Library/Application\ Support/Developer/Shared/Xcode/Project\ 
Templates/FreePascal\ \(Fink\)
  fi
  if [ -L /Library/Application\ 
Support/Developer/Shared/Xcode/Specifications/Pascal\ \(Fink\).xclangspec ]
  then
    rm -f /Library/Application\ 
Support/Developer/Shared/Xcode/Specifications/Pascal\ \(Fink\).xclangspec
  fi
<<

DescDetail: <<
This package provides some project templates for FreePascal programs and 
enables Pascal source code highlighting.
<<

DescUsage: <<
After installation, select according FreePascal projects in Xcode.
<<

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

--- NEW FILE: fpprofiler-cross.info ---
Package: fpprofiler-cross
Version: 20110108
Revision: 1
Description: Profiler for the FreePascal cross compiler
Architecture: powerpc, i386, x86_64
Source: 
http://michael-ep3.physik.uni-halle.de/fink-sources/fpprofiler-%v.tar.bz2
Source-MD5: f798933eecda64a4a7cb9e284c862e52
Depends: <<
  fpprofiler,
  (%m = i386)     fpc-cross-x86-64-darwin,
  (%m = x86_64)   fpc-cross-i386-darwin,
  (%m != powerpc) fpc-cross-powerpc-darwin,
  (%m != powerpc) fpc-cross-powerpc-linux,
  (%m != powerpc) fpc-cross-i386-linux,
  (%m != powerpc) fpc-cross-i386-freebsd,
  (%m != powerpc) fpc-cross-i386-win32,
  (%m != powerpc) fpc-cross-i386-wince,
  (%m != powerpc) fpc-cross-x86-64-linux,
  (%m != powerpc) fpc-cross-x86-64-win64
<<
Recommends: graphviz
License: GPL

CompileScript: <<
#!/bin/sh -ev
  cd fpprof

  if [ "%m" = "i386" ]; then
    SYSTEMS='powerpc-darwin x86_64-darwin'
  fi  
  if [ "%m" = "x86_64" ]; then
    SYSTEMS='powerpc-darwin i386-darwin'
  fi  
  for system in $SYSTEMS
  do
    cpu_target=`echo $system |cut -d '-' -f 1`
    os_target=` echo $system |cut -d '-' -f 2`
    mkdir -p units/$system/fpprof
    fpc   -FEunits/$system/fpprof -P$cpu_target -T$os_target fpprof.pp
  done

  SYSTEMS=''
  if [ "%m" != "powerpc" ]; then
    SYSTEMS=$SYSTEMS' powerpc-linux arm-linux i386-linux i386-freebsd 
i386-win32 i386-wince'
    SYSTEMS=$SYSTEMS' x86_64-linux x86_64-win64'
  fi  
  for system in $SYSTEMS
  do
    cpu_target=`echo $system |cut -d '-' -f 1`
    os_target=` echo $system |cut -d '-' -f 2`
    mkdir -p units/$system/fpprof
    fpc   -FEunits/$system/fpprof -P$cpu_target -T$os_target 
-XP$cpu_target-$os_target- fpprof.pp
  done

<<

InstallScript: <<
#!/bin/sh -ev
  FPC_VERSION=`fpc -iV`
  mkdir -p             %i/lib/fpc/$FPC_VERSION/units
  cp -r fpprof/units/* %i/lib/fpc/$FPC_VERSION/units
<<

DocFiles: docs/COPYING.GPL docs/develop.txt

DescDetail: <<
Compile your program by using fpp as a replacement of fpc. 
This creates a profile file (Default: fpprof.xml), 
from which fppview creates output. Output in the dot language 
can be converted to a graph with the program "dot" from the 
package "graphviz".

More details about options can be obtained with
  fpp -h
and
  fppview -h

Usage Example:

  fpp MyProgram.pp
  fppview --format=graphviz --stat=callgraph >MyProgram.dot
  dot -Tpng MyProgram.dot -o MyProgram.png
  open MyProgram.png

Please check also the home page: http://wiki.lazarus.freepascal.org/FPProfiler
<<

DescPort: <<
  Crosscompilers on powerpc still have some problems, although all powerpc and
  arm targets (except arm-darwin) should work.
<<

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

--- NEW FILE: fpprofiler.info ---
Package: fpprofiler
Version: 20110108
Revision: 3
Description: Profiler for the FreePascal compiler
Architecture: powerpc, i386, x86_64
Source: http://michael-ep3.physik.uni-halle.de/fink-sources/%n-%v.tar.bz2
Source-MD5: f798933eecda64a4a7cb9e284c862e52
Depends: fpc
Recommends: graphviz, fpprofiler-cross
License: GPL

PatchScript: <<
#!/bin/sh -ev
  sed -i.bak 's|FPCallGraph;|FPCallGraph; {$mode objfpc}{$H+}|g' 
fppview/fpcallgraph.pas
  sed -i.bak 's|{$R \*\.res}||g' fpp/fppremove.pp
  cd fcl-passrc/src/
  patch pscanner.pp ../../patch/pscanner.diff
<<

CompileScript: <<
#!/bin/sh -ev
  cd fcl-passrc
  make
  cd ../fpp
  fpc -Fu../fpprof -Fu../fcl-passrc/units/* fpp.pp
  fpc -Fu../fpprof -Fu../fcl-passrc/units/* fppinsert.pp
  fpc -Fu../fpprof -Fu../fcl-passrc/units/* fppremove.pp
  cd ../fppview
  fpc -Fu../fpprof -Fu../fcl-passrc/units/* fppview.pp
<<

InfoTest: <<
  TestScript: <<
    #!/bin/sh -ev
    cd test
# patch the sources
    sed -i.bak 's|runtests;|runtests; {$mode objfpc}{$H+}|g' runtests.pp
    sed -i.bak 's|Crt,|Crt|g'     runtests.pp
    sed -i.bak 's|FileUtil||g'    runtests.pp
    sed -i.bak "s|GetExeExt|''|g" runtests.pp
    sed -i.bak "s|Readln;||g"     runtests.pp
    sed -i.bak "s|fpp |./fpp |g"  runtests.pp
# compile the "master runner".
    fpc runtests.pp
# copy fpp from where it has been built.
    cp ../fpp/fpp .
# run the test.
    ./runtests >runtest.log
#
# Results for each test. All should be TRUE.
#
    grep -i true runtest.log
  <<
  TestSuiteSize: small
<<

InstallScript: <<
#!/bin/sh -ev
  FPC_VERSION=`fpc -iV`
  mkdir -p %i/bin
  install -m 755 fpp/fpp         %i/bin/fpp
  install -m 755 fpp/fppinsert   %i/bin/fppinsert
  install -m 755 fpp/fppremove   %i/bin/fppremove
  install -m 755 fppview/fppview %i/bin/fppview
  mkdir -p           %i/lib/fpc/$FPC_VERSION/units/%m-darwin
  cp -r fpprof/*.ppu %i/lib/fpc/$FPC_VERSION/units/%m-darwin
  cp -r fpprof/*.o   %i/lib/fpc/$FPC_VERSION/units/%m-darwin
<<

DocFiles: docs/COPYING.GPL docs/develop.txt

DescDetail: <<
Compile your program by using fpp as a replacement of fpc. 
This creates a profile file (Default: fpprof.xml), 
from which fppview creates output. Output in the dot language 
can be converted to a graph with the program "dot" from the 
package "graphviz".

More details about options can be obtained with
  fpp -h
and
  fppview -h

Usage Example:

  fpp MyProgram.pp
  fppview --format=graphviz --stat=callgraph >MyProgram.dot
  dot -Tpng MyProgram.dot -o MyProgram.png
  open MyProgram.png

Please check also the home page: http://wiki.lazarus.freepascal.org/FPProfiler
<<

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


------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to