Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2012-03

Reminder: lovely new components for palette read for commit

7 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Reinier Olislagers

.... Already run on Windows; it's meanwhile been tested and approved by Ludo Brands on Linux.

Anybody willing to apply it (optionally with less ugly icons) - or assign it to himself?

http://bugs.freepascal.org/view.php?id=21578

Don't know/remember if Michael Van Canneyt is committer for LCL; in that case he might want to take a look...

Thanks,
Reinier

Reply by email

Reinier Olislagers
to Reinier Olislagers
Reinier Olislagers wrote 8 lines
.... Already run on Windows; it's meanwhile been tested and approved by Ludo Brands on Linux. Anybody willing to apply it (optionally with less ugly icons) - or assign it to himself? http://bugs.freepascal.org/view.php?id=21578

Mattias, thanks for applying.

You mentioned in the bug report that you wanted to include the example programs but wondered if there's a way to do it without FreeTDS dblib.dll (and its dependency, iconv*.dll).
Can't comment in the bug itself, as it is closed.

As far as I know: no. There might be a Microsoft-supplied dblib.dll but that must have been very old. Can't find it in a SQL Server 2008 Express install. Think I also searched on a regular SQL Server 2008 and Sybase 15 install.

Adding the samples with a readme stating users have to download/install the FreeTDS libraries seems to be a sane alternative.

FYI, Marco v.d. Voort did indicate in the related FPC bug (17303 not 21571 as I had indicated in the bug report, sorry): "I don't think FPC should go into the third party DLL building and distributing business.

Sure, we can put the DLL in contrib/ if the license allows. " Don't know what contrib/ is; presumably an SVN URL?

The FreeTDS license is LGPL:
http://www.freetds.org/faq.html#license

Thanks,
Reinier

Reply by email

Mattias Gaertner
to Reinier Olislagers
Show quoted text 16 lines
On 29-3-2012 15:00, Reinier Olislagers wrote: > .... Already run on Windows; it's meanwhile been tested and approved by > Ludo Brands on Linux. > > Anybody willing to apply it (optionally with less ugly icons) - or > assign it to himself? > > http://bugs.freepascal.org/view.php?id=21578 > Mattias, thanks for applying. You mentioned in the bug report that you wanted to include the example programs but wondered if there's a way to do it without FreeTDS dblib.dll (and its dependency, iconv*.dll). Can't comment in the bug itself, as it is closed.

AFAIK there is no example yet for this stuff, so it would be helpful. Only x-platform examples are put into Lazarus sources.

Do you have a x-platform example?

Show quoted text 18 lines
As far as I know: no. There might be a Microsoft-supplied dblib.dll but that must have been very old. Can't find it in a SQL Server 2008 Express install. Think I also searched on a regular SQL Server 2008 and Sybase 15 install. Adding the samples with a readme stating users have to download/install the FreeTDS libraries seems to be a sane alternative. FYI, Marco v.d. Voort did indicate in the related FPC bug (17303 not 21571 as I had indicated in the bug report, sorry): "I don't think FPC should go into the third party DLL building and distributing business. Sure, we can put the DLL in contrib/ if the license allows. " Don't know what contrib/ is; presumably an SVN URL? The FreeTDS license is LGPL: http://www.freetds.org/faq.html#license

Mattias

Reply by email

Reinier Olislagers
to Mattias Gaertner
Mattias Gaertner wrote
AFAIK there is no example yet for this stuff, so it would be helpful. Only x-platform examples are put into Lazarus sources. Do you have a x-platform example?

It is x-platform.

The underlying fpc mssqlconn connector just requires FreeTDS (i.e. dblib.dll on Windows, presumably dblib.so on Linux etc). Just like Firebird requires fbclient.dll/fbembed.dll on Windows and equivalent libs on other platforms..

Haven't tested the GUI components myself on Linux, but Ludo Brands has. Underlying FPC connectors were tested at least on Linux+Windows.

Regards,
Reinier

Reply by email

Mattias Gaertner
to Reinier Olislagers
Show quoted text 15 lines
On 31-3-2012 11:17, Mattias Gaertner wrote: > AFAIK there is no example yet for this stuff, so it would be helpful. > Only x-platform examples are put into Lazarus sources. > > Do you have a x-platform example? It is x-platform. The underlying fpc mssqlconn connector just requires FreeTDS (i.e. dblib.dll on Windows, presumably dblib.so on Linux etc). Just like Firebird requires fbclient.dll/fbembed.dll on Windows and equivalent libs on other platforms.. Haven't tested the GUI components myself on Linux, but Ludo Brands has. Underlying FPC connectors were tested at least on Linux+Windows.

Great.
Then the example can be added without the dll and icons. Can you write a small README.txt with some hints about the dblib and where to get the dll?

Mattias

Reply by email

Reinier Olislagers
to Mattias Gaertner
Mattias Gaertner wrote 23 lines
On Sat, 31 Mar 2012 11:36:31 +0200 Reinier Olislagers wrote: > On 31-3-2012 11:17, Mattias Gaertner wrote: >> AFAIK there is no example yet for this stuff, so it would be helpful. >> Only x-platform examples are put into Lazarus sources. >> >> Do you have a x-platform example? > > It is x-platform. > > The underlying fpc mssqlconn connector just requires FreeTDS (i.e. > dblib.dll on Windows, presumably dblib.so on Linux etc). > Just like Firebird requires fbclient.dll/fbembed.dll on Windows and > equivalent libs on other platforms.. > > Haven't tested the GUI components myself on Linux, but Ludo Brands has. > Underlying FPC connectors were tested at least on Linux+Windows. Great. Then the example can be added without the dll and icons. Can you write a small README.txt with some hints about the dblib and where to get the dll?

Yep, I'll create a new patch... added to my to do list ;)

Regards,
Reinier

Reply by email