[haiku-bugs] Re: [Haiku] #10025: [PM] support for Desktop symlinks, similar to Deskbar menu symlinks

  • From: "ttcoder" <trac@xxxxxxxxxxxx>
  • Date: Sat, 22 Nov 2014 18:11:13 -0000

#10025: [PM] support for Desktop symlinks, similar to Deskbar menu symlinks
------------------------------------+----------------------------
   Reporter:  ttcoder               |      Owner:  axeld
       Type:  enhancement           |     Status:  new
   Priority:  low                   |  Milestone:  Unscheduled
  Component:  Applications/Tracker  |    Version:  R1/Development
 Resolution:                        |   Keywords:
 Blocked By:                        |   Blocking:
Has a Patch:  0                     |   Platform:  All
------------------------------------+----------------------------

Comment (by ttcoder):

 Indeed before `post-install` is deprecated/retired it would be nice to
 have #11502 as a replacement. Taking into account security issues though,
 not sure what the implications are.

 When so, this ticket could be retired (the create-symlink-at-install would
 be taken care of, and the remove-symlink-at-uninstall is not all that
 important), sparing us excessive Tracker complexity..

 Specifically for the mimeset example cited, I'd say the preferred way is
 to create mime_db entries within home; e.g. for us ever since we've been
 shipping TT on Haiku PM we include a package that creates relative paths
 `data/mime_db/audio/aiff` ..etc with the mimeset-style attributes we need
 (Composer, Intro, Outro ..etc), saves me having to run the .sh script we
 had been using for a decade that calls setmime in extenso, very elegant
 and handy. Maybe there are other cases where writing files outside of the
 packagefs hierarchy can be replaced with another mechanism, as we'll
 probably want to keep that to a minimum.. Anyway for this one ticket, yea
 there are simpler ways to go, i'd rather keep this one low priority.

--
Ticket URL: <https://dev.haiku-os.org/ticket/10025#comment:8>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: