Times are UTC Toggle Colours
00:01:05 *** KenjiE20 has quit IRC 02:37:01 *** supermop has joined #openttdcoop.devzone 05:14:55 *** supermop has quit IRC 06:14:46 *** andythenorth has joined #openttdcoop.devzone 06:16:10 *** andythenorth_ has joined #openttdcoop.devzone 06:22:47 *** andythenorth has quit IRC 06:25:28 *** andythenorth_ has quit IRC 10:09:21 *** KenjiE20 has joined #openttdcoop.devzone 10:13:54 <planetmaker> Ammler, what difference would it make, if I add to the devzone specs gimp as default dep? 10:14:44 <planetmaker> or should I not do that and (just) add the capabilities to the Makefiles which could be used if the proper config setting is set / enabled 10:39:40 <Brot6> OpenGFX - Revision 666:a3ad04895d89: Change: [Makefile] Prepare for using gimp's scripting capabi... (planetmaker) @ http://dev.openttdcoop.org/projects/opengfx/repository/revisions/a3ad04895d89 11:28:47 <V453000> 666. 11:29:20 <V453000> I always said opengfx is evil 11:39:48 <Ammler> planetmaker: does not hurt that much 11:40:07 <Ammler> you know, where the "default" specs are? 11:40:29 <Ammler> anyway, opengfx has a own spec 11:41:49 <Ammler> we could also make a new type "gimp" or so 11:44:29 <planetmaker> I'd not make a new type. I just wrote a (somewhat lengthy) text to tell users how to enable it 11:45:26 <Ammler> as said, some additional packages will be installed, but that is no issue as it is part of standard repo 11:45:48 <planetmaker> http://devs.openttd.org/~planetmaker/patches/gimp_as_dep.diff 11:46:09 <planetmaker> yeah, but I'm not sure whether most people will need it. Also locally 11:46:42 <planetmaker> but where's the default specs? 11:46:55 <Ammler> hmm, why does it need a list file? 11:47:08 <planetmaker> it needs to know which layers constitute which png 11:47:32 <planetmaker> I need to tell it somehow, that tree01 is layers 2 and 3, tree 02 is layers 4 and 5 etc pp 11:47:46 <Ammler> I see 11:48:03 <Ammler> /home/hg/misc/compiler/.default 11:48:13 <planetmaker> hm, so not part of the repos, right? 11:48:20 <Ammler> no 11:48:25 <Ammler> except for opengfx 11:48:34 <planetmaker> I see. And newgrf_makefile 11:48:39 <Ammler> or other repos, which have a spec in .devzone/build 11:49:06 <planetmaker> right... then it's not that easy 11:49:14 <Ammler> or easier 11:49:18 <planetmaker> except if we add the build specs to the repos 11:49:26 <Ammler> in opengfx, you can add gimp with repo 11:49:31 <planetmaker> and make them part of the update process also for newgrfs 11:49:49 <planetmaker> yes, opengfx will be feasible. I didn't yet enable it there, even though I preprared the makefile 11:50:07 <planetmaker> I didn't add any graphics 'list' file either, so no point to enable it ;-) 11:50:49 <Ammler> it does not really matter, the chroot will be rebuild for every run again 11:51:01 <Ammler> so you don't hurt the system 11:52:16 <Ammler> but if the repos, you like to enable gimp have a spec in .devzone/build already, then there is no need to add gimp to the default specs 11:52:32 <planetmaker> Most probably won't have it. 11:52:41 <planetmaker> Like andy's and the OpenGFX+ series 11:53:12 <Ammler> so for the nfo and nml types 11:53:19 <planetmaker> yes 11:53:53 <planetmaker> so... enable it by default? I'm a bit unsure whether it's overkill, but might be easier 11:56:17 <Ammler> done :-) 11:56:23 <planetmaker> ok :-) 11:56:39 <Ammler> but as said, needs to be done for projects with own spec 11:56:50 <Brot6> DevZone Help Center - Revision 140:93e762786377: [Compiler] Add gimp as default buildrequires (Ammler) @ http://dev.openttdcoop.org/projects/home/repository/revisions/93e762786377 11:58:51 <Brot6> Example NewGRF Project - Revision 286:ac9b92d368b4: Change: [NFO] Rename the graphics folder (planetmaker) @ http://dev.openttdcoop.org/projects/newgrf-makefile/repository/revisions/ac9b92d368b4 11:58:51 <Brot6> Example NewGRF Project - Revision 287:28f365775cd3: Feature: Allow to use gimp's scripting abilit... (planetmaker) @ http://dev.openttdcoop.org/projects/newgrf-makefile/repository/revisions/28f365775cd3 11:59:35 <Ammler> maybe add a gimp file to example project? 12:00:35 <Ammler> and the final grf as test 12:00:43 <planetmaker> Might be an idea... I'll look for a small one :-) 12:01:01 <planetmaker> as test? 12:01:12 <Ammler> like the nml regression test 12:01:58 <planetmaker> hm, makes sense, I guess 12:02:15 <planetmaker> though it'll give the bad precedence to add grfs to a repo ;-) 12:02:32 <planetmaker> but... adding the md5sum might do the trick 12:02:50 <planetmaker> then there's no grf, but the comparison is unique nevertheless 12:03:00 <Ammler> well, if the grf is located in a folder called test or expected or whatever 12:03:32 <Ammler> but yes, final md5sum might do the trick too :-) 12:03:43 <planetmaker> I might add it as regression test to the makefile framework, but not to the distributed bundles ;-) 12:04:06 <Ammler> yep, also no make target needed 12:04:37 <Ammler> just something we can run on the compiler 12:07:23 <planetmaker> yes. Generally this project could use *some* regression test 12:08:22 <Ammler> you know there is ./scripts/check 12:08:40 <planetmaker> I forgot :-) 12:08:44 <planetmaker> thanks for reminding 12:09:16 <Ammler> but that does not compare 12:09:30 <Ammler> just checks if building works at all 12:09:48 <planetmaker> could be extended 12:11:03 <Ammler> yep 12:12:42 *** DayDreamer has joined #openttdcoop.devzone 12:20:13 *** ODM has joined #openttdcoop.devzone 12:58:13 <Terkhen> hello 12:58:21 <Terkhen> so I can already use gimp on opengfx+ road vehicles? :P 13:01:59 <planetmaker> Terkhen, you can. If you update the Makefile framework. 13:02:25 <planetmaker> I haven't yet done that on any project, but yes, I'll update, if you also want to test it there :-) 13:02:41 <planetmaker> might be a good out-in-the-wild test project :-P 13:02:55 <planetmaker> other than opengfx where I tested it with. 13:03:08 <planetmaker> shall I update the makefile now? 13:03:14 <Terkhen> ok, thank you :) 13:05:49 <planetmaker> Terkhen, where do you want the graphics list file? 13:05:57 <planetmaker> src/png ? src/ ? / ? 13:06:22 <planetmaker> and a preference for its name? 13:06:28 <Terkhen> hmm... IMO the xcf files should be in a different folder than those used by nml 13:06:35 <planetmaker> my default currently is src/png_source_list 13:06:36 <planetmaker> but... 13:06:38 <Terkhen> I have no preference for the name, but all projects should use the same folder 13:06:54 <planetmaker> nah, I mean the file which defines the files being processed 13:07:02 <planetmaker> it has no influence of where your actual graphics files are 13:07:16 <planetmaker> as you need to specify the full path wrt the repo's root anyway 13:07:54 <Terkhen> hmm... I'd put it in the same folder than the xcf files 13:08:03 <Terkhen> but it could also be a different subfolder in src/ 13:08:17 <Terkhen> as long as all projects use the same I don't mind :) 13:09:13 <planetmaker> actually I've a weak preference fore keeping the xcf psd and png in the same dir 13:09:52 <planetmaker> as then the graphics folder contains all the graphics which are needed to build the grf 13:10:35 <planetmaker> but you're definitely right... we should decide on that rather now. Especially given that we plan to move all opengfx(+) graphics to a common repo anyway 13:11:29 *** Lakie has joined #openttdcoop.devzone 13:11:48 <Terkhen> they could be in src/gfx 13:12:09 <planetmaker> hm... I guess... it'll need support for more than one of those 'source lists'... those source lists then sh/could be part of the graphics repo 13:12:16 <planetmaker> as could the sprite templates 13:12:27 <planetmaker> hm... 13:12:40 <Terkhen> most pngs in opengfx+ road vehicles are in subfolders of gfx anyways, I don't mind the "root" being used for xcf and source lists 13:13:14 <planetmaker> the same with the other projects mostly. With some subdirs for some things 13:14:02 <Terkhen> ok :) 13:14:57 <Terkhen> hmm... or maybe I could move the xcf files to their respective subfolders 13:15:06 <Terkhen> would that be possible too? 13:15:19 <planetmaker> Ok, so we put the list file there. Where the xcf files are moved is completely independent of the list file, yes 13:15:28 <Ammler> the pngs generated from gimp should have an name so you see that 13:15:31 <planetmaker> sub folders might make more sense 13:15:50 <Ammler> like gpng or so 13:15:51 <planetmaker> the generated name is the responsibility of the authors, too ;-) 13:16:03 <Terkhen> will nml care about the extension? 13:16:14 <planetmaker> Ammler, I don't think so. Yes, it would matter 13:16:15 <Ammler> or gimp.png 13:16:21 <planetmaker> that would work 13:16:39 <Ammler> would make cleanup easier too rm *.gimp.png 13:16:50 <Terkhen> .gimp.png is fine by me 13:16:53 <planetmaker> especially graphics programmes might object to gpng or so 13:16:54 <Ammler> or a folder 13:17:43 <planetmaker> Well, I'd integrate the xcf files in the usual graphics file structure of the pngs without special treatment, now that they became true source 13:17:58 <planetmaker> and put the generated .gimp.png files alongside 13:18:09 <Terkhen> makes sense 13:18:30 <planetmaker> it leaves a clear purpose-structure for all graphics files. Especially as not all will be generated from xcf / psd 13:18:47 <planetmaker> and makes transition also easy 13:19:27 <planetmaker> ok... then the source list file at least for now in src/gfx 13:20:00 <Terkhen> ok :) 13:20:27 <planetmaker> hm... I think I'll work on a change thus that each xcf / psd file can come with its own 'rules' file 13:20:32 <planetmaker> but that's for later 13:21:14 <planetmaker> but we might need that for the joint graphics repo when we don't want to re-define all these things again 13:22:23 <Terkhen> that's a good idea yes 13:31:07 <Ammler> planetmaker: source bundle from sub-repo is still pending? 13:32:59 <planetmaker> I did not yet continue with sub repos 13:33:42 <planetmaker> Terkhen, pull 13:33:43 <Brot6> OpenGFX+ Road Vehicles - Revision 99:2ba7880fb9e4: Change: [Makefile] Update to r287 (planetmaker) @ http://dev.openttdcoop.org/projects/ogfx-rv/repository/revisions/2ba7880fb9e4 13:33:50 <planetmaker> you might need to run 'make clean' 13:33:51 <Terkhen> ok, thank you :) 13:35:24 <planetmaker> Now I'm curious as of whether it works for you :-) 13:36:34 <planetmaker> ah, I didn't push the empty file src/gfx/png_source_list 13:36:56 <planetmaker> nvm, I did :-P 13:37:37 <Ammler> what is %.png.scr? 13:37:49 <planetmaker> the rule how to build the individual png file 13:38:05 <planetmaker> or rather the gimp script for that 13:38:46 <Ammler> who is Hevan53 13:38:58 <planetmaker> I did it that way so that one does not need to constantly re-create all png files 13:39:05 <Ammler> not a ttd guy? 13:39:16 <planetmaker> the author of that gimp script which makes all layers invisible 13:40:08 <Ammler> interesting script :-) 13:40:24 <planetmaker> gimp scripts are basically a dialect of lisp 13:42:59 <planetmaker> thus that guy wrote that one sub-routine which I needed anyway and I wrote the rest 13:43:00 <Brot6> Example NewGRF Project - Revision 288:c7342fa0ccf7: Fix (r287): Add also the gimp script to the g... (planetmaker) @ http://dev.openttdcoop.org/projects/newgrf-makefile/repository/revisions/c7342fa0ccf7 13:43:59 <planetmaker> once getting used to that language it's not that bad. But getting into it is not easy, if you're used to c/c++ - style programming 13:48:18 <Terkhen> planetmaker: can you remind me the format of the png_source_list file? 13:49:08 *** DayDreamer has quit IRC 13:54:31 <planetmaker> Terkhen, png file TAB source file TAB list of layers separated by space 13:54:44 <planetmaker> as many lines of that type as you like 13:55:00 <planetmaker> file names are src/gfx/filename.extension 13:55:17 <planetmaker> strange format, I know ;-) 13:55:37 <planetmaker> and don't use ??x?? or ??? as part of filenames :-P 13:55:57 <planetmaker> that'll break it, too. A bit hacky, I know 13:56:23 <planetmaker> regex with awk and tab and space and ' and ... are a PITA 13:56:30 <planetmaker> oh and " 13:56:53 <planetmaker> and piping that through gcc pre-processor ;-) 13:57:14 <planetmaker> the lowest layer in gimp is layer 0 13:57:28 <planetmaker> i.e. the background is 0 14:02:59 <Terkhen> ok :) 14:05:03 *** Ruudjah has joined #openttdcoop.devzone 14:06:15 <Ammler> is it a good idea to have generated files in src/ ? 14:06:57 <planetmaker> sprites/png/trees/arctic/tree_01_snow_conifer.png sprites/png/trees/trees.xcf 0 2 3 14:07:04 <planetmaker> ^ typical line 14:07:33 <planetmaker> Ammler, why not? 14:07:41 <planetmaker> that's what 'clean' is for 14:08:07 <Terkhen> since it is being piped through the preprocessor, can I define macros in png_source_list? 14:08:52 <Terkhen> bulk_truck_[1,2,3]_coal.png <--- for stuff like this 14:09:01 <Terkhen> err... gimp.png 14:09:11 <planetmaker> uhm, no, that won't work 14:09:15 <planetmaker> one line per png file 14:09:46 <planetmaker> the png_source_list is not a gimp script. It's just used to generate lines for the gimp scripts from it 14:09:59 <Terkhen> I meant c++ preprocessor macros 14:10:29 <planetmaker> also not directly :-) 14:10:49 <Ammler> if you keep both files in src, then you should make the path of the output relative 14:10:55 <planetmaker> $(_V) cat $(GRAPHICS_SOURCE_LIST_FILE) | while read line; do $(CC) -C -D GRAPHICS_LINE="`echo "$$line" | $(AWK) 'BEGIN { FS="\t+"} ; { print "(save-layers ???"$"??? ???"$"??? ??x??("$"))" }'`" -E - < scripts/gimpscript | grep -v '^#' | sed "s/??x??/'/g" | sed "s/???/\"/g" > `echo "$$line" | $(AWK) 'BEGIN { FS="\t+"} ; { print $".scr" }'`; done 14:11:01 <planetmaker> ;-) 14:11:06 <Ammler> (imo) 14:12:06 <planetmaker> and only then $(_V) $(GIMP) $(GIMP_FLAGS) $< >/dev/null 14:12:16 <planetmaker> with $< being the output file of the previous line 14:13:45 <Terkhen> can I use comments? 14:15:37 <Ammler> grep -v "^#" 14:15:49 <planetmaker> hm... not yet. But I could add that relatively simply, if they constitute a new line 14:16:09 <Terkhen> comments starting with # is fine for me 14:16:19 <planetmaker> with what letter should comment lines start? #, /, ; ? 14:17:28 <Terkhen> either # or / 14:18:16 <Ammler> / is path 14:18:53 <Terkhen> true, # then 14:19:49 <planetmaker> hm, yes 14:21:18 <planetmaker> http://devs.openttd.org/~planetmaker/patches/allow_comments.diff <-- can you try this? 14:21:54 <planetmaker> it will not allow trailing comments, only full line comments, though 14:22:12 <planetmaker> empty lines are afaik no problem 14:22:45 <Terkhen> "/bin/sh: src/gfx/bulk_truck/bulk_truck_1_coal.gimp.png src/gfx/bulk_truck_coal.xcf 0 3.scr: No such file or directory" <--- I'll try it once I know why is this happening :) 14:23:04 <Terkhen> did I mess up with the syntax? 14:23:07 <Terkhen> src/gfx/bulk_truck/bulk_truck_1_coal.gimp.png src/gfx/bulk_truck_coal.xcf 0 3 14:23:26 <planetmaker> did you use tabs as separator? 14:23:31 <planetmaker> real tabs, not space tabs? 14:23:38 <Terkhen> oh, sorry 14:23:39 <Lakie> So basically it takes ther .xcf files and makes them a .png? 14:23:49 <planetmaker> Lakie, yes. Selected layers of them 14:23:53 <planetmaker> also of psd files 14:23:54 <Lakie> Coo 14:24:43 <Terkhen> ok, the error message now references a cargo that I still have not put in the file so I guess it is working for now, let's test comments :) 14:25:10 <planetmaker> :-) 14:28:26 <Terkhen> planetmaker: it does not choke on the comments... but I have files named # Coal models.scr around in the root folder of the repo 14:28:41 <planetmaker> he... not the intended result :-) 14:29:05 <planetmaker> oh oh. 14:29:27 <planetmaker> Terkhen, replace all | grep '^#' | by | grep -v '^#' | 14:29:33 <planetmaker> I grepped the wrong way around ;-) 14:30:23 <planetmaker> patch updated 14:30:25 <planetmaker> same link 14:31:22 <Terkhen> planetmaker: looks fine now, still complaining because I need to define a few more pngs 14:31:57 <Terkhen> src/gfx/bulk_truck/bulk_truck_1_cement.gimp.png.scr <--- the files generated for now do not have the right extension 14:32:00 <planetmaker> well, sure enough it will complain about missing pngs - but that's expected, if there's not yet any rule how to generate them. 14:32:17 <planetmaker> hm? Not? scr is right 14:32:26 <Terkhen> oh wait, the gimp.png files are there too 14:32:41 <Terkhen> sorry :P 14:32:43 <planetmaker> scr like script, not like source ;-) 14:32:51 <planetmaker> no problem :-) 14:33:05 <planetmaker> I'm quite happy that you give it a thorough test straight away 14:35:13 <Brot6> Example NewGRF Project - Revision 289:d24879edc447: Add: Allow comments in the graphics conversio... (planetmaker) @ http://dev.openttdcoop.org/projects/newgrf-makefile/repository/revisions/d24879edc447 14:35:17 <planetmaker> and other people usually test things quite differently than oneself :-) 14:38:02 <Terkhen> should I keep the png files in the repository then? 14:38:45 <planetmaker> in ogfx-rv? I don't think there's need. We're a limited number of folks who work on that. And we're all happy to use gimp for this job 14:38:55 <planetmaker> I'm not sure about OpenGFX itself, though 14:49:02 <Terkhen> I must have some stupid syntax error 14:49:22 <Terkhen> http://paste.openttdcoop.org/show/199/ <--- only the _1_ files are generated 14:49:25 <Terkhen> _2_ and _3_ fail 14:49:46 <planetmaker> Lakie, if you care to use it without the whole makefile framework: http://devs.openttd.org/~planetmaker/patches/gimpscript2 and call it with gimp -i -b - < gimpscript2 14:49:52 <planetmaker> the important line(s) is the 2nd last 14:50:22 <Lakie> Ok, sounds cool, but most stuff I get from danmack is already in png. 14:50:40 <Lakie> But I can see usefulness for wagons and loading (stages) for example. 14:50:54 <planetmaker> Terkhen, the layers themselves must not be separated by tabs... (I know :S ) 14:51:32 <Terkhen> hmm... ok, but does that explain why the _1_ files are generated and the others not? :P 14:51:47 <planetmaker> nope, it doesn't, but I just noticed ;-) 14:52:08 <Lakie> Bit inconsitant? 14:52:24 <Lakie> Shouldn'#t it just be any whitespace (bar newlines) as seperators? 14:52:38 <planetmaker> yes, it should 14:52:55 <planetmaker> but it'd limit me to a finite amount of layers which I'd add to the awk expression explicitly 14:53:16 <Lakie> Oh, that sucks 14:53:18 <planetmaker> or is there an awk way to print ALL remaining fields? say :$NF ? 14:53:38 <Lakie> Not used awk to know, sorry. :( 14:55:19 <planetmaker> maybe sed could do it. But I didn't find a nice way to transform those lines into the required format 14:55:38 <planetmaker> Terkhen, got a diff for me? what output does it generate? 14:56:20 <planetmaker> hm, Terkhen, are the other png files already required in the source code? 14:56:26 <planetmaker> i.e. used? 14:56:54 <planetmaker> it will not do much, if the resulting png files would not be referenced in the nml 14:57:58 <Terkhen> http://paste.openttdcoop.org/show/200/ <--- make output 14:58:38 <Terkhen> http://devs.openttd.org/~terkhen/patches/index.php?source=ogfxplus/bulk.diff <--- the diff file 14:58:56 <planetmaker> you get an aweful lot of gimp / lib errors... 14:59:10 <Terkhen> and all of the new .gimp.png files are referenced in the code 14:59:44 <Terkhen> yes, but the generated files look fine :/ 15:00:52 <planetmaker> GIMP-Error: Could not open 'src/gfx/bulk_truck_ore.xcf' for reading: No such file or directory 15:01:04 <Terkhen> hmm... I get those errors when opening gimp from the console too, I'll look into them later 15:01:31 <planetmaker> is that file somewhere? 15:02:07 <Terkhen> planetmaker: yes, you are missing a prerrequisite diff that moves it to the right place 15:02:11 <Terkhen> and the file is present 15:02:21 <Terkhen> the _1_ png files depending on it are generated fine 15:02:22 <planetmaker> ok, I just move it? 15:02:30 <Terkhen> all _1_ files are generated correctly 15:02:33 <Terkhen> _2_ and _3_ fail 15:02:45 <Terkhen> yes, move all xcf files to src/gfx/ 15:02:54 <Terkhen> wait, I'll give you a full diff 15:03:47 <planetmaker> I just moved the bulk trucks xcf 15:04:35 <Terkhen> http://devs.openttd.org/~terkhen/patches/ogfxplus/bulk.diff 15:04:48 <Terkhen> you are missing only the comments on png files commit then 15:07:29 <planetmaker> hm... still make: *** No rule to make target `src/gfx/bulk_truck/bulk_truck_1_rubber.gimp.png', needed by `ogfx-rv.grf'. Stop. 15:08:17 <planetmaker> Terkhen, maybe you find something, if you run make _V= 15:08:29 <Terkhen> hmm... true 15:08:33 <Terkhen> rubber files are missing :S 15:08:40 <Terkhen> I forgot to add them, sorry 15:09:36 <planetmaker> I'll just fake one actually... 15:10:26 <planetmaker> ho ho. r99M :-) 15:10:36 <Terkhen> yes, I have r100 commited locally :P 15:10:51 <Terkhen> it works :) 15:11:12 <Terkhen> I was missing rubber, therefore it generated all _1_ files and stopped 15:11:23 * Terkhen checks md5 sums 15:11:41 <planetmaker> he 15:12:00 <planetmaker> make[1]: *** No rule to make target `src/gfx/bulk_truck/bulk_truck_1_rubber.gimp.png', needed by `ogfx-rv.grf'. Stop. 15:12:00 <planetmaker> <-- didn't it tell you then it was missing it? 15:12:07 <Terkhen> it will probably change, though... the pngs for original cargos were extracted directly from opengfx, not generated from xcf files 15:12:18 <planetmaker> that's ok 15:12:26 <planetmaker> and indeed expected 15:12:27 <Terkhen> probably, but I did not spot that in my sea of errors :/ 15:12:37 <Terkhen> ok, then I will not bother, I'll just test it ingame :) 15:12:54 <Terkhen> after that I'll check why my gimp is complaining so much 15:13:06 <planetmaker> if it was exactly the same, it'd be a nice test. But I'd be surprised, if it's exactly the same 15:13:26 <planetmaker> one pixel would screw it 15:13:35 <planetmaker> except if you check the image files 15:13:39 <Terkhen> I could test if all of the files I created with gimp are the same 15:13:42 <planetmaker> (if that's possible at all) 15:13:52 <Terkhen> diff should check if two binary files are equal or not IIRC 15:13:59 <planetmaker> yes 15:14:03 <Terkhen> I'll just move the generated ones over an older repo :P 15:14:56 <planetmaker> :-) 15:15:53 <planetmaker> ok, I assume you then committed the allow comments patch already, yes? 15:16:56 <Terkhen> yes 15:17:10 <planetmaker> ok, then I better don't commit it ;-) 15:18:26 <planetmaker> https://lists.launchpad.net/edubuntu-bugs/msg01034.html 15:18:27 <Webster> Title: [Bug 757653] [NEW] (gimp:2988): GLib-WARNING **: /build/buildd/glib2.0-2.28.5/./glib/goption.c:2132: ignoring no-arg, optional-arg or filename flags (8) on option of type 0 Errore di segmentazione (core dump creato) : Mailing list archive : edubuntu-bugs team in Launchpad (at lists.launchpad.net) 15:20:23 <Terkhen> heh, all of them seem to be modified :P 15:20:28 <Terkhen> but ingame they look fine 15:20:56 <planetmaker> :-) different pixel colours slightly 15:21:22 <planetmaker> is my best bet at least 15:21:31 <planetmaker> or dos vs. windows palette? 15:22:06 <Terkhen> that could explain some of the old sprites for the default cargos, but the new ones were using dos already 15:24:19 <planetmaker> also no wrong action colours or alike? :-) 15:25:45 <Terkhen> no, even the container looks fine and works with 2cc 15:25:54 <Terkhen> maybe it is some change in the png metadata 15:26:04 <planetmaker> well, I guess we should not really worry about that 15:26:43 <planetmaker> maybe gimp indeed writes a different png header 15:29:29 <Terkhen> why adding *.gimp.png to .hgignore hides the .gimp.png files but shows *.txt files? 15:30:04 <planetmaker> hu? 15:30:04 <Brot6> OpenGFX+ Road Vehicles - Revision 100:4ee498eddc2c: Change: Move xcf files to src/gfx/ (Terkhen) @ http://dev.openttdcoop.org/projects/ogfx-rv/repository/revisions/4ee498eddc2c 15:30:04 <Brot6> OpenGFX+ Road Vehicles - Revision 101:704e32362b3e: Add: Allow comments in png source list files ... (Terkhen) @ http://dev.openttdcoop.org/projects/ogfx-rv/repository/revisions/704e32362b3e 15:30:04 <Brot6> OpenGFX+ Road Vehicles - Revision 102:1dc4e1714223: Change: Use xcf files as source and generate ... (Terkhen) @ http://dev.openttdcoop.org/projects/ogfx-rv/repository/revisions/1dc4e1714223 15:30:54 <Terkhen> try it :P 15:31:04 <Terkhen> right now, hg status shows the generated png files 15:31:58 <Terkhen> http://devs.openttd.org/~terkhen/patches/ogfxplus/ignore.diff 15:32:09 <Terkhen> brb 15:32:10 <planetmaker> build time suddenly got a bit longer ;-) 15:35:46 <planetmaker> well... your diff works for me correctly like one would expect :-) 15:58:13 <Terkhen> do you mean ignore.diff? 16:01:23 <Terkhen> strange, after purge && recompile it stopped showing txt files 16:02:51 <Brot6> OpenGFX+ Road Vehicles - Revision 103:e1b2c0f8c2a3: Change: Add *.gimp.png to .hgignore (Terkhen) @ http://dev.openttdcoop.org/projects/ogfx-rv/repository/revisions/e1b2c0f8c2a3 16:03:38 <planetmaker> yes, I meant the .hgignore 16:24:36 <Brot6> OpenGFX+ Industries - Bug #2635 (New): Powerplants seem to stockpile coal (planetmaker) @ http://dev.openttdcoop.org/issues/2635 16:25:07 <Terkhen> huh 16:25:09 <Terkhen> that's strnage 16:25:26 <planetmaker> it's like 0xFFFF 16:26:21 <planetmaker> he, btw, we already support multiple graphics list files :-) 16:26:32 <planetmaker> you just have to add additional files in Makefile.config 16:26:38 <Terkhen> oh, nice :) 16:26:55 <Terkhen> I'll split the ones I have then 16:27:08 <planetmaker> I thought I'd have to do some work, but turned out that not 16:27:41 <planetmaker> But then... it's quite unhandy to list files there... maybe another abstraction layer? 16:28:20 <planetmaker> it should be defined IMHO somewhere in the src dir or sub dirs thereof 16:28:41 <Terkhen> couldn't we give them a extension and detect them automatically? 16:29:17 <planetmaker> we could. 16:29:34 <planetmaker> But I prefer files to be explicitly added to the processing stage 16:29:50 *** KenjiE20 has quit IRC 16:30:24 <planetmaker> it makes for hard-to-trace bugs, if files are included just due to their presence without being referenced explicitly anywhere 16:31:08 *** KenjiE20 has joined #openttdcoop.devzone 16:31:39 <Terkhen> that makes sense :) 16:33:41 <planetmaker> hm... I've an idea: just gcc that file there. Then #include can be used. 16:33:57 <Terkhen> macros too? 16:34:59 <planetmaker> let's see 16:38:00 <planetmaker> hm, that kills the tabs :S 16:38:34 <Terkhen> gcc converts them into spaces? 16:38:43 <planetmaker> src/gfx/bulk_truck/bulk_truck_2_clay.gimp.png src/gfx/bulk_truck_ore.xcf 1 6.scr 16:38:45 <planetmaker> yes 16:39:30 <planetmaker> ok, I guess I should really find a way to accept spaces/tabs equally well 16:39:41 <planetmaker> it'd solve many comfort issues at the same time ;-) 16:40:01 <Terkhen> http://stackoverflow.com/questions/445986/how-to-force-gcc-preprocessor-to-preserve-whitespace 16:40:03 <Webster> Title: How to force gcc preprocessor to preserve whitespace? - Stack Overflow (at stackoverflow.com) 16:40:33 <planetmaker> meh... but I did that! :-( 16:40:58 <planetmaker> but traditional... hm 16:41:33 <planetmaker> hm, indeed 16:41:59 <Terkhen> as long as it does not break anything else... :) 16:46:57 *** KenjiE20 has quit IRC 16:47:34 *** KenjiE20 has joined #openttdcoop.devzone 16:52:25 <planetmaker> hm, I might have found an awk solution... 16:54:01 <Terkhen> great :) 16:58:20 *** KenjiE20 has quit IRC 16:58:57 *** KenjiE20 has joined #openttdcoop.devzone 17:01:38 <Ammler> so we have already project using gimp :-) 17:01:52 <Ammler> then we see, if it is working... 17:02:04 *** LordAro has joined #openttdcoop.devzone 17:07:04 <planetmaker> yup, we will :-9 17:07:13 <planetmaker> s/9/\)/ 17:08:45 <Terkhen> in some cases it is just simpler to rewrite your sentence 17:10:42 *** KenjiE20 has quit IRC 17:10:57 <planetmaker> :-) 17:11:19 *** KenjiE20 has joined #openttdcoop.devzone 17:11:29 <planetmaker> not if you're in the middle of this makefile stuff ;-) 17:14:10 <Terkhen> :D 17:16:47 *** frosch123 has joined #openttdcoop.devzone 17:18:06 <Brot6> newgrf_makefile: update from r285 to r289 done - http://bundles.openttdcoop.org/newgrf_makefile/nightlies/r289 17:19:00 <Brot6> OpenGFX+ Road Vehicles - Bug #2636 (New): DevZone compile failed (compiler) @ http://dev.openttdcoop.org/issues/2636 17:19:40 <Terkhen> (file-uri:4308): Gtk-WARNING **: cannot open display: <--- that does not look very nice 17:19:53 <Brot6> opengfx: update from r665 to r666 done - http://bundles.openttdcoop.org/opengfx/nightlies/r666 17:19:59 <planetmaker> missing -i option for gimp? 17:19:59 <Brot6> Following repos didn't need a nightlies update: 2cctrainset (r750), 32bpp-extra (r40), ai-admiralai (r75), ai-aroai (r39), ailib-common (r21), ailib-direction (r17), ailib-list (r32), ailib-string (r29), ailib-tile (r16), airportsplus (r73), basecosts (r25), belarusiantowns (r8), bros (r52), chips (r141), comic-houses (r71), firs (r1990), fish (r628), frenchtowns (r6), german-townnames (r33), grfcodec (r829), grfpack (r279), heqs 17:20:00 <Brot6> (r605), indonesiantowns (r41), manindu (r7), metrotrackset (r56), narvs (r37), nml (r1335), nutracks (r186), ogfx-industries (r96), ogfx-landscape (r67), ogfx-trains (r241), ogfx-trees (r42), openmsx (r97), opensfx (r97), smts (r19), snowlinemod (r49), spanishtowns (r10), sub-landscape (ERROR r66), sub-opengfx (ERROR r666), swedishrails (r202), swisstowns (r22), transrapidtrackset (r15), ttdviewer (r34), ttrs (r36), worldairlinersset 17:20:01 <Brot6> (r671) 17:20:22 <Ammler> lookd like xserver required 17:20:36 <Ammler> what is different to the test we made? 17:20:54 <Brot6> sub-landscape: compile of r66 still failed (#2616) - http://bundles.openttdcoop.org/sub-landscape/nightlies/ERROR/r66 17:21:05 *** KenjiE20 has quit IRC 17:21:29 <Brot6> sub-opengfx: compile of r666 still failed (#2586) - http://bundles.openttdcoop.org/sub-opengfx/nightlies/ERROR/r666 17:21:42 *** KenjiE20 has joined #openttdcoop.devzone 17:22:11 <planetmaker> /bin/sh: line 1: 5032 Bus error gimp -i -b - < src/gfx/bulk_truck/bulk_truck_2_rubber.gimp.png.scr > /dev/null <-- uhm, "bus error"? 17:25:03 <planetmaker> Ammler, too many memory - intensive concurrent processes maybe? 17:26:46 <planetmaker> hm... -j2 17:26:48 <Ammler> don't think so, it looks like xserver something 17:27:03 <Ammler> hmm 17:27:10 <Ammler> try with -j1? 17:27:17 <planetmaker> strangely enough it built about 2/3 of the pngs 17:28:28 <Terkhen> I always compile here with -j3 17:29:30 <planetmaker> but you might have more ram than that vm 17:30:28 *** KenjiE20 has quit IRC 17:30:33 <planetmaker> could you give it a try with -j1, Ammler ? 17:30:43 <Ammler> yep, already triggered 17:30:49 <planetmaker> oh, ok :-) 17:31:05 *** KenjiE20 has joined #openttdcoop.devzone 17:31:06 <Brot6> ogfx-rv: update from r98 to r103 done (180 errors) - http://bundles.openttdcoop.org/ogfx-rv/nightlies/r103 17:32:41 <planetmaker> hm, right 17:34:21 <Ammler> is the grf else ok? 17:38:05 <Ammler> Terkhen: you might see it the fastest, filesize seems fine 17:38:59 <planetmaker> I've to leave now... sports is calling. I've the keys for the gymnasium ;-) 17:39:03 <planetmaker> but md5sums are identical 17:39:39 <Ammler> ok, that sounds nice 17:39:51 <Ammler> then we just need to silence the xserver warnings 17:40:47 *** KenjiE20 has quit IRC 17:41:24 *** KenjiE20 has joined #openttdcoop.devzone 17:47:40 <Terkhen> strangely I get that gimp_wire_read error here too, and I do have X 17:57:54 <Ammler> ok, whatever :-) 18:18:42 *** andythenorth has joined #openttdcoop.devzone 18:23:14 *** andythenorth has quit IRC 19:11:54 *** andythenorth has joined #openttdcoop.devzone 19:20:43 *** andythenorth has quit IRC 20:36:49 <Rubidium> DJNekkid, short Norwegian-ish question: if I book a trip from Gardermoen airport to Bergen by train for say 12th of August, does it really offer prices from 25 euros? 20:37:30 <Rubidium> I mean, for 7 hours of sightseeing that seems pretty cheap, or is there some caveat? 20:52:58 <planetmaker> Ammler: is there a chance to test opengfx+rv compile with a newer gimp, i.e. gimp 2.6.11? 20:57:58 *** andythenorth has joined #openttdcoop.devzone 21:00:09 <Ammler> planetmaker: yes, with suse 11.4 21:00:43 <planetmaker> I asked in the gimp channel about it... and of course they ask to reproduce it with the latest stable or a git checkout of trunk ;-) 21:00:47 <Ammler> triggered 21:01:25 <Brot6> OpenGFX+ Road Vehicles - Bug #2637 (New): DevZone compile failed (compiler) @ http://dev.openttdcoop.org/issues/2637 21:03:05 <planetmaker> he, that's a python issue now 21:04:48 <Ammler> yep, no nml for 11.4 :-) 21:04:59 <planetmaker> :-( 21:08:08 <Ammler> is r1313 new enough? 21:09:09 <planetmaker> not sure. We could try 21:09:33 <Ammler> it doesn't as the DOS converter is missing 21:10:04 <planetmaker> hm 21:10:06 <planetmaker> yes 21:10:42 <Ammler> anyway, it produces same error output 21:12:07 <planetmaker> where do I see the logs? 21:12:12 <Ammler> planetmaker: Terkhen has same error also local 21:12:22 <Ammler> you don't? 21:12:23 <planetmaker> I thought that was another? 21:12:30 <planetmaker> I have 2.6.7, I don't 21:12:48 <Ammler> 2.6.7 is even older 21:12:48 <Terkhen> I have two errors, one about libraries and the gimp_wire_read one 21:12:57 <planetmaker> or wait... during day... that's another machine 21:13:01 <Terkhen> I have 2.6.11 21:13:26 <Ammler> planetmaker: there is no file 21:13:35 <planetmaker> Terkhen: same error as CF? 21:13:35 <Ammler> you need it? it is same output 21:13:51 <Terkhen> wait, I'll paste it somewhere 21:14:11 <planetmaker> my 2.6.7 seems fine 21:14:14 <Ammler> http://paste.pocoo.org/show/390854/ 21:14:41 <planetmaker> Ammler: that's 2.6.11, right? 21:15:04 <Ammler> http://paste.pocoo.org/show/390855/ 21:15:43 <Ammler> http://paste.pocoo.org/show/390858/ 21:16:01 <Ammler> http://paste.pocoo.org/show/390859/ 21:16:23 <Ammler> installing gimp-2.6.11-12.3 21:16:37 <Ammler> more? 21:16:48 <planetmaker> currently not, I think :-) 21:16:50 <planetmaker> thanks 21:16:57 <Terkhen> http://paste.openttdcoop.org/show/201/ <--- sorry, I have been too busy procrastinating to look into them :) 21:16:58 <Ammler> I switched back to 11.3 21:17:23 <Ammler> I will later change our compile server to Factory so we will have for sure the newest packages of everything... 21:18:09 <planetmaker> :-) 21:18:16 <planetmaker> no worries, Terkhen 21:19:11 <planetmaker> I'm just not sure whether you might not better discuss that with the gimp developers yourself ;-) 21:19:20 <planetmaker> 2nd-hand communication might easily drop info :-P 21:19:56 *** andythenorth has quit IRC 21:20:06 <Terkhen> I still don't know what is the issue 21:20:13 <Terkhen> so... no idea :P 21:20:29 <planetmaker> nor do I. Those guys are in #gimp on irc.gimp.org 21:20:33 <Ammler> Terkhen: distro? 21:20:41 <Terkhen> if it is something wrong on my installation, I will just report it to arch's bug tracker and let them deal with it 21:20:46 <Terkhen> Ammler: arch linux 21:20:49 <Ammler> ah ok 21:21:19 <Ammler> then at least you can't blame someone 21:21:46 <Terkhen> sorry, blame someone on what way? 21:22:07 <Ammler> package maintainer 21:22:26 <Ammler> but arch is like gentoo, for very experts only :-) 21:23:20 <Terkhen> http://www.archlinux.org/packages/extra/x86_64/gimp/ <--- they have maintainers... I like to learn, but I'm still not completely crazy :P 21:23:21 <Webster> Title: Arch Linux - gimp 2.6.11-5 - Package Details (at www.archlinux.org) 21:23:26 <Rubidium> arch is definitely not like gentoo 21:23:55 <Rubidium> gentoo is in its own league 21:25:17 *** LordAro has quit IRC 21:25:33 <Rubidium> arch is closer to e.g. Ubuntu (not much tested, but bleeding edge binary packages) 21:25:51 <Rubidium> or Debian Unstable 21:26:39 <Ammler> I thought, arch does also not supply binary packages 21:26:45 <Terkhen> arch has testing repos too, but packages are not kept there for long 21:26:57 <Terkhen> I had a buggy gnome 3 a few weeks after the release :P 21:27:42 <Ammler> anyway, too complicated for me to help :-) 21:28:26 <Terkhen> I'll look around to see if I can find the error and if not I'll open a bug report :) 21:28:47 <Ammler> indeed, binaries 21:29:19 <Ammler> planetmaker: there is a gimp-console 21:30:11 <planetmaker> I was just told we should use that 21:30:55 <Terkhen> I looked for something like that but I could not find it 21:31:09 <Ammler> :-) 21:31:16 <Rubidium> isn't the error of pocoo ..54 and ..58 a too ancient nml? 21:31:26 <Ammler> Rubidium: yep 21:31:32 <planetmaker> that yes 21:31:35 <Ammler> (ignore that, the issue is about gimp) 21:32:12 <Ammler> we don't have suse 11.4 nightly so I used the package from the repo 21:32:40 <Ammler> nml from 11.3 doesn't work on 11.4 21:33:08 <Rubidium> oh, so the problem is gimp spewing warnings? 21:33:25 <Ammler> the DISPLAY thing 21:33:40 <Ammler> I thought it is missing xserver :-) 21:33:57 <planetmaker> yes, that's the problem. It's far too many :-) 21:34:09 <Terkhen> we could grep them away :P 21:34:14 <planetmaker> :-D 21:34:22 * Rubidium will try sleeping them away ;) 21:34:27 *** frosch123 has quit IRC 21:34:59 <Terkhen> that's a good idea too :) 21:35:01 <Terkhen> good night Rubidium 21:35:08 <Ammler> good night 21:35:21 <planetmaker> good night Rubidium 21:35:32 <Ammler> well, I wonder, why we have that error on ogfx-rv but not on test 21:35:42 <Ammler> s/error/warning/ 21:35:43 <planetmaker> indeed 21:36:39 <Ammler> http://dev.openttdcoop.org/projects/test/repository/entry/make.sh <-- you use that in the makefile? 21:37:50 <Ammler> and gimpscript is identical? 21:39:10 *** ODM has quit IRC 21:39:33 *** andythenorth has joined #openttdcoop.devzone 21:42:12 <planetmaker> yes, I use that call. The script should be identical in very large parts, if not all. 22:50:02 *** andythenorth has quit IRC 23:17:30 *** Lakie` has joined #openttdcoop.devzone 23:23:20 *** Lakie has quit IRC 23:55:25 *** Ruudjah has quit IRC 23:55:44 *** Lakie has joined #openttdcoop.devzone 23:56:09 *** KenjiE20 has quit IRC