Remove expired ports:

2010-11-01 ftp/kwebget: Development has ceased.
2010-11-01 multimedia/clive-utils: development has ceased; use multimedia/umph instead
2010-11-01 ports-mgmt/barry: Development has ceased.
2010-11-01 www/wb0: Development has ceased.
This commit is contained in:
Renato Botelho 2010-11-04 15:20:27 +00:00
parent 6c849391e7
commit d1cb5fbcdc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=264087
30 changed files with 4 additions and 662 deletions

4
MOVED
View File

@ -4648,3 +4648,7 @@ www/firefox3-devel|www/firefox|2010-10-24|Upstream development focuses on Firefo
editors/vim5||2010-10-26|Has expired: Outdated, superceded by editors/vim7 and has security issues
sysutils/sfdisk||2010-10-27|Has expired: All supported freebsd versions now have sade, sfdisk 0.2 is outdated
sysutils/synergy-plus|sysutils/synergy|2010-11-01|Synergy+ and Synergy have merged
ftp/kwebget||2010-11-04|Has expired: Development has ceased.
multimedia/clive-utils||2010-11-04|Has expired: development has ceased; use multimedia/umph instead
ports-mgmt/barry||2010-11-04|Has expired: Development has ceased.
www/wb0||2010-11-04|Has expired: Development has ceased.

View File

@ -52,7 +52,6 @@
SUBDIR += kbear
SUBDIR += kftpgrabber
SUBDIR += kpum
SUBDIR += kwebget
SUBDIR += lftp
SUBDIR += linux-curl
SUBDIR += linux-f10-curl

View File

