bug-guix
[Top][All Lists]
Advanced

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

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


From: Maxim Cournoyer
Subject: bug#61742: icecat.desktop show ??????????
Date: Thu, 02 Mar 2023 16:19:32 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Hi Akib,

[...]

>> Interestingly, this older icecat in my store, at version 102.7.0 didn't
>> have that problem:
>>
>> cat 
>> /gnu/store/8x8pqbdykw9wpkc2ankxg6ccnqv82ca2-icecat-102.7.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ý prohlížeč
>> Name[da]=GNU IceCat - internetbrowser
>> [...]
>
> The "Name[bn]" key is wrong, it contains "Firefox Web Browser" in
> Bengali, while it should be "GNU IceCat" (or something like that).

Thank you.  This problem exists upstream; the only transformations we do
in the desktop file definition are:

--8<---------------cut here---------------start------------->8---
          (add-after 'wrap-program 'install-desktop-entry
            (lambda _
              ;; Install the '.desktop' file.
              (let* ((desktop-file 
"taskcluster/docker/icecat-snap/icecat.desktop")
                     (applications (string-append #$output 
"/share/applications")))
                (substitute* desktop-file
                  (("^Exec=icecat")     (string-append "Exec=" #$output 
"/bin/icecat"))
                  (("IceCat")           "GNU IceCat")
                  (("Icon=.*")          "Icon=icecat\n")
                  (("NewWindow")        "new-window")
                  (("NewPrivateWindow") "new-private-window")
                  (("StartupNotify=true")
                   "StartupNotify=true\nStartupWMClass=Navigator"))
                (install-file desktop-file applications))))
--8<---------------cut here---------------end--------------->8---

-- 
Thanks,
Maxim





reply via email to

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