/srv/irclogs.ubuntu.com/2012/09/08/#ubuntu-unity.txt

gnumdkHello08:56
gnumdkIs there appmenu-gtk or appmenu-qt maintainers in the place ?08:57
popeygnumdk, I don't think so.. wassup?09:04
JohnnyWhoI would like to download the source code of unity, in order to port it to my Gentoo OS.09:15
luke-nzEvening all (11pm NZ time)10:42
luke-nzanyone about?10:43
luke-nzno help required, basically I just wanted to take the opportunity to say how good I think unity is10:44
luke-nzI'll see if I can send an email or something :) Anyway, awesome job!10:45
=== yofel_ is now known as yofel
keturnI'm on a mission.  this g_varint_parse leaks, and I want it not to so I can run indicator-multiload without murdering.  http://bazaar.launchpad.net/~dbusmenu-team/dbusmenu/trunk/view/head:/libdbusmenu-glib/server.c#L97919:31
keturnbut this gvariant stuff is all new since I last worked in glib, and I'm rusty19:32
keturnJKL said some stuff about it in https://bugs.launchpad.net/dbusmenu/+bug/78480819:33
ubot5Ubuntu bug 784808 in libdbusmenu (Ubuntu) "memory leak in menuitem_property_idle" [Undecided,New]19:33
keturnI guess I should try running trunk just in case, I'm using the source package from precise at the moment19:40
mhr3seems fixed in the code you linked to19:55
* keturn tries to figure out which way is up20:12
keturnit looks like trunk0.6 has more patches than trunk20:12
keturnI suspect http://bazaar.launchpad.net/~dbusmenu-team/dbusmenu/trunk.0.6/revision/362.4.120:13
gotwighello, unity-greeter devs here?21:04
gotwigthere were problems with the textcursor for the position in the past21:05
gotwigdo you know which file handles that in unity-greeterß21:05
gotwig*?21:05
keturnposted some notes to https://bugs.launchpad.net/dbusmenu/+bug/956810 .  not sure where to go from there.21:53
ubot5Ubuntu bug 956810 in indicator-multiload (Ubuntu) "Small memory leak (~200 KiB/h)" [Undecided,Confirmed]21:53
bkerensahello22:24
mhall119bkerensa: yo22:24
mhall119so, you need (IIRC) 3 files to make this work properly22:25
mhall119the executable itself, the dbus .service file, and a descriptive .scope file22:25
mhall119bkerensa: this uses davidcalle's utilities lens?22:26
bkerensamhall119: correct22:26
bkerensa:)22:26
bkerensaand if we want Unity on a screen in front of a lot of people in a hour I need to test it22:27
bkerensa:D22:27
mhall119ok, so the .scope file tells Unity the name and dbus connection info22:27
mhall119you need a unique DBusName and DBusPath22:27
bkerensaok22:28
mhall119then the .scope file needs to be copied to /usr/share/lenses/utilities/(whatever).scope22:28
mhall119assuming /usr/share/lenses/utilities/ where david's lens exists22:28
bkerensais not cities-test22:28
bkerensa:)22:28
bkerensais now*22:28
mhall119ok, so having the .scope file in the lens directory tells the lens to use it22:29
mhall119but Unity needs to connect to it over dbus, which means we need to tell dbus how to run it22:29
bkerensamhall119: /usr/share/lenses/utilities/ <-- does not exist22:29
mhall119what is under lenses/ ?22:30
bkerensanothing22:30
mhall119do you have david's lens installed?22:30
bkerensano22:30
bkerensaI just branched his code22:30
mhall119sorry. /usr/share/unity/lenses/22:30
mhall119ok, it'll be easier to install his lens form his .debs, than to manually copy them too22:30
mhall119and you need this working in an hour?22:31
bkerensamhall119: sure :)22:31
bkerensabut he doesnt have a quantal deb22:31
bkerensa:)22:31
mhall119:/22:32
mhall119ok, so what files are in his branch?22:32
bkerensamhall119: .scope etc the whole source package22:32
mhall119a .lens?22:33
bkerensahttp://bazaar.launchpad.net/~davidc3/onehundredscopes/cities-precise/files22:33
bkerensanope22:33
bkerensajust a .scope22:33
bkerensaI modified http://bazaar.launchpad.net/~davidc3/onehundredscopes/cities-precise/view/head:/src/unity-scope-cities22:33
bkerensaso that it uses mapquest instead22:33
bkerensaand changed the icons22:33
mhall119ok, YOU need http://bazaar.launchpad.net/~davidc3/onehundredscopes/utilities-precise/files22:35
mhall119that's the lens your scope will run in22:35
bkerensaok22:35
mhall119you *should* be able to bzr builddeb it, then dpkg -i22:35
mhall119then, really, you can bzr builddeb your modified cities-precise branch too22:37
mhall119undo any changes you made to file names or dbus names22:37
mhall119and it should be installable22:37
bkerensamhall119:  so that branch you shared does not have the source code for the cities portion22:42
mhall119no, lenses and scopes can be in separate code22:42
bkerensaok22:43
mhall119scopes need a lens though22:43
bkerensaso I am now confused22:43
mhall119the scope you're modifying uses the utilities lens22:43
bkerensaok22:43
bkerensaso why do I need utilities source package?22:43
bkerensa:)22:43
mhall119mhr3 made a nice graphic here: http://developer.ubuntu.com/resources/technologies/lenses-and-scopes/22:43
mhall119you need the utilities lens installed, your modified cities scope needs it there22:44
bkerensaah22:44
mhall119Dash->Lens->Scope is how it works22:44
bkerensayes22:44
mhall119for a scope to put results into the dash, it needs a lens22:44
bkerensaSo the scope how do I build it and install it?22:44
mhall119your scope needs the Utilities lens22:44
bkerensaand can I install utilities from ppa?22:44
mhall119https://launchpad.net/~scopes-packagers/+archive/ppa is the ppa22:45
bkerensakk22:46
mhall119https://launchpad.net/~scopes-packagers/+archive/ppa/+files/unity-lens-utilities_0.1-0~7~precise1_all.deb is the deb22:46
bkerensaI am on quantal22:47
bkerensa=/22:47
mhall119then, in your bzr branch for the cities scope, run "debuild -us -uc" and it should make a .deb file in the parent directory22:47
mhall119it should still work22:47
mhall119precise->quantal didn't have an API break that I'm aware of22:47
bkerensamhall119: ok utilities installed... cities built and installed22:52
bkerensaso it should now be in the dash or do I need to restart unity?22:52
mhall119restart unity, alt-f2 then "unity --replace"22:53
bkerensamhall119: I do not see the lens in dash22:55
mhall119ls /usr/share/unity/lenses/utilities/22:55
bkerensayes I see the files22:56
bkerensamhall119:  ^22:57
mhall119both utilities.lens and cities.scope?22:57
bkerensayes22:57
mhall119oh, right, the utilities lens isn't displayed, it works from the Home lens22:58
bkerensamhall119: hmm?22:58
mhall119http://bazaar.launchpad.net/~davidc3/onehundredscopes/utilities-precise/view/head:/utilities.lens has Visible=false22:58
mhall119which means it doesn't display an icon in the lens bar at the bottom22:58
bkerensaAHH IT WORKS22:58
bkerensaok man thanks22:58
bkerensa:)22:58
mhall119\o/22:59
bkerensaIf my hack works I get $600 :)22:59
bkerensalol22:59
bkerensaI didnt add that part in did I :)22:59
mhall119then you owe me a beer22:59
bkerensaand David22:59
bkerensa:D22:59
mhall119:)22:59
mhall119bkerensa: did you know there's a SUMO scope for the Help lens?23:01

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