Perl 6 - the future is here, just unevenly distributed

IRC log for #sdl, 2013-08-12

| Channels | #sdl index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:00 mtj i might try removing F::T as a cpan dep, then it might use the older (working) version
00:02 mtj ooh, that might have worked… is using 0.22 now - not File-Temp-0.2301
00:03 mtj oooh, sucess!! with the old file::temp
00:03 mtj https://travis-ci.org/KohaAloha/Alien-SDL2/builds/10097926
00:08 mtj hokay, i'm happy with for now… :)
00:08 mtj *with that
00:13 mtj kthakore, still about?
00:16 mtj i still need to 'tidy up' my travis patches, before they are ready to push
00:17 mtj i made some mods to always select the 'default' option, and not prompt - during the ./Build.PL stage
00:18 mtj but perhaps a better way to handle these prompts, is to use 'expect'
00:18 mtj fwiw, i did try with expect, but couldnt get it to work - so i modded the build script
00:19 FROGGS joined #sdl
00:20 mtj heya FROGGS
00:21 mtj this is interesting... Alien-SDL2 passes on some perl versions, but fails on 5.18
00:21 mtj https://travis-ci.org/KohaAloha/Alien-SDL2/builds/10098110
00:22 mtj and the reason is… perl-5.18 has the problematic 0.23 version of File::Temp - not 0.22
00:24 kthakore kk
00:24 kthakore mtj: I am around
00:24 kthakore mtj: find out what the correct usage is
00:24 mtj heya, ive gotta scoot soon too
00:24 kthakore tekk
00:24 kthakore kk
00:25 kthakore move your stuff to perlgamedev/Alien-SDL2
00:27 mtj kthakore, ok, will do
00:40 FROGGS joined #sdl
00:47 FROGGS joined #sdl
01:01 kthakore hi FROGGS
01:17 FROGGS joined #sdl
02:10 FROGGS joined #sdl
02:40 pgd-alienSDL2 joined #sdl
02:40 pgd-alienSDL2 [Alien-SDL201] kthakore pushed 1 new commit to experimental: http://git.io/MrZAVw
02:40 pgd-alienSDL2 Alien-SDL2/experimental dfece76 root: fixed the patch so that tiff 4.0.3 works with libjpeg 9. WIP #3.
02:40 pgd-alienSDL2 left #sdl
03:02 pgd-alienSDL2 joined #sdl
03:02 pgd-alienSDL2 [Alien-SDL201] kthakore pushed 1 new commit to experimental: http://git.io/9PvNhQ
03:02 pgd-alienSDL2 Alien-SDL2/experimental 9ebce10 root: smpeg tar ball is missing and SDL2_image is not compiling because it says SDL.h is missing. The preqes stuff is missing
03:02 pgd-alienSDL2 left #sdl
03:07 FROGGS joined #sdl
03:09 pgd-alienSDL2 joined #sdl
03:09 pgd-alienSDL2 [Alien-SDL201] kthakore force-pushed experimental from 9ebce10 to 0ff1427: http://git.io/H8Gusg
03:09 pgd-alienSDL2 Alien-SDL2/experimental 0ff1427 root: smpeg tar ball is missing and SDL2_image is not compiling because it says SDL.h is missing. The preqes stuff is missing.
03:09 pgd-alienSDL2 left #sdl
03:27 kthakore hi FROGGS
03:50 FROGGS joined #sdl
06:46 FROGGS joined #sdl
13:34 kaare joined #sdl
14:16 kthakore hi FROGGS
14:16 FROGGS hi kthakore
14:17 kthakore Get my email about Alien::SDL2 source compile bugs?
14:17 kthakore where is the place I can make sure it installes the SDL2 pack?
14:17 FROGGS I got a bunch of them, but didnt read it
14:17 FROGGS I dont understand the question
14:37 kthakore ok
14:37 kthakore FROGGS: basically Alien::SDL2 is not extracting and compiling SDL2
14:38 kthakore so SDL2_image etc are failing to compile
14:38 kthakore FROGGS: how 2 fix dis dawg?
14:38 FROGGS does it download the sources?
14:38 FROGGS I've not written Alien::SDL2... that must have done somebody else :o)
14:39 kthakore yeah nope
14:40 kthakore FROGGS: it is same as Alien::SDL actually
14:40 kthakore just different packs
14:40 FROGGS does it know about its sources? because months ago it was only capable of downloading and installing libSDL itself
14:40 kthakore yeah it does
14:41 kthakore DERP
14:41 kthakore [2] Source code build z(v1.2.8) jpeg(v9) tiff(v4.0.3) png(v1.5.14) freetype(v2.4.11) SDL2_image(v2.0.0HG) ogg(v1.3.0) vorbis(v1.3.3) SDL2_mixer(v2.0.0HG) SDL2_ttf(v2.0.12HG) SDL2_gfx(v20130301-hg)
14:41 kthakore missing SDL2
14:41 kthakore how to add here?
14:41 FROGGS you might need to edit the source code
14:42 kthakore I know
14:42 kthakore but where?
14:42 FROGGS come on, there are just four or five files...
14:42 kthakore what can I ack to find?
14:42 kthakore waaaah
14:42 FROGGS should be like inc/My/Builder/Utility.pm or so
14:42 kthakore *cries*
14:42 kthakore kk
14:42 FROGGS there is a huge hash
14:43 FROGGS if you would grep for, say, SDL2_ttf you would know
14:50 kthakore FROGGS: ok so I think I have the problem
14:50 kthakore do you remember the header map?
14:50 kthakore for check_prereq_libs
14:50 kthakore SDL2 is looking for SDL_version
14:50 kthakore but that is also in SDL
14:50 kthakore which is installed on the system
14:50 FROGGS hold on
14:51 FROGGS it is really called SDL_version.h too?
14:53 kthakore yeah
14:53 kthakore actually no
14:53 kthakore err
14:53 kthakore yes for SDL_version
14:53 kthakore but we also check the version number
14:53 kthakore but this is code installed shouldn't it include everthing?
14:54 FROGGS what is 'everything' ?
14:55 kthakore all the source files
14:56 FROGGS "but this is code installed shouldn't it include everthing?" <-- I still dont get it
14:57 kthakore all the source packages
14:57 kthakore even if SDL2 is installed but I choose to compile from scratch (option 2)
14:57 kthakore it should still compile and install SDL2
14:57 kthakore I think the problem is here: https://github.com/PerlGameDev/Alien-SDL2/blob/experimental/Build.PL#L183
14:59 FROGGS true, if you have something installed it will be ignored when you say: 2) install libA, libB and libC
15:00 kthakore yeah
15:00 FROGGS if %have_libs doesnt contain libSDL2, then you have a problem, yes
15:00 FROGGS so it thinks it doesnt provide it
15:02 FROGGS kthakore: the Build.PL should complain if it is unable to provide libSDL2
15:02 FROGGS it checks the prerqes_libs here for example: https://github.com/PerlGameDev/Alien-SDL2/blob/master/inc/My/Utility.pm#L118
15:03 kthakore nope those are prebuilt area
15:03 kthakore https://github.com/PerlGameDev/Alien-SDL2/blob/experimental/Build.PL#L147
15:03 kthakore this is where it does the source
15:03 FROGGS You have the following options:
15:03 FROGGS [1] Source code build
15:03 FROGGS SDL2(v2.0.0HG) SDL2_image(v2.0.0HG) SDL2_ttf(v2.0.12HG) SDL2_gfx(v20130301-hg)
15:03 kthakore I am not getting SDL2
15:03 kthakore on my server
15:03 FROGGS checking for pthread... yes
15:03 FROGGS checking for SDL2... no
15:03 kthakore I am getting yes for SDL2
15:04 FROGGS and what for pthread?
15:04 kthakore crappp no pthread
15:04 kthakore UUUGH we should have a warning if SDL2 is missing pthread
15:04 FROGGS see
15:04 kthakore fucking hell
15:04 kthakore where do I put this warning?
15:05 FROGGS before printing the options
15:05 FROGGS BLOODY HELL: You seem to be missing 'pthread' so I'm unable to build libSDL2 for ya.
15:05 kthakore kk
15:06 FROGGS you could write it a bit nicer though :o)
15:06 kthakore kk
15:09 kthakore hmm it looks like I have pthread but it can't find it?
15:12 FROGGS there are search paths in inc/My/Builder/Unix.pm for example
15:14 kthakore nothing there for libpthread
15:18 kthakore hmm
15:19 kthakore it is doing $found_lib && $found_inc https://github.com/PerlGameDev/Alien-SDL2/blob/master/inc/My/Utility.pm#L287
15:19 FROGGS sure
15:19 kthakore for pthread it finds the inc but not the lib
15:20 FROGGS hmmm
15:20 kthakore should that be &&
15:20 kthakore or ||
15:20 kthakore for pthread?
15:20 kthakore I can see /usr/lib/libpthread.so
15:20 FROGGS maybe you have a /usr/lib/x84_64-linux-lib-gnu or what it is called?
15:20 FROGGS ahh
15:20 FROGGS kthakore: no, not having both should fail
15:21 FROGGS if you dont have the header you cant compile, if you dont have the lib you cant link, so why continue?
15:21 kthakore why can it not find the libpthread.a ?
15:21 kthakore but this doesn't consider the dll
15:21 FROGGS well, debug it
15:22 FROGGS add print statements which directories get checked: https://github.com/PerlGameDev/Alien-SDL2/blob/master/inc/My/Utility.pm#L277
15:23 kthakore crapppp
15:23 FROGGS btw, in which path is the header file?
15:23 kthakore it is only looking at /usr/lib64
15:23 kthakore and /usr/local/lib
15:23 kthakore /usr/include
15:23 kthakore is where the header file
15:25 kthakore https://github.com/PerlGameDev/Alien-SDL2/blob/master/inc/My/Utility.pm#L31 is overwriting the /usr/lib
15:26 kthakore it should do both
15:26 FROGGS yeah
15:26 FROGGS k, I must go now, yee ya
15:56 kthakore yay I think I fixed it
16:07 pgd-alienSDL2 joined #sdl
16:07 pgd-alienSDL2 [Alien-SDL201] kthakore pushed 2 new commits to experimental: http://git.io/jL5AsA
16:07 pgd-alienSDL2 Alien-SDL2/experimental f7af5e3 Kartik Thakore: Adding error message for not being able to compile libSDL2 if pthread is missing. Also refactored out finding lib, inc, dlls so that we can iterate over an array for lib and lib64 on unix platforms that are 64bit.
16:07 pgd-alienSDL2 Alien-SDL2/experimental 47879a4 Kartik Thakore: Fixed file temp usage
16:07 pgd-alienSDL2 left #sdl
17:50 FROGGS joined #sdl
18:21 kthakore FROGGS: fixed it
18:38 FROGGS kthakore++
18:38 kthakore Can you see the fix and see if it makes sense?
18:39 kthakore mtj: ^^ can you try that Alien-SDL2 ?
18:40 FROGGS kthakore: you might better split up commits that dont belong into one
18:41 FROGGS and I think it make sense even when the indentation sucks
18:43 mtj yep, will do
19:21 mtj kthakore, i think i am ready to push my travis patch to PGD, for Alien-SDL2
19:25 mtj your file::temp patch is now passing on perl-5.18 , with file::temp 0.23 :)
19:46 mtj kthakore, still about?
20:10 pgd-alienSDL2 joined #sdl
20:10 pgd-alienSDL2 [Alien-SDL201] KohaAloha pushed 1 new commit to experimental: http://git.io/9mP4HA
20:10 pgd-alienSDL2 Alien-SDL2/experimental 2b9592f Mason James: add travis file, and zlib upgrade
20:10 pgd-alienSDL2 left #sdl
20:14 pgd-alienSDL2 joined #sdl
20:14 pgd-alienSDL2 [Alien-SDL201] KohaAloha pushed 1 new commit to experimental: http://git.io/UXOVOQ
20:14 pgd-alienSDL2 Alien-SDL2/experimental bbcdd38 Mason James: new file:   moo
20:14 pgd-alienSDL2 left #sdl
20:19 kthakore FROGGS ??
20:21 kthakore mtj: why moo?
20:22 mtj its my variant of foo :)
20:22 mtj i make a temp commit to start a build
20:23 kthakore hmm?
20:23 mtj then i delete it..
20:23 kthakore oooh
20:23 kthakore ok
20:23 kthakore should have update Build.PL
20:23 kthakore haha
20:23 kthakore doing that now
20:23 kthakore can I delete moo?
20:23 mtj yep, please
20:24 kthakore mtj: Next time indicate that in commit message please
20:24 kthakore mtj++ for travis :D
20:24 mtj build has finished, ok.. -> https://travis-ci.org/PerlGameDev/Alien-SDL2/builds/10129754
20:25 pgd-alienSDL2 joined #sdl
20:25 pgd-alienSDL2 [Alien-SDL201] kthakore pushed 1 new commit to experimental: http://git.io/bqPQCA
20:25 pgd-alienSDL2 Alien-SDL2/experimental b31bf3a Kartik Thakore: Updated version dep for File::Temp 0.23 and removed moo
20:25 pgd-alienSDL2 left #sdl
20:27 mtj fwiw, the updated file-temp changes see to work on the previous versions too
20:28 mtj s/see/seem/
20:29 kthakore mtj: added changes
20:29 pgd-alienSDL2 joined #sdl
20:29 pgd-alienSDL2 [Alien-SDL201] kthakore pushed 3 new commits to experimental: http://git.io/JvrNRQ
20:29 pgd-alienSDL2 Alien-SDL2/experimental 64e8ed4 Kartik Thakore: Updated changes
20:29 pgd-alienSDL2 Alien-SDL2/experimental 3bc6612 Kartik Thakore: Updated README VERSION
20:29 pgd-alienSDL2 Alien-SDL2/experimental 0d14370 Kartik Thakore: Updated gitignore
20:29 pgd-alienSDL2 left #sdl
20:30 kthakore v0.002 :D
20:30 mtj kthakore, if you look at my 'travis' patch… you can see one place i commented out some lines in inc/My/Builder.pm
20:30 mtj https://github.com/PerlGameDev/Alien-SDL2/commit/2b9592f4bcd31ed1780d0d10774c183f3d5cf099#L4L71
20:31 kthakore for travis?
20:31 mtj this code is where the build asks 'quiet or verbose logs'
20:31 kthakore can we detect travis run some how?
20:31 kthakore perl Build.PL --travis can you run that?
20:31 kthakore I will added ARGV check
20:31 kthakore and then we will disable on a conditional
20:32 kthakore much better imo
20:32 kthakore FROGGS: ping? ^^ watcha think?
20:32 mtj yes, good idea :)
20:32 kthakore ok update the --travis run
20:33 kthakore mtj: also WELCOME TO #SDL development :D
20:33 mtj heh, thanks :)
20:34 mtj so, my travis patch needs some improving - this patch is a quick fix
20:34 kthakore what is KohaAloha
20:34 kthakore no worries
20:34 kthakore we are still in experimenta l:D
20:35 mtj ...so we can get a quick build happening
20:36 kthakore no worries
20:36 kthakore most stuff I do is quick patches
20:36 kthakore a million bandages are stronger and more likely then 1 large perfect piece of steal
20:36 kthakore steel*
20:37 kthakore mtj: what is KohaAloha btw? You business?
20:37 mtj koha is a library system , that i hack on
20:38 mtj yeah, 'kohaaloha' is my business, where i hack on koha (library system)
20:39 kthakore cool
20:39 mtj http://en.wikipedia.org/wiki/Koha_(software)
20:39 mtj http://koha-community.org/
20:39 kthakore I am working on software start up too
20:39 kthakore noice
20:40 kthakore what is your take on stuff like ElasticSearch instead of MySQL for queries/searching and facet searching
20:40 mtj yes, please!
20:40 mtj :)
20:41 kthakore I am loving elasticsearch for this -> http://localhost:9200/all_books?q=this AND that OR this AND [ranges TO Ranges] ... etc
20:41 mtj i dont know much detail about ES,  but sure… why not :p
20:41 kthakore we are using elasticsearch for our research manager
20:41 kthakore product we are deploying in late 2013
20:42 mtj oooh, nice
20:42 kthakore what is the source of Koha in?
20:42 mtj (i have been dabbling in lucene/solr a bit)
20:43 mtj https://www.ohloh.net/p/koha
20:43 kthakore well Elasticsearch is lucene on steroids
20:44 kthakore we used Solr before for indexing ... ugh ... XML config files.. and lock ups
20:44 mtj Koha is a generic LAMP codebase written in perl,  and 30-ish perl deps
20:44 kthakore where can I broswe the source
20:45 kthakore what is the ORM for it?d
20:45 mtj DBI::Class
20:45 kthakore DBIx::Class?
20:45 kthakore coolio
20:45 mtj heh, yeah sorry :p
20:45 kthakore no bigge
20:45 kthakore biggie
20:46 mtj ...with a slow codebase tidy-up, to move to plack
20:47 kthakore why plack?
20:48 mtj its gives a good speed boost
20:49 mtj (Koha is a 10 year old codebase, so was orig. coded as an old  'cgi' style system)
20:49 mtj plack gives a good speed-boost to this style of 'older' perl app
20:50 mtj profiling shows a 3 x speed increase
20:50 mtj sorry, repos are here...
20:51 mtj http://git.koha-community.org
20:51 mtj http://git.koha-community.org/cgi-bin/gitweb.cgi?p=koha.git;a=summary
20:51 mtj and a mirrored github repo -> https://github.com/Koha-Community/Koha
20:52 mtj ah… and plack is quite easy to 'wrap' around an old cgi style perl app
20:53 kthakore cool
20:57 pgd-alienSDL2 joined #sdl
20:57 pgd-alienSDL2 [Alien-SDL201] KohaAloha pushed 1 new commit to experimental: http://git.io/MWcNuA
20:57 pgd-alienSDL2 Alien-SDL2/experimental c83314a Mason James: add irc to travis
20:57 pgd-alienSDL2 left #sdl
20:58 mtj i just added the IRC messaging to travis now..
20:59 mtj so, we should get a travis #irc msg in 10 mins
21:00 kthakore cool
21:03 kthakore mtj: where can you see live travis update?
21:03 mtj https://travis-ci.org/PerlGameDev/Alien-SDL2
21:03 mtj always shows the latest build
21:03 mtj so, just click on a build...
21:04 mtj 4.1…4.5  etc...
21:04 mtj https://travis-ci.org/PerlGameDev/Alien-SDL2/jobs/10131484
21:04 mtj is still running...
21:04 kthakore how can I add a windows machine to thta?
21:04 kthakore cool
21:05 travis-ci joined #sdl
21:05 travis-ci [travis-ci] PerlGameDev/Alien-SDL2#4 (experimental - c83314a : Mason James): The build passed.
21:05 travis-ci [travis-ci] Change view : https://github.com/PerlGameDev/Alien-SDL2/compare/0d143701731a...c83314abdd45
21:05 travis-ci [travis-ci] Build details : http://travis-ci.org/PerlGameDev/Alien-SDL2/builds/10131482
21:05 travis-ci left #sdl
21:05 mtj kthakore, osx then windows, coming soon
21:06 kthakore cool
21:06 kthakore coooooooooool
21:06 kthakore we are all phancy now
21:09 mtj some ubuntu packages need to be removed/purged from the VM, before the build starts
21:09 mtj coz, many of the build deps are already preinstalled! :(
21:10 mtj so, the build is skipping those deps
21:12 mtj http://pastebin.com/jj1kH75Z
21:12 mtj checking for pthread... yes
21:12 mtj checking for SDL2... no
21:12 mtj checking for z... yes
21:12 mtj checking for jpeg... yes
21:12 mtj checking for tiff... yes
21:12 mtj checking for freetype... yes
21:12 mtj .
21:13 mtj so would be good to get those libs purged, before the build starts :)
22:06 kthakore coolcrap
22:06 kthakore erm
22:06 kthakore mtj: what do you mean purged?
22:12 mtj kthakore, removed, uninstalled, etc...
22:15 kthakore why would Alien::SDL2 uninstall them?
22:55 mtj no no… install those packages *before* the build starts, with apt-get
22:56 mtj then the build script will detect them missing, and attempt to build them
22:56 mtj sorry s/install/uninstall/
22:56 mtj kthakore ^^
22:57 FROGGS joined #sdl
22:58 mtj i am talking specifically abotu the travis build system here
22:59 mtj build image
23:00 mtj hope that explains
23:06 kthakore ah ok
23:06 kthakore FROGGS: nah nah nah nah ... ping?
23:16 FROGGS joined #sdl
23:26 kthakore hi FROGGS
23:28 kthakore kk gtg to work

| Channels | #sdl index | Today | | Search | Google Search | Plain-Text | summary