Re: Latest xine-lib upgrades from extras incompatbile with xine from Freshrpms

"Paulo Cavalcanti" <[email protected]>
Newsgroups gmane.linux.freshrpms.user
Message-ID <[email protected]>
On 4/14/07, Andre Costa <[email protected]> wrote:
>
> Hi,
>
> subject says it all: I just tried my regular package updates with smart
> and it told me it would need to remove xine and xine-lib-moles in order
> to install latest xine-lib-1.1.5-1.fc6 and xine-lib-extras-1.1.5-1.fc6
> from extras.
>
> Matthias: any chance updated xine and xine-lib-moles hit Freshrpms
> anytime soon? ;-) (no pressure, just 'pinging' =))



This one is a little bit harder to build.

I needed to include 3 patches from extras, and disable arts for building for
64 bits.

Source1: rpm_-ql_xine-lib.txt
Source2: rpm_-ql_xine-lib-extras.txt
Patch0:  xine-lib-1.1.3-optflags.patch
Patch1:  xine-lib-1.1.5-pthread-check.patch
Patch2:  xine-lib-1.1.1-deepbind-939.patch

------------------------------------------------------------------------------------------------------

%prep
%setup -n xine-lib-%{version}
touch -r m4/optimizations.m4 m4/optimizations.m4.stamp
%patch0 -p1 -b .optflags
touch -r m4/optimizations.m4.stamp m4/optimizations.m4
touch -r m4/pthreads.m4 m4/pthreads.m4.stamp
%patch1 -p1
touch -r m4/pthreads.m4.stamp m4/pthreads.m4
%patch2 -p1 -b .deepbind


%build
%configure \
    %{?_with_extffmpeg:--with-external-ffmpeg} \
    %{!?_with_extdvdnav:--with-included-dvdnav} \
    --with-external-a52dec \
    --with-external-libmad \
    --without-arts
%{__make} %{?_smp_mflags}

------------------------------------------------------------------------------------------

Finally, a new file appeared:

%files
%defattr(-, root, root, 0755)
%doc COPYING doc/README.network_dvd
%{_libdir}/xine/plugins/%{version}/post/*.so
%{_libdir}/xine/plugins/%{version}/*.so
%{_libdir}/xine/plugins/%{version}/mime.types   <-------------------------


I hope this helps.

-- 
Paulo Roma Cavalcanti
LCG - UFRJ
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.