Config
Log for #openttdcoop.devzone on 5th March 2010:
Times are UTC Toggle Colours
00:31:57  *** KenjiE20 has quit IRC
01:42:43  *** Frankr has joined #openttdcoop.devzone
02:17:09  <Webster> Latest update from devactivity: World Airliners Set - Revision 619: Major Changes to Input Tab New Coding Table <http://dev.openttdcoop.org/projects/worldairlineset/repository/revisions/619>
02:23:42  <PeterT> Ammler: !!!
02:23:45  * PeterT is very happy
02:23:54  <PeterT> I've found a Hungarian server running autopilot
02:24:05  <PeterT> /server irc.ogamesnet.net
02:24:09  <PeterT> /join #OpenTTD
02:31:19  <PeterT> @seen Ammler
02:31:19  <Webster> PeterT: Ammler was last seen in #openttdcoop.devzone 5 hours, 1 minute, and 30 seconds ago: <Ammler> ups, good night all
04:46:02  *** Frankr has quit IRC
05:51:59  *** welshdragon has joined #openttdcoop.devzone
07:39:32  *** ODM has joined #openttdcoop.devzone
09:00:59  *** Yexo_ has joined #openttdcoop.devzone
09:08:08  *** Yexo has quit IRC
09:11:40  <planetmaker> g'morning
10:18:06  <Webster> Latest update from devactivity: World Airliners Set - Revision 620: Added Plane Plane Info to Input Tab, New Copding Table <http://dev.openttdcoop.org/projects/worldairlineset/repository/revisions/620> || Redmine - Revision 3386: Unselect issues when clicking outside of the list. <http://dev.openttdcoop.org/projects/redmine/repository/revisions/3386> || Redmine - Revision 3385: Do not disable text selection in the issue list. <http://dev.openttdcoop.org/projects/redmine/repository/revisions/3385> || Redmine - Revision 3384: Adds an helper for creating the context menu. <http://dev.openttdcoop.org/projects/redmine/repository/revisions/3384> || Redmine - Revision 3383: Fixed: hard coded English string at the selection of issue watchers (#49... <http://dev.openttdcoop.org/projects/redmine/repository/revisions/3383>
10:24:05  <planetmaker> HGREPOS="2cctrainset comic_houses firs heqs opengfx worldairlineset ../trunk dutchtrainset ../is2 fish airportsplus nutracks opensfx openmsx newgrf_makefile"
10:24:05  <planetmaker> SVNREPOS="nforenum grfcodec tbrs dutchstations ../autostart" <-- any other repo I should mirror here locally, Ammler ?
10:33:18  <Ammler> you mean backupwise?
10:33:41  <Ammler> oh, and hello :-)
10:35:43  <Ammler> As said, the isp does some backups and I run a daily incremental backup here...
10:37:14  <Ammler> http://pastebin.ca/1823636
10:45:03  <Ammler> the hg repos are the most safiest data imo, as the dev has those also local
10:45:20  <Ammler> and some do push to bitbucket.org
11:16:21  <Ammler> [03:23] <PeterT> I've found a Hungarian server running autopilot <-- what now?
11:17:01  <Ammler> oh, you mean it runs ap with your translation?
11:17:07  <Rubidium> run! There's nowhere to hide!
11:17:44  <Ammler> at least, you can't hide from PeterT ;-)
11:18:00  <Rubidium> that's why I hide him...
11:18:19  <Rubidium> if I don't know he's talking, I don't know he sees me either
11:18:39  <Rubidium> as such in my 'reality' I am hidden
11:18:50  <Ammler> hehe, true
11:19:11  <Ammler> my current ignore/foo list is pretty empty...
11:21:33  <Ammler> well, the tt-forums foo list function is useless anyway...
11:42:23  <planetmaker> Ammler, yeah, I meant kinda backup wise. I mean... I pull all those repos anyway on a daily basis to this machine. And if it's only for the reason that it then allows me to easily add a quick fix to them, if needed
11:42:28  <planetmaker> or for easier reference.
11:44:07  <Ammler> as said, for backup it isn't really necessary, but doesn't hurt either
11:44:44  <Ammler> but if you have some gigs free, you could make a system backup from time
11:44:56  <Ammler> just in case it crashes and I die
11:46:27  <Ammler> I need around 50 GB for my incremental backups of around 14 parts
11:46:56  <Ammler> one time backup should do with 30 or less
11:46:58  <planetmaker> you mean a backup of /* or /usr /etc /root /var ?
11:47:11  <planetmaker>  /bin
11:47:31  <Ammler> I do a "total" backup
11:47:48  <Ammler> but that isn't really needed
11:47:59  <Ammler> I could "chroot" to my backup :-)
11:48:20  *** Doorslammer has joined #openttdcoop.devzone
11:48:35  <planetmaker> hm, ok. Looks like there are 150G available here in /home
11:48:58  <planetmaker> I could create a new user and put one copy there on a daily basis via cron job
11:48:59  <Ammler> and it is private?
11:49:29  <planetmaker> In theory other people could have access to this machine as it's my workplace PC.
11:49:39  <planetmaker> But practically everyone is responsible for the own machine
11:49:55  <planetmaker> Thus I am root. And the pw is only stored with our local admin in case I die.
11:49:56  *** Doorslammer has quit IRC
11:49:56  <Ammler> http://pastebin.ca/1823679
11:50:21  <Ammler> well, that should be private enough :-)
11:50:44  <planetmaker> yup :-)
11:51:13  *** Doorslammer has joined #openttdcoop.devzone
11:51:40  <Ammler> check my script, it might be easy fiddleable
11:51:59  <Ammler> remove increments and add other exclude dirs
11:52:55  *** Doorslammer has quit IRC
11:52:57  <planetmaker> thanks I copied it; should be fairly straight forward to adopt it.
11:53:05  *** KenjiE20 has joined #openttdcoop.devzone
11:53:25  <Ammler> the daily incremental backup is around 1 GB
11:53:28  <Ammler> at max
11:53:33  <planetmaker> ok
11:53:38  <Ammler> oh, I pasted that above
11:53:54  <Ammler> http://pastebin.ca/1823636
11:53:59  <planetmaker> 1GB changed data sounds like quite a bit.
11:54:35  <Ammler> it does make nice logfiles, so you can monitor what changes... :-)
11:54:52  <planetmaker> :-)
11:55:32  *** Doorslammer has joined #openttdcoop.devzone
11:55:52  <Ammler> you could also for example run it any other day instead daily, what ever  :-)
11:56:19  <planetmaker> running it daily then doesn't hurt. The local daily backup runs also... daily
11:59:59  <Ammler> I run my backup at 3:30
12:00:44  <Ammler> would be nice, if you run yours around an hour later...
12:00:58  <Ammler> or earlier or sometime else
12:03:31  <Ammler> hmm, the chroot of named could also go to exclude
12:06:03  <Ammler> my backup finish at 4:44
12:11:23  <planetmaker> :-O
12:11:25  <planetmaker> that long?
12:11:35  <planetmaker> well, I could go for 5am or so
12:11:41  <planetmaker> then my local backups are done
12:23:28  <Ammler> I guess, the named proc was the issue
12:23:38  <Ammler> I wonder, how fast it will be this night :-)
12:24:17  <planetmaker> Yexo_, the renum.zip you linked yesterday, the update to the data files has a very nasty side effect...:
12:24:17  <planetmaker> Update it, or delete feat.dat.
12:24:17  <planetmaker> renum: data.cpp:693: FILE* _myfopen(files): Assertion `false' failed.
12:24:17  <planetmaker> make[1]: *** [ogfxe_extra.nfo] Aborted
12:26:15  <planetmaker> though deleting feat.dat solves the issue.
12:26:18  *** Doorslammer has quit IRC
12:29:07  <Ammler> hmm, you could symlink the renum data from the server to the web
12:29:14  *** Doorslammer has joined #openttdcoop.devzone
12:31:20  *** Doorslammer has quit IRC
12:35:28  <Ammler> planetmaker: also there is a script in /root/bin/mysqldump.sh
12:35:42  <Ammler> which you need to update for important dbs
12:39:19  *** Doorslammer has joined #openttdcoop.devzone
13:14:42  <planetmaker> http://paste.openttd.org/225149 <-- other thing: does that solution for unix2dos for text files fit you, Ammler ?
13:15:22  <planetmaker> you could try that out with the newgrf_makefile project. It should most probably also apply to the other projects.
13:15:30  <planetmaker> Not sure whether I updated all of them to this rev.
13:18:13  <Ammler> planetmaker: mainly it shouldn't complain about it execpt on target bundle_zip
13:21:23  <planetmaker> hm... that isn't changed by that patch. It treats the txt files the same, always
13:21:27  <planetmaker> as now, too
13:24:33  <planetmaker> is it fine, if I just quiet it?
13:25:06  <planetmaker>        -q --quiet
13:25:07  <planetmaker>               Quiet mode. Suppress all warning and messages.
13:25:08  <Ammler> well, personally I don't care, it is just not perfect in the logs :-)
13:25:23  <Ammler> if it complains about missing tool, which isn't needed
13:26:05  <Ammler> is that fro which?
13:26:13  <planetmaker> hm, no
13:27:58  <planetmaker> right... there it doesn't exist... It only silences the unix2dos output to stderr. Which it also does
13:29:10  <Ammler> you know, the issue is, if you don't have unix2dos installed :-)
13:29:21  <Ammler> the unix2dos -q is quite useless :-P
13:29:23  <planetmaker> yes :-)
13:29:53  <planetmaker> which can just be quieted, I think
13:30:17  <Ammler> yeah, but you don't have unix2dos...
13:39:56  <planetmaker> ok, we pipe which to /dev/null
13:40:12  <planetmaker> And use unix2dos, if present, but then always
13:40:15  <planetmaker> Fine?
13:41:24  <Ammler> yes
13:42:08  <planetmaker> then I have a patch for that :-P
13:42:15  <Ammler> oh, does bananas now work with the bundle_zip zip?
13:42:21  <planetmaker> yes
13:42:33  <Ammler> cool
13:43:02  <planetmaker> except maybe, if you define additional files to be bundled which it doesn't accept. That's prossible. I think I did it for OpenGFX
13:43:25  <planetmaker> Or if you name your documentation files wrongly
13:43:44  <planetmaker> if you use the default names - which are accepted by bananas - you're fine
13:43:45  <Ammler> hmm
13:44:03  <planetmaker> I use the default names (changelog.txt, readme.txt license.txt)
13:44:09  <Ammler> so opengfx bundle wouldn't work?
13:45:33  *** Yexo_ is now known as Yexo
13:45:34  <planetmaker> hm... I think it will. I thought I added the authorsreview.csv. But seems like I didn't.
13:45:45  <Ammler> http://users1.ee.net/lstone/midi.htm
13:45:46  <Webster> Title: Larry's favorite Midi's (at users1.ee.net)
14:00:44  <Webster> Latest update from devactivity: Example NewGRF Project - Revision 56: Fix (r55): It's unix2dos not unix2doss <http://dev.openttdcoop.org/projects/newgrf-makefile/repository/revisions/56> || Example NewGRF Project - Revision 55: Fix: target docs didn't quite work <http://dev.openttdcoop.org/projects/newgrf-makefile/repository/revisions/55> || Example NewGRF Project - Revision 54: Change: Rename source txt files to ptxt <http://dev.openttdcoop.org/projects/newgrf-makefile/repository/revisions/54> || Example NewGRF Project - Revision 53: Fix: Source releases should be gzip'ed <http://dev.openttdcoop.org/projects/newgrf-makefile/repository/revisions/53>
14:46:55  <Webster> Latest update from devactivity: OpenGFX - Revision 308: Change: Update to makefile r56 <http://dev.openttdcoop.org/projects/opengfx/repository/revisions/308>
15:09:54  <Yexo> <planetmaker> Update it, or delete feat.dat. <- that is not the correct solution
15:10:15  <Yexo> one of the other datafiles needs updating, the name of the failing datafile should've been printed just before that assert you got
15:13:36  <planetmaker> do you have the link again, please?
15:13:45  <planetmaker> was it the renum thread?
15:13:49  <Yexo> http://devs.openttd.org/~yexo/nforenum/ patches are there
15:14:05  <Yexo> which newgrf did it crash on?
15:15:39  <Yexo> oh, did you have the patches applied already?
15:16:02  <planetmaker> I didn't have the patches
15:16:03  <Yexo> then it might be possible that you somehow had an updated (but differently updated) feat.dat file
15:16:13  <Yexo> you only had the datafiles?
15:16:19  <planetmaker> it was the opengfx_extra newgrf
15:16:33  <planetmaker> yes, only replaced the data files with the renum.zip you linked yesterday
15:16:40  <planetmaker> the one I used to compile the airports with
15:16:42  <planetmaker> same thing
15:16:46  <Yexo> ah, ok
15:16:47  <planetmaker> just 12 hours later
15:16:59  <Yexo> the datafiles are only generated when used
15:17:06  <Yexo> so renum.zip probably misses a datafile
15:17:13  <Yexo> I'll update it
15:17:23  <planetmaker> :-)
15:17:37  <planetmaker> just compile opengfx
15:17:47  <Yexo> already doing that :)
15:20:49  <Yexo> is there any grf on the devzone that uses GRM?
15:20:51  <Ammler> http://mz.openttdcoop.org/renum.dat/
15:21:32  <Ammler> maybe ttrs?
15:21:33  <planetmaker> Yexo, not that I know of. Maybe Dutch set things
15:21:36  <planetmaker> or ttrs
15:21:37  <Ammler> tbrs
15:24:03  <Yexo> http://devs.openttd.org/~yexo/renum.zip is now updated
15:24:32  <planetmaker> thanks
15:27:37  <Ammler> is there still need for GRM?
15:28:05  <Yexo> no idea, never understood what it does exactly
15:28:05  <planetmaker> For TTDP surely is.
15:28:15  <Yexo> but I think it's mainly for ttdp to cope with the limited sprite numbers
15:28:40  <planetmaker> But with the engine pool and the extended ID ranges also for other tings in OpenTTD there's hardly need for it - but I never understood it fully either
15:28:57  <Ammler> dynamically assign ids?
15:29:46  <planetmaker> well, IIRC it allows to reserve a number of IDs, so that other grfs know which not to use.
15:43:27  <Ammler> Yexo: do you also have a patch for the new basecosts?
15:43:49  <Yexo> not yet
15:43:53  <Ammler> /!!Error (141): ID 3B out of valid range (00..30).
15:43:56  <Yexo> which features are affected by that?
15:45:00  <Yexo> only action 0 feature 8?
15:45:15  <Ammler> https://dev.openttdcoop.org/projects/minigrfs/repository/entry/basecosts/makepresetgrf#L45
15:45:18  <Ammler> I guess so
15:48:11  <Yexo> renum.zip updated, it now includes the new base costs and the rail type translation table
15:48:13  <Webster> Latest update from devactivity: MiniGRFs - Revision 7: [BaseCosts] Fix: label <http://dev.openttdcoop.org/projects/minigrfs/repository/revisions/7>
15:48:37  <Yexo> nutracks also generates a warning "Warning (142): <num-cid> must be 0 for this feature."
15:48:52  <Yexo> I don't know if it's a valid warning, but if not that can't be fixed by just changing the datafiles
15:50:41  <planetmaker> I meant to look at that. Maybe later today or tomorrow.
15:50:46  <planetmaker> I have an idea what it is about
15:51:33  <Ammler> Yexo: I prefer patches :-P
15:52:17  <Ammler> but not really necessary
15:54:09  <Yexo> patches here: http://devs.openttd.org/~yexo/nforenum/
15:54:19  <Yexo> as before, 01 and 02 are not needed
15:54:46  <Yexo> I think I messed up some of the seperation between 03 and 04, but they should work regardless
15:55:09  <Ammler> :-)
15:55:23  <Ammler> I would just add 05, as the others are already in
15:55:25  <planetmaker> Yexo, applying 02, 03 and 04 in sequence works nicely here
15:55:31  <planetmaker> That's what I did now
15:55:40  <Yexo> if you aplied the patches before, you need to delete all your renum datafiles, or the old ones will be used
15:55:43  <Ammler> planetmaker: you need only 3, 4 and 6
15:55:46  <Ammler> 5*
15:55:49  <planetmaker> 5?
15:55:55  <Yexo> yes, 5
15:55:58  <planetmaker> Yexo, yes, I deleted .renum
15:56:01  <Yexo> ok :)
15:56:12  <Ammler> (2 isn't needed)
15:56:13  <planetmaker> hm.. there were only 4 patches when I looked...
15:56:25  <Ammler> 1 min ago :-)
15:56:28  <Yexo> webserver is caching a bit too good sometimes
15:57:18  <planetmaker> :-P I looked like 1 hour ago :-P
15:57:29  <planetmaker> well. 30 minutes
15:57:46  <Ammler> yeah, 1min ago
15:58:04  <planetmaker> now... 05 fails to apply :S
15:58:25  <planetmaker> do I have to download all again?
15:58:55  <Yexo> no, I messed up
15:59:00  <Yexo> quilt is not as easy as hg mq
15:59:14  <DJNekkid> hi all :)
15:59:21  <planetmaker> Hi one :-)
15:59:28  <Ammler> he, you use quilt?
15:59:35  <Ammler> why does it need p1?
15:59:55  <Ammler> I thought, that is because of hg :-)
15:59:56  <planetmaker> svn2hg or alike?
16:00:41  <Yexo> dunno why it needs -p1, it's always been that way when I use quilt
16:00:57  <Yexo> planetmaker: that's an option indeed, haven't looked really into that
16:01:23  <Ammler> hg convert
16:05:10  <DJNekkid> omg!
16:05:15  <DJNekkid> the pound sterling is LOW!
16:06:21  <DJNekkid> an euro is 8,02NOK, the pound is 8,90
16:06:35  <DJNekkid> it used to be 11,50ish about 2 years ago
16:08:51  <DJNekkid> Yexo: is it possible to code new airports with your work?
16:08:57  <planetmaker> DJNekkid, that's why anglo-saxons point at the weak Euro :-P
16:09:14  <Yexo> DJNekkid: yes, but it's not yet supported in trunk
16:09:16  <planetmaker> DJNekkid, airport tiles != airports
16:09:22  <Yexo> and I'm still changing the spec
16:09:29  <DJNekkid> euro vs NOK is average now
16:09:32  <Yexo> airport tiles can be changed in trunk
16:09:45  <DJNekkid> 7,90-8,10 is normal
16:10:25  <DJNekkid> +-11 for the pound
16:10:58  <DJNekkid> but pikka-style callbacks are still not in? :)
16:11:59  <DJNekkid> (accoding to his proposal
16:12:00  <DJNekkid> )
16:12:23  <Yexo> not yet
16:12:29  <DJNekkid> oki :)
16:12:47  <Yexo> I hope to commit a series of patches this weekend that allows modifying / disabling the default airports
16:13:03  <DJNekkid> oki :)
16:13:19  <planetmaker> uh... sounds like a lot of work ahead :-)
16:13:38  <Yexo> most of that work is done already :)
16:13:47  <planetmaker> well :-)
16:18:01  <DJNekkid> ehm ... thoose renum-files i added a couple of days ago seem to crash renum while i try to make the 2cc-set
16:20:59  <Ammler> planetmaker: what is "export" for in the Makefile?
16:21:01  <Webster> Latest update from devactivity: Example NewGRF Project - Code Review #776 (New): change it to *.grf <http://dev.openttdcoop.org/issues/776>
16:21:20  <Yexo> DJNekkid: new datafiles here: http://devs.openttd.org/~yexo/renum.zip
16:28:05  <DJNekkid> that worked abit better :D
16:28:22  <Ammler> planetmaker: something is screwed with your Makefile project repo
16:28:28  <Ammler> not readable from redmine
16:30:04  <Yexo> planetmaker: can you try to apply the patches again? fullchanges.diff is 02 to 05 combined
16:30:13  <Yexo> but first revert the older changes
16:33:31  <Ammler> why 02?
16:33:47  <Yexo> why not?
16:34:16  <Ammler> yesterday, you said, it isn't needed :-)
16:34:25  *** Frankr has joined #openttdcoop.devzone
16:34:36  <Yexo> it prevents crashes if somebody uses feature 12 or higher :)
16:35:01  <Yexo> so it still isn't needed, but it doesn't hurt either
16:35:04  <Yexo> and it
16:35:20  <Yexo> and creating a patch with that one included is easier :p
16:36:40  <Ammler> 05 doesn't work still
16:37:07  <Yexo> that is very strange
16:37:20  <Yexo> as I've used hg convert now to be able to use hg mq
16:37:25  <Yexo> and it applied the patches fine
16:39:21  <Yexo> Ammler: did you svn revert and reapply patches 03 and 04 first?
16:39:43  <Yexo> 05 depends on those
16:42:58  <planetmaker> Yexo, I can just use "fullchanges.diff"?
16:43:03  <Yexo> yes
16:43:06  <Ammler> Yexo: I build completely new chroot :-)
16:43:10  <Ammler> http://obs.openttdcoop.org/specs/openttd-devel-nforenum/
16:43:16  <Ammler> see log
16:43:57  <Ammler> at the end
16:44:30  <planetmaker> yes, compiles nicely. Thanks Yexo
16:44:35  <Yexo> Ammler: could you try it once more with newly downloaded patch files?
16:44:38  <planetmaker> Now DaleStan needs to apply all that :-)
16:44:59  <Ammler> oh, also the others?
16:45:07  <Ammler> just downloaded 05 and 02
16:45:13  <Yexo> Ammler: yes, 03/04 have changed
16:45:17  <Yexo> ah, then that's the problem :)
16:45:19  <Ammler> ups
16:45:28  <Yexo> or use fullchanges.diff instead
16:45:51  * planetmaker is lazy and used fullchanges.diff
16:46:37  <Ammler> not it fails on 4
16:47:36  <Ammler> now*
16:48:07  <Yexo> oh, right
16:48:14  <Ammler> well, for the build project, it is a bit more descriptive with the single patches :-)
16:49:19  <Ammler> http://obs.openttdcoop.org/specs/openttd-devel-nforenum/openttd-devel-nforenum.spec <-- you can also define the order
16:49:39  <Yexo> Ammler: fixed now
16:49:47  <Yexo> I forgot a qrefresh after fixing the problem
16:51:21  <Ammler> again all patches?
16:51:27  <Yexo> only 04 has changes
16:52:49  <Ammler> wget -m is a bit much :-)
16:53:31  <Yexo> if it doesn't follow the link to the parent directory it shouldn't be a problem
17:02:16  <Ammler> he, this gcc33 bug :-)
17:14:51  <Frankr> @logs
17:14:51  <Webster> Logs: http://hyru.ath.cx:60080/~kenji/ottdcoop/
17:54:10  *** Frankr is now known as Guest345
17:54:11  *** Frankr has joined #openttdcoop.devzone
18:01:18  *** Guest345 has quit IRC
18:24:46  *** Doorslammer has quit IRC
19:48:47  <PeterT> @seen Ammler
19:48:47  <Webster> PeterT: Ammler was last seen in #openttdcoop.devzone 2 hours, 46 minutes, and 31 seconds ago: <Ammler> he, this gcc33 bug :-)
19:49:18  <Ammler> PeterT: check the userlist!
19:49:41  <PeterT> Ammler: There is a hungarian server at irc.ogamesnet.com, #OpenTTD
19:49:50  <PeterT> where we can test Hungarian translations
19:50:06  <planetmaker> PeterT: we both read it, yes
19:50:17  <PeterT> Oh, I didn't see a response
19:50:24  <PeterT> I forgot to turn on *watch, silly me
19:50:26  <planetmaker> there wasn't
19:50:42  <planetmaker> what response did you expect?
19:51:27  <Ammler> PeterT: do they use your patch?
19:51:37  <PeterT> No, I haven't heard from them yet
19:52:53  <Ammler> well, I do really not much care about translations, ad I use English only
19:53:00  <Ammler> as*
19:53:35  <Ammler> and I fear, Autopilot isn't really 100% aware of it
19:53:49  <PeterT> It wasn't working for me
19:53:53  <PeterT> when I tried on Linux
19:54:01  <Ammler> you see
19:54:07  <PeterT> It would echo the name of the string, instead of the string itself
19:54:11  <PeterT> Any idesa?
19:54:25  <Ammler> not really
19:54:31  <Ammler> [20:52] <Ammler> well, I do really not much care about translations, ad I use English only
19:54:45  <PeterT> Ok
19:54:55  <Ammler> and Autopilot is also kind of depreciated
19:55:05  <Ammler> since Avignon is in release state
19:55:21  <Ammler> so new features are going in, if we need it.
19:55:49  <Ammler> but we can keep patches
19:56:04  <Ammler> like webcam and such
19:56:08  <Ammler> I won't commit that
19:57:40  <Ammler> _if_ you have a patch to fix translations, we can speak again about it ;-)
19:57:57  <PeterT> Ok
19:58:30  <Ammler> myself has no clue about tcl and osai/dih don't develop it any further...
20:33:09  <Webster> Latest update from devactivity: Example NewGRF Project - Revision 58: Delete the old bundle_src file, if it exists <http://dev.openttdcoop.org/projects/newgrf-makefile/repository/revisions/58> || Example NewGRF Project - Revision 57: Feature [#771]: Add a file with the expected md5sums of the... <http://dev.openttdcoop.org/projects/newgrf-makefile/repository/revisions/57>
20:48:55  <Ammler> planetmaker: it might need a target dist or
20:49:07  <Ammler> so you create the release packages at once
20:49:24  <Ammler> bundle_zip and bundle_src
20:49:33  <Ammler> hmm
20:49:45  <Ammler> doesn't matter
20:52:08  <planetmaker> what's a target 'dist'?
20:52:57  <Ammler> for distribution
20:53:10  <Ammler> well
21:07:44  <Ammler> planetmaker: could you excluse extra please
21:07:52  <planetmaker> hm?
21:07:57  <planetmaker> from what?
21:08:04  <Ammler> from bundle_src
21:08:16  <planetmaker> oh, the dir?
21:08:24  <Ammler> yes
21:08:37  <planetmaker> isn't it?
21:09:13  <planetmaker> yes, it is.
21:09:52  <planetmaker> look at Makefile.config :-)
21:11:15  <planetmaker> lines 15-21: http://dev.openttdcoop.org/projects/opengfx/repository/entry/Makefile.config <-- Ammler
21:11:33  <planetmaker> SRC DOC and SCRIPT are only bundled
21:11:44  <planetmaker> for src releases
21:11:52  <planetmaker> EXTRA =
21:12:04  <planetmaker> allows to specify additional; but is empty
21:14:24  *** ODM has quit IRC
21:15:02  *** ODM has joined #openttdcoop.devzone
21:20:37  <Ammler> marcel@inspiron:~/hg/opengfx> make bundle_src
21:20:39  <Ammler> [Generating] opengfx-nightly-r308-source
21:20:40  <Ammler> cp: cannot create regular file `opengfx-nightly-r308-source/extra/ttd-box-editor/sprite-source/compile-sprites.php': No such file or directory
21:20:43  <Ammler> planetmaker: ^
21:21:44  <planetmaker> yes, I get those errors, too.
21:21:52  <planetmaker> But they don't get bundled
21:22:24  <planetmaker> I have no solution as of now
21:22:38  <Ammler> ok :-)
21:22:43  <planetmaker> It works as intended because of the errors probably ;-)
21:23:09  <andythenorth> hi hi
21:23:16  <planetmaker> ho ho :-)
21:33:50  <Ammler> planetmaker: might it be possible to add a exclude rule
21:34:04  <Ammler> like the backup.push or
21:34:07  <planetmaker> I have that already.
21:34:15  <Ammler> .hgignore and .hgtags
21:34:29  <planetmaker> but the regex used is not proper in that case
21:34:31  <Ammler> and where is that super duper md5file?
21:34:32  <planetmaker> 	$(_V) for k in `for i in $(REPO_FILES); do for j in $(MAIN_DIRS); do echo "$$i" | grep -E "^$$j"; done; done;`; do cp -rf $$k $(addprefix $(DIR_NAME_SRC)/,$$k); done
21:34:37  <planetmaker> small little rule ;-)
21:35:11  <planetmaker> I think I have a solution, though
21:35:42  <Ammler> just ignore .hg*
21:35:44  <Webster> Latest update from devactivity: OpenGFX - Revision 309: Change: Update to makefile r58 <http://dev.openttdcoop.org/projects/opengfx/repository/revisions/309> || Example NewGRF Project - Revision 59: Fix (r52): Makefile.bundles is also part of the required bu... <http://dev.openttdcoop.org/projects/newgrf-makefile/repository/revisions/59>
21:36:23  <Ammler> hmm, isn't there something like hg archive?
21:36:29  <planetmaker> uhm... they're repo files. Why would I ignore them?
21:36:51  <planetmaker> no, I don't ignore files which are part of the repo in .hgignore
21:37:30  <Ammler> they are repo files but not source files
21:37:38  <Ammler> as the hash is lost
21:37:56  <Ammler> .hgtags is quite useless without history
21:38:06  <Ammler> also is backup.push
21:38:43  <Ammler> nvm
21:38:50  <Ammler> but where is that md5file?
21:40:35  <Ammler> openttd does also ignore svn files
21:41:34  <planetmaker> the md5 file is in the main dir
21:42:06  <planetmaker> like the paste link I showed you in #openttd ;-)
21:42:40  <planetmaker> [21:34]	<planetmaker>	http://paste.openttd.org/225151  <-- Rub1dium, Ammler. Output as desired?
21:42:42  <planetmaker> [21:37]	<planetmaker>	tar tfz opengfx-nightly-r308M-source.tar.gz | grep 'md5'
21:42:43  <planetmaker> [21:37]	<planetmaker>	opengfx-nightly-r308M-source/opengfx-nightly.md5
21:42:55  <Ammler> ah sorry
21:43:14  <planetmaker> hm... opengfx has a file with space. bad bad
21:43:20  <Ammler> hmm
21:43:25  <Ammler> no, I don't see it
21:43:38  <Ammler> does it need a special target?
21:43:42  <planetmaker> sprites/source/font_medium kopie.psd
21:44:01  <planetmaker> oh, the md5 is only created by make bundle_src or md5
21:44:06  <planetmaker> otherwise it's not needed
21:49:26  <Ammler> well, how can bundle_src create it?
21:49:39  <Ammler> it should be build bundle_zip imo :-)
21:49:44  <Ammler> with*
21:50:19  <Ammler> and I guess, it would make sense to include it in the package
21:51:02  <planetmaker> if I include it, bundle_zip cannot be uploaded to bananas anymore
21:51:06  <Ammler> and add a target make check :-) would rock
21:51:19  <Ammler> not to the zip
21:51:21  <planetmaker> and only bundle_src needs it really
21:51:24  <Ammler> to the bundle_src
21:52:12  <planetmaker> please speak in whole sentences. I don't know anymore what you want to add where and how
21:52:12  <Ammler> hmm, I need to test how that rpm macro %check behaves
21:52:22  <Ammler> ok, all fine
21:52:42  <Ammler> just include the md5 file to the bundle_src archive
21:52:52  <planetmaker> well. that is done
21:53:08  <Ammler> meh, I guess, I had a old vesion
21:53:35  <Ammler> yeah, I checked r308 :-(
21:53:38  <Ammler> :-$
21:53:54  <planetmaker> he :-)
21:53:57  <Ammler> r309 is fine :-P
21:54:09  <Ammler> oh Majonaise
21:56:08  <Ammler> but still, we don't need source package in the nightlies, do we?
21:57:55  <Ammler> so I need to run "make bundle_zip md5" in future?
21:58:48  <Ammler> and "make bundle_zip md5 bundle_src" for releases?
21:59:03  <Ammler> what about the archive md5sums?
21:59:13  <planetmaker> md5 will create ...-nightly.md5 with md5sum *.grf opengfx.obg > opengfx-nightly.md5
21:59:43  <Ammler> don't forget cat :-)
21:59:44  <planetmaker> for normal grfs only *.grf is used
21:59:56  <planetmaker> yes, that's a Makefile.config setting $(MAIN_TARGET)
22:00:13  <Ammler> well, it doesn't hurt if there are files listed which don't exist
22:00:15  <planetmaker> for grfs it's the grf file, for base sets the o?? file
22:00:37  <planetmaker> and for grfs actually $(GRF_FILES) is empty :-P
22:00:40  <Ammler> or it does, I just ignored it :-P
22:01:14  *** welshdragon has quit IRC
22:01:33  <Ammler> Rubidium: is there special request for sha checksums?
22:01:40  <Ammler> or did you do that just for fun?
22:01:48  <Ammler> !s/did/do/
22:02:02  <planetmaker> md5 is unsecure. sha is more secure
22:02:13  <planetmaker> md5 can be broken brute-force
22:02:16  <Ammler> well, does it need to be secure?
22:02:35  <planetmaker> for hash values: yes
22:02:46  <planetmaker> not for grf files but for binaries
22:02:51  <planetmaker> executables
22:03:04  <planetmaker> md5 is partially reversible.
22:03:07  <Ammler> but we don't need that?
22:03:28  <planetmaker> I don't think
22:03:37  <Ammler> also Rubidium didn't use it for the obs files
22:03:43  <Ammler> which are quite new :-)
22:03:59  *** welshdragon has joined #openttdcoop.devzone
22:04:17  <Ammler> maybe it would need a new lib for it :-P
22:04:38  <planetmaker> no lib. there's md5.cpp
22:04:50  <Rubidium> Ammler: huh?
22:04:59  <Ammler> I mean for sha checksum :-)
22:05:04  <Rubidium> for what?
22:05:43  <Ammler> Rubidium: I wonder, why you use those other checksums on your binaries homepage
22:06:55  <Rubidium> don't know (anymore?)
22:15:24  <planetmaker> Ammler: try r311 with the errors for non existing files / paths removed
22:18:14  <Ammler> hmm, this "nightly" in the file name
22:18:24  <Ammler> why again is that needed?
22:19:26  <planetmaker> I want it distinct from releases
22:19:37  <planetmaker> or which filename?
22:19:38  <Ammler> make[1]: *** No rule to make target `ogfx1_base.grf', needed by `opengfx.obg'.  Stop
22:19:45  <planetmaker> hm
22:20:09  <planetmaker> what did you call?
22:20:31  <Ammler> wait, r309 that is
22:20:48  <planetmaker> well, nevertheless: what did you call?
22:20:57  <planetmaker> which target?
22:21:07  <Ammler> http://obs.openttdcoop.org/specs/openttd-data-opengfx/openttd-data-opengfx-nightly.spec
22:21:10  <Ammler> make install
22:21:10  <Webster> Latest update from devactivity: OpenGFX - Revision 311: Change: Update to makefile r60 <http://dev.openttdcoop.org/projects/opengfx/repository/revisions/311> || Example NewGRF Project - Revision 60: Fix: The regex which determines the applicable files for bu... <http://dev.openttdcoop.org/projects/newgrf-makefile/repository/revisions/60> || OpenGFX - Revision 310: Change: Spaces in filenames are evil <http://dev.openttdcoop.org/projects/opengfx/repository/revisions/310>
22:21:44  <planetmaker> hm, works for me
22:25:03  <planetmaker> hm... also on my linux box
22:25:44  <Ammler> :-P
22:26:14  <planetmaker> ?
22:35:11  <Ammler> http://obs.openttdcoop.org/spec.Factory/openttd-data-opengfx/ <-- I try again...
22:35:42  <Ammler> you tried with source package?
22:36:09  <Ammler> %build
22:36:10  <Ammler> make %{?_smp_mflags}
22:36:12  <Ammler> %install
22:36:13  <Ammler> make install INSTALLDIR=%{buildroot}%{_datadir}/openttd/data
22:36:21  <Ammler> I mean, not really much I can do wrong
22:46:18  <Ammler> planetmaker: ^
22:46:28  <Ammler> It also failed locally
22:46:34  <Ammler> it works with hg repo
22:47:24  <planetmaker> hm... I'll need to check
22:48:26  <Ammler> and again, you are very welcome to use test things with obs
22:48:34  <Ammler> it is quite easy
22:48:51  <Ammler> shall I make a little wiki about?
22:49:18  <Ammler> the advantage is, you have a very clean build environment
22:49:21  * planetmaker has no idea about obs so far :-)
22:49:30  <Ammler> it does only install the packages you have defined
22:49:57  <Ammler> so if it works there, you can be sure, it works on all those systems
22:50:07  <Ammler> we could also build for debian/ubuntu
22:51:12  <Ammler> you don't need to write the spec files, I have already done that :-)
22:52:27  <planetmaker> hm, it makes perfect sense :-)
22:52:39  <planetmaker> at least that I get to learn to use it.
22:52:58  <Ammler> the only thing I usually need to do, is adding new source package
22:53:03  <Ammler> and changing the version
22:53:18  <Ammler> but the openttdcoop package does that automatically
22:53:28  <planetmaker> hm... I need to put VPATH into Makefile.local, I guess
22:54:48  <Ammler> or you have a typo?
22:54:58  <Ammler> Makefile.def instead .deb?
22:55:43  <Ammler> dep*
22:55:50  <planetmaker> I don't think
22:55:51  <Ammler> ah, you have both
22:55:53  <Ammler> hmm
22:55:57  <planetmaker> both?
22:56:06  <Ammler> there is also a .def file :-)
22:56:06  <planetmaker> .dep and .def
22:56:16  <planetmaker> but not deb
22:58:18  <Ammler> what is VPATH for?
23:04:16  <planetmaker> search path
23:04:46  <planetmaker> if make blub.grf depends on blub.nfo it searches all dirs defined in VPATH for blub.nfo
23:05:37  <planetmaker> anyway... that's for another day something to do. Currently bundle_src is thoroughly broken :-(
23:05:53  <planetmaker> well... or making from that src dir that is ;-)
23:06:48  <Ammler> http://pastebin.ca/1824369
23:08:03  <Ammler> that is in the build chroot
23:16:22  <planetmaker> yes. VPATH and repository dirs should not be empty.
23:16:30  <planetmaker> anyway, good night for now :-)
23:20:17  <Ammler> can I add something to the local makefile?
23:20:22  <Ammler> what?
23:20:29  <Ammler> oh well, good night :-P
23:21:06  <Ammler> those are huge locally :-)
23:24:33  *** ODM has quit IRC

Powered by YARRSTE version: svn-trunk