Re: lyx-1.4pre4

2006-01-30 Thread Frederic-Emmanuel PICCA

John Levon wrote:

On Mon, Jan 30, 2006 at 03:05:42PM +0100, Leuven, E. wrote:



* the icons are extremely ugly (and very inconsistent in style)



We badly need an artist on staff.


What about using the same icones than openoffice or abiword etc... where 
we can, and create a new set for others ?


Re: [GTK] bug when click on Tools:Preferences...

2006-01-26 Thread Frederic-Emmanuel PICCA

Jean-Marc Lasgouttes wrote:

"Frederic-Emmanuel" == Frederic-Emmanuel PICCA <[EMAIL PROTECTED]> writes:



Frederic-Emmanuel> Hello It seems that a problemn is present with the
Frederic-Emmanuel> Preferences.

It is not implemented yet. Of course, it would be better if it did not
crash :)

JMarc



Ha ok :)
so it would be nice to pop up a windows with non already implemented :)

Maybe it is ot time for this :)

frédéric


[GTK] bug when click on Tools:Preferences...

2006-01-26 Thread Frederic-Emmanuel PICCA

Hello

It seems that a problemn is present with the Preferences.

[EMAIL PROTECTED]:~/Projets/lyx-devel/src$ ./lyx

lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. Please read the bug-reporting 
instructions in Help->Introduction and send us a bug report, if 
necessary. Thanks !

Bye.
Abandon

Have a nice day


Re: [Patch] Detach Gtk from xforms, add GTabular, add GtkLengthEntry

2006-01-25 Thread Frederic-Emmanuel PICCA

It is very strange now everything compile with only
make clean
make distclean
./configure --with-frontend=gtk
make

It is kind of automake black magic.

Frederic


Re: [Patch] Detach Gtk from xforms, add GTabular, add GtkLengthEntry

2006-01-25 Thread Frederic-Emmanuel PICCA

I think the package is correctly named. The confusion is at the gnome side:
The libraries of the latest gtkmm (version 2.8.2, installed from source)
are named

libgtkmm-2.4.la
libgtkmm-2.4.so
libgtkmm-2.4.so.1
libgtkmm-2.4.so.1.0.24

If I would package this up, I would name the package "libgtkmm-2.4" version
2.8.2.


So I hope The debian peoples will forward the bug to the gnome team.
Just to be consistant :)

2.8 is not 2.4 or 2.6

Or maybe there is somethings that I do not catch up with version and so 
numbers.


Frederic


Re: [Patch] Detach Gtk from xforms, add GTabular, add GtkLengthEntry

2006-01-25 Thread Frederic-Emmanuel PICCA

Jean-Marc Lasgouttes wrote:


John> Sounds like you didn't ./configure with
John> "--enable-maintainer-mode" - try running configure again.

--enable-maintainer-mode is default nowadays. I think it is better to
  build from the root build directory, not src/.


Now it compiles with the --enable-maintainer-mode

I do not understand the build from root and not from src/

I always compiled from the lyx-devel root (where I run the ./configure)

what is strange is before yesterday, I just had to do:
./configure --with-frontend=gtk
make

and every things were fine.

But now I need a
./configure --with-frontend=gtk --enable-maintainer-mode.
make

(I am using the cvs and do update regularly).



Re: [Patch] Detach Gtk from xforms, add GTabular, add GtkLengthEntry

2006-01-25 Thread Frederic-Emmanuel PICCA





Index: src/frontends/gtk//ChangeLog
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/gtk/ChangeLog,v
retrieving revision 1.144
diff -u -p -r1.144 ChangeLog
--- src/frontends/gtk//ChangeLog24 Jan 2006 14:05:08 -  1.144
+++ src/frontends/gtk//ChangeLog25 Jan 2006 14:03:23 -
@@ -1,3 +1,7 @@
+2006-01-25  Georg Baum  <[EMAIL PROTECTED]>
+
+   * xftFontLoader.C: remove obsolete header
+
 2006-01-24  John Spray <[EMAIL PROTECTED]>
* GTabular.[Ch], glade/tabular.glade: Add tabular dialog (incomplete)
* LyXGtkLengthEntry.[Ch]: Add length entry widget
Index: src/frontends/gtk//xftFontLoader.C
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/gtk/xftFontLoader.C,v
retrieving revision 1.11
diff -u -p -r1.11 xftFontLoader.C
--- src/frontends/gtk//xftFontLoader.C  29 Jan 2005 15:09:14 -  1.11
+++ src/frontends/gtk//xftFontLoader.C  25 Jan 2006 14:03:23 -
@@ -19,7 +19,6 @@
 #endif
 
 #include "xftFontLoader.h"

-#include "FontInfo.h"
 #include "gettext.h"
 #include "debug.h"
 #include "lyxrc.h"   // lyxrc.font_*



I applied your patch but the problem is still present

frontends/gtk/.libs/libgtk.a(Dialogs.o): In function 
`Dialogs::build(std::basic_string, 
std::allocator > const&)':Dialogs.C:(.text+0x4056): undefined 
reference to `lyx::frontend::GTabular::GTabular(lyx::frontend::Dialog&)'
frontends/gtk/.libs/libgtk.a(lyx_gui.o): In function 
`lyx_gui::parse_init(int&, char**)':lyx_gui.C:(.text+0x1f4): undefined 
reference to `lyx::graphics::LyXGdkImage::newImage()'
:lyx_gui.C:(.text+0x2a9): undefined reference to 
`lyx::graphics::LyXGdkImage::loadableFormats()'



I am using libglade 2.6 even if gtkmm2.4 package on debian was 
unproperly named. gtkmm2.4 provide gtkmm2.6 ?

I sent a bug to debian about this.



Re: [Patch] Detach Gtk from xforms, add GTabular, add GtkLengthEntry

2006-01-25 Thread Frederic-Emmanuel PICCA

Jean-Marc Lasgouttes wrote:

"John" == John C Spray <[EMAIL PROTECTED]> writes:



John> On Tue, 2006-01-24 at 16:21 +0100, Jean-Marc Lasgouttes wrote:
John> I've also attached a patch to configure.ac
John> (noxforms-config.patch) that someone else will need to review
John> and apply. It removes the automatic adding of xforms to the
John> frontends list when gtk is selected.


Hmm, shall I commit this part right now?



John> Yes please, I've now committed the stuff for frontends/gtk, so
John> this can go in too.

Done.

JMarc



Hello

since yesterday I can not compile the gtk frontend.

here the messages of the compilation

g++ -fno-exceptions -O2 -o lyx-gtk main.o Bidi.o BufferView.o 
BufferView_pimpl. o Bullet.o BranchList.o Chktex.o CutAndPaste.o 
DepTable.o FloatList.o Floating. o FontIterator.o FuncStatus.o 
InsetList.o LColor.o LaTeX.o LaTeXFeatures.o LyXA ction.o MenuBackend.o 
ParagraphParameters.o PrinterParams.o Spacing.o Thesaurus .o 
ToolbarBackend.o author.o boost.o box.o buffer.o buffer_funcs.o 
bufferlist.o  bufferparams.o bufferview_funcs.o changes.o chset.o 
converter.o counters.o coo rdcache.o cursor.o cursor_slice.o debug.o 
dimension.o dociterator.o encoding.o errorlist.o exporter.o gettext.o 
factory.o format.o funcrequest.o graph.o impor ter.o intl.o 
insetiterator.o kbmap.o kbsequence.o language.o lastfiles.o length 
common.o lyx_cb.o lyx_main.o lyx_sty.o lyxfont.o lyxfind.o lyxfunc.o 
lyxgluelen gth.o lyxlayout.o lyxlength.o lyxlex.o lyxlex_pimpl.o lyxrc.o 
lyxrow.o lyxrow_f uncs.o lyxserver.o lyxsocket.o lyxtextclass.o 
lyxtextclasslist.o lyxvc.o messag es.o metricsinfo.o mover.o output.o 
outputparams.o output_docbook.o output_late x.o output_linuxdoc.o 
output_plaintext.o paragraph.o paragraph_funcs.o paragrap h_pimpl.o 
pariterator.o ispell.o SpellBase.o rowpainter.o sgml.o tabular.o tex- 
accent.o tex-strings.o texrow.o text.o text2.o text3.o toc.o trans.o 
trans_mgr. o undo.o vc-backend.o version.o vspace.o 
mathed/.libs/libmathed.a insets/.libs /libinsets.a 
frontends/.libs/libfrontends.a frontends/gtk/.libs/libgtk.a -L/usr 
/X11R6/lib /usr/lib/libglademm-2.4.so /usr/lib/libgtkmm-2.4.so 
/usr/lib/libglad e-2.0.so -lpthread /usr/lib/libgdkmm-2.4.so 
/usr/lib/libpangoxft-1.0.so /usr/li b/libpangox-1.0.so 
/usr/lib/libatkmm-1.6.so /usr/lib/libpangomm-1.4.so /usr/lib 
/libglibmm-2.4.so /usr/lib/libsigc-2.0.so /usr/lib/libgtk-x11-2.0.so 
/usr/lib/l ibxml2.so /usr/lib/libgdk-x11-2.0.so -lXrandr -lXi -lXinerama 
-lXext /usr/lib/l ibatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so 
/usr/lib/libpangocairo-1.0.so /usr/l ib/libpangoft2-1.0.so 
/usr/lib/libXcursor.so /usr/lib/libpango-1.0.so /usr/lib/ libcairo.so 
-lpng12 /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl 
/usr/lib/libglib-2.0.so /usr/lib/libXft.so /usr/lib/libfreetype.so 
/usr/lib/lib Xrender.so -lfontconfig -lflimage -lforms -lXpm 
frontends/controllers/.libs/lib controllers.a 
graphics/.libs/libgraphics.a support/.libs/libsupport.a ../boost/ 
libs/regex/src/.libs/libboost_regex.a 
../boost/libs/signals/src/.libs/libboost_ signals.a 
../boost/libs/filesystem/src/.libs/libboost_filesystem.a -lc -lm -lX1 1 -lz
frontends/gtk/.libs/libgtk.a(Dialogs.o): In function 
`Dialogs::build(std::basic _string, 
std::allocator > const&)':Dialogs.C :(.text+0x4056): undefined 
reference to `lyx::frontend::GTabular::GTabular(lyx: :frontend::Dialog&)'
frontends/gtk/.libs/libgtk.a(lyx_gui.o): In function 
`lyx_gui::parse_init(int&,  char**)':lyx_gui.C:(.text+0x1f4): undefined 
reference to `lyx::graphics::LyXGd kImage::newImage()'
:lyx_gui.C:(.text+0x2a9): undefined reference to 
`lyx::graphics::LyXGdkImage::l oadableFormats()'

collect2: ld returned 1 exit status
make[3]: *** [lyx-gtk] Erreur 1
make[3]: quittant le répertoire « /home/picca/Projets/lyx-devel/src »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /home/picca/Projets/lyx-devel/src »
make[1]: *** [all] Erreur 2
make[1]: quittant le répertoire « /home/picca/Projets/lyx-devel/src »
make: *** [all-recursive] Erreur 1



Re: tex2lyx on the wiki

2005-02-22 Thread Frederic-Emmanuel PICCA
Angus Leeming wrote:
Lars Gullik Bjønnes wrote:
| Here I got an error:
The src/config.h file has not been created correctly. Because of the
'foo' error?

No, that shouldn't make a difference. At least, '--with-frontend=foo' 
works for me on an FC3, on a Debian unstable and on a Windows XP machine.

If it was like for me the default automake in devian is 1.4 and you need 
a newer one.

I tried with automake 1.7, and it was ok.
I saw the difference during the ./autogen.sh
lots of warning/errors with 1.4
everythings ok with 1.7
I asked for this information in the INSTALL file. but I do not know if 
someone made the change.

Good night


Re: Can not compile from CVS lyx-devel

2005-02-18 Thread Frederic-Emmanuel PICCA
Angus Leeming wrote:
Not strange. You're not passing this location to the compiler.
./configure --with-frontend='xforms qt' --with-qt-includes=/usr/include/qt3
Ok now it works.
Why this qt includes dir is not configure automatically from the 
./configure script. ?


Re: Can not compile from CVS lyx-devel

2005-02-18 Thread Frederic-Emmanuel PICCA
Lars Gullik Bjønnes wrote:
Frederic-Emmanuel PICCA <[EMAIL PROTECTED]> writes:
| Lars Gullik Bjønnes wrote:
Frederic-Emmanuel PICCA <[EMAIL PROTECTED]> writes:
| Hello
| I tried to compile lyx (CVS lyxdevel)
| after a ./autogen.sh with some errors:
What are your versions of automake and autoconf?

| I am using automake-1.4 and autoconf-2.59
I am pretty sure automake 1.4 is too old.
autoconf 2.59 should work. (but a newer version would not be bad)

with automake-1.7 no more complaine of ./autogen.sh.
Can you add the minimum version of automake in the INSTALL file.
I can compile the xform frontend but not the qt on.
the error is:
*
 g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src -DQT_CLEAN_NAMESPACE 
-DQT_GENUINE_STR -DQT_NO_TRANSLATION -I../../../../src 
-I../../../../src/frontends -I../../../../src/frontends/qt2 
-I../../../../boost -I../../../../src/frontends/controllers -W -Wall 
-I/usr/X11R6/include -g -O -fno-exceptions -MT BiblioModuleBase.lo -MD 
-MP -MF .deps/BiblioModuleBase.Tpo -c BiblioModuleBase.C -o 
BiblioModuleBase.o
In file included from BiblioModuleBase.C:10:
BiblioModuleBase.h:13:22: qvariant.h: No such file or directory
BiblioModuleBase.h:14:21: qwidget.h: No such file or directory
*

but I have qvariant.h in /usr/include/qt3/qvariant.h.
Strange.
Have a nice day.


Re: Can not compile from CVS lyx-devel

2005-02-18 Thread Frederic-Emmanuel PICCA
Lars Gullik Bjønnes wrote:
Frederic-Emmanuel PICCA <[EMAIL PROTECTED]> writes:
| Hello
| I tried to compile lyx (CVS lyxdevel)
| after a ./autogen.sh with some errors:
What are your versions of automake and autoconf?
I am using automake-1.4 and autoconf-2.59
| I tried with:
| ./configure --without-included-boost
This options is not working correctly, don't use it.
ok :)



