:: Re: [DNG] Pushed my debianized netm…
Startseite
Nachricht löschen
Nachricht beantworten
Autor: Edward Bartolo
Datum:  
To: fsmithred
CC: dng
Betreff: Re: [DNG] Pushed my debianized netman sources.
fsmithred wrote:
When I built the package, there were some warnings about things like
uninitialized variables, unused variables, etc. If you want to see the
debuild output, I could send it to you.

Hi fsmithred,

In Lazarus/Delphi Pascal it is normal that the Sender variable is not
used in every event handler. I can edit the frontend code to avoid the
unused variables warnings though. I hope will do so as soon as I can.

For those interested as to why Sender is normally not used, the reason
is, Sender is the object instance that initiates an event. This means,
if I click a TButton, the generated OnClick event, has its Sender
parameter pointing to the TButton object instance. Sender comes in
handy when the same procedure (in C/C++ function), is used with more
than one widget in which case a programmer may change visual
attributes of the sender widget to indicate an event was sent and
handled.

Edward

Edward

On 13/12/2015, Edward Bartolo <edbarx@???> wrote:
> fsmithred wrote:
>
> Sample netman.desktop:
>
> [Desktop Entry]
> Categories=Application;Network;
> Exec=netman
> GenericName=Netman
> Icon=netman
> Name=Netman Network Manager
> Comment=Start netman without system tray icon
> Terminal=false
> Type=Application
> Categories=Network;
>
>
> netman-gui.install:
>
> netman /usr/bin/
> netman.png /usr/share/pixmaps
> netman.desktop /usr/share/applications
>
>
> Hi All,
>
> I created netman.desktop and placed it in /usr/share/applications as
> requested. I also git pushed the changes.
>
> Aitor wrote:
> Creating a 'netman.desktop' file in '/etc/xdg/autostart' directory,
> netman will start automatically.
>
> Should I provide autostarting for netman as instructed just above by
> Aitor? The netman.desktop launcher should also contain the --auto-conn
> parameter for netman to autoconnect.
>
> Edward
>
>
> On 13/12/2015, fsmithred <fsmithred@???> wrote:
>> On 12/12/2015 04:58 PM, Edward Bartolo wrote:
>>> Hi,
>>>
>>> I git pushed my debianized netman sources although I cannot claim they
>>> are perfect as I lack experience as a packager, but this is my little
>>> contribution to the project.
>>>
>>> Edward
>>> _______________________________________________
>>
>> Edward,
>>
>> It may not be perfect, but it works. I got your latest sources and made
>> my
>> own deb package. It installed and it runs. I did make a few minor
>> changes:
>>
>> Had to create an orig.tar.gz - debuild would not let me continue without
>> it, even though I said to continue when it asked.
>>
>> Created netman.desktop and added a line to netman-gui.install to put the
>> file in /usr/share/applications. See sample .desktop file below.
>>
>> Changed netman.ico to netman.png and added a line to netman-gui.install
>> to
>> put the file in /usr/share/pixmaps. I changed it to png, because the .ico
>> file wasn't showing up when I wanted to edit a launcher.
>>
>> When I built the package, there were some warnings about things like
>> uninitialized variables, unused variables, etc. If you want to see the
>> debuild output, I could send it to you.
>>
>> It did build without any errors, the deb packages installed normally, it
>> runs, it auto-connects if I set it so in xfce startup applications.
>>
>> I think that's all. Nice work!
>>
>> -fsr
>>
>>
>> Sample netman.desktop:
>>
>> [Desktop Entry]
>> Categories=Application;Network;
>> Exec=netman
>> GenericName=Netman
>> Icon=netman
>> Name=Netman Network Manager
>> Comment=Start netman without system tray icon
>> Terminal=false
>> Type=Application
>> Categories=Network;
>>
>>
>> netman-gui.install:
>>
>> netman /usr/bin/
>> netman.png /usr/share/pixmaps
>> netman.desktop /usr/share/applications
>>
>>
>>
>> _______________________________________________
>> Dng mailing list
>> Dng@???
>> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>>
>