diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2011-05-02 08:56:41 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2011-05-02 08:56:41 +0000 |
commit | 9be9c4c1dafe17e16a81322515a375b6574e2bb7 (patch) | |
tree | 9ae73276b422d1766d18a0fdeeb964c5f2073690 /graphics/s3switch | |
parent | d140c906251172c4ac876b6be49313c67918650f (diff) | |
download | ports-9be9c4c1dafe17e16a81322515a375b6574e2bb7.tar.gz ports-9be9c4c1dafe17e16a81322515a375b6574e2bb7.zip |
Remove unmaintained expired ports from graphics
2011-05-01 graphics/cqcam: Upstream disapear and distfile is no more available
2011-05-01 graphics/dc3play: Upstream disapear and distfile is no more available
2011-05-01 graphics/dore: Upstream disapear and distfile is no more available
2011-05-01 graphics/fig2pstricks: Upstream disapear and distfile is no more available
2011-05-01 graphics/geist: Upstream disapear and distfile is no more available
2011-05-01 graphics/gfont: Upstream disapear and distfile is no more available
2011-05-01 graphics/gimp-greycstoration: Superseded by graphics/gimp-gmic-plugin
2011-05-01 graphics/glean: Upstream disapear and distfile is no more available
2011-05-01 graphics/gltk: Upstream disapear and distfile is no more available
2011-05-01 graphics/gridpix: Upstream disapear and distfile is no more available
2011-05-01 graphics/gtkfig: Upstream disapear and distfile is no more available
2011-05-01 graphics/gview: Upstream disapear and distfile is no more available
2011-05-01 graphics/icod: Upstream disapear and distfile is no more available
2011-05-01 graphics/isreal: Upstream disapear and distfile is no more available
2011-05-01 graphics/oglext: Upstream disapear and distfile is no more available
2011-05-01 graphics/ophoto: Upstream disapear and distfile is no more available
2011-05-01 graphics/py-gdchart: Upstream disapear and distfile is no more available
2011-05-01 graphics/py-gdchart2: Upstream disapear and distfile is no more available
2011-05-01 graphics/qglviewer: Upstream disapear and distfile is no more available
2011-05-01 graphics/robot: Upstream disapear and distfile is no more available
2011-05-01 graphics/s3switch: Upstream disapear and distfile is no more available
2011-05-01 graphics/sced: Upstream disapear and distfile is no more available
2011-05-01 graphics/shim: Upstream disapear and distfile is no more available
2011-05-01 graphics/snx101util: Upstream disapear and distfile is no more available
2011-05-01 graphics/tcm: Upstream disapear and distfile is no more available
2011-05-01 graphics/vertex: Upstream disapear and distfile is no more available
2011-05-01 graphics/vvv: Upstream disapear and distfile is no more available
2011-05-01 graphics/xdl: Upstream disapear and distfile is no more available
2011-05-01 graphics/xmms-goom: Upstream disapear and distfile is no more available
2011-05-01 graphics/xmms-infinity: Upstream disapear and distfile is no more available
Notes
Notes:
svn path=/head/; revision=273463
Diffstat (limited to 'graphics/s3switch')
-rw-r--r-- | graphics/s3switch/Makefile | 35 | ||||
-rw-r--r-- | graphics/s3switch/distinfo | 3 | ||||
-rw-r--r-- | graphics/s3switch/files/patch-Makefile | 15 | ||||
-rw-r--r-- | graphics/s3switch/files/patch-s3switch.1x | 14 | ||||
-rw-r--r-- | graphics/s3switch/files/patch-s3switch.c | 240 | ||||
-rw-r--r-- | graphics/s3switch/pkg-descr | 4 |
6 files changed, 0 insertions, 311 deletions
diff --git a/graphics/s3switch/Makefile b/graphics/s3switch/Makefile deleted file mode 100644 index b28fac562175..000000000000 --- a/graphics/s3switch/Makefile +++ /dev/null @@ -1,35 +0,0 @@ -# New ports collection makefile for: s3switch -# Date created: March 16, 2003 -# Whom: Bruce M Simpson <bms@FreeBSD.org> -# -# $FreeBSD$ -# - -PORTNAME= s3switch -PORTVERSION= 0.1 -PORTREVISION= 3 -CATEGORIES= graphics -MASTER_SITES= http://www.probo.com/timr/ -DISTNAME= s3ssrc - -MAINTAINER= ports@FreeBSD.org -COMMENT= Enable TV-out on S3 graphics cards - -DEPRECATED= Upstream disapear and distfile is no more available -EXPIRATION_DATE= 2011-05-01 - -USE_ZIP= yes -USE_GMAKE= yes -NO_WRKSUBDIR= yes -MAKE_ENV+= FREEBSD=1 - -MAN1= s3switch.1 -PLIST_FILES= bin/s3switch - -ONLY_FOR_ARCHS= i386 - -do-install: - ${INSTALL_PROGRAM} ${WRKDIR}/s3switch ${PREFIX}/bin - ${INSTALL_MAN} ${WRKDIR}/s3switch.1x ${PREFIX}/man/man1/s3switch.1 - -.include <bsd.port.mk> diff --git a/graphics/s3switch/distinfo b/graphics/s3switch/distinfo deleted file mode 100644 index 0de2ce77d5dc..000000000000 --- a/graphics/s3switch/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (s3ssrc.zip) = 1328b070343ac79c5ed4c613a1113754 -SHA256 (s3ssrc.zip) = 1d60d502b1bd7362c253607c1da3d9e750781d0d2c326b4da79ba26c1d61aaa2 -SIZE (s3ssrc.zip) = 8854 diff --git a/graphics/s3switch/files/patch-Makefile b/graphics/s3switch/files/patch-Makefile deleted file mode 100644 index 3ea2243a09f9..000000000000 --- a/graphics/s3switch/files/patch-Makefile +++ /dev/null @@ -1,15 +0,0 @@ ---- Makefile.orig Sun Mar 16 03:08:16 2003 -+++ Makefile Sun Mar 16 03:08:38 2003 -@@ -1,5 +1,11 @@ - CC = gcc -g - -+ifdef FREEBSD -+LRMIOBJ= -+else -+LRMIOBJ=lrmi.o -+endif -+ - all: s3switch - --s3switch: s3switch.o lrmi.o -+s3switch: s3switch.o $(LRMIOBJ) diff --git a/graphics/s3switch/files/patch-s3switch.1x b/graphics/s3switch/files/patch-s3switch.1x deleted file mode 100644 index 4a0b692baf43..000000000000 --- a/graphics/s3switch/files/patch-s3switch.1x +++ /dev/null @@ -1,14 +0,0 @@ ---- s3switch.1x.orig Wed Sep 11 23:21:19 2002 -+++ s3switch.1x Sun Mar 16 03:49:59 2003 -@@ -55,8 +55,10 @@ - .I S3switch - will not allow you to activate devices which are not connected, on those - chips that are able to detect this. --.SH AUTHOR -+.SH AUTHORS - Tim Roberts (timr@probo.com) -+.P -+Bruce M Simpson <bms@spc.org> (FreeBSD Port) - .SH "SEE ALSO" - .BR X(1x), - .BR Xserver(1x) diff --git a/graphics/s3switch/files/patch-s3switch.c b/graphics/s3switch/files/patch-s3switch.c deleted file mode 100644 index b8ec3c13b278..000000000000 --- a/graphics/s3switch/files/patch-s3switch.c +++ /dev/null @@ -1,240 +0,0 @@ ---- s3switch.c.orig Wed Sep 11 23:25:33 2002 -+++ s3switch.c Sun Mar 16 03:15:54 2003 -@@ -1,7 +1,37 @@ - // Simple utility to switch a Savage board between CRT/LCD devices. - // T. N. Roberts, 99-Aug-26. - --// Linux x86 only. -+// Ported to FreeBSD/i386 by Bruce M Simpson <bms@spc.org> -+ -+#if defined(__FreeBSD__) -+ -+#include <sys/types.h> -+#include <machine/cpufunc.h> -+#include <machine/sysarch.h> -+#include <machine/vm86.h> -+#include <stdlib.h> -+#include <stdio.h> -+ -+#define OUTB(val,port) outb(port,val) -+#define INB(port) inb(port) -+#define IOPERM(x,y,z) i386_set_ioperm(x,y,z) -+ -+typedef struct vm86_intcall_args INTCALL_ARGS_T; -+#define EAX vmf.eax.r_ex -+#define EBX vmf.ebx.r_ex -+#define ECX vmf.ecx.r_ex -+#define EDX vmf.edx.r_ex -+ -+#define INTCALL_INIT() -+ -+static __inline -+INTCALL(int intnum, INTCALL_ARGS_T *args) -+{ -+ args->intnum = intnum; -+ return(!i386_vm86(VM86_INTCALL, args)); -+} -+ -+#else /* Linux */ - - #include <stdio.h> - #define extern -@@ -10,6 +40,30 @@ - - #include "lrmi.h" - -+#define OUTB(val,port) outb(val,port) -+#define INB(port) inb(port) -+#define IOPERM(x,y,z) ioperm(x,y,z) -+ -+typedef struct LRMI_regs INTCALL_ARGS_T; -+#define EAX eax -+#define EBX ebx -+#define ECX ecx -+#define EDX edx -+ -+#define INTCALL_INIT() \ -+ do { \ -+ if (!LRMI_init()) \ -+ return (1); \ -+ } while (0) -+ -+static __inline -+INTCALL(int intnum, INTCALL_ARGS_T *args) -+{ -+ return(LRMI_int(intnum, args)); -+} -+ -+#endif /* Linux */ -+ - // Usage: - // s3switch [-q] [crt|lcd|both] - -@@ -97,10 +151,10 @@ - { - /* Allow or disallow access to I/O ports. */ - -- ioperm( 0x40, 4, enable ); -- ioperm( 0x61, 1, enable ); -- ioperm( 0x80, 1, enable ); -- ioperm( 0x3b0, 0x30, enable ); -+ IOPERM( 0x40, 4, enable ); -+ IOPERM( 0x61, 1, enable ); -+ IOPERM( 0x80, 1, enable ); -+ IOPERM( 0x3b0, 0x30, enable ); - } - - -@@ -109,10 +163,10 @@ - { - // Figure out what kind of Savage it is. - -- outb( 0x2d, 0x3d4 ); -- gPCIid = inb( 0x3d5 ) << 8; -- outb( 0x2e, 0x3d4 ); -- gPCIid |= inb( 0x3d5 ); -+ OUTB( 0x2d, 0x3d4 ); -+ gPCIid = INB( 0x3d5 ) << 8; -+ OUTB( 0x2e, 0x3d4 ); -+ gPCIid |= INB( 0x3d5 ); - - switch( gPCIid ) { - case PCI_CHIP_SAVAGE3D: -@@ -157,21 +211,21 @@ - - if( ChipClass == S3_SAVAGEMXIX ) - { -- outb( 0xc0, 0x3d4 ); -- jTvFormat = inb( 0x3d5 ); -- outb( 0x6b, 0x3d4 ); -- jDevices = inb( 0x3d5 ); -+ OUTB( 0xc0, 0x3d4 ); -+ jTvFormat = INB( 0x3d5 ); -+ OUTB( 0x6b, 0x3d4 ); -+ jDevices = INB( 0x3d5 ); - } - else - { -- outb( 0x6b, 0x3d4 ); -- jTvFormat = inb( 0x3d5 ); -- outb( 0x6d, 0x3d4 ); -- jDevices = inb( 0x3d5 ); -+ OUTB( 0x6b, 0x3d4 ); -+ jTvFormat = INB( 0x3d5 ); -+ OUTB( 0x6d, 0x3d4 ); -+ jDevices = INB( 0x3d5 ); - } - -- outb( 0x79, 0x3d4 ); -- cr79 = inb( 0x3d5 ); -+ OUTB( 0x79, 0x3d4 ); -+ cr79 = INB( 0x3d5 ); - - //printf( "Device ID: %04x\n", gPCIid); - -@@ -207,24 +261,23 @@ - unsigned short - set_active_device( int iDevice ) - { -- struct LRMI_regs r; -+ INTCALL_ARGS_T sa; - int iResult = 0; - -- if (!LRMI_init()) -- return 1; -+ INTCALL_INIT(); - - /* Go set the active device. */ - -- memset( &r, 0, sizeof(r) ); -+ memset(&sa, 0, sizeof(sa)); - -- r.eax = 0x4f14; // S3 extended functions -- r.ebx = 0x0003; // set active device -- r.ecx = iDevice; -+ sa.EAX = 0x4F14; -+ sa.EBX = 0x0003; -+ sa.ECX = iDevice; - - if( ChipClass == S3_SAVAGEMXIX ) -- r.ecx |= DUO_ON; -+ sa.ECX |= DUO_ON; - -- iResult = LRMI_int( 0x10, &r ); -+ iResult = INTCALL(0x10, &sa); - - if( !iResult ) - { -@@ -232,7 +285,7 @@ - return 1; - } - -- if ( (r.eax & 0xffff) != 0x4f ) -+ if ( (sa.EAX & 0xffff) != 0x4f ) - { - fprintf( stderr, "BIOS returned error code.\n" ); - return 1; -@@ -246,22 +299,21 @@ - unsigned short - set_tv_state( int state ) - { -- struct LRMI_regs r; -+ INTCALL_ARGS_T sa; - int iResult = 0; - -- if (!LRMI_init()) -- return 1; -+ INTCALL_INIT(); - - /* And go set the TV state. */ - -- memset( &r, 0, sizeof(r) ); -+ memset(&sa, 0, sizeof(sa)); - -- r.eax = 0x4f14; // S3 extended functions -- r.ebx = 0x0007; // set tv state -- r.ecx = state; -- r.edx = TV_FORMAT_MASK; -+ sa.EAX = 0x4F14; -+ sa.EBX = 0x0007; -+ sa.ECX = state; -+ sa.EDX = TV_FORMAT_MASK; - -- iResult = LRMI_int( 0x10, &r ); -+ iResult = INTCALL(0x10, &sa); - - if( !iResult ) - { -@@ -269,7 +321,7 @@ - return 1; - } - -- if ( (r.eax & 0xffff) != 0x4f ) -+ if ( (sa.EAX & 0xffff) != 0x4f ) - { - fprintf( stderr, "BIOS returned error code.\n" ); - return 1; -@@ -348,9 +400,9 @@ - if( (cr79 == 5) || (cr79 == 8) ) - { - cr79 = (cr79 == 5) ? 8 : 0x0e; -- ioperm( 0x3d4, 2, 1 ); -+ IOPERM( 0x3d4, 2, 1 ); - outw( (cr79 << 8) | 0x79, 0x3d4 ); -- ioperm( 0x3d4, 2, 0 ); -+ IOPERM( 0x3d4, 2, 0 ); - } - } - else if( !(jDevices & LCD_ACTIVE) && (newstate & LCD_ACTIVE) ) -@@ -360,9 +412,9 @@ - if( (cr79 == 8) || (cr79 == 0xe) ) - { - cr79 = (cr79 == 8) ? 5 : 8; -- ioperm( 0x3d4, 2, 1 ); -+ IOPERM( 0x3d4, 2, 1 ); - outw( (cr79 << 8) | 0x79, 0x3d4 ); -- ioperm( 0x3d4, 2, 0 ); -+ IOPERM( 0x3d4, 2, 0 ); - } - } - } diff --git a/graphics/s3switch/pkg-descr b/graphics/s3switch/pkg-descr deleted file mode 100644 index 03d055e241e1..000000000000 --- a/graphics/s3switch/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -This is a utility used to enable the TV output on S3 Savage based cards, -which I have ported to run under FreeBSD as well as Linux. - -It must be run as root, though I leave you to do this at your discretion. |