Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about packaging #455

Closed
nephele-gh opened this issue Feb 11, 2023 · 5 comments
Closed

Question about packaging #455

nephele-gh opened this issue Feb 11, 2023 · 5 comments

Comments

@nephele-gh
Copy link

Hi,
I want to package this for Haiku (as I use it on it).

I'd like to know if it is possible to move the lib/ contents into a system library folder instead, so that the main script can still find it.

One complication for this in haiku packages is that they can be mounted anywhere, in theory anyhow. (in practice only the haikuporter tool does this currently, but it uses a chroot for that)
So my question would be, can i patch the script so it would find the library as long as it is in the standard LIBRARY_PATH?

as a second question: is the stuff in third_party required?
(that is is the script + lib/ the only thing needed?)

@scottchiefbaker
Copy link
Contributor

@nephele-gh you should only need ONE file if you want to package d-s-f. The easiest thing to do is get the standalone version from the latest release: https://github.com/so-fancy/diff-so-fancy/releases/tag/v1.4.3

That first file is the fatpacked version of d-s-f with the included modules built in.

@nephele-gh
Copy link
Author

Thanks!
I have added a patch to package it.
haikuports/haikuports#7872

@scottchiefbaker
Copy link
Contributor

👍

@nephele-gh
Copy link
Author

diff-so-fancy is now available on haiku. :)

@OJFord
Copy link
Member

OJFord commented Feb 27, 2023

Haiku now has diffs
so much fancier than be-
-fore. All thanks to you.

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

No branches or pull requests

3 participants