[arch-commits] Commit in wxcam/trunk (PKGBUILD gtk3-fix.patch)

2017-07-02 Thread Balló György
Date: Monday, July 3, 2017 @ 05:59:35
  Author: bgyorgy
Revision: 242100

upgpkg: wxcam 1.1-10

Rebuild with wxgtk3

Added:
  wxcam/trunk/gtk3-fix.patch
Modified:
  wxcam/trunk/PKGBUILD

+
 PKGBUILD   |   22 --
 gtk3-fix.patch |   39 +++
 2 files changed, 55 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-07-03 04:50:52 UTC (rev 242099)
+++ PKGBUILD2017-07-03 05:59:35 UTC (rev 242100)
@@ -2,19 +2,29 @@
 # Maintainer: Sven-Hendrik Haase 
 pkgname=wxcam
 pkgver=1.1
-pkgrel=9
+pkgrel=10
 arch=('i686' 'x86_64')
 license=(GPL)
 pkgdesc="Webcam application for linux"
 url="http://wxcam.sourceforge.net";
-makedepends=('intltool>=0.35.0' 'libsm')
-depends=('libglade' 'mjpegtools' 'perl-xml-parser' 'wxgtk' 'xvidcore' 
'v4l-utils' 'alsa-lib' 'cimg')
-source=(wxcam.tar.gz::"http://wxcam.cvs.sourceforge.net/viewvc/wxcam/wxcam/?view=tar";)
-md5sums=('SKIP')
+depends=('mjpegtools' 'wxgtk3' 'xvidcore' 'v4l-utils' 'alsa-lib' 'cimg' 
'ffmpeg')
+source=(wxcam.tar.gz::"http://wxcam.cvs.sourceforge.net/viewvc/wxcam/wxcam/?view=tar";
+gtk3-fix.patch)
+md5sums=('SKIP'
+ 'e48a79b8e444e719672336b40d09f275')
 
