pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/xanim Move xanim to the multimedia category...
details: https://anonhg.NetBSD.org/pkgsrc/rev/10a563fe16e7
branches: trunk
changeset: 467184:10a563fe16e7
user: jmmv <jmmv%pkgsrc.org@localhost>
date: Mon Jan 26 15:19:52 2004 +0000
description:
Move xanim to the multimedia category (coming from graphics).
This is version 2.80.1nb2.
diffstat:
multimedia/xanim/DESCR | 24 +++++++++++++
multimedia/xanim/Makefile | 55 ++++++++++++++++++++++++++++++++
multimedia/xanim/Makefile.codecs | 67 +++++++++++++++++++++++++++++++++++++++
multimedia/xanim/PLIST | 3 +
multimedia/xanim/distinfo | 40 +++++++++++++++++++++++
multimedia/xanim/patches/patch-ab | 57 +++++++++++++++++++++++++++++++++
multimedia/xanim/patches/patch-ae | 25 ++++++++++++++
7 files changed, 271 insertions(+), 0 deletions(-)
diffs (299 lines):
diff -r 23e49534a0c1 -r 10a563fe16e7 multimedia/xanim/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/xanim/DESCR Mon Jan 26 15:19:52 2004 +0000
@@ -0,0 +1,24 @@
+XAnim is a program that can display animations of various
+formats on systems running X11. XAnim currently supports
+the following animation types:
+
+ + FLI animations.
+ + FLC animations.
+ + IFF animations.
+ + GIF87a and GIF89a files.
+ + GIF89a animation extension support.
+ + a kludgy text file listing gifs and what order
+ to show them in.
+ + DL animations. Formats 1, 2 and partial 3.
+ + Amiga MovieSetter animations(For those Eric
+ Schwartz fans).
+ + Utah Raster Toolkit RLE images and anims.
+ + AVI animations.
+ + MPEG animations.
+ + WAV audio files may have their sound added to
+ any animation type that doesn't already have
+ audio, by specifying the .wav file after the
+ animation file on the command line. Currently
+ only the PCM audio codec is supported.
+ + any combination of the above on the same command
+ line.
diff -r 23e49534a0c1 -r 10a563fe16e7 multimedia/xanim/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/xanim/Makefile Mon Jan 26 15:19:52 2004 +0000
@@ -0,0 +1,55 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/01/26 15:19:52 jmmv Exp $
+
+DISTNAME= xanim2801
+PKGNAME= xanim-2.80.1
+PKGREVISION= 2
+CATEGORIES= multimedia x11
+MASTER_SITES= ftp://xanim.va.pubnix.com/\
+ ftp://xanim.va.pubnix.com/modules/ \
+ ftp://ftp.ut.ee/pub/graphics/xanim/ \
+ ftp://ftp.ut.ee/pub/graphics/xanim/modules/ \
+ ftp://ftp.ba-stuttgart.de/Mirrors/xanim/ \
+ ftp://ftp.ba-stuttgart.de/Mirrors/xanim/modules/ \
+ http://smurfland.cit.buffalo.edu/xanim/files/ \
+ http://smurfland.cit.buffalo.edu/xanim/files/modules/
+DISTFILES= ${EXTRACT_ONLY} ${CODEC_FILES}
+
+MAINTAINER= tech-pkg%NetBSD.org@localhost
+HOMEPAGE= http://xanim.va.pubnix.com/
+COMMENT= Play most popular animation formats and show pictures
+
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+
+.include "Makefile.codecs"
+
+USE_BUILDLINK2= YES
+USE_X11BASE= YES
+USE_IMAKE= YES
+
+.include "../../mk/bsd.prefs.mk"
+
+MAKE_ENV+= ${XANIM_AUDIO.${OPSYS}}
+XANIM_AUDIO.Linux= XA_AUDIO_DEFS="-DXA_LINUX_AUDIO" \
+ XA_AUDIO_LIBS="-lc"
+
+.if defined(USE_OSS)
+XANIM_AUDIO.NetBSD= XA_AUDIO_DEFS="-DXA_LINUX_AUDIO" \
+ XA_AUDIO_LIBS="${LIBOSSAUDIO}"
+.else
+XANIM_AUDIO.NetBSD= XA_AUDIO_DEFS="-DXA_NetBSD_AUDIO"
+.endif
+
+XANIM_AUDIO.SunOS= XA_AUDIO_DEFS="-DXA_SPARC_AUDIO -DSVR4 -DXA_SELECT"
+
+post-extract:
+ @${LN} -s docs/xanim.man ${WRKSRC}
+ @${MKDIR} ${WRKSRC}/mods
+.if defined(CODEC_FILES) && !empty(CODEC_FILES)
+ @for file in ${CODEC_FILES}; do \
+ ${CP} ${DISTDIR}/$$file ${WRKSRC}/mods; \
+ ${GUNZIP_CMD} ${WRKSRC}/mods/$$file; \
+ done
+.endif
+
+.include "../../mk/ossaudio.buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 23e49534a0c1 -r 10a563fe16e7 multimedia/xanim/Makefile.codecs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/xanim/Makefile.codecs Mon Jan 26 15:19:52 2004 +0000
@@ -0,0 +1,67 @@
+# $NetBSD: Makefile.codecs,v 1.1.1.1 2004/01/26 15:19:52 jmmv Exp $
+
+.include "../../mk/bsd.prefs.mk"
+
+# cvid Radius Cinepak video decompression for AVI and Quicktime
+# cyuv Creative CYUV video decompression for AVI
+# iv32 Intel YVU9 and Indeo 3.2 decompression for AVI and Quicktime
+#
+XANIM_CODECS?= ${_XANIM_UNRESTRICTED_CODECS}
+#XANIM_CODECS?= ${_XANIM_UNRESTRICTED_CODECS} ${_XANIM_RESTRICTED_CODECS}
+_XANIM_RESTRICTED_CODECS= cyuv iv32
+_XANIM_UNRESTRICTED_CODECS= cvid
+
+_XANIM_CODEC.cvid.i386-a.out= xa2.0_cvid_netbsd386.o.Z
+_XANIM_CODEC.cyuv.i386-a.out= xa1.0_cyuv_netbsd386.o.Z
+_XANIM_CODEC.iv32.i386-a.out= xa2.0_iv32_netbsd386.o.Z
+
+_XANIM_CODEC.cvid.m68k-a.out= xa2.0_cvid_netbsd68k.o.Z
+_XANIM_CODEC.cyuv.m68k-a.out= xa1.0_cyuv_netbsd68k.o.Z
+_XANIM_CODEC.iv32.m68k-a.out= xa2.0_iv32_netbsd68k.o.Z
+
+_XANIM_CODEC.cvid.i386-ELF= xa2.0_cvid_linuxELF.o.Z
+_XANIM_CODEC.cyuv.i386-ELF= xa1.0_cyuv_linuxELF.o.Z
+_XANIM_CODEC.iv32.i386-ELF= xa2.0_iv32_linuxELF.o.Z
+
+_XANIM_CODEC.cvid.sparc-a.out= xa2.0_cvid_sparcCOFF.o.Z
+_XANIM_CODEC.cyuv.sparc-a.out= xa1.0_cyuv_sparcAOUT.o.Z
+_XANIM_CODEC.iv32.sparc-a.out= xa2.0_iv32_sparcCOFF.o.Z
+
+_XANIM_CODEC.cvid.sparc-ELF= xa2.0_cvid_sparcELF.o.Z
+_XANIM_CODEC.cyuv.sparc-ELF= xa1.0_cyuv_sparcELF.o.Z
+_XANIM_CODEC.iv32.sparc-ELF= xa2.0_iv32_sparcELF.o.Z
+
+_XANIM_CODEC.cvid.powerpc-ELF= xa2.0_cvid_linuxPPC.o.Z
+_XANIM_CODEC.cyuv.powerpc-ELF= xa1.0_cyuv_linuxPPC.o.Z
+
+_XANIM_DEF.cvid= XA_CVID_DEF="-DXA_CVID"
+_XANIM_DEF.cyuv= XA_CYUV_DEF="-DXA_CYUV"
+_XANIM_DEF.iv32= XA_IV32_DEF="-DXA_IV32"
+
+_XANIM_LIB.cvid= XA_CVID_LIB
+_XANIM_LIB.cyuv= XA_CYUV_LIB
+_XANIM_LIB.iv32= XA_IV32_LIB
+
+_XANIM_MACH_TYPE= ${MACHINE_ARCH}-${OBJECT_FMT}
+
+.for _codec_ in ${XANIM_CODECS}
+. if defined(_XANIM_CODEC.${_codec_}.${_XANIM_MACH_TYPE})
+CODECS+= ${_codec_}
+CODEC_FILES+= ${_XANIM_CODEC.${_codec_}.${_XANIM_MACH_TYPE}}
+MAKE_ENV+= ${_XANIM_DEF.${_codec_}}
+MAKE_ENV+= ${_XANIM_LIB.${_codec_}}="mods/${_XANIM_CODEC.${_codec_}.${_XANIM_MACH_TYPE}:S/.Z$//}"
+. if !empty(_XANIM_RESTRICTED_CODECS:M${_codec_})
+_RESTRICTED_CODECS+= ${_codec_}
+. endif
+. endif
+.endfor
+
+BUILD_DEFS+= CODECS
+
+.if defined(_RESTRICTED_CODECS)
+RESTRICTED= "Can't mirror/distribute object modules: ${_RESTRICTED_CODECS}"
+NO_SRC_ON_FTP= ${RESTRICTED}
+NO_SRC_ON_CDROM= ${RESTRICTED}
+NO_BIN_ON_FTP= ${RESTRICTED}
+NO_BIN_ON_CDROM= ${RESTRICTED}
+.endif
diff -r 23e49534a0c1 -r 10a563fe16e7 multimedia/xanim/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/xanim/PLIST Mon Jan 26 15:19:52 2004 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/26 15:19:52 jmmv Exp $
+bin/xanim
+${IMAKE_MAN_DIR}/xanim.${IMAKE_MANNEWSUFFIX}
diff -r 23e49534a0c1 -r 10a563fe16e7 multimedia/xanim/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/xanim/distinfo Mon Jan 26 15:19:52 2004 +0000
@@ -0,0 +1,40 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/01/26 15:19:52 jmmv Exp $
+
+SHA1 (xanim2801.tar.gz) = 1966880880c3779d02199fbcd1acb771bc57f754
+Size (xanim2801.tar.gz) = 441250 bytes
+SHA1 (xa2.0_cvid_netbsd386.o.Z) = eea4f7c94bd7dcfd7e592add0fa415cb1514efa0
+Size (xa2.0_cvid_netbsd386.o.Z) = 4067 bytes
+SHA1 (xa2.0_iv32_netbsd386.o.Z) = e096322d85c21a8bf6afb5c8cd066c52cdd6e132
+Size (xa2.0_iv32_netbsd386.o.Z) = 46631 bytes
+SHA1 (xa1.0_cyuv_netbsd386.o.Z) = 08ad405baeffb1f72b9f9d960d0c11f6d81e7c07
+Size (xa1.0_cyuv_netbsd386.o.Z) = 937 bytes
+SHA1 (xa2.0_cvid_linuxELF.o.Z) = 7ce0db7c2007f13294342a863a90000a5d097b4f
+Size (xa2.0_cvid_linuxELF.o.Z) = 4382 bytes
+SHA1 (xa2.0_iv32_linuxELF.o.Z) = 937368f4f90f9023955b59e54c1182804e40d7ed
+Size (xa2.0_iv32_linuxELF.o.Z) = 46511 bytes
+SHA1 (xa1.0_cyuv_linuxELF.o.Z) = 71a81709b161a48e75d05a2a612f1f62034fee15
+Size (xa1.0_cyuv_linuxELF.o.Z) = 1242 bytes
+SHA1 (xa2.0_cvid_netbsd68k.o.Z) = 1e56d834c6bb3a0e26e2872601dfa9082487345c
+Size (xa2.0_cvid_netbsd68k.o.Z) = 3779 bytes
+SHA1 (xa2.0_iv32_netbsd68k.o.Z) = 9de53c2225d0ae117c7b23fa7415017611058441
+Size (xa2.0_iv32_netbsd68k.o.Z) = 44353 bytes
+SHA1 (xa1.0_cyuv_netbsd68k.o.Z) = 8478c3240581c2887dc63a7a9eac2cdb79f610a2
+Size (xa1.0_cyuv_netbsd68k.o.Z) = 942 bytes
+SHA1 (xa2.0_cvid_sparcCOFF.o.Z) = 1306ee5c88415b4a67b65247d41fa03101526a64
+Size (xa2.0_cvid_sparcCOFF.o.Z) = 4535 bytes
+SHA1 (xa2.0_iv32_sparcCOFF.o.Z) = 0307f18f02763b2b3229ed4b3a00eeec7bc2c56d
+Size (xa2.0_iv32_sparcCOFF.o.Z) = 48525 bytes
+SHA1 (xa1.0_cyuv_sparcAOUT.o.Z) = c31c60ac3a519bbdce9e4d9652f274b1194e880a
+Size (xa1.0_cyuv_sparcAOUT.o.Z) = 1048 bytes
+SHA1 (xa2.0_cvid_sparcELF.o.Z) = 7c256a74a389a7ef4b455a9f6d9e9a3d084cfe3c
+Size (xa2.0_cvid_sparcELF.o.Z) = 4730 bytes
+SHA1 (xa2.0_iv32_sparcELF.o.Z) = 3837819a50d3d430149ac0f498db30cdec6245f3
+Size (xa2.0_iv32_sparcELF.o.Z) = 48813 bytes
+SHA1 (xa1.0_cyuv_sparcELF.o.Z) = 6ad551439086a5c884d9a88971261cc7e60aad60
+Size (xa1.0_cyuv_sparcELF.o.Z) = 1277 bytes
+SHA1 (xa2.0_cvid_linuxPPC.o.Z) = d6736d7fe65008293863c31b8f4c28e13152afda
+Size (xa2.0_cvid_linuxPPC.o.Z) = 5192 bytes
+SHA1 (xa1.0_cyuv_linuxPPC.o.Z) = b9af24646b46d94ccfb5e042ca20f32006a8b0af
+Size (xa1.0_cyuv_linuxPPC.o.Z) = 1513 bytes
+SHA1 (patch-ab) = b55ebcb351152de078b7dd167b82a59cf5f61eb1
+SHA1 (patch-ae) = 6023e76bc0471a0810b0789cd24355c06eac02b8
diff -r 23e49534a0c1 -r 10a563fe16e7 multimedia/xanim/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/xanim/patches/patch-ab Mon Jan 26 15:19:52 2004 +0000
@@ -0,0 +1,57 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/01/26 15:19:53 jmmv Exp $
+
+--- Imakefile.orig Sun Mar 21 14:36:26 1999
++++ Imakefile
+@@ -96,9 +96,10 @@ XCOMM Specify any Linker flags needed
+ XCOMM to link against symbols inside xanim.
+ XCOMM
+ XCOMM ## Linux
+-LD_FLAGS = -rdynamic
++XCOMM LD_FLAGS = -rdynamic
+ XCOMM ## SunOS/Solaris use:
+ XCOMM LD_FLAGS =
++LD_FLAGS =
+
+
+ XCOMM #########################################################################
+@@ -111,17 +112,17 @@ XCOMM
+ XCOMM NOTE: not all machines need the XA_DLL_LIB define.
+ XCOMM #########################################################################
+ XCOMM
+-XA_DLL_DEF = -DXA_DLL -DXA_PRINT
++XCOMM XA_DLL_DEF = -DXA_DLL -DXA_PRINT
+ XCOMM ### Use this only if the above doesn't work
+ XCOMM XA_DLL_DEF = -DXA_DLL
+ XCOMM
+ XCOMM ### You may need this library.
+-XA_DLL_LIB = -ldl
++XCOMM XA_DLL_LIB = -ldl
+ XCOMM
+ XCOMM If you'd like to change the default directory that XAnim searches while
+ XCOMM looking for dlls, then change the directory below.
+ XCOMM
+-XA_DLL_PATH = /usr/local/xanim/mods
++XA_DLL_PATH = ${PREFIX}/lib/xanim
+
+
+
+@@ -267,8 +268,8 @@ XCOMM -- NOTE_9 Since xanim doesn't yet
+ XCOMM XA_AUDIO_DEFS =
+ XCOMM
+ XCOMM ## -- Linux PCs ---------------------------------------------------------
+-XA_AUDIO_DEFS = -DXA_LINUX_AUDIO
+-XA_AUDIO_LIBS = -lc
++XCOMM XA_AUDIO_DEFS = -DXA_LINUX_AUDIO
++XCOMM XA_AUDIO_LIBS = -lc
+ XCOMM
+ XCOMM -- Linux PC's with OLD Rev sound drivers -------------------------------
+ XCOMM XA_AUDIO_DEFS = -DXA_LINUX_AUDIO -DXA_LINUX_OLDER_SND
+@@ -465,7 +466,7 @@ DEFINES = $(XA_DEFS)
+
+ PROGRAMS = $(XANIM)
+
+-INCLUDES = -I$(INCDIR) $(XA_INCS)
++INCLUDES = -I$(INCDIR) -I$(X11BASE)/include/X11 $(XA_INCS)
+
+ LIBS1 = $(XA_LIBS) $(EXTENSIONLIB) $(XTOOLLIB) $(XLIB) -lm
+ DEPLIBS1 = $(DEPEXTENSIONLIB) $(DEPXTOOLLIB) $(DEPXLIB)
diff -r 23e49534a0c1 -r 10a563fe16e7 multimedia/xanim/patches/patch-ae
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/xanim/patches/patch-ae Mon Jan 26 15:19:52 2004 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-ae,v 1.1.1.1 2004/01/26 15:19:53 jmmv Exp $
+
+--- xa_audio.c.orig Sun Mar 21 14:36:25 1999
++++ xa_audio.c
+@@ -4665,7 +4665,19 @@ void NetBSD_Audio_Init()
+
+ a_info.mode = AUMODE_PLAY | AUMODE_PLAY_ALL;
+ ioctl(devAudio, AUDIO_SETINFO, &a_info);
+-#ifdef AUDIO_ENCODING_SLINEAR
++#ifdef AUDIO_ENCODING_SLINEAR_LE
++ /* Use new encoding names */
++ AUDIO_INITINFO(&a_info);
++ a_info.play.encoding = AUDIO_ENCODING_SLINEAR_LE;
++ a_info.play.precision = 16;
++ if ( ioctl(devAudio, AUDIO_SETINFO, &a_info) < 0)
++ {
++ AUDIO_INITINFO(&a_info);
++ a_info.play.encoding = AUDIO_ENCODING_ULINEAR;
++ a_info.play.precision = 8;
++ ioctl(devAudio, AUDIO_SETINFO, &a_info);
++ }
++#elif defined(AUDIO_ENCODING_SLINEAR)
+ /* Use new encoding names */
+ AUDIO_INITINFO(&a_info);
+ a_info.play.encoding = AUDIO_ENCODING_SLINEAR;
Home |
Main Index |
Thread Index |
Old Index