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

2017-09-28 Thread Jan de Groot
Date: Thursday, September 28, 2017 @ 10:53:04
  Author: jgc
Revision: 260754

upgpkg: electricsheep 2.7b33-33

Rebuild for libgtop

Modified:
  electricsheep/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-09-28 10:45:30 UTC (rev 260753)
+++ PKGBUILD2017-09-28 10:53:04 UTC (rev 260754)
@@ -3,7 +3,7 @@
 
 pkgname=electricsheep
 pkgver=2.7b33
-pkgrel=32
+pkgrel=33
 pkgdesc="A screensaver that realize the collective dream of sleeping computers 
from all over the internet"
 arch=('i686' 'x86_64')
 url="http://community.electricsheep.org/;


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

2017-09-10 Thread Antonio Rojas
Date: Sunday, September 10, 2017 @ 17:04:38
  Author: arojas
Revision: 256790

boost 1.65 rebuild

Modified:
  electricsheep/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-09-10 17:01:57 UTC (rev 256789)
+++ PKGBUILD2017-09-10 17:04:38 UTC (rev 256790)
@@ -3,7 +3,7 @@
 
 pkgname=electricsheep
 pkgver=2.7b33
-pkgrel=31
+pkgrel=32
 pkgdesc="A screensaver that realize the collective dream of sleeping computers 
from all over the internet"
 arch=('i686' 'x86_64')
 url="http://community.electricsheep.org/;


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

2017-05-19 Thread Antonio Rojas
Date: Friday, May 19, 2017 @ 20:05:32
  Author: arojas
Revision: 228635

boost 1.64 rebuild

Modified:
  electricsheep/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-05-19 19:36:26 UTC (rev 228634)
+++ PKGBUILD2017-05-19 20:05:32 UTC (rev 228635)
@@ -3,7 +3,7 @@
 
 pkgname=electricsheep
 pkgver=2.7b33
-pkgrel=30
+pkgrel=31
 pkgdesc="A screensaver that realize the collective dream of sleeping computers 
from all over the internet"
 arch=('i686' 'x86_64')
 url="http://community.electricsheep.org/;


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

2017-01-01 Thread Bartłomiej Piotrowski
Date: Monday, January 2, 2017 @ 07:19:05
  Author: bpiotrowski
Revision: 204163

upgpkg: electricsheep 2.7b33-30

rebuild against boost 1.63.0

Modified:
  electricsheep/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-01-02 07:16:57 UTC (rev 204162)
+++ PKGBUILD2017-01-02 07:19:05 UTC (rev 204163)
@@ -3,7 +3,7 @@
 
 pkgname=electricsheep
 pkgver=2.7b33
-pkgrel=29
+pkgrel=30
 pkgdesc="A screensaver that realize the collective dream of sleeping computers 
from all over the internet"
 arch=('i686' 'x86_64')
 url="http://community.electricsheep.org/;


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

2016-10-07 Thread Antonio Rojas
Date: Friday, October 7, 2016 @ 18:55:29
  Author: arojas
Revision: 191590

Boost 1.62 rebuild

Modified:
  electricsheep/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2016-10-07 18:50:35 UTC (rev 191589)
+++ PKGBUILD2016-10-07 18:55:29 UTC (rev 191590)
@@ -3,7 +3,7 @@
 
 pkgname=electricsheep
 pkgver=2.7b33
-pkgrel=28
+pkgrel=29
 pkgdesc="A screensaver that realize the collective dream of sleeping computers 
from all over the internet"
 arch=('i686' 'x86_64')
 url="http://community.electricsheep.org/;


[arch-commits] Commit in electricsheep/trunk (PKGBUILD electricsheep-ffmpeg3.patch)

2016-08-31 Thread Antonio Rojas
Date: Wednesday, August 31, 2016 @ 09:05:36
  Author: arojas
Revision: 188106

Boost 1.61 rebuild

Added:
  electricsheep/trunk/electricsheep-ffmpeg3.patch
Modified:
  electricsheep/trunk/PKGBUILD

-+
 PKGBUILD|4 +++-
 electricsheep-ffmpeg3.patch |   41 +
 2 files changed, 44 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-08-31 08:53:59 UTC (rev 188105)
+++ PKGBUILD2016-08-31 09:05:36 UTC (rev 188106)
@@ -3,7 +3,7 @@
 
 pkgname=electricsheep
 pkgver=2.7b33
-pkgrel=27
+pkgrel=28
 pkgdesc="A screensaver that realize the collective dream of sleeping computers 
from all over the internet"
 arch=('i686' 'x86_64')
 url="http://community.electricsheep.org/;
@@ -50,6 +50,8 @@
   sed -i '12 i\
 #include ' Common/Singleton.h
   mkdir m4
