Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 May 1997 13:19:12 +1000 (EST)
From:      sutton@aardvark.apana.org.au
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/3467: Update of port xgs
Message-ID:  <199705020319.NAA05455@solsbury-hill.home>
Resent-Message-ID: <199705020320.UAA08124@hub.freebsd.org>

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

>Number:         3467
>Category:       ports
>Synopsis:       Update of port xgs
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May  1 20:20:01 PDT 1997
>Last-Modified:
>Originator:     Joel Sutton
>Organization:
>Release:        FreeBSD 2.1.5-STABLE i386
>Environment:

FreeBSD solsbury-hill 2.1.5-RELEASE FreeBSD 2.1.5-RELEASE #3: Wed Jan 15 20:28:40 EST 1997     suttonj@solsbury-hill:/usr/src/sys/compile/EVERYDAY  i386

#	$Id: bsd.port.mk,v 1.256 1997/04/21 00:24:51 asami Exp $
#	$Id: bsd.port.subdir.mk,v 1.19 1997/03/09 23:10:56 wosch Exp $

>Description:

Here is a diff to update the xgs port to version 0.50. Version 0.40
source is no longer available so the un-patched port will probably be
broken.

My email address has changed also and I've included that change in the
diff. 

>How-To-Repeat:
>Fix:

Steps:

1) remove patches directory. Patch files are not currently necessary
for this release.
2) apply diff

[snip]
diff -ru xgs-old/Makefile xgs/Makefile
--- xgs-old/Makefile	Tue Feb 25 22:14:14 1997
+++ xgs/Makefile	Fri May  2 12:19:22 1997
@@ -1,40 +1,55 @@
-# New ports collection makefile for:   xgs-0.40
-# Version required:	0.40
-# Date created:		17th January 1996
-# Whom:			Joel Sutton <suttonj@interconnect.com.au>
+# New ports collection makefile for:   xgs-0.50
+# Version required:	0.50
+# Date created:		2nd May, 1997
+# Whom:			Joel Sutton <sutton@aardvark.apana.org.au>
+# FreeBSD Version:	2.1.5-RELEASE
 #
-# $Id: Makefile,v 1.2 1997/02/25 07:58:32 asami Exp $
+# $Id$
 #
-      
-DISTNAME=	xgs-0.40
+
+# This is the stable release of the xgs emulator. Sound support is
+# currently broken.
+
+# Distfile collection and extraction stuff
+#      
+DISTNAME=	xgs-0.50-src
+PKGNAME=	xgs-0.50
+EXTRACT_SUFX=	.tar.gz
 CATEGORIES=	emulators
-MASTER_SITES=	http://www.optera.com/~invid/emulators/XGS/ \
+MASTER_SITES=	ftp://ftp.optera.com/pub/xgs/ \
 		ftp://ftp.apple.asimov.net/pub/apple_II/emulators/rom_images/
-DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${ROMFILE}
 
-MAINTAINER=	suttonj@interconnect.com.au
+MAINTAINER=	sutton@aardvark.apana.org.au
 
+DIST_SUBDIR=	xgs
+DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${DIST_SUBDIR}/xgs.rom
 EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
-NO_PACKAGE=	${RESTRICTED}
 RESTRICTED=	"xgs.rom copyright is owned by Apple and cannot be distributed"
+NO_PACKAGE=	${RESTRICTED}
+
+# Source building
+#
 WRKSRC=		${WRKDIR}/xgs
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-oss-sound
+CONFIGURE_ARGS=	--with-x --datadir="${PREFIX}/lib"
 
-#INSTALL_DATA?=	install -c -o bin -g bin
-ROMFILE=	xgs.rom
-XGS=		/share/xgs
-      
-post-patch:
-	cp ${DISTDIR}/${ROMFILE} ${WRKSRC}
+# Directories etc...
+#
+XGS_DOC=	${PREFIX}/share/doc/xgs
+XGS_LIB=	${PREFIX}/lib/xgs
+DOC_FILES= 	CHANGES.TXT COMPAT.TXT INSTALL.TXT TODO.TXT \
+		IWM-DOC.TXT XGS-FAQ.TXT
 
 post-install:
 .if !defined(NOPORTDOCS)
-	${INSTALL_DATA} -m 644 ${WRKSRC}/CHANGES ${WRKSRC}/COMPATIBILITY \
-		${WRKSRC}/README ${WRKSRC}/TO-DO ${PREFIX}${XGS}/
-	${INSTALL_DATA} -m 644 ${PKGDIR}/DESCR ${PREFIX}${XGS}/README.FreeBSD
+	-${MKDIR} ${XGS_DOC}
+	for file in ${DOC_FILES} ; do \
+		${INSTALL_DATA} ${WRKSRC}/docs/$$file ${XGS_DOC}/ ;\
+	done
+	${INSTALL_DATA} ${PKGDIR}/DESCR ${XGS_DOC}/README.FreeBSD
 .endif
-	${INSTALL_DATA} -m 666 /dev/null ${PREFIX}${XGS}/xgs.ram
+	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/xgs.rom ${XGS_LIB}/
+	${INSTALL_DATA} -m 666 /dev/null ${XGS_LIB}/xgs.ram
 
 .include <bsd.port.mk>
diff -ru xgs-old/files/md5 xgs/files/md5
--- xgs-old/files/md5	Tue Feb 25 00:50:07 1997
+++ xgs/files/md5	Fri May  2 12:05:45 1997
@@ -1,2 +1,2 @@
-MD5 (xgs-0.40.tar.gz) = fdd04ddfe2f188c301be7fd11be61ae8
-MD5 (xgs.rom) = 20a0334c447cb069a040ae5be1d938df
+MD5 (xgs/xgs-0.50-src.tar.gz) = a22f2974fd87253ba39c21a32451a4fb
+MD5 (xgs/xgs.rom) = 20a0334c447cb069a040ae5be1d938df
Only in xgs-old: patches
diff -ru xgs-old/pkg/COMMENT xgs/pkg/COMMENT
--- xgs-old/pkg/COMMENT	Tue Feb 25 00:50:07 1997
+++ xgs/pkg/COMMENT	Fri May  2 12:12:09 1997
@@ -1,2 +1,2 @@
-An Apple IIGS emulator.
+Apple IIGS emulator stable release 0.50
 
diff -ru xgs-old/pkg/DESCR xgs/pkg/DESCR
--- xgs-old/pkg/DESCR	Tue Feb 25 00:50:07 1997
+++ xgs/pkg/DESCR	Fri May  2 13:04:31 1997
@@ -1,26 +1,43 @@
-This emulator does a good job of emulating an Apple IIGS. Various IIGS
-hardware devices are also emulated (see README file) but this version
-is still an alpha so you might find a few things missing.
+General Notes
+=============
+
+This emulator does a great job of emulating an Apple IIGS. Various
+IIGS hardware devices are also emulated but this version is still an
+alpha quality release so you might find a few things missing.
 
 XGS requires a copy of the IIGS ROM to boot up and this port should
 attempt to FTP a copy of it from the Asimov archives (if it is still
 available). If you have to obtain a copy of it manually then all you
-should need to do is drop it in the distfiles directory to allow the
-port to build. The md5 checksum file is specifically for the version 1
-ROM so you may have to alter it should you decide to use a version 3
-ROM. Also, this ROM cannot be distributed due to copyright reasons.
-
-Please check out the README file in either the working directory or
-/usr/local/share/xgs/ (or equivalent on your system). As this package
-has no man pages you will need to pick up the basics from there. All
-author credits can be found in these files also.
-
-When loading disk images be sure to use the full path of the
-file you're loading.  
+should need to do is drop it in the xgs subdirectory of the distfiles
+directory to allow the port to build. This ROM cannot be distributed
+due to copyright reasons.
+
+Version Specific Notes
+======================
+
+Disk emulation has improved considerably. Many images available on the
+net will now load. 
+
+A new disk image format has been adopted and further support for other
+image types have been added. Also most of the utilities have been
+consolidated into one program. Be sure to check the docs on this one. 
+
+Sound emulation is currently broken and I'm looking for help in this
+area as I lack experience with sound programming. If you are able to
+assist, or even better, have some patches you can send me please
+contact me on the email address below.
+
+Finally
+=======
+
+Please check out the files in /usr/local/share/doc/xgs (or equivalent
+on your system). As this package has no man pages you will need to
+pick up the basics from there. All author credits can be found in
+these files also.
 
 Check out the following for all sorts of Apple II goodies:
 
-	http://www.asimov.net/
+	ftp://ftp.apple.asimov.net/pub/apple_II/
 	http://www.optera.com/~invid/emulators/XGS/
 	comp.emulators.apple2
 
@@ -28,4 +45,5 @@
 
 Joel...
 :->
-suttonj@interconnect.com.au
+sutton@aardvark.apana.org.au
+
Only in xgs/pkg: DESCR~
diff -ru xgs-old/pkg/PLIST xgs/pkg/PLIST
--- xgs-old/pkg/PLIST	Tue Feb 25 00:50:07 1997
+++ xgs/pkg/PLIST	Fri May  2 12:23:50 1997
@@ -1,21 +1,14 @@
 bin/xgs
-bin/build40 
-bin/build80 
-bin/dc2img 
-bin/dsk2img 
-bin/imginfo 
-bin/lockimg 
-bin/newimg 
-bin/raw2img 
-bin/show40 
-bin/show80 
-bin/unlockimg
-share/xgs/xgs40.fnt
-share/xgs/xgs80.fnt
-share/xgs/xgs.rom
-share/xgs/xgs.ram
-share/xgs/CHANGES 
-share/xgs/COMPATIBILITY 
-share/xgs/README 
-share/xgs/TO-DO
-share/xgs/README.FreeBSD
+bin/imgutil
+share/doc/xgs/CHANGES.TXT 
+share/doc/xgs/COMPAT.TXT 
+share/doc/xgs/INSTALL.TXT 
+share/doc/xgs/TODO.TXT
+share/doc/xgs/IWM-DOC.TXT
+share/doc/xgs/XGS-FAQ.TXT
+share/doc/xgs/README.FreeBSD
+lib/xgs/xgs40.fnt
+lib/xgs/xgs80.fnt
+lib/xgs/xgs.rom
+lib/xgs/xgs.ram
+
[snip]

If there are any problems, or errors, please email me. Thanks, Joel...

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705020319.NAA05455>