public inbox for guile-gtk@sourceware.org
 help / color / mirror / Atom feed
* guile-gobject 0.3.0 Released
@ 2002-01-28 11:29 Ariel Rios
  2002-01-29 19:01 ` Eric Gillespie
  2002-02-04 14:15 ` guile-gobject 0.3.0 Released Neil W. Van Dyke
  0 siblings, 2 replies; 8+ messages in thread
From: Ariel Rios @ 2002-01-28 11:29 UTC (permalink / raw)
  To: gnome-announce-list, guile-gtk, guile-user; +Cc: guile-devel

Hello Happy GNOME schemers!

This is the second public release of guile-gobject the new guile
bindings base for GNOME 2.0. Please be aware that this code is
totally untested and might not even work at all =)

This package includes:

(gnome gobject):the guile implementation for GNOME 2's type system,
libgruntime (glib/gobject in GNOME CVS). It enables not only to wrap
the C glib/gobject API but it aslo gives you full acces to the
new GNOME 2 type system.
 
(gnome corba): CORBA support for guile.  Depends heavily on ORBit2

The rest of the package contains unfinished and untested gtk bindings.

Availability:
http://linux.cem.itesm.mx/~ariel/download/guile-gobject-0.3.0.tar.gz
or through GNOME CVS via the guile-gobject module

Requirements:
-GNOME 2 Platform
-guile 1.5.4

I would like to thank Martin Baulig the original author of this set,
Michael Meeks and James Henstridge who helped me sort out some Gtk+ and
Corba problems.

Enjoy,
ariel 

ariel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: guile-gobject 0.3.0 Released
  2002-01-28 11:29 guile-gobject 0.3.0 Released Ariel Rios
@ 2002-01-29 19:01 ` Eric Gillespie
  2002-01-29 20:39   ` Ariel Rios
  2002-02-04 14:15 ` guile-gobject 0.3.0 Released Neil W. Van Dyke
  1 sibling, 1 reply; 8+ messages in thread
From: Eric Gillespie @ 2002-01-29 19:01 UTC (permalink / raw)
  To: guile-gtk

Ariel Rios <ariel@gnu.org> writes:

    > The rest of the package contains unfinished and untested gtk
    > bindings.

The GTK2 bindings will also be available independently, right?  Once
it's released anyway.  Not everyone uses GNOME.

Thanks for the great work!

-- 
Eric Gillespie, Jr. <*> epg@pretzelnet.org

"When everyone has to reinvent the wheel, many people invent
 square wheels."

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: guile-gobject 0.3.0 Released
  2002-01-29 19:01 ` Eric Gillespie
@ 2002-01-29 20:39   ` Ariel Rios
  2002-02-04 15:05     ` (Was: guile-gobject 0.3.0 Released) Neil W. Van Dyke
  0 siblings, 1 reply; 8+ messages in thread
From: Ariel Rios @ 2002-01-29 20:39 UTC (permalink / raw)
  To: Eric Gillespie; +Cc: guile-gtk

On Tue, 2002-01-29 at 21:54, Eric Gillespie wrote:
> Ariel Rios <ariel@gnu.org> writes:
> 
>     > The rest of the package contains unfinished and untested gtk
>     > bindings.
> 
> The GTK2 bindings will also be available independently, right?  Once
> it's released anyway.  Not everyone uses GNOME.
I can continue to disitribute both guile-gtk and gnome-guile.
This will make happy schemers to many of our users ;)

ariel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: guile-gobject 0.3.0 Released
  2002-01-28 11:29 guile-gobject 0.3.0 Released Ariel Rios
  2002-01-29 19:01 ` Eric Gillespie
@ 2002-02-04 14:15 ` Neil W. Van Dyke
  2002-02-06  5:24   ` Taming the beast [was: Re: guile-gobject 0.3.0 Released] rm
  1 sibling, 1 reply; 8+ messages in thread
From: Neil W. Van Dyke @ 2002-02-04 14:15 UTC (permalink / raw)
  To: guile-gtk, guile-user, guile-devel

In case anyone else has trouble building guile-gobject 0.3.0, here's the
minor changes I needed.  Haven't actually run it, but it compiled.

1. File "gobject/guile-gnome-gobject-primitives.c": Renamed identifiers
   beginning with "g_param_get_" to begin with "g_param_spec_get_", per
   http://mail.gnome.org/archives/gnome-2-0-list/2001-November/msg00121.html

2. File "corba/Makefile.in": Added "$(GUILE_CFLAGS)" to "INCLUDES".

3. File "corba/guile-gnome-corba-types.c": Temporarily added explicit cast to
   get it to compile:   g_message (G_STRLOC ": %d", (int)gtype);

4. Dependency on "libxml2" devel library does not seem to be checked by
   configure script.  Other libraries might also need checking; this one 
   noticed only because this particular box happened to be missing that
   library.

-- 
                                                        Neil W. Van Dyke
                                             http://www.neilvandyke.org/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* (Was: guile-gobject 0.3.0 Released)
  2002-01-29 20:39   ` Ariel Rios
@ 2002-02-04 15:05     ` Neil W. Van Dyke
  2002-02-04 21:30       ` Ariel Rios
  0 siblings, 1 reply; 8+ messages in thread
From: Neil W. Van Dyke @ 2002-02-04 15:05 UTC (permalink / raw)
  To: Ariel Rios; +Cc: Eric Gillespie, guile-gtk, guile-devel

I'm afraid I'm confused about the future of guile-gtk.

Could Ariel (or perhaps someone else who is also working on it) please
clarify what the intentions for continuing development are?

Reasons for asking:

  * I could not get the guile-gtk 0.21pre4 release to build against GTK
    2 (1.3), and configuration code that appeared to be for GTK 2 was
    disabled.  I had the same problem with CVS version.

  * When built against GTK 1.2 and Guile 1.5.4 CVS, some of the
    guile-gtk widget demos have errors (possibly due to Guile changes).
    It was also unclear how much new functionality has been added in
    recent times.

  * Ariel's true love may be the full Gnome platform in all its glory,
    and it may be asking too much of him -- or anyone -- to burden him
    with separately developing and maintaining *non*-Gnome GTK bindings.

No flame intended; I just need to understand where guilt-gtk is going if
I'm to be able to use Guile at all.  So far it's been confusing.

Please note that guile-gobject won't work for me and some other people,
since anything Gnome-dependent presents technical (e.g., size,
complexity) and/or political issues.  However, Guile bindings for GTK 2
(and perhaps Pango and Libart), are very much desired -- so long as they
are independent of Gnome.

Thanks,
Neil V.

> From: Ariel Rios <ariel@gnu.org>
> To: Eric Gillespie <epg@pretzelnet.org>
> Cc: guile-gtk@sources.redhat.com
> Subject: Re: guile-gobject 0.3.0 Released
> Date: 29 Jan 2002 22:38:43 -0500
> 
> On Tue, 2002-01-29 at 21:54, Eric Gillespie wrote:
> > Ariel Rios <ariel@gnu.org> writes:
> > 
> >     > The rest of the package contains unfinished and untested gtk
> >     > bindings.
> > 
> > The GTK2 bindings will also be available independently, right?  Once
> > it's released anyway.  Not everyone uses GNOME.
> I can continue to disitribute both guile-gtk and gnome-guile.
> This will make happy schemers to many of our users ;)
> 
> ariel

-- 
                                                        Neil W. Van Dyke
                                             http://www.neilvandyke.org/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: (Was: guile-gobject 0.3.0 Released)
  2002-02-04 15:05     ` (Was: guile-gobject 0.3.0 Released) Neil W. Van Dyke
@ 2002-02-04 21:30       ` Ariel Rios
  0 siblings, 0 replies; 8+ messages in thread
From: Ariel Rios @ 2002-02-04 21:30 UTC (permalink / raw)
  To: Neil W. Van Dyke; +Cc: Eric Gillespie, guile-gtk, guile-devel

On Mon, 2002-02-04 at 18:06, Neil W. Van Dyke wrote:

> Reasons for asking:
> 
>   * I could not get the guile-gtk 0.21pre4 release to build against GTK
>     2 (1.3), and configuration code that appeared to be for GTK 2 was
>     disabled.  I had the same problem with CVS version.

the guile-gtk 0.2x series will only support Gtk+1.2.x



>   * Ariel's true love may be the full Gnome platform in all its glory,
>     and it may be asking too much of him -- or anyone -- to burden him
>     with separately developing and maintaining *non*-Gnome GTK bindings.
Yep. I do love GNOME. I see GTK as a part of the complete GNOME
platform. However I do know that most of guile-gtk
does not want to have GNOME installed.

What I'm planning to do? In the future we will have 3 packages:
-guile-gobject: The basis for all bindings. It is a wrapper for 
glib and thus for the new gobject.

-guile-gtk2: Gtk+2 bindings for guile (maybe pango can come hear...)

-gnome-guile2: The complete GNOME platform bindings for guile.
It will contatin support for bonobo, corba, gtk+2, etc.


Following this scheme, you have to choose between guile-gtk2 or
gnome-guile2. If you chose the latter it will include the guile-gtk2
package.

I think this is the way to go =)

Any suggestions. Hope this clarifies the situation =)

ariel


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Taming the beast [was: Re: guile-gobject 0.3.0 Released]
  2002-02-04 14:15 ` guile-gobject 0.3.0 Released Neil W. Van Dyke
@ 2002-02-06  5:24   ` rm
  2002-02-08  3:03     ` Neil Jerram
  0 siblings, 1 reply; 8+ messages in thread
From: rm @ 2002-02-06  5:24 UTC (permalink / raw)
  To: Neil W. Van Dyke; +Cc: guile-gtk, guile-user, guile-devel

On Mon, Feb 04, 2002 at 05:16:22PM -0500, Neil W. Van Dyke wrote:
 
> In case anyone else has trouble building guile-gobject 0.3.0, here's the
> minor changes I needed.  Haven't actually run it, but it compiled.
> 
> 1. File "gobject/guile-gnome-gobject-primitives.c": Renamed identifiers
>    beginning with "g_param_get_" to begin with "g_param_spec_get_", per
>    http://mail.gnome.org/archives/gnome-2-0-list/2001-November/msg00121.html
> 
> 2. File "corba/Makefile.in": Added "$(GUILE_CFLAGS)" to "INCLUDES".
> 
> 3. File "corba/guile-gnome-corba-types.c": Temporarily added explicit cast to
>    get it to compile:   g_message (G_STRLOC ": %d", (int)gtype);
> 
> 4. Dependency on "libxml2" devel library does not seem to be checked by
>    configure script.  Other libraries might also need checking; this one 
>    noticed only because this particular box happened to be missing that
>    library.

Thanks for this info, it saved some time. Even after applying your 
changes i couldn't compile guile-gobject with my CVS guile . 
It seems that the code uses some deprecated/removed features. To get
a more or less error free compile i had to do the following:

 - change type 'scm_bits_t' to 'scm_t_bits' (see file NEWS in guile-core).

 - change 'LIST1, LIST2 ... LISTN' to 'scm_list_1 ... scm_list_n'
   (again, see file NEWS in guile-core).

 

With these modifications i can at least compile the shared library part.
Now, during 'make' i get the following errror:

|  make[2]: Entering directory `/home/ralf/projects/guile-gobject-0.3.0/gobject'
|  FLAVOR=gnome guile -c \
|  "(set! %load-path (cons \"..\" %load-path)) \
|   (primitive-load \"./gnome-gobject.gwp\")"
|  ERROR: Unbound variable: nil
|  make[2]: *** [gnomegobject.h] Error 2
|  make[2]: Leaving directory `/home/ralf/projects/guile-gobject-0.3.0/gobject'
|  make[1]: *** [all-recursive] Error 1
|  make[1]: Leaving directory `/home/ralf/projects/guile-gobject-0.3.0'
|  make: *** [all-recursive-am] Error 2
|  
 
Hmm,  no idea where 'nil' is supposed to come from. 
A quick grep didn't reveal anything. Ariel, any hints?

 Ralf Mattes

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Taming the beast [was: Re: guile-gobject 0.3.0 Released]
  2002-02-06  5:24   ` Taming the beast [was: Re: guile-gobject 0.3.0 Released] rm
@ 2002-02-08  3:03     ` Neil Jerram
  0 siblings, 0 replies; 8+ messages in thread
From: Neil Jerram @ 2002-02-08  3:03 UTC (permalink / raw)
  To: rm; +Cc: Neil W. Van Dyke, guile-gtk, guile-user, guile-devel

>>>>> "rm" == rm  <rm@fabula.de> writes:

    rm> |  make[2]: Entering directory `/home/ralf/projects/guile-gobject-0.3.0/gobject'
    rm> |  FLAVOR=gnome guile -c \
    rm> |  "(set! %load-path (cons \"..\" %load-path)) \
    rm> |   (primitive-load \"./gnome-gobject.gwp\")"
    rm> |  ERROR: Unbound variable: nil
    rm> |  make[2]: *** [gnomegobject.h] Error 2
    rm> |  make[2]: Leaving directory `/home/ralf/projects/guile-gobject-0.3.0/gobject'
    rm> |  make[1]: *** [all-recursive] Error 1
    rm> |  make[1]: Leaving directory `/home/ralf/projects/guile-gobject-0.3.0'
    rm> |  make: *** [all-recursive-am] Error 2
    rm> |  
 
    rm> Hmm,  no idea where 'nil' is supposed to come from. 
    rm> A quick grep didn't reveal anything. Ariel, any hints?

Aha, fame at last!  I removed `nil' from libguile, because its only
purpose was as part of some obsolete support for Emacs Lisp.

Can you try and find out what guile-gobject is using `nil' for?  On
the one hand, the binding in libguile may have been hiding a bug in
guile-gobject; on the other hand, there may be a genuine need, in
which case we can look at putting it back.

In the meantime, a workaround should be:

(define nil 'nil)

Regards,
        Neil

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2002-02-08 11:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-28 11:29 guile-gobject 0.3.0 Released Ariel Rios
2002-01-29 19:01 ` Eric Gillespie
2002-01-29 20:39   ` Ariel Rios
2002-02-04 15:05     ` (Was: guile-gobject 0.3.0 Released) Neil W. Van Dyke
2002-02-04 21:30       ` Ariel Rios
2002-02-04 14:15 ` guile-gobject 0.3.0 Released Neil W. Van Dyke
2002-02-06  5:24   ` Taming the beast [was: Re: guile-gobject 0.3.0 Released] rm
2002-02-08  3:03     ` Neil Jerram

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).