Re: SDL2 + POGL2 + PDL confluence

2013-08-17 Thread Mason James

On 2013-08-17, at 1:37 AM, Chris Marshall wrote:

> On Thu, Aug 15, 2013 at 6:05 PM, Kartik Thakore
>  wrote:
>> 
>> I am definitely interested in helping with this. Perhaps we should make a
>> test module that tests just these integration.
>> 
>> It will get latest branches of the 3 projects and run tests.
>> 
>> What do you think?
> 
> I'm glad to see the interest but most of the base work
> is still needing to be done as far as the OpenGL stuff.
> We need modern OpenGL support in POGL before a lot of
> the specific development can occur.
> 
> However, one important piece that could be investigated
> is how we could make conversion between SDL2 objects
> and PDL objects work.  Ideally we could have a fast
> conversion to take a piddle and use it for an SDL2 surface
> or texture or whatever and similarly for the other direction.
> 
> Currently, the approach used for SDL is to create the PDL
> object with the right sized data segment and then pass that
> to SDL to make a surface from that.  I'm not sure what would
> work for SDL2 stuff.
> 
> --Chris


hi Chris, 

i was looking at elmex's construder code recently, and noticed that the passing 
of an SDL surface to OpenGL was done by dumping the SDL surface to a BMP temp 
file (via File::Temp), then loading the BMP with OpenGL. 

obviously this solution is a little slower than others, but... it should 'just 
work' without much effort

we could always use this lazy technique for initial testing, until a more 
'correct' solution is sorted with SDL_Texture :)


Mason

Re: Alien::SDL2 - updated libs

2013-08-17 Thread Kartik Thakore
Awesome cool. Gonna merge to master!


On Sat, Aug 17, 2013 at 3:56 PM, kmx  wrote:

>  Now fixed
> https://travis-ci.org/PerlGameDev/Alien-SDL2/builds/10316295
>
>  On 17.8.2013 21:19, Kartik Thakore wrote:
>
> We are getting fails because of something with png and libz.
>
>  https://travis-ci.org/PerlGameDev/Alien-SDL2/builds/10315397
>
>  https://travis-ci.org/PerlGameDev/Alien-SDL2/jobs/10315398
>
>
>
>
> On Sat, Aug 17, 2013 at 3:08 PM, kmx  wrote:
>
>>  now also in experimental
>>
>> --
>> kmx
>>
>>   On 17.8.2013 20:52, Kartik Thakore wrote:
>>
>> Actually I have made some changes to that file, can you move those
>> changes to the experimental branch? I have a patch in there too.
>>
>>
>> On Sat, Aug 17, 2013 at 2:48 PM, kmx  wrote:
>>
>>>  I have commited the patch to 'master' see
>>> https://github.com/PerlGameDev/Alien-SDL2/commit/f796a3d
>>>
>>> Needs testing
>>>
>>> --
>>> kmx
>>>
>>
>>
>>
>
>


Re: Alien::SDL2 - updated libs

2013-08-17 Thread kmx

Now fixed
https://travis-ci.org/PerlGameDev/Alien-SDL2/builds/10316295

On 17.8.2013 21:19, Kartik Thakore wrote:

We are getting fails because of something with png and libz.

https://travis-ci.org/PerlGameDev/Alien-SDL2/builds/10315397

https://travis-ci.org/PerlGameDev/Alien-SDL2/jobs/10315398




On Sat, Aug 17, 2013 at 3:08 PM, kmx mailto:k...@volny.cz>> 
wrote:


now also in experimental

--
kmx

On 17.8.2013 20:52, Kartik Thakore wrote:

Actually I have made some changes to that file, can you move those
changes to the experimental branch? I have a patch in there too.


On Sat, Aug 17, 2013 at 2:48 PM, kmx mailto:k...@volny.cz>> wrote:

I have commited the patch to 'master' see
https://github.com/PerlGameDev/Alien-SDL2/commit/f796a3d

Needs testing

--
kmx









Re: Alien::SDL2 - updated libs

2013-08-17 Thread Kartik Thakore
oops nevermind


On Sat, Aug 17, 2013 at 3:31 PM, Kartik Thakore wrote:

> I am also getting these errors with vorbis now:
>
>  /bin/bash ../libtool   --mode=install /usr/bin/install -c   libvorbis.la
> libvorbisfile.la libvorbisenc.la'/root/Alien-SDL2/sharedir/0.002_5fb04777/lib'
> libtool: install: /usr/bin/install -c .libs/libvorbis.so.0.4.6
> /root/Alien-SDL2/sharedir/0.002_5fb04777/lib/libvorbis.so.0.4.6
> libtool: install: (cd /root/Alien-SDL2/sharedir/0.002_5fb04777/lib && { ln
> -s -f libvorbis.so.0.4.6 libvorbis.so.0 || { rm -f libvorbis.so.0 && ln -s
> libvorbis.so.0.4.6 libvorbis.so.0; }; })
> libtool: install: (cd /root/Alien-SDL2/sharedir/0.002_5fb04777/lib && { ln
> -s -f libvorbis.so.0.4.6 libvorbis.so || { rm -f libvorbis.so && ln -s
> libvorbis.so.0.4.6 libvorbis.so; }; })
> libtool: install: /usr/bin/install -c .libs/libvorbis.lai
> /root/Alien-SDL2/sharedir/0.002_5fb04777/lib/libvorbis.la
> libtool: install: error: cannot install `libvorbisfile.la' to a directory
> not ending in /root/Alien-SDL2/sharedir/0.001_9c0ef58f/lib
> make[3]: *** [install-libLTLIBRARIES] Error 1
> make[3]: Leaving directory `/root/Alien-SDL2/build_src/libvorbis-1.3.3/lib'
> make[2]: *** [install-am] Error 2
> make[2]: Leaving directory `/root/Alien-SDL2/build_src/libvorbis-1.3.3/lib'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/root/Alien-SDL2/build_src/libvorbis-1.3.3/lib'
>
>
>
> On Sat, Aug 17, 2013 at 3:19 PM, Kartik Thakore 
> wrote:
>
>> We are getting fails because of something with png and libz.
>>
>> https://travis-ci.org/PerlGameDev/Alien-SDL2/builds/10315397
>>
>> https://travis-ci.org/PerlGameDev/Alien-SDL2/jobs/10315398
>>
>>
>>
>>
>> On Sat, Aug 17, 2013 at 3:08 PM, kmx  wrote:
>>
>>>  now also in experimental
>>>
>>> --
>>> kmx
>>>
>>>  On 17.8.2013 20:52, Kartik Thakore wrote:
>>>
>>> Actually I have made some changes to that file, can you move those
>>> changes to the experimental branch? I have a patch in there too.
>>>
>>>
>>> On Sat, Aug 17, 2013 at 2:48 PM, kmx  wrote:
>>>
  I have commited the patch to 'master' see
 https://github.com/PerlGameDev/Alien-SDL2/commit/f796a3d

 Needs testing

 --
 kmx

>>>
>>>
>>>
>>
>


Re: Alien::SDL2 - updated libs

2013-08-17 Thread Kartik Thakore
I am also getting these errors with vorbis now:

 /bin/bash ../libtool   --mode=install /usr/bin/install -c   libvorbis.la
libvorbisfile.la libvorbisenc.la'/root/Alien-SDL2/sharedir/0.002_5fb04777/lib'
libtool: install: /usr/bin/install -c .libs/libvorbis.so.0.4.6
/root/Alien-SDL2/sharedir/0.002_5fb04777/lib/libvorbis.so.0.4.6
libtool: install: (cd /root/Alien-SDL2/sharedir/0.002_5fb04777/lib && { ln
-s -f libvorbis.so.0.4.6 libvorbis.so.0 || { rm -f libvorbis.so.0 && ln -s
libvorbis.so.0.4.6 libvorbis.so.0; }; })
libtool: install: (cd /root/Alien-SDL2/sharedir/0.002_5fb04777/lib && { ln
-s -f libvorbis.so.0.4.6 libvorbis.so || { rm -f libvorbis.so && ln -s
libvorbis.so.0.4.6 libvorbis.so; }; })
libtool: install: /usr/bin/install -c .libs/libvorbis.lai
/root/Alien-SDL2/sharedir/0.002_5fb04777/lib/libvorbis.la
libtool: install: error: cannot install `libvorbisfile.la' to a directory
not ending in /root/Alien-SDL2/sharedir/0.001_9c0ef58f/lib
make[3]: *** [install-libLTLIBRARIES] Error 1
make[3]: Leaving directory `/root/Alien-SDL2/build_src/libvorbis-1.3.3/lib'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/root/Alien-SDL2/build_src/libvorbis-1.3.3/lib'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/root/Alien-SDL2/build_src/libvorbis-1.3.3/lib'



On Sat, Aug 17, 2013 at 3:19 PM, Kartik Thakore wrote:

> We are getting fails because of something with png and libz.
>
> https://travis-ci.org/PerlGameDev/Alien-SDL2/builds/10315397
>
> https://travis-ci.org/PerlGameDev/Alien-SDL2/jobs/10315398
>
>
>
>
> On Sat, Aug 17, 2013 at 3:08 PM, kmx  wrote:
>
>>  now also in experimental
>>
>> --
>> kmx
>>
>>  On 17.8.2013 20:52, Kartik Thakore wrote:
>>
>> Actually I have made some changes to that file, can you move those
>> changes to the experimental branch? I have a patch in there too.
>>
>>
>> On Sat, Aug 17, 2013 at 2:48 PM, kmx  wrote:
>>
>>>  I have commited the patch to 'master' see
>>> https://github.com/PerlGameDev/Alien-SDL2/commit/f796a3d
>>>
>>> Needs testing
>>>
>>> --
>>> kmx
>>>
>>
>>
>>
>


Re: Alien::SDL2 - updated libs

2013-08-17 Thread Kartik Thakore
We are getting fails because of something with png and libz.

https://travis-ci.org/PerlGameDev/Alien-SDL2/builds/10315397

https://travis-ci.org/PerlGameDev/Alien-SDL2/jobs/10315398




On Sat, Aug 17, 2013 at 3:08 PM, kmx  wrote:

>  now also in experimental
>
> --
> kmx
>
>  On 17.8.2013 20:52, Kartik Thakore wrote:
>
> Actually I have made some changes to that file, can you move those changes
> to the experimental branch? I have a patch in there too.
>
>
> On Sat, Aug 17, 2013 at 2:48 PM, kmx  wrote:
>
>>  I have commited the patch to 'master' see
>> https://github.com/PerlGameDev/Alien-SDL2/commit/f796a3d
>>
>> Needs testing
>>
>> --
>> kmx
>>
>
>
>


Alien::SDL2 - updated libs

2013-08-17 Thread kmx

I have commited the patch to 'master' see
https://github.com/PerlGameDev/Alien-SDL2/commit/f796a3d

Needs testing

--
kmx