summaryrefslogtreecommitdiff
path: root/print/wprint
diff options
context:
space:
mode:
Diffstat (limited to 'print/wprint')
-rw-r--r--print/wprint/Makefile42
-rw-r--r--print/wprint/distinfo2
-rw-r--r--print/wprint/files/patch-Makefile.in13
-rw-r--r--print/wprint/files/patch-hinting-ftface.diff91
-rw-r--r--print/wprint/pkg-descr7
-rw-r--r--print/wprint/pkg-plist14
6 files changed, 0 insertions, 169 deletions
diff --git a/print/wprint/Makefile b/print/wprint/Makefile
deleted file mode 100644
index 7f0709f6236f..000000000000
--- a/print/wprint/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-# Created by: ijliao
-# $FreeBSD$
-
-PORTNAME= wprint
-PORTVERSION= 2.05
-PORTREVISION= 2
-CATEGORIES= print
-MASTER_SITES= http://programoj.esperanto.org.uy/angle/
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Mozilla/HtmlDoc/Netscape Postscript Filter
-
-LICENSE= GPLv2 # (or later)
-LICENSE_FILE= ${WRKSRC}/COPYING
-
-LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2
-
-DEPRECATED= Unmaintained since 2002
-EXPIRATION_DATE= 2014-04-17
-USES= iconv perl5
-GNU_CONFIGURE= yes
-
-MAN1= wprint.1
-
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-
-NO_STAGE= yes
-post-patch:
-.for file in man/wprint.1.pod src/wprint.c
- @${REINPLACE_CMD} -e "s|/etc/wprint\.conf|${PREFIX}/etc/wprint.conf|g" \
- ${WRKSRC}/${file}
-.endfor
- @${REINPLACE_CMD} -e 's,$$(srcdir)/wprint.conf $$(sysconfdir),$$(srcdir)/wprint.conf $$(sysconfdir)/wprint.conf.dist,g' \
- ${WRKSRC}/etc/Makefile.in
-
-post-install:
- @if [ ! -f ${PREFIX}/etc/wprint.conf ]; then \
- ${CP} -p ${PREFIX}/etc/wprint.conf.dist ${PREFIX}/etc/wprint.conf ; \
- fi
-
-.include <bsd.port.mk>
diff --git a/print/wprint/distinfo b/print/wprint/distinfo
deleted file mode 100644
index f666e49c3009..000000000000
--- a/print/wprint/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (wprint-2.05.tar.gz) = 90de9b92b91854cd683c43ef25e15d6a186ef667397d9b5c56d47793c6ca832a
-SIZE (wprint-2.05.tar.gz) = 108561
diff --git a/print/wprint/files/patch-Makefile.in b/print/wprint/files/patch-Makefile.in
deleted file mode 100644
index 93c118f4b6b4..000000000000
--- a/print/wprint/files/patch-Makefile.in
+++ /dev/null
@@ -1,13 +0,0 @@
---- etc/Makefile.in.orig Tue Oct 15 17:09:45 2002
-+++ etc/Makefile.in Tue Oct 15 17:12:13 2002
-@@ -165,8 +165,8 @@
-
-
- install-data-local:
-- $(mkinstalldirs) $(DESTDIR)/etc
-- $(INSTALL_DATA) $(srcdir)/wprint.conf $(DESTDIR)/etc/wprint.conf
-+ $(mkinstalldirs) $(sysconfdir)
-+ $(INSTALL_DATA) $(srcdir)/wprint.conf $(sysconfdir)
-
- # Tell versions [3.59,3.63) of GNU make to not export all variables.
- # Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/print/wprint/files/patch-hinting-ftface.diff b/print/wprint/files/patch-hinting-ftface.diff
deleted file mode 100644
index 86eaa2800a8b..000000000000
--- a/print/wprint/files/patch-hinting-ftface.diff
+++ /dev/null
@@ -1,91 +0,0 @@
-diff -ur src/wprint-ft2.c.orig src/wprint-ft2.c
---- src/wprint-ft2.c.orig 2001-10-26 02:41:29.000000000 +0800
-+++ src/wprint-ft2.c 2003-07-19 15:18:55.000000000 +0800
-@@ -20,8 +20,11 @@
- Error("Couldn't find suitable Cmap");
-
- index = FT_Get_Char_Index(ti->font.ttface,unicode );
-+
-+ FT_Set_Char_Size (ti->font.ttface, 0, 16*64, 0, 0);
-
-- if((error=FT_Load_Glyph(ti->font.ttface, index, FT_LOAD_NO_SCALE)))
-+ if((error=FT_Load_Glyph(ti->font.ttface, index, FT_LOAD_NO_BITMAP
-+ | FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH)))
- FTError("Couldn't load glyph", error);
- glyphToPs(out,unicode,ti,b64name);
-
-@@ -280,13 +283,13 @@
- {
- FT_Done_Face(ti->font.ttface);
- }
--int setFont(struct tt_info *ti,char *file)
-+int setFont(struct tt_info *ti,char *file,int faceindex)
- {
- int error;
- int i,l,total;
- FT_SfntName name;
-
-- if ((error = FT_New_Face(ti->ttengine,file,0,&(ti->font.ttface)) != 0))
-+ if ((error = FT_New_Face(ti->ttengine,file,faceindex,&(ti->font.ttface)) != 0))
- {
- FTError("Coudn't set TrueType font", error);
- }
-diff -ur src/wprint.c.orig src/wprint.c
---- src/wprint.c.orig 2002-04-02 04:59:57.000000000 +0800
-+++ src/wprint.c 2003-07-19 15:18:32.000000000 +0800
-@@ -518,6 +518,7 @@
- fnc[i].xr = 72;
- fnc[i].yr = 72;
- fnc[i].pt = 14.0;
-+ fnc[i].faceindex = 0;
-
- comma = strchr(from,',');
- if (comma != NULL)
-@@ -531,8 +532,8 @@
-
- *p = 0;
- if (strchr(p + 1,';') != NULL)
-- sscanf(p + 1,"%[^;];%d;%d;%lf",enco,
-- &fnc[i].xr,&fnc[i].yr,&fnc[i].pt);
-+ sscanf(p + 1,"%[^;];%d;%d;%lf;%d",enco,
-+ &fnc[i].xr,&fnc[i].yr,&fnc[i].pt,&fnc[i].faceindex);
- else
- strcpy(enco,p + 1);
-
-@@ -559,6 +560,7 @@
- fnc[i].xr = fnc[i - 1].xr;
- fnc[i].yr = fnc[i - 1].yr;
- fnc[i].pt = fnc[i - 1].pt;
-+ fnc[i].faceindex = fnc[i - 1].faceindex;
- }
- }
- return(i);
-@@ -925,7 +927,7 @@
- ttglobalinfo.font.xr = fnc[i].xr;
- ttglobalinfo.font.yr = fnc[i].yr;
- ttglobalinfo.font.charsize = fnc[i].pt;
-- setFont(&ttglobalinfo,fnc[i].filename);
-+ setFont(&ttglobalinfo,fnc[i].filename,fnc[i].faceindex);
- generateFont(out,aux,&ttglobalinfo);
- unsetFont(&ttglobalinfo);
- }
-diff -ur src/wprint.h.orig src/wprint.h
---- src/wprint.h.orig 2002-04-02 04:39:04.000000000 +0800
-+++ src/wprint.h 2003-07-19 14:58:57.000000000 +0800
-@@ -152,6 +152,7 @@
- int xr;
- int yr;
- double pt;
-+ int faceindex;
- };
- typedef struct
- {
-@@ -161,7 +162,7 @@
- Font *newFont(unsigned short fid,unsigned short feid);
- Font *addChar(unsigned short unicode,int fontid);
- int initTT(struct tt_info *ti);
--int setFont(struct tt_info *ti,char *);
-+int setFont(struct tt_info *ti,char *,int faceindex);
- int unsetFont(struct tt_info *ti);
- void finalizeTT(struct tt_info *ti);
- FILE *processConfiguration(FILE *in,char *entry,char *encoding);
diff --git a/print/wprint/pkg-descr b/print/wprint/pkg-descr
deleted file mode 100644
index ce90005aa713..000000000000
--- a/print/wprint/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-World Print - Mozilla/HtmlDoc/Netscape Postscript Filter
-
-Wprint is a filter for Mozilla (Galeon, etc.), Htmldoc, and Netscape
-PostScript output that uses TrueType fonts to allow the printing of pages
-written in Unicode, Big5, KOI8, SJIS, the ISO- 8859* charsets, and others.
-
-WWW: http://programoj.esperanto.org.uy/angle/
diff --git a/print/wprint/pkg-plist b/print/wprint/pkg-plist
deleted file mode 100644
index ccf04a2067de..000000000000
--- a/print/wprint/pkg-plist
+++ /dev/null
@@ -1,14 +0,0 @@
-bin/wprint
-@unexec if cmp -s %D/etc/wprint.conf.dist %D/etc/wprint.conf; then rm -f %D/etc/wprint.conf; fi
-etc/wprint.conf.dist
-@exec if [ ! -f %D/etc/wprint.conf ] ; then cp -p %D/%F %B/wprint.conf; fi
-%%DATADIR%%/COURR_SE.TTF
-%%DATADIR%%/COURR_SE.TXT
-%%DATADIR%%/README.test
-%%DATADIR%%/netscape.ps
-%%DATADIR%%/news.eo.gif
-%%DATADIR%%/search.eo.gif
-%%DATADIR%%/test.html
-%%DATADIR%%/test.sh
-%%DATADIR%%/wprint-test.conf
-@dirrm %%DATADIR%%