Cinnamon is not a recognized Desktop Environment before Ubuntu 16.04 LTS

Bug #1693089 reported by Jeremy Bicha on 2017-05-24
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
desktop-file-utils (Ubuntu)
Undecided
Unassigned
Precise
Medium
Unassigned
Trusty
Medium
Unassigned

Bug Description

Note
----
Yes, I know precise is basically unsupported but it might be nice to fix Travis here anyway.

Impact
------
Cinnamon (and the less popular EDE and LXQt) desktops are not recognized by desktop-file-validate in Ubuntu 12.04 LTS or 14.04 LTS.

This is a problem because the very popular Travis service for continuous integration (CI) on platforms like Github still uses 12.04 LTS. Travis does not offer a 16.04 platform and the 14.04 platform is still only in beta. This caused this pull request to fail its CI check:

https://travis-ci.org/zdohnal/system-config-printer/builds/222023750
https://github.com/zdohnal/system-config-printer/pull/41

This SRU adds these Desktop Environments to the recognized list for 14.04 LTS: Cinnamon, EDE, LXQt.

If accepted, 12.04 LTS will also add TDE.

Test Case
---------
1. Save the following lines in a file named calc.desktop

[Desktop Entry]
Name=Calculator
Exec=gnome-calculator
Icon=accessories-calculator
Type=Application
OnlyShowIn=Cinnamon;LXQt;EDE;
Categories=GNOME;GTK;Utility;Calculator;

2. Run
desktop-file-validate calc.desktop

The command should complete with no error message.

A failure would look something like:
calc.desktop: error: value "Cinnamon;LXQt;EDE;" for key "OnlyShowIn" in group "Desktop Entry" contains an unregistered value "Cinnamon"; values extending the format should start with "X-"

Regression Potential
---------------------
This only adds a few entries to the list of registered desktop environments.

This change is backported from desktop-file-utils 0.23 which is in Ubuntu 16.04 LTS.

[racb] Could there be some behaviour change somewhere that was depending somehow on Cinnamon's status being unregistered? For example in a test suite's expected output somewhere?

Jeremy Bicha (jbicha) on 2017-05-24
description: updated
Changed in desktop-file-utils (Ubuntu):
status: Fix Released → Triaged
Jeremy Bicha (jbicha) on 2017-05-24
tags: added: patch precise
affects: desktop-file-utils (Ubuntu) → gnome-desktop3 (Ubuntu)
affects: gnome-desktop3 (Ubuntu) → desktop-file-utils (Ubuntu)
Changed in desktop-file-utils (Ubuntu):
status: Triaged → Fix Released
Changed in desktop-file-utils (Ubuntu Precise):
importance: Undecided → Medium
status: New → Triaged
Changed in desktop-file-utils (Ubuntu Trusty):
importance: Undecided → Medium
status: New → Triaged
Jeremy Bicha (jbicha) on 2017-05-24
description: updated
Jeremy Bicha (jbicha) on 2017-05-24
description: updated
Jeremy Bicha (jbicha) on 2017-06-07
description: updated
Changed in desktop-file-utils (Ubuntu Precise):
status: Triaged → In Progress
Changed in desktop-file-utils (Ubuntu Trusty):
status: Triaged → In Progress
Robie Basak (racb) wrote :

Accepting for Trusty. Precise is EOL, so I'm reluctant to break expectations by touching it. If you think an exception is warranted, perhaps ask ubuntu-release@?

description: updated
Changed in desktop-file-utils (Ubuntu Trusty):
status: In Progress → Fix Committed
tags: added: verification-needed

Hello Jeremy, or anyone else affected,

Accepted desktop-file-utils into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/desktop-file-utils/0.22-1ubuntu1.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Jeremy Bicha (jbicha) wrote :

Robie, infinity rejected the Precise upload earlier with basically the same answer. I thought it was worth me asking, but I'm not going to push any further with the Precise update.

Changed in desktop-file-utils (Ubuntu Precise):
status: In Progress → Won't Fix

As part of a recent change in the Stable Release Update verification policy we would like to inform that for a bug to be considered verified for a given release a verification-done-$RELEASE tag needs to be added to the bug where $RELEASE is the name of the series the package that was tested (e.g. verification-done-xenial). Please note that the global 'verification-done' tag can no longer be used for this purpose.

Thank you!

Jeremy Bicha (jbicha) wrote :

I verified that the sample .desktop validates with desktop-file-utils 0.22-1ubuntu1.1 on Ubuntu GNOME 14.04 LTS.

tags: added: verification-done-zesty
removed: verification-needed
Jeremy Bicha (jbicha) on 2017-06-29
tags: added: verification-done-trusty
removed: verification-done-zesty
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package desktop-file-utils - 0.22-1ubuntu1.1

---------------
desktop-file-utils (0.22-1ubuntu1.1) trusty; urgency=medium

  * Add additional-recognized-environments.patch:
    - Add Cinnamon, EDE, and LXQt to the list of registered desktop
      environments (LP: #1693089)

 -- Jeremy Bicha <email address hidden> Wed, 07 Jun 2017 13:48:27 -0400

Changed in desktop-file-utils (Ubuntu Trusty):
status: Fix Committed → Fix Released

The verification of the Stable Release Update for desktop-file-utils has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers