Bug#904765: looking-glass packaging questions

2019-01-08 Thread Lennart Weller
Hello everyone I do have some changes I want to make to the package to make it 
more comfortable to use.

Before the first use the looking-glass host (this package) requires some 
changes to the libvirt-qemu abstract apparmor profile. Explicility changing 
"/{dev,run}/shm r," to read-write
The problem is I have to either change this file or libvirts apparmor template 
both of which are not owned by my own package. In the later case only future 
VMs would have the correct option.
Or I could just print a dialog saying change it yourself. What would be the 
preferred way here?

Another possible step that could be taken is to create the shm device 
automatically on install i.e. with a oneshot systemd service. That would be 
easy and remove an additional step without much interference with the rest of 
the system. Does anyone know of a package which has to do something similar?

The last change is something maybe for the future. The software depends on a 
client component for windows which currently needs to be downloaded from the 
authors website. I imagine one could supply a self cross-compiled windows 
executable on an iso that could be easily mounted into the vm and installed 
from there. Has anyone done something similar to this? So far I know only of 
virtio drivers but they are not supplied by debian anywhere as far as i can see.

- Lennart



Re: looking-glass packaging questions

2019-01-07 Thread Paul Wise
On Mon, Jan 7, 2019 at 11:06 PM Lennart Weller wrote:

> The last change is something maybe for the future. The software depends on a 
> client component for windows which currently needs to be downloaded from the 
> authors website. I imagine one could supply a self cross-compiled windows 
> executable on an iso that could be easily mounted into the vm and installed 
> from there. Has anyone done something similar to this? So far I know only of 
> virtio drivers but they are not supplied by debian anywhere as far as i can 
> see.

Debian has mingw cross-compilers for Windows as well as a few packages
that contain cross-compiled Windows executables. In particular
Debian's win32-loader package (built using the nsis Windows installer
creator) contains an executable that runs on Windows and adds Debian
installer images to the Windows boot menu.

https://packages.debian.org/search?keywords=mingw
https://packages.debian.org/search?keywords=win32
http://ftp.debian.org/debian/tools/win32-loader/unstable/

-- 
bye,
pabs

https://wiki.debian.org/PaulWise



looking-glass packaging questions

2019-01-07 Thread Lennart Weller
Hello everyone I do have some changes I want to make to the package to make it 
more comfortable to use.

Before the first use the looking-glass host (this package) requires some 
changes to the libvirt-qemu abstract apparmor profile. Explicility changing 
"/{dev,run}/shm r," to read-write
The problem is I have to either change this file or libvirts apparmor template 
both of which are not owned by my own package. In the later case only future 
VMs would have the correct option.
Or I could just print a dialog saying change it yourself. What would be the 
preferred way here?

Another possible step that could be taken is to create the shm device 
automatically on install i.e. with a oneshot systemd service. That would be 
easy and remove an additional step without much interference with the rest of 
the system. Does anyone know of a package which has to do something similar?

The last change is something maybe for the future. The software depends on a 
client component for windows which currently needs to be downloaded from the 
authors website. I imagine one could supply a self cross-compiled windows 
executable on an iso that could be easily mounted into the vm and installed 
from there. Has anyone done something similar to this? So far I know only of 
virtio drivers but they are not supplied by debian anywhere as far as i can see.

- Lennart


January 4, 2019 5:09 PM, "Lennart Weller"  wrote:

> It's already open again. Just a slight delay in processing on the bts.
> .
> January 4, 2019 4:41 PM, "Andrey Rahmatullin"  wrote:
> 
>> On Fri, Jan 04, 2019 at 03:34:22PM +, Lennart Weller wrote:
>> 
>>> I recently uploaded a new version tagged 0+a12 of looking-glass. I'm still 
>>> looking for sponsors.
>> 
>> In that case you should reopen the bug.
>> 
>> --
>> WBR, wRAR