/srv/irclogs.ubuntu.com/2008/09/04/#ubuntu-mobile.txt

smp4488what are some good books or sites to get into gtk+ and c++00:45
loolGrueMaster: Everything points at 2.6.27; my understanding is that the choice of 2.6.27 isn't challenged anymore for the main distro, and the only thing which could keep linux-lpia for Ubuntu MID to 2.6.26 would be Intel drivers only available for 2.6.26 and not working with .2702:00
GrueMasterI'm working on the video drivers now, but I need a stable build environment.  Moblin doesn't provide that yet.02:01
loolGrueMaster: I hope the psb drivers will work with the in kernel drm in 2.6.26 or 27 though, or add a new drm02:01
loolGrueMaster: Intrepid is decent in my experience, but probably no fglrx02:01
GrueMasterIt currently is the same psb driver we know and love.  My understanding is there is going to be a rewrite, but that is after intrepid.02:02
GrueMasterdon't care about fglrx.02:02
loolI heard from various places that powervr drivers would land near november or end 200802:02
loolI think around beagleboard for one02:03
GrueMasteryes, that's my understanding too.  They want to convert the drivers from the TTM model to the new GEMS model.  02:03
loolGrueMaster: The drm is going to be a serious issue: we don't have the ppa anymore, and we can't up to a git snapshot of libdrm just for psb  :-/02:03
GrueMasterSame as the GMA9xx desktop video.02:03
GrueMasterhmmm.02:04
GrueMasterI'll have to look at the libdrm code and see what is new.  If the new stuff can be isolated to psb, but the library still remain compatible, will that work?02:05
loolGrueMaster:     libdrm | 2.3.0-4ubuntu1 |         hardy | source02:06
lool    libdrm | 2.3.1-0build1 |      intrepid | source02:06
loolGrueMaster: I think psb in kernel and the libdrm we used in hardy builds (in the ppa) was from a quite different upstream tree02:07
loolAnyway, it's pretty clear that we would love if the drivers work with intrepid's libdrm and will see what to do if it doesn't :)02:07
GrueMasterthe kernel drm is definitely different, but I think it it was backwards compatible (until 2.6.27, that is).02:08
GrueMasterI can run tests once I get the kernel modules built.  For now, I need a kernel to build and test with.02:08
loolGrueMaster: You have the details for the ubuntu tree?02:09
GrueMasterI'll look you up again tomorrow.  Wife is telling me it's time to go home.  I don't have the details for Intrepid.02:09
loolGrueMaster: If you're choosing what to base on, you can grab our 2.6.26 tree which is called ubuntu/ubuntu-intrepid on kernel.ubuntu.com02:10
loolErr .2702:10
GrueMasterI've tried updating a hardy build environment, but the kernel is still missing.02:10
loolAnd it's derived from upstream .2702:10
GrueMasterok02:10
loolIt's also time to stop work here02:10
lool'night/evening02:10
GrueMasterSee you.02:10
smp4488what are some good books or sites to get into gtk+ and c++02:53
smp4488cam i use glade while configuring the gui?02:59
persia smp4488: For the first question, #gtk+ is probably a better channel.  The answer to the second question is in the /topic for that channel.03:17
smp4488look im new to this and im sorry if i am asking too many stupid questions03:21
smp4488i think a may have started with something with a steep learning curve03:21
smp4488but im trying03:21
smp4488not to be smart or anything but i dont see anything about glade in the topic, faq, web site03:25
persiasmp4488: There are no stupid questions, just some for which the answer lies elsewhere :)03:25
persiaI thought the /topic for #gtk+ said something like "Do use glade, but don't use glade to generate source code".  Are you sure?03:26
smp4488ooooh03:27
smp4488i thought you meant this channel03:27
smp4488my fault03:27
smp4488im trying to get my head around this gtk+ programming03:28
persiasmp4488: Right.  While this channel may be able to help with some questions specifically about gtk+ programming for something Ubuntu Mobile specific, most of your general questions are probably better answered there.03:29
persiaI don't mean to put you off, it's just that the GTK+ folk know how to program gtk+ better than the Ubuntu Mobile folk.03:30
smp4488gotcha03:31
smp4488i want to help out but it seems like im getting in too deep and not doing much for anyone03:32
smp4488even though i do enjoy it03:32
persiasmp4488: IF you're enjoying it, it's worth doing.  At some point you'll get something together you want to share with everyone else :)03:32
smp4488lol we will see about that03:33
smp4488so is intrepid mobile based on the the new ubuntu beta?03:35
persiaWell, not precisely "based on", but more "part of", and it's an Alpha.  Anyway, I'll explain more when you come back.03:39
=== alek_desk_ is now known as alek_desk
=== alek_desk_ is now known as alek_desk
loolamitk: I checked a patch Colin King wrote for hardy's lum (unionfs) as I was told the fixes to unionfs might be relevant for aufs, but saw not much similarity10:51
amitklool: I have confirmed colin's comment about it happening on the rename syscall. But I also saw it atleast once in the open syscall10:54
loolamitk: So you reproduce with a rename alone10:55
amitklool: scratch the previous comment regarding open, I think that is because I Ctrl-C'ed out of strace. So it is waiting on /var/lib/apt/lists/lock I think10:57
loolamitk: Do you have a test case to reproduce the issue?  Could we poke aufs' upstream with it?10:58
amitklool: testcase is what you guys have. kvm mid.img; apt-get update. Upstream will require more info regarding the fs layout and the union mounts though.10:59
loolamitk: I thought of an upstreamable test case such as test.c doing stat64(), rename() etc.11:00
loolamitk: Are you reproducing on your desktop?11:01
amitklool: kvm11:01
loolAre you reproducing with 2.6.27?  :-)11:01
loologra gets the issue on his 2.6.27 system11:01
loolBut as you say, the union mount args are relevant as the desktop live CD works11:02
ograapparently11:02
amitklool: yes, latest intrepid update on my desktop11:02
ograand you indeed changed my script to use aufs instead of unionfs for te merged mount 11:03
ogra*the11:03
amitkhmm http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg560731.html11:03
ograwow11:04
ograyou are awesome ... i surely googled for 1h yesterday and didnt find anything useful11:04
amitkwell the resolution was not that great. But I have a feeling upstream knowns about similar problems from before.11:06
ograhe talks about an older version of aufs, is ours up to date ?11:07
ograloic said yesterday it wasnt changed at least beween hardy and intrepid11:08
amitki am just checking that11:09
loolI can't download the patch from http://article.gmane.org/gmane.linux.file-systems.aufs.user/129111:09
loolhttp://article.gmane.org/gmane.linux.file-systems.aufs.user/1270 exactly the same bug indeed11:10
amitkdoes anybody remember cvs commadline? :-/ I need to get pserver:anonymous@aufs.cvs.sourceforge.net:/cvsroot/aufs11:12
ograyeah11:12
ogra(no for cvs though, i'm a copy paster for that)11:13
ogra*sigh* ... 11:13
* ogra accidentially installed libgstreamer-dev with the patch ... tons of -dev libs getting installed11:14
loolamitk: cvs login is probably optional11:14
loolamitk: Just cvs co -d:pserver:anonymous@aufs.cvs.sourceforge.net:/cvsroot/aufs co aufs11:15
loolamitk: Sorry, drop the first "co"11:15
loolcvs -d :pserver:anonymous@aufs.cvs.sourceforge.net:/cvsroot/aufs co aufs11:15
* amitk thinks back to when he last used cvs or svn for that matter11:16
lool 64 files changed, 8948 insertions(+), 3369 deletions(-)11:17
lool(between intrepid's aufs and upstream's)11:17
amitkthere are also two versions of aufs in the cvs co11:19
amitki guess aufs25 is the devel version11:19
loolamitk: Not as bad, but almost:  64 files changed, 7344 insertions(+), 2444 deletions(-)11:20
amitktim will be coming online shortly. Let me talk to him about updating. The file we care about most is i_op_ren.c11:22
loolamitk: Are you trying out with tip?11:23
amitklool: yes11:26
amitklool: ogra: this looks to have been fixed upstream from the changelog.11:40
amitk2008072811:40
amitk- bugfix: deadlock in rename(2), au_cp_dirs(), reported by Cyril Brulebois, Klaus Knopper and Martin Tscholak.11:40
* lool forgot that it's cvs annotate, not cvs blame11:42
ograamitk, yay11:42
amitklool: atleast you remember the cvs command :)11:43
persiaamitk: It's something we'll be able to pull for the next intrepid update?  I suspect it's that which is causing most of my failures, as just about everything I'm trying to do involves rename() at some point.11:51
loolStevenK: Actual first error I get is:11:53
loolcc1: warnings being treated as errors11:53
loolmobile-basic-home-plugin.c: In function ‘launch_app’:11:53
loolmobile-basic-home-plugin.c:471: error: ignoring return value of ‘write’, declared with attribute warn_unused_result11:53
amitkpersia: I don't see a reason that we shouldn't update to the latest CVS (barring livecds breaking). Since I didn't do the original aufs inclusion into ubuntu, I'll just ask if it is ok and then push a patch later today.11:54
loolStevenK: The next one is /usr/include/libhildonwm/libhildonwm/hd-wm.h:373: error: inline function ‘hd_wm_reset_last_active_window’ declared but never defined11:56
persiaamitk: Excellent!  Please let me know if you end up pushing it, and I'll construct a new image locally.11:58
persialool: That matches the previous results.  After that, lots more declared and not defined functions, right?11:59
StevenKlool: I have a patch for mobile-basic-home-plugin.c:471.11:59
StevenKlool: inline function is the one I can't solve11:59
loolStevenK: That's a libhildonwm issue; it should list these functions as extern inline in the public headers11:59
loolI solved it with -Wno-error11:59
lool*cough*11:59
loolBut we should report it upstream12:00
loolStevenK: Just append -Wno-error in the debian/rules cflags12:00
loolWell there are none which is against policy since you should build with -O0 or -O2 dependning on debug flag12:00
persialool: It lists them as extern inline in /usr/share/libhildonwm/libhildonwm/hd-wm.h  Is that not the right place?12:01
loolpersia: There's a comment explaining why they do so12:01
loolBasically these are getter/setter to access properties; it's just like a pointer deref, but they wrapped them in functions because of the type checking it provides12:01
lool(mind you if pygobject had been doing the same I wouldn't have chased the x86-64 crasher for a full day)12:02
loolIt's fine when you're within libhildonwm and the function is actually reachable (inline-able)12:02
loolBut no app can use these functions with such headers definitions, unless it has access to a PIC version of the .a file and doesn't mind linking statically12:03
loolWhat upstream should be doing is having some kind of "ifdef WITHIN_HILDONWM_BUILD" flag which sets these functions as extern inline in this case, but regular functions otherwise12:03
loolOr they should be dropping these functions from the API completely12:04
Celtiorehi12:04
loolBut anyway, these API discussions are not very interesting for mbf which doesn't even use these12:04
Celtiorei have question12:04
Celtiorei try to use moblin image creator12:04
loolYou don't really want to build something like mbf with -Werror12:04
lool(imo)12:04
loolThe xulrunner 1.9 macros wont even allow this12:04
Celtiorei do : load project : open file mic.tar.bz2, but whe finish i can't see the project and the target ?12:05
loolStevenK: Does that unstuck you?12:06
loolStevenK: I can provide the write() "fix" if you like12:07
lool(which is absolutely hideous since there's no mean to bubble up the error anyway)12:07
StevenKlool: I have the write fix as a patch12:08
StevenKlool: $(MAKE) CLFAGS += -Wno-error12:08
StevenK?12:08
loolStevenK: http://paste.ubuntu.com/43303/12:08
loolStevenK: I would set the CFLAGS in debian/rules12:09
loolIt should pick them up it seems12:09
loolmobile-basic-flash-0.44/configure.ac:CFLAGS="$CFLAGS -Wall -ansi -Wmissing-prototypes -Wmissing-declarations -Werror -std=c99 -rdynamic"12:10
persiaWouldn't it be better to patch s/-Werror/-Wno-error/ rather than declaring both?12:11
loolStevenK: http://paste.ubuntu.com/43308/12:12
loolStevenK: configure.ac overrides your CFLAGS though; it should really be CFLAGS="blah $CFLAGS" to start with12:12
loolpersia: I think upstream should only use -Werror for their pre-release QA or for dev trees, not in released tarballs12:13
loolpersia: That said, yes it would work to patch the -Werror, but then you end up patching configure.ac and running autoconf while it's way easier to add -Wno-error at the end of the CFLAGS12:13
persialool: I agree, which is part of why I suggest a patch: it's something that legitimately belongs upstream, rather than being a packaging artifact.12:14
loolYou spend your time the way you like, but I wouldn't want to maintain patches I'll have to refresh on every new upstream forever :)12:14
loolStevenK: Anything else I can do for you?12:14
persiaBut we already run ./autogen in the build, so I don't see the extra cost, but it's not important enough to debate :)12:14
loolI'm not sure we always do12:15
loolIf you build on your host once, then the autogen results will be kept in the diff; but right we run autofoo anyway12:15
persialool: But we call ./autogen.sh in the configure-stamp rule ...12:15
loolWhich is IMO a bad idea but heck12:15
persiaYeah, it's debatable, but as long as we're doing it anyway ... :)12:16
loolpersia: Hmm good point, the autogen run is correctly unconditionnal here12:16
loolFor instance there's no autoconf bdep12:16
loolMost bdeps aren't versionned12:16
persiaRIght.  In the conditional case, it might make more sense to hack it in debian/rules.12:17
loolupstream doesn't provide any m4 files, so you need to bdep on all packages providing m4 macros in configure.ac12:17
looletc. etc.12:17
loolautotools during build with such an upstream tarball is a bad idea, but then we don't even have autotoolized released tarballs12:17
loolFor instance there isn't any libgconf2-dev bdep but the build relies on the AM_GCONF_SOURCE_2 macro in /usr/share/aclocal/gconf-2.m412:19
loolI wish Keybuk would read this perfect example of the theory I was explaining some days ago12:19
persialool: I'm actually in the camp of people who believe we should run autofoo at build time.  More than once a simple give-back has solved issues that otherwise would have required source changes.12:27
persiaThat said, it does rely on a well-behaved upstream, or it's just shooting oneself in the foot.12:27
loolI'm in the camp who thinks it's too complex for people to get right12:28
persialool: And I suspect we can both find lots of examples.  In the meantime, I suspect we'd do best to review each package separately, depending on how well upstream did their work, we can do it my way or your way.12:36
loolMeeting in #ubuntu-meeting in 9 mns12:51
Celtiorehi persia i have one question please12:56
Celtiorefor aigo mid p8860 we need to modify the install.cfg and install.sh , if we want to install correctly UME12:58
loolMeeting in #ubuntu-meeting13:01
loolamitk: I git-cvspimpported http://people.ubuntu.com/~lool/git/aufs.git/13:19
loolamitk: 4350c42ec737e187a710e38a4b20dcbe840fe4c4 is more recent than the claimed date of fix, but interesting13:19
amitklool: yeah. it looks like we are going to get the latest aufs into intrepid13:22
loolthe 25 one?13:23
loolamitk: It would be nice to import aufs with history into the ubuntu tree if you ask me  :-)13:23
davidmamitk, can you join us in #ubuntu-meeting?  I'd like to get the status of the  aufs bug into the record13:24
amitklool: yes the 25 one13:24
amitkthat is the one that is supported for kernels 2.6.25+13:25
=== asac_ is now known as asac
Celtiorewhere can i find the last version of idctouch drivers for aigomid p8860 ?16:32
persiaCeltiore: That's a tricky question.  I think you're the only aigomid user who's usually here.  Google might help.16:34
Celtiorethanks you16:35
persiaAlso, you were asking earlier about MIC: if you need to modify install.cfg and install.sh, you can do that once you've created your target, but before you build your image.16:35
persia(I think)16:35
persiaIf that doesn't work, you'll need to grab the MIC source and hack it, or loopmount the result image, and modify it.16:35
Celtioreabout desktop background, with last img , we can easily change it :)16:42
persiaCeltiore: I've not tried on the intrepid dailies, but it's easy on the 8.04.1 image.16:42
Celtioreyes i try the 8.04.116:43
Celtiorebut no network, no touchscreen :(16:43
persiaOh.  Hrm.  That's incredibly annoying.16:45
persiaian_brasil suggested you could import background images to 7.10, but I don't know how.16:45
persiaLet me check the desktop background tool in the dailes quickly: it might be OK, but I know there are a couple bugs that cause the dailes to crash, so they certainly aren't recommended for real use.16:46
Celtioreok16:48
Celtiorebut i have a lot of pictures with the desktop manager background16:48
persiaCeltiore: Actually, there seems to be a bug in the dailes that prevents the changing of the desktop background.17:14
persiaI've no good advice for you today.  Sorry :)17:14
Celtiorenp persia 17:15
=== suihkulo1ki is now known as suihkulokki
loologra: Hey!  Don't know how busy you are: did you send out a list of packages relevant for the mobile seed only?  I still need to do this for mid, and wondered how you compiled yours19:21
=== robr___ is now known as robr
=== robr___ is now known as robr
=== robr____ is now known as robr
smp4488anyone around?23:30

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