Recent

Author Topic: Snapshot install, then svn update?  (Read 6778 times)

bill0287

  • Full Member
  • ***
  • Posts: 146
Snapshot install, then svn update?
« on: January 21, 2014, 06:10:27 am »
If I install one of the snapshots of 1.3, is it then possible to use svn (Tortoise or otherwise) to keep it updated?

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9864
  • Debugger - SynEdit - and more
    • wiki
Re: Snapshot install, then svn update?
« Reply #1 on: January 21, 2014, 03:28:05 pm »
Not straight forward, but with very little work: yes.

Which OS?

If you install a snapshot, release or RC, all you need from it are
- the actual IDE executable lazarus.exe (without extension on Linux/Mac)
- the FPC installation.
- any dependencies (on linux).

The dependencies (linux only) will be there and you do not need to care.

On linux  FPC is in a folder of its own, on windovs, it is in the Lazarus dir, and there may be a few steps needed.

On Windows FPC will stop working, if you move or rename the folder or containing folder. You MUST then edit the fpc.cfg file. it contains many references of the path. Fix then.

----
Once you got the install.

1) Do an SVN Checkout to a new folder.
- Copy the lazarus.exe
- If you want to keep both, then google --primary-config-path
  or let the win itstaller create a 2ndary install, and keep the lazarus.cfg file
- start lazarus
- (maybe fix the path to fpc in Options)
- rebuild

2) Alternative, to install into the original folder.
- move fpc away, either move it back later, or fix fpc.cfg
- keep the exe, (and laarus.cfg, if applicable) and delete the contents of the install folder
- As above, check out


--
You need the checkout. You can not convert the files into an svn managed folder.




bill0287

  • Full Member
  • ***
  • Posts: 146
Re: Snapshot install, then svn update?
« Reply #2 on: January 21, 2014, 10:55:04 pm »
I want to do this on Win7 64bit and Laz 32-bit.

So with this method it seems as though I can get the Lazarus trunk (managed), but will be keeping the FPC version (unmanaged) that came with the snapshot (2.6.2)?

Bart

  • Hero Member
  • *****
  • Posts: 5290
    • Bart en Mariska's Webstek
Re: Snapshot install, then svn update?
« Reply #3 on: January 21, 2014, 11:43:29 pm »
Since you need the checkout anyway, why not do it the "proper" way?
  • Download and install FreePascal
  • Download the fpc sources and unzip them in a folder of your choice
  • Do the Lazarus checkout
  • Build Lazarus: make bigide

This makes it much easier when e.g. you upgrade the compiler (fpc 2.6.4 is upcoming).

You could also try the fpcup (See forum->third party) to manage it all for you.

Bart

mtournay

  • Jr. Member
  • **
  • Posts: 63
Re: Snapshot install, then svn update?
« Reply #4 on: April 25, 2014, 11:35:12 am »
Hello

Same "problem" here.
I download and install laz 1.2.2 32b on my w7 64b
the I extract laz trunk from svn to the install dir

Tortoise said I had version 44804 (so up to date)
but when I search the modification in lazreport I want to test, those modifications are not included (patch modified and included by Jesus in r44779)

what am I missing ?

Michel.
laz 2.06 32b - fpc 3.04 32b - win10 64b

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4467
  • I like bugs.
Re: Snapshot install, then svn update?
« Reply #5 on: April 25, 2014, 02:32:58 pm »
I download and install laz 1.2.2 32b on my w7 64b
the I extract laz trunk from svn to the install dir

Uhh. Don't do that!

Quote
what am I missing ?

Knowledge of using revision control tools correctly.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

mtournay

  • Jr. Member
  • **
  • Posts: 63
Re: Snapshot install, then svn update?
« Reply #6 on: April 25, 2014, 06:01:27 pm »
hehe I was waiting this kind of response  >:D

Knowledge of using revision control tools correctly.

enlight me, master  O:-)
laz 2.06 32b - fpc 3.04 32b - win10 64b

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9864
  • Debugger - SynEdit - and more
    • wiki
Re: Snapshot install, then svn update?
« Reply #7 on: April 25, 2014, 06:50:59 pm »
enlight me, master  O:-)

What enlightenment to you need? The answer was posted in this very thread already. By different people.

One by me: http://forum.lazarus.freepascal.org/index.php/topic,23317.msg139067.html#msg139067





Blaazen

  • Hero Member
  • *****
  • Posts: 3237
  • POKE 54296,15
    • Eye-Candy Controls
Re: Snapshot install, then svn update?
« Reply #8 on: April 25, 2014, 07:01:36 pm »
Quote
Tortoise said I had version 44804 (so up to date)
That means nothing, you have installed stable branch where not all commits have to be included.

I also recommend you to start from scratch.
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

mtournay

  • Jr. Member
  • **
  • Posts: 63
Re: Snapshot install, then svn update?
« Reply #9 on: April 28, 2014, 08:11:08 am »
Hello

It's just that I don't understrand why we need 2 folders, that'all.
I'll test this morning
laz 2.06 32b - fpc 3.04 32b - win10 64b

 

TinyPortal © 2005-2018