/srv/irclogs.ubuntu.com/2012/03/22/#ubuntu-touch.txt

bregmautouch-geis 2.2.7 just released and uploaded for beta201:40
bregmawft -- libxorg-gtest-dev is not in main???01:48
cndbregma, no, it's not01:52
cndlibgtest-dev isn't in main either01:52
cndyet01:52
cndbregma, doesn't utouch-geis configure and compile and make check properly without xorg-gtest?01:52
cndor did you add it as a build dependency?01:53
cndwhich you shouldn't do because you won't be able to instantiate uinput devices in the buildds01:53
cndor even if you could, I think we shouldn't01:53
bregmathe m4 macro is needed for autoconf to succeed02:00
bregmathe actual library is never used02:01
cndbregma, did you add the -I m4 --install automake option?02:03
cndthat will copy the macro into the m4 directory02:03
bregmabest packaging practices are that if you use the autotools, you should use the dh-autoreconf package to update the configury to the latest versions (config.guess, config.sub, ltmain, libtool, etc)02:03
cndso when you run make dist02:03
cndit will include the script in the tarball02:04
bregmawithout the --install in Makefile.am, you do not need the xorg-gtest build dependency, but because autoreconf pulls in the m4 file with that argument, builds will fail02:04
cndbregma, it won't delete scripts that were copied in there02:04
cndthe tarball has xorg-gtest.m402:05
cndyou run autoreconf02:05
cndit leaves the m4/xorg-gtest.m4 because there's no /usr/share/aclocal/xorg-gtest.m402:05
cndbregma, we shouldn't be running autoreconf in debian/rules unless it's a daily build anyway, but that's a separate issue02:07
bregmaso all your daily builds are failing because they're don't build from tarballs02:11
cndI think I know where the issue lies there02:12
cndI need to double check though02:12
cndbut my first priority right now is getting things in the archive02:12
cndbefore the freeze02:12
bregmaas to not following best packaging practices (using dh-autoreconf), I'll stick to what will get utouch into Debian02:13
bregmathey;re way pickier about these things02:13
cndthey actually run autoreconf for every autotools package?02:13
cndwhy do you need --with-autoreconf if that's the case?02:13
cndwouldn't the default be to use autoreconf, and specify --without-autoreconf if needed02:14
bregmahttp://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.html#bpp-autotools02:14
bregmayou should see how picky they get about the debian/copyright file02:14
bregmaI'll have reupload geis to get rid of the dependency wait02:16
cndbregma, thanks for the autotools pointe02:18
cndr02:18
cndI'll need to revert my changes02:18
cndI assume in practice it was hoped that autoreconf wouldn't be needed by packagers02:18
cndbut it seems like that's not the case :(02:18
bregmaif aclocal.m4 gets checked in to the project it should be OK02:22
cndbregma, btw, you don't need the call to dh_autoreconf inside override_dh_auto_configure02:22
cndbregma, where does aclocal.m4 come from?02:23
bregmayeah, that's probably let over from something else that went wrong02:23
bregmaI'll play with that later02:23
bregmaaclocal02:23
bregmaautoreconf creates aclocal from the m4 files02:23
cndI guess my question is why it needs to be checked in02:24
bregmaby running aclocal02:24
bregmaautogen.sh contains acutreconf -f, which forces aclocal to be regenerated whenever it;s run02:24
cndwhat's in aclocal.m4 that needs to be kept around?02:24
bregmatyping acuity goes downhill the later it gets02:24
cndheh02:24
* cnd is almost done with grail, thank goodness02:25
bregmaaclocal is what gets shipped in the tarball, which is why libxorg-gtest-dev doesn't need to be available in the buildd02:25
bregmaas long as aclocal is not regenerated (autoreconf -f), autoconf should generate a good configure02:25
bregmaI think02:26
cndbregma, I don't have aclocal.m4 checked into grail or frame02:26
cndI don't have anything checked in under m4 I don't think02:26
bregmayes, and the dailies are failing02:26
cndbecause I turned off autoreconf02:26
cndthough the dailies won't have xorg-gtest.m4...02:27
cndhmm02:27
bregmaI'm trying to work out the conflict between the dailies (built as a native package) and the buildds (build as 3.0 (quilt))02:27
bregmaI'm running test pbuilders right now02:28
cndok02:28
cndif it is getting too late, just push it up to the archive02:28
cndwe can fix the dailies tomorrow02:29
bregmauploaded, building, .....02:37
cndlooks good02:43
cnd\o/02:43
cndthanks for taking care of the geis upload bregme02:44
cndbregma even02:44
bregmawe'll need at least one more upload of the entire stack once the licensing situation gets resolved, regardless of bugfixes02:53
bregmaI'm still waiting to hear a legal opinion, but I'm sure that will come02:53
cndyeah02:54
cndI'm sure there will be more uploads02:54
cndbut they can wait till after the beta 2 freeze02:54
cndI'll just be happy when all the unity gestures are working again02:54
cndhopefully dandrader just needs to finish his window hit testing fixes in unity02:56
bregmaI'm looking for a sponsor for the Debian packages, but I probably won't have any success until I corner someone at UDS03:02
bregmagetting into Debian is a goal for Q03:02
cndcool03:13
cndbregma, there may be someone on the ubuntu-x team who can help03:13
cndSarvatt possibly03:14
cndI see him do a lot of debian X work, but I don't know if he's a DD03:14
cndhe's not a core dev yet03:14
cndbut he should be03:14
bregmawe're not in a hurry, I was waiting for grail and geis to stabilize before pushing to get the whole stack in at once03:17
bregmathat may not happen until RC freeze03:17
bregmaso UDS is a good time to tackle it03:18
cndyep03:23
SatorisAnyone else getting this: configure.ac:41: error: possibly undefined macro: AC_MSG_NOTICE09:32
SatorisGoogle seems to indicate an old version of autogarbage, but I have 2.68. It's the default even.09:37
SatorisGeis builds but frame and grail don't.09:38
SatorisFour finger gestures do nothing.09:45
SatorisI feel like drinking massive quantities of whiskey.09:46
bregmaapt-get install libxorg-gtest-dev11:08
SatorisNext up on hunt the proper package: possibly undefined macro: AC_TDD_GCOV11:27
bregmasomething about gcov, no doubt11:27
SatorisOne would imagine.11:28
bregmadefined in a file in the m4 directory of each project11:28
bregmaare you building from bzr or from a tarball?11:28
Satorisbzr11:28
bregmathen that macro should be there11:29
SatorisBut isn't. Or doesn't work at least.11:29
SatorisGrep says it's there.11:29
bregmatry running autoreconf -ifv11:32
bregmayou may have a stale aclocal.m411:32
SatorisOk, now it works.11:33
SatorisI really hate autogarbage. Hate it! Hate it! HATE IT!11:33
SatorisIf it were a person I would gladly go to prison for 10 years if it meant that I could stab it slowly to death.11:34
dandraderSatoris, hate autotools and it will hate you back :)11:41
dandraderdamn, I'm starting to think that the batteries on my Magic Trackpad must already be getting too low. And I just use it for testing purposes.11:43
dandraderHow long does a battery set last for you guys usually, on your trackpad?11:44
Satorisbregma: Geis does not seem to install a pkg-config file any more. Should it?11:46
SatorisNor is there a dbg package.11:47
=== dandrader is now known as dandrader|brb
SatorisHmm, geis does appear in the system pkg-config, but if you install it to a custom prefix, no .pc file shows up there.11:52
=== MacSlow is now known as MacSlow|lunch
=== dandrader|brb is now known as dandrader
bregmaSatoris, I do ./autogen.sh && ./configure --prefix=/usr && make -j5 DESTDIR=/tmp/fargle install and I see the .pc file installed in /tmp/fargle/usr/lib/pkgconfig/libutouch-geis.pc12:56
bregmahow custom is your custom prefix?12:56
bregmaI tried ./configure -prefix=/leg/bone && make install DESTDIR=/tmp/long and I see /tmp/long/leg/bone/lib/pkgconfig/libutouch-geis.pc12:59
SatorisIt's just /home/jpakkane/devroot. There is no pkgconfig subdir in lib.13:08
SatorisI build in a dedicated build directory, though. Could that be an issue?13:09
SatorisSo something like: autogen; mkdir build; cd build; ../configure --prefix=...13:10
=== MacSlow|lunch is now known as MacSlow
bregmanope, that works for me, too, as it does when I type "make distcheck" or when using any debuild variant13:23
SatorisNailed it. It fails if you do 'CC='ccache gcc' CXX='ccache g++' ../configure --prefix=/tmp/abcd'.13:24
SatorisModulo fixing the quotes.13:25
bregmaccache should affect how sed works, I suspect the build is bailing elsewhere13:29
bregmas/should/should not/13:29
Satorislibtool: install: error: cannot install `_geis_bindings.la' to a directory not ending in /usr/local/lib/python2.7/dist-packages13:30
SatorisThere's your problem. But what is causing it?13:31
bregmamy guess is libtool needs regenerating (libtool is definitely broken in many ways) .. I see this if I rerun ./configure with a different --prefix without force-regenerating libtool by running autoreconf -f13:34
SatorisWith a fresh checkout the install works fine.13:37
SatorisLibtool has existed for, what, 15 years already? You'd think that they would have gotten this piece of shit to work by now.13:38
bregmaoh yes, it works much better now, for some definition of work13:40
SatorisA prime example of how the (grammatical) positive case is much stronger than the comparative case.13:41
SatorisA thing may be better than some other thing. It may even be the best. That does not mean that it is good.13:42
SatorisHmm, simply running autoreconf -f is not enough to fix this.13:48
bregmahmm, I look at my history and all I did was run make clean -- libtool is generated by configure, ao the autoreconf is not necessary13:50
bregmayou can't change the prefix between make and install, it just won't work without cleaning and remaking13:51
SatorisI have never done that.13:51
SatorisI always run make after configure, even if I know I'll run make install next.13:52
bregmamake clean?13:52
SatorisNow it installs cleanly.13:53
SatorisThis is a bit like those old text adventure games where you have to guess which word the parser is expecting to get forward.13:54
bregmaexcept it does make complete sense when you think about it13:57
bregmaI guess the problem is that there should be an implicit build dependency of all build files on config.status to force everything to be rebuild if you rerun configure13:57
bregmabut that would probably be overkill, since the rebuild should happen only of the contents of config.status has changed, not the timestamp of the file13:58
SatorisIf only there was a way to detect the change of contents in a file.13:59
bregmamaybe we need a replacement for make14:00
SatorisScons works on MD5 hashes.14:01
SatorisGoogle has a Make replacement called Ninja. It's crazy fast but works on timestamps AFAICT.14:02
Satorisbregma: have you looked at Jose's drag/tap bug? Should they work when subscribed at the same time?14:33
cndI was hoping all the tap fixes would make taps work in unity14:38
cndbut there's still a bug in grail :(14:38
cndit doesn't properly get rid of ended touches14:38
SatorisI put a better test app in the bug.14:43
SatorisThere seem to be several independent bugs in the stack somewhere.14:43
Satoriscnd: since you asked, 4 finger gestures are broken everywhere for me.14:44
cndyeah, I get the same here14:45
cndif you turn on grail debugging you'll see that ended touches are still matched for new gestures14:45
cndand that throws everything off14:45
SatorisPanel swipe works on rare occasions a couple of times in Unity 2D. Then it crashes and stops working.14:46
cnddandrader, with an updated synaptics, grail passes in jenkins again :)15:06
dandradergood15:07
dandraderI didn't have the same luck. That's what I get when the first grail x11 test is run: http://paste.ubuntu.com/895186/15:07
cnddandrader, so X synaptics grabs all devices15:08
cndwhat is happening is that your current X server is grabbing the test device15:09
cndthen the dummy X server is attempting to grab it15:09
cndand it fails15:09
dandraderhmm15:09
cndyou can use an xorg.conf option to inhibit grabbing15:09
cndor you can switch VTs to a console to run your tests15:09
cndor you can try running with the --no-dummy-server option15:09
dandraderfirst option looks better15:10
cndI've been thinking of adding an xorg.conf.d snippet that would install as part of xorg-gtest15:10
cndit would turn off all X synaptics grabbing for devices matching "* (Virtual Test Device)"15:10
cndI just haven't gotten around to it15:10
cnddandrader, you can find the info in "man synaptics"15:11
cndOption "GrabEventDevice" "false"15:11
dandraderthanks. will try that later15:12
cndyou can copy the first snippet in /usr/share/X11/xorg.conf.d/50-synaptics.conf15:13
tvossstill working on atomic/trackpad recognizer, more jenkins fun and simplifications with the job setups, started work on arm chroot15:15
bregmawell on the way with #90473115:16
cndI'm going to tackle as many bugs as possible until unity gestures work15:16
cnddandrader, Satoris: stand ups!15:16
tvosscnd, can we help with testing, information gathering?15:17
dandraderInvestigating why Unity using geisv1 is so buggy while the refactored Unity that uses geisv2 API works fine. I.e. the old Geis API doesn't seem to be working well on top of the new uTouch architecture.15:17
cndin particular, I know of a bug in grail where ended touches aren't "deleted" from the grail state15:17
cndtvoss, not yet15:17
cnddandrader, it could be due to the bug I see and am trying to fix15:17
bregmageis v1 needs to dry p and fade away to nothingness15:18
cndthough I'm surprised it would work any better in geisv215:18
cndbregma, as soon as precise ships, I'm hoping we can deprecate it15:18
cndbregma, dandrader pointed out that our docs don't really show geis v2 vs v1 in the proper light15:18
cndv1 is mentioned as the simple API15:19
cndwhich some might mistake as the route they should take15:19
cndat some point we probably want to clear that up15:19
=== dandrader is now known as dandrader|lunch
SatorisToday: bugs.15:26
cndSatoris, you enlightened me to -Weffc++15:48
cndnow I've lost a half hour fixing frame for all the issues :)15:48
SatorisAre you going to fix the empty virtual destructor thingies or the other ones?15:49
cndI fixed them all15:49
cndthough std::enable_shared_from_this is broken15:49
cndso until libstdc++ is fixed we can't enable -Weffc++ and -Werror at the same time15:50
SatorisI learned about -Weffc++ from bregma when I first filed that bug.15:50
cndahh15:50
cndso I have bregma to thank :)15:50
SatorisI found the bug via Eclipse.15:50
cndok, time for me to get breakfast and do other morning stuff15:51
cndbiab15:51
Satoris-Weffc++ might be a bit overkill for every day usage.15:52
SatorisPersonal opinion: having the elements in the constructor list even though nothing is done with them is superfluous.15:53
bregmabut it's always satisfying making something build cleanly with warnings cranked up to 1115:56
SatorisEven if you have to edit the system headers to get there.15:57
bregmaabsolutely -- been there, done that, too16:06
SatorisBut do you have the T-shirt?16:06
cndI've already had to fix libstdc++ headers for C11 _Generic support this cycle :)16:20
=== dandrader|lunch is now known as dandrader
dandradercnd, is that related to the bug you're working on? http://paste.ubuntu.com/895335/17:01
cnddandrader, probably17:01
cndit's likely trying to get data for a touch that has already ended17:02
dandraderafter those warnings start to appear they won't go away until I restart the app17:03
cndyeah17:06
cndand gestures won't work anymore either17:06
cnddandrader, I'm a bit worried about touch state tracker in general17:07
cndit's getting a bit hairy17:07
cndI had an idea:17:07
cndwe can have a new touch state class that contains the touch id and the start time as members17:08
cndgestures and the recognizer hold std::shared_ptr objects pointing to the touch state class for each touch17:08
cndwhen a touch should be accepted, the AcceptTouch method is called, the touch is accepted, and the touch state internally notes that it is accepted17:09
cndwhen all shared ptrs to the touch state have been released, the destructor is called17:09
cndin the destructor, if the touch has not been accepted already it is rejected17:10
cndthe key here is that the recognizer drops all shared ptrs to the touch state when the touch ends17:10
cndwe should be able to get rid of all recognizer touch sets other than the free_touches_ set17:11
dandradersounds good17:14
* cnd begins coding17:16
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
dandradercnd, was that bug introduced by that commit that added the Gesture::all_touches_ list?17:40
cnddandrader, maybe?17:43
cndbut that change fixes a similar bug17:43
cndactually, no, it wasn't introduced17:43
cndit's always been there17:43
cndbut it might have been laying dormant17:43

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