Re: Mysql Connector Extension Size Confusion

2013-02-26 Thread Stephan Bergmann

On 02/22/2013 02:37 PM, Alexander Thurgood wrote:

-rw-rw-r-- 1 1000 1000 5379260 janv.  3 03:44 
/home/alex/Development/libo/core/mysqlc/unxlngx6.pro/bin/mysql-connector-ooo.oxt

-rw-rw-r-- 1 1000 1000 2575973 févr. 13 12:20 
/home/alex/Development/libo/core/workdir/unxlngx6.pro/ExtensionTarget/mysql-connector-ooo.oxt


On 02/22/2013 03:35 PM, Alex Thurgood wrote:

unzip -l
Archive:
/home/alex/Development/libo/core/workdir/unxlngx6.pro/ExtensionTarget/mysql-connector-ooo.oxt

   Length  DateTimeName
-  -- -   
 0  2013-01-30 14:46   META-INF/
  1391  2013-02-13 12:20   META-INF/manifest.xml
   255  2013-01-30 11:41   description-en-US.txt
  1743  2013-02-13 12:20   description.xml
   838  2013-01-30 11:41   images/extension_32.png
   4722905  2013-02-10 11:51   libmysqlcppconn.so
   4180182  2013-02-13 12:19   mysqlc.uno.so
 0  2013-01-30 14:46   registration/
436392  2013-02-13 12:20   registration/LICENSE
  3561  2013-01-30 11:44   
registry/data/org/openoffice/Office/DataAccess/Drivers.xcu
   311  2013-02-10 14:26   components.rdb
- ---
   9347578 11 files


^^^ but the above ls output indicated this file was much smaller than 
the other, old one, rather than much larger?


Stephan


unzip -l
Archive:
/home/alex/Development/libo/core/mysqlc/unxlngx6.pro/bin/mysql-connector-ooo.oxt

   Length  DateTimeName
-  -- -   
 0  2013-01-03 03:44   META-INF/
  1392  2013-01-03 03:44   META-INF/manifest.xml
   255  2013-01-03 03:44   description-en-US.txt
  1743  2013-01-03 03:44   description.xml
 0  2013-01-03 03:44   images/
   838  2013-01-03 03:44   images/extension_32.png
739047  2013-01-03 03:44   libmysqlcppconn.so
   4186992  2013-01-03 03:44   mysqlc.uno.so
 0  2013-01-03 03:44   registration/
442492  2013-01-03 03:44   registration/LICENSE
 0  2013-01-03 03:44   registry/
 0  2013-01-03 03:44   registry/data/
 0  2013-01-03 03:44   registry/data/org/
 0  2013-01-03 03:44   registry/data/org/openoffice/
 0  2013-01-03 03:44   registry/data/org/openoffice/Office/
 0  2013-01-03 03:44   registry/data/org/openoffice/Office/DataAccess/
  3561  2013-01-03 03:44   
registry/data/org/openoffice/Office/DataAccess/Drivers.xcu
- ---
   5376320 17 files

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


Mysql Connector Extension Size Confusion

2013-02-22 Thread Alexander Thurgood

Hi all,

On my 64bit Linux build of master, I'm seeing the following in my tree 
after a successful build of the mysql connector extension :


Hmm, some strange things going on somewhere :

-rw-rw-r-- 1 1000 1000 5379260 janv.  3 03:44 
/home/alex/Development/libo/core/mysqlc/unxlngx6.pro/bin/mysql-connector-ooo.oxt



-rw-rw-r-- 1 1000 1000 2575973 févr. 13 12:20 
/home/alex/Development/libo/core/solver/unxlngx6.pro/bin/mysql-connector-ooo.oxt



-rw-rw-r-- 1 1000 1000 2575973 févr. 13 12:20 
/home/alex/Development/libo/core/workdir/unxlngx6.pro/ExtensionTarget/mysql-connector-ooo.oxt



I have no idea why the /ExtensionTarget and /solver copies of the OXT 
are only half the size of the unxlngx6.pro/bin copy.


Any ideas ?

Since I always thought that it was the file in solver that got 
registered in the final build product, I am a bit confused as to which 
is the correct file that should be used to make available for downloads, 
and this may also explain why my 2Mb files that I have made available in 
the past didn't work for many users that tried it.


