Re: [Libreoffice] Cups.h Missing

2011-12-13 Thread Jonathan Aquilina

On 13/12/2011 00:52, Joel Madero wrote:
Trying to compile older versions of OOo in order to track down a bug 
but I'm hitting a missing cups.h when trying to compile. I have the 
appropriate cups dev files installed. I have tried on Bodhi as well as 
Ubuntu 11.10. I also have verified that cups.h exists in the 
appropriate folder



I can confirm I was experiencing this issue with 10.04 64bit, but not 
11.10. I am currently on a pre released version of 12.04 which seems to 
be giving me java issues unrelated to this


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Cups.h Missing

2011-12-13 Thread Joel Madero
I've never used dnl check before, can you give me a quick tutorial or link
me somewhere?

Bug I'm trying to fix is this:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/831305

You can see my section under jmadero, that's what I'm trying to pintpoint.

I'm installing version 2.1.0 from OOo to see if the bug still exists, if it
doesn't I'll start comparing code to see if I can find out why it currently
exists, part of compiling from source is just to get the experience, also
this way if I make a patch or an alteration I should be able to recompile
relatively easily.


Thank you

On Tue, Dec 13, 2011 at 3:58 AM, Michael Meeks michael.me...@suse.comwrote:


 On Mon, 2011-12-12 at 15:52 -0800, Joel Madero wrote:
  Trying to compile older versions of OOo in order to track down a bug
  but I'm hitting a missing cups.h when trying to compile. I have the
  appropriate cups dev files installed. I have tried on Bodhi as well as
  Ubuntu 11.10. I also have verified that cups.h exists in the
  appropriate folder

 Your configure should fail if cups/cups.h is not included:

 dnl check for cups support
 dnl ===
 if test $test_cups = yes; then
AC_MSG_CHECKING([whether cups support is present])
AC_CHECK_LIB(cups, cupsPrintFiles)
AC_CHECK_HEADER(cups/cups.h, AC_DEFINE(HAVE_CUPS_H))
if test $ac_cv_lib_cups_cupsPrintFiles != yes -a
 $ac_cv_header_cups_cups_h != yes; then
AC_MSG_ERROR([Could not find CUPS. Install libcupsys2-dev or
 cups???-devel.])
fi
 fi

Can you provide some more details on exactly what you're trying to
 compile ? and what the error is ? Really - compiling OO.o is not
 advisable ;-) you would prolly do better with a root cause analysis than
 trying to do that. What is the bug ?

ATB,

Michael.

 --
 michael.me...@suse.com  , Pseudo Engineer, itinerant idiot


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Cups.h Missing

2011-12-13 Thread Michael Meeks
Hi Joel,

On Tue, 2011-12-13 at 11:19 -0800, Joel Madero wrote:
 I've never used dnl check before, can you give me a quick tutorial or
 link me somewhere?

dnl is an m4 comment statement ;-)

 Bug I'm trying to fix is this:
 https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/831305

Fine - again; I really think that starting at OO.o 2.1.0 is a waste of
time. Certainly, you will have lots of odd trouble compiling it.

 I'm installing version 2.1.0 from OOo to see if the bug still exists,
 if it doesn't I'll start comparing code to see if I can find out why
 it currently exists, part of compiling from source is just to get the
 experience, also this way if I make a patch or an alteration I should
 be able to recompile relatively easily. 

I would -really- strongly recommend building the very latest
libreoffice from git; as described here:

http://www.libreoffice.org/get-involved/developers/

That should work out of the box (as it were); though perhaps running:

./g checkout libreoffice-3-5

will give you a more reliable build.

All the best,

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Cups.h Missing

2011-12-13 Thread Regina Henschel

Hi Joel,

Joel Madero schrieb:

I've never used dnl check before, can you give me a quick tutorial or link
me somewhere?

Bug I'm trying to fix is this:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/831305

You can see my section under jmadero, that's what I'm trying to pintpoint.

I'm installing version 2.1.0 from OOo to see if the bug still exists, if it
doesn't I'll start comparing code to see if I can find out why it currently
exists, part of compiling from source is just to get the experience, also
this way if I make a patch or an alteration I should be able to recompile
relatively easily.


The problem comes up, because the default setting has changed from 
inserting space between number and text to inserting a tab. The changes 
in numbering where made from OOo2.4 to OOo3 together with the change 
from ODF1.0/1.1 to ODF 1.2. A hint to some of the changes are in [1] and 
[2].


Currently the tap stop position of the anonymous predefined styles are 
the same for all kind of numberings. Perhaps it is possible to use 
different positions or even kind of separators for the different 
predefined anonymous styles. For the named styles an improvement is not 
quite so urgent because those users who work with named styles are 
likely able to change the settings by themselves.


The problem is connected to the claim, that the indent don't work for 
numbers with more than one digit for example in numbering kind (#).


[1] https://issues.apache.org/ooo/show_bug.cgi?id=89178
[2] http://specs.openoffice.org/writer/numbering/NewListLevelAttrs.odt

Kind regards
Regina
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Cups.h Missing

2011-12-13 Thread Joel Madero
So is this not a bug then? It seems to me that going back to a space seems
much more functional as the default makes it so that the look of the
bullets/outline is very sloppy. If it is a bug, I'm still interested in
tracking down the code responsible and altering it. This will be my first
attempt to contribute to LO and it's been an ongoing annoyance for me as I
outline a lot. Thanks for the input from both of you

On Tue, Dec 13, 2011 at 12:18 PM, Regina Henschel
rb.hensc...@t-online.dewrote:

 Hi Joel,

 Joel Madero schrieb:

  I've never used dnl check before, can you give me a quick tutorial or link
 me somewhere?

 Bug I'm trying to fix is this:
 https://bugs.launchpad.net/**ubuntu/+source/libreoffice/+**bug/831305https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/831305

 You can see my section under jmadero, that's what I'm trying to pintpoint.

 I'm installing version 2.1.0 from OOo to see if the bug still exists, if
 it
 doesn't I'll start comparing code to see if I can find out why it
 currently
 exists, part of compiling from source is just to get the experience, also
 this way if I make a patch or an alteration I should be able to recompile
 relatively easily.


 The problem comes up, because the default setting has changed from
 inserting space between number and text to inserting a tab. The changes in
 numbering where made from OOo2.4 to OOo3 together with the change from
 ODF1.0/1.1 to ODF 1.2. A hint to some of the changes are in [1] and [2].

 Currently the tap stop position of the anonymous predefined styles are the
 same for all kind of numberings. Perhaps it is possible to use different
 positions or even kind of separators for the different predefined anonymous
 styles. For the named styles an improvement is not quite so urgent because
 those users who work with named styles are likely able to change the
 settings by themselves.

 The problem is connected to the claim, that the indent don't work for
 numbers with more than one digit for example in numbering kind (#).

 [1] 
 https://issues.apache.org/ooo/**show_bug.cgi?id=89178https://issues.apache.org/ooo/show_bug.cgi?id=89178
 [2] 
 http://specs.openoffice.org/**writer/numbering/**NewListLevelAttrs.odthttp://specs.openoffice.org/writer/numbering/NewListLevelAttrs.odt

 Kind regards
 Regina

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Cups.h Missing

2011-12-13 Thread Michael Meeks

On Tue, 2011-12-13 at 12:23 -0800, Joel Madero wrote:
 So is this not a bug then? It seems to me that going back to a space
 seems much more functional as the default makes it so that the look of
 the bullets/outline is very sloppy.

Ah - if the look in outline mode is very sloppy - then that's a bug we
ought to fix :-)

  If it is a bug, I'm still interested in tracking down the code
 responsible and altering it. This will be my first attempt to
 contribute to LO and it's been an ongoing annoyance for me as I
 outline a lot. Thanks for the input from both of you

Sure - so, IIRC the tab based bullet indents is a huge interoperability
win (do read through Regina's nice links though). But clearly if the
result is ugly, then we need to do more intelligent tab placement I
suspect, and it'd be great to poke the code to work out how best that
can be done.

HTH,

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] Cups.h Missing

2011-12-12 Thread Joel Madero
Trying to compile older versions of OOo in order to track down a bug but
I'm hitting a missing cups.h when trying to compile. I have the appropriate
cups dev files installed. I have tried on Bodhi as well as Ubuntu 11.10. I
also have verified that cups.h exists in the appropriate folder

Thank you
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice