[kde-freebsd] RFC kde frameworks/plasma 5 import

Tobias Berner tcberner at gmail.com
Thu Apr 9 10:54:51 UTC 2015


Hi there

I would like to import my kde5 stuff into an area51 branch soon...
[provided you are ok with that]


I have a few questions first though:

1) Would it be possible to rename some ports from the kde4- prefix to just a simple kde- prefix? 
   For example x11-themes/kde4-icons-oxygen and x11/kde4-baseapps.
   The reason being that icons-oxygen is needed by both -- and the name thus would be misleading, 
   and baseapps can be used by both "desktop"-versions (and plasma5 is really empty without it).
   [They're both part of kde-applications most of which probably will be ported to kf5 as time 
   goes on anyways].
   A similar candidate would be graphics/gwenview-kde4. The new version of applications 14.* 
   links against frameworks. Should this port just be renamed to gwenview, or should the newer 
   one be named gwenview-kde5?

2) Is there a reason not to add something like
      -DINCLUDE_INSTALL_DIR:PATH="${KDE4_PREFIX}/include/kdelibs"
   to x11/kdelibs4/Makefile. So that its headers are no longer just in ${KDE4_PREFIX}/include 
   by default?
   The problem at the moment is, that for example kmessagebox.h is provided by 
	* kdelibs4 and residing in ${KDE4_PREFIX}/include
	* kde5-kwidgetsaddons residing in ${KDE4_PREFIX}/include/KF5/KWidgetsAddons
   and the first one of them does get picked up wrongly when compiling some kde5 stuff. 
   This can/could be avoided by just prefixing all kde4-headers 
   (and this would also clean up ${KDE4_PREFIX}/include...)

3) There are some conflicting files when installing both kde4 and kde5-parts. For example
	* sysutils/balooo
	* sysutils/kde5-baloo
   both provide bin/baloo*. 
   I was thinking of adding something akin to
	# plasma5 needs applications using kdelibs4. But it provides certain binaries on
	# its own, eg bin/baloo. Only install those if the user does not care for kde5.
	# For kde5 users they are already provided by the newer ports
	OPTIONS_SINGLE= KDEDESKTOP
	OPTIONS_SINGLE_KDEDESKTOP=KDE4 KDE5
	KDE4_DESC=      You do NOT intend to install/run plasma5
	KDE5_DESC=      You intend to run plasma5
	# probably add also: KDE5_USE=       KDE5=baloo5_run
	OPTIONS_DEFAULT=KDE5
	OPTIONS_SUB=    yes
   into sysutils/baloo/Makefile (and of course pkg-plist).  
   [The reason I set default to KDE5 is that the newest kate, gwenview and konsole already are
   KF5 applications]
   Or how should this be handled? 
   


thanks in advance, and
mfg Tobias


More information about the kde-freebsd mailing list