+
+  sed -e 's|\[lua5.1\]|\[lua51\]|g' -i configure.ac
 }
 
 build() {

Added: electricsheep-ffmpeg3.patch
===
--- electricsheep-ffmpeg3.patch (rev 0)
+++ electricsheep-ffmpeg3.patch 2016-08-31 09:05:36 UTC (rev 188106)
@@ -0,0 +1,41 @@
+Index: electricsheep-2.7_beta11/electricsheep.c
+===
+--- electricsheep-2.7_beta11.orig/electricsheep.c
 electricsheep-2.7_beta11/electricsheep.c
+@@ -61,6 +61,9 @@
+ #define STATFS statfs
+ #endif
+ 
++#ifndef guess_format
++#define guess_format av_guess_format
++#endif
+ 
+ prefs_t prefs;
+ 
+@@ -662,7 +665,7 @@ void copy_out_file(char *fname) {
+ input_stream_index = -1;
+ for (j = 0; j < ictx->nb_streams; j++) {
+   AVCodecContext *enc = ictx->streams[j]->codec;
+-  if (CODEC_TYPE_VIDEO == enc->codec_type) {
++  if (AVMEDIA_TYPE_VIDEO == enc->codec_type) {
+   input_stream_index = j;
+   break;
+   }
+@@ -686,7 +689,7 @@ void copy_out_file(char *fname) {
+   }
+   }
+ 
+-  output_ctx = av_alloc_format_context();
++  output_ctx = avformat_alloc_context();
+ 
+   ofmt = guess_format(NULL, fname, NULL);
+   if (!ofmt) {
+@@ -730,7 +733,7 @@ void copy_out_file(char *fname) {
+   av_init_packet();
+   if (av_parser_change(ictx->streams[input_stream_index]->parser, 
output_ctx->streams[0]->codec,
+, , ipkt.data, ipkt.size,
+-   ipkt.flags & PKT_FLAG_KEY))
++   ipkt.flags & AV_PKT_FLAG_KEY))
+   opkt.destruct= av_destruct_packet;
+   
+   if (-1 == av_interleaved_write_frame(output_ctx, )) {


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

2016-02-17 Thread Maxime Gauduin
Date: Thursday, February 18, 2016 @ 00:18:54
  Author: alucryd
Revision: 162144

ffmpeg 3.0 rebuild: electricsheep 2.7b33-27

Modified:
  electricsheep/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2016-02-17 23:16:49 UTC (rev 162143)
+++ PKGBUILD2016-02-17 23:18:54 UTC (rev 162144)
@@ -3,7 +3,7 @@
 
 pkgname=electricsheep
 pkgver=2.7b33
-pkgrel=26
+pkgrel=27
 pkgdesc="A screensaver that realize the collective dream of sleeping computers 
from all over the internet"
 arch=('i686' 'x86_64')
 url="http://community.electricsheep.org/;


[arch-commits] Commit in electricsheep/trunk (PKGBUILD electricsheep-ffmpeg30.patch)

2016-02-17 Thread Maxime Gauduin
Date: Thursday, February 18, 2016 @ 00:15:36
  Author: alucryd
Revision: 162141

ffmpeg 3.0 rebuild: electricsheep 2.7b33-26

Added:
  electricsheep/trunk/electricsheep-ffmpeg30.patch
Modified:
  electricsheep/trunk/PKGBUILD

--+
 PKGBUILD |7 ++-
 electricsheep-ffmpeg30.patch |   89 +
 2 files changed, 94 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-02-17 23:01:23 UTC (rev 162140)
+++ PKGBUILD2016-02-17 23:15:36 UTC (rev 162141)
@@ -13,10 +13,12 @@
 optdepends=('xscreensaver: to use electricsheep with xscreensaver')
 options=('!emptydirs')
 
source=(https://sources.archlinux.org/other/community/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.sig}
-electricsheep-no-wxgtk.patch)
+electricsheep-no-wxgtk.patch
+electricsheep-ffmpeg30.patch)
 sha1sums=('d86607d97accad8519df2a21d67253abe45f5fdd'
   'SKIP'
-  'b186318902dd0abac6e72a81fa374434d7244ac3')
+  'b186318902dd0abac6e72a81fa374434d7244ac3'
+  'c28e8a1ad5738c56615bdb431d80eff7f9e2a554')
 validpgpkeys=('5357F3B111688D88C1D88119FCF2CB179205AC90')
 
 # source PKGBUILD && mksource
@@ -41,6 +43,7 @@
   cd ${pkgname}-${pkgver}
 # Do not build broken electricsheep-preferences
   patch -p0 -i "${srcdir}/electricsheep-no-wxgtk.patch"
+  patch -p1 -i "${srcdir}/electricsheep-ffmpeg30.patch"
 
   sed -i -e 's/av_close_input_file( m_pFormatContext )/avformat_close_input( 
\_pFormatContext )/' ContentDecoder/ContentDecoder.cpp
   sed -i -e 's/AM_PROG_CC_STDC/AC_PROG_CC/' configure.ac

Added: electricsheep-ffmpeg30.patch
===
--- electricsheep-ffmpeg30.patch(rev 0)
+++ electricsheep-ffmpeg30.patch2016-02-17 23:15:36 UTC (rev 162141)
@@ -0,0 +1,89 @@
+diff -rupN electricsheep-2.7b33.orig/Client/Player.cpp 
electricsheep-2.7b33/Client/Player.cpp
+--- electricsheep-2.7b33.orig/Client/Player.cpp2016-02-17 
23:58:18.290031068 +0100
 electricsheep-2.7b33/Client/Player.cpp 2016-02-18 00:00:10.793496143 
+0100
+@@ -357,18 +357,18 @@ ContentDecoder::CContentDecoder *CPlayer
+   return NULL;
+   
+ #ifndef LINUX_GNU
+-  PixelFormat pf = PIX_FMT_RGB32;
++  AVPixelFormat pf = AV_PIX_FMT_RGB32;
+   
+   //On PowerPC machines we need to use different pixel format!
+ #if defined(MAC) && defined(__BIG_ENDIAN__)
+-  pf = PIX_FMT_BGR32_1;
++  pf = AV_PIX_FMT_BGR32_1;
+ #endif
+ 
+ #else
+ 
+-  PixelFormat pf = PIX_FMT_BGR32;
++  AVPixelFormat pf = AV_PIX_FMT_BGR32;
+ #if defined(__BIG_ENDIAN__)
+-  pf = PIX_FMT_RGB32_1;
++  pf = AV_PIX_FMT_RGB32_1;
+ #endif
+ 
+ #endif
+diff -rupN electricsheep-2.7b33.orig/ContentDecoder/ContentDecoder.cpp 
electricsheep-2.7b33/ContentDecoder/ContentDecoder.cpp
+--- electricsheep-2.7b33.orig/ContentDecoder/ContentDecoder.cpp
2016-02-17 23:58:18.293364307 +0100
 electricsheep-2.7b33/ContentDecoder/ContentDecoder.cpp 2016-02-18 
00:02:41.115898486 +0100
+@@ -42,7 +42,7 @@ namespace ContentDecoder
+   CContentDecoder.
+ 
+ */
+-CContentDecoder::CContentDecoder( spCPlaylist _spPlaylist, bool 
_bStartByRandom, const uint32 _queueLenght, PixelFormat _wantedFormat )
++CContentDecoder::CContentDecoder( spCPlaylist _spPlaylist, bool 
_bStartByRandom, const uint32 _queueLenght, AVPixelFormat _wantedFormat )
+ {
+   g_Log->Info( "CContentDecoder()" );
+   m_FadeCount = g_Settings()->Get("settings.player.fadecount", 30);
+@@ -472,7 +472,7 @@ void   CContentDecoder::ReadPackets()
+   if( !NextSheepForPlaying() )
+   return;
+ 
+-  pFrame = avcodec_alloc_frame();
++  pFrame = av_frame_alloc();
+ 
+   while( true )
+   {   
+diff -rupN electricsheep-2.7b33.orig/ContentDecoder/ContentDecoder.h 
electricsheep-2.7b33/ContentDecoder/ContentDecoder.h
+--- electricsheep-2.7b33.orig/ContentDecoder/ContentDecoder.h  2016-02-17 
23:58:18.293364307 +0100
 electricsheep-2.7b33/ContentDecoder/ContentDecoder.h   2016-02-18 
00:00:43.602564223 +0100
+@@ -90,7 +90,7 @@ class CContentDecoder
+   int32   m_VideoStreamID;
+   AVFrame *m_pFrame;
+ 
+-  PixelFormat m_WantedPixelFormat;
++  AVPixelFormat   m_WantedPixelFormat;
+   SwsContext  *m_pScaler;
+ 
+   //  These are to track changes in input stream resolution, and 
recreate m_pScaler if needed.
+@@ -126,7 +126,7 @@ class CContentDecoder
+   static int DumpError( int _err );
+ 
+   public:
+-  CContentDecoder( spCPlaylist _spPlaylist, bool 
_bStartByRandom, const uint32 _queueLenght, PixelFormat _wantedPixelFormat = 
PIX_FMT_RGB24 );
++  

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

2015-12-21 Thread Evangelos Foutras
Date: Monday, December 21, 2015 @ 18:49:37
  Author: foutrelis
Revision: 153985

boost 1.60.0 rebuild

Modified:
  electricsheep/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2015-12-21 17:47:55 UTC (rev 153984)
+++ PKGBUILD2015-12-21 17:49:37 UTC (rev 153985)
@@ -3,7 +3,7 @@
 
 pkgname=electricsheep
 pkgver=2.7b33
-pkgrel=25
+pkgrel=26
 pkgdesc="A screensaver that realize the collective dream of sleeping computers 
from all over the internet"
 arch=('i686' 'x86_64')
 url="http://community.electricsheep.org/;


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

2015-12-06 Thread Bartłomiej Piotrowski
Date: Monday, December 7, 2015 @ 00:53:59
  Author: bpiotrowski
Revision: 149386

C++11 ABI rebuild

Modified:
  electricsheep/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2015-12-06 23:51:29 UTC (rev 149385)
+++ PKGBUILD2015-12-06 23:53:59 UTC (rev 149386)
@@ -3,7 +3,7 @@
 
 pkgname=electricsheep
 pkgver=2.7b33
-pkgrel=24
+pkgrel=25
 pkgdesc="A screensaver that realize the collective dream of sleeping computers 
from all over the internet"
 arch=('i686' 'x86_64')
 url="http://community.electricsheep.org/;


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

2015-10-15 Thread Evangelos Foutras
Date: Thursday, October 15, 2015 @ 14:39:41
  Author: foutrelis
Revision: 144152

boost 1.59.0 rebuild

Modified:
  electricsheep/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2015-10-15 12:39:15 UTC (rev 144151)
+++ PKGBUILD2015-10-15 12:39:41 UTC (rev 144152)
@@ -3,7 +3,7 @@
 
 pkgname=electricsheep
 pkgver=2.7b33
-pkgrel=23
+pkgrel=24
 pkgdesc="A screensaver that realize the collective dream of sleeping computers 
from all over the internet"
 arch=('i686' 'x86_64')
 url="http://community.electricsheep.org/;


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

2015-04-22 Thread Jelle van der Waa
Date: Wednesday, April 22, 2015 @ 21:19:27
  Author: jelle
Revision: 131990

upgpkg: electricsheep 2.7b33-23

boost 1.58.0 rebuild

Modified:
  electricsheep/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2015-04-22 19:16:40 UTC (rev 131989)
+++ PKGBUILD2015-04-22 19:19:27 UTC (rev 131990)
@@ -3,7 +3,7 @@
 
 pkgname=electricsheep
 pkgver=2.7b33
-pkgrel=22
+pkgrel=23
 pkgdesc=A screensaver that realize the collective dream of sleeping computers 
from all over the internet
 arch=('i686' 'x86_64')
 url=http://community.electricsheep.org/;


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

2014-12-31 Thread Eric Bélanger
Date: Thursday, January 1, 2015 @ 03:17:50
  Author: eric
Revision: 125096

Add validpgpkeys array

Modified:
  electricsheep/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2015-01-01 02:10:34 UTC (rev 125095)
+++ PKGBUILD2015-01-01 02:17:50 UTC (rev 125096)
@@ -17,6 +17,7 @@
 sha1sums=('d86607d97accad8519df2a21d67253abe45f5fdd'
   'SKIP'
   'b186318902dd0abac6e72a81fa374434d7244ac3')
+validpgpkeys=('5357F3B111688D88C1D88119FCF2CB179205AC90')
 
 # source PKGBUILD  mksource
 mksource() {


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

2014-11-05 Thread Evangelos Foutras
Date: Thursday, November 6, 2014 @ 00:39:38
  Author: foutrelis
Revision: 121990

upgpkg: electricsheep 2.7b33-22

boost 1.57.0 rebuild.

Modified:
  electricsheep/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-11-05 20:41:03 UTC (rev 121989)
+++ PKGBUILD2014-11-05 23:39:38 UTC (rev 121990)
@@ -3,7 +3,7 @@
 
 pkgname=electricsheep
 pkgver=2.7b33
-pkgrel=21
+pkgrel=22
 pkgdesc=A screensaver that realize the collective dream of sleeping computers 
from all over the internet
 arch=('i686' 'x86_64')
 url=http://community.electricsheep.org/;


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

2014-09-16 Thread Eric Bélanger
Date: Tuesday, September 16, 2014 @ 08:45:38
  Author: eric
Revision: 119045

upgpkg: electricsheep 2.7b33-21

Rebuild against ffmpeg 2.4

Modified:
  electricsheep/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-09-16 05:30:29 UTC (rev 119044)
+++ PKGBUILD2014-09-16 06:45:38 UTC (rev 119045)
@@ -3,7 +3,7 @@
 
 pkgname=electricsheep
 pkgver=2.7b33
-pkgrel=20
+pkgrel=21
 pkgdesc=A screensaver that realize the collective dream of sleeping computers 
from all over the internet
 arch=('i686' 'x86_64')
 url=http://community.electricsheep.org/;
@@ -41,6 +41,7 @@
 # Do not build broken electricsheep-preferences
   patch -p0 -i ${srcdir}/electricsheep-no-wxgtk.patch
 
+  sed -i -e 's/av_close_input_file( m_pFormatContext )/avformat_close_input( 
\m_pFormatContext )/' ContentDecoder/ContentDecoder.cpp
   sed -i -e 's/AM_PROG_CC_STDC/AC_PROG_CC/' configure.ac
   sed -i '12 i\
 #include cstdio' Common/Singleton.h



[arch-commits] Commit in electricsheep/trunk (PKGBUILD electricsheep-no-wxgtk.patch)

2014-08-17 Thread Eric Bélanger
Date: Monday, August 18, 2014 @ 04:08:38
  Author: eric
Revision: 117492

upgpkg: electricsheep 2.7b33-19

Rebuild against boost 1.55.0, Remove broken electricsheep-preferences utility

Added:
  electricsheep/trunk/electricsheep-no-wxgtk.patch
Modified:
  electricsheep/trunk/PKGBUILD

--+
 PKGBUILD |   17 +
 electricsheep-no-wxgtk.patch |   77 +
 2 files changed, 88 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-08-18 01:15:48 UTC (rev 117491)
+++ PKGBUILD2014-08-18 02:08:38 UTC (rev 117492)
@@ -3,18 +3,20 @@
 
 pkgname=electricsheep
 pkgver=2.7b33
-pkgrel=18
+pkgrel=19
 pkgdesc=A screensaver that realize the collective dream of sleeping computers 
from all over the internet
 arch=('i686' 'x86_64')
 url=http://community.electricsheep.org/;
 license=('GPL')
-depends=('curl' 'flam3' 'ffmpeg' 'wxgtk' 'lua51' 'libgtop' 'boost-libs' 
'freeglut' 'glee')
+depends=('curl' 'flam3' 'ffmpeg' 'lua51' 'libgtop' 'boost-libs' 'freeglut' 
'glee')
 makedepends=('boost' 'mesa' 'glu' 'tinyxml')
 optdepends=('xscreensaver: to use electricsheep with xscreensaver')
 options=('!emptydirs')
-source=(ftp://ftp.archlinux.org/other/community/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.sig})
+source=(ftp://ftp.archlinux.org/other/community/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.sig}
+electricsheep-no-wxgtk.patch)
 sha1sums=('d86607d97accad8519df2a21d67253abe45f5fdd'
-  'fda3aae435507d03973f0c4d1ed3509067657f06')
+  'SKIP'
+  'b186318902dd0abac6e72a81fa374434d7244ac3')
 
 # source PKGBUILD  mksource
 mksource() {
@@ -36,6 +38,9 @@
 
 prepare() {
   cd ${pkgname}-${pkgver}
+# Do not build broken electricsheep-preferences
+  patch -p0 -i ${srcdir}/electricsheep-no-wxgtk.patch
+
   sed -i -e 's/AM_PROG_CC_STDC/AC_PROG_CC/' configure.ac
   sed -i '12 i\
 #include cstdio' Common/Singleton.h
@@ -46,8 +51,8 @@
   cd ${pkgname}-${pkgver}
   ./autogen.sh
   CPPFLAGS+= -I/usr/include/lua5.1 ./configure --prefix=/usr
-  sed -i 's|-I /usr/include/libavutil||' MSVC/SettingsGUI/Makefile 
-  make CXXFLAGS+=-DUSE_NEW_FFMPEG_API=1 GLEE_LIBS=-lGLee 
+  sed -i 's|-I /usr/include/libavutil||' MSVC/SettingsGUI/Makefile
+  make CXXFLAGS+=-DUSE_NEW_FFMPEG_API=1 GLEE_LIBS=-lGLee
 }
 
 package() {

Added: electricsheep-no-wxgtk.patch
===
--- electricsheep-no-wxgtk.patch(rev 0)
+++ electricsheep-no-wxgtk.patch2014-08-18 02:08:38 UTC (rev 117492)
@@ -0,0 +1,77 @@
+--- configure.ac.orig  2014-08-17 17:28:46.314141026 -0400
 configure.ac   2014-08-17 17:29:21.084084594 -0400
+@@ -71,64 +71,7 @@
+ 
+ 
+ 
+-dnl Check for WXWidgets
+-WX_VER_291=
+ 
+-AC_PATH_PROG(WX_CONFIG, wx-config, no)
+-
+-if test x$WX_CONFIG != xno; then
+-   WX_VERSION=`wx-config --version`
+-
+-   WX_MAJOR=${WX_VERSION%%.*};
+-   WX_MINOR=${WX_VERSION#*.};
+-   WX_MINOR=${WX_MINOR%%.*};
+-   WX_MICRO=${WX_VERSION##*.};
+-
+-   if test $WX_MAJOR -gt 2; then
+-  WX_VER_291=yes
+-   else
+- if test $WX_MAJOR -eq 2; then
+-if test $WX_MINOR -gt 9; then
+-   WX_VER_291=yes
+-else
+-   if test $WX_MINOR -eq 9; then
+-  if test $WX_MICRO -ge 1; then
+- WX_VER_291=yes
+-  fi
+-   fi
+-fi
+- fi
+-  fi
+-fi
+-
+-if test $WX_VER_291 != yes; then
+-
+-dnl Use static version
+-echo installed version is too old,
+-echo using static source version $reqwx
+-
+-dnl Need to reset this, else it will override the value below !
+-WX_CONFIG=
+-
+-AC_CHECK_PROG(WX_CONFIG, wx-config, yes, no)
+-
+-if test $WX_CONFIG = no; then
+-echo
+-echo YOU CAN FIX THIS !
+-AC_MSG_ERROR([Please install development libraries for wxWidgets 2.9.1 or 
higher, and then run this configure script again.])
+-fi
+-fi
+-
+-WX_CXXFLAGS=`wx-config --cxxflags`
+-WX_LIBS=-static `wx-config --libs` `wx-config --libs richtext`
+-
+-echo WX_CXXFLAGS is $WX_CXXFLAGS
+-echo WX_LIBS is $WX_LIBS
+-
+-WX_LDADD=$WX_LIBS
+-
+-AC_SUBST(WX_CXXFLAGS)
+-AC_SUBST(WX_LDADD)
+ 
+ 
+ 
+--- MSVC/SettingsGUI/Makefile.am.orig  2014-08-17 20:22:59.680508699 -0400
 MSVC/SettingsGUI/Makefile.am   2014-08-17 20:23:46.397099541 -0400
+@@ -28,7 +28,6 @@
+   -I /usr/include/libswscale \
+   -I /usr/include/libavutil
+ 
+-bin_PROGRAMS = electricsheep-preferences
+ 
+ electricsheep_preferences_SOURCES = \
+   config.cpp \



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

2014-08-17 Thread Eric Bélanger
Date: Monday, August 18, 2014 @ 04:28:47
  Author: eric
Revision: 117494

upgpkg: electricsheep 2.7b33-20

Rebuild against boost 1.55.0, Remove broken electricsheep-preferences utility

Modified:
  electricsheep/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-08-18 02:11:49 UTC (rev 117493)
+++ PKGBUILD2014-08-18 02:28:47 UTC (rev 117494)
@@ -3,7 +3,7 @@
 
 pkgname=electricsheep
 pkgver=2.7b33
-pkgrel=19
+pkgrel=20
 pkgdesc=A screensaver that realize the collective dream of sleeping computers 
from all over the internet
 arch=('i686' 'x86_64')
 url=http://community.electricsheep.org/;



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

2014-08-11 Thread Eric Bélanger
Date: Monday, August 11, 2014 @ 22:23:59
  Author: eric
Revision: 117195

upgpkg: electricsheep 2.7b33-18

Rebuild against boost 1.56.0

Modified:
  electricsheep/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-08-11 18:54:42 UTC (rev 117194)
+++ PKGBUILD2014-08-11 20:23:59 UTC (rev 117195)
@@ -3,7 +3,7 @@
 
 pkgname=electricsheep
 pkgver=2.7b33
-pkgrel=17
+pkgrel=18
 pkgdesc=A screensaver that realize the collective dream of sleeping computers 
from all over the internet
 arch=('i686' 'x86_64')
 url=http://community.electricsheep.org/;



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

2014-08-10 Thread Eric Bélanger
Date: Monday, August 11, 2014 @ 03:23:19
  Author: eric
Revision: 117122

upgpkg: electricsheep 2.7b33-17

Rebuild against wxgtk no-STL

Modified:
  electricsheep/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-08-11 00:12:16 UTC (rev 117121)
+++ PKGBUILD2014-08-11 01:23:19 UTC (rev 117122)
@@ -3,7 +3,7 @@
 
 pkgname=electricsheep
 pkgver=2.7b33
-pkgrel=16
+pkgrel=17
 pkgdesc=A screensaver that realize the collective dream of sleeping computers 
from all over the internet
 arch=('i686' 'x86_64')
 url=http://community.electricsheep.org/;



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

2014-05-16 Thread Felix Yan
Date: Saturday, May 17, 2014 @ 05:52:12
  Author: fyan
Revision: 111339

upgpkg: electricsheep 2.7b33-16

libgtop 2.30.0 rebuild

Modified:
  electricsheep/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-05-17 03:41:22 UTC (rev 111338)
+++ PKGBUILD2014-05-17 03:52:12 UTC (rev 111339)
@@ -3,7 +3,7 @@
 
 pkgname=electricsheep
 pkgver=2.7b33
-pkgrel=15
+pkgrel=16
 pkgdesc=A screensaver that realize the collective dream of sleeping computers 
from all over the internet
 arch=('i686' 'x86_64')
 url=http://community.electricsheep.org/;



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

2014-05-13 Thread Eric Bélanger
Date: Tuesday, May 13, 2014 @ 23:10:38
  Author: eric
Revision: 111099

Add build fix (close FS#40330)

Modified:
  electricsheep/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-05-13 18:30:47 UTC (rev 111098)
+++ PKGBUILD2014-05-13 21:10:38 UTC (rev 111099)
@@ -45,7 +45,7 @@
 build() {
   cd ${pkgname}-${pkgver}
   ./autogen.sh
-  CPPFLAGS+=-I/usr/include/lua5.1 ./configure --prefix=/usr
+  CPPFLAGS+= -I/usr/include/lua5.1 ./configure --prefix=/usr
   sed -i 's|-I /usr/include/libavutil||' MSVC/SettingsGUI/Makefile 
   make CXXFLAGS+=-DUSE_NEW_FFMPEG_API=1 GLEE_LIBS=-lGLee 
 }



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

2014-02-22 Thread Eric Bélanger
Date: Saturday, February 22, 2014 @ 22:07:41
  Author: eric
Revision: 106098

upgpkg: electricsheep 2.7b33-15

Rebuild against wxgtk (close FS#38992)

Modified:
  electricsheep/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-02-22 16:26:13 UTC (rev 106097)
+++ PKGBUILD2014-02-22 21:07:41 UTC (rev 106098)
@@ -3,7 +3,7 @@
 
 pkgname=electricsheep
 pkgver=2.7b33
-pkgrel=14
+pkgrel=15
 pkgdesc=A screensaver that realize the collective dream of sleeping computers 
from all over the internet
 arch=('i686' 'x86_64')
 url=http://community.electricsheep.org/;



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

2014-01-06 Thread Bartłomiej Piotrowski
Date: Monday, January 6, 2014 @ 15:36:49
  Author: bpiotrowski
Revision: 103478

upgpkg: electricsheep 2.7b33-13

rebuild against wxgtk 3.0.0

Modified:
  electricsheep/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-01-06 14:19:17 UTC (rev 103477)
+++ PKGBUILD2014-01-06 14:36:49 UTC (rev 103478)
@@ -3,7 +3,7 @@
 
 pkgname=electricsheep
 pkgver=2.7b33
-pkgrel=12
+pkgrel=13
 pkgdesc=A screensaver that realize the collective dream of sleeping computers 
from all over the internet
 arch=('i686' 'x86_64')
 url=http://community.electricsheep.org/;



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

2014-01-06 Thread Eric Bélanger
Date: Monday, January 6, 2014 @ 20:02:55
  Author: eric
Revision: 103484

upgpkg: electricsheep 2.7b33-14

Change wxgtk2.9 depends to wxgtk

Modified:
  electricsheep/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-01-06 18:42:15 UTC (rev 103483)
+++ PKGBUILD2014-01-06 19:02:55 UTC (rev 103484)
@@ -3,12 +3,12 @@
 
 pkgname=electricsheep
 pkgver=2.7b33
-pkgrel=13
+pkgrel=14
 pkgdesc=A screensaver that realize the collective dream of sleeping computers 
from all over the internet
 arch=('i686' 'x86_64')
 url=http://community.electricsheep.org/;
 license=('GPL')
-depends=('curl' 'flam3' 'ffmpeg' 'wxgtk2.9' 'lua51' 'libgtop' 'boost-libs' 
'freeglut' 'glee')
+depends=('curl' 'flam3' 'ffmpeg' 'wxgtk' 'lua51' 'libgtop' 'boost-libs' 
'freeglut' 'glee')
 makedepends=('boost' 'mesa' 'glu' 'tinyxml')
 optdepends=('xscreensaver: to use electricsheep with xscreensaver')
 options=('!emptydirs')
@@ -36,7 +36,6 @@
 
 prepare() {
   cd ${pkgname}-${pkgver}
-  sed -i 's/wx-config/wx-config-2.9/g' configure.ac
   sed -i -e 's/AM_PROG_CC_STDC/AC_PROG_CC/' configure.ac
   sed -i '12 i\
 #include cstdio' Common/Singleton.h



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

2013-11-23 Thread Eric Bélanger
Date: Saturday, November 23, 2013 @ 22:52:47
  Author: eric
Revision: 101377

upgpkg: electricsheep 2.7b33-12

Rebuild against boost 1.55.0

Modified:
  electricsheep/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2013-11-23 21:12:56 UTC (rev 101376)
+++ PKGBUILD2013-11-23 21:52:47 UTC (rev 101377)
@@ -3,7 +3,7 @@
 
 pkgname=electricsheep
 pkgver=2.7b33
-pkgrel=11
+pkgrel=12
 pkgdesc=A screensaver that realize the collective dream of sleeping computers 
from all over the internet
 arch=('i686' 'x86_64')
 url=http://community.electricsheep.org/;



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

2013-08-11 Thread Eric Bélanger
Date: Monday, August 12, 2013 @ 03:37:32
  Author: eric
Revision: 95413

upgpkg: electricsheep 2.7b33-11

Rebuild against wxgtk2.9 2.9.5

Modified:
  electricsheep/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2013-08-12 00:59:36 UTC (rev 95412)
+++ PKGBUILD2013-08-12 01:37:32 UTC (rev 95413)
@@ -3,7 +3,7 @@
 
 pkgname=electricsheep
 pkgver=2.7b33
-pkgrel=10
+pkgrel=11
 pkgdesc=A screensaver that realize the collective dream of sleeping computers 
from all over the internet
 arch=('i686' 'x86_64')
 url=http://community.electricsheep.org/;



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

2013-07-11 Thread Eric Bélanger
Date: Friday, July 12, 2013 @ 02:10:09
  Author: eric
Revision: 93954

upgpkg: electricsheep 2.7b33-10

Rebuild against ffmpeg 2.0 and x264 20130702

Modified:
  electricsheep/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2013-07-11 23:39:00 UTC (rev 93953)
+++ PKGBUILD2013-07-12 00:10:09 UTC (rev 93954)
@@ -3,7 +3,7 @@
 
 pkgname=electricsheep
 pkgver=2.7b33
-pkgrel=9
+pkgrel=10
 pkgdesc=A screensaver that realize the collective dream of sleeping computers 
from all over the internet
 arch=('i686' 'x86_64')
 url=http://community.electricsheep.org/;



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

2013-07-08 Thread Eric Bélanger
Date: Monday, July 8, 2013 @ 22:02:06
  Author: eric
Revision: 93721

upgpkg: electricsheep 2.7b33-9

Rebuilt against boost 1.54.0

Modified:
  electricsheep/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2013-07-08 19:41:17 UTC (rev 93720)
+++ PKGBUILD2013-07-08 20:02:06 UTC (rev 93721)
@@ -3,7 +3,7 @@
 
 pkgname=electricsheep
 pkgver=2.7b33
-pkgrel=8
+pkgrel=9
 pkgdesc=A screensaver that realize the collective dream of sleeping computers 
from all over the internet
 arch=('i686' 'x86_64')
 url=http://community.electricsheep.org/;



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

2013-04-28 Thread Eric Bélanger
Date: Sunday, April 28, 2013 @ 08:41:24
  Author: eric
Revision: 89223

upgpkg: electricsheep 2.7b33-8

Rebuild against libpng 1.6

Modified:
  electricsheep/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2013-04-28 06:31:41 UTC (rev 89222)
+++ PKGBUILD2013-04-28 06:41:24 UTC (rev 89223)
@@ -3,7 +3,7 @@
 
 pkgname=electricsheep
 pkgver=2.7b33
-pkgrel=7
+pkgrel=8
 pkgdesc=A screensaver that realize the collective dream of sleeping computers 
from all over the internet
 arch=('i686' 'x86_64')
 url=http://community.electricsheep.org/;
@@ -34,13 +34,17 @@
   gpg --detach-sign --use-agent -u ${GPGKEY} ${pkgname}-${pkgver}.tar.xz
 }
 
-build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+prepare() {
+  cd ${pkgname}-${pkgver}
   sed -i 's/wx-config/wx-config-2.9/g' configure.ac
   sed -i -e 's/AM_PROG_CC_STDC/AC_PROG_CC/' configure.ac
   sed -i '12 i\
 #include cstdio' Common/Singleton.h
   mkdir m4
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
   ./autogen.sh
   CPPFLAGS+=-I/usr/include/lua5.1 ./configure --prefix=/usr
   sed -i 's|-I /usr/include/libavutil||' MSVC/SettingsGUI/Makefile 
@@ -48,7 +52,7 @@
 }
 
 package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd ${pkgname}-${pkgver}
   make DESTDIR=${pkgdir} install
   install -D -m644 menu-entries/ElectricSheep.desktop.kde 
${pkgdir}/usr/share/kde4/services/ScreenSavers/electricsheep.desktop
   install -D -m644 Runtime/logo.png 
${pkgdir}/usr/share/icons/electricsheep.png



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

2013-03-25 Thread Eric Bélanger
Date: Tuesday, March 26, 2013 @ 00:15:31
  Author: eric
Revision: 87028

upgpkg: electricsheep 2.7b33-7

Rebuild for boost 1.53.0

Modified:
  electricsheep/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2013-03-25 19:19:12 UTC (rev 87027)
+++ PKGBUILD2013-03-25 23:15:31 UTC (rev 87028)
@@ -3,7 +3,7 @@
 
 pkgname=electricsheep
 pkgver=2.7b33
-pkgrel=6
+pkgrel=7
 pkgdesc=A screensaver that realize the collective dream of sleeping computers 
from all over the internet
 arch=('i686' 'x86_64')
 url=http://community.electricsheep.org/;
@@ -44,7 +44,7 @@
   ./autogen.sh
   CPPFLAGS+=-I/usr/include/lua5.1 ./configure --prefix=/usr
   sed -i 's|-I /usr/include/libavutil||' MSVC/SettingsGUI/Makefile 
-  make CXXFLAGS+=-DUSE_NEW_FFMPEG_API=1
+  make CXXFLAGS+=-DUSE_NEW_FFMPEG_API=1 GLEE_LIBS=-lGLee 
 }
 
 package() {



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

2013-02-07 Thread Bartłomiej Piotrowski
Date: Thursday, February 7, 2013 @ 18:55:05
  Author: bpiotrowski
Revision: 83969

upgpkg: electricsheep 2.7b33-6

rebuild against ffmpeg 1.1

Modified:
  electricsheep/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2013-02-07 17:38:46 UTC (rev 83968)
+++ PKGBUILD2013-02-07 17:55:05 UTC (rev 83969)
@@ -3,7 +3,7 @@
 
 pkgname=electricsheep
 pkgver=2.7b33
-pkgrel=5
+pkgrel=6
 pkgdesc=A screensaver that realize the collective dream of sleeping computers 
from all over the internet
 arch=('i686' 'x86_64')
 url=http://community.electricsheep.org/;



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

2013-02-07 Thread Eric Bélanger
Date: Thursday, February 7, 2013 @ 19:29:28
  Author: eric
Revision: 83977

upgpkg: electricsheep 2.7b33-7

Rebuild against ffmpeg and x264

Modified:
  electricsheep/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2013-02-07 18:21:53 UTC (rev 83976)
+++ PKGBUILD2013-02-07 18:29:28 UTC (rev 83977)
@@ -3,7 +3,7 @@
 
 pkgname=electricsheep
 pkgver=2.7b33
-pkgrel=6
+pkgrel=7
 pkgdesc=A screensaver that realize the collective dream of sleeping computers 
from all over the internet
 arch=('i686' 'x86_64')
 url=http://community.electricsheep.org/;



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

2013-02-07 Thread Eric Bélanger
Date: Thursday, February 7, 2013 @ 19:32:56
  Author: eric
Revision: 83978

Fix svn

Modified:
  electricsheep/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2013-02-07 18:29:28 UTC (rev 83977)
+++ PKGBUILD2013-02-07 18:32:56 UTC (rev 83978)
@@ -3,7 +3,7 @@
 
 pkgname=electricsheep
 pkgver=2.7b33
-pkgrel=7
+pkgrel=6
 pkgdesc=A screensaver that realize the collective dream of sleeping computers 
from all over the internet
 arch=('i686' 'x86_64')
 url=http://community.electricsheep.org/;



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

2013-01-21 Thread eric
Date: Tuesday, January 22, 2013 @ 03:45:05
  Author: eric
Revision: 82626

upgpkg: electricsheep 2.7b33-5

Rebuild against boost 1.52.0, Add build fixes

Modified:
  electricsheep/trunk/PKGBUILD

--+
 PKGBUILD |4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-01-21 22:29:25 UTC (rev 82625)
+++ PKGBUILD2013-01-22 02:45:05 UTC (rev 82626)
@@ -3,7 +3,7 @@
 
 pkgname=electricsheep
 pkgver=2.7b33
-pkgrel=4
+pkgrel=5
 pkgdesc=A screensaver that realize the collective dream of sleeping computers 
from all over the internet
 arch=('i686' 'x86_64')
 url=http://community.electricsheep.org/;
@@ -37,8 +37,10 @@
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
   sed -i 's/wx-config/wx-config-2.9/g' configure.ac
+  sed -i -e 's/AM_PROG_CC_STDC/AC_PROG_CC/' configure.ac
   sed -i '12 i\
 #include cstdio' Common/Singleton.h
+  mkdir m4
   ./autogen.sh
   CPPFLAGS+=-I/usr/include/lua5.1 ./configure --prefix=/usr
   sed -i 's|-I /usr/include/libavutil||' MSVC/SettingsGUI/Makefile