Update of /cvsroot/fink/experimental/beren12/finkinfo/graphics
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv7797/graphics

Added Files:
        mplayer-altivec.info mplayer.info mplayer.patch 
Log Message:
sync


--- NEW FILE: mplayer.info ---
Package: mplayer
Version: 1.0.0pre6a
Revision: 10
Source: mirror:custom:MPlayer-1.0pre6a.tar.bz2
CustomMirror: <<
  eur-HU: http://www1.mplayerhq.hu/MPlayer/releases/
  eur-HU: http://www2.mplayerhq.hu/MPlayer/releases/
  eur-HU: ftp://ftp1.mplayerhq.hu/MPlayer/releases/
  eur-HU: ftp://ftp2.mplayerhq.hu/MPlayer/releases/
  eur-CH: http://www4.mplayerhq.hu/MPlayer/releases/
  nam-US: http://ftp5.mplayerhq.hu/MPlayer/releases/
  nam-US: http://ftp5.mplayerhq.hu/MPlayer/releases/
  oce-AU: ftp://ftp6.mplayerhq.hu/MPlayer/releases/
  eur-BG: ftp://ftp8.mplayerhq.hu/MPlayer/releases/
<<

Source-MD5: a812d945b884c2e2fa7f90c57cd76bff

BuildDepends: lame, gtk+, glib, libpng3, aalib (>= 1.4rc5-2), libogg, 
libvorbis0, libdv4, libmad, sdl, arts-dev (>= 1.1.0-2), libgettext3-dev, 
gettext-bin, gettext-tools, libiconv-dev, xvidcore, x11-dev, fink (>= 
0.17.0-1), xmms, libjpeg, giflib, glib2, esound, audiofile

Depends: x11, gtk+-shlibs, glib-shlibs, libpng3-shlibs, aalib-shlibs (>= 
1.4rc5-2), sdl-shlibs, libogg-shlibs, libvorbis0-shlibs, libmad-shlibs, 
lame-shlibs, lynx | elinks-ssl | www-browser, libdv4-shlibs, arts-shlibs, 
mplayer-skin, xvidcore-shlibs, xmms-shlibs, libjpeg-shlibs, giflib-shlibs, 
glib2-shlibs, esound-shlibs, audiofile-shlibs

Replaces: mplayer-altivec, mplayer-custom, mplayer0.9
Conflicts: mplayer-altivec, mplayer-custom, mplayer0.9
Provides: x-media-player

PatchScript: <<
#!/bin/bash -e
touch .developer
patch -p1 < %a/%n.patch
perl -pi -e 's/#elif defined\(__FreeBSD__\) \|\| defined\(__bsdi__\)/#elif 
defined\(__FreeBSD__\) \|\| defined\(__bsdi__\) \|\| defined\(__APPLE__\)/' 
libmpdemux/cddb.c
<<

ConfigureParams: --with-extralibdir="%p/lib" --with-extraincdir="%p/include" 
--mandir="%p/share/man" --enable-menu --enable-gui --disable-cpu-optimization 
--disable-altivec --enable-xmms --disable-cdparanoia