On Mac OSX, when the connector does successfully build, it has a size of 
about 4Mb.



Alex




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


Re: Mysql Connector Extension Size Confusion

2013-02-22 Thread Michael Stahl
On 22/02/13 14:37, Alexander Thurgood wrote:
 Hi all,
 
 On my 64bit Linux build of master, I'm seeing the following in my tree 
 after a successful build of the mysql connector extension :
 
 Hmm, some strange things going on somewhere :
 
 -rw-rw-r-- 1 1000 1000 5379260 janv.  3 03:44 
 /home/alex/Development/libo/core/mysqlc/unxlngx6.pro/bin/mysql-connector-ooo.oxt

this is created by the old build system.
 
 -rw-rw-r-- 1 1000 1000 2575973 févr. 13 12:20 
 /home/alex/Development/libo/core/solver/unxlngx6.pro/bin/mysql-connector-ooo.oxt
 
 
 -rw-rw-r-- 1 1000 1000 2575973 févr. 13 12:20 
 /home/alex/Development/libo/core/workdir/unxlngx6.pro/ExtensionTarget/mysql-connector-ooo.oxt

this is created by the new build system, to which mysqlc was migrated
earlier this year.

 I have no idea why the /ExtensionTarget and /solver copies of the OXT 
 are only half the size of the unxlngx6.pro/bin copy.
 
 Any ideas ?

you could check if there are any files missing in the oxt or anything
looks obviously wrong; last i checked it looked fine here but there are
apparently several different configure options that affect the extension
so YMMV.

 Since I always thought that it was the file in solver that got 
 registered in the final build product, I am a bit confused as to which 
 is the correct file that should be used to make available for downloads, 
 and this may also explain why my 2Mb files that I have made available in 
 the past didn't work for many users that tried it.

AFAIK the extension always requires some mysql library or other
installed on the system.


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


Re: Mysql Connector Extension Size Confusion

2013-02-22 Thread Alex Thurgood

Le 22/02/2013 14:42, Michael Stahl a écrit :


-rw-rw-r-- 1 1000 1000 5379260 janv.  3 03:44
/home/alex/Development/libo/core/mysqlc/unxlngx6.pro/bin/mysql-connector-ooo.oxt


this is created by the old build system.


Ah, ok, so a make clean and rebuild might be in order here then.




-rw-rw-r-- 1 1000 1000 2575973 févr. 13 12:20
/home/alex/Development/libo/core/solver/unxlngx6.pro/bin/mysql-connector-ooo.oxt


-rw-rw-r-- 1 1000 1000 2575973 févr. 13 12:20
/home/alex/Development/libo/core/workdir/unxlngx6.pro/ExtensionTarget/mysql-connector-ooo.oxt


this is created by the new build system, to which mysqlc was migrated
earlier this year.



Hmm, that's what I thought, and that file size corresponds to those of 
previous connectors I had built and made available in the past on the 
extensions website.




you could check if there are any files missing in the oxt or anything
looks obviously wrong; last i checked it looked fine here but there are
apparently several different configure options that affect the extension
so YMMV.


Almost certainly will be something missing, am investigating now.


Alex



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


Re: Mysql Connector Extension Size Confusion

2013-02-22 Thread Alex Thurgood

So, here are the differences :


unzip -l
Archive: 
/home/alex/Development/libo/core/workdir/unxlngx6.pro/ExtensionTarget/mysql-connector-ooo.oxt

  Length  DateTimeName
-  -- -   
0  2013-01-30 14:46   META-INF/
 1391  2013-02-13 12:20   META-INF/manifest.xml
  255  2013-01-30 11:41   description-en-US.txt
 1743  2013-02-13 12:20   description.xml
  838  2013-01-30 11:41   images/extension_32.png
  4722905  2013-02-10 11:51   libmysqlcppconn.so
  4180182  2013-02-13 12:19   mysqlc.uno.so
0  2013-01-30 14:46   registration/
   436392  2013-02-13 12:20   registration/LICENSE
 3561  2013-01-30 11:44 
registry/data/org/openoffice/Office/DataAccess/Drivers.xcu

  311  2013-02-10 14:26   components.rdb
- ---
  9347578 11 files




unzip -l
Archive: 
/home/alex/Development/libo/core/mysqlc/unxlngx6.pro/bin/mysql-connector-ooo.oxt

  Length  DateTimeName
-  -- -   
0  2013-01-03 03:44   META-INF/
 1392  2013-01-03 03:44   META-INF/manifest.xml
  255  2013-01-03 03:44   description-en-US.txt
 1743  2013-01-03 03:44   description.xml
0  2013-01-03 03:44   images/
  838  2013-01-03 03:44   images/extension_32.png
   739047  2013-01-03 03:44   libmysqlcppconn.so
  4186992  2013-01-03 03:44   mysqlc.uno.so
0  2013-01-03 03:44   registration/
   442492  2013-01-03 03:44   registration/LICENSE
0  2013-01-03 03:44   registry/
0  2013-01-03 03:44   registry/data/
0  2013-01-03 03:44   registry/data/org/
0  2013-01-03 03:44   registry/data/org/openoffice/
0  2013-01-03 03:44   registry/data/org/openoffice/Office/
0  2013-01-03 03:44 
registry/data/org/openoffice/Office/DataAccess/
 3561  2013-01-03 03:44 
registry/data/org/openoffice/Office/DataAccess/Drivers.xcu

- ---
  5376320 17 files


Both contain libmysqlcppconn and mysqlc.uno.so, but again have different 
file sizes (less of a difference in mysqlc.uno.so, but nonetheless a 
small difference). The libmysqlcppconn.so in the new build system is 
nearly 6 times a big - I'm trying to understand why that might be ?


Alex


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


Re: Mysql Connector Extension Size Confusion

2013-02-22 Thread Fridrich Strba
Alex,

On 22/02/13 15:35, Alex Thurgood wrote:
 So, here are the differences :
 
 Both contain libmysqlcppconn and mysqlc.uno.so, but again have different
 file sizes (less of a difference in mysqlc.uno.so, but nonetheless a
 small difference). The libmysqlcppconn.so in the new build system is
 nearly 6 times a big - I'm trying to understand why that might be ?

Did you try whether it works? Maybe the question is only moot. Just saying.

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


Re: Mysql Connector Extension Size Confusion

2013-02-22 Thread Alexander Thurgood

Le 22/02/2013 15:42, Fridrich Strba a écrit :

Hi Fridrich,


Did you try whether it works? Maybe the question is only moot. Just 
saying. F. 



All I know is that the new gbuild one doesn't work on other people's 
systems, as I have made the connector available for download from my 
Dropbox account (both 32bit and 64bit Linux versions) for testing 
purposes. It works on my own dev-install build.



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


C++ extensions requiring LIBO_UDK_4.1 (was: Re: Mysql Connector Extension Size Confusion)

2013-02-22 Thread Michael Stahl
On 22/02/13 15:53, Alexander Thurgood wrote:
 Le 22/02/2013 15:42, Fridrich Strba a écrit :
 
 Hi Fridrich,
 
 
 Did you try whether it works? Maybe the question is only moot. Just 
 saying. F. 
 
 
 All I know is that the new gbuild one doesn't work on other people's 
 systems, as I have made the connector available for download from my 
 Dropbox account (both 32bit and 64bit Linux versions) for testing 
 purposes. It works on my own dev-install build.

it's possible that this is because it requires functions that were added
after the 4.0 release on master (i suspect this happens automatically
due to some OUString changes); for example here i'm getting a dependency
on LIBO_UDK_4.1 symbol version, which none of the current releases supply.

   readelf --version-info /work/lo/master/solver/unxlngx6/lib/mysqlc.uno.so  
 | grep LIBO_UDK
   01c:   a (LIBO_UDK_3.6)   4 (UDK_3_0_0) 2 (UDK_3_0_0) 4 (UDK_3_0_0) 
  
   08c:  12 (LIBO_UDK_4.1)   7 (UDK_3_0_0) 4 (UDK_3_0_0) b 
 (CXXABI_1.3) 
   0x0030:   Name: LIBO_UDK_4.1  Flags: none  Version: 18
   0x0060:   Name: LIBO_UDK_3.6  Flags: none  Version: 10

i'm not sure if this affects only extensions built with LO build system
or also those build with ODK.

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