Subject: pkg/20265: update xosview 1.7.0.b -> 1.8.0
To: None <gnats-bugs@gnats.netbsd.org>
From: None <ishit@pluto.dti.ne.jp>
List: netbsd-bugs
Date: 02/09/2003 09:10:14
>Number: 20265
>Category: pkg
>Synopsis: update xosview 1.7.0.b -> 1.8.0
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sun Feb 09 09:11:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: ISIHARA Takanori
>Release: NetBSD 1.6_STABLE
>Organization:
Nagoya *BSD Users' Group :-)
>Environment:
System: NetBSD ishitPc3.home 1.6_STABLE NetBSD 1.6_STABLE (GENERIC_LAPTOP) #0: Tue Jan 21 14:21:05 UTC 2003 autobuild@tgm.daemon.org:/autobuild/netbsd-1-6/i386/OBJ/autobuild/netbsd-1-6/src/sys/arch/i386/compile/GENERIC_LAPTOP i386
>Description:
Update xosview.
I made update pkgsrc.
>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:
#
# .
# ./patches
# ./patches/patch-ag
# ./patches/patch-ac
# ./Makefile
# ./DESCR
# ./distinfo
# ./PLIST
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo c - ./patches
mkdir -p ./patches > /dev/null 2>&1
echo x - ./patches/patch-ag
sed 's/^X//' >./patches/patch-ag << 'END-of-./patches/patch-ag'
X$NetBSD$
X
X+++ config/config.sub
X@@ -630,6 +630,9 @@ case $basic_machine in
X basic_machine=mips-sony
X os=-newsos
X ;;
X+ newsmips)
X+ basic_machine=mips-sony
X+ ;;
X necv70)
X basic_machine=v70-nec
X os=-sysv
END-of-./patches/patch-ag
echo x - ./patches/patch-ac
sed 's/^X//' >./patches/patch-ac << 'END-of-./patches/patch-ac'
X$NetBSD: patch-ac,v 1.6 2000/06/27 08:15:51 tron Exp $
X
X+++ configure Sun Apr 11 14:11:30 1999
X@@ -1717,6 +1717,21 @@
X host_dir=bsd
X
X ;;
X+netbsd1.[45]*)
X+ host_os=netbsd
X+ EXTRALIBS="-lkvm $XPMLIB"
X+ INSTALL_ARGS='-s -g kmem -m 02555'
X+ cat >> confdefs.h <<\EOF
X+#define XOSVIEW_NETBSD 1
X+EOF
X+
X+ cat >> confdefs.h <<\EOF
X+#define UVM 1
X+EOF
X+
X+ host_dir=bsd
X+
X+;;
X ## Also check for versions that have not been tested.
X netbsd*) echo "configure: warning:
X *************** Warning *****************
END-of-./patches/patch-ac
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# $NetBSD: Makefile,v 1.42 2002/12/11 21:38:20 christos Exp $
X
XDISTNAME= xosview-1.8.0
XCATEGORIES= sysutils
XMASTER_SITES= http://twtelecom.dl.sourceforge.net/sourceforge/xosview/
X
XMAINTAINER= bgrayson@netbsd.org
XHOMEPAGE= http://xosview.sourceforge.net/
XCOMMENT= X11 graphical display of OS statistics
X
XNOT_FOR_PLATFORM= NetBSD-1.[7-9]*-* NetBSD-[2-9]*-*
X
XUSE_BUILDLINK2= YES
XUSE_X11BASE= YES
X
XHAS_CONFIGURE= YES
XCONFIGURE_ARGS+= --prefix=${PREFIX}
XCONFIGURE_ARGS+= --x-includes=${X11BASE}/include
XCONFIGURE_ARGS+= --x-libraries=${X11BASE}/lib
X
X.include "../../mk/bsd.prefs.mk"
X
X.if ${OPSYS} == "NetBSD"
X. if !defined(UVM) && exists(/usr/include/uvm/uvm.h)
XCFLAGS+= -DUVM
XUVM= # defined
XBUILD_DEFS= UVM
X. endif
X.elif ${OPSYS} == "SunOS"
XUSE_GMAKE= YES
XBUILD_DEPENDS+= egcs-1.1.2:../../lang/egcs
XCXX= ${LOCALBASE}/egcs/bin/g++
XCPPFLAGS+= -I${X11BASE}/include
XLIBS+= -lsocket -lnsl
X.endif
X
X.include "../../graphics/xpm/buildlink2.mk"
X.include "../../mk/bsd.pkg.mk"
END-of-./Makefile
echo x - ./DESCR
sed 's/^X//' >./DESCR << 'END-of-./DESCR'
Xxosview (or XOsview, or XOSView, take your pick!) is an application
Xoriginally developed by Mike Romberg for Linux. It can be summarized
Xas a graphical performance meter.
X
XAuthor: Mike Romberg <romberg@fsl.noaa.gov>
END-of-./DESCR
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'END-of-./distinfo'
X$NetBSD: distinfo,v 1.4 2002/12/11 22:35:55 christos Exp $
X
XSHA1 (xosview-1.8.0.tar.gz) = 5ac43ff429f231f7c94db5e3d3449ed483c4c7a5
XSize (xosview-1.8.0.tar.gz) = 170323 bytes
XSHA1 (patch-ac) = 80d74f813739693f3c1b40c8cb442eac8574497d
XSHA1 (patch-ag) = f351cfa98430d3197102102d8eb7a9a5e8f3edb3
END-of-./distinfo
echo x - ./PLIST
sed 's/^X//' >./PLIST << 'END-of-./PLIST'
X@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:54:25 zuntum Exp $
Xbin/xosview
Xlib/X11/app-defaults/XOsview
Xman/man1/xosview.1.gz
END-of-./PLIST
exit
>Release-Note:
>Audit-Trail:
>Unformatted: