Skip to content
This repository has been archived by the owner on Jun 19, 2018. It is now read-only.

Remove hard-coded /usr/share/scratch directory expectation #5

Open
ngz opened this issue Aug 26, 2016 · 1 comment
Open

Remove hard-coded /usr/share/scratch directory expectation #5

ngz opened this issue Aug 26, 2016 · 1 comment

Comments

@ngz
Copy link

ngz commented Aug 26, 2016

Hello,

There is currently a restriction on directory for artwork, locale, etc. as these need to be located in "/usr/share/scratch".

Unfortunately, this makes Scratch less usable on some distributions not following FHS (e.g., NixOS or Guix) since it cannot find by itself bundled sprites, backgrounds, sound, languages...

Would it be possible to add an option allowing to set a default directory for shared files?

Thank you.

@610t
Copy link

610t commented Feb 5, 2017

Hi!

I'm BSD family OS user, so I try to port scratch for BSD.

At many BSD software packaging system, we can change install directory from default prefix '/usr/local' to any other directory like '/opt'.
Furthermore, many BSD software packaging system must not touch any system directory like '/usr/share'.

When I create FreeBSD lang/scratch port ( https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216811 ) , I prompt that user create symbolic link from installed directory to '/usr/share/scratch' like:
% ln -s %%PREFIX%%/share/scratch /usr/share/scratch

How about use relative directory from Scratch.image?

Thanks in advance.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants