SUSE root Logo
 
SUSEroot.com

 Home -> Blog
 
 Main Menu
 Recent Blog Posts
KDE, WTF

NetIQ Video

Treo 700p Tether with Linux

SUSE 10.2 on Dell Optiplex 320

SUSE 10.2

...the blog

 SUSE root News & Blog

March 9, 2005

Pavel Janik/SUSE Multimedia

My blog post yesterday about Enhancing SUSE Multimedia Support got a comment today from "Pavel". I assume this is Pavel Janik (if I'm mistaken, please let me know), who's blog can also be found on Planet SuSE. Anyway, his comment was fantastic, but very long and it appears my blog software screwed up the formatting. So I've reproduced his comment below:

Actually you don't have to delete SuSEs xine-lib.

If you inspect the xine-lib spec file you easily find that there is a simple way of building two _additional_ packages to make xine-lib as provided by SUSE full-functional (even playing encrypted DVDs).

Well, it is really simple. First you need libdvdcss which can be built with the following spec file (The BuildRequires is for SUSE 9.2 --- you can build it with the SUSE build script.):

---
# norootforbuild
# neededforbuild

BuildRequires: aaa_base aaa_skel acl ash attr autoconf automake bash bind-libs bind-utils binutils bison bzip2 coreutils cpio cpp cracklib cvs cyrus-sasl db devs diffutils e2fsprogs file filesystem fillup findutils flex gawk gcc gdbm gdbm-devel gettext glibc glibc-devel glibc-locale gpg gpm grep groff gzip info insserv less libacl libattr libgcc libgcj libnscd libselinux libstdc++ libtool libxcrypt libzio logrotate m4 make man mktemp module-init-tools ncurses ncurses-devel net-tools netcfg openldap2-client openslp openssl pam pam-modules patch perl permissions popt procinfo procps psmisc pwdutils rcs readline resmgr rpm sed strace suse-build-key suse-release syslogd sysvinit tar tcpd tcsh texinfo timezone unzip util-linux vim zlib zlib-devel

Name: libdvdcss
Summary: Library for accessing DVDs like block device usind deCSS if needed
Version: 1.2.8
Release: 0
License: GPL
URL: http://www.videolan.org/libdvdcss/
Group: System/Libraries
Source0: libdvdcss-1.2.8.tar.bz2
NoSource: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Conflicts: libdvdcss0.0.1, libdvdcss0.0.2
%description
libdvdcss is a simple library designed for accessing DVDs like a block device without having to bother about the decryption. The important features are:

  • Portability. Currently supported platforms are GNU/Linux, FreeBSD, NetBSD, OpenBSD, BSD/OS, BeOS, Windows 95/98, Windows NT/2000, MacOS X, Solaris, and HP-UX.
  • Simplicity. There are currently 7 functions in the API, and we intend to keep this number low.
  • Freedom. libdvdcss is released under the General Public License, ensuring it will stay free, and used only for free software products.
  • Just better. Unlike most similar projects, libdvdcss doesn't require the region of your drive to be set.
%package devel
Summary: Development tools for programs which will use the libdvdcss library
Group: Development/C
Requires: %{name} = %version-%release

%description devel
The libdvdcss-devel package includes the header files and static libraries necessary for developing programs which will manipulate DVDs files using the libdvdcss library.

If you are going to develop programs which will manipulate DVDs, you should install libdvdcss-devel. You'll also need to have the libdvdcss package installed.

%prep
%setup -q -n libdvdcss-%{version}

%build
export CFLAGS="$RPM_OPT_FLAGS"

%configure
make

%install
rm -rf %buildroot

%makeinstall
cd %{buildroot}%{_libdir}
ln -s libdvdcss.so.2 libdvdcss.so.1

%clean
rm -rf %buildroot

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc AUTHORS COPYING
%{_libdir}/*.so.*

%files devel
%defattr(-,root,root)
%doc ChangeLog COPYING
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/*.so
%{_includedir}/*
---

After that you rebuilt the xine-lib source RPM. You can throw away all generated binary packages but xine-internal.

Finally just install both libdvdcss and xine-internal along with the SUSE provided xine packages and you are done.

Posted 15 years, 7 months ago on March 9, 2005
The trackback url for this post is http://www.suseroot.com/blog/bblog/trackback.php/18/
Re: Pavel Janik/SUSE Multimedia
I can't understand anything! Posted 15 years, 6 months ago by bill • • • Reply
Comment Trackback URL : http://www.suseroot.com/blog/bblog/trackback.php/18/48/
עבודה בחו"ל יפן
... עבודה באוסטרליה - מזה 6 שנים שאנו מטיסים אלפי צעירים ל עבודה בחול מבחינה חברתית,תעסוקתית,רווחית הוגנת והכל. מוכרים בחנויות הנוחות בתחנות דלק עובדים במלונות ,בעבודות שמירה  ואבטחה או כל דרך ניראת ... SUSE root News & Blog ... Trackback from עבודה בחו"ל יפן Posted 2 weeks, 2 days ago • Reply
Comment Trackback URL : http://www.suseroot.com/blog/bblog/trackback.php/18/4492/
Lucid Dreams Old Hag
... sleeping - Since you are used to live your life calming you down, kick you while you sleep, better. The first time the term for what you consider your lifestyle - do you want in life. I si... SUSE root News & Blog ... Trackback from Lucid Dreams Old Hag Posted 4 years, 5 months ago • Reply
Comment Trackback URL : http://www.suseroot.com/blog/bblog/trackback.php/18/5048/
Reality Check Lucid Dream Program
... sleep - You are more important or that the dreamer is mentally disaster. What are the uniqueness of a series of apple ads that rotate with a certain bias. If you have fitness goals... SUSE root News & Blog ... Trackback from Reality Check Lucid Dream Program Posted 4 years, 2 months ago • Reply
Comment Trackback URL : http://www.suseroot.com/blog/bblog/trackback.php/18/5545/

Add Comment

( to reply to a comment, click the reply link next to the comment )

 
Comment Title
 
Your Name:
 
Email Address:
Make Public?
 
Website:
Make Public?
 
Comment:

Allowed XHTML tags : a, b, i, strong, code, acrynom, blockquote, abbr. Linebreaks will be converted automatically.

 
 
 
Powered by bBlog the free PHP Blogging script.
SiteMap
SUSEroot.com © 2004 by Damian Smith. Trademark and copyleft information is covered on the About SUSEroot page. Contact me at damian@suseroot.com