Update of /cvsroot/fink/dists/10.4-transitional/unstable/main/finkinfo/graphics
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22018

Modified Files:
        zphoto.info 
Added Files:
        zphoto-wxgtk.info 
Log Message:
Split the variants into two .info files, to allow upgrading of some (but not
all) to GCC: 4.0.  Force g++-3.3 for zphoto-wxgtk and document it.


--- NEW FILE: zphoto-wxgtk.info ---
Info2: <<
Package: zphoto%type_pkg[-gui]
Description: Zooming photo album generator
Version: 1.2
Revision: 11
Architecture: powerpc
GCC: 3.3
Type: -gui (-wxgtk)
SetCXX: g++-3.3
License: LGPL
Maintainer: ASARI Takashi <[EMAIL PROTECTED]>

BuildDepends: libiconv-dev, gettext-dev, gettext-bin, gettext-tools, ming 
(>=0.2a), imlib2 (>=1.1.0), popt (>=1.6.3), freetype, (%type_raw[-gui] = 
-wxgtk) wxgtk (>=2.4.1), (%type_raw[-gui] = -wxmac) wxmac (>=2.4.1), 
(%type_raw[-gui] = -wxgtk) gcc3.3
Depends: ming-shlibs (>=0.2a), imlib2-shlibs (>=1.1.0), popt-shlibs (>=1.6.3), 
freetype-shlibs, (%type_raw[-gui] = -wxgtk) wxgtk (>=2.4.1), (%type_raw[-gui] = 
-wxmac) wxmac (>=2.4.1)
Conflicts: wxzphoto (<< 1.2-4), (%type_raw[-gui] != .) zphoto, (%type_raw[-gui] 
!= -wxgtk) zphoto-wxgtk, (%type_raw[-gui] != -wxmac) zphoto-wxmac
Replaces: wxzphoto (<< 1.2-4), (%type_raw[-gui] != .) zphoto, (%type_raw[-gui] 
!= -wxgtk) zphoto-wxgtk, (%type_raw[-gui] != -wxmac) zphoto-wxmac
Provides: (%type_raw[-gui] != .) zphoto

Source: http://namazu.org/~satoru/zphoto/zphoto-%v.tar.gz
Source-MD5: 636a9cffec9131043e29c1f5812a6c3c

Patch: zphoto.patch

CompileScript: <<
  #!/bin/sh -ev
  case "x%type_raw[-gui]" in
    x.) args="--disable-wx";;
    x-wxgtk|x-wxmac) args="--with-wx-config=%p/bin/wx-config";;
  esac
  ./configure %c $args
  make
<<
InstallScript: <<
  #!/bin/sh -ev
  %{default_script}
  if [ "x%type_raw[-gui]" = "x-wxmac" ]; then
    /bin/mkdir -p %i/Applications/Zphoto.app/Contents/MacOS
    /bin/mv %I/bin/wxzphoto %i/Applications/Zphoto.app/Contents/MacOS/Zphoto
    /bin/mkdir -p %i/Applications/Zphoto.app/Contents/Resources
    /bin/cp %p/share/wxmac/wxmac.icns 
%i/Applications/Zphoto.app/Contents/Resources
    /usr/bin/printf 'APPL????' > %i/Applications/Zphoto.app/Contents/PkgInfo
    /bin/cp Info.plist %i/Applications/Zphoto.app/Contents/Info.plist
  fi
<<
DocFiles: AUTHORS COPYING ChangeLog INSTALL NEWS README
PostInstScript: <<
  if [ "x%type_raw[-gui]" = "x-wxmac" ]; then
    /usr/bin/install -m 775 -d /Applications/Fink
    /bin/ln -fs %p/Applications/Zphoto.app /Applications/Fink/Zphoto.app
  fi
<<
PreRmScript: [ "x%type_raw[-gui]" = "x-wxmac" ] && /bin/rm -f 
/Applications/Fink/Zphoto.app

DescPackaging: <<
 This version is compiled with g++-3.3, even in the 10.4 tree.  If it is
 ever updated to a more recent compiler, the group of packages wxgtk,
 wxpython, and zphoto-wxgtk must all be updated at the same time, together
 with any packages which depend on any of them.

 We have split the zphoto-wxgtk variant into a separate file so that the
 other variants can be updated to g++-4.0.  If this package is updated some
 day, it is likely that the variants can once again be handled by a single
 .info file.
<<
DescDetail: <<
zphoto is a zooming photo album generator. 
zphoto creates a flash-based web page.
<<
Homepage: http://zphoto.sourceforge.net/
<<

Index: zphoto.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4-transitional/unstable/main/finkinfo/graphics/zphoto.info,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- zphoto.info 26 Aug 2005 16:39:06 -0000      1.3
+++ zphoto.info 17 Feb 2006 21:10:09 -0000      1.4
@@ -4,7 +4,7 @@
 Version: 1.2
 Revision: 11
 GCC: 3.3
-Type: -gui (. -wxgtk -wxmac)
+Type: -gui (. -wxmac)
 License: LGPL
 Maintainer: ASARI Takashi <[EMAIL PROTECTED]>
 



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to