Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 326713 - x11-misc/xpad-4.0 starts with "GLib-GObject-WARNING"; xpad notes are blank/not shown
Summary: x11-misc/xpad-4.0 starts with "GLib-GObject-WARNING"; xpad notes are blank/no...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2010-07-03 07:14 UTC by sap
Modified: 2010-07-18 11:08 UTC (History)
1 user (show)

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


Attachments
patch (patch.txt,555 bytes, patch)
2010-07-03 07:22 UTC, sap
Details | Diff
patch for xpad-4.0.ebuild (xpad-4.0-ebuild.patch,707 bytes, patch)
2010-07-16 06:39 UTC, Arthur Spitzer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description sap 2010-07-03 07:14:53 UTC
My xpad notes are all shown in the right size, but the content of the windows are all grey and no content is displayed. The error message shown if started from a terminal:
GLib-GObject-WARNING **: IA__g_object_set_valist: construct property "type" for object `XpadPad' can't be set after construction

Data is not lost and can be found in ~/.config/xpad/ 

Reproducible: Always
Comment 1 sap 2010-07-03 07:22:50 UTC
Created attachment 237343 [details, diff]
patch
Comment 2 sap 2010-07-03 07:23:13 UTC
The problem might originally be related to a gtk update, but I'm not really sure.
I found a solution in a archlinux forum and in the launchpad bug reports. I attached the patch from https://bugs.launchpad.net/xpad/+bug/591978
How to fix:
1. make a local overlay for x11-misc/xpad
(I followed http://en.gentoo-wiki.com/wiki/Overlay#Local_Overlays )
2. apply the attached patch
(I followed http://devmanual.gentoo.org/ebuild-writing/functions/src_unpack/epatch/index.html )
3. re-emerge 

Comment 3 Mike Gilbert gentoo-dev 2010-07-07 01:56:13 UTC
Why did you change this to RESOLVED FIXED?  You should reopen it so that a developer will actually look at this and possibly commit the fix.

I can confirm the same problem on my system (with GTK 2.20.1). The attached patch does seem to resolve it.
Comment 4 sap 2010-07-07 05:12:31 UTC
Sorry, I didn't really think about it. Your absolutly right; I guess I set it to resolved since there is a patch, but the original package is still broken.
Thanks for the hint :)
Comment 5 Arthur Spitzer 2010-07-16 06:39:56 UTC
Created attachment 238995 [details, diff]
patch for xpad-4.0.ebuild

Hi,
I applied the above patch here, and it works fine. I'll attached a patch against the current 4.0 ebuild which is in portage, with the above patch renamed to 'fix-gobject.patch'. It would be nice to have this in the tree. Thanks.
Comment 6 Mike Gilbert gentoo-dev 2010-07-16 06:44:47 UTC
(In reply to comment #5)

In EAPI 2, patches should be applies in src_prepare().
Comment 7 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-07-18 11:08:58 UTC
Thanks, fixed in tree:

+  18 Jul 2010; Kacper Kowalik <xarthisius@gentoo.org> -xpad-2.14.ebuild,
+  -xpad-3.0.ebuild, xpad-4.0.ebuild:
+  Fix bug 326713. Thanks to sap@ausdruckswelt.de for the report and patch.
+  Remove old.
+