From 99ba4ddb03b396f56764a25317f40d4501380704 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sun, 20 Nov 2022 23:16:51 +0100 Subject: gnu: nautilus: Fix crash due to loading extensions twice. Fixes . Reported by Tobias Kortkamp . Previously, if NAUTILUS_EXTENSION_PATH contained the same directory several times, Nautilus could end up loading the same extension a second time and crash. This patch ensures that each extension cannot be loaded more than once. * gnu/packages/patches/nautilus-extension-search-path.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/gnome.scm (nautilus)[source]: Use it. [arguments]: Remove 'make-extensible' phase. --- gnu/local.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'gnu/local.mk') diff --git a/gnu/local.mk b/gnu/local.mk index 949328ba30..5fad380bbf 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1561,6 +1561,7 @@ dist_patch_DATA = \ %D%/packages/patches/musl-cross-locale.patch \ %D%/packages/patches/mutt-store-references.patch \ %D%/packages/patches/m4-gnulib-libio.patch \ + %D%/packages/patches/nautilus-extension-search-path.patch \ %D%/packages/patches/ncompress-fix-softlinks.patch \ %D%/packages/patches/ncftp-reproducible.patch \ %D%/packages/patches/netcdf-date-time.patch \ -- cgit v1.2.3 From 430df96a9cb7927705d3d3d774d6fa9d3e568e55 Mon Sep 17 00:00:00 2001 From: Petr Hodina Date: Thu, 22 Sep 2022 21:31:26 +0200 Subject: gnu: KDE Framework: Update 5.98.0. * gnu/packages/kde-frameworks.scm(extra-cmake-modules, attica, bluez-qt, breeze-icons, kapidox, karchive, kcalendarcore, kcodecs, kconfig, kcoreaddons, kdbusaddons, kdnssd, kguiaddons, kholidays, ki18n, kidletime, kirigami, kitemmodels, kitemviews, kplotting, ksyntaxhighlighting, kwayland, kwidgetsaddons, kwindowsystem, modemmanager-qt, networkmanager-qt, oxygen-icons, prison, qqc2-desktop-style, solid, sonnet, threadweaver, kactivities, kauth, kcompletion, kcontacts, kcrash, kdoctools, kfilemetadata, kimageformats, kjobwidgets, knotifications, kpackage, kpty, kunitconversion, syndication, baloo, kactivities-stats, kbookmarks, kcmutils, kconfigwidgets, kdeclarative, kded, kdesignerplugin, kdesu, kdewebkit, kemoticons, kglobalaccel, kiconthemes, kinit, kio, knewstuff, knotifyconfig, kparts, kpeople, krunner, kservice, ktexteditor, ktextwidgets,kwallet, kxmlgui, kxmlrpcclient, plasma-framework, purpose, kde-frameworkintegration, kdelibs4support, khtml, kjs, kjsembed, kmediaplayer, kross, kdav): Update to 5.96.0. (kwayland)[inputs]: Add libxkbcommon. (kcontacts)[arguments]: Enable old test, disable new failing tests. (kiconthemes)[inputs]: Add qtdeclarative-5. (kwallet)[inputs]: Add qca. [arguments]: Disable failing test. (kcontacts)[arguments]: Enable tests. [source](patches): Add patch. * gnu/packages/patches/kcontacts-incorrect-country-name.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly Signed-off-by: Marius Bakke --- gnu/local.mk | 1 + gnu/packages/kde-frameworks.scm | 342 +++++++++++---------- .../patches/kcontacts-incorrect-country-name.patch | 85 +++++ 3 files changed, 266 insertions(+), 162 deletions(-) create mode 100644 gnu/packages/patches/kcontacts-incorrect-country-name.patch (limited to 'gnu/local.mk') diff --git a/gnu/local.mk b/gnu/local.mk index 5fad380bbf..6bccbc2dc4 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1387,6 +1387,7 @@ dist_patch_DATA = \ %D%/packages/patches/lightdm-vncserver-check.patch \ %D%/packages/patches/lightdm-vnc-color-depth.patch \ %D%/packages/patches/localed-xorg-keyboard.patch \ + %D%/packages/patches/kcontacts-incorrect-country-name.patch \ %D%/packages/patches/kdiagram-Fix-missing-link-libraries.patch \ %D%/packages/patches/kiki-level-selection-crash.patch \ %D%/packages/patches/kiki-makefile.patch \ diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index f35b2c0471..b9610f3de1 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -90,6 +90,7 @@ (define-module (gnu packages kde-frameworks) #:use-module (gnu packages vulkan) #:use-module (gnu packages web) #:use-module (gnu packages xml) + #:use-module (gnu packages xdisorg) #:use-module (gnu packages xorg) #:use-module (srfi srfi-1)) @@ -290,7 +291,7 @@ (define-public phonon-backend-gstreamer (define-public attica (package (name "attica") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -299,7 +300,7 @@ (define-public attica name "-" version ".tar.xz")) (sha256 (base32 - "1xlg2sbfd45p9dw0sprpk0fancasp4idxacsf5xksf2ddn2crzp7")))) + "0w1w6w2jia1q32jnn2dhyxmkq64ha1dcbsqj233v4f224rp3aknp")))) (build-system cmake-build-system) (arguments `(#:phases @@ -330,7 +331,7 @@ (define-public attica (define-public bluez-qt (package (name "bluez-qt") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -339,7 +340,7 @@ (define-public bluez-qt name "-" version ".tar.xz")) (sha256 (base32 - "0yc7mq9bnanp5dfv43vp8wpqw5l8qh4aahqpi9sid7jmd6sbywl2")))) + "0h2k2qiskn921cpni5rs7x5ahric6dlllwsrk77akpi4xcsrip2g")))) (build-system cmake-build-system) (native-inputs (list dbus extra-cmake-modules)) @@ -368,7 +369,7 @@ (define-public bluez-qt (define-public breeze-icons (package (name "breeze-icons") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -377,7 +378,7 @@ (define-public breeze-icons name "-" version ".tar.xz")) (sha256 (base32 - "1ij723qy6xfkys8a9vp2ll2z2yp7667hfw559gi8cxn825hjx823")))) + "0a3zvmhcfsnxv0jpyjny3sl769p99psadl1872v0qlkax47pvsjp")))) (build-system cmake-build-system) (native-inputs (list extra-cmake-modules fdupes @@ -398,7 +399,7 @@ (define-public breeze-icons (define-public kapidox (package (name "kapidox") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -407,7 +408,7 @@ (define-public kapidox name "-" version ".tar.xz")) (sha256 (base32 - "1w5h4xwscix0yjn8d0rcjd7hlmrnbmkjg20diqjabb5wcxsrjiwi")))) + "1k2qk8ibv5dqdhkn2992n8rlmslpmngz83hxb7zrh3pkphdg8v2n")))) (build-system python-build-system) (arguments `(#:tests? #f ; has no test target @@ -438,7 +439,7 @@ (define-public kapidox (define-public karchive (package (name "karchive") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -447,7 +448,7 @@ (define-public karchive name "-" version ".tar.xz")) (sha256 (base32 - "1bra1q225xhh8dilwmzc0jgnj5m3dmi4nkz4y8f42si97b4xxxf5")))) + "1ipj7j1iw6g56z0qppji38h6qwbs05piiqqbsw8hdbf96l6cdiq2")))) (build-system cmake-build-system) (native-inputs (list extra-cmake-modules)) @@ -471,7 +472,7 @@ (define-public karchive (define-public kcalendarcore (package (name "kcalendarcore") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -480,7 +481,7 @@ (define-public kcalendarcore name "-" version ".tar.xz")) (sha256 (base32 - "181yif830v4gg7nw9s15pvgfm98rmm6xwi2xxy3nxg7nkp14vs5k")))) + "16kclspsjzld9n07z1i8li2pc91ihpqhbk46a4s92nsihs2dkayk")))) (build-system cmake-build-system) (native-inputs (list extra-cmake-modules perl tzdata-for-tests)) @@ -511,7 +512,7 @@ (define-public kcalendarcore (define-public kcodecs (package (name "kcodecs") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -520,7 +521,7 @@ (define-public kcodecs name "-" version ".tar.xz")) (sha256 (base32 - "05266wjxmzf3qpb2xwlm40cr9h266l5r9dqww81m8bq856pf8ivi")))) + "0n10r7s9r25xp7vlym41qi421kld00niig73yark7yghj0r41jcz")))) (build-system cmake-build-system) (native-inputs (list extra-cmake-modules gperf qttools-5)) @@ -545,7 +546,7 @@ (define-public kcodecs (define-public kconfig (package (name "kconfig") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -554,7 +555,7 @@ (define-public kconfig name "-" version ".tar.xz")) (sha256 (base32 - "1xa8xxm2x9783fqb26wyvg1mp6ybjikngznqdhsk9slhaca73yhz")))) + "15m2bggfr682q68dym7nzmvz7q7pwarzijad1wj0r5cs62l3bkjy")))) (build-system cmake-build-system) (native-inputs (list dbus extra-cmake-modules inetutils qttools-5 @@ -650,7 +651,7 @@ (define-public kcoreaddons (define-public kdbusaddons (package (name "kdbusaddons") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -659,7 +660,7 @@ (define-public kdbusaddons name "-" version ".tar.xz")) (sha256 (base32 - "1y0fd0a1nwgchsk3vx8hvvkw96f0l0533g57xakq4j4xkvxd8l3y")))) + "0fwdmlnci2xn5pi1ywgia3xka3zsh6gl6xpx1gvql7lczk1y490a")))) (build-system cmake-build-system) (native-inputs (list extra-cmake-modules dbus qttools-5)) @@ -693,7 +694,7 @@ (define-public kdbusaddons (define-public kdnssd (package (name "kdnssd") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -702,7 +703,7 @@ (define-public kdnssd name "-" version ".tar.xz")) (sha256 (base32 - "1d3jq64gyj3bc3sf46gnpbmjrm809hva47z7fkwkk9i2lmnmy70w")))) + "0wcjq0g1cdjz9npy31i4rqbx85a95f15w71aamhm8x82l8nysv4g")))) (build-system cmake-build-system) (native-inputs (list extra-cmake-modules qttools-5)) @@ -748,7 +749,7 @@ (define-public kgraphviewer (define-public kguiaddons (package (name "kguiaddons") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -757,7 +758,7 @@ (define-public kguiaddons name "-" version ".tar.xz")) (sha256 (base32 - "028kn9lcvzv8f8b17a3clki7013dmhhcp1l9svvf6hydv97vkfbv")))) + "022qf858khdqklq117i223ihpw8mvdcbcfn8cwqmn2cv9qnfxnqj")))) (build-system qt-build-system) ;; TODO: Build packages for the Python bindings. Ideally this will be ;; done for all versions of python guix supports. Requires python, @@ -776,7 +777,7 @@ (define-public kguiaddons (define-public kholidays (package (name "kholidays") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -784,7 +785,7 @@ (define-public kholidays (version-major+minor version) "/" name "-" version ".tar.xz")) (sha256 - (base32 "0rcd8k2x1w6jszxj18pkzimn5q4v2k7zs9x1pfwszn7xl59b3n4k")))) + (base32 "0ysw52wiyxrkprn0gis85nphpfl1wdb4439i66dfmg7s9nyqpzp0")))) (build-system cmake-build-system) (native-inputs (list extra-cmake-modules qttools-5)) @@ -799,7 +800,7 @@ (define-public kholidays (define-public ki18n (package (name "ki18n") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -808,7 +809,7 @@ (define-public ki18n name "-" version ".tar.xz")) (sha256 (base32 - "1jry8bdjgxkcqln7awkj3k8996lh76vya2mf5kwpyxagk6vmr0gy")))) + "0b3r53v2ybhlyqpkjv98dv2w9q49yqqxk9qzbyc4mm7ypq4hvl47")))) (build-system cmake-build-system) (propagated-inputs (list gettext-minimal python)) @@ -840,7 +841,7 @@ (define-public ki18n (define-public kidletime (package (name "kidletime") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -849,7 +850,7 @@ (define-public kidletime name "-" version ".tar.xz")) (sha256 (base32 - "13piv607n9hmlbd7kkhl7b1wcxj1jq2b5386c6pxrz5caxjwgnmd")))) + "1jdbjkishqnlzz1qrzyg92xnlsl7w89dmrh0zhzaj9bnr5a3icck")))) (build-system cmake-build-system) (native-inputs (list extra-cmake-modules pkg-config)) @@ -869,7 +870,7 @@ (define-public kirigami ;; plasma-framework which is tier 3. (package (name "kirigami") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -878,7 +879,7 @@ (define-public kirigami "kirigami2-" version ".tar.xz")) (sha256 (base32 - "12ir4q9njl60b242j9raj1xsjs0cizsk7bixwb1hssfn6fzpzqkv")))) + "1l0ggwrprmg5n5y3gxv7h4593fg87d7naxkf30603kkavq0hgks6")))) (properties `((upstream-name . "kirigami2"))) (build-system cmake-build-system) (native-inputs @@ -904,7 +905,7 @@ (define-public kirigami (define-public kitemmodels (package (name "kitemmodels") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -913,7 +914,7 @@ (define-public kitemmodels name "-" version ".tar.xz")) (sha256 (base32 - "1j6kffvgbd07zzzv0kab8mbwa69fmw4b8jczd0wzvmp56idsfc2v")))) + "1z9swjmll833jxy2ym63zzgi9vl8ld79mgypndqszsrd4mfsbs16")))) (build-system qt-build-system) (native-inputs (list extra-cmake-modules)) @@ -954,7 +955,7 @@ (define-public kitemmodels (define-public kitemviews (package (name "kitemviews") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -963,7 +964,7 @@ (define-public kitemviews name "-" version ".tar.xz")) (sha256 (base32 - "1wr62z6jwlg40m8kl9bpiyzkyjmsqx0fhgwc01192k58nl2696lb")))) + "176gqlinsvdgkbg7kr4qd97mnvcnbymrkcs9kg6hm75qzxcaj8dj")))) (build-system qt-build-system) (native-inputs (list extra-cmake-modules qttools-5)) @@ -979,7 +980,7 @@ (define-public kitemviews (define-public kplotting (package (name "kplotting") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -988,7 +989,7 @@ (define-public kplotting name "-" version ".tar.xz")) (sha256 (base32 - "1yqx260r3dzcinp8s685yzp5f2ihc0s1csckb9zv7z1bzljkn3h9")))) + "0hnzyl1x6acv1psdgsa9prpvnm12j71x6w6wbs1b0fl9bv5zw222")))) (build-system qt-build-system) (native-inputs (list extra-cmake-modules qttools-5)) @@ -1006,7 +1007,7 @@ (define-public kplotting (define-public ksyntaxhighlighting (package (name "ksyntaxhighlighting") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -1015,7 +1016,7 @@ (define-public ksyntaxhighlighting "syntax-highlighting-" version ".tar.xz")) (sha256 (base32 - "176prghxfrb7i68jacmq9vkl7j9arsn6gnkzyc2hlkph35js3zqs")))) + "092ilbhhs8xaqblc9w1xksapdzvqyazz8lj011wz4762p1nagiq2")))) (build-system cmake-build-system) (native-inputs (list extra-cmake-modules perl qttools-5 @@ -1073,7 +1074,7 @@ (define-public plasma-wayland-protocols (define-public kwayland (package (name "kwayland") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -1083,12 +1084,17 @@ (define-public kwayland (patches (search-patches "kwayland-skip-flaky-test.patch")) (sha256 (base32 - "0dcnsiippwxvwvf1gvp75lx97c4nydzn3x1l8lfy86w9lfslw7zb")))) + "0c0953gm63xhrqb7aspvf28wi7x31mrgaid23dw5gqphkbgis5qw")))) (build-system qt-build-system) (native-inputs (list extra-cmake-modules pkg-config)) (inputs - (list qtbase-5 plasma-wayland-protocols qtwayland-5 wayland wayland-protocols)) + (list libxkbcommon + plasma-wayland-protocols + qtbase-5 + qtwayland-5 + wayland + wayland-protocols)) (arguments (list ;; Tests spawn Wayland sessions that cannot run in parallel. @@ -1111,7 +1117,7 @@ (define-public kwayland (define-public kwidgetsaddons (package (name "kwidgetsaddons") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -1120,7 +1126,7 @@ (define-public kwidgetsaddons name "-" version ".tar.xz")) (sha256 (base32 - "1igbkrn8qaalan0lyn8r2gqv5v3rwbmb3xv3w26yw77vwp0n789r")))) + "117wki4w2bs1d2pjhi5qpb2b3qhhva6fq9gikba5fb6980kmdayr")))) (build-system qt-build-system) (native-inputs (list extra-cmake-modules qttools-5 xorg-server-for-tests)) @@ -1146,7 +1152,7 @@ (define-public kwidgetsaddons (define-public kwindowsystem (package (name "kwindowsystem") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -1155,7 +1161,7 @@ (define-public kwindowsystem name "-" version ".tar.xz")) (sha256 (base32 - "1ilb3zl3mlndfrqz6gi28x6qqqs45l65d0wmy3lk07lppcw3wxzx")))) + "02l7xmxcilmrxpkkid4m9srl0d8ymqgwpw5j80w3g57p0rahwjl1")))) (build-system cmake-build-system) (native-inputs (list extra-cmake-modules @@ -1202,7 +1208,7 @@ (define-public kwindowsystem (define-public modemmanager-qt (package (name "modemmanager-qt") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -1211,7 +1217,7 @@ (define-public modemmanager-qt name "-" version ".tar.xz")) (sha256 (base32 - "1rbiqh1sj328cy7flz9pw6vbvgiy3vyv6xp3fk4xv91sxviz1mhd")))) + "0gk4jy3r1451a2dajhnz6lin4lfawc4qdlxp7n7m43ca4d89h13k")))) (build-system cmake-build-system) (native-inputs (list extra-cmake-modules dbus pkg-config)) @@ -1239,7 +1245,7 @@ (define-public modemmanager-qt (define-public networkmanager-qt (package (name "networkmanager-qt") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -1248,7 +1254,7 @@ (define-public networkmanager-qt name "-" version ".tar.xz")) (sha256 (base32 - "1gyvgy0wl00asg9bkhjgvqnz32xmazvazcarh3p0640jy2fjrzfz")))) + "0s1h02v9k8nyl30mw7gayzvpb8bnzzp9crcfqpry7rf02rxv9idw")))) (build-system cmake-build-system) (native-inputs (list extra-cmake-modules dbus pkg-config)) @@ -1277,7 +1283,7 @@ (define-public networkmanager-qt (define-public oxygen-icons (package (name "oxygen-icons") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -1286,7 +1292,7 @@ (define-public oxygen-icons name "5" "-" version ".tar.xz")) (sha256 (base32 - "1f3fj6zr5iygb3s6f8vq2ayy749gxlx5j9h6v2zmkbf4m96sfmq5")))) + "03wk52hqrgj0r73nb4yiq7rnmdn4rrqzrj3cdzbg3flkw5r7wbbq")))) (build-system cmake-build-system) (native-inputs (list extra-cmake-modules fdupes)) @@ -1301,7 +1307,7 @@ (define-public oxygen-icons (define-public prison (package (name "prison") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) @@ -1309,7 +1315,7 @@ (define-public prison (version-major+minor version) "/" name "-" version ".tar.xz")) (sha256 - (base32 "1kzl8rbyj9ik83p1qb8jl32vr06vkzzvr1hpasj50sg3ajq8a9xs")))) + (base32 "1ppqm1f06q8fc1ncvzn9a133npmvlh1qxgvvbpwn6m0a8cr7ac6w")))) (build-system cmake-build-system) (native-inputs (list extra-cmake-modules)) @@ -1351,7 +1357,7 @@ (define-public pulseaudio-qt (define-public qqc2-desktop-style (package (name "qqc2-desktop-style") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -1360,7 +1366,7 @@ (define-public qqc2-desktop-style name "-" version ".tar.xz")) (sha256 (base32 - "0ff9vd34wss9na2m3gzm8wc2bwq0flda6bv6yqygv5iallw2lz88")))) + "1af7izd4k220dzngf1nwgcw0bi7vl772lpjrqd9fp9rijh74dx7d")))) (build-system cmake-build-system) (native-inputs (list extra-cmake-modules pkg-config)) @@ -1384,7 +1390,7 @@ (define-public qqc2-desktop-style (define-public solid (package (name "solid") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -1393,7 +1399,7 @@ (define-public solid name "-" version ".tar.xz")) (sha256 (base32 - "0j64glc1g7mwy2ysaj09w5f7sd2992h91ncknk9gpfsrxhpm814i")))) + "14bf2k40skhyhrmgyyscg7psm1a8klf4z696pimlwjjhnawjfr06")))) (build-system cmake-build-system) (arguments `(#:phases @@ -1418,7 +1424,7 @@ (define-public solid (define-public sonnet (package (name "sonnet") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -1427,7 +1433,7 @@ (define-public sonnet name "-" version ".tar.xz")) (sha256 (base32 - "0i0gksdkfyl8hfbqgrgklqanbvfm3h9gjnv42p2qq40b0zjj0sh4")))) + "0j4p91xx1scg3jmvq6km7bwfjz5ihafk76yf1byb6aqyw50h3bm3")))) (build-system qt-build-system) (native-inputs (list extra-cmake-modules pkg-config qttools-5)) @@ -1446,7 +1452,7 @@ (define-public sonnet (define-public threadweaver (package (name "threadweaver") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -1455,7 +1461,7 @@ (define-public threadweaver name "-" version ".tar.xz")) (sha256 (base32 - "0ljjnbwmc2zz4q0q1njqny43cj6xdf976vrvijcsqdsril5wzdbq")))) + "1pwinpz5kscx64kc7dn4qf76m64kxzp92zjk8j2a2s1mx0s0vk2s")))) (build-system cmake-build-system) (native-inputs (list extra-cmake-modules)) @@ -1476,7 +1482,7 @@ (define-public threadweaver (define-public kactivities (package (name "kactivities") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -1485,7 +1491,7 @@ (define-public kactivities name "-" version ".tar.xz")) (sha256 (base32 - "0g16k3v6i20rc6h0js4pk00d6yg236bs0kxj88q21d5c934hbksk")))) + "0n7r88y1b8mph5al2xh8fbw5ckdzdmdzjipf205y20ib35bskd9i")))) (build-system qt-build-system) (native-inputs (list extra-cmake-modules)) @@ -1521,7 +1527,7 @@ (define-public kactivities (define-public kauth (package (name "kauth") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -1530,7 +1536,7 @@ (define-public kauth name "-" version ".tar.xz")) (sha256 (base32 - "1hi36504bbr0266wl08kqiq61xysl3dw3kpgjfbgx169m0m3gmx9")))) + "0nzdvx2mibpq1cgzpll9ffjr46vch1qvriaywyqih0iybx6mx5z6")))) (build-system cmake-build-system) (native-inputs (list dbus extra-cmake-modules qttools-5)) @@ -1565,7 +1571,7 @@ (define-public kauth (define-public kcompletion (package (name "kcompletion") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -1574,7 +1580,7 @@ (define-public kcompletion name "-" version ".tar.xz")) (sha256 (base32 - "1jmrd2mfz27qfn6dq1mk6bcqlagmifbf9vnayi1mkqa9jsj4dwdj")))) + "191vid00zskvhl6dgj6yz9iyvwdcmg35l5gq68ggjr17cj59acsf")))) (build-system qt-build-system) (native-inputs (list extra-cmake-modules qttools-5)) @@ -1590,16 +1596,18 @@ (define-public kcompletion (define-public kcontacts (package (name "kcontacts") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append "mirror://kde/stable/frameworks/" (version-major+minor version) "/" name "-" version ".tar.xz")) + (patches + (search-patches "kcontacts-incorrect-country-name.patch")) (sha256 (base32 - "075mw7clqf7qycngly21q3m0js3g8pcgqc2x3alp28f4zq3c8m21")))) + "0g3lg1i9rg7hjw7xjx9228sy54dy35lgwghcjds5cawszl5yi106")))) (build-system cmake-build-system) (native-inputs (list extra-cmake-modules xorg-server)) ; for the tests @@ -1634,7 +1642,7 @@ (define-public kcontacts (define-public kcrash (package (name "kcrash") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -1643,7 +1651,7 @@ (define-public kcrash name "-" version ".tar.xz")) (sha256 (base32 - "05sw3lh4lw5jgl7gvxvpyl6nims9j4b1hjsn365fa2p48qmsx6v5")))) + "03ba3x9jgp15dxgwbjnv5s98f5di2z4ncp4hiv1qkyiibqqfx6kf")))) (build-system qt-build-system) (native-inputs (list extra-cmake-modules)) @@ -1658,7 +1666,7 @@ (define-public kcrash (define-public kdoctools (package (name "kdoctools") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -1667,7 +1675,7 @@ (define-public kdoctools name "-" version ".tar.xz")) (sha256 (base32 - "04nk87dbmnf9840401s40mxlsfh9is1l1mqky9xi5mcghbp0308b")))) + "0ygpjasdynsmb3c8rdwnc5jminl5f34cmqnihsig831xsq8z6chs")))) (build-system cmake-build-system) (native-inputs (list extra-cmake-modules)) @@ -1713,7 +1721,7 @@ (define-public kdoctools (define-public kfilemetadata (package (name "kfilemetadata") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -1722,7 +1730,7 @@ (define-public kfilemetadata name "-" version ".tar.xz")) (sha256 (base32 - "0sh3malq6007fp5m4hica20ha8z5abqzq5ifcmrpm8zqmm5aa2bq")))) + "1nsvslhs2kiff3r5ji8z931lh6srvjzzvwnv9cs0j74sr46c6rkn")))) (build-system cmake-build-system) (arguments `(#:phases @@ -1763,7 +1771,7 @@ (define-public kfilemetadata (define-public kimageformats (package (name "kimageformats") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -1772,7 +1780,7 @@ (define-public kimageformats name "-" version ".tar.xz")) (sha256 (base32 - "0dbl2varirp5f1bd8173jlhmkc3ql16yg0d6w04nc56hy973bkm5")))) + "0v4jr1lh2qjk453q8mpz94cd98k4kmjrykn8kxrd7zvrkaa4snfy")))) (build-system cmake-build-system) (native-inputs (list extra-cmake-modules pkg-config)) @@ -1815,7 +1823,7 @@ (define-public kimageformats (define-public kjobwidgets (package (name "kjobwidgets") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -1824,7 +1832,7 @@ (define-public kjobwidgets name "-" version ".tar.xz")) (sha256 (base32 - "1w1h9vnlq1j72812558cl5dlq7f80nnh5i30qmkpbvv49xhhq2dl")))) + "0f87n5d3h2f9y1z2imfd0jj9108wbcxg7dg4k1c53zar2lrfx4wc")))) (build-system cmake-build-system) (native-inputs (list extra-cmake-modules qttools-5)) @@ -1839,7 +1847,7 @@ (define-public kjobwidgets (define-public knotifications (package (name "knotifications") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -1848,7 +1856,7 @@ (define-public knotifications name "-" version ".tar.xz")) (sha256 (base32 - "11fbqylchzvm0pfw8bvy03px5zcg4jbch39vzcvnl6si7vikm4qj")))) + "10whr3wjldaxdvbj6i250rqgsy2m1n606ja1yka571f1fz7laqcd")))) (build-system cmake-build-system) (native-inputs (list extra-cmake-modules dbus pkg-config qttools-5)) @@ -1882,7 +1890,7 @@ (define-public knotifications (define-public kpackage (package (name "kpackage") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -1891,7 +1899,7 @@ (define-public kpackage name "-" version ".tar.xz")) (sha256 (base32 - "0gsxizpqa47apbvchga3f0w86v4jh8z1vyf0kifipz17fay4ws8d")))) + "1234jq9qqhq2z5afkkniz6w5s1ab9r4x9wamq3c9y08nzjq634py")))) (build-system cmake-build-system) (native-inputs (list extra-cmake-modules)) @@ -1938,7 +1946,7 @@ (define-public kpackage (define-public kpty (package (name "kpty") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -1947,7 +1955,7 @@ (define-public kpty name "-" version ".tar.xz")) (sha256 (base32 - "15swvv6qhvc654wyvxzbjbnzrd2vwn0mr4lby1x6x5f4c9br0cip")))) + "0arxbdxldwnrcg5x1vpvkwdd4hayrpqvn08jz6r7zb4s9h1582ww")))) (build-system cmake-build-system) (native-inputs (list extra-cmake-modules)) @@ -1973,7 +1981,7 @@ (define-public kpty (define-public kunitconversion (package (name "kunitconversion") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -1982,7 +1990,7 @@ (define-public kunitconversion name "-" version ".tar.xz")) (sha256 (base32 - "1qls3319gwn1nzaq04wrqjhbchk0s0pfx97m4za63yzvapvym73g")))) + "0lhyg1d1k25kqk94lzy8mb06p4c17limmcrzirnsnxjvhjrc6r05")))) (build-system cmake-build-system) (arguments `(#:tests? #f)) ;; Requires network. (native-inputs @@ -2000,7 +2008,7 @@ (define-public kunitconversion (define-public syndication (package (name "syndication") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -2009,7 +2017,7 @@ (define-public syndication name "-" version ".tar.xz")) (sha256 (base32 - "1q60dznlkbncqqgjnp3lq3x0f6r7wvz141ajkymmxlgfq3wdpcd4")))) + "04py880hxkvidydsqcyjbkq0wv9cp42d7svkdgf74fmzfyfrmrax")))) (build-system cmake-build-system) (native-inputs (list extra-cmake-modules)) @@ -2032,7 +2040,7 @@ (define-public syndication (define-public baloo (package (name "baloo") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -2041,7 +2049,7 @@ (define-public baloo name "-" version ".tar.xz")) (sha256 (base32 - "1icpxmmxhvgdr6zxpz0wybc82nyy595cmr09067i82kh7v5dj66l")))) + "0x515lnvrzlnsv5i924q17mzi88k00krj90myad17s0g7p5pi1rw")))) (build-system cmake-build-system) (propagated-inputs (list kcoreaddons kfilemetadata)) @@ -2094,7 +2102,7 @@ (define-public baloo (define-public kactivities-stats (package (name "kactivities-stats") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -2103,7 +2111,7 @@ (define-public kactivities-stats name "-" version ".tar.xz")) (sha256 (base32 - "0lfanv55b7zx5s0a7gh4r41w9yb641j1zjjcvdjfrj7pdh52576s")))) + "0zvw3km1wf91wl9xbjvawjia0847kbs3js4nbf3d0z87l5h6rbx8")))) (build-system cmake-build-system) (native-inputs (list extra-cmake-modules)) @@ -2120,7 +2128,7 @@ (define-public kactivities-stats (define-public kbookmarks (package (name "kbookmarks") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -2129,7 +2137,7 @@ (define-public kbookmarks name "-" version ".tar.xz")) (sha256 (base32 - "131yng8wmxrnf3x1i6gg60q3rrya19yk4jnzi5ylafvaw7q2r8b4")))) + "1rpjqz2xnpb2wp2k3pjdclbkb0p96y48x6h8l056nr93alxyrqvi")))) (build-system cmake-build-system) (propagated-inputs (list kwidgetsaddons)) @@ -2161,7 +2169,7 @@ (define-public kbookmarks (define-public kcmutils (package (name "kcmutils") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -2170,7 +2178,7 @@ (define-public kcmutils name "-" version ".tar.xz")) (sha256 (base32 - "0vff93kja9dq8rf1aapxpfgjxsinm75f5nydxqcihskp8girz0c8")))) + "0jqkg4i16jnxricrhi1cbvv7gjjj7ry3z36mzh11h48ml7rl05qx")))) (build-system cmake-build-system) (propagated-inputs (list kconfigwidgets kservice)) @@ -2216,7 +2224,7 @@ (define-public kcmutils (define-public kconfigwidgets (package (name "kconfigwidgets") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -2225,7 +2233,7 @@ (define-public kconfigwidgets name "-" version ".tar.xz")) (sha256 (base32 - "045j6gkp5sf1lc12zwlkr1dz0fd89yrg5b31j4ybk3dyc8jz90hl")))) + "05bwldqc5k6dlzsxjby5565sch6i0mh7jg5cbyjz24xb1fpj0d7b")))) (build-system qt-build-system) (propagated-inputs (list kauth kcodecs kconfig kwidgetsaddons)) @@ -2248,7 +2256,7 @@ (define-public kconfigwidgets (("^\\s*(QDirIterator it\\(.*, QDirIterator::Subdirectories)(\\);)" _ a b) (string-append a " | QDirIterator::FollowSymlinks" b))) (substitute* "CMakeLists.txt" - (("5\\.90\\.0") "5.96.0")))) + (("5\\.90\\.0") "5.98.0")))) (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? @@ -2264,7 +2272,7 @@ (define-public kconfigwidgets (define-public kdeclarative (package (name "kdeclarative") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -2273,7 +2281,7 @@ (define-public kdeclarative name "-" version ".tar.xz")) (sha256 (base32 - "1x4r231g0l5im4ala21m5fz5q6nixbx0z6lfia5zjinzlp7x5534")))) + "0y5scmcnzhwvyb7x6fdb59xgdhghw8v9i3r05gx1x7g1gfsw0wh6")))) (build-system cmake-build-system) (propagated-inputs (list kconfig kpackage qtdeclarative-5)) @@ -2327,7 +2335,7 @@ (define-public kdeclarative (define-public kded (package (name "kded") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -2336,7 +2344,7 @@ (define-public kded name "-" version ".tar.xz")) (sha256 (base32 - "0x40yvcx2gjb4pngyk2vfrn3z7dbyvksbj1h3ck04fyyma8z3gb3")))) + "1k8yxdnihfvvdjmw7lmd62vi5k1hpvjdcwd7njqxz6178iq7dd75")))) (build-system cmake-build-system) (native-inputs (list extra-cmake-modules kdoctools)) @@ -2359,7 +2367,7 @@ (define-public kded (define-public kdesignerplugin (package (name "kdesignerplugin") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -2368,7 +2376,7 @@ (define-public kdesignerplugin name "-" version ".tar.xz")) (sha256 (base32 - "0cddad1rdi06l28iiwizfds78dplbvv7j40vphww0ix7cmsh3rh9")))) + "17b0javl6k5zcmx04aqzmh3qdgwvzhf62x603m4pg6xbl3zns67g")))) (build-system qt-build-system) (native-inputs (list extra-cmake-modules kdoctools qttools-5)) @@ -2388,7 +2396,7 @@ (define-public kdesignerplugin (define-public kdesu (package (name "kdesu") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -2397,7 +2405,7 @@ (define-public kdesu name "-" version ".tar.xz")) (sha256 (base32 - "1wjjjwpfjr7sx10x0236zqjx3jrw6mz60724s5qg269dwfbpahvj")))) + "15fbb7zifk4lhnlwvqhs9svzb80qwms03zbrjfnsc1n1wyyfk7v2")))) (build-system cmake-build-system) (propagated-inputs (list kpty)) @@ -2415,7 +2423,7 @@ (define-public kdesu (define-public kdewebkit (package (name "kdewebkit") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -2424,7 +2432,7 @@ (define-public kdewebkit name "-" version ".tar.xz")) (sha256 (base32 - "0l8nnar4s84igxih5w0fhwd9nvccp7zm53jy2gk6lfbj6gqarfbf")))) + "03bwwgzh1xfj4w7q2cvr7712yrjgf9qhqkqgzypcdb49gpvaq164")))) (build-system cmake-build-system) (native-inputs (list extra-cmake-modules qttools-5)) @@ -2447,7 +2455,7 @@ (define-public kdewebkit (define-public kemoticons (package (name "kemoticons") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -2456,7 +2464,7 @@ (define-public kemoticons name "-" version ".tar.xz")) (sha256 (base32 - "03b5axwvd6ayw1kbl1jv6h04cihp1y1pa835gs3m1qx2ivgj7f75")))) + "0f3d0jmpnqkrjn95sbvjzda923rfdgrlxd4k58pmzd0bblxkcxh2")))) (build-system cmake-build-system) (propagated-inputs (list kservice)) @@ -2483,7 +2491,7 @@ (define-public kemoticons (define-public kglobalaccel (package (name "kglobalaccel") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -2492,7 +2500,7 @@ (define-public kglobalaccel name "-" version ".tar.xz")) (sha256 (base32 - "1sx4fmy8xy22im0i3dw0xdmxrgw2jhnk2wsfy2xw74dsj3adg2iq")))) + "1vr6k7lpxsxa6in60ld2wcdqfpaan5xgbmwm3xyr584x6pv737cl")))) (build-system qt-build-system) (native-inputs (list extra-cmake-modules pkg-config qttools-5)) @@ -2516,7 +2524,7 @@ (define-public kglobalaccel (define-public kiconthemes (package (name "kiconthemes") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -2525,7 +2533,7 @@ (define-public kiconthemes name "-" version ".tar.xz")) (sha256 (base32 - "0w9m956xfpfxp7a63a5v2y10lb9zp2gqfjyfvq3ksxfl961g4hsg")))) + "1qmld8xgabmwx2dh5395pll0a0jgirxhlbqv6aph76jg4lvynkqx")))) (build-system cmake-build-system) (native-inputs (list extra-cmake-modules qttools-5 shared-mime-info)) @@ -2540,6 +2548,7 @@ (define-public kiconthemes kitemviews kwidgetsaddons qtbase-5 + qtdeclarative-5 qtsvg-5)) (arguments `(#:phases @@ -2561,7 +2570,7 @@ (define-public kiconthemes (define-public kinit (package (name "kinit") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -2570,7 +2579,7 @@ (define-public kinit name "-" version ".tar.xz")) (sha256 (base32 - "1y7x80icm2jv9c8917481w1hs1vm2rvvvnc9drw4q7vrjzfx73dq")) + "04654hz3yipnlhy5gz3bkh988fcfl1lv7608k4xa5qnbsxaqh141")) ;; Use the store paths for other packages and dynamically loaded ;; libs (patches (search-patches "kinit-kdeinit-extra_libs.patch")))) @@ -2628,7 +2637,7 @@ (define-public kinit (define-public kio (package (name "kio") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -2637,7 +2646,7 @@ (define-public kio name "-" version ".tar.xz")) (sha256 (base32 - "0xmvgq7cp1kkicmngxjj4cmijaah91jmfqdzzxziphq1rl23k64m")) + "0z1ikpa3an3qmd26h2v48kxxw1jph21i12x4nawvc4x1dp4vkm1d")) (patches (search-patches "kio-search-smbd-on-PATH.patch")))) (build-system cmake-build-system) (propagated-inputs @@ -2735,7 +2744,7 @@ (define-public kio (define-public knewstuff (package (name "knewstuff") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -2744,7 +2753,7 @@ (define-public knewstuff name "-" version ".tar.xz")) (sha256 (base32 - "0kls40wlqkqirfjhf8kn83saxwahlh4rkm7iypqd81h93gi81fgc")))) + "09mxzpv0l1i5ml963gdnji8rskmi8b2f0hp4rn6ibkcj00z48fgy")))) (build-system cmake-build-system) (propagated-inputs (list attica kservice kxmlgui)) @@ -2789,7 +2798,7 @@ (define-public knewstuff (define-public knotifyconfig (package (name "knotifyconfig") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -2798,7 +2807,7 @@ (define-public knotifyconfig name "-" version ".tar.xz")) (sha256 (base32 - "09bcw47zp6rsnk7f83gkmlpylg428a7phn7bbi9mpkdpzc6zvfd2")))) + "1qlmgr5rifygp8zk8qfjwm6k72kfyj8x6hvqwy2a59lfi3wgbm07")))) (build-system cmake-build-system) (native-inputs (list extra-cmake-modules)) @@ -2831,7 +2840,7 @@ (define-public knotifyconfig (define-public kparts (package (name "kparts") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -2840,7 +2849,7 @@ (define-public kparts name "-" version ".tar.xz")) (sha256 (base32 - "0b68kyi7l3ndw798sll2hrzf6qq6w875n48sc11q6882xilzinh2")))) + "01gcnywbzrgwlk4cws2rr139r95r201yfal1af3jkd7g2x499vgr")))) (build-system qt-build-system) (arguments '(#:phases (modify-phases %standard-phases @@ -2881,7 +2890,7 @@ (define-public kparts (define-public kpeople (package (name "kpeople") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -2890,7 +2899,7 @@ (define-public kpeople name "-" version ".tar.xz")) (sha256 (base32 - "0q3c0ghxa9km5xcq6h0cwa7swfd18h491jpfafy4qgq3nwp0115b")))) + "0wxy8pxkbfqbb4i9v3q912shzck56bk6xra3blhwva82qm9rps0f")))) (build-system qt-build-system) (native-inputs (list extra-cmake-modules)) @@ -2917,7 +2926,7 @@ (define-public kpeople (define-public krunner (package (name "krunner") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -2926,7 +2935,7 @@ (define-public krunner name "-" version ".tar.xz")) (sha256 (base32 - "0wd2nmhw9mb09mm88cnkmirwgxdnvkrkyjvaiqh9k74xqsggnplk")))) + "0kch839xw09h1lddqgdcfwniq6rza5wdyyzcx99hcasn7l60nhsj")))) (build-system cmake-build-system) (propagated-inputs (list plasma-framework)) @@ -2986,7 +2995,7 @@ (define-public krunner (define-public kservice (package (name "kservice") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -2995,7 +3004,7 @@ (define-public kservice name "-" version ".tar.xz")) (sha256 (base32 - "1zg3a35my8ba5ikmlg9s3wc9r0s5a2x0rggiiv9znhfi3snvi6gd")))) + "0lgwpcdkkbxwq84zp5aymrdwy0iacqxz5ckc89pymcm0bacyhl31")))) (build-system cmake-build-system) (propagated-inputs (list kconfig kcoreaddons kdoctools)) @@ -3037,7 +3046,7 @@ (define-public kservice (define-public ktexteditor (package (name "ktexteditor") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -3046,7 +3055,7 @@ (define-public ktexteditor "ktexteditor-" version ".tar.xz")) (sha256 (base32 - "071jx26ycyk31bh167cq5fwx8xkr4ldjg8zlhn9dh7wa3rjpp183")))) + "1pazi9rz4v95g31s7d26yla8rcb0cgd08mlmdcasywsaxc8nn7vw")))) (build-system cmake-build-system) (propagated-inputs (list kparts @@ -3114,7 +3123,7 @@ (define-public ktexteditor (define-public ktextwidgets (package (name "ktextwidgets") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -3123,7 +3132,7 @@ (define-public ktextwidgets name "-" version ".tar.xz")) (sha256 (base32 - "1vab4qmqq9268bwzx6xia2bcz8rdmiwlgjkbkk8nci2pnmhjrzpj")))) + "14ivmpng7x9rsk3x6kyd86jabzqxgjcdrma1im44wacnvisi4llk")))) (build-system qt-build-system) (propagated-inputs (list ki18n sonnet)) @@ -3152,7 +3161,7 @@ (define-public ktextwidgets (define-public kwallet (package (name "kwallet") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -3161,8 +3170,16 @@ (define-public kwallet name "-" version ".tar.xz")) (sha256 (base32 - "0rj610c7i66fbv1x0i0sfn9mac8fkqir4vwgaq1ad5i9ca36h1jq")))) + "0kwxkxlk0xlxkjgpjpb40xfl2l9hnhpymb4lxw4zwlxjn81r6sab")))) (build-system cmake-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? ;; Seems to require network. + (invoke "ctest" "-E" + "(fdo_secrets_test)"))))))) (native-inputs (list extra-cmake-modules kdoctools)) (inputs @@ -3183,6 +3200,7 @@ (define-public kwallet libgcrypt phonon qgpgme + qca qtbase-5)) (home-page "https://community.kde.org/Frameworks") (synopsis "Safe desktop-wide storage for passwords") @@ -3194,7 +3212,7 @@ (define-public kwallet (define-public kxmlgui (package (name "kxmlgui") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -3203,7 +3221,7 @@ (define-public kxmlgui name "-" version ".tar.xz")) (sha256 (base32 - "1hiz2fgwpc4mgh2zzir0qi18pjsc3052lf888rc1pgql90faxb1k")))) + "08n5l3zgkh0fxaqwrfx5mk4j5wq9ylkpxd37751qcivpag7l0x45")))) (build-system cmake-build-system) (propagated-inputs (list kconfig kconfigwidgets)) @@ -3246,7 +3264,7 @@ (define-public kxmlgui (define-public kxmlrpcclient (package (name "kxmlrpcclient") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -3255,7 +3273,7 @@ (define-public kxmlrpcclient name "-" version ".tar.xz")) (sha256 (base32 - "1jrmrzcvnnw7q7pxgfpcz8608jmxqxf89habmgwv71b8kjz3vgaw")))) + "09apfrkgvvzv8zwxyjbi5qb145a9awirk02nx474bshgypfqslpb")))) (build-system cmake-build-system) (propagated-inputs (list kio)) @@ -3289,7 +3307,7 @@ (define-public kxmlrpcclient (define-public plasma-framework (package (name "plasma-framework") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -3298,7 +3316,7 @@ (define-public plasma-framework name "-" version ".tar.xz")) (sha256 (base32 - "14myvv70pixygb20c136sk7prv5f5dca53fgc74dk6c28hwyldh2")))) + "1bmwvk0pj0bnb8qhcl0bz82r63nls6h7lzzmkfkdwcwmjifmiqg4")))) (build-system cmake-build-system) (propagated-inputs (list kpackage kservice)) @@ -3359,7 +3377,7 @@ (define-public plasma-framework (define-public purpose (package (name "purpose") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -3368,7 +3386,7 @@ (define-public purpose name "-" version ".tar.xz")) (sha256 (base32 - "0gji3dsccbii1gm83dpwry02cqmjrimhj8gnkb6nzvzrnq5xfh3r")))) + "0g9ykhsn9dl3y3qp4wm3r7bkdhpl9mcbg671wa26qx3ba8a2jynr")))) (build-system cmake-build-system) (native-inputs (list extra-cmake-modules)) @@ -3425,7 +3443,7 @@ (define kinit-bootstrap (define-public kde-frameworkintegration (package (name "kde-frameworkintegration") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) (uri (string-append @@ -3434,7 +3452,7 @@ (define-public kde-frameworkintegration "frameworkintegration-" version ".tar.xz")) (sha256 (base32 - "19piq6h51qh64nbkqnpy6jg91vbl67vg2sh4hlwzsb2lcrmwxgk9")))) + "1mrangjj8lhm4njpkhqna2zwnidkd9crs23gj6kdlwzmiknypi6q")))) (build-system cmake-build-system) (native-inputs (list extra-cmake-modules pkg-config)) @@ -3479,7 +3497,7 @@ (define-public kde-frameworkintegration (define-public kdelibs4support (package (name "kdelibs4support") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) @@ -3488,7 +3506,7 @@ (define-public kdelibs4support (version-major+minor version) "/portingAids/" name "-" version ".tar.xz")) (sha256 - (base32 "18f99g1g1z1mrkgq3l8kgxjxi60a632p0sg8d46r67b9n008w9m7")))) + (base32 "0hyyrxic1rkw2jrr92rnmbk6bqkfrcnpc917vs7xyansk9799b8f")))) (build-system cmake-build-system) (native-inputs (list dbus @@ -3595,7 +3613,7 @@ (define-public kdelibs4support (define-public khtml (package (name "khtml") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) @@ -3604,7 +3622,7 @@ (define-public khtml (version-major+minor version) "/portingAids/" name "-" version ".tar.xz")) (sha256 - (base32 "0lc933z4568962xj7grzy44aj97h76s5vvv1cnj351dzwr5qahpx")))) + (base32 "0bflwrp6i2w6a3fq2m2df655495rpnsmqcm7w1f1dzfndc6yd9i5")))) (build-system qt-build-system) (native-inputs (list extra-cmake-modules perl)) @@ -3645,7 +3663,7 @@ (define-public khtml (define-public kjs (package (name "kjs") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) @@ -3654,7 +3672,7 @@ (define-public kjs (version-major+minor version) "/portingAids/" name "-" version ".tar.xz")) (sha256 - (base32 "0jhfjjpv5hzbib3p30ngn6ic023fnrvnr8jrbjdzyacjywj69vvp")))) + (base32 "03is1a5b1sfh1nd011lchgir9nrywvax06ilg9y7z0vsn0ick7ik")))) (build-system cmake-build-system) (native-inputs (list extra-cmake-modules kdoctools perl pkg-config)) @@ -3674,7 +3692,7 @@ (define-public kjs (define-public kjsembed (package (name "kjsembed") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) @@ -3683,7 +3701,7 @@ (define-public kjsembed (version-major+minor version) "/portingAids/" name "-" version ".tar.xz")) (sha256 - (base32 "1z8h0n4v1qgs2lsxflrzhdfb91jna3y2dxal1qz7i3szjvrf63h0")))) + (base32 "0zb4vr0hp73lzc1gfnpq1grwmlpdvnp8awf3ydx4vqjh9n6jbaf2")))) (build-system cmake-build-system) (native-inputs (list extra-cmake-modules kdoctools qttools-5)) @@ -3698,7 +3716,7 @@ (define-public kjsembed (define-public kmediaplayer (package (name "kmediaplayer") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) @@ -3707,7 +3725,7 @@ (define-public kmediaplayer (version-major+minor version) "/portingAids/" name "-" version ".tar.xz")) (sha256 - (base32 "0qqlah4zi0b7b6yb4009kkjqw7fkp1lgvp2mcpxs8vbbshs3376c")))) + (base32 "0wcv99xgg9pxijbjl4cmsgmpwb893ira6wd3ys5ihk2nakbvd09x")))) (build-system qt-build-system) (native-inputs (list extra-cmake-modules kdoctools qttools-5)) @@ -3734,7 +3752,7 @@ (define-public kmediaplayer (define-public kross (package (name "kross") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) @@ -3743,7 +3761,7 @@ (define-public kross (version-major+minor version) "/portingAids/" name "-" version ".tar.xz")) (sha256 - (base32 "03dvg2jh9587kcp2f9nir727z0qvkcywrgxfi1p1hxq1bx6y8fm2")))) + (base32 "0yjn66r44jxlrm4vz1nf8s64kcw7lmarjpqz1mcgb1n4jc28hs60")))) (build-system cmake-build-system) (native-inputs (list extra-cmake-modules kdoctools qttools-5)) @@ -3776,7 +3794,7 @@ (define-public kross (define-public kdav (package (name "kdav") - (version "5.96.0") + (version "5.98.0") (source (origin (method url-fetch) @@ -3784,7 +3802,7 @@ (define-public kdav (version-major+minor version) "/" name "-" version ".tar.xz")) (sha256 - (base32 "1zqib8km4fg9aj4gmhx4hm7n7bbrz62l41qb48nz1pc3qia2x1wl")))) + (base32 "02474a3k7yqgnb1sbxbnm6l4cahn88y2631jvkq9xlmcx7xs2dzi")))) (build-system qt-build-system) (native-inputs (list extra-cmake-modules)) diff --git a/gnu/packages/patches/kcontacts-incorrect-country-name.patch b/gnu/packages/patches/kcontacts-incorrect-country-name.patch new file mode 100644 index 0000000000..7e15f9f5eb --- /dev/null +++ b/gnu/packages/patches/kcontacts-incorrect-country-name.patch @@ -0,0 +1,85 @@ +From 5fc2ce8b9f34ea3218a030aeede01b70bedb2546 Mon Sep 17 00:00:00 2001 +From: Petr Hodina +Date: Wed, 28 Sep 2022 20:58:43 +0200 +Subject: [PATCH] autotests: Fix incorrect name of country in comparison. + + +diff --git a/autotests/addresstest.cpp b/autotests/addresstest.cpp +index fc6a9bc7..01e474b6 100644 +--- a/autotests/addresstest.cpp ++++ b/autotests/addresstest.cpp +@@ -157,7 +157,7 @@ void AddressTest::formatTest() + + const QString result( + QStringLiteral("Jim Knopf\nLummerlandstr. 1\n" +- "12345 Lummerstadt\n\nGERMANIA")); ++ "12345 Lummerstadt\n\nGERMANY")); + + QCOMPARE(address.formatted(KContacts::AddressFormatStyle::Postal, QStringLiteral("Jim Knopf")), result); + #if KCONTACTS_BUILD_DEPRECATED_SINCE(5, 92) +@@ -175,7 +175,7 @@ void AddressTest::formatTest() + + const QString result( + QStringLiteral("Huck Finn\n457 Foobar Ave\nNERVOUSBREAKTOWN," +- " DC 1A2B3C\n\nSTATI UNITI")); ++ " DC 1A2B3C\n\nUNITED STATES")); + QCOMPARE(address.formatted(KContacts::AddressFormatStyle::Postal, QStringLiteral("Huck Finn")), result); + } + +@@ -188,7 +188,7 @@ void AddressTest::formatTest() + + const QString result( + QStringLiteral("Jim Knopf\nLummerlandstr. 1\n" +- "12345 Lummerstadt\n\nGERMANIA")); ++ "12345 Lummerstadt\n\nGERMANY")); + + QCOMPARE(address.formatted(KContacts::AddressFormatStyle::Postal, QStringLiteral("Jim Knopf")), result); + } +@@ -214,7 +214,7 @@ void AddressTest::formatTest() + address.setCountry(QStringLiteral("Schweiz")); + + // we want the Italian variant of the Swiss format for it_CH +- const QString result(QStringLiteral("Dr. Konqui\nCasella postale 5678\nHaus Randa\n1234 Randa\n\nSVIZZERA")); ++ const QString result(QStringLiteral("Dr. Konqui\nCasella postale 5678\nHaus Randa\n1234 Randa\n\nSWITZERLAND")); + + QCOMPARE(address.formatted(KContacts::AddressFormatStyle::Postal, QStringLiteral("Dr. Konqui")), result); + } +@@ -228,14 +228,14 @@ void AddressTest::formatTest() + address.setCountry(QStringLiteral("CH")); + + // we want the Italian variant of the Swiss format for it_CH +- const QString result(QStringLiteral("Dr. Konqui\nCasella postale 5678\nHaus Randa\n1234 Randa\n\nSVIZZERA")); ++ const QString result(QStringLiteral("Dr. Konqui\nCasella postale 5678\nHaus Randa\n1234 Randa\n\nSWITZERLAND")); + QCOMPARE(address.formatted(KContacts::AddressFormatStyle::Postal, QStringLiteral("Dr. Konqui")), result); + } + + { + KContacts::Address address; + address.setCountry(QStringLiteral("CH")); +- QCOMPARE(address.formatted(KContacts::AddressFormatStyle::Postal, QString()), QLatin1String("SVIZZERA")); ++ QCOMPARE(address.formatted(KContacts::AddressFormatStyle::Postal, QString()), QLatin1String("SWITZERLAND")); + } + + { +@@ -257,14 +257,14 @@ void AddressTest::formatTest() + address.setLocality(QStringLiteral("Minato-ku")); + address.setPostalCode(QStringLiteral("106-0047")); + address.setStreet(QStringLiteral("4-6-28 Minami-Azabu")); +- auto result = QString::fromUtf8("4-6-28 Minami-Azabu, Minato-ku\nTOKYO 106-0047\n\nGIAPPONE"); ++ auto result = QString::fromUtf8("4-6-28 Minami-Azabu, Minato-ku\nTOKYO 106-0047\n\nJAPAN"); + QCOMPARE(address.formatted(KContacts::AddressFormatStyle::Postal), result); + + address.setRegion(QStringLiteral("東京")); + address.setLocality(QStringLiteral("都港区")); + address.setPostalCode(QStringLiteral("106-0047")); + address.setStreet(QStringLiteral("南麻布 4-6-28")); +- result = QString::fromUtf8("〒106-0047\n東京都港区南麻布 4-6-28\n\nGIAPPONE"); ++ result = QString::fromUtf8("〒106-0047\n東京都港区南麻布 4-6-28\n\nJAPAN"); + QCOMPARE(address.formatted(KContacts::AddressFormatStyle::Postal), result); + } + } + +base-commit: 1d757eba019718cab5d3b33a231d19daf31eb8ba +-- +2.37.2 + -- cgit v1.2.3 From b2a2f566aaed47eb61035c625bdfb3886f91c84d Mon Sep 17 00:00:00 2001 From: Petr Hodina Date: Tue, 23 Aug 2022 12:55:28 +0200 Subject: gnu: Add wacomtablet. * gnu/packages/kde-utils.scm (wacomtablet): New variable. Signed-off-by: Marius Bakke --- gnu/local.mk | 2 + gnu/packages/kde-utils.scm | 47 ++++++++++++++++++++++ .../patches/wacomtablet-add-missing-includes.patch | 11 +++++ gnu/packages/patches/wacomtablet-qt5.15.patch | 23 +++++++++++ 4 files changed, 83 insertions(+) create mode 100644 gnu/packages/patches/wacomtablet-add-missing-includes.patch create mode 100644 gnu/packages/patches/wacomtablet-qt5.15.patch (limited to 'gnu/local.mk') diff --git a/gnu/local.mk b/gnu/local.mk index 6bccbc2dc4..68ea09cb91 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1990,6 +1990,8 @@ dist_patch_DATA = \ %D%/packages/patches/vtk-7-gcc-10-compat.patch \ %D%/packages/patches/vtk-7-hdf5-compat.patch \ %D%/packages/patches/vtk-7-python-compat.patch \ + %D%/packages/patches/wacomtablet-add-missing-includes.patch \ + %D%/packages/patches/wacomtablet-qt5.15.patch \ %D%/packages/patches/warsow-qfusion-fix-bool-return-type.patch \ %D%/packages/patches/webkitgtk-adjust-bubblewrap-paths.patch \ %D%/packages/patches/webrtc-audio-processing-big-endian.patch \ diff --git a/gnu/packages/kde-utils.scm b/gnu/packages/kde-utils.scm index b2295d184a..2d051c74f6 100644 --- a/gnu/packages/kde-utils.scm +++ b/gnu/packages/kde-utils.scm @@ -22,6 +22,7 @@ (define-module (gnu packages kde-utils) #:use-module (guix build-system qt) + #:use-module (guix gexp) #:use-module (guix download) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) @@ -30,6 +31,7 @@ (define-module (gnu packages kde-utils) #:use-module (gnu packages bash) #:use-module (gnu packages cmake) #:use-module (gnu packages compression) + #:use-module (gnu packages glib) ; dbus for tests #:use-module (gnu packages gnome) #:use-module (gnu packages imagemagick) #:use-module (gnu packages pkg-config) @@ -38,6 +40,7 @@ (define-module (gnu packages kde-utils) #:use-module (gnu packages kde-plasma) #:use-module (gnu packages qt) #:use-module (gnu packages samba) + #:use-module (gnu packages xdisorg) #:use-module (gnu packages xorg)) (define-public ark @@ -180,6 +183,50 @@ (define-public kate (license ;; GPL for programs, LGPL for libraries (list license:gpl2+ license:lgpl2.0)))) +(define-public wacomtablet + (package + (name "wacomtablet") + (version "3.2.0") + (source (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/" + name "/" version "/" + name "-" version ".tar.xz")) + (patches (search-patches + "wacomtablet-add-missing-includes.patch" + "wacomtablet-qt5.15.patch")) + (sha256 + (base32 + "197pwpl87gqlnza36bp68jvw8ww25znk08acmi8bpz7n84xfc368")))) + (build-system qt-build-system) + (arguments + (list #:phases #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "dbus-launch" "ctest" "-E" + "(Test.KDED.DBusTabletService|Test.KDED.TabletHandler|Test.KDED.XInputAdaptor|Test.KDED.XsetWacomAdaptor)"))))))) + (native-inputs (list dbus extra-cmake-modules kdoctools pkg-config)) + (inputs (list kcoreaddons + ki18n + kglobalaccel + kconfig + kxmlgui + kwidgetsaddons + kwindowsystem + knotifications + kdbusaddons + qtx11extras + qtdeclarative-5 + libwacom + xf86-input-wacom + libxi)) + (propagated-inputs (list plasma-framework)) + (home-page "https://invent.kde.org/system/wacomtablet") + (synopsis "KDE GUI for the Wacom Linux Drivers") + (description "Provides KDE GUI for the Wacom Linux Drivers.") + (license license:gpl2+))) + (define-public kmag (package (name "kmag") diff --git a/gnu/packages/patches/wacomtablet-add-missing-includes.patch b/gnu/packages/patches/wacomtablet-add-missing-includes.patch new file mode 100644 index 0000000000..cd93938075 --- /dev/null +++ b/gnu/packages/patches/wacomtablet-add-missing-includes.patch @@ -0,0 +1,11 @@ +diff -rup wacomtablet-3.1.0/src/kcmodule/styluspagewidget.cpp wacomtablet-3.1.0.new/src/kcmodule/styluspagewidget.cpp +--- wacomtablet-3.1.0/src/kcmodule/styluspagewidget.cpp 2018-06-22 15:07:58.000000000 +0200 ++++ wacomtablet-3.1.0.new/src/kcmodule/styluspagewidget.cpp 2018-07-10 17:38:09.239242847 +0200 +@@ -25,6 +25,7 @@ + #include "profilemanagement.h" + + // common includes ++#include "logging.h" + #include "property.h" + #include "deviceprofile.h" + #include "dbustabletinterface.h" diff --git a/gnu/packages/patches/wacomtablet-qt5.15.patch b/gnu/packages/patches/wacomtablet-qt5.15.patch new file mode 100644 index 0000000000..598ac939e8 --- /dev/null +++ b/gnu/packages/patches/wacomtablet-qt5.15.patch @@ -0,0 +1,23 @@ +From 4f73ff02b3efd5e8728b18fcf1067eca166704ee Mon Sep 17 00:00:00 2001 +From: Christophe Giboudeaux +Date: Thu, 4 Jun 2020 16:00:38 +0200 +Subject: [PATCH] Fix build with Qt 5.15 + +--- + src/kcmodule/pressurecurvewidget.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/kcmodule/pressurecurvewidget.cpp b/src/kcmodule/pressurecurvewidget.cpp +index 0c943b3..f047a6c 100644 +--- a/src/kcmodule/pressurecurvewidget.cpp ++++ b/src/kcmodule/pressurecurvewidget.cpp +@@ -22,6 +22,7 @@ + //Qt includes + #include + #include ++#include + #include + #include + #include +-- +GitLab -- cgit v1.2.3 From 20d7c6b1a29abfff32e98f2ad12672a15bf8aacf Mon Sep 17 00:00:00 2001 From: Petr Hodina Date: Fri, 30 Sep 2022 22:09:02 +0200 Subject: gnu: Add kde-cli-tools. * gnu/packages/kde-plasma.scm (kde-cli-tools): New variable. * gnu/local.mk (dist_patch_DATA): Add patch. * gnu/packages/patches/kde-cli-tools-delay-mime-db.patch: New file. Signed-off-by: Marius Bakke --- gnu/local.mk | 1 + gnu/packages/kde-plasma.scm | 48 ++++++++++++++++++++++ .../patches/kde-cli-tools-delay-mime-db.patch | 26 ++++++++++++ 3 files changed, 75 insertions(+) create mode 100644 gnu/packages/patches/kde-cli-tools-delay-mime-db.patch (limited to 'gnu/local.mk') diff --git a/gnu/local.mk b/gnu/local.mk index 68ea09cb91..a8674cd6bd 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1388,6 +1388,7 @@ dist_patch_DATA = \ %D%/packages/patches/lightdm-vnc-color-depth.patch \ %D%/packages/patches/localed-xorg-keyboard.patch \ %D%/packages/patches/kcontacts-incorrect-country-name.patch \ + %D%/packages/patches/kde-cli-tools-delay-mime-db.patch \ %D%/packages/patches/kdiagram-Fix-missing-link-libraries.patch \ %D%/packages/patches/kiki-level-selection-crash.patch \ %D%/packages/patches/kiki-makefile.patch \ diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm index d229b6e7ea..e98c13c2bf 100644 --- a/gnu/packages/kde-plasma.scm +++ b/gnu/packages/kde-plasma.scm @@ -31,6 +31,7 @@ (define-module (gnu packages kde-plasma) #:use-module (guix gexp) #:use-module (guix build-system cmake) #:use-module (guix build-system qt) + #:use-module (gnu packages) #:use-module (gnu packages admin) #:use-module (gnu packages bash) #:use-module (gnu packages boost) @@ -365,6 +366,53 @@ (define-public kdecoration manager which re-parents a Client window to a window decoration frame.") (license license:lgpl3+))) +(define-public kde-cli-tools + (package + (name "kde-cli-tools") + (version "5.25.5") + (source (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/plasma/" + version "/" name "-" version ".tar.xz")) + (patches (search-patches "kde-cli-tools-delay-mime-db.patch")) + (sha256 + (base32 + "0i1lnkyb2bdvbhnr2wsgjy2sjichzxxqkvn30ca85rj21cavk2z3")))) + (build-system qt-build-system) + (arguments + (list #:tests? #f ;TODO: Failing sub-tests 3/7 + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'set-writable-location + (lambda* _ + (substitute* "keditfiletype/tests/filetypestest.cpp" + (("QStandardPaths::writableLocation.QStandardPaths::\ +GenericDataLocation.") + (string-append "\"" (getcwd) "/\""))))) + (add-before 'check 'setup-env + (lambda* _ + (setenv "HOME" (getcwd))))))) + (native-inputs (list extra-cmake-modules pkg-config shared-mime-info)) + (inputs (list kconfig + kdesu + kdoctools + kiconthemes + ki18n + kcmutils + kio + kservice + kwindowsystem + kactivities + kparts + plasma-workspace + qtx11extras + qtsvg-5)) + (synopsis "CLI tools for interacting with KDE") + (description "This package provides command-line tools based on +KDE Frameworks 5 to better interact with the system.") + (home-page "https://invent.kde.org/plasma/kde-cli-tools") + (license license:lgpl2.0+))) + (define-public kgamma (package (name "kgamma") diff --git a/gnu/packages/patches/kde-cli-tools-delay-mime-db.patch b/gnu/packages/patches/kde-cli-tools-delay-mime-db.patch new file mode 100644 index 0000000000..e29b3b192d --- /dev/null +++ b/gnu/packages/patches/kde-cli-tools-delay-mime-db.patch @@ -0,0 +1,26 @@ +From f8cfb96a1540fc3256af95adf8003b75c305183c Mon Sep 17 00:00:00 2001 +From: Petr Hodina +Date: Fri, 30 Sep 2022 21:55:55 +0200 +Subject: [PATCH] Add delay to update the mime db in testCreateMimeType test + function. + + +diff --git a/keditfiletype/tests/filetypestest.cpp b/keditfiletype/tests/filetypestest.cpp +index e58e6f2..a41d4ad 100644 +--- a/keditfiletype/tests/filetypestest.cpp ++++ b/keditfiletype/tests/filetypestest.cpp +@@ -315,6 +315,9 @@ private Q_SLOTS: + QVERIFY(data.isDirty()); + QVERIFY(data.sync()); + MimeTypeWriter::runUpdateMimeDatabase(); ++ // QMimeDatabase doesn't even try to update the cache if less than ++ // 5000 ms have passed (can't use qmime_secondsBetweenChecks) ++ QTest::qSleep(5000); + QMimeType mime = db.mimeTypeForName(mimeTypeName); + QVERIFY(mime.isValid()); + QCOMPARE(mime.comment(), fakeComment); + +base-commit: b5911cda17521156b22429436e19b508aa442a57 +-- +2.37.2 + -- cgit v1.2.3 From 82804298ad5587721628bbd1030248d0733a4359 Mon Sep 17 00:00:00 2001 From: Petr Hodina Date: Tue, 4 Oct 2022 20:55:37 +0200 Subject: gnu: libksysguard: Apply patch. * gnu/packages/kde-plasma.scm (libksysguard)[source]: Apply patch. * gnu/local.mk: Add patch. * gnu/packages/patches/libksysguard-qdiriterator-follow-symlinks.patch: New file. Signed-off-by: Marius Bakke --- gnu/local.mk | 1 + gnu/packages/kde-plasma.scm | 1 + ...libksysguard-qdiriterator-follow-symlinks.patch | 24 ++++++++++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 gnu/packages/patches/libksysguard-qdiriterator-follow-symlinks.patch (limited to 'gnu/local.mk') diff --git a/gnu/local.mk b/gnu/local.mk index a8674cd6bd..c524666a12 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1442,6 +1442,7 @@ dist_patch_DATA = \ %D%/packages/patches/libofa-ftbfs-2.diff \ %D%/packages/patches/libotr-test-auth-fix.patch \ %D%/packages/patches/libksieve-Fix-missing-link-libraries.patch \ + %D%/packages/patches/libksysguard-qdiriterator-follow-symlinks.patch \ %D%/packages/patches/libmad-armv7-thumb-pt1.patch \ %D%/packages/patches/libmad-armv7-thumb-pt2.patch \ %D%/packages/patches/libmad-length-check.patch \ diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm index ebed48234d..5af37e8de0 100644 --- a/gnu/packages/kde-plasma.scm +++ b/gnu/packages/kde-plasma.scm @@ -963,6 +963,7 @@ (define-public libksysguard (method url-fetch) (uri (string-append "mirror://kde/stable/plasma/" version "/libksysguard-" version ".tar.xz")) + (patches (search-patches "libksysguard-qdiriterator-follow-symlinks.patch")) (sha256 (base32 "1gqsjsdkp25abqqp4f6cv6ih199q9ad7q1a4lkhjgsh4h8jq1856")))) (native-inputs diff --git a/gnu/packages/patches/libksysguard-qdiriterator-follow-symlinks.patch b/gnu/packages/patches/libksysguard-qdiriterator-follow-symlinks.patch new file mode 100644 index 0000000000..ec4a34037d --- /dev/null +++ b/gnu/packages/patches/libksysguard-qdiriterator-follow-symlinks.patch @@ -0,0 +1,24 @@ +From 46164a50de4102d02ae9d1d480acdd4b12303db8 Mon Sep 17 00:00:00 2001 +From: Thomas Tuegel +Date: Wed, 14 Oct 2015 07:07:22 -0500 +Subject: [PATCH] qdiriterator follow symlinks + +--- + processui/scripting.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/processui/scripting.cpp b/processui/scripting.cpp +index efed8ff..841761a 100644 +--- a/processui/scripting.cpp ++++ b/processui/scripting.cpp +@@ -293,7 +293,7 @@ void Scripting::loadContextMenu() + const QStringList dirs = + QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, QStringLiteral("ksysguard/scripts/"), QStandardPaths::LocateDirectory); + for (const QString &dir : dirs) { +- QDirIterator it(dir, QStringList() << QStringLiteral("*.desktop"), QDir::NoFilter, QDirIterator::Subdirectories); ++ QDirIterator it(dir, QStringList() << QStringLiteral("*.desktop"), QDir::NoFilter, QDirIterator::Subdirectories | QDirIterator::FollowSymlinks); + while (it.hasNext()) { + scripts.append(it.next()); + } +-- +2.5.2 -- cgit v1.2.3 From 0fec067efec0e70a9cd3c25d7a3aa40401667b4a Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Tue, 22 Nov 2022 06:54:02 +0100 Subject: gnu: ecl: Remove 16.1.3. This package fails to build and has no users in Guix. * gnu/packages/sagemath.scm (ecl-16): Remove variable. * gnu/packages/patches/ecl-16-format-directive-limit.patch, gnu/packages/patches/ecl-16-ignore-stderr-write-error.patch, gnu/packages/patches/ecl-16-libffi.patch: Delete files. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. --- gnu/local.mk | 3 - .../patches/ecl-16-format-directive-limit.patch | 83 ---------------------- .../patches/ecl-16-ignore-stderr-write-error.patch | 17 ----- gnu/packages/patches/ecl-16-libffi.patch | 16 ----- gnu/packages/sagemath.scm | 21 ------ 5 files changed, 140 deletions(-) delete mode 100644 gnu/packages/patches/ecl-16-format-directive-limit.patch delete mode 100644 gnu/packages/patches/ecl-16-ignore-stderr-write-error.patch delete mode 100644 gnu/packages/patches/ecl-16-libffi.patch (limited to 'gnu/local.mk') diff --git a/gnu/local.mk b/gnu/local.mk index c524666a12..3b0e6b0c2c 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1044,9 +1044,6 @@ dist_patch_DATA = \ %D%/packages/patches/dstat-skip-devices-without-io.patch \ %D%/packages/patches/dvd+rw-tools-add-include.patch \ %D%/packages/patches/dynaconf-unvendor-deps.patch \ - %D%/packages/patches/ecl-16-format-directive-limit.patch \ - %D%/packages/patches/ecl-16-ignore-stderr-write-error.patch \ - %D%/packages/patches/ecl-16-libffi.patch \ %D%/packages/patches/efibootmgr-remove-extra-decl.patch \ %D%/packages/patches/efivar-211.patch \ %D%/packages/patches/eigen-fix-strict-aliasing-bug.patch \ diff --git a/gnu/packages/patches/ecl-16-format-directive-limit.patch b/gnu/packages/patches/ecl-16-format-directive-limit.patch deleted file mode 100644 index 237db92722..0000000000 --- a/gnu/packages/patches/ecl-16-format-directive-limit.patch +++ /dev/null @@ -1,83 +0,0 @@ -Patch backported by Sage. - -Fix from upstream that happens to work around -https://trac.sagemath.org/ticket/23011 -diff --git a/src/lsp/format.lsp b/src/lsp/format.lsp -index 77ca799..53b887c 100644 ---- a/src/lsp/format.lsp -+++ b/src/lsp/format.lsp -@@ -307,11 +307,13 @@ - :start (format-directive-start struct) - :end (format-directive-end struct)))) - -+(defconstant +format-directive-limit+ (1+ (char-code #\~))) -+ - #+formatter - (defparameter *format-directive-expanders* -- (make-array char-code-limit :initial-element nil)) -+ (make-array +format-directive-limit+ :initial-element nil)) - (defparameter *format-directive-interpreters* -- (make-array char-code-limit :initial-element nil)) -+ (make-array +format-directive-limit+ :initial-element nil)) - - (defparameter *default-format-error-control-string* nil) - (defparameter *default-format-error-offset* nil) -@@ -550,24 +552,24 @@ - (write-string directive stream) - (interpret-directive-list stream (cdr directives) orig-args args)) - (#-ecl format-directive #+ecl vector -+ (multiple-value-bind -+ (new-directives new-args) -+ (let* ((code (char-code (format-directive-character directive))) -+ (function -+ (and (< code +format-directive-limit+) -+ (svref *format-directive-interpreters* code))) -+ (*default-format-error-offset* -+ (1- (format-directive-end directive)))) -+ (unless function -+ (error 'format-error -+ :complaint "Unknown format directive.")) - (multiple-value-bind - (new-directives new-args) -- (let ((function -- (svref *format-directive-interpreters* -- (char-code (format-directive-character -- directive)))) -- (*default-format-error-offset* -- (1- (format-directive-end directive)))) -- (unless function -- (error 'format-error -- :complaint "Unknown format directive.")) -- (multiple-value-bind -- (new-directives new-args) -- (funcall function stream directive -- (cdr directives) orig-args args) -- (values new-directives new-args))) -- (interpret-directive-list stream new-directives -- orig-args new-args))))) -+ (funcall function stream directive -+ (cdr directives) orig-args args) -+ (values new-directives new-args))) -+ (interpret-directive-list stream new-directives -+ orig-args new-args))))) - args)) - - -@@ -639,11 +641,12 @@ - (values `(write-string ,directive stream) - more-directives)) - (format-directive -- (let ((expander -- (aref *format-directive-expanders* -- (char-code (format-directive-character directive)))) -- (*default-format-error-offset* -- (1- (format-directive-end directive)))) -+ (let* ((code (char-code (format-directive-character directive))) -+ (expander -+ (and (< code +format-directive-limit+) -+ (svref *format-directive-expanders* code))) -+ (*default-format-error-offset* -+ (1- (format-directive-end directive)))) - (if expander - (funcall expander directive more-directives) - (error 'format-error diff --git a/gnu/packages/patches/ecl-16-ignore-stderr-write-error.patch b/gnu/packages/patches/ecl-16-ignore-stderr-write-error.patch deleted file mode 100644 index 42d213c0e9..0000000000 --- a/gnu/packages/patches/ecl-16-ignore-stderr-write-error.patch +++ /dev/null @@ -1,17 +0,0 @@ -Patch adapted from Sage. -diff -Naur ecl-16.1.2.orig/src/c/file.d ecl-16.1.2/src/c/file.d ---- ecl-16.1.2.orig/src/c/file.d 2016-05-11 13:10:51.867673867 +1200 -+++ ecl-16.1.2/src/c/file.d 2016-05-11 14:44:48.121907307 +1200 -@@ -3354,8 +3354,10 @@ - ecl_disable_interrupts(); - do { - out = fwrite(c, sizeof(char), n, IO_STREAM_FILE(strm)); -- } while (out < n && restartable_io_error(strm, "fwrite")); -- ecl_enable_interrupts(); -+ /* Ignore write errors to stderr to avoid an infinite loop */ -+ } while (out < n && (IO_STREAM_FILE(strm) != stderr) && restartable_io_error(strm, "fwrite")); -+ -+ ecl_enable_interrupts(); - return out; - } - diff --git a/gnu/packages/patches/ecl-16-libffi.patch b/gnu/packages/patches/ecl-16-libffi.patch deleted file mode 100644 index fc06a07606..0000000000 --- a/gnu/packages/patches/ecl-16-libffi.patch +++ /dev/null @@ -1,16 +0,0 @@ -Patch adapted from Sage. Allows building ECL on libffi 3.3. -diff --git a/src/c/ffi.d b/src/c/ffi.d -index 8861303e..8a959c23 100644 ---- a/src/c/ffi.d -+++ b/src/c/ffi.d -@@ -133,8 +133,8 @@ static struct { - #elif defined(X86_WIN64) - {@':win64', FFI_WIN64}, - #elif defined(X86_ANY) || defined(X86) || defined(X86_64) -- {@':cdecl', FFI_SYSV}, -- {@':sysv', FFI_SYSV}, -+ {@':cdecl', FFI_UNIX64}, -+ {@':sysv', FFI_UNIX64}, - {@':unix64', FFI_UNIX64}, - #endif - }; diff --git a/gnu/packages/sagemath.scm b/gnu/packages/sagemath.scm index 4542bc1c88..3d8c07b813 100644 --- a/gnu/packages/sagemath.scm +++ b/gnu/packages/sagemath.scm @@ -170,27 +170,6 @@ (define-public libhomfly (license license:public-domain) (home-page "https://github.com/miguelmarco/libhomfly"))) -;; Sage 9.1 doesn't build with ECL 20. This won't be necessary once 9.2 is -;; released. See https://trac.sagemath.org/ticket/22191 -(define-public ecl-16 - (package - (inherit ecl) - (version "16.1.3") - (source - (origin - (method url-fetch) - (uri (string-append - "https://common-lisp.net/project/ecl/static/files/release/ecl" - "-" version ".tgz")) - (sha256 - (base32 "0m0j24w5d5a9dwwqyrg0d35c0nys16ijb4r0nyk87yp82v38b9bn")) - (patches (search-patches - "ecl-16-libffi.patch" - "ecl-16-ignore-stderr-write-error.patch" - "ecl-16-format-directive-limit.patch")))) - ;; Current ECL uses LGPL 2.1+ - (license license:lgpl2.0+))) - (define-public pynac (package (name "pynac") -- cgit v1.2.3 From 82c43b276dd5e60c81ad2c040a9d945befc4bc88 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Tue, 15 Nov 2022 14:05:36 -0500 Subject: gnu: linux-libre: Enable building info doc. * gnu/packages/patches/linux-libre-infodocs-target.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/linux.scm (linux-libre-6.0-source, linux-libre-5.15-source) (linux-libre-5.10-source): Apply above patch. (doc-supported?): New procedure. (make-linux-libre) [DOC-SUPPORTED?]: Add new patch in the default patches used. Add a BUILD-DOC? argument. (make-linux-libre*): Add a BUILD-DOC? argument. Validate BUILD-DOC? for supported VERSION. [arguments]: Conditionally add the build-doc and install-doc phases. [native-inputs]: Conditionally add fontconfig, graphviz, python-wrapper, python-sphinx, texinfo and which. --- gnu/local.mk | 3 +- gnu/packages/linux.scm | 273 ++++++++++++--------- .../patches/linux-libre-infodocs-target.patch | 88 +++++++ 3 files changed, 250 insertions(+), 114 deletions(-) create mode 100644 gnu/packages/patches/linux-libre-infodocs-target.patch (limited to 'gnu/local.mk') diff --git a/gnu/local.mk b/gnu/local.mk index 3b0e6b0c2c..7278c50e4f 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1482,7 +1482,8 @@ dist_patch_DATA = \ %D%/packages/patches/lierolibre-remove-arch-warning.patch \ %D%/packages/patches/lierolibre-try-building-other-arch.patch \ %D%/packages/patches/linbox-fix-pkgconfig.patch \ - %D%/packages/patches/linphone-desktop-without-sdk.patch \ + %D%/packages/patches/linphone-desktop-without-sdk.patch \ + %D%/packages/patches/linux-libre-infodocs-target.patch \ %D%/packages/patches/linux-libre-support-for-Pinebook-Pro.patch \ %D%/packages/patches/linux-pam-no-setfsuid.patch \ %D%/packages/patches/linuxdcpp-openssl-1.1.patch \ diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 263772da7b..8727ddd76a 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -33,7 +33,7 @@ ;;; Copyright © 2018, 2019 Pierre Langlois ;;; Copyright © 2018 Vasile Dumitrascu ;;; Copyright © 2019 Tim Gesthuizen -;;; Copyright © 2019, 2020, 2021 Maxim Cournoyer +;;; Copyright © 2019, 2020, 2021, 2022 Maxim Cournoyer ;;; Copyright © 2019 Stefan Stefanović ;;; Copyright © 2019-2022 Brice Waegeneire ;;; Copyright © 2019 Kei Kebreau @@ -108,8 +108,9 @@ (define-module (gnu packages linux) #:use-module (gnu packages docbook) #:use-module (gnu packages documentation) #:use-module (gnu packages elf) - #:use-module (gnu packages flex) #:use-module (gnu packages file) + #:use-module (gnu packages flex) + #:use-module (gnu packages fontutils) #:use-module (gnu packages freedesktop) #:use-module (gnu packages gawk) #:use-module (gnu packages gcc) @@ -119,6 +120,7 @@ (define-module (gnu packages linux) #:use-module (gnu packages gnupg) #:use-module (gnu packages golang) #:use-module (gnu packages gperf) + #:use-module (gnu packages graphviz) #:use-module (gnu packages gstreamer) #:use-module (gnu packages gtk) #:use-module (gnu packages haskell-apps) @@ -494,17 +496,20 @@ (define (source-with-patches source patches) (define-public linux-libre-6.0-source (source-with-patches linux-libre-6.0-pristine-source (list %boot-logo-patch - %linux-libre-arm-export-__sync_icache_dcache-patch))) + %linux-libre-arm-export-__sync_icache_dcache-patch + (search-patch "linux-libre-infodocs-target.patch")))) (define-public linux-libre-5.15-source (source-with-patches linux-libre-5.15-pristine-source (list %boot-logo-patch - %linux-libre-arm-export-__sync_icache_dcache-patch))) + %linux-libre-arm-export-__sync_icache_dcache-patch + (search-patch "linux-libre-infodocs-target.patch")))) (define-public linux-libre-5.10-source (source-with-patches linux-libre-5.10-pristine-source (list %boot-logo-patch - %linux-libre-arm-export-__sync_icache_dcache-patch))) + %linux-libre-arm-export-__sync_icache_dcache-patch + (search-patch "linux-libre-infodocs-target.patch")))) (define-public linux-libre-5.4-source (source-with-patches linux-libre-5.4-pristine-source @@ -759,6 +764,11 @@ (define (config->string options) ;;; Kernel package utilities. ;;; +(define (doc-supported? version) + ;; Versions older than 5.10 have different enough build scripts that the + ;; infodocs patch doesn't apply. + (version>=? version "5.10")) + (define* (make-linux-libre version gnu-revision hash-string supported-systems #:key (extra-version #f) @@ -767,7 +777,13 @@ (define* (make-linux-libre version gnu-revision hash-string supported-systems (configuration-file #f) (defconfig "defconfig") (extra-options %default-extra-linux-options) - (patches (list %boot-logo-patch))) + (build-doc? (doc-supported? version)) + (patches + `(,%boot-logo-patch + ,@(if build-doc? + (list (search-patch + "linux-libre-infodocs-target.patch")) + '())))) (make-linux-libre* version gnu-revision (origin (method url-fetch) @@ -778,7 +794,8 @@ (define* (make-linux-libre version gnu-revision hash-string supported-systems #:extra-version extra-version #:configuration-file configuration-file #:defconfig defconfig - #:extra-options extra-options)) + #:extra-options extra-options + #:build-doc? build-doc?)) (define* (make-linux-libre* version gnu-revision source supported-systems #:key @@ -787,7 +804,10 @@ (define* (make-linux-libre* version gnu-revision source supported-systems ;; See kernel-config for an example. (configuration-file #f) (defconfig "defconfig") - (extra-options %default-extra-linux-options)) + (extra-options %default-extra-linux-options) + (build-doc? (doc-supported? version))) + (when (and build-doc? (not (doc-supported? version))) + (error "unsupported 'build-doc?' for kernels <5.10")) (package (name (if extra-version (string-append "linux-libre-" extra-version) @@ -796,11 +816,127 @@ (define* (make-linux-libre* version gnu-revision source supported-systems (source source) (supported-systems supported-systems) (build-system gnu-build-system) + (arguments + (list + #:modules '((guix build gnu-build-system) + (guix build utils) + (srfi srfi-1) + (srfi srfi-26) + (ice-9 ftw) + (ice-9 match)) + #:tests? #f + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-/bin/pwd + (lambda _ + (substitute* (find-files + "." "^Makefile(\\.include)?$") + (("/bin/pwd") "pwd")))) + #$@(if build-doc? + #~((add-before 'configure 'build-doc + (lambda _ + (substitute* "Documentation/Makefile" + ;; Remove problematic environment check script. + ((".*scripts/sphinx-pre-install.*") "")) + (invoke "make" "infodocs"))) + (add-after 'build-doc 'install-doc + (lambda _ + (with-directory-excursion "Documentation/output" + (invoke "make" "-C" "texinfo" "install-info" + (string-append "infodir=" #$output + "/share/info")))))) + #~()) + (replace 'configure + (lambda* (#:key inputs target #:allow-other-keys) + ;; Avoid introducing timestamps. + (setenv "KCONFIG_NOTIMESTAMP" "1") + (setenv "KBUILD_BUILD_TIMESTAMP" (getenv "SOURCE_DATE_EPOCH")) + + ;; Other variables useful for reproducibility. + (setenv "KBUILD_BUILD_USER" "guix") + (setenv "KBUILD_BUILD_HOST" "guix") + + ;; Set ARCH and CROSS_COMPILE. + (let ((arch #$(platform-linux-architecture + (lookup-platform-by-target-or-system + (or (%current-target-system) + (%current-system)))))) + (setenv "ARCH" arch) + (format #t "`ARCH' set to `~a'~%" (getenv "ARCH")) + + (when target + (setenv "CROSS_COMPILE" (string-append target "-")) + (format #t "`CROSS_COMPILE' set to `~a'~%" + (getenv "CROSS_COMPILE")))) + + (setenv "EXTRAVERSION" + #$(and extra-version + (string-append "-" extra-version))) + + (let ((config (assoc-ref inputs "kconfig"))) + + ;; Use a custom kernel configuration file or a default + ;; configuration file. + (if config + (begin + (copy-file config ".config") + (chmod ".config" #o666)) + (invoke "make" #$defconfig)) + + ;; Appending works even when the option wasn't in the + ;; file. The last one prevails if duplicated. + (let ((port (open-file ".config" "a")) + (extra-configuration #$(config->string extra-options))) + (display extra-configuration port) + (close-port port)) + + (invoke "make" "oldconfig")))) + (replace 'install + (lambda* (#:key inputs native-inputs #:allow-other-keys) + (let ((moddir (string-append #$output "/lib/modules")) + (dtbdir (string-append #$output "/lib/dtbs"))) + ;; Install kernel image, kernel configuration and link map. + (for-each (lambda (file) (install-file file #$output)) + (find-files "." "^(\\.config|bzImage|zImage|Image\ +|vmlinuz|System\\.map|Module\\.symvers)$")) + ;; Install device tree files + (unless (null? (find-files "." "\\.dtb$")) + (mkdir-p dtbdir) + (invoke "make" (string-append "INSTALL_DTBS_PATH=" dtbdir) + "dtbs_install")) + ;; Install kernel modules + (mkdir-p moddir) + (invoke "make" + ;; Disable depmod because the Guix system's + ;; module directory is an union of potentially + ;; multiple packages. It is not possible to use + ;; depmod to usefully calculate a dependency + ;; graph while building only one of them. + "DEPMOD=true" + (string-append "MODULE_DIR=" moddir) + (string-append "INSTALL_PATH=" #$output) + (string-append "INSTALL_MOD_PATH=" #$output) + "INSTALL_MOD_STRIP=1" + "modules_install") + (let* ((versions (filter (lambda (name) + (not (string-prefix? "." name))) + (scandir moddir))) + (version (match versions + ((x) x)))) + ;; There are symlinks to the build and source directory. + ;; Both will point to target /tmp/guix-build* and thus + ;; not be useful in a profile. Delete the symlinks. + (false-if-file-not-found + (delete-file + (string-append moddir "/" version "/build"))) + (false-if-file-not-found + (delete-file + (string-append moddir "/" version "/source")))))))))) (native-inputs `(("perl" ,perl) ("bc" ,bc) ("openssl" ,openssl) - ("elfutils" ,elfutils) ; Needed to enable CONFIG_STACK_VALIDATION + ("elfutils" ,elfutils) ;needed to enable CONFIG_STACK_VALIDATION ("flex" ,flex) ("bison" ,bison) @@ -809,6 +945,18 @@ (define* (make-linux-libre* version gnu-revision source supported-systems ("mpfr" ,mpfr) ("mpc" ,mpc) + ;; For generating the documentation. + ,@(if build-doc? + ;; TODO: remove fontconfig after the 5.10 kernel is dropped. + ;; Also replace python-wrapper by python at that time. + `(("fontconfig" ,fontconfig) + ("graphviz" ,graphviz) + ("python" ,python-wrapper) + ("python-sphinx" ,python-sphinx) + ("texinfo" ,texinfo) + ("which" ,which)) + '()) + ,@(match (let ((arch (platform-linux-architecture (lookup-platform-by-target-or-system (or (%current-target-system) @@ -817,115 +965,14 @@ (define* (make-linux-libre* version gnu-revision source supported-systems (configuration-file arch #:variant (version-major+minor version)))) - (#f ;no config for this platform + (#f ;no config for this platform '()) ((? string? config) `(("kconfig" ,config)))))) - (arguments - (list #:modules '((guix build gnu-build-system) - (guix build utils) - (srfi srfi-1) - (srfi srfi-26) - (ice-9 ftw) - (ice-9 match)) - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'patch-/bin/pwd - (lambda _ - (substitute* (find-files "." "^Makefile(\\.include)?$") - (("/bin/pwd") "pwd")))) - (replace 'configure - (lambda* (#:key inputs target #:allow-other-keys) - ;; Avoid introducing timestamps. - (setenv "KCONFIG_NOTIMESTAMP" "1") - (setenv "KBUILD_BUILD_TIMESTAMP" - (getenv "SOURCE_DATE_EPOCH")) - - ;; Other variables useful for reproducibility. - (setenv "KBUILD_BUILD_USER" "guix") - (setenv "KBUILD_BUILD_HOST" "guix") - - ;; Set ARCH and CROSS_COMPILE. - (let ((arch #$(platform-linux-architecture - (lookup-platform-by-target-or-system - (or (%current-target-system) - (%current-system)))))) - (setenv "ARCH" arch) - (format #t "`ARCH' set to `~a'~%" (getenv "ARCH")) - - (when target - (setenv "CROSS_COMPILE" (string-append target "-")) - (format #t "`CROSS_COMPILE' set to `~a'~%" - (getenv "CROSS_COMPILE")))) - - (setenv "EXTRAVERSION" - #$(and extra-version - (string-append "-" extra-version))) - - (let ((config (assoc-ref inputs "kconfig"))) - - ;; Use a custom kernel configuration file or a default - ;; configuration file. - (if config - (begin - (copy-file config ".config") - (chmod ".config" #o666)) - (invoke "make" #$defconfig)) - - ;; Appending works even when the option wasn't in the - ;; file. The last one prevails if duplicated. - (let ((port (open-file ".config" "a")) - (extra-configuration #$(config->string extra-options))) - (display extra-configuration port) - (close-port port)) - - (invoke "make" "oldconfig")))) - (replace 'install - (lambda* (#:key inputs native-inputs #:allow-other-keys) - (let ((moddir (string-append #$output "/lib/modules")) - (dtbdir (string-append #$output "/lib/dtbs"))) - ;; Install kernel image, kernel configuration and link map. - (for-each (lambda (file) (install-file file #$output)) - (find-files "." "^(\\.config|bzImage|zImage|Image|vmlinuz|System\\.map|Module\\.symvers)$")) - ;; Install device tree files - (unless (null? (find-files "." "\\.dtb$")) - (mkdir-p dtbdir) - (invoke "make" (string-append "INSTALL_DTBS_PATH=" dtbdir) - "dtbs_install")) - ;; Install kernel modules - (mkdir-p moddir) - (invoke "make" - ;; Disable depmod because the Guix system's - ;; module directory is an union of potentially - ;; multiple packages. It is not possible to use - ;; depmod to usefully calculate a dependency - ;; graph while building only one of them. - "DEPMOD=true" - (string-append "MODULE_DIR=" moddir) - (string-append "INSTALL_PATH=" #$output) - (string-append "INSTALL_MOD_PATH=" #$output) - "INSTALL_MOD_STRIP=1" - "modules_install") - (let* ((versions (filter (lambda (name) - (not (string-prefix? "." name))) - (scandir moddir))) - (version (match versions - ((x) x)))) - ;; There are symlinks to the build and source directory. - ;; Both will point to target /tmp/guix-build* and thus - ;; not be useful in a profile. Delete the symlinks. - (false-if-file-not-found - (delete-file - (string-append moddir "/" version "/build"))) - (false-if-file-not-found - (delete-file - (string-append moddir "/" version "/source")))))))) - #:tests? #f)) (home-page "https://www.gnu.org/software/linux-libre/") (synopsis "100% free redistribution of a cleaned Linux kernel") - (description - "GNU Linux-Libre is a free (as in freedom) variant of the Linux kernel. -It has been modified to remove all non-free binary blobs.") + (description "GNU Linux-Libre is a free (as in freedom) variant of the +Linux kernel. It has been modified to remove all non-free binary blobs.") (license license:gpl2) (properties '((max-silent-time . 3600))))) ;don't timeout on blob scan. diff --git a/gnu/packages/patches/linux-libre-infodocs-target.patch b/gnu/packages/patches/linux-libre-infodocs-target.patch new file mode 100644 index 0000000000..e9e6495c26 --- /dev/null +++ b/gnu/packages/patches/linux-libre-infodocs-target.patch @@ -0,0 +1,88 @@ +Upstream status: https://marc.info/?l=linux-doc&m=166861669723994&w=2 + +From 7edb5b278ee383ff9bed525329b2cdbe22317bf2 Mon Sep 17 00:00:00 2001 +From: Maxim Cournoyer +Date: Mon, 14 Nov 2022 22:51:11 -0500 +Subject: [PATCH] doc: add texinfodocs and infodocs targets + +Sphinx supports generating Texinfo sources and Info documentation, +which can be navigated easily and is convenient to search (via the +indexed nodes or anchors, for example). + +This change also causes the html output to appear under its own output +sub-directory, which makes it easier to install, since it's clean from +.doctrees or other output formats. + +Signed-off-by: Maxim Cournoyer +--- + Documentation/Makefile | 13 ++++++++++++- + Documentation/userspace-api/media/Makefile | 3 ++- + Makefile | 2 +- + 3 files changed, 15 insertions(+), 3 deletions(-) + +diff --git a/Documentation/Makefile b/Documentation/Makefile +index 64d44c1ecad3..bd8dac560633 100644 +--- a/Documentation/Makefile ++++ b/Documentation/Makefile +@@ -93,7 +93,16 @@ quiet_cmd_sphinx = SPHINX $@ --> file://$(abspath $(BUILDDIR)/$3/$4) + + htmldocs: + @$(srctree)/scripts/sphinx-pre-install --version-check +- @+$(foreach var,$(SPHINXDIRS),$(call loop_cmd,sphinx,html,$(var),,$(var))) ++ @+$(foreach var,$(SPHINXDIRS),$(call loop_cmd,sphinx,html,$(var),html,$(var))) ++ ++texinfodocs: ++ @$(srctree)/scripts/sphinx-pre-install --version-check ++ @+$(foreach var,$(SPHINXDIRS),$(call loop_cmd,sphinx,texinfo,$(var),texinfo,$(var))) ++ ++# Note: the 'info' Make target is generated by sphinx itself when ++# running the texinfodocs target define above. ++infodocs: texinfodocs ++ $(MAKE) -C $(BUILDDIR)/texinfo info + + linkcheckdocs: + @$(foreach var,$(SPHINXDIRS),$(call loop_cmd,sphinx,linkcheck,$(var),,$(var))) +@@ -143,6 +152,8 @@ cleandocs: + dochelp: + @echo ' Linux kernel internal documentation in different formats from ReST:' + @echo ' htmldocs - HTML' ++ @echo ' texinfodocs - Texinfo' ++ @echo ' infodocs - Info' + @echo ' latexdocs - LaTeX' + @echo ' pdfdocs - PDF' + @echo ' epubdocs - EPUB' +diff --git a/Documentation/userspace-api/media/Makefile b/Documentation/userspace-api/media/Makefile +index 00922aa7efde..3d8aaf5c253b 100644 +--- a/Documentation/userspace-api/media/Makefile ++++ b/Documentation/userspace-api/media/Makefile +@@ -47,10 +47,11 @@ $(BUILDDIR)/lirc.h.rst: ${UAPI}/lirc.h ${PARSER} $(SRC_DIR)/lirc.h.rst.exception + + # Media build rules + +-.PHONY: all html epub xml latex ++.PHONY: all html texinfo epub xml latex + + all: $(IMGDOT) $(BUILDDIR) ${TARGETS} + html: all ++texinfo: all + epub: all + xml: all + latex: $(IMGPDF) all +diff --git a/Makefile b/Makefile +index 58cd4f5e1c3a..b3266c408b6c 100644 +--- a/Makefile ++++ b/Makefile +@@ -1785,7 +1785,7 @@ $(help-board-dirs): help-%: + # Documentation targets + # --------------------------------------------------------------------------- + DOC_TARGETS := xmldocs latexdocs pdfdocs htmldocs epubdocs cleandocs \ +- linkcheckdocs dochelp refcheckdocs ++ linkcheckdocs dochelp refcheckdocs texinfodocs infodocs + PHONY += $(DOC_TARGETS) + $(DOC_TARGETS): + $(Q)$(MAKE) $(build)=Documentation $@ + +base-commit: 81e7cfa3a9eb4ba6993a9c71772fdab21bc5d870 +-- +2.38.1 + -- cgit v1.2.3