Update to 0.6.2
* All pkgsrc patches are included by upstream or target files are removed.
Changelog:
The most important changes between release 0.6.1 and 0.6.2 are:
When writing to mirrored RAM ranges, any dyntrans translations made in either the mirror or the mirrored ranges are now invalidated. This means that an emulated SGI O2 can now be used with up to 1 GB of RAM when running OpenBSD/sgi as a guest OS. Previously, 256 MB was the maximum amount of emulated RAM possible for the SGI O2.
A fix 2018-06-13 (between 0.6.0.1 and 0.6.0.2) for translation invalidation when using larger than 4 KB pages, which made HelenOS/malta run further, caused a regression which broke NetBSD/hpcmips (on VR4121 CPUs, which have 1 KB native page size). A bit of cleanup seems to have fixed this, so that both NetBSD/hpcmips and HelenOS/malta work now.
Cleanup: The MIPS processor emulation implemented in the "new framework", and the corresponding MIPS machine modes in the new framework, have been removed. (All meaningful MIPS emulation is in the old framework anyway.)
Documentation updates:
Each emulated machine now has a page of its own with the guest OSes or other software that may run in that mode, rather than just having a long unsorted list of guest OS installation instructions.
Less focus on the "new framework", more focus on the old framework where things actually work.
An introduction to using GXemul as a debugger.
A general overhaul to remove old stuff, fix errors, and make things easier to read.
2019-08-23 15:13:49 +02:00
|
|
|
# $NetBSD: Makefile,v 1.67 2019/08/23 13:13:49 ryoon Exp $
|
2005-03-30 02:30:44 +02:00
|
|
|
|
Update to 0.6.2
* All pkgsrc patches are included by upstream or target files are removed.
Changelog:
The most important changes between release 0.6.1 and 0.6.2 are:
When writing to mirrored RAM ranges, any dyntrans translations made in either the mirror or the mirrored ranges are now invalidated. This means that an emulated SGI O2 can now be used with up to 1 GB of RAM when running OpenBSD/sgi as a guest OS. Previously, 256 MB was the maximum amount of emulated RAM possible for the SGI O2.
A fix 2018-06-13 (between 0.6.0.1 and 0.6.0.2) for translation invalidation when using larger than 4 KB pages, which made HelenOS/malta run further, caused a regression which broke NetBSD/hpcmips (on VR4121 CPUs, which have 1 KB native page size). A bit of cleanup seems to have fixed this, so that both NetBSD/hpcmips and HelenOS/malta work now.
Cleanup: The MIPS processor emulation implemented in the "new framework", and the corresponding MIPS machine modes in the new framework, have been removed. (All meaningful MIPS emulation is in the old framework anyway.)
Documentation updates:
Each emulated machine now has a page of its own with the guest OSes or other software that may run in that mode, rather than just having a long unsorted list of guest OS installation instructions.
Less focus on the "new framework", more focus on the old framework where things actually work.
An introduction to using GXemul as a debugger.
A general overhaul to remove old stuff, fix errors, and make things easier to read.
2019-08-23 15:13:49 +02:00
|
|
|
DISTNAME= gxemul-0.6.2
|
2005-03-30 02:30:44 +02:00
|
|
|
CATEGORIES= emulators
|
2019-01-04 14:35:16 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gxemul/}
|
2005-03-30 02:30:44 +02:00
|
|
|
|
2008-05-25 23:20:07 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2019-01-04 14:35:16 +01:00
|
|
|
HOMEPAGE= http://gavare.se/gxemul/
|
Update gxemul to 0.6.0. Okay'ed by wiz@, in PR pkg/43296 by me.
---
The main change between release 0.4.7.2 and 0.6.0 is:
* Since late 2007, a complete rewrite of the emulator's base framework
has been going on. GXemul 0.6.0 is a very early release of the new
framework. So far, only the testm88k machine mode has been rewritten
to use the new framework, all other machine modes run in legacy mode
using the old framework (which is still included).
In other words: For most emulation modes, 0.6.0 will be exactly
like 0.4.7.2.
In addition to the new framework, a couple of other changes are
worth mentioning:
* Many unused, rarely used, and bogus emulation modes and features
were removed, to reduce the maintenance burden.
* Some operating systems listed on the guest OS page have had
new releases; the documentation has been updated to reflect this.
* New source code (but not the legacy part) is documented using
Doxygen comments, and there is a unit testing framework in place.
* There is now finally an install Makefile target, and the -j make
option can be used to parallelize builds.
Please read the HISTORY file for more details.
---
Also update pkgsrc files:
* update COMMENT and DESCR per the latest release note
* remove MAKE_JOBS_SAFE=no as mentioned in the above changes list.
2010-05-13 16:48:53 +02:00
|
|
|
COMMENT= Framework for full-system computer architecture emulation
|
2016-07-05 18:56:57 +02:00
|
|
|
LICENSE= modified-bsd
|
2005-03-30 02:30:44 +02:00
|
|
|
|
2008-05-26 04:13:14 +02:00
|
|
|
USE_TOOLS+= pax
|
|
|
|
|
Update gxemul to 0.6.0. Okay'ed by wiz@, in PR pkg/43296 by me.
---
The main change between release 0.4.7.2 and 0.6.0 is:
* Since late 2007, a complete rewrite of the emulator's base framework
has been going on. GXemul 0.6.0 is a very early release of the new
framework. So far, only the testm88k machine mode has been rewritten
to use the new framework, all other machine modes run in legacy mode
using the old framework (which is still included).
In other words: For most emulation modes, 0.6.0 will be exactly
like 0.4.7.2.
In addition to the new framework, a couple of other changes are
worth mentioning:
* Many unused, rarely used, and bogus emulation modes and features
were removed, to reduce the maintenance burden.
* Some operating systems listed on the guest OS page have had
new releases; the documentation has been updated to reflect this.
* New source code (but not the legacy part) is documented using
Doxygen comments, and there is a unit testing framework in place.
* There is now finally an install Makefile target, and the -j make
option can be used to parallelize builds.
Please read the HISTORY file for more details.
---
Also update pkgsrc files:
* update COMMENT and DESCR per the latest release note
* remove MAKE_JOBS_SAFE=no as mentioned in the above changes list.
2010-05-13 16:48:53 +02:00
|
|
|
USE_LANGUAGES= c c++
|
2005-03-30 02:30:44 +02:00
|
|
|
HAS_CONFIGURE= yes
|
2005-04-29 02:59:00 +02:00
|
|
|
BUILD_TARGET= build
|
2005-03-30 02:30:44 +02:00
|
|
|
|
2013-12-10 12:53:55 +01:00
|
|
|
LDFLAGS.SunOS+= -lsocket -lnsl
|
2012-06-23 21:23:32 +02:00
|
|
|
|
2008-01-03 20:58:38 +01:00
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/${PKGBASE}
|
2005-03-30 02:30:44 +02:00
|
|
|
|
|
|
|
do-install:
|
2008-01-03 20:58:38 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gxemul ${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/man/gxemul.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
Update gxemul to 0.6.0. Okay'ed by wiz@, in PR pkg/43296 by me.
---
The main change between release 0.4.7.2 and 0.6.0 is:
* Since late 2007, a complete rewrite of the emulator's base framework
has been going on. GXemul 0.6.0 is a very early release of the new
framework. So far, only the testm88k machine mode has been rewritten
to use the new framework, all other machine modes run in legacy mode
using the old framework (which is still included).
In other words: For most emulation modes, 0.6.0 will be exactly
like 0.4.7.2.
In addition to the new framework, a couple of other changes are
worth mentioning:
* Many unused, rarely used, and bogus emulation modes and features
were removed, to reduce the maintenance burden.
* Some operating systems listed on the guest OS page have had
new releases; the documentation has been updated to reflect this.
* New source code (but not the legacy part) is documented using
Doxygen comments, and there is a unit testing framework in place.
* There is now finally an install Makefile target, and the -j make
option can be used to parallelize builds.
Please read the HISTORY file for more details.
---
Also update pkgsrc files:
* update COMMENT and DESCR per the latest release note
* remove MAKE_JOBS_SAFE=no as mentioned in the above changes list.
2010-05-13 16:48:53 +02:00
|
|
|
.for f in README HISTORY LICENSE
|
2008-01-03 20:58:38 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
2005-03-30 02:30:44 +02:00
|
|
|
.endfor
|
2008-05-26 04:13:14 +02:00
|
|
|
cd ${WRKSRC}/doc && pax -rwppm . ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
2005-03-30 02:30:44 +02:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.gxemul
|
2005-05-31 13:21:41 +02:00
|
|
|
PKG_SUPPORTED_OPTIONS= x11
|
2005-05-31 12:01:36 +02:00
|
|
|
PKG_SUGGESTED_OPTIONS= x11
|
|
|
|
|
2005-03-30 02:30:44 +02:00
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
2005-05-31 13:21:41 +02:00
|
|
|
.if !empty(PKG_OPTIONS:Mx11)
|
2005-03-30 02:30:44 +02:00
|
|
|
GLOBAL_LDFLAGS= -L${X11BASE}/lib ${COMPILER_RPATH_FLAG}${X11BASE}/lib
|
2005-12-05 21:49:47 +01:00
|
|
|
SUBST_CLASSES+= x11
|
2018-07-04 15:40:07 +02:00
|
|
|
SUBST_STAGE.x11= pre-configure
|
2005-03-30 02:30:44 +02:00
|
|
|
SUBST_FILES.x11= configure
|
2006-07-05 23:45:05 +02:00
|
|
|
SUBST_SED.x11= -e 's|-L/usr/X11R6/lib|${GLOBAL_LDFLAGS:Q}|g'
|
|
|
|
SUBST_SED.x11+= -e 's|/usr/X11R6|${X11BASE}|g'
|
2006-03-06 23:03:46 +01:00
|
|
|
SUBST_MESSAGE.x11= Fixing X linking flags.
|
2005-03-30 02:30:44 +02:00
|
|
|
|
2007-02-07 21:00:49 +01:00
|
|
|
.include "../../x11/libX11/buildlink3.mk"
|
2006-07-27 20:14:44 +02:00
|
|
|
.endif
|
|
|
|
|
2005-03-30 02:30:44 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|