mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 21:55:29 +00:00
Fixlets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@804 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a8052e0665
commit
d9807f7423
13
ChangeLog
13
ChangeLog
@ -1,5 +1,18 @@
|
||||
2000-06-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||
|
||||
* src/support/filetools.C (PutEnv): fix the code in case neither
|
||||
putenv() nor setenv() have been found.
|
||||
|
||||
* INSTALL: mention the install-strip Makefile target.
|
||||
|
||||
* src/LyXAction.C (init): make LFUN_BUILDPROG available in
|
||||
read-only documents.
|
||||
|
||||
2000-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||
|
||||
* lib/reLyX/configure.in (VERSION): avoid using a previously
|
||||
generated reLyX wrapper to find out $prefix.
|
||||
|
||||
* lib/examples/eu_adibide_lyx-atua.lyx:
|
||||
* lib/examples/eu_adibide_gordina.lyx: new examples for the Basque
|
||||
translation of the Tutorial (Dooteo)
|
||||
|
9
INSTALL
9
INSTALL
@ -24,7 +24,8 @@ These four steps will compile, test and install LyX:
|
||||
runs the program so you can check it out.
|
||||
|
||||
4) make install
|
||||
will install it.
|
||||
will install it. You can use "make install-strip" instead
|
||||
if you want a smaller binary.
|
||||
|
||||
|
||||
Requirements
|
||||
@ -218,6 +219,12 @@ Once you've got the Makefile created, you just have to type:
|
||||
|
||||
All should be OK ;)
|
||||
|
||||
Since the binaries with debug information tend to be huge (although
|
||||
this does not affect the run-time memory footprint), you maight want
|
||||
to strip the lyx binary. In this case replace "make install" with
|
||||
|
||||
make install-strip
|
||||
|
||||
BTW: in the images subdirectory there is also a small icon "lyx.xpm",
|
||||
that can be used to display lyx-documents in filemanagers.
|
||||
|
||||
|
@ -14,6 +14,9 @@ dnl must make a macro that gets the reLyX version
|
||||
VERSION=2.0
|
||||
AM_INIT_AUTOMAKE($lyxname, $VERSION)
|
||||
|
||||
# if reLyX has already been generated in this directory, delete it first
|
||||
test -x reLyX && rm -f reLyX
|
||||
# Find an already installed reLyX
|
||||
AC_PREFIX_PROGRAM(reLyX)
|
||||
# fix the value of the prefixes.
|
||||
test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
||||
|
2
lyx.man
2
lyx.man
@ -144,7 +144,7 @@ can be used to specify which user directory to use.
|
||||
.PP
|
||||
The user directory is, in order of precedence:
|
||||
.br
|
||||
1) -usedir command line parameter
|
||||
1) -userdir command line parameter
|
||||
.br
|
||||
2) LYX_USERDIR_11x environment variable
|
||||
.br
|
||||
|
@ -106,7 +106,8 @@ void LyXAction::init()
|
||||
{ LFUN_BREAKPARAGRAPHKEEPLAYOUT, "break-paragraph-keep-layout",
|
||||
"", Noop },
|
||||
{ LFUN_BREAKPARAGRAPH_SKIP, "break-paragraph-skip", "", Noop },
|
||||
{ LFUN_BUILDPROG, "build-program", _("Build program"), Noop },
|
||||
{ LFUN_BUILDPROG, "build-program",
|
||||
N_("Build program"), ReadOnly },
|
||||
{ LFUN_AUTOSAVE, "buffer-auto-save", N_("Autosave"), Noop },
|
||||
{ LFUN_BEGINNINGBUF, "buffer-begin",
|
||||
N_("Go to beginning of document"), ReadOnly },
|
||||
|
@ -305,6 +305,7 @@ bool PutEnv(string const & envstr)
|
||||
{
|
||||
// CHECK Look at and fix this.
|
||||
// f.ex. what about error checking?
|
||||
|
||||
#if HAVE_PUTENV
|
||||
// this leaks, but what can we do about it?
|
||||
// Is doing a getenv() and a free() of the older value
|
||||
@ -332,6 +333,9 @@ bool PutEnv(string const & envstr)
|
||||
string varname;
|
||||
string str = envstr.split(varname,'=');
|
||||
int retval = setenv(varname.c_str(), str.c_str(), true);
|
||||
#else
|
||||
// No environment setting function. Can this happen?
|
||||
int retval = 1; //return an error condition.
|
||||
#endif
|
||||
#endif
|
||||
return retval == 0;
|
||||
|
Loading…
Reference in New Issue
Block a user