pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/ocp Initial import of ocp-0.1.17 from pkgsrc-wip...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c5c8574d3658
branches:  trunk
changeset: 397610:c5c8574d3658
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Aug 16 15:52:10 2009 +0000

description:
Initial import of ocp-0.1.17 from pkgsrc-wip, packaged by shattered.

Open Cubic Player first appeared around December 1994 as a DOS
binary-only module player. It supported many soundcards and module
formats.

At some point, the source code was released to the public under the
terms of the GNU General Public License, and around 2003 Stian
Skjelstad ported the code to Linux.

In addition to legacy tracker formats such as mod, xm and s3m, Open
Cubic Player now also supports mp3, ogg and ay files and can be compiled
with libadplug support.

diffstat:

 audio/ocp/DESCR            |   11 ++++
 audio/ocp/Makefile         |   30 +++++++++++++
 audio/ocp/PLIST            |   73 +++++++++++++++++++++++++++++++
 audio/ocp/TODO             |    2 +
 audio/ocp/distinfo         |   11 ++++
 audio/ocp/log              |  103 +++++++++++++++++++++++++++++++++++++++++++++
 audio/ocp/patches/patch-aa |   13 +++++
 audio/ocp/patches/patch-ab |   12 +++++
 audio/ocp/patches/patch-ac |   13 +++++
 audio/ocp/patches/patch-ad |   13 +++++
 audio/ocp/patches/patch-ae |   13 +++++
 audio/ocp/patches/patch-af |   13 +++++
 12 files changed, 307 insertions(+), 0 deletions(-)

diffs (truncated from 355 to 300 lines):

diff -r 09b756914db8 -r c5c8574d3658 audio/ocp/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/ocp/DESCR   Sun Aug 16 15:52:10 2009 +0000
@@ -0,0 +1,11 @@
+Open Cubic Player first appeared around December 1994 as a DOS
+binary-only module player. It supported many soundcards and module
+formats.
+
+At some point, the source code was released to the public under the
+terms of the GNU General Public License, and around 2003 Stian
+Skjelstad ported the code to Linux.
+
+In addition to legacy tracker formats such as mod, xm and s3m, Open
+Cubic Player now also supports mp3, ogg and ay files and can be compiled
+with libadplug support.
diff -r 09b756914db8 -r c5c8574d3658 audio/ocp/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/ocp/Makefile        Sun Aug 16 15:52:10 2009 +0000
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/08/16 15:52:10 wiz Exp $
+
+DISTNAME=              ocp-0.1.17
+CATEGORIES=            audio
+MASTER_SITES=          http://stian.cubic.org/ocp/
+EXTRACT_SUFX=          .tar.lzma
+
+MAINTAINER=            shattered%users.sourceforge.net@localhost
+HOMEPAGE=              http://stian.cubic.org/project-ocp.php
+COMMENT=               Open Cubic Player
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+USE_PKGLOCALEDIR=      yes
+GNU_CONFIGURE=         yes
+USE_TOOLS+=            gmake makeinfo
+USE_LANGUAGES=         c c++
+USE_NCURSES=           yes     # resize_term
+INFO_FILES=            yes
+
+CONFIGURE_ARGS+=       --exec-prefix=${PREFIX}
+CONFIGURE_ARGS+=       --infodir=${PREFIX}/info
+
+.include "../../audio/libid3tag/buildlink3.mk"
+.include "../../audio/libmad/buildlink3.mk"
+.include "../../audio/libvorbis/buildlink3.mk"
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../multimedia/libogg/buildlink3.mk"
+.include "../../mk/oss.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 09b756914db8 -r c5c8574d3658 audio/ocp/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/ocp/PLIST   Sun Aug 16 15:52:10 2009 +0000
@@ -0,0 +1,73 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/08/16 15:52:10 wiz Exp $
+bin/ocp
+bin/${PKGNAME}
+info/ocp.info.gz
+lib/${PKGNAME}/autoload/10-compat.so
+lib/${PKGNAME}/autoload/10-devi.so
+lib/${PKGNAME}/autoload/10-hardware.so
+lib/${PKGNAME}/autoload/10-mchasm.so
+lib/${PKGNAME}/autoload/10-mixclip.so
+lib/${PKGNAME}/autoload/10-sets.so
+lib/${PKGNAME}/autoload/11-framelock.so
+lib/${PKGNAME}/autoload/12-poutput.so
+lib/${PKGNAME}/autoload/15-keyhelp.so
+lib/${PKGNAME}/autoload/20-cphelper.so
+lib/${PKGNAME}/autoload/25-pfilesel.so
+lib/${PKGNAME}/autoload/30-arctar.so
+lib/${PKGNAME}/autoload/30-arczip.so
+lib/${PKGNAME}/autoload/30-aytype.so
+lib/${PKGNAME}/autoload/30-fstypes.so
+lib/${PKGNAME}/autoload/30-mcpbase.so
+lib/${PKGNAME}/autoload/30-plrbase.so
+lib/${PKGNAME}/autoload/30-smpbase.so
+lib/${PKGNAME}/autoload/35-cpiface.so
+lib/${PKGNAME}/autoload/40-cphlpif.so
+lib/${PKGNAME}/devpdisk.so
+lib/${PKGNAME}/devpnone.so
+lib/${PKGNAME}/devposs.so
+lib/${PKGNAME}/devsnone.so
+lib/${PKGNAME}/devsoss.so
+lib/${PKGNAME}/devwmix.so
+lib/${PKGNAME}/devwmixf.so
+lib/${PKGNAME}/devwnone.so
+lib/${PKGNAME}/libocp.so
+lib/${PKGNAME}/load669.so
+lib/${PKGNAME}/loadams.so
+lib/${PKGNAME}/loaddmf.so
+lib/${PKGNAME}/loadmdl.so
+lib/${PKGNAME}/loadmtm.so
+lib/${PKGNAME}/loadokt.so
+lib/${PKGNAME}/loadptm.so
+lib/${PKGNAME}/loads3m.so
+lib/${PKGNAME}/loadult.so
+lib/${PKGNAME}/medialib.so
+lib/${PKGNAME}/playay.so
+lib/${PKGNAME}/playgmd.so
+lib/${PKGNAME}/playgmi.so
+lib/${PKGNAME}/playit.so
+lib/${PKGNAME}/playmp2.so
+lib/${PKGNAME}/playogg.so
+lib/${PKGNAME}/playwav.so
+lib/${PKGNAME}/playxm.so
+share/doc/${PKGNAME}/AUTHORS
+share/doc/${PKGNAME}/BUGS
+share/doc/${PKGNAME}/COPYING
+share/doc/${PKGNAME}/CREDITS
+share/doc/${PKGNAME}/KEYBOARD_REMAPS
+share/doc/${PKGNAME}/SUID
+share/doc/${PKGNAME}/TODO
+share/doc/${PKGNAME}/html/configuration.html
+share/doc/${PKGNAME}/html/faq.html
+share/doc/${PKGNAME}/html/fileselector.html
+share/doc/${PKGNAME}/html/index.html
+share/doc/${PKGNAME}/html/install.html
+share/doc/${PKGNAME}/html/mdz.html
+share/doc/${PKGNAME}/html/player.html
+share/doc/${PKGNAME}/html/plugin.html
+share/doc/${PKGNAME}/html/specialdrive.html
+share/doc/${PKGNAME}/html/starting.html
+share/doc/${PKGNAME}/html/support.html
+share/doc/${PKGNAME}/html/wap.html
+share/${PKGNAME}/data/ocp.hlp
+share/${PKGNAME}/etc/ocp.ini
+@pkgdir share/ocp/ultradir
diff -r 09b756914db8 -r c5c8574d3658 audio/ocp/TODO
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/ocp/TODO    Sun Aug 16 15:52:10 2009 +0000
@@ -0,0 +1,2 @@
+- In file selection mode, cursor background is not visible -- Konsole misfeature? works ok in xterm.
+- crashes in dlclose(), disabled it for now
diff -r 09b756914db8 -r c5c8574d3658 audio/ocp/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/ocp/distinfo        Sun Aug 16 15:52:10 2009 +0000
@@ -0,0 +1,11 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/08/16 15:52:10 wiz Exp $
+
+SHA1 (ocp-0.1.17.tar.lzma) = e501070a1331ecf1a5deed0c2b8235783376ec3d
+RMD160 (ocp-0.1.17.tar.lzma) = b247baf8859c1e3274488100c4af6928c36510ad
+Size (ocp-0.1.17.tar.lzma) = 562501 bytes
+SHA1 (patch-aa) = 5d098b551214eb5d557fee6218666237021a3b2c
+SHA1 (patch-ab) = 0514496cade761375371adc561257a1019a5fa1d
+SHA1 (patch-ac) = f28f3ebc5e3d61858f2f5bed79094fff57130da6
+SHA1 (patch-ad) = 1a3e3aa02eeae905faebac7fc7fc27eb93fa0e46
+SHA1 (patch-ae) = f68302eaedcb9841952f9b1670c5b0534f8fa63a
+SHA1 (patch-af) = d379ded1f683c8299293436a3f9f7c0d32b06ec4
diff -r 09b756914db8 -r c5c8574d3658 audio/ocp/log
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/ocp/log     Sun Aug 16 15:52:10 2009 +0000
@@ -0,0 +1,103 @@
+2008-01-20: */*: Removed some overhead in `struct modlist` and fixed sorting logic when adding a directory to the playlist, and added recursivity to the logic when deleting a directory from the 
playlist aswell.
+
+2008-01-29: */*: Removed the dependency on libid3tag (we only used one simple function from it)
+
+2008-02-01: boot/plinkman.c: missing closedir() fixed
+
+2008-02-02: playxm/xmlmxm.c: Added a length-check constraint, fixes crash when loading broken MXM files (however, they are played wrong then)
+
+2008-02-20: */*: Added KEY_CTRL_PGUP, KEY_CTRL_PGDN, KEY_CTRL_UP and KEY_CTRL_DOWN (not reachable from curses driver) and relevant code
+
+2008-03-20: filesel/pfilesel.c boot/psetting.c: Add support for @some.m3u support as stated on the help text.
+
+2008-03-30: ctrl+j and alt+enter was mapped to the same key id. Also added two missing key names in the keyhelp (alt+k window)
+
+2008-04-24: boot/* cpiface/cpikeyhelp.c stuff/*: Grey-out keys in the keyhelp that aren't available in the currently used consoledriver.
+
+2008-06-24: desktop/opencubicplayer.desktop.in: Changed encoding to UTF-8, thanks to Adam Sampson <ats%offog.org@localhost>
+
+2008-06-24: devp/devpalsa: Various updates: "default" mixer device, bugfix for the ALSA PulseAudio plugin, thanks to Chuck Anderson <cra%WPI.EDU@localhost>
+
+2008-06-24: *: Make MAD (mpeg) support optional, thanks to Chuck Anderson <cra%WPI.EDU@localhost>
+
+2008-06-24: configure.ac: exec_prefix should now expand to prefix unless specicied with --exec-prefix=
+
+2008-06-26: devw/dwmixa.c: Minor updates in the low-quality-mixer (both assembler and C versions)
+
+2008-06-29: Makefile.in ocp.spec: move documentation stuff into prefix/doc/ocp-version  instead of prefix/share/ocp-version, Chuck Anderson <cra%WPI.EDU@localhost>
+
+2008-06-29: Makefile.in: relative symlink on ocp-suffix instead of absolute, thanks to Chuck Anderson <cra%WPI.EDU@localhost>
+
+2008-06-29: doc/texi/Makefile doc/texi/ocp.texi.in: Add ocp to the global info directory, thanks to Chuck Anderson <cra%WPI.EDU@localhost>
+
+2008-08-03: playxm/xmplay: Fixed a crash bug when playing certain files.
+
+2008-11-06: */*: Various small array underflow/overflow warnings were fixed (non-fatal all of them)
+
+2008-11-06: ocp.ini.in: renamed [x11]:framebuffer to [x11]:autodetect and added [x11]:font
+
+2008-11-16: stuff/poutput-x11.c Redid resolution and fullscreen handling
+
+2008-11-16: configure.ac install-sh config.sub config.guess: Enabled cross-compiling (and added needed files from automake 1.10)
+
+2008-11-16: help/cphelper.c: KEY_UP was broken, and rendering errors on big-screens
+
+2008-11-16: cpiface/cpimvol.c: One of the volumebars were insymetrical.
+
+2008-11-17: *: use autoload feature in boot/plinkman.c; This makes it possible to have filesupport in different packages without regenerating ocp.ini
+
+2008-11-21: config.h.in playmp2/mpptype.c: Added debug-info and fixed a minor parsing bug (could cause random data at end of strings)
+
+2008-11-21: filesel/pfilsel.c: KEY_PPAGE/KEY_UP would cause wrap-around, now all UP/DOWN movements are boundary checked
+
+2008-11-21: pfilesel/modlist.c: playing the last song on a playlist would cause strange behaviour and random crashes
+
+2008-11-22: *: Add support for "previous" in playlist (see ALT-K for keys CTRL-J and CTRL-K). Keys make even more sense if you disable "remove from playlist" on ALT-C setup screen
+
+2008-11-25: Added fnmatch from gnulib, so that OS-X can compile without patches, and behave the same (other issues remain on OS-X however).
+
+2008-12-05: filesel/fsmain.c: increased the intelligence of esc-handling, fileselector interaction and broken files handling (several freeze conditions)
+
+2008-12-30: stuff/poutput-x11.c configure.ac: Add icons on x11 window (Adds libXpm dependency)
+
+2008-12-30: playxm/xmload.c: try to load even more module files correct
+
+2008-12-30: playit/itload.c: don't fail to load .it files without instruments
+
+2008-12-30: updated gnulib
+
+2008-12-31: cpiface/cpikube.c: Fixed some segfaults
+
+2008-12-31: VERSION 0.1.16
+
+2009-01-02: playgmd/gmdlokt.c: endian-issue made the file fail to load on little-endian (x86) hosts.
+
+2009-02-01: devp/devpcoreaudio.c: Re-arranged code a bit, made x11 support work-aswell (no idea why that bOrked before)
+
+2009-02-08: remove autoload away from ocp.ini (no need to have it there, since it will change for each version of OCP. OCP should know this statically, based on where it found libocp.so
+
+2009-02-08: boot/pmain.c: auto-update ocp.ini from earlier versions of ocp
+
+2009-02-09: filesel/pfilesel.c: playlist now cover entire screen when selected. Pressing INSERT while in playlist now also works as expected
+
+2009-02-11: binfile/*: removed support for ocp.pak. We only had one file left in it, and we don't bother if ocp spans of multiple files either any more (dlopen() is more easy to use when you don't 
use an archieve aswell)
+
+2009-02-13: design change: remove interface= and preprocess= away from dllinfo, and let plugins call apropriate register/unregister instead.
+
+2009-03-28: playopl/oplplay.cpp: big-endian hosts didn't play right.
+
+2009-04-24: boot/plinkman* cpiface/cpilink.c: Added backend support for static plugins, however it is not used yet
+
+2009-05-12: playgmi/gmiload.c: Fixed a small possible buffer overflow (readonly while parsing) that could lead to SEGFAULT on broken midi files. Also removed a optimization that were broken (only 
some gcc setups hit it in a wrong maner)
+
+2009-06-04: doc/texi/Makefile: Don't fail if install-info isn't available
+
+2009-06-04: dev/mix.c: typecast pointers via long int, and not just uint32_t when you want to do shifting on them (even though other arcs not using x86  assembler inlines doesn't use the variables, 
but we still want it beeing sane)
+
+2009-06-04: dev/player.*: Fixed issues regarding x86_64 (segfaulting). Mixing 64bit unsigned and 32bit signed variables doing simple + math can lead to undefined behaviour.
+
+2009-06-04: playflac/flacplay.c: wrong footprint on a callback (visible on 64bit hosts)
+
+2009-06-04: playit/itload.c playxm/xmload.c: (debug) printf format string warnings on 64 hosts fixed
+
+2009-06-15: boot/kickload.c playmp2/charset.c: getenv() pointers are safe to keep for long. Also added some more constraints (const, etc).
diff -r 09b756914db8 -r c5c8574d3658 audio/ocp/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/ocp/patches/patch-aa        Sun Aug 16 15:52:10 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/08/16 15:52:11 wiz Exp $
+
+--- configure.orig     2009-06-27 10:15:43.000000000 +0000
++++ configure
+@@ -7340,7 +7340,7 @@ test "x$exec_prefix" = xNONE && exec_pre
+ { $as_echo "$as_me:$LINENO: checking gcc version" >&5
+ $as_echo_n "checking gcc version... " >&6; }
+ cc_version=`( $CC -dumpversion ) 2>&1`
+-if test "$?" -gt 0 || test x$cc_version == x; then
++if test "$?" -gt 0 || test x$cc_version = x; then
+       { { $as_echo "$as_me:$LINENO: error: not found" >&5
+ $as_echo "$as_me: error: not found" >&2;}
+    { (exit 1); exit 1; }; }
diff -r 09b756914db8 -r c5c8574d3658 audio/ocp/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/ocp/patches/patch-ab        Sun Aug 16 15:52:10 2009 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1.1.1 2009/08/16 15:52:11 wiz Exp $
+
+--- Makefile.in.orig   2009-06-27 10:15:43.000000000 +0000
++++ Makefile.in
+@@ -50,7 +50,6 @@ endif
+       mkdir -p "$(DESTDIR)$(BINDIR)"
+       $(CP) ocp "$(DESTDIR)$(BINDIR)/ocp$(DIR_SUFFIX)"
+       if ! test -z $(DIR_SUFFIX); then ln -sf "ocp$(DIR_SUFFIX)" "$(DESTDIR)$(BINDIR)/ocp"; fi
+-      $(CP) ultrafix.sh "$(DESTDIR)$(BINDIR)/ultrafix.sh"
+       mkdir -p "$(DESTDIR)$(ULTRADIR)"
+       $(MAKE) -C doc DESTDIR="$(DESTDIR)" install TOPDIR="../$(TOPDIR)"
+ ifeq ($(HAVE_X11),1)
diff -r 09b756914db8 -r c5c8574d3658 audio/ocp/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/ocp/patches/patch-ac        Sun Aug 16 15:52:10 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2009/08/16 15:52:11 wiz Exp $
+
+--- devp/Makefile.orig 2008-01-14 18:48:59.000000000 +0000
++++ devp/Makefile
+@@ -21,7 +21,7 @@ devpnone$(LIB_SUFFIX): $(devpnone_so)
+ 
+ devposs_so=devposs.o
+ devposs$(LIB_SUFFIX):$(devposs_so)
+-      $(CC) $(SHARED_FLAGS) $(LDFLAGS) $(OSS_LIBS) -o $@ $^



Home | Main Index | Thread Index | Old Index