Re: [GERRIT] moz build fixed on Ubuntu -- was Re: --disable mozilla necessary for Ubuntu

2012-07-02 Thread Fridrich Strba

On 30/06/12 23:41, Caolán McNamara wrote:

If you manage to get
https://bugs.freedesktop.org/show_bug.cgi?id=51004 sorted out then I
think we could stuff in openldap as a replacement for the (obscure?)
ldap backend and then remove the entire mozilla module without losing
any existing functionality.


That would be amazing, yes.


Though, maybe we should try and go ahead and see if we can build
openldap under windows and drop the mozab stuff (which all Linux distros
do for yonks) and reenable it if the alternative implementation appears.


Actually, Windows has a native ldap api for Windows 2000 onwards. It 
consists from the winldap.h header and wldap32.dll. The apis are 
slightly different in some functions, so sometimes a compatibility 
macros are needed, but it should be conceptually possible to use this 
instead of trying to suck openldap in.


Cheers

F.


--
Please avoid sending me Word, Excel or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


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


Re: [GERRIT] moz build fixed on Ubuntu -- was Re: --disable mozilla necessary for Ubuntu

2012-07-02 Thread Bjoern Michaelsen
On Sun, Jul 01, 2012 at 11:13:36PM -0700, Joel Madero wrote:
 Well I was able to install with mozilla enabled but I am unable to do the
 test case of importing the thunderbird address book. The reason is that
 it's not listed in my options when I do other external data source from
 the import wizard, it looks like this is a bug in Ubuntu which is discussed
 here, although it's status is unknown -- not even sure if it's been
 reported:
 
 http://ubuntu.5.n6.nabble.com/Libre-Office-and-Thunderbird-Addressbook-td1100175.html
 
 So enabling mozilla basically does nothing for Ubuntu (or Ubuntu derived
 distributions).
 
 Joel

The Mozilla / Netscape, Thunderbird and LDAP address book are only available,
when OOo is built using an internal mozilla 1.7.5 copy, including a 250k patch;
we currently do not provide support for this version, including security
updates for releases.
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/93546/comments/70

Best,

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


Re: [GERRIT] moz build fixed on Ubuntu -- was Re: --disable mozilla necessary for Ubuntu

2012-07-02 Thread David Ostrovsky

On 02.07.2012 11:05, Bjoern Michaelsen wrote:

On Sun, Jul 01, 2012 at 11:13:36PM -0700, Joel Madero wrote:

So enabling mozilla basically does nothing for Ubuntu (or Ubuntu derived
distributions).

Joel

The Mozilla / Netscape, Thunderbird and LDAP address book are only available,
when OOo is built using an internal mozilla 1.7.5 copy, including a 250k patch;
we currently do not provide support for this version, including security
updates for releases.
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/93546/comments/70


Could you explain how this statement is related to the problem described 
by Joel?
He tries to confirm that my patch 
(https://gerrit.libreoffice.org/#/c/248/) is working on current master:

1. apply my patch
2. add --enable-mozilla to autogen.lastrun
3. make clean  make dev-install
4. run compiled soffice.bin --base
5. Thunderbird/Icedove Address Book appears in Connect to an existing 
database combo box.


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


Re: [GERRIT] moz build fixed on Ubuntu -- was Re: --disable mozilla necessary for Ubuntu

2012-07-02 Thread Joel Madero
As far as I can tell I can't build with the patch. I'm trying again just to
be 100% but my 1st attempt failed.

I had thought it built but forgot default was now disable mozilla, when I
enabled it and re-made the build, it failed on me. I am now trying one more
time from a clean build just with patch applied. I will report back shortly
about my progress


Joel

On Sun, Jul 1, 2012 at 11:13 PM, Joel Madero jmadero@gmail.com wrote:

 Well I was able to install with mozilla enabled but I am unable to do the
 test case of importing the thunderbird address book. The reason is that
 it's not listed in my options when I do other external data source from
 the import wizard, it looks like this is a bug in Ubuntu which is discussed
 here, although it's status is unknown -- not even sure if it's been
 reported:


 http://ubuntu.5.n6.nabble.com/Libre-Office-and-Thunderbird-Addressbook-td1100175.html

 So enabling mozilla basically does nothing for Ubuntu (or Ubuntu derived
 distributions).

 Joel



 On Sun, Jul 1, 2012 at 9:06 AM, Fridrich Strba 
 fridrich.st...@graduateinstitute.ch wrote:

 On 30/06/12 23:41, Caolán McNamara wrote:

 If you manage to get
 https://bugs.freedesktop.org/show_bug.cgi?id=51004 sorted out then I
 think we could stuff in openldap as a replacement for the (obscure?)
 ldap backend and then remove the entire mozilla module without losing
 any existing functionality.


 That would be amazing, yes.


  Though, maybe we should try and go ahead and see if we can build
 openldap under windows and drop the mozab stuff (which all Linux distros
 do for yonks) and reenable it if the alternative implementation appears.


 Actually, Windows has a native ldap api for Windows 2000 onwards. It
 consists from the winldap.h header and wldap32.dll. The apis are slightly
 different in some functions, so sometimes a compatibility macros are
 needed, but it should be conceptually possible to use this instead of
 trying to suck openldap in.

 Cheers

 F.


 --
 Please avoid sending me Word, Excel or PowerPoint attachments.
 See http://www.gnu.org/philosophy/no-word-attachments.html




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


Re: [GERRIT] moz build fixed on Ubuntu -- was Re: --disable mozilla necessary for Ubuntu

2012-06-30 Thread Caolán McNamara
On Sat, 2012-06-30 at 21:12 +0200, David Ostrovsky wrote:
 Hi Michael,
 
 well i first turned off mozilla build by default (--enable-mozilla turn 
 it on now),
 and then fixed the build error on Ubuntu:
 
 https://gerrit.libreoffice.org/#/c/248/
 
 I hope, you don't mind that i did it in this order ;-)

FWIW, we have nss and mozilla in the build and apparently due to some
historical reasons where we just had mozilla it seems that the
long-time-ago split into nss and mozilla left some baggage behind where
the perfectly correctly built nss libs didn't make their way into the
install if the moz build was disabled (!).

423479cd751e6fe7436237890240b6c9674dec5d hopefully fixed up all that
(fingers crossed)

If you manage to get
https://bugs.freedesktop.org/show_bug.cgi?id=51004 sorted out then I
think we could stuff in openldap as a replacement for the (obscure?)
ldap backend and then remove the entire mozilla module without losing
any existing functionality.

Though, maybe we should try and go ahead and see if we can build
openldap under windows and drop the mozab stuff (which all Linux distros
do for yonks) and reenable it if the alternative implementation appears.

C.

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