[Lazarus] linux mint install

2015-07-23 Thread Larry Dalton
I just acquired a desktop box with linux mint os. I want to upgrade lazarus
to the latest release. Anyone have any step-by-step directions?
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] linux mint install

2015-07-23 Thread Ondrej Kelle
Hi,

In case it's interesting here are the steps to upgrade to latest trunk
(both fpc and lazarus) which worked for me on both 17.1 (Rebecca) and 17.2
(Rafaela):
http://tondrej.blogspot.de/2015/05/fpc-and-lazarus-development-environment.html

I think you could simply adapt the check out step to get a specific release
revision to suit your needs.

Ondrej


On 24 July 2015 at 02:53, Larry Dalton larrydalto...@gmail.com wrote:

 I just acquired a desktop box with linux mint os. I want to upgrade
 lazarus to the latest release. Anyone have any step-by-step directions?


 --
 ___
 Lazarus mailing list
 Lazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Tracking software useage

2015-07-23 Thread Graeme Geldenhuys
On 2015-07-23 17:40, waldo kitty wrote:
 if you really desire this information, make it configurable so that those who 
 don't care can enable it if they like... it should be disabled by default, 
 though...

+1
I don't like call home software either.


On a side note:
We did once, for internal franchise testing only, added Google Analytics
[yes, what you normally use for websites ;-) ] into our desktop
application. Different areas of our desktop application was tracked like
different web pages in a website. :)  Our product was a total rewrite of
a previous version with lots of redesigned areas. We wanted to collect
data to see what areas in the new program is used a lot, what isn't etc.
That way we could tweak the user interface based on where our
franchisees get stuck or missing out on useful features.  We did give
them training, but you know how it goes in by the one ear, out by
the other. :)


Regards,
  - Graeme -


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Tracking software useage

2015-07-23 Thread waldo kitty

On 07/23/2015 12:42 AM, Richard Mace wrote:

Hi all,
I am really interested in tracking how many people are using my software and was
wondering what people that would be a good and ethical way of doing it. Any
thoughts?


quite many call home packages are quickly removed over here unless they are 
extremely important and required... in those cases, they are blocked from making 
the call... this mainly because of privacy concerns... it is no one's business 
when someone executes a program or how long they are running it or other metrics 
that may be divined from certain call home connections... in some areas of the 
world, the use of timestamps in messaging is illegal because of the possibility 
of tracking when someone may be at home or work...


if you really desire this information, make it configurable so that those who 
don't care can enable it if they like... it should be disabled by default, though...


--
 NOTE: No off-list assistance is given without prior approval.
   *Please keep mailing list traffic on the list* unless
   private contact is specifically requested and granted.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Resolution changes ?

2015-07-23 Thread Aradeonas
Is font same in the both os?
When you resize the form in Linux is all things OK?

Regards,
Ara


-- 
http://www.fastmail.com - The professional email service


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Resolution changes ?

2015-07-23 Thread Michael Van Canneyt



On Thu, 23 Jul 2015, Aradeonas wrote:


Is font same in the both os?


I didn't specify any fonts, I assume it uses the OS default in that case ?


When you resize the form in Linux is all things OK?


Yes.

Michael.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Resolution changes ?

2015-07-23 Thread Aradeonas
Default OS font I think.for example in Windows 8 it will pick Segoe UI
.
Check this in your linux like this :

Self.Caption:=GetFontData(Font.Handle).Name;


Regards,
Ara


-- 
http://www.fastmail.com - Send your email first class


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Resolution changes ?

2015-07-23 Thread Michael Van Canneyt


Hello,

What is the recommended way to deal with changes in resolution for a lazarus 
program ?

I designed an application on Linux, on a 27 monitor. 
All looks well when designing and running the program. 
All controls nicely spaced, labels large enough to fit their contents.


I build the program for windows, and run it on a windows computer. 
It looks horrible. Controls overlapping, labels too short for their contents.


Early versions of Delphi (at least up to XE) had this problem too; 
when changing resolution, all is messed up.


What is the recommended way to go about this when using the LCL ?

Michael.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Can someone explain this error?

2015-07-23 Thread FreeMan

Hello,
On OSX yosemite qt64 fpc r31217  lazarus r49559

  implementation
{$linklib /opt/proje_laz/projeler/links/liblinux_x86_64.a}
function func_name;   cdecl; external;
...
error
/usr/local/bin/x86_64-linux-ld: 
/opt/proje_laz/projeler/links/liblinux_x86_64.a(wurzl589.o): undefined 
reference to symbol '__udivti3@@GCC_3.0'
/opt/binutils/x86_64-linux-libs//libgcc_s.so.1: error adding symbols: 
DSO missing from command line

myproject.lpr(23,1) Error: Error while linking

I get this error when I crosscompile to linux x64. I couldn't find what 
is wrong. I wanna use linux lib file in my project. Has any one any idea 
about this ?

thank you.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Resolution changes ?

2015-07-23 Thread Graeme Geldenhuys
On 2015-07-23 10:43, Michael Van Canneyt wrote:
 
 What is the recommended way to deal with changes in resolution for a lazarus 
 program ?

When you say resolution change, do you mean desktop resolution or DPI
change?


 I designed an application on Linux, on a 27 monitor. 

What DPI is your Linux system using? I know it is the wrong thing to do,
but I force my development systems to 96 dpi. Then in my fpGUI
applications I scale the forms, controls and fonts based (using one
simple functions in OnShow) based on the current system's dpi value
compared to the designed system's dpi. The same code should work for
LCL - I can share if you want.

eg:
  http://geldenhuys.co.uk/~graemeg/project2-96dpi.png
  http://geldenhuys.co.uk/~graemeg/project2-80dpi.png
  http://geldenhuys.co.uk/~graemeg/project2-107dpi.png
  http://geldenhuys.co.uk/~graemeg/project2-120dpi.png
  http://geldenhuys.co.uk/~graemeg/project2-140dpi.png


procedure TMainForm.FormShow(Sender: TObject);
begin
  if fpgApplication.Screen_dpi  cDPI then
ScaleDPI(self, cDPI); // cDPI is the dpi you designed the form at
end;

Lazarus LFM files don't store the designed DPI value (Kylix and Delphi
did), so I believe you are screwed if the running system's DPI is
different to the designed system. There is no automated way to scale the
forms like Delphi or Kylix could do - unless LCL has some other means of
doing the same.

 All looks well when designing and running the program. 
 All controls nicely spaced, labels large enough to fit their contents.

Simply a change in desktop resolution (eg: 1024x768) shouldn't affect
control spacing or label content not fitting. It will affect if a form
can actually fit 100% inside the available desktop space though.

So from the above I'm assuming your Linux system uses a different DPI
value to the Windows system. The latter is normally set to 96dpi by default.


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus