Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Feb 2000 09:40:18 +0900 (JST)
From:      sanpei@sanpei.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/16593: new port: graphics/xmovie(a movie player for MPEG-2, DVD, and Quicktime movies)
Message-ID:  <200002090040.JAA29702@lavender.yy.cs.keio.ac.jp>

next in thread | raw e-mail | index | archive | help

>Number:         16593
>Category:       ports
>Synopsis:       new port: graphics/xmovie(a movie player for MPEG-2, DVD, and Quicktime movies)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb  9 03:30:14 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     MIHIRA Yoshiro
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
Yokohama, Japan
>Environment:


>Description:

Hi.

  I ported graphics/xmovie: a movie player for MPEG-2, DVD,
and Quicktime movies.

  This linux binary ports can play encripted DVD movie on FreeBSD
box.

Thank you.

>How-To-Repeat:


>Fix:


#!/bin/sh
# This is a shell archive (produced by GNU sharutils 4.2).
# To extract the files from this archive, save it to some FILE, remove
# everything before the `!/bin/sh' line above, then type `sh FILE'.
#
# Made on 2000-02-05 11:48 JST by <sanpei@lavender.yy.cs.keio.ac.jp>.
# Source directory was `/tmp/q/ports'.
#
# Existing files will *not* be overwritten unless `-c' is specified.
#
# This shar contains:
# length mode       name
# ------ ---------- ------------------------------------------
#     53 -rw-r--r-- graphics/xmovie/pkg/COMMENT
#    546 -rw-r--r-- graphics/xmovie/pkg/DESCR
#    571 -rw-r--r-- graphics/xmovie/pkg/PLIST
#   1897 -rw-r--r-- graphics/xmovie/Makefile
#    188 -rw-r--r-- graphics/xmovie/files/md5
#
save_IFS="${IFS}"
IFS="${IFS}:"
gettext_dir=FAILED
locale_dir=FAILED
first_param="$1"
for dir in $PATH
do
  if test "$gettext_dir" = FAILED && test -f $dir/gettext \
     && ($dir/gettext --version >/dev/null 2>&1)
  then
    set `$dir/gettext --version 2>&1`
    if test "$3" = GNU
    then
      gettext_dir=$dir
    fi
  fi
  if test "$locale_dir" = FAILED && test -f $dir/shar \
     && ($dir/shar --print-text-domain-dir >/dev/null 2>&1)
  then
    locale_dir=`$dir/shar --print-text-domain-dir`
  fi
done
IFS="$save_IFS"
if test "$locale_dir" = FAILED || test "$gettext_dir" = FAILED
then
  echo=echo
else
  TEXTDOMAINDIR=$locale_dir
  export TEXTDOMAINDIR
  TEXTDOMAIN=sharutils
  export TEXTDOMAIN
  echo="$gettext_dir/gettext -s"
fi
touch -am 1231235999 $$.touch >/dev/null 2>&1
if test ! -f 1231235999 && test -f $$.touch; then
  shar_touch=touch
else
  shar_touch=:
  echo
  $echo 'WARNING: not restoring timestamps.  Consider getting and'
  $echo "installing GNU \`touch', distributed in GNU File Utilities..."
  echo
fi
rm -f 1231235999 $$.touch
#
if mkdir _sh15728; then
  $echo 'x -' 'creating lock directory'
else
  $echo 'failed to create lock directory'
  exit 1
fi
# ============= graphics/xmovie/pkg/COMMENT ==============
if test ! -d 'graphics'; then
  $echo 'x -' 'creating directory' 'graphics'
  mkdir 'graphics'
fi
if test ! -d 'graphics/xmovie'; then
  $echo 'x -' 'creating directory' 'graphics/xmovie'
  mkdir 'graphics/xmovie'
fi
if test ! -d 'graphics/xmovie/pkg'; then
  $echo 'x -' 'creating directory' 'graphics/xmovie/pkg'
  mkdir 'graphics/xmovie/pkg'
fi
if test -f 'graphics/xmovie/pkg/COMMENT' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'graphics/xmovie/pkg/COMMENT' '(file already exists)'
else
  $echo 'x -' extracting 'graphics/xmovie/pkg/COMMENT' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'graphics/xmovie/pkg/COMMENT' &&
a movie player for MPEG-2, DVD, and Quicktime movies
SHAR_EOF
  $shar_touch -am 02041302100 'graphics/xmovie/pkg/COMMENT' &&
  chmod 0644 'graphics/xmovie/pkg/COMMENT' ||
  $echo 'restore of' 'graphics/xmovie/pkg/COMMENT' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'graphics/xmovie/pkg/COMMENT:' 'MD5 check failed'
441a797c17ba5f91084a87b2e058a3a9  graphics/xmovie/pkg/COMMENT
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'graphics/xmovie/pkg/COMMENT'`"
    test 53 -eq "$shar_count" ||
    $echo 'graphics/xmovie/pkg/COMMENT:' 'original size' '53,' 'current size' "$shar_count!"
  fi
fi
# ============= graphics/xmovie/pkg/DESCR ==============
if test -f 'graphics/xmovie/pkg/DESCR' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'graphics/xmovie/pkg/DESCR' '(file already exists)'
else
  $echo 'x -' extracting 'graphics/xmovie/pkg/DESCR' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'graphics/xmovie/pkg/DESCR' &&
* xmovie
X
X  QuickTime and DVD movie player
X
WWW: http://heroine.linuxbox.com/xmovie.html
X
X  documentation is in /usr/X11R6/share/doc/xmovie/.
X
* Tips
X
X  - Pentium II binary are distributed from below URL:
X	http://heroine.linuxbox.com/xmovie-i686.tar.gz
X
X  - If you use with 3.2-RELEASE, 3.3-RELEASE, 3.4-RELEASE,
X    it need to update /module/linux.ko file.
X
X  - Below options for kernel are useful for xmovie.
X
options		"P1003_1B"
options		"_KPOSIX_PRIORITY_SCHEDULING"
options		"_KPOSIX_VERSION=199309L"
X
---
Yoshiro MIHIRA
(sanpei@sanpei.org)
SHAR_EOF
  $shar_touch -am 02041302100 'graphics/xmovie/pkg/DESCR' &&
  chmod 0644 'graphics/xmovie/pkg/DESCR' ||
  $echo 'restore of' 'graphics/xmovie/pkg/DESCR' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'graphics/xmovie/pkg/DESCR:' 'MD5 check failed'
a614dc7ea3a2c389eeaa81c7b62e3390  graphics/xmovie/pkg/DESCR
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'graphics/xmovie/pkg/DESCR'`"
    test 546 -eq "$shar_count" ||
    $echo 'graphics/xmovie/pkg/DESCR:' 'original size' '546,' 'current size' "$shar_count!"
  fi
fi
# ============= graphics/xmovie/pkg/PLIST ==============
if test -f 'graphics/xmovie/pkg/PLIST' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'graphics/xmovie/pkg/PLIST' '(file already exists)'
else
  $echo 'x -' extracting 'graphics/xmovie/pkg/PLIST' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'graphics/xmovie/pkg/PLIST' &&
bin/xmovie
bin/mpeg2toc
share/doc/xmovie/README
share/doc/xmovie/index.html
@dirrm share/doc/xmovie
@cwd /compat/linux
usr/bin/cjpeg
usr/bin/djpeg
usr/bin/jpegtran
usr/bin/rdjpgcom
usr/bin/wrjpgcom
usr/lib/libjpeg.so.62.0.0
usr/man/man1/cjpeg.1
usr/man/man1/djpeg.1
usr/man/man1/jpegtran.1
usr/man/man1/rdjpgcom.1
usr/man/man1/wrjpgcom.1
usr/lib/libjpeg.so.62
usr/doc/libpng-1.0.3/CHANGES
usr/doc/libpng-1.0.3/README
usr/doc/libpng-1.0.3/TODO
usr/doc/libpng-1.0.3/example.c
usr/doc/libpng-1.0.3/libpng.txt
usr/lib/libpng.so.2.1.0.3
usr/lib/libpng.so.2
usr/man/man5/png.5
SHAR_EOF
  $shar_touch -am 02041302100 'graphics/xmovie/pkg/PLIST' &&
  chmod 0644 'graphics/xmovie/pkg/PLIST' ||
  $echo 'restore of' 'graphics/xmovie/pkg/PLIST' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'graphics/xmovie/pkg/PLIST:' 'MD5 check failed'
6c433e2da28c9c4606db3d837961d920  graphics/xmovie/pkg/PLIST
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'graphics/xmovie/pkg/PLIST'`"
    test 571 -eq "$shar_count" ||
    $echo 'graphics/xmovie/pkg/PLIST:' 'original size' '571,' 'current size' "$shar_count!"
  fi
fi
# ============= graphics/xmovie/Makefile ==============
if test -f 'graphics/xmovie/Makefile' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'graphics/xmovie/Makefile' '(file already exists)'
else
  $echo 'x -' extracting 'graphics/xmovie/Makefile' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'graphics/xmovie/Makefile' &&
# New ports collection makefile for:	xmovie
# Version required:	1.3
# Date created:		20 December 1998
# Whom:			MIHIRA Sanpei Yoshiro <sanpei@sanpei.org>
#
# $FreeBSD$
#
X
DISTNAME=	xmovie-i586
PKGNAME=	xmovie-1.3
CATEGORIES=	graphics
MASTER_SITES=	http://heroine.linuxbox.com/
X
PATCH_SITES=	${RPM_MIRRORS:S/__DIR__/${STDDIR}/g}
PATCHFILES=	${RPM_LIBJPEG} ${RPM_LIBPNG}
X
MAINTAINER=	sanpei@sanpei.org
X
BUILD_DEPENDS=	rpm:${PORTSDIR}/misc/rpm
RUN_DEPENDS=    /compat/linux/lib/libc.so.6:${PORTSDIR}/emulators/linux_base
X
ONLY_FOR_ARCHS=	i386
DOC_DIR=	${PREFIX}/share/doc/xmovie
NO_BUILD=	yes
USE_X_PREFIX=	yes
X
RPM_MIRRORS=            \
X	ftp://ftp.cdrom.com/pub/linux/redhat/__DIR__/ \
X	ftp://ftp.redhat.com/redhat/__DIR__/ \
X	ftp://ftp.infomagic.com/pub/mirrors/linux/RedHat/__DIR__/ \
X	ftp://ftp.crc.ca/mirrors/by-site/ftp.redhat.com/redhat/__DIR__/ \
X	ftp://ftp.nluug.nl/site/ftp.redhat.com/redhat/__DIR__/ \
X	ftp://mirror.nucba.ac.jp/mirror/redhat/__DIR__/ \
X	ftp://ftp.is.co.za/linux/distributions/redhat/__DIR__/ \
X	ftp://mirror.aarnet.edu.au/pub/linux/redhat/__DIR__/
STDDIR=		redhat-6.1/${MACHINE_ARCH}/RedHat/RPMS
RPM_LIBJPEG=	libjpeg-6b-9.i386.rpm
RPM_LIBPNG=	libpng-1.0.3-4.i386.rpm
DBPATH=		/var/lib/rpm
LINUX_PREFIX=	/compat/linux
RPMFLAGS=	--ignoreos --root ${LINUX_PREFIX} --dbpath ${DBPATH} \
X		--nodeps --replacepkgs
RPMDIR=		${DISTDIR}
X
do-patch:
X	@${DO_NADA}
X
do-install:
#
# Install Linux libraries
#
X	@for R in ${PATCHFILES}; do \
X		${ECHO} $$R; \
X		rpm -U ${RPMFLAGS} ${RPMDIR}/$$R; \
X	done
X	@${INSTALL_PROGRAM} ${WRKSRC}/xmovie ${PREFIX}/bin
X	@brandelf -t Linux ${PREFIX}/bin/xmovie
X	@${INSTALL_PROGRAM} ${WRKSRC}/mpeg2toc ${PREFIX}/bin
X	@brandelf -t Linux ${PREFIX}/bin/mpeg2toc
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOC_DIR}
X	@${INSTALL_DATA} ${WRKSRC}/README ${DOC_DIR}/README
X	@${INSTALL_DATA} ${WRKSRC}/docs/index.html ${DOC_DIR}/index.html
X.endif
X.include <bsd.port.mk>
SHAR_EOF
  $shar_touch -am 02041342100 'graphics/xmovie/Makefile' &&
  chmod 0644 'graphics/xmovie/Makefile' ||
  $echo 'restore of' 'graphics/xmovie/Makefile' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'graphics/xmovie/Makefile:' 'MD5 check failed'
728e29f533ff476eeaf1972e4e88871d  graphics/xmovie/Makefile
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'graphics/xmovie/Makefile'`"
    test 1897 -eq "$shar_count" ||
    $echo 'graphics/xmovie/Makefile:' 'original size' '1897,' 'current size' "$shar_count!"
  fi
fi
# ============= graphics/xmovie/files/md5 ==============
if test ! -d 'graphics/xmovie/files'; then
  $echo 'x -' 'creating directory' 'graphics/xmovie/files'
  mkdir 'graphics/xmovie/files'
fi
if test -f 'graphics/xmovie/files/md5' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'graphics/xmovie/files/md5' '(file already exists)'
else
  $echo 'x -' extracting 'graphics/xmovie/files/md5' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'graphics/xmovie/files/md5' &&
MD5 (xmovie-i586.tar.gz) = 3488aad1d8dc7012d6b07d8d07e3faa5
MD5 (libjpeg-6b-9.i386.rpm) = 453feddfadcdb1b96c2a3bb843e3ec80
MD5 (libpng-1.0.3-4.i386.rpm) = 97a6022e9fb046372da34eeb413ddecc
SHAR_EOF
  $shar_touch -am 02012042100 'graphics/xmovie/files/md5' &&
  chmod 0644 'graphics/xmovie/files/md5' ||
  $echo 'restore of' 'graphics/xmovie/files/md5' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'graphics/xmovie/files/md5:' 'MD5 check failed'
27c1cd3d3d557c8c5020081d895fcc90  graphics/xmovie/files/md5
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'graphics/xmovie/files/md5'`"
    test 188 -eq "$shar_count" ||
    $echo 'graphics/xmovie/files/md5:' 'original size' '188,' 'current size' "$shar_count!"
  fi
fi
rm -fr _sh15728
exit 0

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002090040.JAA29702>