Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 394953 - dev-embedded/gpsim - broken because of unslotted x11-libs/gtk+extra
Summary: dev-embedded/gpsim - broken because of unslotted x11-libs/gtk+extra
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Embedded Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
: 398251 427940 (view as bug list)
Depends on:
Blocks: 427942
  Show dependency tree
 
Reported: 2011-12-16 16:46 UTC by Robert Pearce
Modified: 2012-07-24 19:53 UTC (History)
6 users (show)

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


Attachments
gpsim-0.26.1.ebuild.patch (gpsim-0.26.1.ebuild.patch,3.24 KB, patch)
2012-06-02 21:07 UTC, Peter Volkov (RETIRED)
Details | Diff
gpsim-0.26.1-gtkextra.patch (gpsim-0.26.1-gtkextra.patch,972 bytes, patch)
2012-06-02 21:08 UTC, Peter Volkov (RETIRED)
Details | Diff
gpsim-0.26.1-glib.patch (gpsim-0.26.1-glib.patch,437 bytes, patch)
2012-06-02 21:08 UTC, Peter Volkov (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Pearce 2011-12-16 16:46:56 UTC
The gpsim ebuild currently fails because GPSim relies on GTK2 and GTK+extra-2.0, but while the GTK ebuild is slotted so that GTK2 and GTK3 can co-exist, the gtk_extra ebuild is not.

Reproducible: Always

Steps to Reproduce:
1. Get up to date (GTK3 enabled)
2. Attempt to emerge gpsim

Actual Results:  
The configure step fails to find gtkextra-2.0 because the gtk+extra ebuild has updated to 3.0
Comment 1 Rafał Mużyło 2011-12-16 17:14:40 UTC
gtk-extra 3.0.1 is still just gtk2.
(TBH, I don't see why that version of gtk+extra went into the tree anyway - it's incompatible with its previous versions, seems to have no significant improvements and is definitely *not* gtk3 ready).
Comment 2 cmuelle8 2012-01-09 14:15:15 UTC
*** Bug 398251 has been marked as a duplicate of this bug. ***
Comment 3 David Relson 2012-04-17 03:35:17 UTC
### configure for gpsim-0.24.0-r has the following gtkextra-2.0 test ###

  $PKGCONFIG --exists gtkextra-2.0
  if test $? != 0; then
    { { $as_echo "$as_me:$LINENO: error: Cannot find gtkextra-2.0 package" >&5
$as_echo "$as_me: error: Cannot find gtkextra-2.0 package" >&2;}
   { (exit 1); exit 1; }; }
  fi

### eix shows that I have gtk+extra-3.0.1 installed ###

root@osage ~ # eix -e gtk+extra
[I] x11-libs/gtk+extra
     Available versions:  2.1.2-r1{tbz2} 3.0.1{tbz2} {+introspection static-libs}
     Installed versions:  3.0.1{tbz2}(08:40:44 PM 12/30/2011)(introspection -static-libs)
     Homepage:            http://gtkextra.sourceforge.net
     Description:         Useful Additional GTK+ widgets

### running "$PKGCONFIG --exists" shows a lack of gtkextra-2.1 and the presence of gtkextra-3.0 ###

root@osage ~ # /usr/bin/pkg-config --exists gtkextra-2.1; echo $?
1
root@osage ~ # /usr/bin/pkg-config --exists gtkextra-3.0; echo $?
0

Question:  shouldn't the ebuild (or configure) have a 2.1 vs 3.0 check ???
Comment 4 Peter Volkov (RETIRED) gentoo-dev 2012-06-02 21:07:55 UTC
Created attachment 313959 [details, diff]
gpsim-0.26.1.ebuild.patch
Comment 5 Peter Volkov (RETIRED) gentoo-dev 2012-06-02 21:08:34 UTC
Created attachment 313961 [details, diff]
gpsim-0.26.1-gtkextra.patch
Comment 6 Peter Volkov (RETIRED) gentoo-dev 2012-06-02 21:08:55 UTC
Created attachment 313963 [details, diff]
gpsim-0.26.1-glib.patch
Comment 7 Peter Volkov (RETIRED) gentoo-dev 2012-06-02 21:18:10 UTC
gpsim-0.26.1-gtkextra.patch fix this issue for me. But later I receive another failure that is fixed by evident patch that is already in upstream repository.

Please, review and apply or give me Ok.

Also reported this issue upstream:

https://sourceforge.net/tracker/?func=detail&aid=3531562&group_id=2341&atid=302341
Comment 8 Pacho Ramos gentoo-dev 2012-07-21 16:37:52 UTC
+  21 Jul 2012; Pacho Ramos <pacho@gentoo.org>
+  +files/gpsim-0.26.1-glib-single-include.patch,
+  +files/gpsim-0.26.1-gtkextra.patch, gpsim-0.26.1.ebuild:
+  Fix build against glib-2.32 and latest gtk+extra, thanks a lot to Peter
+  Volkov.
+
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2012-07-24 19:46:23 UTC
*** Bug 427940 has been marked as a duplicate of this bug. ***
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2012-07-24 19:53:48 UTC
(In reply to comment #9)
> *** Bug 427940 has been marked as a duplicate of this bug. ***

Follow up is happening in bug 427942