pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/31533
The following reply was made to PR pkg/31533; it has been noted by GNATS.
From: "Jeremy C. Reed" <reed%reedmedia.net@localhost>
To: Pavel Cahyna <pavel.cahyna%st.mff.cuni.cz@localhost>
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: pkg/31533
Date: Tue, 11 Oct 2005 14:19:44 -0700 (PDT)
On Tue, 11 Oct 2005, Pavel Cahyna wrote:
> I found a xpdf.desktop file in Gentoo buried under KDE:
> /usr/kde/3.4/share/apps/kappfinder/apps/Office/xpdf.desktop
>
> copied it to /usr/pkg/share/applications
>
> ran update-desktop-database /usr/pkg/share/applications
>
> (the explicit directory is needed because of the bug mentioned before)
>
> and started galeon.
>
> And it works now! It offers me the choice of saving or opening with xpdf.
>
> So, IMHO the fix would be to include a suitable .desktop file with xpdf
> and run update-desktop-database in its post-install script (if pkgsrc has
> post-install scripts.) update-desktop-database should be also listed as
> RECOMMENDED for every package that provides .desktop files.
>
> Does this make sense?
>
> Thanks again for your helpful hints about update-desktop-database.
You are welcome. And I learned more about this.
It does make sense, but I don't know this tool well.
Please ask on tech-pkg and to the maintainer jmmv.
I see that pkgsrc/sysutils/desktop-file-utils has a desktopdb.mk file
which says:
# This Makefile fragment is intended to be included by packages that install
# desktop entries. It takes care of registering them in the global database.
Have a look at that.
I see some packages do include it, like gpdf, ggv, totem, epiphany, etc.
But I am not sure what handles the running of update-desktop-database.
Jeremy C. Reed
BSD News, BSD tutorials, BSD links
http://www.bsdnewsletter.com/
Home |
Main Index |
Thread Index |
Old Index