On Wednesday 26 May 2004 16:47, Jean-Marc Lassitude's wrote:
Angus The python script does all the manipulation using pure python
Angus code, so it should just work if you have python installed.
Do you think it works with ancient python like 1.5?
From what I remember from the code the
I got tired of wrestling with the config mechanism.
Please apply this (support/nt_defines.h is not used) and then
cvs remove the support/nt_defines.h file.
Thanks.
--
Kayvan A. Sylvan
Sylvan Associates, Inc.
http://sylvan.com/~kayvan
Index: ChangeLog
Kayvan A. Sylvan [EMAIL PROTECTED] writes:
| I got tired of wrestling with the config mechanism.
| Please apply this (support/nt_defines.h is not used) and then
| cvs remove the support/nt_defines.h file.
I'll handle this one.
--
Lgb
It would be nice if people could try this patch (the mkinstalldirs
part really) and see if they have any problems.
My testing so far shows no problems.
(OTOH I know of a problem in POTFILES.in generation...
src/support/path_defines.C is not always there... and should thus be
excluded from
It's never done this before. We've always needed 'make dist' or
suchlike.
This is this morning (so I've got Lars nt_defines.h patch) on a stock
FC1 after:
$ make maintainer-clean
$ cd ..
$ cvs -q up
$ ./autogen.sh
$ mkdir build cd build
$ ../configure --prefix=/home/angus/testing
Angus Leeming [EMAIL PROTECTED] writes:
| It's never done this before. We've always needed 'make dist' or
| suchlike.
Newer gettext work a bit differently. The merge is triggered when
lyx.pot is created and since we don't have it in CVS...
| This is this morning (so I've got Lars nt_defines.h
Lars Gullik Bjønnes wrote:
Angus Leeming [EMAIL PROTECTED] writes:
| It's never done this before. We've always needed 'make dist' or
| suchlike.
Newer gettext work a bit differently. The merge is triggered when
lyx.pot is created and since we don't have it in CVS...
Good oh. Glad to hear
Lars Gullik Bjønnes wrote:
It would be nice if people could try this patch (the mkinstalldirs
part really) and see if they have any problems.
Lars,
I've had no problems at all installing in /home/angus/testing
following 'make maintainer-clean'. This with a stock FC 1.
Angus
--
Angus
Angus Leeming [EMAIL PROTECTED] writes:
| Lars Gullik Bjønnes wrote:
It would be nice if people could try this patch (the mkinstalldirs
part really) and see if they have any problems.
| Lars,
| I've had no problems at all installing in /home/angus/testing
| following 'make maintainer-clean'.
It seems that fdesign returns 0 even if something went wrong.
(writing the files f.ex.)
--
Lgb
Lars Gullik Bjønnes wrote:
The distcheck target in newer automake is a bit stricter than in
previous versions. Among others it requires that when doing a VPATH
build, _nothing_ should change outside the build dir.
The scripts in xforms/forms does not ahere to this rule.
Hmmm. I guess that
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes:
| It seems that fdesign returns 0 even if something went wrong.
| (writing the files f.ex.)
And the arguemnt to convert _must_ be _just_ a file. Not even ./ is
allowed in front of the filename.
--
Lgb
Lars Gullik Bjønnes wrote:
It seems that fdesign returns 0 even if something went wrong.
(writing the files f.ex.)
Wrong list...
In general, you're wrong. fdesign will exit early and return 1 in lots
of places:
if (!(fd_display = fl_initialize(ac, av, 0, fd_cmdopt, Ncopt)))
Lars Gullik Bjønnes wrote:
And the arguemnt to convert _must_ be _just_ a file. Not even ./ is
allowed in front of the filename.
I know. Crappy isn't it.
--
Angus
Angus Leeming [EMAIL PROTECTED] writes:
| Lars Gullik Bjønnes wrote:
The distcheck target in newer automake is a bit stricter than in
previous versions. Among others it requires that when doing a VPATH
build, _nothing_ should change outside the build dir.
The scripts in xforms/forms does
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes:
| -dir destdir is not really needed, what is needed is the argument to
| -convert to be any file with path.
And fdesign to output to current working dir.
--
Lgb
Angus Leeming [EMAIL PROTECTED] writes:
| Lars Gullik Bjønnes wrote:
It seems that fdesign returns 0 even if something went wrong.
I forgot to say when using -convert
| Wrong list...
I know... but this is where I have the problem...
| Both load_forms and save_forms return whether they were
Lars Gullik Bjnnes wrote:
Angus Leeming [EMAIL PROTECTED] writes:
| Lars Gullik Bjnnes wrote:
It seems that fdesign returns 0 even if something went wrong.
I forgot to say when using -convert
| Wrong list...
I know... but this is where I have the problem...
| Both load_forms and
Angus Leeming [EMAIL PROTECTED] writes:
| Do you have xforms cvs?
no (and that is probably good since I now caught the problem myself,
and didn't have to debug somebody elses problem)
| If my testing doesn't throw up any problems,
| I'm going to commit the attached patch. It gives you improved
Angus Leeming [EMAIL PROTECTED] writes:
| @@ -610,8 +600,14 @@ pre_connect(int ac, char *av[])
|
| for (s = i; s ac; s++)
| {
| - if (load_forms(FALSE, av[s], 0) = 0)
| - save_forms(av[s]);
| + if (load_forms(FALSE, av[s], 0) 0) {
| +
Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes:
Lars | Moreover, running (again from the builddir != src dir):
Lars | fdesign -dir . -convert |
Lars /home/angus/lyx/devel/src/frontends/xforms/forms/form_external.fd
Lars is the -dir . needed? IMHO it shouldn't be. fdesign should just
Lars
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes:
Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes:
| Lars | Moreover, running (again from the builddir != src dir):
| Lars | fdesign -dir . -convert |
| Lars /home/angus/lyx/devel/src/frontends/xforms/forms/form_external.fd
| Lars is the -dir
Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes:
Lars Jean-Marc Lasgouttes [EMAIL PROTECTED] writes:
Lars | This would break compatibility with older versions of fdesign.
Lars Would it really?
Lars Older versions of fdesign only works with the *.fd file in the
Lars same dir as where
Lars Gullik Bjønnes wrote:
Angus Leeming [EMAIL PROTECTED] writes:
| @@ -610,8 +600,14 @@ pre_connect(int ac, char *av[])
|
| for (s = i; s ac; s++)
| {
| - if (load_forms(FALSE, av[s], 0) = 0)
| - save_forms(av[s]);
| + if (load_forms(FALSE, av[s], 0) 0) {
Jean-Marc Lasgouttes wrote:
Lars Jean-Marc Lasgouttes [EMAIL PROTECTED] writes:
Lars | This would break compatibility with older versions of
fdesign.
Lars Would it really?
Lars Older versions of fdesign only works with the *.fd file in the
Lars same dir as where fdesign is run...
Lars
Angus == Angus Leeming [EMAIL PROTECTED] writes:
Angus We would merely be swapping one semantic that works for another
Angus one which is not yet proven. I don't see what it gains us. As I
Angus see it I can do:
Angus $ cd $HOME $ fdesign -dir destdir -convert foo/bar.fd
Angus which
Jean-Marc Lasgouttes wrote:
Angus == Angus Leeming [EMAIL PROTECTED] writes:
Angus We would merely be swapping one semantic that works for
another Angus one which is not yet proven. I don't see what it
gains us. As I Angus see it I can do:
Angus $ cd $HOME $ fdesign -dir destdir
Angus Leeming [EMAIL PROTECTED] writes:
| Man page attached, but my conclusion is that uic is just different.
| Nonetheless, the sematics that we have now have similar power to
| those of uic.
Except for the surprising behaviour that fdesign output files to the
same dir there the .fd file is
Angus Leeming [EMAIL PROTECTED] writes:
| Jean-Marc Lasgouttes wrote:
Lars Jean-Marc Lasgouttes [EMAIL PROTECTED] writes:
Lars | This would break compatibility with older versions of
fdesign.
Lars Would it really?
Lars Older versions of fdesign only works with the *.fd file in the
Lars
Lars Gullik Bjønnes wrote:
(and I am not saying that -dir should be removed, I am saying that
fdesign should output to pwd (unless -dir is specified of course.))
Ok, understood. You want me to mess around with malloc just before we
try and get XForms 1.1 out of the door. Bad man!
I'll have a
Angus Leeming wrote:
Lars Gullik Bjønnes wrote:
(and I am not saying that -dir should be removed, I am saying that
fdesign should output to pwd (unless -dir is specified of course.))
Ok, understood. You want me to mess around with malloc just before
we try and get XForms 1.1 out of the
Angus Leeming [EMAIL PROTECTED] writes:
| I believe that we achieve what you're looking for with
| -} else
| - strcpy(fname, filename);
| +} else {
| + size_t const buffer_size = 512;
| + char buffer[buffer_size];
| + char * cwd = getcwd(buffer, buffer_size);
| +
Lars Gullik Bjønnes wrote:
| } else
| strcpy(fname, filename);
| }
| strcat(fname, ext);
| }
It almost seems to me that the else clause should just be
strcpy(fname, filename_only(filename));
I think you're correct. Thanks.
| build_fname(fname, foo/bar/baz, .h);
If my above
I know I brought this up the last time... but what was the conclusion
of the discussion?
To move do inside lyx-devel? Or to keep it as a separate module that
is not disted with lyx-x.tar.gz?
The motivation is to get rid of the cvs commands done when doing a
make dist
--
Lgb
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes:
| make distcheck is not working.
I am getting there, slowly. Doing a make distcheck takes time... and
for a lot of the distcheck stuff you have to run it to completeion and
from the beginning for everything you fix/test.
Anyway, it seems most of
Lars Gullik Bjønnes wrote:
I know I brought this up the last time... but what was the
conclusion of the discussion?
To move do inside lyx-devel? Or to keep it as a separate module that
is not disted with lyx-x.tar.gz?
The motivation is to get rid of the cvs commands done when doing a
Angus Leeming [EMAIL PROTECTED] writes:
| Lars Gullik Bjønnes wrote:
I know I brought this up the last time... but what was the
conclusion of the discussion?
To move do inside lyx-devel? Or to keep it as a separate module that
is not disted with lyx-x.tar.gz?
The motivation is to get rid
Lars Gullik Bjønnes wrote:
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes:
| make distcheck is not working.
I am getting there, slowly. Doing a make distcheck takes time...
and for a lot of the distcheck stuff you have to run it to
completeion and from the beginning for everything you
Angus Leeming [EMAIL PROTECTED] writes:
| Lars Gullik Bjønnes wrote:
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes:
| make distcheck is not working.
I am getting there, slowly. Doing a make distcheck takes time...
and for a lot of the distcheck stuff you have to run it to
completeion
Angus Leeming [EMAIL PROTECTED] writes:
| lyx2lyx
| already has one by the way.
Does it?
--
Lgb
On Wednesday 26 May 2004 16:47, Jean-Marc Lassitude's wrote:
>
> Angus> The python script does all the manipulation using pure python
> Angus> code, so it should "just work" if you have python installed.
>
> Do you think it works with ancient python like 1.5?
From what I remember from the code
I got tired of wrestling with the config mechanism.
Please apply this (support/nt_defines.h is not used) and then
"cvs remove" the support/nt_defines.h file.
Thanks.
--
Kayvan A. Sylvan
Sylvan Associates, Inc.
http://sylvan.com/~kayvan
Index: ChangeLog
"Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes:
| I got tired of wrestling with the config mechanism.
>
| Please apply this (support/nt_defines.h is not used) and then
| "cvs remove" the support/nt_defines.h file.
I'll handle this one.
--
Lgb
It would be nice if people could try this patch (the mkinstalldirs
part really) and see if they have any problems.
My testing so far shows no problems.
(OTOH I know of a problem in POTFILES.in generation...
src/support/path_defines.C is not always there... and should thus be
excluded from
It's never done this before. We've always needed 'make dist' or
suchlike.
This is this morning (so I've got Lars nt_defines.h patch) on a stock
FC1 after:
$ make maintainer-clean
$ cd ..
$ cvs -q up
$ ./autogen.sh
$ mkdir build && cd build
$ ../configure --prefix=/home/angus/testing
Angus Leeming <[EMAIL PROTECTED]> writes:
| It's never done this before. We've always needed 'make dist' or
| suchlike.
Newer gettext work a bit differently. The merge is triggered when
lyx.pot is created and since we don't have it in CVS...
>
| This is this morning (so I've got Lars
Lars Gullik Bjønnes wrote:
> Angus Leeming <[EMAIL PROTECTED]> writes:
> | It's never done this before. We've always needed 'make dist' or
> | suchlike.
>
> Newer gettext work a bit differently. The merge is triggered when
> lyx.pot is created and since we don't have it in CVS...
Good oh. Glad
Lars Gullik Bjønnes wrote:
> It would be nice if people could try this patch (the mkinstalldirs
> part really) and see if they have any problems.
Lars,
I've had no problems at all installing in /home/angus/testing
following 'make maintainer-clean'. This with a stock FC 1.
Angus
--
Angus
Angus Leeming <[EMAIL PROTECTED]> writes:
| Lars Gullik Bjønnes wrote:
>> It would be nice if people could try this patch (the mkinstalldirs
>> part really) and see if they have any problems.
>
| Lars,
>
| I've had no problems at all installing in /home/angus/testing
| following 'make
It seems that fdesign returns 0 even if something went wrong.
(writing the files f.ex.)
--
Lgb
Lars Gullik Bjønnes wrote:
> The distcheck target in newer automake is a bit stricter than in
> previous versions. Among others it requires that when doing a VPATH
> build, _nothing_ should change outside the build dir.
>
> The scripts in xforms/forms does not ahere to this rule.
Hmmm. I guess
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes:
| It seems that fdesign returns 0 even if something went wrong.
>
| (writing the files f.ex.)
And the arguemnt to convert _must_ be _just_ a file. Not even ./ is
allowed in front of the filename.
--
Lgb
Lars Gullik Bjønnes wrote:
> It seems that fdesign returns 0 even if something went wrong.
>
> (writing the files f.ex.)
Wrong list...
In general, you're wrong. fdesign will exit early and return 1 in lots
of places:
if (!(fd_display = fl_initialize(, av, 0, fd_cmdopt, Ncopt)))
Lars Gullik Bjønnes wrote:
> And the arguemnt to convert _must_ be _just_ a file. Not even ./ is
> allowed in front of the filename.
I know. Crappy isn't it.
--
Angus
Angus Leeming <[EMAIL PROTECTED]> writes:
| Lars Gullik Bjønnes wrote:
>> The distcheck target in newer automake is a bit stricter than in
>> previous versions. Among others it requires that when doing a VPATH
>> build, _nothing_ should change outside the build dir.
>>
>> The scripts in
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes:
| -dir destdir is not really needed, what is needed is the argument to
| -convert to be any file with path.
And fdesign to output to current working dir.
--
Lgb
Angus Leeming <[EMAIL PROTECTED]> writes:
| Lars Gullik Bjønnes wrote:
>> It seems that fdesign returns 0 even if something went wrong.
I forgot to say "when using -convert"
| Wrong list...
I know... but this is where I have the problem...
| Both load_forms and save_forms return whether they
Lars Gullik Bjnnes wrote:
> Angus Leeming <[EMAIL PROTECTED]> writes:
>
> | Lars Gullik Bjnnes wrote:
>>> It seems that fdesign returns 0 even if something went wrong.
>
> I forgot to say "when using -convert"
>
> | Wrong list...
>
> I know... but this is where I have the problem...
>
> |
Angus Leeming <[EMAIL PROTECTED]> writes:
| Do you have xforms cvs?
no (and that is probably good since I now caught the problem myself,
and didn't have to debug somebody elses problem)
| If my testing doesn't throw up any problems,
| I'm going to commit the attached patch. It gives you
Angus Leeming <[EMAIL PROTECTED]> writes:
| @@ -610,8 +600,14 @@ pre_connect(int ac, char *av[])
|
| for (s = i; s < ac; s++)
| {
| - if (load_forms(FALSE, av[s], 0) >= 0)
| - save_forms(av[s]);
| + if (load_forms(FALSE, av[s], 0) < 0) {
| +
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
Lars> | Moreover, running (again from the builddir != src dir):
>>
Lars> | fdesign -dir . -convert |
Lars> /home/angus/lyx/devel/src/frontends/xforms/forms/form_external.fd
Lars> is the -dir . needed? IMHO it shouldn't be. fdesign
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
>
| Lars> | Moreover, running (again from the builddir != src dir):
>>>
| Lars> | fdesign -dir . -convert |
| Lars> /home/angus/lyx/devel/src/frontends/xforms/forms/form_external.fd
>
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
Lars> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
Lars> | This would break compatibility with older versions of fdesign.
Lars> Would it really?
Lars> Older versions of fdesign only works with the *.fd file in the
Lars> same
Lars Gullik Bjønnes wrote:
> Angus Leeming <[EMAIL PROTECTED]> writes:
>
> | @@ -610,8 +600,14 @@ pre_connect(int ac, char *av[])
> |
> | for (s = i; s < ac; s++)
> | {
> | - if (load_forms(FALSE, av[s], 0) >= 0)
> | - save_forms(av[s]);
> | + if (load_forms(FALSE,
Jean-Marc Lasgouttes wrote:
> Lars> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
> Lars> | This would break compatibility with older versions of
> fdesign.
>
> Lars> Would it really?
>
> Lars> Older versions of fdesign only works with the *.fd file in the
> Lars> same dir as where fdesign is
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> We would merely be swapping one semantic that works for another
Angus> one which is not yet proven. I don't see what it gains us. As I
Angus> see it I can do:
Angus> $ cd $HOME $ fdesign -dir destdir -convert foo/bar.fd
Jean-Marc Lasgouttes wrote:
>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
>
> Angus> We would merely be swapping one semantic that works for
> another Angus> one which is not yet proven. I don't see what it
> gains us. As I Angus> see it I can do:
>
> Angus> $ cd $HOME $
Angus Leeming <[EMAIL PROTECTED]> writes:
| Man page attached, but my conclusion is that uic is just different.
| Nonetheless, the sematics that we have now have similar power to
| those of uic.
Except for the surprising behaviour that fdesign output files to the
same dir there the .fd file is
Angus Leeming <[EMAIL PROTECTED]> writes:
| Jean-Marc Lasgouttes wrote:
>> Lars> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
>> Lars> | This would break compatibility with older versions of
>> fdesign.
>>
>> Lars> Would it really?
>>
>> Lars> Older versions of fdesign only works with the
Lars Gullik Bjønnes wrote:
> (and I am not saying that -dir should be removed, I am saying that
> fdesign should output to pwd (unless -dir is specified of course.))
Ok, understood. You want me to mess around with malloc just before we
try and get XForms 1.1 out of the door. Bad man!
I'll have a
Angus Leeming wrote:
> Lars Gullik Bjønnes wrote:
>> (and I am not saying that -dir should be removed, I am saying that
>> fdesign should output to pwd (unless -dir is specified of course.))
>
> Ok, understood. You want me to mess around with malloc just before
> we try and get XForms 1.1 out of
Angus Leeming <[EMAIL PROTECTED]> writes:
| I believe that we achieve what you're looking for with
| -} else
| - strcpy(fname, filename);
| +} else {
| + size_t const buffer_size = 512;
| + char buffer[buffer_size];
| + char * cwd = getcwd(buffer, buffer_size);
| +
Lars Gullik Bjønnes wrote:
> | } else
> | strcpy(fname, filename);
> | }
> | strcat(fname, ext);
> | }
>
> It almost seems to me that the else clause should just be
>
>strcpy(fname, filename_only(filename));
I think you're correct. Thanks.
> | build_fname(fname, "foo/bar/baz", ".h");
>
>
I know I brought this up the last time... but what was the conclusion
of the discussion?
To move do inside lyx-devel? Or to keep it as a separate module that
is not disted with lyx-x.tar.gz?
The motivation is to get rid of the cvs commands done when doing a
"make dist"
--
Lgb
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes:
| make distcheck is not working.
I am getting there, slowly. Doing a "make distcheck" takes time... and
for a lot of the distcheck stuff you have to run it to completeion and
from the beginning for everything you fix/test.
Anyway, it seems most of
Lars Gullik Bjønnes wrote:
> I know I brought this up the last time... but what was the
> conclusion of the discussion?
>
> To move do inside lyx-devel? Or to keep it as a separate module that
> is not disted with lyx-x.tar.gz?
>
> The motivation is to get rid of the cvs commands done when doing
Angus Leeming <[EMAIL PROTECTED]> writes:
| Lars Gullik Bjønnes wrote:
>> I know I brought this up the last time... but what was the
>> conclusion of the discussion?
>>
>> To move do inside lyx-devel? Or to keep it as a separate module that
>> is not disted with lyx-x.tar.gz?
>>
>> The
Lars Gullik Bjønnes wrote:
> [EMAIL PROTECTED] (Lars Gullik Bjønnes) writes:
>
> | make distcheck is not working.
>
> I am getting there, slowly. Doing a "make distcheck" takes time...
> and for a lot of the distcheck stuff you have to run it to
> completeion and from the beginning for
Angus Leeming <[EMAIL PROTECTED]> writes:
| Lars Gullik Bjønnes wrote:
>
>> [EMAIL PROTECTED] (Lars Gullik Bjønnes) writes:
>>
>> | make distcheck is not working.
>>
>> I am getting there, slowly. Doing a "make distcheck" takes time...
>> and for a lot of the distcheck stuff you have to run it
Angus Leeming <[EMAIL PROTECTED]> writes:
| lyx2lyx
| already has one by the way.
Does it?
--
Lgb
80 matches
Mail list logo