notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Port details on branch 2016Q4
pHash Open source perceptual hash library
0.9.6_1 multimedia on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.9.6_1Version of this port present on the latest quarterly branch.
Maintainer: cyberbotx@cyberbotx.com search for ports maintained by this maintainer
Port Added: 2016-11-04 05:38:49
Last Update: 2016-11-04 05:38:39
Commit Hash: 2ff4ef4
Also Listed In: devel
License: GPLv3+
WWW:
http://phash.org/
Description:
pHash is an open source software library released under the GPLv3 license that implements several perceptual hashing algorithms, and provides a C-like API to use those functions in your own programs. pHash itself is written in C++. WWW: http://phash.org/
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (14 items)
Collapse this list.
  1. /usr/local/share/licenses/pHash-0.9.6_1/catalog.mk
  2. /usr/local/share/licenses/pHash-0.9.6_1/LICENSE
  3. /usr/local/share/licenses/pHash-0.9.6_1/GPLv3+
  4. include/audiophash.h
  5. include/pHash-config.h
  6. include/pHash.h
  7. include/ph_fft.h
  8. lib/libpHash.a
  9. lib/libpHash.so
  10. lib/libpHash.so.0
  11. lib/libpHash.so.0.0.0
  12. libdata/pkgconfig/pHash.pc
  13. @postexec /sbin/ldconfig -m /usr/local/lib
  14. @postunexec /sbin/ldconfig -R
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • pHash>0:multimedia/pHash
To install the port:
cd /usr/ports/multimedia/pHash/ && make install clean
To add the package, run one of these commands:
  • pkg install multimedia/pHash
  • pkg install pHash
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: pHash
Flavors: there is no flavor information for this port.
distinfo:
SHA256 (pHash-0.9.6.tar.gz) = 3c8258a014f9c2491fb1153010984606805638a45d00498864968a9a30102935 SIZE (pHash-0.9.6.tar.gz) = 1315965

No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. CImg.h : graphics/cimg
  2. CImg.h : graphics/cimg
  3. gmake : devel/gmake
Runtime dependencies:
  1. CImg.h : graphics/cimg
  2. CImg.h : graphics/cimg
Library dependencies:
  1. libfftw3.so : math/fftw3
  2. libpng.so : graphics/png
  3. libsndfile.so : audio/libsndfile
  4. libsamplerate.so : audio/libsamplerate
  5. libmpg123.so : audio/mpg123
  6. libavcodec.so : multimedia/ffmpeg
  7. libjpeg.so : graphics/jpeg-turbo
This port is required by:
for Libraries
  1. multimedia/php-pHash

Configuration Options:
===> The following configuration options are available for pHash-0.9.6_1: DEBUG=off: Build with debugging support FFTW=on: Discrete Fourier Transform support JPEG=on: JPEG image format support OPENMP=off: Parallel processing support via OpenMP PNG=on: PNG image format support ====> Options available for the multi HASHING: you have to choose at least one of them AUDIO=on: Enable audio hashing IMAGE=on: Enable image hashing VIDEO=on: Enable video hashing ===> Use 'make config' to modify these settings
Options name:
multimedia_pHash
USES:
gmake libtool pathfix jpeg
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. http://phash.org/releases/
  2. http://www.cyberbotx.com/pHash/
Collapse this list.

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.9.6_1
04 Nov 2016 05:38:39
commit hash: 2ff4ef4a79d002553944955f1d5d99891dca1bfdcommit hash: 2ff4ef4a79d002553944955f1d5d99891dca1bfdcommit hash: 2ff4ef4a79d002553944955f1d5d99891dca1bfdcommit hash: 2ff4ef4a79d002553944955f1d5d99891dca1bfd files touched by this commit
Jan Beich (jbeich) search for other commits by this committer
MFH: r425287

multimedia/pHash: unbreak build with ffmpeg 3.x

  =======================<phase: configure      >============================
  [...]
  *** Configuring video Hash ***

  checking whether FFmpeg is present... checking for avcodec_alloc_frame in
-lavcodec... no
  configure: error:

  *** libavcodec not found.

PR:		214178
Approved by:	Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
Approved by:	ports-secteam (delphij)
0.9.6_1
04 Nov 2016 05:38:39
Revision:425288Original commit files touched by this commit
jbeich search for other commits by this committer
MFH: r425287

multimedia/pHash: unbreak build with ffmpeg 3.x

  =======================<phase: configure      >============================
  [...]
  *** Configuring video Hash ***

  checking whether FFmpeg is present... checking for avcodec_alloc_frame in
-lavcodec... no
  configure: error:

  *** libavcodec not found.

PR:		214178
Approved by:	Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
Approved by:	ports-secteam (delphij)

Number of commits found: 2