* native-search-paths search-path-specification do not work in glib-or-gtk-build-system
@ 2022-02-27 10:52 tumashu
2022-02-27 10:58 ` Maxime Devos
0 siblings, 1 reply; 5+ messages in thread
From: tumashu @ 2022-02-27 10:52 UTC (permalink / raw)
To: guix
[-- Attachment #1: Type: text/plain, Size: 4605 bytes --]
Hello:
I want to include CAJA_EXTENSION_DIRS setup in ~/.guix-profile/etc/profile file,
and the below code seem to do not work in glib-or-gtk-build-system
(native-search-paths
(list (search-path-specification
(variable "CAJA_EXTENSION_DIRS")
(files (list "lib/caja/extensions-2.0")))
Any other steps are needed?
----------------------------------------------------------------------------------------
cat ~/.guix-profile/etc/profile
# Source this file to define all the relevant environment variables in Bash
# for this profile. You may want to define the 'GUIX_PROFILE' environment
# variable to point to the "visible" name of the profile, like this:
#
# GUIX_PROFILE=/path/to/profile ; \
# source /path/to/profile/etc/profile
#
# When GUIX_PROFILE is undefined, the various environment variables refer
# to this specific profile generation.
export PATH="${GUIX_PROFILE:-/gnu/store/fial9qbkh215hydkdshw7m025m0hz741-profile}/bin:${GUIX_PROFILE:-/gnu/store/fial9qbkh215hydkdshw7m025m0hz741-profile}/sbin${PATH:+:}$PATH"
export XDG_DATA_DIRS="${GUIX_PROFILE:-/gnu/store/fial9qbkh215hydkdshw7m025m0hz741-profile}/share${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS"
export XCURSOR_PATH="${GUIX_PROFILE:-/gnu/store/fial9qbkh215hydkdshw7m025m0hz741-profile}/share/icons${XCURSOR_PATH:+:}$XCURSOR_PATH"
export GUIX_GTK3_PATH="${GUIX_PROFILE:-/gnu/store/fial9qbkh215hydkdshw7m025m0hz741-profile}/lib/gtk-3.0${GUIX_GTK3_PATH:+:}$GUIX_GTK3_PATH"
export GST_PLUGIN_SYSTEM_PATH="${GUIX_PROFILE:-/gnu/store/fial9qbkh215hydkdshw7m025m0hz741-profile}/lib/gstreamer-1.0${GST_PLUGIN_SYSTEM_PATH:+:}$GST_PLUGIN_SYSTEM_PATH"
export GDK_PIXBUF_MODULE_FILE="${GUIX_PROFILE:-/gnu/store/fial9qbkh215hydkdshw7m025m0hz741-profile}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache"
export FCITX_ADDON_DIRS="${GUIX_PROFILE:-/gnu/store/fial9qbkh215hydkdshw7m025m0hz741-profile}/lib/fcitx5${FCITX_ADDON_DIRS:+:}$FCITX_ADDON_DIRS"
export HGEXTENSIONPATH="${GUIX_PROFILE:-/gnu/store/fial9qbkh215hydkdshw7m025m0hz741-profile}/lib/python3.9/site-packages/hgext3rd${HGEXTENSIONPATH:+:}$HGEXTENSIONPATH"
export GIT_EXEC_PATH="${GUIX_PROFILE:-/gnu/store/fial9qbkh215hydkdshw7m025m0hz741-profile}/libexec/git-core"
export INFOPATH="${GUIX_PROFILE:-/gnu/store/fial9qbkh215hydkdshw7m025m0hz741-profile}/share/info${INFOPATH:+:}$INFOPATH"
export EMACSLOADPATH="${GUIX_PROFILE:-/gnu/store/fial9qbkh215hydkdshw7m025m0hz741-profile}/share/emacs/site-lisp${EMACSLOADPATH:+:}$EMACSLOADPATH"
----------------------------------------------------------------------------------------------------------------
The below is caja's define:
(define-public caja
(package
(name "caja")
(version "1.26.0")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://mate/" (version-major+minor version) "/"
name "-" version ".tar.xz"))
(sha256
(base32
"1m0ai2r8b2mvlr8bqj9n6vg1pwzlwa46fqpq206wgyx5sgxac052"))))
(build-system glib-or-gtk-build-system)
(arguments
(list
#:configure-flags #~(list "--disable-update-mimedb")
#:tests? #f ; tests fail even with display set
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'pre-check
(lambda _
;; Tests require a running X server.
(system "Xvfb :1 &")
(setenv "DISPLAY" ":1")
;; For the missing /etc/machine-id.
(setenv "DBUS_FATAL_WARNINGS" "0"))))))
(native-inputs
(list pkg-config
intltool
`(,glib "bin")
xorg-server
gobject-introspection))
(inputs
(list exempi
gtk+
gvfs
libexif
libnotify
libsm
libxml2
mate-desktop
startup-notification))
(native-search-paths
(list (search-path-specification
(variable "CAJA_EXTENSION_DIRS")
(files (list "lib/caja/extensions-2.0")))))
(home-page "https://mate-desktop.org/")
(synopsis "File manager for the MATE desktop")
(description
"Caja is the official file manager for the MATE desktop.
It allows for browsing directories, as well as previewing files and launching
applications associated with them. Caja is also responsible for handling the
icons on the MATE desktop. It works on local and remote file systems.")
;; There is a note about a TRADEMARKS_NOTICE file in COPYING which
;; does not exist. It is safe to assume that this is of no concern
;; for us.
(license license:gpl2+)))
[-- Attachment #2: Type: text/html, Size: 7466 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: native-search-paths search-path-specification do not work in glib-or-gtk-build-system
2022-02-27 10:52 native-search-paths search-path-specification do not work in glib-or-gtk-build-system tumashu
@ 2022-02-27 10:58 ` Maxime Devos
2022-02-27 11:25 ` tumashu
2022-02-28 0:22 ` tumashu
0 siblings, 2 replies; 5+ messages in thread
From: Maxime Devos @ 2022-02-27 10:58 UTC (permalink / raw)
To: tumashu, guix
[-- Attachment #1: Type: text/plain, Size: 432 bytes --]
tumashu schreef op zo 27-02-2022 om 18:52 [+0800]:
> I want to include CAJA_EXTENSION_DIRS setup in ~/.guix-
> profile/etc/profile file,
> and the below code seem to do not work in glib-or-gtk-build-system
The native-search-path will only have effect once there's actually a
caja extension in ~/.guix-profile/lib/caja/extensions-2.0. Try
installing caja and caja-extensions in the same profile.
Greetings
maxime.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re:Re: native-search-paths search-path-specification do not work in glib-or-gtk-build-system
2022-02-27 10:58 ` Maxime Devos
@ 2022-02-27 11:25 ` tumashu
2022-02-28 0:22 ` tumashu
1 sibling, 0 replies; 5+ messages in thread
From: tumashu @ 2022-02-27 11:25 UTC (permalink / raw)
To: Maxime Devos; +Cc: guix
[-- Attachment #1: Type: text/plain, Size: 767 bytes --]
works, thanks very much.
--
发自我的网易邮箱手机智能版
<br/><br/><br/>
----- Original Message -----
From: "Maxime Devos" <maximedevos@telenet.be>
To: tumashu <tumashu@163.com>, guix <guix-devel@gnu.org>
Sent: Sun, 27 Feb 2022 11:58:37 +0100
Subject: Re: native-search-paths search-path-specification do not work in glib-or-gtk-build-system
tumashu schreef op zo 27-02-2022 om 18:52 [+0800]:
> I want to include CAJA_EXTENSION_DIRS setup in ~/.guix-
> profile/etc/profile file,
> and the below code seem to do not work in glib-or-gtk-build-system
The native-search-path will only have effect once there's actually a
caja extension in ~/.guix-profile/lib/caja/extensions-2.0. Try
installing caja and caja-extensions in the same profile.
Greetings
maxime.
[-- Attachment #2: Type: text/html, Size: 1322 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re:Re: native-search-paths search-path-specification do not work in glib-or-gtk-build-system
2022-02-27 10:58 ` Maxime Devos
2022-02-27 11:25 ` tumashu
@ 2022-02-28 0:22 ` tumashu
2022-02-28 17:56 ` Maxime Devos
1 sibling, 1 reply; 5+ messages in thread
From: tumashu @ 2022-02-28 0:22 UTC (permalink / raw)
To: Maxime Devos; +Cc: guix
At 2022-02-27 18:58:37, "Maxime Devos" <maximedevos@telenet.be> wrote:
>tumashu schreef op zo 27-02-2022 om 18:52 [+0800]:
>> I want to include CAJA_EXTENSION_DIRS setup in ~/.guix-
>> profile/etc/profile file,
>> and the below code seem to do not work in glib-or-gtk-build-system
>
>The native-search-path will only have effect once there's actually a
>caja extension in ~/.guix-profile/lib/caja/extensions-2.0. Try
>installing caja and caja-extensions in the same profile.
by the way, if my system-config enable mate-1.24 desktop type. when I install a different version mate in
my home, for example 1.26, which one will be use when I enter my deskop by slim?
>
>Greetings
>maxime.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Re: native-search-paths search-path-specification do not work in glib-or-gtk-build-system
2022-02-28 0:22 ` tumashu
@ 2022-02-28 17:56 ` Maxime Devos
0 siblings, 0 replies; 5+ messages in thread
From: Maxime Devos @ 2022-02-28 17:56 UTC (permalink / raw)
To: tumashu; +Cc: guix
[-- Attachment #1: Type: text/plain, Size: 445 bytes --]
tumashu schreef op ma 28-02-2022 om 08:22 [+0800]:
> by the way, if my system-config enable mate-1.24 desktop type. when I install a different version mate in
> my home, for example 1.26, which one will be use when I enter my deskop by slim?
I don't know. I'm currently on a foreign system, not using slim, and
in the past (on Guix System) I always kept the desktop environments in
the system configuration.
Greetings,
Maxime.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-02-28 18:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-27 10:52 native-search-paths search-path-specification do not work in glib-or-gtk-build-system tumashu
2022-02-27 10:58 ` Maxime Devos
2022-02-27 11:25 ` tumashu
2022-02-28 0:22 ` tumashu
2022-02-28 17:56 ` Maxime Devos
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).