| *** tpb has joined #tp | 00:00 | |
| *** ChanServ sets mode: +o tpb | 00:00 | |
| jmtan | afternoon mithro | 00:04 | 
|---|---|---|
| mithro | how goes everything? | 00:08 | 
| jmtan | i'm reading up on ubuntu packaging, i watched some packaging tutorial videos on youtube but they are not too informative | 00:10 | 
| mithro | jmtan: oh - don't worry to much about it | 00:13 | 
| mithro | I can show you want you need to do | 00:13 | 
| jmtan | thanks, can ubuntu packages only be made using ubuntu? | 00:14 | 
| mithro | pretty much | 00:15 | 
| jmtan | oh | 00:15 | 
| jmtan | erm, how should i get started on ubuntu packaging? | 00:16 | 
| jmtan | the tutorial mentioned a dh_make script, i'm checking it out now | 00:17 | 
| mithro | packaging a python application is very confusing | 00:19 | 
| mithro | you can't use the normal debs packaging method | 00:20 | 
| mithro | and you can't use the normal python debs packaging method | 00:20 | 
| mithro | take a look at what tpclient-pywx does | 00:20 | 
| mithro | checkout the custom setup.py | 00:21 | 
| jmtan | oh yeah, the tutorial mentions running dh_make and then debuild, it seems oriented towards projects using make | 00:30 | 
| jmtan | what's the normal python debs packaging method? | 00:30 | 
| *** nash has quit IRC | 00:34 | |
| jmtan | the setup.py file says that it's for producing packages on windows and darwin, but for unix it is for installing the application | 00:36 | 
| jmtan | but there is a build-deb.sh as well, is that part of the process? | 00:37 | 
| mithro | jmtan: you will want to create setup.py similar to the tpclient-pywx | 00:49 | 
| mithro | you want it to be able to create py2exe or py2app packages for windows/mac | 00:49 | 
| *** nash has joined #tp | 00:53 | |
| jmtan | oh i see, you were referring to creating packages for win and mac | 00:53 | 
| jmtan | py2app is equivalent to py2exe? | 00:54 | 
| *** JLP has quit IRC | 00:58 | |
| mithro | jmtan: yes | 01:11 | 
| mithro | under windows/mac the app is selfcontained | 01:11 | 
| mithro | (hence an install of the package does not make sense) | 01:11 | 
| jmtan | can setup.py be extended to do deb packaging as well? | 01:13 | 
| jmtan | so the user can compile a deb for himself and use it to install/uninstall the client | 01:14 | 
| mithro | jmtan: that is really not recommended | 01:14 | 
| mithro | the deb packaging system uses setup.py | 01:14 | 
| mithro | (not the other way around) | 01:14 | 
| jmtan | ohh | 01:14 | 
| jmtan | how does tpclient-pywx do deb packaging? | 01:15 | 
| mithro | it doesn't "do" deb packaging | 01:15 | 
| mithro | you do a release | 01:15 | 
| mithro | then bddebian creates a package from the release | 01:15 | 
| mithro | using debian magic | 01:16 | 
| jmtan | a release is an installed version of tpclient? | 01:16 | 
| mithro | * Download tarball from TP site. | 01:17 | 
| mithro | * Rename tarball to meet Debian/Ubuntu naming. | 01:17 | 
| mithro | * First you need to bzip2 -d as Debian doesn't currently handle bzip | 01:17 | 
| mithro | for source files | 01:17 | 
| mithro | * Then gzip it and rename it. | 01:17 | 
| mithro | Example: | 01:17 | 
| mithro | * bzip2 -d tpclient-pywx-0.3.1.1.tar.bz2 | 01:17 | 
| mithro | * gzip -S .gz tpclient-pywx-0.3.1.1.tar | 01:17 | 
| mithro | * mv tpclient-pywx-0.3.1.1.tar.gz tpclient-pywx_0.3.1.1.orig.tar.gz | 01:17 | 
| mithro | * Then just extract the source. | 01:17 | 
| mithro | * Copy in the debian dir. | 01:17 | 
| mithro | * Update the changelog. (Or any other changes required). | 01:17 | 
| mithro | * Typical version would be 0.3.1.1-1 in this case. | 01:17 | 
| mithro | * I have been appending -1tphardy1 or 1tpgutsy1, etc for the | 01:17 | 
| mithro | different distros. | 01:17 | 
| mithro | * Then it's just building the source package. | 01:17 | 
| mithro | * From below the debian run dpkg-buildpackage -S -sa | 01:17 | 
| mithro | Example: | 01:17 | 
| mithro | * /foo/bar/tpclient-pywx-0.3.1.1$ dpkg-buildpackage -S -sa | 01:17 | 
| mithro | that is what bddebian does | 01:18 | 
| jmtan | great, got it | 01:25 | 
| mithro | but you don't have to worry about that part | 01:26 | 
| mithro | that is the debian packagers job | 01:26 | 
| *** nash has quit IRC | 01:26 | |
| *** nash has joined #tp | 01:27 | |
| mithro | just make setup.py install to /usr/local properly and the packagers do the rest | 01:27 | 
| jmtan | that's really a big help, thanks | 01:27 | 
| mithro | IE on gentoo and rpm based systems they will have their own variation of the above | 01:27 | 
| jmtan | how about possible dependencies of the package? do i have to specify them somewhere | 01:28 | 
| mithro | yes - in the readme file :) | 01:29 | 
| mithro | the packagers will convert them to their suitable package names | 01:29 | 
| mithro | if you want to be really helpful you can list the debs names | 01:29 | 
| mithro | but that is not required | 01:29 | 
| jmtan | i think the dependencies are just thousandparsec ones, including python-ogre | 01:31 | 
| mithro | that sounds about right | 01:33 | 
| mithro | I have been thinking | 01:33 | 
| mithro | you should look at ogreal to add some sound support | 01:34 | 
| mithro | you should also look at ogretheora to get the intro moving playing | 01:34 | 
| mithro | low priority of course | 01:35 | 
| mithro | but it would make it feel a little more "professional" | 01:36 | 
| jmtan | ogreal sounds like a good idea, the client ought to have some sound effects too | 01:36 | 
| jmtan | have you tried the pythonogre video demos on linux? | 01:37 | 
| mithro | not yet | 01:37 | 
| mithro | I will in a bit | 01:37 | 
| jmtan | i have some trouble with plugins other than cegui, ogre and ois | 01:37 | 
| mithro | btw - what are you developing on? | 01:37 | 
| jmtan | sometimes on windows and sometimes on linux | 01:38 | 
| mithro | I would personally develop on linux and sometimes test on windows and mca | 01:38 | 
| mithro | s/mca/mac/ | 01:38 | 
| jmtan | you have all three systems? lucky | 01:41 | 
| mithro | I have one system | 01:41 | 
| jmtan | hm my windows com is much faster, which is why i've been gradually using it more | 01:41 | 
| mithro | I triple boot it | 01:41 | 
| shenki | hax! | 01:42 | 
| mithro | for a long time I didn't have access to mac | 01:42 | 
| mithro | shenki: how do you know I don't have a apple hardware? that runs all three :) | 01:42 | 
| mithro | thanks to being all intel now | 01:42 | 
| shenki | mithro: ah, that's right, you had that macbook | 01:42 | 
| shenki | but lenovo is better, right? | 01:43 | 
| mithro | I find Mac the most annoying of all platforms | 01:43 | 
| * shenki hugs his X300 | 01:43 | |
| mithro | shenki: you see the x201? | 01:43 | 
| shenki | mithro: yes. i was jealous for a bit, but then saw it, and it's ugly + fat compared to mine | 01:43 | 
| shenki | also, it has a normal mobile processor, not a low power one. short battery life and burning laps are not for me | 01:44 | 
| mithro | :( | 01:45 | 
| shenki | that said, if i was given one, i woludn't complain | 01:45 | 
| shenki | but i'm still happy with my x300 :) | 01:45 | 
| mithro | I think I have accepted my fate with the vaio | 01:47 | 
| mithro | did I tell you that the power supply died? | 01:47 | 
| mithro | they are going to take two weeks to "fix" it | 01:48 | 
| mithro | so I had to buy a new power supply | 01:48 | 
| shenki | mithro: oh! | 01:59 | 
| shenki | what do you mean, "accepted my fate"? | 01:59 | 
| shenki | you're going to replace, or live with it? | 01:59 | 
| mithro | live with it | 02:00 | 
| shenki | ah | 02:00 | 
| shenki | probably a wise move, w | 02:00 | 
| shenki | wtf... i didn't press enter. fail. | 02:00 | 
| shenki | probably a wise move, with the new aptment and all | 02:00 | 
| mithro | have to buy furniture | 02:01 | 
| shenki | get the tubes connected | 02:01 | 
| mithro | I'm trying | 02:01 | 
| mithro | the phone is connected so getting naked dsl just got complicated | 02:02 | 
| shenki | :) | 02:02 | 
| mithro | (by the previous person) | 02:02 | 
| shenki | oh, fail | 02:02 | 
| mithro | as telstra won't talk to me as I'm not the account holder | 02:02 | 
| shenki | is it easier to go with unnaked? i guess they still have to plug you in at the exchange, so there's still a wait | 02:02 | 
| shenki | mithro: i've found a usb hdd with 'lca-encoding' on it, do you need any of that stuff? | 02:03 | 
| mithro | shenki: not sure | 02:03 | 
| shenki | :/ | 02:03 | 
| shenki | lca-encoding$ ls | 02:03 | 
| shenki | acc_papers.xml avi-splash edls ogg-tmp speex templates | 02:03 | 
| shenki | audio avi-trim Makefile README.txt splashes temp.sh | 02:03 | 
| shenki | audio-level dv mpg resources splash-stamp tmp | 02:03 | 
| shenki | avi-level dv-orig ogg scripts temp vob-to-mpg-tmp | 02:03 | 
| *** DTRemenak|RDP has joined #tp | 02:04 | |
| *** DTRemenak has quit IRC | 02:08 | |
| *** DTRemenak|RDP is now known as DTRemenak | 02:08 | |
| *** nash has quit IRC | 02:42 | |
| *** pluskid has joined #tp | 03:27 | |
| *** pluskid has quit IRC | 04:23 | |
| *** peres has joined #tp | 04:44 | |
| *** jmtan has left #tp | 05:31 | |
| *** jmtan has joined #tp | 06:09 | |
| *** Iwanowitch has joined #tp | 07:30 | |
| *** peres has quit IRC | 07:32 | |
| *** Iwanowitch has quit IRC | 07:56 | |
| *** Iwanowitch has joined #tp | 08:09 | |
| *** peres has joined #tp | 09:24 | |
| *** jmtan has joined #tp | 10:40 | |
| *** Epyon has joined #tp | 10:48 | |
| *** peres has quit IRC | 11:54 | |
| *** sladegen has quit IRC | 13:15 | |
| *** sladegen has joined #tp | 13:15 | |
| *** jphr has joined #tp | 13:19 | |
| CIA-31 | verhoevenv daneel-ai * r1b4dacfc1293 /TODO: Updated TODO | 13:29 | 
| CIA-31 | verhoevenv daneel-ai * rbc412d950fa2 / (rulesystem.py ruletest.py): Changed the way strings in arguments are handled slightly | 13:29 | 
| CIA-31 | verhoevenv daneel-ai * r43f8f918449c / (rulesystem.py ruletest.py): Completed parsing | 13:29 | 
| CIA-31 | verhoevenv daneel-ai * r6f15efcb5911 /ruletest.py: One more test on variables | 13:29 | 
| CIA-31 | verhoevenv daneel-ai * r80e50c141e03 /rulesystem.py: Some silly bugs with rule.extravars fixed | 13:30 | 
| CIA-31 | verhoevenv daneel-ai * re959d01760de / (rulesystem.py ruletest.py): Small test on unicode support | 13:30 | 
| CIA-31 | verhoevenv daneel-ai * r0ccb725d00f5 /rules-rfts: Changed rules to final parsing form | 13:30 | 
| CIA-31 | verhoevenv daneel-ai * ra82de74d1683 /TODO: Removed "parsing" from TODO | 13:30 | 
| CIA-31 | verhoevenv daneel-ai * r183b0c830168 / (rules-rfts rulesystem.py): Allow _ as don't-care parameter | 13:41 | 
| CIA-31 | jezuch libtpproto-java * rc6a748b6515c /src-generated/net/thousandparsec/netlib/tp04/ (85 files): Generated TP04 classes (finally). | 13:46 | 
| CIA-31 | jezuch libtpproto-java * r2a44151f1c08 /build.xml: Added TP04-specific targets and properties to Ant's build.xml. | 13:46 | 
| CIA-31 | jezuch libtpproto-java * r4bc8718faf81 /build.xml: Fixed manifest entries for classfile generator. | 13:46 | 
| *** jmtan has left #tp | 13:49 | |
| *** Erroneous has joined #tp | 14:18 | |
| *** Ohm has quit IRC | 15:19 | |
| *** Iwanowitch has quit IRC | 15:27 | |
| *** Iwanowitch has joined #tp | 15:30 | |
| *** nuleren has joined #tp | 15:49 | |
| CIA-31 | nuleren tpserver-cpp-tae * rd4d0d122ad04 /modules/games/tae/ (fleet.cpp fleet.h): Added functions to fleet object to accomodate combat orders. | 16:05 | 
| CIA-31 | nuleren tpserver-cpp-tae * r03c5ca7ebb59 /modules/games/tae/fleet.cpp: | 16:05 | 
| CIA-31 | Added part of the toggleCombat function that I forgot to add in the | 16:05 | 
| CIA-31 | last commit | 16:05 | 
| *** Iwanowitch has quit IRC | 16:22 | |
| CIA-31 | jphr tpserver-cpp-risk * rf7e9887bc911 /modules/games/risk/thisweek.txt: Updated thisweek.txt | 20:05 | 
| *** jphr has quit IRC | 20:13 | |
| *** nuleren has quit IRC | 21:41 | |
| *** Erroneous has quit IRC | 21:43 | |
| mithro | anyone around this weekend? | 23:38 | 
| *** greywhind has joined #tp | 23:45 | |
| mithro | hey greywhind | 23:56 | 
| greywhind | hi | 23:56 | 
| mithro | how goes life? | 23:57 | 
| greywhind | well, just got back from the Grand Canyon an hour ago or so | 23:58 | 
| mithro | how was it? | 23:59 | 
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!