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

Modified Files:
        lazarus-10.4.info lazarus-10.5.info 
Added Files:
        lazarus-doc.info 
Log Message:
lazarus with gtk2 now.

Index: lazarus-10.5.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/devel/lazarus-10.5.info,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- lazarus-10.5.info   30 Mar 2009 21:30:42 -0000      1.2
+++ lazarus-10.5.info   1 Apr 2009 19:28:13 -0000       1.3
@@ -1,8 +1,8 @@
 Info2: <<
 Package: lazarus%type_pkg[uitype]
-Type: uitype (-aqua -gtk)
+Type: uitype (-aqua -gtk -gtk2)
 Version: 0.9.26.2
-Revision: 1001
+Revision: 1002
 Architecture: powerpc, i386
 License: GPL/LGPL
 
@@ -18,8 +18,8 @@
 Depends: fpc (>= 2.2.2), fpc-sources, 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
+Conflicts: lazarus-aqua, lazarus-gtk, lazarus-gtk2
+Replaces:  lazarus-aqua, lazarus-gtk, lazarus-gtk2
 
 Patchscript: <<
 #!/bin/sh -ev
@@ -58,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=gtk    OPT="$debug_options 
-Fl/%p/lib/pango-ft219/lib/"
   fi
 
 # ** Finish compiling Lazarus **
@@ -114,8 +116,7 @@
  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.
+Lazarus with a gtk2 interface seems to work, now. Please test.
 <<
 Homepage: http://wiki.freepascal.org/Main_Page
 Maintainer: Karl-Michael Schindler <karl-michael.schind...@web.de>

--- NEW FILE: lazarus-doc.info ---
Package: lazarus-doc
Version: 0.9.26.2
Revision: 1
Architecture: powerpc, i386
Enhances: lazarus-aqua, lazarus-gtk

License: GPL/LGPL

Source: 
http://downloads.sourceforge.net/lazarus/fpc-2.2.2-lazarus-%v-doc-html.tar.bz2
Source-MD5: 83bebc64cc8fdda1ad6bcdc919049afc

SourceDirectory: .

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

InstallScript: <<
install -d -m 755 %i/share/doc/lazarus-%v
mv * %i/share/doc/lazarus-%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
<<

Homepage: http://wiki.freepascal.org/Main_Page
Maintainer: Karl-Michael Schindler <karl-michael.schind...@web.de>
Index: lazarus-10.4.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/devel/lazarus-10.4.info,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- lazarus-10.4.info   30 Mar 2009 21:30:42 -0000      1.2
+++ lazarus-10.4.info   1 Apr 2009 19:28:13 -0000       1.3
@@ -1,8 +1,8 @@
 Info2: <<
 Package: lazarus%type_pkg[uitype]
-Type: uitype (-aqua -gtk)
+Type: uitype (-aqua -gtk -gtk2)
 Version: 0.9.26.2
-Revision: 1
+Revision: 2
 Architecture: powerpc, i386
 License: GPL/LGPL
 
@@ -18,8 +18,8 @@
 Depends: fpc (>= 2.2.2), fpc-sources, 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
+Conflicts: lazarus-aqua, lazarus-gtk, lazarus-gtk2
+Replaces:  lazarus-aqua, lazarus-gtk, lazarus-gtk2
 
 Patchscript: <<
 #!/bin/sh -ev
@@ -29,6 +29,7 @@
 # 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
@@ -67,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=gtk    OPT="$debug_options 
-Fl/%p/lib/pango-ft219/lib/"
   fi
 
 # ** Finish compiling Lazarus **
@@ -95,7 +98,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
 
@@ -132,8 +135,7 @@
  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.
+Lazarus with a gtk2 interface seems to work, now. Please test.
 <<
 Homepage: http://wiki.freepascal.org/Main_Page
 Maintainer: Karl-Michael Schindler <karl-michael.schind...@web.de>


------------------------------------------------------------------------------
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to