kdePackages: Gear 24.08.2 -> 24.08.3 (#354436)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchpatch,
|
||||
cmake,
|
||||
cups,
|
||||
ninja,
|
||||
@@ -57,7 +58,14 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
inherit (shiboken6) version src;
|
||||
|
||||
sourceRoot = "pyside-setup-everywhere-src-${finalAttrs.version}/sources/pyside6";
|
||||
sourceRoot = "pyside-setup-everywhere-src-6.8.0/sources/pyside6";
|
||||
|
||||
patches = [
|
||||
# Manual backport of https://code.qt.io/cgit/pyside/pyside-setup.git/patch/?id=cacc9c5803a6dec820dd46211a836453183c8dab
|
||||
# to fit our structure.
|
||||
# FIXME: remove for 6.8.1
|
||||
./fix-installing-docs.patch
|
||||
];
|
||||
|
||||
# cmake/Macros/PySideModules.cmake supposes that all Qt frameworks on macOS
|
||||
# reside in the same directory as QtCore.framework, which is not true for Nix.
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
--- a/cmake/Macros/PySideModules.cmake
|
||||
+++ b/cmake/Macros/PySideModules.cmake
|
||||
@@ -176,6 +176,14 @@ macro(create_pyside_module)
|
||||
set(${module_NAME}_glue_dependency ${${module_NAME}_glue})
|
||||
endif()
|
||||
|
||||
+ # Install module doc files.
|
||||
+ set(${module_NAME}_doc "${CMAKE_CURRENT_SOURCE_DIR}/../doc/${lower_module_name}.rst")
|
||||
+ set(${module_name}_doc_dependency "")
|
||||
+ if(EXISTS ${${module_NAME}_doc})
|
||||
+ install(FILES ${${module_NAME}_doc} DESTINATION share/PySide6${pyside6_SUFFIX}/doc)
|
||||
+ set(${module_NAME}_doc_dependency ${${module_NAME}_doc})
|
||||
+ endif()
|
||||
+
|
||||
# Install standalone glue files into typesystems subfolder, so that the resolved relative
|
||||
# paths remain correct.
|
||||
if (module_GLUE_SOURCES)
|
||||
@@ -245,6 +253,7 @@ macro(create_pyside_module)
|
||||
DEPENDS ${total_type_system_files}
|
||||
${module_GLUE_SOURCES}
|
||||
${${module_NAME}_glue_dependency}
|
||||
+ ${${module_NAME}_doc_dependency}
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
COMMENT "Running generator for ${module_NAME}...")
|
||||
|
||||
@@ -13,16 +13,16 @@ let
|
||||
in
|
||||
stdenv'.mkDerivation (finalAttrs: {
|
||||
pname = "shiboken6";
|
||||
version = "6.8";
|
||||
version = "6.8.0.2";
|
||||
|
||||
src = fetchurl {
|
||||
# https://download.qt.io/official_releases/QtForPython/shiboken6/
|
||||
# FIXME: inconsistent version numbers in directory name and tarball?
|
||||
url = "mirror://qt/official_releases/QtForPython/shiboken6/PySide6-${finalAttrs.version}.0-src/pyside-setup-everywhere-src-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-XAWtOufnJ51tudyUpG6woF/Qk1NzCfdDnDhnG9clUZA=";
|
||||
url = "mirror://qt/official_releases/QtForPython/shiboken6/PySide6-6.8.0.2-src/pyside-setup-everywhere-src-6.8.0.tar.xz";
|
||||
hash = "sha256-Ghohmo8yfjQNJYJ1+tOp8mG48EvFcEF0fnPdatJStOE=";
|
||||
};
|
||||
|
||||
sourceRoot = "pyside-setup-everywhere-src-${finalAttrs.version}/sources/shiboken6";
|
||||
sourceRoot = "pyside-setup-everywhere-src-6.8.0/sources/shiboken6";
|
||||
|
||||
patches = [ ./fix-include-qt-headers.patch ];
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
cargo,
|
||||
rustc,
|
||||
# provided as callPackage input to enable easier overrides through overlays
|
||||
cargoHash ? "sha256-E+QaicYnFF79FDIhhvuEPQLikiLk5oKIjvLA132RUZo=",
|
||||
cargoHash ? "sha256-9cwNQSw0ueWyyL/qgWXXqIRsi4Lk/DX48CIbvQFNgP8=",
|
||||
}:
|
||||
mkKdeDerivation rec {
|
||||
pname = "akonadi-search";
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
cargo,
|
||||
rustc,
|
||||
# provided as callPackage input to enable easier overrides through overlays
|
||||
cargoHash ? "sha256-B3M5tkmftR4nFbPAQqJDvvPidVGxq/8zH0KRgpBR92w=",
|
||||
cargoHash ? "sha256-gE3wrRI8TaiA6LNqyrpEuw8ALnprGjzWQduCckG1Eo0=",
|
||||
qcoro,
|
||||
}:
|
||||
mkKdeDerivation rec {
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
{
|
||||
mkKdeDerivation,
|
||||
fetchpatch,
|
||||
pkg-config,
|
||||
ocaml,
|
||||
eigen,
|
||||
@@ -11,15 +10,6 @@
|
||||
mkKdeDerivation {
|
||||
pname = "kalzium";
|
||||
|
||||
patches = [
|
||||
# Fix build with Qt 6.8
|
||||
# FIXME: remove in next major update
|
||||
(fetchpatch {
|
||||
url = "https://invent.kde.org/education/kalzium/-/commit/557d9bc96636f413430d0789cbf775915fc0dc45.patch";
|
||||
hash = "sha256-KDCT/COqk7OTuF8pN7qrRrIPRU4PSGm+efpCDGbtZwA=";
|
||||
})
|
||||
];
|
||||
|
||||
# FIXME: look into how to make it find libfacile
|
||||
extraNativeBuildInputs = [
|
||||
pkg-config
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
corrosion,
|
||||
alpaka,
|
||||
# provided as callPackage input to enable easier overrides through overlays
|
||||
cargoHash ? "sha256-t7izRAYjuCYA0YMZaCnvwbVo2UvfTTvdlYUd69T6w/Q=",
|
||||
cargoHash ? "sha256-2t4i7lTJxVNjsU5eO6svadZBIerSyXt6BMScpEl119s=",
|
||||
}:
|
||||
mkKdeDerivation rec {
|
||||
pname = "kdepim-addons";
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user