emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#61458: closed ([PATCH] services: xorg-wrapper: Support xorg server i


From: GNU bug Tracking System
Subject: bug#61458: closed ([PATCH] services: xorg-wrapper: Support xorg server input)
Date: Sat, 25 Mar 2023 02:11:02 +0000

Your message dated Sat, 25 Mar 2023 10:11:04 +0800
with message-id <871qldinrb.fsf_-_@envs.net>
and subject line Re: bug#61458: [PATCH] services: xorg-wrapper: Support xorg 
server input
has caused the debbugs.gnu.org bug report #61458,
regarding [PATCH] services: xorg-wrapper: Support xorg server input
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
61458: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61458
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] services: xorg-wrapper: Support xorg server input Date: Sun, 12 Feb 2023 19:52:40 +0100 User-agent: mu4e 1.8.13; emacs 29.0.50
Hello Guix,

I would like to replace the Mesa package in my Xorg configuration. I
tried to do this with the following snippet:

```
(modify-services %desktop-services
  (slim-service-type config =>
                     (slim-configuration
                      (inherit config)
                      (xorg-configuration
                       (xorg-configuration
                        (server (replace-mesa xorg-server)))))))
```

But this unfortunately does not work, because the xorg-wrapper uses
static paths for the mesa, xkbcomp and xkeyboard-config packages in the
derivation.

The xserver starts now with the replaced mesa, but some paths still
point to the hard coded packages in Guix itself (and not the
replacement), which cause some things to not work.

This patch changes this to lookup the paths from the inputs of the
server field of the xorg-configuration instead. That way the correct
paths are setup in the xor-wrapper script. If those inputs are not found
for some reason it falls back to the current behavior, using the
packages from Guix.

Could you please review this?

Thanks, Roman.

Attachment: 0001-services-xorg-wrapper-Support-xorg-server-input-tran.patch
Description: Text Data

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message --- Subject: Re: bug#61458: [PATCH] services: xorg-wrapper: Support xorg server input Date: Sat, 25 Mar 2023 10:11:04 +0800 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Roman Scherer <roman@burningswell.com> writes:

>   services: xorg-wrapper: Support xorg server input rewriting.

Pushed with some commit description added:

    * gnu/services/xorg.scm (xorg-configuration-server-package-path)
    (xorg-configuration-dri-driver-path, xorg-configuration-xkb-bin-dir)
    (xorg-configuration-xkb-dir): New procedures.
    (xorg-wrapper): Use them for dri and xkb paths.

Thank you!


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]