[kde-freebsd] HEADS UP: [CFT] KDE SC 4.4.0 for FreeBSD.

Bartosz Fabianowski freebsd at chillt.de
Sun Feb 14 06:59:53 CET 2010


I am in the process of installing KDE 4.4.0 on a brand new AMD64 FreeBSD
8-STABLE box and have run into a couple of issues. I spent some time
investigating and this is what I found:


(1) graphics/kdegraphics4 requires textproc/soprano to be installed with
the Redland backend. I tried using no backends for Soprano or only the
Virtuoso backend. In both cases, graphics/kdegraphics4 refused to even
configure.
=> textproc/soprano should have the Redland backend as a hard dependency


(2) textproc/redland allows you to choose alternate database backends
(MySQL, PgSQL, SQLite, Virtuoso) via the port's options. If one (or
more) alternate backends are selected, textproc/redland builds fine. But
then, textproc/soprano fails to pick it up. During the configuration
stage of textproc/soprano, the following message is printed and the
Redland backend is disabled:

"Redland with broken NEEDED section detected, disabling"

either
=> textproc/soprano should be fixed to work with textproc/redland having
backends other than BDB
or
=> the alternative database backends for textproc/redland should be
removed from the port's options


(3) x11/kdelibs4 is responsible for providing the Nepomuk library.
According to [1], Nepomuk will only build if Soprano is installed with
Raptor as its backend. The port currently does not check this and always
has Nepomuk-related files in its pkg-plist, even if the dependencies
were not met and Nepomuk did not compile.
either
=> x11/kdelibs4 should check whether Soprano is built with Raptor
support and conditionally include Nepomuk-related files in the pkg-plist
or
=> the solution to (1) above should be applied, implicitly fixing this


(4) While I have not gotten this far yet myself, according to [2],
Nepomuk and Redland are hard dependencies for kdepim (I am not sure
which one of the kdepim-related ports are affected)
=> the solution to (1) above should be applied, fixing (3) with it


(5) This does not affect any of the above but during my experimentation
I found that databases/libiodbc (the Virtuoso backend for Soprano) has a
run-time dependency on databases/virtuoso. However, instead of setting
RUN_DEPENDS like other ports, it informs you of that dependency via its
pkg_message.
=> databases/libiodbc should have RUN_DEPENDS on databases/virtuoso

Now that I finally have a textproc/soprano with textproc/redland
backend, I am rebuilding x11/kdelibs4 to see whether Nepomuk gets build
properly, allowing graphics/kdegraphics4 and kdepim to be built. If not,
I will investigate further tomorrow.

- Bartosz

[1] http://osdir.com/ml/general/2009-11/msg16531.html
[2] http://osdir.com/ml/general/2009-11/msg16200.html


More information about the kde-freebsd mailing list