Recent

Author Topic: Lazarus on Arch Linux  (Read 10109 times)

fabienwang

  • Sr. Member
  • ****
  • Posts: 449
  • Lazarus is the best
    • My blog
Lazarus on Arch Linux
« on: December 14, 2011, 07:08:21 am »
Hello,

If you are using Arch Linux, you should know that you can get 0.9.30.2 from community repository, it's already great.
But to get the latest revision from svn, and not loose some time reading the manuals how to compile etc,

I made 3 packages on AUR repository on Arch Linux:

lazarus-svn
and
qt4pas
lazarus-svn-qt (needs qt4pas)

It is really simple to use for arch users:
get the PKGBUILD on the package webpage, and put it in a folder i.e. /home/me/tmp_lazarus/
then type the command in that folder:
Code: [Select]
makepkg
This single command will:
1) get latest svn version of lazarus
2) compile it
3) create a package

then you just have to install that package:

Code: [Select]
pacman -U thepackagename.tar.xz
here is the link:
https://aur.archlinux.org/packages.php?SeB=m&K=fabienwang

PS: if you are on ubuntu/debian/mint, this won't work.
It's only for Arch Linux users!

I'm using Arch Linux.
Known for: CPickSniff, OpenGrabby
Contributed to: LazPaint

Andru

  • Full Member
  • ***
  • Posts: 112
Re: Lazarus on Arch Linux
« Reply #1 on: December 14, 2011, 07:43:42 am »
Good job, I thought about uploading my own PKGBUILD, but you did it better because of qt-version :) Maybe I should share my own fpc(stable and from svn) PKGBUILD's for cross-compilation... :)

fabienwang

  • Sr. Member
  • ****
  • Posts: 449
  • Lazarus is the best
    • My blog
Re: Lazarus on Arch Linux
« Reply #2 on: January 20, 2012, 11:40:08 am »
Packages updated
(qt4pas v2.5)

lots of changes:
chmod 777 on /usr/lib/lazarus so you can rebuild lazarus when installing packages
the .svn is now deleted correctly
I still have nothing on the lazarus icon put in /usr/share/applications/

I personnally will stick with fpc and fpc-src packages so i don't spend my time to compile packages but to code on my projects :D



I'm using Arch Linux.
Known for: CPickSniff, OpenGrabby
Contributed to: LazPaint

Andru

  • Full Member
  • ***
  • Posts: 112
Re: Lazarus on Arch Linux
« Reply #3 on: January 20, 2012, 12:57:13 pm »
Code: [Select]
  cp -r $_svnmod $_svnmod-build

  .....

  #remove the single .svn folder
  rm -rf ${pkgdir}/usr/lib/lazarus/.svn

O_o Why not to use this?

Code: [Select]
svn export $_svnmod $_svnmod-build

 

TinyPortal © 2005-2018