summaryrefslogtreecommitdiff
path: root/kde-apps/libkface
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-12-30 01:11:30 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-12-30 01:11:30 +0000
commit76dfef0cec9170000357d2f354e412daf48941fc (patch)
tree56647120c0ee20ab3494475c86722034cd194b02 /kde-apps/libkface
parentccf84bcd604130256d1377cd58f0a634ae6ee20f (diff)
gentoo resync : 30.12.2017
Diffstat (limited to 'kde-apps/libkface')
-rw-r--r--kde-apps/libkface/Manifest4
-rw-r--r--kde-apps/libkface/files/libkface-16.11.80-opencv3.2-gentoo-3.1.patch58
-rw-r--r--kde-apps/libkface/libkface-17.08.3.ebuild34
-rw-r--r--kde-apps/libkface/metadata.xml8
4 files changed, 0 insertions, 104 deletions
diff --git a/kde-apps/libkface/Manifest b/kde-apps/libkface/Manifest
deleted file mode 100644
index 72242cb3fa3c..000000000000
--- a/kde-apps/libkface/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-AUX libkface-16.11.80-opencv3.2-gentoo-3.1.patch 2093 BLAKE2B 9ee9af7dc75eed1a7390e73d188ffc7c5de0743cdf1d9c9c931244a99f44929b512b843d3d441ef96bd9330aef39d262f8f54ed7dfc477bc31af457ac5355fbc SHA512 f3af458544a76bc5aa6efa072c712087c3811e1e2c3e6b530b311c3e15bfeb893f0eafbfa2fe9473371548f720275d6c6ea6ff84758e279a428614717b785b0d
-DIST libkface-17.08.3.tar.xz 8983632 BLAKE2B 3179a5f6942ffff466be8bba013efcd85863f0e233efb7eff0a050c33cad19d31a259fdfb72ccaa786c7b9277140c5abd2b8b7ca65417c90f9c79e251b7de722 SHA512 d15085301c087db6e9264d25b431fd9fa1201d435a0fff51d2ad08377b6ea85b7fd3ada629bf289a3c1e095e8146695523870ae670320817a0898d8f30c6a2f2
-EBUILD libkface-17.08.3.ebuild 825 BLAKE2B 4bb4a37634d7da3f6ad577db69567518e720acc8886c82901c5e159b633f10b04333cddf7df7ab093cc9b6d5827d86773ca2a3b483536cb00db9bec3f09bcf18 SHA512 378d07c58becb43412b9cff1e98916e5a63f40942efde1b8e074de3ca9403a76940c80c7aa3a4ec9cfe4760bb9f888c861653f2539265fd8407d76b3f4edeed8
-MISC metadata.xml 249 BLAKE2B ad415db89e5dee1627aa77f44ded9d4e1e5b8217d06c7ca25bbaa3fe92ce67c2b1090957c45a821b407d7927e5af798498aa6a5b903895ee1af8ee20a446c7f7 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3
diff --git a/kde-apps/libkface/files/libkface-16.11.80-opencv3.2-gentoo-3.1.patch b/kde-apps/libkface/files/libkface-16.11.80-opencv3.2-gentoo-3.1.patch
deleted file mode 100644
index bd61e9c52ca1..000000000000
--- a/kde-apps/libkface/files/libkface-16.11.80-opencv3.2-gentoo-3.1.patch
+++ /dev/null
@@ -1,58 +0,0 @@
---- a/src/recognition-opencv-lbph/facerec_borrowed.h 2016-11-26 14:19:01.492645170 +0100
-+++ b/src/recognition-opencv-lbph/facerec_borrowed.h.new 2016-11-26 14:19:17.655835794 +0100
-@@ -141,7 +141,7 @@
- /*
- * Predict
- */
-- void predict(cv::InputArray src, cv::Ptr<cv::face::PredictCollector> collector, const int state = 0) const override;
-+ void predict(cv::InputArray src, cv::Ptr<cv::face::PredictCollector> collector) const override;
- #endif
-
- /**
---- a/src/recognition-opencv-lbph/facerec_borrowed.cpp 2016-11-26 14:19:01.492645170 +0100
-+++ b/src/recognition-opencv-lbph/facerec_borrowed.cpp.new 2016-11-26 14:19:29.184971765 +0100
-@@ -380,7 +380,7 @@
- #if OPENCV_TEST_VERSION(3,1,0)
- void LBPHFaceRecognizer::predict(InputArray _src, int &minClass, double &minDist) const
- #else
--void LBPHFaceRecognizer::predict(cv::InputArray _src, cv::Ptr<cv::face::PredictCollector> collector, const int state) const
-+void LBPHFaceRecognizer::predict(cv::InputArray _src, cv::Ptr<cv::face::PredictCollector> collector) const
- #endif
- {
- if(m_histograms.empty())
-@@ -404,7 +404,7 @@
- minDist = DBL_MAX;
- minClass = -1;
- #else
-- collector->init((int)m_histograms.size(), state);
-+ collector->init((int)m_histograms.size());
- #endif
-
- // This is the standard method
-@@ -424,7 +424,7 @@
- }
- #else
- int label = m_labels.at<int>((int) sampleIdx);
-- if (!collector->emit(label, dist, state))
-+ if (!collector->collect(label, dist))
- {
- return;
- }
-@@ -470,7 +470,7 @@
- minClass = it->first;
- }
- #else
-- if (!collector->emit(it->first, mean, state))
-+ if (!collector->collect(it->first, mean))
- {
- return;
- }
-@@ -523,7 +523,7 @@
- }
- #else
- // large is better thus it is -score.
-- if (!collector->emit(it->first, -score, state))
-+ if (!collector->collect(it->first, -score))
- {
- return;
- }
diff --git a/kde-apps/libkface/libkface-17.08.3.ebuild b/kde-apps/libkface/libkface-17.08.3.ebuild
deleted file mode 100644
index b0d6c7809e90..000000000000
--- a/kde-apps/libkface/libkface-17.08.3.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-KDE_BLOCK_SLOT4="false"
-inherit kde5
-
-DESCRIPTION="Qt/C++ wrapper around LibFace to perform face recognition and detection"
-HOMEPAGE="https://projects.kde.org/projects/kde/kdegraphics/libs/libkface"
-
-LICENSE="BSD GPL-2+"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="
- $(add_qt_dep qtgui)
- $(add_qt_dep qtsql)
- $(add_qt_dep qtwidgets)
- $(add_qt_dep qtxml)
- media-libs/opencv:=
- || ( <media-libs/opencv-3.0.0 >=media-libs/opencv-3.1.0-r6[contrib] )
-"
-RDEPEND="${DEPEND}"
-
-PATCHES=( "${FILESDIR}/${PN}-16.11.80-opencv3.2-gentoo-3.1.patch" ) # not upstreamable like that
-
-src_configure() {
- local mycmakeargs=(
- -DENABLE_OPENCV3=$(has_version ">=media-libs/opencv-3" && echo yes || echo no)
- )
-
- kde5_src_configure
-}
diff --git a/kde-apps/libkface/metadata.xml b/kde-apps/libkface/metadata.xml
deleted file mode 100644
index 2fdbf33d963d..000000000000
--- a/kde-apps/libkface/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>kde@gentoo.org</email>
- <name>Gentoo KDE Project</name>
- </maintainer>
-</pkgmetadata>