pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/zphoto Initial import of zphoto-1.2.2 from pk...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/486ef51f8fad
branches:  trunk
changeset: 517492:486ef51f8fad
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Sat Aug 12 16:20:35 2006 +0000

description:
Initial import of zphoto-1.2.2 from pkgsrc-wip, packaged by
OBATA Akio.

zphoto - a flash-based photo album generator.

diffstat:

 graphics/zphoto/DESCR            |   1 +
 graphics/zphoto/Makefile         |  28 ++++++++++++++++++++++++
 graphics/zphoto/PLIST            |  45 ++++++++++++++++++++++++++++++++++++++++
 graphics/zphoto/distinfo         |   6 +++++
 graphics/zphoto/options.mk       |  38 +++++++++++++++++++++++++++++++++
 graphics/zphoto/patches/patch-aa |  13 +++++++++++
 6 files changed, 131 insertions(+), 0 deletions(-)

diffs (155 lines):

diff -r 481cddb6b509 -r 486ef51f8fad graphics/zphoto/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/zphoto/DESCR     Sat Aug 12 16:20:35 2006 +0000
@@ -0,0 +1,1 @@
+zphoto - a flash-based photo album generator.
diff -r 481cddb6b509 -r 486ef51f8fad graphics/zphoto/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/zphoto/Makefile  Sat Aug 12 16:20:35 2006 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/08/12 16:20:35 xtraeme Exp $
+#
+
+DISTNAME=      zphoto-1.2
+CATEGORIES=    graphics
+MASTER_SITES=  http://0xcc.net/zphoto/
+
+MAINTAINER=    obata%lins.jp@localhost
+HOMEPAGE=      http://0xcc.net/zphoto/
+COMMENT=       Flash-based photo album generator
+
+.include "options.mk"
+
+USE_PKGLOCALEDIR=      yes
+GNU_CONFIGURE=         yes
+USE_TOOLS+=            gmake perl
+USE_LANGUAGES+=                c c++
+
+CONFIGURE_ARGS+=       --with-x
+CONFIGURE_ARGS+=       --with-libiconv-prefix=${BUILDLINK_PREFIX.libiconv:Q}
+CONFIGURE_ARGS+=       --with-libintl-prefix=${BUILDLINK_PREFIX.gettext-lib:Q}
+
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/popt/buildlink3.mk"
+.include "../../multimedia/ming/buildlink3.mk"
+.include "../../mk/x11.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 481cddb6b509 -r 486ef51f8fad graphics/zphoto/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/zphoto/PLIST     Sat Aug 12 16:20:35 2006 +0000
@@ -0,0 +1,45 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/08/12 16:20:35 xtraeme Exp $
+bin/zphoto
+${WX_COMMENT}bin/wxzphoto
+share/locale/ja/LC_MESSAGES/zphoto.mo
+share/locale/ja_JP.SJIS/LC_MESSAGES/zphoto.mo
+share/zphoto/doc/images/wxzphoto-linux-mini.png
+share/zphoto/doc/images/wxzphoto-linux.png
+share/zphoto/doc/images/wxzphoto-mini.png
+share/zphoto/doc/images/wxzphoto.png
+@dirrm share/zphoto/doc/images
+share/zphoto/doc/zphoto-ja.html
+share/zphoto/doc/zphoto.html
+@dirrm share/zphoto/doc
+share/zphoto/fonts/EfontSerifB.fdb
+@dirrm share/zphoto/fonts
+share/zphoto/templates/default/all/.photo.html
+share/zphoto/templates/default/all/css-colors.txt
+share/zphoto/templates/default/all/flash-colors.txt
+share/zphoto/templates/default/all/index.html.en
+share/zphoto/templates/default/all/index.html.ja
+share/zphoto/templates/default/all/noflash.html.en
+share/zphoto/templates/default/all/noflash.html.ja
+share/zphoto/templates/default/all/zoom.js.en
+share/zphoto/templates/default/all/zoom.js.ja
+share/zphoto/templates/default/all/zphoto.css
+@dirrm share/zphoto/templates/default/all
+share/zphoto/templates/default/en/.photo.html
+share/zphoto/templates/default/en/css-colors.txt
+share/zphoto/templates/default/en/flash-colors.txt
+share/zphoto/templates/default/en/index.html
+share/zphoto/templates/default/en/noflash.html
+share/zphoto/templates/default/en/zoom.js
+share/zphoto/templates/default/en/zphoto.css
+@dirrm share/zphoto/templates/default/en
+share/zphoto/templates/default/ja/.photo.html
+share/zphoto/templates/default/ja/css-colors.txt
+share/zphoto/templates/default/ja/flash-colors.txt
+share/zphoto/templates/default/ja/index.html
+share/zphoto/templates/default/ja/noflash.html
+share/zphoto/templates/default/ja/zoom.js
+share/zphoto/templates/default/ja/zphoto.css
+@dirrm share/zphoto/templates/default/ja
+@dirrm share/zphoto/templates/default
+@dirrm share/zphoto/templates
+@dirrm share/zphoto
diff -r 481cddb6b509 -r 486ef51f8fad graphics/zphoto/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/zphoto/distinfo  Sat Aug 12 16:20:35 2006 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/08/12 16:20:35 xtraeme Exp $
+
+SHA1 (zphoto-1.2.tar.gz) = 2d45c5df2f2a00db0d8170f18ea5ed399fb9d611
+RMD160 (zphoto-1.2.tar.gz) = 54a93da3c8303ebbf9c505891e9fa8fb32bd6a64
+Size (zphoto-1.2.tar.gz) = 414079 bytes
+SHA1 (patch-aa) = 4c15d45ecfbefadc4b9b2195e00d005e3ed2a936
diff -r 481cddb6b509 -r 486ef51f8fad graphics/zphoto/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/zphoto/options.mk        Sat Aug 12 16:20:35 2006 +0000
@@ -0,0 +1,38 @@
+# $NetBSD: options.mk,v 1.1.1.1 2006/08/12 16:20:35 xtraeme Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.zphoto
+PKG_SUPPORTED_OPTIONS= zip wx
+PKG_OPTIONS_REQUIRED_GROUPS=   graphics
+PKG_OPTIONS_GROUP.graphics=    imlib2 magick
+PKG_SUGGESTED_OPTIONS= imlib2
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mimlib2)
+.  include "../../graphics/imlib2/buildlink3.mk"
+CONFIGURE_ARGS+=       --disable-magick
+.elif !empty(PKG_OPTIONS:Mmagick)
+.  include "../../graphics/ImageMagick/buildlink3.mk"
+CONFIGURE_ARGS+=       --disable-imlib2
+.endif
+
+.if !empty(PKG_OPTIONS:Mzip)
+DEPENDS+=      zip-[0-9]*:../../archivers/zip
+.else
+CONFIGURE_ARGS+=       --disable-zip
+.endif
+
+#.if !empty(PKG_OPTIONS:Mavifile)
+#.include "../../wip/avifile-devel/buildlink3.mk"
+#BUILDLINK_API_DEPENDS.avifile-devel+= avifile-devel>=0.7.34
+#.else
+#CONFIGURE_ARGS+=      --disable-avifile
+#.endif
+
+.if !empty(PKG_OPTIONS:Mwx)
+.include "../../x11/wxGTK/buildlink3.mk"
+PLIST_SUBST+=          WX_COMMENT=
+.else
+CONFIGURE_ARGS+=       --disable-wx
+PLIST_SUBST+=          WX_COMMENT="@comment "
+.endif
diff -r 481cddb6b509 -r 486ef51f8fad graphics/zphoto/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/zphoto/patches/patch-aa  Sat Aug 12 16:20:35 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/08/12 16:20:35 xtraeme Exp $
+
+--- wxzphoto.cpp.orig  2006-08-12 18:17:15.000000000 +0200
++++ wxzphoto.cpp       2006-08-12 18:17:21.000000000 +0200
+@@ -1166,7 +1166,7 @@
+         int width, height;
+         unsigned char *bare_bitmap = 
+             zphoto_image_get_bitmap(filename.c_str(), &width, &height);
+-        wxImage image = wxImage(width, height, bare_bitmap, FALSE);
++        wxImage image = wxImage(width, height, bare_bitmap, 0, FALSE);
+         return wxBitmap(image);
+     } else {
+         return wxBitmap(filename, wxBITMAP_TYPE_ANY);



Home | Main Index | Thread Index | Old Index