pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Remove wip/xace
Module Name: pkgsrc-wip
Committed By: Hauke Fath <hauke%NetBSD.org@localhost>
Pushed By: hauke
Date: Wed Apr 30 23:53:04 2025 +0200
Changeset: c8db1e433bc7b4397608808bd53d2d9b4726ea09
Removed Files:
xace/DESCR
xace/Makefile
xace/PLIST
xace/distinfo
xace/patches/patch-aa
Log Message:
Remove wip/xace
It packages an old version, upstream is dead, and a package of a newer
fork is in emulators/xace.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c8db1e433bc7b4397608808bd53d2d9b4726ea09
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
xace/DESCR | 8 ---
xace/Makefile | 44 -------------
xace/PLIST | 5 --
xace/distinfo | 5 --
xace/patches/patch-aa | 168 --------------------------------------------------
5 files changed, 230 deletions(-)
diffs:
diff --git a/xace/DESCR b/xace/DESCR
deleted file mode 100644
index f2d450b400..0000000000
--- a/xace/DESCR
+++ /dev/null
@@ -1,8 +0,0 @@
-This emulator is made by Edward Patel. The Jupiter ACE
-is the real *outsider* micro from the 80's. Instead of having
-BASIC as the programming language it had FORTH. It was designed
-by two guys how had worked at Sinclair Research Ltd and was
-responsible for the famous Sinclair ZX81 and ZX Spectrum.
-They are Steven Vickers and Richard Altwasser.
-For a FAQ (1999) see http://users.aol.com/autismuk/ace/faq.htm
-See also: http://www.jupiter-ace.co.uk/
diff --git a/xace/Makefile b/xace/Makefile
deleted file mode 100644
index 951f9373e3..0000000000
--- a/xace/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-# $NetBSD: Makefile,v 1.9 2012/10/07 19:06:05 asau Exp $
-#
-
-DISTNAME= xace-0.4
-PKGREVISION= 2
-CATEGORIES= emulators
-MASTER_SITES= http://hem.passagen.se/tiletech/
-
-MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= ${MASTER_SITES}ace.html
-COMMENT= Jupiter Ace emulator
-
-EXTR_PREFIX= .tar.gz
-USE_IMAKE= YES
-
-SUBST_CLASSES+= prefix
-SUBST_MESSAGE.prefix= Configuring to use PREFIX.
-SUBST_STAGE.prefix= post-patch
-SUBST_FILES.prefix= xmain.c
-SUBST_SED.prefix= -e "s,XXXPREFIXXXX,${PREFIX},g"
-
-.include "../../mk/bsd.prefs.mk"
-
-.if ${MACHINE_ARCH} == "hpcmips"
-SUBST_CLASSES+= scale
-SUBST_MESSAGE.prefix= Fixing scale.
-SUBST_STAGE.scale= post-patch
-SUBST_FILES.scale= Imakefile
-SUBST_SED.scale= -e 's,SCALE=2,SCALE=1,'
-.endif
-
-INSTALLATION_DIRS= bin
-
-do-install:
- ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/xace
- ${INSTALL_DATA} ${WRKSRC}/ace.rom ${DESTDIR}${PREFIX}/share/xace
- ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/xace
- ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/xace
- ${INSTALL_DATA} ${WRKSRC}/forth.txt ${DESTDIR}${PREFIX}/share/doc/xace
- ${INSTALL_PROGRAM} ${WRKSRC}/xace ${DESTDIR}${PREFIX}/bin
-
-.include "../../x11/libXt/buildlink3.mk"
-.include "../../x11/libXext/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/xace/PLIST b/xace/PLIST
deleted file mode 100644
index 91aa9534da..0000000000
--- a/xace/PLIST
+++ /dev/null
@@ -1,5 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2005/12/03 17:20:36 bencollver Exp $
-bin/xace
-share/doc/xace/README
-share/doc/xace/forth.txt
-share/xace/ace.rom
diff --git a/xace/distinfo b/xace/distinfo
deleted file mode 100644
index f935f00501..0000000000
--- a/xace/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.1.1.1 2005/12/03 17:20:36 bencollver Exp $
-
-RMD160 (xace-0.4.tar.gz) = 3f1b17c319cf36e23508527bc61ab73b0d6316f4
-Size (xace-0.4.tar.gz) = 37417 bytes
-SHA1 (patch-aa) = da18523d3eb902af5c78eafbe977b5ebd6c7d64e
diff --git a/xace/patches/patch-aa b/xace/patches/patch-aa
deleted file mode 100644
index e40de1f018..0000000000
--- a/xace/patches/patch-aa
+++ /dev/null
@@ -1,168 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2005/12/03 17:20:36 bencollver Exp $
-
---- xmain.c.orig 1999-02-15 04:54:15.000000000 -0800
-+++ xmain.c
-@@ -87,6 +87,8 @@ int screen_dirty;
- int hsize=256*SCALE,vsize=192*SCALE;
- volatile int interrupted=0;
- int scrn_freq=2;
-+int depth;
-+int bits_per_pixel;
-
- unsigned char chrmap_old[24*32],chrmap[24*32];
- unsigned char himap_old[192*32],himap[192*32];
-@@ -175,7 +177,7 @@ unsigned char *x;
- int i;
- FILE *in;
-
-- if((in=fopen("ace.rom", "rb"))!=NULL)
-+ if((in=fopen("XXXPREFIXXXX/share/xace/ace.rom", "rb"))!=NULL)
- {
- fread(x,1,8192,in);
- fclose(in);
-@@ -516,10 +518,14 @@ char **argv;
-
- static int image_init()
- {
-+ depth=DefaultDepth(display,screen);
-+ bits_per_pixel = depth;
-+ if (depth == 24)
-+ bits_per_pixel += 8;
- #ifdef MITSHM
- if(mitshm){
- ximage=XShmCreateImage(display,DefaultVisual(display,screen),
-- DefaultDepth(display,screen),ZPixmap,NULL,&xshminfo,
-+ depth,ZPixmap,NULL,&xshminfo,
- hsize,vsize);
- if(!ximage){
- fputs("Couldn't create X image\n",stderr);
-@@ -546,7 +552,7 @@ static int image_init()
- #endif
- {
- ximage=XCreateImage(display,DefaultVisual(display,screen),
-- DefaultDepth(display,screen),ZPixmap,0,NULL,hsize,vsize,
-+ depth,ZPixmap,0,NULL,hsize,vsize,
- 8,0);
- if(!ximage){
- perror("XCreateImage failed");
-@@ -560,7 +566,8 @@ static int image_init()
- scrn_freq=rrnoshm;
- }
- linelen=ximage->bytes_per_line/SCALE;
-- if(linelen!=32 && linelen!=256 && linelen!=512)
-+/* if(linelen!=32 && linelen!=256 && linelen!=512) */
-+ if (linelen != 32 * bits_per_pixel)
- fprintf(stderr,"Line length=%d; expect strange results!\n",linelen);
- #if 0
- if(linelen==32 &&
-@@ -591,10 +598,10 @@ char **argv;
-
- #ifdef WHITE_ON_BLACK
- icon=XCreatePixmapFromBitmapData(display,root,icon_bits,
-- icon_width,icon_height,white,black,DefaultDepth(display,screen));
-+ icon_width,icon_height,white,black,depth);
- #else
- icon=XCreatePixmapFromBitmapData(display,root,icon_bits,
-- icon_width,icon_height,black,white,DefaultDepth(display,screen));
-+ icon_width,icon_height,black,white,depth);
- #endif
- apptext="xace";
- xsh.flags=PSize|PMinSize|PMaxSize;
-@@ -1515,6 +1522,8 @@ refresh(){
- int pasteol;
- int xmin,ymin,xmax,ymax;
- int ofs;
-+ unsigned short *t16;
-+ unsigned int *t24;
-
- #ifdef SPOOLING_HOOK
- if (spoolFile) {
-@@ -1578,42 +1587,68 @@ refresh(){
- {
- d=cptr[c*8+b]; if(inv) d^=255;
-
-- if(linelen==32)
-- {
-+ switch (depth) {
-+ case 1:
- /* 1-bit mono */
- /* XXX doesn't support SCALE>1 */
- image[(y*8+b)*linelen+x]=~d;
-- }
-- else
-- {
-+ break;
-+ case 8:
- /* assume 8-bit */
-- unsigned short *t;
-- tmp=image+((y*8+b)*hsize+x*8)*SCALE*(linelen==512?2:1);
-- t = (unsigned short*)tmp;
-+ tmp=image+((y*8+b)*hsize+x*8)*SCALE;
- mask=256;
-- while((mask>>=1))
-+ while((mask>>=1)) {
- #if SCALE<2
-- {
- /* i.e. actual size */
-- if (linelen==512)
-- *t++=(d&mask)?black:white;
-- else
- *tmp++=(d&mask)?black:white;
-- }
- #else
-- {
- m=((d&mask)?black:white);
- for(j=0;j<SCALE;j++)
- for(k=0;k<SCALE;k++)
-- if (linelen==512)
-- t[j*hsize+k]=m;
-- else
- tmp[j*hsize+k]=m;
- tmp+=SCALE;
-- t+=SCALE;
-+#endif
-+ }
-+ break;
-+ case 16:
-+ tmp=image+((y*8+b)*hsize+x*8)*SCALE*2;
-+ t16 = (unsigned short*)tmp;
-+ mask=256;
-+ while((mask>>=1))
-+#if SCALE<2
-+ /* i.e. actual size */
-+ *t16++=(d&mask)?black:white;
-+#else
-+ {
-+ m=((d&mask)?black:white);
-+ for(j=0;j<SCALE;j++)
-+ for(k=0;k<SCALE;k++)
-+ t16[j*hsize+k]=m;
-+ t16+=SCALE;
-+ }
-+#endif
-+ break;
-+ case 24:
-+ tmp=image+((y*8+b)*hsize+x*8)*SCALE*4;
-+ t24 = (unsigned int*)tmp;
-+ mask=256;
-+ while((mask>>=1))
-+#if SCALE<2
-+ /* i.e. actual size */
-+ *t24++=(d&mask)?black:white;
-+#else
-+ {
-+ m=((d&mask)?black:white);
-+ for(j=0;j<SCALE;j++)
-+ for(k=0;k<SCALE;k++)
-+ t24[j*hsize+k]=m;
-+ t24+=SCALE;
- }
- #endif
-- }
-+ break;
-+ default:
-+ exit(1);
-+ }
- }
- }
- }
Home |
Main Index |
Thread Index |
Old Index