Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/10.5-EOL/utils
In directory 
sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv24547/10.4/stable/main/finkinfo/10.5-EOL/utils

Modified Files:
        ddrescueview.info 
Log Message:
ddrescueview: fix of the startup glitch

Index: ddrescueview.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/stable/main/finkinfo/10.5-EOL/utils/ddrescueview.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- ddrescueview.info   9 Sep 2013 20:04:13 -0000       1.1
+++ ddrescueview.info   9 Sep 2013 22:27:35 -0000       1.2
@@ -1,9 +1,9 @@
 Package: ddrescueview
 Version: 0.3
-Revision: 1
+Revision: 2
 Description: Graphical viewer for GNU ddrescue log files
 Architecture: powerpc, i386, x86_64
-BuildDepends: lazarus-aqua | lazarus-lcl-carbon, libicns1-bin, imagemagick
+BuildDepends: lazarus-aqua | lazarus-lcl-carbon, makeicns
 License: GPL
 
 # Unpack Phase:
@@ -11,9 +11,22 @@
 Source-MD5: c56c2157e72aaf043ef9684b8fe13057
 SourceDirectory: source
 
+# See the PortDescription for explanations of the patches.
 PatchScript: <<
 #!/bin/sh -ev
   sed -i.bak 's|--strip-all||g' ddrescueview.lpi
+  sed -i.bak 's| OpenFile(ParamStr(1))||g' GUI.pas
+<<
+
+DescPort: <<
+Notes regarding patches:
+strip does not take the --strip-all option
+
+After the start there is this error message:
+  Unable to open file "-psn_0_......."
+line 215 in GUI.pas is the reason:
+  if (ParamCount > 0) then OpenFile(ParamStr(1));
+
 <<
 
 # Compile Phase (NOTE: there is no configure):
@@ -22,15 +35,7 @@
 
   lazbuild ddrescueview.lpi
 
-  convert ddrescueview.ico ddrescueview.png
-  mv ddrescueview-1.png ddrescueview.png
-  convert ddrescueview.png  -resize 512x512 ddrescueviewa.png
-  convert ddrescueview.png  -resize 256x256 ddrescueviewb.png
-  convert ddrescueview.png  -resize 128x128 ddrescueviewc.png
-# using ddrescueview.png screws png2icns
-  convert ddrescueviewa.png -resize  32x32  ddrescueviewd.png
-  convert ddrescueview.png  -resize  16x16  ddrescueviewe.png
-  png2icns ddrescueview.icns ddrescueviewa.png ddrescueviewb.png 
ddrescueviewc.png ddrescueviewd.png ddrescueviewe.png
+  makeicns -in ddrescueview.ico -out ddrescueview.icns
 
   rm ddrescueview.app/Contents/MacOS/ddrescueview
   mv ddrescueview ddrescueview.app/Contents/MacOS/
@@ -61,11 +66,5 @@
 Double click the program ddrescueview in /Applications/Fink
 <<
 
-DescPort: <<
-After the start there is this error message:
-  Unable to open file "-psn_0_......."
-No idea how to fix it.
-<<
-
 Homepage: http://sourceforge.net/projects/ddrescueview
 Maintainer: Karl-Michael Schindler <karl-michael.schind...@web.de>


------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to