Problems with PNG images on 2018.0 on FreeBSD

30 views
Skip to first unread message

Greg 'groggy' Lehey

unread,
May 30, 2018, 12:04:05 AM5/30/18
to Hugin developers list
I've just received a bug report on Hugin 2018.0.0.5abfb4de7961:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228547

It seems that this package can't process PNG files. I've checked and
confirmed, and also that it does appear to run with the Microsoft
package downloaded from the web site (also 2018.0.0.5abfb4de7961 built
by Thomas), though I can't get this one to display the
fast panorama preview.

Looking at the port, I have changed almost nothing since release
2016.2.0. About the only difference is that I removed support for
autopano-sift-c, which is clearly not an issue here.

I suspect that the problem is due to changes in support libraries that
are beyond my immediate control. Before I go searching blindly, can
anybody suggest where I should be looking? What library handles PNG
images?

Also, any idea why I can't get the fast panorama preview on the
Microsoft version? The buttons are greyed out, and I can't select
them.

Greg
--
Sent from my desktop computer.
Finger gr...@lemis.com for PGP public key.
See complete headers for address and phone numbers.
This message is digitally signed. If your Microsoft mail program
reports problems, please read http://lemis.com/broken-MUA
signature.asc

Bruno Postle

unread,
May 30, 2018, 1:57:35 AM5/30/18
to hugi...@googlegroups.com


On 30 May 2018 04:26:03 BST, Greg 'groggy' Lehey wrote:
>I've just received a bug report on Hugin 2018.0.0.5abfb4de7961:
>https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228547

>I suspect that the problem is due to changes in support libraries that
>are beyond my immediate control. Before I go searching blindly, can
>anybody suggest where I should be looking? What library handles PNG
>images?

Hugin uses the vigra impex library for image file handling, but then vigra uses the standard libpng for PNG. So I would check to see if vigra is linked to libpng.

>Also, any idea why I can't get the fast panorama preview on the
>Microsoft version? The buttons are greyed out, and I can't select
>them.

Are you running the Windows version on freebsd using Wine? This should work, but opengl problems wouldn't be unexpected.

--
Bruno

Greg 'groggy' Lehey

unread,
May 30, 2018, 3:27:28 AM5/30/18
to hugi...@googlegroups.com
On Wednesday, 30 May 2018 at 6:56:07 +0100, Bruno Postle wrote:
>
>
> On 30 May 2018 04:26:03 BST, Greg 'groggy' Lehey wrote:
>> I've just received a bug report on Hugin 2018.0.0.5abfb4de7961:
>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228547
>
>> I suspect that the problem is due to changes in support libraries that
>> are beyond my immediate control. Before I go searching blindly, can
>> anybody suggest where I should be looking? What library handles PNG
>> images?
>
> Hugin uses the vigra impex library for image file handling, but then
> vigra uses the standard libpng for PNG. So I would check to see if
> vigra is linked to libpng.

Thanks. That's the kind of information I was looking for.

>> Also, any idea why I can't get the fast panorama preview on the
>> Microsoft version? The buttons are greyed out, and I can't select
>> them.
>
> Are you running the Windows version on freebsd using Wine? This
> should work, but opengl problems wouldn't be unexpected.

No. If I wanted to emulate it, I'd use a virtual machine, not Wine.
But I'm running on a real computer.

I am, however, using it over a remote desktop, so that's probably the
problem. However, starting it on a local monitor still doesn't bring
the functionality back. Wasn't there some issue with starting with
Ctrl key down or something?

Greg
--
Sent from my desktop computer.
Finger groo...@gmail.com for PGP public key.
signature.asc

Stefan Peter

unread,
May 30, 2018, 4:18:19 AM5/30/18
to hugi...@googlegroups.com
Dear Greg,

On 30.05.2018 09:27, Greg 'groggy' Lehey wrote:
> I am, however, using it over a remote desktop, so that's probably the
> problem. However, starting it on a local monitor still doesn't bring
> the functionality back. Wasn't there some issue with starting with
> Ctrl key down or something?


Have a look at
https://wiki.panotools.org/Hugin_FAQ#Simple_user_interface_can_not_selected

Regards

Stefan Peter


signature.asc

Greg 'groggy' Lehey

unread,
Jun 2, 2018, 11:42:01 PM6/2/18
to hugi...@googlegroups.com
On Wednesday, 30 May 2018 at 17:27:22 +1000, Greg 'groggy' Lehey wrote:
> On Wednesday, 30 May 2018 at 6:56:07 +0100, Bruno Postle wrote:
>>
>>
>> On 30 May 2018 04:26:03 BST, Greg 'groggy' Lehey wrote:
>>> I've just received a bug report on Hugin 2018.0.0.5abfb4de7961:
>>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228547
>>
>>> I suspect that the problem is due to changes in support libraries that
>>> are beyond my immediate control. Before I go searching blindly, can
>>> anybody suggest where I should be looking? What library handles PNG
>>> images?
>>
>> Hugin uses the vigra impex library for image file handling, but then
>> vigra uses the standard libpng for PNG. So I would check to see if
>> vigra is linked to libpng.
>
> Thanks. That's the kind of information I was looking for.

A quick follow-up. Yes, as Bruno suggested, the bug was in the binary
package for vigra. I'm still trying to understand why: the Makefile
clearly specifies PNG support, and if you build the port from source,
it works. So for all of you FreeBSD users out there champing at the
bit to process PNG images, here's what you do:

# cd /usr/ports/graphics/vigra
# make deinstall all reinstall
signature.asc
Reply all
Reply to author
Forward
0 new messages