I am a new user of RawTherapee and I use a Panasonic GX-7. One of the lenses is the first Panasonic kit zoom: the Lumix G Vario 14-45mm f/3.5-5.6 Asph. Mega OIS.
I discovered that the lensfun distortion profile for this lens is completely wrong, so I calibrated it by myself, with good results.
Here are the relevant rows from mil-panasonic.xml:
<lens>
<maker>Panasonic</maker>
<model>Lumix G Vario 14-45mm f/3.5-5.6 Asph. Mega OIS</model>
<mount>Micro 4/3 System</mount>
<cropfactor>2</cropfactor>
<aspect-ratio>4:3</aspect-ratio>
<calibration>
<distortion focal="14" model="ptlens" a="0.025592" b="-0.090127" c="0.015798"/>
<distortion focal="16" model="ptlens" a="0.01809" b="-0.073058" c="0.022836"/>
<distortion focal="18" model="ptlens" a="0.012509" b="-0.059775" c="0.024515"/>
<distortion focal="21" model="ptlens" a="0.007897" b="-0.037455" c="0.009952"/>
<distortion focal="24" model="ptlens" a="0.003023" b="-0.018247" c="-0.004231"/>
<distortion focal="26" model="ptlens" a="0.003449" b="-0.019627" c="0.003703"/>
<distortion focal="30" model="ptlens" a="0.010133" b="-0.036009" c="0.020535"/>
<distortion focal="34" model="ptlens" a="-0.002539" b="0.00401" c="-0.012615"/>
<distortion focal="37" model="ptlens" a="0.000292" b="-0.002104" c="-0.005641"/>
<distortion focal="40" model="ptlens" a="-0.003796" b="0.009287" c="-0.011851"/>
<distortion focal="45" model="ptlens" a="-0,000847" b="0,003645" c="-0,008538"/>
I hope that the format of the data is good for you, but I can send you the whole file or whatever you need.
I realize that this is a rather old lens, but probably there are other users around and at the moment the distortion correction is really awful.
Thanks, yes, the old data was a little bit suspicious looking...