Giter Site home page Giter Site logo

prof7bit / lazpackager Goto Github PK

View Code? Open in Web Editor NEW
26.0 26.0 10.0 1.04 MB

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

Pascal 100.00%

lazpackager's People

Contributors

prof7bit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lazpackager's Issues

Installation of package fails due to missing ShowAllOutput

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.

Fatal error

Hi,

When I try to build debian package I get errors:

make: *** [build] Błąd 2
dpkg-buildpackage: błąd: debian/rules build return error 2
debuild: fatal error at line 1350:
dpkg-buildpackage -rfakeroot -d -us -uc -b failed

Regards

installation of package fails

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;"

Ubuntu 13.04 with lazarus 0.9.30.4-4

Using LazPackager on Raspberry Pi

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.
image
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.

Can't find external units

Hi,

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"

Regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.