diff options
author | rh <rh> | 2002-04-21 08:07:49 +0000 |
---|---|---|
committer | rh <rh> | 2002-04-21 08:07:49 +0000 |
commit | 9e0a317f28411fd00635fceb867d8d295221596c (patch) | |
tree | 4f0bf438b678d95a331c0c47cc8211c5b5d8b236 | |
parent | e5abb652e61054d360720d020ebb6fce470d564e (diff) | |
download | pkgsrc-9e0a317f28411fd00635fceb867d8d295221596c.tar.gz |
Initial import of gmplayer-0.60, an mplayer version with a GTK+ interface.
Provided by Rhialto <rhialto@azenomei.knuffel.net> in PR pkg/16417, with
some modifications by me to make this package coexist with mplayer.
-rw-r--r-- | graphics/gmplayer/DESCR | 13 | ||||
-rw-r--r-- | graphics/gmplayer/Makefile | 60 | ||||
-rw-r--r-- | graphics/gmplayer/PLIST | 550 | ||||
-rw-r--r-- | graphics/gmplayer/distinfo | 46 | ||||
-rw-r--r-- | graphics/gmplayer/files/vcd_read_nbsd.c | 200 | ||||
-rw-r--r-- | graphics/gmplayer/patches/patch-aa | 21 | ||||
-rw-r--r-- | graphics/gmplayer/patches/patch-ab | 21 | ||||
-rw-r--r-- | graphics/gmplayer/patches/patch-ad | 16 | ||||
-rw-r--r-- | graphics/gmplayer/patches/patch-ae | 16 | ||||
-rw-r--r-- | graphics/gmplayer/patches/patch-ag | 13 | ||||
-rw-r--r-- | graphics/gmplayer/patches/patch-ah | 13 |
11 files changed, 969 insertions, 0 deletions
diff --git a/graphics/gmplayer/DESCR b/graphics/gmplayer/DESCR new file mode 100644 index 00000000000..290a89c0b28 --- /dev/null +++ b/graphics/gmplayer/DESCR @@ -0,0 +1,13 @@ +MPlayer is a movie player for LINUX (though it runs on most Unices, +and even on non-x86 architectures). It plays most MPEG, AVI and +ASF files (also some QT/MOV files, with CVID, VP31 video, and raw +audio), supported by many native and win32 DLL codecs. You can +watch VCD, DVD and even DivX movies too. The another big feature +of mplayer is the wide range of supported output drivers. It works +with X11, Xv, DGA, OpenGL, SVGAlib, fbdev, but you can use SDL (and +this way all drivers of SDL) and some lowlevel card-specific drivers +(for Matrox/3dfx/SiS) 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 (9 supported types!!!) with +european/ISO 8859-1,2 (hungarian, english, czech, etc), cyrillic, +korean fonts, and OSD... diff --git a/graphics/gmplayer/Makefile b/graphics/gmplayer/Makefile new file mode 100644 index 00000000000..2d677658062 --- /dev/null +++ b/graphics/gmplayer/Makefile @@ -0,0 +1,60 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/04/21 08:07:49 rh Exp $ + +.include "../../graphics/mplayer/Makefile.common" + +PKGNAME= ${DISTNAME:S/MP/gmp/} +MASTER_SITES+= http://www.mplayerhq.hu/MPlayer/Skin/ \ + http://www2.mplayerhq.hu/MPlayer/releases/ \ + http://www2.mplayerhq.hu/MPlayer/Skin/ \ + ftp://ftp.mplayerhq.hu/MPlayer/releases/ \ + ftp://ftp.mplayerhq.hu/MPlayer/Skin/ \ + ftp://ftp2.mplayerhq.hu/MPlayer/releases/ \ + ftp://ftp2.mplayerhq.hu/MPlayer/Skin/ +DIST_SUBDIR= gmplayer + +SKINS += default${EXTRACT_SUFX} \ + MidnightLove${EXTRACT_SUFX} \ + avifile${EXTRACT_SUFX} \ + BlueHeart${EXTRACT_SUFX} \ + WindowsMediaPlayer6${EXTRACT_SUFX} \ + xanim${EXTRACT_SUFX} \ + neutron${EXTRACT_SUFX} \ + plastic${EXTRACT_SUFX} \ + Cyrus${EXTRACT_SUFX} \ + xine-lcd${EXTRACT_SUFX} \ + phony${EXTRACT_SUFX} \ + mentalic${EXTRACT_SUFX} \ + proton${EXTRACT_SUFX} \ + slim${EXTRACT_SUFX} \ + netscape4${EXTRACT_SUFX} \ + CubicPlayer${EXTRACT_SUFX} \ + AlienMind${EXTRACT_SUFX} \ + CornerMP${EXTRACT_SUFX} + +DISTFILES+= ${DISTNAME}${EXTRACT_SUFX} +DISTFILES+= ${SKINS} + +CONFIGURE_ARGS+= --enable-gui +CONFIGURE_ARGS+= --datadir=${PREFIX}/share/gmplayer + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/mplayer ${PREFIX}/bin/gmplayer + ${INSTALL_MAN} ${WRKSRC}/DOCS/mplayer.1 ${PREFIX}/man/man1/gmplayer.1 + ${INSTALL_DATA_DIR} ${PREFIX}/share/gmplayer + ${INSTALL_DATA} ${WRKSRC}/etc/codecs.conf ${PREFIX}/share/gmplayer + ${CP} -R ${WRKSRC}/DOCS ${PREFIX}/share/gmplayer + ${INSTALL_DATA_DIR} ${PREFIX}/share/gmplayer/Skin +.for SKIN in ${SKINS} + @${ECHO_MSG} "Installing skin ${SKIN}..." + @${GTAR} xCzf ${PREFIX}/share/gmplayer/Skin/ ${DISTDIR}/${DIST_SUBDIR}/${SKIN} +.endfor + @${CHMOD} -R a+r ${PREFIX}/share/gmplayer/Skin + @${CHMOD} a+rx ${PREFIX}/share/gmplayer/Skin/* + +.include "../../audio/lame/buildlink.mk" +.include "../../devel/SDL/buildlink.mk" +.include "../../graphics/png/buildlink.mk" +.include "../../misc/libdvdread/buildlink.mk" +.include "../../x11/gtk/buildlink.mk" +.include "../../mk/ossaudio.buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/gmplayer/PLIST b/graphics/gmplayer/PLIST new file mode 100644 index 00000000000..17adcee045b --- /dev/null +++ b/graphics/gmplayer/PLIST @@ -0,0 +1,550 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/04/21 08:07:50 rh Exp $ +bin/gmplayer +man/man1/gmplayer.1 +share/gmplayer/DOCS/DVB +share/gmplayer/DOCS/DXR3 +share/gmplayer/DOCS/French/bugreports.html +share/gmplayer/DOCS/French/cd-dvd.html +share/gmplayer/DOCS/French/codecs.html +share/gmplayer/DOCS/French/documentation.html +share/gmplayer/DOCS/French/exemple.conf +share/gmplayer/DOCS/French/faq.html +share/gmplayer/DOCS/French/skin-fr.html +share/gmplayer/DOCS/French/sound.html +share/gmplayer/DOCS/French/video.html +share/gmplayer/DOCS/German/bugreports.html +share/gmplayer/DOCS/German/cd-dvd.html +share/gmplayer/DOCS/German/codecs.html +share/gmplayer/DOCS/German/documentation.html +share/gmplayer/DOCS/German/encoding.html +share/gmplayer/DOCS/German/faq.html +share/gmplayer/DOCS/German/formats.html +share/gmplayer/DOCS/German/gcc-2.96-3.0.html +share/gmplayer/DOCS/German/sound.html +share/gmplayer/DOCS/German/video.html +share/gmplayer/DOCS/Hungarian/bugreports.html +share/gmplayer/DOCS/Hungarian/cd-dvd.html +share/gmplayer/DOCS/Hungarian/codecs.html +share/gmplayer/DOCS/Hungarian/documentation.html +share/gmplayer/DOCS/Hungarian/encoding.html +share/gmplayer/DOCS/Hungarian/example.conf +share/gmplayer/DOCS/Hungarian/faq.html +share/gmplayer/DOCS/Hungarian/formats.html +share/gmplayer/DOCS/Hungarian/mplayer.1 +share/gmplayer/DOCS/Hungarian/skin-hu.html +share/gmplayer/DOCS/Hungarian/sound.html +share/gmplayer/DOCS/Hungarian/video.html +share/gmplayer/DOCS/Polish/DVB +share/gmplayer/DOCS/Polish/bugreports.html +share/gmplayer/DOCS/Polish/codecs.html +share/gmplayer/DOCS/Polish/documentation.html +share/gmplayer/DOCS/Polish/gcc-2.96-3.0.html +share/gmplayer/DOCS/bugreports.html +share/gmplayer/DOCS/cd-dvd.html +share/gmplayer/DOCS/codecs-in.html +share/gmplayer/DOCS/codecs.html +share/gmplayer/DOCS/documentation.html +share/gmplayer/DOCS/encoding.html +share/gmplayer/DOCS/faq.html +share/gmplayer/DOCS/formats.html +share/gmplayer/DOCS/gcc-2.96-3.0.html +share/gmplayer/DOCS/mencoder.1 +share/gmplayer/DOCS/mplayer.1 +share/gmplayer/DOCS/skin-en.html +share/gmplayer/DOCS/sound.html +share/gmplayer/DOCS/tech/TODO +share/gmplayer/DOCS/tech/codec-devel.txt +share/gmplayer/DOCS/tech/codecs.conf.txt +share/gmplayer/DOCS/tech/cvs-howto.txt +share/gmplayer/DOCS/tech/formats-hun.txt +share/gmplayer/DOCS/tech/formats.txt +share/gmplayer/DOCS/tech/libvo2.txt +share/gmplayer/DOCS/tech/mpsub.sub +share/gmplayer/DOCS/tech/patches.txt +share/gmplayer/DOCS/tech/tech-eng.txt +share/gmplayer/DOCS/tech/tech-hun.txt +share/gmplayer/DOCS/users_against_developers.html +share/gmplayer/DOCS/video.html +share/gmplayer/Skin/AlienMind/README +share/gmplayer/Skin/AlienMind/VERSION +share/gmplayer/Skin/AlienMind/balance.png +share/gmplayer/Skin/AlienMind/eqb.png +share/gmplayer/Skin/AlienMind/exit.png +share/gmplayer/Skin/AlienMind/font.fnt +share/gmplayer/Skin/AlienMind/font.png +share/gmplayer/Skin/AlienMind/iconify.png +share/gmplayer/Skin/AlienMind/load.png +share/gmplayer/Skin/AlienMind/loop.png +share/gmplayer/Skin/AlienMind/main.png +share/gmplayer/Skin/AlienMind/menu.png +share/gmplayer/Skin/AlienMind/menubutt.png +share/gmplayer/Skin/AlienMind/menus.png +share/gmplayer/Skin/AlienMind/next.png +share/gmplayer/Skin/AlienMind/numbers.fnt +share/gmplayer/Skin/AlienMind/numbers.png +share/gmplayer/Skin/AlienMind/pause.png +share/gmplayer/Skin/AlienMind/play.png +share/gmplayer/Skin/AlienMind/plb.png +share/gmplayer/Skin/AlienMind/pos.png +share/gmplayer/Skin/AlienMind/prev.png +share/gmplayer/Skin/AlienMind/shuffle.png +share/gmplayer/Skin/AlienMind/skin +share/gmplayer/Skin/AlienMind/stop.png +share/gmplayer/Skin/AlienMind/sub.png +share/gmplayer/Skin/AlienMind/volume.png +share/gmplayer/Skin/BlueHeart/README +share/gmplayer/Skin/BlueHeart/VERSION +share/gmplayer/Skin/BlueHeart/eq.png +share/gmplayer/Skin/BlueHeart/eqb.png +share/gmplayer/Skin/BlueHeart/exit.png +share/gmplayer/Skin/BlueHeart/font.fnt +share/gmplayer/Skin/BlueHeart/font.png +share/gmplayer/Skin/BlueHeart/iconify.png +share/gmplayer/Skin/BlueHeart/load.png +share/gmplayer/Skin/BlueHeart/main.png +share/gmplayer/Skin/BlueHeart/menu.png +share/gmplayer/Skin/BlueHeart/menubutt.png +share/gmplayer/Skin/BlueHeart/menus.png +share/gmplayer/Skin/BlueHeart/next.png +share/gmplayer/Skin/BlueHeart/pause.png +share/gmplayer/Skin/BlueHeart/play.png +share/gmplayer/Skin/BlueHeart/plb.png +share/gmplayer/Skin/BlueHeart/pos.png +share/gmplayer/Skin/BlueHeart/prev.png +share/gmplayer/Skin/BlueHeart/skin +share/gmplayer/Skin/BlueHeart/stop.png +share/gmplayer/Skin/BlueHeart/sub.png +share/gmplayer/Skin/BlueHeart/symbols.fnt +share/gmplayer/Skin/BlueHeart/symbols.png +share/gmplayer/Skin/CornerMP/README +share/gmplayer/Skin/CornerMP/about.png +share/gmplayer/Skin/CornerMP/back.png +share/gmplayer/Skin/CornerMP/eqls.png +share/gmplayer/Skin/CornerMP/exit.png +share/gmplayer/Skin/CornerMP/font.fnt +share/gmplayer/Skin/CornerMP/font.png +share/gmplayer/Skin/CornerMP/forwd.png +share/gmplayer/Skin/CornerMP/full.png +share/gmplayer/Skin/CornerMP/icnf.png +share/gmplayer/Skin/CornerMP/load.png +share/gmplayer/Skin/CornerMP/main.png +share/gmplayer/Skin/CornerMP/menu.png +share/gmplayer/Skin/CornerMP/menu_ko.png +share/gmplayer/Skin/CornerMP/menus.png +share/gmplayer/Skin/CornerMP/menus_ko.png +share/gmplayer/Skin/CornerMP/next.png +share/gmplayer/Skin/CornerMP/pause.png +share/gmplayer/Skin/CornerMP/play.png +share/gmplayer/Skin/CornerMP/plst.png +share/gmplayer/Skin/CornerMP/pos.png +share/gmplayer/Skin/CornerMP/prev.png +share/gmplayer/Skin/CornerMP/skin +share/gmplayer/Skin/CornerMP/stop.png +share/gmplayer/Skin/CornerMP/sub.png +share/gmplayer/Skin/CornerMP/subt.png +share/gmplayer/Skin/CornerMP/symbols.fnt +share/gmplayer/Skin/CornerMP/symbols.png +share/gmplayer/Skin/CornerMP/vol.png +share/gmplayer/Skin/CubicPlayer/README +share/gmplayer/Skin/CubicPlayer/VERSION +share/gmplayer/Skin/CubicPlayer/balance.png +share/gmplayer/Skin/CubicPlayer/font.fnt +share/gmplayer/Skin/CubicPlayer/font.png +share/gmplayer/Skin/CubicPlayer/main.png +share/gmplayer/Skin/CubicPlayer/menu.png +share/gmplayer/Skin/CubicPlayer/menus.png +share/gmplayer/Skin/CubicPlayer/open.png +share/gmplayer/Skin/CubicPlayer/play.png +share/gmplayer/Skin/CubicPlayer/seekbar.png +share/gmplayer/Skin/CubicPlayer/skin +share/gmplayer/Skin/CubicPlayer/stop.png +share/gmplayer/Skin/CubicPlayer/sub.png +share/gmplayer/Skin/Cyrus/README +share/gmplayer/Skin/Cyrus/VERSION +share/gmplayer/Skin/Cyrus/eq.png +share/gmplayer/Skin/Cyrus/eqb.png +share/gmplayer/Skin/Cyrus/exit.png +share/gmplayer/Skin/Cyrus/font.fnt +share/gmplayer/Skin/Cyrus/font.png +share/gmplayer/Skin/Cyrus/iconify.png +share/gmplayer/Skin/Cyrus/load.png +share/gmplayer/Skin/Cyrus/main.png +share/gmplayer/Skin/Cyrus/menu.png +share/gmplayer/Skin/Cyrus/menubutt.png +share/gmplayer/Skin/Cyrus/menus.png +share/gmplayer/Skin/Cyrus/next.png +share/gmplayer/Skin/Cyrus/pause.png +share/gmplayer/Skin/Cyrus/play.png +share/gmplayer/Skin/Cyrus/plb.png +share/gmplayer/Skin/Cyrus/pos.png +share/gmplayer/Skin/Cyrus/posbar.png +share/gmplayer/Skin/Cyrus/prev.png +share/gmplayer/Skin/Cyrus/readme +share/gmplayer/Skin/Cyrus/skin +share/gmplayer/Skin/Cyrus/stop.png +share/gmplayer/Skin/Cyrus/sub.png +share/gmplayer/Skin/Cyrus/symbols.fnt +share/gmplayer/Skin/Cyrus/symbols.png +share/gmplayer/Skin/MidnightLove/README +share/gmplayer/Skin/MidnightLove/VERSION +share/gmplayer/Skin/MidnightLove/eq.png +share/gmplayer/Skin/MidnightLove/eqb.png +share/gmplayer/Skin/MidnightLove/exit.png +share/gmplayer/Skin/MidnightLove/font.fnt +share/gmplayer/Skin/MidnightLove/font.png +share/gmplayer/Skin/MidnightLove/iconify.png +share/gmplayer/Skin/MidnightLove/load.png +share/gmplayer/Skin/MidnightLove/main.png +share/gmplayer/Skin/MidnightLove/maximize.png +share/gmplayer/Skin/MidnightLove/menu.png +share/gmplayer/Skin/MidnightLove/menubutt.png +share/gmplayer/Skin/MidnightLove/menus.png +share/gmplayer/Skin/MidnightLove/next.png +share/gmplayer/Skin/MidnightLove/pause.png +share/gmplayer/Skin/MidnightLove/play.png +share/gmplayer/Skin/MidnightLove/plb.png +share/gmplayer/Skin/MidnightLove/pos.png +share/gmplayer/Skin/MidnightLove/prev.png +share/gmplayer/Skin/MidnightLove/skin +share/gmplayer/Skin/MidnightLove/stop.png +share/gmplayer/Skin/MidnightLove/sub.png +share/gmplayer/Skin/MidnightLove/symbols.fnt +share/gmplayer/Skin/MidnightLove/symbols.png +share/gmplayer/Skin/WindowsMediaPlayer6/README +share/gmplayer/Skin/WindowsMediaPlayer6/VERSION +share/gmplayer/Skin/WindowsMediaPlayer6/close.png +share/gmplayer/Skin/WindowsMediaPlayer6/font.fnt +share/gmplayer/Skin/WindowsMediaPlayer6/font.png +share/gmplayer/Skin/WindowsMediaPlayer6/main.png +share/gmplayer/Skin/WindowsMediaPlayer6/maximize.png +share/gmplayer/Skin/WindowsMediaPlayer6/menu.png +share/gmplayer/Skin/WindowsMediaPlayer6/menus.png +share/gmplayer/Skin/WindowsMediaPlayer6/minimize.png +share/gmplayer/Skin/WindowsMediaPlayer6/pause.png +share/gmplayer/Skin/WindowsMediaPlayer6/play.png +share/gmplayer/Skin/WindowsMediaPlayer6/pos.png +share/gmplayer/Skin/WindowsMediaPlayer6/skin +share/gmplayer/Skin/WindowsMediaPlayer6/stop.png +share/gmplayer/Skin/WindowsMediaPlayer6/sub.png +share/gmplayer/Skin/WindowsMediaPlayer6/sub.png.win +share/gmplayer/Skin/WindowsMediaPlayer6/symbols.fnt +share/gmplayer/Skin/WindowsMediaPlayer6/symbols.png +share/gmplayer/Skin/WindowsMediaPlayer6/vol.png +share/gmplayer/Skin/avifile/README +share/gmplayer/Skin/avifile/VERSION +share/gmplayer/Skin/avifile/alap.png +share/gmplayer/Skin/avifile/font.fnt +share/gmplayer/Skin/avifile/font.png +share/gmplayer/Skin/avifile/help.png +share/gmplayer/Skin/avifile/load.png +share/gmplayer/Skin/avifile/menu.png +share/gmplayer/Skin/avifile/menus.png +share/gmplayer/Skin/avifile/mute.png +share/gmplayer/Skin/avifile/pause.png +share/gmplayer/Skin/avifile/play.png +share/gmplayer/Skin/avifile/pos.png +share/gmplayer/Skin/avifile/skin +share/gmplayer/Skin/avifile/stop.png +share/gmplayer/Skin/avifile/sub.png +share/gmplayer/Skin/avifile/symbols.fnt +share/gmplayer/Skin/avifile/symbols.png +share/gmplayer/Skin/avifile/volume.png +share/gmplayer/Skin/default/README +share/gmplayer/Skin/default/VERSION +share/gmplayer/Skin/default/about.png +share/gmplayer/Skin/default/back.png +share/gmplayer/Skin/default/eq.png +share/gmplayer/Skin/default/eqb.png +share/gmplayer/Skin/default/exit.png +share/gmplayer/Skin/default/font.fnt +share/gmplayer/Skin/default/font.png +share/gmplayer/Skin/default/forward.png +share/gmplayer/Skin/default/fsb.png +share/gmplayer/Skin/default/iconify.png +share/gmplayer/Skin/default/load.png +share/gmplayer/Skin/default/main.png +share/gmplayer/Skin/default/menu.png +share/gmplayer/Skin/default/menus.png +share/gmplayer/Skin/default/next.png +share/gmplayer/Skin/default/pause.png +share/gmplayer/Skin/default/play.png +share/gmplayer/Skin/default/plb.png +share/gmplayer/Skin/default/pos.png +share/gmplayer/Skin/default/prev.png +share/gmplayer/Skin/default/skin +share/gmplayer/Skin/default/stop.png +share/gmplayer/Skin/default/sub.png +share/gmplayer/Skin/default/subload.png +share/gmplayer/Skin/default/symbols.fnt +share/gmplayer/Skin/default/symbols.png +share/gmplayer/Skin/default/volume.png +share/gmplayer/Skin/mentalic/VERSION +share/gmplayer/Skin/mentalic/about.png +share/gmplayer/Skin/mentalic/back.png +share/gmplayer/Skin/mentalic/exit.png +share/gmplayer/Skin/mentalic/font.fnt +share/gmplayer/Skin/mentalic/font.png +share/gmplayer/Skin/mentalic/forward.png +share/gmplayer/Skin/mentalic/fsb.png +share/gmplayer/Skin/mentalic/iconify.png +share/gmplayer/Skin/mentalic/load.png +share/gmplayer/Skin/mentalic/main.png +share/gmplayer/Skin/mentalic/menu.png +share/gmplayer/Skin/mentalic/menus.png +share/gmplayer/Skin/mentalic/next.png +share/gmplayer/Skin/mentalic/pause.png +share/gmplayer/Skin/mentalic/play.png +share/gmplayer/Skin/mentalic/pos.png +share/gmplayer/Skin/mentalic/prev.png +share/gmplayer/Skin/mentalic/skin +share/gmplayer/Skin/mentalic/stop.png +share/gmplayer/Skin/mentalic/sub.png +share/gmplayer/Skin/mentalic/symbols.fnt +share/gmplayer/Skin/mentalic/symbols.png +share/gmplayer/Skin/mentalic/symbolsV.fnt +share/gmplayer/Skin/mentalic/symbolsV.png +share/gmplayer/Skin/mentalic/volume.png +share/gmplayer/Skin/netscape4/README +share/gmplayer/Skin/netscape4/VERSION +share/gmplayer/Skin/netscape4/bookmark.png +share/gmplayer/Skin/netscape4/font.fnt +share/gmplayer/Skin/netscape4/font.png +share/gmplayer/Skin/netscape4/fwd.png +share/gmplayer/Skin/netscape4/home.png +share/gmplayer/Skin/netscape4/main.png +share/gmplayer/Skin/netscape4/menu.png +share/gmplayer/Skin/netscape4/menus.png +share/gmplayer/Skin/netscape4/mynet.png +share/gmplayer/Skin/netscape4/n.png +share/gmplayer/Skin/netscape4/on.png +share/gmplayer/Skin/netscape4/print.png +share/gmplayer/Skin/netscape4/reload.png +share/gmplayer/Skin/netscape4/rew.png +share/gmplayer/Skin/netscape4/search.png +share/gmplayer/Skin/netscape4/security.png +share/gmplayer/Skin/netscape4/shop.png +share/gmplayer/Skin/netscape4/skin +share/gmplayer/Skin/netscape4/stop.png +share/gmplayer/Skin/netscape4/sub.png +share/gmplayer/Skin/neutron/README +share/gmplayer/Skin/neutron/VERSION +share/gmplayer/Skin/neutron/about.png +share/gmplayer/Skin/neutron/back.png +share/gmplayer/Skin/neutron/eqb.png +share/gmplayer/Skin/neutron/exit.png +share/gmplayer/Skin/neutron/font.fnt +share/gmplayer/Skin/neutron/font.png +share/gmplayer/Skin/neutron/forward.png +share/gmplayer/Skin/neutron/fsb.png +share/gmplayer/Skin/neutron/iconify.png +share/gmplayer/Skin/neutron/load.png +share/gmplayer/Skin/neutron/main.png +share/gmplayer/Skin/neutron/menu.png +share/gmplayer/Skin/neutron/menus.png +share/gmplayer/Skin/neutron/mute.png +share/gmplayer/Skin/neutron/next.png +share/gmplayer/Skin/neutron/pause.png +share/gmplayer/Skin/neutron/play.png +share/gmplayer/Skin/neutron/plb.png +share/gmplayer/Skin/neutron/pos.png +share/gmplayer/Skin/neutron/pref.png +share/gmplayer/Skin/neutron/prev.png +share/gmplayer/Skin/neutron/skin +share/gmplayer/Skin/neutron/stop.png +share/gmplayer/Skin/neutron/sub.png +share/gmplayer/Skin/neutron/symbols.fnt +share/gmplayer/Skin/neutron/symbols.png +share/gmplayer/Skin/neutron/volume.png +share/gmplayer/Skin/phony/README +share/gmplayer/Skin/phony/VERSION +share/gmplayer/Skin/phony/about.png +share/gmplayer/Skin/phony/back.png +share/gmplayer/Skin/phony/exit.png +share/gmplayer/Skin/phony/font2.fnt +share/gmplayer/Skin/phony/font2.png +share/gmplayer/Skin/phony/forward.png +share/gmplayer/Skin/phony/load.png +share/gmplayer/Skin/phony/main.png +share/gmplayer/Skin/phony/menu.png +share/gmplayer/Skin/phony/menus.png +share/gmplayer/Skin/phony/mute.png +share/gmplayer/Skin/phony/next.png +share/gmplayer/Skin/phony/pause.png +share/gmplayer/Skin/phony/play.png +share/gmplayer/Skin/phony/pos.png +share/gmplayer/Skin/phony/prev.png +share/gmplayer/Skin/phony/progress.png +share/gmplayer/Skin/phony/skin +share/gmplayer/Skin/phony/small-bright.png +share/gmplayer/Skin/phony/small.png +share/gmplayer/Skin/phony/stop.png +share/gmplayer/Skin/phony/sub2.png +share/gmplayer/Skin/phony/symbols2.fnt +share/gmplayer/Skin/phony/symbols2.png +share/gmplayer/Skin/phony/volume.png +share/gmplayer/Skin/phony/zoom.png +share/gmplayer/Skin/plastic/README +share/gmplayer/Skin/plastic/VERSION +share/gmplayer/Skin/plastic/about.png +share/gmplayer/Skin/plastic/back.png +share/gmplayer/Skin/plastic/eqb.png +share/gmplayer/Skin/plastic/exit.png +share/gmplayer/Skin/plastic/font.fnt +share/gmplayer/Skin/plastic/font.png +share/gmplayer/Skin/plastic/forward.png +share/gmplayer/Skin/plastic/fsb.png +share/gmplayer/Skin/plastic/iconify.png +share/gmplayer/Skin/plastic/load.png +share/gmplayer/Skin/plastic/main.png +share/gmplayer/Skin/plastic/menu.png +share/gmplayer/Skin/plastic/menus.png +share/gmplayer/Skin/plastic/next.png +share/gmplayer/Skin/plastic/pause.png +share/gmplayer/Skin/plastic/play.png +share/gmplayer/Skin/plastic/plb.png +share/gmplayer/Skin/plastic/pos.png +share/gmplayer/Skin/plastic/prev.png +share/gmplayer/Skin/plastic/skin +share/gmplayer/Skin/plastic/stop.png +share/gmplayer/Skin/plastic/sub.png +share/gmplayer/Skin/plastic/subt.png +share/gmplayer/Skin/plastic/symbols.fnt +share/gmplayer/Skin/plastic/symbols.png +share/gmplayer/Skin/plastic/volume.png +share/gmplayer/Skin/proton/README +share/gmplayer/Skin/proton/VERSION +share/gmplayer/Skin/proton/about.png +share/gmplayer/Skin/proton/equel.png +share/gmplayer/Skin/proton/exit.png +share/gmplayer/Skin/proton/ff.png +share/gmplayer/Skin/proton/font.fnt +share/gmplayer/Skin/proton/font.png +share/gmplayer/Skin/proton/fullscr.png +share/gmplayer/Skin/proton/icon.png +share/gmplayer/Skin/proton/knob.png +share/gmplayer/Skin/proton/main.png +share/gmplayer/Skin/proton/menu.png +share/gmplayer/Skin/proton/menus.png +share/gmplayer/Skin/proton/mute.png +share/gmplayer/Skin/proton/next.png +share/gmplayer/Skin/proton/open.png +share/gmplayer/Skin/proton/pause.png +share/gmplayer/Skin/proton/play.png +share/gmplayer/Skin/proton/playl.png +share/gmplayer/Skin/proton/pref.png +share/gmplayer/Skin/proton/prev.png +share/gmplayer/Skin/proton/rew.png +share/gmplayer/Skin/proton/skin +share/gmplayer/Skin/proton/slider.png +share/gmplayer/Skin/proton/stop.png +share/gmplayer/Skin/proton/sub.png +share/gmplayer/Skin/proton/symbols.fnt +share/gmplayer/Skin/proton/symbols.png +share/gmplayer/Skin/slim/about.png +share/gmplayer/Skin/slim/back.png +share/gmplayer/Skin/slim/double.png +share/gmplayer/Skin/slim/exit.png +share/gmplayer/Skin/slim/font.fnt +share/gmplayer/Skin/slim/font.png +share/gmplayer/Skin/slim/forward.png +share/gmplayer/Skin/slim/fsb.png +share/gmplayer/Skin/slim/iconify.png +share/gmplayer/Skin/slim/load.png +share/gmplayer/Skin/slim/main.png +share/gmplayer/Skin/slim/menu.png +share/gmplayer/Skin/slim/menus.png +share/gmplayer/Skin/slim/next.png +share/gmplayer/Skin/slim/normal.png +share/gmplayer/Skin/slim/pause.png +share/gmplayer/Skin/slim/play.png +share/gmplayer/Skin/slim/plb.png +share/gmplayer/Skin/slim/pos.png +share/gmplayer/Skin/slim/pref.png +share/gmplayer/Skin/slim/prev.png +share/gmplayer/Skin/slim/skin +share/gmplayer/Skin/slim/stop.png +share/gmplayer/Skin/slim/sub.png +share/gmplayer/Skin/slim/subt.png +share/gmplayer/Skin/slim/symbols.fnt +share/gmplayer/Skin/slim/symbols.png +share/gmplayer/Skin/slim/volume.png +share/gmplayer/Skin/xanim/README +share/gmplayer/Skin/xanim/VERSION +share/gmplayer/Skin/xanim/back.png +share/gmplayer/Skin/xanim/back2.png +share/gmplayer/Skin/xanim/back3.png +share/gmplayer/Skin/xanim/exit.png +share/gmplayer/Skin/xanim/ff2.png +share/gmplayer/Skin/xanim/ff3.png +share/gmplayer/Skin/xanim/grab.png +share/gmplayer/Skin/xanim/main.png +share/gmplayer/Skin/xanim/menu.png +share/gmplayer/Skin/xanim/menus.png +share/gmplayer/Skin/xanim/minus.png +share/gmplayer/Skin/xanim/o.png +share/gmplayer/Skin/xanim/play.png +share/gmplayer/Skin/xanim/plus.png +share/gmplayer/Skin/xanim/skin +share/gmplayer/Skin/xanim/stop.png +share/gmplayer/Skin/xanim/sub.png +share/gmplayer/Skin/xanim/vol.png +share/gmplayer/Skin/xanim/volbar.png +share/gmplayer/Skin/xanim/volmin.png +share/gmplayer/Skin/xanim/volplus.png +share/gmplayer/Skin/xine-lcd/README +share/gmplayer/Skin/xine-lcd/VERSION +share/gmplayer/Skin/xine-lcd/close.png +share/gmplayer/Skin/xine-lcd/dvd.png +share/gmplayer/Skin/xine-lcd/eject.png +share/gmplayer/Skin/xine-lcd/ffwd.png +share/gmplayer/Skin/xine-lcd/font.fnt +share/gmplayer/Skin/xine-lcd/font.png +share/gmplayer/Skin/xine-lcd/fullsc.png +share/gmplayer/Skin/xine-lcd/main-jo.png +share/gmplayer/Skin/xine-lcd/main.png +share/gmplayer/Skin/xine-lcd/menu.png +share/gmplayer/Skin/xine-lcd/menus.png +share/gmplayer/Skin/xine-lcd/minus.png +share/gmplayer/Skin/xine-lcd/next.png +share/gmplayer/Skin/xine-lcd/pause.png +share/gmplayer/Skin/xine-lcd/play.png +share/gmplayer/Skin/xine-lcd/playlist.png +share/gmplayer/Skin/xine-lcd/plbutton.png +share/gmplayer/Skin/xine-lcd/plus.png +share/gmplayer/Skin/xine-lcd/poti.png +share/gmplayer/Skin/xine-lcd/power.png +share/gmplayer/Skin/xine-lcd/pref.png +share/gmplayer/Skin/xine-lcd/prev.png +share/gmplayer/Skin/xine-lcd/rewind.png +share/gmplayer/Skin/xine-lcd/seekbar.png +share/gmplayer/Skin/xine-lcd/skin +share/gmplayer/Skin/xine-lcd/stop.png +share/gmplayer/Skin/xine-lcd/sub.png +share/gmplayer/Skin/xine-lcd/volume.png +share/gmplayer/codecs.conf +@dirrm share/gmplayer/Skin/xine-lcd +@dirrm share/gmplayer/Skin/xanim +@dirrm share/gmplayer/Skin/slim +@dirrm share/gmplayer/Skin/proton +@dirrm share/gmplayer/Skin/plastic +@dirrm share/gmplayer/Skin/phony +@dirrm share/gmplayer/Skin/neutron +@dirrm share/gmplayer/Skin/netscape4 +@dirrm share/gmplayer/Skin/mentalic +@dirrm share/gmplayer/Skin/default +@dirrm share/gmplayer/Skin/avifile +@dirrm share/gmplayer/Skin/WindowsMediaPlayer6 +@dirrm share/gmplayer/Skin/MidnightLove +@dirrm share/gmplayer/Skin/Cyrus +@dirrm share/gmplayer/Skin/CubicPlayer +@dirrm share/gmplayer/Skin/CornerMP +@dirrm share/gmplayer/Skin/BlueHeart +@dirrm share/gmplayer/Skin/AlienMind +@dirrm share/gmplayer/Skin +@dirrm share/gmplayer/DOCS/tech +@dirrm share/gmplayer/DOCS/Polish +@dirrm share/gmplayer/DOCS/Hungarian +@dirrm share/gmplayer/DOCS/German +@dirrm share/gmplayer/DOCS/French +@dirrm share/gmplayer/DOCS +@dirrm share/gmplayer diff --git a/graphics/gmplayer/distinfo b/graphics/gmplayer/distinfo new file mode 100644 index 00000000000..aaffaf9118e --- /dev/null +++ b/graphics/gmplayer/distinfo @@ -0,0 +1,46 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/04/21 08:07:50 rh Exp $ + +SHA1 (gmplayer/MPlayer-0.60.tar.bz2) = 6af7da481fe3688061f5a74ceed694812c1d475a +Size (gmplayer/MPlayer-0.60.tar.bz2) = 1753317 bytes +SHA1 (gmplayer/default.tar.bz2) = 40319dd1f8a8f2ff8b85d5efb1d4294d62530535 +Size (gmplayer/default.tar.bz2) = 167762 bytes +SHA1 (gmplayer/MidnightLove.tar.bz2) = 7eaeb8acfef8a4584485083fd6659631a05fa0f8 +Size (gmplayer/MidnightLove.tar.bz2) = 539551 bytes +SHA1 (gmplayer/avifile.tar.bz2) = 6793a51d3ddf8132e6725b32e44d0a968cb9cc7b +Size (gmplayer/avifile.tar.bz2) = 42387 bytes +SHA1 (gmplayer/BlueHeart.tar.bz2) = cbdcb731158dfc00a5b60eedd3e909ebfc357595 +Size (gmplayer/BlueHeart.tar.bz2) = 281083 bytes +SHA1 (gmplayer/WindowsMediaPlayer6.tar.bz2) = 5122b311ec609c6f9cb243fb3769b98b6bcc91ed +Size (gmplayer/WindowsMediaPlayer6.tar.bz2) = 31060 bytes +SHA1 (gmplayer/xanim.tar.bz2) = d24efe88750b04588a1c91be7a92b2ae81d5d719 +Size (gmplayer/xanim.tar.bz2) = 94551 bytes +SHA1 (gmplayer/neutron.tar.bz2) = f765dd3dd209eb1d3a64b1a6276531224c298ff1 +Size (gmplayer/neutron.tar.bz2) = 369551 bytes +SHA1 (gmplayer/plastic.tar.bz2) = 020aa23b5aad13b8041ceb88357513d9c00defb2 +Size (gmplayer/plastic.tar.bz2) = 454125 bytes +SHA1 (gmplayer/Cyrus.tar.bz2) = 0b2d882a40843ab97762f3b090dc433da4e4ae16 +Size (gmplayer/Cyrus.tar.bz2) = 228846 bytes +SHA1 (gmplayer/xine-lcd.tar.bz2) = e67e1dc03ef421191a99300e4f108bb3cc585780 +Size (gmplayer/xine-lcd.tar.bz2) = 168442 bytes +SHA1 (gmplayer/phony.tar.bz2) = 3538cdb0c1a0ba2ff677c8d3318765cfce80ebdb +Size (gmplayer/phony.tar.bz2) = 386405 bytes +SHA1 (gmplayer/mentalic.tar.bz2) = f39f934239301087a2521441db053c900338777d +Size (gmplayer/mentalic.tar.bz2) = 166624 bytes +SHA1 (gmplayer/proton.tar.bz2) = 6194df0f6f2ca126cf22ed74464103c0b50ed24a +Size (gmplayer/proton.tar.bz2) = 323339 bytes +SHA1 (gmplayer/slim.tar.bz2) = 53246aaf5520d04603e7542dec17439a9271004b +Size (gmplayer/slim.tar.bz2) = 398868 bytes +SHA1 (gmplayer/netscape4.tar.bz2) = 3a3334c4308643adce5931b0c8f037c0278d6c7b +Size (gmplayer/netscape4.tar.bz2) = 204041 bytes +SHA1 (gmplayer/CubicPlayer.tar.bz2) = 0c5e08ebc6d68e9f58d144a92fb3e3fbf07a7b05 +Size (gmplayer/CubicPlayer.tar.bz2) = 124403 bytes +SHA1 (gmplayer/AlienMind.tar.bz2) = 8bd483aa6b52c10ee826c458a2c509c90a57e0f7 +Size (gmplayer/AlienMind.tar.bz2) = 129515 bytes +SHA1 (gmplayer/CornerMP.tar.bz2) = d46a59c33abcc27ddc24be3124d3f4d23361e836 +Size (gmplayer/CornerMP.tar.bz2) = 237492 bytes +SHA1 (patch-aa) = 1e626d0312631e441d126a89314f4e4e6d177e1f +SHA1 (patch-ab) = b57033b07b789917dc2f576e34dacf06e90fc824 +SHA1 (patch-ad) = 2caecb946658925f20874a2aff61afc972354a37 +SHA1 (patch-ae) = 84db805213925f9ebc511de56f723ba29147ba99 +SHA1 (patch-ag) = bfbae41a30a7f0c9440ece02e3f2eadd1fca87a1 +SHA1 (patch-ah) = 506cda70793d84342b035570b428cb7b566b622e diff --git a/graphics/gmplayer/files/vcd_read_nbsd.c b/graphics/gmplayer/files/vcd_read_nbsd.c new file mode 100644 index 00000000000..9618814a987 --- /dev/null +++ b/graphics/gmplayer/files/vcd_read_nbsd.c @@ -0,0 +1,200 @@ +/* $NetBSD: vcd_read_nbsd.c,v 1.1.1.1 2002/04/21 08:07:50 rh Exp $ */ + +#include <sys/types.h> +#include <sys/inttypes.h> +#include <sys/cdio.h> +#include <sys/scsiio.h> + +#define HAVE_VCD + +#define CDROM_LEADOUT 0xAA + +static struct ioc_read_toc_entry vcd_entry; +static struct cd_toc_entry vcd_entry_data; +static char vcd_buf[VCD_SECTOR_SIZE]; + +static inline void +vcd_set_msf(unsigned int sect) +{ + unsigned int s = sect; + vcd_entry_data.addr.msf.frame = sect % 75; + sect = sect / 75; + vcd_entry_data.addr.msf.second = sect % 60; + sect = sect / 60; + vcd_entry_data.addr.msf.minute = sect; +} + +static inline unsigned int +vcd_get_msf() +{ + return vcd_entry_data.addr.msf.frame + + (vcd_entry_data.addr.msf.second + + vcd_entry_data.addr.msf.minute * 60) * 75; +} + +int +vcd_seek_to_track(int fd, int track) +{ + vcd_entry.address_format = CD_MSF_FORMAT; + vcd_entry.starting_track = track; + vcd_entry.data_len = sizeof(struct cd_toc_entry); + vcd_entry.data = &vcd_entry_data; + if (ioctl(fd, CDIOREADTOCENTRIES, &vcd_entry)) { + perror("ioctl dif1"); + return -1; + } + return VCD_SECTOR_DATA * vcd_get_msf(); +} + +int +vcd_get_track_end(int fd, int track) +{ + struct ioc_toc_header tochdr; + if (ioctl(fd, CDIOREADTOCHEADER, &tochdr) == -1) { + perror("read CDROM toc header: "); + return -1; + } + vcd_entry.address_format = CD_MSF_FORMAT; + vcd_entry.starting_track = track < tochdr.ending_track ? (track + 1) : CDROM_LEADOUT; + vcd_entry.data_len = sizeof(struct cd_toc_entry); + vcd_entry.data = &vcd_entry_data; + if (ioctl(fd, CDIOREADTOCENTRYS, &vcd_entry)) { + perror("ioctl dif2"); + return -1; + } + return VCD_SECTOR_DATA * vcd_get_msf(); +} + +void +vcd_read_toc(int fd) +{ + struct ioc_toc_header tochdr; + int i; + if (ioctl(fd, CDIOREADTOCHEADER, &tochdr) == -1) { + perror("read CDROM toc header: "); + return; + } + for (i = tochdr.starting_track; i <= tochdr.ending_track; i++) { + struct ioc_read_toc_entry tocentry; + struct cd_toc_entry tocentry_data; + + tocentry.starting_track = i; + tocentry.address_format = CD_MSF_FORMAT; + tocentry.data_len = sizeof(struct cd_toc_entry); + tocentry.data = &tocentry_data; + + if (ioctl(fd, CDIOREADTOCENTRYS, &tocentry) == -1) { + perror("read CDROM toc entry: "); + return; + } + printf("track %02d: adr=%d ctrl=%d format=%d %02d:%02d:%02d\n", + (int) tocentry.starting_track, + (int) tocentry.data->addr_type, + (int) tocentry.data->control, + (int) tocentry.address_format, + (int) tocentry.data->addr.msf.minute, + (int) tocentry.data->addr.msf.second, + (int) tocentry.data->addr.msf.frame + ); + } +} + +static int +vcd_read(int fd, char *mem) +{ + struct scsireq sc; + int lba = vcd_get_msf(); + int blocks; + int sector_type; + int sync, header_code, user_data, edc_ecc, error_field; + int sub_channel; + int rc; + + blocks = 1; + sector_type = 5; /* mode2/form2 */ + sync = 0; + header_code = 0; + user_data = 1; + edc_ecc = 0; + error_field = 0; + sub_channel = 0; + + memset(&sc, 0, sizeof(sc)); + sc.cmd[0] = 0xBE; + sc.cmd[1] = (sector_type) << 2; + sc.cmd[2] = (lba >> 24) & 0xff; + sc.cmd[3] = (lba >> 16) & 0xff; + sc.cmd[4] = (lba >> 8) & 0xff; + sc.cmd[5] = lba & 0xff; + sc.cmd[6] = (blocks >> 16) & 0xff; + sc.cmd[7] = (blocks >> 8) & 0xff; + sc.cmd[8] = blocks & 0xff; + sc.cmd[9] = (sync << 7) | (header_code << 5) | (user_data << 4) | + (edc_ecc << 3) | (error_field << 1); + sc.cmd[10] = sub_channel; + sc.cmdlen = 12; + sc.databuf = (caddr_t) mem; + sc.datalen = 2328; + sc.senselen = sizeof(sc.sense); + sc.flags = SCCMD_READ; + sc.timeout = 10000; + rc = ioctl(fd, SCIOCCOMMAND, &sc); + if (rc == -1) { + perror("SCIOCCOMMAND"); + return -1; + } + if (sc.retsts || sc.error) { + fprintf(stderr, "scsi command failed: status %d error %d\n", sc.retsts, + sc.error); + return -1; + } + return VCD_SECTOR_DATA; +} + +#ifdef VCD_CACHE + +static int vcd_cache_size = 0; +static char *vcd_cache_data = NULL; +static int *vcd_cache_sectors = NULL; +static int vcd_cache_index = 0; +static int vcd_cache_current = -1; + +void +vcd_cache_init(int s) +{ + vcd_cache_size = s; + vcd_cache_sectors = malloc(s * sizeof(int)); + vcd_cache_data = malloc(s * VCD_SECTOR_SIZE); + memset(vcd_cache_sectors, 255, s * sizeof(int)); +} + +static inline void +vcd_cache_seek(int sect) +{ + vcd_cache_current = sect; +} + +int +vcd_cache_read(int fd, char *mem) +{ + int i; + char *vcd_buf; + for (i = 0; i < vcd_cache_size; i++) + if (vcd_cache_sectors[i] == vcd_cache_current) { + vcd_buf = &vcd_cache_data[i * VCD_SECTOR_SIZE]; + ++vcd_cache_current; + memcpy(mem, &vcd_buf[VCD_SECTOR_OFFS], VCD_SECTOR_DATA); + return VCD_SECTOR_DATA; + } + vcd_buf = &vcd_cache_data[vcd_cache_index * VCD_SECTOR_SIZE]; + vcd_cache_sectors[vcd_cache_index] = vcd_cache_current; + ++vcd_cache_index; + if (vcd_cache_index >= vcd_cache_size) + vcd_cache_index = 0; + vcd_set_msf(vcd_cache_current); + memcpy(vcd_buf, &vcd_entry_data.addr.msf, sizeof(vcd_entry_data.addr.msf)); + ++vcd_cache_current; + memcpy(mem, &vcd_buf[VCD_SECTOR_OFFS], VCD_SECTOR_DATA); + return VCD_SECTOR_DATA; +} +#endif diff --git a/graphics/gmplayer/patches/patch-aa b/graphics/gmplayer/patches/patch-aa new file mode 100644 index 00000000000..72c444f32bc --- /dev/null +++ b/graphics/gmplayer/patches/patch-aa @@ -0,0 +1,21 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/04/21 08:07:50 rh Exp $ + +--- configure.in Sun Nov 25 13:42:15 2001 ++++ configure Sun Nov 25 14:12:54 2001 +@@ -1731,7 +1731,7 @@ + if test "$_ossaudio" = auto ; then + cat > $TMPC << EOF + #include <sys/soundcard.h> +-int main(void) { int arg = SNDCTL_DSP_SETFRAGMENT; return 0; } ++int main(void) { int arg = SOUND_VERSION; return 0; } + EOF + _ossaudio=no + cc_check && _ossaudio=yes +@@ -2397,6 +2397,7 @@ + + _ld_arch="$_ld_arch $_ld_pthread $_ld_dl $_ld_dl_dynamic" + bsdos && _ld_arch="$_ld_arch -ldvd" ++netbsd && _ld_arch="$_ld_arch -li386 -lossaudio" + + _def_debug='#undef MP_DEBUG' + test "$_debug" && _def_debug='#define MP_DEBUG 1' diff --git a/graphics/gmplayer/patches/patch-ab b/graphics/gmplayer/patches/patch-ab new file mode 100644 index 00000000000..5476c0bf8b4 --- /dev/null +++ b/graphics/gmplayer/patches/patch-ab @@ -0,0 +1,21 @@ +$NetBSD: patch-ab,v 1.1.1.1 2002/04/21 08:07:50 rh Exp $ + +--- configure.orig Tue Dec 25 23:00:07 2001 ++++ configure Tue Dec 25 22:58:10 2001 +@@ -233,6 +233,7 @@ + ;; + --with-extralibdir=*) + _ld_extra=-L`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -L,g'` ++ _ld_extra="${_ld_extra} -Wl,-R"`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -L,g'` + ;; + esac + done +@@ -1986,7 +1986,7 @@ + + + echocheck "VCD support" +-if linux || bsdos || freebsd || sunos ; then ++if linux || bsdos || freebsd || netbsd || sunos ; then + _inputmodules="vcd $_inputmodules" + _def_vcd='#define HAVE_VCD 1' + echores "ok" diff --git a/graphics/gmplayer/patches/patch-ad b/graphics/gmplayer/patches/patch-ad new file mode 100644 index 00000000000..33406a95bda --- /dev/null +++ b/graphics/gmplayer/patches/patch-ad @@ -0,0 +1,16 @@ +$NetBSD: patch-ad,v 1.1.1.1 2002/04/21 08:07:50 rh Exp $ + +--- libao2/ao_oss.c.orig Sun Nov 25 14:23:25 2001 ++++ libao2/ao_oss.c Sun Nov 25 14:25:16 2001 +@@ -254,9 +254,11 @@ + static float get_delay(){ + /* Calculate how many bytes/second is sent out */ + if(audio_delay_method==2){ ++#ifdef SNDCTL_DSP_GETODELAY + int r=0; + if(ioctl(audio_fd, SNDCTL_DSP_GETODELAY, &r)!=-1) + return ((float)r)/(float)ao_data.bps; ++#endif + audio_delay_method=1; // fallback if not supported + } + if(audio_delay_method==1){ diff --git a/graphics/gmplayer/patches/patch-ae b/graphics/gmplayer/patches/patch-ae new file mode 100644 index 00000000000..6a8743ed82a --- /dev/null +++ b/graphics/gmplayer/patches/patch-ae @@ -0,0 +1,16 @@ +$NetBSD: patch-ae,v 1.1.1.1 2002/04/21 08:07:50 rh Exp $ + +--- libmpdemux/stream.c.orig Fri Sep 28 00:36:53 2001 ++++ libmpdemux/stream.c Mon Oct 1 22:56:02 2001 +@@ -19,7 +19,11 @@ + #ifdef __FreeBSD__ + #include "vcd_read_fbsd.h" + #else ++#ifdef __NetBSD__ ++#include "vcd_read_nbsd.h" ++#else + #include "vcd_read.h" ++#endif + #endif + + #endif diff --git a/graphics/gmplayer/patches/patch-ag b/graphics/gmplayer/patches/patch-ag new file mode 100644 index 00000000000..90764b7218c --- /dev/null +++ b/graphics/gmplayer/patches/patch-ag @@ -0,0 +1,13 @@ +$NetBSD: patch-ag,v 1.1.1.1 2002/04/21 08:07:50 rh Exp $ + +--- libao2/ao_oss.c.orig Wed Dec 26 02:32:52 2001 ++++ libao2/ao_oss.c Tue Dec 25 23:35:56 2001 +@@ -30,7 +30,7 @@ + + LIBAO_EXTERN(oss) + +-static char *dsp="/dev/dsp"; ++static char *dsp="/dev/sound"; + static audio_buf_info zz; + static int audio_fd=-1; + diff --git a/graphics/gmplayer/patches/patch-ah b/graphics/gmplayer/patches/patch-ah new file mode 100644 index 00000000000..a8875e000bc --- /dev/null +++ b/graphics/gmplayer/patches/patch-ah @@ -0,0 +1,13 @@ +$NetBSD: patch-ah,v 1.1.1.1 2002/04/21 08:07:50 rh Exp $ + +--- libmp1e/common/mmx.c.orig Wed Dec 5 02:56:43 2001 ++++ libmp1e/common/mmx.c Tue Dec 25 23:23:07 2001 +@@ -44,6 +44,8 @@ + * VIA has no similar document available as of Jan 2001. + */ + ++#define cpuid_t xcpuid_t ++ + typedef union { + unsigned char s[16]; + struct { |