I sent something about this before, but messed up the plist, which prompted my
earlier comment that "the CMake config is broken". It's not broken, it has
trouble finding a library if the .so link is missing.
Here's a patch (applies to area51 trunk) that:
- fixes depends for kdegraphics4-qmobipocket (it no longer depends on kdelibs,
it seems to be Qt-only)
- fixes depends for nepomuk-core, which now needs the moved-in-the-dependency-
hierarchy kdegraphics4-qmobipocket
[ade]
Index: KDE/graphics/kdegraphics4-mobipocket/Makefile
===================================================================
--- KDE/graphics/kdegraphics4-mobipocket/Makefile (revision 9897)
+++ KDE/graphics/kdegraphics4-mobipocket/Makefile (working copy)
@@ -7,9 +7,9 @@
DIST_SUBDIR= KDE/${PORTVERSION}
MAINTAINER= k...@freebsd.org
-COMMENT= Mobipocket plugins for Strigi indexing, Okular and thumbnails
+COMMENT= Mobipocket plugins for Strigi indexing and thumbnails
-USE_KDE4= kdehier kdelibs kdeprefix okular automoc4 strigi
+USE_KDE4= kdehier kdeprefix automoc4 strigi
USES= cmake:outsource
USE_QT4= corelib gui qmake_build moc_build uic_build rcc_build
USE_XZ= yes
Index: KDE/graphics/kdegraphics4-mobipocket/pkg-plist
===================================================================
--- KDE/graphics/kdegraphics4-mobipocket/pkg-plist (revision 9897)
+++ KDE/graphics/kdegraphics4-mobipocket/pkg-plist (working copy)
@@ -1,7 +1,9 @@
+lib/libqmobipocket.so
+lib/libqmobipocket.so.1.0.0
+lib/cmake/QMobipocket/QMobipocketConfig.cmake
lib/kde4/mobithumbnail.so
-lib/kde4/okularGenerator_mobi.so
lib/strigi/strigila_mobi.so
-share/applications/kde4/okularApplication_mobi.desktop
-share/kde4/services/libokularGenerator_mobi.desktop
+include/qmobipocket/qmobipocket_export.h
+include/qmobipocket/qfilestream.h
+include/qmobipocket/mobipocket.h
share/kde4/services/mobithumbnail.desktop
-share/kde4/services/okularMobi.desktop
Index: KDE/sysutils/nepomuk-core/Makefile
===================================================================
--- KDE/sysutils/nepomuk-core/Makefile (revision 9897)
+++ KDE/sysutils/nepomuk-core/Makefile (working copy)
@@ -10,11 +10,14 @@
MAINTAINER= k...@freebsd.org
COMMENT= Core Nepomuk system libraries and services for KDE
+# kdegraphics4-mobipocket depends only on kdehier, prefix, and Qt,
+# so this is not a dependency cycle.
LIB_DEPENDS= libpoppler-qt4.so:${PORTSDIR}/graphics/poppler-qt4 \
libtag.so:${PORTSDIR}/audio/taglib \
libexiv2.so:${PORTSDIR}/graphics/exiv2 \
libswscale.so:${PORTSDIR}/multimedia/ffmpeg \
- libepub.so:${PORTSDIR}/textproc/ebook-tools
+ libepub.so:${PORTSDIR}/textproc/ebook-tools \
+ ${KDE4_PREFIX}/lib/kde4/mobithumbnail.so:${PORTSDIR}/graphics/kdegraphics4-mobipocket
USE_XZ= yes
USE_KDE4= kdeprefix kdehier automoc4 kdelibs ontologies soprano
_______________________________________________
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information