Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 161884 - get guile-gtk-2.0 in
Summary: get guile-gtk-2.0 in
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Scheme Project
URL: http://www.gnu.org/software/guile-gtk/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-13 12:05 UTC by Marijn Schouten (RETIRED)
Modified: 2007-06-22 22:38 UTC (History)
3 users (show)

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


Attachments
guile-gtk-2.0.ebuild (guile-gtk-2.0.ebuild,706 bytes, text/plain)
2007-03-14 21:45 UTC, Brice Arnould (un_brice)
Details
dev-scheme/guile-gtk/guile-gtk-2.0.ebuild (guile-gtk-2.0.ebuild,629 bytes, text/plain)
2007-03-15 19:17 UTC, Marijn Schouten (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marijn Schouten (RETIRED) gentoo-dev 2007-01-13 12:05:27 UTC
"23 December 2006: Version 2.0 released." get it in.

we have 1.2.0.31 1.2.0.41 in, the 1.2 seems to be the gtk version.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-03-01 14:29:00 UTC
*** Bug 168876 has been marked as a duplicate of this bug. ***
Comment 2 Brice Arnould (un_brice) 2007-03-14 21:45:26 UTC
Created attachment 113309 [details]
guile-gtk-2.0.ebuild

This ebuild seems to works, but I'm afraid we'll need to revbump sci-electronics/gwave before to remove sci-electronics/gwave-1.2.0* and test it (I'll try to do that tomorrow). If we keep both version, maybe a different SLOT would be a good idea, but I wasn't sure. Also you might want to move this package to dev-scheme/ (seems more usual) .
Comment 3 Marijn Schouten (RETIRED) gentoo-dev 2007-03-15 09:31:38 UTC
putting the new version of the package in dev-scheme would provide slotting as well as prevent the problem with the version numbers 1.2.0.41 being larger than 2.0... go for it.
Comment 4 Marijn Schouten (RETIRED) gentoo-dev 2007-03-15 18:25:08 UTC
Brice, can you install x11-libs/guile-gtk-1.2.0.41? I'm getting compile errors. I can't check for collisions this way.
Comment 5 Marijn Schouten (RETIRED) gentoo-dev 2007-03-15 19:17:28 UTC
Created attachment 113393 [details]
dev-scheme/guile-gtk/guile-gtk-2.0.ebuild

a few tweaks and working tests
Comment 6 Robert Bradbury 2007-04-11 19:57:03 UTC
It looks like gwave-20051222 requires the "read-only" function.  This may only be in either guile-1.6.7 and not guile 1.8.1.  There are some indications that gwave-20051222 might be buildable using PLT mzscheme (since it appears to have a read-only function)

dev-scheme/mzscheme-205 doesn't compile (using gcc-4.1) because the src/gmp header files declare as "externs" several variables that are later declared in the static in gmp.c.  One can get mzscheme-205 to compile simply by commenting out the erroneous extern declarations in gmp.h and gmp-impl.h

./gmp/gmp.c:38: error: static declaration of '__gmp_bits_per_limb' follows non-static declaration
./gmp/gmp.h:195: error: previous declaration of '__gmp_bits_per_limb' was here
./gmp/gmp.c:39: error: static declaration of '__gmp_0' follows non-static declaration
./gmp/gmp-impl.h:977: error: previous declaration of '__gmp_0' was here
./gmp/gmp.c:40: error: static declaration of '__gmp_junk' follows non-static declaration
./gmp/gmp-impl.h:976: error: previous declaration of '__gmp_junk' was here
./gmp/gmp.c:41: error: static declaration of '__gmp_errno' follows non-static declaration
./gmp/gmp.h:576: error: previous declaration of '__gmp_errno' was here

There should either be a patch to do this added to the mzscheme-205 package or the mzscheme package should be upgraded (there appears to be a 300 version available).  If mzscheme-300+ has the source fixed so it will compile with up-to-date compilers, then perhaps gwave-20051222 will compile using that.

I was able to compile all of the sub-components of the gEDA-suite after unmasking them on an x86 (Pentium 4 prescott).  Looking at the gEDA web site however it appears that the ISO image they are releasing has a lot more subcomponents than are in the gentoo packages.

It seems to be a big problem that the gEDA packages (according to their website), esp. gwave (according to the Gentoo ebuilds), are depending on guile-1.6.7 while a lot of other packages (gnucash, drgeo, gnunet, etc.) seem to be using guile-1.8.1).  This results in a multiple version in a single package slot conflict.
Comment 7 Robert Bradbury 2007-04-11 20:55:38 UTC
(In reply to comment #6)
> It looks like gwave-20051222 requires the "read-only" function.  This may only
> be in either guile-1.6.7 and not guile 1.8.1.  There are some indications that
> gwave-20051222 might be buildable using PLT mzscheme (since it appears to have
> a read-only function)

This may need to be documented in a how to for compiling "guile" or perhaps in the gentoo documentation on guile USE variables.

It appears that you *can* compile gwave-20051222 *if* guile-1.8.1 is emerged with "discouraged" functions (I believe read-only may be an older function only normally found in guile-1.6.7 or mzscheme).

It also appears that guile must be emerged with "deprecated" functions if one is to emerge glame successfully.
Comment 8 Marijn Schouten (RETIRED) gentoo-dev 2007-04-12 08:50:59 UTC
wrong bug?

about mzscheme, try using drscheme instead.
Comment 9 Donnie Berkholz (RETIRED) gentoo-dev 2007-06-21 07:41:31 UTC
(In reply to comment #4)
> Brice, can you install x11-libs/guile-gtk-1.2.0.41? I'm getting compile errors.
> I can't check for collisions this way.

* checking 85 files for package collisions
existing file /usr/bin/build-guile-gtk is not owned by this package
existing file /usr/include/guile-gtk.h is not owned by this package
existing file /usr/share/guile-gtk/gdk-gl.defs is not owned by this package
existing file /usr/share/guile-gtk/gtk-gl-area.defs is not owned by this package
existing file /usr/share/info/guile-gtk.info.bz2 is not owned by this package
existing file /usr/share/guile/gtk/gtk.scm is not owned by this package
existing file /usr/share/guile/gtk/gdk.scm is not owned by this package
existing file /usr/share/guile/gtk/config.scm is not owned by this package
existing file /usr/share/guile/gtk/dynlink.scm is not owned by this package
existing file /usr/share/guile/gtk/repl.scm is not owned by this package
existing file /usr/share/guile/gtk/threads.scm is not owned by this package
* This package is blocked because it wants to overwrite
* files belonging to other packages (see messages above).
* If you have no clue what this is all about report it 
* as a bug for this package on http://bugs.gentoo.org

package dev-scheme/guile-gtk-2.0 NOT merged
Comment 10 Donnie Berkholz (RETIRED) gentoo-dev 2007-06-22 22:38:42 UTC
Since it looks like it pretty clearly wasn't made to be slotted easily, I just bumped it and kept it in the same slot. Feel free to do a package move for all of 'em at any point.

(In reply to comment #3)
> putting the new version of the package in dev-scheme would provide slotting as
> well as prevent the problem with the version numbers 1.2.0.41 being larger 
> than 2.0... go for it.

2.0 is higher than 1.anything, that isn't an issue. Observe:

$ emerge -vp guile-gtk

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-libs/guile-gtk-2.0  USE="X" 0 kB [6]


I also fixed up gwave deps a bit so it would pull in guile-gtk 1.x.