Ruurd Reitsma wrote:
By request, this the wrapper tool that I use to compile LyX with MSVC.
All thanks to the Coin3D project. Cygwin is used to run the autotools and
make, but compilation is native Win32 with MSVC.
IMO this is the most time efficient way to do it. I have fiddled with
Angus Leeming [EMAIL PROTECTED] writes:
| As promised, I'm posting the remainder of the changes that are needed to
| compile LyX with MinGW. This patch is much less intrusive than the
| original because the offensive os_win32.h is how #included only by
| those .C files that actually need it.
I
Angus Leeming [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Incidentally, Ruurd, do you need this wrapper at all? Why not patch the
scripts in config to generate Makefiles that 'just do the right thing'?
I did try that at first, but I wasn´t very successfull. If remember
correctly,
Angus == Angus Leeming [EMAIL PROTECTED] writes:
Angus It turned out that this solution was incorrect. Compilation
Angus failed on the Windows machine because the definition of a mkdir
Angus macro in config.h conflicted with another mkdir macro defined
Angus in mingw/include/os.h.
Angus I have
Edwin == Edwin Leuven [EMAIL PROTECTED] writes:
Edwin PPS trying to open a doc, lyx crashes:
What doc was that?
JMarc
Lars Gullik Bjønnes wrote:
| As promised, I'm posting the remainder of the changes that are needed
| to compile LyX with MinGW. This patch is much less intrusive than the
| original because the offensive os_win32.h is how #included only by
| those .C files that actually need it.
I am not
Angus == Angus Leeming [EMAIL PROTECTED] writes:
Angus As promised, I'm posting the remainder of the changes that are
Angus needed to compile LyX with MinGW. This patch is much less
Angus intrusive than the original because the offensive os_win32.h is
Angus how #included only by those .C files
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes:
|+#ifdef HAVE_UNISTD_H
|+# include unistd.h
|+#endif
|+
| cunistd?
No such thing.
--
Lgb
What doc was that?
it crashes on the attached...
regards, ed.
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\begin_preamble
\usepackage{mathptmx}
\usepackage[scaled=0.9]{helvet}
\usepackage{courier}
\usepackage{rotating}
\date{}
http://bugzilla.lyx.org/show_bug.cgi?id=1214
This one fixes a bug in xforms' math panel. mathed should always get only one
dispatch, not two separate ones. The qt frontend does this since genesis.
OK?
Jürgen
P.S.: This is also a 1.3.6 candidate
Index: FormMathsBitmap.C
Martin Vermeer wrote:
These are meant to be the units Ångström and Ørsted. So you need a
Swedish Å (\AA is OK I think) and a Danish Ø (\O).
Patch attached. The only drawback is that it gets rendered as AA and O. I
don't know how to add the commands \AA and \O to lib/symbols or whereever.
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes:
Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes:
| | cunistd?
| Lars No such thing.
| What can unistd.h do that no c* header does?
unixy things. Lots of stuff just have a look at the header on your own
box.
The c* header are basically just
Edwin Leuven wrote:
What doc was that?
it crashes on the attached...
| \layoutCaption
|
|
Averageworkingtimerelativetofull-time,byageandgender(1999-2002)
THe problem is a caption in a top paragraph. In top paragraphs the
inset_owner is not set on reading and so it crashes.
Andre == Andre Poenitz [EMAIL PROTECTED] writes:
Andre On Tue, Dec 07, 2004 at 04:32:59PM +, Angus Leeming wrote:
Isn't it possible to define \mesg only when \typeout's argument
starts Babel:
{\def\typeout#1{if #1 starts with Babel then
\global\def\mesg{#1}} \the\everyjob}
Andre We
Jean-Marc == Jean-Marc Lasgouttes [EMAIL PROTECTED] writes:
Angus == Angus Leeming [EMAIL PROTECTED] writes:
Angus Isn't it possible to define \mesg only when \typeout's argument
Angus starts Babel:
Jean-Marc I thought about that (and I do not know how to do it...),
Jean-Marc but a better
Juergen == Juergen Spitzmueller [EMAIL PROTECTED] writes:
Juergen Martin Vermeer wrote:
These are meant to be the units Ångström and Ørsted. So you need a
Swedish Å (\AA is OK I think) and a Danish Ø (\O).
Juergen Patch attached. The only drawback is that it gets rendered as
Juergen AA and O.
Jean-Marc Lasgouttes wrote:
A little digression: instead of our current os:: namespace, wouldn't
it be better to have a hierarchy of os_foo classes with static
methods, so that some environment could inherit others (like cygwin =
unix + some stuff). The some of the code from this init method
Martin Vermeer wrote:
E.g., the real numbers R is sent as mathbb R and then dispatched as
\mathbb (creating a little blue font box), followed by R (to be put
inside it).
This *used* to work, but doesn't anymore. Jürgen, is this what you are
fixing?
Basically yes.
Jürgen
P.S.: If you
Cruft left over from the 'OS abstraction of HOME and the null device'
patch. Thanks to Jean-Marc for spotting this stuff.
Committing now...
AngusIndex: src/ChangeLog
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ChangeLog,v
Trying to build the latest CVS of lyx-140 in Mac OS X forced rerunning
configure, which fails. I get variants of the following error with each
of ostream, istream, sstream, locale, ios, and Aiksaurus:
checking ostream usability... no
checking ostream presence... yes
configure: WARNING: ostream:
Bennett Helm wrote:
Trying to build the latest CVS of lyx-140 in Mac OS X forced rerunning
configure, which fails. I get variants of the following error with each
of ostream, istream, sstream, locale, ios, and Aiksaurus:
checking ostream usability... no
checking ostream presence... yes
Angus == Angus Leeming [EMAIL PROTECTED] writes:
Angus Jean-Marc Lasgouttes wrote:
A little digression: instead of our current os:: namespace,
wouldn't it be better to have a hierarchy of os_foo classes with
static methods, so that some environment could inherit others (like
cygwin = unix +
Jean-Marc Lasgouttes wrote:
@@ -289,7 +293,7 @@ void LyX::init(bool gui)
do {
// Path of binary/../share/name of binary/
searchpath += NormalizePath(AddPath(binpath,
../share/) +
-
Jean-Marc Lasgouttes wrote:
@@ -623,6 +623,8 @@ string const InsetGraphics::prepareFile(
// without dots and again with ext
temp_file = ChangeExtension(
subst(temp_file, ., _), ext_tmp);
+ //Remove drive letter on
Jean-Marc Lasgouttes wrote:
A little digression: instead of our current os:: namespace,
wouldn't it be better to have a hierarchy of os_foo classes with
static methods, so that some environment could inherit others (like
cygwin = unix + some stuff). The some of the code from this init
method
Angus == Angus Leeming [EMAIL PROTECTED] writes:
Angus Thanks for the commentary, Jean-Marc. I like the ideas of a
Angus hierarchy of os classes and of getting rid of GetEnvPath.
Angus I'll continue the process of small, self contained patches.
Sure.
Angus I think that, as a rule, we should be
Lars Gullik Bjønnes wrote:
| class os {
| public:
| static void init(int argc, char * argv[]);
| static string const binpath();
| static string const binname();
| static string const homepath();
| static string const nulldev();
| private:
|
Angus Leeming [EMAIL PROTECTED] writes:
| @@ -217,8 +217,19 @@ bool setLyxPaths()
| bool followlink;
| do {
| // Path of binary/../share/name of binary/
| - searchpath += NormalizePath(AddPath(binpath, ../share/) +
| - OnlyFilename(binname))
Angus Leeming wrote:
Do you agree that my approach is better? If so, are you happy with the
attached patches for the 13x and 14x trees?
Yes and yes.
Georg
On czwartek 16 grudzie 2004 11:59 am, Angus Leeming wrote:
Given a file name C:/foo/bar, I believe that the name of the temporary
file should be C__foo_bar. Ie, the drive name should be included in the
mangling. Ruurd was addressing this idea in his patch, but he simply
removed the drive
As promised Jean-Marc here is the output from lyx -dbg init. This is with
the 'remainder of Ruurd's changes' patch applied to the current 13x CVS.
I've also applied today's two proposals 'mangling temporary file names'
and 'determining the name of the LyX system dir'.
$ cd qt3/bin
$
Angus Leeming [EMAIL PROTECTED] writes:
Bennett Helm wrote:
Trying to build the latest CVS of lyx-140 in Mac OS X forced rerunning
configure, which fails. I get variants of the following error with each
of ostream, istream, sstream, locale, ios, and Aiksaurus:
Same with me.
Try
Kuba Ober wrote:
I vaguely recall this idea being raised at one point or another, but can't
the temporary file names be simply generated from some kind of a unique
global counter, maybe merged with PID?
We have a global counter, it is prepended to the mangled name. Otherwise it
would not be
Angus == Angus Leeming [EMAIL PROTECTED] writes:
Angus As suggested by JMarc. Committing now...
Actually, I was advocating removing the whole information line, but it
may have been too drastic :)
JMarc
Juergen == Juergen Spitzmueller [EMAIL PROTECTED] writes:
Juergen http://bugzilla.lyx.org/show_bug.cgi?id=1214 This one fixes a
Juergen bug in xforms' math panel. mathed should always get only one
Juergen dispatch, not two separate ones. The qt frontend does this
Juergen since genesis.
What
Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes:
| cunistd?
Lars No such thing.
What can unistd.h do that no c* header does?
JMarc
Jean-Marc Lasgouttes wrote:
Juergen == Juergen Spitzmueller [EMAIL PROTECTED] writes:
Juergen Martin Vermeer wrote:
These are meant to be the units Ångström and Ørsted. So you need a
Swedish Å (\AA is OK I think) and a Danish Ø (\O).
Juergen Patch attached. The only drawback is that it
Angus Leeming [EMAIL PROTECTED] writes:
| Jean-Marc Lasgouttes wrote:
A little digression: instead of our current os:: namespace, wouldn't
it be better to have a hierarchy of os_foo classes with static
methods, so that some environment could inherit others (like cygwin =
unix + some stuff).
Given a file name C:/foo/bar, I believe that the name of the temporary
file should be C__foo_bar. Ie, the drive name should be included in the
mangling. Ruurd was addressing this idea in his patch, but he simply
removed the drive prefix from the mangled name.
Do you agree that my approach is
Ok, Jean-Marc. Here is a refinement of Ruurd's patch to determine the name
of the LyX system directory from the name of the LyX binary. Are you happy
with this or should we discuss it some more?
--
AngusIndex: src/ChangeLog
===
Lars Gullik Bjønnes wrote:
Angus Leeming [EMAIL PROTECTED] writes:
| @@ -217,8 +217,19 @@ bool setLyxPaths()
| bool followlink;
| do {
| // Path of binary/../share/name of binary/
| - searchpath += NormalizePath(AddPath(binpath, ../share/) +
| -
Ruurd Reitsma wrote:
> By request, this the wrapper tool that I use to compile LyX with MSVC.
> All thanks to the Coin3D project. Cygwin is used to run the autotools and
> make, but compilation is native Win32 with MSVC.
>
> IMO this is the most time efficient way to do it. I have fiddled with
>
Angus Leeming <[EMAIL PROTECTED]> writes:
| As promised, I'm posting the remainder of the changes that are needed to
| compile LyX with MinGW. This patch is much less intrusive than the
| original because the offensive os_win32.h is how #included only by
| those .C files that actually need it.
I
"Angus Leeming" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Incidentally, Ruurd, do you need this wrapper at all? Why not patch the
> scripts in config to generate Makefiles that 'just do the right thing'?
I did try that at first, but I wasn´t very successfull. If remember
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> It turned out that this solution was incorrect. Compilation
Angus> failed on the Windows machine because the definition of a mkdir
Angus> macro in config.h conflicted with another mkdir macro defined
Angus> in mingw/include/os.h.
> "Edwin" == Edwin Leuven <[EMAIL PROTECTED]> writes:
Edwin> PPS trying to open a doc, lyx crashes:
What doc was that?
JMarc
Lars Gullik Bjønnes wrote:
> | As promised, I'm posting the remainder of the changes that are needed
> | to compile LyX with MinGW. This patch is much less intrusive than the
> | original because the offensive os_win32.h is how #included only by
> | those .C files that actually need it.
>
> I am
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> As promised, I'm posting the remainder of the changes that are
Angus> needed to compile LyX with MinGW. This patch is much less
Angus> intrusive than the original because the offensive os_win32.h is
Angus> how #included only by
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
|+#ifdef HAVE_UNISTD_H
|+# include
|+#endif
|+
| ?
No such thing.
--
Lgb
What doc was that?
it crashes on the attached...
regards, ed.
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\begin_preamble
\usepackage{mathptmx}
\usepackage[scaled=0.9]{helvet}
\usepackage{courier}
\usepackage{rotating}
\date{}
http://bugzilla.lyx.org/show_bug.cgi?id=1214
This one fixes a bug in xforms' math panel. mathed should always get only one
dispatch, not two separate ones. The qt frontend does this since genesis.
OK?
Jürgen
P.S.: This is also a 1.3.6 candidate
Index: FormMathsBitmap.C
Martin Vermeer wrote:
> These are meant to be the units Ångström and Ørsted. So you need a
> Swedish Å (\AA is OK I think) and a Danish Ø (\O).
Patch attached. The only drawback is that it gets rendered as "AA" and "O". I
don't know how to add the commands \AA and \O to lib/symbols or whereever.
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
>
| | ?
>
| Lars> No such thing.
>
| What can unistd.h do that no header does?
unixy things. Lots of stuff just have a look at the header on your own
box.
The header are
Edwin Leuven wrote:
>> What doc was that?
>
> it crashes on the attached...
| \layoutÂCaption
|
|
AverageÂworkingÂtimeÂrelativeÂtoÂfull-time,ÂbyÂageÂandÂgenderÂ(1999-2002)
THe problem is a caption in a top paragraph. In top paragraphs the
inset_owner is not set on reading and so it crashes.
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes:
Andre> On Tue, Dec 07, 2004 at 04:32:59PM +, Angus Leeming wrote:
>> Isn't it possible to define \mesg only when \typeout's argument
>> starts "Babel":
>>
>> {\def\typeout#1{if #1 starts with "Babel" then
>> \global\def\mesg{#1}}
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> Isn't it possible to define \mesg only when \typeout's argument
Angus> starts "Babel":
Jean-Marc> I thought about that (and I do not know how to do it...),
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:
Juergen> Martin Vermeer wrote:
>> These are meant to be the units Ångström and Ørsted. So you need a
>> Swedish Å (\AA is OK I think) and a Danish Ø (\O).
Juergen> Patch attached. The only drawback is that it gets rendered as
Jean-Marc Lasgouttes wrote:
> A little digression: instead of our current os:: namespace, wouldn't
> it be better to have a hierarchy of os_foo classes with static
> methods, so that some environment could inherit others (like cygwin =
> unix + some stuff). The some of the code from this init
Martin Vermeer wrote:
> E.g., the real numbers R is sent as "mathbb R" and then dispatched as
> "\mathbb" (creating a little blue font box), followed by "R" (to be put
> inside it).
>
> This *used* to work, but doesn't anymore. Jürgen, is this what you are
> fixing?
Basically yes.
Jürgen
P.S.:
Cruft left over from the 'OS abstraction of "HOME" and the null device'
patch. Thanks to Jean-Marc for spotting this stuff.
Committing now...
AngusIndex: src/ChangeLog
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ChangeLog,v
Trying to build the latest CVS of lyx-140 in Mac OS X forced rerunning
configure, which fails. I get variants of the following error with each
of ostream, istream, sstream, locale, ios, and Aiksaurus:
checking ostream usability... no
checking ostream presence... yes
configure: WARNING: ostream:
Bennett Helm wrote:
> Trying to build the latest CVS of lyx-140 in Mac OS X forced rerunning
> configure, which fails. I get variants of the following error with each
> of ostream, istream, sstream, locale, ios, and Aiksaurus:
>
> checking ostream usability... no
> checking ostream presence...
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> Jean-Marc Lasgouttes wrote:
>> A little digression: instead of our current os:: namespace,
>> wouldn't it be better to have a hierarchy of os_foo classes with
>> static methods, so that some environment could inherit others (like
Jean-Marc Lasgouttes wrote:
>@@ -289,7 +293,7 @@ void LyX::init(bool gui)
>do {
>// Path of binary/../share/name of binary/
>searchpath += NormalizePath(AddPath(binpath,
>"../share/") +
>-
Jean-Marc Lasgouttes wrote:
>@@ -623,6 +623,8 @@ string const InsetGraphics::prepareFile(
>// without dots and again with ext
>temp_file = ChangeExtension(
>subst(temp_file, ".", "_"), ext_tmp);
>+ //Remove drive
Jean-Marc Lasgouttes wrote:
>>> A little digression: instead of our current os:: namespace,
>>> wouldn't it be better to have a hierarchy of os_foo classes with
>>> static methods, so that some environment could inherit others (like
>>> cygwin = unix + some stuff). The some of the code from this
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> Thanks for the commentary, Jean-Marc. I like the ideas of a
Angus> hierarchy of "os" classes and of getting rid of GetEnvPath.
Angus> I'll continue the process of small, self contained patches.
Sure.
Angus> I think that, as a
Lars Gullik Bjønnes wrote:
> | class os {
> | public:
> | static void init(int argc, char * argv[]);
>>
> | static string const & binpath();
> | static string const & binname();
> | static string const & homepath();
> | static string const & nulldev();
> |
Angus Leeming <[EMAIL PROTECTED]> writes:
| @@ -217,8 +217,19 @@ bool setLyxPaths()
| bool followlink;
| do {
| // Path of binary/../share/name of binary/
| - searchpath += NormalizePath(AddPath(binpath, "../share/") +
| -
Angus Leeming wrote:
> Do you agree that my approach is better? If so, are you happy with the
> attached patches for the 13x and 14x trees?
Yes and yes.
Georg
On czwartek 16 grudzieÅ 2004 11:59 am, Angus Leeming wrote:
> Given a file name "C:/foo/bar", I believe that the name of the temporary
> file should be "C__foo_bar". Ie, the drive name should be included in the
> mangling. Ruurd was addressing this idea in his patch, but he simply
> removed the
As promised Jean-Marc here is the output from lyx -dbg init. This is with
the 'remainder of Ruurd's changes' patch applied to the current 13x CVS.
I've also applied today's two proposals 'mangling temporary file names'
and 'determining the name of the LyX system dir'.
$ cd qt3/bin
$
Angus Leeming <[EMAIL PROTECTED]> writes:
>
> Bennett Helm wrote:
>
> > Trying to build the latest CVS of lyx-140 in Mac OS X forced rerunning
> > configure, which fails. I get variants of the following error with each
> > of ostream, istream, sstream, locale, ios, and Aiksaurus:
Same with me.
Kuba Ober wrote:
> I vaguely recall this idea being raised at one point or another, but can't
> the temporary file names be simply generated from some kind of a unique
> global counter, maybe merged with PID?
We have a global counter, it is prepended to the mangled name. Otherwise it
would not
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> As suggested by JMarc. Committing now...
Actually, I was advocating removing the whole information line, but it
may have been too drastic :)
JMarc
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:
Juergen> http://bugzilla.lyx.org/show_bug.cgi?id=1214 This one fixes a
Juergen> bug in xforms' math panel. mathed should always get only one
Juergen> dispatch, not two separate ones. The qt frontend does this
Juergen> since
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
| ?
Lars> No such thing.
What can unistd.h do that no header does?
JMarc
Jean-Marc Lasgouttes wrote:
> > "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:
>
> Juergen> Martin Vermeer wrote:
> >> These are meant to be the units Ångström and Ørsted. So you need a
> >> Swedish Å (\AA is OK I think) and a Danish Ø (\O).
>
> Juergen> Patch attached. The only
Angus Leeming <[EMAIL PROTECTED]> writes:
| Jean-Marc Lasgouttes wrote:
>> A little digression: instead of our current os:: namespace, wouldn't
>> it be better to have a hierarchy of os_foo classes with static
>> methods, so that some environment could inherit others (like cygwin =
>> unix + some
Given a file name "C:/foo/bar", I believe that the name of the temporary
file should be "C__foo_bar". Ie, the drive name should be included in the
mangling. Ruurd was addressing this idea in his patch, but he simply
removed the drive prefix from the mangled name.
Do you agree that my approach
Ok, Jean-Marc. Here is a refinement of Ruurd's patch to determine the name
of the LyX system directory from the name of the LyX binary. Are you happy
with this or should we discuss it some more?
--
AngusIndex: src/ChangeLog
===
Lars Gullik Bjønnes wrote:
> Angus Leeming <[EMAIL PROTECTED]> writes:
>
> | @@ -217,8 +217,19 @@ bool setLyxPaths()
> | bool followlink;
> | do {
> | // Path of binary/../share/name of binary/
> | - searchpath += NormalizePath(AddPath(binpath, "../share/") +
> | -
82 matches
Mail list logo