bug#68939: sddm does not start after update to 0.20.0

2024-02-05 Thread Feng Shu
Jonathan Brielmaier  writes:

> Hi tumashu,
>
> Am 05.02.24 um 23:45 schrieb tumashu:
>> (display-server "wayland")
>>
>> remove this line, at the moment, sddm-service-type do not support this 
>> feature, for waston is not configure properly
>
> Thanks for that super fast response! Indeed this was the trick, sddm
> works now again without setting the display-server to wayland.
>
> I wonder what we could do in the mean time to save other users from this
> pitfall?
>
> Would it make sense to deprecate the `display-server` configuration
> parameter in order to always default to xorg?
>
> Or maybe just add a note to the manual:
> https://guix.gnu.org/manual/devel/en/guix.html#index-sddm_002dconfiguration

I think, we should let sddm-service-type create the below config:

CompositorCommand=
Path of the compositor to execute when starting the greeter. Default value 
is "weston --shell=fullscreen-shell.so".


>
> ~Jonathan
>

-- 






bug#68415: User's shepherd services defined in guix home config can not start after guix pull.

2024-01-17 Thread Feng Shu
Sergey Trofimov  writes:

Today, after I guix pull again and reconfig guix home, this problem
dispear, I do not know why :-)

> Feng Shu  writes:
>
>>>
>>> Have you tried debugging it? Is your home shepherd running? Do you
>>> see
>>
>> I tried, but I do not know why: unbound-variable service
>>
> That is not normal. You need to fix that.
>
>>
>> The below code run have problem, and I think shepherd is not run,
>> for
>> 'ps aux |grep shepherd' can not found info.
>
> home's shepherd is started by ~/.guix-home/on-first-login, which gets
> invoked in ~/.profile
> You can try running the script manually and see what happens.
>
> Please compare your home configuration before and after the pull. You
> can find the configs in
> /var/guix/profiles/per-user//guix-home--link/configuration.scm
>
> The subject is "can not start after guix pull", but it seems to me
> your home is misconfigured and the pull might be unrelated.
>
>>
>>  (service
>>   home-shepherd-service-type
>>   (home-shepherd-configuration
>>(shepherd shepherd)
>
> that's the default, no need to specify shepherd
>
>>(services
>> (list xautolock-service
>>
>

-- 






bug#68415: User's shepherd services defined in guix home config can not start after guix pull.

2024-01-16 Thread Feng Shu
Sergey Trofimov  writes:

> Feng Shu  writes:
>
>> After I guix pull, services defined in guix home config can no
>> start:
>>
>> -
>> 服务 root 已启动。
>> WARNING: Use of `load' in declarative module (#{ g117}#).  Add
>> #:declarative? #f to your define-module invocation.
>> unbound-variable(#f "Unbound variable: ~S" (service) #f)
>>
>> Some deprecated features have been used.  Set the environment
>> variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
>> program to get more information.  Set it to "no" to suppress
>> this message.
>> Creating XDG user directories... done
>> Comparing
>> /gnu/store/bfkgfz1sm9q75jyn56pav2kmwl48i7w8-home/profile/share/fonts
>> and
>>   
>> /gnu/store/bfkgfz1sm9q75jyn56pav2kmwl48i7w8-home/profile/share/fonts...
>> done (same)
>> Evaluating on-change gexps.
>>
>> ---
>>
>> When I run command: herd status, show error:
>>
>> feng@Guix ~$ herd status
>> error: connect: /run/user/1000/shepherd/socket: No such file or
>> directory
>
> Have you tried debugging it? Is your home shepherd running? Do you see

I tried, but I do not know why: unbound-variable service


The below code run have problem, and I think shepherd is not run, for 
'ps aux |grep shepherd' can not found info.

(define xautolock-service
  (shepherd-service
   (provision '(xautolock))
   (documentation "Run 'xautolock'")
   (start #~(make-forkexec-constructor
 (list #$(file-append xautolock "/bin/xautolock")
   "-detectsleep")))
   (stop #~(make-kill-destructor


...

 (service
  home-syncthing-service-type)

 (service
  home-shepherd-service-type
  (home-shepherd-configuration
   (shepherd shepherd)
   (services
(list xautolock-service

> shepherd mentions in ~/.guix-home/on-first-login?

> Have you tried restarting your system?

Restart system no effect.

>

-- 






bug#68439: icewm do not install MO files.

2024-01-13 Thread Feng Shu


Hello:

At the moment: icewm do not install MO files to
'share/locale//LC_MESSAGES', gmo files in tarball are removed, but
do not re-generated, I try to add gettext-minimul to inputs, but can not
re-generate gmo files successfully.

Any reason we should remove gmo files in tarball?

```
   (add-after 'unpack 'remove-gmo-files
 ;; gmo files are generated from .po files
 ;; so remove them before build to make sure
 ;; they are re-generated if needed
 (lambda _
   (for-each delete-file
 (find-files "po" "\\.gmo$"
```


-- 






bug#68415: User's shepherd services defined in guix home config can not start after guix pull.

2024-01-12 Thread Feng Shu


After I guix pull, services defined in guix home config can no start:

-
服务 root 已启动。
WARNING: Use of `load' in declarative module (#{ g117}#).  Add #:declarative? 
#f to your define-module invocation.
unbound-variable(#f "Unbound variable: ~S" (service) #f)

Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.
Creating XDG user directories... done
Comparing /gnu/store/bfkgfz1sm9q75jyn56pav2kmwl48i7w8-home/profile/share/fonts 
and
  
/gnu/store/bfkgfz1sm9q75jyn56pav2kmwl48i7w8-home/profile/share/fonts... done 
(same)
Evaluating on-change gexps.

---

When I run command: herd status, show error:

feng@Guix ~$ herd status
error: connect: /run/user/1000/shepherd/socket: No such file or directory




-- 






bug#68055: lightdm and lightdm-gtk-greeter in guix system do not show session menu.

2023-12-27 Thread Feng Shu


I have create a issue in lightdm github: 
https://github.com/canonical/lightdm/issues/333


-- 






bug#68055: lightdm and lightdm-gtk-greeter do not show session menu in guix.

2023-12-26 Thread Feng Shu



See previous info:   https://issues.guix.gnu.org/57168


> It works fine, but there are a few gotchas:

> 1. The session selection menu doesn't show the items.  I don't know why.
> Perhaps a regresssion with newer GTK+.

I use below code to test:

1. lightdm-gtk-greeter code:
>>> 
>>> > >
> /* Session menu */
> >
> g_debug (": Call lightdm_get_sessions functions from main");  
> >
> items = lightdm_get_sessions ();  
> >
> g_debug (": Session menuitem create start."); 
> >
> if (gtk_widget_get_visible (session_menuitem))
> >
> { 
> >
> GSList *sessions = NULL;  
> >
>   
> >
> if (gtk_icon_theme_has_icon (icon_theme, 
> "document-properties-symbolic")) >
> session_badge = gtk_image_new_from_icon_name 
> ("document-properties-symbolic", GTK_ICON_SIZE_MENU);>
> else  
> >
> session_badge = gtk_image_new_from_icon_name 
> ("document-properties", GTK_ICON_SIZE_MENU); >
> gtk_widget_show (session_badge);  
> >
> gtk_container_add (GTK_CONTAINER (session_menuitem), session_badge);  
> >
>   
> >
> items = lightdm_get_sessions ();  
> >
> for (item = items; item; item = item->next)   
> >
> { 
> >
> LightDMSession *session = item->data; 
> >
> GtkWidget *radiomenuitem; 
> >
>   
> >
> g_debug (": Session items: %s", lightdm_session_get_key 
> (session));   >
>   
> >
> radiomenuitem = gtk_radio_menu_item_new_with_label (sessions, 
> lightdm_session_get_name (session));>
> g_object_set_data (G_OBJECT (radiomenuitem), SESSION_DATA_KEY, 
> (gpointer) lightdm_session_get_key (session)); >
> sessions = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM 
> (radiomenuitem));   >
> g_signal_connect (G_OBJECT (radiomenuitem), "activate", 
> G_CALLBACK (session_selected_cb), NULL);  >
> gtk_menu_shell_append (GTK_MENU_SHELL (session_menu), 
> radiomenuitem); >
> gtk_widget_show (GTK_WIDGET (radiomenuitem)); 
> >
> } 
> >
>   
> >
> set_session (NULL);   
> >
> } 
> >
>   
>   

bug#67738: [PATCH v2] services: xorg: Find sessions from guix home directory.

2023-12-14 Thread Feng Shu
>From 0e3968aff482ed8ef912f02b744631bb8899f9e4 Mon Sep 17 00:00:00 2001
From: Feng Shu 
Date: Thu, 14 Dec 2023 10:58:02 +0800
Subject: [PATCH v2] services: xorg: Find sessions from guix home directory.

* gnu/services/xorg.scm (xinitrc): Find sessions from guix home directory.
---
 gnu/services/xorg.scm | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm
index f8cf9f25b6..9235295dd6 100644
--- a/gnu/services/xorg.scm
+++ b/gnu/services/xorg.scm
@@ -458,6 +458,11 @@ (define user-profile
  (lambda (pw)
(string-append (passwd:dir pw) "/.guix-profile"
 
+(define guix-home-profile
+  (and=> (getpw (getuid))
+ (lambda (pw)
+   (string-append (passwd:dir pw) "/.guix-home/profile"
+
 (define (xsession-command desktop-file)
   ;; Read from DESKTOP-FILE its X session command and return it as a
   ;; list.
@@ -503,6 +508,7 @@ (define (find-session profile)
   (apply exec-from-login-shell
  (or session
  (find-session user-profile)
+ (find-session guix-home-profile)
  (find-session system-profile)))
 
   (program-file "xinitrc" builder))
-- 
2.39.2


-- 






bug#67738: [PATCH] services: xorg: Find sessions from guix home directory.

2023-12-13 Thread Feng Shu



>From 19ca112441184a2c54a02ebbb6b84bca1c23dfea Mon Sep 17 00:00:00 2001

* gnu/services/xorg.scm (xinitrc): Find sessions from guix home directory.
---
 gnu/services/xorg.scm | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm
index f8cf9f25b6..9235295dd6 100644
--- a/gnu/services/xorg.scm
+++ b/gnu/services/xorg.scm
@@ -458,6 +458,11 @@ (define user-profile
  (lambda (pw)
(string-append (passwd:dir pw) "/.guix-profile"
 
+(define guix-home-profile
+  (and=> (getpw (getuid))
+ (lambda (pw)
+   (string-append (passwd:dir pw) "/.guix-home/profile"
+
 (define (xsession-command desktop-file)
   ;; Read from DESKTOP-FILE its X session command and return it as a
   ;; list.
@@ -503,6 +508,7 @@ (define (find-session profile)
   (apply exec-from-login-shell
  (or session
  (find-session user-profile)
+ (find-session guix-home-profile)
  (find-session system-profile)))
 
   (program-file "xinitrc" builder))
-- 
2.39.2


-- 






bug#67738: xinitrc function in services/xorg.scm do not handle guix-home's direcory.

2023-12-09 Thread Feng Shu




(define* (xinitrc #:key fallback-session)
  "Return a system-wide xinitrc script that starts the specified X session,
which should be passed to this script as the first argument.  If not, the
@var{fallback-session} will be used or, if @var{fallback-session} is false, a
desktop session from the system or user profile will be used."
  (define builder
#~(begin
(use-modules (ice-9 match)
 (ice-9 regex)
 (ice-9 ftw)
 (ice-9 rdelim)
 (srfi srfi-1)
 (srfi srfi-26))
...

(define system-profile
  "/run/current-system/profile")

(define user-profile
  (and=> (getpw (getuid))
 (lambda (pw)
   (string-append (passwd:dir pw) "/.guix-profile"

I think we should handle '.guix-home' direcory, just like .guix-profile.

...

(let* ((home  (getenv "HOME"))
   (xsession-file (string-append home "/.xsession"))
   (session   (match (command-line)
((_)
 #$(if fallback-session
   #~(list #$fallback-session)
   #f))
((_ x ..1)
 x
  (if (file-exists? xsession-file)
  ;; Run ~/.xsession when it exists.
  (apply exec-from-login-shell xsession-file
 (or session '()))
  ;; Otherwise, start the specified session or a fallback.
  (apply exec-from-login-shell
 (or session
 (find-session user-profile)
 (find-session system-profile)))

  (program-file "xinitrc" builder))


-- 






bug#63289: virt-viewer build fail.

2023-05-04 Thread Feng Shu



starting phase `set-SOURCE-DATE-EPOCH'
phase `set-SOURCE-DATE-EPOCH' succeeded after 0.0 seconds
starting phase `set-paths'
environment variable `PATH' set to 
`/gnu/store/brxy70m8k3g8pxf5qj312amsnnj9njb8-meson-1.1.0/bin:/gnu/store/7q4crm7s2whyjx0s127p7k43s4fwxzgm-ninja-1.11.1/bin:/gnu/store/3dzz178civ4hjx041qd61iiy558x0rra-glib-2.72.3-bin/bin:/gnu/store/5d0fgnmh63yx98s1kfp57rc2x05xqk1d-gettext-minimal-0.21/bin:/gnu/store/lj75fc25zx2y9pqvfp95la84rdhlj4f8-perl-5.36.0/bin:/gnu/store/jz5dwdxq4di29cd0rjjzkw356dhkzjil-pkg-config-0.29.2/bin:/gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/bin:/gnu/store/mbk2c1alj8m0si4kn5dgxgmlsl4bighc-gtk-vnc-1.3.1/bin:/gnu/store/sjy64dvx18yc5p29zywmg01k3g53p643-libcap-2.64/sbin:/gnu/store/g9cpfynzy3ryv9jprgvwf3g2mnd5p11q-libxml2-2.9.14/bin:/gnu/store/3np25sk3syqmpsa2j0spaq8fhvdssygk-spice-gtk-0.42/bin:/gnu/store/2kx52g4qbakjkycl0k903lbvmpl41iq0-vte-0.70.2/bin:/gnu/store/sxx22f98vfbavcqmdksm6as8fvskpxiw-tar-1.34/bin:/gnu/store/x24bm49ag5dvki72mjdz195bfb89nrnb-gzip-1.12/bin:/gnu/store/j8wlfmlmfvpbza6is9wv9xsd8psrxn00-bzip2-1.0.8/bin:/gnu/store/gr0sy0m1mv36qv54idm6cn10l3mngshq-file-5.44/bin:/gnu/store/zmcf5kpqiighkbh7wslf91qdjwj06yr1-diffutils-3.8/bin:/gnu/store/210yfax18r2g2inxrml9435ikhfcca6m-patch-2.7.6/bin:/gnu/store/c8jyph2lxw0m9na34fg8h70n4nnnz7is-findutils-4.9.0/bin:/gnu/store/hc05d76f1j3iz3v2bs5jz4fpljl1r4dj-gawk-5.2.1/bin:/gnu/store/xxcfsimvxz7z4dj593gnqbkzc6picwzq-sed-4.8/bin:/gnu/store/yrv5f70mn83a876b78i5s79dd2hsh0zf-grep-3.8/bin:/gnu/store/6k1yys9wqrfn4y41ic1win8gpnimncwj-xz-5.2.8/bin:/gnu/store/a5i8avx826brw5grn3n4qv40g514505c-coreutils-9.1/bin:/gnu/store/wj7casda7rb55rvqjnpm0bm7a2zm6618-make-4.3/bin:/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin:/gnu/store/na1dpbbcxjaa3n8wkwrfpch476f90hlf-ld-wrapper-0/bin:/gnu/store/zh4x65snfis7svs6906gj1z8i7dx2j3m-binutils-2.38/bin:/gnu/store/5lqhcv91ijy82p92ac6g5xw48l0lwwz4-gcc-11.3.0/bin:/gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/bin:/gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/sbin:/gnu/store/a3flz4vpqgnjxc6jv0cjv6f7qdbg4igz-wayland-1.22.0/bin:/gnu/store/rr1vbf04j27z5465wsm1kdfaw3iriz2k-pango-1.50.10/bin:/gnu/store/53wla2a7bzcammq26qr8yi8gz7399v9r-libxkbcommon-1.4.1/bin:/gnu/store/x85ickpmhzbmcvcz5rc79nknc7036ki5-librsvg-2.54.4/bin:/gnu/store/3dv9xf07gnmc4gpm0a4h0g7j58dx3l05-freetype-2.13.0/bin:/gnu/store/fncsrwapajvfkl76zmn6z1cxqd7hlbqf-fontconfig-minimal-2.14.0/bin:/gnu/store/jjnbhhpka0xk8jjs6y973g86n9nm0wqk-fribidi-1.0.12/bin:/gnu/store/gg3kycn5wfjwskx3xfkk1qscjgsvaxcn-cairo-1.16.0/bin:/gnu/store/5ahapvp7rnd2ymakyjv1pwwdav7w9wdc-pulseaudio-16.1/bin:/gnu/store/8y0pwifz8a3d7zbdfzsawa1amf4afx1s-libgcrypt-1.10.1/bin:/gnu/store/yr4lbvdyc4dgs76yij1dw2w2z8s84af8-gnutls-3.7.7/bin:/gnu/store/40gsfghiirdjd0awpnkglwqr5rqpz06r-gdk-pixbuf-2.42.8/bin:/gnu/store/s0fdsrv4bjssri4kh2iwxh904c5v0ndw-cyrus-sasl-2.1.28/sbin:/gnu/store/v0jyv9qjycr5lcc9m018g2g73gv7wv1g-gobject-introspection-1.72.0/bin:/gnu/store/j5fmqqmf93mw8pin8llmb1ssaj34aarl-libvirt-8.6.0/bin:/gnu/store/j5fmqqmf93mw8pin8llmb1ssaj34aarl-libvirt-8.6.0/sbin:/gnu/store/6km8si3jvviwnhf5w93hf3afx9w7asv2-usbredir-0.13.0/bin:/gnu/store/iw2riipj63pf0xy7p3sy4rfj8zfvn52q-phodav-3.0/bin:/gnu/store/iw2riipj63pf0xy7p3sy4rfj8zfvn52q-phodav-3.0/sbin:/gnu/store/1j0jq03930q4c7570145vjiaa8pnajz4-lz4-1.9.3/bin:/gnu/store/85276hii9m2x894d5j2zhnahg8viy1sj-libjpeg-turbo-2.1.4/bin:/gnu/store/jzmpmxy342nsjinp6g8zxrv40lwrx5l3-openssl-1.1.1q/bin:/gnu/store/byqcy3ak29cri69k71f5kwd9pqcrzzps-gst-plugins-base-1.22.2/bin:/gnu/store/mz98ydpwa7hn5ky0q3g0xf66ps2ycfm2-gstreamer-1.22.2/bin:/gnu/store/i7f40vxcp8gi05pzcf75s3hvv8m2gv0i-pcre2-10.40/bin:/gnu/store/zkxvwia0z25409k1kmm0jqzfk9prc8fx-libpng-1.6.37/bin:/gnu/store/fw1wywd34vh33l4dq182ds5d7jdz45j5-expat-2.5.0/bin:/gnu/store/q54qpx235li33zmkvmid1xzgcs7srdjd-dbus-1.14.0/bin:/gnu/store/6k0gsynk7qjbgsw9xgb7r4yrkg1znf1r-tdb-1.4.7/bin:/gnu/store/m9wi9hcrf7f9dm4ri32vw1jrbh1csywi-libgpg-error-1.45/bin:/gnu/store/vq7dxp5la2lnhsvniwv38j0ggvsmzim7-p11-kit-0.24.1/bin:/gnu/store/c2fx42ial6lr60s96xcbml5hd8vwaxq3-nettle-3.8.1/bin:/gnu/store/1r1azdi4hvfypnx14d01n60p4aa7g2im-libidn2-2.3.4/bin:/gnu/store/j5kzdjan6mnf2ngmkc50fia8vrbpqi9b-libtasn1-4.19.0/bin:/gnu/store/7z9cgiq7dkajqfk991lniv77s1kbag28-shared-mime-info-1.15/bin:/gnu/store/4mnxhv2bx20fm16n3hq6jqf309kp1xx7-libtiff-4.4.0/bin:/gnu/store/813mmbxi1b5bw0zzdhxa2jg77l04ygjj-json-glib-1.6.2/bin:/gnu/store/j3cq69h12b4j8acsh8jj9qlaj97w1w24-pcsc-lite-1.9.8/bin:/gnu/store/j3cq69h12b4j8acsh8jj9qlaj97w1w24-pcsc-lite-1.9.8/sbin:/gnu/store/mc9gdsm0cqpyd2522f5xghdl59p1l35r-nss-3.88.1/bin:/gnu/store/y0d8ab1mi6lh0a3vpx5lyd4ksq9wbn4x-orc-0.4.32/bin:/gnu/store/i371k86cad71y1z0br3d2awgrs4kdjqc-libdatrie-0.2.13/bin:/gnu/store/0ibv7vw1ff6f4c15p9c0k4izx4kqwlkr-icu4c-71.1/bin:/gnu/store/0ibv7vw1ff6f4c15p9c0k4izx4kqwlkr-icu4c-71.1/sbin:/gnu/store/skz71j7pmi8pqmqmcjyaizd7l9hlfd6f-graphite2-1.3.13/bin:/gnu/store/4jakqiibsvrkv4jdw1wyl6racrwv9bkh-sqlite-3.39.3/bin:/gnu/store/wmzd5b2ks0xj2l56y

bug#61742: icecat.desktop show ??????????

2023-02-23 Thread Feng Shu


/gnu/store/hhfcn8viysyz2qz9rvvqkj91i5nxzd9s-icecat-102.8.0-guix0-preview1/share/applications/icecat.desktop

[Desktop Entry]
Version=1.0
Name=GNU IceCat Web Browser
Name[ar]=?? ?? 
Name[ast]=Restolador web GNU IceCat
Name[bn]=?? ??? 
Name[ca]=Navegador web GNU IceCat
Name[cs]=GNU IceCat Webov?? prohle??
Name[da]=GNU IceCat - internetbrowser
Name[el]= GNU IceCat
Name[es]=Navegador web GNU IceCat
Name[et]=GNU IceCati veebibrauser
Name[fa]=  GNU IceCat
Name[fi]=GNU IceCat-selain
Name[fr]=Navigateur Web GNU IceCat
Name[gl]=Navegador web GNU IceCat
Name[he]=??  GNU IceCat
Name[hr]=GNU IceCat web preglednik
Name[hu]=GNU IceCat webb??ng??sz??
Name[it]=GNU IceCat Browser Web
Name[ja]=GNU IceCat 
Name[ko]=GNU IceCat ??? 
Name[ku]=Geroka tor?? GNU IceCat
Name[lt]=GNU IceCat interneto nar??ykl??
Name[nb]=GNU IceCat Nettleser
Name[nl]=GNU IceCat webbrowser
Name[nn]=GNU IceCat Nettlesar
Name[no]=GNU IceCat Nettleser
Name[pl]=Przegl??darka WWW GNU IceCat
Name[pt]=GNU IceCat Navegador Web
Name[pt_BR]=Navegador Web GNU IceCat
Name[ro]=GNU IceCat ??? Navigator Internet
Name[ru]=??-?? GNU IceCat
Name[sk]=GNU IceCat - internetov?? prehliada??
Name[sl]=GNU IceCat spletni brskalnik
Name[sv]=GNU IceCat webbl??sare
Name[tr]=GNU IceCat Web Taray??c??s??
Name[ug]=GNU IceCat 
Name[uk]=??-?? GNU IceCat
Name[vi]=Tr??nh duy???t web GNU IceCat
Name[zh_CN]=GNU IceCat ???
Name[zh_TW]=GNU IceCat ???
Comment=Browse the World Wide Web
Comment[ar]=   
Comment[ast]=Restola pela Rede
Comment[bn]=??? ?? 
Comment[ca]=Navegueu per la web
Comment[cs]=Prohlen?? str??nek World Wide Webu
Comment[da]=Surf p?? internettet
Comment[de]=Im Internet surfen
Comment[el]=   ?? 
?? (Web)
Comment[es]=Navegue por la web
Comment[et]=Lehitse veebi
Comment[fa]=??  ?? ??   

Comment[fi]=Selaa Internetin WWW-sivuja
Comment[fr]=Naviguer sur le Web
Comment[gl]=Navegar pola rede
Comment[he]=?? ?? 
Comment[hr]=Pretra??ite web
Comment[hu]=A vil??gh??l?? b??ng??sz??se
Comment[it]=Esplora il web
Comment[ja]=???
Comment[ko]=?? ?? 
Comment[ku]=Li tor?? bigere
Comment[lt]=Nar??ykite internete
Comment[nb]=Surf p?? nettet
Comment[nl]=Verken het internet
Comment[nn]=Surf p?? nettet
Comment[no]=Surf p?? nettet
Comment[pl]=Przegl??danie stron WWW
Comment[pt]=Navegue na Internet
Comment[pt_BR]=Navegue na Internet
Comment[ro]=Naviga??i pe Internet
Comment[ru]= ?? 
Comment[sk]=Prehliadanie internetu
Comment[sl]=Brskajte po spletu
Comment[sv]=Surfa p?? webben
Comment[tr]=??nternet'te Gezinin
Comment[ug]=?? ?? ?? 

Comment[uk]=  ??
Comment[vi]=? duy???t c??c trang web
Comment[zh_CN]=???
Comment[zh_TW]=??
GenericName=Web Browser
GenericName[ar]=?? ??
GenericName[ast]=Restolador Web
GenericName[bn]=??? 
GenericName[ca]=Navegador web
GenericName[cs]=Webov?? prohle??
GenericName[da]=Webbrowser
GenericName[el]= 
GenericName[es]=Navegador web
GenericName[et]=Veebibrauser
GenericName[fa]= 
GenericName[fi]=WWW-selain
GenericName[fr]=Navigateur Web
GenericName[gl]=Navegador Web
GenericName[he]=?? ??
GenericName[hr]=Web preglednik
GenericName[hu]=Webb??ng??sz??
GenericName[it]=Browser web
GenericName[ja]=
GenericName[ko]=??? 
GenericName[ku]=Geroka tor??
GenericName[lt]=Interneto nar??ykl??
GenericName[nb]=Nettleser
GenericName[nl]=Webbrowser
GenericName[nn]=Nettlesar
GenericName[no]=Nettleser
GenericName[pl]=Przegl??darka WWW
GenericName[pt]=Navegador Web
GenericName[pt_BR]=Navegador Web
GenericName[ro]=Navigator Internet
GenericName[ru]=??-??
GenericName[sk]=Internetov?? prehliada??
GenericName[sl]=Spletni brskalnik
GenericName[sv]=Webbl??sare
GenericName[tr]=Web Taray??c??
GenericName[ug]=
GenericName[uk]=??-??
GenericName[vi]=Tr??nh duy???t Web
GenericName[zh_CN]=???
GenericName[zh_TW]=???
Keywords=Internet;WWW;Browser;Web;Explorer
Keywords[ar]=;;??;??;
Keywords[ast]=Internet;WWW;Restolador;Web;Esplorador
Keywords[ca]=Internet;WWW;Navegador;Web;Explorador;Explorer
Keywords[cs]=Internet;WWW;Prohle??;Web;Explorer
Keywords[da]=Internet;Internettet;WWW;Browse

bug#61469: tip

2023-02-13 Thread Feng Shu

关闭:窗口管理器/高级/光标碰到屏幕边缘时回绕工作区 这个选项试试。

-- 


bug#61132: xfce 4.18 issues: gsettings, icons missing, and logout need long time

2023-01-30 Thread Feng Shu
宋文武  writes:

>> [...]
>>
>> Hello Feng Shu and Michael Rohleder, I have create a wip-xfce branch and
>> applied all patches: They're all LGTM, and I will merge it after some
>> tests later.  Thank you!
>>
>
> Pushed!
>
> During my tests, I find some issues though:
>
> 1. in xfce4-appearance-settings, switch the theme to greybird-dark will
> kill it, with output:
>
> ```
> (xfce4-appearance-settings:13788): Gtk-WARNING **: 10:53:21.078: Could not 
> load a pixbuf from /org/gtk/libgtk/theme/Adwaita/assets/check-symbolic.svg.
> This may indicate that pixbuf loaders or the mime database could not be found.
>
> (xfce4-appearance-settings:13788): GLib-GIO-ERROR **: 10:53:23.264: Settings 
> schema 'org.gnome.desktop.interface' does not contain a key named 
> 'color-scheme'
> ```
>
> I think this is due to our gsettings-desktop-schemas is old.
>
> 2. some icons are missing, and by default there is no pixbuf loader for
> svg.  With a manually set GDK_PIXBUF_MODULE_FILE, I get better result
> with elementary-xfce-icon-theme (the adwaita icon themes still missing
> some icons).
>
> 3. logout via xfce4-session-logout will wait more about 30s for me,
> sometimes it does logout immediately, no idea...
>
> 4. mousepad output:
> Mousepad-Message: 11:00:34.614: Plugin directory 
> '/gnu/store/0m4rqqn3gxwg6mafhccqjwwvqdz1a5sr-mousepad-0.5.10/lib/mousepad/plugins'
>  not found
> GLib-GIO-Message: 11:00:34.614: Using the 'memory' GSettings backend.  Your 
> settings will not be saved or shared with other applications.
>
> The default gsettings backend is dconf, I guess some applications like
> mousepad need fix to enable dconf or use the keyfile backend for
> gsettings...
>
> I now open a bug for thoes issues.
>

5. Thunar start slowly

When I update to xfce 4.18, thunar start need 5 second, when I

1. backup my xfce4 config.
2. rm my old xfce4 config.
3. run xfce4 and quit.
4. restore old xfce4 config.
5. run xfce4 again.

The problem dispear, I do not know why.



-- 






bug#60635: Update emacs-compat and magit

2023-01-07 Thread Feng Shu

I think it is compat's problem, when I update compat to 29.1.1.0, the problem is
disapear

when I update compat, magit build fail, so update it too.


>From d00ac6d39bc5d1eae94710571715ebbeb202917a Mon Sep 17 00:00:00 2001
From: Feng Shu 
Date: Sun, 8 Jan 2023 10:34:10 +0800
Subject: [PATCH 1/2] gnu: emacs-compat: Update to 29.1.1.0.

* gnu/packages/emacs-xyz.scm (emacs-compat): Update to 29.1.1.0.
---
 gnu/packages/emacs-xyz.scm | 31 ++-
 1 file changed, 14 insertions(+), 17 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 466fb65fd3..32801f370c 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -7794,24 +7794,21 @@ (define-public emacs-tup-mode
 (license license:gpl3+)))
 
 (define-public emacs-compat
-  (let ((commit "8a32564247ad3baee571252a2004c3d347962d01")) ;version bump
-(package
- (name "emacs-compat")
- (version "29.1.0.1")
- (source (origin
-  (method git-fetch)
-  (uri (git-reference
-(url "https://git.sr.ht/~pkal/compat";)
-(commit commit)))
-  (file-name (git-file-name name version))
+  (package
+(name "emacs-compat")
+(version "29.1.1.0")
+(source (origin
+  (method url-fetch)
+  (uri (string-append "https://elpa.gnu.org/packages/";
+  "compat-" version ".tar"))
   (sha256
(base32
-"0wxv63cqrw7pd5vg5hwh48bf326766x6mzz1qw8shhkrycr43fks"
- (build-system emacs-build-system)
- (home-page "https://git.sr.ht/~pkal/compat";)
- (synopsis "Emacs Lisp Compatibility Library")
- (description
-  "To allow for the usage of Emacs functions and macros that are defined
+"0b371rilcbkjmb1fdaib7fnrngkm1q7xdmv15a3xvmpalvfwmrwc"
+(build-system emacs-build-system)
+(home-page "https://git.sr.ht/~pkal/compat";)
+(synopsis "Emacs Lisp Compatibility Library")
+(description
+ "To allow for the usage of Emacs functions and macros that are defined
 in newer versions of Emacs, @code{compat.el} provides definitions that
 are installed ONLY if necessary.  These reimplementations of functions
 and macros are at least subsets of the actual implementations.  Be
@@ -7822,7 +7819,7 @@ (define-public emacs-compat
 implemented to a meaningful degree.  The main audience for this
 library are not regular users, but package maintainers.  Therefore
 commands and user options are usually not implemented here.")
- (license license:gpl3+))))
+(license license:gpl3+)))
 
 (define-public emacs-company
   (package
-- 
2.38.1

>From dc6fff7f3a595165de76bfb61095123e7444a951 Mon Sep 17 00:00:00 2001
From: Feng Shu 
Date: Sun, 8 Jan 2023 10:45:13 +0800
Subject: [PATCH 2/2] gnu: emacs-magit: Update to 3.3.0-0.b908c79.

* gnu/packages/emacs-xyz.scm (emacs-magit): Update to 3.3.0-0.b908c79.
---
 gnu/packages/emacs-xyz.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 32801f370c..808c751303 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -1160,7 +1160,7 @@ (define-public emacs-libgit
   (license license:gpl3+
 
 (define-public emacs-magit
-  (let ((commit "36059e0b881cb1465cb5ad0099e55e00845a8222")
+  (let ((commit "b908c79b44f5c282eec44f19fc1d9967f041dd5c")
 (revision "0"))
 (package
   (name "emacs-magit")
@@ -1173,7 +1173,7 @@ (define-public emacs-magit
(commit commit)))
  (file-name (git-file-name name version))
  (sha256
-  (base32 "12r5z7jbqh74rb9763smh4sblswzwi41wybzcvsy0zhw2r8lpmzv"
+  (base32 "1wybli5xrxkn8b7d7nm7h44avip9pjc24ig73hh15xg2wjm90zzc"
   (build-system emacs-build-system)
   (arguments
(list
-- 
2.38.1




-- 


bug#60635: emacs-consult will run error when update guix.git

2023-01-07 Thread Feng Shu



emacs -q and (require 'consult) will show:
Error running timer ‘show-paren-function’: (wrong-type-argument listp 
special-mode) [8 times]

-- 






bug#60627: emacs-nadvice package do not generate autoload file.

2023-01-07 Thread Feng Shu
Nicolas Goaziou  writes:

>
> This is now mitigated in commit db746d16602f4b22ed678aaaeeb5974398d27874.
>
> To properly fix this, as the next step, I'm leaning towards removing
> emacs-nadvice package altogether. It is not useful in Guix since we
> provide Emacs 28+.

agree :-)

>
> WDYT?
>
> Regards,

-- 






bug#60627: emacs-nadvice package do not generate autoload file.

2023-01-07 Thread Feng Shu


This let emacs --debug-init show the below error:

--

Debugger entered--Lisp error: (file-missing "Cannot open load file" "没有那个文件或目录" 
"/gnu/store/gcvj3grb55ic034b9a56p6m182b2qfdr-emacs-nadvice-0.3/share/emacs/site-lisp/nadvice-0.3/nadvice-autoloads")
  
load("/gnu/store/gcvj3grb55ic034b9a56p6m182b2qfdr-emacs-nadvice-0.3/share/emacs/site-lisp/nadvice-0.3/nadvice-autoloads"
 nil t)
  package-activate-1(#s(package-desc :name nadvice :version (0 3) :summary 
"Forward compatibility for Emacs-24.4's nadvice" :reqs nil :kind nil :archive 
nil :dir "/gnu/store/gcvj3grb55ic034b9a56p6m182b2qfdr-emacs-..." :extras 
((:maintainer "Stefan Monnier" . "monn...@iro.umontreal.ca") (:authors ("Stefan 
Monnier" . "monn...@iro.umontreal.ca"))) :signed nil) nil deps)
  package-activate(nadvice)
  package-activate-1(#s(package-desc :name compat :version (28 1 2 2) :summary 
"Emacs Lisp Compatibility Library" :reqs ((emacs (24 3)) (nadvice (0 3))) :kind 
nil :archive nil :dir "/gnu/store/an425abx04g2hhg11c39h0y63gf6wc3l-emacs-..." 
:extras ((:url . "https://sr.ht/~pkal/compat";) (:keywords "lisp") (:maintainer 
"Compat Development" . "~pkal/compat-de...@lists.sr.ht") (:authors ("Philip 
Kaludercic" . "phil...@posteo.net"))) :signed nil) nil deps)
  package-activate(compat)
  package-activate-1(#s(package-desc :name magit :version (3 3 0 -4) :summary 
"A Git porcelain inside Emacs." :reqs ((emacs (25 1)) (compat (28 1 1 2)) (dash 
(20210826)) (git-commit (20220222)) (magit-section (20220325)) (transient 
(20220325)) (with-editor (20220318))) :kind nil :archive nil :dir 
"/gnu/store/pg4c1sm7llfh20bxk44z5s2xr525246v-emacs-..." :extras ((:keywords 
"git" "tools" "vc") (:homepage . "https://magit.vc";)) :signed nil) nil deps)
  package-activate(magit)
  package--activate-all()
  package-activate-all()
  package-initialize()
  (if package--initialized nil (package-initialize))
  eval-buffer(# nil 
"/gnu/store/pszj3mq14iv9wknk3yk0qpx440a1hppg-Emacs-..." nil t)  ; Reading at 
buffer position 4608
  
load-with-code-conversion("/gnu/store/pszj3mq14iv9wknk3yk0qpx440a1hppg-Emacs-..."
 "/gnu/store/pszj3mq14iv9wknk3yk0qpx440a1hppg-Emacs-..." nil t)
  require(eh-basic)
  eval-buffer(# nil 
"/gnu/store/pszj3mq14iv9wknk3yk0qpx440a1hppg-Emacs-..." nil t)  ; Reading at 
buffer position 1235
  
load-with-code-conversion("/gnu/store/pszj3mq14iv9wknk3yk0qpx440a1hppg-Emacs-..."
 "/gnu/store/pszj3mq14iv9wknk3yk0qpx440a1hppg-Emacs-..." nil t)
  require(emacs-helper)
  eval-buffer(# nil "/home/feng/.emacs" nil t)  ; Reading at 
buffer position 3366
  load-with-code-conversion("/home/feng/.emacs" "/home/feng/.emacs" t t)
  load("~/.emacs" noerror nomessage)
  startup--load-user-init-file(#f(compiled-function () #) #f(compiled-function () #) t)
  command-line()
  normal-top-level()


-- 






bug#60553: emacs-org-ql build fail

2023-01-04 Thread Feng Shu
starting phase `set-SOURCE-DATE-EPOCH'
phase `set-SOURCE-DATE-EPOCH' succeeded after 0.0 seconds
starting phase `set-paths'
environment variable `PATH' set to 
`/gnu/store/wrzjr2g38f23fqg09rrdcn10va5gc5xl-emacs-minimal-28.2/bin:/gnu/store/2014ms75ra1bca725vwci61qjm4qzxyx-emacs-buttercup-1.29/bin:/gnu/store/g2ajyl8xk9aarxrgjbng2hkj3qm2v0z2-tar-1.34/bin:/gnu/store/iixwcv3k49ks1rf34pjgfzmzyhhgwng3-gzip-1.10/bin:/gnu/store/s3hl12jxz9ybs7nsy7kq7ybzz7qnzmsg-bzip2-1.0.8/bin:/gnu/store/c8isj4jq6knv0icfgr43di6q3nvdzkx7-xz-5.2.5/bin:/gnu/store/4ic6244i3ca4b4rxc2wnrgllsidyishv-file-5.39/bin:/gnu/store/ahmmvw21p11ik80lg1f953y7fd8bqkjm-diffutils-3.8/bin:/gnu/store/z39hnrwds1dgcbpfgj8dnv2cngjb2xbl-patch-2.7.6/bin:/gnu/store/39rsx3nl4c31952jybbjb8d6idr5hx7r-findutils-4.8.0/bin:/gnu/store/690qz3fg334dpwn3pn6k59n4wc943p2b-gawk-5.1.0/bin:/gnu/store/wxgv6i8g0p24q5gcyzd0yr07s8kn9680-sed-4.8/bin:/gnu/store/xjwp2hsd9256icjjybfrmznppjicywf6-grep-3.6/bin:/gnu/store/d251rfgc9nm2clzffzhgiipdvfvzkvwi-coreutils-8.32/bin:/gnu/store/55cbpsi18mahg131nmiya6km5b4mscfa-make-4.3/bin:/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin:/gnu/store/s2pg5k98fl2g2szg9dykxyd9zl3xihv9-ld-wrapper-0/bin:/gnu/store/rc781v4k0drhaqn90xfwwpspki5x0bvf-binutils-2.37/bin:/gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gcc-10.3.0/bin:/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/bin:/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/sbin'
environment variable `EMACSLOADPATH' set to 
`/gnu/store/wrzjr2g38f23fqg09rrdcn10va5gc5xl-emacs-minimal-28.2/share/emacs/site-lisp:/gnu/store/2014ms75ra1bca725vwci61qjm4qzxyx-emacs-buttercup-1.29/share/emacs/site-lisp:/gnu/store/2m9jvxf220m54rqrll6qvcnwg1gmviyz-emacs-with-simulated-input-3.0/share/emacs/site-lisp:/gnu/store/kr84vgqhxl7z6i6gq3k49g2w9ms1sj0r-emacs-dash-2.19.1/share/emacs/site-lisp:/gnu/store/r4n7jdnifbhgd1dy72cn1p8bs7r7p900-emacs-f-0.20.0/share/emacs/site-lisp:/gnu/store/jrlq3fsv9vaksc98m1sa78nzsmbngi75-emacs-helm-3.9.0/share/emacs/site-lisp:/gnu/store/2477mpps6adc3nclxk8jspmiam7yiwzv-emacs-helm-org-1.0-3.8457e1e/share/emacs/site-lisp:/gnu/store/dqry6gr6wjaabd4v8cl40ab2ganrbn2l-emacs-org-9.6/share/emacs/site-lisp:/gnu/store/j30ymida5ldp0rdx9nmm4fi8zl8592hr-emacs-org-super-agenda-1.2/share/emacs/site-lisp:/gnu/store/kwixzvi83597pjd5n8y7369h5571794k-emacs-ov-1.0.6/share/emacs/site-lisp:/gnu/store/nyqkk0rfcyq5mggfkp5qd010lj21qlpi-emacs-peg-1.0.1/share/emacs/site-lisp:/gnu/store/aqb6d4dc78zlak58w8zii97236q7d2nm-emacs-ts-0.3/share/emacs/site-lisp:/gnu/store/yr3nka26j63am5sx74syjpnxysck0yc3-emacs-s-1.13.0/share/emacs/site-lisp:/gnu/store/bb55r1rzpdz6h5a5xrp4d39s3ajsza48-emacs-popup-0.5.9/share/emacs/site-lisp:/gnu/store/in3ing50l7vi4wg8ma2ap23ffmcqszmv-emacs-async-1.9.7/share/emacs/site-lisp:/gnu/store/zjb2ba66vwfq6kvzsyi11mvyzlcwjp8d-emacs-ht-2.3/share/emacs/site-lisp'
environment variable `EMACSNATIVELOADPATH' unset
environment variable `INFOPATH' set to 
`/gnu/store/wrzjr2g38f23fqg09rrdcn10va5gc5xl-emacs-minimal-28.2/share/info:/gnu/store/dqry6gr6wjaabd4v8cl40ab2ganrbn2l-emacs-org-9.6/share/info:/gnu/store/j30ymida5ldp0rdx9nmm4fi8zl8592hr-emacs-org-super-agenda-1.2/share/info:/gnu/store/g2ajyl8xk9aarxrgjbng2hkj3qm2v0z2-tar-1.34/share/info:/gnu/store/iixwcv3k49ks1rf34pjgfzmzyhhgwng3-gzip-1.10/share/info:/gnu/store/ahmmvw21p11ik80lg1f953y7fd8bqkjm-diffutils-3.8/share/info:/gnu/store/39rsx3nl4c31952jybbjb8d6idr5hx7r-findutils-4.8.0/share/info:/gnu/store/690qz3fg334dpwn3pn6k59n4wc943p2b-gawk-5.1.0/share/info:/gnu/store/wxgv6i8g0p24q5gcyzd0yr07s8kn9680-sed-4.8/share/info:/gnu/store/xjwp2hsd9256icjjybfrmznppjicywf6-grep-3.6/share/info:/gnu/store/d251rfgc9nm2clzffzhgiipdvfvzkvwi-coreutils-8.32/share/info:/gnu/store/55cbpsi18mahg131nmiya6km5b4mscfa-make-4.3/share/info:/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/share/info:/gnu/store/rc781v4k0drhaqn90xfwwpspki5x0bvf-binutils-2.37/share/info:/gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gcc-10.3.0/share/info:/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/share/info'
environment variable `BASH_LOADABLES_PATH' unset
environment variable `C_INCLUDE_PATH' set to 
`/gnu/store/wrzjr2g38f23fqg09rrdcn10va5gc5xl-emacs-minimal-28.2/include:/gnu/store/s3hl12jxz9ybs7nsy7kq7ybzz7qnzmsg-bzip2-1.0.8/include:/gnu/store/c8isj4jq6knv0icfgr43di6q3nvdzkx7-xz-5.2.5/include:/gnu/store/4ic6244i3ca4b4rxc2wnrgllsidyishv-file-5.39/include:/gnu/store/690qz3fg334dpwn3pn6k59n4wc943p2b-gawk-5.1.0/include:/gnu/store/55cbpsi18mahg131nmiya6km5b4mscfa-make-4.3/include:/gnu/store/rc781v4k0drhaqn90xfwwpspki5x0bvf-binutils-2.37/include:/gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gcc-10.3.0/include:/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/include:/gnu/store/6mjww4iz4xdan74d5bbjfh7il8rngfkk-linux-libre-headers-5.10.35/include'
environment variable `CPLUS_INCLUDE_PATH' set to 
`/gnu/store/wrzjr2g38f23fqg09rrdcn10va5gc5xl-emacs-minimal-28.2/include:/gnu/store/s3hl12jxz9ybs7nsy7kq7ybzz7qnzmsg-bzip2-1.0.8/include:/gnu/store/c8isj4jq6knv0icfgr43di6q3nvd

bug#60404: Can not geiser-eval-last-sexp package define when use geiser-connect and guix repl --listen=tcp:37146

2022-12-29 Thread Feng Shu


1. Run bash command: guix repl --listen=tcp:37146
2. Run geiser-connect to connect guix repl.
3. open emacs-xyz.scm
4. enable guix-devel-mode and run C-c . u 
5. C-x C-e emacs-dired-sidebar define.

the error showed:

---
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Syntax error:
unknown file:#f:#f: encountered raw symbol in macro output in subform socket of 
(current-location-vector)


[Debugging level: 2]
Expression evaluated was:

(define-public emacs-dired-sidebar
  (package
(name "emacs-dired-sidebar")
(home-page "https://github.com/jojojames/dired-sidebar";)
(version "0.2.0")
(source
 (origin
   (method git-fetch)
   (uri (git-reference
 (url home-page)
 (commit version)))
   (file-name (git-file-name name version))
   (sha256
(base32 "090dqaqyjmkzrz4szjpk1iip0bdvb0frp4l79393f8ki8w7c16c1"
(build-system emacs-build-system)
(propagated-inputs
 (list emacs-dired-hacks))
(synopsis "Sidebar for Emacs using Dired")
(description
 "This package provides a sidebar for Emacs similar to @code{NeoTree}
or @code{treemacs}, but leveraging @code{Dired} to do the job of display.")
(license license:gpl3+)))




-- 






bug#54558: Mcomix 2.0.1 do not install locale data.

2022-03-27 Thread Feng Shu
"Feng Shu"  writes:

> "Feng Shu"  writes:
>
>> I think Mcomix 2.0.1 do not install locale date.
>
> I try to code a patch:
>
> From bc1627e85cde9569b96057daa863184566863858 Mon Sep 17 00:00:00 2001
> From: Feng Shu 
> Date: Sun, 27 Mar 2022 17:35:13 +0800
> Subject: [PATCH] gnu: mcomix: Install messages directory.
>
> * gnu/packages/image-viewers.scm (mcomix)
> [arguments]: Install messages directory.
> ---
>  gnu/packages/image-viewers.scm | 51 +-
>  1 file changed, 26 insertions(+), 25 deletions(-)
>
> diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm
> index 05a8151c29..7410605077 100644
> --- a/gnu/packages/image-viewers.scm
> +++ b/gnu/packages/image-viewers.scm
> @@ -695,31 +695,32 @@ (define-public mcomix
>(substitute* "mcomix/image_tools.py"
>  (("assert name not in supported_formats_gdk")
>   "if name in supported_formats_gdk: continue"
> - (add-after 'install 'install-data
> -   (lambda* (#:key outputs #:allow-other-keys)
> - (copy-recursively
> -  "mcomix/images"
> -  (string-append (assoc-ref outputs "out")
> - "/lib/python"
> - #$(version-major+minor
> -(package-version (this-package-input 
> "python")))
> - "/site-packages/mcomix/images"
> - (add-after 'install 'install-messages
> -   (lambda* (#:key outputs #:allow-other-keys)
> - (copy-recursively
> -  "mcomix/messages"
> -  (string-append (assoc-ref outputs "out")
> - "/share/locale"
> - (add-after 'glib-or-gtk-compile-schemas 'glib-or-gtk-wrap
> -   (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap))
> - (add-after 'wrap 'gi-wrap
> -   (lambda* (#:key outputs #:allow-other-keys)
> - (let ((bin (string-append (assoc-ref outputs "out") "/bin")))
> -   (for-each
> -(lambda (prog)
> -  (wrap-program prog
> -`("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")
> -(list (string-append bin "/mcomix")
> +  (add-after 'install 'install-data
> +(lambda* (#:key outputs #:allow-other-keys)
> +  (copy-recursively
> +   "mcomix/images"
> +   (string-append (assoc-ref outputs "out")
> +  "/lib/python"
> +  #$(version-major+minor
> + (package-version (this-package-input 
> "python")))
> +  "/site-packages/mcomix/images"))
> +  (copy-recursively
> +   "mcomix/messages"
> +   (string-append (assoc-ref outputs "out")
> +  "/lib/python"
> +  #$(version-major+minor
> + (package-version (this-package-input 
> "python")))
> +  "/site-packages/mcomix/messages"
> +  (add-after 'glib-or-gtk-compile-schemas 'glib-or-gtk-wrap
> +(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap))
> +  (add-after 'wrap 'gi-wrap
> +(lambda* (#:key outputs #:allow-other-keys)
> +  (let ((bin (string-append (assoc-ref outputs "out") "/bin")))
> +(for-each
> + (lambda (prog)
> +   (wrap-program prog
> + `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")
> + (list (string-append bin "/mcomix")
>  (home-page "https://sourceforge.net/p/mcomix/wiki/Home/";)
>  (synopsis "Image viewer for comics")
>  (description "MComix is a customizable image viewer that specializes as
> -- 
> 2.34.0


Sorry, the above is wrong patch, please see below:

>From a84f1c8d1ad923f2b90fdf40a0655f8015f122a8 Mon Sep 17 00:00:00 2001
From: Feng Shu 
Date: Sun, 27 Mar 2022 17:47:52 +0800
Subject: [PATCH] gnu: mcomix: Install messages directory.

* gnu/packages/image-viewers.scm (mcomix)
[arguments]: Install messages directory.
---
 gnu/

bug#54558: Mcomix 2.0.1 do not install locale data.

2022-03-27 Thread Feng Shu
"Feng Shu"  writes:

> I think Mcomix 2.0.1 do not install locale date.

I try to code a patch:

>From bc1627e85cde9569b96057daa863184566863858 Mon Sep 17 00:00:00 2001
From: Feng Shu 
Date: Sun, 27 Mar 2022 17:35:13 +0800
Subject: [PATCH] gnu: mcomix: Install messages directory.

* gnu/packages/image-viewers.scm (mcomix)
[arguments]: Install messages directory.
---
 gnu/packages/image-viewers.scm | 51 +-
 1 file changed, 26 insertions(+), 25 deletions(-)

diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm
index 05a8151c29..7410605077 100644
--- a/gnu/packages/image-viewers.scm
+++ b/gnu/packages/image-viewers.scm
@@ -695,31 +695,32 @@ (define-public mcomix
   (substitute* "mcomix/image_tools.py"
 (("assert name not in supported_formats_gdk")
  "if name in supported_formats_gdk: continue"
- (add-after 'install 'install-data
-   (lambda* (#:key outputs #:allow-other-keys)
- (copy-recursively
-  "mcomix/images"
-  (string-append (assoc-ref outputs "out")
- "/lib/python"
- #$(version-major+minor
-(package-version (this-package-input "python")))
- "/site-packages/mcomix/images"
- (add-after 'install 'install-messages
-   (lambda* (#:key outputs #:allow-other-keys)
- (copy-recursively
-  "mcomix/messages"
-  (string-append (assoc-ref outputs "out")
- "/share/locale"
- (add-after 'glib-or-gtk-compile-schemas 'glib-or-gtk-wrap
-   (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap))
- (add-after 'wrap 'gi-wrap
-   (lambda* (#:key outputs #:allow-other-keys)
- (let ((bin (string-append (assoc-ref outputs "out") "/bin")))
-   (for-each
-(lambda (prog)
-  (wrap-program prog
-`("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")
-(list (string-append bin "/mcomix")
+  (add-after 'install 'install-data
+(lambda* (#:key outputs #:allow-other-keys)
+  (copy-recursively
+   "mcomix/images"
+   (string-append (assoc-ref outputs "out")
+  "/lib/python"
+  #$(version-major+minor
+ (package-version (this-package-input "python")))
+  "/site-packages/mcomix/images"))
+  (copy-recursively
+   "mcomix/messages"
+   (string-append (assoc-ref outputs "out")
+  "/lib/python"
+  #$(version-major+minor
+ (package-version (this-package-input "python")))
+  "/site-packages/mcomix/messages"
+  (add-after 'glib-or-gtk-compile-schemas 'glib-or-gtk-wrap
+(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap))
+  (add-after 'wrap 'gi-wrap
+(lambda* (#:key outputs #:allow-other-keys)
+  (let ((bin (string-append (assoc-ref outputs "out") "/bin")))
+(for-each
+ (lambda (prog)
+   (wrap-program prog
+ `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")
+ (list (string-append bin "/mcomix")
 (home-page "https://sourceforge.net/p/mcomix/wiki/Home/";)
 (synopsis "Image viewer for comics")
 (description "MComix is a customizable image viewer that specializes as
-- 
2.34.0



-- 


bug#54558: Mcomix 2.0.1 do not install locale data.

2022-03-26 Thread Feng Shu


I think Mcomix 2.0.1 do not install locale date.

-- 






bug#54525: [patchs] Let thunar support plugin search patchs and add some thunar plugins.

2022-03-22 Thread Feng Shu


-- 






bug#33409: guile-ssh build fail when run guix pull

2018-11-16 Thread Feng Shu



```
Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.
make[1]: Leaving directory 
'/tmp/guix-build-guile-ssh-0.11.3.drv-0/guile-ssh-0.11.3/tests'
make[1]: Entering directory 
'/tmp/guix-build-guile-ssh-0.11.3.drv-0/guile-ssh-0.11.3'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory 
'/tmp/guix-build-guile-ssh-0.11.3.drv-0/guile-ssh-0.11.3'
phase `build' succeeded after 30.8 seconds
starting phase `check'
Making check in am
make[1]: Entering directory 
'/tmp/guix-build-guile-ssh-0.11.3.drv-0/guile-ssh-0.11.3/am'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory 
'/tmp/guix-build-guile-ssh-0.11.3.drv-0/guile-ssh-0.11.3/am'
Making check in libguile-ssh
make[1]: Entering directory 
'/tmp/guix-build-guile-ssh-0.11.3.drv-0/guile-ssh-0.11.3/libguile-ssh'
make  check-am
make[2]: Entering directory 
'/tmp/guix-build-guile-ssh-0.11.3.drv-0/guile-ssh-0.11.3/libguile-ssh'
make[2]: Leaving directory 
'/tmp/guix-build-guile-ssh-0.11.3.drv-0/guile-ssh-0.11.3/libguile-ssh'
make[1]: Leaving directory 
'/tmp/guix-build-guile-ssh-0.11.3.drv-0/guile-ssh-0.11.3/libguile-ssh'
Making check in examples
make[1]: Entering directory 
'/tmp/guix-build-guile-ssh-0.11.3.drv-0/guile-ssh-0.11.3/examples'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory 
'/tmp/guix-build-guile-ssh-0.11.3.drv-0/guile-ssh-0.11.3/examples'
Making check in build-aux
make[1]: Entering directory 
'/tmp/guix-build-guile-ssh-0.11.3.drv-0/guile-ssh-0.11.3/build-aux'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory 
'/tmp/guix-build-guile-ssh-0.11.3.drv-0/guile-ssh-0.11.3/build-aux'
Making check in m4
make[1]: Entering directory 
'/tmp/guix-build-guile-ssh-0.11.3.drv-0/guile-ssh-0.11.3/m4'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory 
'/tmp/guix-build-guile-ssh-0.11.3.drv-0/guile-ssh-0.11.3/m4'
Making check in doc
make[1]: Entering directory 
'/tmp/guix-build-guile-ssh-0.11.3.drv-0/guile-ssh-0.11.3/doc'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory 
'/tmp/guix-build-guile-ssh-0.11.3.drv-0/guile-ssh-0.11.3/doc'
Making check in modules
make[1]: Entering directory 
'/tmp/guix-build-guile-ssh-0.11.3.drv-0/guile-ssh-0.11.3/modules'
Making check in ssh
make[2]: Entering directory 
'/tmp/guix-build-guile-ssh-0.11.3.drv-0/guile-ssh-0.11.3/modules/ssh'
Making check in dist
make[3]: Entering directory 
'/tmp/guix-build-guile-ssh-0.11.3.drv-0/guile-ssh-0.11.3/modules/ssh/dist'
make[3]: Nothing to be done for 'check'.
make[3]: Leaving directory 
'/tmp/guix-build-guile-ssh-0.11.3.drv-0/guile-ssh-0.11.3/modules/ssh/dist'
make[3]: Entering directory 
'/tmp/guix-build-guile-ssh-0.11.3.drv-0/guile-ssh-0.11.3/modules/ssh'
make[3]: Nothing to be done for 'check-am'.
make[3]: Leaving directory 
'/tmp/guix-build-guile-ssh-0.11.3.drv-0/guile-ssh-0.11.3/modules/ssh'
make[2]: Leaving directory 
'/tmp/guix-build-guile-ssh-0.11.3.drv-0/guile-ssh-0.11.3/modules/ssh'
Making check in srfi
make[2]: Entering directory 
'/tmp/guix-build-guile-ssh-0.11.3.drv-0/guile-ssh-0.11.3/modules/srfi'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory 
'/tmp/guix-build-guile-ssh-0.11.3.drv-0/guile-ssh-0.11.3/modules/srfi'
make[2]: Entering directory 
'/tmp/guix-build-guile-ssh-0.11.3.drv-0/guile-ssh-0.11.3/modules'
make[2]: Nothing to be done for 'check-am'.
make[2]: Leaving directory 
'/tmp/guix-build-guile-ssh-0.11.3.drv-0/guile-ssh-0.11.3/modules'
make[1]: Leaving directory 
'/tmp/guix-build-guile-ssh-0.11.3.drv-0/guile-ssh-0.11.3/modules'
Making check in tests
make[1]: Entering directory 
'/tmp/guix-build-guile-ssh-0.11.3.drv-0/guile-ssh-0.11.3/tests'
make  check-TESTS
make[2]: Entering directory 
'/tmp/guix-build-guile-ssh-0.11.3.drv-0/guile-ssh-0.11.3/tests'
make[3]: Entering directory 
'/tmp/guix-build-guile-ssh-0.11.3.drv-0/guile-ssh-0.11.3/tests'
|PASS: log.scm
PASS: server.scm
/PASS: session.scm
-PASS: client-server.scm
/PASS: popen.scm
|PASS: shell.scm
|PASS: server-client.scm
\PASS: sssh-ssshd.scm
|PASS: key.scm
|PASS: tunnel.scm
-FAIL: dist.scm

Testsuite summary for Guile-SSH 0.11.3

# TOTAL: 11
# PASS:  10
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

See tests/test-suite.log
Please report to poptsov.art...@gmail.com

make[3]: *** [Makefile:653: test-suite.log] Error 1
make[3]: Leaving directory 
'/tmp/guix-build-guile-ssh-0.11.3.drv-0/guile-ssh-0.11.3/tests'
make[2]: *** [Makefile:761: check-TESTS] Error 2
make[2]: Leaving directory 
'/tmp/guix-build-guile-ssh-0.11.3.drv-0/guile-ssh-0.11.3/tests'
make[1]