Re: [Lazarus] Update Lazarus from svn, what happens on rebuild?

2019-12-22 Thread Bo Berglund via lazarus
On Sun, 22 Dec 2019 23:39:29 +0100, Bo Berglund via lazarus
 wrote:
>Thanks Luca & John!
>Then I wonder about the "starter" command in the first proposal from
>John, what does it do?
>
>Should I use:
>
>make clean lazbuild useride starter --pcp=/home/pi/.lazarus_2.0.6
>or
>make clean lazbuild starter --pcp=/home/pi/.lazarus_2.0.6
>or
>make clean lazbuild --pcp=/home/pi/.lazarus_2.0.6
>
>AFAIK starter is the go-between when Lazarus rebuilds itself, right?
>So is it removed and has to be rebuilt if one executes
> make clean?

Me again...

Interestingly on the Lazarus wiki I found this:
https://wiki.freepascal.org/IDE_Window:_Configure_Build_Lazarus#If_something_went_wrong


At the bottom it reads:


After rebuilding the IDE, it crashes or is unusable and you don't have
a backup:

Dont' panic!

You can easily compile a basic IDE on the command line.

cd /path/to/lazarus
make clean all

This will compile an IDE without special packages. Your old installed
packages are not installed, but are marked for installations. That
means when you build the IDE with the IDE, it will create an IDE with
all your packages. If you installed a buggy package, then you can
simply open the package and uninstall it.



So this is really what I saw and which triggered this thread, I get a
base version of Lazarus without my added packages. But I did not
realize that if I then used the command *within* Lazarus to rebuild
the IDE I would have gotten the missing packages installed

This is available in menu:
Tools/Build Lazarus with profile: Normal IDE


I am learning things all the time...


-- 
Bo Berglund
Developer in Sweden

-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Update Lazarus from svn, what happens on rebuild?

2019-12-22 Thread Bo Berglund via lazarus
On Sun, 22 Dec 2019 19:35:17 +0100, Luca Olivetti via lazarus
 wrote:

>El 22/12/19 a les 13:40, Bo Berglund via lazarus ha escrit:
>> On Wed, 18 Dec 2019 22:26:32 +0100, John Landmesser via lazarus
>>  wrote:
>> 
>>> This one builds the IDE with all extra packages you installed yourself:
>>>
>>> make clean lazbuild useride starter
>>>
>>> i Hope, thats a useful and correct answer!
>>>
>> 
>> I have not tested it yet since I have a working system at the moment..
>> 
>> But I have a question regarding this command since I have several
>> different versions of Lazarus installed on my Raspbian system:
>> 
>> Do I have to specify the --pcp directory in order for the command to
>> correctly find the already installed packages that need to be built
>> into the IDE?
>> 
>> If so how is that information incorporated into the command?
>> The command itself will be executed from within the Lazarus source dir
>> (retrieved from SVN).
>
>Omit the "useride" from the make command then
>
>lazbuild --lazarusdir=. --build-ide= --pcp=your-config-dir
>
>(which is the same thing ·"make useride" would do with the --pcp added 
>at the end).
>

Thanks Luca & John!
Then I wonder about the "starter" command in the first proposal from
John, what does it do?

Should I use:

make clean lazbuild useride starter --pcp=/home/pi/.lazarus_2.0.6
or
make clean lazbuild starter --pcp=/home/pi/.lazarus_2.0.6
or
make clean lazbuild --pcp=/home/pi/.lazarus_2.0.6

AFAIK starter is the go-between when Lazarus rebuilds itself, right?
So is it removed and has to be rebuilt if one executes
 make clean?


-- 
Bo Berglund
Developer in Sweden

-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Update Lazarus from svn, what happens on rebuild?

2019-12-22 Thread Luca Olivetti via lazarus

El 22/12/19 a les 13:40, Bo Berglund via lazarus ha escrit:

On Wed, 18 Dec 2019 22:26:32 +0100, John Landmesser via lazarus
 wrote:


This one builds the IDE with all extra packages you installed yourself:

make clean lazbuild useride starter

i Hope, thats a useful and correct answer!



I have not tested it yet since I have a working system at the moment..

But I have a question regarding this command since I have several
different versions of Lazarus installed on my Raspbian system:

Do I have to specify the --pcp directory in order for the command to
correctly find the already installed packages that need to be built
into the IDE?

If so how is that information incorporated into the command?
The command itself will be executed from within the Lazarus source dir
(retrieved from SVN).


Omit the "useride" from the make command then

lazbuild --lazarusdir=. --build-ide= --pcp=your-config-dir

(which is the same thing ·"make useride" would do with the --pcp added 
at the end).


Bye
--
Luca Olivetti
Wetron Automation Technology http://www.wetron.es/
Tel. +34 93 5883004 (Ext.3010)  Fax +34 93 5883007
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] gtk2 issue with clicking on ATTabs

2019-12-22 Thread AlexeyT via lazarus

User of ATTabs wrote, I don't know what to do here?

Hi,
Having a issue with ATTabs on Linux GTk2 (Laz 2.06) When I add a tab 
from a popup menu from a tvirtualstringtree the close button on the tab 
does nothing on the first click and on the second click it closes and in 
the terminal this error pops up:
|GLib-GObject-WARNING **: 11:15:36.741: ../glib/gobject/gsignal.c:1206: 
no emission of signal "button-release-event" to stop for instance 
'0x208b5b0'|
If I right click on the tab and use the popup menu I call to close the 
tab this error does not occur.
Also if I spawn the tab from a button on a toolbar it closes on the 
first click but that error still shows in the terminal. I am using the 
latest version of Attabs as of a day ago.

This does not happen in windows and I have not been able to test in QT5
I am using tactions to add the tab and if I call the action from the 
tvirtualstringtrees double click event it also closes on the first 
click, it's only if the addtab is called from the context of a popup 
menu. I also noticed if I click anywhere on the form that is hosted in 
the tab then click the close button it closes.


--
Regards,
Alexey

-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Update Lazarus from svn, what happens on rebuild?

2019-12-22 Thread Bo Berglund via lazarus
On Wed, 18 Dec 2019 22:26:32 +0100, John Landmesser via lazarus
 wrote:

>This one builds the IDE with all extra packages you installed yourself:
>
>make clean lazbuild useride starter
>
>i Hope, thats a useful and correct answer!
>

I have not tested it yet since I have a working system at the moment..

But I have a question regarding this command since I have several
different versions of Lazarus installed on my Raspbian system:

Do I have to specify the --pcp directory in order for the command to
correctly find the already installed packages that need to be built
into the IDE?

If so how is that information incorporated into the command?
The command itself will be executed from within the Lazarus source dir
(retrieved from SVN).


-- 
Bo Berglund
Developer in Sweden

-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus