Hi,
Rex Dieter (Fedora Extras packager of LyX) has this patch for the
fedora rpm
(that follows attached).
The reason given for carrying the patch is:
"""
Normally, manual modifications to (the global) lyxrc.defaults get lost
the next time configure is run. With this patch, users can add/modify
custom defaults to lyrcrc.defaults.custom, and these will always stay.
I used this to set the following options for the Fedora Extras packaging:
\screen_zoom 100
\screen_font_roman "Serif"
\screen_font_sans "Sans"
\screen_font_typewriter "Monospace"
\serverpipe "~/.lyx/lyxpipe"
See also:
http://bugzilla.redhat.com/192253
"""
Do I have any objection to applying this patch to trunk? If this is accepted
I will ask Jean-Marc for 1.4.x as well.
PS: I am aware that this needs a new version for configure.py but the idea
is the same and amount of code even less. ;-)
--
José Abílio
--- lyx-1.4.1/lib/configure.defaults 2006-05-23 14:19:26.000000000 -0500
+++ lyx-1.4.1/lib/configure 2006-05-23 14:21:08.000000000 -0500
@@ -2027,3 +2027,8 @@
rm -f chkconfig.sed chkconfig.vars wrap_chkconfig.* chklayouts.tex \
missfont.log
fi
+
+# include local customizations/defaults
+if [ -f ${outfile}.custom ]; then
+ cat ${outfile}.custom >> ${outfile}
+fi
--- lyx-1.4.1/lib/configure.m4.defaults 2006-05-23 14:19:26.000000000 -0500
+++ lyx-1.4.1/lib/configure.m4 2006-05-23 14:20:55.000000000 -0500
@@ -727,3 +727,8 @@
rm -f chkconfig.sed chkconfig.vars wrap_chkconfig.* chklayouts.tex \
missfont.log
fi
+
+# include local customizations/defaults
+if [ -f ${outfile}.custom ]; then
+ cat ${outfile}.custom >> ${outfile}
+fi