Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9609 - updated lablgtk ebuild to 1.2.5
Summary: updated lablgtk ebuild to 1.2.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 7747 9676 10623 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-10-24 10:27 UTC by Jeffrey Palmer
Modified: 2002-11-15 11:46 UTC (History)
5 users (show)

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


Attachments
dev-ml/lablgtk-1.2.5.ebuild (lablgtk-1.2.5.ebuild,1.19 KB, text/plain)
2002-10-24 10:38 UTC, Jeffrey Palmer
Details
ebuild (lablgtk-1.2.5.ebuild,1.23 KB, application/octet-stream)
2002-10-25 17:56 UTC, Christian Loitsch
Details
dev-ml/lablgtk/lablgtk-1.2.5.ebuild (2) (lablgtk-1.2.5.ebuild,1.17 KB, text/plain)
2002-10-25 18:18 UTC, Jeffrey Palmer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeffrey Palmer 2002-10-24 10:27:49 UTC
This updates the existing dev-ml/lablgtk ebuild to 1.2.5, and includes 
a dependency on tcltk, as indicated in bug 8126.
Comment 1 Jeffrey Palmer 2002-10-24 10:38:59 UTC
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.
Comment 2 foser (RETIRED) gentoo-dev 2002-10-25 14:32:48 UTC
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.
Comment 3 George Shapovalov (RETIRED) gentoo-dev 2002-10-25 16:49:33 UTC
*** Bug 7747 has been marked as a duplicate of this bug. ***
Comment 4 George Shapovalov (RETIRED) gentoo-dev 2002-10-25 17:00:12 UTC
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
Comment 5 foser (RETIRED) gentoo-dev 2002-10-25 17:47:29 UTC
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 ?
Comment 6 Jeffrey Palmer 2002-10-25 17:54:52 UTC
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. :) 
Comment 7 Christian Loitsch 2002-10-25 17:56:23 UTC
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
Comment 8 Jeffrey Palmer 2002-10-25 18:18:35 UTC
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 9 foser (RETIRED) gentoo-dev 2002-10-25 19:13:14 UTC
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.
Comment 10 Christian Loitsch 2002-10-25 19:50:58 UTC
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.


Comment 11 foser (RETIRED) gentoo-dev 2002-10-26 05:54:35 UTC
It shouldn't be possible. lablgtk are gtk1 bindings.
Comment 12 foser (RETIRED) gentoo-dev 2002-10-29 08:10:09 UTC
*** Bug 9676 has been marked as a duplicate of this bug. ***
Comment 13 foser (RETIRED) gentoo-dev 2002-11-12 15:57:50 UTC
*** Bug 10623 has been marked as a duplicate of this bug. ***
Comment 14 Guillaume APOSTOLY 2002-11-15 01:35:43 UTC
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.
Comment 15 foser (RETIRED) gentoo-dev 2002-11-15 11:46:09 UTC
Unmask lablgtk-1.2.5 for x86, thanks all for you help. closing.