[virt-tools-list] [virt-viewer] nsis: Only search for libvirt dir when built with libvirt support

Fabiano Fidêncio fidencio at redhat.com
Mon Apr 25 12:48:55 UTC 2016


On Mon, Apr 25, 2016 at 2:45 PM, Christophe Fergeau <cfergeau at redhat.com> wrote:
> On Mon, Apr 25, 2016 at 02:26:40PM +0200, Fabiano Fidêncio wrote:
>> Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
>> ---
>>  data/virt-viewer.nsis.in | 4 +++-
>>  1 file changed, 3 insertions(+), 1 deletion(-)
>>
>> diff --git a/data/virt-viewer.nsis.in b/data/virt-viewer.nsis.in
>> index 1853a0f..f032897 100755
>> --- a/data/virt-viewer.nsis.in
>> +++ b/data/virt-viewer.nsis.in
>> @@ -177,7 +177,9 @@ Section "VirtViewer"
>>    SetOutPath "$INSTDIR\etc"
>>    File /r "@prefix@/etc/fonts"
>>    File /r "@prefix@/etc/gtk-3.0"
>> -  File /r "@prefix@/etc/libvirt"
>> +  !if ${HaveLibvirt} == True
>> +    File /r "@prefix@/etc/libvirt"
>> +  !endif
>>
>>    CreateDirectory "$INSTDIR\etc\gtk-3.0"
>
>
> Acked-by: Christophe Fergeau <cfergeau at redhat.com>
> I assume this is the only change needed to get libvirt-less nsis
> installers to work? Or is there more work needed there?

The work was done more than one year ago, please, take a look on: 5159956305c3f
This part was a leftover :-\

>
> Christophe

Best Regards,
--
Fabiano Fidêncio




More information about the virt-tools-list mailing list