Opened 11 years ago

Closed 5 years ago

#10121 closed enhancement (no change required)

HaikuCompatibility (for old/legacy apps)

Reported by: Giova84 Owned by: nobody
Priority: normal Milestone: R1
Component: System Version: R1/Development
Keywords: Cc: black.belt.jimmy@…
Blocked By: Blocking:
Platform: All

Description

As requested by Matt Madia here http://www.freelists.org/post/haiku/New-BeOSCompatibility-package-for-Haiku,1

I attach, to this ticket, the mentioned package. This package, once is moved under /system/packages, will just launch a post-install script which links B_USER_CONFIG_DIRECTORY as /boot/common and B_USER_APPS_DIRECTORY as /boot/apps

This package is intended for applications installed in user space, in particular for those apps which have hardcoded paths like /boot/apps and /boot/common, which no longer exists on Haiku with Package management.

Attachments (1)

HaikuCompatibility.hpkg (2.2 KB ) - added by Giova84 11 years ago.

Download all attachments as: .zip

Change History (9)

by Giova84, 11 years ago

Attachment: HaikuCompatibility.hpkg added

comment:1 by bonefish, 11 years ago

Keywords: HaikuCompatibility old apps hardcoded paths removed

Thanks for the contribution. However, the package should be built by the build system.

BTW, please always leave the ticket's "Keywords" field empty. There's really no point in duplicating the summary.

comment:2 by Giova84, 11 years ago

Thank you for the advices! In anyway i just done what Matt asked me on the mailing list: add this package to a ticket, so, you or another developer can open the package and look inside: it just contain a simple shell script :-)

comment:3 by Giova84, 11 years ago

But in anyway i was thinking about the fact that would be better link B_SYSTEM_DIRECTORY as /boot/common, instead of B_USER_CONFIG_DIRECTORY, since with removal of B_COMMON_DIRECTORY, in a clean Haiku installation, default libraries and binaries are located under /system/bin. And old/legacy apps maybe need to looking for stuff under this path.

comment:4 by bbjimmy, 11 years ago

Cc: black.belt.jimmy@… added

comment:5 by pulkomandy, 11 years ago

Which apps does this fix problem with? I think it would be simpler to just create a /boot/apps directory, no symlink to anything else. This is still a good place to put non-packaged apps and they will still work that way.

The "common" case can't be completely solved without a link, but I think fixing the apps is a better solution here. How much apps are left requiring common/ ?

comment:6 by haiqu, 10 years ago

BurnItNow2 off HaikuDepot requires /boot/common/ to store its build cache. That's just one example I can think of off the top of my head.

comment:7 by waddlesplash, 10 years ago

Please file a bug with BurnItNow, we have the source code so we should fix it.

comment:8 by pulkomandy, 5 years ago

Resolution: no change required
Status: newclosed

The issue in BurnItNow has been fixed: https://github.com/HaikuArchives/BurnItNow/issues/8

Since no other apps were listed here, I think it is fine to close this issue.

If you have specific apps that do not run, please open tickets (to the app or to Haiku) so they can be investigated each separately.

Note: See TracTickets for help on using tickets.