Attention: This mail actually contains a fix for the bonobo / libglade
problem...
Stefan van der Eijk wrote:
>
> Earlier this week I reported some problems with libglade. I
> was quite suprised that nobody reacted to it... Anyway, after
> some more investigation the following:
>
> If you would be so stupid to recompile libglade on an up2date
> cooker box it seems to compile fine (exit 0). However, within
> the buildlog you'll find this:
>
> ===
> checking for BONOBO - version >= 0.10... no
> *** Could not run BONOBO test program, checking why...
> *** The test program failed to compile or link. See the file config.log
> for the
> *** exact error that occured. This usually means BONOBO was incorrectly
> installed
> *** or that you have moved BONOBO since it was installed. In the latter
> case, you
> *** may want to edit the gnome-config script: /usr/bin/gnome-config
> ===
>
> Cooker's current bonobo version is at 0.9 (not enough for gnome
> support in libglade). 0.15 is the latest (unstable!!) version I've
> found on gnome.org. It may be time to upgrade to 0.15.
>
> On my system I quickly built a 0.15 bonobo package and installed it.
> Libglade then compiled with the same error. hmmm. weird. I then:
> 1) modfied the /usr/lib/bonoboConf.sh to include the location of the
> bonobo include files (/usr/include/bonobo).
> 2) made a link from Bonobo.h to bonobo.h
>
> Now libglade is happy.
>
> I think that the 1st modification (the includepath) to
> /usr/lib/bonoboConf.sh should be put in the bonobo package.
> However, the second one could be a "libglade only" problem,
> or is bonobo.h included instead of Bonobo.h. I don't know.
> Is putting in this softlink an issue?
>
> I've made a new bonobo package (with these changes included) and
> uploaded it to /incoming. Could the maintainer of bonobo have a
> look at it and perhaps put it in cooker?
>
> Thanks,
>
> Stefan van der Eijk
--- bonobo.spec.orig Sat Apr 15 00:19:30 2000
+++ bonobo.spec Sat Jul 15 10:40:11 2000
@@ -1,6 +1,6 @@
# Note this is NOT a relocatable thing :)
%define name bonobo
-%define version 0.9
+%define version 0.15
%define prefix %{_prefix}
Name: %{name}
@@ -10,6 +10,7 @@
Copyright: GPL
Group: System/Libraries
Source: %{name}-%{version}.tar.bz2
+Patch0: bonoboConf.sh.patch.bz2
Url: http://www.gnome.org/
Docdir: %{prefix}/doc
BuildRoot: %{_tmppath}/%{name}-buildroot
@@ -33,11 +34,7 @@
%setup -q
%build
-%ifarch alpha
- MYARCH_FLAGS="--host=alpha-redhat-linux"
-%endif
-CFLAGS="$RPM_OPT_FLAGS" ./configure --quiet $MYARCH_FLAGS --prefix=%{prefix} \
- --sysconfdir=/etc
+%configure --enable-oaf=no
if [ "$SMP" != "" ]; then
(make "MAKE=make -k -j $SMP"; exit 0)
@@ -47,13 +44,14 @@
fi
%install
+bzip2 -dc %{PATCH0} | patch -p1
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{prefix}
mkdir -p $RPM_BUILD_ROOT/etc
-make prefix=$RPM_BUILD_ROOT%{prefix} sysconfdir=$RPM_BUILD_ROOT/etc install
-
+%makeinstall
+cd $RPM_BUILD_ROOT%{_includedir}/bonobo ; ln -s Bonobo.h bonobo.h
%clean
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
@@ -85,6 +83,15 @@
%changelog
+* Sat Jul 15 2000 Stefan van der Eijk <[EMAIL PROTECTED]> 0.15-1mdk
+- updated to 0.15
+- modified bonoboConf.sh file --> location of bonobo includefiles
+- added links bonobo.h --> Bonobo.h
+- added --enable-oaf=no configure option (it didn't want to build without it
+- removed MYARCH_FLAGS="--host=alpha-redhat-linux" it now works out of the
+ box on an alpha
+- used %configure for configure
+
* Sat Apr 15 2000 DindinX <[EMAIL PROTECTED]> 0.9-1mdk
- New version (previous one was really too old and of no use).