GNOME Bugzilla – Bug 470479
configure failure with gtksourceview-2.x
Last modified: 2009-08-20 06:15:31 UTC
checking for DRIVEL... configure: error: Package requirements ( glib-2.0 >= 2.4.0 gmodule-2.0 >= 2.4.0 gtk+-2.0 >= 2.4.0 gconf-2.0 >= 2.0.0 gnome-vfs-2.0 >= 2.6.0 libgnome-2.0 >= 2.0.0 libgnomeui-2.0 >= 2.0.0 libglade-2.0 >= 2.0.0 gtksourceview-1.0 >= 1.0.0 libxml-2.0 >= 2.4.0 libbonobo-2.0 >= 2.0.0 bonobo-activation-2.0 >= 2.0.0 gtkspell-2.0 dbus-glib-1 ) were not met: No package 'gtksourceview-1.0' found gtksourceview-1.90.3 is installed.
Created attachment 94383 [details] [review] gtksourceview-2.patch Suggested patch.
Created attachment 97560 [details] [review] gtksourceview-2.patch Updated for 2.0.1
This bug existed before 2.0.2 came out and it went ignored whist being such a short fix? Is there any possibility to get this into a new version or even update the current version out? gtksourceview-2.x has been out for a while and drivel is still behind.
*** Bug 475089 has been marked as a duplicate of this bug. ***
I'll be testing this patch for possible inclusion into 2.0.4
Unfortunately, the proposed patch does not work properly - the code builds but when tested against gtksourceview2, most highlighting is disabled - e.g. <a href="test">foo</a> results in only the href being highlighted when the tag and the attribute are highlighted in the unpatched code. The current patch is not acceptable, I'm afraid. Pushing this forwards to 2.1 when there will be more time to inspect the reasons for the failure. (Note, one obvious factor is that there is no lang-files-dirs property for the language_manager in version 2. I've tried testing with search-path without success - mime_types is getting no usable values returned so it looks like the language_manager_get_language_for_mime_type function (which the patch reimplements for v2.0) needs to be the focus for the work to fix the bug.)
OK, I was expecting bugzilla to process the tags - the actual draft I used for testing was: $ cat 470479.draft <?xml version="1.0" encoding="UTF-8"?> <entry> <subject>470479</subject> <event>testing source markup and syntaxing <a href="test">this should be a link</a> <b>testing</b> <b id="attributes-work"/> almost </event> </entry> Renders as: testing source markup and syntaxing <a href="test">this should be a link</a> <b>testing</b> <b id="attributes-work"/> almost With the patch, only href= and id= got highlighted. Without the patch, <a, "test", <b and "attributes-work" were highlighted as normal.
The patch is not ready for 2.1 - I've updated a version in SVN that will at least build but it still fails to actually operate. Rejecting the patch.
*** Bug 585283 has been marked as a duplicate of this bug. ***
*** Bug 341739 has been marked as a duplicate of this bug. ***
*** Bug 438785 has been marked as a duplicate of this bug. ***
This is a Debian bug too: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=541960 Drivel 3.0 will use only libgtksourceview-2.0 but the actual implementation still needs to be fixed, dependent on how the other GTK3.0 changes go.