From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jul 21 14:10:49 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 56FD816A41F for ; Thu, 21 Jul 2005 14:10:49 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8231743D64 for ; Thu, 21 Jul 2005 14:10:08 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j6LEA5xL031120 for ; Thu, 21 Jul 2005 14:10:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j6LEA4lG031119; Thu, 21 Jul 2005 14:10:04 GMT (envelope-from gnats) Resent-Date: Thu, 21 Jul 2005 14:10:04 GMT Resent-Message-Id: <200507211410.j6LEA4lG031119@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, KATO Tsuguru Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC66816A453 for ; Thu, 21 Jul 2005 14:02:36 +0000 (GMT) (envelope-from tkato432@yahoo.com) Received: from hfep03.dion.ne.jp (hfep03.dion.ne.jp [203.181.105.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CD1B43D69 for ; Thu, 21 Jul 2005 14:02:16 +0000 (GMT) (envelope-from tkato432@yahoo.com) Received: from localhost ([61.204.125.22]) by hfep03.dion.ne.jp with SMTP id <20050721140212570.WIDY@hfep03.dion.ne.jp> for ; Thu, 21 Jul 2005 23:02:12 +0900 Message-Id: <20050721230018.109d7cde.tkato432@yahoo.com> Date: Thu, 21 Jul 2005 23:00:18 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/83860: Update port: textproc/gxmlviewer X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 14:10:49 -0000 >Number: 83860 >Category: ports >Synopsis: Update port: textproc/gxmlviewer >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jul 21 14:10:04 GMT 2005 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.11-RELEASE-p11 i386 >Organization: >Environment: >Description: - Fix build >How-To-Repeat: >Fix: diff -urN /usr/ports/textproc/gxmlviewer/Makefile textproc/gxmlviewer/Makefile --- /usr/ports/textproc/gxmlviewer/Makefile Tue Apr 12 14:12:07 2005 +++ textproc/gxmlviewer/Makefile Thu Jul 21 21:00:20 2005 @@ -8,7 +8,7 @@ PORTNAME= gxmlviewer PORTVERSION= 1.3.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -16,23 +16,21 @@ MAINTAINER= ports@FreeBSD.org COMMENT= An xmlviewer with a netscape plugin, and now a bonobo control as well -LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 - -BROKEN= Incomplete pkg-plist - +USE_X_PREFIX= yes +USE_GNOME= bonobo gnomehack gnomelibs gnomeprefix libxml2 USE_GETTEXT= yes USE_REINPLACE= yes -USE_X_PREFIX= yes -USE_GNOME= gnomelibs bonobo gnomeprefix GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-libiconv-prefix="${LOCALBASE}" -.if ${MACHINE_ARCH:L} == "amd64" -CFLAGS+= -fPIC -.endif - post-patch: - @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|intl||g' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's|= -DXP_UNIX|= -fPIC -DXP_UNIX|g ; \ + s|/netscape/|/gxmlviewer/|g' ${WRKSRC}/src/nsplugin/Makefile.in + +post-install: + @${MKDIR} ${X11BASE}/lib/browser_plugins + @${LN} -sf ${PREFIX}/lib/gxmlviewer/plugins/npgxmlviewer.so \ + ${X11BASE}/lib/browser_plugins/npgxmlviewer.so .include diff -urN /usr/ports/textproc/gxmlviewer/pkg-plist textproc/gxmlviewer/pkg-plist --- /usr/ports/textproc/gxmlviewer/pkg-plist Sun Mar 3 16:22:25 2002 +++ textproc/gxmlviewer/pkg-plist Thu Jul 21 19:18:46 2005 @@ -1,5 +1,11 @@ bin/gxmlviewer bin/xmlview-control bin/xmlformatter -lib/netscape/plugins/npgxmlviewer.so +lib/gxmlviewer/plugins/npgxmlviewer.so share/gnome/oaf/GNOME_XMLView.oaf +@unexec rm -f %%X11BASE%%/lib/browser_plugins/npgxmlviewer.so +@unexec rmdir %%X11BASE%%/lib/browser_plugins 2>/dev/null || true +@exec mkdir -p %%X11BASE%%/lib/browser_plugins 2>/dev/null || true +@exec ln -sf %D/lib/gxmlviewer/plugins/npgxmlviewer.so %%X11BASE%%/lib/browser_plugins/npgxmlviewer.so +@dirrm lib/gxmlviewer/plugins +@dirrm lib/gxmlviewer >Release-Note: >Audit-Trail: >Unformatted: