Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Dec 2002 00:26:37 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/46138: Update port: graphics/pornview to 0.1.3
Message-ID:  <20021210002637.148aa1e5.tkato@prontomail.com>

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

>Number:         46138
>Category:       ports
>Synopsis:       Update port: graphics/pornview to 0.1.3
>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:   Mon Dec 09 07:40:17 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.7-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Update to version 0.1.3

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	Sat Dec  7 15:02:42 2002
@@ -6,26 +6,32 @@
 #
 
 PORTNAME=	pornview
-PORTVERSION=	0.1.2.b
+PORTVERSION=	0.1.3
 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|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|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	Sat Dec  7 12:19:28 2002
@@ -1 +1 @@
-MD5 (pornview-0.1.2b.tar.gz) = a432afd58234e78c8d17cef8a129782d
+MD5 (pornview-0.1.3.tar.gz) = 7cbb2e651b75bb46c0f6b8808e7dc12a
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	Sat Dec  7 14:50:52 2002
@@ -1,5 +1,6 @@
 bin/pornview
-share/gnome/pornview/logo.png
-share/gnome/pixmaps/pornview.png
 share/gnome/apps/Graphics/pornview.desktop
+share/gnome/pixmaps/pornview.png
+share/gnome/pornview/logo.png
+share/locale/pl/LC_MESSAGES/pornview.mo
 @dirrm share/gnome/pornview
>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?20021210002637.148aa1e5.tkato>