Sorry, my stupidity/sleepiness. Diff attached now.
Abel Cheung
---------- Forwarded message ----------
Date: Mon, 12 Feb 2001 17:36:23 +0800 (HKT)
From: R.I.P. Deaddog <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [Cooker] gimp libs problems
The compatability symlinks have never been done right, hope the patch I
attached against the spec can do it correctly. Notice the bottom half of
patch, not the upper half. Don't know why the original SRPM generates
nonexistant target "bmpeg" and "gap_decode_bmpeg" so I use another line of
perl to revert some of the changes (I mean s/mpeg/bmpeg/g).
Abel Cheung
On Fri, 9 Feb 2001, Guillaume Rousse wrote:
> After installing gimp-1.2.1-2mdk and libgimp1.2_1, i have three broken
> links in /usr/lib:
> [root@agathe guillaume]# rpm -U RPM/RPMS/i586/libgimp1.2_1-1.2.1-2mdk.i586.rpm
>
> /sbin/ldconfig: warning: can't open /usr/lib/libgck.so.1 (Aucun fichier ou
> r�pertoire de ce type), skipping
> /sbin/ldconfig: warning: can't open /usr/lib/libgimp.so.1 (Aucun fichier ou
> r�pertoire de ce type), skipping
> /sbin/ldconfig: warning: can't open /usr/lib/libgimpui.so.1 (Aucun fichier
> ou r�pertoire de ce type), skipping
> [root@agathe guillaume]# ll /usr/lib/libgck*
> lrwxrwxrwx 1 root root 19 f�v 9 18:30
> /usr/lib/libgck-1.2.so.0 -> libgck-1.2.so.0.0.1*
> -rwxr-xr-x 1 root root 49512 f�v 7 13:23
> /usr/lib/libgck-1.2.so.0.0.1*
> lrwxrwxrwx 1 root root 17 f�v 9 18:31
> /usr/lib/libgck.so.1 -> libgck-1.2.so.1.*
> Morevoer, those broken links are not owned by the package, so they are not
> removed with it.
>
> I use my own rebuild gimp package for 7.2, but i don't thinks it is causing
> the problem.
>
--- gimp.spec Wed Feb 7 01:29:41 2001
+++ gimp.spec.new Wed Feb 7 23:27:42 2001
@@ -98,6 +98,7 @@
%patch1 -p1 -b .perlpath
%patch2 -p1 -b .mpeg
perl -pi -e 's!mpeg!bmpeg!g' configure
+perl -pi -e "s!.*GAP_DECODE_MPEG=.*! MPEG='mpeg'; LIBMPEG='-lbmpeg';
+GAP_DECODE_MPEG='gap_decode_mpeg'!" configure
%build
%ifarch %ix86 ppc
@@ -212,9 +213,9 @@
pushd $RPM_BUILD_ROOT%{_libdir}/
# compat symlink to get stuff working.
-ln -sf libgimp-%{subver}.so.%{revision}.* libgimp.so.1
-ln -sf libgimpui-%{subver}.so.%{revision}.* libgimpui.so.1
-ln -sf libgck-%{subver}.so.%{revision}.* libgck.so.1
+ln -sf libgimp-%{subver}.so.0.0.%{revision} libgimp.so.1
+ln -sf libgimpui-%{subver}.so.0.0.%{revision} libgimpui.so.1
+ln -sf libgck-%{subver}.so.0.0.%{revision} libgck.so.1
popd
#pushd $RPM_BUILD_ROOT