Your message dated Fri, 26 Sep 2025 18:34:34 +0000
with message-id <[email protected]>
and subject line Bug#1115732: fixed in gnome-session 49.0-2
has caused the Debian Bug report #1115732,
regarding gnome-session-common: [49.x] Debian customizations to default apps 
were lost
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.)


-- 
1115732: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1115732
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gnome-session-common
Version: 49.0-1
Severity: serious
Tags: experimental

After upgrading gnome-session (and gnome-shell and gdm) to 49.x, my 
system's default web browser changes from Firefox ESR to GNOME Web 
(Epiphany). This seems like something we should resolve before 
re-uploading gnome-session-common to unstable, at least for Firefox.

Upstream, gnome-mimeapps.list is generated as a side effect of the "GNOME 
OS" images, using the MIME types for which they advertise support - 
which we can't do in Debian, because having Build-Depends on every GNOME 
app would be fragile, but we can certainly regenerate the file 
periodically and commit the result. I don't think there is a DFSG 
problem here - the file is in a form that is entirely reasonable to 
edit, even if not really intended to be edited.

A simplistic way to do this would be to patch data/gnome-mimeapps.list, 
ignoring the comment about how it isn't intended to be edited directly; 
or we could stop installing upstream's data/gnome-mimeapps.list and 
bring back our Debian-specific version.

A way that might scale better would be to use 
<https://gitlab.gnome.org/heftig/gnome-mimeapps/> or maybe
<https://gitlab.gnome.org/GNOME/gnome-build-meta/-/tree/master/files/gnome-mimeapps>,
 
either of which would have to be run in a container that has all the
relevant apps installed (or at least their .desktop files).

Or, since the only thing that 
https://gitlab.gnome.org/heftig/gnome-mimeapps/ reads from the .desktop 
files seems to be their MimeType list, perhaps we could adapt that 
program to read that information from AppStream metadata? For example 
/var/lib/app-info/yaml/deb.debian.org_debian_dists_forky_main_dep11_Components-amd64.yml.gz
 
has entries like:

---
Type: desktop-application
ID: firefox-esr.desktop
...
Launchable:
  desktop-id:
  - firefox-esr.desktop
Provides:
  mediatypes:
  - text/html
  ...

and

---
Type: desktop-application
ID: org.gnome.Showtime
...
Launchable:
  desktop-id:
  - org.gnome.Showtime.desktop
...
Provides:
  mediatypes:
  - video/3gp
  - video/3gpp
  ...

which looks like all the information we need?

    smcv

--- End Message ---
--- Begin Message ---
Source: gnome-session
Source-Version: 49.0-2
Done: Simon McVittie <[email protected]>

We believe that the bug you reported is fixed in the latest version of
gnome-session, 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.
Simon McVittie <[email protected]> (supplier of updated gnome-session 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, 26 Sep 2025 18:34:59 +0100
Source: gnome-session
Architecture: source
Version: 49.0-2
Distribution: experimental
Urgency: medium
Maintainer: Debian GNOME Maintainers 
<[email protected]>
Changed-By: Simon McVittie <[email protected]>
Closes: 1115732
Changes:
 gnome-session (49.0-2) experimental; urgency=medium
 .
   * Team upload
   * Merge packaging changes from unstable
     - d/copyright: Don't quote the FSF's former postal address here
     - d/control: Remove Rules-Requires-Root, unnecessary since trixie
     - d/control: Standards-Version: 4.7.2 (no changes required)
   * d/gnome-mimeapps/: Add gnome-mimeapps script by Jan Alexander Steffens,
     as a local mechanism to regenerate MIME type associations.
     (See debian/README.source for details of how to update this.)
   * d/mimeapps/*.desktop: List MIME types supported by preinstalled and
     extra GNOME apps.
     This will allow us to generate our own customized gnome-mimeapps.list
     using d/gnome-mimeapps/, without actually needing all of these apps
     to be installed.
     (See debian/README.source for details of how to update these with the
     latest available information.)
   * d/mimeapps/: Add machinery to generate a customized gnome-mimeapps.list.
     This combines cached MIME type information from
     debian/mimeapps/*.desktop with Debian configuration from
     debian/mimeapps/debian.conf to generate a gnome-mimeapps.list that
     fits Debian preferences better than upstream's.
     (Closes: #1115732)
   * d/mimeapps/debian.conf: Set up Debian preferences (see also the
     meta-gnome3 source package):
     - Prefer Firefox ESR, Firefox or Chromium for web browsing, if
       installed, as a higher priority than GNOME Web (Epiphany).
     - Prefer Loupe for image viewing, if installed.
       If not available, try eog or Shotwell, which were our previous
       defaults, before falling back to anything else.
     - Prioritize image viewers higher than web browsers.
       If Loupe isn't installed for whatever reason, we'd prefer JPEGs
       to open in eog or Shotwell rather than Firefox.
     - Prioritize GNOME Software's .deb installer higher than unpacking
       the .deb with file-roller, which is rarely what is wanted.
     - Add apps that are part of the GNOME metapackage:
       LibreOffice, Evolution, file-roller, Seahorse.
     - Add apps that are Suggests of the GNOME metapackage:
       Goobox, Sound Juicer, Rhythmbox.
     - Add apps that were formerly GNOME defaults as alternatives to the
       current defaults, if installed: Evince, Totem, gedit, AbiWord.
     - Add Thunderbird as a lower priority for email than Evolution,
       if installed.
     - Add gnome-disk-image-writer.desktop (from gnome-disk-utility) as
       a handler for optical media images, etc.
     - Avoid suggesting GNOME Disk Usage Analyzer (Baobab) for directories:
       if Nautilus is not installed, but some other file manager is,
       then we want directories to open in the other file manager.
     - Avoid suggesting GNOME Builder for HTML source:
       if none of our preferred web browsers are installed, but some other
       web browser is, then we want HTML to open in the other web browser.
     - Avoid suggesting LibreOffice Writer or AbiWord for plain text files:
       they can open plain text files, but they're word processors, not
       text editors.
     - Prefer Firefox and Thunderbird Snap apps over the .deb if installed.
       This matches our historical defaults, although that might be
       something we should reconsider now that we have better control.
       I don't have these apps installed, so I have assumed that they handle
       the same MIME types as the corresponding .deb.
Checksums-Sha1:
 55b7535dbbaca5d622aececc5245d7c61bd2b05a 2732 gnome-session_49.0-2.dsc
 4cc5c607e0d2d5d2d69a30fb6aee98c23a093b5d 51680 
gnome-session_49.0-2.debian.tar.xz
 8c659569d62b370d910d23b6d67261bdedce77c6 1644984 
gnome-session_49.0-2.git.tar.xz
 3423a1ecf0a874c56c412234e410804e11e12df5 18238 
gnome-session_49.0-2_source.buildinfo
Checksums-Sha256:
 e7a1cf1707556aa20816685f1dce4d9241f499e78a82cc6c2881866c4078ed62 2732 
gnome-session_49.0-2.dsc
 e63516ceac198f17a3b248c82d3f7283d18c8216137f125d354e5c553f4330f5 51680 
gnome-session_49.0-2.debian.tar.xz
 2ddc2b49163913661ef74bca9814953ee3fa6b89aeb5f968a5fddf6c56efbd55 1644984 
gnome-session_49.0-2.git.tar.xz
 92ff9a099db117a1e5ff019bede1449bbe3f75078d28c89e27c9e287eb14ab66 18238 
gnome-session_49.0-2_source.buildinfo
Files:
 eb69992811bbdf2a43d0d5d4d58f7304 2732 gnome optional gnome-session_49.0-2.dsc
 43b8520571ed318d4520388bda192826 51680 gnome optional 
gnome-session_49.0-2.debian.tar.xz
 403ff98dfe12d954528fe0408c0eb225 1644984 gnome optional 
gnome-session_49.0-2.git.tar.xz
 bb81323b1473e0e9b8bee5ba047a001f 18238 gnome optional 
gnome-session_49.0-2_source.buildinfo
Git-Tag-Info: tag=f8c23c32b1f54952298a868811569c35515a8371 
fp=7a073ad1ae694fa25bff62e5235c099d3eb33076
Git-Tag-Tagger: Simon McVittie <[email protected]>

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

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmjW2NAACgkQYG0ITkaD
wHlvFA/+MznvZhpmcI5lQijmTfSHFPZtlwl5alNGrSAbKiZC3xJBYfdrDAIg8et1
oLyWcIrCP1OuYLFOXHLEeRfdJYr1HkLiTdSZkRPzfAERdXOgrfRpLot+aG5eRlUX
BFvuHjvNoWCo/3cH5uFkGsWWCCVqbQmqxmZA8sQKA1rz4YzUi07XTn+QxR6e6P22
/mHHMNYj+49amUMBakqDePZFUUz3bRXVQvQ7quCg5RBSACUI2fVe30zAaKr+hwgu
mjnpI170bUGhtVPLEGFjy6ikQSN5me9H00PeLhLowXSDRMX3ln/bimmdjeSI9Ik6
xsk6XT+jYYiFI7fspCBKB7+bdZzdnhU+H5/JY5vUg4tK+zD7nZniDALnHkiRF2ww
vzW4yhNoJKvCdgxTl6zv0tdM+c7uBaTNiS9biZljfqif1ION252bbnKuoy1THisB
jSFGTa+gdRvme+lWm90f3kV6XikT3y6rLRfOAwQZmos2wCqSBQIcevWVed1g/Kf7
VBIbcC3X0jMOUtcVT1h2WLtK80H2O3YVyWYfc1P82QaBdCR3q4lqZ1m4LLkPInQM
ikObOnKRvzJbnp24eICsiCzL+EMEF4z0cH5yRfOG7LPoYpRMQKteSoLGUvJKj9QH
XpqcFi+uDbkE8Aigb864esEFSD6Bmxkyqmb3KDp5uEcYDPKzgCo=
=8oLl
-----END PGP SIGNATURE-----

Attachment: pgpMlJeXwVjvx.pgp
Description: PGP signature


--- End Message ---

Reply via email to