:: Re: [DNG] frontend GUI implementati…
Page principale
Supprimer ce message
Répondre à ce message
Auteur: Edward Bartolo
Date:  
À: Jaromil, dng
Sujet: Re: [DNG] frontend GUI implementation
I have just discovered a BUG in the frontend.

When the frontend is invoked through the use of a launcher, the
backend's environment path will not be the directory to which the
front end and backend are installed. This is not the case if the
launcher is copied to the directory containing the executables.

I edited one line in the Lazarus code for the frontend and the problem
has been resolved:

To correct the issue edit 'backend.pas' as follows:
AProcess.Parameters.Add(ExtractFileDir(Application.ExeName) + '/' + exe);

On 23/08/2015, Edward Bartolo <edbarx@???> wrote:
> There is a unit called threader.pas that is not used. Please, discard
> it as it has errors.
>
> On 23/08/2015, Edward Bartolo <edbarx@???> wrote:
>> I am sending a .tar.gz file with the Lazarus project together with the
>> compiled executable. The latter is named netman and is found together
>> with the Pascal source files. It is a 5.6 MB executable for the reason
>> Lazarus uses static linking which increases portability.
>>
>> To run netman, place backend in the same directory and setup sudo so
>> that backend can run with root privileges. Create a new directory wifi
>> under /etc/network and that is it. netman can even run from within
>> the home directory.
>>
>> Hopefully, you find it reaches the desired standard.
>>
>> Edward
>>
>>
>> On 23/08/2015, Jaromil <jaromil@???> wrote:
>>>
>>> dear Edward
>>>
>>> On Sun, 23 Aug 2015, Edward Bartolo wrote:
>>>
>>>> Although I have a working Lazarus written frontend, I am getting the
>>>> message, it may not be accepted in Devuan, for the reason it is
>>>> written in Lazarus Pascal.
>>>
>>> I doubt that can be a valid reason to exclude your code from being
>>> packaged and redistributed. Lazarus is GPL licensed and if your code
>>> works well and efficiently enough, I'd be against discriminating it for
>>> the language is written in.
>>>
>>> if you have spare time left to invest into this I recommend doing a .deb
>>> package so we can easily test it
>>>
>>>
>>> ciao
>>>
>>>
>>> _______________________________________________
>>> Dng mailing list
>>> Dng@???
>>> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>>>
>>
>