:: Re: [DNG] [DN Offlist G] netman GIT…
Etusivu
Poista viesti
Vastaa
Lähettäjä: Edward Bartolo
Päiväys:  
Vastaanottaja: aitor_czr
Kopio: dng
Aihe: Re: [DNG] [DN Offlist G] netman GIT project
Hi Aitor,

I think avoiding to use two links for the backend would help to keep
the project as simple as possible. Also using the version as a
directory would indicate that more than one concurrent version of
netman would be installed.

The frontend, netman, expects to find the backend named as backend. If
this is to be changed, I will need to modify the frontend. We can also
opt to use an /etc settings file to enable use use whatever location
and name for the backend.

So, an /etc conf file (/etc/netman.conf) would look like this:
backend=/usr/lib/netman/0.1.0/netman-backend

In case you instruct me to use a configuration file for the frontend,
please inform me, to set me going. I can do that in an hour.

Edward

On 16/09/2015, aitor_czr <aitor_czr@???> wrote:
> Thanks Edward, i will try it.
>
> I am considering locating netman-backend in the following path:
>
> "/usr/lib/netman/0.1.0/"
>
> doing after that the following simbolic links:
>
> # ln -s /usr/lib/netman/0.1.0/netman-backend /etc/alternatives/
>
> # ln -s /etc/alternatives/netman-backend /usr/bin/
>
>
>
> What do you think about it?
>
> Aitor.
>
> On 16/09/15 09:55, Edward Bartolo wrote:
>> Hi Aitor,
>>
>> Try this command:
>>
>> fpc -MObjFPC -Scghi -Tlinux -vewnhi -Filib/x86_64-linux
>> -Fl/opt/gnome/lib
>> -Fu/usr/lib/lazarus/1.2.4/lcl/units/x86_64-linux/gtk2
>> -Fu/usr/lib/lazarus/1.2.4/lcl/units/x86_64-linux
>> -Fu/usr/lib/lazarus/1.2.4/components/lazutils/lib/x86_64-linux
>> -Fu/usr/lib/lazarus/1.2.4/packager/units/x86_64-linux -Fu.
>> -FUlib/x86_64-linux -l -dLCL -dLCLgtk2 netman.lpr
>>
>> Edward
>>
>> On 21/07/2019, aitor_czr<aitor_czr@???> wrote:
>>> >Lazbuild doen't exit as a package, but it would be more appropiate
>>> >fp-compiler (freepascal) than lazarus.
>>> >
>>> >Aitor.
>>> >
>>> >On 16/09/15 05:51, Edward Bartolo wrote:
>>>> >>Hi Aitor,
>>>> >>
>>>> >>Lazarus IDE may not be a hard dependency as it can be avoided by
>>>> >>directly building netman using lazbuild.
>>>> >>
>>>> >>The version number should appropriately be 0.1.0 as this is the first
>>>> >>version and still needs maturation to become proper version 1.0
>>>> >>
>>>> >>Edward
>>>> >>
>>>> >>On 15/09/2015, aitor_czr<aitor_czr@???> wrote:
>>>>>> >>> >The only error hurled by lintian is:
>>>>>> >>> >
>>>>>> >>> >    "Could not find a profile matching "{VENDOR}/main" for
>>>>>> >>> > vendor
>>>>>> >>> >devuan
>>>>>> >>> >at /usr/bin/lintian line 979."

>>>>>> >>> >
>>>>>> >>> >On the other hand, what about the number version of the package?
>>>>>> >>> >
>>>>>> >>> >0.1.0 ??
>>>>>> >>> >
>>>>>> >>> >1.0 ??
>>>>>> >>> >
>>>>>> >>> >Aitor.
>>>>>> >>> >
>>>>>> >>> >On 15/09/15 15:30, aitor_czr wrote:
>>>>>>>> >>>> >>I think that the dependencies of netman are the following:
>>>>>>>> >>>> >>
>>>>>>>> >>>> >>Build-Depends: debhelper (>= 7.0.50), gcc, lazarus,
>>>>>>>> >>>> >> dh-python,
>>>>>>>> >>>> >>python-all-dev
>>>>>>>> >>>> >>"netman-gui" deps -> netman-backend, libatk1.0-0,
>>>>>>>> >>>> >> libgdk-pixbuf2.0-0,
>>>>>>>> >>>> >>libglib2.0-0, libpango-1.0-0, libx11-6
>>>>>>>> >>>> >>"netman-backend" deps -> libc-bin
>>>>>>>> >>>> >>
>>>>>>>> >>>> >>Aitor.
>>>>>>>> >>>> >>
>>>>>>>>>> >>>>> >>> Now i must to hit with the correct dependencies. All
>>>>>>>>>> >>>>> >>> the rest is
>>>>>>>>>> >>>>> >>> done. So, now i need some time to build it into a
>>>>>>>>>> >>>>> >>> chroot jail
>>>>>>>>>> >>>>> >>>using
>>>>>>>>>> >>>>> >>> pbuilder, etc..
>
>