/srv/irclogs.ubuntu.com/2009/05/16/#ubuntu-arm.txt

gdonghey guys22:24
gdongyou think it's possible to use this software to develop apps on ubuntu arm? http://www.qtsoftware.com/22:25
persiagdong, Yes, but you'll want to check the version carefully.  I don't know that we're quite in sync with upstream.22:25
persiaSo, depending on which release of Ubuntu you use, you may find yourself a bit out of date (e.g. QT4.5 only came out last week, but the latest release of Ubuntu has an earlier version)22:26
persiaIf you dare to run the release-under-development, this is less true, but that's likely to break many times as it nears release.22:27
gdongi'm planning to use the latest version of ubuntu, 9.04, arm version running on a touch book22:27
gdongso you're saying the older version of QT that shipped with the latest ubuntu should work fine on ubuntu arm on the touchbook?22:28
persiaI believe QT works for ARM, although I haven't tested it myself.22:28
persiaNCommander, You were fiddling with the KDE stuff: should QT just work on ARM in jaunty?22:29
NCommanderpersia, toolchain still hosed last I checked22:29
NCommanderI tried cooking off a patch to work around it, but no success, and my ARM board is packed up for UDS so I'm not going to be able to work on it22:29
persiaNCommander, for jaunty?22:30
NCommanderjaunty?22:30
NCommanderYeah, its only broken on Karmic22:30
persiaSo for jaunty, one should just be able to code against jaunty's QT, and all is golden?22:30
NCommanderYeah, but you'll also want to test your code on non-x86 architectures bceause Qt does some funny stuff with qreals on ARM22:31
persiagdong, There's your answer :)22:31
gdongthank you =]22:31
gdongwhat's qreal?22:31
NCommandergdong, a Qt variable time for real numbers22:32
NCommanderits typedef's for double on non-ARM architectures, but its float on ARM22:32
NCommanderwhich can cause funny problems if your doing odd math operations22:32
gdongi see22:32
StskeepsNCommander: OT, before i continue messing up packages, how do you people deal with native packaging and ubuntu-specific changes? as to have a diff.gz with the native package from debian as orig? <DEBIANVERSION>-<UBUNTUVERSION>?22:33
gdongso you're saying i can develop on windows for the arm based touchbook, but test it on the actual device to ensure that I don't have problems caused by qreal issues on arm?22:34
NCommandergdong, I'm not saying anything. I'm just saying that there can be some oddities when building on ARM due to typedefs magic.22:35
persiaStskeeps, When it's native from Debian, we keep it native, and grumble about it because it makes merging hard.22:35
Stskeepsinteresting22:36
Stskeepsmaemo has some kind of fetish with debian native packages22:36
persiaStskeeps, Indeed.  It's easier to track things that way when one is doing both upstream and packaging.22:37
persiaAnd it reduces test cycles if one doesn't have a clean workflow.22:37
persiaOr if one wants to share each daily build to testers, etc.22:37
persiaEither one ends up with hassles in balancing debian/changelog vs. changelog, or duplication, or some such messiness.22:38
persiaPersonally, I think the best way to handle those is to have simple packaging wrapper around upstream (with no patches), and have a deployment script that just generates a new 1-entry debian/changelog every time it's built.22:39
persiaThen once one does a proper release, one just grabs the orig.tar.gz only from the last source build, and merges that into the mainstream debian package, adding a single additional changelog entry "New Upstream Version"22:39
persiaAlthough such a workflow as ideal is probably obviously biased towards the viewpoint of a distributor, rather than a core developer.22:40
Stskeeps*nod*22:42
gdongbased on this url, http://www.qtsoftware.com/products/platform/qt-for-embedded-linux "Qt builds on the standard API for embedded Linux devices with its own compact window system. Qt-based applications write directly to the Linux framebuffer, eliminating the need for the X11 windowing system."22:46
gdongit seems like i can run ubuntu without the x server, and let qt provide a gui?22:46
persiagdong, Err, kinda.22:47
persiaI don't think that Ubuntu currently ships the QT Embedded framebuffer driver, although I could be wrong.22:47
persiaAlso, most stuff in Ubuntu does depend on X, so unless you're planning a very significant variation from the base, you'd want to use X.22:47
gdongpersia, most of the software in ubuntu i dont' really need22:48
gdongi'm planning to create a very specialized application to run on the arm based touchbook22:48
gdongso i'm thinking even debian for arm, with no X server, running QT handling the gui and application would be sufficient22:49
persiagdong, If you're doing a specialised kiosk application, then you're fine.22:49
gdongi actually need to strip out a lot of things from ubuntu, and to lock down some user priviledges, but i'm just wondering if the proposed setup would work22:50
persiaSome people use Ubuntu as a base (like that), some want to derive or integrate somewhat, and some want to have their stuff work by default.22:50
persiaDepending where along that axis any project falls determines how much it must be bound by the standard practices used in Ubuntu :)22:50
persiaIt ought to work, but it's a good deal of work.22:50
gdongwhich part ought to be a lot of work?22:51
persiaStripping stuff out, making sure that you stub any expected interfaces for the stuff you stripped, making sure the QT framebuffer interface works well, and then building your kiosk environment above that.22:52
persiaGiven the way various bits work, I'd recommend you don't try to strip to less than ubuntu-minimal: once you get lower than that, you start needing to worry about the configure flags for each application.22:53
gdonghm22:54
gdongsince i'm planning to barely use the existing software from a ubuntu install, would it be in my best interest to find a very light weight distro of linux that supports ARM, and then have QT write to the frame buffer and build my application on top of that?22:55
gdongi still require services such as 3g connectivity, wifi, bluetooth, micro sd card, the ability to add peripherals such as usb keys22:56

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