+prepare() {
+cd "$srcdir"/$pkgname
+
+# Build with wxgtk3
+patch -Np1 -i ../gtk3-fix.patch
+sed -i "s/wx-config /wx-config-gtk3 /" nbproject/*
+
+sed -i "s/^DEFAULTCONF.*$/DEFAULTCONF=Release/g" nbproject/Makefile-impl.mk
+}
+
 build() {
 cd "$srcdir"/$pkgname
-sed -i "s/^DEFAULTCONF.*$/DEFAULTCONF=Release/g" nbproject/Makefile-impl.mk
 make
 }
 

Added: gtk3-fix.patch
===
--- gtk3-fix.patch  (rev 0)
+++ gtk3-fix.patch  2017-07-03 05:59:35 UTC (rev 242100)
@@ -0,0 +1,39 @@
+diff -Naur wxcam.orig/include/wxcam.h wxcam/include/wxcam.h
+--- wxcam.orig/include/wxcam.h 2010-05-23 16:00:56.0 +0200
 wxcam/include/wxcam.h  2017-07-03 07:25:23.521791275 +0200
+@@ -51,7 +51,6 @@
+ void OnSettingVideoStd( wxCommandEvent& event );
+ void OnRecording( wxCommandEvent& event );
+ void OnTakeSnapshot( wxCommandEvent& event );
+-void OnPaintBackground( wxPaintEvent& event );
+ void OnResize( wxSizeEvent& event );
+ void enableRec(bool enable);
+ void setRecordingTime(const wxTimeSpan &ts);
+diff -Naur wxcam.orig/src/wxcam.cpp wxcam/src/wxcam.cpp
+--- wxcam.orig/src/wxcam.cpp   2016-12-07 12:11:12.0 +0100
 wxcam/src/wxcam.cpp2017-07-03 07:25:36.508822088 +0200
+@@ -86,7 +86,6 @@
+ EVT_MENU( DateTime_Filter, wxCam::OnSettingDateTime )
+ EVT_MENU( Menu_MovementDetection, wxCam::OnMovementDetection )
+ EVT_MENU( Menu_ShowMDAreas, wxCam::OnShowMDAreas )
+-EVT_PAINT( wxCam::OnPaintBackground )
+ EVT_SIZE( wxCam::OnResize )
+ END_EVENT_TABLE()
+ 
+@@ -286,16 +285,6 @@
+ frame->SetSize( GetClientSize() );
+ }
+ 
+-void wxCam::OnPaintBackground( wxPaintEvent& event ) 
+-{
+-int w, h;
+-wxPaintDC dc( panel );
+-dc.GetSize( &w, &h );
+-dc.SetBrush( wxBrush( *wxWHITE ) );
+-dc.SetPen( wxPen( *wxWHITE, 1, wxSOLID ) );
+-dc.DrawRectangle( 0, 0, w, h );
+-}
+-
+ void wxCam::OnQuit( wxCommandEvent& WXUNUSED( event ) ) 
+ {
+ Close( TRUE );


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

2015-12-07 Thread Felix Yan
Date: Monday, December 7, 2015 @ 09:14:38
  Author: fyan
Revision: 149752

C++11 ABI rebuild

Modified:
  wxcam/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2015-12-07 08:12:27 UTC (rev 149751)
+++ PKGBUILD2015-12-07 08:14:38 UTC (rev 149752)
@@ -2,7 +2,7 @@
 # Maintainer: Sven-Hendrik Haase 
 pkgname=wxcam
 pkgver=1.1
-pkgrel=8
+pkgrel=9
 arch=('i686' 'x86_64')
 license=(GPL)
 pkgdesc="Webcam application for linux"


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

2015-06-23 Thread Evangelos Foutras
Date: Wednesday, June 24, 2015 @ 06:14:13
  Author: foutrelis
Revision: 135797

Eh, checksum isn't stable; just skip verification

Modified:
  wxcam/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2015-06-24 04:12:14 UTC (rev 135796)
+++ PKGBUILD2015-06-24 04:14:13 UTC (rev 135797)
@@ -10,7 +10,7 @@
 makedepends=('intltool>=0.35.0' 'libsm')
 depends=('libglade' 'mjpegtools' 'perl-xml-parser' 'wxgtk' 'xvidcore' 
'v4l-utils' 'alsa-lib' 'cimg')
 
source=(wxcam.tar.gz::"http://wxcam.cvs.sourceforge.net/viewvc/wxcam/wxcam/?view=tar";)
-md5sums=('c32febe8a4e53ee4a30c9dd3dbdac58f')
+md5sums=('SKIP')
 
 build() {
 cd "$srcdir"/$pkgname


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

2015-06-23 Thread Evangelos Foutras
Date: Wednesday, June 24, 2015 @ 06:11:55
  Author: foutrelis
Revision: 135795

Fix source checksum; will probably break again though

Modified:
  wxcam/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2015-06-24 04:08:51 UTC (rev 135794)
+++ PKGBUILD2015-06-24 04:11:55 UTC (rev 135795)
@@ -10,7 +10,7 @@
 makedepends=('intltool>=0.35.0' 'libsm')
 depends=('libglade' 'mjpegtools' 'perl-xml-parser' 'wxgtk' 'xvidcore' 
'v4l-utils' 'alsa-lib' 'cimg')
 
source=(wxcam.tar.gz::"http://wxcam.cvs.sourceforge.net/viewvc/wxcam/wxcam/?view=tar";)
-md5sums=('5f7058b199b93e9e3d94bca6166c1f46')
+md5sums=('c32febe8a4e53ee4a30c9dd3dbdac58f')
 
 build() {
 cd "$srcdir"/$pkgname


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

2015-02-27 Thread Sven-Hendrik Haase
Date: Friday, February 27, 2015 @ 19:34:05
  Author: svenstaro
Revision: 128394

upgpkg: wxcam 1.1-8

update to cvs version

Modified:
  wxcam/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2015-02-27 17:52:54 UTC (rev 128393)
+++ PKGBUILD2015-02-27 18:34:05 UTC (rev 128394)
@@ -6,27 +6,19 @@
 arch=('i686' 'x86_64')
 license=(GPL)
 pkgdesc="Webcam application for linux"
-# version of CImg library needed to compile wxcam -
-# http://cimg.sourceforge.net/
-_CImg_ver=1.5.8
 url="http://wxcam.sourceforge.net";
 makedepends=('intltool>=0.35.0' 'libsm')
-depends=('libglade' 'mjpegtools' 'perl-xml-parser' 'wxgtk' 'xvidcore' 
'v4l-utils' 'alsa-lib')
-source=(wxcam.tar.gz::"http://wxcam.cvs.sourceforge.net/viewvc/wxcam/wxcam/?view=tar";
-   http://downloads.sourceforge.net/cimg/CImg-${_CImg_ver}.zip)
-md5sums=('5f7058b199b93e9e3d94bca6166c1f46'
- '4941a3959f790ee68326403da1ed6dc7')
+depends=('libglade' 'mjpegtools' 'perl-xml-parser' 'wxgtk' 'xvidcore' 
'v4l-utils' 'alsa-lib' 'cimg')
+source=(wxcam.tar.gz::"http://wxcam.cvs.sourceforge.net/viewvc/wxcam/wxcam/?view=tar";)
+md5sums=('5f7058b199b93e9e3d94bca6166c1f46')
 
-prepare() {
-cp "$srcdir"/CImg-${_CImg_ver}/CImg.h "$srcdir"/$pkgname-$pkgver
-}
-
 build() {
 cd "$srcdir"/$pkgname
-#sed -i "s/DEFAULTCONF.*/DEFAULTCONF=Release/g" nbproject/Makefile-impl.mk
+sed -i "s/^DEFAULTCONF.*$/DEFAULTCONF=Release/g" nbproject/Makefile-impl.mk
 make
 }
 
 package() {
 cd "$srcdir"/$pkgname
+install -Dm755 bin/wxcam "$pkgdir"/usr/bin/wxcam
 }


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

2015-01-18 Thread Eric Bélanger
Date: Monday, January 19, 2015 @ 02:02:41
  Author: eric
Revision: 126195

upgpkg: wxcam 1.1-7

Update depends

Modified:
  wxcam/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2015-01-19 00:49:54 UTC (rev 126194)
+++ PKGBUILD2015-01-19 01:02:41 UTC (rev 126195)
@@ -2,7 +2,7 @@
 # Maintainer: Sven-Hendrik Haase 
 pkgname=wxcam
 pkgver=1.1
-pkgrel=6
+pkgrel=7
 arch=('i686' 'x86_64')
 license=(GPL)
 pkgdesc="Webcam application for linux"
@@ -11,7 +11,7 @@
 _CImg_ver=1.5.8
 url="http://wxcam.sourceforge.net";
 makedepends=('intltool>=0.35.0' 'libsm')
-depends=('libglade' 'mjpegtools' 'perlxml' 'wxgtk' 'xvidcore' 'v4l-utils' 
'alsa-lib')
+depends=('libglade' 'mjpegtools' 'perl-xml-parser' 'wxgtk' 'xvidcore' 
'v4l-utils' 'alsa-lib')
 source=(http://downloads.sourceforge.net/wxcam/${pkgname}-${pkgver}.tar.bz2
http://downloads.sourceforge.net/cimg/CImg-${_CImg_ver}.zip)
 md5sums=('c9ea8991b6375c1709a7ce4e61fcc263'


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

2014-08-11 Thread Felix Yan
Date: Monday, August 11, 2014 @ 12:25:33
  Author: fyan
Revision: 117136

upgpkg: wxcam 1.1-6

wxgtk no-STL rebuild https://www.archlinux.org/todo/wxgtk-no-stl-rebuild/

Modified:
  wxcam/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-08-11 10:25:32 UTC (rev 117135)
+++ PKGBUILD2014-08-11 10:25:33 UTC (rev 117136)
@@ -2,7 +2,7 @@
 # Maintainer: Sven-Hendrik Haase 
 pkgname=wxcam
 pkgver=1.1
-pkgrel=5
+pkgrel=6
 arch=('i686' 'x86_64')
 license=(GPL)
 pkgdesc="Webcam application for linux"



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

2014-05-11 Thread Sven-Hendrik Haase
Date: Monday, May 12, 2014 @ 03:07:09
  Author: svenstaro
Revision: 111010

upgpkg: wxcam 1.1-5

Fix FS#40279

Modified:
  wxcam/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-05-12 01:04:28 UTC (rev 111009)
+++ PKGBUILD2014-05-12 01:07:09 UTC (rev 111010)
@@ -2,13 +2,13 @@
 # Maintainer: Sven-Hendrik Haase 
 pkgname=wxcam
 pkgver=1.1
-pkgrel=4
+pkgrel=5
 arch=('i686' 'x86_64')
 license=(GPL)
 pkgdesc="Webcam application for linux"
 # version of CImg library needed to compile wxcam -
 # http://cimg.sourceforge.net/
-_CImg_ver=1.4.9
+_CImg_ver=1.5.8
 url="http://wxcam.sourceforge.net";
 makedepends=('intltool>=0.35.0' 'libsm')
 depends=('libglade' 'mjpegtools' 'perlxml' 'wxgtk' 'xvidcore' 'v4l-utils' 
'alsa-lib')
@@ -15,7 +15,7 @@
 source=(http://downloads.sourceforge.net/wxcam/${pkgname}-${pkgver}.tar.bz2
http://downloads.sourceforge.net/cimg/CImg-${_CImg_ver}.zip)
 md5sums=('c9ea8991b6375c1709a7ce4e61fcc263'
- 'a07cba03f6d66a9970e0b3fcc230bddc')
+ '4941a3959f790ee68326403da1ed6dc7')
 
 prepare() {
 cp "$srcdir"/CImg-${_CImg_ver}/CImg.h "$srcdir"/$pkgname-$pkgver



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

2014-03-12 Thread Evangelos Foutras
Date: Thursday, March 13, 2014 @ 00:53:45
  Author: foutrelis
Revision: 107127

upgpkg: wxcam 1.1-4

mjpegtools 2.1.0 rebuild.

Modified:
  wxcam/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-03-12 23:06:38 UTC (rev 107126)
+++ PKGBUILD2014-03-12 23:53:45 UTC (rev 107127)
@@ -2,7 +2,7 @@
 # Maintainer: Sven-Hendrik Haase 
 pkgname=wxcam
 pkgver=1.1
-pkgrel=3
+pkgrel=4
 arch=('i686' 'x86_64')
 license=(GPL)
 pkgdesc="Webcam application for linux"



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

2014-01-11 Thread Eric Bélanger
Date: Sunday, January 12, 2014 @ 03:46:56
  Author: eric
Revision: 103834

upgpkg: wxcam 1.1-3

Fix unknown symbol, Add libsm makedepends (close FS#38471)

Modified:
  wxcam/trunk/PKGBUILD  (contents, properties)

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

Modified: PKGBUILD
===
--- PKGBUILD2014-01-12 00:46:05 UTC (rev 103833)
+++ PKGBUILD2014-01-12 02:46:56 UTC (rev 103834)
@@ -1,7 +1,8 @@
+# $Id$
 # Maintainer: Sven-Hendrik Haase 
 pkgname=wxcam
 pkgver=1.1
-pkgrel=2
+pkgrel=3
 arch=('i686' 'x86_64')
 license=(GPL)
 pkgdesc="Webcam application for linux"
@@ -9,7 +10,7 @@
 # http://cimg.sourceforge.net/
 _CImg_ver=1.4.9
 url="http://wxcam.sourceforge.net";
-makedepends=('intltool>=0.35.0')
+makedepends=('intltool>=0.35.0' 'libsm')
 depends=('libglade' 'mjpegtools' 'perlxml' 'wxgtk' 'xvidcore' 'v4l-utils' 
'alsa-lib')
 source=(http://downloads.sourceforge.net/wxcam/${pkgname}-${pkgver}.tar.bz2
http://downloads.sourceforge.net/cimg/CImg-${_CImg_ver}.zip)
@@ -16,17 +17,17 @@
 md5sums=('c9ea8991b6375c1709a7ce4e61fcc263'
  'a07cba03f6d66a9970e0b3fcc230bddc')
 
+prepare() {
+cp "$srcdir"/CImg-${_CImg_ver}/CImg.h "$srcdir"/$pkgname-$pkgver
+}
+
 build() {
-cp $srcdir/CImg-${_CImg_ver}/CImg.h $srcdir/$pkgname-$pkgver
-
-cd $srcdir/$pkgname-$pkgver
+cd "$srcdir"/$pkgname-$pkgver
 ./configure --prefix=/usr
 make
 }
 
 package() {
-cd $srcdir/$pkgname-$pkgver
-make DESTDIR=$pkgdir install
-
-mv $pkgdir/usr/doc $pkgdir/usr/share/
+cd "$srcdir"/$pkgname-$pkgver
+make DESTDIR="$pkgdir" wxcamdocdir=/usr/share/doc/wxcam install
 }


Property changes on: wxcam/trunk/PKGBUILD
___
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property


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

2014-01-06 Thread Jelle van der Waa
Date: Monday, January 6, 2014 @ 21:00:15
  Author: jelle
Revision: 103490

upgpkg: wxcam 1.1-2

wxgtk 3.0.0 rebuild

Modified:
  wxcam/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-01-06 19:45:36 UTC (rev 103489)
+++ PKGBUILD2014-01-06 20:00:15 UTC (rev 103490)
@@ -1,7 +1,7 @@
 # Maintainer: Sven-Hendrik Haase 
 pkgname=wxcam
 pkgver=1.1
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 license=(GPL)
 pkgdesc="Webcam application for linux"