all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Akib Azmain Turja <akib@disroot.org>
Cc: Feng Shu <tumashu@163.com>, 61742@debbugs.gnu.org
Subject: bug#61742: icecat.desktop show ??????????
Date: Thu, 02 Mar 2023 16:19:32 -0500	[thread overview]
Message-ID: <87o7paetqz.fsf@gmail.com> (raw)
In-Reply-To: <87ttz3f3va.fsf@disroot.org> (Akib Azmain Turja's message of "Thu, 02 Mar 2023 23:40:57 +0600")

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	other threads:[~2023-03-02 21:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-23 22:38 bug#61742: icecat.desktop show ?????????? Feng Shu
2023-03-02 14:55 ` Maxim Cournoyer
2023-03-02 14:59   ` Maxim Cournoyer
2023-03-02 15:03     ` Maxim Cournoyer
2023-03-02 15:09       ` Christopher Baines
2023-03-02 21:14         ` Maxim Cournoyer
2023-03-02 17:40       ` Akib Azmain Turja via Bug reports for GNU Guix
2023-03-02 21:19         ` Maxim Cournoyer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o7paetqz.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=61742@debbugs.gnu.org \
    --cc=akib@disroot.org \
    --cc=tumashu@163.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.