From ac1348d52c7cea04df5a7009d2e8c212117359f7 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sun, 17 Sep 2023 16:44:33 +0200 Subject: [PATCH] remove kf5 dev env --- projects/kde/cleanup.sh | 12 ---- projects/kde/kdesrc-buildrc | 34 ---------- projects/kde/shell.nix | 123 ------------------------------------ 3 files changed, 169 deletions(-) delete mode 100644 projects/kde/cleanup.sh delete mode 100644 projects/kde/kdesrc-buildrc delete mode 100644 projects/kde/shell.nix diff --git a/projects/kde/cleanup.sh b/projects/kde/cleanup.sh deleted file mode 100644 index b88b8ff..0000000 --- a/projects/kde/cleanup.sh +++ /dev/null @@ -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 diff --git a/projects/kde/kdesrc-buildrc b/projects/kde/kdesrc-buildrc deleted file mode 100644 index a6694ce..0000000 --- a/projects/kde/kdesrc-buildrc +++ /dev/null @@ -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 diff --git a/projects/kde/shell.nix b/projects/kde/shell.nix deleted file mode 100644 index f3d38af..0000000 --- a/projects/kde/shell.nix +++ /dev/null @@ -1,123 +0,0 @@ -{ pkgs ? import {} }: - -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 - ]; -}