summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2006-08-12 16:20:35 +0000
committerxtraeme <xtraeme@pkgsrc.org>2006-08-12 16:20:35 +0000
commit1d528c4c88cc0a12acee984b6e8fe3a946ff68cf (patch)
tree1804f929885262f9fb9379aa3d898747c1d986c6 /graphics
parent34bb17db05df2cb0b31a3426febd5948e973543c (diff)
downloadpkgsrc-1d528c4c88cc0a12acee984b6e8fe3a946ff68cf.tar.gz
Initial import of zphoto-1.2.2 from pkgsrc-wip, packaged by
OBATA Akio. zphoto - a flash-based photo album generator.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/zphoto/DESCR1
-rw-r--r--graphics/zphoto/Makefile28
-rw-r--r--graphics/zphoto/PLIST45
-rw-r--r--graphics/zphoto/distinfo6
-rw-r--r--graphics/zphoto/options.mk38
-rw-r--r--graphics/zphoto/patches/patch-aa13
6 files changed, 131 insertions, 0 deletions
diff --git a/graphics/zphoto/DESCR b/graphics/zphoto/DESCR
new file mode 100644
index 00000000000..944187276e6
--- /dev/null
+++ b/graphics/zphoto/DESCR
@@ -0,0 +1 @@
+zphoto - a flash-based photo album generator.
diff --git a/graphics/zphoto/Makefile b/graphics/zphoto/Makefile
new file mode 100644
index 00000000000..e30c06130be
--- /dev/null
+++ b/graphics/zphoto/Makefile
@@ -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
+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 --git a/graphics/zphoto/PLIST b/graphics/zphoto/PLIST
new file mode 100644
index 00000000000..6e160b29d79
--- /dev/null
+++ b/graphics/zphoto/PLIST
@@ -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 --git a/graphics/zphoto/distinfo b/graphics/zphoto/distinfo
new file mode 100644
index 00000000000..54762bf5a7f
--- /dev/null
+++ b/graphics/zphoto/distinfo
@@ -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 --git a/graphics/zphoto/options.mk b/graphics/zphoto/options.mk
new file mode 100644
index 00000000000..3fcb06fc6bf
--- /dev/null
+++ b/graphics/zphoto/options.mk
@@ -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 --git a/graphics/zphoto/patches/patch-aa b/graphics/zphoto/patches/patch-aa
new file mode 100644
index 00000000000..d13809790c8
--- /dev/null
+++ b/graphics/zphoto/patches/patch-aa
@@ -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);