remove kf5 dev env

This commit is contained in:
Christoph Cullmann 2023-09-17 16:44:33 +02:00
parent 7b405d360f
commit ac1348d52c
3 changed files with 0 additions and 169 deletions

View file

@ -1,12 +0,0 @@
#!/bin/sh
# kill all old stuff
rm -rf ~/projects/kde/src ~/projects/kde/build ~/projects/kde/usr || exit 1
# get new kdesrc-build
mkdir -p ~/projects/kde/src || exit 1
cd ~/projects/kde/src || exit 1
git clone git@invent.kde.org:sdk/kdesrc-build.git || exit 1
# start from scratch
exec ./kdesrc-build/kdesrc-build --rc-file=../kdesrc-buildrc --refresh-build --include-dependencies breeze plasma-integration konsole kate

View file

@ -1,34 +0,0 @@
global
# use the latest KF5 and Qt5-based software.
branch-group kf5-qt5
# we want .kateproject files with ninja
cmake-options -G "Kate - Ninja" -DPHONON_BUILD_QT6=OFF
# Restrict make and ninja to using no more than 8 separate compile jobs even
# when more CPU is available, to avoid running out of memory
make-options -j8 NINJAFLAGS=-j8
ninja-options -j8
# clangd tooling
compile-commands-export yes
compile-commands-linking yes
# flat structure
directory-layout flat
# Install directory for KDE software
kdedir ~/projects/kde/usr
# Directory for downloaded source code
source-dir ~/projects/kde/src
# Directory to build KDE into before installing
# relative to source-dir by default
build-dir ~/projects/kde/build
end global
include ~/projects/kde/src/kdesrc-build/kf5-frameworks-build-include
include ~/projects/kde/src/kdesrc-build/kf5-applications-build-include
include ~/projects/kde/src/kdesrc-build/kf5-workspace-build-include
include ~/projects/kde/src/kdesrc-build/kf5-extragear-build-include

View file

@ -1,123 +0,0 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
# ensure this KDE things are in path
shellHook = ''
export PATH=/home/cullmann/projects/kde/build/kate/bin:/home/cullmann/projects/kde:/home/cullmann/projects/kde/src/kdesrc-build:/home/cullmann/projects/kde/usr/bin:$PATH
'';
# add all needed stuff to have a KDE KF5 Qt5 env
nativeBuildInputs = with pkgs; [
acl
appstream
attr
bison
boost
bzip2
clang-tools
cmake
docbook_xml_dtd_45
docbook_xsl_ns
flex
gdb
giflib
gitFull
gperf
gpgme
intltool
isocodes
lcms2
libcanberra
libcap
libclang.python
libepoxy
libgcrypt
libGL
libical
libinput
libjpeg
libjxl
libnl
libpcap
libpng
libselinux
libsForQt5.accounts-qt
libsForQt5.breeze-icons
libsForQt5.qca-qt5
libsForQt5.qtspeech
libsForQt5.signond
libsndfile
libxkbcommon
libxml2
libxslt
linux-pam
lm_sensors
lmdb
mesa
meson
networkmanager
ninja
openal
openssl
pcre
perl
perlPackages.IOSocketSSL
perlPackages.NetDBus
perlPackages.URI
perlPackages.XMLParser
perlPackages.YAMLSyck
python3Full
pkg-config
polkit
qrencode
qt5.qt3d
qt5.qtbase
qt5.qtcharts
qt5.qtconnectivity
qt5.qtdeclarative
qt5.qtdoc
qt5.qtimageformats
qt5.qtlottie
qt5.qtmultimedia
qt5.qtnetworkauth
qt5.qtquickcontrols
qt5.qtquickcontrols2
qt5.qtscxml
qt5.qtsensors
qt5.qtserialbus
qt5.qtserialport
qt5.qtsvg
qt5.qttools
qt5.qttranslations
qt5.qtvirtualkeyboard
qt5.qtwayland
qt5.qtwebchannel
qt5.qtwebengine
qt5.qtwebsockets
qt5.qtwebview
qt5.qtx11extras
udev
util-linux
valgrind
wayland
wayland-protocols
xcb-util-cursor
xercesc
xml2
xorg.libSM
xorg.libX11
xorg.libXau
xorg.libxcb
xorg.libxcvt
xorg.libXdmcp
xorg.libXext
xorg.libXfixes
xorg.xcbutil
xorg.xcbutilimage
xorg.xcbutilkeysyms
xorg.xcbutilwm
zlib
zstd
xz
];
}