This updates the existing dev-ml/lablgtk ebuild to 1.2.5, and includes a dependency on tcltk, as indicated in bug 8126.
Created attachment 4976 [details] dev-ml/lablgtk-1.2.5.ebuild i'm not sure about which versions of tcl/tk lablgtk depends on, so they're generic.
Why do you make it depend on tcl/tk ? This isn't mandatory for this package (given you compile ocaml without it). The problems that come from this weirdness as decribed in bug 8126 should imo be fixed with a small note to the user.
*** Bug 7747 has been marked as a duplicate of this bug. ***
Hi guys. I just marked #7747 as a duplicate of this. Jeffrey: seems like the same issue brought itself up again? ;) So, does lablgtk require only ocaml interface to tk or also tk iself? The readme on website wasn't very detailed about it. If this is the former, than tk should not be in DEPEND, if this is the latter than it should be added. Also does lablgtk *require* ocaml compiled with support for tk (seems quite logical from the name and what I read in readme)? If yes, then we have thesame problem, which shuld be solved the same way. Could you please modify the ebuild accordingly (I already committed changes to lablgl ebuild, yu should be able to see them). Foser: I noticed that you did not add Jeffrey to CC of this bug. I remember few month ago there was a talk that bugzilla does not CC submitter on bug updates by default. Was this sorted out since then, or do we still need to add submitter's email to CC? ANyway I added Jeffrey just in case. Also, you can assign this bug to me if you prefer, as I already processed closely related one. BTW I test-build this ebuild and it went Ok (of course with tk installed and ocaml supporting it). George
Note that i built ocaml and lablgtk (gtk(!)) both without tk and it works fine. It seesm to me doubtful that lablgtk needs tk. On the gtkglarea problem mentioned in bug #7747 : 1.2.3 wrongly referred to versions bigger than 1.2, while 1.99 is a gtk2 devel version. It is correct (and should be corrected in the ebuild attached here) to =x11-libs/gtkglarea-1.2* . That's the only change needed to get opengl built correctly. Just like (wrong in both ebuilds) gtk should be =x11-libs/gtk+-1.2* . The CC thing i think is solved. Jeffrey can you confirm you got emails before George added you to the CC list ?
yes, you're correct. the only dependency here is when opengl is enabled, and then the build requires lablgl, which in turn required the fixes made in bug 8126. i am updating the ebuild to include these dependency changes, including the gtkglarea version fix. and yes, i did get an email for your initial comment, prior to being added to the CC list. :)
Created attachment 5021 [details] ebuild I modified a few ebuilds for my mldonkey installation. Unfortunately I can't remember what I changed :( I think it would also work with gtkglarea-1.2* but I can not confirm this. The current gtkglarea-1.99.0-ebuild does not build a symlink. So you will have to use my newer version (for which I will create a new bug report in a few minutes). hope this helps
Created attachment 5026 [details] dev-ml/lablgtk/lablgtk-1.2.5.ebuild (2) updated the original ebuild to include the version and dependency changes. also enabled use of ocamlopt.opt by default, since this is always built by the ocaml ebuild. this obsoletes my previous ebuild (which i can't do). i don't know which of the attached ebuilds should be used - someone else can figure that out! ;)
comment #7, if it uses gtk-1.2 it also uses gtkglarea 1.2 . Definatly not 1.99.*, they're not compatible. comment #8 : that is the ebuild as it should be imo, only the gtk and libglade deps are not completely correct I've added the ebuild in comment #8 with fixed deps to the portage tree, please test. It is masked ofcourse.
I can't remember, why I wanted to use 1.99. But is it possible, that I had only gtk2 installed and that emerge wanted to install gtk1.2 in addition? If so, how could this be prevented.
It shouldn't be possible. lablgtk are gtk1 bindings.
*** Bug 9676 has been marked as a duplicate of this bug. ***
*** Bug 10623 has been marked as a duplicate of this bug. ***
I've just done an emerge rsync and emerge the 1.2.5.ebuild as describef in <a href=http://bugs.gentoo.org/show_bug.cgi?id=9609#c8>comment #8</a> It worked ok for me, without errors, and mldonkey is working now. I think the bug can be closed. Thanks to all. Guillaume.
Unmask lablgtk-1.2.5 for x86, thanks all for you help. closing.