Lazarus IDE-plugin: Create a Debian package (.deb) or a Debian source package from your existing Lazarus project and upload to Launchpad PPA for automated building and packaging with one or two mouse clicks
Line 272 calls Tool.ShowAllOutput (I assume to make it verbose and output all), but ShowAllOutput is not in TIDEExternalToolOptions class.
But TIDEExternalToolOptions .Quiet is, which, I assume, if set to false (in other words, 'do not be quiet') will achieve the same result as the intended TIDEExternalToolOptions.ShowAllOutput := true;
I was able to install the package after making this change anyway. Hope it works - looks like a great way for packaging for Debian. Thanks for it.
When i try to install the package it fails:
lazpackagerbase.pas(193,39) Error: identifier idents no member "Resources"
line 193 is "ResList := LazarusIDE.ActiveProject.Resources as TAbstractProjectResources;"
I have tried to use the LazPackager on a Raspberry Pi (with recent Raspian installed on it) with Lazarus v1.6.2+dfsg-2.
I first had installed the first version of the packager but it did not work. Then I found out that there was a modified version and have installed that one. Here I had to comment LazStringUtils under 'uses' before it compiled without any errors.
It have modified the Options tab with all the info needed, did not change anything else.
When I run it, de DEBUILD folder is created with a lot of files in it.
It creates also the .deb file and have copied this file to another raspberry pi with the latest Raspian on it (have tried an older version of linux but with same result) and installed it (Right mouse click on file and choose 'install package' (in Dutch it is 'Pakketinstallatie'). It start to run but none executable file is installed.
I can find some files in the /usr/share/doc/my-project-name where there are two files in it ; changelog.Debian.gz and the copyright file.
As I understood, I had to copy only the .deb file to another raspberry pi to install the complete project, but perhaps I have to copy more files to the other device?
Can anyone give me advise please.
Thanks,
Staf
8/9/2019
Solved : it seems that there was an error in the debian/rules section. Have pressed the 'Reset template' button to get back to original rules settings.
Simple hello world project is working fine (I can create deb package), but if I try to add some external unit like httpsend.pas from synapse sockets (it is placed in my home/components/synapse, so not in default lazarus components dir) then when try to build deb package I get error "unit1.pas(8,68) Fatal: Can not find unit httpsend used by Unit1"