InstallScript: <<
  make install DESTDIR=%d
  mkdir -p %i/etc/mplayer
  cp etc/codecs.conf %i/etc/mplayer/codecs.conf  
  cp etc/input.conf %i/etc/mplayer/input.conf  
  cp etc/example.conf %i/etc/mplayer/mplayer.conf
  rm -rf %i/share/%n/font
  mkdir -p %i/share/doc/%n
  cp -r DOCS/* %i/share/doc/%n
<<
DocFiles: AUTHORS ChangeLog LICENSE README
ConfFiles: <<
  %p/etc/mplayer/mplayer.conf
  %p/etc/mplayer/codecs.conf
  %p/etc/mplayer/input.conf
<<
Description: MPEG 1/2, .ogm and AVI movie player
DescDetail: <<
MPlayer is a movie and animation player based on the 0.2.0 version of
libmpeg2 (mpeg2dec) and the Avifile library. It uses mpeg2dec/libmpeg2
for MPEG decoding. The supported file formats are MPEG 1/2 (MPG, DAT,
BIN, VOB) and AVI/ASF/WMF(Mpeg/PCM/AC3/DivX/MS-ADPCM/aLaw audio,
MPEG4/DivX/Indeo/CVID/WMF video codecs and many more). It supports
hardware YUV colorspace conversion and scaling via mga_vid/syncfb
devices or the X11 Xv extension.
<<
DescPort: <<
faa2 is included to play mp4/AAC files, but should be also in a seperate 
package...which maybe we should force to use.
On second thought, mplayer's is newer

I hope these deps are correct...

Previously by Justin Hallett
<<
License: GPL
Maintainer: Chris Zubrzycki <[EMAIL PROTECTED]>
Homepage: http://www.mplayerhq.hu/

--- NEW FILE: mplayer.patch ---
diff -ruN -x CVS mplayer/configure mplayer.new/configure
--- mplayer/configure   2006-04-27 22:59:28.000000000 -0400
+++ mplayer.new/configure       2006-04-28 15:54:21.000000000 -0400
@@ -354,6 +354,7 @@
 
 Miscellaneous options:
   --enable-runtime-cpudetection    Enable runtime CPU detection [disable]
+  --disable-cpu-optimization       Disable gcc CPU build optimization [enable]
   --enable-cross-compile Enable cross-compilation [autodetect]
   --cc=COMPILER          use this C compiler to build MPlayer [gcc]
   --host-cc=COMPILER     use this C compiler to build apps needed for the 
build process [gcc]
@@ -458,6 +459,7 @@
 test "$CC" && _cc="$CC"
 _as=auto
 _runtime_cpudetection=no
+_cpu_optimization=yes
 _cross_compile=auto
 for ac_option do
   case "$ac_option" in
@@ -500,6 +502,12 @@
   --disable-runtime-cpudetection)
     _runtime_cpudetection=no
     ;;
+  --disable-cpu-optimization)
+    _cpu_optimization=no
+    ;;
+  --enable-cpu-optimization)
+    _cpu_optimization=yes
+    ;;
   --enable-cross-compile)
     _cross_compile=yes
     ;;
@@ -1238,6 +1246,7 @@
 
     echocheck "GCC & CPU optimization abilities"
 
+    if test "$_cpu_optimization" = yes; then
     if test -n "$proc"; then
         case "$proc" in
            601) _march='-mcpu=601' _mcpu='-mtune=601' ;;
@@ -1282,6 +1291,7 @@
            esac
        fi
     fi
+    fi
 
     if test -n "$_mcpu"; then
         _optimizing=`echo $_mcpu | cut -c 8-`
@@ -1678,6 +1688,8 @@
   --with-extralibdir=*) ;;
   --enable-runtime-cpudetection) ;;
   --disable-runtime-cpudetection) ;;
+  --enable-cpu-optimization) ;;
+  --disable-cpu-optimization) ;;
   --enable-cross-compile) ;;
   --disable-cross-compile) ;;
   --install-path=*) ;;
diff -ruN -x CVS mplayer/debian/config mplayer.new/debian/config
--- mplayer/debian/config       2006-02-27 08:35:13.000000000 -0500
+++ mplayer.new/debian/config   2006-04-28 16:06:18.000000000 -0400
@@ -1,11 +1,11 @@
 #!/bin/sh
 
-CONFIGFILE=/etc/mplayer/mplayer.conf
[EMAIL PROTECTED]@/etc/mplayer/mplayer.conf
 
 set -e
 
 # Source debconf library.
-. /usr/share/debconf/confmodule
+. @FINKPREFIX@/share/debconf/confmodule
 
 if test -r $CONFIGFILE && ! grep -q '### mplayer DEBCONF AREA' $CONFIGFILE
 then
@@ -19,11 +19,11 @@
 
 ########################################## find fonts
 #default font (if available)
-BESTFONT=/usr/share/fonts/truetype/Arial.ttf
-[ -r $BESTFONT ] || BESTFONT=/usr/share/fonts/truetype/freefont/FreeSans.ttf
[EMAIL PROTECTED]@/lib/X11/fonts/applettf/Arial.ttf
+[ -r $BESTFONT ] || [EMAIL 
PROTECTED]@/share/fonts/truetype/freefont/FreeSans.ttf
 
 t=$(tempfile -p fonts )
-find /usr/share/fonts/ /?/?in*/?ont* -type f -iname '*.ttf' -maxdepth 3 2> 
/dev/null  > $t  || true
+find @FINKPREFIX@/share/fonts/ @FINKPREFIX@/lib/X11/fonts /?/?in*/?ont* -type 
f -iname '*.ttf' -maxdepth 3 2> /dev/null  > $t  || true
 
 if test -s $t
 then
