Package: ddrescueview Version: 0.3 Revision: 3 Description: Graphical viewer for GNU ddrescue log files Architecture: powerpc, i386, x86_64 BuildDepends: lazarus-aqua | lazarus-lcl-carbon, makeicns Suggests: ddrescue License: GPL # Unpack Phase: Source: mirror:sourceforge:/%n/Releases/v%v/%n-source-%v.zip Source-Checksum: SHA256(46c2fcd80d143907c433a516cfdb4ad74b7910e07853379ece3604add6693495) 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): CompileScript: << #!/bin/sh -ev if [ "%m" = "x86_64" ]; then lazbuild --compiler=%p/bin/ppc386 ddrescueview.lpi else lazbuild ddrescueview.lpi fi makeicns -in ddrescueview.ico -out ddrescueview.icns rm ddrescueview.app/Contents/MacOS/ddrescueview mv ddrescueview ddrescueview.app/Contents/MacOS/ mv ddrescueview.icns ddrescueview.app/Contents/Resources/ sed -i.bak 's|English|English CFBundleIconFile ddrescueview|g' ddrescueview.app/Contents/Info.plist rm ddrescueview.app/Contents/Info.plist.bak << # Install Phase: InstallScript: << #!/bin/sh -ev echo "nothing to install!" << AppBundles: ddrescueview.app DocFiles: ../*.txt DescDetail: << This small tool allows the user to graphically examine ddrescue's log files in a user friendly GUI application. The Main window displays a block grid with each block's color representing the block types it contains. Many people know this type of view from defragmentation programs. The program is written in Object Pascal using the Lazarus IDE. << DescUsage: << Double click the program ddrescueview in /Applications/Fink << Homepage: http://sourceforge.net/projects/ddrescueview Maintainer: Karl-Michael Schindler