/srv/irclogs.ubuntu.com/2009/05/18/#ubuntu-devel.txt

Turl1anyone?00:01
calcgrr stupid delta codeshared flights can't do online checkin :\00:06
calcwhich means they are now going to weigh my carryon and ban it to checked baggage :\00:06
Sarvatt04:35
what_ifIs there currently any project to make a ubuntu install on an external HD "highly portable" between machines? ie, copying the PortableSUSE project ?04:55
superm1if you dont need nvidia or fglrx, installs should already be very portable04:56
what_ifsuperm1: was thinking framebuffer...04:59
what_ifsuperm1: opinions on that?04:59
superm1what_if, poor performance likely04:59
superm1but really if you just have a vanilla install onto an external hard drive, not much should stop you from moving it around.  you just wouldn't have whizz bang 3d effects on machines that would need -nvidia or -fglrx05:00
persiaFor such an environment, you might want to use usb-creator to create a persistent live environment.  That way you get HW detection, etc. cleanly.05:01
persiaNo reason that the "USB stick" can't be a 1TB drive, after all.05:01
=== williamd is now known as TURtl3
superm1HW detection is a bit of a misnomer though too. xorg.conf generation used to be the biggest point there, but now that it's a common xorg.conf for different graphics installs, less of an issue05:02
persiasuperm1, Isn't there still libGL diversion though?05:03
superm1persia, that's why i'm saying to stay away from -nvidia and -fglrx05:03
persiaAh :)05:03
superm1no real way to keep a portable install that supports any of the 3 possible libGL's05:03
what_ifsuperm1: I was going to go the framebuffer route simply to keep a static xorg.conf and simplify my life05:04
superm1what_if, take a look at a vanilla 9.04 xorg.conf. you don't need to05:04
slangasekhmm, I think it was kirkland who said he had such a thing, but blessing something that evil would be paradoxical :)05:04
* what_if googles05:04
superm1slangasek, kirkland had a nice way to work with all 3 libGL's at once?05:05
persiaslangasek, That was an internal hard drive that switched between two machines (but yes, it included some diversion-managing scripts)05:05
superm1well there is registering libGL.so.1 with alternatives, which i started to look at what was involved last year05:06
superm1it could potentially make for a nicer experience for bulletproof X, and letting bulletproof X's failsafe session change the alternative to try to get the X session started back up05:07
calcor just get noveau working and get rid of the two binary servers :)05:08
what_ifso, from a feasibility standpoint, does everyone think this is viable? (minus 3D support)05:11
persiawhat_if, Minus 3D support, it's trivial,as long as you only try to support a single architecture.05:11
what_ifpersia: yes, would be X86 only05:12
persiaThen, aside from 3D support, Wacom support, and a few other corner cases, every install is portable.05:12
Sarvatt05:21
what_ifbrb, smoke break / reboot05:22
Sarvatt05:46
Sarvatt05:48
Sarvatt05:49
Sarvatt05:49
ion_!ops05:50
ubottuHelp! bhale, infinity, Hobbsee, jdub, thom, fooishbar, fabbione, mdz, lamont, or Keybuk05:50
=== SEJeff is now known as SEJeff_home
dholbachgood morning06:36
highvoltagegood morning dholbach06:37
dholbachhiya highvoltage06:37
=== _Traxer is now known as Traxer
amitkmorning07:02
=== tkamppeter_ is now known as tkamppeter
hakkavhi08:35
hakkavanyone used  Complete Fair Queueing in kernel development08:35
ograhakkav, thast the default in ubuntu since a few releases already08:37
hakkavah08:37
hakkavalso do you guys use Broadcom b43 driver?08:37
ografor item in "$(find /sys -name *scheduler*)";do cat $item;done08:38
ograto find the currently used scheduler08:38
hakkavsweet thanks08:39
hakkavits been a few yrs08:39
hakkavbtw is the L7 firewall still being licenced?08:39
=== yofel_ is now known as yofel
hakkavogra without the quotes right? " "?08:40
hakkavfor i in $(find /sys -name *scheduler); do cat $i; done ?08:40
ograno08:40
ograjust as it is there08:40
sorenUm.. No?08:40
sorenOh, right.08:40
ograsoren, ??08:40
sorenThat happens to work :)08:40
ograworks here :)08:40
ograi dont paste stuff i didnt check08:40
LordKowi think you are both wrong. should be for banana in $(find /sys -name *scheduler); do cat $banana; done08:41
ograLordKow, damned you got me :P08:41
LordKow;)08:41
hakkavit may go with " "08:41
hakkavno?08:41
sorenIt happens to work, yes.08:41
hakkavLordKow: thats what i did08:41
hakkavfor i in $(find /sys -name *scheduler); do cat $i; done ?08:41
ograboth will work08:41
hakkavah08:42
sorenPutting ogra's quotes there render the for-loop rather useless, though.08:42
sorenAs it'll be treated as a single argument.08:42
LordKowyea then you just got yourself a string08:42
ograyeah08:42
ograindeed08:42
hakkavbut im thiniing08:42
hakkavif one is working with files that have spaces08:42
ograboth wont :)08:43
hakkavlike say blabla - blabla.info08:43
hakkavthat must be enclosed into quotes08:43
hakkavno?08:43
ogracat $(find /sys -name *scheduler*) works as well ...08:43
\shhakkav: if you have those filenames, kick the guy who created them...08:43
hakkavfor each item found in /sys where the name is scheduler, you must cat it08:43
hakkavright?08:43
geofftfind /sys -name "*scheduler*" -print0 | xargs -n1 -0 cat08:43
LordKowhakkav: where the name includes scheduler08:43
LordKow(note wildcards)08:44
hakkav\sh why08:44
hakkavhere I have /sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/queue/scheduler08:44
hakkavLordKow: yeah i know08:45
LordKowif anyone has any thoughts on this matter feel free to type them: which is better (1) /usr/bin/env <interpreter> or (2) /usr/bin/<interpreter>08:45
\shhakkav: because those filenames gave me problems in the past...when it all was "new" ;) and it's too MS...and typically managment like...08:45
hakkavah08:45
hakkavbut there';s no issues08:45
ograit makes your disk wear a tie ?08:45
geofftLordKow: neither, /usr/bin/env LD_LIBRARY_PATH=/home/geofft <interpreter> :)08:45
LordKowhah :P08:46
\shogra: yes ;)08:46
hakkavLordKow: 108:46
LordKowim just thinking of the person who puts python in his home directory, updates the path but wonders why a particular package keeps looking for non-existent python in /usr/bin ;)08:46
ograi doubt its easily possible to have an ubuntu without python in /usr/bin08:47
hakkavdont you think 1 is better?08:47
hakkavyou can define a new environment for the script you are running08:47
LordKowindeed ogra, but it is possible08:48
bigoncould someone accept gst0.10-python in karmic?08:48
ogra(indeed it theoretically is possible, but surely requires a lot of fiddling)08:48
hakkavcant you just define a new env?08:48
geofft#!/usr/bin/env env python, so you can install your own version of env08:48
LordKowheh yea08:49
ograLordKow, you dont need to update the path btw, just create ~/bin, put python in there and re-login08:49
hakkavis what i said08:49
LordKowogra: oh true indeed, never crossed my mind.08:49
ogra~/bin is automatically in your path if it exists08:49
LordKowbut im pretending im john doe who does crazy things08:49
ograpoor john08:49
hakkavBUT08:49
hakkavit's not as safe as we wish, but for development and multiple versions, I find it useful ;-)08:49
hakkavnot safe though08:50
LordKowexactly. and python is one where multiple versions is a very real possibility08:50
ograas any other intrepreter ...08:50
LordKowalternatives *should* be taking care of those symlinks so /usr/bin/python should still work so long as alternatives are updated accordingly08:50
hakkavnothing that the user can modify is safe; if the library path points to rootkits kept by others... or so...08:51
ograwell, if you package the executable, you should make sure to use /usr/bin/python ... simply to make sure you use the python version the package was built against08:51
ograelse the world might break through incompatibilities08:52
hakkavLordKow: yeah08:52
hakkavor what i'd do is08:52
hakkavchange the executable name according to the env.08:52
hakkavis that what ogra is saying?08:53
hakkav(i did it with php) though08:53
hakkavworked08:53
ograif its for your own development and you want to use a newer python, use env ... and put the new python version into 7usr/local08:53
ograor into ~08:53
ogra(with LD_LIBRARY_PATH set for ~/lib though)08:53
LordKowit's for packaging to the masses08:54
ograthen use the full path to the binary08:54
hakkavso change the exe name to the env08:54
ograthat way you make sure john doesnt break it08:54
LordKowyea08:55
LordKowjohn owes me08:55
ograwell, the packaging policy :)08:55
ograi think its written donw there somewhere08:55
hakkavogra08:55
hakkavthe library path has to be the lib you want to use with python08:55
hakkavriht/08:55
hakkavright?08:55
ograright08:55
ograif you use ~ you might get into other weird issues though ... python will want ~/share too etc ... i would use /usr/local if i would want to use a different py version08:56
hakkavif you keep python in /usr/share/backgrounds/python/blah...08:57
hakkavLD_LIBRARY_PATH must be /usr/share/backgrounds/python/blah.../lib (or whatever you indicated when ./configureD ?08:57
hakkavogra: the user's home?08:57
hakkavwouldnt the weird issues depend on the rest of the config and not just ~08:57
hakkavas i understand it some systems forbid to execute things in /home directories08:57
hakkavand i think relative paths are icky for anything08:58
hakkav~ is a relative path08:58
hakkavso folks08:59
persiahakkav, ~ isn't relative to me $(echo ~)08:59
hakkavim sorry?08:59
persia~ expands to an absolute path (by default)09:00
hakkavit's kinda alias?09:00
hakkavits like an alias?09:00
hakkavthat absolute path changes09:01
macoi thought "relative path" always meant "relative [to the current directory] path"09:01
hakkavmaco: relative to the user that is currently executing the script09:01
hakkavbeing careless09:01
persiamaco, Can be relative to some operating directory as well.09:01
maco~ doesn't change when you cd, only when you su09:01
hakkavfrom one user to another09:01
hakkavpersia erm interesting point09:02
ograeverything is relative :P09:03
persiaogra, You win :)09:03
ogranot me ... just quoting freaks with weird haircuts here ;)09:03
hakkaveasy i got a weird one09:04
seb128bigon: accepted09:27
bigonseb128: thx09:34
seb128you're welcome09:35
bigonseb128: could you also sync libchamplain and libchamplain-gtk which are in debian's incoming?09:39
seb128bigon: will sync when they reach the mirrors that's easier and there is no hurry09:40
bigonseb128: ok09:40
=== Tonio__ is now known as Tonio_
=== dpm_ is now known as dpm
vitalodd question mayhaps, but why boost-library 1.35 still, when 1.39 is available since beginning of month, and 1.38 since a tad bit longer?11:12
=== DaIRC28147 is now known as sea4ever
slangasekRiddell, ScottK: Debian has dropped boost1.35, and kde appears to still build-dep on it; is there a transition plan there for karmic?12:48
=== azeem_ is now known as azeem
ScottKslangasek: We need to decide what the target is (and it's more than just KDE).   It'll be 1.37 or 1.38.13:30
* slangasek nods13:30
slangasekboost-defaults seems to be pointing at 1.38, now13:31
ScottKLast I looked 1.38 was still FTBFS in Ubuntu.13:31
slangasekah13:31
ScottKI'd prefer 1.38 since that's what Debian is aiming for for Squeeze, but I don't know of that's Karmic or Karmic +1.13:32
iskywalkerhi!14:12
iskywalkeri am developing a daemon, is there any guidelines? i need mysql already running is there any standard way for that, like gentoo require?14:13
persiaiskywalker, Depends ought to do the latter.  For the former, mostly try not to be root, and avoid non-local sockets by default.14:15
iskywalkerpersia: i was hoping a book or so, i must create a user and run the daemon on that useraccount, like www-data14:18
geofftiskywalker: have you seen the Debian policy manual? It's worth at least skimming14:20
iskywalkerit is huge also :)14:20
=== asac_ is now known as asac
persiaiskywalker, Hrm.  I don't know of one (but I'm not the best person to ask for book recommendations).  I suspect you'll find more success from a more general forum, rather than something so Ubuntu focused (as I expect your daemon ought work for any linux, if not any unix)14:20
geofft:) that's why you skim it and know where things are, and later read the sections that apply to you14:21
iskywalkerpersia: sure, but i would maintain an ubuntu not an general daemon...14:21
Awsoonnbryce: Bug 347569 http://ubuntu.pastebin.com/d58789f5b could I test this patch and if it works just post that to LP or would you prefer a debdiff?15:29
ubottuLaunchpad bug 347569 in xserver-xorg-video-ati "[RS482] glxgears low fps" [Undecided,Confirmed] https://launchpad.net/bugs/34756915:29
AwsoonnThat was not ver gramatical of me... The question is would you prefer a .patch file or a debdiff? The .deb on this bug report made a significant differance in fps for me and I'd love to get this fix out to the greater good.15:32
ion_A debdiff ready to be uploaded is prefered.15:32
Awsoonnalright15:32
ion_You might want to follow the original code’s indentation and bracket style.15:33
AwsoonnI have a question though, how do you magical guys behind the curtian accully 'upload' to -updates? do you just upload teh debdiff and the build system applys it for you or do you need to apply is then submit the whole source deb to the build system?15:35
ion_The uploader will apply the debdiff to the extracted source package, build a new source package and upload that one.15:35
AwsoonnI see, so me doing that extra work making the debdiff really does make a differance then? :)15:36
=== cr3_ is now known as cr3
lesshastehi all16:32
ScottKIf there's a buildd admin about I'd appreciate having qt4-x11 on armel and kdebase-workspace on ia64 and sparc rescored so I'll know in less than several days if I've fixed problems there.16:58
AwsoonnI decided to test radeon rewrite and would love to help out a bit if possible. Who should I ping?17:12
=== CarlFK1 is now known as CarlK
henuxIf I want to integrate my own app to the new notification system in Ubuntu 9.04, which library should I use?17:54
ScottKhenux: #ayatana is probably a better channel for that question.18:03
kirklandsuperm1: slangasek: hmm, not sure if i know what you guys are talking about ... ?18:07
kirklandsuperm1: i have a little hack that generates a md5sum "signature" of my hardware configuration, and the associated xorg18:08
kirklandsuperm1: hardware configuration as shown by lshw18:08
kirklandsuperm1: i do this nasty thing when i travel ... i physically move my hard drive from my 14" thinpad to my 11" thinkpad, for portability purposes18:09
kirklandone of which has an nvidia card, and the other an intel card18:09
kirklandsuperm1: and I have an init script that computes my current hw config, and looks for a "signed" xorg.conf that works with it18:10
AwsoonnBug #126774 would someone please check my statement and provide some guideance18:10
ubottuLaunchpad bug 126774 in apt "package update proceeds without adequate disk space" [Medium,Triaged] https://launchpad.net/bugs/12677418:10
superm1kirkland, what do you do about libGL though?18:20
kirklandsuperm1: that's the sore point ... install/uninstall18:23
superm1kirkland, so there are two solutions that i've been pondering about with that kind of scenario18:24
superm11) alternatives system for libGL.so.118:24
superm12) automatically try to use "nvidia" driver if it's available. there was a patch proposed for this a long time ago, but it didn't make it upstream18:24
superm1and doesn't work as it should currently18:25
ebroderAny dpkg wizards around? I'm having a hard time working out the interactions between python-xen-3.3 and xen-utils-3.3 on upgrades19:24
=== jdong_ is now known as jdong
calchmm i started using ext4 and now i see 4 new bugs fixed in ext4 for 30-rc620:16
* calc wonders if it was a good idea for him to switch to ext4 already20:16
directhexcalc, "no". next question?20:24
calcdirecthex: heh20:28
calcdirecthex: i guess to late for me at least until after UDS20:28
=== crd1b is now known as crdlb
maxbWould there perchance be any cdbs experts around? I'm looking at the current Ubuntu delta in the python-distutils cdbs class, and it looks wrong to me21:01
ScottKmaxb: What specifically?21:02
maxbIt replaces --root=$(cdbs_python_destdir) with --root=$(CURDIR)/debian/$(cdbs_curpkg) which seems a bit wrong, since the first is derived from potentially user-specified variables21:05
ScottKWhat is the default for cdbs_python_destdir?21:06
james_wmaxb: bug 37489221:06
ubottuLaunchpad bug 374892 in cdbs "Use correct root path when converting dist- to site- in arch packages" [High,Fix released] https://launchpad.net/bugs/37489221:06
james_wthat's why the change was made it appears21:06
maxbI see the bug, but I'm not really convinced that the fix is corretc21:07
maxbI'm trying to get mercurial to build with the newer cdbs - which I have, by way of a slightly dodgy hack, but this Ubuntu change has broken it21:08
ScottKSo what would you recommend instead?21:10
maxbWell, the "obvious" solution would be to have fixed the disparity between the upstream rules and the added ubuntu-specific fragment by making the ubuntu-specific fragment conform21:12
maxbI'm just not sure if there are nonobvious problems with that21:12
reecegreetings21:24
reeceI am in the process of creating a front-end UI for espeak and other text-to-speech engines21:24
reeceIs there anywhere that has guidelines / requirements for what a package needs to support21:25
reecein order for it to be included in Ubuntu?21:26
persiareece, How do you mean?  As in which engines, or something else?  The main requirement (aside from packaging details) is that it compile and work on the current development release.21:27
reeceI mean things like being localised (which it isn't at the moment, but I am working on this)21:28
reeceOk, so you just need to provide the details on how to build the package then?21:29
persiareece, Being localised is better, of course :)  But yeah, just have a well-written INSTALL file that explains how to build and install, and make sure your licensing is all correct.21:38
reeceok, cool21:39
reecedoes the standard autotool INSTALL file count? I am using an autogen.sh script to generate the configure, et. al. files21:41
ElbrusAdam Conrad here?21:43
* Elbrus doesn't know his nickname21:43
Elbrusinfinity: ping21:49
Elbrusbugging about bug 225321:50
ubottuLaunchpad bug 2253 in fpc "fpc needs bootstrapping on buildds" [Medium,Fix released] https://launchpad.net/bugs/225321:50
Elbrusor actually bug 6754421:50
ubottuLaunchpad bug 67544 in fpc "PPC build of fpc fails" [Undecided,Confirmed] https://launchpad.net/bugs/6754421:50
=== fta_ is now known as fta
=== williamd is now known as TurtL3
persiareece, As long as the file correctly describes how to do it, it doesn't matter if it's lovingly hand-crafted, or boilerplate.21:53
reeceok, thanks21:54
* maxb determines that the cdbs change is in fact a regression bug, and starts to put together a bug report22:00
macocan someone explain something about uds?22:10
seb128if you don't ask probably not22:10
mbanahi, does anyone use xmonad?22:11
seb128mbana: hi, try #ubuntu22:11
mbanathat won't help.   there's something with the package i believe22:11
seb128so the question you want to ask is not if somebody uses it22:12
mbanai've even tried the official xmonad channel, they don't seem to have a solution either.  i've been told it's packing issue or something wrong with gnome22:12
seb128what about asking your question directly?22:12
mbanabecause if no one responds, there's no point in me asking typing a long a detailed problem ;)?22:12
Tm_Tmbana: perhaps someone reads log and give you the answer later?22:13
seb128and you expect people to reply if you don't ask the question?22:13
Tm_Tthose things happen (;22:13
mbanaok i'll ask on the ML.  which one would you guys recommend?22:13
seb128you could probably have described the bug in the same time you are asking those question and explaining why22:13
seb128what about opening a bug on launchpad?22:14
macombamford, i'm using xmonad22:16
macobah22:16
macombana, ^22:16
mbanamaco: hi there, would you prefer that i file a bug report?22:17
macoi think whomever packages it would prefer a bug report if its actually a bug22:18
Tm_Tor even possible bug22:18
macowhat's going on that you think's a bug or that you'd like to have reproduced?22:18
mbanamaco: https://bugs.launchpad.net/ubuntu/+source/xmonad/+bug/37811122:26
ubottuUbuntu bug 378111 in xmonad "Xmonad refuses to start automatically on 9.04" [Undecided,New]22:27
macowhich desktop environment are you using?22:27
macoit starts automatically in kubuntu just fine22:27
macoand i believe it starts automatically for dtchen in ubuntu22:27
mbanamaco: gnome.  it was working perfectly in intrepid22:27
macowell i had it working in 9.04 w/ gnome then reinstalled and switched to kde and it starts automatically just fine in kde too. dtchen's using it in gnome and it starts automatically for him22:28
macosomething changed in gnome so you have to set it up differently, but it does work22:29
macoi think there are directions on xmonad.org for how to make it work with current gnome22:29
mbanait's interesting to note that i used the jaunty instructions whilst on intrepid and it workedd, here's the link http://www.haskell.org/haskellwiki/Xmonad/Using_xmonad_in_Gnome#Ubuntu_Jaunty22:29
macodid you blast away .gconf?22:30
mbanahell no22:30
macodid you read the paragraph you linked that says intrepid's .gconf isn't compatible with jaunty?22:31
mbanai'm not using .gnomerc.  it seems rather odd that i have to clear out the entire .gconf22:32
macoohok22:32
macoi didnt have to get rid of it...i think i just put the "killall metacity ; xmonad &" in the autostart thing22:32
mbanaautostart thing?22:32
geofftdoes this apply to all window managers set in gconf, not just xmonad?22:37
geofft(that upgrading from Intrepid to Jaunty causes you to lose your WM?)22:38
mbanai can't confirm, i only use xmonad22:42
=== ripps_ is now known as ripps
macombana, system -> preferences -> session -> autostart23:03
mbanamaco: i'm afraid i don't have that.  do you mean startup applications?23:08
macoyes23:08
macoand i'm AFK now23:08
=== zorael is now known as Zorael
=== Arand is now known as ienorand
=== ienorand is now known as arand

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