Re: Tasktray is Broken In Karmic
Tony Houghton <[email protected]>
| Newsgroups | gmane.comp.desktop.rox.user |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 20 Oct 2009 18:26:28 +0100 Tony Houghton <[email protected]> wrote: > On Tue, 20 Oct 2009 15:17:14 +0100 > Mark Williams <[email protected]> wrote: > > > I'd post the bug report except this bleeding pop up window stops me from > > doing so. > > Oh no, they've gone and let that bug into Karmic have they? There's a > very simple patch at > <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=549271> and > <https://bugzilla.gnome.org/show_bug.cgi?id=597319>. Please report the > bug to Ubuntu too if someone else hasn't already. Ubuntu are aware of it, but according to upstream the bug is in libwnck, not the python bindings. To fix it: apt-get source libwnck cd libwnck-2.28.0 <Drop the attached patch into debian/patches> rm libwnck/wnck-enum-types.* sudo apt-get build-dep libwnck dch -i <This opens the changelog in a text editor. Add some blurb if you like. The important thing is that it gets a newer version number to stop it being replaced by the unfixed official version when you upgrade.> debuild -uc -us cd .. sudo dpkg -i libwnck*.deb -- TH * http://www.realh.co.uk ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ rox-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rox-users
01_glib_mkenums.patch
(text/x-patch, 1.8 KB)
diff --git a/libwnck/Makefile.am b/libwnck/Makefile.am
index 9b6e8a8..1d3c0d8 100644
--- a/libwnck/Makefile.am
+++ b/libwnck/Makefile.am
@@ -129,13 +129,13 @@ wnck-enum-types.c: $(wnck_headers) wnck-enum-types.h
$(AM_V_GEN)glib-mkenums \
--fhead "#include <libwnck/libwnck.h>\n" \
--fprod "\n/* enumerations from \"@filename@\" */" \
- --vhead "static const GEnumValue _@enum_name@_values[] = {" \
+ --vhead "static const G@Type@Value _@enum_name@_values[] = {" \
--vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
--vtail " { 0, NULL, NULL }\n};\n\n" \
--vtail "GType\n@enum_name@_get_type (void)\n{\n" \
--vtail " static GType type = 0;\n\n" \
--vtail " if (!type)\n" \
- --vtail " type = g_enum_register_static (\"@EnumName@\", _@enum_name@_values);\n\n" \
+ --vtail " type = g_@type@_register_static (\"@EnumName@\", _@enum_name@_values);\n\n" \
--vtail " return type;\n}\n\n" \
$(wnck_headers) > $@
--- a/libwnck/Makefile.in 2009-09-21 17:24:09.000000000 +0100
+++ b/libwnck/Makefile.in 2009-11-23 16:37:16.000000000 +0000
@@ -899,13 +899,13 @@
$(AM_V_GEN)glib-mkenums \
--fhead "#include <libwnck/libwnck.h>\n" \
--fprod "\n/* enumerations from \"@filename@\" */" \
- --vhead "static const GEnumValue _@enum_name@_values[] = {" \
+ --vhead "static const G@Type@Value _@enum_name@_values[] = {" \
--vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
--vtail " { 0, NULL, NULL }\n};\n\n" \
--vtail "GType\n@enum_name@_get_type (void)\n{\n" \
--vtail " static GType type = 0;\n\n" \
--vtail " if (!type)\n" \
- --vtail " type = g_enum_register_static (\"@EnumName@\", _@enum_name@_values);\n\n" \
+ --vtail " type = g_@type@_register_static (\"@EnumName@\", _@enum_name@_values);\n\n" \
--vtail " return type;\n}\n\n" \
$(wnck_headers) > $@