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

Added Files:
        lazarus-common-gtk1.info lazarus-doc.info lazarus.info 
Removed Files:
        lazarus-10.5.info 
Log Message:
lazarus updates.

--- NEW FILE: lazarus-common-gtk1.info ---
Package: lazarus-common-gtk1
Version: 0.9.28.2
Revision: 1
Architecture: powerpc, i386
License: GPL/LGPL

Enhances: lazarus-common

Recommends: fpc-doc, lazarus-aqua, lazarus-gtk2

Distribution: 10.4, 10.5

Source: http://downloads.sourceforge.net/lazarus/lazarus-%v-src.tar.bz2
Source-MD5: 52dc157fa1e83e90b5331820bd616d81

SourceDirectory: lazarus

Depends: lazarus-common (>= 0.9.28.2), gdk-pixbuf-shlibs
Builddepends: gdk-pixbuf

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

if [[ $(sw_vers -productVersion) < 10.5 ]]; then
  debug_options="-gl"
else
  debug_options="-gw"
fi

# ** Start compiling **
# ** the lazarus component libraries

AllUnits="lcl packager/registration ideintf bigidecomponents"

  make $AllUnits LCL_PLATFORM=gtk    OPT="$debug_options"

#  make $AllUnits LCL_PLATFORM=gtk    OPT="$debug_options" CPU_TARGET=powerpc 
// needs the powerpc libs from fink
#  make $AllUnits LCL_PLATFORM=gtk    OPT="$debug_options" OS_TARGET=linux    
// needs the linux libs from whereever

# ** Finish compiling Lazarus libraries **
#
<<

InstallScript: <<
# ** install the lcl and other libraries/units **

  mkdir -p                   %i/share/lazarus/lcl/units/%m-darwin
  mv lcl/units/%m-darwin/gtk %i/share/lazarus/lcl/units/%m-darwin

  mkdir -p                            
%i/share/lazarus/components/cgi/lib/%m-darwin
  mv components/cgi/lib/%m-darwin/gtk 
%i/share/lazarus/components/cgi/lib/%m-darwin

  mkdir -p                              
%i/share/lazarus/components/memds/lib/%m-darwin
  mv components/memds/lib/%m-darwin/gtk 
%i/share/lazarus/components/memds/lib/%m-darwin

  mkdir -p                                 
%i/share/lazarus/components/printers/lib/%m-darwin
  mv components/printers/lib/%m-darwin/gtk 
%i/share/lazarus/components/printers/lib/%m-darwin

  mkdir -p                                         
%i/share/lazarus/components/projecttemplates/lib/%m-darwin
  mv components/projecttemplates/lib/%m-darwin/gtk 
%i/share/lazarus/components/projecttemplates/lib/%m-darwin

  mkdir -p                                     
%i/share/lazarus/components/rtticontrols/lib/%m-darwin
  mv components/rtticontrols/lib/%m-darwin/gtk 
%i/share/lazarus/components/rtticontrols/lib/%m-darwin

  mkdir -p                            
%i/share/lazarus/components/sdf/lib/%m-darwin
  mv components/sdf/lib/%m-darwin/gtk 
%i/share/lazarus/components/sdf/lib/%m-darwin

  mkdir -p                                
%i/share/lazarus/components/tachart/lib/%m-darwin
  mv components/tachart/lib/%m-darwin/gtk 
%i/share/lazarus/components/tachart/lib/%m-darwin

  mkdir -p                                               
%i/share/lazarus/components/turbopower_ipro/design/lib/%m-darwin
  mv components/turbopower_ipro/design/lib/%m-darwin/gtk 
%i/share/lazarus/components/turbopower_ipro/design/lib/%m-darwin

<<

Description: Free Pascal IDE: legacy gtk1 version lcl
DescDetail: <<
Lazarus is an open-source development system that builds on the Free Pascal 
compiler by adding an integrated development environment (IDE).
It includes a syntax-highlighting code editor and a visual form designer, 
as well as a component library that is highly compatible with Delphi's 
Visual Component Library (VCL).  The Lazarus Component Library (LCL) 
includes  equivalents for many of the familiar VCL controls such as 
forms, buttons, text boxes and so on, which are used to create 
applications with a graphical user interface (GUI).

Release Notes: http://wiki.freepascal.org/Lazarus_0.9.28_release_notes

<<

Homepage: http://wiki.freepascal.org/Main_Page
Maintainer: Karl-Michael Schindler <[email protected]>
--- lazarus-10.5.info DELETED ---

--- NEW FILE: lazarus-doc.info ---
Package: lazarus-doc
Version: 0.9.28.2
Revision: 1
Architecture: powerpc, i386, x86_64
Enhances: lazarus-aqua, lazarus-gtk2

License: GPL/LGPL
Source: http://downloads.sourceforge.net/lazarus/fpc-lazarus-doc-html-%v.tar.bz2
Source-MD5: 98fc68d24c63869470b59c11a0380519

SourceDirectory: .

CompileScript: <<
  echo "Nothing to compile."
<<

InstallScript: <<
  install -d -m 755 %i/share/doc/lazarus-doc-%v
  mv * %i/share/doc/lazarus-doc-%v
<<

Description: Lazarus and FreePascal library documentation

DescDetail: <<
Documentation of the Lazarus component library (lcl), the FreePascal 
component library (fcl) and the FreePascal runtime library (rtl) as html pages
<<

DescUsage: <<
Files are in /PREFIX/share/doc/lazarus-doc-%v
<<

Homepage: http://wiki.freepascal.org/Main_Page
Maintainer: Karl-Michael Schindler <[email protected]>
--- NEW FILE: lazarus.info ---
Info2: <<
Package: lazarus%type_pkg[uitype]
Type: uitype (-aqua -gtk2)
Version: 0.9.28.2
Revision: 1003
Architecture: powerpc, i386, x86_64
License: GPL/LGPL

Recommends: fpc-doc, lazarus-doc

Distribution: 10.5, 10.6

Source: http://downloads.sourceforge.net/lazarus/lazarus-%v-src.tar.bz2
Source-MD5: 52dc157fa1e83e90b5331820bd616d81

SourceDirectory: lazarus

Depends: lazarus-common (>= 0.9.28.2)
Builddepends: gtk+2

Conflicts: lazarus-aqua, lazarus-gtk, lazarus-gtk2
Replaces:  lazarus-aqua, lazarus-gtk, lazarus-gtk2

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

  chmod 755 .

# Correct the version in Info.plist
  sed -i.bak 's|\.2 beta|\.2|g' lazarus.app/Contents/Info.plist
  rm -f                         lazarus.app/Contents/Info.plist.bak

# add the fink directory tree. This might need a check in a new version
  sed -i.bak 's|1\.\.15|1\.\.16|g'                                              
   ide/include/unix/lazbaseconf.inc
  sed -i.bak "s|'/usr/share/fpcsrc'|'/usr/share/fpcsrc','%p/share/fpcsrc'|g"    
   ide/include/unix/lazbaseconf.inc

  sed -i.bak 's|1\.\.7|1\.\.8|g'                                                
   ide/include/unix/lazbaseconf.inc
  sed -i.bak 
"s|'/usr/share/lazarus',|'/usr/share/lazarus','%p/share/lazarus',|g"  
ide/include/unix/lazbaseconf.inc

  sed -i.bak "s|'/etc/lazarus'|'%p/etc/lazarus'|g"                              
   ide/include/unix/lazbaseconf.inc

  sed -i.bak 
"s|AddFilenameToList(List,'/usr/local/bin/'+GetDefaultCompilerFilename);|AddFilenameToList(List,'%p/bin/'+GetDefaultCompilerFilename);
 AddFilenameToList(List,'/usr/local/bin/'+GetDefaultCompilerFilename);|g"  
ide/include/unix/lazbaseconf.inc

# enable programs with spaces in their filename

  sed -i.bak "s|FileName + ' ' + Arguments|'''' + FileName + '''' + ' ' + 
Arguments|g" debugger/processdebugger.pp

# adjust the default paths to fink paths

  sed -i.bak 's|/usr/local/bin/ppc386|%p/bin/fpc|g'     
tools/install/macosx/environmentoptions.xml
  sed -i.bak 's|/usr/local/share|%p/share|g'            
tools/install/macosx/environmentoptions.xml
  sed -i.bak 's|/Developer/lazarus|%p/share/lazarus|g'  
tools/install/macosx/environmentoptions.xml

<<

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

  debug_options="-gw"

# ** Start compiling lazarus

  if   [ "%type_raw[uitype]" == "-aqua" ]; then
    make all LCL_PLATFORM=carbon OPT="$debug_options"
  elif [ "%type_raw[uitype]" == "-gtk2" ]; then
    make all LCL_PLATFORM=gtk2   OPT="$debug_options 
-Fl/%p/lib/pango-ft219/lib/"
  fi

# ** Finish compiling Lazarus **
#
<<

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

# ** Start installing Lazarus **

# delete the dirs, which are already installed by lazarus-common
  rm -r lcl
  rm -r ideintf
  rm -r components
  rm -r packager

  install -m 755 -d %i/etc/lazarus
  install -c -m 644 %b/tools/install/macosx/environmentoptions.xml 
%i/etc/lazarus

  make install INSTALL_PREFIX=%i 

# ** fix the symbolic links in %i/bin**

  ln -sf ../share/lazarus/lazarus      %i/bin/lazarus-ide
  ln -sf ../share/lazarus/startlazarus %i/bin/startlazarus
  ln -sf ../share/lazarus/lazbuild     %i/bin/lazbuild

# fix the symbolic links in the application bundle for the use 
# with the "AppBundles:" field

  ln -sf %p/share/lazarus/lazarus      lazarus.app/Contents/MacOS/lazarus
  ln -sf %p/share/lazarus/startlazarus 
lazarus.app/Contents/Resources/startlazarus.app/Contents/MacOS/startlazarus

# ** Finish installing Lazarus **
#
<<

# Documentation
DocFiles: docs/INSTALL.txt docs/FAQ.txt

# Create the Appliation Bundle
AppBundles: lazarus.app

Description: Free Pascal IDE

DescDetail: <<
Lazarus is an open-source development system that builds on the Free Pascal 
compiler by adding an integrated development environment (IDE).
It includes a syntax-highlighting code editor and a visual form designer, 
as well as a component library that is highly compatible with Delphi's 
Visual Component Library (VCL).  The Lazarus Component Library (LCL) 
includes  equivalents for many of the familiar VCL controls such as 
forms, buttons, text boxes and so on, which are used to create 
applications with a graphical user interface (GUI).

Release Notes:
  http://wiki.freepascal.org/Lazarus_0.9.28_release_notes
  http://wiki.freepascal.org/Lazarus_0.9.28.2_release_notes
<<

DescUsage: <<
 Start by double click the lazarus application in /Applications/Fink
<<

DescPort: <<
Available versions of the lcl: carbon, gtk2 and nogui.
With extra package 'lazarus-common-gtk1' gtk1 is also possible.
On IntelMacs, crosscompilation is now enabled for powerpc/carbon and win32.
<<

Homepage: http://wiki.freepascal.org/Main_Page
Maintainer: Karl-Michael Schindler <[email protected]>
<<

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to