Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Sep 1999 11:49:29 -0400 (EDT)
From:      kbyanc@posi.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/13727: new port: www/netscape-remote
Message-ID:  <199909131549.LAA61753@kronos.alcnet.com>

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

>Number:         13727
>Category:       ports
>Synopsis:       new port: www/netscape-remote
>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 Sep 13 08:50:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Kelly Yancey
>Release:        FreeBSD 3.2-STABLE i386
>Organization:
>Environment:
>Description:

  Port of netscape's remote control program described at
    http://home.netscape.com/newsref/std/x-remote.html

  Notably, let's you control a netscape process from another machine
and uses far less resources than using navigator with the -remote parameter.

  Unfortunatly, the machine I made this port on does not have X installed
so I have not been able to do as much testing of the port as usual. However,
I have built the sources on another unix box with X and can verify that the
program itself does function as expected. I believe the port to be correct
also.

  Kelly
 ~kbyanc@posi.net~

>How-To-Repeat:
>Fix:
	
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	netscape-remote
#	netscape-remote/patches
#	netscape-remote/patches/patch-aa
#	netscape-remote/Makefile
#	netscape-remote/pkg
#	netscape-remote/pkg/PLIST
#	netscape-remote/pkg/DESCR
#	netscape-remote/pkg/COMMENT
#	netscape-remote/files
#	netscape-remote/files/Makefile
#	netscape-remote/files/md5
#
echo c - netscape-remote
mkdir -p netscape-remote > /dev/null 2>&1
echo c - netscape-remote/patches
mkdir -p netscape-remote/patches > /dev/null 2>&1
echo x - netscape-remote/patches/patch-aa
sed 's/^X//' >netscape-remote/patches/patch-aa << 'END-of-netscape-remote/patches/patch-aa'
X--- remote.c.orig	Mon Sep 13 11:26:19 1999
X+++ remote.c	Mon Sep 13 11:28:12 1999
X@@ -146,11 +146,16 @@
X     }
X   else if (tenative)
X     {
X+#ifndef STANDALONE
X+      /* no point in harassing the user when run standalone; everyone has
X+       * at least netscape 1.1 by now!
X+       */
X       fprintf (stderr,
X 	       "%s: warning: expected version %s but found version\n"
X 	       "\t%s (0x%x) instead.\n",
X 	       progname, expected_mozilla_version,
X 	       tenative_version, (unsigned int) tenative);
X+#endif
X       XFree (tenative_version);
X       return tenative;
X     }
X@@ -506,6 +511,8 @@
X   Bool raise_p = True;
X   int status = 0;
X   mozilla_remote_init_atoms (dpy);
X+
X+  if(commands == NULL) return;
X 
X   if (window == 0)
X     window = mozilla_remote_find_window (dpy);
END-of-netscape-remote/patches/patch-aa
echo x - netscape-remote/Makefile
sed 's/^X//' >netscape-remote/Makefile << 'END-of-netscape-remote/Makefile'
X# New ports collection makefile for:	netscape-remote
X# Version required:	1.0
X# Date created:		09/13/1999
X# Whom:			Kelly Yancey <kbyanc@posi.net>
X#
X# $FreeBSD$
X#
X
XDISTNAME=	netscape-remote
XPKGNAME=	netscape-remote-1.0
XCATEGORIES=	www
XMASTER_SITES=	http://home.netscape.com/newsref/std/
XDISTFILES=	remote.c vroot.h
X
XMAINTAINER=	kbyanc@posi.net
X
XNO_WRKSUBDIR=   yes
X
Xdo-extract:
X	@${MKDIR} ${WRKDIR}
X	@cp ${FILESDIR}/Makefile ${WRKDIR}
X	@for i in $(DISTFILES); do ${CP} ${DISTDIR}/$$i ${WRKDIR}; done
X
X.include <bsd.port.mk>
END-of-netscape-remote/Makefile
echo c - netscape-remote/pkg
mkdir -p netscape-remote/pkg > /dev/null 2>&1
echo x - netscape-remote/pkg/PLIST
sed 's/^X//' >netscape-remote/pkg/PLIST << 'END-of-netscape-remote/pkg/PLIST'
Xbin/netscape-remote
END-of-netscape-remote/pkg/PLIST
echo x - netscape-remote/pkg/DESCR
sed 's/^X//' >netscape-remote/pkg/DESCR << 'END-of-netscape-remote/pkg/DESCR'
XThis is a sort of "remote control" for netscape navigator, allowing you to
Xsend commands to a running netscape process. A complete list of commands is
Xat:
X
X  WWW: http://home.netscape.com/newsref/std/x-remote.html
X
XRequires netscape navigator 1.1 or higher to do anything useful.
X
X  -Kelly
X   kbyanc@posi.net
END-of-netscape-remote/pkg/DESCR
echo x - netscape-remote/pkg/COMMENT
sed 's/^X//' >netscape-remote/pkg/COMMENT << 'END-of-netscape-remote/pkg/COMMENT'
XUtility to pass commands to running netscape process
END-of-netscape-remote/pkg/COMMENT
echo c - netscape-remote/files
mkdir -p netscape-remote/files > /dev/null 2>&1
echo x - netscape-remote/files/Makefile
sed 's/^X//' >netscape-remote/files/Makefile << 'END-of-netscape-remote/files/Makefile'
XINCDIR		=	-I/usr/X11R6/include
XLIBDIR		=	-L/usr/X11R6/lib
XLIBS		=	-lX11 -lXmu
XOBJS		=	remote.o
XCFLAGS		+=	-DSTANDALONE -g
XPREFIX		?=	/usr/local
XINSTALL_PROGRAM ?=	/usr/bin/install
X
XBINARY		=	netscape-remote
X
Xall: remote
X
Xremote: $(OBJS)
X	$(CC) $(CFLAGS) $(LIBDIR) $(LIBS) -o $(BINARY) $(OBJS)
X
Xinstall: all
X	$(INSTALL_PROGRAM) -s $(BINARY) $(PREFIX)/bin/$(BINARY)
X	@-strip $(BINARY)
X
X
Xclean:
X	for i in $(OBJS); do rm -f $$i; done
X	rm -f $(BINARY)
END-of-netscape-remote/files/Makefile
echo x - netscape-remote/files/md5
sed 's/^X//' >netscape-remote/files/md5 << 'END-of-netscape-remote/files/md5'
XMD5 (remote.c) = 1dfd396d83169cd1f286675698899feb
XMD5 (vroot.h) = cc8e398b414b212c684d774ab87fdf2a
END-of-netscape-remote/files/md5
exit


>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?199909131549.LAA61753>