diff options
author | wiz <wiz@pkgsrc.org> | 2004-05-11 12:18:37 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2004-05-11 12:18:37 +0000 |
commit | 0393baf319a496d8462cd68afef3b87e4e501806 (patch) | |
tree | 45a3ee3cbea29bbf9d3d4fd8a3e50cca56a001d1 /audio/xamp/patches | |
parent | 9d3d976bc6a379dcd6d27c91153d5763af292f7a (diff) | |
download | pkgsrc-0393baf319a496d8462cd68afef3b87e4e501806.tar.gz |
Make build with gcc3. Make it use buildlink3. Closes PR 22281.
Diffstat (limited to 'audio/xamp/patches')
-rw-r--r-- | audio/xamp/patches/patch-ab | 90 | ||||
-rw-r--r-- | audio/xamp/patches/patch-ae | 4 | ||||
-rw-r--r-- | audio/xamp/patches/patch-ah | 9 | ||||
-rw-r--r-- | audio/xamp/patches/patch-ai | 31 | ||||
-rw-r--r-- | audio/xamp/patches/patch-al | 8 | ||||
-rw-r--r-- | audio/xamp/patches/patch-am | 8 | ||||
-rw-r--r-- | audio/xamp/patches/patch-as | 10 | ||||
-rw-r--r-- | audio/xamp/patches/patch-at | 21 | ||||
-rw-r--r-- | audio/xamp/patches/patch-au | 21 | ||||
-rw-r--r-- | audio/xamp/patches/patch-av | 13 | ||||
-rw-r--r-- | audio/xamp/patches/patch-aw | 13 | ||||
-rw-r--r-- | audio/xamp/patches/patch-ax | 270 | ||||
-rw-r--r-- | audio/xamp/patches/patch-ay | 284 |
13 files changed, 691 insertions, 91 deletions
diff --git a/audio/xamp/patches/patch-ab b/audio/xamp/patches/patch-ab index 150e047cb83..2b5760454ce 100644 --- a/audio/xamp/patches/patch-ab +++ b/audio/xamp/patches/patch-ab @@ -1,55 +1,37 @@ -$NetBSD: patch-ab,v 1.1.1.1 1999/09/17 00:48:27 hubertf Exp $ +$NetBSD: patch-ab,v 1.2 2004/05/11 12:18:37 wiz Exp $ -*** ../guicontrol.c~ Sat Aug 23 07:30:51 1997 ---- ../guicontrol.c Thu Mar 5 21:31:06 1998 -*************** -*** 312,317 **** ---- 312,325 ---- - if (quit_flag) - { - /* fprintf(stderr, "quit_flag is true\n"); */ -+ -+ if((flags = fcntl(STDOUT_FILENO, F_GETFL, 0)) < 0) -+ perror("fcntl"); -+ flags &= ~O_NONBLOCK; -+ -+ if(fcntl(STDOUT_FILENO, F_SETFL, flags) < 0) -+ perror("fcntl"); -+ - exit(0); - } - while(GUI_FD_TO_PLAY != -1) -*************** -*** 334,340 **** - - if((flags = fcntl(STDIN_FILENO, F_GETFL, 0)) < 0) - perror("fcntl"); -! flags ^= O_NONBLOCK; - - if(fcntl(STDIN_FILENO, F_SETFL, flags) < 0) - perror("fcntl"); ---- 342,348 ---- - - if((flags = fcntl(STDIN_FILENO, F_GETFL, 0)) < 0) - perror("fcntl"); -! flags &= ~O_NONBLOCK; - - if(fcntl(STDIN_FILENO, F_SETFL, flags) < 0) - perror("fcntl"); -*************** -*** 394,400 **** - /* Set stdin to blocking */ - if((flags = fcntl(STDIN_FILENO, F_GETFL, 0)) < 0) - perror("fcntl"); -! flags ^= O_NONBLOCK; - if(fcntl(STDIN_FILENO, F_SETFL, flags) < 0) - perror("fcntl"); - } ---- 402,408 ---- - /* Set stdin to blocking */ - if((flags = fcntl(STDIN_FILENO, F_GETFL, 0)) < 0) - perror("fcntl"); -! flags &= ~O_NONBLOCK; - if(fcntl(STDIN_FILENO, F_SETFL, flags) < 0) - perror("fcntl"); - } +--- ../guicontrol.c.orig 1998-02-20 20:44:16.000000000 +0100 ++++ ../guicontrol.c +@@ -312,6 +312,14 @@ void gui_control(void) + if (quit_flag) + { + /* fprintf(stderr, "quit_flag is true\n"); */ ++ ++ if((flags = fcntl(STDOUT_FILENO, F_GETFL, 0)) < 0) ++ perror("fcntl"); ++ flags &= ~O_NONBLOCK; ++ ++ if(fcntl(STDOUT_FILENO, F_SETFL, flags) < 0) ++ perror("fcntl"); ++ + exit(0); + } + while(GUI_FD_TO_PLAY != -1) +@@ -334,7 +342,7 @@ void gui_control(void) + + if((flags = fcntl(STDIN_FILENO, F_GETFL, 0)) < 0) + perror("fcntl"); +- flags ^= O_NONBLOCK; ++ flags &= ~O_NONBLOCK; + + if(fcntl(STDIN_FILENO, F_SETFL, flags) < 0) + perror("fcntl"); +@@ -395,7 +403,7 @@ int decodeMPEG_2(int inFilefd) + /* Set stdin to blocking */ + if((flags = fcntl(STDIN_FILENO, F_GETFL, 0)) < 0) + perror("fcntl"); +- flags ^= O_NONBLOCK; ++ flags &= ~O_NONBLOCK; + if(fcntl(STDIN_FILENO, F_SETFL, flags) < 0) + perror("fcntl"); + } diff --git a/audio/xamp/patches/patch-ae b/audio/xamp/patches/patch-ae index c06f39967db..233ffa4bd1d 100644 --- a/audio/xamp/patches/patch-ae +++ b/audio/xamp/patches/patch-ae @@ -1,4 +1,4 @@ -$NetBSD: patch-ae,v 1.5 2002/06/28 13:15:16 agc Exp $ +$NetBSD: patch-ae,v 1.6 2004/05/11 12:18:37 wiz Exp $ --- Makefile.in.orig Fri Jul 31 01:48:02 1998 +++ Makefile.in Mon Oct 16 16:22:20 2000 @@ -18,7 +18,7 @@ $NetBSD: patch-ae,v 1.5 2002/06/28 13:15:16 agc Exp $ id3.o id3Data.o QLayer.o mid3.o mid3Data.o pixmaps/pixmaps.o -LIBS = @QT_LDFLAGS@ -lm -lqt -+LIBS = @QT_LDFLAGS@ -lm -lqt -L${QT1DIR}/qt1/lib -Wl,-R${QT1DIR}/qt1/lib -L${X11BASE}/lib -Wl,-R${X11BASE}/lib -lX11 -lXext ++LIBS = @QT_LDFLAGS@ -lm -lqt -L${QT1DIR}/lib -Wl,-R${QT1DIR}/lib -L${X11BASE}/lib -Wl,-R${X11BASE}/lib -lX11 -lXext all: xamp diff --git a/audio/xamp/patches/patch-ah b/audio/xamp/patches/patch-ah index 977560b6115..256edeae599 100644 --- a/audio/xamp/patches/patch-ah +++ b/audio/xamp/patches/patch-ah @@ -1,17 +1,14 @@ -$NetBSD: patch-ah,v 1.4 2000/10/18 11:22:44 rh Exp $ +$NetBSD: patch-ah,v 1.5 2004/05/11 12:18:37 wiz Exp $ --- configure.in.orig Sun Oct 5 22:42:34 1997 +++ configure.in Mon Oct 16 21:08:33 2000 -@@ -71,6 +71,14 @@ +@@ -71,6 +71,11 @@ CFLAGS="-O6 -ffast-math -fomit-frame-pointer -DNO_BYTE_SWAPPING ${CFLAGS_ARCH}" ;; + NetBSD) + CC="gcc" -+ if test "$ARCH_TYPE" = "i386" ; then -+ CFLAGS_ARCH="-i586 -pipe" -+ fi -+ CFLAGS="-O6 -ffast-math -fomit-frame-pointer -DNO_BYTE_SWAPPING ${CFLAGS_ARCH}" ++ CFLAGS="${CFLAGS} -DNO_BYTE_SWAPPING" + ;; + SunOS) diff --git a/audio/xamp/patches/patch-ai b/audio/xamp/patches/patch-ai index f70ca157d4f..cebce55fcdc 100644 --- a/audio/xamp/patches/patch-ai +++ b/audio/xamp/patches/patch-ai @@ -1,8 +1,8 @@ -$NetBSD: patch-ai,v 1.4 2000/10/18 11:22:44 rh Exp $ +$NetBSD: patch-ai,v 1.5 2004/05/11 12:18:37 wiz Exp $ ---- configure.orig Sun Oct 26 22:55:34 1997 -+++ configure Mon Oct 16 21:09:00 2000 -@@ -970,7 +970,7 @@ +--- configure.orig 1997-10-26 15:55:34.000000000 +0100 ++++ configure +@@ -970,7 +970,7 @@ fi #try to guess qt locations qt_incdirs="/usr/lib/qt/include /usr/local/qt/include /usr/include/qt /usr/include /usr/X11R6/include/X11/qt /usr/X11R6/include/qt $x_includes $QTINC" @@ -11,18 +11,15 @@ $NetBSD: patch-ai,v 1.4 2000/10/18 11:22:44 rh Exp $ qt_incdir=NO for i in $qt_incdirs; -@@ -1710,6 +1710,14 @@ - fi - if test "$OS_TYPE" = "FreeBSD" ; then - OS_TYPE="BSD" -+ fi -+ CFLAGS="-O6 -ffast-math -fomit-frame-pointer -DNO_BYTE_SWAPPING ${CFLAGS_ARCH}" -+ ;; -+ -+ NetBSD) -+ CC="gcc" -+ if test "$ARCH_TYPE" = "i386" ; then -+ CFLAGS_ARCH="-i586 -pipe" - fi +@@ -1714,6 +1714,11 @@ case "$OS_TYPE" in CFLAGS="-O6 -ffast-math -fomit-frame-pointer -DNO_BYTE_SWAPPING ${CFLAGS_ARCH}" ;; + ++ NetBSD) ++ CC="gcc" ++ CFLAGS="${CFLAGS} -DNO_BYTE_SWAPPING" ++ ;; ++ + SunOS) + if test "$CC" = "gcc"; then + CFLAGS="-O6" diff --git a/audio/xamp/patches/patch-al b/audio/xamp/patches/patch-al index 3d6db2db242..fad8e834a22 100644 --- a/audio/xamp/patches/patch-al +++ b/audio/xamp/patches/patch-al @@ -1,17 +1,13 @@ -$NetBSD: patch-al,v 1.2 2000/10/18 11:22:44 rh Exp $ +$NetBSD: patch-al,v 1.3 2004/05/11 12:18:37 wiz Exp $ --- ../configure.in.orig Sat Aug 23 17:35:40 1997 +++ ../configure.in Mon Oct 16 21:12:37 2000 -@@ -73,6 +73,15 @@ +@@ -73,6 +73,11 @@ DEFINES="-DNO_BYTE_SWAPPING -DOS_$OS_TYPE -DARCH_$ARCH_TYPE" ;; + NetBSD) + CC="gcc" -+ if test "$ARCH_TYPE" = "i386" ; then -+ CFLAGS_ARCH="-i586 -pipe" -+ fi -+ CFLAGS="-O6 -ffast-math -fomit-frame-pointer ${CFLAGS_ARCH}" + DEFINES="-DNO_BYTE_SWAPPING -DOS_$OS_TYPE -DARCH_$ARCH_TYPE" + ;; + diff --git a/audio/xamp/patches/patch-am b/audio/xamp/patches/patch-am index 1d09640316d..e4b79b9a627 100644 --- a/audio/xamp/patches/patch-am +++ b/audio/xamp/patches/patch-am @@ -1,17 +1,13 @@ -$NetBSD: patch-am,v 1.2 2000/10/18 11:22:44 rh Exp $ +$NetBSD: patch-am,v 1.3 2004/05/11 12:18:37 wiz Exp $ --- ../configure.orig Sat Aug 23 17:11:24 1997 +++ ../configure Mon Oct 16 21:13:14 2000 -@@ -1413,6 +1413,15 @@ +@@ -1413,6 +1413,11 @@ DEFINES="-DNO_BYTE_SWAPPING -DOS_$OS_TYPE -DARCH_$ARCH_TYPE" ;; + NetBSD) + CC="gcc" -+ if test "$ARCH_TYPE" = "i386" ; then -+ CFLAGS_ARCH="-i586 -pipe" -+ fi -+ CFLAGS="-O6 -ffast-math -fomit-frame-pointer ${CFLAGS_ARCH}" + DEFINES="-DNO_BYTE_SWAPPING -DOS_$OS_TYPE -DARCH_$ARCH_TYPE" + ;; + diff --git a/audio/xamp/patches/patch-as b/audio/xamp/patches/patch-as new file mode 100644 index 00000000000..39e31314c40 --- /dev/null +++ b/audio/xamp/patches/patch-as @@ -0,0 +1,10 @@ +$NetBSD: patch-as,v 1.1 2004/05/11 12:18:37 wiz Exp $ + +--- main.cpp.orig 1997-12-14 21:35:38.000000000 +0100 ++++ main.cpp +@@ -1,4 +1,5 @@ + #include <qapp.h> ++#include <stdlib.h> + #include "QtAMP.h" + extern "C" { + #define AUDIO diff --git a/audio/xamp/patches/patch-at b/audio/xamp/patches/patch-at new file mode 100644 index 00000000000..e3621998f0e --- /dev/null +++ b/audio/xamp/patches/patch-at @@ -0,0 +1,21 @@ +$NetBSD: patch-at,v 1.1 2004/05/11 12:18:37 wiz Exp $ + +--- QScrLabel.cpp.orig 1998-02-10 22:04:28.000000000 +0100 ++++ QScrLabel.cpp +@@ -5,14 +5,14 @@ + #include "QScrLabel.h" + #include "id3.h" + +-QScrLabel::QScrLabel(QWidget* parent=0, const char* name=0, WFlags f=0) : QLabel(parent, name, f) { ++QScrLabel::QScrLabel(QWidget* parent, const char* name, WFlags f) : QLabel(parent, name, f) { + string = new QString; + timer = new QTimer(this); + connect(timer, SIGNAL(timeout()), this, SLOT(scroll())); + dir = 1; + } + +-QScrLabel::QScrLabel(const char* text, QWidget* parent=0, const char* name=0, WFlags f = 0) ++QScrLabel::QScrLabel(const char* text, QWidget* parent, const char* name, WFlags f) + { + QScrLabel(parent, name, f); + setLabel(text); diff --git a/audio/xamp/patches/patch-au b/audio/xamp/patches/patch-au new file mode 100644 index 00000000000..ce616a437c1 --- /dev/null +++ b/audio/xamp/patches/patch-au @@ -0,0 +1,21 @@ +$NetBSD: patch-au,v 1.1 2004/05/11 12:18:37 wiz Exp $ + +--- aboutData.cpp.orig 2004-05-11 13:53:23.000000000 +0200 ++++ aboutData.cpp +@@ -50,11 +50,11 @@ aboutData::aboutData + l = new QLabel( w ); + b->addWidget( l, 1, 0 ); + l->setAlignment( 268 ); +- l->setText( "You can get Xamp at http://elan.rulez.org/~xopy/ +-and from mirrors at +-http://xopy.rulz.org/linux/xamp/ - in Slovenia +-and http://edu.lahti.fi/xamp/ - in Finland\n +-QtAMP is at http://www.xs4all.nl/~lodewijk/qtamp.html\n ++ l->setText( "You can get Xamp at http://elan.rulez.org/~xopy/\n\ ++and from mirrors at\n\ ++http://xopy.rulz.org/linux/xamp/ - in Slovenia\n\ ++and http://edu.lahti.fi/xamp/ - in Finland\n\ ++QtAMP is at http://www.xs4all.nl/~lodewijk/qtamp.html\n\ + and amp at ftp://ftp.rasip.fer.hr/pub/mpeg/"); + + addTab( w, "Xamp" ); diff --git a/audio/xamp/patches/patch-av b/audio/xamp/patches/patch-av new file mode 100644 index 00000000000..5a76748cdd9 --- /dev/null +++ b/audio/xamp/patches/patch-av @@ -0,0 +1,13 @@ +$NetBSD: patch-av,v 1.1 2004/05/11 12:18:37 wiz Exp $ + +--- ../args.c.orig 1998-07-30 15:53:01.000000000 +0200 ++++ ../args.c +@@ -51,7 +51,7 @@ usage: amp [options] [ MPEG audio stream + (for use with xmpeg3 or similar GUIs)\n\ + -w wav output\n\ + -downmix downmix stereo streams to one channel\n\ +- -die play the playlist and quit\n ++ -die play the playlist and quit\n\ + -nobuffer do not use an audio buffer\n\ + -volume <vol> set the volume to <vol> (0-100)\n\ + -debug <opts..> When compiled in debug <opt, opt2,...> code sections\n\ diff --git a/audio/xamp/patches/patch-aw b/audio/xamp/patches/patch-aw new file mode 100644 index 00000000000..4710903f73b --- /dev/null +++ b/audio/xamp/patches/patch-aw @@ -0,0 +1,13 @@ +$NetBSD: patch-aw,v 1.1 2004/05/11 12:18:37 wiz Exp $ + +--- QMyListBox.cpp.orig 1997-08-30 18:08:16.000000000 +0200 ++++ QMyListBox.cpp +@@ -6,7 +6,7 @@ + */ + #include "QMyListBox.h" + +-QMyListBox::QMyListBox(QWidget *parent=0, const char *name=0, WFlags f=0) ++QMyListBox::QMyListBox(QWidget *parent, const char *name, WFlags f) + : QListBox(parent, name, f) { + } + diff --git a/audio/xamp/patches/patch-ax b/audio/xamp/patches/patch-ax new file mode 100644 index 00000000000..2730637e2bb --- /dev/null +++ b/audio/xamp/patches/patch-ax @@ -0,0 +1,270 @@ +$NetBSD: patch-ax,v 1.1 2004/05/11 12:18:37 wiz Exp $ + +--- readme.h.orig 1997-10-05 16:18:16.000000000 +0200 ++++ readme.h +@@ -1,133 +1,133 @@ +-#define strim " +-amp MPEG audio decoder readme file (version 0.7.6) +-(C) Tomislav Uzelac 1996,1997 +- +-amp is free software and can be _used_ freely by anyone. If you want to +-do anything else with it, be sure to check the Legal section of this +-document for legal issues. +- +-THERE IS NO WARRANTY FOR THIS PROGRAM. Please check out the Legal section +-of this document. +- +-1. Introduction +-2. Installation +-3. Running +-4. Feedback +-5. Contributing +-6. Legal +- +- +-1. Introduction +- +-amp (Audio Mpeg Player) is an MPEG audio decoder which I originally started +-putting together as a side project of the MPEG hardware design project at +-FER/Zagreb - just to confirm my knowledge of the standard. It works with +-both MPEG1 and MPEG2 audio streams (except for the multichannel extensions +-defined in MPEG2), layers 2 and 3. +- +-There is a gui for amp, written in Tcl/Tk by Edouard Lafargue. It is +-available at the amp home site ftp://ftp.rasip.fer.hr +- +-Another gui supported is the Sajber Jukebox, written by Joel Lindholm +-<wizball@kewl.campus.luth.se> +- +-The following people contributed their time and knowledge to amp: +-Karl Anders Oygard, Ilkka Karvinen, Lutz Vieweg, Dan Nelson, +-Edouard Lafargue, Andrew Richards, George Colouris, +-Dmitry Boldyrev, Andy Lo A Foe, Thomas Sailer +- +-amp home location is +- ftp://ftp.rasip.fer.hr/pub/mpeg/ +- +-and the mailing list: send 'HELP' in the body of the message to: +- multimedia@rasip.fer.hr +- +-If you want to find out more about MPEG, best places to start are +- http://www.mpeg.org +- http://www.mpeg2.de +- +- +-2. Installation +- +-Installation should be simple enough if amp was ported to your system, +-just do a +- +-./configure +-make +- +-You can edit the makefile further to suit your system. If configure fails +-to make a usable Makefile, you'll _have_ to edit it yourself. +- +-Linux users should try real-time playing support, as described +-in doc/realtime.txt. Some people that might pass on this feature are +-those with slower machines (i.e. 486's), or SMP systems (see the +-doc/linuxrealtime.txt file). +-Some versions of the linux C library produce an error when compiling +-amp with realtime support. A quick fix is to edit /usr/include/sched.h +-and replace _P in the offending line with __P. +- +-./configure --enable-realtime +-make +-chown root.root amp +-chmod u+s amp +- +- +-3. Running: +- +-'amp -h' gives you usage & options. If your computer is on the slower +-side, direct playback might not work, but you can decode it +-to .wav or raw pcm and play it later. +- +- +-4. Feedback +- +-Send in your makefiles, opinions, bugreports, fixes; anything related to this +-program. You can also send me unlimited amounts of money, sugar, milk, etc. +- +-If you find any mpeg audio files that amp has trouble decoding, please tell +-me about this via e-mail <tuzelac@rasip.fer.hr>. +- +- +-5. Contributing +- +-Please contribute to amp. If you want to know what is going on in amp +-development, you can join the developers mailing list +- +- mpeg_audio_developers@rasip.fer.hr +- +-There are certain debugging facilities that I made in amp, but are disabled +-in the current release (they are neither nice nor user-friendly). If anyone +-enhances them (they are in dump.c) to the point that they're actually +-usable I'll be happy to include the changes in the release. I think this +-kind of debug output would be very useful to people studying these audio +-algorithms. +- +- +-6. Legal +- +-This software can be used freely for any purpose. It can be distributed +-freely, as long as it is not sold commercially without permission from +-Tomislav Uzelac <tuzelac@rasip.fer.hr>. However, including this software +-on CD_ROMs containing other free software is explicitly permitted even +-when a modest distribution fee is charged for the CD, as long as this +-software is not a primary selling argument for the CD. +- +-Building derived versions of this software is permitted, as long as they +-are not sold commercially without permission from Tomislav Uzelac +-<tuzelac@rasip.fer.hr>. Any derived versions must be clearly marked as +-such, and must be called by a name other than amp. Any derived versions +-must retain this copyright notice. +- +-/* This license is itself copied from Tatu Ylonen's ssh package. It does +- * not mention being copyrighted itself :) +- */ +- +-THERE IS NO WARRANTY FOR THIS PROGRAM - whatsoever. You use it entirely +-at your risk, and neither Tomislav Uzelac, nor FER will be liable for +-any damages that might occur to your computer, software, etc. in +-consequence of you using this freeware program. +- +- +-Tomislav Uzelac +-<tuzelac@rasip.fer.hr> ++#define strim "\ ++amp MPEG audio decoder readme file (version 0.7.6)\n\ ++(C) Tomislav Uzelac 1996,1997\n\ ++\n\ ++amp is free software and can be _used_ freely by anyone. If you want to\n\ ++do anything else with it, be sure to check the Legal section of this\n\ ++document for legal issues.\n\ ++\n\ ++THERE IS NO WARRANTY FOR THIS PROGRAM. Please check out the Legal section\n\ ++of this document.\n\ ++\n\ ++1. Introduction\n\ ++2. Installation\n\ ++3. Running\n\ ++4. Feedback\n\ ++5. Contributing\n\ ++6. Legal\n\ ++\n\ ++\n\ ++1. Introduction\n\ ++\n\ ++amp (Audio Mpeg Player) is an MPEG audio decoder which I originally started \n\ ++putting together as a side project of the MPEG hardware design project at \n\ ++FER/Zagreb - just to confirm my knowledge of the standard. It works with\n\ ++both MPEG1 and MPEG2 audio streams (except for the multichannel extensions\n\ ++defined in MPEG2), layers 2 and 3. \n\ ++\n\ ++There is a gui for amp, written in Tcl/Tk by Edouard Lafargue. It is \n\ ++available at the amp home site ftp://ftp.rasip.fer.hr\n\ ++\n\ ++Another gui supported is the Sajber Jukebox, written by Joel Lindholm \n\ ++<wizball@kewl.campus.luth.se>\n\ ++\n\ ++The following people contributed their time and knowledge to amp:\n\ ++Karl Anders Oygard, Ilkka Karvinen, Lutz Vieweg, Dan Nelson,\n\ ++Edouard Lafargue, Andrew Richards, George Colouris,\n\ ++Dmitry Boldyrev, Andy Lo A Foe, Thomas Sailer\n\ ++\n\ ++amp home location is\n\ ++ ftp://ftp.rasip.fer.hr/pub/mpeg/\n\ ++\n\ ++and the mailing list: send 'HELP' in the body of the message to:\n\ ++ multimedia@rasip.fer.hr\n\ ++\n\ ++If you want to find out more about MPEG, best places to start are\n\ ++ http://www.mpeg.org\n\ ++ http://www.mpeg2.de \n\ ++\n\ ++\n\ ++2. Installation\n\ ++\n\ ++Installation should be simple enough if amp was ported to your system,\n\ ++just do a \n\ ++\n\ ++./configure\n\ ++make \n\ ++\n\ ++You can edit the makefile further to suit your system. If configure fails \n\ ++to make a usable Makefile, you'll _have_ to edit it yourself.\n\ ++\n\ ++Linux users should try real-time playing support, as described\n\ ++in doc/realtime.txt. Some people that might pass on this feature are\n\ ++those with slower machines (i.e. 486's), or SMP systems (see the\n\ ++doc/linuxrealtime.txt file). \n\ ++Some versions of the linux C library produce an error when compiling\n\ ++amp with realtime support. A quick fix is to edit /usr/include/sched.h\n\ ++and replace _P in the offending line with __P.\n\ ++\n\ ++./configure --enable-realtime\n\ ++make\n\ ++chown root.root amp\n\ ++chmod u+s amp\n\ ++\n\ ++\n\ ++3. Running:\n\ ++\n\ ++'amp -h' gives you usage & options. If your computer is on the slower\n\ ++side, direct playback might not work, but you can decode it\n\ ++to .wav or raw pcm and play it later.\n\ ++\n\ ++\n\ ++4. Feedback\n\ ++\n\ ++Send in your makefiles, opinions, bugreports, fixes; anything related to this\n\ ++program. You can also send me unlimited amounts of money, sugar, milk, etc.\n\ ++\n\ ++If you find any mpeg audio files that amp has trouble decoding, please tell\n\ ++me about this via e-mail <tuzelac@rasip.fer.hr>.\n\ ++\n\ ++\n\ ++5. Contributing\n\ ++\n\ ++Please contribute to amp. If you want to know what is going on in amp \n\ ++development, you can join the developers mailing list\n\ ++\n\ ++ mpeg_audio_developers@rasip.fer.hr\n\ ++\n\ ++There are certain debugging facilities that I made in amp, but are disabled\n\ ++in the current release (they are neither nice nor user-friendly). If anyone\n\ ++enhances them (they are in dump.c) to the point that they're actually\n\ ++usable I'll be happy to include the changes in the release. I think this\n\ ++kind of debug output would be very useful to people studying these audio\n\ ++algorithms.\n\ ++\n\ ++\n\ ++6. Legal\n\ ++\n\ ++This software can be used freely for any purpose. It can be distributed\n\ ++freely, as long as it is not sold commercially without permission from\n\ ++Tomislav Uzelac <tuzelac@rasip.fer.hr>. However, including this software\n\ ++on CD_ROMs containing other free software is explicitly permitted even \n\ ++when a modest distribution fee is charged for the CD, as long as this\n\ ++software is not a primary selling argument for the CD.\n\ ++\n\ ++Building derived versions of this software is permitted, as long as they\n\ ++are not sold commercially without permission from Tomislav Uzelac \n\ ++<tuzelac@rasip.fer.hr>. Any derived versions must be clearly marked as\n\ ++such, and must be called by a name other than amp. Any derived versions\n\ ++must retain this copyright notice.\n\ ++\n\ ++/* This license is itself copied from Tatu Ylonen's ssh package. It does \n\ ++ * not mention being copyrighted itself :)\n\ ++ */\n\ ++\n\ ++THERE IS NO WARRANTY FOR THIS PROGRAM - whatsoever. You use it entirely\n\ ++at your risk, and neither Tomislav Uzelac, nor FER will be liable for\n\ ++any damages that might occur to your computer, software, etc. in\n\ ++consequence of you using this freeware program.\n\ ++\n\ ++\n\ ++Tomislav Uzelac\n\ ++<tuzelac@rasip.fer.hr>\n\ + " diff --git a/audio/xamp/patches/patch-ay b/audio/xamp/patches/patch-ay new file mode 100644 index 00000000000..67c6eff7aae --- /dev/null +++ b/audio/xamp/patches/patch-ay @@ -0,0 +1,284 @@ +$NetBSD: patch-ay,v 1.1 2004/05/11 12:18:37 wiz Exp $ + +--- readmex.h.orig 1998-02-10 22:33:22.000000000 +0100 ++++ readmex.h +@@ -1,140 +1,140 @@ +-#define strimx " +-WHAT IS IT? +- +-Xamp is a version of amp plus a gui. Read the regular README on info about +-amp. It was developed on an cx86 running Linux, so it should be pretty +-portable. It doesn't take much cpu time; if your computer can run regular +-amp, it'll probably run Xamp. +- +-INSTALLING +- +-You'll need Qt (+include files), libX11 (+include files), a properly set up +-X server somewhere and a properly configured sound driver. +- +-$ tar xzvvf xamp-0.8.tgz +-# be carefull here. You need to enter the xamp-0.8/ directory again otherwise +-# you will get just the command line amp. +-$ cd xamp-0.8/xamp-0.8/ +-$ ./configure +- +-should take care of most configuration issues. I don't know autoconf very +-well, but I think what I added to amp's script works pretty well. Then just +-run make and you will get a binary called xamp. Just execute that and have +-fun with Xamp. +- +-DEBIAN USERS INSTALL (i386 only) +- +-You can get a deb packet insted of the source or binary to install on a +-debian linux system. The install from here it is really easy. All you need +-is that you have installed qt properly and then just as root type +- +-# dpkg -i xamp_0.8-1_i386.deb +- +-the filaname can be different, depends on the Xamp version. +- +-REDHAT USERS INSTALL (i386 only) +- +-There is a rpm of the package as well. For those with RedHat just get the +-xamp binary in the rpm format and execute as root +- +-# rpm -ivh xamp-0.8-1.i386.rpm +- +-the filaname can be different, depends on the Xamp version. +- +-RUNNING +- +-The program pretty much speaks for itself. There is a playlist from which +-the player plays. you can specify the initial list on the commandline (eg. +-$ xamp ~/mp3s/TypeO*mp3) or start empty. Click on the 'LOAD' button to get +-to the playlist editor. You can add new files, delete them and move items +-around by dragging. You can save the playlist to a flat textfile (one line +-per item) and you can load such files. Doubleclick on an item to make the +-player play that item. +- +-The main screen has regular previous, play/pause, stop and next +-buttons. there's also a shuffle and repeat togglebutton. You'll figure it out. +- +-There is an option added now that you can put a background in +-/usr/X11R6/lib/X11/xamp/ as a file back.bmp (i did tested it just with +-bitmaps, but it should work with pixmaps as well..). The one and only +-problem is that the filename must be in that exact path with name back.bmp +- +-SHORTCUTS +- +-In new versions of Xamp there are shortcuts for all the main functions that +-Xamp supports. +- +-Here are the shortcuts and the description for the command +- Z - Rewind +- X - Play/Pause +- C - Stop +- V - Fast forward +- N - Mono/Stero adjustments +- M - Mute +- S - Shuffle mode playing +- R - Repeat the song +- UpKey - Incrase volume +- DownKey - Decrase volume +- LeftKey - Balance to left +- RightKey - Balance to right +- A - About dialog +- ALT + Q - Quit +- +- Double click on the song label opens the id3 tag editor +- +-There are some in the playlist editor, but those shortcuts characters are +-underlined and you can connect with ALT+key. +- +-PROBLEMS +- +-if it dumps core, please send a patch or a detailed bugreport (don't attach +-the mp3!). this version seems pretty solid compared to the last, but I know +-I'm not a very good tester. +- +-xamp will refuse to play some weird (but compliant, according to the +-standard) mp3's, like ones that change bitrates halfway through or strange +-bitrates I couldn't reproduce here. the problem is that the function that +-gets called after you pull the slider needs to calculate where it should go +-in the mp3 stream. there are some magic values involved that calculation. I +-can't find out those values for weird bitrates I can't reproduce here, and I +-don't even want to think about the bitrate-switching streams. +- +-it was either keeping tabs on offsets while playing (slow & irritating, +-especially when seeking forward) or an ugly seeking function with a lot of +-magic values. the ugly function does seem to work for most cases, so I stuck +-with it. _if_ you should encounter an mp3 xamp won't play, email me. +-(andrej.bagon@uni-mb.si) +- +-BUGS +- +-I know about that quit bug. If somebody does solve that thing please +-just report to me how I should get rid of it.. Thanx. +-The playlist Length thing.. I dont know for now how to implement that length +-of the playlist, so I consider it a bug. +-Other bug reports are welcome! +-As a ID3 TAG editor was added.. you might encounter some problems.. not +-yet fully tested. +- +-TODO +- +- - stuff warnings (and errors?) into a messagebox +- - multiple selection in the playlist editor +- - some sort of bouncy fft or osciloscope graph. +- +-THANKS TO +- +- - Tomislav & the rest for making amp. +- - Adnans for BeMP, providing an idea on how to go about this. +- - Lodewijk Voge for his port in the Xwindow system. +- - the makers of the underlying system (dlgedit, Qt, etc down to the silicon) +- +-Legal addendum to the amp README: +- +-everything in this package that is not in the original amp package this +-version is based on, is released under the GNU General Public License. you +-make a derivative version -> you release the source, you mark your changes and +-you give credit where credit is due. clearly. +- +-Lodewijk V\"oge <lvoge@cs.vu.nl> and +-for Xamp Andrej Bagon <andrej.bagon@uni-mb.si> ++#define strimx "\ ++WHAT IS IT?\n\ ++\n\ ++Xamp is a version of amp plus a gui. Read the regular README on info about\n\ ++amp. It was developed on an cx86 running Linux, so it should be pretty\n\ ++portable. It doesn't take much cpu time; if your computer can run regular\n\ ++amp, it'll probably run Xamp.\n\ ++\n\ ++INSTALLING\n\ ++\n\ ++You'll need Qt (+include files), libX11 (+include files), a properly set up\n\ ++X server somewhere and a properly configured sound driver.\n\ ++\n\ ++$ tar xzvvf xamp-0.8.tgz\n\ ++# be carefull here. You need to enter the xamp-0.8/ directory again otherwise \n\ ++# you will get just the command line amp.\n\ ++$ cd xamp-0.8/xamp-0.8/\n\ ++$ ./configure\n\ ++\n\ ++should take care of most configuration issues. I don't know autoconf very\n\ ++well, but I think what I added to amp's script works pretty well. Then just\n\ ++run make and you will get a binary called xamp. Just execute that and have\n\ ++fun with Xamp.\n\ ++\n\ ++DEBIAN USERS INSTALL (i386 only)\n\ ++ \n\ ++You can get a deb packet insted of the source or binary to install on a\n\ ++debian linux system. The install from here it is really easy. All you need\n\ ++is that you have installed qt properly and then just as root type\n\ ++\n\ ++# dpkg -i xamp_0.8-1_i386.deb\n\ ++ \n\ ++the filaname can be different, depends on the Xamp version.\n\ ++ \n\ ++REDHAT USERS INSTALL (i386 only)\n\ ++ \n\ ++There is a rpm of the package as well. For those with RedHat just get the\n\ ++xamp binary in the rpm format and execute as root\n\ ++\n\ ++# rpm -ivh xamp-0.8-1.i386.rpm\n\ ++\n\ ++the filaname can be different, depends on the Xamp version.\n\ ++\n\ ++RUNNING\n\ ++\n\ ++The program pretty much speaks for itself. There is a playlist from which\n\ ++the player plays. you can specify the initial list on the commandline (eg.\n\ ++$ xamp ~/mp3s/TypeO*mp3) or start empty. Click on the 'LOAD' button to get\n\ ++to the playlist editor. You can add new files, delete them and move items\n\ ++around by dragging. You can save the playlist to a flat textfile (one line\n\ ++per item) and you can load such files. Doubleclick on an item to make the\n\ ++player play that item.\n\ ++\n\ ++The main screen has regular previous, play/pause, stop and next\n\ ++buttons. there's also a shuffle and repeat togglebutton. You'll figure it out.\n\ ++\n\ ++There is an option added now that you can put a background in\n\ ++/usr/X11R6/lib/X11/xamp/ as a file back.bmp (i did tested it just with\n\ ++bitmaps, but it should work with pixmaps as well..). The one and only\n\ ++problem is that the filename must be in that exact path with name back.bmp\n\ ++ \n\ ++SHORTCUTS\n\ ++ \n\ ++In new versions of Xamp there are shortcuts for all the main functions that\n\ ++Xamp supports.\n\ ++ \n\ ++Here are the shortcuts and the description for the command\n\ ++ Z - Rewind\n\ ++ X - Play/Pause\n\ ++ C - Stop\n\ ++ V - Fast forward\n\ ++ N - Mono/Stero adjustments\n\ ++ M - Mute\n\ ++ S - Shuffle mode playing\n\ ++ R - Repeat the song\n\ ++ UpKey - Incrase volume\n\ ++ DownKey - Decrase volume\n\ ++ LeftKey - Balance to left\n\ ++ RightKey - Balance to right\n\ ++ A - About dialog\n\ ++ ALT + Q - Quit\n\ ++\n\ ++ Double click on the song label opens the id3 tag editor\n\ ++ \n\ ++There are some in the playlist editor, but those shortcuts characters are\n\ ++underlined and you can connect with ALT+key.\n\ ++\n\ ++PROBLEMS\n\ ++\n\ ++if it dumps core, please send a patch or a detailed bugreport (don't attach\n\ ++the mp3!). this version seems pretty solid compared to the last, but I know\n\ ++I'm not a very good tester.\n\ ++\n\ ++xamp will refuse to play some weird (but compliant, according to the\n\ ++standard) mp3's, like ones that change bitrates halfway through or strange\n\ ++bitrates I couldn't reproduce here. the problem is that the function that\n\ ++gets called after you pull the slider needs to calculate where it should go\n\ ++in the mp3 stream. there are some magic values involved that calculation. I\n\ ++can't find out those values for weird bitrates I can't reproduce here, and I\n\ ++don't even want to think about the bitrate-switching streams.\n\ ++\n\ ++it was either keeping tabs on offsets while playing (slow & irritating,\n\ ++especially when seeking forward) or an ugly seeking function with a lot of\n\ ++magic values. the ugly function does seem to work for most cases, so I stuck\n\ ++with it. _if_ you should encounter an mp3 xamp won't play, email me.\n\ ++(andrej.bagon@uni-mb.si)\n\ ++\n\ ++BUGS\n\ ++\n\ ++I know about that quit bug. If somebody does solve that thing please\n\ ++just report to me how I should get rid of it.. Thanx.\n\ ++The playlist Length thing.. I dont know for now how to implement that length\n\ ++of the playlist, so I consider it a bug.\n\ ++Other bug reports are welcome!\n\ ++As a ID3 TAG editor was added.. you might encounter some problems.. not\n\ ++yet fully tested.\n\ ++ \n\ ++TODO\n\ ++\n\ ++ - stuff warnings (and errors?) into a messagebox\n\ ++ - multiple selection in the playlist editor\n\ ++ - some sort of bouncy fft or osciloscope graph.\n\ ++\n\ ++THANKS TO\n\ ++\n\ ++ - Tomislav & the rest for making amp.\n\ ++ - Adnans for BeMP, providing an idea on how to go about this.\n\ ++ - Lodewijk Voge for his port in the Xwindow system.\n\ ++ - the makers of the underlying system (dlgedit, Qt, etc down to the silicon)\n\ ++\n\ ++Legal addendum to the amp README:\n\ ++\n\ ++everything in this package that is not in the original amp package this\n\ ++version is based on, is released under the GNU General Public License. you\n\ ++make a derivative version -> you release the source, you mark your changes and\n\ ++you give credit where credit is due. clearly.\n\ ++\n\ ++Lodewijk V\"oge <lvoge@cs.vu.nl> and\n\ ++for Xamp Andrej Bagon <andrej.bagon@uni-mb.si>\n\ + " |