Files
RedBear-OS/local/patches/kf6-kcmutils/01-initial-migration.patch
T
vasilito 0ec7bd46bb Phase 3: GPU 3D drivers + Phase 1-2 stability fixes — full rollup
ROLLUP of all Phase 1-3 work on branch 0.3.0, targeting a production-ready
console + full graphical desktop under Intel and Virgl/VirtIO-GPU.

=== Phase 1 — Stability ===
 - fbcond: Enter key handler (scancode 0x1C→\n), display map buffering,
   control-char filter in all 7 keymaps, write_event assert
 - build-redbear.sh: auto-rebuild-prefix when fork timestamps are newer
   than prefix/x86_64-unknown-redox/sysroot (was warning-only). Added
   configurable REDBEAR_SKIP_PREFIX_REBUILD guard.
 - build-redbear.sh: set explicit keymap '-K us' in console activation
 - config/redbear-device-services.toml: remove spurious init.d service
   files for redbear-acmd/ecmd/usbaudiod. These USB device daemons are
   spawned dynamically by pcid-spawner, not as boot-time init services.
   Starting them without args panicked the boot flow.
 - relibc: grantpt/unlockpt/ptsname (then deduplicated against stdlib)
 - userutils: cherry-pick upstream getty commit 2834434 (standard C
   ptsname/grantpt/unlockpt)
 - base fork: Russian (ЙЦУКЕН) keymap + inputd control-char filter
   (K_ESC/K_BKSP/K_ENTER → \0, commit 73e44d81 in submodule/base)

=== Phase 2 — Login & Console ===
 - login.rs: restored to 0.2.5-known-good liner-based prompt
 - redbear-upower: removed tokio full/signal features → protection fault fix
 - redbear-power: excluded temporarily (being fixed in other session)
 - tlc version: updated to 0.3.0

=== Phase 3 — GPU/3D Drivers (commit 0898332f7a) ===
Intel i915: FULLY implemented — real ring buffer + MMIO command
submission via GEM DMA → GGTT → i915 render ring, with hardware
head-pointer polling (2M iterations, 50µs backoff). Zero stubs.

VirtIO GPU/Virgl (VirtioTransport): 11 VIRTGPU ioctls (GETPARAM,
GET_CAPS, RESOURCE_CREATE, RESOURCE_INFO, CONTEXT_INIT, EXECBUFFER,
WAIT, TRANSFER_TO_HOST, TRANSFER_FROM_HOST, MAP, CREATE_BLOB) ported
from Linux 7.1 virtgpu_ioctl.c and virtgpu_vq.c.
 - driver.rs: 8 virgl_* trait methods (default Unsupported)
 - scheme.rs: 11 ioctl constants + 8 wire structures + dispatch
 - virtio/transport.rs: PCI capability discovery, feature negotiation,
   control+cursor virtqueue setup, vring descriptor building
 - virtio/mod.rs: real implementations for all 8 virgl_* methods
 - intel/mod.rs: explicit virgl Unsupported stubs

Other changes from active sessions: Cargo.toml version bumps, linux-kpi
headers, libpciaccess recipe, mesa/recipe.toml, kf6 patches, expat,
driver-manager, redbear-sessiond, redbear-compositor, cub, tlc, and
many other local recipes.
2026-07-09 20:29:28 +03:00

89 lines
2.6 KiB
Diff

# Initial migration of the inline sed -i chains in
# local/recipes/kde/kf6-kcmutils's [build].script to a durable external
# patch. Captured by local/scripts/migrate-kf6-seds-direct.sh
# on 2026-06-12T20:43:04+03:00.
#
# After applying this patch via cookbook_apply_patches,
# the recipe's [build].script should call:
# REDBEAR_PATCHES_DIR="/home/kellito/Builds/RedBear-OS/local/patches/kf6-kcmutils"
# cookbook_apply_patches "${REDBEAR_PATCHES_DIR}"
# in place of the sed -i chains that produced these edits.
--- ./src/CMakeLists.txt
+++ ./src/CMakeLists.txt
@@ -14,15 +14,13 @@
add_subdirectory(core)
-add_subdirectory(qml)
-add_subdirectory(quick)
add_subdirectory(qml)
add_subdirectory(quick)
########### kcmutils ###############
set(kcmutils_LIB_SRCS
kcmoduleloader.cpp
kcmoduleloader.h
kcmoduleqml.cpp
kcmoduleqml_p.h
kcmultidialog.cpp
kcmultidialog.h
kcmultidialog_p.h
@@ -66,12 +64,8 @@
Qt6::Widgets
KF6::CoreAddons # KPluginMetaData
KF6::ConfigWidgets # KPageDialog
KF6KCMUtilsQuick # QML KCM class
PRIVATE
kcmutils_proxy_model
Qt6::Qml
Qt6::Quick
Qt6::QuickWidgets
KF6::GuiAddons # KIconUtils
KF6::I18n
KF6::ItemViews # KWidgetItemDelegate
@@ -102,4 +96,4 @@
DESTINATION "${KDE_INSTALL_LOGGINGCATEGORIESDIR}"
)
add_subdirectory(kcmshell)
--- ./CMakeLists.txt
+++ ./CMakeLists.txt
@@ -23,7 +23,7 @@
include(ECMDeprecationSettings)
include(ECMMarkNonGuiExecutable)
include(KDEGitCommitHooks)
-include(ECMQmlModule)
include(ECMQmlModule)
include(ECMFindQmlModule)
include(ECMGenerateQDoc)
@@ -57,7 +57,7 @@
PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/KF6KCMUtilsConfigVersion.cmake"
SOVERSION 6)
find_package(KF6KIO ${KF_DEP_VERSION} REQUIRED)
find_package(KF6ItemViews ${KF_DEP_VERSION} REQUIRED)
find_package(KF6ConfigWidgets ${KF_DEP_VERSION} REQUIRED)
find_package(KF6CoreAddons ${KF_DEP_VERSION} REQUIRED)
@@ -74,7 +74,7 @@
ecm_find_qmlmodule(org.kde.kirigami REQUIRED)
add_definitions(-DTRANSLATION_DOMAIN=\"kcmutils6\")
-ki18n_install(po)
+#ki18n_install(po)
add_subdirectory(src)
add_subdirectory(tools)
if(BUILD_TESTING)
--- ./KF6KCMUtilsConfig.cmake.in
+++ ./KF6KCMUtilsConfig.cmake.in
@@ -6,7 +6,6 @@
include(CMakeFindDependencyMacro)
find_dependency(KF6ConfigWidgets "@KF_DEP_VERSION@")
find_dependency(KF6CoreAddons "@KF_DEP_VERSION@")
-find_dependency(Qt6Qml "@REQUIRED_QT_VERSION@")
if (NOT @BUILD_SHARED_LIBS@)
find_dependency(Qt6Quick "@REQUIRED_QT_VERSION@")