Can not compile from CVS lyx-devel

2005-02-17 Thread Frederic-Emmanuel PICCA
Hello
I tried to compile lyx (CVS lyxdevel)
after a ./autogen.sh with some errors:

$./autogen.sh
Using autoconf (GNU Autoconf) 2.59
Locating GNU m4... /usr/bin/m4
Generate acinclude.m4... done.
Building macros...
.
lib/reLyX
done.
Building config header template...
.
done.
Building Makefile templates...
.
configure.ac: 6: required file `./[src/config.h].in' not found
configure.ac: 6: required file `./[src/stamp-h.in' not found
Makefile.am:26: invalid variable `dist_noinst_DATA'
lib/Makefile.am:906: invalid variable `dist_ui_DATA'
lib/Makefile.am:727: invalid variable `dist_layouts_DATA'
lib/Makefile.am:874: invalid variable `dist_templates_DATA'
lib/Makefile.am:217: invalid variable `dist_imagesmath_DATA'
lib/Makefile.am:16: invalid variable `dist_pkgdata_DATA'
lib/Makefile.am:41: invalid variable `dist_clipart_DATA'
lib/Makefile.am:862: invalid variable `dist_scripts_DATA'
lib/Makefile.am:842: invalid variable `dist_lyx2lyx_DATA'
lib/Makefile.am:116: invalid variable `dist_images_DATA'
lib/Makefile.am:21: invalid variable `dist_bind_DATA'
lib/Makefile.am:672: invalid variable `dist_kbd_DATA'
lib/Makefile.am:44: invalid variable `dist_examples_DATA'
lib/Makefile.am:897: invalid variable `dist_tex_DATA'
src/Makefile.am:31: variable `lyx_OBJECTS' not defined
src/Makefile.am:31: variable `lyx_OBJECTS' not defined
src/Makefile.am:36: variable `lyx_OBJECTS' not defined
src/Makefile.am:36: variable `lyx_OBJECTS' not defined
src/Makefile.am:40: variable `lyx_OBJECTS' not defined
src/Makefile.am:40: variable `lyx_OBJECTS' not defined
src/frontends/xforms/forms/Makefile.am:54: invalid unused variable name: 
`nodist_libfdesign_la_SOURCES'
src/frontends/gtk/gimages/Makefile.am:3: invalid variable `dist_noinst_DATA'
src/frontends/gtk/glade/Makefile.am:6: invalid variable `dist_glade_DATA'
src/frontends/qt2/moc/Makefile.am:17: invalid unused variable name: 
`nodist_libqt2moc_la_SOURCES'
src/frontends/qt2/ui/Makefile.am:23: invalid unused variable name: 
`nodist_libqt2ui_la_SOURCES'
src/frontends/qt2/ui/moc/Makefile.am:16: invalid unused variable name: 
`nodist_libqt2uimoc_la_SOURCES'
lib/reLyX
done.
Building configure...


I made a ./configure;make
and the compilation stop after an error in the boost library.

make[4]: Entering directory 
`/home/picca/Projets/lyx-devel/boost/libs/filesystem/src'
/bin/sh ../../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. 
-I../../../../[src   -DBOOST_USER_CONFIG="" 
-I../../../../boost -W -Wall  -I/usr/X11R6/include  -g -O 
-fno-exceptions -c convenience.cpp
 g++ -DHAVE_CONFIG_H -I. -I. "-I../../../../[src" 
"-DBOOST_USER_CONFIG=" -I../../../../boost -W -Wall 
-I/usr/X11R6/include -g -O -fno-exceptions -Wp,-MD,.deps/convenience.pp 
-c convenience.cpp -o convenience.o
In file included from ../../../../boost/boost/filesystem/config.hpp:18,
 from ../../../../boost/boost/filesystem/path.hpp:15,
 from 
../../../../boost/boost/filesystem/convenience.hpp:16,
 from convenience.cpp:17:
../../../../boost/boost/config.hpp:26:29: config.h: No such file or 
directory
make[4]: *** [convenience.lo] Erreur 1
make[4]: Leaving directory 
`/home/picca/Projets/lyx-devel/boost/libs/filesystem/src'
make[3]: *** [all-recursive] Erreur 1
make[3]: Leaving directory 
`/home/picca/Projets/lyx-devel/boost/libs/filesystem'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory `/home/picca/Projets/lyx-devel/boost/libs'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/home/picca/Projets/lyx-devel/boost'
make: *** [all-recursive] Erreur 1


We can see that the program complain for a config.h file like in 
./autogen.sh

So what is the matter ?
I tried with:
./configure --without-included-boost
but it compiled the included boost library.
Have a nice day.