[RFC] A trivial change for DESKTOP_ENTRIES (take 2)

Pav Lucistnik pav at FreeBSD.org
Thu Jul 14 19:16:02 UTC 2011


Jung-uk Kim píše v čt 14. 07. 2011 v 15:07 -0400:

> > > entry.  I assume that the filename of the desktop entry is
> > > unimportant,
> >
> > The filename of desktop entry should be 100% inconsequential, and
> > our only care should be not have two ports installing same file.
> 
> I believe the original intention was to use executable name to make 
> desktop file, i.e., ${PREFIX}/bin/foo -> ${DESKTOPDIR}/foo.desktop.  

Yes, and then came ports that needed to install several icons for same
executable, with different arguments. That was the reason for the
change.

> > > and is used only internally by Gnome or whatever.
> >
> > Sounds like a bug to me.
> 
> Why do you think there is a bug?  Basically, desktop files are 
> meta-data for OSes which cannot handle extended attributes within a 

No, .desktop files are just gnomeish equivalent of windows .pif files.
If they are used for something more significant, that's poor design by
my standards. That's why I wanted to get an opinion from gnome team
before taking any steps on this issue.

> file (e.g., resource fork of Mac), if I understand it correctly.  I 
> don't see anything wrong with GNOME referencing its window manager by 
> desktop file name rather than by executable name with obscure 
> options.

If that .desktop file was that critical for GNOME functionality, then
why it is not installed by vendor Makefiles and have to be hacked in in
the port??

> DESKTOP_ENTRIES are for *basic* stuff and bsd.port.mk clearly says 
> complex desktop files cannot use it:

Yes but I see no need to abandon DESKTOP_ENTRIES for a simple port like
links..

-- 
-- 
Pav Lucistnik <pav at oook.cz>
              <pav at FreeBSD.org>
"Ragtime" contained about forty-five seconds of Elizabeth McGovern
completely topless, but it got a "PG" in 1980. I have no idea why that
did, or "Titanic" got PG-13, yet "Merchant of Venice" gets tagged with
an "R". The MPAA is an intellectual and aesthetic embarassment. --
comment from IMDb board on US movie rating system
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20110714/8694e0e6/attachment.pgp


More information about the freebsd-ports mailing list