diff -ruN -x CVS mplayer/debian/menu mplayer.new/debian/menu
--- mplayer/debian/menu 2006-04-27 22:59:47.000000000 -0400
+++ mplayer.new/debian/menu     2006-04-28 15:57:41.000000000 -0400
@@ -2,5 +2,5 @@
   needs="X11"\
   section="Apps/Viewers"\
   title="MPlayer"\
-  command="/usr/bin/gmplayer"\
-  icon="/usr/share/pixmaps/mplayer.xpm"
+  command="@FINKPREFIX@/bin/gmplayer"\
+  icon="@FINKPREFIX@/share/pixmaps/mplayer.xpm"
diff -ruN -x CVS mplayer/debian/postinst mplayer.new/debian/postinst
--- mplayer/debian/postinst     2006-02-27 08:35:13.000000000 -0500
+++ mplayer.new/debian/postinst 2006-04-28 16:02:59.000000000 -0400
@@ -12,7 +12,7 @@
 
 dealwithupgrades();
 
-my $mcfg = new ConfHelper('mplayer', "/etc/mplayer/mplayer.conf");
+my $mcfg = new ConfHelper('mplayer', "@FINKPREFIX@/mplayer/mplayer.conf");
 
 
 
@@ -24,17 +24,17 @@
 
 
 sub dealwithupgrades {
-  open(OLDCONF, "</etc/mplayer/mplayer.conf") || return 1;
+  open(OLDCONF, "<@FINKPREFIX@/mplayer/mplayer.conf") || return 1;
   close OLDCONF;
 
-  my $mconf = new ConfHelper("mplayer", "/etc/mplayer/mplayer.conf");
+  my $mconf = new ConfHelper("mplayer", "@FINKPREFIX@/mplayer/mplayer.conf");
   return 1 if ($mconf->hasconfarea());
   undef $mconf;
 
   if ((get('mplayer/replace-existing-files') eq 'true') &&
       (fget('mplayer/replace-existing-files', 'isdefault') eq 'false')) {
     $didupgrade = 1;
-    for my $file ("/etc/mplayer/mplayer.conf"    ) {
+    for my $file ("@FINKPREFIX@/mplayer/mplayer.conf"    ) {
       debug("Moving away $file");
       rename($file,$file . ".old");
     }
diff -ruN -x CVS mplayer/debian/postrm mplayer.new/debian/postrm
--- mplayer/debian/postrm       2003-01-12 09:20:37.000000000 -0500
+++ mplayer.new/debian/postrm   2006-04-28 16:04:57.000000000 -0400
@@ -3,15 +3,15 @@
 set -e
 
 if [ "$1" = "purge" ]; then
-       if [ -e /usr/share/debconf/confmodule ]; then
+       if [ -e @FINKPREFIX@/share/debconf/confmodule ]; then
                # Source debconf library.
-               . /usr/share/debconf/confmodule
+               . @FINKPREFIX@/share/debconf/confmodule
                # Remove my changes to the db.
                db_purge
        fi
 
-       if [ -d /etc/mplayer/ ]; then
-               rm -rf /etc/mplayer/
+       if [ -d @FINKPREFIX@/etc/mplayer/ ]; then
+               rm -rf @FINKPREFIX@/etc/mplayer/
        fi
 fi
 
diff -ruN -x CVS mplayer/debian/templates mplayer.new/debian/templates
--- mplayer/debian/templates    2006-02-27 08:35:13.000000000 -0500
+++ mplayer.new/debian/templates        2006-04-28 16:07:19.000000000 -0400
@@ -4,7 +4,7 @@
 Description: Upgrade existing system?
  It looks like you've configured MPlayer already. If you'd like to
  configure it with this program, I'll have to delete the old
- configuration /etc/mplayer/mplayer.conf.  Do you want to continue
+ configuration @FINKPREFIX@/etc/mplayer/mplayer.conf.  Do you want to continue
  configuration with this program?  If you say "Yes", I'll go ahead and
  delete your old configuration and you can create it anew with this
  program.  If you say "No" I'm going to exit now since you don't want

--- NEW FILE: mplayer-altivec.info ---
Package: mplayer-altivec
Version: 1.0.0pre7.cvs
Revision: 1.0.20060428
Source: http://homepage.mac.com/beren/mplayer-1.0-20060428.tar.bz2
#Source: mirror:custom:MPlayer-1.0pre6a.tar.bz2
#CustomMirror: <<
#  eur-HU: http://www1.mplayerhq.hu/MPlayer/releases/
#  eur-HU: http://www2.mplayerhq.hu/MPlayer/releases/
#  eur-HU: ftp://ftp1.mplayerhq.hu/MPlayer/releases/
#  eur-HU: ftp://ftp2.mplayerhq.hu/MPlayer/releases/
#  eur-CH: http://www4.mplayerhq.hu/MPlayer/releases/
#  nam-US: http://ftp5.mplayerhq.hu/MPlayer/releases/
#  nam-US: http://ftp5.mplayerhq.hu/MPlayer/releases/
#  oce-AU: ftp://ftp6.mplayerhq.hu/MPlayer/releases/
#  eur-BG: ftp://ftp8.mplayerhq.hu/MPlayer/releases/
#<<

Source-MD5: c5db13443abe4cf9e641b356a702a742
SourceDirectory: mplayer

BuildDepends: lame, gtk+, glib, libpng3, aalib (>= 1.4rc5-2), libogg, 
libvorbis0, libdv4, libmad, sdl, arts-dev (>= 1.1.0-2), libiconv-dev, xvidcore, 
x11-dev, fink (>= 0.17.0-1), xmms, libjpeg, giflib, glib2, esound, audiofile, 
po-debconf
Depends: x11, gtk+-shlibs, glib-shlibs, libpng3-shlibs, aalib-shlibs (>= 
1.4rc5-2), sdl-shlibs, libogg-shlibs, libvorbis0-shlibs, libmad-shlibs, 
lame-shlibs, elinks-ssl | www-browser, libdv4-shlibs, arts-shlibs, 
mplayer-skin, xvidcore-shlibs, xmms-shlibs, libjpeg-shlibs, giflib-shlibs, 
glib2-shlibs, esound-shlibs, audiofile-shlibs, debconf

Replaces: mplayer, mplayer-custom, mplayer0.9
Conflicts: mplayer, mplayer-custom, mplayer0.9
Provides: x-media-player

PatchScript: <<
#!/bin/bash -e
touch .developer
patch -p1 < %a/mplayer.patch
<<

ConfigureParams: --with-extralibdir="%p/lib" --with-extraincdir="%p/include" 
--mandir="%p/share/man" --enable-menu --enable-gui --disable-cpu-optimization 
--enable-altivec --enable-xmms --confdir="%p/etc/mplayer" --disable-cdparanoia 
--disable-libcdio

InstallScript: <<
  #!bin/sh

  find . -name CVS -tpye d -exec rm -rf {} \;
  make install DESTDIR=%d
  mkdir -p %i/etc/mplayer
  cp etc/codecs.conf %i/etc/mplayer/codecs.conf  
  cp etc/input.conf %i/etc/mplayer/input.conf  
  cp etc/example.conf %i/etc/mplayer/mplayer.conf
  rm -rf %i/share/%n/font
  mkdir -p %i/share/doc/%n
  cp -r DOCS/* %i/share/doc/%n

  #prep debconf
  mkdir -p %d/DEBIAN
  #po2debconf debian/templates 
  cp debian/templates %d/DEBIAN/templates

<<

DocFiles: AUTHORS ChangeLog LICENSE README
ConfFiles: <<
  %p/etc/mplayer/mplayer.conf
  %p/etc/mplayer/codecs.conf
  %p/etc/mplayer/input.conf
<<

PostInstScript: <<
  #!/usr/bin/perl -w

  # mplayer postinst

  require ConfHelper;

  use Debconf::Client::ConfModule qw(:all);
  use IO::Handle;
  use Fcntl;
  my $version = version(1.0);
  my @savedolddata = ();
  my $didupgrade = 0;

  dealwithupgrades();

  my $mcfg = new ConfHelper('mplayer', "%p/etc/mplayer/mplayer.conf");
  $mcfg->setconfarea("
  #MPlayer config file generated by .deb package.
  #ffactor        =       0.9
  #fs     =       yes
  ");

  ###########################################################################

  debug("Configuring video output driver...");

  my $dcarea = <<"EOF";
  # MPlayer video output driver, configured by mplayer.deb
  EOF

  $dcarea .= "vo=" . scalar(get("mplayer/voutput"));
  $dcarea .= "\n";

  $mcfg->setconfarea($dcarea);

  if ($didupgrade) {
    $mcfg->setotherarea_DANGEROUS(@savedolddata);
  }

  #%###################################

  exit unless (get("mplayer/configure") eq 'true');
  exit unless (fget("mplayer/configure", "isdefault") eq 'false');

  #%##################################
  get("mplayer/cfgnote");



  sub dealwithupgrades {
    open(OLDCONF, "<%p/etc/mplayer/mplayer.conf") || return 1;
    close OLDCONF;

    my $mconf = new ConfHelper("mplayer", "%p/etc/mplayer/mplayer.conf");
    return 1 if ($mconf->hasconfarea());
    undef $mconf;

    if ((get('mplayer/replace-existing-files') eq 'true') &&
        (fget('mplayer/replace-existing-files', 'isdefault') eq 'false')) {
      print STDERR "Upgrading...\n";
      $didupgrade = 1;
      for my $file ("%p/etc/mplayer/mplayer.conf"
      #, "%p/etc/mplayer/fonts/sth
      ) {
        debug("Deleting $file");
        unlink $file;
      }
    } else {
      print STDERR "Upgrade refused, exiting.\n";
      exit 0;
    }
  }

  # Gets any debconf area for other packages and saves it off.

  sub saveolddata {
    my ($file, $package) = @_;
    my $conf = new ConfHelper($package, $file);
    push(@savedolddata, $conf->{startline} . "\n");
    push(@savedolddata, $conf->getconfarea());
    push(@savedolddata, $conf->{endline} . "\n");
  }

  sub debug {
    print STDERR @_, "\n";
  }

<<

PostRmScript: <<
  #!/bin/sh

  set -e

  if [ "$1" = "purge" ]; then
          if [ -e %p/share/debconf/confmodule ]; then
                  # Source debconf library.
                  . %p/share/debconf/confmodule
                  # Remove my changes to the db.
                  db_purge
          fi

          if [ -d %p/etc/mplayer/ ]; then
                  rm -rf %p/etc/mplayer/
          fi
  fi
<<

Description: The Ultimate Movie Player
DescDetail: <<
 MPlayer is a movie player for LINUX (runs on many other Unices, and non-x86
 CPUs, see the ports section). It plays most MPEG, VOB, AVI, OGG/OGM, VIVO,
 ASF/WMA/WMV, QT/MOV/MP4, FLI, RM, NuppelVideo, yuv4mpeg, FILM, RoQ, PVA files,
 supported by many native, XAnim, RealPlayer, and Win32 DLL codecs. You can
 watch VideoCD, SVCD, DVD, 3ivx, RealMedia, and DivX movies too (and you don't
 need the avifile library at all!).

 Another big feature of MPlayer is the wide range of supported output drivers.
 It works with X11, Xv, DGA, OpenGL, SVGAlib, fbdev, AAlib, DirectFB, but you
 can also use GGI and SDL (and this way all their drivers) and some lowlevel
 card-specific drivers (for Matrox, 3Dfx and Radeon, Mach64, Permedia3) too!
 Most of them supports software or hardware scaling, so you can enjoy movies in
 fullscreen.

 And what about the nice big antialiased shaded subtitles (10 supported types)
 with European/ISO 8859-1,2 (Hungarian, English, Czech, etc), Cyrillic, Korean
 fonts, and the onscreen display (OSD)?
<<
DescPort: <<
faa2 is included to play mp4/AAC files, but should be also in a seperate 
package...which maybe we should force to use.
On second thought, mplayer's is newer

I hope these deps are correct...

grr:
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -g -O4   -faltivec -pipe 
-ffast-math -fomit-frame-pointer -DSYS_DARWIN -DCONFIG_DARWIN 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/sw/include -I/sw/include/gtk-1.2 
-I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/include  -I. -I.. 
-I/sw/include -I/sw/include/gtk-1.2 -I/sw/include/glib-1.2 
-I/sw/lib/glib/include -I/usr/X11R6/include -fomit-frame-pointer -fPIC -DPIC 
-I.. -I../.. -o postprocess_pic.o postprocess.c
cc -shared -Wl,-soname,libpostproc.so.0 \
-o libpostproc.so postprocess_pic.o
cc: unrecognized option `-shared'
ld: unknown flag: -soname

so no --enable-shared-pp

Previously by Justin Hallett
<<


License: GPL
Maintainer: Chris Zubrzycki <[EMAIL PROTECTED]>
Homepage: http://www.mplayerhq.hu/



_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to