Page MenuHomeSolus

Package Request: Kraft
Closed, ResolvedPublic


Please include my free software Projekt called "Kraft" into Solus. A user of this fine distro has asked me if we can make the package available.

Kraft is a Qt/KDE based desktop app to create office documents like offers and invoices in a very quick, easy and reproduceable way, so it seems to be a perfect fit for the Office tools group of packages.

License: GPLv2

Here is the rpm spec file to look up build deps. While it builds without the KDE/Akonadi libs it is recommended to provide these to make Kraft's integration with the KDE Addressbook work.

Also please note the run time requirements to the few python packages which are needed for PDF creation. Both python2 and 3 are supported.

Thanks a lot! Please let me know if you need any information, changes to Kraft or if I can help.

Event Timeline

JoshStrobl triaged this task as Normal priority.Jan 18 2020, 11:16 AM
JoshStrobl moved this task from Backlog to Accepted For Inclusion on the Package Requests board.
JoshStrobl added a subscriber: JoshStrobl.

Seems like something that certainly has value add for inclusion in the repository and it appears you are well maintaining it :)

Please note to any packagers / potential maintainers: This needs to use python3 packages instead of python2, whether that's enabling python3 in existing python packages needed as rundeps, or inclusion of new packages that only have python3 enabled.

EbonJaeger added a comment.EditedJan 26 2020, 4:36 PM

Hello @dragotin, I'm trying to package this and the only missing piece is python-xml. According to your issue here, it doesn't exist in python3, which is a bit of a problem since we are getting rid of python2. Thus, I am unsure of what to do with it.

Unless that's in our base Python package and I don't know about it, which is very possible...

Well, I am able to create documents and create PDFs from them, so as far as I can tell, everything is working.

Hi @EbonJaeger, thanks for looking into packaging of Kraft.

The issue is a bit misleading, the comment is actually even wrong. Of course there is python-xml for python3. When I wrote the comment, I just was not aware that openSUSE changed the naming convention for python packages, so I failed to find it.

The Kraft python part is compatibel with python 3 and supposed to work with that.

One other information: I am currently working on porting Kraft to use grantlee instead of ctemplate which does not seem to be really maintained nor used any more. Also, I am looking into using weasyprint instead of the python based pdf generator. So if packaging of ctemplate is annoying, you could wait for me finishing the grantlee port.

Let me know if I can help testing the package. Thanks!

@dragotin Gotcha, thanks for the clarification on the python bit!

I noted in my diff for ctemplate that there is python3 support in their master, hence I used that instead of a tagged release. So it should work for now but I'll defer to the Core team on if they want to accept it now, or wait for your work on grantlee and drop the ctemplate diff.