Subject: pkg/7181: a package for GNU intlfonts-1.1
To: None <gnats-bugs@gnats.netbsd.org>
From: None <woods@mail.weird.com>
List: netbsd-bugs
Date: 03/17/1999 15:36:57
>Number:         7181
>Category:       pkg
>Synopsis:       a package for GNU intlfonts-1.1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 17 12:50:02 1999
>Last-Modified:
>Originator:     Greg A. Woods
>Organization:
Planix, Inc.; Toronto, Ontario; Canada
>Release:        NetBSD-current, NetBSD-1.3.x, pkgsrc-current
>Environment:

>Description:

	Here's a package to install intlfonts-1.1, which although
	generally very nice fonts for any application are also pretty
	well required for use with emacs.

	In particular these fonts correct some major problems with
	glyphs available in the standard X fonts, such as incorrect
	back-ticks, missing glyphs in italic and bold-italic, etc.

>How-To-Repeat:

	try running emacs as an X11 client with font-lock-mode on some C
	code and see if it all makes sense or not.

>Fix:

	install the following module in pkgsrc (probably in x11/intlfonts)

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	Makefile
#	files/
#	files/md5
#	patches/
#	patches/patch-aa
#	pkg/
#	pkg/COMMENT
#	pkg/DESCR
#	pkg/MESSAGE
#	pkg/PLIST
#
echo x - Makefile
sed 's/^X//' >Makefile << 'END-of-Makefile'
X# $NetBSD$
X
XDISTNAME=	intlfonts-1.1
XCATEGORIES=	x11
XMASTER_SITES=	${MASTER_SITE_GNU}
XDIST_SUBDIR=	intlfonts-1.1-split
X
XMAINTAINER=	packages@netbsd.org
X
XFONT_SETS=	Asian		\
X		Chinese		\
X		Ethiopic	\
X		European	\
X		Japanese	\
X		Misc
X
X# These are extra files that not many folks will likely need or want
X# They are all bigger than 24 dots -- you'll only want them if you
X# want to display text in really big fonts.
X#
XEXTRA_FONTS=	Chinese-BIG	\
X		European-BIG	\
X		Japanese-BIG
X
XMISC_FILES=	Makefile	\
X		README		\
X		README-split
X
XDISTFILES=	${FONT_SETS:S/$/${EXTRACT_SUFX}/} ${MISC_FILES}
X
XEXTRACT_ONLY=	${FONT_SETS:S/$/${EXTRACT_SUFX}/}
X
XNO_WRKSUBDIR=	yes
XNO_CONFIGURE=	yes
XNO_BUILD=	yes
X
X# trigger the X11 magic...
XUSE_X11BASE=	yes
X
Xpost-extract:
X	@for file in ${MISC_FILES}; do \
X		if ! (${CP} ${_DISTDIR}/$$file ${WRKDIR}); then \
X			exit 1; \
X		fi \
X	done
X
Xdo-install:
X	(cd ${WRKSRC}; ${MAKE} PREFIX=${PREFIX} ${FONT_SETS})
X
X.include "../../mk/bsd.pkg.mk"
END-of-Makefile
echo c - files/
mkdir -p files/ > /dev/null 2>&1
echo x - files/md5
sed 's/^X//' >files/md5 << 'END-of-files/md5'
X$NetBSD$
X
XMD5 (intlfonts-1.1-split/Asian.tar.gz) = 53dd5ac8c38026a5207839fc48e1fcf3
XMD5 (intlfonts-1.1-split/Chinese.tar.gz) = 1569edc9ca42373d9cc09283ab3f480d
XMD5 (intlfonts-1.1-split/Ethiopic.tar.gz) = 39497f24920b4a4b6f18ebf64bcab6f3
XMD5 (intlfonts-1.1-split/European.tar.gz) = e177d0120b592f94593569b706634e92
XMD5 (intlfonts-1.1-split/European-BIG.tar.gz) = 5e18e397ddce416b8bcb88dad8f7a806
XMD5 (intlfonts-1.1-split/Japanese.tar.gz) = 654719badd2bd44897c6216dd15acbff
XMD5 (intlfonts-1.1-split/Misc.tar.gz) = a66661b8392f4a0bfe83d40710e1395e
XMD5 (intlfonts-1.1-split/Makefile) = 7429d8c5331175da3273c82a11ddd8ed
XMD5 (intlfonts-1.1-split/README) = f0a6c8d0f767169a63c43f62e6914dae
XMD5 (intlfonts-1.1-split/README-split) = e25de70a9d7bc6ec5877fef36e8109b9
END-of-files/md5
echo c - patches/
mkdir -p patches/ > /dev/null 2>&1
echo x - patches/patch-aa
sed 's/^X//' >patches/patch-aa << 'END-of-patches/patch-aa'
X+++ Makefile	Mon Feb 22 15:43:55 1999
X@@ -1,8 +1,8 @@
X-INSTALLDIR = /usr/local/share/emacs/fonts
X+INSTALLDIR = ${PREFIX}/lib/X11/fonts/intlfonts
X 
X-BDFTOPCF = bdftopcf
X-MKFONTDIR = mkfontdir
X-COMPRESS =
X+BDFTOPCF = /usr/X11R6/bin/bdftopcf
X+MKFONTDIR = /usr/X11R6/bin/mkfontdir
X+COMPRESS = gzip
X 
X SUBDIRS =	European Asian Chinese Japanese Ethiopic Misc
X SUBDIRS_X =	Chinese-X Japanese-X Korean-X
X@@ -73,9 +73,6 @@
X 	@if [ -d $@ -a ! -f making.all ] ; then \
X 	  echo "Building ${INSTALLDIR}/fonts.dir..." ; \
X 	  cd ${INSTALLDIR}; ${MKFONTDIR} ; \
X-	  echo "-----------------------------------------------------------------------" ; \
X-	  echo "Please read README for how to inform your X server about the new fonts." ; \
X-	  echo "-----------------------------------------------------------------------" ; \
X 	else true ; fi
X 
X all:
X@@ -85,9 +82,6 @@
X 	@rm -f making.all
X 	echo "Building ${INSTALLDIR}/fonts.dir..."
X 	cd ${INSTALLDIR}; $(MKFONTDIR)
X-	@echo "-----------------------------------------------------------------------"
X-	@echo "Please read README for how to inform your X server about the new fonts."
X-	@echo "-----------------------------------------------------------------------"
X 
X clean:
X 	rm -fr ${SUBDIRS} ${SUBDIRS_X} ${SUBDIRS_BIG}
END-of-patches/patch-aa
echo c - pkg/
mkdir -p pkg/ > /dev/null 2>&1
echo x - pkg/COMMENT
sed 's/^X//' >pkg/COMMENT << 'END-of-pkg/COMMENT'
XFree X11 fonts (BDF format) for all characters that Emacs 20 can handle.
END-of-pkg/COMMENT
echo x - pkg/DESCR
sed 's/^X//' >pkg/DESCR << 'END-of-pkg/DESCR'
XInternational Fonts Ver.1.1
X
XFree X11 fonts (BDF format) for all characters that Emacs 20 can handle.
X
XFonts are classified by the following regions:
X        European, Asian, Chinese, Japanese, Korean, Ethiopic, Misc
Xand this directory contains the following kinds of archives.
X
Xo REGION.tar
X
XThe fonts in these archives are the fonts of normal size (less than or
Xequal to 24dots) not included in the standard distribution of X window
Xsystem.  You surely need all of them to correctly display all
Xcharacters supported by Emacs 20.
X
Xo REGION-X.tar
X
XThe fonts in these archives are fonts of normal size included in the
Xstandard distribution of X window system.  You may not need them if
Xyou have already installed X's fonts (distributed under `misc'
Xsubdirectory).
X
Xo REGION-BIG.tar
X
XThe fonts in these archives are fonts of big size (greater than
X24dots).  None of them are included in the standard distribution of X
Xwindow system.  You need them only when you surely want to see big
Xcharacters.  But, they do not cover all character sets.
END-of-pkg/DESCR
echo x - pkg/MESSAGE
sed 's/^X//' >pkg/MESSAGE << 'END-of-pkg/MESSAGE'
XYou can tell one existing X session on the installed host to use the
Xnew "intlfonts" fonts with:
X
X	$ xset +fp /usr/X11R6/lib/X11/fonts/intlfonts
X
XTo make the effect permanent for future X sessions, you will have to
Xedit certain files in yout X installation. 
X
XFor example if you are only using the "startx" command to start a local
XX session then you would add the above command to your ~/.xinitrc
Xscript.
X
XIf you're running a local X server from xdm then you would need to set
Xthe complete set of font directories in the xdm/Xservers file with the
X'-fp' option common to all X servers.
X
XIf you are using the X font server (xfs) then you would add the
Xintlfonts install directory to the xfs/config file in the comma
Xseparated list of directories given for the "catalogue" setting.
XFor example:
X
X	catalogue = /usr/X11R6/lib/X11/fonts/misc/,
X		  /usr/X11R6/lib/X11/fonts/Speedo/,
X		  /usr/X11R6/lib/X11/fonts/Type1/,
X		  /usr/X11R6/lib/X11/fonts/100dpi/,
X		  /usr/X11R6/lib/X11/fonts/75dpi/,
X		  /usr/X11R6/lib/X11/fonts/intlfonts/
END-of-pkg/MESSAGE
echo x - pkg/PLIST
sed 's/^X//' >pkg/PLIST << 'END-of-pkg/PLIST'
X@comment $NetBSD$
Xlib/X11/fonts/intlfonts/a18.pcf.gz
Xlib/X11/fonts/intlfonts/a18rk.pcf.gz
Xlib/X11/fonts/intlfonts/cns-1-16.pcf.gz
Xlib/X11/fonts/intlfonts/cns-1-24.pcf.gz
Xlib/X11/fonts/intlfonts/cns-2-16.pcf.gz
Xlib/X11/fonts/intlfonts/cns-2-24.pcf.gz
Xlib/X11/fonts/intlfonts/cns-3-24.pcf.gz
Xlib/X11/fonts/intlfonts/cns-4-24.pcf.gz
Xlib/X11/fonts/intlfonts/cns-5-24.pcf.gz
Xlib/X11/fonts/intlfonts/cns-6-24.pcf.gz
Xlib/X11/fonts/intlfonts/cns-7-24.pcf.gz
Xlib/X11/fonts/intlfonts/ethiomx16f-uni.pcf.gz
Xlib/X11/fonts/intlfonts/ethiomx24f-uni.pcf.gz
Xlib/X11/fonts/intlfonts/etl14-cyrillic.pcf.gz
Xlib/X11/fonts/intlfonts/etl14-greek.pcf.gz
Xlib/X11/fonts/intlfonts/etl14-hebrew.pcf.gz
Xlib/X11/fonts/intlfonts/etl14-ipa.pcf.gz
Xlib/X11/fonts/intlfonts/etl14-koi8.pcf.gz
Xlib/X11/fonts/intlfonts/etl14-latin1.pcf.gz
Xlib/X11/fonts/intlfonts/etl14-latin2.pcf.gz
Xlib/X11/fonts/intlfonts/etl14-latin3.pcf.gz
Xlib/X11/fonts/intlfonts/etl14-latin4.pcf.gz
Xlib/X11/fonts/intlfonts/etl14-latin5.pcf.gz
Xlib/X11/fonts/intlfonts/etl14-sisheng.pcf.gz
Xlib/X11/fonts/intlfonts/etl16-arabic0.pcf.gz
Xlib/X11/fonts/intlfonts/etl16-arabic1.pcf.gz
Xlib/X11/fonts/intlfonts/etl16-arabic2.pcf.gz
Xlib/X11/fonts/intlfonts/etl16-cyrillic.pcf.gz
Xlib/X11/fonts/intlfonts/etl16-greek.pcf.gz
Xlib/X11/fonts/intlfonts/etl16-hebrew.pcf.gz
Xlib/X11/fonts/intlfonts/etl16-ipa.pcf.gz
Xlib/X11/fonts/intlfonts/etl16-koi8.pcf.gz
Xlib/X11/fonts/intlfonts/etl16-latin1.pcf.gz
Xlib/X11/fonts/intlfonts/etl16-latin2.pcf.gz
Xlib/X11/fonts/intlfonts/etl16-latin3.pcf.gz
Xlib/X11/fonts/intlfonts/etl16-latin4.pcf.gz
Xlib/X11/fonts/intlfonts/etl16-latin5.pcf.gz
Xlib/X11/fonts/intlfonts/etl16-sisheng.pcf.gz
Xlib/X11/fonts/intlfonts/etl16-viscii.pcf.gz
Xlib/X11/fonts/intlfonts/etl16b-latin1.pcf.gz
Xlib/X11/fonts/intlfonts/etl16bi-latin1.pcf.gz
Xlib/X11/fonts/intlfonts/etl16i-latin1.pcf.gz
Xlib/X11/fonts/intlfonts/etl24-arabic0.pcf.gz
Xlib/X11/fonts/intlfonts/etl24-arabic1.pcf.gz
Xlib/X11/fonts/intlfonts/etl24-arabic2.pcf.gz
Xlib/X11/fonts/intlfonts/etl24-cyrillic.pcf.gz
Xlib/X11/fonts/intlfonts/etl24-greek.pcf.gz
Xlib/X11/fonts/intlfonts/etl24-hebrew.pcf.gz
Xlib/X11/fonts/intlfonts/etl24-ipa.pcf.gz
Xlib/X11/fonts/intlfonts/etl24-koi8.pcf.gz
Xlib/X11/fonts/intlfonts/etl24-latin1.pcf.gz
Xlib/X11/fonts/intlfonts/etl24-latin2.pcf.gz
Xlib/X11/fonts/intlfonts/etl24-latin3.pcf.gz
Xlib/X11/fonts/intlfonts/etl24-latin4.pcf.gz
Xlib/X11/fonts/intlfonts/etl24-latin5.pcf.gz
Xlib/X11/fonts/intlfonts/etl24-sisheng.pcf.gz
Xlib/X11/fonts/intlfonts/etl24-viscii.pcf.gz
Xlib/X11/fonts/intlfonts/etl40-latin1.pcf.gz
Xlib/X11/fonts/intlfonts/fonts.alias
Xlib/X11/fonts/intlfonts/fonts.dir
Xlib/X11/fonts/intlfonts/guobiao16.pcf.gz
Xlib/X11/fonts/intlfonts/jiskan16-1978.pcf.gz
Xlib/X11/fonts/intlfonts/jisksp16.pcf.gz
Xlib/X11/fonts/intlfonts/k16-1990.pcf.gz
Xlib/X11/fonts/intlfonts/kanji18.pcf.gz
Xlib/X11/fonts/intlfonts/mule-indian-1col-24.pcf.gz
Xlib/X11/fonts/intlfonts/mule-indian-24.pcf.gz
Xlib/X11/fonts/intlfonts/mule-iscii-24.pcf.gz
Xlib/X11/fonts/intlfonts/mule-lao-14.pcf.gz
Xlib/X11/fonts/intlfonts/mule-lao-16.pcf.gz
Xlib/X11/fonts/intlfonts/mule-lao-24.pcf.gz
Xlib/X11/fonts/intlfonts/mule-tibmdx-16.pcf.gz
Xlib/X11/fonts/intlfonts/mule-tibmdx-1col-16.pcf.gz
Xlib/X11/fonts/intlfonts/mule-tibmdx-1col-24.pcf.gz
Xlib/X11/fonts/intlfonts/mule-tibmdx-24.pcf.gz
Xlib/X11/fonts/intlfonts/taipei16.pcf.gz
Xlib/X11/fonts/intlfonts/taipei24.pcf.gz
Xlib/X11/fonts/intlfonts/thai-14.pcf.gz
Xlib/X11/fonts/intlfonts/thai-16.pcf.gz
Xlib/X11/fonts/intlfonts/thai-24.pcf.gz
X@dirrm lib/X11/fonts/intlfonts
END-of-pkg/PLIST
exit

>Audit-Trail:
>Unformatted: