Lazarus desktop file refers to wrong package

Bug #569232 reported by Ivan Cruz
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
app-install-data-ubuntu (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The lazarus desktop file provided by app-install-data-ubuntu refers to the package 'lazarus-ide', rather than the package 'lazarus'. This results in incomplete lazarus installations.

--original--

When looking for "lazarus", software-center will offer package "lazarus-ide" for instalation. Thats a bad choice because Lazarus will not work properly without "fpc-sources" package and lazarus-ide does not depend on it. This will produce a error message on IDE startup (about improper configuration of fpc sources directory) and many key functionalities, such as writing event handlers will not work at all.

Offering "lazarus" meta-package is a far better option, giving the user a fully functional development environment.

Kiwinote (kiwinote)
summary: - Replace lazarus-ide package by lazarus package
+ Lazarus desktop file refers to wrong package
description: updated
affects: software-center (Ubuntu) → app-install-data-ubuntu (Ubuntu)
Changed in app-install-data-ubuntu (Ubuntu):
status: New → Confirmed
Robert Roth (evfool)
Changed in app-install-data-ubuntu (Ubuntu):
assignee: nobody → Robert Roth (evfool)
Robert Roth (evfool)
Changed in app-install-data-ubuntu (Ubuntu):
assignee: Robert Roth (evfool) → nobody
Robert Roth (evfool)
affects: app-install-data-ubuntu (Ubuntu) → lazarus (Ubuntu)
Revision history for this message
Paul Gevers (paul-climbing) wrote :

I don't understand the problem. Why does the desktop file installed by lazarus-ide influence the choice of software-center?

In what way should the desktop file be changed?

Revision history for this message
Robert Roth (evfool) wrote :

I think the problem is that the lazarus desktop file contains the line
X-AppInstall-Package=lazarus-ide, which says that when a user installs lazarus from the software center, the package lazarus-ide must be installed. Instead, it should install lazarus, so the X-AppInstall-Package should be set to lazarus.

Revision history for this message
Paul Gevers (paul-climbing) wrote :

I can not find the X-AppInstall-Package=lazarus-ide in the lazarus.desktop file in the lazarus package.
I did find it in the lazarus.desktop file in app-install-data-ubuntu, so reassigning there. Seems easy to fix, right?

Why was it ever assigned to lazarus?

affects: lazarus (Ubuntu) → app-install-data-ubuntu (Ubuntu)
Revision history for this message
Robert Roth (evfool) wrote :

Also note, that Lazarus IDE appears in Development/Graphic interface design instead of the more appropiate Development/IDEs category. This could also be fixed at the same time.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.