Thursday, 2013-05-09

*** tpb has joined #freeorion00:00
*** JLP_ is now known as JLP00:14
*** JLP has joined #freeorion00:14
*** custos-mundi has joined #freeorion01:22
*** Stranger has joined #freeorion01:51
*** riidom has quit IRC01:59
*** don_rzl has quit IRC02:07
*** don_rzl has joined #freeorion02:20
*** Stranger has quit IRC02:57
*** STalKer-X_o has joined #freeorion03:58
*** STalKer-X has quit IRC03:58
*** STalKer-X_o has quit IRC03:58
*** STalKer-X has joined #freeorion03:59
*** STalKer-X has joined #freeorion03:59
*** STalKer-X has joined #freeorion04:01
*** STalKer-X has joined #freeorion04:01
*** jinxdone has quit IRC08:22
*** riidom has joined #freeorion10:35
*** riidom has quit IRC11:34
*** riidom has joined #freeorion11:34
*** custos-mundi has quit IRC11:40
adrian_broherNagilum_, could you please test http://www.freeorion.org/forum/viewtopic.php?f=9&t=7470 when you have time?12:01
tpb<http://ln-s.net/-94L> (at www.freeorion.org)12:01
Nagilum_adrian_broher: sure12:41
adrian_broherNagilum_, thanks12:41
Nagilum_adrian_broher: btw. this is what the debian build does12:41
Nagilum_did you look at the patches?12:41
Nagilum_did you look at their patches?12:41
adrian_broherno, I didn't bother12:42
adrian_broherdo you have the link to those patches?12:42
Nagilum_http://anonscm.debian.org/gitweb/?p=pkg-games/freeorion.git;a=tree;f=debian/patches;h=03f64887440da7239e8b5392961b543954f0bced;hb=HEAD12:43
tpb<http://ln-s.net/-94u> (at anonscm.debian.org)12:43
adrian_broherthe unbundling is somewhat similar, but it only removes the local version completely from the build. GiGi is still build separately.12:46
adrian_broherhttp://anonscm.debian.org/gitweb/?p=pkg-games/freeorion.git;a=blob;f=debian/rules;h=f53fd4ddde89682289a66ea1d85a3bef992caa79;hb=HEAD#l1512:46
tpb<http://ln-s.net/-94y> (at anonscm.debian.org)12:46
Nagilum_true12:46
Nagilum_interesting to see how make schedules the work, occasional I see a GiGi compile between the others :>13:28
adrian_broherfirst come, first serve?13:36
adrian_broherprobably depends on the cpu load13:36
Nagilum_probably first come first serve + respecting dependency chain..13:38
adrian_broherNagilum_, do you use ccache?13:39
Nagilum_no13:39
adrian_broherfor some reason?13:39
Nagilum_usually I try to keep the buildchroot as clean as possible, but do you think it would help a lot?13:40
adrian_broheris the buildchroot created for every compile?13:41
adrian_broherfrom scratch?13:41
Nagilum_yep13:42
adrian_broherwith the compiler?13:42
Nagilum_yep13:42
adrian_broherthen certainly not13:42
adrian_broherif you don't share the ccache somehow13:43
Nagilum_right13:43
adrian_broherhow long does the build take?13:43
Nagilum_well the one with patch just finished13:44
adrian_broherI mean in general? 30 minutes?13:46
Nagilum_hmm, maybe 45min13:47
Nagilum_I guess it also depends what you include, setting up the chroot, creating the arch package, installing the arch package, creating the deb from that..13:48
adrian_broherokay13:50
Nagilum_if everything works without issues its usually about an hour for a new Ubuntu deb13:50
adrian_broherwell, I don't use any chroot anyway. For packaging it is of course useful13:50
Nagilum_sometimes the gcc throws internal compiler error, probably some VirtualBox bug :-/13:56
Nagilum_simply running it again it usually works, but it trips up the package build :[13:57
adrian_broherwhat kind of error?14:02
Nagilum_internal compiler error: Segmentation fault14:05
Nagilum_build works on i386 and amd64, now I just need to get lucky and have the build run through in one pass :>15:26
adrian_brohernice15:53
Nagilum_hmm, I wonder if I could not use lxc instead of VirtualBox..15:55
Nagilum_ok, the build works but gigi seems to have trouble loading the libGiGiPlugin_OIS.so16:48
Nagilum_ok, it seems I need to fix the package16:50
Nagilum_the lib was build but not installed16:50
adrian_broheryeah, the libs are now located in the root directory16:51
Nagilum_*yay* its running17:03
Nagilum_so libGiGiSDL.so is not needed?17:08
adrian_broherno17:11
adrian_broherGiGi either relies on OGRE as backend or SDL17:12
adrian_broherfo uses already OGRE17:12
adrian_broherso there is no need for compiling the SDL backend17:12
Nagilum_I see thanks!17:14
adrian_broherno 32 bit test?17:21
Nagilum_not yet17:29
*** riidom_II has joined #freeorion17:31
*** O01eg has quit IRC17:34
*** riidom has quit IRC17:35
*** frkarl has joined #freeorion17:46
*** O01eg has joined #freeorion17:48
Nagilum_adrian_broher: i386 package build took 22:46 :)19:54
Abluis that building freeorion?19:54
Nagilum_yep19:54
Abluis it that big?19:54
Nagilum_installed size 232.58MiB19:55
Abluwell size mainly depends on art, right?19:55
adrian_brohercompletely with gg?19:55
Nagilum_of course ;)19:55
Nagilum_yep19:55
Abluxonotic is ~ a gigabyte and compiles faster19:55
adrian_broherwell, that's pretty fast.19:55
Nagilum_i5-2520M CPU @ 2.50GHz , 4 threads19:56
adrian_broherAblu, xonotic probably doesn't have a parser implemented.19:56
Abluadrian_broher: well it has an own compiler for qc19:56
Ablubut that one is quite fast and good19:57
Abluhm no gigi installed19:57
Abluotherwise i would try a compile :)19:57
Nagilum_apply adrians patches and you don't have to worry about that19:57
adrian_broherAblu, use trunk/master with http://www.freeorion.org/forum/viewtopic.php?f=9&t=747019:58
tpb<http://ln-s.net/-94L> (at www.freeorion.org)19:58
Abluadrian_broher: hm i use the git mirror19:58
Abluwill git am it19:58
Abluah no git patch19:58
Abluhm i got no GG directory...19:59
Abluah well i got20:00
Abluthe patch just fails20:00
adrian_broherdann machst du wohl was falsch Erik20:00
adrian_broher:320:00
Nagilum_jo20:00
Ablui use patch20:00
Nagilum_use the force!20:01
adrian_broher-p 0 for starters20:01
adrian_broherwhen you're in the project root20:01
Abluah. i thought -p0 is standard20:01
adrian_brohernope20:01
Abluis there no option to compile against a system gigi installation?20:05
Nagilum_no such thing20:05
Nagilum_.-)20:05
Nagilum_afaik FO is the only gigi consumer20:06
Abluhm ok...20:06
Ablunot very optimal for backaging though i guess20:06
Ablu*packaging20:06
Nagilum_its ok20:06
Nagilum_many apps bring their own libs20:06
Abluhm the cmake projects i know allow ways to link against system libs20:07
Abluis it normal to get tons of warnings during compile?20:07
Nagilum_FO does that too20:07
adrian_broherFor now? Yes.20:07
Nagilum_yeah, it's version 0.20:07
adrian_broherWie Nagilum_ bereits erwähnte, fo ist der einzige GiGi Nutzer.20:09
adrian_broherund GiGi hat bereits eine andere API als das was upstream bereitstellt.20:09
adrian_broherDer Upstream scheint außerdem tot zu sein.20:10
Nagilum_upstream ist offenbar tot20:10
adrian_broherkannmannichtsmachen20:10
Abluah ok20:10
Ablumake -j4 killt meinen pc :P20:12
Nagilum_auf amd64 braucht man auch ordentlich RAM dafür20:13
Nagilum_5.4GB oder so20:13
adrian_broherdann nutz nicht -j420:13
adrian_broher:P20:13
Nagilum_jo20:14
Abluadrian_broher: das hatte ich in der .bashrc :)20:14
Abluhab grad mit -j1 neugestartet20:14
Nagilum_dann kann manns auch weglassen20:17
adrian_brohernaja nicht wenn es anders per .bashrc konfiguriert ist.20:17
AbluNagilum_: naja ich hab export MAKEFLAGS="-j4" in der bashrc gesetzt20:17
Nagilum_k20:18
Abluwhy is there terminal=true in the desktop file?20:27
adrian_broherWhat does terminal=true do?20:28
Abluadrian_broher: suggestes the wm to run the application with a open terminal20:30
AbluWhether the program runs in a terminal window.20:30
Abludo you have a fixed WMClass?20:32
Nagilum_is it broken?20:33
Ablui mean is there a name for the class than the desktop file could use?20:34
Ablui extended/corrected the desktopfile a bit20:34
Abluwell i guess StartupNotify=false does not hurt20:35
adrian_broherI don't know if it is possible to set the wmclass with OGRE20:35
adrian_broherwhat would be the default value?20:39
Ablumade a patch here: http://ablu.fedorapeople.org/0001-Extended-Corrected-the-desktop-file-a-bit.patch20:41
tpb<http://ln-s.net/-9Ag> (at ablu.fedorapeople.org)20:41
Abluadrian_broher: well there is no real default20:41
Abluadrian_broher: false would be check for WMClass20:41
Abluwell if none is set it would be false basically20:41
Abluso it *could* be left out probably20:41
Abludo i have to register on the forums for contributing the patch?20:42
Abluor can i open a pullrequest on github?20:42
adrian_broherthe former20:43
Ablu(or is posting here on IRC enough :P ?)20:43
Abluhm meh20:43
adrian_broherbut I can propose it for you.20:43
Abluadrian_broher: would be cool. thanks20:43
Nagilum_and provide a "svn diff" patch20:43
AbluNagilum_: i got no svn clone20:43
adrian_broheroh lord20:43
Ablualso path -p1 should work20:43
Abluyou only loose my comment :)20:43
adrian_brohersvn diff is no magic20:44
adrian_broheryou can apply stuff without problems.20:44
adrian_broherfrom git diff20:44
adrian_broheror git am in this case20:44
Abluwell git format-patch was that20:45
adrian_broheruh, yeah20:45
Ablugit am is for ammending with comment again. but looks like you prefer svn here20:45
Ablu(though github supports svn clones too :P)20:45
adrian_broherI'm the one that applies patches, so am is already printed into my mint20:45
adrian_broher*mind20:45
Nagilum_http://anonscm.debian.org/gitweb/?p=pkg-games/freeorion.git;a=blob;f=debian/patches/desktop-file.patch;h=c377f30f109b75679ec8bb18e670bdb32d163406;hb=HEAD20:48
tpb<http://ln-s.net/-9Ao> (at anonscm.debian.org)20:48
Nagilum_I see some parallels20:48
Abluwell some of those keywords seem to be invalid according the the spec20:49
Nagilum_Version should be 0.4.220:49
Nagilum_then they will ignored, I would assume20:49
adrian_broheris the patch contributed under gpl 2.0 or later Ablu?20:50
AbluNagilum_: na version is not the game version20:50
AbluNagilum_: it is the spec version20:50
adrian_brohercould you add some gpl note?20:50
Abluadrian_broher: hm. you mean to the desktop file?20:50
Nagilum_Ablu: ah20:51
adrian_broherto the format-patch comment20:51
Abluah ok...20:51
Abluthough i see commits as an agreement over the license :)20:51
adrian_broherSo I can link to the patch for validation.20:51
Abluadrian_broher: pushed it to github: https://github.com/Ablu/freeorion/commit/be3f3908c37139f548b1c75ccceeeac5bc46a71820:52
tpb<http://ln-s.net/-9Au> (at github.com)20:52
Abluor https://github.com/Ablu/freeorion/commit/be3f3908c37139f548b1c75ccceeeac5bc46a718.patch if you prefer plain file20:53
tpb<http://ln-s.net/-9Aw> (at github.com)20:53
Abluyou can also checkout it as svn if you want20:53
Abluthough i think svn has no remotes like git has?20:53
Abluso i guess that would be kind of useless20:53
*** frkarl has quit IRC20:58
*** frkarl has joined #freeorion21:00
AbluNagilum_: are you a "lead" developer?21:00
Nagilum_ha!21:00
Nagilum_no21:00
Nagilum_I just build some .deb's21:01
Abluah ok21:01
AbluNagilum_: personal ones or for official repositories?21:01
Nagilum_personal21:02
Abluhm ok21:02
Ablui started to hate the .deb system when i did a bit packaging with it :P21:03
Nagilum_it has its pros and cons21:03
Nagilum_for the Ubuntu packages I cheat and use fpm21:04
Ablui prefer the rpm system. only a single file to edit and understand and less magic in background (at least thats how it appears)21:04
Ablunever heard of that21:04
Nagilum_http://www.semicomplete.com/blog/tags/deb21:05
tpbTitle: Introducing FPM - Effing Package Management :: semicomplete.com - Jordan Sissel (at www.semicomplete.com)21:05
Nagilum_https://github.com/jordansissel/fpm/wiki21:05
tpbTitle: Home · jordansissel/fpm Wiki · GitHub (at github.com)21:05
Abluyeah already found it21:05
Nagilum_I also probably wouldn't know about if I had not come across LogStash21:06
Nagilum_which is from the same guy21:06
Abludoes that work nicely cross distributions?21:06
Nagilum_sure21:06
Nagilum_it's ruby21:06
Nagilum_I use it on Arch21:06
Abluwell i mean compiling on fedora for debian i mean21:07
Nagilum_I create the Ubuntu .debs on Arch21:07
Abluwith the opensuse build service i can build in chroots for different distros21:07
Abluah ok21:07
Abluwill try it then probably21:08
Abluah hm...21:09
Abluit seems to try to do all the stuff itself?21:09
Abluthere is no real configuration file as input?21:09
Nagilum_I have a script21:09
Nagilum_you basically just packacge up some files21:10
Nagilum_there is no "build" as such21:10
Abluwell that is the easy part of packaging i guess :)21:10
Nagilum_yeah, its kinda cheating21:10
Nagilum_but it works21:10
Nagilum_for the debian packages I do a real build though21:11
*** frkarl has quit IRC21:12
Nagilum_once I updated them to the current svn version I'll probably switch the Ubuntu packages to that format too21:12
Ablurecently i only do a bit fedora packaging. i could try converting those rpms to .debs21:12
Nagilum_.oO(alien)21:12
Nagilum_I fpm can also do rpms21:13
Nagilum_I should try that21:13
Nagilum_I have a FC18 VM here to test..hmm21:13
Ablui am a bit sceptical about the tool after i read about it now :) I guess it is fine for easy packaging. But it also takes away the thinking and control from you which easily leads to bad packaging21:18
Nagilum_yeah, its kinda sad that there is no easy way to provide a program like this for Linux21:19
Abluwell actually it is easier on linux to do it right compared to windows :P21:20
Abluif i look at some installer script for windows....21:21
Nagilum_don't know much about that other than you should be using the nullsoft installer21:22
Ablui only know nsis. with that one i can create the installer in linux21:23
Abluso i can do complete crosscompile including making a setup21:23
Abluthere are a couple of png files which have executable rights in the git mirror21:27
Abludoes svn support permission settings for files?21:27
Abluadrian_broher: for me compilation failed:21:28
AbluIn file included from /home/ablu/freeorion/FreeOrion/GG/src/GUI.cpp:33:0:21:28
Ablu/home/ablu/freeorion/FreeOrion/GG/GG/PluginInterface.h:38:22: fatal error: GG/ltdl.h: No such file or directory21:28
Ablucompilation terminated.21:28
adrian_broherzou didn't read the instructions. You need both patches21:34
Ablui added both patches i think...21:34
adrian_broherthen "GG/GG/PluginInterface.h:38:22: fatal error: GG/ltdl.h" can't happen21:35
adrian_broherthe patch modifies this very line.21:35
Nagilum_hmm, fpm needs rpmbuild which is not in the arch repo :/21:35
Abluhm i did not do cmake -DGIGIDIR=./GG21:35
Abluis that critical?21:35
adrian_broheryou shouldn't21:36
Ablui simply did cmake .21:36
Abluwell i will retry21:36
Ablubut i am rather sure that i added both21:36
*** STalKer-X has quit IRC21:38
Nagilum_nsis is the nullsoft installer :>21:38
AbluNagilum_: ah ok :)21:38
*** STalKer-X has joined #freeorion21:40
*** riidom_II has quit IRC21:52
*** riidom has joined #freeorion21:53
Ablugood night21:59
Abluadrian_broher: http://sprunge.us/iYAT22:02
Abluthats the error i get22:02
Abluwith both patches added22:02
*** STalKer-X has quit IRC22:20
*** STalKer-Y has joined #freeorion22:20
*** riidom has quit IRC23:29

Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!