Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/devel
In directory 
fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv1888/stable/main/finkinfo/devel

Modified Files:
        lazarus-10.4.info lazarus-10.5.info lazarus-common.info 
Added Files:
        i386-win32-binutils.info 
Log Message:
upstream update (for stable) and enabling crossbuild for darwin/powerpc and 
win32 on IntelMac.

Index: lazarus-10.5.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/stable/main/finkinfo/devel/lazarus-10.5.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- lazarus-10.5.info   29 Mar 2009 20:08:33 -0000      1.1
+++ lazarus-10.5.info   7 Jul 2009 00:06:58 -0000       1.2
@@ -1,33 +1,35 @@
 Info2: <<
 Package: lazarus%type_pkg[uitype]
-Type: uitype (-aqua -gtk)
-Version: 0.9.26
-Revision: 1001
+Type: uitype (-aqua -gtk -gtk2)
+Version: 0.9.26.2
+Revision: 1004
 Architecture: powerpc, i386
 License: GPL/LGPL
 
-Recommends: fpc-doc
+Recommends: fpc-doc, lazarus-doc
 
 Distribution: 10.5
 
 Source: http://downloads.sourceforge.net/lazarus/lazarus-%v-0.tgz
-Source-MD5: f1a7b2f89d1e6a246f25abb235880594
-SourceDirectory: lazarus
+Source-MD5: 357fd9f6e9d410f3c74ff493fce7f75a
 
-#Source2: 
ftp://ftp.freepascal.org/pub/fpc/dist/source-2.2.2/fpcbuild-2.2.2.tar.gz
-#Source2-MD5: ec3d463ec9859da4122e9edfa2ab992d
+SourceDirectory: lazarus
 
-Depends: fpc (>= 2.2.2), lazarus-common, gdk-pixbuf-shlibs, glib-shlibs, 
gtk+-shlibs, gtk+2-shlibs
+Depends: lazarus-common
 Builddepends: gdk-pixbuf, glib, gtk+, gtk+2
 
-Conflicts: lazarus-aqua, lazarus-gtk
-Replaces:  lazarus-aqua, lazarus-gtk
+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|0\.9\.25 beta|0\.9\.26\.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
@@ -56,6 +58,8 @@
     make all LCL_PLATFORM=carbon OPT="$debug_options"
   elif [ "%type_raw[uitype]" == "-gtk"  ]; then
     make all LCL_PLATFORM=gtk    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 **
@@ -67,8 +71,11 @@
 
 # ** Start installing Lazarus **
 
-# delete the lcl dir. It is already installed by lazarus-common
+# delete the dirs, which are already installed by lazarus-common
   rm -r lcl
+  rm -r ideintf
+  rm -r components
+  rm -r packager
 
   make install INSTALL_PREFIX=%i 
 
@@ -105,13 +112,14 @@
 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.26.2_release_notes
+
 <<
 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.
+On IntelMacs, crosscompilation is now enabled for powerpc/carbon and win32.
 <<
 Homepage: http://wiki.freepascal.org/Main_Page
 Maintainer: Karl-Michael Schindler <karl-michael.schind...@web.de>

--- NEW FILE: i386-win32-binutils.info ---
Package: i386-win32-binutils
Version: 2.19.1
Revision: 1
Architecture: powerpc, i386
Description: GNU binutils for 32 bit windows
License: LGPL
Maintainer: Karl-Michael Schindler <karl-michael.schind...@web.de>

Source: mirror:gnu:binutils/binutils-%v.tar.bz2
Source-MD5: 09a8c5821a2dfdbb20665bc0bd680791

SourceDirectory: binutils-%v

ConfigureParams: <<
  --target=mingw32  \
  --prefix=%p/lib/i386-win32 \
  --bindir=%p/bin --mandir=%p/share/man --infodir=%p/share/info \
  --program-prefix=i386-win32-
<<

InstallScript: <<
#!/bin/sh -ev
  /usr/bin/make install DESTDIR=%d
  /bin/rm -vrf %i/lib/i386-win32/lib/

  for file_name in %i/share/info/*
  do
    new_file_name=`/bin/echo ${file_name} | /usr/bin/sed -e 
"s|%i/share/info/|%i/share/info/i386-win32-|g"`
    mv ${file_name} ${new_file_name}
  done
<<

DocFiles: README COPYING*
InfoDocs: i386-win32-as.info i386-win32-bfd.info i386-win32-binutils.info 
i386-win32-configure.info i386-win32-gprof.info i386-win32-ld.info 
i386-win32-standards.info

Homepage: http://www.gnu.org/software/binutils/
DescPort: <<
Like 'avr-binutils' package, lib & include folders have been moved to 
/sw/lib/i386-win32 and the binaries are put into /sw/bin.
All xxx files renamed to i386-win32-xxx.info to avoid clashes
with other potential toolchains.
TODO: Native Language Support
<<

Index: lazarus-common.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/stable/main/finkinfo/devel/lazarus-common.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- lazarus-common.info 29 Mar 2009 20:08:33 -0000      1.1
+++ lazarus-common.info 7 Jul 2009 00:06:58 -0000       1.2
@@ -1,23 +1,22 @@
 Package: lazarus-common
-Version: 0.9.26
-Revision: 1
+Version: 0.9.26.2
+Revision: 4
+Architecture: powerpc, i386
 Distribution: 10.4, 10.5
 License: GPL/LGPL
 
-Depends: fpc (>= 2.2.2), gdk-pixbuf-shlibs, glib-shlibs, gtk+-shlibs, 
gtk+2-shlibs
+Depends: fpc (>= 2.2.2), fpc-sources, (%m = i386) fpc-crossppc, (%m = i386) 
fpc-win32, (%m = i386) i386-win32-binutils, gdk-pixbuf-shlibs, glib-shlibs, 
gtk+-shlibs, gtk+2-shlibs
 Builddepends: gdk-pixbuf, glib, gtk+, gtk+2
 
-Recommends: fpc-doc, lazarus-aqua, lazarus-gtk
+Recommends: fpc-doc, lazarus-aqua, lazarus-gtk, lazarus-gtk2
 
 Conflicts: lazarus
 Replaces:  lazarus
 
 Source: http://downloads.sourceforge.net/lazarus/lazarus-%v-0.tgz
-Source-MD5: f1a7b2f89d1e6a246f25abb235880594
-SourceDirectory: lazarus
+Source-MD5: 357fd9f6e9d410f3c74ff493fce7f75a
 
-Source2: 
ftp://ftp.freepascal.org/pub/fpc/dist/source-2.2.2/fpcbuild-2.2.2.tar.gz
-Source2-MD5: ec3d463ec9859da4122e9edfa2ab992d
+SourceDirectory: lazarus
 
 CompileScript: <<
 #!/bin/sh -ev
@@ -31,19 +30,38 @@
 # ** 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"
+# lcl packager/registration ideintf bigidecomponents designer packager
+# designer is not needed.
+
+AllUnits="lcl packager/registration ideintf bigidecomponents packager"
+
+  make $AllUnits LCL_PLATFORM=carbon OPT="$debug_options"
+  make $AllUnits LCL_PLATFORM=gtk    OPT="$debug_options"
+  make $AllUnits LCL_PLATFORM=gtk2   OPT="$debug_options"
+
+  if [ "%m" == "i386" ]; then
+    make $AllUnits LCL_PLATFORM=win32  OPT="$debug_options" OS_TARGET=win32
+
+    make $AllUnits LCL_PLATFORM=carbon OPT="$debug_options" CPU_TARGET=powerpc
+#    make $AllUnits LCL_PLATFORM=gtk    OPT="$debug_options" 
CPU_TARGET=powerpc // needs the powerpc libs from fink
+#    make $AllUnits LCL_PLATFORM=gtk2   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
+#    make $AllUnits LCL_PLATFORM=gtk2   OPT="$debug_options" OS_TARGET=linux 
// needs the linux libs from whereever
+  fi
 
 # ** Finish compiling Lazarus libraries **
 #
 <<
 
 InstallScript: <<
-# ** install the lcl library **
+# ** install the lcl and other libraries/units **
 
   mkdir -p %i/share/lazarus
-  mv lcl   %i/share/lazarus
+  mv lcl        %i/share/lazarus
+  mv ideintf    %i/share/lazarus
+  mv components %i/share/lazarus
+  mv packager   %i/share/lazarus
 
 # ** Create etc directory **
 
@@ -55,16 +73,6 @@
   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
@@ -78,9 +86,12 @@
 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.26.2_release_notes
+
 <<
 DescUsage: <<
- This is the common part of the lazarus packages.
+ This is the common part of the lazarus packages and used implicitly.
+ On IntelMacs, crosscompilation is now enabled for powerpc/carbon and win32.
 <<
 DescPort: <<
 Lazarus with a gtk2 interface does not work, yet. It crashes on startup,

Index: lazarus-10.4.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/stable/main/finkinfo/devel/lazarus-10.4.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- lazarus-10.4.info   29 Mar 2009 20:08:33 -0000      1.1
+++ lazarus-10.4.info   7 Jul 2009 00:06:58 -0000       1.2
@@ -1,33 +1,35 @@
 Info2: <<
 Package: lazarus%type_pkg[uitype]
-Type: uitype (-aqua -gtk)
-Version: 0.9.26
-Revision: 1
+Type: uitype (-aqua -gtk -gtk2)
+Version: 0.9.26.2
+Revision: 4
 Architecture: powerpc, i386
 License: GPL/LGPL
 
-Recommends: fpc-doc
+Recommends: fpc-doc, lazarus-doc
 
 Distribution: 10.4
 
 Source: http://downloads.sourceforge.net/lazarus/lazarus-%v-0.tgz
-Source-MD5: f1a7b2f89d1e6a246f25abb235880594
-SourceDirectory: lazarus
+Source-MD5: 357fd9f6e9d410f3c74ff493fce7f75a
 
-#Source2: 
ftp://ftp.freepascal.org/pub/fpc/dist/source-2.2.2/fpcbuild-2.2.2.tar.gz
-#Source2-MD5: ec3d463ec9859da4122e9edfa2ab992d
+SourceDirectory: lazarus
 
-Depends: fpc (>= 2.2.2), lazarus-common, gdk-pixbuf-shlibs, glib-shlibs, 
gtk+-shlibs, gtk+2-shlibs
+Depends: lazarus-common
 Builddepends: gdk-pixbuf, glib, gtk+, gtk+2
 
-Conflicts: lazarus-aqua, lazarus-gtk
-Replaces:  lazarus-aqua, lazarus-gtk
+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|0\.9\.25 beta|0\.9\.26\.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
@@ -66,6 +68,8 @@
     make all LCL_PLATFORM=carbon OPT="$debug_options"
   elif [ "%type_raw[uitype]" == "-gtk"  ]; then
     make all LCL_PLATFORM=gtk    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 **
@@ -79,6 +83,9 @@
 
 # delete the lcl dir. It is already installed by lazarus-common
   rm -r lcl
+  rm -r ideintf
+  rm -r components
+  rm -r packager
 
   make install INSTALL_PREFIX=%i 
 
@@ -94,7 +101,7 @@
   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
+if [ "%type_raw[uitype]" == "-gtk" ] || [ "%type_raw[uitype]" == "-gtk2" ]; 
then
 
 # create the script so start lazarus-gtk in X11.app on 10.4
 
@@ -124,13 +131,14 @@
 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.26.2_release_notes
+
 <<
 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.
+On IntelMacs, crosscompilation is now enabled for powerpc/carbon and win32.
 <<
 Homepage: http://wiki.freepascal.org/Main_Page
 Maintainer: Karl-Michael Schindler <karl-michael.schind...@web.de>


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to