From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17204 invoked by alias); 29 Dec 2001 00:47:08 -0000 Mailing-List: contact guile-gtk-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: guile-gtk-owner@sources.redhat.com Received: (qmail 17177 invoked from network); 29 Dec 2001 00:47:06 -0000 Received: from unknown (HELO li.mine.nu) (195.163.18.45) by sources.redhat.com with SMTP; 29 Dec 2001 00:47:06 -0000 Received: from abc.se (li.mine.nu [192.168.0.2]) by li.mine.nu (Postfix) with ESMTP id 5A1EE7A501; Sat, 29 Dec 2001 01:47:10 +0100 (CET) Message-ID: <3C2D128D.36581FC5@abc.se> Date: Fri, 16 Nov 2001 14:11:00 -0000 From: Bo Forslund X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.17 i686) X-Accept-Language: en MIME-Version: 1.0 To: Steve Tell Cc: guile-gtk list Subject: Re: guile-gtk snapshot (was Re: ERROR: In procedure dynamic-link:) References: Content-Type: multipart/mixed; boundary="------------E4B421A549CE6846419BF951" X-SW-Source: 2001-q4/txt/msg00021.txt.bz2 This is a multi-part message in MIME format. --------------E4B421A549CE6846419BF951 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-length: 952 Steve Tell wrote: > On Thu, 27 Dec 2001, Steve Tell wrote: > To followup my own question, it seems that CVS guile-gtk as of last night > doesn't really need gnome-common and pkgconfig; running the traditional > autogen procedure, "aclocal; automake --add-missing-gnu; autoheader; autoconf" > enables it to configure and build. > This is what I do in the rpm package. ( or at least what I intended to heh... ) I did it live in the BUILD dir and everything worked nice. But I couldn't get the rpm working until I realized that forgot to add the lines to the spec file. The testing tree of guile-gtk worked but the rpm version did not. It was a bit tricky to keep track of which version was running. I almost believed in ghosts for a while. =) here is a source rpm /home/bo/tmp/guile-gtk-20011121-7.src.rpm The patch used in the rpm comes as an attach. guile-gtk-20011121/Makefile.am and guile-gtk-20011121/examples/configure.in are changed. Bo --------------E4B421A549CE6846419BF951 Content-Type: text/plain; charset=us-ascii; name="guile-gtk-20011121-5.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="guile-gtk-20011121-5.patch" Content-length: 2745 diff -Nur guile-gtk-20011121-virgin/Makefile.am guile-gtk-20011121/Makefile.am --- guile-gtk-20011121-virgin/Makefile.am Tue Nov 13 00:06:08 2001 +++ guile-gtk-20011121/Makefile.am Fri Dec 28 22:39:15 2001 @@ -1,26 +1,20 @@ # -*- Makefile -*- -autoconf_macros = gnome-guile-checks.m4 -acinclude.m4: $(autoconf_macros) - cd $(srcdir); \ - cat $(autoconf_macros) > acim.tmp; \ - mv acim.tmp acinclude.m4 - -#bin_PROGRAMS = $(GUILE_GTK_VERSION) +bin_PROGRAMS = $(GUILE_GTK_VERSION) bin_SCRIPTS = build-guile-gtk lib_LTLIBRARIES = $(LIBGUILEGTK_VERSION) $(LIBGUILEDLOPENHELPER) -#EXTRA_PROGRAMS = guile-gtk-1.2 guile-gtk-1.3 +EXTRA_PROGRAMS = guile-gtk-1.2 guile-gtk-1.3 EXTRA_LTLIBRARIES = libguilegtk-1.2.la libguilegtk-1.3.la \ libguiledlopenhelper.la -#guile_gtk_1_2_SOURCES = main.c -#guile_gtk_1_2_LDFLAGS = -export-dynamic -#guile_gtk_1_2_LDADD = libguilegtk-1.2.la $(GUILE_LIBS) $(GTK_LIBS) - -#guile_gtk_1_3_SOURCES = main.c -#guile_gtk_1_3_LDFLAGS = -export-dynamic -#guile_gtk_1_3_LDADD = libguilegtk-1.3.la $(GUILE_LIBS) $(GTK_LIBS) +guile_gtk_1_2_SOURCES = main.c +guile_gtk_1_2_LDFLAGS = -export-dynamic +guile_gtk_1_2_LDADD = libguilegtk-1.2.la $(GUILE_LIBS) $(GTK_LIBS) + +guile_gtk_1_3_SOURCES = main.c +guile_gtk_1_3_LDFLAGS = -export-dynamic +guile_gtk_1_3_LDADD = libguilegtk-1.3.la $(GUILE_LIBS) $(GTK_LIBS) INCLUDES = $(GTK_CFLAGS) -I$(includedir) $(GUILE_INCS) @@ -68,9 +62,9 @@ include_HEADERS = guile-gtk.h -#install-exec-local: -# mkdir -p $(bindir) -# cd $(bindir) && rm -f guile-gtk && $(LN_S) $(GUILE_GTK_VERSION) guile-gtk +install-exec-local: + mkdir -p $(bindir) + cd $(bindir) && rm -f guile-gtk && $(LN_S) $(GUILE_GTK_VERSION) guile-gtk gtkmoduledir = $(datadir)/guile/gtk vgtkmoduledir = $(datadir)/guile/gtk-$(GTK_VERSION) @@ -109,8 +103,8 @@ gdk-glue.c: $(gdkdefs) build-guile-gtk $(BUILD) -I $(srcdir) glue $(gdkdefs) >tmpd && mv tmpd $@ -#main.c: $(gtkdefs) $(gdkdefs) build-guile-gtk -# $(BUILD) -I $(srcdir) main $(gtkdefs) $(gdkdefs) >tmpm && mv tmpm $@ +main.c: $(gtkdefs) $(gdkdefs) build-guile-gtk + $(BUILD) -I $(srcdir) main $(gtkdefs) $(gdkdefs) >tmpm && mv tmpm $@ Makefile: $(BUILT_SOURCES) diff -Nur guile-gtk-20011121-virgin/examples/configure.in guile-gtk-20011121/examples/configure.in --- guile-gtk-20011121-virgin/examples/configure.in Sat Dec 2 13:10:27 2000 +++ guile-gtk-20011121/examples/configure.in Fri Dec 28 22:42:41 2001 @@ -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) --------------E4B421A549CE6846419BF951-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bo Forslund To: Steve Tell Cc: guile-gtk list Subject: Re: guile-gtk snapshot (was Re: ERROR: In procedure dynamic-link:) Date: Fri, 28 Dec 2001 16:47:00 -0000 Message-ID: <3C2D128D.36581FC5@abc.se> References: X-SW-Source: 2001-q4/msg00033.html Message-ID: <20011228164700.kBfcRyLXHVDa1PaHQrLBxVyhsbOu0h6GjQzPT-odON0@z> Steve Tell wrote: > On Thu, 27 Dec 2001, Steve Tell wrote: > To followup my own question, it seems that CVS guile-gtk as of last night > doesn't really need gnome-common and pkgconfig; running the traditional > autogen procedure, "aclocal; automake --add-missing-gnu; autoheader; autoconf" > enables it to configure and build. > This is what I do in the rpm package. ( or at least what I intended to heh... ) I did it live in the BUILD dir and everything worked nice. But I couldn't get the rpm working until I realized that forgot to add the lines to the spec file. The testing tree of guile-gtk worked but the rpm version did not. It was a bit tricky to keep track of which version was running. I almost believed in ghosts for a while. =) here is a source rpm /home/bo/tmp/guile-gtk-20011121-7.src.rpm The patch used in the rpm comes as an attach. guile-gtk-20011121/Makefile.am and guile-gtk-20011121/examples/configure.in are changed. Bo