You are not logged in.
Pages: 1
Hi, since the frameworks packages are now in [extra]:
is it safe to install them while running KDE 4 as desktop, or will certain runtime components interfere?
Basically I want everything needed to build and run KTextEditor and Kate from git (I want to contribute code). Is this only the package “kparts” and its recursive dependencies?
Currently I’m using kdesrc-build for everything kf5, but I’m encountering problems while wondering if the [extra] packages are better:
klauncher said: Could not find the 'kf5/kio/file' plugin.Another thing: the “ktexteditor” package exists, but a kate 5 package doesn’t? (I want to build both anyway, i’m just wondering)
Offline
Frameworks are coinstallable with KDE4, they will not interfere. kate5 doesn't even have a preview release yet, so there is no package for it. ktexteditor has been split off from it and is now part of Frameworks.
You probably won't be able to build ktexteditor-git against the [extra] packages now, since the dependencies in git have already been bumped to 5.0 (still unreleased). You either have to compile all kf5 dependencies from git or wait until 5.0 is in the repos (will be released on Monday)
Offline
For more information about kde frameworks 5:
https://www.archlinux.org/groups/x86_64/kf5/ --> KF5 packages.
https://dot.kde.org/2013/09/25/frameworks-5 --> Info about the new structure
https://dot.kde.org/2014/01/07/framewor … ch-preview --> Git repositories and info about building from the source
Offline
thanks!
i’ve already set up git, but upgrading is still quite involved:
source build_env
./kdesrc-build
K_ROOT="$PWD"
for APP in 'frameworks/ktexteditor' 'kde/applications/kate'; do
cd "$K_ROOT/$APP"
git pull --rebase
cd "$K_ROOT/build/$APP"
cmake -DCMAKE_INSTALL_PREFIX="$KF5" -DCMAKE_PREFIX_PATH="$KF5" -DCMAKE_BUILD_TYPE=debugfull "$K_ROOT/$APP"
done…and this doesn’t even include the kdesrc-buildrc:
# Adjust all these settings at will
global
source-dir ~/Dev/KDE/kf5/
build-dir build
kdedir ~/Dev/KDE/kf5/_run_
git-repository-base kde-projects kde:
# KDE4_BUILD_TESTS kept for now, for old kde4_add_unit_test stuff to be enabled
cmake-options -DCMAKE_BUILD_TYPE:STRING=debug -DKDE4_BUILD_TESTS=true
cxxflags -pipe -DQT_STRICT_ITERATORS -DQURL_NO_CAST_FROM_STRING -DQT_NO_HTTP -DQT_NO_FTP -Wformat -Werror=format-security -Werror=return-type -Wno-variadic-macros -Wlogical-op -Wmissing-include-dirs
make-options -j8
end global
module-set basic-stuff
repository kde-projects
use-modules extra-cmake-modules attica
cmake-options -DCMAKE_BUILD_TYPE:STRING=debug
end module-set
include buildrc-kate-light… and buildrc-kate-light:
module-set tier1
repository kde-projects
use-modules karchive kcodecs kconfig kcoreaddons kdbusaddons kf5umbrella kglobalaccel kguiaddons kitemmodels kitemviews kjs kwidgetsaddons kwindowsystem solid sonnet
branch master
cmake-options -DCMAKE_BUILD_TYPE:STRING=debugfull
end module
module-set tier2
repository kde-projects
use-modules kauth kcompletion kcrash kdoctools ki18n kjobwidgets knotifications kwallet
branch master
cmake-options -DCMAKE_BUILD_TYPE:STRING=debugfull
end module
module-set tier3
repository kde-projects
use-modules kbookmarks kcmutils kconfigwidgets kded kiconthemes kinit kio knewstuff kparts kservice ktextwidgets kxmlgui
branch master
cmake-options -DCMAKE_BUILD_TYPE:STRING=debugfull
end module
module-set tier4
repository kde-projects
use-modules frameworkintegration
branch master
cmake-options -DCMAKE_BUILD_TYPE:STRING=debugfull
end moduleand all of this isn’t guaranteed to be up-to-date in respect to dependencies and cmake options.
Last edited by flying sheep (2014-07-09 12:02:37)
Offline
Pages: 1