Bug 222479 - graphics/qgis: Add CustomWidgets options as default
Summary: graphics/qgis: Add CustomWidgets options as default
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-20 20:42 UTC by Loïc Bartoletti
Modified: 2017-09-23 16:51 UTC (History)
2 users (show)

See Also:
rhurlin: maintainer-feedback+


Attachments
qgis customwidgets (782 bytes, patch)
2017-09-20 20:42 UTC, Loïc Bartoletti
dbaio: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Loïc Bartoletti freebsd_committer freebsd_triage 2017-09-20 20:42:35 UTC
Created attachment 186575 [details]
qgis customwidgets

Hi Rainer,

I think CustomWidgets must be enabled by default because without it (default package installed), QGis can't load some plugins using CustomWidgets for example:
ImportError: No module named qgsdoublespinbox

Regards.

Loïc
Comment 1 Rainer Hurling freebsd_committer freebsd_triage 2017-09-21 05:45:14 UTC
Comment on attachment 186575 [details]
qgis customwidgets

Thanks Loïc,

For the patch. Your suggestion is understable. 

In the past, I abstain from this as a default option because some industrial users desired to have small default installations. But this is years ago.

The patch (option enable) was tested already with Poudriere and should be fine.

So it would be fine, if someone with a commit bit could bring the patch into the port, thanks.
Comment 2 Loïc Bartoletti freebsd_committer freebsd_triage 2017-09-21 17:05:21 UTC
Maybe you're right, we can have a little package with minimal dependecies and sub-packages like qgis-customwidgets and another for qgis-server like in debian.

Do you think it's possible?
Comment 3 Danilo G. Baio freebsd_committer freebsd_triage 2017-09-21 23:25:29 UTC
Comment on attachment 186575 [details]
qgis customwidgets

maintainer approval, comment 1
Comment 4 Loïc Bartoletti freebsd_committer freebsd_triage 2017-09-23 16:51:12 UTC
Wait, you can close it without patching it.
You can use plugin with qgis customwidgets without enable it. Developer must be careful to link their .ui with qgis.gui and not the header of the widget.