[Lazarus] An online package manager

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Mon Aug 10 17:32:43 CEST 2015


On 2015-08-10 16:15, Michael Van Canneyt wrote:
>> 3. Locally installed packages (i.e. under the user account) should override 
>> and replace packages with the same name installed at the system level.
> 
> Should be doable.


Already possible/supported. I've been doing something similar for years.
I have a unit path specified in my ~/.fpc.cfg. If I copy say my custom
version of the fpcunit.pp in there, whenever I compile the Lazarus GUI
Test Runner (or console runner), FPC uses my version, and not the one
included in FCL.

eg: Add the following at the beginning of your ~/.fpc.cfg file.


# apply custom fixes
-Fu/data/devel/myfixes/

I learned this tick from my years with Delphi 7 and Kylix 3.


>> 4. All packages in the repository should be signed (e.g. using a GPG user 
>> key). Only packages signed using a known key should be allowed to install.
> 
> I don't see the point in that.

+1



Regards,
  - Graeme -

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




More information about the Lazarus mailing list