git: 862f6b138f90 - main - graphics/rubygem-objectdetect: Remove expired port:
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Mar 2023 00:02:23 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=862f6b138f900e6a08722452a267fb9ddf89064d commit 862f6b138f900e6a08722452a267fb9ddf89064d Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-03-20 23:45:28 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-03-21 00:01:51 +0000 graphics/rubygem-objectdetect: Remove expired port: 2023-03-21 graphics/rubygem-objectdetect: Broken since 2021 --- MOVED | 1 + graphics/Makefile | 1 - graphics/rubygem-objectdetect/Makefile | 24 ------------ graphics/rubygem-objectdetect/distinfo | 2 - .../files/patch-ext-objectdetect.c | 44 ---------------------- graphics/rubygem-objectdetect/pkg-descr | 1 - 6 files changed, 1 insertion(+), 72 deletions(-) diff --git a/MOVED b/MOVED index c76d5a3a9578..1a0696063800 100644 --- a/MOVED +++ b/MOVED @@ -17818,3 +17818,4 @@ dns/py-namebench||2023-03-20|Has expired: Broken since 2021 databases/libgda5-mdb||2023-03-20|Has expired: Broken since 2021 games/flightgear-terragear||2023-03-20|Has expired: Broken since 2021 textproc/py-rstfmt||2023-03-20|Has expired: Broken since 2021 +graphics/rubygem-objectdetect||2023-03-20|Has expired: Broken since 2021 diff --git a/graphics/Makefile b/graphics/Makefile index ef084d877800..4037960afd8f 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -1040,7 +1040,6 @@ SUBDIR += rubygem-invisible_captcha SUBDIR += rubygem-mini_magick SUBDIR += rubygem-mini_magick410 - SUBDIR += rubygem-objectdetect SUBDIR += rubygem-opengl SUBDIR += rubygem-pdfkit SUBDIR += rubygem-png diff --git a/graphics/rubygem-objectdetect/Makefile b/graphics/rubygem-objectdetect/Makefile deleted file mode 100644 index 06649283ead8..000000000000 --- a/graphics/rubygem-objectdetect/Makefile +++ /dev/null @@ -1,24 +0,0 @@ -PORTNAME= objectdetect -PORTVERSION= 0.0.3 -PORTREVISION= 13 -CATEGORIES= graphics rubygems -MASTER_SITES= RG - -MAINTAINER= tota@FreeBSD.org -COMMENT= Simple library for detecting objects in pictures -WWW= https://rubygems.org/gems/objectdetect - -LICENSE= MIT - -BROKEN= OpenCV4 no longer ships OpencCV-1.0 headers -DEPRECATED= Broken since 2021 -EXPIRATION_DATE= 2023-03-21 - -LIB_DEPENDS= libopencv_video.so:graphics/opencv - -USES= gem pkgconfig - -post-patch: - ${REINPLACE_CMD} -E 's|(objectdetect)|\1/version|' ${WRKSRC}/test/test_helper.rb - -.include <bsd.port.mk> diff --git a/graphics/rubygem-objectdetect/distinfo b/graphics/rubygem-objectdetect/distinfo deleted file mode 100644 index c94c8a7a068c..000000000000 --- a/graphics/rubygem-objectdetect/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (rubygem/objectdetect-0.0.3.gem) = f3ad7dc88e7b7c57c1d2686f197e9615d8d495e32ff12fbd2f44e4d348b19e36 -SIZE (rubygem/objectdetect-0.0.3.gem) = 16896 diff --git a/graphics/rubygem-objectdetect/files/patch-ext-objectdetect.c b/graphics/rubygem-objectdetect/files/patch-ext-objectdetect.c deleted file mode 100644 index 82842df61d5c..000000000000 --- a/graphics/rubygem-objectdetect/files/patch-ext-objectdetect.c +++ /dev/null @@ -1,44 +0,0 @@ ---- ext/objectdetect.c.orig 2013-05-04 21:19:44.000000000 +0900 -+++ ext/objectdetect.c 2013-05-04 21:53:21.000000000 +0900 -@@ -5,7 +5,15 @@ - - #include "cv.h" - #include "highgui.h" --#include "ruby.h" -+#ifdef HAVE_RUBY_ST_H -+# include "ruby/ruby.h" -+#else -+# include "ruby.h" -+#endif -+ -+#ifndef RSTRING_PTR -+# define RSTRING_PTR(str) (RSTRING(str)->ptr) -+#endif - - /* - call-seq: -@@ -25,13 +33,13 @@ - Check_Type(target_path, T_STRING); - - /* load the model */ -- CvHaarClassifierCascade* cascade = cvLoad(RSTRING(model_path)->ptr, 0, 0, 0); -+ CvHaarClassifierCascade* cascade = cvLoad(RSTRING_PTR(model_path), 0, 0, 0); - if( cascade == 0 ) { - rb_raise(rb_eArgError, "Can't load the cascade file"); - } - - /* load the target picture */ -- IplImage *img = cvLoadImage(RSTRING(target_path)->ptr, 1); -+ IplImage *img = cvLoadImage(RSTRING_PTR(target_path), 1); - if( !img ) { - cvReleaseHaarClassifierCascade(&cascade); - rb_raise(rb_eArgError, "Can't load the image file"); -@@ -62,7 +70,7 @@ - CvMemStorage* storage = cvCreateMemStorage(0); - CvSeq *faces = cvHaarDetectObjects(small_img, cascade, storage, - 1.1, 2, CV_HAAR_DO_CANNY_PRUNING, -- cvSize(0,0) ); -+ cvSize(0,0), cvSize(0,0) ); - - /* output */ - VALUE results = rb_ary_new(); diff --git a/graphics/rubygem-objectdetect/pkg-descr b/graphics/rubygem-objectdetect/pkg-descr deleted file mode 100644 index 40d1f2fbb940..000000000000 --- a/graphics/rubygem-objectdetect/pkg-descr +++ /dev/null @@ -1 +0,0 @@ -This is a simple library for detecting objects in pictures.