Friday, 2008-07-18

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
jmtanafternoon mithro00:04
mithrohow goes everything?00:08
jmtani'm reading up on ubuntu packaging, i watched some packaging tutorial videos on youtube but they are not too informative00:10
mithrojmtan: oh - don't worry to much about it00:13
mithroI can show you want you need to do00:13
jmtanthanks, can ubuntu packages only be made using ubuntu?00:14
mithropretty much00:15
jmtanoh00:15
jmtanerm, how should i get started on ubuntu packaging?00:16
jmtanthe tutorial mentioned a dh_make script, i'm checking it out now00:17
mithropackaging a python application is very confusing00:19
mithroyou can't use the normal debs packaging method00:20
mithroand you can't use the normal python debs packaging method00:20
mithrotake a look at what tpclient-pywx does00:20
mithrocheckout the custom setup.py00:21
jmtanoh yeah, the tutorial mentions running dh_make and then debuild, it seems oriented towards projects using make00:30
jmtanwhat's the normal python debs packaging method?00:30
*** nash has quit IRC00:34
jmtanthe setup.py file says that it's for producing packages on windows and darwin, but for unix it is for installing the application00:36
jmtanbut there is a build-deb.sh as well, is that part of the process?00:37
mithrojmtan: you will want to create setup.py similar to the tpclient-pywx00:49
mithroyou want it to be able to create py2exe or py2app packages for windows/mac00:49
*** nash has joined #tp00:53
jmtanoh i see, you were referring to creating packages for win and mac00:53
jmtanpy2app is equivalent to py2exe?00:54
*** JLP has quit IRC00:58
mithrojmtan: yes01:11
mithrounder windows/mac the app is selfcontained01:11
mithro(hence an install of the package does not make sense)01:11
jmtancan setup.py be extended to do deb packaging as well?01:13
jmtanso the user can compile a deb for himself and use it to install/uninstall the client01:14
mithrojmtan: that is really not recommended01:14
mithrothe deb packaging system uses setup.py01:14
mithro(not the other way around)01:14
jmtanohh01:14
jmtanhow does tpclient-pywx do deb packaging?01:15
mithroit doesn't "do" deb packaging01:15
mithroyou do a release01:15
mithrothen bddebian creates a package from the release01:15
mithrousing debian magic01:16
jmtana 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 bzip01:17
mithrofor source files01:17
mithro    * Then gzip it and rename it.01:17
mithro    Example:01:17
mithro      * bzip2 -d tpclient-pywx-0.3.1.1.tar.bz201:17
mithro      * gzip -S .gz tpclient-pywx-0.3.1.1.tar01:17
mithro      * mv tpclient-pywx-0.3.1.1.tar.gz tpclient-pywx_0.3.1.1.orig.tar.gz01: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 the01:17
mithrodifferent distros.01:17
mithro*  Then it's just building the source package.01:17
mithro      * From below the debian run dpkg-buildpackage -S -sa01:17
mithro    Example:01:17
mithro      * /foo/bar/tpclient-pywx-0.3.1.1$ dpkg-buildpackage -S -sa01:17
mithrothat is what bddebian does01:18
jmtangreat, got it01:25
mithrobut you don't have to worry about that part01:26
mithrothat is the debian packagers job01:26
*** nash has quit IRC01:26
*** nash has joined #tp01:27
mithrojust make setup.py install to /usr/local properly and the packagers do the rest01:27
jmtanthat's really a big help, thanks01:27
mithroIE on gentoo and rpm based systems they will have their own variation of the above01:27
jmtanhow about possible dependencies of the package? do i have to specify them somewhere01:28
mithroyes - in the readme file :)01:29
mithrothe packagers will convert them to their suitable package names01:29
mithroif you want to be really helpful you can list the debs names01:29
mithrobut that is not required01:29
jmtani think the dependencies are just thousandparsec ones, including python-ogre01:31
mithrothat sounds about right01:33
mithroI have been thinking01:33
mithroyou should look at ogreal to add some sound support01:34
mithroyou should also look at ogretheora to get the intro moving playing01:34
mithrolow priority of course01:35
mithrobut it would make it feel a little more "professional"01:36
jmtanogreal sounds like a good idea, the client ought to have some sound effects too01:36
jmtanhave you tried the pythonogre video demos on linux?01:37
mithronot yet01:37
mithroI will in a bit01:37
jmtani have some trouble with plugins other than cegui, ogre and ois01:37
mithrobtw - what are you developing on?01:37
jmtansometimes on windows and sometimes on linux01:38
mithroI would personally develop on linux and sometimes test on windows and mca01:38
mithros/mca/mac/01:38
jmtanyou have all three systems? lucky01:41
mithroI have one system01:41
jmtanhm my windows com is much faster, which is why i've been gradually using it more01:41
mithroI triple boot it01:41
shenkihax!01:42
mithrofor a long time I didn't have access to mac01:42
mithroshenki: how do you know I don't have a apple hardware? that runs all three :)01:42
mithrothanks to being all intel now01:42
shenkimithro: ah, that's right, you had that macbook01:42
shenkibut lenovo is better, right?01:43
mithroI find Mac the most annoying of all platforms01:43
* shenki hugs his X30001:43
mithroshenki: you see the x201?01:43
shenkimithro: yes. i was jealous for a bit, but then saw it, and it's ugly + fat compared to mine01:43
shenkialso, it has a normal mobile processor, not a low power one. short battery life and burning laps are not for me01:44
mithro:(01:45
shenkithat said, if i was given one, i woludn't complain01:45
shenkibut i'm still happy with my x300 :)01:45
mithroI think I have accepted my fate with the vaio01:47
mithrodid I tell you that the power supply died?01:47
mithrothey are going to take two weeks to "fix" it01:48
mithroso I had to buy a new power supply01:48
shenkimithro: oh!01:59
shenkiwhat do you mean, "accepted my fate"?01:59
shenkiyou're going to replace, or live with it?01:59
mithrolive with it02:00
shenkiah02:00
shenkiprobably a wise move, w02:00
shenkiwtf... i didn't press enter. fail.02:00
shenkiprobably a wise move, with the new aptment and all02:00
mithrohave to buy furniture02:01
shenkiget the tubes connected02:01
mithroI'm trying02:01
mithrothe phone is connected so getting naked dsl just got complicated02:02
shenki:)02:02
mithro(by the previous person)02:02
shenkioh, fail02:02
mithroas telstra won't talk to me as I'm not the account holder02:02
shenkiis it easier to go with unnaked? i guess they still have to plug you in at the exchange, so there's still a wait02:02
shenkimithro: i've found a usb hdd with 'lca-encoding' on it, do you need any of that stuff?02:03
mithroshenki: not sure02:03
shenki:/02:03
shenkilca-encoding$ ls02:03
shenkiacc_papers.xml  avi-splash  edls      ogg-tmp     speex         templates02:03
shenkiaudio           avi-trim    Makefile  README.txt  splashes      temp.sh02:03
shenkiaudio-level     dv          mpg       resources   splash-stamp  tmp02:03
shenkiavi-level       dv-orig     ogg       scripts     temp          vob-to-mpg-tmp02:03
*** DTRemenak|RDP has joined #tp02:04
*** DTRemenak has quit IRC02:08
*** DTRemenak|RDP is now known as DTRemenak02:08
*** nash has quit IRC02:42
*** pluskid has joined #tp03:27
*** pluskid has quit IRC04:23
*** peres has joined #tp04:44
*** jmtan has left #tp05:31
*** jmtan has joined #tp06:09
*** Iwanowitch has joined #tp07:30
*** peres has quit IRC07:32
*** Iwanowitch has quit IRC07:56
*** Iwanowitch has joined #tp08:09
*** peres has joined #tp09:24
*** jmtan has joined #tp10:40
*** Epyon has joined #tp10:48
*** peres has quit IRC11:54
*** sladegen has quit IRC13:15
*** sladegen has joined #tp13:15
*** jphr has joined #tp13:19
CIA-31verhoevenv daneel-ai * r1b4dacfc1293 /TODO: Updated TODO13:29
CIA-31verhoevenv daneel-ai * rbc412d950fa2 / (rulesystem.py ruletest.py): Changed the way strings in arguments are handled slightly13:29
CIA-31verhoevenv daneel-ai * r43f8f918449c / (rulesystem.py ruletest.py): Completed parsing13:29
CIA-31verhoevenv daneel-ai * r6f15efcb5911 /ruletest.py: One more test on variables13:29
CIA-31verhoevenv daneel-ai * r80e50c141e03 /rulesystem.py: Some silly bugs with rule.extravars fixed13:30
CIA-31verhoevenv daneel-ai * re959d01760de / (rulesystem.py ruletest.py): Small test on unicode support13:30
CIA-31verhoevenv daneel-ai * r0ccb725d00f5 /rules-rfts: Changed rules to final parsing form13:30
CIA-31verhoevenv daneel-ai * ra82de74d1683 /TODO: Removed "parsing" from TODO13:30
CIA-31verhoevenv daneel-ai * r183b0c830168 / (rules-rfts rulesystem.py): Allow _ as don't-care parameter13:41
CIA-31jezuch libtpproto-java * rc6a748b6515c /src-generated/net/thousandparsec/netlib/tp04/ (85 files): Generated TP04 classes (finally).13:46
CIA-31jezuch libtpproto-java * r2a44151f1c08 /build.xml: Added TP04-specific targets and properties to Ant's build.xml.13:46
CIA-31jezuch libtpproto-java * r4bc8718faf81 /build.xml: Fixed manifest entries for classfile generator.13:46
*** jmtan has left #tp13:49
*** Erroneous has joined #tp14:18
*** Ohm has quit IRC15:19
*** Iwanowitch has quit IRC15:27
*** Iwanowitch has joined #tp15:30
*** nuleren has joined #tp15:49
CIA-31nuleren tpserver-cpp-tae * rd4d0d122ad04 /modules/games/tae/ (fleet.cpp fleet.h): Added functions to fleet object to accomodate combat orders.16:05
CIA-31nuleren tpserver-cpp-tae * r03c5ca7ebb59 /modules/games/tae/fleet.cpp:16:05
CIA-31Added part of the toggleCombat function that I forgot to add in the16:05
CIA-31last commit16:05
*** Iwanowitch has quit IRC16:22
CIA-31jphr tpserver-cpp-risk * rf7e9887bc911 /modules/games/risk/thisweek.txt: Updated thisweek.txt20:05
*** jphr has quit IRC20:13
*** nuleren has quit IRC21:41
*** Erroneous has quit IRC21:43
mithroanyone around this weekend?23:38
*** greywhind has joined #tp23:45
mithrohey greywhind23:56
greywhindhi23:56
mithrohow goes life?23:57
greywhindwell, just got back from the Grand Canyon an hour ago or so23:58
mithrohow was it?23:59

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!