@ -1,37 +0,0 @@
# New ports collection makefile for: kwebget
# Date created: 21 September 2001
# Whom: David <ddavid_3@yahoo.com>
#
# $FreeBSD$
#
PORTNAME= kwebget
PORTVERSION= 0.8.1
PORTREVISION= 7
CATEGORIES= ftp kde
MASTER_SITES= http://www.kpage.de/download/
DIST_SUBDIR= KDE
MAINTAINER= ports@FreeBSD.org
COMMENT= A KDE frontend to wget
RUN_DEPENDS= ${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget
DEPRECATED= Development has ceased.
EXPIRATION_DATE= 2010-11-01
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_BZIP2= yes
USE_KDELIBS_VER=3
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:22
post-patch:
@${REINPLACE_CMD} -e 's|-O2||g ; \
s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
@${REINPLACE_CMD} -e \
's|$$(LIBSOCKET)$$|$$(LIBSOCKET) $$(LIBPTHREAD)|g' \
${WRKSRC}/kwebget/Makefile.in
.include <bsd.port.mk>

View File

@ -1,3 +0,0 @@
MD5 (KDE/kwebget-0.8.1.tar.bz2) = 0143a6e092da11000bafe6c71912247c
SHA256 (KDE/kwebget-0.8.1.tar.bz2) = 8446c73715ddd6da0ac1a8d63c2a18e723115be3c39c8551914870f962a6b301
SIZE (KDE/kwebget-0.8.1.tar.bz2) = 990308

View File

@ -1,11 +0,0 @@
--- kwebget/kwebget.cpp.orig Sat Oct 18 18:26:29 2003
+++ kwebget/kwebget.cpp Sat Oct 18 18:26:50 2003
@@ -15,6 +15,8 @@
* *
***************************************************************************/
+#include <stdlib.h>
+
#include "kwebget.h"
#include "../pics/bg.xpm"

View File

@ -1,8 +0,0 @@
KWebGet is a frontend to the great 'wget'.
It comes with nearly the same functionallity, but the
user will not have to type such long commandline-arguments.
It can be used to download single files, or to download
entire websites, which can be browsed offline.
WWW: http://www.kpage.de/en/kwebget/content.html

View File

@ -1,17 +0,0 @@
bin/kwebget
share/applnk/Applications/kwebget.desktop
share/doc/HTML/en/kwebget/common
share/doc/HTML/en/kwebget/index.cache.bz2
share/doc/HTML/en/kwebget/index.docbook
share/icons/locolor/16x16/apps/kwebget.png
share/icons/locolor/32x32/apps/kwebget.png
@dirrmtry share/icons/locolor/32x32/apps
@dirrmtry share/icons/locolor/32x32
@dirrmtry share/icons/locolor/16x16/apps
@dirrmtry share/icons/locolor/16x16
@dirrmtry share/icons/locolor
@dirrmtry share/icons/hicolor/32x32
@dirrm share/doc/HTML/en/kwebget
@dirrmtry share/doc/HTML/en
@dirrmtry share/applnk/Applications
@dirrmtry share/applnk

View File

@ -30,7 +30,6 @@
SUBDIR += cheese
SUBDIR += clipgrab
SUBDIR += clive
SUBDIR += clive-utils
SUBDIR += clive1
SUBDIR += clutter-gst
SUBDIR += cuse4bsd-kmod

View File

@ -1,55 +0,0 @@
# Ports collection makefile for: clive-utils
# Date created: 7 February 2009
# Whom: bf <bf2006a@yahoo.com>
#
# $FreeBSD$
#
PORTNAME= clive-utils
PORTVERSION= 2.1.6
PORTREVISION= 2
CATEGORIES= multimedia net perl5
MASTER_SITES= GOOGLE_CODE
DIST_SUBDIR= clive
MAINTAINER= ports@FreeBSD.org
COMMENT= Passwords, RSS parsing, and link extraction for clive
DEPRECATED= development has ceased; use multimedia/umph instead
EXPIRATION_DATE= 2010-11-01
IGNORE= broken due to changes at youtube
NO_BUILD= yes
USE_PERL5_RUN= 5.8.2+
USE_BZIP2= yes
USE_GMAKE= yes
RUN_DEPENDS+= clive>=2.0:${PORTSDIR}/multimedia/clive \
p5-Crypt-PasswdMD5>=1.3:${PORTSDIR}/security/p5-Crypt-PasswdMD5 \
p5-Crypt-Twofish>=2.12:${PORTSDIR}/security/p5-Crypt-Twofish \
p5-XML-RSS-LibXML>=0.30.02:${PORTSDIR}/textproc/p5-XML-RSS-LibXML \
p5-HTML-Strip>=1.06:${PORTSDIR}/www/p5-HTML-Strip \
p5-Tk>=804.028.501:${PORTSDIR}/x11-toolkits/p5-Tk
PLIST_FILES= bin/clivefeed bin/clivepass bin/clivescan
OPTIONS= PASTE "Enable pasting of URLs from X clipboard" Off \
FONTDIALOG "Enable Font Dialog support" Off \
MANPAGES "Install manual pages" On
.include <bsd.port.pre.mk>
.ifdef WITH_PASTE
RUN_DEPENDS+= p5-Clipboard>=0.09:${PORTSDIR}/x11/p5-Clipboard
.endif
.ifdef WITH_FONTDIALOG
RUN_DEPENDS+= p5-Tk-FontDialog>=0.15:${PORTSDIR}/x11-toolkits/p5-Tk-FontDialog
.endif
.ifdef WITH_MANPAGES && !defined(NO_INSTALL_MANPAGES)
MAKE_ENV= WITH_MAN=yes
MAN1= clivefeed.1 clivepass.1 clivescan.1
.endif
.include <bsd.port.post.mk>

View File

@ -1,3 +0,0 @@
MD5 (clive/clive-utils-2.1.6.tar.bz2) = 4d63064605063bf882d0166441ee997a
SHA256 (clive/clive-utils-2.1.6.tar.bz2) = 9f309a91c3b0190c382c41b3b0baf38ec6e9c754dc1e1e3b034a23914cceed51
SIZE (clive/clive-utils-2.1.6.tar.bz2) = 20995

View File

@ -1,34 +0,0 @@
--- Makefile.orig 2009-03-25 12:31:53.000000000 +0200
+++ Makefile 2009-03-25 12:32:25.000000000 +0200
@@ -1,26 +1,21 @@
# GNU Makefile
-SHELL = /bin/sh
-
-prefix = $(HOME)
+prefix = $(PREFIX)
bindir = $(prefix)/bin
datarootdir = $(prefix)/share
datadir = $(datarootdir)
-mandir = $(datarootdir)/man
+mandir = $(MANPREFIX)/man
man1dir = $(mandir)/man1
-INSTALL = install -c
-INSTALL_D = install -d
-INSTALL_M = install -c -m 444
+INSTALL = $(BSD_INSTALL_SCRIPT)
+INSTALL_D = mkdir -p
+INSTALL_M = $(BSD_INSTALL_MAN)
RM = rm -f
PERL = perl
POD2MAN = pod2man
AWK = awk
TR = tr
-WITH_MAN = yes
-WITH_CHECK = yes
-
.PHONY: all checks
all: checks

View File

@ -1,17 +0,0 @@
clive-utils contains additional utilities that can be used together with
clive(1) (Historically, these utilities were part of clive(1) 1.x and were
written in Python/Newt; they have now been rewritten in Perl/Tk to replace
the features that were removed in clive 2.0):
-clivefeed(1), a utility that parses RSS feeds containing video page links
and uses clive(1) to extract them;
-clivescan(1), a utility that scans video pages for video links and uses
clive(1) to extract them; and
-clivepass(1), a utility that can be used to create and change passwords
for websites used by clive(1). The passwords are encrypted and
saved along with the username information. Access is restricted
by using a global passphrase.
WWW: http://code.google.com/p/clive-utils/

View File

@ -3,7 +3,6 @@
COMMENT = Ports for managing, installing and developing FreeBSD ports and packages
SUBDIR += barry
SUBDIR += bpkg
SUBDIR += bpm
SUBDIR += distilator

View File

@ -1,46 +0,0 @@
# New ports collection makefile for: barry
# Date created: 19 September 2002
# Whom: Brad Davis <so14k@so14k.com>
#
# $FreeBSD$
#
PORTNAME= barry
PORTVERSION= 0.7
PORTREVISION= 8
CATEGORIES= ports-mgmt kde
MASTER_SITES= http://www.student.uni-oldenburg.de/frerich.raabe/barry/ \
http://freebsd.so14k.com/barry/
MAINTAINER= ports@FreeBSD.org
COMMENT= A nice KDE frontend to the ports system
BUILD_DEPENDS= ${LOCALBASE}/sbin/portsdb:${PORTSDIR}/ports-mgmt/portupgrade
RUN_DEPENDS= ${LOCALBASE}/sbin/portsdb:${PORTSDIR}/ports-mgmt/portupgrade
DEPRECATED= Development has ceased.
EXPIRATION_DATE= 2010-11-01
USE_BZIP2= yes
USE_KDELIBS_VER=3
USE_AUTOTOOLS= libtool:22
INSTALLS_ICONS= yes
USE_GETTEXT= yes
NO_LATEST_LINK= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700042
BROKEN= Broken with gcc 4.2
.endif
post-patch:
@${FIND} ${WRKSRC} -name "*.h" -and -not -name "linklocator.h" | \
${XARGS} ${REINPLACE_CMD} -e 's/^};/}/g'
@${REINPLACE_CMD} "s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure
pre-install:
@${MKDIR} ${PREFIX}/share/applnk/Utilities
.include <bsd.port.post.mk>

View File

@ -1,3 +0,0 @@
MD5 (barry-0.7.tar.bz2) = 7224ce33ef28b4938b4731f4e4a4cb93
SHA256 (barry-0.7.tar.bz2) = a8591f64b631ed7b7bf06b31135acf3c98cba6779325284e9c8d337d4e1d8fb6
SIZE (barry-0.7.tar.bz2) = 705508

View File

@ -1,11 +0,0 @@
--- src/Makefile.in.orig Sun Apr 24 02:27:28 2005
+++ src/Makefile.in Sun Apr 24 02:27:43 2005
@@ -240,7 +240,7 @@
INCLUDES = $(all_includes)
barry_LDFLAGS = $(KDE_RPATH) $(all_libraries)
-barry_LDADD = $(LIB_KIO) $(LIB_KHTML)
+barry_LDADD = $(LIB_KIO) $(LIB_KHTML) $(LIBPTHREAD)
barry_SOURCES = actionprogressdialog.cc application.cc configdialog.cc \
databaseinfodialog.cc databasewrapper.cc dependlistview.cc \

View File

@ -1,92 +0,0 @@
--- src/history.h.bak Sun Jun 8 22:09:10 2003
+++ src/history.h Sun Apr 24 02:18:42 2005
@@ -22,44 +22,7 @@
namespace Barry
{
- class History;
-
- class Command
- {
- public:
- enum CreationFlags {
- None = 0x0, Run = 0x1, Register = 0x2
- };
- virtual ~Command();
-
- template <class T>
- static T *create( CreationFlags flags = None )
- {
- T *cmd = new T;
- if ( flags & Register )
- History::self().registerCommand( cmd );
- if ( flags & Run )
- cmd->exec();
- return cmd;
- }
-
- void unexec();
- void exec();
- virtual QString text() const = 0;
-
- protected:
- Command();
- bool executed() const { return m_executed; }
-
- private:
- Command( const Command &rhs );
- Command &operator=( const Command &rhs );
-
- virtual void doExec() = 0;
- virtual void doUnexec() = 0;
-
- bool m_executed;
- };
+ class Command;
class History : public QObject
{
@@ -100,6 +63,43 @@
unsigned int m_maxEntries;
KToolBarPopupAction *m_backAction;
KToolBarPopupAction *m_forwardAction;
+ };
+
+ class Command
+ {
+ public:
+ enum CreationFlags {
+ None = 0x0, Run = 0x1, Register = 0x2
+ };
+ virtual ~Command();
+
+ template <class T>
+ static T *create( CreationFlags flags = None )
+ {
+ T *cmd = new T;
+ if ( flags & Register )
+ History::self().registerCommand( cmd );
+ if ( flags & Run )
+ cmd->exec();
+ return cmd;
+ }
+
+ void unexec();
+ void exec();
+ virtual QString text() const = 0;
+
+ protected:
+ Command();
+ bool executed() const { return m_executed; }
+
+ private:
+ Command( const Command &rhs );
+ Command &operator=( const Command &rhs );
+
+ virtual void doExec() = 0;
+ virtual void doUnexec() = 0;
+
+ bool m_executed;
};
};

View File

@ -1,11 +0,0 @@
--- src/orphanedfilesdialog.cc.orig Sun Apr 24 02:21:02 2005
+++ src/orphanedfilesdialog.cc Sun Apr 24 02:21:10 2005
@@ -52,7 +52,7 @@
++i;
return i;
}
-};
+}
using namespace Barry;

View File

@ -1,11 +0,0 @@
--- src/port.cc.orig Sun Apr 24 02:21:49 2005
+++ src/port.cc Sun Apr 24 02:21:55 2005
@@ -64,7 +64,7 @@
QString m_link;
long long m_size;
};
-};
+}
// This would be nice in Qt
template <class Container>

View File

@ -1,11 +0,0 @@
--- src/portlistview.cc.orig Sun Apr 24 02:22:33 2005
+++ src/portlistview.cc Sun Apr 24 02:22:41 2005
@@ -42,7 +42,7 @@
QListViewItem *m_oldItem;
QListViewItem *m_newItem;
};
-};
+}
using namespace Barry;

View File

@ -1,3 +0,0 @@
A nice KDE frontend to the ports system.
WWW: http://www.student.uni-oldenburg.de/frerich.raabe/barry/

View File

@ -1,32 +0,0 @@
bin/barry
share/applnk/Utilities/barry.desktop
share/apps/barry/background.png
share/apps/barry/barryui.rc
share/apps/barry/bgtable.png
share/apps/barry/deinstall-port.png
share/apps/barry/eventsrc
share/apps/barry/install-port.png
share/apps/barry/kdelogo2.png
share/apps/barry/khelpcenter.png
share/apps/barry/konq.css
share/apps/barry/lines.png
share/apps/barry/lines2.png
share/apps/barry/pointers.png
share/apps/barry/port-installed.png
share/apps/barry/port-not-installed.png
share/apps/barry/shadow1.png
share/apps/barry/splashscreen.html
share/apps/barry/upgrade-port.png
share/icons/crystalsvg/16x16/apps/barry.png
share/icons/crystalsvg/32x32/apps/barry.png
share/icons/crystalsvg/48x48/apps/barry.png
share/locale/de/LC_MESSAGES/barry.mo
share/locale/es/LC_MESSAGES/barry.mo
share/locale/ko/LC_MESSAGES/barry.mo
share/locale/pl/LC_MESSAGES/barry.mo
share/locale/sv/LC_MESSAGES/barry.mo
@dirrm share/applnk/Utilities
@dirrm share/apps/barry
@dirrm share/icons/crystalsvg/16x16/apps
@dirrm share/icons/crystalsvg/32x32/apps
@dirrm share/icons/crystalsvg/48x48/apps

View File

@ -1798,7 +1798,6 @@
SUBDIR += waccess
SUBDIR += wacko
SUBDIR += wadcomblog
SUBDIR += wb0
SUBDIR += wcol
SUBDIR += web-traceroute
SUBDIR += web2ldap

View File

@ -1,49 +0,0 @@
# New ports collection makefile for: wb0
# Date created: 2001-01-31
# Whom: Trevor Johnson <trevor@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= wb0
PORTVERSION= 000324
PORTREVISION= 5
CATEGORIES= www graphics
MASTER_SITES= ftp://atrey.karlin.mff.cuni.cz/pub/local/clock/wb0/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Web browser for svgalib which can show pictures
RUN_DEPENDS= lynx:${PORTSDIR}/www/lynx-current
LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \
vga.1:${PORTSDIR}/graphics/svgalib \
png.6:${PORTSDIR}/graphics/png
DEPRECATED= Development has ceased.
EXPIRATION_DATE= 2010-11-01
DOCS= AUTHORS Changelog README etc/wb0/wb0.config.README
PORTDOCS= ${DOCS:T}
ONLY_FOR_ARCHS= i386
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700000
BROKEN= Does not compile
.endif
post-patch:
@${REINPLACE_CMD} -e 's|/etc/wb0|${LOCALBASE}/etc|g ; \
s|/usr/local/src/wb0/font/bit|${LOCALBASE}/share/wb0/|g ; \
s|^static ||' ${WRKSRC}/wb0.c
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for i in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.post.mk>

View File

@ -1,3 +0,0 @@
MD5 (wb0-000324.tgz) = d5c810cf28c314776a74ddd663bfdfff
SHA256 (wb0-000324.tgz) = cce50fa06be7048c1642ae53756fababa21f3abef6e1ee685ba096ea8447971c
SIZE (wb0-000324.tgz) = 361954

View File

@ -1,39 +0,0 @@
--- Makefile.orig Mon Dec 6 00:45:08 1999
+++ Makefile Sat Apr 19 16:12:07 2003
@@ -1,16 +1,17 @@
-
-CFLAGS=-O2 -Wall -fomit-frame-pointer -malign-functions=0
-LDFLAGS= -lm -s -lvga -lvgagl -ljpeg -lpng -lz
+PREFIX?= /usr/local
+CFLAGS+= -I${LOCALBASE}/include
+LDFLAGS= -L${LOCALBASE}/lib -lm -s -lvga -lvgagl -ljpeg -lpng -lz
all: wb0
-
+
install:
- mkdir -p /etc/wb0
- cp ./etc/wb0/* /etc/wb0
- cp ./wb0 /usr/local/bin/wb0
- echo "path `pwd`/data/" >>/etc/wb0/wb0.config
- chmod a+s /usr/local/bin/wb0
- chown root:root /usr/local/bin/wb0
+ mkdir -p ${PREFIX}/share/wb0
+ cp ./wb0 ${PREFIX}/bin
+ cp ./etc/wb0/wb0.config ${PREFIX}/etc/
+ cp ./data/* ${PREFIX}/share/wb0/
+ echo "path ${PREFIX}/share/wb0/" >>${PREFIX}/etc/wb0.config
+ chmod u+s ${PREFIX}/bin/wb0
+ chown root:wheel ${PREFIX}/bin/wb0
pkfont: pkfont.c
@@ -19,7 +20,7 @@
makefont: makefont.c
wb0: wb0.o scroller.o line_breaker.o font_loader.o gvars.o watcher.o image_parser.o printer.o block.o
- gcc $(LDFLAGS) wb0.o scroller.o line_breaker.o font_loader.o gvars.o watcher.o image_parser.o printer.o block.o -o wb0
+ $(CC) $(LDFLAGS) wb0.o scroller.o line_breaker.o font_loader.o gvars.o watcher.o image_parser.o printer.o block.o -o wb0
line_breaker.o: line_breaker.c line_breaker.h gvars.h scroller.h gvars.c block.h

View File

@ -1,7 +0,0 @@
--- etc/wb0/wb0.config.orig Mon Dec 6 00:45:07 1999
+++ etc/wb0/wb0.config Wed Jan 31 13:54:55 2001
@@ -20,4 +20,3 @@
shift_b 0
-path /usr/local/src/wb0-991204/data/

View File

@ -1,139 +0,0 @@
--- watcher.c.orig Mon Dec 6 00:45:07 1999
+++ watcher.c Wed Jan 31 13:42:20 2001
@@ -2,7 +2,7 @@
/* (c) 1999 Clocksoft */
/* Watcher -- watches for incoming data and keyhits */
-#define OTHK
+//#define OTHK
//#define WATCHDOG
/* When no keyboard scan is performed during 10 seconds, the program ends. */
@@ -11,6 +11,7 @@
#include <sys/types.h>
#include <unistd.h>
#include <stdlib.h>
+#include <term.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <string.h>
@@ -18,10 +19,15 @@
#include <vgakeyboard.h>
#include <signal.h>
#include <sys/ioctl.h>
-#ifndef OTHK
-#include <linux/kd.h>
+#ifdef __FreeBSD__
+#include <sys/ioctl_compat.h>
+#include <machine/pcvt_ioctl.h>
+#include <sys/kbio.h>
#endif
+#ifdef LINUX
+#include <linux/kd.h>
#include <sys/vt.h>
+#endif
#include <sys/wait.h>
#include "gvars.h"
@@ -38,9 +44,7 @@
#define FILE_BUFFER_SIZE 4096
#define min(x,y) ((x)<(y)?(x):(y))
-#ifndef OTHK
extern int __svgalib_tty_fd;
-#endif
/********************* Global variables for watcher ***************************/
@@ -138,7 +142,7 @@
int
reset_keyboard(void)
{
- #ifdef OTHK
+ #if 0//def OTHK
keyboard_close();
#else
if (ioctl(__svgalib_tty_fd,KDSKBMODE,old_keyboard_mode))
@@ -658,11 +662,11 @@
close(fds[1]);
if (content_type==WAI_HTML||content_type==WAI_TEXT)
{
- execlp("lynx","lynx","-dump","-raw","-cfg=/etc/wb0/wb0.lynx.cfg",filename,NULL);
+ execlp("lynx","lynx","-dump","-raw","",filename,NULL);
}
else
{
- execlp("lynx","lynx","-source","-cfg=/etc/wb0/wb0.lynx.cfg",filename,NULL);
+ execlp("lynx","lynx","-source","",filename,NULL);
}
fprintf(stderr,"Unable to execlp lynx.\n");
_exit(-1); /* Error */
@@ -941,7 +945,11 @@
{
/* alt-f1 ... alt-f10, alt-f11 ... alt-f12 */
int vt;
+#ifdef __FreeBSD__
+ struct screeninfo vts;
+#else
struct vt_stat vts;
+#endif
if (k>=87)
{vt=11+k-87;
@@ -949,22 +957,30 @@
else
{vt=1+k-59;
}
+#ifdef __FreeBSD__
+ if (ioctl(__svgalib_tty_fd,VGAGETSCREEN,&vts))
+#else
#ifdef OTHK
ioctl(keyboard_fd,VT_GETSTATE,&vts);
#else
ioctl(__svgalib_tty_fd,VT_GETSTATE,&vts);
#endif
if (vt!=vts.v_active)
+#endif
{
rightshift=leftshift=rightalt=leftalt=leftctrl=rightctrl=capslock=0;
#ifdef DEBUG_VT
printf("Trying to switch VT.\n");
#endif
+#ifdef __FreeBSD__
+ ioctl(__svgalib_tty_fd,VT_ACTIVATE,vt);
+#else
#ifdef OTHK
ioctl(keyboard_fd,VT_ACTIVATE,vt);
#else
ioctl(__svgalib_tty_fd,VT_ACTIVATE,vt);
#endif
+#endif
}
}
break;
@@ -1399,8 +1415,13 @@
int
set_keyboard(void)
{
+#ifdef __FreeBSD__
+ int sigs[]={SIGINT,SIGQUIT,SIGTERM,SIGSEGV,SIGHUP,SIGILL,SIGABRT,SIGFPE,
+ SIGBUS,SIGUSR1,SIGURG,SIGALRM};
+#else
int sigs[]={SIGINT,SIGQUIT,SIGTERM,SIGSEGV,SIGHUP,SIGILL,SIGABRT,SIGFPE,
SIGBUS,SIGPWR,SIGSTKFLT,SIGALRM};
+#endif
int *p;
int i;
@@ -1436,7 +1457,11 @@
return 1;
}
}
+#ifdef __FreeBSD__
+ if (ioctl(__svgalib_tty_fd,KDSKBMODE,CBREAK))
+#else
if (ioctl(__svgalib_tty_fd,KDSKBMODE,K_MEDIUMRAW))
+#endif
{
fprintf(stderr,"Unable to set keyboard to medium-raw mode.\n");
return 1;

View File

@ -1,6 +0,0 @@
This is a Web browser for the VGA console. It can display pictures.
It uses libjpeg, libpng, Lynx, and svgalib.
If you have difficulties, try running it with the "m321" option.
WWW: http://atrey.karlin.mff.cuni.cz/~clock/twibright/wb0

View File

@ -1,10 +0,0 @@
bin/wb0
etc/wb0.config
%%DATADIR%%/iso_8859-2.bit
%%DATADIR%%/kamen.encoding
%%DATADIR%%/iso_8859-2.encoding
%%DATADIR%%/pc-latin-2.encoding
%%DATADIR%%/iso_8859-1.encoding
%%DATADIR%%/cp1250.encoding
%%DATADIR%%/cork.encoding
@dirrm %%DATADIR%%