Your message dated Fri, 31 Jul 2026 12:34:07 +0000
with message-id <[email protected]>
and subject line Bug#1135971: fixed in micro 2.0.15-3
has caused the Debian Bug report #1135971,
regarding micro: please install AppStream metadata XML and install icon to 
hicolor theme
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1135971: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1135971
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: micro
Version: 2.0.15-2
Severity: minor
Tags: patch
X-Debbugs-Cc: [email protected]

Hello Utkarsh, Nilesh, and the rest of the Debian micro team past and
present. Thank you for maintaining this nice package over the years!

I've a couple of related suggestions and a combined patch that I think
would help improve its desktop integration. Or at least, to bring it
closer to what I think upstream are probably intending with their supplied
desktop integration files. I'd love it if you could consider updating the
package with my changes.

 1. Please can you remove 02-fix-desktop-file.patch, and instead deploy
    upstream's icon into /usr/share/icons/hicolor/scalable/apps? In the
    package's current state, the user is not able to change the displayed
    icon by installing an icon theme[1] because the Icon= path is
    hardcoded to "/usr/share/micro/assets/micro-logo-mark.svg".

 2. Upstream have been shipping a Metainfo file since 2023. Please can
    you update the Debian package to deploy it? It will close a warning[2]
    of about the same age in the package tracking system[3].

The patch is quite short, so I've inlined it below. Note that micro now
build-depends on dh-exec, and micro.install must be made executable as
well in Salsa. This way might be more elegant? I think that using dh-exec
to install the icon file under upstream's preferred Icon= name is
technically better too, and should avoid any regression on #1047981. I
haven't noticed any inability to build local sources after a binary build,
or vice versa with these changes, so that seems hopeful.

Looking at the Salsa sources, I assume that Nilesh chose the
/usr/share/micro location as simply a place to drop the logo file back
when it couldn't be renamed by plain old dh_install. That location seems
not to be touched by upstream, and it's not depended upon by any installed
documentation as far as I can tell.

Also of note: upstream appear to be in the process of changing their
GitHub URL. I assume that's on your radar, though.


    Thanks in advance for considering these changes,
    Andrew.


[1] Such icon themes do exist, and I contribute to one occasionally :)
    
https://github.com/PapirusDevelopmentTeam/papirus-icon-theme/blob/master/Papirus/64x64/apps/micro.svg
[2] https://appstream.debian.org/sid/main/issues/micro.html
[3] https://tracker.debian.org/pkg/micro


PATCH NOTE: micro.install must be made executable.

-------------------- 8< --------------------
diff -rU2 debian.OLD/control debian/control
--- debian.OLD/control  2026-01-17 16:14:36.000000000 +0000
+++ debian/control      2026-05-07 22:58:17.185158099 +0100
@@ -6,4 +6,5 @@
 Build-Depends: debhelper-compat (= 13),
                dh-golang,
+               dh-exec,
                golang-any,
                golang-github-blang-semver-dev,
diff -rU2 debian.OLD/micro.install debian/micro.install
--- debian.OLD/micro.install    2026-01-17 15:39:12.000000000 +0000
+++ debian/micro.install        2026-05-07 22:55:56.148014435 +0100
@@ -1,2 +1,4 @@
-assets/micro-logo-mark.svg     usr/share/micro/
+#!/usr/bin/dh-exec --with=install
+assets/micro-logo-mark.svg => usr/share/icons/hicolor/scalable/apps/micro.svg
 assets/packaging/micro.desktop usr/share/applications/
+data/io.github.zyedidia.micro.metainfo.xml  usr/share/appdata/
Only in debian.OLD/patches: 02-fix-desktop-file.patch
diff -rU2 debian.OLD/patches/series debian/patches/series
--- debian.OLD/patches/series   2026-01-17 15:46:20.000000000 +0000
+++ debian/patches/series       2026-05-07 21:56:57.999054974 +0100
@@ -1,2 +1 @@
 01-disable-commit-hash-and-date.patch
-02-fix-desktop-file.patch
-------------------- >8 --------------------


-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (900, 'testing'), (5, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.19.14+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages micro depends on:
ii  libc6  2.42-15

Versions of packages micro recommends:
ii  xclip  0.13-4

micro suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: micro
Source-Version: 2.0.15-3
Done: Nilesh Patra <[email protected]>

We believe that the bug you reported is fixed in the latest version of
micro, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Nilesh Patra <[email protected]> (supplier of updated micro package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 31 Jul 2026 13:48:19 +0200
Source: micro
Architecture: source
Version: 2.0.15-3
Distribution: unstable
Urgency: medium
Maintainer: Utkarsh Gupta <[email protected]>
Changed-By: Nilesh Patra <[email protected]>
Closes: 1135971
Changes:
 micro (2.0.15-3) unstable; urgency=medium
 .
   * Team Upload.
   [ Marcos Talau ]
   * debian/salsa-ci.yml: Add to provide CI tests for Salsa
 .
   [ Nilesh Patra ]
   * Install appstream XML and hicolor icon (Closes: #1135971)
     + Thanks to Andrew Chadwick for the patch
   * Bump S-V to 4.7.4
   * Update Import-path to match go.mod provided path
   * Drop myself from Uploaders
Checksums-Sha1:
 c7f18b805466e11ffcf5460a39c5d450700559c2 2052 micro_2.0.15-3.dsc
 7997dabf99b3cfce6ea97bae0a72d51d4c01484a 93584 micro_2.0.15-3.debian.tar.xz
 8182deadf7ad462baebfe512b62ff8b24f84a9ee 8336 micro_2.0.15-3_amd64.buildinfo
Checksums-Sha256:
 1304bb164042b29273fbb93250de2b8903e15ae2d7a414ca49da45f7e28a80cb 2052 
micro_2.0.15-3.dsc
 abaedfe8df608765e6e1ae88d222e18c28591c0d3315d391e4e10bb836e5a243 93584 
micro_2.0.15-3.debian.tar.xz
 d8cd1f67340f442b9ecf25d9dfc255c9533513ad55dd6d7e5b49937edf360b60 8336 
micro_2.0.15-3_amd64.buildinfo
Files:
 99c831b82ebf75fb6b6506b761f41ab4 2052 editors optional micro_2.0.15-3.dsc
 076673b3f17020a58c964c5e5552366b 93584 editors optional 
micro_2.0.15-3.debian.tar.xz
 de41b57ee1e0b80f27a3dd7bf0a04488 8336 editors optional 
micro_2.0.15-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQSglbZu4JAkvuai8HIqJ5BL1yQ+2gUCamyQuAAKCRAqJ5BL1yQ+
2iuHAQCmXJalIxHxLXuDu3omu47QQt31QrsvLrR47i5zEtHziAEA45feY29dckDZ
mpEcSoMYlheeTAuxTS4Ebzj1Tnqr/A4=
=yKUW
-----END PGP SIGNATURE-----

Attachment: pgpDD_D_TgGCb.pgp
Description: PGP signature


--- End Message ---

Reply via email to