Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Dec 2002 06:02:10 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/46592: Update port: graphics/pornview to 0.1.5
Message-ID:  <20021229060210.6232bac4.tkato@prontomail.com>

next in thread | raw e-mail | index | archive | help

>Number:         46592
>Category:       ports
>Synopsis:       Update port: graphics/pornview to 0.1.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 28 13:10:05 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.7-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Update to version 0.1.5

New file:
files/patch-src::support::widgets::gtkxine.h

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/pornview/Makefile graphics/pornview/Makefile
--- /usr/ports/graphics/pornview/Makefile	Sun Nov 24 10:06:12 2002
+++ graphics/pornview/Makefile	Fri Dec 27 20:28:39 2002
@@ -6,26 +6,32 @@
 #
 
 PORTNAME=	pornview
-PORTVERSION=	0.1.2.b
+PORTVERSION=	0.1.5
 CATEGORIES=	graphics
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
-DISTNAME=	${PORTNAME}-${PORTVERSION:S/.b/b/}
 
 MAINTAINER=	ports@FreeBSD.org
 
-LIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png \
-#		xine.2:${PORTSDIR}/graphics/libxine
+LIB_DEPENDS=	exif.8:${PORTSDIR}/graphics/libexif
 
-GNU_CONFIGURE=	yes
-CONFIGURE_ENV+=	CPPFLAGS="-I${LOCALBASE}/include/" \
-		LDFLAGS="-L${LOCALBASE}/lib"
-#CONFIGURE_ARGS+=	--with-xine
+USE_X_PREFIX=	yes
 USE_GNOMENG=	yes
-USE_GNOME=	gtk12 gdkpixbuf gnomehier gnomeprefix
+USE_GNOME=	gdkpixbuf gnomehack gnomeprefix
 USE_REINPLACE=	yes
+GNU_CONFIGURE=	yes
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
+		LDFLAGS="-L${LOCALBASE}/lib"
+
+.if defined(WITH_LIBXINE)
+LIB_DEPENDS+=	xine:${PORTSDIR}/graphics/libxine
+CONFIGURE_ARGS+=	--enable-xine
+.endif
 
 post-patch:
-	${REINPLACE_CMD} -e 's,$(datadir)/gnome/apps/,$(datadir)/apps/,' ${WRKSRC}/Makefile.in
+	@${REINPLACE_CMD} -e \
+		's|INCLUDED_LIBINTL=yes|INCLUDED_LIBINTL=no|g ; \
+		 s|\\[$$][{]top_builddir[}]/intl/libintl.a|-lintl|g ; \
+		 s|[{]datadir[}]/locale|{prefix}/share/locale|g' ${WRKSRC}/configure
 
 .include <bsd.port.mk>
diff -urN /usr/ports/graphics/pornview/distinfo graphics/pornview/distinfo
--- /usr/ports/graphics/pornview/distinfo	Sun Nov 24 10:06:12 2002
+++ graphics/pornview/distinfo	Fri Dec 27 05:37:55 2002
@@ -1 +1 @@
-MD5 (pornview-0.1.2b.tar.gz) = a432afd58234e78c8d17cef8a129782d
+MD5 (pornview-0.1.5.tar.gz) = 36b59b673184b102ec54ebb3164278f3
diff -urN /usr/ports/graphics/pornview/files/patch-src::support::widgets::gtkxine.h graphics/pornview/files/patch-src::support::widgets::gtkxine.h
--- /usr/ports/graphics/pornview/files/patch-src::support::widgets::gtkxine.h	Thu Jan  1 09:00:00 1970
+++ graphics/pornview/files/patch-src::support::widgets::gtkxine.h	Sat Dec  7 15:09:46 2002
@@ -0,0 +1,10 @@
+--- src/support/widgets/gtkxine.h.orig	Sat Nov 23 22:56:41 2002
++++ src/support/widgets/gtkxine.h	Sat Dec  7 15:09:28 2002
+@@ -12,6 +12,7 @@
+ 
+ #ifdef ENABLE_XINE
+ 
++#include <pthread.h>
+ #include <X11/X.h>
+ #include <X11/Xlib.h>
+ #include <X11/extensions/XShm.h>
diff -urN /usr/ports/graphics/pornview/pkg-plist graphics/pornview/pkg-plist
--- /usr/ports/graphics/pornview/pkg-plist	Sun Nov 24 10:06:12 2002
+++ graphics/pornview/pkg-plist	Fri Dec 27 20:33:23 2002
@@ -1,5 +1,4 @@
 bin/pornview
-share/gnome/pornview/logo.png
-share/gnome/pixmaps/pornview.png
 share/gnome/apps/Graphics/pornview.desktop
-@dirrm share/gnome/pornview
+share/gnome/pixmaps/pornview.png
+share/locale/fr/LC_MESSAGES/pornview.mo
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021229060210.6232bac4.tkato>