[arch-commits] Commit in frei0r-plugins/trunk (PKGBUILD)

2019-12-15 Thread Antonio Rojas via arch-commits
Date: Sunday, December 15, 2019 @ 22:29:53
  Author: arojas
Revision: 537815

Update to 1.7.0, switch to cmake - autotools is broken

Modified:
  frei0r-plugins/trunk/PKGBUILD

--+
 PKGBUILD |   17 +
 1 file changed, 9 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-12-15 19:46:16 UTC (rev 537814)
+++ PKGBUILD2019-12-15 22:29:53 UTC (rev 537815)
@@ -2,28 +2,29 @@
 # Contributor: Sergej Pupykin 
 
 pkgname=frei0r-plugins
-pkgver=1.6.1
-pkgrel=7
+pkgver=1.7.0
+pkgrel=1
 pkgdesc="Minimalistic plugin API for video effects"
 arch=('x86_64')
 url="https://frei0r.dyne.org/";
 license=('GPL')
 depends=('cairo' 'gavl')
-makedepends=('doxygen') # opencv - not compatible with 4.0
+makedepends=('cmake' 'doxygen') # opencv - not compatible with 4.0
 #optdepends=('opencv: for facebl0r and facedetect plugins')
 source=(https://files.dyne.org/frei0r/$pkgname-$pkgver.tar.gz{,.asc})
 validpgpkeys=('6113D89CA825C5CEDD02C87273B35DA54ACB7D10') # Denis Roio 
(Jaromil)
-sha256sums=('e0c24630961195d9bd65aa8d43732469e8248e8918faa942cfb881769d11515e'
+sha256sums=('1b1ff8f0f9bc23eed724e94e9a7c1d8f0244bfe33424bb4fe68e6460c088523a'
 'SKIP')
 
 build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  mkdir -p build
+  cd build
+  cmake ../$pkgname-$pkgver \
+-DCMAKE_INSTALL_PREFIX=/usr
   make
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd build
   make DESTDIR="$pkgdir" install
 }


[arch-commits] Commit in frei0r-plugins/trunk (PKGBUILD)

2018-11-21 Thread Antonio Rojas via arch-commits
Date: Wednesday, November 21, 2018 @ 22:08:06
  Author: arojas
Revision: 409302

Disable opencv plugin, not compatible with 4.0

Modified:
  frei0r-plugins/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-11-21 21:52:32 UTC (rev 409301)
+++ PKGBUILD2018-11-21 22:08:06 UTC (rev 409302)
@@ -3,14 +3,14 @@
 
 pkgname=frei0r-plugins
 pkgver=1.6.1
-pkgrel=6
+pkgrel=7
 pkgdesc="Minimalistic plugin API for video effects"
 arch=('x86_64')
 url="https://frei0r.dyne.org/";
 license=('GPL')
 depends=('cairo' 'gavl')
-makedepends=('doxygen' 'opencv')
-optdepends=('opencv: for facebl0r and facedetect plugins')
+makedepends=('doxygen') # opencv - not compatible with 4.0
+#optdepends=('opencv: for facebl0r and facedetect plugins')
 source=(https://files.dyne.org/frei0r/$pkgname-$pkgver.tar.gz{,.asc})
 validpgpkeys=('6113D89CA825C5CEDD02C87273B35DA54ACB7D10') # Denis Roio 
(Jaromil)
 sha256sums=('e0c24630961195d9bd65aa8d43732469e8248e8918faa942cfb881769d11515e'


[arch-commits] Commit in frei0r-plugins/trunk (PKGBUILD)

2018-01-21 Thread Balló György via arch-commits
Date: Monday, January 22, 2018 @ 00:50:59
  Author: bgyorgy
Revision: 284819

frei0r-plugins: Adopt the package

Modified:
  frei0r-plugins/trunk/PKGBUILD

--+
 PKGBUILD |9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-01-22 00:43:21 UTC (rev 284818)
+++ PKGBUILD2018-01-22 00:50:59 UTC (rev 284819)
@@ -1,12 +1,12 @@
 # $Id$
-# Maintainer:
+# Maintainer: Balló György 
 # Contributor: Sergej Pupykin 
 
 pkgname=frei0r-plugins
 pkgver=1.6.1
-pkgrel=5
-pkgdesc="A minimalistic plugin API for video sources and filters"
-arch=(x86_64)
+pkgrel=6
+pkgdesc="Minimalistic plugin API for video effects"
+arch=('x86_64')
 url="https://frei0r.dyne.org/";
 license=('GPL')
 depends=('cairo' 'gavl')
@@ -20,6 +20,7 @@
 build() {
   cd $pkgname-$pkgver
   ./configure --prefix=/usr
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }
 


[arch-commits] Commit in frei0r-plugins/trunk (PKGBUILD)

2017-12-24 Thread Antonio Rojas via arch-commits
Date: Sunday, December 24, 2017 @ 23:23:40
  Author: arojas
Revision: 275869

opencv 3.4 rebuild

Modified:
  frei0r-plugins/trunk/PKGBUILD

--+
 PKGBUILD |9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-12-24 23:21:20 UTC (rev 275868)
+++ PKGBUILD2017-12-24 23:23:40 UTC (rev 275869)
@@ -1,9 +1,10 @@
 # $Id$
-# Maintainer: Sergej Pupykin 
+# Maintainer:
+# Contributor: Sergej Pupykin 
 
 pkgname=frei0r-plugins
 pkgver=1.6.1
-pkgrel=4
+pkgrel=5
 pkgdesc="A minimalistic plugin API for video sources and filters"
 arch=(x86_64)
 url="https://frei0r.dyne.org/";
@@ -17,12 +18,12 @@
 'SKIP')
 
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd $pkgname-$pkgver
   ./configure --prefix=/usr
   make
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd $pkgname-$pkgver
   make DESTDIR="$pkgdir" install
 }


[arch-commits] Commit in frei0r-plugins/trunk (PKGBUILD)

2017-08-21 Thread Antonio Rojas
Date: Monday, August 21, 2017 @ 18:55:10
  Author: arojas
Revision: 252877

opencv 3.3 rebuild

Modified:
  frei0r-plugins/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-08-21 18:52:45 UTC (rev 252876)
+++ PKGBUILD2017-08-21 18:55:10 UTC (rev 252877)
@@ -3,7 +3,7 @@
 
 pkgname=frei0r-plugins
 pkgver=1.6.1
-pkgrel=3
+pkgrel=4
 pkgdesc="A minimalistic plugin API for video sources and filters"
 arch=(i686 x86_64)
 url="https://frei0r.dyne.org/";


[arch-commits] Commit in frei0r-plugins/trunk (PKGBUILD)

2017-06-21 Thread Balló György
Date: Wednesday, June 21, 2017 @ 08:24:30
  Author: bgyorgy
Revision: 239199

upgpkg: frei0r-plugins 1.6.1-3

Cleanup the package, update upstream URL and move opencv to optdepends. 
opencv is a large dependency, and needed only for facebl0r and 
facedetect plugins.

Modified:
  frei0r-plugins/trunk/PKGBUILD

--+
 PKGBUILD |   22 +-
 1 file changed, 9 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-06-21 08:05:07 UTC (rev 239198)
+++ PKGBUILD2017-06-21 08:24:30 UTC (rev 239199)
@@ -3,25 +3,21 @@
 
 pkgname=frei0r-plugins
 pkgver=1.6.1
-pkgrel=2
+pkgrel=3
 pkgdesc="A minimalistic plugin API for video sources and filters"
 arch=(i686 x86_64)
-url="http://www.piksel.org/frei0r";
+url="https://frei0r.dyne.org/";
 license=('GPL')
-depends=('gcc-libs' 'gavl>=1.0.0' 'opencv>=2.4.3' 'hdf5')
-makedepends=('doxygen')
-options=('!emptydirs')
-source=(https://files.dyne.org/frei0r/$pkgname-$pkgver.tar.gz)
-sha256sums=('e0c24630961195d9bd65aa8d43732469e8248e8918faa942cfb881769d11515e')
+depends=('cairo' 'gavl')
+makedepends=('doxygen' 'opencv')
+optdepends=('opencv: for facebl0r and facedetect plugins')
+source=(https://files.dyne.org/frei0r/$pkgname-$pkgver.tar.gz{,.asc})
+validpgpkeys=('6113D89CA825C5CEDD02C87273B35DA54ACB7D10') # Denis Roio 
(Jaromil)
+sha256sums=('e0c24630961195d9bd65aa8d43732469e8248e8918faa942cfb881769d11515e'
+'SKIP')
 
-prepare() {
-  cd "$srcdir/$pkgname-$pkgver"
-  touch README AUTHORS ChangeLog TODO
-}
-
 build() {
   cd "$srcdir/$pkgname-$pkgver"
-  ./autogen.sh
   ./configure --prefix=/usr
   make
 }


[arch-commits] Commit in frei0r-plugins/trunk (PKGBUILD)

2017-06-09 Thread Sergej Pupykin
Date: Friday, June 9, 2017 @ 10:32:23
  Author: spupykin
Revision: 235508

upgpkg: frei0r-plugins 1.6.1-2: fix deps

Modified:
  frei0r-plugins/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-06-09 10:32:09 UTC (rev 235507)
+++ PKGBUILD2017-06-09 10:32:23 UTC (rev 235508)
@@ -3,12 +3,12 @@
 
 pkgname=frei0r-plugins
 pkgver=1.6.1
-pkgrel=1
+pkgrel=2
 pkgdesc="A minimalistic plugin API for video sources and filters"
 arch=(i686 x86_64)
 url="http://www.piksel.org/frei0r";
 license=('GPL')
-depends=('gcc-libs' 'gavl>=1.0.0' 'opencv>=2.4.3')
+depends=('gcc-libs' 'gavl>=1.0.0' 'opencv>=2.4.3' 'hdf5')
 makedepends=('doxygen')
 options=('!emptydirs')
 source=(https://files.dyne.org/frei0r/$pkgname-$pkgver.tar.gz)


[arch-commits] Commit in frei0r-plugins/trunk (PKGBUILD)

2017-06-04 Thread Sergej Pupykin
Date: Monday, June 5, 2017 @ 06:43:40
  Author: spupykin
Revision: 234149

upgpkg: frei0r-plugins 1.6.1-1

Modified:
  frei0r-plugins/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-06-05 05:33:03 UTC (rev 234148)
+++ PKGBUILD2017-06-05 06:43:40 UTC (rev 234149)
@@ -2,7 +2,7 @@
 # Maintainer: Sergej Pupykin 
 
 pkgname=frei0r-plugins
-pkgver=1.6.0
+pkgver=1.6.1
 pkgrel=1
 pkgdesc="A minimalistic plugin API for video sources and filters"
 arch=(i686 x86_64)
@@ -12,7 +12,7 @@
 makedepends=('doxygen')
 options=('!emptydirs')
 source=(https://files.dyne.org/frei0r/$pkgname-$pkgver.tar.gz)
-sha256sums=('ab2d7254f3a822944252f6c85453eeb8b38fd9368e087034c8d47d68fe6e36fe')
+sha256sums=('e0c24630961195d9bd65aa8d43732469e8248e8918faa942cfb881769d11515e')
 
 prepare() {
   cd "$srcdir/$pkgname-$pkgver"


[arch-commits] Commit in frei0r-plugins/trunk (PKGBUILD)

2017-03-27 Thread Sergej Pupykin
Date: Monday, March 27, 2017 @ 09:54:57
  Author: spupykin
Revision: 219302

upgpkg: frei0r-plugins 1.6.0-1

upd

Modified:
  frei0r-plugins/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-03-27 09:54:51 UTC (rev 219301)
+++ PKGBUILD2017-03-27 09:54:57 UTC (rev 219302)
@@ -2,7 +2,7 @@
 # Maintainer: Sergej Pupykin 
 
 pkgname=frei0r-plugins
-pkgver=1.5.0
+pkgver=1.6.0
 pkgrel=1
 pkgdesc="A minimalistic plugin API for video sources and filters"
 arch=(i686 x86_64)
@@ -11,8 +11,8 @@
 depends=('gcc-libs' 'gavl>=1.0.0' 'opencv>=2.4.3')
 makedepends=('doxygen')
 options=('!emptydirs')
-source=(https://files.dyne.org/frei0r/releases/$pkgname-$pkgver.tar.gz)
-sha256sums=('781cf84a6c2a9a3252f54d2967b57f6de75a31fc1684371e112638c981f72b60')
+source=(https://files.dyne.org/frei0r/$pkgname-$pkgver.tar.gz)
+sha256sums=('ab2d7254f3a822944252f6c85453eeb8b38fd9368e087034c8d47d68fe6e36fe')
 
 prepare() {
   cd "$srcdir/$pkgname-$pkgver"


[arch-commits] Commit in frei0r-plugins/trunk (PKGBUILD frei0r-plugins-opencv3.patch)

2017-03-14 Thread Sergej Pupykin
Date: Tuesday, March 14, 2017 @ 12:24:13
  Author: spupykin
Revision: 216237

upgpkg: frei0r-plugins 1.5.0-1

upd

Modified:
  frei0r-plugins/trunk/PKGBUILD
Deleted:
  frei0r-plugins/trunk/frei0r-plugins-opencv3.patch

--+
 PKGBUILD |   15 +---
 frei0r-plugins-opencv3.patch |   50 -
 2 files changed, 7 insertions(+), 58 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-03-14 12:02:25 UTC (rev 216236)
+++ PKGBUILD2017-03-14 12:24:13 UTC (rev 216237)
@@ -2,8 +2,8 @@
 # Maintainer: Sergej Pupykin 
 
 pkgname=frei0r-plugins
-pkgver=1.4
-pkgrel=5
+pkgver=1.5.0
+pkgrel=1
 pkgdesc="A minimalistic plugin API for video sources and filters"
 arch=(i686 x86_64)
 url="http://www.piksel.org/frei0r";
@@ -11,18 +11,17 @@
 depends=('gcc-libs' 'gavl>=1.0.0' 'opencv>=2.4.3')
 makedepends=('doxygen')
 options=('!emptydirs')
-source=(https://files.dyne.org/frei0r/releases/$pkgname-$pkgver.tar.gz 
frei0r-plugins-opencv3.patch)
-md5sums=('202375d1bcb545c1b6eb8f34e0260ec5'
- '52d21eee99b5f38a97b905c5243e9143')
+source=(https://files.dyne.org/frei0r/releases/$pkgname-$pkgver.tar.gz)
+sha256sums=('781cf84a6c2a9a3252f54d2967b57f6de75a31fc1684371e112638c981f72b60')
 
 prepare() {
-  cd $pkgname-$pkgver
-# Fix build with opencv 3 (Gentoo)
-  patch -p2 -i ../frei0r-plugins-opencv3.patch
+  cd "$srcdir/$pkgname-$pkgver"
+  touch README AUTHORS ChangeLog TODO
 }
 
 build() {
   cd "$srcdir/$pkgname-$pkgver"
+  ./autogen.sh
   ./configure --prefix=/usr
   make
 }

Deleted: frei0r-plugins-opencv3.patch
===
--- frei0r-plugins-opencv3.patch2017-03-14 12:02:25 UTC (rev 216236)
+++ frei0r-plugins-opencv3.patch2017-03-14 12:24:13 UTC (rev 216237)
@@ -1,50 +0,0 @@
 ./frei0r-plugins-1.4/src/filter/facedetect/facedetect.c.opencv3
2013-02-24 14:43:22.0 +0100
-+++ ./frei0r-plugins-1.4/src/filter/facedetect/facedetect.c2015-07-08 
12:44:30.987056878 +0200
-@@ -211,8 +211,8 @@ CvSeq* detect_and_draw( IplImage* img, C
- 
-   double scale = 1.3;
-   IplImage* gray = cvCreateImage( cvSize(img->width,img->height), 8, 1 );
--  IplImage* small_img = cvCreateImage( cvSize( cvRound (img->width/scale),
--   cvRound (img->height/scale)),
-+  IplImage* small_img = cvCreateImage( cvSize( cvRound 
((double)img->width/scale),
-+   cvRound 
((double)img->height/scale)),
-8, 1 );
-   int i;
- 
 ./frei0r-plugins-1.4/src/filter/facedetect/facedetect.cpp.opencv3  
2013-02-24 14:43:22.0 +0100
-+++ ./frei0r-plugins-1.4/src/filter/facedetect/facedetect.cpp  2015-07-08 
12:48:32.754615885 +0200
-@@ -259,11 +259,11 @@ private:
- {
- double scale = this->scale == 0? 1.0 : this->scale;
- CvScalar colors[5] = {
--{{cvRound(color[0].r * 255), cvRound(color[0].g * 255), 
cvRound(color[0].b * 255), cvRound(alpha * 255)}},
--{{cvRound(color[1].r * 255), cvRound(color[1].g * 255), 
cvRound(color[1].b * 255), cvRound(alpha * 255)}},
--{{cvRound(color[2].r * 255), cvRound(color[2].g * 255), 
cvRound(color[2].b * 255), cvRound(alpha * 255)}},
--{{cvRound(color[3].r * 255), cvRound(color[3].g * 255), 
cvRound(color[3].b * 255), cvRound(alpha * 255)}},
--{{cvRound(color[4].r * 255), cvRound(color[4].g * 255), 
cvRound(color[4].b * 255), cvRound(alpha * 255)}},
-+CvScalar(cvRound(color[0].r * 255), cvRound(color[0].g * 255), 
cvRound(color[0].b * 255), cvRound(alpha * 255)),
-+CvScalar(cvRound(color[1].r * 255), cvRound(color[1].g * 255), 
cvRound(color[1].b * 255), cvRound(alpha * 255)),
-+CvScalar(cvRound(color[2].r * 255), cvRound(color[2].g * 255), 
cvRound(color[2].b * 255), cvRound(alpha * 255)),
-+CvScalar(cvRound(color[3].r * 255), cvRound(color[3].g * 255), 
cvRound(color[3].b * 255), cvRound(alpha * 255)),
-+CvScalar(cvRound(color[4].r * 255), cvRound(color[4].g * 255), 
cvRound(color[4].b * 255), cvRound(alpha * 255)),
- };
- 
- for (int i = 0; i < (objects ? objects->total : 0); i++)
-@@ -287,14 +287,14 @@ private:
- }
- case 1:
- {
--CvBox2D box = {{center.x, center.y}, {r->width / scale, 
(r->height / scale) * 1.2}, 90};
-+CvBox2D box = CvBox2D(CvPoint2D32f(center.x, center.y), 
CvSize2D32f(r->width / scale, (r->height / scale) * 1.2), 90);
- cvEllipseBox(image, box, colors[i % 5], thickness, 
linetype);
- break;
- }
- case 2:
- {
--CvPoint pt1 = {r->x / scale, r->y / scale};
--CvPoint pt2 = {

[arch-commits] Commit in frei0r-plugins/trunk (PKGBUILD)

2017-01-30 Thread Antonio Rojas
Date: Monday, January 30, 2017 @ 22:27:32
  Author: arojas
Revision: 209572

opencv 3.2 rebuild

Modified:
  frei0r-plugins/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-01-30 22:22:28 UTC (rev 209571)
+++ PKGBUILD2017-01-30 22:27:32 UTC (rev 209572)
@@ -3,7 +3,7 @@
 
 pkgname=frei0r-plugins
 pkgver=1.4
-pkgrel=4
+pkgrel=5
 pkgdesc="A minimalistic plugin API for video sources and filters"
 arch=(i686 x86_64)
 url="http://www.piksel.org/frei0r";


[arch-commits] Commit in frei0r-plugins/trunk (PKGBUILD)

2016-03-10 Thread Antonio Rojas
Date: Friday, March 11, 2016 @ 08:07:43
  Author: arojas
Revision: 166027

Revert unneeded change

Modified:
  frei0r-plugins/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-03-11 07:07:21 UTC (rev 166026)
+++ PKGBUILD2016-03-11 07:07:43 UTC (rev 166027)
@@ -24,7 +24,7 @@
 build() {
   cd "$srcdir/$pkgname-$pkgver"
   ./configure --prefix=/usr
-  make -j1
+  make
 }
 
 package() {


[arch-commits] Commit in frei0r-plugins/trunk (PKGBUILD frei0r-plugins-opencv3.patch)

2016-03-10 Thread Antonio Rojas
Date: Friday, March 11, 2016 @ 08:03:37
  Author: arojas
Revision: 166023

opencv 3.1 rebuild

Added:
  frei0r-plugins/trunk/frei0r-plugins-opencv3.patch
Modified:
  frei0r-plugins/trunk/PKGBUILD

--+
 PKGBUILD |   15 +---
 frei0r-plugins-opencv3.patch |   50 +
 2 files changed, 61 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-03-11 06:52:09 UTC (rev 166022)
+++ PKGBUILD2016-03-11 07:03:37 UTC (rev 166023)
@@ -3,7 +3,7 @@
 
 pkgname=frei0r-plugins
 pkgver=1.4
-pkgrel=3
+pkgrel=4
 pkgdesc="A minimalistic plugin API for video sources and filters"
 arch=(i686 x86_64)
 url="http://www.piksel.org/frei0r";
@@ -11,13 +11,20 @@
 depends=('gcc-libs' 'gavl>=1.0.0' 'opencv>=2.4.3')
 makedepends=('doxygen')
 options=('!emptydirs')
-source=(https://files.dyne.org/frei0r/releases/$pkgname-$pkgver.tar.gz)
-md5sums=('202375d1bcb545c1b6eb8f34e0260ec5')
+source=(https://files.dyne.org/frei0r/releases/$pkgname-$pkgver.tar.gz 
frei0r-plugins-opencv3.patch)
+md5sums=('202375d1bcb545c1b6eb8f34e0260ec5'
+ '52d21eee99b5f38a97b905c5243e9143')
 
+prepare() {
+  cd $pkgname-$pkgver
+# Fix build with opencv 3 (Gentoo)
+  patch -p2 -i ../frei0r-plugins-opencv3.patch
+}
+
 build() {
   cd "$srcdir/$pkgname-$pkgver"
   ./configure --prefix=/usr
-  make
+  make -j1
 }
 
 package() {

Added: frei0r-plugins-opencv3.patch
===
--- frei0r-plugins-opencv3.patch(rev 0)
+++ frei0r-plugins-opencv3.patch2016-03-11 07:03:37 UTC (rev 166023)
@@ -0,0 +1,50 @@
+--- ./frei0r-plugins-1.4/src/filter/facedetect/facedetect.c.opencv3
2013-02-24 14:43:22.0 +0100
 ./frei0r-plugins-1.4/src/filter/facedetect/facedetect.c2015-07-08 
12:44:30.987056878 +0200
+@@ -211,8 +211,8 @@ CvSeq* detect_and_draw( IplImage* img, C
+ 
+   double scale = 1.3;
+   IplImage* gray = cvCreateImage( cvSize(img->width,img->height), 8, 1 );
+-  IplImage* small_img = cvCreateImage( cvSize( cvRound (img->width/scale),
+-   cvRound (img->height/scale)),
++  IplImage* small_img = cvCreateImage( cvSize( cvRound 
((double)img->width/scale),
++   cvRound 
((double)img->height/scale)),
+8, 1 );
+   int i;
+ 
+--- ./frei0r-plugins-1.4/src/filter/facedetect/facedetect.cpp.opencv3  
2013-02-24 14:43:22.0 +0100
 ./frei0r-plugins-1.4/src/filter/facedetect/facedetect.cpp  2015-07-08 
12:48:32.754615885 +0200
+@@ -259,11 +259,11 @@ private:
+ {
+ double scale = this->scale == 0? 1.0 : this->scale;
+ CvScalar colors[5] = {
+-{{cvRound(color[0].r * 255), cvRound(color[0].g * 255), 
cvRound(color[0].b * 255), cvRound(alpha * 255)}},
+-{{cvRound(color[1].r * 255), cvRound(color[1].g * 255), 
cvRound(color[1].b * 255), cvRound(alpha * 255)}},
+-{{cvRound(color[2].r * 255), cvRound(color[2].g * 255), 
cvRound(color[2].b * 255), cvRound(alpha * 255)}},
+-{{cvRound(color[3].r * 255), cvRound(color[3].g * 255), 
cvRound(color[3].b * 255), cvRound(alpha * 255)}},
+-{{cvRound(color[4].r * 255), cvRound(color[4].g * 255), 
cvRound(color[4].b * 255), cvRound(alpha * 255)}},
++CvScalar(cvRound(color[0].r * 255), cvRound(color[0].g * 255), 
cvRound(color[0].b * 255), cvRound(alpha * 255)),
++CvScalar(cvRound(color[1].r * 255), cvRound(color[1].g * 255), 
cvRound(color[1].b * 255), cvRound(alpha * 255)),
++CvScalar(cvRound(color[2].r * 255), cvRound(color[2].g * 255), 
cvRound(color[2].b * 255), cvRound(alpha * 255)),
++CvScalar(cvRound(color[3].r * 255), cvRound(color[3].g * 255), 
cvRound(color[3].b * 255), cvRound(alpha * 255)),
++CvScalar(cvRound(color[4].r * 255), cvRound(color[4].g * 255), 
cvRound(color[4].b * 255), cvRound(alpha * 255)),
+ };
+ 
+ for (int i = 0; i < (objects ? objects->total : 0); i++)
+@@ -287,14 +287,14 @@ private:
+ }
+ case 1:
+ {
+-CvBox2D box = {{center.x, center.y}, {r->width / scale, 
(r->height / scale) * 1.2}, 90};
++CvBox2D box = CvBox2D(CvPoint2D32f(center.x, center.y), 
CvSize2D32f(r->width / scale, (r->height / scale) * 1.2), 90);
+ cvEllipseBox(image, box, colors[i % 5], thickness, 
linetype);
+ break;
+ }
+ case 2:
+ {
+-CvPoint pt1 = {r->x / scale, r->y / scale};
+-CvPoint pt2 = {(r->x + r->width) / scale, (r->y + 
r->height) / scale};
++CvPoint pt1 = CvPoint(r->x / scale, r->y / scale);
++CvPoint pt2 = CvPo

[arch-commits] Commit in frei0r-plugins/trunk (PKGBUILD)

2015-12-07 Thread Evangelos Foutras
Date: Monday, December 7, 2015 @ 11:13:47
  Author: foutrelis
Revision: 149791

C++11 ABI rebuild

Modified:
  frei0r-plugins/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-12-07 10:04:08 UTC (rev 149790)
+++ PKGBUILD2015-12-07 10:13:47 UTC (rev 149791)
@@ -3,7 +3,7 @@
 
 pkgname=frei0r-plugins
 pkgver=1.4
-pkgrel=2
+pkgrel=3
 pkgdesc="A minimalistic plugin API for video sources and filters"
 arch=(i686 x86_64)
 url="http://www.piksel.org/frei0r";


[arch-commits] Commit in frei0r-plugins/trunk (PKGBUILD)

2015-06-21 Thread Evangelos Foutras
Date: Monday, June 22, 2015 @ 07:06:11
  Author: foutrelis
Revision: 135685

Fix source URL

Modified:
  frei0r-plugins/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-06-22 04:30:40 UTC (rev 135684)
+++ PKGBUILD2015-06-22 05:06:11 UTC (rev 135685)
@@ -11,7 +11,7 @@
 depends=('gcc-libs' 'gavl>=1.0.0' 'opencv>=2.4.3')
 makedepends=('doxygen')
 options=('!emptydirs')
-source=(https://files.dyne.org/.xsend.php?file=frei0r/releases/frei0r-plugins-$pkgver.tar.gz)
+source=(https://files.dyne.org/frei0r/releases/$pkgname-$pkgver.tar.gz)
 md5sums=('202375d1bcb545c1b6eb8f34e0260ec5')
 
 build() {


[arch-commits] Commit in frei0r-plugins/trunk (PKGBUILD)

2014-04-22 Thread Sergej Pupykin
Date: Tuesday, April 22, 2014 @ 18:30:40
  Author: spupykin
Revision: 109988

upgpkg: frei0r-plugins 1.4-2

upd

Modified:
  frei0r-plugins/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-04-22 16:30:37 UTC (rev 109987)
+++ PKGBUILD2014-04-22 16:30:40 UTC (rev 109988)
@@ -3,7 +3,7 @@
 
 pkgname=frei0r-plugins
 pkgver=1.4
-pkgrel=1
+pkgrel=2
 pkgdesc="A minimalistic plugin API for video sources and filters"
 arch=(i686 x86_64)
 url="http://www.piksel.org/frei0r";
@@ -11,7 +11,7 @@
 depends=('gcc-libs' 'gavl>=1.0.0' 'opencv>=2.4.3')
 makedepends=('doxygen')
 options=('!emptydirs')
-source=(http://ftp.dyne.org/frei0r/releases/frei0r-plugins-$pkgver.tar.gz)
+source=(https://files.dyne.org/.xsend.php?file=frei0r/releases/frei0r-plugins-$pkgver.tar.gz)
 md5sums=('202375d1bcb545c1b6eb8f34e0260ec5')
 
 build() {



[arch-commits] Commit in frei0r-plugins/trunk (PKGBUILD)

2013-03-21 Thread Sergej Pupykin
Date: Thursday, March 21, 2013 @ 14:54:55
  Author: spupykin
Revision: 86723

upgpkg: frei0r-plugins 1.4-1

upd

Modified:
  frei0r-plugins/trunk/PKGBUILD

--+
 PKGBUILD |   10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-03-21 13:49:13 UTC (rev 86722)
+++ PKGBUILD2013-03-21 13:54:55 UTC (rev 86723)
@@ -2,8 +2,8 @@
 # Maintainer: Sergej Pupykin 
 
 pkgname=frei0r-plugins
-pkgver=1.3
-pkgrel=6
+pkgver=1.4
+pkgrel=1
 pkgdesc="A minimalistic plugin API for video sources and filters"
 arch=(i686 x86_64)
 url="http://www.piksel.org/frei0r";
@@ -12,15 +12,15 @@
 makedepends=('doxygen')
 options=('!emptydirs')
 source=(http://ftp.dyne.org/frei0r/releases/frei0r-plugins-$pkgver.tar.gz)
-md5sums=('a2eb63feeeb0c5cf439ccca276cbf70c')
+md5sums=('202375d1bcb545c1b6eb8f34e0260ec5')
 
 build() {
-  cd "$srcdir/frei0r-$pkgver"
+  cd "$srcdir/$pkgname-$pkgver"
   ./configure --prefix=/usr
   make
 }
 
 package() {
-  cd "$srcdir/frei0r-$pkgver"
+  cd "$srcdir/$pkgname-$pkgver"
   make DESTDIR="$pkgdir" install
 }