Mailinglist Archive: opensuse-packaging (138 mails)

< Previous Next >
Re: [opensuse-packaging] VDR-1.4.6 packages break additional addons
  • From: Ludwig Nussel <ludwig.nussel@xxxxxxx>
  • Date: Sat, 10 Mar 2007 10:32:03 +0100
  • Message-id: <200703101032.03811.ludwig.nussel@xxxxxxx>
Manfred Hollstein wrote:
> I just downloaded the latest vdr-1.4.6 packages for 10.0 and 10.1 (i586
> and x86_64), rebuilt my additional addons (-osdteletext and -plugins
> built agains the fully functional libxine1, fwiw), updated everything
> and tried to start vdr once again, but it failed complaining that it
> didn't find the configured plugins "osdteletext" and "xine". Looking
> inside the vdr-1.4.6 package reveals that, while the package's version
> number has been bumped to 1.4.6, the version number of the included
> software appears to be stuck at 1.4.5:
>
> rpm -qp vdr-1.4.6-2.1.x86_64.rpm -l | fgrep 1.4
> /usr/lib64/vdr/libvdr-hello.so.1.4.5
> /usr/lib64/vdr/libvdr-osddemo.so.1.4.5
> /usr/lib64/vdr/libvdr-skincurses.so.1.4.5
> /usr/lib64/vdr/libvdr-sky.so.1.4.5
> /usr/lib64/vdr/libvdr-status.so.1.4.5
> /usr/lib64/vdr/libvdr-svccli.so.1.4.5
> /usr/lib64/vdr/libvdr-svcsvr.so.1.4.5
> /usr/lib64/vdr/libvdr-svdrpdemo.so.1.4.5
>
> Hmmm, I guess this is an oversight and should be fixed, no? Whoever
> maintains the VDR package at repositories/vdr, could you please fix
> this?

The vdr package is correct. Vdr has an internal api version for
plugins which didn't change between 1.4.5 and 1.4.6. The vdr-plugins
package was wrong though. I have changed it to use APIVERSION
instead of the vdr package version now. In your own rpms you need to
do that as well when installing vdr plugins. I now use:

%define vdrapiversion %(sed -ne '/define APIVERSION/s/^.*"\\(.*\\)".*$/\\1/p' /usr/include/vdr/config.h)
PreReq: vdr = %{vdrapiversion}

installib()
{
for i in "$@"; do
install -m 755 libvdr-$i.so %{buildroot}%{_libdir}/vdr/libvdr-$i.so.%{vdrapiversion}
done
}

cu
Ludwig

--
(o_ Ludwig Nussel
//\ SUSE LINUX Products GmbH, Development
V_/_ http://www.suse.de/



---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
References