Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 164249 - dev-db/pgadmin3-1.4.3 - pgadmin3.desktop missing Categories=Application;Development;
Summary: dev-db/pgadmin3-1.4.3 - pgadmin3.desktop missing Categories=Application;Devel...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-28 15:43 UTC by unlord
Modified: 2010-02-19 18:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
pgadmin3-1.4.3-desktop.patch (pgadmin3-1.4.3-desktop.patch,358 bytes, patch)
2007-01-28 15:52 UTC, unlord
Details | Diff
pgadmin-1.4.3-r1.ebuild.patch (pgadmin-1.4.3-r1.ebuild.patch,404 bytes, patch)
2007-01-28 15:56 UTC, unlord
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description unlord 2007-01-28 15:43:43 UTC
When you install pgadmin3 under Gnome 2.16 then icon does not appear under the Programming menu.  This is because the pgadmin3.desktop file that comes packaged with pgadmin3-1.4.3.tar.gz is missing a Categories line, e.g.:

Categories=Application;Development;

Reproducible: Always

Steps to Reproduce:
1. Install pgadmin3-1.4.3
2. Gnome Main Menu | Programming
3. No pgAdmin III icon
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-28 15:48:09 UTC
Report this upstream, please. We didn't create the file.
Comment 2 unlord 2007-01-28 15:52:40 UTC
Created attachment 108383 [details, diff]
pgadmin3-1.4.3-desktop.patch

Attaching trivial patch to modify ${S}/pkg/pgadmin3.desktop appropriately.
Comment 3 unlord 2007-01-28 15:56:01 UTC
Created attachment 108384 [details, diff]
pgadmin-1.4.3-r1.ebuild.patch

Attaching trivial patch to ebuild using desktop patch.
Comment 4 unlord 2007-01-28 16:04:46 UTC
I posted a link to this bug on pgadmin-hackers@postgresql.org to notify them of the issue.

Looking in the recently released pgadmin3-1.6.2.tar.gz shows that the Categories line is still missing from ${S}/pkg/pgadmin3.desktop file.
Comment 5 unlord 2007-01-29 09:58:22 UTC
I figured out why pgadmin3-1.4.3 does not show up in the Applications|Development menu but pgadmin3-1.2.2 does.  The pgadmin3-1.2.2.ebuild contains the following three lines that are missing from the pgadmin3-1.4.3.ebuild:

dodir /usr/share/applnk/Development

cp ${S}/pkg/pgadmin3.desktop ${D}/usr/share/applnk/Development/pgadmin3.desktop
chmod 644 ${D}/usr/share/applnk/Development/pgadmin3.desktop

The /applnk directory is used for legacy menu items and has been deprecated in favor of using a Categories=... line in the .desktop file.  The pgadmin3 folks have been notified of this and will update their file accordingly.
Comment 6 Patrick Lauer gentoo-dev 2010-02-19 18:31:17 UTC
Fixed upstream in newer versions