Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200479 - app-editors/gobby-0.4.5 doesn't compile
Summary: app-editors/gobby-0.4.5 doesn't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gustavo Felisberto (RETIRED)
URL:
Whiteboard:
Keywords:
: 217214 221769 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-11-27 04:28 UTC by Dave
Modified: 2008-06-09 07:33 UTC (History)
6 users (show)

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


Attachments
emerge --info (info,14.58 KB, text/plain)
2007-11-27 04:29 UTC, Dave
Details
build.log (build.log,26.08 KB, text/plain)
2007-11-27 04:30 UTC, Dave
Details
gobby-0.4.5-GtkSourceView2.patch (gobby-0.4.5-GtkSourceView2.patch,8.89 KB, patch)
2008-01-14 00:54 UTC, Yuri Vasilevski (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dave 2007-11-27 04:28:33 UTC
See attachments...
Comment 1 Dave 2007-11-27 04:29:44 UTC
Created attachment 137096 [details]
emerge --info
Comment 2 Dave 2007-11-27 04:30:13 UTC
Created attachment 137097 [details]
build.log
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-11-27 08:22:24 UTC
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I./inc  -D_REENTRANT -pthread -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/atk-1.0 -I/usr/include/gtksourceview-2.0    -I../inc/ -DLOCALE_DIR=\""/usr/share/locale"\" -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -DORBIT2=1 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DAPPICON_DIR=\""/usr/share/pixmaps"\" -DPIXMAPS_DIR=\""/usr/share/pixmaps/gobby"\"   -march=pentium4 -O2 -fomit-frame-pointer -pipe -Wno-deprecated -MT gobby-preferences.o -MD -MP -MF .deps/gobby-preferences.Tpo -c -o gobby-preferences.o `test -f 'src/preferences.cpp' || echo './'`src/preferences.cpp
src/preferences.cpp: In function 'GtkSourceLanguage*<unnamed>::get_language_from_mime_type(GtkSourceLanguageManager*, const gchar*)':
src/preferences.cpp:36: error: 'gtk_source_language_manager_list_languages' was not declared in this scope
src/preferences.cpp: In constructor 'Gobby::Preferences::FileList::FileList(Gobby::Config::ParentEntry&, GtkSourceLanguageManager*)':
src/preferences.cpp:255: error: 'gtk_source_language_manager_list_languages' was not declared in this scope
make[2]: *** [gobby-preferences.o] Error 1
Comment 4 Jouni Rinne 2007-12-02 13:45:37 UTC
Gobby doesn't seem to want to compile against gtksourceview-2.x.x. Please mask and remove >=x11-libs/gtksourceview-2.0 and try again.
Comment 5 Yuri Vasilevski (RETIRED) gentoo-dev 2008-01-14 00:54:35 UTC
Created attachment 140910 [details, diff]
gobby-0.4.5-GtkSourceView2.patch

From http://gobby.0x539.de/trac/ticket/331

When Gobby 0.4.5 was released, the GtkSourceView?2 was not final, and Gobby 0.4.5 uses GtkSourceView?2 as it was then. The GtkSourceView?2 API changed, and Gobby was adapted to those changes, but it is not in 0.4.5.

The changes were made in revision 1663 [1] and apply almost cleanly to 0.4.5 fixing this problem. (The attached patch is patch from the changeset 1663 fixed to apply cleanly.) 

[1] http://gobby.0x539.de/trac/changeset/1663
Comment 6 Florian Fainelli 2008-03-24 16:49:20 UTC
(In reply to comment #5)
I confirm this patch does fix compilation (powerpc g4 here).
Comment 7 Gustavo Felisberto (RETIRED) gentoo-dev 2008-03-27 17:52:40 UTC
Will be adding patch to tree in a few minutes.
Comment 8 Mart Raudsepp gentoo-dev 2008-03-29 13:32:09 UTC
Do you think you could depend on only one SLOT of gtksourceview, not both? That can have some nice side effects on the deptree once gtksourceview-1 goes away finally, etc...
I'd suggest >=2.0 or :2.0 with EAPI-1 to only use gtksourceview-2 if it works as good with the patch
Comment 9 Mark Loeser (RETIRED) gentoo-dev 2008-04-10 19:27:38 UTC
*** Bug 217214 has been marked as a duplicate of this bug. ***
Comment 10 Robert Buchholz (RETIRED) gentoo-dev 2008-06-09 07:33:25 UTC
*** Bug 221769 has been marked as a duplicate of this bug. ***