site  contact  subhomenews

Fix convert Void pkg db to Puppy db format

September 03, 2023 — BarryK

Previous post about supporting Void Linux .xbps packages:

https://bkhome.org/news/202309/woofq-support-to-build-with-void-xbps-packages.html

Have now got the '0setup', '1download' and '2createpackages' scripts to work in woofQ.

One problem is that support/void/cvt.sh (called from void0setup) performs an incomplete db conversion. 'cvt.sh' is written in awk, that I have less than rudimentary capability with. I know that the awk language is wonderful, and have always intended to learn more about it. Anyway, I fixed a couple of db issues by putting in some extra code in '0setup':

https://github.com/bkauler/woofq/commit/9e997492d9d850ca4c882260598b9fe4a4bf382e

...removed libraries from the dependencies field, inserted categories instead of "uncategorized". It would also be good to have the correct release-number, instead of "1" but didn't implement that.

A few other small changes, here are the commits to date:

https://github.com/bkauler/woofq/commits/437312819051c255ac3b6ae0cf9837c83f9c6fcd

Right now, stopped at a challenge. woofQ does not support "usr-merge", so I have to figure out how to support that. Currently this is causing failures in '3buildeasydistro'.       

Tags: easy