Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 437750 - net-im/telepathy-logger-0.4.0 and net-im/telepathy-mission-control-5.12.3 should run gnome2_schemas_update
Summary: net-im/telepathy-logger-0.4.0 and net-im/telepathy-mission-control-5.12.3 sho...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-10-09 19:13 UTC by Nikoli
Modified: 2012-10-09 23:45 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for ebuild, works fine for me (telepathy-mission-control-5.12.3.ebuild.patch,694 bytes, patch)
2012-10-09 19:13 UTC, Nikoli
Details | Diff
build.log (telepathy-logger-0.4.0_build.log,9.07 KB, text/plain)
2012-10-09 20:11 UTC, Nikoli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikoli 2012-10-09 19:13:24 UTC
Created attachment 326110 [details, diff]
patch for ebuild, works fine for me

Same problem as in https://bugs.archlinux.org/task/28984

$ ktp-log-viewer
ktp-log-viewer(7684)/kdecore (K*TimeZone*) KSystemTimeZonesPrivate::instance: instance(): ... initialised
ktp-log-viewer(7684)/kdecore (K*TimeZone*) KSystemTimeZonesPrivate::readConfig: readConfig(): local zone= "Europe/Moscow"
ktp-log-viewer(7684)/kdecore (K*TimeZone*) KSystemTimeZonesPrivate::readZoneTab: readZoneTab( "/usr/share/zoneinfo/zone.tab" )

(process:7684): GLib-GIO-ERROR **: Settings schema 'org.freedesktop.Telepathy.Logger' is not installed

ktp-contactlist was not able to start any chat, error was:
org.freedesktop.Telepathy.Error.NotAvailable: Handler no longer available

Attached patch solved problem for me.
Comment 1 Pacho Ramos gentoo-dev 2012-10-09 19:59:27 UTC
That shouldn't occur because that ebuild is already inheritting gnome2.eclass that calls that functions, as it does in my system:
>>> Completed installing telepathy-mission-control-5.12.3 into /var/tmp/portage/net-im/telepathy-mission-control-5.12.3/image/

strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line
   usr/bin/mc-tool
   usr/lib64/libmission-control-plugins.so.0.3.3
   usr/bin/mc-wait-for-name
   usr/libexec/mission-control-5
ecompressdir: bzip2 -9 /usr/share/man

>>> Installing (2 of 2) net-im/telepathy-mission-control-5.12.3
 * Updating desktop mime database ...
 * Updating shared mime info database ...
 * Updating GSettings schemas ...                                                                                                                                [ ok ]
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.
Comment 2 Nikoli 2012-10-09 20:10:23 UTC
I do not know if this bug is in ebuilds or in eclass, but it exists:
# strings /usr/share/glib-2.0/schemas/gschemas.compiled
GVariant
im.telepathy.MissionControl.FromEmpathy
use-conn
(b).path
/org/gnome/empathy/
# equery l net-im/telepathy-logger
 * Searching for telepathy-logger in net-im ...
[IP-] [  ] net-im/telepathy-logger-0.4.0:0

# LANG=C stat /usr/share/glib-2.0/schemas/gschemas.compiled
  File: '/usr/share/glib-2.0/schemas/gschemas.compiled'
  Size: 280             Blocks: 2          IO Block: 1024   regular file
Device: fe02h/65026d    Inode: 1610502     Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2012-10-09 17:33:32.000000000 +0400
Modify: 2012-10-09 17:13:08.000000000 +0400
Change: 2012-10-09 17:13:08.000000000 +0400
 Birth: -
x ~ # qlop -l net-im/telepathy-logger
Tue Oct  9 17:13:13 2012 >>> net-im/telepathy-logger-0.4.0
Comment 3 Nikoli 2012-10-09 20:11:57 UTC
Created attachment 326130 [details]
build.log

Also net-im/telepathy-logger-0.4.0 has missing pkgconfig dep.
Comment 4 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-10-09 23:30:27 UTC
(In reply to comment #1)

telepathy-mission-control-5.12.3 was running gnome2_schemas_update, but telepathy-logger-0.4.0 was not. It has now been fixed in cvs; thanks for reporting.

>  09 Oct 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
>  -telepathy-logger-0.2.12.ebuild, telepathy-logger-0.2.12-r1.ebuild,
>  telepathy-logger-0.4.0.ebuild:
>  Use gnome2.eclass to ensure glib schemas get compiled correctly (bug #437750,
>  thanks to Nikoli). Add missing gtk-doc-am and pkgconfig dependencies. Drop
>  useless USE=doc flag for regenerating documentation. Update license. Drop old.
Comment 5 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-10-09 23:45:36 UTC
Correction: fixed in telepathy-logger-0.4.0-r1, not earlier revisions.

>*telepathy-logger-0.4.0-r1 (09 Oct 2012)
>
>  09 Oct 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
>  telepathy-logger-0.2.12-r1.ebuild, telepathy-logger-0.4.0.ebuild,
>  +telepathy-logger-0.4.0-r1.ebuild:
>  Revert change to postinst behavior in existing ebuild versions. The schema
>  compile fix is now only in 0.4.0-r1.