Add MacPorts support
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 48/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- macos, php
- Domain
- backend, operating-systems
Research direction
Start in src/FFI.php at the linked code around line 298 and inspect how the Homebrew binary location is selected. Verify the MacPorts path /opt/local/bin/vips is handled, then check the repository's existing validation or test entry points if available; done means MacPorts-installed vips can be located without breaking Homebrew support.
Written by the indexing model from the issue text.
Description
HomeBrew is not the only package manager on macOS.
https://github.com/libvips/php-vips/blob/2e9280ba6e7dcc3c70c8ec007c35075215b71f46/src/FFI.php#L298
MacPorts is an equally-valid package manager, which stores binaries in a different location. Vips is installed at the following location when using MacPorts...
/opt/local/bin/vips
I'll do a pull request for your consideration.
- Dominant language
- PHP
- Stars
- 721
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from libvips/php-vips
-
Difficulty 1/5 Under an hour Newbie friendliness 58/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Color Quantization Open
Difficulty 5/5 Over a week Newbie friendliness 30/100
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
All issues in libvips/php-vips
Similar issues
-
priority: p3
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
googleapis/librarian#7636 ·
-
0. Needs triage bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
nextcloud/fulltextsearch#1011 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
phpstan/phpstan-doctrine#794 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Automattic/static-site-importer#1767 ·