pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Updated ns-remote to 1.8:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ba99175e5f7d
branches:  trunk
changeset: 459747:ba99175e5f7d
user:      abs <abs%pkgsrc.org@localhost>
date:      Tue Aug 05 20:22:45 2003 +0000

description:
Updated ns-remote to 1.8:
    - Use 'openURL(about:blank,new-window)' rather than 'openBrowser', so
      we can open blank windows with Mozilla >= 1.3. From Todd Vierling

diffstat:

 doc/CHANGES                 |   4 +++-
 www/ns-remote/Makefile      |   4 ++--
 www/ns-remote/files/ns-open |  10 ++++------
 3 files changed, 9 insertions(+), 9 deletions(-)

diffs (55 lines):

diff -r 85acc326bac9 -r ba99175e5f7d doc/CHANGES
--- a/doc/CHANGES       Tue Aug 05 20:21:42 2003 +0000
+++ b/doc/CHANGES       Tue Aug 05 20:22:45 2003 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.2999 2003/08/05 15:15:41 adam Exp $
+$NetBSD: CHANGES,v 1.3000 2003/08/05 20:23:38 abs Exp $
 
 Changes to the packages collection and infrastructure in 2003:
 
@@ -3209,3 +3209,5 @@
        Updated libgphoto2 to 2.1.1nb3 [adam 2003-08-05]
        Updated pcre to 4.3 [wiz 2003-08-05]
        Updated rocksndiamonds to 3.0.0 [adam 2003-08-05]
+       Updated ns-remote to 1.8 [abs 2003-08-05]
+
diff -r 85acc326bac9 -r ba99175e5f7d www/ns-remote/Makefile
--- a/www/ns-remote/Makefile    Tue Aug 05 20:21:42 2003 +0000
+++ b/www/ns-remote/Makefile    Tue Aug 05 20:22:45 2003 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.15 2003/07/22 04:14:26 martti Exp $
+# $NetBSD: Makefile,v 1.16 2003/08/05 20:22:45 abs Exp $
 
 DISTNAME=      ns-remote
-PKGNAME=       ns-remote-1.7
+PKGNAME=       ns-remote-1.8
 CATEGORIES=    www
 MASTER_SITES=  http://home.netscape.com/newsref/std/
 DISTFILES=     remote.c vroot.h
diff -r 85acc326bac9 -r ba99175e5f7d www/ns-remote/files/ns-open
--- a/www/ns-remote/files/ns-open       Tue Aug 05 20:21:42 2003 +0000
+++ b/www/ns-remote/files/ns-open       Tue Aug 05 20:22:45 2003 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: ns-open,v 1.9 2002/09/20 11:26:52 abs Exp $
+# $NetBSD: ns-open,v 1.10 2003/08/05 20:22:46 abs Exp $
 #
 # Simple script to open a URL in Netscape, starting a new process if necessary
 # If a netscape process is not running it will look for a valid netscape
@@ -76,12 +76,10 @@
 if [ -z "$START_NEW_NETSCAPE" ];then
     NS_REMOTE_ARGS="$NS_REMOTE_ARGS $RAISE"
     if [ -z "$REMOTE_SPECIFIED" ];then
-       if [ -n "$URL" ];then
-           # encode , " and ` to avoid problems with openURL(x,y)
-           NS_REMOTE_ARGS="$NS_REMOTE_ARGS -remote openURL(${URL},new-window)"
-       else
-           NS_REMOTE_ARGS="$NS_REMOTE_ARGS -remote openBrowser"
+       if [ -z "$URL" ];then
+           URL=about:blank
        fi
+       NS_REMOTE_ARGS="$NS_REMOTE_ARGS -remote openURL(${URL},new-window)"
     fi
     if ns-remote -noraise 2>/dev/null; then
         if ns-remote $NS_REMOTE_ARGS ; then



Home | Main Index | Thread Index | Old Index