Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/devel
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv32509
Added Files:
lazarus-10.4.info lazarus-10.5.info lazarus-common.info
Log Message:
Lazarus, the FreePascal IDE
--- NEW FILE: lazarus-10.5.info ---
Info2: <<
Package: lazarus%type_pkg[uitype]
Type: uitype (-aqua -gtk)
Version: 0.9.26
Revision: 1001
Architecture: powerpc, i386
License: GPL/LGPL
Recommends: fpc-doc
Distribution: 10.5
Source: http://downloads.sourceforge.net/lazarus/lazarus-%v-0.tgz
Source-MD5: f1a7b2f89d1e6a246f25abb235880594
SourceDirectory: lazarus
#Source2:
ftp://ftp.freepascal.org/pub/fpc/dist/source-2.2.2/fpcbuild-2.2.2.tar.gz
#Source2-MD5: ec3d463ec9859da4122e9edfa2ab992d
Depends: fpc (>= 2.2.2), lazarus-common, gdk-pixbuf-shlibs, glib-shlibs,
gtk+-shlibs, gtk+2-shlibs
Builddepends: gdk-pixbuf, glib, gtk+, gtk+2
Conflicts: lazarus-aqua, lazarus-gtk
Replaces: lazarus-aqua, lazarus-gtk
Patchscript: <<
#!/bin/sh -ev
chmod 755 .
# 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
# adjust the default paths to fink paths
sed -i.bak 's|/usr/local/bin|%p/bin|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]" == "-gtk" ]; then
make all LCL_PLATFORM=gtk OPT="$debug_options"
fi
# ** Finish compiling Lazarus **
#
<<
InstallScript: <<
#!/bin/sh -ev
# ** Start installing Lazarus **
# delete the lcl dir. It is already installed by lazarus-common
rm -r lcl
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/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).
<<
DescUsage: <<
Start by double click the lazarus application in /Applications/Fink
<<
DescPort: <<
Lazarus with a gtk2 interface does not work, yet. It crashes on startup,
but gtk2 can probably still be used to build own applications.
<<
Homepage: http://wiki.freepascal.org/Main_Page
Maintainer: Karl-Michael Schindler <[email protected]>
<<
--- NEW FILE: lazarus-common.info ---
Package: lazarus-common
Version: 0.9.26
Revision: 1
Distribution: 10.4, 10.5
License: GPL/LGPL
Depends: fpc (>= 2.2.2), gdk-pixbuf-shlibs, glib-shlibs, gtk+-shlibs,
gtk+2-shlibs
Builddepends: gdk-pixbuf, glib, gtk+, gtk+2
Recommends: fpc-doc, lazarus-aqua, lazarus-gtk
Conflicts: lazarus
Replaces: lazarus
Source: http://downloads.sourceforge.net/lazarus/lazarus-%v-0.tgz
Source-MD5: f1a7b2f89d1e6a246f25abb235880594
SourceDirectory: lazarus
Source2:
ftp://ftp.freepascal.org/pub/fpc/dist/source-2.2.2/fpcbuild-2.2.2.tar.gz
Source2-MD5: ec3d463ec9859da4122e9edfa2ab992d
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
make lcl LCL_PLATFORM=gtk OPT="$debug_options"
make lcl LCL_PLATFORM=gtk2 OPT="$debug_options"
make lcl LCL_PLATFORM=carbon OPT="$debug_options"
# ** Finish compiling Lazarus libraries **
#
<<
InstallScript: <<
# ** install the lcl library **
mkdir -p %i/share/lazarus
mv lcl %i/share/lazarus
# ** Create etc directory **
install -m 755 -d %i/etc/lazarus
# ** install the docs
mkdir -p %i/share/doc/lazarus
install -c -m 644 docs/*.txt %i/share/doc/lazarus
install -c -m 644 docs/*.pdf %i/share/doc/lazarus
# ** Copy the sources of the rtl, packages and utils of FreePascal **
install -m 755 -d %i/share/fpcsrc/rtl
install -m 755 -d %i/share/fpcsrc/packages
install -m 755 -d %i/share/fpcsrc/utils
mv %b/../fpcbuild-2.2.2/fpcsrc/rtl %i/share/fpcsrc
mv %b/../fpcbuild-2.2.2/fpcsrc/packages %i/share/fpcsrc
mv %b/../fpcbuild-2.2.2/fpcsrc/utils %i/share/fpcsrc
<<
Description: Free Pascal IDE: common parts
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).
<<
DescUsage: <<
This is the common part of the lazarus packages.
<<
DescPort: <<
Lazarus with a gtk2 interface does not work, yet. It crashes on startup,
but gtk2 can probably still be used to build own applications.
<<
Homepage: http://wiki.freepascal.org/Main_Page
Maintainer: Karl-Michael Schindler <[email protected]>
--- NEW FILE: lazarus-10.4.info ---
Info2: <<
Package: lazarus%type_pkg[uitype]
Type: uitype (-aqua -gtk)
Version: 0.9.26
Revision: 1
Architecture: powerpc, i386
License: GPL/LGPL
Recommends: fpc-doc
Distribution: 10.4
Source: http://downloads.sourceforge.net/lazarus/lazarus-%v-0.tgz
Source-MD5: f1a7b2f89d1e6a246f25abb235880594
SourceDirectory: lazarus
#Source2:
ftp://ftp.freepascal.org/pub/fpc/dist/source-2.2.2/fpcbuild-2.2.2.tar.gz
#Source2-MD5: ec3d463ec9859da4122e9edfa2ab992d
Depends: fpc (>= 2.2.2), lazarus-common, gdk-pixbuf-shlibs, glib-shlibs,
gtk+-shlibs, gtk+2-shlibs
Builddepends: gdk-pixbuf, glib, gtk+, gtk+2
Conflicts: lazarus-aqua, lazarus-gtk
Replaces: lazarus-aqua, lazarus-gtk
Patchscript: <<
#!/bin/sh -ev
chmod 755 .
# 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
# adjust the default paths to fink paths
sed -i.bak 's|/usr/local/bin|%p/bin|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
# create the lazarus script for lazarus-gtk under 10.4
cat >lazarus-gtk.sh <<EOFCFG
#!/bin/bash
open /Applications/Utilities/X11.app/
if [ -z $DISPLAY ]; then
export DISPLAY=:0.0
fi
%p/share/lazarus/lazarus
EOFCFG
debug_options="-gl"
# ** Start compiling lazarus
if [ "%type_raw[uitype]" == "-aqua" ]; then
make all LCL_PLATFORM=carbon OPT="$debug_options"
elif [ "%type_raw[uitype]" == "-gtk" ]; then
make all LCL_PLATFORM=gtk OPT="$debug_options"
fi
# ** Finish compiling Lazarus **
#
<<
InstallScript: <<
#!/bin/sh -ev
# ** Start installing Lazarus **
# delete the lcl dir. It is already installed by lazarus-common
rm -r lcl
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/MacOS/startlazarus
if [ "%type_raw[uitype]" == "-gtk" ]; then
# create the script so start lazarus-gtk in X11.app on 10.4
rm lazarus.app/Contents/MacOS/lazarus
cp lazarus-gtk.sh lazarus.app/Contents/MacOS/lazarus
chmod a+x lazarus.app/Contents/MacOS/lazarus
fi
# ** 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).
<<
DescUsage: <<
Start by double click the lazarus application in /Applications/Fink
<<
DescPort: <<
Lazarus with a gtk2 interface does not work, yet. It crashes on startup,
but gtk2 can probably still be used to build own applications.
<<
Homepage: http://wiki.freepascal.org/Main_Page
Maintainer: Karl-Michael Schindler <[email protected]>
<<
------------------------------------------------------------------------------
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs