Subject: pkg/17218: update www/links to 2.0 and introduce new package www/links-gui
To: None <gnats-bugs@gnats.netbsd.org>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-bugs
Date: 06/11/2002 16:36:32
>Number:         17218
>Category:       pkg
>Synopsis:       update www/links to 2.0 and introduce new package www/links-gui (links with GUI)
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 11 07:37:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Lubomir Sedlacik
>Release:        NetBSD 1.6_BETA1
>Organization:
>Environment:
>Description:

changes in links 0.9.7 -> 2.0

- rewritten to support graphics
- support for various graphics drivers including:
   o X Window System
   o SVGAlib
   o Atheos GUI
   o PMShell
- support for various graphics formats including:
   o PNG
   o JPEG
   o TIFF
   o GIF
- JavaScript support
- remade bookmarks
- support for gamma corrections

>How-To-Repeat:

i splitted www/links/Makefile into Makefile.common which is used in both
packages and it's own Makefile and made new package www/links-gui.  they
share the same PLIST.

both packages are included as shar archives.


>Fix:

links.sh:

# 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:
#
#	links/CVS
#	links/DESCR
#	links/Makefile
#	links/Makefile.common
#	links/PLIST
#	links/distinfo
#
echo c - links/CVS
mkdir -p links/CVS > /dev/null 2>&1
echo x - links/DESCR
sed 's/^X//' >links/DESCR << 'END-of-links/DESCR'
XLynx-like text WWW browser, supporting frames, tables and JavaScript,
Xdisplaying pages during download, background downloads and more.
END-of-links/DESCR
echo x - links/Makefile
sed 's/^X//' >links/Makefile << 'END-of-links/Makefile'
X# $NetBSD$
X#
X
XPKGNAME=	links-2.0
XCOMMENT=	Lynx-like text WWW browser
X
XCONFLICTS+=	links-gui-[0-9]*
X
X.include	"../../www/links/Makefile.common"
END-of-links/Makefile
echo x - links/Makefile.common
sed 's/^X//' >links/Makefile.common << 'END-of-links/Makefile.common'
X# $NetBSD$
X#
X
XDISTNAME=	links-2.0
XCATEGORIES=	www
XMASTER_SITES=	http://atrey.karlin.mff.cuni.cz/~clock/twibright/links/download/ \
X		http://artax.karlin.mff.cuni.cz/~mikulas/links/download/ \
X		ftp://atrey.karlin.mff.cuni.cz/pub/local/clock/links/
XEXTRACT_SUFX=	.tar.bz2
X
XMAINTAINER=	wiz@netbsd.org
XHOMEPAGE=	http://atrey.karlin.mff.cuni.cz/~clock/twibright/links/
X
XGNU_CONFIGURE=		YES
X#USE_SSL=		YES
XUSE_BUILDLINK_ONLY=	YES
X
XPLIST_SRC=		"../../www/links/PLIST"
XCONFIGURE_ARGS+=	--enable-javascript
X
X.include "../../security/openssl/buildlink.mk"
X.include "../../mk/bsd.pkg.mk"
END-of-links/Makefile.common
echo x - links/PLIST
sed 's/^X//' >links/PLIST << 'END-of-links/PLIST'
X@comment $NetBSD: PLIST,v 1.1 2001/11/01 02:17:18 zuntum Exp $
Xbin/links
Xman/man1/links.1
END-of-links/PLIST
echo x - links/distinfo
sed 's/^X//' >links/distinfo << 'END-of-links/distinfo'
X$NetBSD: distinfo,v 1.4 2002/05/10 08:14:35 wiz Exp $
X
XSHA1 (links-2.0.tar.bz2) = c4584e728ebbb5ef60aab6d661a2d865445c451d
XSize (links-2.0.tar.bz2) = 3499871 bytes
END-of-links/distinfo
exit


links-gui.sh:


# 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:
#
#	links-gui/CVS
#	links-gui/DESCR
#	links-gui/Makefile
#	links-gui/distinfo
#
echo c - links-gui/CVS
mkdir -p links-gui/CVS > /dev/null 2>&1
echo x - links-gui/DESCR
sed 's/^X//' >links-gui/DESCR << 'END-of-links-gui/DESCR'
XLynx-like text and graphics WWW browser, supporting frames,
Xtables and JavaScript, displaying pages during download,
Xbackground downloads, and more.
END-of-links-gui/DESCR
echo x - links-gui/Makefile
sed 's/^X//' >links-gui/Makefile << 'END-of-links-gui/Makefile'
X# $NetBSD$
X#
X
XPKGNAME=	links-gui-2.0
XCOMMENT=	Lynx-like text and graphics WWW browser
X
XCONFLICTS+=	links-[0-9]*
X
XCONFIGURE_ARGS+=	--enable-graphics
X
X.include  "../../graphics/png/buildlink.mk"
X.include  "../../graphics/tiff/buildlink.mk"
X.include  "../../www/links/Makefile.common"
END-of-links-gui/Makefile
echo x - links-gui/distinfo
sed 's/^X//' >links-gui/distinfo << 'END-of-links-gui/distinfo'
X$NetBSD: distinfo,v 1.4 2002/05/10 08:14:35 wiz Exp $
X
XSHA1 (links-2.0.tar.bz2) = c4584e728ebbb5ef60aab6d661a2d865445c451d
XSize (links-2.0.tar.bz2) = 3499871 bytes
END-of-links-gui/distinfo
exit

>Release-Note:
>Audit-Trail:
>Unformatted: