/srv/irclogs.ubuntu.com/2008/12/31/#ubuntu-devel.txt

jetolehey guys, don't know if this is the right chan to ask but I will ask and you can let me know. I have to PC's each with a macintosh slim keyboard. The keyboard worked fine on both with 8.04. The one where I did a fresh install of 8.10 works fine however the one I did an upgrade to 8.10, the ctrl+alt keys don't seem to work00:04
jetolethis 8.10 x86_64 on both and they are not mac computers. I just like the keyboard so I bought it for both PC00:04
jetolectrl+alt was tested with virtual term (ctrl+alt+f1, f2, etc), X zap (ctrl+alt+backspace) and now with compiz cube rotate ctrl+alt+mouse00:06
jetolethe xorg.conf shows the macintosh keyboard driver and the xev application shows Control_L, Alt_L, Control_R and Alt_R00:07
jetoleany suggestions?00:07
kolbyWhat is the normal way to get source and store code for an ubuntero?01:37
kolbythis is a problem I have not solved.01:38
kolbyis there a standard method?01:38
kolbyI could use bazaar, apt-get, sourceforge, freshmeat... etc.01:38
cjwatsonbazaar (either hosted on bazaar.launchpad.net, or a mirrored branch registered there) is about as standard as we've got01:40
cjwatsonit is not universal01:40
cjwatsonbut it is integrated with launchpad for bug tracking and some other things already, and is likely to get more so01:41
kolbycjwatson, that bothers me...  the filesystem has many standards yet the development method is left to be foggy.01:41
cjwatsonwe're working on improving standardisation of this in Ubuntu by way of Bazaar01:42
cjwatsonbut you asked for the current state01:42
kolbycjwatson, thank you.01:42
cjwatsonin any case, standardisation of the filesystem is much more important than standardisation of source control01:42
cjwatsonand therefore it makes perfect sense that it was done first01:43
kolbyI see01:43
kolbycjwatson, so... I have a directory called ~/Code that I use for storing my branches.  Is there a better way?01:43
ebroderkolby: Don't look for the Right And Only Way to do development - find what works for you01:43
cjwatsonlocal names vary and the details are not important01:44
cjwatsonI use ~/src but who cares what it's called01:44
kolbyebroder, Shouldn't there at least be a marked and titled "good way"01:44
cjwatsonthere are more important things01:44
ebroderkolby: For where you check out your source code? That's totally a personal preference thing01:44
kolbythank you both.01:45
cjwatsonthe layout of your local source code is likely to depend on the types of projects you contribute to01:45
cjwatsonfor example, I think of things largely in terms of distributions and so my local source code is organised in terms of the distribution source package names01:45
cjwatsonsomebody who spent more time maintaining upstream code would not think of things that way and it would make no sense to encourage them to do so01:45
cjwatsone.g. I would generally keep the upstream for an Ubuntu package foobar in ~/src/ubuntu/foobar/upstream/trunk/ or similar01:46
cjwatsonbut the upstream developer would find that bizarre and ~/src/foobar/trunk/ might be more natural01:46
kolbyI want to contribute to Debian...  and learn how to build rpms... and possibly more exotic packages.  I'll do all that once I've mastered ubuntu packaging.01:47
kolbycjwatson, right.01:47
cjwatsonI don't think it's particularly useful for us to spend time trying to standardise this; standardisation is valuable in terms of remote code access (e.g. bazaar.launchpad.net), but for local code layout it would be like fighting a blizzard uphill and wouldn't gain us anything01:47
kolbyMy discomfort originated by having a cluttered source code directory.01:48
kolbyI would use "apt-get source" and get four similarly named package files that have different suffixes.01:48
cjwatsonmy trivial recommendation would be to organise it by source package01:48
ebroderYeah, I agree01:49
cjwatsonmkdir whatever; cd whatever before you apt-get source01:49
kolbycjwatson, that's what I've been doing.01:50
kolbyI think enough people do this to the point where that should be what "apt-get source" does by default.01:51
cjwatsonkolby: maybe if it had started that way, but at this point it would be a hideous pain to change it01:51
* kolby grumbles01:52
kolbywell... I'll fork.  lol.  jk01:52
ebroderHmm...aptitude hasn't grown a source command yet, right? :)01:52
kolbyebroder, nice thinking.01:53
cjwatsonI don't think fiddling about with your directory structure belongs in either apt-get or aptitude. It feels more like the sort of thing that something like wajig would like to do.01:53
cjwatson(not that I use wajig)01:53
kolbyebroder, I'll whine and complain until someone else does the work... ;)01:53
kolby(kidding)01:53
* kolby googles wajig...01:54
cjwatsonyou could apt-cache show it instead01:54
kolbycjwatson, i see *nods*01:54
cjwatson(I have no information on whether it needs to be updated in some way to work with Ubuntu!)01:55
kolbyhmm...01:55
kolbyanother problem I've had is finding functions in header files.  Stop;  Don't laugh at me.01:56
cjwatsonbut honestly, creating directories is hardly rocket science. People who download lots of files and then never do any file management have the same problem, and I don't think it's something the OS needs to solve in that case either.01:56
cjwatsonctags may be your friend01:56
kolbyI want a utility to spit them out "ls" style01:56
kolbyokay01:56
kolbyalright.01:56
* kolby wastes yet another precious irc line in agreement01:57
cjwatsonalso w3mman is rather good at browsing back and forth between manual pages and header files01:57
kolby^^ that sounds cool.01:57
cjwatsonand of course you have things like apropos since functions tend to match a pattern for each library01:58
kolbyis it in the repository?01:58
cjwatsonassuming the library ships manual pages01:58
cjwatsonyes, w3m package. packages.ubuntu.com can answer this class of question01:58
kolbyokay.01:59
kolbydoes it come preinstalled then?  I think Ubuntu ships with w3m01:59
cjwatsonyes, w3m is in ubuntu-standard02:00
cjwatsonthough this has been controversial and might not remain the case forever (if I lose the argument)02:00
kolbyI'm learning how to become more organized.  I'm going to make a tar.gz for all my preferences kept in dot-files.02:01
cjwatsoncheck them into revision control instead02:01
kolbycjwatson, I see...02:01
kolbycjwatson, good plan...02:01
kolbysince I've had so many questions answered today.  I may as well ask another.02:02
kolbywould it be a good idea to have all my media files revision controlled?02:02
cjwatsonI wouldn't; just back up anything you care about losing02:03
ebroderkolby: What's the point? They don't actually change - they're just big binary blobs02:03
kolbyebroder, maybe for playlists that change.02:04
cjwatsonbig binary files are not usually a case that revision control systems spend much time optimising for, so while it might work it would probably not be very comfortable02:04
ebroderkolby: Playlists would make sense02:04
kolbycjwatson, until I build the ultimate git extension...  nah... nvm02:04
kolbyebroder, alright.  *writes another line on todo list*02:05
ebroderkolby: I think git is currently the worst 4th gen DVCS for large binary files02:05
kolbyebroder, there are 4 gens?02:05
ebroderErr, of VCS, rather02:06
kolbyCVS, SVN, git...  (well, bit-something-or-other if you want to count it)02:06
ebroderI think I count the RCS generation, the CVS generation, the SVN generation, and the DVCS generation02:06
kolbyD for distributed.02:06
ebroderRight02:06
ebrodergit, Bazaar, Mercurial...02:06
cjwatsonDVCS is generally divided into arch-era and the modern stuff02:07
kolbyis that really a next generation?  Maybe it's just a design choice.02:07
cjwatsonwhere most of the modern stuff has a sensible UI except for git02:07
ebrodergit, Bazaar, and Mercurial are definitely a generation after svn02:07
kolbyalright.02:07
kolbyI use bzr.02:07
ebroderEh. git is very usable, once you get used to it02:07
cjwatsonkolby: yes, it requires a significantly different underlying architecture02:07
cjwatsonit's a UI you have to adapt to rather than the other way round. I'm not likely to be persuadable on this :)02:08
kolbycjwatson, this shoots down my idea for game-networking that leverages server-client and p2p traffic.02:08
ebrodercjwatson: Not here to get into a flamewar :)02:08
* kolby secretly devises the ultimate opinion.02:09
cjwatson(I object to the apparently popular notion that git might be usable if only I spent time learning to love it. Actually I have spent time with it; my opinion hasn't changed in the slightest. Anyway.)02:09
kolbycjwatson, I retaliate to your completely reasonable conclusions with a very incite-full objection that brings you to question your existence as a whole.02:11
kolby...soo... umm...  burn.  :)02:11
kolbywell, I had fun with that.  Moving on.02:11
=== ScottK3 is now known as ScottK-desktop
ScottK-desktopWe just had a go 'round on this in Debian Python Modules Team and the conclusion was stick with svn for now.02:12
kolbyIf only there were a wikipedia article listing all the flame wars.  Gnome vs KDE vs fluxbox, etc... vs using a gui at all02:12
ion_Vim is better than Grub.02:13
kolbyion_, no firefox is better. ;)02:13
kolbyis there a way to make a package for user's dot-files?  (ex.  .bash_aliases)02:15
kolbyhow _should_ I go about doing this if I wanted to?02:16
kolbyI couldn't find anything on it in packaging articles.02:17
RAOFThere isn't really.  You _could_ do something in a postinst maintainer script, but I'd be amazed if that was accepted into the archive.02:18
kolbyRAOF, this is more for _very_ preference based things (I think the *!#@$* bike shed should be blue)02:19
RAOFkolby: Why aren't there system-wide configuration?02:19
kolbyhe meant "/etc/foobar-rc" stuff right?02:21
Hobbseeyes02:22
terliare there any gnome developers in here?02:23
kolbyterli, I'm using gnome's libxml2.  Does that count?02:25
terlium02:25
kolby:) okay02:26
terliI need to know about gnome-shell/Clutter and if that is going to effect my future dreams of running killall gnome-panel.02:26
shingencan anyone help me out with an initramfs issue with dmraid not running before a call to /dev/mapper is made?03:24
shingenI'd like to modify the initramfs scripts to perform a dmraid -ay before it looks for the /dev/mapper assignment, and if possible, some assistance would be nice... or bumping me to the right channel would be helpful too, as #ubuntu helpers aren't quite at this level...03:26
shingenfor some reason, the dmraid script in /scripts/local-top in the initramfs doesn't get run on time, so my fakeraid partitions aren't detected, thus halting the boot process... while in the initramfs busybox session, after running dmraid -ay on /dev/mapper shows my partitions just fine03:29
ScottKshingen: Is this a server or desktop install?03:32
shingenScottK: desktop, used 8.10 64 bit alternate03:33
ScottKOK.  Well if it was a server you could ask in #ubuntu-server, but it's still a support question and not what this channel is for.03:34
shingenok, I'll try ubuntu-server and tell a white lie, hopefully they're sharper in there :)03:34
shingenthanks03:35
nhandleremgent: pong05:22
=== jcastro_ is now known as jcastro
=== Tweenaks is now known as Treenaks
loolDoes someone happen to know why Ubuntu backports don't have NotAutomatic in their Release files?09:53
persialool, Wouldn't that block upgrades within backports?  I know the backporters do security updates for some of the backports.09:55
loolpersia: It would, but it would also prevent upgrades to all backported packages by default09:56
persiaHrm.  I thought there was another way to reduce the priority, but yes, I can see that.09:59
loolpersia: In both cases, one needs to configure apt; if you fail to configure it in the current case, you get security supported packages but you might get new upstream versions at random times10:03
loolIf however we would switch to NotAutomatic, then you might end up with a vulnerable package which isn't auto upgraded10:03
lool(if you didn't setup apt preferences correctly)10:04
loolThere's a new package which landed recently and allows tracking packages from other repos IIRC10:04
loolOh well /me goes configuring apt10:04
persiaI think the long-term plan is to integrate with that new package, although I'm not sure.10:08
loolWell it could be an apt feature IMO; or we could setup apt preferences for backports before shipping10:10
lool(and dist upgrade them along sources.list)10:10
* lool should probably discuss this with Michael10:10
persiaThat makes sense.  Perhaps it's just that not so many people pay much attention to backports.10:10
loolI had to use them for ... unison   :-/10:11
persiaOr with jdong or ScottK or Mez or ...10:11
* persia hides10:11
loolWe inherit unison from Debian, and the versions in all stable releases were incompatible to each others; we're just fortunate that we have less versions across Ubuntu releases10:12
loolunison 2.9 in sarge, 2.13 in etch, 2.27 in lenny/sid...10:13
persiaWell, unison is incompatible across most unison releases.  Part of the nature of how upstream does things.10:14
loolI think it's quite useful to be able to sync between say a desktop running intrepid and a server running hardy10:15
persiaThat we inherit from Debian is a good thing, although it hasn't always been that way, and between Breezy and Hardy, we had someone watching it.10:15
persiaActually, the decision to not upgrade unison for hardy was to support a number of users who wanted to be able to sync to older releases: maybe we chose the wrong way, but it seemed right at the time.10:15
loolWhat I wanted to point out is that Debian doesn't keep a source package per protocol version, that we inherit, and that is a problem in Debian in Ubuntu -- mind you would Debian have a source per protocol version in a Debian stable release we'd still have a problem in Ubuntu10:16
lool+and10:17
persiaWell, I suppose we could do it that way, although I'm not terribly excited about it.10:19
loolIt would obviously be easier if upstream would simply support a protocol forever or arrange to support multiple versions of the procol  :)10:20
persiaYes, but upstream is exceedingly unlikely to do that: it's a succession of research projects at a university, each release with a new author overseen by the principal investigator.10:21
persiaI suppose it could be recommended, but it requires catching one of the researchers active, and convincing them to put more effort in than their advisor requires, which may be tricky.10:22
loolYeah it didn't seem very likely to me upstream would change in this regard10:26
* lool needs to riun10:26
lool*run10:26
persiaHave fun :)10:26
Babypitti: ping!10:32
=== thunderstruck is now known as gnomefreak
=== jussio1 is now known as jussi01
tjaaltonhow come the adobe-flashplugin isn't built on amd64?11:02
tjaaltonbetter ask adobe I guess..11:04
gnomefreaktjaalton: i thought adobe made a amd64 build11:09
tjaaltongnomefreak: yeah, but apparently it's still beta11:09
gnomefreakah11:10
tjaaltonthe flashplugin-nonfree mess in hardy is pretty bad.. backports has the newest release, which in fact is an older, vulnerable one11:12
tjaalton("newest" meaning the package version)11:12
gnomefreaktjaalton: we backported it way too soon we found out afterwards so name was changed to 10.X.X to 10.x.x-really9.X.X11:15
tjaaltongnomefreak: but it should be updated now to -really9.0.152.0..11:16
tjaaltonsince if you have backports enabled you have a broken flash11:16
tjaaltonsecurity wise11:16
gnomefreaknow that 10 is final we should try it but testing 32 bit worked when i did it to begin with but 64bit failed most of time11:17
tjaaltonbest to just track -updates11:17
gnomefreaktjaalton: our script grabs *tar.gz and adobe names every new version the same name11:17
gnomefreaklast i heard they havent changed it but i heard ubuntu packages were being worked on from adobe11:19
=== asac_ is now known as asac
gnomefreakthat might be a rumor11:19
tjaaltongnomefreak: so you're saying that if I reinstalled flashplugin-nonfree, it would pull the correct, current version?11:20
tjaaltongnomefreak: no, it's the adobe-flashplugin -package I asked about11:20
gnomefreakno we need to update md5sums to match new upstream tarball11:20
tjaaltonok, so I'll do it locally then11:20
gnomefreakthats most likely why its failing (without seeing errors11:20
tjaaltonprobably, but I'm talking about security issues ;)11:21
tjaaltonlunch->11:22
=== lfalavi is now known as DktrKranz
tjaaltonright, no flash9 available anymore11:48
pittifta_: Miriam Ruiz contacted me, she also packaged it; we merged our packaging, and it's now standard debian/-only packaging branch with cdbs+quilt; I'm just uploading it to my PPA14:16
pittiBaby: pong14:17
Baby:)14:17
pittiBaby: oh, Miriam! nice nick :-)14:17
Babythanks! :)14:17
bardyrwtf14:17
sebnerhello to the Debian games lady :)14:18
ScottKlool: https://blueprints.launchpad.net/intrepid-backports/+spec/selective-backport-support is our attempt to address the problem14:18
Baby:)14:18
Babyhi sebner!14:18
BabyI'm having a look at those ttf replacements I wanna make in calibre :)14:18
pittiBaby: great14:19
pittiBaby: did you get along with the bzr stuff? anything major I missed in the packaging merging?14:19
Babyto be honest, I haven't downloaded it yet, I'm making local experiments :)14:20
BabyI added a logo to the Team though :)14:20
pittiyay logos14:20
Babyyup!14:20
Babymaking software in fact is just an excuse for making logos ;)14:21
pittiI'll be online for another hour or so, so catch me if you need help with the bzr stuff14:21
* pitti is utterly bad at graphics design14:21
Babyoki :) thanks!14:22
Babyanyway if I don't solve that ttf stuff soon, I'll upload it to NEW anyway with that quick replacement14:27
pittiBaby: you are trying to get rid of the "Pythonized ttf" stuff and just load the TTFs during runtime, as they are?14:27
pittithat would make most sense to me14:27
Babyyup14:27
Babyexactly that14:28
pittithe package would get smaller, and many people have those fonts already installed anywa14:28
pittiawesome14:28
pittiBaby: what kind of e-book reader do you have, BTW?14:28
Baby50514:28
Baby:)14:28
pittiok, so do I14:28
pittiBaby: then you'll enjoy working hal rules :)14:28
Babythere was someone in linuxchix asking for calibre for ubuntu for an older reader14:29
Babyso I might get feedback from her14:29
pittithe 500?14:29
pittiBaby: in the meantime, do you want me to work on an improved get-orig-source which throws out the TTFs and produces a cleaned orig.tar.gz?14:31
Babyyup, that is also needed14:32
pitti(we'll need that in either case)14:32
* pitti starts fiddling14:32
Babyyou can generate it by just making the suggested replacement by upstream14:32
Babyand then we patch it in the packaging14:32
pittiBaby: I think the orig.tar.gz should just have it thrown out14:33
pittiBaby: symlinking/copying should be done in debian/rules IMHO14:33
pittino need to carry duplicate bits into the orig14:33
BabyI'd go for symlinking14:33
Babyhmm ok14:33
BabyI'd go for symlinking in orig anyway14:33
pittiroger14:33
pittiBaby: (I'm just thinking it's more flexible to do it in debian/rules, then we don't need new orig.tar.gzs when we change the patches/approach)14:35
Babyif we replace it with symlinks the orig can still stand for itself14:35
pittiback in 514:36
Babybut it's OK any way for me :)14:36
pittiBaby: stand for itself> good point; let's do that then14:41
=== hyperair1 is now known as hyperair
=== hyperair1 is now known as hyperair
=== fta_ is now known as fta
=== bluesmoke is now known as Amaranth
=== DrKranz is now known as DktrKranz
=== DrKranz is now known as DktrKranz
barefootanyone know if/when python3-tk is gonna be created/released ?18:32
loolScottK: Aha, thanks18:56
slytherinWhat is the username/password to be used for using email interface of requestsync?19:24
=== azeem_ is now known as azeem
rjune_anybody know how I get a project out of the trash bin on source forge?21:06
UuuDevelopers! Developers! Developers!22:02
UuuHappy new year! :)22:03
=== dwatson is now known as davewatson

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