From 3cdce3653c6693b83bfa4fbb1154049f04c5a4eb Mon Sep 17 00:00:00 2001 From: naddy Date: Fri, 4 Jul 2003 20:52:20 +0000 Subject: [PATCH] Import PornView 0.2.0pre1. Submitted by Xavier Santolaria . PornView is an image/movie file viewer. --- graphics/pornview/Makefile | 26 ++++++++++++++++++++ graphics/pornview/distinfo | 3 +++ graphics/pornview/patches/patch-Makefile_in | 12 +++++++++ graphics/pornview/patches/patch-configure | 27 +++++++++++++++++++++ graphics/pornview/pkg/DESCR | 14 +++++++++++ graphics/pornview/pkg/PLIST | 9 +++++++ 6 files changed, 91 insertions(+) create mode 100644 graphics/pornview/Makefile create mode 100644 graphics/pornview/distinfo create mode 100644 graphics/pornview/patches/patch-Makefile_in create mode 100644 graphics/pornview/patches/patch-configure create mode 100644 graphics/pornview/pkg/DESCR create mode 100644 graphics/pornview/pkg/PLIST diff --git a/graphics/pornview/Makefile b/graphics/pornview/Makefile new file mode 100644 index 00000000000..3d51525af21 --- /dev/null +++ b/graphics/pornview/Makefile @@ -0,0 +1,26 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2003/07/04 20:52:20 naddy Exp $ + +COMMENT= "image viewer/manager" +DISTNAME= pornview-0.2.0pre1 +CATEGORIES= graphics + +HOMEPAGE= http://pornview.sourceforge.net/ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pornview/} + +MAINTAINER= Xavier Santolaria + +# GPL +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +LIB_DEPENDS= gdk_pixbuf.2::graphics/gdk-pixbuf + +USE_X11= Yes +CONFIGURE_STYLE=gnu +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \ + -I${LOCALBASE}/include/libpng" \ + LDFLAGS="-L${LOCALBASE}/lib" + +.include diff --git a/graphics/pornview/distinfo b/graphics/pornview/distinfo new file mode 100644 index 00000000000..4eb4ac27a49 --- /dev/null +++ b/graphics/pornview/distinfo @@ -0,0 +1,3 @@ +MD5 (pornview-0.2.0pre1.tar.gz) = 339fde6d7ff0cc1053abe951601373e6 +RMD160 (pornview-0.2.0pre1.tar.gz) = 03a9d01235fafbfb9825da43e79fbfb66a2ecbfa +SHA1 (pornview-0.2.0pre1.tar.gz) = 3a26412affac6e211da928cc471a4b1bbc55b2a0 diff --git a/graphics/pornview/patches/patch-Makefile_in b/graphics/pornview/patches/patch-Makefile_in new file mode 100644 index 00000000000..415c5e4c609 --- /dev/null +++ b/graphics/pornview/patches/patch-Makefile_in @@ -0,0 +1,12 @@ +$OpenBSD: patch-Makefile_in,v 1.1.1.1 2003/07/04 20:52:20 naddy Exp $ +--- Makefile.in.orig Sat Jan 4 13:53:50 2003 ++++ Makefile.in Thu Jul 3 20:36:26 2003 +@@ -130,7 +130,7 @@ localedir = @localedir@ + + SUBDIRS = icons intl po src + +-desktopdir = $(datadir)/gnome/apps/Graphics ++desktopdir = $(datadir)/applications + desktop_DATA = pornview.desktop + + EXTRA_DIST = config.rpath TODO $(desktop_DATA) diff --git a/graphics/pornview/patches/patch-configure b/graphics/pornview/patches/patch-configure new file mode 100644 index 00000000000..028e0392c3f --- /dev/null +++ b/graphics/pornview/patches/patch-configure @@ -0,0 +1,27 @@ +$OpenBSD: patch-configure,v 1.1.1.1 2003/07/04 20:52:20 naddy Exp $ +--- configure.orig Sat Jan 4 13:53:14 2003 ++++ configure Thu Jul 3 20:59:26 2003 +@@ -10478,10 +10478,10 @@ echo "$ac_t""$gt_cv_func_gnugettext1_lib + + if test "$nls_cv_use_gnu_gettext" = "yes"; then + INTLOBJS="\$(GETTOBJS)" +- BUILD_INCLUDED_LIBINTL=yes +- USE_INCLUDED_LIBINTL=yes +- LIBINTL="\${top_builddir}/intl/libintl.a $LIBICONV" +- LTLIBINTL="\${top_builddir}/intl/libintl.a $LTLIBICONV" ++ BUILD_INCLUDED_LIBINTL=no ++ USE_INCLUDED_LIBINTL=no ++ LIBINTL="-lintl $LIBICONV" ++ LTLIBINTL="-lintl $LTLIBICONV" + LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'` + fi + +@@ -10549,7 +10549,7 @@ EOF + + + if test "$PACKAGE" = gettext; then +- BUILD_INCLUDED_LIBINTL=yes ++ BUILD_INCLUDED_LIBINTL=no + fi + + diff --git a/graphics/pornview/pkg/DESCR b/graphics/pornview/pkg/DESCR new file mode 100644 index 00000000000..999897333fc --- /dev/null +++ b/graphics/pornview/pkg/DESCR @@ -0,0 +1,14 @@ +PornView is an image/movie file viewer. Basic features: +- Browse your hard disk showing you thumbnails of image files. +- Slide Show. +- View EXIF data attached to JPEG images. +- View in fullscreen mode. +- Zoom in, out, and fit to window. +- Copy, move, delete images and folders. +- Rename images in series. +- Support movies. +- Add comments to images. +- Can open a file in an external program (customizable). +- File filtering options. + +WWW: ${HOMEPAGE} diff --git a/graphics/pornview/pkg/PLIST b/graphics/pornview/pkg/PLIST new file mode 100644 index 00000000000..80d93011ee5 --- /dev/null +++ b/graphics/pornview/pkg/PLIST @@ -0,0 +1,9 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2003/07/04 20:52:20 naddy Exp $ +bin/pornview +share/applications/pornview.desktop +share/locale/fr/LC_MESSAGES/pornview.mo +share/locale/pl/LC_MESSAGES/pornview.mo +share/pixmaps/pornview.png +share/pornview/scripts/helloworld +@dirrm share/pornview/scripts +@dirrm share/pornview