On Tue, 2007-04-17 at 02:45 -0400, Radu-Cristian FOTESCU wrote: > --- Benjamin Sher <delphi123@xxxxxxxxx> wrote: > > Is there a single source for the multimedia applications that are not > > included with Centos 5: RealPlayer, Mplayer, mplayerplug-in, > > Acrobat Reader, Java, libdvdcss, etc.? Already answered elsewhere in the thread, but short answer "No". > Let me add my question too: how safe it is to use the extra ATrpms, DAG and > Dries repositories from SL5? > > 1. ftp://ftp.scientificlinux.org/linux/extra/atrpms/ > has for SL5 ('el5'): 915resolution, divx4linux, ffmpeg, ipw*, > kernel-suspend2(!), madwifi, ndiswrapper, nvidia (7184, 8776, 9629, 9746)... > > 2. ftp://ftp.scientificlinux.org/linux/extra/dag/packages/ > has for SL5 (el5) some of the previous packages, plus: acroread-5.0.10, > mozilla-acroread-5.0.10, flash-plugin-9.0.31.0, > gstreamer-plugins-bad/ugly/ffmpeg, ... > > 3. ftp://ftp.scientificlinux.org/linux/extra/dries/packages/ > has for SL5 (el5): not much, they're still on SL4 as of yet. > > There seems to be such a duplication, triplication, multimplication: > a) between Dag/Dries/RpmForge/ATrpms; > b) between original repos and selective copies on friendly repos (SL); > c) between SL and CentOS extra repos. Can't speak to the SL repos, but why not use the EL5 repos from the various packagers directly? This may not be pretty, but can be managed with good success by a combination of yum protectbase and priorities plugins as recommended in the Wiki: http://wiki.centos.org/PackageManagement/Yum http://wiki.centos.org/Repositories I have flash, mplayer, acrobat reader, and java (not libdvdcdd due to legal rather than technical issues) working on CentOS5 with a combination of RPMforge and home-built packages: Locally built - due to licensing/availability issues: acroread-7.0.9-2.LaRC mozilla-acroread-7.0.9-2.LaRC [see spec and post-patch to /usr/bin/acroread script below] java-1.5.0-sun-1.5.0.11-1jpp java-1.5.0-sun-alsa-1.5.0.11-1jpp java-1.5.0-sun-demo-1.5.0.11-1jpp java-1.5.0-sun-devel-1.5.0.11-1jpp java-1.5.0-sun-fonts-1.5.0.11-1jpp java-1.5.0-sun-jdbc-1.5.0.11-1jpp java-1.5.0-sun-plugin-1.5.0.11-1jpp [see http://wiki.centos.org/HowTos/JavaOnCentOS] HelixPlayer-1.0.8-1rh5 HelixPlayer-plugin-1.0.8-1rh5 [http://rpmfarm.free.fr/6/i386/SRPMS.farm/HelixPlayer-1.0.8-1.EL.fc6.src.rpm] RPMforge packages: flash-plugin-9.0.31.0-1.el5.rf mplayer-1.0-0.34.rc1try2.el5.rf mplayer-docs-1.0-0.34.rc1try2.el5.rf mplayer-fonts-1.1-3.0.rf mplayerplug-in-3.40-1.el5.rf mplayer-skins-1.8-1.nodist.rf > Don't shoot. Bang! :-) Phil [Watch out for line-wraps.] --------------------------- acroread.spec --------------------------- # $Id: acroread.spec 4303 2006-04-18 22:05:03Z dries $ # Authority: dag ### Prevent the plugins from being stripped and disabled %define __spec_install_post /usr/lib/rpm/brp-compress || : # Don't create a debuginfo package. %define debug_package %{nil} %{?dist: %{expand: %%define %dist 1}} %{?rh7:%define _without_freedesktop 1} %{?el2:%define _without_freedesktop 1} %{?rh6:%define _without_freedesktop 1} %define desktop_vendor rpmforge Summary: Adobe Reader for viewing PDF files Name: acroread Version: 7.0.9 Release: 2.LaRC License: Commercial, Freely Distributable Group: Applications/Publishing URL: http://www.adobe.com/products/acrobat/readermain.html Packager: Phil Schaffner <p.r.schaffner@xxxxxxxxxxxxx> Vendor: LaRC/RTD/ESB, http://srb.larc.nasa.gov/ Source: AdobeReader_enu-%{version}-2.i386.tar.gz #NoSource: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root ExclusiveArch: i386 BuildRequires: perl %{?!_without_freedesktop:BuildRequires: desktop-file-utils} Obsoletes: acrobat <= %{version}, AdobeReader_enu <= %{version} Requires: htmlview ### Missing provides ? Provides: libACE.so, libACE.so(VERSION), libAGM.so, libAGM.so(VERSION) Provides: libBIB.so, libBIB.so(VERSION), libCoolType.so, libCoolType.so(VERSION) Provides: libResAccess.so %description Adobe Reader is part of the Adobe Acrobat family of software, which lets you view, distribute, and print documents in Portable Document Format (PDF)--regardless of the computer, operating system, fonts, or application used to create the original file. PDF files retain all the formatting, fonts, and graphics of the original document, and virtually any PostScript(TM) document can be converted into a PDF file. Adobe Acrobat Reader have a plug-in for Netscape Navigator to to view PDF files inline %package -n mozilla-acroread Summary: Adobe Reader plug-in for viewing PDF files with the mozilla browser Group: Applications/Internet Requires: %{name} = %{version} #Requires: %{_libdir}/mozilla/plugins/ Provides: %{name}-plugin = %{version}-%{release} Obsoletes: %{name}-plugin < %{version} %description -n mozilla-acroread This package provides the Adobe Reader plugin for mozilla. %prep %setup -c %build %install %{__rm} -rf %{buildroot} %{__install} -d -m0755 %{buildroot}%{_libdir}/acroread/ %{__tar} -xvf AdobeReader/COMMON.TAR -C %{buildroot}%{_libdir}/acroread/ %{__tar} -xvf AdobeReader/ILINXR.TAR -C %{buildroot}%{_libdir}/acroread/ ### Silent some rpm permission warnings #%{__chmod} +x %{buildroot}%{_libdir}/acroread/Reader/*/lib/lib*.so* ### Make links %{__install} -d -m0755 %{buildroot}%{_bindir} %{__ln_s} -f %{_libdir}/acroread/bin/acroread %{buildroot}%{_bindir}/acroread ### Need to hardlink, softlinks do not work %{__install} -d -m0755 %{buildroot}%{_libdir}/netscape/plugins/ ln -f %{buildroot}%{_libdir}/acroread/Browser/intellinux/nppdf.so %{buildroot}%{_libdir}/netscape/plugins/nppdf.so %{__install} -d -m0755 %{buildroot}%{_libdir}/mozilla/plugins/ ln -f %{buildroot}%{_libdir}/acroread/Browser/intellinux/nppdf.so %{buildroot}%{_libdir}/mozilla/plugins/nppdf.so ### Strip binaries and libraries #%{__strip} %{buildroot}%{_libdir}/acroread/Reader/intellinux/bin/acroread %{buildroot}%{_libdir}/acroread/Reader/intellinux/lib/*.so.* %{__install} -Dp -m0644 %{buildroot}%{_libdir}/acroread/Resource/Icons/AdobeReader.png %{buildroot}%{_datadir}/pixmaps/AdobeReader.png %{__cp} -afp %{buildroot}%{_libdir}/acroread/Resource/Support/AdobeReader_GNOME.desktop acroread.desktop %if %{?_without_freedesktop:1}0 %{__install} -Dp -m0644 acroread.desktop %{buildroot}%{_datadir}/gnome/apps/Applications/acroread.desktop %else %{__install} -d -m0755 %{buildroot}%{_datadir}/applications/ desktop-file-install --vendor %{desktop_vendor} \ --add-category X-Red-Hat-Base \ --dir %{buildroot}%{_datadir}/applications \ acroread.desktop %endif %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc AdobeReader/*.htm AdobeReader/*.TXT %{_bindir}/acroread %dir %{_libdir}/acroread/ %{_libdir}/acroread/Reader/ %{_libdir}/acroread/Resource/ %{_libdir}/acroread/bin/ %{_datadir}/pixmaps/AdobeReader.png %{?_without_freedesktop:%{_datadir}/gnome/apps/Applications/acroread.desktop} %{!?_without_freedesktop:%{_datadir}/applications/%{desktop_vendor}-acroread.desktop} %files -n mozilla-acroread %defattr(-, root, root, 0755) %dir %{_libdir}/acroread/ %{_libdir}/acroread/Browser/ %{_libdir}/mozilla/plugins/nppdf.so %{_libdir}/netscape/plugins/nppdf.so %changelog * Fri Mar 23 2007 Phil Schaffner <p.r.schaffner@xxxxxxxxxxxxx> - 7.0.9-2 - Patches from Forum rolled into COMMON.TAR and tarball recreated * Wed Nov 01 2006 Phil Schaffner <p.r.schaffner@xxxxxxxxxxxxx> - 7.0.8-2 - Patches from Forum * Mon Jun 12 2006 Dag Wieers <dag@xxxxxxxxxx> - 7.0.8-1 - Updated to release 7.0.8. * Sat Mar 04 2006 Dries Verachtert <dries@xxxxxxxxxxx> - 7.0.5-2 - Disabled creation of a debuginfo package. * Fri Jan 27 2006 Dag Wieers <dag@xxxxxxxxxx> - 7.0.5-1 - Updated to release 7.0.5. * Fri Mar 18 2005 Dag Wieers <dag@xxxxxxxxxx> - 7.0.0-2 - Disabled stripping globally to make plugin working. (Jürgen Möllenhoff) * Tue Mar 15 2005 Dag Wieers <dag@xxxxxxxxxx> - 7.0.0-1 - Updated to release 7.0.0. * Mon Dec 20 2004 Dag Wieers <dag@xxxxxxxxxx> - 5.0.10-1 - Feedback from Jason L Tibbitts. - Updated to release 5.0.10. * Thu Nov 18 2004 Dag Wieers <dag@xxxxxxxxxx> - 5.0.9-2 - Removed %%{_libdir}/mozilla/plugins/ * Thu Jun 24 2004 Dag Wieers <dag@xxxxxxxxxx> - 5.0.9-1 - Updated to release 5.0.9. - Fixed the acroread icon. (Sahak Petrosyan) - Added fix for crash when doing 'Find' on non-existing strings. (Stefan Hoelldampf) * Tue Jan 27 2004 Dag Wieers <dag@xxxxxxxxxx> - 5.0.8-1 - Added fix to make locale settings still work. (Fernando Lozano) * Mon Jan 26 2004 Dag Wieers <dag@xxxxxxxxxx> - 5.0.8-0 - Added exports for LANG and LC_ALL, just in case. (Axel Thimm) - Updated to release 5.0.8. * Mon Aug 25 2003 Dag Wieers <dag@xxxxxxxxxx> - 5.0.7-2 - Fixed Unicode locale support, again. (Matthew Mastracci) * Fri Aug 01 2003 Dag Wieers <dag@xxxxxxxxxx> - 5.0.7-1 - Put mozilla plugins into a seperate package. - Improved the desktop file. * Sun Jul 13 2003 Dag Wieers <dag@xxxxxxxxxx> - 5.0.7-0 - Initial package. (using DAR) ------------------------- end acroread.spec ------------------------- --------------------------- acroread patch --------------------------- [prs@wx1 BUILD]$ diff -r -u acroread-7.0.9 acroread-7.0.9_patched diff -r -u acroread-7.0.9/AdobeReader/bin/acroread acroread-7.0.9_patched/AdobeReader/bin/acroread --- acroread-7.0.9/AdobeReader/bin/acroread 2007-01-05 14:56:39.000000000 -0500 +++ acroread-7.0.9_patched/AdobeReader/bin/acroread 2007-03-23 13:32:00.000000000 -0400 @@ -415,7 +415,7 @@ return 1 fi - echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g' + echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]*\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g' return 0 fi @@ -640,7 +640,7 @@ # Check the version of gtk and update the LD_LIBRARY_PATH if required. if [ "`uname -s`" = "Linux" ]; then - MIN_GTK_VERSION="240" + MIN_GTK_VERSION="2040" check_gtk_ver_and_set_lib_path "$MIN_GTK_VERSION" ### returns 0 if found gtk >= 2.4 fi --------------------------- end acroread patch --------------------------- _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos