Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Jun 2001 18:02:37 -0700
From:      bmah@FreeBSD.ORG (Bruce A. Mah)
To:        Jordan Hubbard <jkh@osd.bsdi.com>
Cc:        bmah@FreeBSD.ORG, nik@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG, freebsd-doc@FreeBSD.ORG
Subject:   Re: HEADS UP: RELNOTESng now default in 4-STABLE, *.TXT files removed 
Message-ID:  <200106070102.f5712ct14598@bmah-freebsd-0.cisco.com>
In-Reply-To: <20010606162900G.jkh@osd.bsdi.com> 
References:  <200106061634.f56GYlA90861@bmah-freebsd-0.cisco.com> <20010606095724R.jkh@osd.bsdi.com> <200106062201.f56M1Wd70662@bmah-freebsd-0.cisco.com> <20010606162900G.jkh@osd.bsdi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--==_Exmh_2014525405P
Content-Type: text/plain; charset=us-ascii

If memory serves me right, Jordan Hubbard wrote:
> Argh, 3 additional ports sure sounds small but then you mention bloody
> ** teTex **, an application which is probably larger than FreeBSD
> itself, and I go a funny shade of grey when I think of that getting
> built on the snapshot boxes. ;)

Grrr.  I just discovered something that's part of teTeX:

---> xdvi <---

Yep.  teTeX needs X11.  Down, not across.

Wait, this isn't a.s.r.

> Send me some diffs and I'll run a few tests to see how serious a
> problem it is, OK?

Here's what I had (RELENG_4, probably applies to HEAD).  The sed script
hasn't been tested because the build didn't get that far before it blew
up.  Quite honestly, I don't feel like messing around with teTeX's build
process, so anyone who wants to take it from here, well, it's all yours.

Maybe we can just generate the PDF files external to the release process
and slap 'em in the CDROM area before the mkisofs step?

Bruce.

Index: Makefile
===================================================================
RCS file: /home/ncvs/src/release/Makefile,v
retrieving revision 1.536.2.43
diff -u -r1.536.2.43 Makefile
--- Makefile	2001/06/05 16:09:25	1.536.2.43
+++ Makefile	2001/06/07 00:42:21
@@ -691,13 +691,16 @@
 	@for i in ${DIST_DOCS_ARCH_INDEP}; do \
 	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/article.txt ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
 	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/article.html ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
+	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/article.pdf ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.PDF; \
 	done
 	@for i in ${DIST_DOCS_ARCH_DEP}; do \
 	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.txt ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
 	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.html ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
+	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.pdf ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.PDF; \
 	done
 	@mv ${FD}/INSTALLATION.TXT ${FD}/INSTALL.TXT
 	@mv ${FD}/INSTALLATION.HTM ${FD}/INSTALL.HTM
+	@mv ${FD}/INSTALLATION.PDF ${FD}/INSTALL.PDF
 .endif
 	@echo "CD_VERSION = ${BUILDNAME}" > ${FD}/cdrom.inf
 .if !defined(NOPORTS)
@@ -730,13 +733,16 @@
 	@for i in ${DIST_DOCS_ARCH_INDEP}; do \
 	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/article.txt ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
 	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/article.html ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
+	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/article.pdf ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.PDF; \
 	done
 	@for i in ${DIST_DOCS_ARCH_DEP}; do \
 	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.txt ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
 	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.html ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
+	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.pdf ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.PDF; \
 	done
 	@mv ${CD_DISC1}/INSTALLATION.TXT ${CD_DISC1}/INSTALL.TXT
 	@mv ${CD_DISC1}/INSTALLATION.HTM ${CD_DISC1}/INSTALL.HTM
+	@mv ${CD_DISC1}/INSTALLATION.PDF ${CD_DISC1}/INSTALL.PDF
 .endif
 .if ${MACHINE_ARCH} == "alpha"
 	@echo "Setting up Alpha CD disc1 for booting"
@@ -760,8 +766,17 @@
 doc.1:
 	@echo "Making docs..."
 	@for i in ${DOCPORTS}; do \
-	  cd /usr/ports/$$i && make all install clean JADETEX=no FORCE_PKG_REGISTER=yes; \
+	  cd /usr/ports/$$i && make all install clean JADETEX=yes FORCE_PKG_REGISTER=yes; \
 	done
+	@mv /usr/local/share/texmf/web2c/texmf.cnf \
+		/usr/local/share/texmf/web2c/texmf.cnf.orig
+	@sed < /usr/local/share/texmf/web2c/texmf.cnf.orig \
+		-e 's/original runtime path/runtime path/' \
+		-e 's/^hash_extra =.$/hash_extra = 60000/' \
+		-e 's/^pool_size =.$/pool_size = 1000000/' \
+		-e 's/^max_strings =.$/max_strings = 70000/' \
+		-e 's/^save_size =.$/save_size = 10000/'\
+		> /usr/local/share/texmf/web2c/texmf.cnf
 	@cd /usr/doc && make all install 'FORMATS=html html-split txt' INSTALL_COMPRESSED='' DOCDIR=${RD}/trees/bin/usr/share/doc
 	touch doc.1
 
@@ -770,7 +785,7 @@
 #
 doc.2:
 	@echo "Making release documentation..."
-	@cd ${.CURDIR}/doc && make all 'FORMATS=html txt'
+	@cd ${.CURDIR}/doc && make all 'FORMATS=html pdf txt'
 	touch doc.2
 
 # Various "subroutine" and other supporting targets.
Index: Makefile.inc.docports
===================================================================
RCS file: /home/ncvs/src/release/Makefile.inc.docports,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 Makefile.inc.docports
--- Makefile.inc.docports	2001/06/05 16:09:25	1.1.2.1
+++ Makefile.inc.docports	2001/06/07 00:42:21
@@ -20,6 +20,8 @@
 	ports/graphics/png \
 	ports/graphics/tiff \
 	ports/print/ghostscript6 \
+	ports/print/jadetex \
+	ports/print/teTeX \
 	ports/textproc/docbook \
 	ports/textproc/docbook-241 \
 	ports/textproc/docbook-300 \
@@ -34,5 +36,6 @@
 	ports/textproc/linuxdoc \
 	ports/textproc/mkcatalog \
 	ports/textproc/sgmlformat \
+	ports/www/libwww \
 	ports/www/links \
 	ports/www/tidy






--==_Exmh_2014525405P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: Exmh version 2.3.1+ 05/14/2001

iD8DBQE7HtKt2MoxcVugUsMRAuxrAKCxoe8GegXwCGsBSkJDKNZB1D+kVACg4BMu
ucVE8o2oyTmhXqHzj2mt0S8=
=CZZM
-----END PGP SIGNATURE-----

--==_Exmh_2014525405P--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106070102.f5712ct14598>