This is the mail archive of the guile-gtk@sources.redhat.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gnome-guile-0.21pre4


Ariel Rios wrote:

> I have just upload gnome-guile 0.21pre4 and guile-gtk 0.21pre4
> Both of them require unstable an unstable guile from the 1.5.x series.
>
> This new pre release includes several bug fixes.
>
> They can be found at:
>
> http://linux.cem.itesm.mx/~ariel/download/gnome-guile-0.21pre4.tar.gz
> http://linux.cem.itesm.mx/~ariel/download/guile-gtk-0.21pre4.tar.gz
>
> I would apreciate some nice feedback.
> Any contributions to the defs files would be apreciated.
>
> ariel

Works fine here...

except that the examples doesn't compile outside gnome. With the gnome
lines removed in configure.in it will compile on a uni CPU machine and
only occationally during parallell builds on a dual CPU machine.

Steve Tell suggested that the lines in Makefile.am

 foo-glue.c: foo.defs
  build-guile-gtk glue $< >tmp && mv tmp $@

 main.c: foo.defs
  build-guile-gtk main $< >tmp && mv tmp $@


Should look like this, then it will build on SMP machines too.

 foo-glue.c: foo.defs
  build-guile-gtk glue $< >$@.new && mv $@.new $@

 main.c: foo.defs
  build-guile-gtk main $< >$@.new && mv $@.new $@


Here is a patch
diff -Nur guile-gtk-0.21pre4-virgin/examples/Makefile.am guile-gtk-0.21pre4/examples/Makefile.am
--- guile-gtk-0.21pre4-virgin/examples/Makefile.am	Sun Dec 20 23:18:47 1998
+++ guile-gtk-0.21pre4/examples/Makefile.am	Mon Jan  7 01:20:06 2002
@@ -16,10 +16,10 @@
 BUILT_SOURCES = foo-glue.c main.c
 
 foo-glue.c: foo.defs
-	build-guile-gtk glue $< >tmp && mv tmp $@
+	build-guile-gtk glue $< >$@.new && mv $@.new $@
 
 main.c: foo.defs
-	build-guile-gtk main $< >tmp && mv tmp $@
+	build-guile-gtk main $< >$@.new && mv $@.new $@
 
 scmgtkdir=$(datadir)/guile/gtk
 scmgtk_DATA = foo.scm
diff -Nur guile-gtk-0.21pre4-virgin/examples/configure.in guile-gtk-0.21pre4/examples/configure.in
--- guile-gtk-0.21pre4-virgin/examples/configure.in	Wed Nov 29 23:45:46 2000
+++ guile-gtk-0.21pre4/examples/configure.in	Mon Jan  7 01:20:24 2002
@@ -5,14 +5,6 @@
 AC_PROG_CC
 AM_PROG_LIBTOOL
 
-GNOME_COMMON_INIT
-GNOME_PLATFORM_GNOME_2(no)
-
-if test $platform_gnome_2 = yes ; then
-  GNOME_PKGCONFIG_CHECK_MODULES(GTK, gtk+-2.0:1.3.1)
-else
-  GNOME_PKGCONFIG_CHECK_MODULES(GTK, gtk+:1.2.6)
-fi
 AC_SUBST(GTK_CFLAGS)
 AC_SUBST(GTK_LIBS)
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]