Remove japanese/vfxdvi{118,240,300,360,400,600}.

These are too old and the functionality is almost overlapped
with japanese/xdvik-vflib.

PR:		ports/62074
Submitted by:	hrs
Approved by:	taoka (blanket)
This commit is contained in:
Norikatsu Shigemura 2004-03-04 06:51:53 +00:00
parent 6bcda1dacf
commit e002dfc996
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=102878
18 changed files with 0 additions and 2225 deletions

View File

@ -379,12 +379,6 @@
SUBDIR += vera-fpw
SUBDIR += vflib
SUBDIR += vftool
SUBDIR += vfxdvi118
SUBDIR += vfxdvi240
SUBDIR += vfxdvi300
SUBDIR += vfxdvi360
SUBDIR += vfxdvi400
SUBDIR += vfxdvi600
SUBDIR += vje30
SUBDIR += vje30-trial
SUBDIR += w3

View File

@ -1,11 +0,0 @@
# New ports collection makefile for: xdvi-17miyu + patches + vector font library
# Date created: 8 Nov 1996
# Whom: Mita Yoshio <mita@jp.FreeBSD.org>
#
# $FreeBSD$
#
RESOLUTION= 118
MASTERDIR= ${.CURDIR}/../vfxdvi300
.include "${MASTERDIR}/Makefile"

View File

@ -1,11 +0,0 @@
# New ports collection makefile for: xdvi-17miyu + patches + vector font library
# Date created: 8 Nov 1996
# Whom: Mita Yoshio <mita@jp.FreeBSD.org>
#
# $FreeBSD$
#
RESOLUTION= 240
MASTERDIR= ${.CURDIR}/../vfxdvi300
.include "${MASTERDIR}/Makefile"

View File

@ -1,86 +0,0 @@
# New ports collection makefile for: xdvi-17miyu + patches + vector font library
# Date created: 8 Nov 1996
# Whom: Mita Yoshio <mita@jp.FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= vfxdvi
PORTVERSION= 17
PORTREVISION= 2
CATEGORIES= japanese print
MASTER_SITES= ${MASTER_SITE_PORTS_JP} \
ftp://ftp.hipecs.hokudai.ac.jp/pub/news-archive/fj.comp.texhax/volume95/Sep/ \
ftp://ftp.hipecs.hokudai.ac.jp/pub/news-archive/fj.comp.texhax/volume95/Oct/ \
ftp://ftp.hipecs.hokudai.ac.jp/pub/news-archive/fj.comp.texhax/volume95/Nov/
PKGNAMESUFFIX= ${RESOLUTION}
DISTNAME= xdvi-${PORTVERSION}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
xdvi-${PORTVERSION}miyu.patch-beta6.gz \
xdvi18-okagawa-patch \
950923.02.Z \
951007.02.Z \
951109.04.Z
DIST_SUBDIR= xdvi
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= mita@FreeBSD.org
COMMENT= DVI Previewer for X. + Japanese patch + vector font support
DEPRECATED= "has fetch problems\; does not build\; see PR ports/62074"
EXPIRATION_DATE= "April 09, 2004"
LIB_DEPENDS= VFlib2.24:${PORTSDIR}/japanese/vflib
RUN_DEPENDS= ${LOCALBASE}/lib/fonts/pk${RESOLUTION}:${PORTSDIR}/print/pkfonts${RESOLUTION}
NO_WRKSUBDIR= yes
USE_IMAKE= yes
XMKMF= xmkmf
MAN1= xdvi.1
.if !defined(RESOLUTION)
RESOLUTION= 300
.else
.if ${RESOLUTION} != 118 && ${RESOLUTION} != 240 && \
${RESOLUTION} != 300 && ${RESOLUTION} != 360 && \
${RESOLUTION} != 400 && ${RESOLUTION} != 600
.BEGIN:
@${ECHO} "Error: invalid value for RESOLUTION: \"${RESOLUTION}\""
@${ECHO} "Possible values are: 118, 240, 300, 360, 400 and 600."
@${FALSE}
.endif
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500113
BROKEN= "Does not compile"
.endif
pre-patch:
@(cd ${WRKDIR} ; \
${GZCAT} ${DISTDIR}/${DIST_SUBDIR}/950923.02.Z | uudecode ; \
${GZCAT} ${DISTDIR}/${DIST_SUBDIR}/951109.04.Z | uudecode ; \
uudecode ${DISTDIR}/${DIST_SUBDIR}/xdvi18-okagawa-patch ; \
${GUNZIP_CMD} xdvi18.vflib.patch.gz ; \
${PATCH} < ${FILESDIR}/xdvi18.vflib.patch.of.patch >/dev/null 2>&1; \
${GUNZIP_CMD} xdvi-${PORTVERSION}+ptex.fixed.patch.gz ; \
${PATCH} < ${FILESDIR}/xdvi-${PORTVERSION}+ptex.fixed.patch.of.patch >/dev/null 2>&1; \
${MKDIR} tmp; \
cd tmp; \
${PATCH} -f < ../xdvi18.vflib.patch >/dev/null 2>&1; \
cd .. ; \
${GZCAT} ${DISTDIR}/${DIST_SUBDIR}/xdvi-${PORTVERSION}miyu.patch-beta6.gz | ${PATCH} -d . >/dev/null 2>&1; \
${GZCAT} xdvi-pl${PORTVERSION}+markpage+toc+printdvi+paper.patch.gz | ${PATCH} -d . >/dev/null 2>&1 ; \
${PATCH} -d . < xdvi-${PORTVERSION}+ptex.fixed.patch >/dev/null 2>&1; \
${CP} tmp/dnpzeit.c tmp/zeit.c . ; \
)
post-patch:
.if defined(BATCH)
@(cd ${WRKDIR}; ${SH} ${FILESDIR}/customize.sh ${RESOLUTION} BATCH)
.else
@(cd ${WRKDIR}; ${SH} ${FILESDIR}/customize.sh ${RESOLUTION})
.endif
.include <bsd.port.post.mk>

View File

@ -1,6 +0,0 @@
MD5 (xdvi/xdvi-17.tar.gz) = 71c512f827c7e2ce534b52005720ce6d
MD5 (xdvi/xdvi-17miyu.patch-beta6.gz) = e7e8a5aae3d0377efd61e027ab38f5b8
MD5 (xdvi/xdvi18-okagawa-patch) = 2a4ab2bbbf785b8e848fe172ba66df4b
MD5 (xdvi/950923.02.Z) = 47bae107c47b620d7e38b77595b0adae
MD5 (xdvi/951007.02.Z) = 1f6222f6638af86476031b9421afdaac
MD5 (xdvi/951109.04.Z) = a34d3ee40cfe3288f518bb1948a0e6d4

View File

@ -1,68 +0,0 @@
#!/bin/sh
# usage sh customize.sh ${RESOLUTION} [BATCH]
DEFAULT_FONT_PATH=.:/usr/local/lib/fonts/pk$1:/usr/local/share/tex/jfonts/jfms:/usr/local/lib/texmf/fonts/public/ptex/tfm:/usr/local/share/texmf/fonts/tfm/ptex
DONE=no
if [ $# = 2 ] ; then
DONE=yes
fi
echo "Check directory for pkfonts (resolution:$1) and ASCII jTeX's tfm files."
echo
echo "Default is .:/usr/local/lib/fonts/pk$1:/usr/local/share/tex/jfonts/jfms:\\"
echo " :/usr/local/lib/texmf/fonts/public/ptex/tfm:/usr/local/share/texmf/fonts/tfm/ptex"
echo "If you use jlatex of ports collection, it should be OK."
echo
while [ "$DONE" != "yes" ]
do
echo "Is it OK (y/n)[y]?"
read ans
case x"${ans}" in
xN*|xn*)
echo "Type DEFAULT_FONT_PATH:"
read DEFAULT_FONT_PATH
echo
echo "DEFAULT_FONT_PATH=${DEFAULT_FONT_PATH}"
;;
*)
DONE=yes
;;
esac
done
echo "DEFAULT_FONT_PATH=${DEFAULT_FONT_PATH}"
CHANGE=`echo ${DEFAULT_FONT_PATH} | sed -e 's/\//\\\\\//g'`
cp Imakefile Imakefile.tmp
cat Imakefile.tmp \
| sed -e "s/DEFAULT_FONT_SIZES=FontSizes300/DEFAULT_FONT_SIZES=FontSizes$1/g"\
| sed -e "s/-DBDPI=300/-DBDPI=$1/g"\
| sed -e "s/DEFAULT_FONT_PATH=CHANGE/DEFAULT_FONT_PATH=${CHANGE}/g" \
> Imakefile
rm Imakefile.tmp
if [ $1 = "360" ] || [ $1 = "400" ] || [ $1 = "600" ] ; then
echo "Default shrink level is set to 5."
cp Imakefile Imakefile.tmp
cat Imakefile.tmp \
| sed -e 's/DEFAULT_SHRINK=\\\"4\\\"/DEFAULT_SHRINK=\\\"5\\\"/g' \
> Imakefile
rm Imakefile.tmp
fi
if [ $# = 1 ] ; then
echo
echo "Do you like to customize Imakefile again by yourself (y/n)[no]?"
read ans
case x"${ans}" in
xY*|xy*)
if [ ${EDITOR} ] ; then
${EDITOR} Imakefile
else
vi Imakefile
fi
;;
esac
fi

View File

@ -1,470 +0,0 @@
*** xdvi.c.orig Sat Jan 13 22:04:23 1996
--- xdvi.c Sat Jan 13 22:04:37 1996
***************
*** 3476,3482 ****
use_ps_special = resource.use_ps_special;
#endif /* PS */
#ifdef USE_ZEIT
! VF_init(resource.fontconf);
#endif /* USE_ZEIT */
#else /* !TOOLKIT */
--- 3476,3482 ----
use_ps_special = resource.use_ps_special;
#endif /* PS */
#ifdef USE_ZEIT
! VF_Init(resource.fontconf);
#endif /* USE_ZEIT */
#else /* !TOOLKIT */
*** dnpzeit.c.orig Sat Nov 9 10:43:17 1996
--- dnpzeit.c Sat Nov 9 10:42:43 1996
***************
*** 3,13 ****
* Written by Y. Hayashi (hayashi@me.aoyama.ac.jp)
**************************************************/
! #include "xdvi.h"
#ifndef X_NOT_STDC_ENV
#include <stdlib.h>
! #endif
static struct _dnplist {
char *name;
--- 3,13 ----
* Written by Y. Hayashi (hayashi@me.aoyama.ac.jp)
**************************************************/
! /*#include "xdvi.h"
#ifndef X_NOT_STDC_ENV
#include <stdlib.h>
! #endif*/
static struct _dnplist {
char *name;
***************
*** 53,59 ****
static void
get_NTT_font(fontp, code)
struct font *fontp;
! int code;
{
struct bitmap *bm;
int bwidth, jiscode;
--- 53,63 ----
static void
get_NTT_font(fontp, code)
struct font *fontp;
! #ifdef NeedWidePrototypes
! long code;
! #else
! int code;
! #endif
{
struct bitmap *bm;
int bwidth, jiscode;
***************
*** 70,77 ****
static void
read_NTT_char(fontp, ch)
struct font *fontp;
! int ch;
{
struct glyph *g;
g = &fontp->glyph[ch];
--- 74,88 ----
static void
read_NTT_char(fontp, ch)
struct font *fontp;
! #ifdef NeedWidePrototypes
! long ch;
! #else
! int ch;
! #endif
!
!
{
+
struct glyph *g;
g = &fontp->glyph[ch];
***************
*** 100,106 ****
double dimconv, pow();
char *p;
! fontp->read_char = read_NTT_char;
fontp->glyph = (struct glyph *)
xmalloc(256 * sizeof(struct glyph), "glyph array");
bzero((char *) fontp->glyph, 256 * sizeof(struct glyph));
--- 111,117 ----
double dimconv, pow();
char *p;
! fontp->read_char = (read_char_proc) read_NTT_char;
fontp->glyph = (struct glyph *)
xmalloc(256 * sizeof(struct glyph), "glyph array");
bzero((char *) fontp->glyph, 256 * sizeof(struct glyph));
*** dvi_draw.c.orig Sat Nov 9 10:43:58 1996
--- dvi_draw.c Sat Nov 9 10:42:43 1996
***************
*** 124,130 ****
* Byte reading routines for dvi file.
*/
! #define xtell(pos) (lseek(fileno(dvi_file), 0L, SEEK_CUR) - \
(currinf.end - (pos)))
static ubyte
--- 124,130 ----
* Byte reading routines for dvi file.
*/
! #define xtell(pos) (lseek(fileno(dvi_file), (off_t)0, SEEK_CUR) - \
(currinf.end - (pos)))
static ubyte
***************
*** 176,182 ****
{
currinf.pos += offset;
if (!currinf.virtual && currinf.pos > currinf.end)
! (void) lseek(fileno(dvi_file), (long) (currinf.pos - currinf.end),
SEEK_CUR);
}
--- 176,182 ----
{
currinf.pos += offset;
if (!currinf.virtual && currinf.pos > currinf.end)
! (void) lseek(fileno(dvi_file), (off_t) (currinf.pos - currinf.end),
SEEK_CUR);
}
***************
*** 824,830 ****
set_char(WIDEARG(ubyte, int) ch)
#else /* NeXT */
set_char(ch)
! WIDEARG(ubyte, int) ch;
#endif /* NeXT */
#else
void
--- 824,830 ----
set_char(WIDEARG(ubyte, int) ch)
#else /* NeXT */
set_char(ch)
! WIDEARG(long, int) ch;
#endif /* NeXT */
#else
void
***************
*** 959,967 ****
}
#if defined(KANJI) && !defined(ASCIIDNP)
long
set_char2(ch)
! int ch;
{
register struct glyph *g;
#ifdef PTEX
--- 959,973 ----
}
#if defined(KANJI) && !defined(ASCIIDNP)
+ #if NeedFunctionPrototypes
long
set_char2(ch)
! long ch;
! #else
! long
! set_char2(ch)
! int ch;
! #endif
{
register struct glyph *g;
#ifdef PTEX
***************
*** 1062,1070 ****
#else
void
load_n_set_char(cmd, ch)
! WIDEARG(ubyte, int) cmd;
#endif
! WIDEARG(ubyte, int) ch;
{
if (load_font(currinf.fontp)) { /* if not found */
Fputs("Character(s) will be left blank.\n", stderr);
--- 1068,1076 ----
#else
void
load_n_set_char(cmd, ch)
! WIDEARG(ubyte, long) cmd;
#endif
! long ch;
{
if (load_font(currinf.fontp)) { /* if not found */
Fputs("Character(s) will be left blank.\n", stderr);
***************
*** 1092,1098 ****
set_vf_char(WIDEARG(ubyte, int) ch)
#else /* NeXT */
set_vf_char(ch)
! WIDEARG(ubyte, int) ch;
#endif /* NeXT */
#else
void
--- 1098,1104 ----
set_vf_char(WIDEARG(ubyte, int) ch)
#else /* NeXT */
set_vf_char(ch)
! long ch;
#endif /* NeXT */
#else
void
***************
*** 1158,1164 ****
set_no_char(cmd, ch)
ubyte cmd;
#endif
! ubyte ch;
{
if (currinf.virtual) {
currinf.fontp = currinf.virtual->first_font;
--- 1164,1170 ----
set_no_char(cmd, ch)
ubyte cmd;
#endif
! long ch;
{
if (currinf.virtual) {
currinf.fontp = currinf.virtual->first_font;
***************
*** 1495,1501 ****
oldinfo.end = currinf.end;
}
else {
! (void) lseek(fileno(dvi_file), file_pos,
SEEK_SET);
oldinfo.pos = oldinfo.end;
}
--- 1501,1507 ----
oldinfo.end = currinf.end;
}
else {
! (void) lseek(fileno(dvi_file), (off_t)file_pos,
SEEK_SET);
oldinfo.pos = oldinfo.end;
}
***************
*** 1675,1684 ****
ROUNDUP(unshrunk_paper_h, shrink_factor) + 1);
#ifdef PAGENUM
! (void) lseek(fileno(dvi_file), page_index[current_page].offset,
SEEK_SET);
#else
! (void) lseek(fileno(dvi_file), page_offset[current_page], SEEK_SET);
#endif /* PAGENUM */
bzero((char *) &currinf.data, sizeof(currinf.data));
--- 1681,1690 ----
ROUNDUP(unshrunk_paper_h, shrink_factor) + 1);
#ifdef PAGENUM
! (void) lseek(fileno(dvi_file), (off_t) page_index[current_page].offset,
SEEK_SET);
#else
! (void) lseek(fileno(dvi_file), (off_t) page_offset[current_page], SEEK_SET);
#endif /* PAGENUM */
bzero((char *) &currinf.data, sizeof(currinf.data));
*** zeit.c.orig Sat Nov 9 10:43:09 1996
--- zeit.c Sat Nov 9 10:42:44 1996
***************
*** 3,14 ****
* Written by Y. Hayashi (hayashi@me.aoyama.ac.jp)
******************************************************/
! #include "xdvi.h"
#ifndef X_NOT_STDC_ENV
#include <stdlib.h>
#endif
!
#include "jtfm.h"
#ifndef SEEK_SET
--- 3,14 ----
* Written by Y. Hayashi (hayashi@me.aoyama.ac.jp)
******************************************************/
! /*#include "xdvi.h"
#ifndef X_NOT_STDC_ENV
#include <stdlib.h>
#endif
! */
#include "jtfm.h"
#ifndef SEEK_SET
***************
*** 258,264 ****
static void
get_ZEIT_font(fontp, code)
struct font *fontp;
! int code;
{
struct bitmap *bm;
int bwidth;
--- 258,264 ----
static void
get_ZEIT_font(fontp, code)
struct font *fontp;
! long code;
{
struct bitmap *bm;
int bwidth;
***************
*** 297,303 ****
static void
read_ZEIT_char(fontp, ch)
struct font *fontp;
! int ch;
{
struct bitmap *bm;
struct glyph *g;
--- 297,303 ----
static void
read_ZEIT_char(fontp, ch)
struct font *fontp;
! long ch;
{
struct bitmap *bm;
struct glyph *g;
***************
*** 354,360 ****
double dimconv;
int n, index, code, width, height, depth;
! fontp->read_char = read_ZEIT_char;
fontp->kglyph = (struct glyph **)
xmalloc(sizeof(struct glyph *) * KTABLESIZE, "read_ZEIT_index");
dimconv = fontp->dimconv;
--- 354,360 ----
double dimconv;
int n, index, code, width, height, depth;
! fontp->read_char = (read_char_proc) read_ZEIT_char;
fontp->kglyph = (struct glyph **)
xmalloc(sizeof(struct glyph *) * KTABLESIZE, "read_ZEIT_index");
dimconv = fontp->dimconv;
*** Imakefile.orig Wed Nov 13 14:14:38 1996
--- Imakefile Wed Nov 13 14:25:27 1996
***************
*** 22,28 ****
TEXFONTS=$(TEXLIB)/fonts
#ifdef Use_ZEIT
! DEFAULT_FONT_PATH=.:$(TEXFONTS)/pk:$(TEXFONTS)/jfms
#else
DEFAULT_FONT_PATH=.:$(TEXFONTS)/pk
#endif /* Use_ZEIT */
--- 22,28 ----
TEXFONTS=$(TEXLIB)/fonts
#ifdef Use_ZEIT
! DEFAULT_FONT_PATH=CHANGE
#else
DEFAULT_FONT_PATH=.:$(TEXFONTS)/pk
#endif /* Use_ZEIT */
***************
*** 72,79 ****
#endif
#ifdef Use_ZEIT
! DEFAULT_FONTCONFDIR=$(TEXFONTS)/zeit
! DEFAULT_FONTCONF=$(DEFAULT_FONTCONFDIR)/FontConf
#ifdef Use_NTTZEIT
ZEIT_DEFS=-DUSE_ZEIT -DNTTZEIT -DDEFAULT_FONTCONF=\"$(DEFAULT_FONTCONF)\"
#else
--- 72,79 ----
#endif
#ifdef Use_ZEIT
! DEFAULT_FONTCONFDIR=/usr/local/share/VFlib/2.25.6
! DEFAULT_FONTCONF=$(DEFAULT_FONTCONFDIR)/vfontcap
#ifdef Use_NTTZEIT
ZEIT_DEFS=-DUSE_ZEIT -DNTTZEIT -DDEFAULT_FONTCONF=\"$(DEFAULT_FONTCONF)\"
#else
***************
*** 128,134 ****
/* all marked pages */
DVIPRINTER="lp"
/* the default printer to print-out DVI file */
! FILTOPTTBLDIR=/usr/local/lib/tex
FILTOPTTBLFILE=$(FILTOPTTBLDIR)/xdvipaper.dvi2ps-j
/* FILTOPTTBLDIR=/usr/local/lib/tex */
/* FILTOPTTBLFILE=$(FILTOPTBLDIR)/xdvipaper.jdvi2kps */
--- 128,134 ----
/* all marked pages */
DVIPRINTER="lp"
/* the default printer to print-out DVI file */
! FILTOPTTBLDIR=/usr/local/share/tex
FILTOPTTBLFILE=$(FILTOPTTBLDIR)/xdvipaper.dvi2ps-j
/* FILTOPTTBLDIR=/usr/local/lib/tex */
/* FILTOPTTBLFILE=$(FILTOPTBLDIR)/xdvipaper.jdvi2kps */
***************
*** 175,183 ****
CDEBUGFLAGS=-g
! VFLIB=VFlib-1.32/VFlib.a
#ifdef Use_ZEIT
! DEPLIBS=$(VFLIB) XawClientDepLibs
LOCAL_LIBRARIES=$(VFLIB) XawClientLibs
#else
DEPLIBS=XawClientDepLibs
--- 175,183 ----
CDEBUGFLAGS=-g
! VFLIB=-L/usr/local/lib -lVFlib2 -lttf
#ifdef Use_ZEIT
! DEPLIBS=XawClientDepLibs
LOCAL_LIBRARIES=$(VFLIB) XawClientLibs
#else
DEPLIBS=XawClientDepLibs
***************
*** 244,252 ****
ComplexProgramTarget(xdvi)
- $(VFLIB):
- cd VFlib-1.32; make
-
xdvi.man: xdvi_man.sed mksedscript
chmod u+x mksedscript
./mksedscript $(DEFAULT_FONT_PATH) $(DEFAULT_FONT_SIZES) \
--- 244,249 ----
***************
*** 267,273 ****
#endif /* Use_MAKEPK */
#ifdef Use_ZEIT
! InstallNonExecFile(VFlib-1.32/FontConf, $(DEFAULT_FONTCONFDIR))
#endif /* Use_ZEIT */
#ifdef Use_PRINTDVI
--- 264,270 ----
#endif /* Use_MAKEPK */
#ifdef Use_ZEIT
!
#endif /* Use_ZEIT */
#ifdef Use_PRINTDVI

View File

@ -1,39 +0,0 @@
--- gs-view.c.orig Sat Jan 19 12:06:41 2002
+++ gs-view.c Sat Jan 19 12:10:26 2002
@@ -126,7 +126,7 @@
#ifdef PS_LITERAL
fflush(temp_ps_file);
- lseek(fileno(temp_ps_file), 0L, SEEK_SET);
+ lseek(fileno(temp_ps_file), (off_t)0, SEEK_SET);
#endif /* PS_LITERAL */
{
@@ -208,7 +208,7 @@
for (p = ps_headers; p != NULL; p = p->next)
argv[i++] = p->psheader;
#endif /* PS_HEADER */
- argv[i++] = "-";
+ argv[i++] = "-sOutputFile=-";
argv[i++] = gs->psfile;
argv[i++] = "quit.ps";
argv[i++] = NULL;
*** font_open.c.orig Sat Jan 13 18:29:22 1996
--- font_open.c Sat Jan 13 18:39:14 1996
***************
*** 137,143 ****
#else
#if NeedFunctionPrototypes
#if !defined(__386BSD__) && !defined(SVR4)
! extern char *getcwd (char *, int);
#endif
#else
extern char *getcwd ();
--- 137,143 ----
#else
#if NeedFunctionPrototypes
#if !defined(__386BSD__) && !defined(SVR4)
! extern char *getcwd (char *, size_t);
#endif
#else
extern char *getcwd ();

View File

@ -1,19 +0,0 @@
*** SelFile.c.orig Sat Jan 13 18:40:29 1996
--- SelFile.c Sat Jan 13 18:42:35 1996
***************
*** 46,52 ****
/* BSD 4.3 errno.h does not declare errno */
extern int errno;
extern int sys_nerr;
! extern char *sys_errlist[];
#include <sys/param.h>
#include <X11/cursorfont.h>
--- 46,52 ----
/* BSD 4.3 errno.h does not declare errno */
extern int errno;
extern int sys_nerr;
! /*extern char *sys_errlist[];*/
#include <sys/param.h>
#include <X11/cursorfont.h>

View File

@ -1,120 +0,0 @@
*** dvi_init.c.orig Sat Jan 13 19:16:24 1996
--- dvi_init.c Sat Jan 13 19:17:18 1996
***************
*** 262,268 ****
if (iskanjifont(fontp->fontname)) {
fontp->flags |= FONT_KANJI;
fontp->fsize = (float) size_found;
! fontp->set_char_p = set_char2;
}
else {
fontp->fsize = (float) size_found / 5;
--- 262,268 ----
if (iskanjifont(fontp->fontname)) {
fontp->flags |= FONT_KANJI;
fontp->fsize = (float) size_found;
! fontp->set_char_p = (set_char_proc) set_char2;
}
else {
fontp->fsize = (float) size_found / 5;
*** gf.c.orig Sat Jan 13 19:17:24 1996
--- gf.c Sat Jan 13 19:17:46 1996
***************
*** 58,64 ****
static void
read_GF_char(fontp, ch)
register struct font *fontp;
! ubyte ch;
{
register struct glyph *g;
ubyte cmnd;
--- 58,64 ----
static void
read_GF_char(fontp, ch)
register struct font *fontp;
! long ch;
{
register struct glyph *g;
ubyte cmnd;
*** pk.c.orig Sat Jan 13 19:17:57 1996
--- pk.c Sat Jan 13 19:18:20 1996
***************
*** 107,113 ****
static void
read_PK_char(fontp, ch)
register struct font *fontp;
! ubyte ch;
{
int i, j;
int n;
--- 107,113 ----
static void
read_PK_char(fontp, ch)
register struct font *fontp;
! long ch;
{
int i, j;
int n;
*** xdvi.h.orig Sat Jan 13 19:18:35 1996
--- xdvi.h Sat Jan 13 19:38:03 1996
***************
*** 215,221 ****
#if NeedFunctionPrototypes
#ifndef TEXXET
! typedef long (*set_char_proc)(WIDEARG(ubyte, int));
#else /* TEXXET */
typedef void (*set_char_proc)(WIDEARG(ubyte, int), WIDEARG(ubyte, int));
#endif /* TEXXET */
--- 215,221 ----
#if NeedFunctionPrototypes
#ifndef TEXXET
! typedef long (*set_char_proc)(WIDEARG(long, int));
#else /* TEXXET */
typedef void (*set_char_proc)(WIDEARG(ubyte, int), WIDEARG(ubyte, int));
#endif /* TEXXET */
***************
*** 351,357 ****
#define NOMAGSTP (-29999)
#if NeedFunctionPrototypes
! typedef void (*read_char_proc)(struct font *, WIDEARG(ubyte, int));
#else
typedef void (*read_char_proc)();
#endif
--- 351,357 ----
#define NOMAGSTP (-29999)
#if NeedFunctionPrototypes
! typedef void (*read_char_proc)(struct font *, WIDEARG(long, int));
#else
typedef void (*read_char_proc)();
#endif
***************
*** 536,547 ****
extern void open_dvi_file(void);
extern Boolean check_dvi_file(void);
#ifndef TEXXET
! extern long set_char(WIDEARG(ubyte, int));
#if defined(KANJI) && !defined(ASCIIDNP)
! extern long set_char2(int);
#endif /* KANJI && !ASCIIDNP */
! extern long load_n_set_char(WIDEARG(ubyte, int));
! extern long set_vf_char(WIDEARG(ubyte, int));
#else
extern void set_char(WIDEARG(ubyte, int), WIDEARG(ubyte, int));
extern void load_n_set_char(WIDEARG(ubyte, int), WIDEARG(ubyte, int));
--- 536,547 ----
extern void open_dvi_file(void);
extern Boolean check_dvi_file(void);
#ifndef TEXXET
! extern long set_char(WIDEARG(long, int));
#if defined(KANJI) && !defined(ASCIIDNP)
! extern long set_char2(long);
#endif /* KANJI && !ASCIIDNP */
! extern long load_n_set_char(WIDEARG(long,long));
! extern long set_vf_char(long);
#else
extern void set_char(WIDEARG(ubyte, int), WIDEARG(ubyte, int));
extern void load_n_set_char(WIDEARG(ubyte, int), WIDEARG(ubyte, int));

View File

@ -1,12 +0,0 @@
--- markring.c.org Sat Feb 2 08:07:42 2002
+++ markring.c Sat Feb 2 08:06:15 2002
@@ -8,7 +8,7 @@
#include "markring.h"
#include <stdio.h>
-#include <malloc.h>
+#include <stdlib.h>
void
MakeRingNull(ring)

View File

@ -1,80 +0,0 @@
*** xdvi-17+ptex.fixed.patch.orig Thu May 30 00:45:59 1996
--- xdvi-17+ptex.fixed.patch Thu May 30 00:49:10 1996
***************
*** 2,13 ****
*** xdvi.old/Imakefile Thu Nov 9 02:46:11 1995
--- xdvi.ptex/Imakefile Thu Nov 9 02:48:42 1995
***************
! *** 7,12 ****
! --- 7,13 ----
! #define Use_ZEIT
! #define Use_NTTZEIT
! #define Use_PS
! + #define Use_PTEX
#include "XDvi.defs"
#include "XDvi.rules"
--- 2,13 ----
*** xdvi.old/Imakefile Thu Nov 9 02:46:11 1995
--- xdvi.ptex/Imakefile Thu Nov 9 02:48:42 1995
***************
! *** 12,17 ****
! --- 12,18 ----
! #define Use_PRINTDVI
! #define Use_PAGENUM
! #define Use_PAPER
! + #define Use_PTEX
#include "XDvi.defs"
#include "XDvi.rules"
***************
*** 39,62 ****
DEFAULT_FONTCONFDIR=$(TEXFONTS)/zeit
DEFAULT_FONTCONF=$(DEFAULT_FONTCONFDIR)/FontConf
***************
! *** 121,129 ****
! #endif /* Use_PS */
!
SRCS=xdvi.c dvi_init.c dvi_draw.c fontfmts.c vf.c util.c font_open.c tpic.c \
! ! SELFILE_SRCS PS_SRCS
OBJS=xdvi.o dvi_init.o dvi_draw.o fontfmts.o vf.o util.o font_open.o tpic.o \
! ! SELFILE_OBJS PS_OBJS
!
DEFINES=$(DEFS) -DDEFAULT_FONT_PATH=\"$(DEFAULT_FONT_PATH)\" \
-DDEFAULT_VF_PATH=\"$(DEFAULT_VF_PATH)\" \
! --- 134,142 ----
! #endif /* Use_PS */
!
SRCS=xdvi.c dvi_init.c dvi_draw.c fontfmts.c vf.c util.c font_open.c tpic.c \
! ! SELFILE_SRCS PS_SRCS PTEX_SRCS
OBJS=xdvi.o dvi_init.o dvi_draw.o fontfmts.o vf.o util.o font_open.o tpic.o \
! ! SELFILE_OBJS PS_OBJS PTEX_OBJS
!
DEFINES=$(DEFS) -DDEFAULT_FONT_PATH=\"$(DEFAULT_FONT_PATH)\" \
-DDEFAULT_VF_PATH=\"$(DEFAULT_VF_PATH)\" \
diff -c -N xdvi.old/README.ptex xdvi.ptex/README.ptex
--- 39,62 ----
DEFAULT_FONTCONFDIR=$(TEXFONTS)/zeit
DEFAULT_FONTCONF=$(DEFAULT_FONTCONFDIR)/FontConf
***************
! *** 232,240 ****
! #define PAPER_OBJS paper.o
!
SRCS=xdvi.c dvi_init.c dvi_draw.c fontfmts.c vf.c util.c font_open.c tpic.c \
! ! SELFILE_SRCS PS_SRCS MARKPAGE_SRCS TOC_SRCS PRINT_SRCS PAPER_SRCS
OBJS=xdvi.o dvi_init.o dvi_draw.o fontfmts.o vf.o util.o font_open.o tpic.o \
! ! SELFILE_OBJS PS_OBJS MARKPAGE_OBJS TOC_OBJS PRINT_OBJS PAPER_OBJS
!
DEFINES=$(DEFS) -DDEFAULT_FONT_PATH=\"$(DEFAULT_FONT_PATH)\" \
-DDEFAULT_VF_PATH=\"$(DEFAULT_VF_PATH)\" \
! --- 233,241 ----
! #define PAPER_OBJS paper.o
!
SRCS=xdvi.c dvi_init.c dvi_draw.c fontfmts.c vf.c util.c font_open.c tpic.c \
! ! SELFILE_SRCS PS_SRCS MARKPAGE_SRCS TOC_SRCS PRINT_SRCS PAPER_SRCS PTEX_SRCS
OBJS=xdvi.o dvi_init.o dvi_draw.o fontfmts.o vf.o util.o font_open.o tpic.o \
! ! SELFILE_OBJS PS_OBJS MARKPAGE_OBJS TOC_OBJS PRINT_OBJS PAPER_OBJS PTEX_OBJS
!
DEFINES=$(DEFS) -DDEFAULT_FONT_PATH=\"$(DEFAULT_FONT_PATH)\" \
-DDEFAULT_VF_PATH=\"$(DEFAULT_VF_PATH)\" \
diff -c -N xdvi.old/README.ptex xdvi.ptex/README.ptex

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +0,0 @@
This is xdvi-17 + miyupath + markpage + toc + printdvi + VFlib patch.
ja-vflib package is need to be installed in advance.
This package can compile in 118dpi, 240dpi, 300dpi , 360dpi, 400dpi
or 600dpi fonts.
MITA Yoshio <mita@jp.FreeBSD.org>

View File

@ -1,6 +0,0 @@
@cwd /usr/X11R6
bin/xdvi
@cwd /usr/local
share/tex/xdvipaper.dvi2ps-j
share/tex/xdvipaper.dvips
share/tex/xdvipaper.jdvi2kps

View File

@ -1,11 +0,0 @@
# New ports collection makefile for: xdvi-17miyu + patches + vector font library
# Date created: 8 Nov 1996
# Whom: Mita Yoshio <mita@jp.FreeBSD.org>
#
# $FreeBSD$
#
RESOLUTION= 360
MASTERDIR= ${.CURDIR}/../vfxdvi300
.include "${MASTERDIR}/Makefile"

View File

@ -1,11 +0,0 @@
# New ports collection makefile for: xdvi-17miyu + patches + vector font library
# Date created: 8 Nov 1996
# Whom: Mita Yoshio <mita@jp.FreeBSD.org>
#
# $FreeBSD$
#
RESOLUTION= 400
MASTERDIR= ${.CURDIR}/../vfxdvi300
.include "${MASTERDIR}/Makefile"

View File

@ -1,11 +0,0 @@
# New ports collection makefile for: xdvi-17miyu + patches + vector font library
# Date created: 8 Nov 1996
# Whom: Mita Yoshio <mita@jp.FreeBSD.org>
#
# $FreeBSD$
#
RESOLUTION= 600
MASTERDIR= ${.CURDIR}/../vfxdvi300
.include "${MASTERDIR}/Makefile"