From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jun 23 23:00:23 2003 Return-Path: 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 72CBC37B401 for ; Mon, 23 Jun 2003 23:00:23 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 537D943F85 for ; Mon, 23 Jun 2003 23:00:22 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h5O60MUp094766 for ; Mon, 23 Jun 2003 23:00:22 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h5O60MRS094765; Mon, 23 Jun 2003 23:00:22 -0700 (PDT) Resent-Date: Mon, 23 Jun 2003 23:00:22 -0700 (PDT) Resent-Message-Id: <200306240600.h5O60MRS094765@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, "John Merryweather Cooper" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A0B837B401 for ; Mon, 23 Jun 2003 22:54:04 -0700 (PDT) Received: from conure.mail.pas.earthlink.net (conure.mail.pas.earthlink.net [207.217.120.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C6AB43FA3 for ; Mon, 23 Jun 2003 22:54:01 -0700 (PDT) (envelope-from coop9211@uidaho.edu) Received: from 1cust42.tnt1.pullman.wa.da.uu.net ([67.250.113.42] helo=johncoop.marjoh.org) by conure.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 19Ugkh-0002ZB-00 for FreeBSD-gnats-submit@freebsd.org; Mon, 23 Jun 2003 22:54:00 -0700 Message-Id: 1056434038@johncoop.marjoh.org Date: Mon, 23 Jun 2003 22:53:59 -0700 From: "John Merryweather Cooper" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: gtk-send-pr 0.1 Subject: ports/53662: [CHANGE-REQUEST] Patch textproc/xlhtml so that ns*view work X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2003 06:00:23 -0000 >Number: 53662 >Category: ports >Synopsis: [CHANGE-REQUEST] Patch textproc/xlhtml so that ns*view work >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: Mon Jun 23 23:00:21 PDT 2003 >Closed-Date: >Last-Modified: >Originator: John Merryweather Cooper >Release: FreeBSD 4.8-STABLE i386 >Organization: >Environment: System: FreeBSD johncoop.marjoh.org 4.8-STABLE FreeBSD 4.8-STABLE #21: Thu Jun i386 >Description: Patch browser helper utilities nsopen, nsxlview, and nsppptview so that they work. >How-To-Repeat: Try either nsxlview or nspptview with the test files . . . >Fix: --- change-xlhtml-to-0.5.1_1 begins here --- # This is a patch for xlhtml to update it to xlhtml-0.5.1_1 # # To apply this patch: # STEP 1: Chdir to the source directory. # STEP 2: Run the 'applypatch' program with this patch file as input. # # If you do not have 'applypatch', it is part of the 'makepatch' package # that you can fetch from the Comprehensive Perl Archive Network: # http://www.perl.com/CPAN/authors/Johan_Vromans/makepatch-x.y.tar.gz # In the above URL, 'x' should be 2 or higher. # # To apply this patch without the use of 'applypatch': # STEP 1: Chdir to the source directory. # If you have a decent Bourne-type shell: # STEP 2: Run the shell with this file as input. # If you don't have such a shell, you may need to manually create # the files as shown below. # STEP 3: Run the 'patch' program with this file as input. # # These are the commands needed to create/delete files/directories: # touch 'files/patch-ppthtml_nspptview' chmod 0644 'files/patch-ppthtml_nspptview' touch 'files/patch-xlhtml_nsopen' chmod 0644 'files/patch-xlhtml_nsopen' touch 'files/patch-xlhtml_nsxlview' chmod 0644 'files/patch-xlhtml_nsxlview' # # This command terminates the shell and need not be executed manually. exit # #### End of Preamble #### #### Patch data follows #### diff -u 'xlhtml/Makefile' 'xlhtml-0.5.1_1/Makefile' Index: ./Makefile --- ./Makefile Thu May 22 08:05:57 2003 +++ ./Makefile Sun Jun 22 01:30:54 2003 @@ -2,11 +2,12 @@ # Date created: 27 March 2000 # Whom: Maxim Sobolev # -# $FreeBSD: ports/textproc/xlhtml/Makefile,v 1.14 2003/03/07 06:11:56 ade Exp $ +# $FreeBSD$ # PORTNAME= xlhtml PORTVERSION= 0.5.1 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= http://chicago.sourceforge.net/xlhtml/ DISTNAME= ${PORTNAME}.${PORTVERSION} diff -u /dev/null 'xlhtml-0.5.1_1/files/patch-ppthtml_nspptview' Index: ./files/patch-ppthtml_nspptview --- ./files/patch-ppthtml_nspptview Wed Dec 31 16:00:00 1969 +++ ./files/patch-ppthtml_nspptview Sun Jun 22 08:52:23 2003 @@ -0,0 +1,23 @@ +--- ppthtml/nspptview.orig Sun Jun 22 08:47:02 2003 ++++ ppthtml/nspptview Sun Jun 22 08:49:18 2003 +@@ -1,7 +1,7 @@ + #!/bin/csh + + if ($#argv != 1) then +- echo "Usage: $0 file.doc" ++ echo "Usage: $0 file.ppt" + exit 1 + endif + +@@ -12,9 +12,8 @@ + #set tmp = /tmp/$com:t.$$ + #set html = $tmp.html + +-set tmp = `mktemp -q /tmp/nspptview.XXXXXX` || exit 1 +-set tmp2 = `mktemp -q $tmp/nspptview.XXXXXX` || exit 1 +-set html = $tmp2.html ++set tmp = `mktemp -t nspptview.XXXXXX` || exit 1 ++set html = $tmp.html + + ppthtml $source > $html + if ((!(-r $html)) | ($status)) then diff -u /dev/null 'xlhtml-0.5.1_1/files/patch-xlhtml_nsopen' Index: ./files/patch-xlhtml_nsopen --- ./files/patch-xlhtml_nsopen Wed Dec 31 16:00:00 1969 +++ ./files/patch-xlhtml_nsopen Sun Jun 22 01:25:51 2003 @@ -0,0 +1,14 @@ +--- xlhtml/nsopen.orig Sun Jun 22 01:17:52 2003 ++++ xlhtml/nsopen Sun Jun 22 01:18:51 2003 +@@ -12,9 +12,9 @@ + endif + + #Try to open file in an existing netscape window +-(netscape -no-about-splash -remote "openFile(${file})") >& /dev/null ++(mozilla -remote "openFile(${file})") >& /dev/null + + #if this fails, it means that netscape is not running, so start it + if ($status) then +- netscape -no-about-splash -no-install file:${file} ++ mozilla file:${file} + endif diff -u /dev/null 'xlhtml-0.5.1_1/files/patch-xlhtml_nsxlview' Index: ./files/patch-xlhtml_nsxlview --- ./files/patch-xlhtml_nsxlview Wed Dec 31 16:00:00 1969 +++ ./files/patch-xlhtml_nsxlview Sun Jun 22 08:46:37 2003 @@ -0,0 +1,15 @@ +--- xlhtml/nsxlview.orig Sun Jun 22 08:36:31 2003 ++++ xlhtml/nsxlview Sun Jun 22 08:44:57 2003 +@@ -12,10 +12,8 @@ + #set tmp = /tmp/$com:t.$$ + #set html = $tmp.html + +-set tmp = `mktemp -q /tmp/nsxlview.XXXXXX` || exit 1 +-set tmp2 = `mktemp -q $tmp/nsxlview.XXXXXX` || exit 1 +-set html = $tmp2.html +- ++set tmp = `mktemp -t nsxlview.XXXXXX` || exit 1 ++set html = $tmp.html + + xlhtml -a $source > $html + if ((!(-r $html)) | ($status)) then #### End of Patch data #### #### ApplyPatch data follows #### # Data version : 1.0 # Date generated : Sun Jun 22 08:58:30 2003 # Generated by : makepatch 2.00 # Recurse directories : Yes # p 'Makefile' 842 1056270654 0100644 # c 'files/patch-ppthtml_nspptview' 0 1056297143 0100644 # c 'files/patch-xlhtml_nsopen' 0 1056270351 0100644 # c 'files/patch-xlhtml_nsxlview' 0 1056296797 0100644 #### End of ApplyPatch data #### #### End of Patch kit [created: Sun Jun 22 08:58:30 2003] #### #### Checksum: 133 4500 27351 #### --- change-xlhtml-to-0.5.1_1 ends here --- >Release-Note: >Audit-Trail: >Unformatted: