head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.52 pkgsrc-2013Q2-base:1.6 pkgsrc-2012Q4:1.6.0.50 pkgsrc-2012Q4-base:1.6 pkgsrc-2011Q4:1.6.0.48 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q2:1.6.0.46 pkgsrc-2011Q2-base:1.6 pkgsrc-2009Q4:1.6.0.44 pkgsrc-2009Q4-base:1.6 pkgsrc-2008Q4:1.6.0.42 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.40 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.38 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.36 pkgsrc-2008Q2-base:1.6 pkgsrc-2008Q1:1.6.0.34 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.32 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.6.0.30 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.6.0.28 pkgsrc-2007Q2-base:1.6 pkgsrc-2007Q1:1.6.0.26 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.6.0.24 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.6.0.22 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.6.0.20 pkgsrc-2006Q2-base:1.6 pkgsrc-2006Q1:1.6.0.18 pkgsrc-2006Q1-base:1.6 pkgsrc-2005Q4:1.6.0.16 pkgsrc-2005Q4-base:1.6 pkgsrc-2005Q3:1.6.0.14 pkgsrc-2005Q3-base:1.6 pkgsrc-2005Q2:1.6.0.12 pkgsrc-2005Q2-base:1.6 pkgsrc-2005Q1:1.6.0.10 pkgsrc-2005Q1-base:1.6 pkgsrc-2004Q4:1.6.0.8 pkgsrc-2004Q4-base:1.6 pkgsrc-2004Q3:1.6.0.6 pkgsrc-2004Q3-base:1.6 pkgsrc-2004Q2:1.6.0.4 pkgsrc-2004Q2-base:1.6 pkgsrc-2004Q1:1.6.0.2 pkgsrc-2004Q1-base:1.6 pkgsrc-2003Q4:1.4.0.4 pkgsrc-2003Q4-base:1.4 netbsd-1-6-1:1.4.0.2 netbsd-1-6-1-base:1.4 netbsd-1-6:1.3.0.6 netbsd-1-6-RELEASE-base:1.3 pkgviews:1.3.0.2 pkgviews-base:1.3 buildlink2:1.2.0.2 buildlink2-base:1.2 netbsd-1-5-PATCH003:1.2 netbsd-1-5-PATCH001:1.1.1.1 netbsd-1-5-RELEASE:1.1.1.1 netbsd-1-4-PATCH003:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.6 date 2004.01.26.13.38.43; author jmmv; state dead; branches; next 1.5; 1.5 date 2004.01.01.21.29.09; author agc; state Exp; branches; next 1.4; 1.4 date 2003.01.30.12.22.48; author jlam; state Exp; branches; next 1.3; 1.3 date 2002.07.11.14.24.00; author abs; state Exp; branches; next 1.2; 1.2 date 2002.01.03.11.10.36; author abs; state Exp; branches; next 1.1; 1.1 date 2000.08.28.17.33.50; author rh; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2000.08.28.17.33.50; author rh; state Exp; branches; next ; desc @@ 1.6 log @libflash and flashplayer moved to the multimedia category. @ text @$NetBSD: patch-ab,v 1.5 2004/01/01 21:29:09 agc Exp $ --- Lib/Makefile.orig Sun Jun 4 02:49:23 2000 +++ Lib/Makefile @@@@ -1,6 +1,5 @@@@ -CPPFLAGS=-I../Jpeg -I../Zlib # Comment out the following line if you use egcs : -CXXFLAGS=-O3 -Wall -fno-rtti -fno-exceptions +CXXFLAGS+=-Wall -fno-rtti -fno-exceptions INCLUDES= adpcm.h cxform.h graphic.h script.h sqrt.h\ bitmap.h displaylist.h matrix.h shape.h swf.h\ @@@@ -34,7 +33,20 @@@@ # bitstream.o # dump.o -all: libflash.a +.cc.o: + ${LIBTOOL} --mode=compile ${CXX} -c ${CPPFLAGS} ${CXXFLAGS} $< + +all: libflash.la + +install: libflash.la + ${LIBTOOL} --mode=install ${BSD_INSTALL_DATA} libflash.la ${PREFIX}/lib + ${BSD_INSTALL_DATA_DIR} ${PREFIX}/include/flash + for file in ${INCLUDES}; do \ + ${BSD_INSTALL_DATA} $$file ${PREFIX}/include/flash; \ + done + +libflash.la: $(SWFOBJS) + ${LIBTOOL} --mode=link ${CC} ${LDFLAGS} -o $@@ ${SWFOBJS:.o=.lo} -rpath ${PREFIX}/lib -ljpeg -lz ${LIBSTDCPP} ${LIBOSSAUDIO} -version-info 0:4 libflash.a: $(SWFOBJS) ar rcs $@@ $(SWFOBJS) @ 1.5 log @Link libflash with libstdc++ - makes the mozilla flash plugin work when compiled with gcc3. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.4 2003/01/30 12:22:48 jlam Exp $ @ 1.4 log @Bump PKGREVISIONs of libflash, flashplayer, and moz-flash. These packages can now use audio/oss for OSS audio support. Convert to use buildlink2 and make libflash.so link against the proper libraries so that all inter-library dependencies are recorded. Also build moz-flash using libtool instead of guessing at the link command for the shared module. @ text @d1 1 a1 1 $NetBSD$ d13 1 a13 1 @@@@ -34,7 +33,20 @@@@ SWFOBJS=\ d31 1 a31 1 + ${LIBTOOL} --mode=link ${CC} ${LDFLAGS} -o $@@ ${SWFOBJS:.o=.lo} -rpath ${PREFIX}/lib -ljpeg -lz ${LIBOSSAUDIO} -version-info 0:4 @ 1.3 log @Updated libflash to 0.4.10nb3 Updated moz-flash to 1.0nb2 Updated flashplayer to 0.4.10nb1 Do not immediately dereference a null pointer after reporting 'Unsupported depth' - return 0 and let the calling function handle it. Avoids coredumps on 8bit displays. They still do not display the flash, but at least its more graceful. Fixes pkg/14827 from Greg A. Woods @ text @d3 1 a3 1 --- Lib/Makefile.orig Sun Jun 4 10:49:23 2000 d5 1 a5 1 @@@@ -1,6 +1,6 @@@@ a6 1 +CPPFLAGS=-I${LOCALBASE}/include d9 1 a9 1 +CXXFLAGS=-O3 -Wall -fno-rtti -fno-exceptions ${CFLAGS} d13 1 a13 1 @@@@ -34,10 +34,20 @@@@ SWFOBJS=\ d17 1 d19 1 a19 1 + ${LIBTOOL} --mode=compile ${CXX} -c ${CPPFLAGS} ${CXXFLAGS} ${.IMPSRC} d21 3 a23 3 all: libflash.a +install: d26 3 a28 3 +.for file in ${INCLUDES} + ${BSD_INSTALL_DATA} ${file} ${PREFIX}/include/flash +.endfor d30 3 d34 1 a34 5 - ar rcs $@@ $(SWFOBJS) + ${LIBTOOL} --mode=link ${CC} -o ${.TARGET:.a=.la} ${SWFOBJS:.o=.lo} -rpath ${PREFIX}/lib -L${PREFIX}/lib -Wl,-R${PREFIX}/lib -ljpeg -version-info 0:4 $(SWFOBJS): $(INCLUDES) @ 1.2 log @Obey CFLAGS @ text @d14 1 a14 1 @@@@ -34,10 +34,20 @@@@ @ 1.1 log @Initial revision @ text @d3 1 a3 1 --- Lib/Makefile.orig Sun Jun 4 11:49:23 2000 d5 1 a5 1 @@@@ -1,4 +1,4 @@@@ d9 2 a10 1 CXXFLAGS=-O3 -Wall -fno-rtti -fno-exceptions d12 2 @ 1.1.1.1 log @Initial import of libflash-0.4.10, a GPL library for playing Flash[tm] movies. Provided in private mail by hubertf with some changes by myself to split up the package into separate library, player, and plugin parts. @ text @@