automated building/testing for SDL_Perl?

2013-08-11 Thread Mason James
hi All

I've recently learnt how to use the Travis [1] automated build system with 
github repos

its a pretty handy tool that detects errors in commits; and also builds/tests 
your codebase after any commit series is pushed, on multiple versions of perl 
even (currently 5.10 - 5.18) 


with some pretty small changes, I've managed to get both the SDL and Alien-SDL 
repos building/testing successfully with Travis [2][3]
(i plan on sorting the SDL2 and Alien-SDL2 repos soon)

so… is this something people are keen on using for SDL_Perl project?


cheers, Mason

[1] https://travis-ci.org/
[2] https://travis-ci.org/KohaAloha/SDL
[3] https://travis-ci.org/KohaAloha/Alien-SDL



Re: automated building/testing for SDL_Perl?

2013-08-11 Thread Tobias Leich
Hi Mason,

that is pretty cool. If it does a rebuild and test after every commit,
can I see a matrix of commits?

Cheers, Tobias

Am 11.08.2013 21:20, schrieb Mason James:
 hi All

 I've recently learnt how to use the Travis [1] automated build system with 
 github repos

 its a pretty handy tool that detects errors in commits; and also builds/tests 
 your codebase after any commit series is pushed, on multiple versions of perl 
 even (currently 5.10 - 5.18) 


 with some pretty small changes, I've managed to get both the SDL and 
 Alien-SDL repos building/testing successfully with Travis [2][3]
 (i plan on sorting the SDL2 and Alien-SDL2 repos soon)

 so… is this something people are keen on using for SDL_Perl project?


 cheers, Mason

 [1] https://travis-ci.org/
 [2] https://travis-ci.org/KohaAloha/SDL
 [3] https://travis-ci.org/KohaAloha/Alien-SDL




Re: automated building/testing for SDL_Perl?

2013-08-11 Thread Kartik Thakore
Yeap this would be great for sdl. I can give you permissions to add it to SDL 
repos?

On Sun, Aug 11, 2013 at 4:04 PM, Mason James m...@kohaaloha.com wrote:

 On 2013-08-12, at 7:30 AM, Tobias Leich wrote:
 Hi Mason,
 
 that is pretty cool. If it does a rebuild and test after every commit,
 can I see a matrix of commits?
 
 Cheers, Tobias
 hmm, the 'build history' (and 'pull request'?) tabs show a history of commits 
 (and their test result)
 https://travis-ci.org/KohaAloha/Alien-SDL/builds
 https://travis-ci.org/KohaAloha/Alien-SDL/pull_requests
 thats the best travis does, i think…?
 
 Am 11.08.2013 21:20, schrieb Mason James:
 hi All
 
 I've recently learnt how to use the Travis [1] automated build system with 
 github repos
 
 its a pretty handy tool that detects errors in commits; and also 
 builds/tests your codebase after any commit series is pushed, on multiple 
 versions of perl even (currently 5.10 - 5.18) 
 
 
 with some pretty small changes, I've managed to get both the SDL and 
 Alien-SDL repos building/testing successfully with Travis [2][3]
 (i plan on sorting the SDL2 and Alien-SDL2 repos soon)
 
 so… is this something people are keen on using for SDL_Perl project?
 
 
 cheers, Mason
 
 [1] https://travis-ci.org/
 [2] https://travis-ci.org/KohaAloha/SDL
 [3] https://travis-ci.org/KohaAloha/Alien-SDL
 
 
 cheers, Mason
 -- 
 KohaAloha, NZ

Re: automated building/testing for SDL_Perl?

2013-08-11 Thread Mason James

On 2013-08-12, at 8:06 AM, Kartik Thakore wrote:

 Yeap this would be great for sdl. I can give you permissions to add it to SDL 
 repos?


yes please :)


 
 
 On Sun, Aug 11, 2013 at 4:04 PM, Mason James m...@kohaaloha.com wrote:
 
 
 On 2013-08-12, at 7:30 AM, Tobias Leich wrote: 
 
  Hi Mason, 
  
  that is pretty cool. If it does a rebuild and test after every commit, 
  can I see a matrix of commits? 
  
  Cheers, Tobias 
 
 hmm, the 'build history' (and 'pull request'?) tabs show a history of commits 
 (and their test result) 
 
 https://travis-ci.org/KohaAloha/Alien-SDL/builds 
 https://travis-ci.org/KohaAloha/Alien-SDL/pull_requests 
 
 
 thats the best travis does, i think…? 
 
 
  
  Am 11.08.2013 21:20, schrieb Mason James: 
  hi All 
  
  I've recently learnt how to use the Travis [1] automated build system with 
  github repos 
  
  its a pretty handy tool that detects errors in commits; and also 
  builds/tests your codebase after any commit series is pushed, on multiple 
  versions of perl even (currently 5.10 - 5.18) 
  
  
  with some pretty small changes, I've managed to get both the SDL and 
  Alien-SDL repos building/testing successfully with Travis [2][3] 
  (i plan on sorting the SDL2 and Alien-SDL2 repos soon) 
  
  so… is this something people are keen on using for SDL_Perl project? 
  
  
  cheers, Mason 
  
  [1] https://travis-ci.org/ 
  [2] https://travis-ci.org/KohaAloha/SDL 
  [3] https://travis-ci.org/KohaAloha/Alien-SDL 
  
  
 
 
 cheers, Mason 
 -- 
 KohaAloha, NZ 
 
 


cheers, Mason
-- 
KohaAloha, NZ



Re: automated building/testing for SDL_Perl?

2013-08-11 Thread Kartik Thakore
Done. Let me know if you need more permissions for the travis irc stuff.

On Sun, Aug 11, 2013 at 4:56 PM, Mason James m...@kohaaloha.com wrote:


 On 2013-08-12, at 7:20 AM, Mason James wrote:

  hi All
 
  I've recently learnt how to use the Travis [1] automated build system
 with github repos
 
  its a pretty handy tool that detects errors in commits; and also
 builds/tests your codebase after any commit series is pushed, on multiple
 versions of perl even (currently 5.10 - 5.18)
 

 oh, also...

 some other nice things with Travis, is that (afaik) it can be configured
 to send emails and irc messages after a build

 so we could get Travis to send build messages to #sdl on irc.perl.org,
 (or create a 'build' mailing list)


Request comments on new types of constants

2013-08-11 Thread Kartik Thakore
Hey Guys,

What do you think of doing this for constants:

XS plug
https://github.com/PerlGameDev/SDL2/blob/experimental/src/Core/Constants.xs#L17

Mapped directly to

https://github.com/PerlGameDev/SDL2/blob/experimental/lib/SDL2/Constants.pm#L96

This way we don't have to update their values if libSDL2 changes them.

Regards,
Kartik


[Alien-SDL2] libtiff 4.0.3 incompatible on debian/ubuntu

2013-08-11 Thread Kartik Thakore
Hey guys,

Any ideas on how I can fix this?
https://github.com/PerlGameDev/Alien-SDL2/issues/3

I tried

... { FALSE= 0, TRUE= 0} ...

But that is not working.


Re: [Alien-SDL2] libtiff 4.0.3 incompatible on debian/ubuntu

2013-08-11 Thread Kartik Thakore
This seems to work:

https://github.com/PerlGameDev/Alien-SDL2/commit/dfece76c277922550610f8c8179f149131522c7e

any comments?


On Sun, Aug 11, 2013 at 9:51 PM, Kartik Thakore thakore.kar...@gmail.comwrote:

 Hey guys,

 Any ideas on how I can fix this?
 https://github.com/PerlGameDev/Alien-SDL2/issues/3

 I tried

 ... { FALSE= 0, TRUE= 0} ...

 But that is not working.





Re: [Alien-SDL2] libtiff 4.0.3 incompatible on debian/ubuntu

2013-08-11 Thread Kartik Thakore
Seems like prereqs are not installing now:
https://github.com/PerlGameDev/Alien-SDL2/issues/4

Any clue guys?

Also kmx: your url for smpeg is no longer valid.

On Sun, Aug 11, 2013 at 10:41 PM, Kartik Thakore
thakore.kar...@gmail.comwrote:

 This seems to work:


 https://github.com/PerlGameDev/Alien-SDL2/commit/dfece76c277922550610f8c8179f149131522c7e

 any comments?


 On Sun, Aug 11, 2013 at 9:51 PM, Kartik Thakore 
 thakore.kar...@gmail.comwrote:

 Hey guys,

 Any ideas on how I can fix this?
 https://github.com/PerlGameDev/Alien-SDL2/issues/3

 I tried

 ... { FALSE= 0, TRUE= 0} ...

 But that is not working.






Re: [Alien-SDL2] libtiff 4.0.3 incompatible on debian/ubuntu

2013-08-11 Thread Kartik Thakore
Also this looks like the Builder is not fetching and install SDL2, when I
ask it to build from scratch :

Do you want to see all messages during configure/make (y/n)? [n ]n
Checking checksum for already existing 'download/zlib-1.2.8.tar.gz'...
Checking checksum for already existing 'download/jpegsrc.v9.tar.gz'...
Checking checksum for already existing 'download/tiff-4.0.3.tar.gz'...
Checking checksum for already existing 'download/libpng-1.5.14.tar.gz'...
Checking checksum for already existing 'download/freetype-2.4.11.tar.gz'...
Checking checksum for already existing
'download/SDL2_image-hg20130301.tar.gz'...
Checking checksum for already existing 'download/libogg-1.3.0.tar.gz'...
Checking checksum for already existing 'download/libvorbis-1.3.3.tar.gz'...
Fetching '
http://strawberryperl.com/package/kmx/sdl/src/SDL2_mixer-hg20130301.tar.gz'.
..
Checking checksum for 'download/SDL2_mixer-hg20130301.tar.gz'...
Checking checksum for already existing
'download/SDL2_ttf-hg20130301.tar.gz'...
Checking checksum for already existing
'download/SDL2_gfx-svn20130301.tar.gz'...
Extracting z...
Extracting jpeg...
Extracting tiff...
###
Any ideas why?

On Sun, Aug 11, 2013 at 11:13 PM, Kartik Thakore
thakore.kar...@gmail.comwrote:

 Seems like prereqs are not installing now:
 https://github.com/PerlGameDev/Alien-SDL2/issues/4

 Any clue guys?

 Also kmx: your url for smpeg is no longer valid.


 On Sun, Aug 11, 2013 at 10:41 PM, Kartik Thakore thakore.kar...@gmail.com
  wrote:

 This seems to work:


 https://github.com/PerlGameDev/Alien-SDL2/commit/dfece76c277922550610f8c8179f149131522c7e

 any comments?


 On Sun, Aug 11, 2013 at 9:51 PM, Kartik Thakore thakore.kar...@gmail.com
  wrote:

 Hey guys,

 Any ideas on how I can fix this?
 https://github.com/PerlGameDev/Alien-SDL2/issues/3

 I tried

 ... { FALSE= 0, TRUE= 0} ...

 But that is not working.