Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/graphics
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27652/10.3/unstable/main/finkinfo/graphics
Modified Files:
zphoto.info zphoto.patch
Log Message:
New package: zphoto-wxmac. Name changed: wxzphoto -> zphoto-wxgtk
Index: zphoto.patch
===================================================================
RCS file:
/cvsroot/fink/dists/10.3/unstable/main/finkinfo/graphics/zphoto.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- zphoto.patch 26 Sep 2004 11:34:40 -0000 1.2
+++ zphoto.patch 12 Nov 2004 13:29:04 -0000 1.3
@@ -1,18 +1,58 @@
+diff -Naur zphoto-1.2/Info.plist zphoto-1.2.fink/Info.plist
+--- zphoto-1.2/Info.plist Thu Jan 1 09:00:00 1970
++++ zphoto-1.2.fink/Info.plist Mon Nov 8 03:38:50 2004
+@@ -0,0 +1,36 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<!DOCTYPE plist SYSTEM
"file://localhost/System/Library/DTDs/PropertyList.dtd">
++<plist version="0.9">
++<dict>
++ <key>CFBundleInfoDictionaryVersion</key>
++ <string>6.0</string>
++ <key>CFBundleIdentifier</key>
++ <string>net.sourceforge.Zphoto</string>
++ <key>CFBundleDevelopmentRegion</key>
++ <string>English</string>
++ <key>CFBundleExecutable</key>
++ <string>Zphoto</string>
++ <key>CFBundleIconFile</key>
++ <string>wxmac.icns</string>
++ <key>CFBundleName</key>
++ <string>Zphoto</string>
++ <key>CFBundlePackageType</key>
++ <string>APPL</string>
++ <key>CFBundleSignature</key>
++ <string>????</string>
++ <key>CFBundleVersion</key>
++ <string>1.2</string>
++ <key>CFBundleShortVersionString</key>
++ <string>1.2</string>
++ <key>CFBundleGetInfoString</key>
++ <string>Zphoto version 1.2, (c) 2004 Satoru Takabayashi</string>
++ <key>CFBundleLongVersionString</key>
++ <string>1.2, (c) 2004 Satoru Takabayashi</string>
++ <key>NSHumanReadableCopyright</key>
++ <string>Copyright 2004 Satoru Takabayashi / Distributed under GNU
Lesser General Public License.</string>
++ <key>LSRequiresCarbon</key>
++ <true/>
++ <key>CSResourcesFileMapped</key>
++ <true/>
++</dict>
++</plist>
diff -Naur zphoto-1.2/configure zphoto-1.2.fink/configure
--- zphoto-1.2/configure Wed Jul 21 01:49:27 2004
-+++ zphoto-1.2.fink/configure Sun Sep 26 19:37:57 2004
++++ zphoto-1.2.fink/configure Mon Nov 8 04:04:39 2004
@@ -4494,7 +4494,7 @@
SWFMovie_save(movie, "foo"); /* 0.2a API */
}
EOF
-if $CC -c tmp.c > /dev/null 2>&1; then
-+if $CC [EMAIL PROTECTED]@/include -c tmp.c > /dev/null 2>&1; then
++if $CC $CPPFLAGS -c tmp.c > /dev/null 2>&1; then
cat >>confdefs.h <<_ACEOF
#define MING_0_2a 1
diff -Naur zphoto-1.2/flash.c zphoto-1.2.fink/flash.c
--- zphoto-1.2/flash.c Wed Jul 21 01:48:11 2004
-+++ zphoto-1.2.fink/flash.c Sun Sep 26 20:23:05 2004
++++ zphoto-1.2.fink/flash.c Mon Nov 8 03:41:00 2004
@@ -409,6 +409,7 @@
SWFDisplayItem shadow;
SWFMovieClip clip;
@@ -43,7 +83,7 @@
SWFDisplayItem_moveTo(item, 0, frame.size.height);
diff -Naur zphoto-1.2/support/Makefile.in zphoto-1.2.fink/support/Makefile.in
--- zphoto-1.2/support/Makefile.in Wed Jul 21 01:49:23 2004
-+++ zphoto-1.2.fink/support/Makefile.in Sun Sep 26 18:52:41 2004
++++ zphoto-1.2.fink/support/Makefile.in Mon Nov 8 03:41:00 2004
@@ -56,7 +56,7 @@
LIBRARIES = $(noinst_LIBRARIES)
libsupport_a_AR = $(AR) $(ARFLAGS)
@@ -55,12 +95,12 @@
depcomp = $(SHELL) $(top_srcdir)/depcomp
diff -Naur zphoto-1.2/support/null.c zphoto-1.2.fink/support/null.c
--- zphoto-1.2/support/null.c Thu Jan 1 09:00:00 1970
-+++ zphoto-1.2.fink/support/null.c Sun Sep 26 18:51:20 2004
++++ zphoto-1.2.fink/support/null.c Mon Nov 8 03:41:00 2004
@@ -0,0 +1 @@
+void null() {}
diff -Naur zphoto-1.2/util.c zphoto-1.2.fink/util.c
--- zphoto-1.2/util.c Wed Jul 21 01:48:11 2004
-+++ zphoto-1.2.fink/util.c Sun Sep 26 18:55:10 2004
++++ zphoto-1.2.fink/util.c Mon Nov 8 03:41:00 2004
@@ -79,7 +79,7 @@
va_end(args);
}
Index: zphoto.info
===================================================================
RCS file: /cvsroot/fink/dists/10.3/unstable/main/finkinfo/graphics/zphoto.info,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- zphoto.info 26 Sep 2004 11:34:40 -0000 1.2
+++ zphoto.info 12 Nov 2004 13:29:04 -0000 1.3
@@ -1,26 +1,48 @@
-Package: zphoto
+Info2: <<
+Package: zphoto-wx%type_pkg[wx]
+Description: GUI frontend for zphoto
Version: 1.2
-Revision: 2
-Description: Zooming photo album generator
+Revision: 10
+Type: wx (gtk, mac)
License: LGPL
Maintainer: ASARI Takashi <[EMAIL PROTECTED]>
-BuildDepends: ming (>=0.2a), imlib2 (>=1.1.0), popt (>=1.6.3), freetype, wxgtk
(>=2.4.1)
-Depends: ming-shlibs (>=0.2a), imlib2-shlibs (>=1.1.0), popt-shlibs (>=1.6.3),
freetype-shlibs, gettext-bin
+BuildDepends: libiconv-dev, gettext-dev, gettext-bin, ming (>=0.2a), imlib2
(>=1.1.0), popt (>=1.6.3), freetype, wx%type_pkg[wx] (>=2.4.1)
+Depends: ming-shlibs (>=0.2a), imlib2-shlibs (>=1.1.0), popt-shlibs (>=1.6.3),
freetype-shlibs, wx%type_pkg[wx]-shlibs (>=2.4.1), zphoto (=%v-%r)
+Conflicts: (%type_raw[wx] = gtk) wxzphoto (<< 1.2-4)
+Replaces: (%type_raw[wx] = gtk) wxzphoto (<< 1.2-4)
-Source: http://namazu.org/~satoru/%n/%n-%v.tar.gz
+Source: http://namazu.org/~satoru/zphoto/zphoto-%v.tar.gz
Source-MD5: 636a9cffec9131043e29c1f5812a6c3c
-PatchScript: /usr/bin/sed "s|@PREFIX@|%p|g" %a/%n.patch | /usr/bin/patch -p1
+Patch: zphoto.patch
-InstallScript: make install prefix=%i
+InstallScript: <<
+ #!/bin/sh -ev
+ %{default_script}
+ if [ "%type_raw[wx]" == "mac" ]; 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: <<
+ #!/bin/sh -ev
+ if [ "%type_raw[wx]" == "mac" ]; then
+ /usr/bin/install -m 775 -d /Applications/Fink
+ /bin/ln -fs %p/Applications/Zphoto.app /Applications/Fink/Zphoto.app
+ fi
+<<
+PreRmScript: [ "%type_raw[wx]" == "mac" ] && /bin/rm -f
/Applications/Fink/Zphoto.app
-SplitOff: <<
- Package: wx%N
- Description: GUI version of zphoto
- Depends: %N (=%v-%r), x11, wxgtk-shlibs (>=2.4.1)
- Files: bin/wxzphoto
+SplitOff: <<
+ Package: zphoto
+ Description: Zooming photo album generator
+ Files: %p/bin/zphoto %p/share
DocFiles: AUTHORS COPYING ChangeLog INSTALL NEWS README
<<
@@ -28,4 +50,5 @@
zphoto is a zooming photo album generator.
zphoto creates a flash-based web page.
<<
-Homepage: http://namazu.org/~satoru/zphoto/
+Homepage: http://zphoto.sourceforge.net/
+<<
\ No newline at end of file
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits