all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "宋文武 via Guix-patches via" <guix-patches@gnu.org>
To: Zheng Junjie <873216071@qq.com>
Cc: guix-devel@gnu.org, andreas@enge.fr, 64798@debbugs.gnu.org
Subject: [bug#64798] [PATCH 000/209] update kde package and add plasme desktop
Date: Sat, 05 Aug 2023 19:50:26 +0800	[thread overview]
Message-ID: <87o7jlbtdp.fsf@envs.net> (raw)
In-Reply-To: <87cz057b5g.fsf@envs.net> ("宋文武"'s message of "Wed, 02 Aug 2023 22:48:43 +0800")

[-- Attachment #1: Type: text/plain, Size: 1243 bytes --]

宋文武 <iyzsong@envs.net> writes:

> 宋文武 <iyzsong@envs.net> writes:
>
>> Zheng Junjie <873216071@qq.com> writes:
>>
>>> hello!
>>>
>>> I updated some kde package, and add plasma desktop.
>>
>> Hello, I had pick those patches from your Github repo, and modify
>> some commit messages (mostly from 'use ...' to 'Use ...', 'add ...' to
>> 'Add ...') to hopefully align better with our style.
>>
>> And put it here https://codeberg.org/iyzsong/guix with my wip (building
>> qtwebengine now...), I plan to update all KDE packages (games, internet,
>> multimedia, etc.), and will push to a kde-updates branch on
>> git.savannah.gnu.org once it's in good shape.
>
> I have push a kde-updates branch to savannah, with plasma update to
> 5.27.7.  Applications are all build fine but some have runtime issues.
> I haven't got Plasma built due to substitute issues, will try later in
> next days...
>
> In addition to version updates, there have some changes:
>
> 2b9e2e65cf gnu: Remove kwayland-server.
> 08846c7ebf gnu: qgpgme: Propagate gpgme.
> b9e192ad9a gnu: Add qcoro-qt5.
> ab3eba1447 gnu: Add kpipewire.
>
> Review is welcome, Thanks!

Plasma build and works fine.
Also fixed 3 mahjongg games with:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-kajongg-Hardcode-paths-to-ogg123-and-python3.patch --]
[-- Type: text/x-patch, Size: 2418 bytes --]

From 1e4085670a149df7e9858ef6c52995415cf27037 Mon Sep 17 00:00:00 2001
Message-ID: <1e4085670a149df7e9858ef6c52995415cf27037.1691235884.git.iyzsong@member.fsf.org>
From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzsong@member.fsf.org>
Date: Sat, 5 Aug 2023 15:37:57 +0800
Subject: [PATCH 1/2] gnu: kajongg: Hardcode paths to 'ogg123' and 'python3'.

* gnu/packages/kde-games.scm (kajongg)[inputs]: Add vorbis-tools.
[arguments]<#:phases>: Hardcode paths to 'ogg123' and 'python3'.
---
 gnu/packages/kde-games.scm | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/kde-games.scm b/gnu/packages/kde-games.scm
index a47deb6c68..9e2b885c2b 100644
--- a/gnu/packages/kde-games.scm
+++ b/gnu/packages/kde-games.scm
@@ -37,7 +37,8 @@ (define-module (gnu packages kde-games)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz)
-  #:use-module (gnu packages qt))
+  #:use-module (gnu packages qt)
+  #:use-module (gnu packages xiph))
 
 (define-public ktuberling
   (package
@@ -300,7 +301,15 @@ (define-public kajongg
              (substitute* "src/mjresource.py"
                (("'share', 'kmahjongglib'" all)
                 (string-append "'" (assoc-ref inputs "libkmahjongg")
-                               "/share', 'kmahjongglib'")))))
+                               "/share', 'kmahjongglib'")))
+             (substitute* "src/sound.py"
+               (("oggBinary = 'ogg123'")
+                (format #f "oggBinary = '~a'"
+                        (search-input-file inputs "bin/ogg123"))))
+             (substitute* "src/common.py"
+               (("interpreterName = 'python3'")
+                (format #f "interpreterName = '~a'"
+                        (search-input-file inputs "bin/python3"))))))
          (add-after 'qt-wrap 'wrap
            (lambda* (#:key outputs #:allow-other-keys)
              (let ((out (assoc-ref outputs "out")))
@@ -327,7 +336,8 @@ (define-public kajongg
            python-qtpy
            python-zope-interface
            qtbase-5
-           qtsvg-5))
+           qtsvg-5
+           vorbis-tools))
     (home-page "https://apps.kde.org/kajongg/")
     (synopsis "Classical Mah Jongg game for 4 players")
     (description "Kajongg is the ancient Chinese board game for 4 players.

base-commit: 0a4490e4fd77a0dd50262d080bd024a2f41cdc4a
-- 
2.41.0


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: 0002-gnu-libkmahjongg-Make-its-tilset-available-to-games.patch --]
[-- Type: text/x-patch, Size: 2231 bytes --]

From 4c0a6635d81970da2f461757ff891f2528a57b5c Mon Sep 17 00:00:00 2001
Message-ID: <4c0a6635d81970da2f461757ff891f2528a57b5c.1691235884.git.iyzsong@member.fsf.org>
In-Reply-To: <1e4085670a149df7e9858ef6c52995415cf27037.1691235884.git.iyzsong@member.fsf.org>
References: <1e4085670a149df7e9858ef6c52995415cf27037.1691235884.git.iyzsong@member.fsf.org>
From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzsong@member.fsf.org>
Date: Sat, 5 Aug 2023 19:36:49 +0800
Subject: [PATCH 2/2] gnu: libkmahjongg: Make its tilset available to games.

* gnu/packages/kde-games.scm (libkmahjongg)[arguments]: Add a phase
to add its "$out/share" to XDG_DATA_DIRS.
---
 gnu/packages/kde-games.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/kde-games.scm b/gnu/packages/kde-games.scm
index 9e2b885c2b..8ed530d83e 100644
--- a/gnu/packages/kde-games.scm
+++ b/gnu/packages/kde-games.scm
@@ -27,6 +27,7 @@ (define-module (gnu packages kde-games)
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix build-system qt)
+  #:use-module (guix gexp)
   #:use-module (gnu packages bash)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages gl)
@@ -184,6 +185,24 @@ (define-public libkmahjongg
       (sha256
        (base32 "1a0c0q34h5yxwx76y6934ibn6hm1ip1hc2xvl11q1kaazq0alca3"))))
     (build-system qt-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'patch-tileset-dir
+            (lambda* (#:key inputs outputs #:allow-other-keys)
+              ;; Add "$out/share" to XDG_DATA_DIRS so that the default tileset
+              ;; is always available.
+              (substitute* "src/kmahjonggtileset.cpp"
+                (("_inited = true;")
+                 (format #f "QByteArray x = qgetenv(\"XDG_DATA_DIRS\");
+if (!x.isEmpty()) {
+  QString datadirs = QString::fromLocal8Bit(x) + QLatin1String(\":~a\");
+  qputenv(\"XDG_DATA_DIRS\", datadirs.toLocal8Bit());
+}
+_inited = true;"
+                         (string-append
+                          (assoc-ref outputs "out") "/share")))))))))
     (native-inputs
      (list extra-cmake-modules))
     (inputs
-- 
2.41.0


[-- Attachment #4: Type: text/plain, Size: 178 bytes --]


CC to guix-devel: Anyone can help to setup a CI job for this kde-updates
branch? (more than 2000 packages will need rebuild due to sdl2 -> fcitx -> extra-cmake-modules)
Thanks!

  reply	other threads:[~2023-08-05 11:51 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-23  8:09 [bug#64798] [PATCH 000/209] update kde package and add plasme desktop Zheng Junjie via Guix-patches via
2023-07-29  8:43 ` 宋文武 via Guix-patches via
2023-08-02 14:48   ` 宋文武 via Guix-patches via
2023-08-05 11:50     ` 宋文武 via Guix-patches via [this message]
2023-08-07 12:03     ` Andreas Enge
2023-08-08 12:39       ` 宋文武 via Guix-patches via
2023-08-08 14:34         ` Andreas Enge
2023-08-09  9:54           ` 宋文武 via Guix-patches via
2023-08-19  9:47             ` bug#53543: bug#64798: " Andreas Enge
2023-08-09 10:33           ` [bug#64798] " 宋文武 via Guix-patches via
2023-08-09 11:18             ` Andreas Enge
2023-08-10  9:58 ` [bug#64798] Request for merging "kde-updates" branch 宋文武 via Guix-patches via
2023-08-11 12:29   ` [bug#64798] bug#65199: " 宋文武 via Guix-patches via
2023-08-18 21:18     ` 宋文武 via Guix-patches via
2023-08-10 19:26 ` [bug#64798] [PATCH 000/209] update kde package and add plasma desktop Sughosha via Guix-patches via
2023-08-10 19:26   ` [bug#64798] [PATCH 1/3] gnu: plasma-systemmonitor: Add qqc2-desktop-style to inputs Sughosha via Guix-patches via
2023-08-10 19:26   ` [bug#64798] [PATCH 2/3] gnu: Add spectacle Sughosha via Guix-patches via
2023-08-10 19:26   ` [bug#64798] [PATCH 3/3] gnu: plasma: Add spectacle to inputs Sughosha via Guix-patches via
2023-08-11 10:40   ` [bug#64798] [PATCH 000/209] update kde package and add plasme desktop 宋文武 via Guix-patches via
2023-08-18 21:23   ` bug#64798: " 宋文武 via Guix-patches via
2023-08-12  0:05 ` [bug#64798] [PATCH] gnu: kio-extras: Add missing inputs Sughosha via Guix-patches via
2023-08-12  0:33 ` [bug#64798] [PATCH v2] " Sughosha via Guix-patches via
2023-08-12  0:54   ` [bug#64798] [PATCH 000/209] update kde package and add plasme desktop 宋文武 via Guix-patches via
2023-08-12 21:05 ` [bug#64798] [PATCH 0/9] Add more KDE applications Sughosha via Guix-patches via
2023-08-12 21:05   ` [bug#64798] [PATCH 1/9] gnu: Add libkdcraw Sughosha via Guix-patches via
2023-08-12 21:05   ` [bug#64798] [PATCH 2/9] gnu: Add kcolorpicker Sughosha via Guix-patches via
2023-08-12 21:05   ` [bug#64798] [PATCH 3/9] gnu: Add kimageannotator Sughosha via Guix-patches via
2023-08-12 21:05   ` [bug#64798] [PATCH 4/9] gnu: Add gwenview Sughosha via Guix-patches via
2023-08-12 21:05   ` [bug#64798] [PATCH 5/9] gnu: Add kolourpaint Sughosha via Guix-patches via
2023-08-12 21:05   ` [bug#64798] [PATCH 6/9] gnu: Add kommit Sughosha via Guix-patches via
2023-08-12 21:05   ` [bug#64798] [PATCH 7/9] gnu: Add kompare Sughosha via Guix-patches via
2023-08-12 21:05   ` [bug#64798] [PATCH 8/9] gnu: Add falkon Sughosha via Guix-patches via
2023-08-12 21:05   ` [bug#64798] [PATCH 9/9] gnu: Add kcolorchooser Sughosha via Guix-patches via
2023-08-13  4:52   ` [bug#64798] [PATCH 000/209] update kde package and add plasme desktop 宋文武 via Guix-patches via
2023-08-16 11:04 ` [bug#64798] [PATCH] gnu: extra-cmake-modules: Fix libexec path Sughosha via Guix-patches via
2023-08-17 11:04   ` [bug#64798] [PATCH 000/209] update kde package and add plasme desktop 宋文武 via Guix-patches via
2023-08-16 12:33 ` [bug#64798] [PATCH] gnu: plasma-workspace: Add more inputs and patch path for qdbus Sughosha via Guix-patches via
2023-08-16 13:00 ` [bug#64798] [PATCH] gnu: Add kaccounts-providers Sughosha via Guix-patches via
2023-08-16 20:29 ` [bug#64798] [PATCH 1/2] gnu: Add kde-gtk-config Sughosha via Guix-patches via
2023-08-16 20:29   ` [bug#64798] [PATCH 2/2] gnu: plasma: " Sughosha via Guix-patches via
2023-08-18  8:11 ` [bug#64798] [PATCH 0/2] Fix libexec path in KDE packages Sughosha via Guix-patches via
2023-08-18  8:11   ` [bug#64798] [PATCH 1/2] gnu: kde-cli-tools: Fix path to kdesu Sughosha via Guix-patches via
2023-08-18  8:11   ` [bug#64798] [PATCH 2/2] gnu: plasma-workspace: Fix path to kf5 Sughosha via Guix-patches via
2023-08-18 21:20   ` [bug#64798] [PATCH 000/209] update kde package and add plasme desktop 宋文武 via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o7jlbtdp.fsf@envs.net \
    --to=guix-patches@gnu.org \
    --cc=64798@debbugs.gnu.org \
    --cc=873216071@qq.com \
    --cc=andreas@enge.fr \
    --cc=guix-devel@gnu.org \
    --cc=iyzsong@envs.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.