From nobody Sun Apr 09 08:18:11 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PvQ374XqKz4458l; Sun, 9 Apr 2023 08:18:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PvQ3747P7z41qT; Sun, 9 Apr 2023 08:18:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681028291; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lSx3hqHpRqYfiGzZkCMnO0lj1ZprTiLkzhxmTgCNtQc=; b=Cic0HMkGaoPgEU3LXhqcTcUR4X7O7m5ykWfo7fK1nGvlhHAIdEEJM7pYpfFZ/CW070PXHz WigzSnJX5FBnVrBI6w4v9uB0oYq2agysdt2dPVagRF/WIQaPhNCv6yFdIwcz9bi4E1P3oP By6VXe7IgbTW2u5mkm5uxYEOrFxs2mlJAMRfWCqbaCtUL1Jh8LPgUpwemsWAPZHHdrjoba J4ZBJyfTI/6cOwOq/78QAZODgVWQ75ZR03YYTJnWF2ZOUijlqUU0Zu9u/aFFgmU5+wTPsT vTMRUbAPLtQupIsIiqhAQ7iGuorFFtljOSZCaV6rs/SbGc6raxKau+4NRzAUag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681028291; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lSx3hqHpRqYfiGzZkCMnO0lj1ZprTiLkzhxmTgCNtQc=; b=QY2jPXVC0MCUXYbG3aFvG33WskFc/N9BLz9vcvg9BR8eoFwPaKejKL/9K9uxoYAZh9SDPR mjFbyjqhecZvYTeV36bB+BCctR3HO7INBtdvn99R9+t4ekiSK6uPuZPda77GFVoEZM4Y3C x9gBZRb1i2DgpPnwUSrY85csvYkhUJUTDHIfHRFPo1Wr5BbFGcFQR/5W0fFVLMS6se7l4e SWaAQSr404WXsPnkYLZ06tLB706F6xQmNM79GSaRbyghE5Msanjz6yTZfXABx2deQUq8yn RwJTVrAXR2LpEX+ZdCbyj4SoNzWeAHCSENdmJCX/g8MNztMgyoCyK9wZzKZ2sQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681028291; a=rsa-sha256; cv=none; b=LwiptbKJtzMHt/cgUqw31L/uj8qL/kH435S3EXbSZ7h2SVLQ5SedONvBHYGhfxtJwGttnT rO5DUvQ4I4r2+lHJ/VRU84q4SaSybxM6jxvuZWCEIo3vwaJA14/SEqvJAOhnhvsWSQPt3P K850k0lE7DxVlQDCUtlwenqO8DjMWp1WWzd//b7jIvZuv3ZVMYfL9IbXfhQfzkKcTDTHM0 NeWUUnJYIAeNIki/5I02zuutie3jDw01vcpHrazVk4CKBZT4xqbTE6Bxl5kuAZCNSokwZ1 AcQIIUcPkND4UGOKESl0gxoBZn4MgtGG3wPzRwavnox9lUw8CBNVuTYN/78l6A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PvQ373DcJz11fp; Sun, 9 Apr 2023 08:18:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 3398IBiD051350; Sun, 9 Apr 2023 08:18:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 3398IBp2051349; Sun, 9 Apr 2023 08:18:11 GMT (envelope-from git) Date: Sun, 9 Apr 2023 08:18:11 GMT Message-Id: <202304090818.3398IBp2051349@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Rene Ladan Subject: git: 2f42218cc66b - main - multimedia/pHash/: Remove expired port: List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rene X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2f42218cc66b50c45d5b5828ad0cc8369745c59c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by rene: URL: https://cgit.FreeBSD.org/ports/commit/?id=2f42218cc66b50c45d5b5828ad0cc8369745c59c commit 2f42218cc66b50c45d5b5828ad0cc8369745c59c Author: Rene Ladan AuthorDate: 2023-04-09 08:17:38 +0000 Commit: Rene Ladan CommitDate: 2023-04-09 08:17:59 +0000 multimedia/pHash/: Remove expired port: 2023-04-09 multimedia/pHash: No users left in tree and fails to build with FFmpeg 6.0 --- MOVED | 1 + multimedia/Makefile | 1 - multimedia/pHash/Makefile | 62 ------------- multimedia/pHash/distinfo | 2 - multimedia/pHash/files/patch-configure | 20 ----- multimedia/pHash/files/patch-ffmpeg30 | 139 ----------------------------- multimedia/pHash/files/patch-src_pHash.cpp | 22 ----- multimedia/pHash/pkg-descr | 3 - multimedia/pHash/pkg-plist | 9 -- 9 files changed, 1 insertion(+), 258 deletions(-) diff --git a/MOVED b/MOVED index d58e79fd6d76..54104ca11e51 100644 --- a/MOVED +++ b/MOVED @@ -17889,3 +17889,4 @@ multimedia/transcode||2023-03-31|Has expired: abandoned by upstream and does not security/teleport5|security/teleport|2023-03-31|More recent version than expired teleport port www/anyterm||2023-04-01|Has expired: upstream is dead audio/mousai-devel|audio/mousai|2023-04-06|Updated to the latest stable version +multimedia/pHash||2023-04-09|Has expired: No users left in tree and fails to build with FFmpeg 6.0 diff --git a/multimedia/Makefile b/multimedia/Makefile index 253b592033c1..0c97c4c5ee9f 100644 --- a/multimedia/Makefile +++ b/multimedia/Makefile @@ -282,7 +282,6 @@ SUBDIR += p5-MP4-Info SUBDIR += p5-Net-UPnP SUBDIR += p5-Subtitles - SUBDIR += pHash SUBDIR += peek SUBDIR += phonon SUBDIR += phonon-designerplugin diff --git a/multimedia/pHash/Makefile b/multimedia/pHash/Makefile deleted file mode 100644 index 83f16bb404f1..000000000000 --- a/multimedia/pHash/Makefile +++ /dev/null @@ -1,62 +0,0 @@ -PORTNAME= pHash -PORTVERSION= 0.9.6 -PORTREVISION= 16 -CATEGORIES= multimedia devel -MASTER_SITES= http://phash.org/releases/ \ - http://www.cyberbotx.com/pHash/ - -MAINTAINER= cyberbotx@cyberbotx.com -COMMENT= Open source perceptual hash library -WWW= https://phash.org/ - -LICENSE= GPLv3+ - -DEPRECATED= No users left in tree and fails to build with FFmpeg 6.0 -EXPIRATION_DATE=2023-04-09 - -USES= compiler:c11 gmake libtool pathfix -GNU_CONFIGURE= yes -CONFIGURE_ENV= PTHREAD_LIBS="-lpthread" -INSTALL_TARGET= install-strip -USE_LDCONFIG= yes - -OPTIONS_DEFINE= DEBUG FFTW JPEG OPENMP PNG -OPTIONS_MULTI= HASHING -OPTIONS_MULTI_HASHING= AUDIO IMAGE VIDEO -OPTIONS_DEFAULT= FFTW JPEG PNG AUDIO IMAGE VIDEO -AUDIO_DESC= Enable audio hashing -IMAGE_DESC= Enable image hashing -VIDEO_DESC= Enable video hashing - -DEBUG_CONFIGURE_ENABLE= debug - -FFTW_CONFIGURE_WITH= fftw -FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 - -JPEG_CONFIGURE_WITH= libjpeg -JPEG_USES= jpeg - -OPENMP_CONFIGURE_ENABLE=openmp - -PNG_CONFIGURE_WITH= libpng -PNG_LIB_DEPENDS= libpng.so:graphics/png - -AUDIO_CONFIGURE_ENABLE= audio-hash -AUDIO_LIB_DEPENDS= libsndfile.so:audio/libsndfile \ - libsamplerate.so:audio/libsamplerate \ - libmpg123.so:audio/mpg123 - -IMAGE_CONFIGURE_ENABLE= image-hash -IMAGE_BUILD_DEPENDS= ${LOCALBASE}/include/CImg.h:graphics/cimg -IMAGE_RUN_DEPENDS= ${LOCALBASE}/include/CImg.h:graphics/cimg - -VIDEO_CONFIGURE_ENABLE= video-hash -VIDEO_BUILD_DEPENDS= ${LOCALBASE}/include/CImg.h:graphics/cimg -VIDEO_RUN_DEPENDS= ${LOCALBASE}/include/CImg.h:graphics/cimg -VIDEO_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg - -post-patch: -# Avoid USES=autoreconf while keeping configure.ac patch for reference - @${TOUCH} -r ${WRKSRC}/aclocal.m4 ${WRKSRC}/configure.ac - -.include diff --git a/multimedia/pHash/distinfo b/multimedia/pHash/distinfo deleted file mode 100644 index ccda48e78c3e..000000000000 --- a/multimedia/pHash/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (pHash-0.9.6.tar.gz) = 3c8258a014f9c2491fb1153010984606805638a45d00498864968a9a30102935 -SIZE (pHash-0.9.6.tar.gz) = 1315965 diff --git a/multimedia/pHash/files/patch-configure b/multimedia/pHash/files/patch-configure deleted file mode 100644 index 9d869267f69c..000000000000 --- a/multimedia/pHash/files/patch-configure +++ /dev/null @@ -1,20 +0,0 @@ ---- configure.orig 2013-04-23 18:48:24 UTC -+++ configure -@@ -16584,7 +16584,7 @@ if ${ac_cv_lib_fftw3_fftw_plan_dft_r2c_1d+:} false; th - $as_echo_n "(cached) " >&6 - else - ac_check_lib_save_LIBS=$LIBS --LIBS="-lfftw3 $LIBS" -+LIBS="-lfftw3 -lfftw3_threads $LIBS" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - -@@ -16615,7 +16615,7 @@ fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fftw3_fftw_plan_dft_r2c_1d" >&5 - $as_echo "$ac_cv_lib_fftw3_fftw_plan_dft_r2c_1d" >&6; } - if test "x$ac_cv_lib_fftw3_fftw_plan_dft_r2c_1d" = xyes; then : -- CPPFLAGS="$CPPFLAGS -Dcimg_use_fftw3" LIBS="$LIBS -lfftw3" -+ CPPFLAGS="$CPPFLAGS -Dcimg_use_fftw3" LIBS="$LIBS -lfftw3 -lfftw3_threads" - else - if test "x$with_fftw" = "xyes"; then : - as_fn_error $? "FFTW support requested but library not found" "$LINENO" 5 diff --git a/multimedia/pHash/files/patch-ffmpeg30 b/multimedia/pHash/files/patch-ffmpeg30 deleted file mode 100644 index d2e1ba48908b..000000000000 --- a/multimedia/pHash/files/patch-ffmpeg30 +++ /dev/null @@ -1,139 +0,0 @@ ---- configure.orig 2013-04-23 18:48:24 UTC -+++ configure -@@ -16009,9 +16009,9 @@ if test "x$enable_video_hash" != "xno"; - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether FFmpeg is present" >&5 - $as_echo_n "checking whether FFmpeg is present... " >&6; } --{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcodec_alloc_frame in -lavcodec" >&5 --$as_echo_n "checking for avcodec_alloc_frame in -lavcodec... " >&6; } --if ${ac_cv_lib_avcodec_avcodec_alloc_frame+:} false; then : -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcodec_decode_video2 in -lavcodec" >&5 -+$as_echo_n "checking for avcodec_decode_video2 in -lavcodec... " >&6; } -+if ${ac_cv_lib_avcodec_avcodec_decode_video2+:} false; then : - $as_echo_n "(cached) " >&6 - else - ac_check_lib_save_LIBS=$LIBS -@@ -16025,27 +16025,27 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ - #ifdef __cplusplus - extern "C" - #endif --char avcodec_alloc_frame (); -+char avcodec_decode_video2 (); - int - main () - { --return avcodec_alloc_frame (); -+return avcodec_decode_video2 (); - ; - return 0; - } - _ACEOF - if ac_fn_cxx_try_link "$LINENO"; then : -- ac_cv_lib_avcodec_avcodec_alloc_frame=yes -+ ac_cv_lib_avcodec_avcodec_decode_video2=yes - else -- ac_cv_lib_avcodec_avcodec_alloc_frame=no -+ ac_cv_lib_avcodec_avcodec_decode_video2=no - fi - rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - LIBS=$ac_check_lib_save_LIBS - fi --{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_avcodec_alloc_frame" >&5 --$as_echo "$ac_cv_lib_avcodec_avcodec_alloc_frame" >&6; } --if test "x$ac_cv_lib_avcodec_avcodec_alloc_frame" = xyes; then : -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_avcodec_decode_video2" >&5 -+$as_echo "$ac_cv_lib_avcodec_avcodec_decode_video2" >&6; } -+if test "x$ac_cv_lib_avcodec_avcodec_decode_video2" = xyes; then : - cat >>confdefs.h <<_ACEOF - #define HAVE_LIBAVCODEC 1 - _ACEOF ---- configure.ac.orig 2013-04-23 18:47:49 UTC -+++ configure.ac -@@ -122,7 +122,7 @@ fi]) - AC_DEFUN([AC_CHECK_FFMPEG], - [ - AC_MSG_CHECKING([whether FFmpeg is present]) --AC_CHECK_LIB([avcodec], [avcodec_alloc_frame], [], [AC_MSG_ERROR([ -+AC_CHECK_LIB([avcodec], [avcodec_decode_video2], [], [AC_MSG_ERROR([ - - *** libavcodec not found. - You need FFmpeg. Get it at ])]) ---- src/cimgffmpeg.cpp.orig 2012-11-23 20:58:01 UTC -+++ src/cimgffmpeg.cpp -@@ -39,11 +39,11 @@ void vfinfo_close(VFInfo *vfinfo){ - int ReadFrames(VFInfo *st_info, CImgList *pFrameList, unsigned int low_index, unsigned int hi_index) - { - //target pixel format -- PixelFormat ffmpeg_pixfmt; -+ AVPixelFormat ffmpeg_pixfmt; - if (st_info->pixelformat == 0) -- ffmpeg_pixfmt = PIX_FMT_GRAY8; -+ ffmpeg_pixfmt = AV_PIX_FMT_GRAY8; - else -- ffmpeg_pixfmt = PIX_FMT_RGB24; -+ ffmpeg_pixfmt = AV_PIX_FMT_RGB24; - - st_info->next_index = low_index; - -@@ -100,12 +100,12 @@ int ReadFrames(VFInfo *st_info, CImgList - AVFrame *pFrame; - - // Allocate video frame -- pFrame=avcodec_alloc_frame(); -+ pFrame=av_frame_alloc(); - if (pFrame==NULL) - return -1; - - // Allocate an AVFrame structure -- AVFrame *pConvertedFrame = avcodec_alloc_frame(); -+ AVFrame *pConvertedFrame = av_frame_alloc(); - if(pConvertedFrame==NULL) - return -1; - -@@ -123,7 +123,7 @@ int ReadFrames(VFInfo *st_info, CImgList - int size = 0; - - -- int channels = ffmpeg_pixfmt == PIX_FMT_GRAY8 ? 1 : 3; -+ int channels = ffmpeg_pixfmt == AV_PIX_FMT_GRAY8 ? 1 : 3; - - AVPacket packet; - int result = 1; -@@ -189,11 +189,11 @@ int ReadFrames(VFInfo *st_info, CImgList - - int NextFrames(VFInfo *st_info, CImgList *pFrameList) - { -- PixelFormat ffmpeg_pixfmt; -+ AVPixelFormat ffmpeg_pixfmt; - if (st_info->pixelformat == 0) -- ffmpeg_pixfmt = PIX_FMT_GRAY8; -+ ffmpeg_pixfmt = AV_PIX_FMT_GRAY8; - else -- ffmpeg_pixfmt = PIX_FMT_RGB24; -+ ffmpeg_pixfmt = AV_PIX_FMT_RGB24; - - if (st_info->pFormatCtx == NULL) - { -@@ -254,10 +254,10 @@ int NextFrames(VFInfo *st_info, CImgList - AVFrame *pFrame; - - // Allocate video frame -- pFrame=avcodec_alloc_frame(); -+ pFrame=av_frame_alloc(); - - // Allocate an AVFrame structure -- AVFrame *pConvertedFrame = avcodec_alloc_frame(); -+ AVFrame *pConvertedFrame = av_frame_alloc(); - if(pConvertedFrame==NULL){ - return -1; - } -@@ -287,7 +287,7 @@ int NextFrames(VFInfo *st_info, CImgList - break; - if(packet.stream_index == st_info->videoStream) { - -- int channels = ffmpeg_pixfmt == PIX_FMT_GRAY8 ? 1 : 3; -+ int channels = ffmpeg_pixfmt == AV_PIX_FMT_GRAY8 ? 1 : 3; - AVPacket avpkt; - av_init_packet(&avpkt); - avpkt.data = packet.data; diff --git a/multimedia/pHash/files/patch-src_pHash.cpp b/multimedia/pHash/files/patch-src_pHash.cpp deleted file mode 100644 index 5528ff0e505f..000000000000 --- a/multimedia/pHash/files/patch-src_pHash.cpp +++ /dev/null @@ -1,22 +0,0 @@ ---- src/pHash.cpp.orig 2013-04-13 17:23:12 UTC -+++ src/pHash.cpp -@@ -34,14 +34,18 @@ - int ph_num_threads() - { - int numCPU = 1; --#ifdef __GLIBC__ -+#ifdef _SC_NPROCESSORS_ONLN - numCPU = sysconf( _SC_NPROCESSORS_ONLN ); - #else - int mib[2]; - size_t len; - - mib[0] = CTL_HW; -+#ifdef HW_AVAILCPU - mib[1] = HW_AVAILCPU; -+#else -+ mib[1] = HW_NCPU; -+#endif - - sysctl(mib, 2, &numCPU, &len, NULL, 0); - diff --git a/multimedia/pHash/pkg-descr b/multimedia/pHash/pkg-descr deleted file mode 100644 index 92e4e2ee71df..000000000000 --- a/multimedia/pHash/pkg-descr +++ /dev/null @@ -1,3 +0,0 @@ -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++. diff --git a/multimedia/pHash/pkg-plist b/multimedia/pHash/pkg-plist deleted file mode 100644 index 13814d437c3a..000000000000 --- a/multimedia/pHash/pkg-plist +++ /dev/null @@ -1,9 +0,0 @@ -include/audiophash.h -include/pHash-config.h -include/pHash.h -include/ph_fft.h -lib/libpHash.a -lib/libpHash.so -lib/libpHash.so.0 -lib/libpHash.so.0.0.0 -libdata/pkgconfig/pHash.pc