public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* cygport: TeX Live postinstall scripts shouldn't enable all formats
@ 2012-12-23 22:42 Ken Brown
  2013-01-09  0:30 ` Yaakov
  0 siblings, 1 reply; 2+ messages in thread
From: Ken Brown @ 2012-12-23 22:42 UTC (permalink / raw)
  To: cygwin-apps

[-- Attachment #1: Type: text/plain, Size: 410 bytes --]

I've just discovered that some TeX Live packages have formats that are 
supposed to be disabled by default.  This is indicated by the presence 
of "mode=disabled" in the "execute AddFormat ..." line in the .tlpobj 
file.  The documentation for this is in 
/usr/share/tlpkg/TeXLive/TLPSRC.pm.  But the postinstall scripts 
generated by cygport enable these formats anyway.  The attached patch 
fixes this.

Ken

[-- Attachment #2: texlive_fmtutil.patch --]
[-- Type: text/plain, Size: 371 bytes --]

--- texlive.cygclass.orig	2012-11-21 00:02:08.000000000 -0500
+++ texlive.cygclass	2012-12-23 17:14:42.042923600 -0500
@@ -203,6 +203,7 @@
 		done
 
 		for fmt in $(grep -E 'execute AddFormat' $tlpobj \
+		             | grep -v 'mode=disabled' \
 		             | sed 's/.* name=\([^ ]*\).*/\1/g')
 		do
 			__config_set texlive_fmts "$(__config_get texlive_fmts) $fmt"

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: cygport: TeX Live postinstall scripts shouldn't enable all formats
  2012-12-23 22:42 cygport: TeX Live postinstall scripts shouldn't enable all formats Ken Brown
@ 2013-01-09  0:30 ` Yaakov
  0 siblings, 0 replies; 2+ messages in thread
From: Yaakov @ 2013-01-09  0:30 UTC (permalink / raw)
  To: cygwin-apps

On Sun, 23 Dec 2012 17:42:31 -0500, Ken Brown wrote:
> I've just discovered that some TeX Live packages have formats that are 
> supposed to be disabled by default.  This is indicated by the presence 
> of "mode=disabled" in the "execute AddFormat ..." line in the .tlpobj 
> file.  The documentation for this is in 
> /usr/share/tlpkg/TeXLive/TLPSRC.pm.  But the postinstall scripts 
> generated by cygport enable these formats anyway.  The attached patch 
> fixes this.

Fixed in commit a8b2f32.


Yaakov

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-09  0:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-23 22:42 cygport: TeX Live postinstall scripts shouldn't enable all formats Ken Brown
2013-01-09  0:30 ` Yaakov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).