[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] gnu: xfce: Don’t wrap startxfce4. (Re: Xfce collision)
From: |
宋文武 |
Subject: |
[PATCH] gnu: xfce: Don’t wrap startxfce4. (Re: Xfce collision) |
Date: |
Mon, 29 Feb 2016 16:48:43 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Andreas Enge <address@hidden> writes:
> Hello,
>
> when installing xfce, there is a collision with xfce4-session for the file
> startxfce4.
>
> The reason is the following:
> (alist-replace
> 'install
> (lambda* (#:key outputs #:allow-other-keys)
> (let* ((out (assoc-ref outputs "out"))
> (bin (string-append out "/bin"))
> (prog (string-append bin "/startxfce4")))
> (mkdir-p bin)
> (symlink (string-append
> (assoc-ref %build-inputs "xfce4-session")
> "/bin/startxfce4")
> prog)
> (wrap-program prog
> ;; For xfce4-panel plugins.
> `("X_XFCE4_LIB_DIRS" = ,(list (getenv "X_XFCE4_LIB_DIRS"))))))
> (propagated-inputs
> ...
> ("xfce4-session" ,xfce4-session)
>
> So if I understand correctly, the startxfce4 of xfce will end up being a
> wrapped version of the one in xfce4-session. However, if both are installed,
> could it not be possible that the non-wrapped version ends up in the profile?
When only the ‘xfce’ package is installed, the wrapped version is used.
I don’t know what will happen when both ‘xfce’ and ‘xfce4-session’ are
installed to a profile.
This package was introduced before the ‘etc/profile’ where enviroment
variables from search-paths are set. So, the wrapper is redundant now.
Here is the patch to remove it:
0001-gnu-xfce-Don-t-wrap-startxfce4.patch
Description: Text Data
- Xfce collision, Andreas Enge, 2016/02/25
- [PATCH] gnu: xfce: Don’t wrap startxfce4. (Re: Xfce collision), 宋文武, 2016/02/29
- [PATCH] gnu: xfce: Don’t wrap startxfce4. (Re: Xfce collision), 宋文武, 2016/02/29
- [PATCH] gnu: xfce: Don’t wrap startxfce4. (Re: Xfce collision),
宋文武 <=
- [PATCH] gnu: xfce: Don’t wrap startxfce4. (Re: Xfce collision), 宋文武, 2016/02/29
- [PATCH] gnu: xfce: Don’t wrap startxfce4. (Re: Xfce collision), 宋文武, 2016/02/29
- [PATCH] gnu: xfce: Don’t wrap startxfce4. (Re: Xfce collision), 宋文武, 2016/02/29
- [PATCH] gnu: xfce: Don’t wrap startxfce4. (Re: Xfce collision), 宋文武, 2016/02/29
- [PATCH] gnu: xfce: Don’t wrap startxfce4. (Re: Xfce collision), 宋文武, 2016/02/29
- [PATCH] gnu: xfce: Don’t wrap startxfce4. (Re: Xfce collision), 宋文武, 2016/02/29