/srv/irclogs.ubuntu.com/2016/03/02/#ubuntu-desktop.txt

hikikohi06:22
=== maclin1 is now known as maclin
pittiGood morning06:44
hikikohi pitti06:47
om26erHi! is there a way to delay the startup of unity-settings-daemon ? one my system seems to be too fast to wait for themes/font to load correctly. I have to logout and login again to make things correct.07:47
pittiif you log out, u-s-d will be stopped as well, and restarted on login07:47
om26erpitti, hmm, so maybe I am looking at it the wrong way. I am actually trying to workaround bug 136925107:50
ubot5bug 1369251 in unity-settings-daemon (Ubuntu) "unity-settings-daemon doesn't load settings at boot" [Undecided,Confirmed] https://launchpad.net/bugs/136925107:50
om26erif I wait for the password screen like 2-3 seconds and then enter my password, things show up nicely. Its only when I enter my password as soon as lightdm shows that issue happens.07:51
TrevinhoMorning07:54
willcookemorning all08:56
willcookehey Trevinho, good news on the launcher at the bottom then :)08:58
Laneyhi!09:02
willcookemorning laney09:02
Laneywhat is up09:07
=== willcooke_ is now known as willcooke
Laneymhall119: I tried to say in the mail - file a bug, attach the icon, tag it appstream, subscribe ubuntu-sponsors, *send it upstream*09:11
willcookegrumble grumble.  My RasPi 3 order remains "unfulfilled"09:17
davmor2willcooke: steal popey he won't mind09:18
willcooke:)09:18
=== Guest92087 is now known as fredp
=== fredp is now known as Guest53682
seb128good morning desktopers!09:50
willcookehey seb128, how goes?09:50
seb128willcooke, hey, good! how are things here?09:51
willcookeseb128, so far, so good09:51
seb128I had a banck appointment but that took a bit longer than I though09:51
willcookeain't no thing, you were still here when I left last night09:52
willcookeanything more on the PK discussions?09:52
seb128not really no09:54
seb128would be nice to get the update in09:54
seb128but we are not changing our course of action for g-s09:54
willcookecool09:54
willcookemakes sense to me09:54
Laneyhey seb12809:58
Laneyhow was the bank robbing?09:58
Laneyoh shit this isn't our encrypted line09:58
seb128Laney, I told them to stop robbing me!10:02
seb128he needs to ask his boss what they can do10:02
Laneyis this france?10:02
seb128but basically I was complaining about the credit card charges when travelling out of the eurozone10:03
seb128yes10:03
seb128and the cost of the card10:03
Laneyget didrocks on your side10:03
seb128yeah, I told the bank that I would probably get an account at the same online bank if they couldn't make an effort10:04
seb128those bank give you a visa premium for free and charge half of what the normal banks do10:04
seb128that was the banking news of the day ;-)10:04
Laneyyou badass10:05
seb128looks like robert_ancell had another busy g-s day10:06
seb128no love for my gnome-calendar ffe :-/10:07
davmor2seb128: oh is it a bug if so I bet I can make it more popular with one comment10:09
seb128thanks but don't worry, I'm sure it's going to be reviewed ;-)10:11
Trevinhowillcooke:  yeah great news10:22
seb128hey Trevinho!10:26
popeydavmor2: sadly my rpi3 isn't currently being used because we don't have a snappy image for it yet.10:33
* popey glares at ogra_ 10:33
ogra_blame DHL10:33
ogra_:P10:33
ogra_i ordered two yesterday, should be here before the weekend i guess so i can take a look then10:34
ogra_if the changes arent to massive i should have something by monday10:34
davmor2ogra_: pfff poor excuse ;)10:35
ogra_haha10:36
seb128Laney, where is appstream getting it packages descrptions translations from?11:42
seb128is the name/subtitle the info from the .desktop?11:42
seb128Laney, thanks for the calendar ffe11:46
Laneyyeah think so11:48
Laneyor the appdata11:49
seb128Laney, is it likely that it doesn't play well with our build tools stripping the inlines translations from .desktop to use gettext?11:50
seb128I'm trying to figure out why many important pacakges don't have their title translated11:50
seb128eog to take an example11:50
seb128they show translated in the dash and in software-center11:50
Laneyprobably11:50
seb128:-/11:51
LaneyThat's an X- keyword in desktop files isn't it11:51
seb128X-Ubuntu-Gettext-Domain=eog11:51
seb128yeah11:51
LaneySo you have to teach tools about it11:51
seb128what $tools would be?11:52
seb128I've no idea about that stack11:52
seb128are the datas collected on package build time?11:52
Sweet5hark1desrt: https://www.google.com/trends/explore#q=%22move%20to%20canada%22&geo=US&date=today%2012-m&cmpt=q&tz=Etc%2FGMT-1 <- dunno why that happens there in the us, but "blame canada" seems to be replaced by "move to canada" in recent weeks for some reason ...11:52
seb128could we get it from the .desktop before it's stripped down?11:52
seb128Sweet5hark1, lol11:52
seb128Sweet5hark1, Canada is the new U.S ;-)11:53
Laneyhttps://github.com/ximion/appstream-dep11/blob/master/dep11/parsers.py#L7811:54
Laneyso you probably have to load up the langpacks and then try to translate the string using the domain given11:54
seb128thanks11:59
seb128I'm going to start by filling a bug I guess12:00
desrtmoin12:03
willcookehi desrt12:05
Sweet5hark1desrt: moin12:05
desrtgood morning, willcooke, Sweet5hark112:06
willcookeandyrock, are these two fixed now with the changes you made?12:15
willcookehttps://bugs.launchpad.net/ubuntu/+source/hud/+bug/136889612:15
willcookehttps://bugs.launchpad.net/ubuntu/+source/hud/+bug/135413412:15
ubot5Error: Could not gather data from Launchpad for bug #1368896 (https://launchpad.net/bugs/1368896). The error has been logged12:15
willcookefixed/otherwise resolved12:15
ubot5Launchpad bug 1354134 in hud (Ubuntu) "HUD doen't search in bookmarks in firefox anymore" [Undecided,Confirmed]12:15
Sweet5hark1seb128: how do I find out which commit of the xenial seed a daily image was build upon?12:16
seb128hey desrt12:23
seb128Sweet5hark1, no idea, ask on -devel maybe?12:23
Laneyd€$rt12:23
LaneySweet5hark1: look at the manifest12:23
Laneythen you can see which version of ubuntu-desktop it contains12:23
desrtmorning, seb12:25
desrtand £4n3y12:25
andyrock"morning"12:26
andyrockwillcooke: i don't think so12:26
Sweet5hark1Laney: thanks.12:32
LaneySweet5hark1: manifest is on cdimage next to the iso fwiw12:35
Sweet5hark1looking at the manifest, I find ubuntu-desktop 1.348 there, uploaded by robert_ancell on 2016-02-17, so it cant have my changes to the xenial seed at rev. 2418 on 2016-02-22. Seeing that ubuntu-meta 1.348 was released on -02-17 and before that 1.347 was on -02-01, Im having hope this will soon be updated.12:38
LaneySweet5hark1: it would have been usual for the person pushing to also do the meta12:42
LaneyI wouldn't hope, because you could wait an arbitrary length of time :)12:42
* Laney will do that for you12:42
Sweet5hark1Laney: oh, thanks a lot!12:42
Laneyit's mostly just running ./update12:43
Laneyuuuuuuuuuuuuuuuuuh it didn't get the new thing12:45
Laneyprobably needs to be promoted12:46
Laneyseb128: want to promote libreoffice-style-breeze to make Sweet5hark1 happy?12:49
seb128Laney, Sweet5hark1, done12:50
Sweet5hark1seb128: thx12:50
seb128yw!12:50
Laney12:50
=== alan_g is now known as alan_g|lunch
willcookeLaney, I've got the greyscales now too: https://bugs.launchpad.net/ubuntu/+source/ubuntu-wallpapers/+bug/155120813:36
ubot5Launchpad bug 1551208 in ubuntu-wallpapers (Ubuntu) "16.04 Default Wallpaper" [Undecided,Confirmed]13:36
willcookeAssuming it's you that uploads them, do you want the greyscales as separate attachments or the single zip file I got from design?13:36
=== alan_g|lunch is now known as alan_g
Laneywillcooke: umm zip file is a bit less work to download but doesn't really matter14:10
Laneyis there a wallpaper contest?14:10
willcookeLaney, there is, still on going.  nhaines is running it14:16
Laneyok14:17
willcookeLaney, uploaded the greyscale14:18
Laneynot sure about adding the huge ones14:18
Laneydebdiff --auto-ver-sort ♥14:27
mhall119thanks Laney14:50
* desrt steps out to a doctor's appt. back in a bit.15:27
mhall119Laney: is there a machine-parsable version of the data on http://appstream.ubuntu.com/xenial/universe/issues/index.html ?15:57
mhall119I'd like to make a list of apps needing icon work15:58
Laneymhall119: http://appstream.ubuntu.com/hints/15:59
Laneyshould be what you want16:00
mhall119Laney: indeed it is, thanks :)16:03
=== Guest53682 is now known as fredp
=== fredp is now known as Guest90859
seb128mvo, so, need any help with the snappy MIRs?16:39
flexiondotorgTrevinho, I've updated https://code.launchpad.net/~ubuntu-mate-dev/compiz/marco-gsettings/+merge/28288216:51
mvoseb128: https://bugs.launchpad.net/ubuntu/+source/golang-websocket/+bug/1548887 I just need to go over it point by point I think17:04
ubot5Launchpad bug 1548887 in ubuntu-snappy (Ubuntu) "[MIR] ubuntu-snappy" [Undecided,Incomplete]17:04
Sweet5hark1seb128: wrt -breeze -- how is it that 1:5.1.1~rc2-0ubuntu1 says its in universe, but 1:5.1.0-0ubuntu1 says its in main?17:17
Trevinhoflexiondotorg: thanks, I'll check thata17:20
flexiondotorgty17:21
Trevinhoflexiondotorg: alberts' comment seems reasonable, can you fix that too?17:31
flexiondotorgOh, erm.17:32
flexiondotorgI have no idea what it means.17:32
muktupavelsflexiondotorg, add gboolean is_mate_desktop in private struct just like you did with GSettings *marco;17:33
muktupavelsthen you will just use 'priv->is_mate_desktop' not 'priv->marco && is_mate_desktop ()'17:33
flexiondotorgSorry, just seen there is a new comment :-)17:34
seb128Sweet5hark1, hum, because the change-override command act on a pocket and I did it for xenial and forgot there was another version stucked in proposed, I'm going to fix that one17:35
seb128mvo, ok, let me know if I can help you with something17:35
flexiondotorgmuktupavels, Any chance you could help me out here.17:37
flexiondotorgmuktupavels, You've requested something beyond my XP ;-)17:37
muktupavelsflexiondotorg, what help do you want from me?17:38
muktupavelsTrevinho, can you look at my new merge proposals?17:38
Trevinhomuktupavels: yeah, I was monitoring it already... I'll check that in bait17:39
Trevinhobit*17:39
flexiondotorgmuktupavels, Would you be able to refactor my merge proposal to meet your requirements?17:40
muktupavelsflexiondotorg, change should be simple... 1) if (priv->marco && is_mate_desktop ()) will change to if (priv->is_mate_desktop). 2) You add gboolean is_mate_desktop to private struct. 3) you initialize priv->is_mate_desktop in gwd_settings_storage_gsettings_new.17:41
muktupavelsflexiondotorg, I could create branch, but then it will be untested...17:46
Sweet5hark1seb128: ah ok, thanks! I was unsure if that was just something taking time to update or something.17:46
* Sweet5hark1 feels guilty for not checking components earlier.17:46
flexiondotorgmuktupavels, I can build and test. But the modification you're requesting, which might be simple for you, are complicated for me.17:47
seb128Sweet5hark1, I fixed it, should be good after next publisher17:47
Laneyman17:50
Laneyximion: the 'keywords' desktop file parser block hurts my head :-)17:50
ximionLaney: I wash my hands in innocence ^^ - I only touched the .desktop file parser once or twice so far17:54
Laneyheh17:54
ximionI am working on a rewrite of the generator right now, which will also work for more distributions - unfortunately, until it gets to the same level as dep11-generator, we are stuck with Python slowness17:55
muktupavelsflexiondotorg, check gwd-marco-gsettings17:55
ximionI can already read more .deb files much faster, and parsing the TagFile for suites takes just a few seconds17:55
Laneynice17:55
Laneywhat are you using?17:55
flexiondotorgmuktupavels, Thanks. I'll test that tomorrow and get back you :-)17:57
flexiondotorgThanks for helping. I appreciate it.17:57
ximionLaney: right now, D - I felt adventurous ;-)18:03
LaneyO_O18:03
ximionI also did a small Go implementation, but D is much better for that particular task18:03
ximionI am using libappstream's parser internally, and D interfaces well with C and - to some extend - C++ code18:04
ximiongoal is to move all parsing and metadata-generating into libas, and have the generator do the dirty work, which is finding icons, rendering fonts, downloading screenshots, ...18:05
=== alan_g is now known as alan_g|EOD
ximionthat way, I only need to implement a feature once18:05
* Laney goes mad18:06
ximionLaney: I suppose you don't like C? :P18:06
Laneyno, C is great, I'm going mad at this python :)18:07
ximionLaney: ah, that's a relief ^^18:07
Laneyespecially new style glib code18:07
ximionyeah, I got pretty annoyed by Python's multiprocessing - that is a constant source of incredibly hard to debug issues in the generator, and I really want to get rid of it... Both D and Go have excellent ways of handling paralleluzation18:08
ximion*parallelization18:08
* Laney whispers Haskell18:09
ximionLaney: that's something I didn't look at... I might still be a bit traumatized from doing Haskell transitions...18:11
Trevinhomuktupavels: any reason why your MP is still set as "in hold"?18:13
muktupavelsTrevinho, which?18:13
Trevinhomuktupavels: https://code.launchpad.net/~albertsmuktupavels/compiz/gwd-marco-gsettings/+merge/28782018:13
muktupavelsI pushed it as example, it is untested...18:14
ximionLaney: oh, btw, when you're bored: can you sync Limba (pkg:limba) from Debian unstable to universe? That package FTBFSes due to a change in AppStream...18:15
* ximion can also file an FFe / sync request, if that's easier18:15
Laneyximion: probably tomorrow18:16
* Laney is trying to finish this feature, taking longer than expected :)18:17
ximionLaney: which feature?18:19
ximionoh, and I should merge your pull-request, looked fine when I looked at it18:19
Trevinhoflexiondotorg: so, once your MP is ready again ping me... And muktupavels too (a review of you too, would be nice).18:20
ximionI also want to add a status command to appstreamcli, so we can get an overview of the appstream data, and in which shape it is18:20
Laneyximion: do you want to know or do you want it to be a surprise? :)18:24
Laneyaaaaaaaaaaaaaaaaaaaah shit, pickling error18:24
ximionclassic18:27
ximionmaybe we should really use dill...18:27
LaneyI'm adding support for langpack translations18:27
seb128Laney, thanks ;-)18:29
Laneyyou're not welcome :|18:29
Laney:)18:29
seb128!18:29
mvoseb128: feel free to pick any of the tasks in this bug :)18:30
seb128mvo, going to try to do my best to help ;-)18:31
ximionLaney: as in "read .mo files and determine their translation status" or as in "add metainfo for language-packages"?18:32
ximionboth is cool, btw :)18:32
ximion(although the latter isn't even specified yet, I need to come to an agreement with hughsie)18:33
seb128mvo, I guess the team to subscribe is one I'm not admin for that can't be me doing it18:33
Laneyximion: reading mo, yeah18:33
ximionneat - that's the larger task and more work ^^18:34
mhall119Laney: what does 'Ignored': True mean in the AppStream hints yaml file?18:34
ximionmhall119: means we dropped the component because it has fatal flaws18:34
ximion(like violations in against the spec, e.g. a .desktop app without icon)18:35
seb128ximion, Laney, what's the easiest way to determine why a specific package is not listed? e.g emacs, "/usr/share/applications/emacs24.desktop emacs24" ... should that be enough to have it?18:35
mhall119ximion: ok, so if I'm trying ot get people to help fix the spec, those should be targetted?18:35
ximionseb128: go to the issues page of the respective suite/component and search for the package name - if it has hints of type error, it won't be included: http://appstream.ubuntu.com/xenial/universe/issues/index.html18:36
ximionI find http://appstream.ubuntu.com/xenial/universe/issues/emacs24-lucid.html18:36
Laneyit's probably in main18:37
ximionmhall119: jup - ideally point them to the HTMl output, that is easier to read and contains some detailed explanations on what went wrong, while the hints YAML file is rather compact and designed for machine-reading18:37
ximionjup: http://appstream.ubuntu.com/xenial/main/issues/emacs24.html18:37
ximionno icon, as usual18:37
seb128      cid: emacs24.desktop18:38
seb128    tag: gui-app-without-icon18:38
seb128      icon_fname: /usr/share/icons/hicolor/scalable/apps/emacs24.svg18:38
seb128    tag: icon-not-found18:38
seb128ximion, thanks18:38
=== mitya57_ is now known as mitya57
seb128the icon is in the -common18:40
seb128I guess that's a standard/frequent issue18:40
seb128is there any way we could workaround it?18:40
seb128I don't know how the parser works, in what env it tries to look for the icon, but could we make whatever pulls the package try to pull "$name-common" as well?18:42
mhall119ximion: I'm planning on making a separate listing of just package with missing or incorrect icons18:54
ximionseb128: no, that's not feasible - although it should find the icon in -common automatically, if it's listed in Contents.gz18:56
seb128ximion, http://packages.ubuntu.com/search?searchon=contents&keywords=emacs24.svg&mode=exactfilename&suite=xenial&arch=any18:56
seb128unsure why that doesn't work then :-/18:56
mhall119can AppStream use SVG, or do they have to be PNG?18:58
ximionsmalls like a Contents issue...18:58
ximionmhall119: can be SVG, those icons will be automatically rendered to pixmaps on the server18:59
ximionideally, the icons should be - if they are pixmaps - available in at least 64x64px18:59
ximionusr/share/icons/hicolor/scalable/apps/emacs24.svg    editors/emacs24-common19:00
ximionLaney: ^ - could this be a remnant from when the generator was parsing the Contents file improperly?19:00
ximionmaybe trigger emacs24 for reprocessing...19:00
muktupavelsTrevinho, are you ok with removing tests from gwd? I created merge proposal for it.19:01
ximionmhall119: for automatic processing, the YAML is perfect, of course ^^ - for an - also machine-readable - description of the tags, you can look here: https://github.com/ximion/appstream-dep11/blob/master/data/dep11-hints.yml19:10
Laneyximion: worth a try19:32
* Laney has almost won19:32
Laneygoing to send this PR in a second, will do fixes tomorrow19:32
ximionLaney: the D code is insanely fast! I am really excited! and: real threads and no picking ;-)19:33
ximionthe .deb package format is a bit bad for performance - I have to basically exract it to get a file-list, which is and always will be slow19:33
ximionI could extract it into memory, but for large packages this might be an issue, unless you have loads of ram19:34
ximionLaney: thanks for working on this - I postponed this task for a long time ^^19:36
Laneyit's probably not exactly what you have in mind19:36
ximion(it had a high boringness factor, and wasn't visible in any UI for a very long time anyway)19:36
Laneythis is an ubuntu specific thing19:36
ximionah, eww, that's trickier then19:38
Laneywhat is your thing?19:39
ximiondoes the validator validate the result?19:39
Laneyif it validates translations19:39
Laneyit just gets them from mo files as well as inline in the desktop file19:39
mhall119ximion: dpkg --contents extracts the whole thing?19:40
ximionmhall119: need to look at the internals, but yes, it needs to open up the ar file and get to the actual tarball and then read through the whole tarball contents19:42
ximionit won't actually extract the data from the tarball though19:42
ximion(fortunately)19:42
ximionLaney: ah, that's uncontroversial and a neat feature :)19:42
Laneyexcept for the bit where I have to extract all language-pack-* and deal with X-Ubuntu-Gettext-Domain key19:43
Laneybit annoying19:43
* Laney probably finds the last known bug19:44
ximioncan't be uglier than what is already in there19:44
=== marga_ is now known as marga
Laneyok there we go19:57
Laneynight!20:02
mhall119Laney: is there any kind of priority for AppStream apps? There are a lot of them missing icons and it's generally better to present a smaller "wishlist" for people to choose from20:10
willcookedavmor2, can you see if this has regressed for you as well:  https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/149880520:17
ubot5Launchpad bug 1498805 in usb-modeswitch (Ubuntu Wily) "Please merge usb-modeswitch 2.2.5+repack0-1 from Debian unstable/testing - current 2.2.3 version in Wily has regressions with lots of Huawei modems" [High,Fix released]20:17
attenterobert_ancell: any idea if there's a better way to get the deb info besides spawning dpkg-deb? (for the sideloading)20:17
willcookedavidcalle, specifically my ZTE modem is not recognised again20:18
ximionmhall119: priorize by "stuff in main", then go by the popcon values Ubuntu has collected. The higher the popcon index of an app, the more likely it is that people will miss it20:19
ximion(that's what I'd do ;-) )20:19
robert_ancellattente, not off the top of my head, but the dpkg/apt libraries are a bit crap when I've tried to find them20:20
ximionattente: use apt_inst's DebFile and TagFile classes20:20
attenteximion: that's a python module? is there a c library i can interface with?20:21
mhall119ximion: do we have popcon values? IIRC, that service was pretty hit or miss (usually miss)20:22
ximionattente: it's a C++ library20:22
robert_ancellximion, yeah, they all seem to be C++ :(20:22
ximionmhall119: is http://popcon.ubuntu.com/ still alive?20:22
ximionrobert_ancell: shouldn't be a problem though, you can mix C++ and C easily20:23
ximionthat's what we do in PackageKit and also AppStream20:23
ximionhttps://anonscm.debian.org/cgit/apt/apt.git/tree/apt-inst/deb/debfile.h is the thing20:24
ximionif you read the contents via TagFile it's pretty fast20:24
attenteximion: mixing c++ and c in GS?20:26
ximionattente: well, it will work...20:26
ximionI don't think it's the best idea ever, but it will work20:26
mhall119ximion: ah, it is alive (and well,surprisingly)20:27
attentebetween that and parsing the output of dpkg-deb, which is preferable? dpkg-deb does have a show-format option that allows us to specify exactly what fields we want20:27
ximionattente: I think a sane way would be calling "dpkg --field" and parsing the output20:28
ximion(if you want multiple fields)20:28
attenteximion: does that require multiple spawns though?20:29
* attente should just try it20:29
attentedpkg-deb --showformat is a bit better because --field also includes the field name in the output20:32
attentei'm ok with doing it this way since GS is just a front-end for dpkg in this case20:32
ximionattente: as it happens, I need almost the same solution right now on the genertaor side20:35
ximiona benchmark has shown that using the dpkg cli is fast enough, if it's just one call.20:35
attenteximion, yeah, i agree. dpkg-deb doesn't seem too bad for this20:36
ximionfor your case, the overhead of spawning a process should be neglectable20:39
ximionfor my case, I am not yet sure, since I do that 1000 times20:40
willcookegnight all21:48
robert_ancellattente, can you move those non-review changes into another branch?22:59
robert_ancellbranche(s)22:59
=== furkan_ is now known as furkan

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