Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jun 2023 05:01:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 272033] graphics/krita: Missing Script Support
Message-ID:  <bug-272033-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272033

            Bug ID: 272033
           Summary: graphics/krita: Missing Script Support
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde@FreeBSD.org
          Reporter: freebsd.bugs@jmdavisprog.com
          Assignee: kde@FreeBSD.org
             Flags: maintainer-feedback?(kde@FreeBSD.org)

Krita is supposed to have support for python scripts, and it comes with sev=
eral
out of the box. However, for some reason, the FreeBSD port for Krita
specifically compiles out that support, thus removing some very useful
functionality from Krita.

Specifically, the Makefile has

    CMAKE_ARGS=3D -DCMAKE_DISABLE_FIND_PACKAGE_PyQt5:BOOL=3Dtrue

in it, which makes it so that the build decides that pyqt is not available,=
 and
thus, the python script support is not compiled in.

Using the git repo, I can see that that line was added in

commit 4b59a1f96754873c1d4b5854cdb8a2fd265d6cfa
Author: Tobias C. Berner <tcberner@FreeBSD.org>
Date:   Sat Nov 2 19:17:45 2019 +0000

    graphics/krita: update to 4.2.7.1

Looking at what freshports lists for Krita, I think that that corresponds to
revision 516362 in the SVN repo.

Either way, the commit message unfortunately provides no indication as to w=
hy
that line was added to the Makefile. Maybe pyqt had issues at the time, but
that's just a guess. Either way, if the functionality can be reasonably
restored, I'd very much like it to be, since it's very annoying to not have=
 it.

By messing with the port locally, it looks like removing that line from the
Makefile and updating pkg-plist results in a properly working build of Krita
with the python script support (though it's certainly possible that some as=
pect
of it isn't working properly, and I just haven't hit that). So, from what I=
 can
tell, it shouldn't be a problem to update the Krita port to restore the pyt=
hon
scripts, but I also can only guess as to why it was disabled in the first
place.

I don't know enough about ports to know how dependencies are defined, but
py39-qt5-pyqt isn't currently listed as a dependency for Krita on freshports
(which makes sense given that it's not being used right now), so presumably,
if/when the Krita port is updated to use pyqt again, that dependency will n=
eed
to be added.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272033-7788>