pkg://x11amp-0.9_alpha3-6.src.rpm:533013/x11amp-0.9-alpha3.tar.gz
info downloads
x11amp-0.9-alpha3/ 40775 4125 4125 0 6673024667 12665 5 ustar raster raster x11amp-0.9-alpha3/Makefile.in 100644 4125 4125 26010 6673024642 15035 0 ustar raster raster # Makefile.in generated automatically by automake 1.4 from Makefile.am
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
SHELL = @SHELL@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
sbindir = @sbindir@
libexecdir = @libexecdir@
datadir = @datadir@
sysconfdir = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir = @localstatedir@
libdir = @libdir@
infodir = @infodir@
mandir = @mandir@
includedir = @includedir@
oldincludedir = /usr/include
DESTDIR =
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = .
ACLOCAL = @ACLOCAL@
AUTOCONF = @AUTOCONF@
AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
transform = @program_transform_name@
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias = @host_alias@
host_triplet = @host@
ARCH_TYPE = @ARCH_TYPE@
AS = @AS@
CC = @CC@
DLLTOOL = @DLLTOOL@
EFFECT_PLUGIN_DIR = @EFFECT_PLUGIN_DIR@
GLIB_CFLAGS = @GLIB_CFLAGS@
GLIB_CONFIG = @GLIB_CONFIG@
GLIB_LIBS = @GLIB_LIBS@
GTK_CFLAGS = @GTK_CFLAGS@
GTK_CONFIG = @GTK_CONFIG@
GTK_LIBS = @GTK_LIBS@
INPUT_PLUGIN_DIR = @INPUT_PLUGIN_DIR@
LD = @LD@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
MAKEINFO = @MAKEINFO@
NM = @NM@
OUTPUT_PLUGIN_DIR = @OUTPUT_PLUGIN_DIR@
PACKAGE = @PACKAGE@
RANLIB = @RANLIB@
VERSION = @VERSION@
plugindir = @plugindir@
pluginsubs = @pluginsubs@
x11ampdir = @x11ampdir@
SUBDIRS = libx11amp x11amp Output Input Effect
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES =
DIST_COMMON = README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \
Makefile.am Makefile.in NEWS acconfig.h aclocal.m4 config.guess \
config.h.in config.sub configure configure.in install-sh ltconfig \
ltmain.sh missing mkinstalldirs
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = tar
GZIP_ENV = --best
all: all-redirect
.SUFFIXES:
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) \
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
$(ACLOCAL_M4): configure.in
cd $(srcdir) && $(ACLOCAL)
config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
$(SHELL) ./config.status --recheck
$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
cd $(srcdir) && $(AUTOCONF)
config.h: stamp-h
@if test ! -f $@; then \
rm -f stamp-h; \
$(MAKE) stamp-h; \
else :; fi
stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
cd $(top_builddir) \
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
$(SHELL) ./config.status
@echo timestamp > stamp-h 2> /dev/null
$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
@if test ! -f $@; then \
rm -f $(srcdir)/stamp-h.in; \
$(MAKE) $(srcdir)/stamp-h.in; \
else :; fi
$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
cd $(top_srcdir) && $(AUTOHEADER)
@echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
mostlyclean-hdr:
clean-hdr:
distclean-hdr:
-rm -f config.h
maintainer-clean-hdr:
# This directory's subdirectories are mostly independent; you can cd
# into them and run `make' without going through this Makefile.
# To change the values of `make' variables: instead of editing Makefiles,
# (1) if the variable is set in `config.status', edit `config.status'
# (which will cause the Makefiles to be regenerated when you run `make');
# (2) otherwise, pass the desired values on the `make' command line.
@SET_MAKE@
all-recursive install-data-recursive install-exec-recursive \
installdirs-recursive install-recursive uninstall-recursive \
check-recursive installcheck-recursive info-recursive dvi-recursive:
@set fnord $(MAKEFLAGS); amf=$$2; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
list='$(SUBDIRS)'; for subdir in $$list; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
dot_seen=yes; \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done; \
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
mostlyclean-recursive clean-recursive distclean-recursive \
maintainer-clean-recursive:
@set fnord $(MAKEFLAGS); amf=$$2; \
dot_seen=no; \
rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
rev="$$subdir $$rev"; \
test "$$subdir" = "." && dot_seen=yes; \
done; \
test "$$dot_seen" = "no" && rev=". $$rev"; \
target=`echo $@ | sed s/-recursive//`; \
for subdir in $$rev; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done && test -z "$$fail"
tags-recursive:
list='$(SUBDIRS)'; for subdir in $$list; do \
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
done
tags: TAGS
ID: $(HEADERS) $(SOURCES) $(LISP)
list='$(SOURCES) $(HEADERS)'; \
unique=`for i in $$list; do echo $$i; done | \
awk ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
here=`pwd` && cd $(srcdir) \
&& mkid -f$$here/ID $$unique $(LISP)
TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
tags=; \
here=`pwd`; \
list='$(SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
fi; \
done; \
list='$(SOURCES) $(HEADERS)'; \
unique=`for i in $$list; do echo $$i; done | \
awk ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
mostlyclean-tags:
clean-tags:
distclean-tags:
-rm -f TAGS ID
maintainer-clean-tags:
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
# This target untars the dist file and tries a VPATH configuration. Then
# it guarantees that the distribution is self-contained by making another
# tarfile.
distcheck: dist
-rm -rf $(distdir)
GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
mkdir $(distdir)/=build
mkdir $(distdir)/=inst
dc_install_base=`cd $(distdir)/=inst && pwd`; \
cd $(distdir)/=build \
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
&& $(MAKE) $(AM_MAKEFLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
&& $(MAKE) $(AM_MAKEFLAGS) check \
&& $(MAKE) $(AM_MAKEFLAGS) install \
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
&& $(MAKE) $(AM_MAKEFLAGS) dist
-rm -rf $(distdir)
@banner="$(distdir).tar.gz is ready for distribution"; \
dashes=`echo "$$banner" | sed s/./=/g`; \
echo "$$dashes"; \
echo "$$banner"; \
echo "$$dashes"
dist: distdir
-chmod -R a+r $(distdir)
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
-rm -rf $(distdir)
dist-all: distdir
-chmod -R a+r $(distdir)
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
-rm -rf $(distdir)
distdir: $(DISTFILES)
-rm -rf $(distdir)
mkdir $(distdir)
-chmod 777 $(distdir)
@for file in $(DISTFILES); do \
d=$(srcdir); \
if test -d $$d/$$file; then \
cp -pr $$/$$file $(distdir)/$$file; \
else \
test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|| cp -p $$d/$$file $(distdir)/$$file || :; \
fi; \
done
for subdir in $(SUBDIRS); do \
if test "$$subdir" = .; then :; else \
test -d $(distdir)/$$subdir \
|| mkdir $(distdir)/$$subdir \
|| exit 1; \
chmod 777 $(distdir)/$$subdir; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
|| exit 1; \
fi; \
done
info-am:
info: info-recursive
dvi-am:
dvi: dvi-recursive
check-am: all-am
check: check-recursive
installcheck-am:
installcheck: installcheck-recursive
all-recursive-am: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
install-exec-am:
install-exec: install-exec-recursive
install-data-am:
install-data: install-data-recursive
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-recursive
uninstall-am:
uninstall: uninstall-recursive
all-am: Makefile config.h
all-redirect: all-recursive-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs: installdirs-recursive
installdirs-am:
mostlyclean-generic:
clean-generic:
distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES)
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
maintainer-clean-generic:
mostlyclean-am: mostlyclean-hdr mostlyclean-tags mostlyclean-generic
mostlyclean: mostlyclean-recursive
clean-am: clean-hdr clean-tags clean-generic mostlyclean-am
clean: clean-recursive
distclean-am: distclean-hdr distclean-tags distclean-generic clean-am
-rm -f libtool
distclean: distclean-recursive
-rm -f config.status
maintainer-clean-am: maintainer-clean-hdr maintainer-clean-tags \
maintainer-clean-generic distclean-am
@echo "This command is intended for maintainers to use;"
@echo "it deletes files that may require special tools to rebuild."
maintainer-clean: maintainer-clean-recursive
-rm -f config.status
.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
install-data-recursive uninstall-data-recursive install-exec-recursive \
uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
all-recursive check-recursive installcheck-recursive info-recursive \
dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \
install-exec-am install-exec install-data-am install-data install-am \
install uninstall-am uninstall all-redirect all-am all installdirs-am \
installdirs mostlyclean-generic distclean-generic clean-generic \
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
x11amp-0.9-alpha3/README 100664 4125 4125 26667 6671773465 13710 0 ustar raster raster X11AMP for Linux
(c)1998
Mikael Alm
Thomas Nilsson
Olle Hallnas
TABLE OF CONTENTS
*****************
1. Disclaimer
2. Installation
2.1 Basic Installation
2.2 Borderless Installation
2.3 Skin Installation
3. Documentation
3.1 Console Overview
3.2 Playlist Editor
3.3 Equalizer
4. Command Line Options
5. Features
5.1 Supported Features
5.2 Yet To Do
6. Obtaining X11AMP
7. Misc
7.1 Shoutcast support
7.2 Tips and tricks
8. Bugs
9. Contact Emails
1. Disclaimer
-------------
This version is considered an -BETA- release. This means it may not be
stable. You have been warned. We are not liable for any damage caused by
the use of this program.
x11amp is NOT a port of windows95's winamp. We just borrowed the GUI! :)
2. Installation
---------------
These libraries are needed to compile x11amp!!
gtk/glib 1.1.12 or better.
get it here: ftp://ftp.gtk.org/pub/gtk/v1.1/
For you libc5 users you'll need these extra things.
gnu gettext 0.10 (use configure --with-gnu-gettext)
get it here: ftp://prep.ai.mit.edu/pub/gnu/gettext/gettext-0.10.tar.gz
linuxthreads 0.71
get it here: http://www.x11amp.bz.nu/files/linuxthreads.tar.gz
Thread safe Xlibs! dunno where to find them or if this work.. drop me
an email about it.. Crocodile@x11amp.bz.nu
2.1 Basic Installation
----------------------
cd x11ampsource
./configure
make
make install
This will put the binary in /usr/local/bin and in/outplugins in
/usr/local/share/x11amp/
x11amp will hopefully load *grin*
2.2 Borderless Installation
---------------------------
As far as I know most WM's accepts GTK decoration hints so it will not have borders.
But some WM's can't handle this so you have to set in manually.
do this for x11amp just add this:
Afterstep 1.0 ~/.steprc
Style "x11amp" Icon x11amp.xpm, NoTitle, NoHandles
Afterstep 1.4 ~/GNUstep/Library/AfterStep/database
Style "x11amp" Icon x11amp.xpm, NoTitle, NoHandles
Fvwm's ~/.fvwm95rc
Style "x11amp" NoTitle
The poblem here is that all GTK windows will also be borderless :(
2.3 Skin Installation
---------------------
x11amp will create a drawer called ~/.x11amp/Skins/ in which you
just unarchive the skins the same way as you do for winamp.
Or don't unarchive them, x11amp supports zipped skins..
just copy the skin.zip to a Skin path and boom of you go!
note: you will need unzip ftp://sunsite.unc.edu/pub/Linux/utils/compress/unzip-5.31.tar.gz
to get this to work! If you don't keep unzip in your path then you can set a
variable called UNZIPCMD to the tight path.
Use ALT+S when using x11amp to bring up the skin selector. X11Amp
will remeber which skin you had loaded when you start X11Amp the
next time. (saved in ~/.x11amp/config)
You can also have global skins in /usr/local/share/x11amp/Skins or
/usr/share/x11amp/Skins if you are not happy with this just set the
SKINSDIR variable to another location of your choice eg.
for bash:
export SKINSDIR=/path/to/Skins:/more/paths/to/other/locations/of/Skins
for csh:
setenv SKINSDIR=/path/to/Skins:/more/paths/to/other/locations/of/Skins
good idea here is SKINSDIR=/dos/programs/winamp/skins if you have windows
and winamp with skins installed :)
3. Documentation
----------------
This file or http://www.x11amp.bz.nu/doc.html
3.1 Console Overview
--------------------
When you start up X11Amp, you will get a console very similar to that of
WinAMP.
- On the top is the window title bar. To the right you will see 3 buttons,
Left button will minimize X11Amp.
Middle button will make X11Amp only display the title bar.
Right button will end the X11Amp session.
- There is a window in the upper left that shows the following:
- Play state: Paused, Stopped, or Playing
- Time elapsed in the current song or if you click on it, the reversed.
- Spectrum analyzer of the sound being played. Right mouse click will bring up
the Visualization menu. Left mousebutton will change the analyzer to an
oscilliscop and/or none.
- To the Right of the Spectrum analyzer is the title of the mp3 being played.
This also contains the length of the song being played, as well as it's
position in the [unsorted] playlist. Right clicking in this window will
bring up a new meny with some more options that are self explaining.
- In the left part of the Spectrum analyzer you'll have letters (atleast if you use the
default skin) O A I D V left mouse clicking on these will open up menus or preform
actions. I will describe them here:
O : Options menu
A : Always on top
I : File info box <--- screenshots
D : Doublesize mode
V : Visualization menu
- Underneath the track title are the following static informational data:
- MP3 bitrate in KBps (usually 128 or 112)
- Sample Rate in KHz (usually 44)
- Stereo or Mono channel mixing
- Underneath the informational data are a few controls you can play with:
- The first slider controls the volume
- The second slider controls the balance between speakers
- The button marked "EQ" loads up the graphic Equalizer described later
in more detail
- The button marked "PL" loads up the playlist editor described later in
more detail
- The LARGE slidebar moves from left to right as the song plays. You can
drag this to jump to another location in the current mp3 file.
- On the bottom of the console are the standard buttons you'd see on a CD
player: Back 1 track, Play, Pause, Stop, Forward 1 track, and eject.
- The eject button doesn't REALLY eject, of course. :) It opens up the
file requester. The File Requester builds a playlist for the current
X11Amp session. You can use it to load files, add files to the list, or
load all mp3s in a directory.
- The shuffle button does just that; it randomizes the sequence of the
playlist.
- By hitting the key combination alt+s you'll bring the skin selector up and
can choose a skin to use, choosing the (none) skin will make x11amp use the
built in skin.
- You also have key control.. these are:
z = last song
x = play
c = pause
v = stop
b = next song
n = eject
*NOTE* key controls don't work yet
3.2 Playlist editor
-------------------
To access the Playlist editor, select the button labeled "PL" on the right
side of the X11Amp console.
This will bring up the actual playlist window, here you'll fins 5 buttons.
All of these buttons can be held down to bring up an extra menu.
From left to right:
file + : will add a file to current playlist, held down mode you'll have 2 extra options
url : will let you add an url for streaming
dir : will let you pick a directory (recursive)
file - : will delete the highlighted file, held down mode you'll have 3 more options
misc : *** NOT FUNCTIONAL ***
all : delete all files in the list
crop : delete all files exept the highlighted in the list
sel all : select all files in current playlist, held down mode you'll have 2 extra options
inv sel : ivert you selection
sel zero : select none
misc opts : held down you'll have 2 extra options
sort : release button on this will bring up another menu with sort options
fileinfo : as it say, fileinfo :P
load list : will let you pick a playlist to load, held down you'll have 2 extra options
new : will empty the playlist and let you create a new playlist
save : will let you save your playlist
Just like in windows, if you want to select/deselect files in the
filrequester/playlisteditor use CTRL for files and SHIFT key for blocks of
files.
You can also specify files in the command line e.g
./x11amp file1.mp3 file2.mp3 file3.mp3 or wildcard ./x11amp *.mp3
or ./x11amp playlist.m3u Just add the prefix .m3u to your existing playlists
and x11amp will load them from command line as a parameter!
If you do this while X11Amp is running, it will remove the current selection
of mp3 files and play the one(s) from the command line. This is useful if
you are using Midnight Commander like I do :) altho if you use x11amp with -e option
it will not clear the playlist just add that song to the existing playlist!
3.3. Equalizer
--------------
To access the Equalizer, select the button labeled "EQ" on the right
side of the X11Amp console.
That will bring up the Equalizer window. it looks like an equlizer on a stereo and
behaves like one as well. Press the button labeld ON to enable the use of the
equalizer, once you turned it on you use it as a normal equalizer. EQ presets will
be saved in ~/.x11amp/config when you close x11amp.
4. Command Line Options
-----------------------
x11amp --help will produce:
Usage: x11amp [options] [files] ...
Options:
--------
-h, --help Display this text and exit.
-n, --session Select X11Amp session (Default: 0)
-r, --rew Skip backwards in playlist
-p, --play Start playing current playlist
-u, --pause Pause current song
-s, --stop Stop current song
-f, --fwd Skip forward in playlist
-e, --enqueue Don't clear the playlist
-v, --version Print version number and exit.
5. Features
-----------
5.1 Supported Features
----------------------
Seeking in files
Volume/Balance
Shuffle play
Repeat play
Timer Elapsed/Timer Remaining
Plug-in system
Double Size option
GTK Requesters (with themesupport)
Autoremove borders if the WM has support for it
Wildcard select from commandline
Playlist editor
Equalizer
Spectrum Analyzer
Oscilliscope
Skins (The same skins as winamp)
Streaming (shoutcast)
5.2 Yet To Do
-------------
Wharf (afterstep) version!
YOU tell us
6. Obtaining X11Amp
-------------------
How do I get it?
Get the latest version from the web http://www.x11amp.bz.nu or FTP
ftp://ftp.x11amp.org/x11amp/
Want some skins made by linux users? goto http://www.x11amp.bz.nu/skins.html
7. Misc
-------
7.1. Shoutcast support
---------------------
To make netscape use x11amp on http://www.shoutcast.com you just have to load up
netscape and choose view/preferences/Navigator/applications add a new handler
set mimetype: audio/x-scpls
set application: x11amp %s
hit the OK button and off you go!
7.2. Tips and Tricks
-------------------
X11Amp features some command line options like next/prevoius songs, those
things can be binded to a key. I use Afterstep and the useless window keys
for this. Here is an exampel from my .steprc:
Key Meta_R A N Exec "x11amp" x11amp -r
Key Menu A N Exec "x11amp" x11amp -f
If you want all your mp3's in one playlist an easy way is:
locate .mp3 > /path/to/playlistname
( considering you have a fairly recent updatedb, dont blame us if
locate dont finds the file you downloaded 3 minutes ago :P )
I like to have my playlists in a special path (in my case /usr/local/share/x11amp/playlists/)
and I really hate browsing to that dir with the playlistbrowser so I start x11amp like this.
make a bash script file looking like this:
--------------------------------------
#!/bin/sh
cd /usr/local/share/x11amp/playlists/
if [ "" = "$1" ]; then
/usr/local/bin/x11amp
else
/usr/local/bin/x11amp "$1"
fi
--------------------------------------
now you can keep all you playlists in /usr/local/share/x11amp/playlists/ if you like :P
8. Bugs
-------
Bugs are usual.. else something is wrong and you better report it as a bug!
9. Contact Emails
-----------------
Programming Mikael Alm (psy@x11amp.bz.nu)
Graphics Thomas Nilsson (fatal@x11amp.bz.nu)
Everything else Olle Hallnas (crocodile@x11amp.bz.nu)
x11amp-0.9-alpha3/stamp-h.in 100664 4125 4125 12 6672531576 14615 0 ustar raster raster timestamp
x11amp-0.9-alpha3/AUTHORS 100664 4125 4125 144 6671773465 14016 0 ustar raster raster x11amp - graphically mp3 player.
Copyright (C) 1998-1999
Mikael Alm
Olle Hallnas
Thomas Nilsson
x11amp-0.9-alpha3/COPYING 100664 4125 4125 43105 6671773465 14045 0 ustar raster raster GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) 19yy <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) 19yy name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.
x11amp-0.9-alpha3/ChangeLog 100664 4125 4125 107074 6671773465 14612 0 ustar raster raster Tue Mar 11 17:29:18 CET 1999 Olle hällnäs <Crocodile@x11amp.org>
* configure.in: version check for ESD 0.2.8 or better else
the esd plugin will not be built!
* Output/esd/Makefile.am: @ESD_CFLAGS@ and @ESD_LIBS@ added for people
that don't have esd on the default location :)
Thu Mar 11 01:11:13 CET 1999 Jörg Schuler <Jorg.Schuler@gmx.de>
* x11amp/Input/mpg123/common.c: Fixed a bug that caused mpg123 to
crash x11amp on small files (0 Bytes and such...) after having
played at least one "normal" file.
Ons Mar 10 21:00:44 CET 1999 Håvard Kvålen <havardk@sol.no>
* x11amp/skin.c: Fixed a bug that caused visualization-colors to
be black if viscolor.txt did not have all entries, but empty lines
at the end.
* x11amp/playlist.c, x11amp/main.c: Implemented "Load on demand".
* x11amp/prefswin.c (prefswin_apply_changes): Removed some code
that loaded titles if cfg.get_info_on_load was enabled. This will be
done in the background anyway.
Tue Mar 9 21:43:01 CET 1999 Olle hällnäs <Crocodile@x11amp.org>
* ltconfig/ltmain.sh: libtool 1.2e should be better now linking libs.
* Output/esd: new dir with a good esd output plugin tested with esd 0.2.8.
* configure.in: added check if esd plugin should be built or not.
* Output/Makefile.am: added esd dir.
Tue Mar 9 12:02:00 GMT 1999 Sean Atkinson <sca20@cam.ac.uk>
* Input/mpg123/configure.c: no warnings from "gcc -Wall".
* Input/mpg123/configure.c (configure): Added id3_format to config
file in section MPG123 section (defaults to "%1 - %2" : Title -
Artist). Also new frame in MPG123 preferences window to edit ID3v1
formatting string.
* Input/mpg123/mpg123.h: Added id3_format to MPG123Config.
* Input/mpg123/mpg123.c: no warnings from "gcc -Wall".
* Input/mpg123/mpg123.c (init): Reads id3_format from config file.
* Input/mpg123/mpg123.c (get_id3_genre): New. Recognises all 148
ID3v1 genres.
* Input/mpg123/mpg123.c (strip_spaces): New. Removes trailing spaces
from ID3v1 strings fields.
* Input/mpg123/mpg123.c (extname): New. Gets file's extension.
* Input/mpg123/mpg123.c (eval_id3_format): New. Builds a new string
based on id3_format string, available. Format specified by
id3_format_codes.
* Input/mpg123/mpg123.c (get_song_title): re-written to use
eval_id3_format, or return base of filename if no ID3 data available.
* x11amp/prefswin.[ch] (get_basename): Removed - equivalent to
g_strdup(g_basename(filename)).
* x11amp/prefswin.c (gen_module_description): Uses g_basename.
* x11amp/main.c (save_config): ditto.
* x11amp/pluginenum.c (init_plugins): ditto.
Mon Mar 8 23:01:21 CET 1999 Olle hällnäs <Crocodile@x11amp.org>
* x11amp/Input/mikmod/Makefile.am: added mikmod.xpm so
autogen.sh;make dist-all will work fine. thx to Ryan
Mon Mar 8 18:27:15 CET 1999 Derrik Pates <dpates@dsdk12.net>
* x11amp/playlist.[ch]: Added insertion versions
of playlist_add, playlist_add_dir and playlist_add_url calls,
as well as the playlist_load call, and made the originals wrappers
to the new versions. Also added code in the playlist_ins_url call
to handle directories and playlists not passed with a 'file:'
prefix in their name.
* x11amp/playlistwin.c: Added code in the drop callback so that
when a file or file group is dropped into the playlist window, if
it's dropped in the list itself on an existing entry, the items
will get inserted at the location they were dropped on.
Sat Mar 6 05:07:33 CET 1999 Håvard Kvålen <havardk@sol.no>
* x11amp/equalizer.c (equalizerwin_release): Ungrab pointer before
we call button callbacks. Fixes some problems with the
presets-menu.
* x11amp/main.c: Made the keypresses in the main-menu and in the
option-menu global.
Thu Mar 4 15:48:50 CET 1999 Derrik Pates <dpates@dsdk12.net>
* Input/mpg123/mpg123.c: Added code to handle where I moved the
open code for the MP3 stream to a subordinate function, so if the
stream can't be opened, it won't kill x11amp.
Thu Mar 4 07:17:09 CET 1999 Derrik Pates <dpates@dsdk12.net>
* x11amp/main.c: Added a couple lines in mainwin_jump_to_file()
so that if the playlist is empty, it won't segfault x11amp, it'll
just return without doing anything.
Thu Mar 4 04:45:58 CET 1999 Derrik Pates <dpates@dsdk12.net>
* Effect/test/test.c, Effect/voice/voice.c: Removed #include
statements for identifier.h. They were preventing a complete
build.
Wed Mar 3 20:17:23 CET 1999 Mikael Alm <psy@x11amp.org>
* libx11amp/Makefile.am
libx11amp/identifier.[ch]: Removed obsolete filetype recognition files.
* Input/wav/wav.c: implementing the revised filetype recognition scheme.
Wed Mar 3 16:54:16 CET 1999 Derrik Pates <dpates@dsdk12.net>
* Input/mpg123/mpg123.c: Moved the code to open the MPEG stream
out of the player thread and into an independent function, and if
the filename starts with http:// then call it in the thread,
otherwise call it before the thread is created.
* x11amp/playlist.c: Added a couple lines in
playlist_get_info_iteration so that when the info is read on the
currently selected file, mainwin_set_info_text() gets called to
set the into in the text bar.
Wed Mar 3 15:55:13 CET 1999 Derrik Pates <dpates@dsdk12.net>
* autogen.sh: Applied a patch submitted to me to pass any flags
in the ACLOCAL_FLAGS environment variable on to aclocal when it's
called.
Wed Mar 3 01:12:41 CET 1999 Jörg Schuler <Jorg.Schuler@gmx.de>
* Input/mpg123/mpg123.c: implementing the revised filetype
recognition scheme.
* x11amp/playlistwin.c: when loading a playlist, the files
were not displayed. Added playlistwin_update_list() to
playlistwin_load_filesel_ok()
Tue Mar 2 20:57:42 CET 1999 Derrik Pates <dpates@dsdk12.net>
* x11amp/main.c: Modified the checks for volume limits in
read_volume. It was just flipping back and forth when I tested it
on a system with no sound hardware, so this should keep it from
freaking.
Tue Mar 2 17:08:11 CET 1999 Anders Carlsson <anders.carlsson@tordata.se>
* x11amp/Makefile.am
x11amp/hints.c
x11amp/hints.h
x11amp/main.c
x11amp/main.h
x11amp/x11amp.h Added support for Always on top when using a gnome
compliant wm.
Tue Mar 2 14:03:27 CET 1999 Anders Carlsson <anders.carlsson@tordata.se>
* x11amp/effect.c
x11amp/effect.h: Looks like these sound effect plugin files didn't
make it.
Tue Mar 2 13:40:44 CET 1999 Anders Carlsson <anders.carlsson@tordata.se>
* Input/wav/wav.c: Added effect plugin support and fixed a bug when
the file length < the header length.
Tue Mar 2 10:38:27 CET 1999 Mikael Alm <psy@x11amp.org>
* Makefile.am
configure.in
Input/mikmod/drv_x11amp.c
Input/mpg123/layer1.c
Input/mpg123/layer2.c
Input/mpg123/layer3.c
Input/wav/wav.c
x11amp/Makefile.am
x11amp/main.c
x11amp/main.h
x11amp/output.h
x11amp/plugin.h
x11amp/pluginenum.c
x11amp/prefswin.c
x11amp/x11amp.h
Effect/Makefile.am
Effect/test/.cvsignore
Effect/test/Makefile.am
Effect/test/test.c
Effect/test/test.h
Effect/voice/.cvsignore
Effect/voice/Makefile.am
Effect/voice/about.c
Effect/voice/voice.c
Effect/voice/voice.h: Added effect plugins (thanks to Anders Carlsson)
Mon Mar 1 22:04:42 CET 1999 Mikael Alm <psy@x11amp.org>
* Input/mpg123/mpg123.c
Input/wav/wav.c
Input/mikmod/plugin.c: Made it so it reads track names on play again.
(Who the hell thought it was a good idea to disable it?!?)
Mon Mar 1 06:22:19 CET 1999 Derrik Pates <dpates@dsdk12.net>
* Input/mpg123/mpg123.c: Reversing last patch. It breaks
streaming. I'll work on it.
Mon Mar 1 06:09:49 CET 1999 Derrik Pates <dpates@dsdk12.net>
* Input/mpg123/mpg123.c: Moved all the initial stream load stuff
(esp. the set_info() call) into play_file. May have been causing
the player window not to get filled in properly when playback was
started (play status indicator, bit/sample rate indicators,
stereo/mono indicator, playback time).
Mon Mar 1 03:13:33 CET 1999 Håvard Kvålen <havardk@sol.no>
* x11amp/main.c (mainwin_jump_to_file): Code cleanup.
Sun Feb 28 20:42:52 CET 1999 Håvard Kvålen <havardk@sol.no>
* x11amp/main.c, x11amp/equalizer.c, x11amp/playlistwin.c: Windows
are no longer snapped to screen borders if snap windows is turned
off.
* x11amp/main.c: Jump to file window: The currently playing song
is visible when the window is opened.
* x11amp/prefswin.c, x11amp/main.[ch]: New option: Sort "Jump to
file" alphabetical.
* x11amp/main.[ch], x11amp/playlistwin.[ch]: The visible region of the
playlist is restored if "save playlist position" is turned on.
* Input/mpg123/mpg123.c (get_song_info): Fixed a bug that caused
mpg123 to report wrong length on VBR files.
Sun Feb 28 15:18:14 CET 1999 Mikael Alm <psy@x11amp.org>
* x11amp/playlist.[ch]
x11amp/playlistwin.[ch]
x11amp/main.c: Fixed the "get info on load" option so that it scan
the tracks in the background instead of scanning them directly when
they get added.
* x11amp/equalizer.c: Fixed some warnings
Sun Feb 28 14:19:43 CET 1999 Mikael Alm <psy@x11amp.org>
* x11amp/llist.[ch]: Removed them
* configure.in: Removed the Output/ (?) line in AC_OUTPUT
Sun Feb 28 06:49:19 CET 1999 Derrik Pates <dpates@dsdk12.net>
* x11amp/playlist.h: Added a prototype for get_playlist_position,
for cleanliness' sake, since it's being used in main.c in 3
different places now. :)
Sat Feb 27 21:02:21 CET 1999 Derrik Pates <dpates@dsdk12.net>
* x11amp/eq_graph.[ch], x11amp/eq_slider.[ch],
x11amp/equalizer.c, x11amp/hslider.[ch], x11amp/main.c,
x11amp/menurow.[ch], x11amp/monostereo.[ch],
x11amp/number.[ch], x11amp/pbutton.[ch],
x11amp/playlist_list.[ch], x11amp/playlist_slider.[ch],
x11amp/playlistwin.c, x11amp/playstatus.[ch],
x11amp/tbutton.[ch], x11amp/textbox.[ch], x11amp/vis.[ch],
x11amp/widget.[ch]: Converted all LList references and LList
handling code to use GLists instead. (add_widget uses a GList**
instead of an LList*, note that change.)
* x11amp/llist.[ch]: Added comments stating this code is fully
deprecated, and a warning if anything tries to compile with it.
* x11amp/x11amp.h: Removed the include line for llist.h.
* x11amp/Makefile.am: Removed references to llist.c and llist.h.
Sat Feb 27 19:03:58 CET 1999 Derrik Pates <dpates@dsdk12.net>
* x11amp/dirbrowser.c: Added code to select the root node of the
CTree by default if no default path is given.
* x11amp/main.c: Added a couple lines in read_volume() to cap
the volume levels, in case (for some reason) they can't be read.
I've heard this has been a problem for at least one person using
ALSA.
* x11amp/prefswin.c: Added code to save/restore the scroll
position of the CList where the input plugins are listed when the
enable box is (un)checked.
Sat Feb 27 06:04:07 CET 1999 Derrik Pates <dpates@dsdk12.net>
* x11amp/equalizer.c: Added code into fileselector callback
from main.c/playlistwin.c to handle directories entered into
the fileselector correctly (including previous fixes).
Sat Feb 27 05:11:29 CET 1999 Derrik Pates <dpates@dsdk12.net>
* x11amp/main.c: Assign a NULL to cfg.filesel_path as a default,
and in the fileselector callback, add some extra code to handle
directory changing correctly (used to accumulate slashes on the
end of the directory name if you kept pressing Enter in the
fileselector window).
* x11amp/playlistwin.c: For all fileselectors, add extra code
to handle directory changing correctly (prevent accumulation
of slashes on the end of the path if Enter is repeatedly pressed).
Sat Feb 27 04:25:14 CET 1999 Derrik Pates <dpates@dsdk12.net>
* x11amp/main.c, x11amp/main.h: Added the snap_distance item
into the configuration struct, as well as lines to load/save
its value, and added lines in the dock() routine to use the
value given for the snap distance.
* x11amp/prefswin.c: Added stuff to the Options page for setting
the snap distance (put it in the same table element with the
checkbox for disabling/enabling window snap).
Sat Feb 27 02:35:31 CET 1999 Derrik Pates <dpates@dsdk12.net>
* x11amp/dirbrowser.c, x11amp/dirbrowser.h: Modified the
create_dir_browser() call to accept a default path as its
second parameter. Also added code to handle a situation where
the default path is null.
* x11amp/playlistwin.c: Modified the call to create_dir_browser()
to pass cfg.filesel_path as the default path. Also added code to
the callback to save the selected path back into cfg.filesel_path.
Fri Feb 26 23:10:15 CET 1999 Håvard Kvålen <havardk@sol.no>
* x11amp/playlistwin.c (plalistwin_motion): fixed a bug that
snapped playlist wrong when the eq was not doublesize linked.
* x11amp/playlistwin.c: Implemented the small scroll-buttons in
the playlistwindow.
* x11amp/main.c (dock): Windows are no longer snapped if the "Snap
windows" option is turned off.
Fri Feb 26 06:37:28 CET 1999 Derrik Pates <dpates@dsdk12.net>
* x11amp/input.c: For each instance where ip->is_our_file
is called, a search is done through the list of disabled input
plugins to confirm that the current plugin isn't marked as
disabled.
* x11amp/main.c: Added a GList for the list of disabled input
plugins, added lines to read/save_config() routines to get
and set the saved list of disabled plugins in the config file
(maintained by filename), and added a segment of code in
save_config() that generates a string containing all the names
of the currently disabled input plugins.
* x11amp/pluginenum.c: Added code in the init_plugins routine that
takes the stringified list of disabled plugins and makes a GList
containing their names, then when initializing the input plugins,
searches by name for which are disabled, also added a couple
lines to cleanup_plugins to delete the GList containing the
disabled plugins' addresses.
* x11amp/prefswin.c, x11amp/prefswin.h: Added code to the
input plugin list stuff to allow the user to disable/enable
the input plugins by (un)checking a checkbox.
Fri Feb 26 05:55:19 CET 1999 Derrik Pates <dpates@dsdk12.net>
* Input/mikmod/plugin.c, Input/mikmod/mikmod-plugin.h:
Added get_song_info call into plugin.c, and into its
respective place in the InputPlugin struct. Added the prototype
to the header.
* Input/mpg123/common.c, Input/mpg123/mpg123.c,
Input/mpg123/mpg123.h: Changed the get_song_title function into
get_song_info, added prototypes for functions needed from common.c
into the header, added get_song_info into the InputPlugin struct.
* Input/wav/wav.c, Input/wav/wav.h: Added the get_song_info
function and its prototype, and added get_song_info into the
InputPlugin struct.
* Input/wav/Makefile.am: Added the GTK cflags into the general
CFLAGS, so that the wav plugin can use g_malloc to make a string
to pass a title back in get_song_info.
* x11amp/input.c, x11amp/input.h: Added the input_get_song_info
routine and its prototype.
* x11amp/main.c, x11amp/main.h: Added the get_info_on_load and
get_info_on_demand configuration parameters and the requisite
lines in the read_config and save_config routines.
* x11amp/playlist.c: Added code to load info on load if that
option is set, or on demand if that option is set. Also modified
some code to only change the title and length if the title's
not known. (not checking against length - mikmod plugin always
sets length to -1)
* x11amp/plugin.h: Added the item in the InputPlugin struct
for the get_song_info call. (note - for plugin authors, when
you inplement get_song_info, just have your plugin pass
NULL for the title string and -1 for the length, x11amp will
deal with it properly then.)
* x11amp/prefswin.c: Added config items for reading trackinfo
on load or on demand (i.e., when played). Rearranged other
config options more like winamp's arrangement.
Thu Feb 25 22:34:18 CET 1999 Derrik Pates <dpates@dsdk12.net>
* x11amp/pluginenum.c: Modified the input and output list
comparator functions. They were dereferencing the pointers
to the (Input|Output)Plugin structs twice, after having
assumed receiving double-indirected pointers, which was
untrue. Caused the attempted sorting of the OutputPlugin list
to fail if there was more than one OutputPlugin (at least on
my libc5 box). Also uncommented the line to sort the list of
output plugins.
Wed Feb 24 02:18:38 CET 1999 Håvard Kvålen <havardk@sol.no>
* x11amp/main.c, x11amp/prefswin.c: Added main-menu button in the
titlebar.
* playlist.c: Fixed a bug that caused the playlist to get updated
wrong when the next/previous buttons was pressed many times.
Tue Feb 23 09:12:04 MST 1999 Derrik Pates <dpates@dsdk12.net>
* x11amp/main.c, x11amp/pluginenum.c: Changed C++ '//'-style
comments to standard C comment style. Sorry Psy, I'm getting
too used to GCC. :)
Tue Feb 23 00:29:16 MST 1999 Derrik Pates <dpates@dsdk12.net>
* x11amp/pluginenum.c: Commented out the g_list_sort() call
that sorts the output list. For some reason, the sorting
function passed to it is receiving null strings if there
are enough plugins to make it sort the list.
* x11amp/equalizer.c, x11amp/main.c, x11amp/main.h,
x11amp/playlistwin.c: Added code for Easy Move mode. (accessible
from the Options menu)
* x11amp/output.c: Added a line to give the volume levels a
reasonable set of values if the routine to get the volume
level doesn't exist in the current output plugin.
Mon Feb 22 22:12:44 CET 1999 Mikael Alm <psy@x11amp.org>
* x11amp/dirbrowser.c: Cleaned up the auto-selection code a bit.
* x11amp/main.c (mainwin_jump_to_file): Minor cosmetic fixes.
Sun Feb 21 21:39:18 MST 1999 Derrik Pates <dpates@dsdk12.net>
* Input/*/Makefile.am, Output/OSS/Makefile.am,
x11amp/Makefile.am, configure.in, x11amp/pluginenum.c:
Added changes to allow for a single plugin directory
(PLUGIN_DIR/Plugins/) with a switch to the configure script
(--enable-one-plugin-dir).
* x11amp/equalizer.c, x11amp/main.c, x11amp/main.h,
x11amp/prefswin.c: Added an "Equalizer doublesize linked"
option.
* x11amp/main.c, x11amp/main.h, x11amp/playlistwin.c,
prefswin.c: Added a "Reverse file order in fileselector"
option.
* x11amp/main.c, x11amp/playlistwin.c: Added code to sort the
selection list passed back from the fileselector windows.
Sun Feb 21 17:41:11 MST 1999 Derrik Pates <dpates@dsdk12.net>
* x11amp/main.c: Whoops. Put a FALSE where a TRUE should've been
in may last change to main.c... this should get it right. :)
Sun Feb 21 17:33:21 MST 1999 Derrik Pates <dpates@dsdk12.net>
* Input/mikmod/mloader.c: Fixed a bug in Player_LoadTitle()
where it always returned null, because the file pointer for
the module file it tries to identify never gets copied from
fp to modfp.
Sun Feb 21 17:27:22 MST 1999 Derrik Pates <dpates@dsdk12.net>
* x11amp/main.c: Fixed a bug in the code I added for showing
the volume level on an external change - it was obliterating
strings placed in the text bar, because it just kept calling
mainwin_release_info_text() during the idle loop.
Sun Feb 21 18:52:35 CET 1999 Jörg Schuler <Jorg.Schuler@gmx.de>
* Input/mpg123/layer1
Input/mpg123/layer2
Input/mpg123/common.c: Added support for mpeg layer 2 and
(hopefully) layer 1 as well. Equalizer won't work.
* libx11amp/identifier.c: Added check for wFormatID in wavs.
Sun Feb 21 01:37:34 CET 1999 Jörg Schuler <Jorg.Schuler@gmx.de>
* libx11amp/identifier.c: Stupid bug - fix. Don't know how it
compiled anyway...
Sat Feb 20 16:09:15 MST 1999 Derrik Pates <dpates@dsdk12.net>
* x11amp/dirbrowser.c: Fixed a standing problem where all
files showed in the directory browser, not just directories.
Don't know if it's due to libc5 retardedness or what, but it
works correctly now.
* x11amp/dirbrowser.c: Added code to expand the directory tree
to the directory named in cfg.filesel_path. Doesn't yet save
the dir back to cfg.filesel_path, and doesn't scroll down to the
directory either. I'm working on that.
* x11amp/main.c: Added commented menu entries for showing/hiding
the main window, enabling an Easy Move mode (like WinAmp) and
doing a fade to stop, as well as the enumeration items for each.
* x11amp/main.c: Added Jump to Time feature. It will correctly
take either the number of seconds or a min:sec pair to jump to.
* x11amp/main.c: Further mods to the Jump to File box, rearranged
callbacks to provide for some key bindings (Enter to select track
to jump to, Escape to cancel out). Set immediate input focus into
the CList, for keyboard navigation.
* x11amp/main.c: Added code in read_volume() to display
volume/balance levels when an external mixer changes the mixer
levels.
* x11amp/vis.c: Added a cast to eliminate a warning on a call
to vis_draw().
* x11amp/x11amp.h: Added an include for gdk/gdkkeysyms.h
(I needed it for the key bindings in the Jump to File box).
Sat Feb 20 23:54:23 CET 1999 Jörg Schuler <Jorg.Schuler@gmx.de>
* libx11amp/identifier.c
libx11amp/identifier.h: Added "last resort" filename extension
checking for type recognition. When still not successfull, scan
64kB of the file for a valid mpeg header.
Sat Feb 20 16:50:36 CET 1999 Jörg Schuler <Jorg.Schuler@gmx.de>
* libx11amp/identifier.c
libx11amp/identifier.h: New files for identifying the filetye
using the internal structure of the file rather than filename
extensions. Works for mpeg and wav so far. Even mpg3 after RIFF or
ID3-Headers are recognized. If you encounter a file that won't
work, please let me know.
* libx11amp/Makefile.am: added identifier.c and identifier.h to
the sourcefile- and headerfilelist.
* Input/mpg123/mpg123.c: is_our_file() now uses the code from
identifier.c
* Input/wav/wav.c: is_our_file() now uses the code from
identifier.c
Sat Feb 20 15:13:20 CET 1999 Mikael Alm <psy@x11amp.org>
* x11amp/main.c: Cleaned up the "Jump to file" dialog to make it match
the rest of the GUI better.
Fri Feb 19 14:42:00 MST 1999 Derrik Pates <dpates@dsdk12.net>
* x11amp/main.c: Added a ScrolledWindow around the CList
in the Jump to Time window, so that the list won't get cut
off when many tracks are in the playlist.
Fri Feb 19 12:09:52 MST 1999 Derrik Pates <dpates@dsdk12.net>
* x11amp/pluginenum.c: Fixed reference to sort_glist,
apparently should've been g_list_sort instead. Sorry guys. :)
* ChangeLog: Fixed time of previous ChangeLog entry. Doh.
Fri Feb 19 10:38:04 MST 1999 Derrik Pates <dpates@dsdk12.net>
* x11amp/pluginenum.c,pluginenum.h: Added unified routines for
plugin enumeration/registration/initialization/cleanup.
* x11amp/input.c,input,h,output.c,output.h: Removed separated
plugin enum/reg/init/cleanup code.
* x11amp/input.c,input,h,output.c,output.h: Moved
(Input|Output)PluginData structures into headers, and added header
entries for routines needed in pluginenum.c.
* x11amp/prefswin.c: Added routines to generate description
entries for plugins which reference the plugin DSO filenames.
* x11amp/prefswin.c: Added a control to the Options page to
enable/disable the requirement that a window be focused for its
minimize, shade and close controls to be usable.
* x11amp/prefswin.c: Added code to the plugins page to enable and
disable the Configure and About buttons if those features are
unavailable for the selected plugins.
* x11amp/main.c: Added a general right-click menu in the main
window, similar to that in WinAmp, and attached existion
Options and Visualization menus to it as submenus.
* x11amp/main.c: Added the "Jump to File" feature. Added code to
handle loading and saving state for and dealing properly with the
option added to the Prefs window's Options page.
* x11amp/main.c: Modified plugin init/cleanup calls
to call the routines in pluginenum.c.
* x11amp/main.c: Added framework for the "Jump to Time" feature.
* x11amp/main.c: Added code to open a URL from the main window
(through the right-click general menu).
* x11amp/main.c: Added code to force synchronization of the volume
and balance sliders to actual mixer levels.
* x11amp/main.c: Added code to round the mixer values properly
when they're being readjusted for the vol/bal sliders.
* x11amp/playlistwin.c: Added code to properly deal with the
"needs focus for min/shade/close" option.
* x11amp/playlistwin.c: Added code to toggle control in main
window's right-click general menu for the playlist window.
* x11amp/equalizer.c: Added code to properly deal with the
"needs focus for min/shade/close" option.
* x11amp/equalizer.c: Added code to toggle control in main
window's right-click general menu for the equalizer window.
Fri, 19 Feb 1999 15:52:40 +0100 Jörg Schuler <Jorg.Schuler@gmx.de>
* Input/wav/wav.c
mpg123-files named .wav will no longer crash x11amp. Instead,
they will be ignored (this will be changed soon)
Fri, 19 Feb 1999 01:26:28 +0100 Jörg Schuler <Jorg.Schuler@gmx.de>
* Input/mpg123/common.c
Input/mpg123/layer2.c
disable mpeg layer 2, so x11amp won't crash on them
* x11amp/playlistwin.c
Make the filerequester for loading and saving playlists behave
the same as the one for adding files to the playlist when
selecting a directory (see below)
Thu Feb 18 23:02:32 CET 1999 Mikael Alm <psy@x11amp.org>
* Input/mpg123/common.c
configure.in
acconfig.h: Added mmap reader in mpg123.
Thu Feb 18 21:41:26 CET 1999 Mikael Alm <psy@x11amp.org>
* Input/mikmod/plugin.c
Input/mikmod/mikmod-plugin.h: Added interpolation option (Thanks to
Torje Lundereng)
Thu Feb 18 20:18:42 CET 1999 Mikael Alm <psy@x11amp.org>
* Input/mikmod/Makefile.am
Input/mpg123/Makefile.am
Input/wav/Makefile.am
Output/OSS/Makefile.am: The plugins doesn't link libraries which x11amp
link any more. This will fix some ugly warning messages with
libtool 1.2d.
Thu Feb 18 17:34:17 CET 1999 Mikael Alm <psy@x11amp.org>
* x11amp/equalizer.c: Added "Load/Save from/to file"
Thu Feb 18 15:56:02 CET 1999 Mikael Alm <psy@x11amp.org>
* x11amp/main.c
x11amp/playlistwin.c: Made it so it will enter the directory if only
a directory is selected and the user press ok (Thanks to Jörg Schuler)
* x11amp/input.c
x11amp/output.c: Removed some old unused stuff
* x11amp/util.[ch]
x11amp/skinwin.c
x11amp/skin.c: The skin loader now also support .tar.gz, .tgz and
.tar.bz2 files. (Thanks to Jörg Schuler)
* x11amp/eq_slider.c: Added some range checking. Also fixed a bug that
caused the equalizer to not be directly when clicking outside of the
knob.
* x11amp/equalizer.c: Changed selection mode from GTK_SELECTION_SINGLE to
GTK_SELECTION_EXTENDED for the delete dialogs.
* Input/mpg123/mpg123.[ch]
Input/mpg123/common.c
Input/mpg123/layer3.c
Input/mpg123/dxhead.[ch]
Input/mpg123/Makefile.am: Added full support for Xing VBR files.
* ltconfig
ltmain.sh
config.guess
config.sub
configure.in
libx11amp/configure.in
acconfig.h
libx11amp/acconfig.h: Upgraded libtool to 1.2d
Thu Feb 18 02:57:17 CET 1999 Håvard Kvålen <havardk@sol.no>
* x11amp/equalizer.c: Added delete of equalizer presets
* x11amp/equalizer.c: Added "Load Zero"
Wed Feb 17 09:14:49 CET 1999 Mikael Alm <psy@x11amp.org>
* Input/mpg123/mpg123 (decode_loop): Fixed bug that caused x11amp to
lock up when pressing the next button fast many times.
Wed Feb 17 00:03:08 CET 1999 Mikael Alm <psy@x11amp.org>
* x11amp/equalizer.c (equalizerwin_presets_menu_cb): Fixed bug that
caused both "Load preset" and "Load auto-load preset" dialogs to be
shown when "Load preset" was selected.
Tue Feb 16 22:33:23 CET 1999 Mikael Alm <psy@x11amp.org>
* x11amp/equalizer.[ch] x11amp/playlist.c: Added equalizer presets.
Delete and "Save/Load from/to file" still doesn't work though.
* Output/OSS/audio.c (abuffer_get_output_time): Fixed a bug that caused
the function to return negative values in the beginning of a track which
made x11amp to skip the track
Tue Feb 16 10:19:36 CET 1999 Mikael Alm <psy@x11amp.org>
* x11amp/bmp.c: Fixed loading of bmp files which have weird values in
the imgsize field in the header (Fresh X11Amp skin).
Tue Feb 16 09:38:59 CET 1999 Mikael Alm <psy@x11amp.org>
* x11amp/main.c x11amp/playlistwin.c: Fixed a segmentation fault when
typing the filename manually in the file selector instead of selecting
it with the mouse.
* configure.in: Cleaned it up a bit
Tue Feb 16 06:57:50 CET 1999 Olle Hällnäs <Crocodile@x11amp.org>
* configure.in: updated so it will only warn about thread safe Xlibs
and not just stop when none found.
Mon Feb 15 15:51:05 CET 1999 Mikael Alm <psy@x11amp.org>
* x11amp/eq_slider.c (eqslider_set_mainwin_text): Fixed a bug that
caused the wrong band name to be displayed in the main window
Mon Feb 15 14:18:22 CET 1999 Håvard Kvålen <havardk@sol.no>
* x11amp/util.c (read_ini_string): Handles whitespace without crashing.
* x11amp/main.[ch] x11amp/prefswin.c: New option: Save playlist position
* x11amp/main.[ch] x11amp/equalizer.c: The state of the equalizers
auto button is saved.
* x11amp/equalizer.c: Preset menu added. Note: Saving of
equalizer-presets is not implemented yet.
Sun Feb 14 22:45:56 CET 1999 Mikael Alm <psy@x11amp.org>
* configure.in: version = 0.9-alpha3
* Release 0.9-alpha3
Sun Feb 14 22:22:06 CET 1999 Mikael Alm <psy@x11amp.org>
* x11amp/main.c
x11amp/plugin.h
x11amp/input.c
x11amp/input.h
x11amp/vis.c
x11amp/vis.h
Input/wav/wav.c
Input/mpg123/mpg123.c
Input/mpg123/layer3.c
Input/mikmod/plugin.c
Input/mikmod/drv_x11amp.c: Added generic pcm support for visualisation,
the current FFT code sucks but it'll do for now. Also added osciloscope
support and some other minor vis cleanups
* Output/OSS/audio.c: Moved some variable initalizations from the buffer
thread to the main thread, hopefully this will fix some crashes when
opening the device
* x11amp/playlist.c (playlist_add_dir): Added call to closedir
Sun Feb 14 16:02:10 CET 1999 Håvard Kvålen <havardk@sol.no>
* x11amp/eq_slider.c (eq_slider_set_mainwin_text): Code cleanup.
* x11amp/main.c (mainwin_play_pushed): "pause" patch readded.
Removed by accident?
Sat Feb 13 20:06:59 CET 1999 Mikael Alm <psy@x11amp.org>
* x11amp/main.c: Fixed division by zero bug when seeking in files with
length = 0
* Output/OSS/audio.c: Two calls to abuffer_free without a call to
abuffer_write now clears prebuffer, this will fix the problems with
files being to short to fill the prebuffer.
* Output/OSS/audio.c
x11amp/plugin.h
Input/wav/wav.c
Input/mpg123/mpg123.c: Removed buffer_used from InputPlugin struct
and added buffer_playing instead, this will fix some truncation
problems.
* Output/OSS/configure.c (configure): Fixed bug with device selection
loading
Fri Feb 12 17:32:04 CET 1999 Håvard Kvålen <havardk@sol.no>
* x11amp/prefswin.c: Playlist-window is properly updated.
Fri Feb 12 09:23:31 CET 1999 Mikael Alm <psy@x11amp.org>
* x11amp/util.c (create_dblsize_img): Removed stupid printf
Fri Feb 12 00:19:37 CET 1999 Håvard Kvålen <havardk@sol.no>
* x11amp/main.[ch] x11amp/eq_slider.c: Shows info in the main
window when adjusting the equalizer.
Thu Feb 11 22:24:48 CET 1999 Mikael Alm <psy@x11amp.org>
* Input/wav/wav.c (read_le_short, read_le_long): Fixed stupid signedness
bug
* Input/mikmod/plugin.c (play_file): Added call to MikMod_Reset, this
will fix the bug w/ changing MikMod configuration w/o restarting x11amp
* lots-of-files: Applied FreeBSD patches from Eric L. Hernes
Thu Feb 11 19:40:52 CET 1999 Håvard Kvålen <havardk@sol.no>
* x11amp/prefswin.c: Added "Apply" button.
Thu Feb 11 11:14:34 CET 1999 Mikael Alm <psy@x11amp.org>
* x11amp/main.c x11amp/playlistwin.c: Fixed playlist timer remaining bug
for streams that don't have a length
Thu Feb 11 10:24:10 CET 1999 Mikael Alm <psy@x11amp.org>
* x11amp/main.c: Fixed some thread-related bugs with unseekable streams
Thu Feb 11 09:58:37 CET 1999 Mikael Alm <psy@x11amp.org>
* Input/mpg123/mpg123.c Input/mpg123/layer3.c x11amp/main.c: Added VBR
support. Seeking doesn't work yet though.
Thu Feb 11 01:00:41 1999 Stephan K. Zitz <zitz@infinity.erf.net>
* x11amp/main.c : vis may be enabled/disabled with -z/clicking in vis.
Thu Feb 11 02:14:36 CET 1999 Håvard Kvålen <havardk@sol.no>
* x11amp/main.c
x11amp/input.[ch] : If the song is paused, the playbutton
continues the song instead of restarting it.
Wed Feb 10 21:50:58 CET 1999 Mikael Alm <psy@x11amp.org>
* configure.in
Makefile.am
Input/mikmod/Makefile.am
Input/mpg123/Makefile.am
Input/wav/Makefile.am
Output/OSS/Makefile.am
x11amp/Makefile.am
x11amp/Input.c
x11amp/Output.c
libx11amp/Makefile.am: Changed plugin directory from
$(prefix)/share/x11amp to $(libdir)/x11amp, also cleaned up things a bit.
Wed Feb 10 20:57:54 CET 1999 Mikael Alm <psy@x11amp.org>
* Output/OSS/audio.c: Hopefully fixed bug with Ensoniq cards
* x11amp/Input/mpg123/mpg123.c: Removed mono patch, it should display
the file information, not the audio options
Wed Feb 10 20:23:09 CET 1999 Olle Hällnäs <Crocodile@x11amp.org>
* x11amp/Input/mpg123/mpg123.c: Makes it tell its playing in mono if mono
is selected in the configuration even if the mp3 is in stereo.
(thanks to Haavard Kvaalen)
Wed Feb 10 16:56:06 CET 1999 Mikael Alm <psy@x11amp.org>
* x11amp/playlist.c: Fixed bug when randomizing empty playlist.
(thanks to Stefan Alfredsson)
Wed Feb 10 16:47:32 CET 1999 Mikael Alm <psy@x11amp.org>
* x11amp/main.c: Made it so you don't have to have the DISPLAY variable
set to use the ipc options (thanks to vi)
Wed Feb 10 16:40:33 CET 1999 Mikael Alm <psy@x11amp.org>
* x11amp/main.[ch]
x11amp/prefswin.c
x11amp/equalizer.c
x11amp/playlistwin.c: Added "Dim titlebar when inactive" option.
(thanks to Haavard Kvaalen)
Wed Feb 10 16:15:01 CET 1999 Mikael Alm <psy@x11amp.org>
* Output/OSS/audio.c: Improved timing code.
Tue Feb 9 21:45:48 CET 1999 Mikael Alm <psy@x11amp.org>
* x11amp/main.c (mainwin_set_song_info): Fixed bug w/ unseekable files
Tue Feb 9 21:44:13 CET 1999 Mikael Alm <psy@x11amp.org>
* x11amp/main.c (parse_cmd_line): Fixed shuffle bug w/ files passed on command line
Tue Feb 9 21:37:05 CET 1999 Mikael Alm <psy@x11amp.org>
* x11amp/playlistwin.c (playlist_list_button_press_cb): Fixed bug when
clicking in empty playlist.
Tue Feb 9 21:15:56 CET 1999 Mikael Alm <psy@x11amp.org>
* Output/OSS/audio.c: Removed the old DMA-pointer based timing code
and added a new much simpler timing code, hopefully this will solve all
timing related problems.
Tue Feb 9 14:02:05 CET 1999 Mikael Alm <psy@x11amp.org>
* x11amp/hslider.c x11amp/eqslider.c: You can now click anywhere in the
sliders
Tue Feb 9 11:26:41 CET 1999 Mikael Alm <psy@x11amp.org>
* x11amp/playlistwin.c x11amp/playlistwin.h x11amp/main.c: The playlist
window timer gets hidden when not playing now
* x11amp/playlistwin.c: If you click on the small timer in the playlist
it will now toggle between remaining and elapsed time.
* x11amp/playlist.c (playlist_eof_reached): Added call to mainwin_set_info_text to make
sure that the info text gets updated even if the next track isn't found
* x11amp/main.c
x11amp/main.h
x11amp/playlistwin.c
x11amp/equalizer.c
x11amp/prefswin.c: Added Save window positions option, also fixed some options
that didn't get saved before
* Input/mikmod/plugin.c (aboutbox): Added a call to gtk_widget_realize
before calling gdk_pixmap_create_from_xpm_d
Tue Feb 9 01:25:18 CET 1999 Olle hallnas <Crocodile@x11amp.org>
* Input/mikmod/plugin.c: Nick Koston added about/configure
Mon Feb 8 23:03:14 CET 1999 Mikael Alm <psy@x11amp.org>
* main.c: Fixed position slider boundaries if the file grows while playing
(thanks to vi)
Mon Feb 8 22:53:56 CET 1999 Mikael Alm <psy@x11amp.org>
* configure.in: Added check for thread-safe Xlib
Mon Feb 8 20:16:42 CET 1999 Mikael Alm <psy@x11amp.org>
* x11amp/skinwin.c (scan_skins): Changed variable type from GList * to
gchar * for skinsdir (oops :))
Mon Feb 8 19:20:20 CET 1999 Mikael Alm <psy@x11amp.org>
* x11amp/input.c x11amp/input.h x11amp/playlist.c: Made it so only files
that a input plugin can handle gets added to the playlist
x11amp-0.9-alpha3/INSTALL 100664 4125 4125 17230 6671773465 14043 0 ustar raster raster Basic Installation
==================
These are generic installation instructions.
The `configure' shell script attempts to guess correct values for
various system-dependent variables used during compilation. It uses
those values to create a `Makefile' in each directory of the package.
It may also create one or more `.h' files containing system-dependent
definitions. Finally, it creates a shell script `config.status' that
you can run in the future to recreate the current configuration, a file
`config.cache' that saves the results of its tests to speed up
reconfiguring, and a file `config.log' containing compiler output
(useful mainly for debugging `configure').
If you need to do unusual things to compile the package, please try
to figure out how `configure' could check whether to do them, and mail
diffs or instructions to the address given in the `README' so they can
be considered for the next release. If at some point `config.cache'
contains results you don't want to keep, you may remove or edit it.
The file `configure.in' is used to create `configure' by a program
called `autoconf'. You only need `configure.in' if you want to change
it or regenerate `configure' using a newer version of `autoconf'.
The simplest way to compile this package is:
1. `cd' to the directory containing the package's source code and type
`./configure' to configure the package for your system. If you're
using `csh' on an old version of System V, you might need to type
`sh ./configure' instead to prevent `csh' from trying to execute
`configure' itself.
Running `configure' takes awhile. While running, it prints some
messages telling which features it is checking for.
2. Type `make' to compile the package.
3. Optionally, type `make check' to run any self-tests that come with
the package.
4. Type `make install' to install the programs and any data files and
documentation.
5. You can remove the program binaries and object files from the
source code directory by typing `make clean'. To also remove the
files that `configure' created (so you can compile the package for
a different kind of computer), type `make distclean'. There is
also a `make maintainer-clean' target, but that is intended mainly
for the package's developers. If you use it, you may have to get
all sorts of other programs in order to regenerate files that came
with the distribution.
Compilers and Options
=====================
Some systems require unusual options for compilation or linking that
the `configure' script does not know about. You can give `configure'
initial values for variables by setting them in the environment. Using
a Bourne-compatible shell, you can do that on the command line like
this:
CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
Or on systems that have the `env' program, you can do it like this:
env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
Compiling For Multiple Architectures
====================================
You can compile the package for more than one kind of computer at the
same time, by placing the object files for each architecture in their
own directory. To do this, you must use a version of `make' that
supports the `VPATH' variable, such as GNU `make'. `cd' to the
directory where you want the object files and executables to go and run
the `configure' script. `configure' automatically checks for the
source code in the directory that `configure' is in and in `..'.
If you have to use a `make' that does not supports the `VPATH'
variable, you have to compile the package for one architecture at a time
in the source code directory. After you have installed the package for
one architecture, use `make distclean' before reconfiguring for another
architecture.
Installation Names
==================
By default, `make install' will install the package's files in
`/usr/local/bin', `/usr/local/man', etc. You can specify an
installation prefix other than `/usr/local' by giving `configure' the
option `--prefix=PATH'.
You can specify separate installation prefixes for
architecture-specific files and architecture-independent files. If you
give `configure' the option `--exec-prefix=PATH', the package will use
PATH as the prefix for installing programs and libraries.
Documentation and other data files will still use the regular prefix.
In addition, if you use an unusual directory layout you can give
options like `--bindir=PATH' to specify different values for particular
kinds of files. Run `configure --help' for a list of the directories
you can set and what kinds of files go in them.
If the package supports it, you can cause programs to be installed
with an extra prefix or suffix on their names by giving `configure' the
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
Optional Features
=================
Some packages pay attention to `--enable-FEATURE' options to
`configure', where FEATURE indicates an optional part of the package.
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
is something like `gnu-as' or `x' (for the X Window System). The
`README' should mention any `--enable-' and `--with-' options that the
package recognizes.
For packages that use the X Window System, `configure' can usually
find the X include and library files automatically, but if it doesn't,
you can use the `configure' options `--x-includes=DIR' and
`--x-libraries=DIR' to specify their locations.
Specifying the System Type
==========================
There may be some features `configure' can not figure out
automatically, but needs to determine by the type of host the package
will run on. Usually `configure' can figure that out, but if it prints
a message saying it can not guess the host type, give it the
`--host=TYPE' option. TYPE can either be a short name for the system
type, such as `sun4', or a canonical name with three fields:
CPU-COMPANY-SYSTEM
See the file `config.sub' for the possible values of each field. If
`config.sub' isn't included in this package, then this package doesn't
need to know the host type.
If you are building compiler tools for cross-compiling, you can also
use the `--target=TYPE' option to select the type of system they will
produce code for and the `--build=TYPE' option to select the type of
system on which you are compiling the package.
Sharing Defaults
================
If you want to set default values for `configure' scripts to share,
you can create a site shell script called `config.site' that gives
default values for variables like `CC', `cache_file', and `prefix'.
`configure' looks for `PREFIX/share/config.site' if it exists, then
`PREFIX/etc/config.site' if it exists. Or, you can set the
`CONFIG_SITE' environment variable to the location of the site script.
A warning: not all `configure' scripts look for a site script.
Operation Controls
==================
`configure' recognizes the following options to control how it
operates.
`--cache-file=FILE'
Use and save the results of the tests in FILE instead of
`./config.cache'. Set FILE to `/dev/null' to disable caching, for
debugging `configure'.
`--help'
Print a summary of the options to `configure', and exit.
`--quiet'
`--silent'
`-q'
Do not print messages saying which checks are being made. To
suppress all normal output, redirect it to `/dev/null' (any error
messages will still be shown).
`--srcdir=DIR'
Look for the package's source code in directory DIR. Usually
`configure' can determine that directory automatically.
`--version'
Print the version of Autoconf used to generate the `configure'
script, and exit.
`configure' also accepts some other, not widely useful, options.
x11amp-0.9-alpha3/Makefile.am 100664 4125 4125 57 6671773465 14765 0 ustar raster raster SUBDIRS = libx11amp x11amp Output Input Effect
x11amp-0.9-alpha3/NEWS 100664 4125 4125 0 6671773465 13374 0 ustar raster raster x11amp-0.9-alpha3/acconfig.h 100664 4125 4125 137 6671773465 14672 0 ustar raster raster #undef HAVE_SOUND
#undef PACKAGE
#undef VERSION
#undef WITH_SYMBOL_UNDERSCORE
#undef HAVE_MMAP
x11amp-0.9-alpha3/aclocal.m4 100644 4125 4125 106725 6672531541 14664 0 ustar raster raster dnl aclocal.m4 generated automatically by aclocal 1.4
dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
dnl This program is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
dnl PARTICULAR PURPOSE.
# Do all the work for Automake. This macro actually does too much --
# some checks are only needed if your package does certain things.
# But this isn't really a big deal.
# serial 1
dnl Usage:
dnl AM_INIT_AUTOMAKE(package,version, [no-define])
AC_DEFUN(AM_INIT_AUTOMAKE,
[AC_REQUIRE([AC_PROG_INSTALL])
PACKAGE=[$1]
AC_SUBST(PACKAGE)
VERSION=[$2]
AC_SUBST(VERSION)
dnl test to see if srcdir already configured
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
fi
ifelse([$3],,
AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package]))
AC_REQUIRE([AM_SANITY_CHECK])
AC_REQUIRE([AC_ARG_PROGRAM])
dnl FIXME This is truly gross.
missing_dir=`cd $ac_aux_dir && pwd`
AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir)
AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir)
AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
AC_REQUIRE([AC_PROG_MAKE_SET])])
#
# Check to make sure that the build environment is sane.
#
AC_DEFUN(AM_SANITY_CHECK,
[AC_MSG_CHECKING([whether build environment is sane])
# Just in case
sleep 1
echo timestamp > conftestfile
# Do `set' in a subshell so we don't clobber the current shell's
# arguments. Must try -L first in case configure is actually a
# symlink; some systems play weird games with the mod time of symlinks
# (eg FreeBSD returns the mod time of the symlink's containing
# directory).
if (
set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
if test "[$]*" = "X"; then
# -L didn't work.
set X `ls -t $srcdir/configure conftestfile`
fi
if test "[$]*" != "X $srcdir/configure conftestfile" \
&& test "[$]*" != "X conftestfile $srcdir/configure"; then
# If neither matched, then we have a broken ls. This can happen
# if, for instance, CONFIG_SHELL is bash and it inherits a
# broken ls alias from the environment. This has actually
# happened. Such a system could not be considered "sane".
AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
alias in your environment])
fi
test "[$]2" = conftestfile
)
then
# Ok.
:
else
AC_MSG_ERROR([newly created file is older than distributed files!
Check your system clock])
fi
rm -f conftest*
AC_MSG_RESULT(yes)])
dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
dnl The program must properly implement --version.
AC_DEFUN(AM_MISSING_PROG,
[AC_MSG_CHECKING(for working $2)
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf. Sigh.
if ($2 --version) < /dev/null > /dev/null 2>&1; then
$1=$2
AC_MSG_RESULT(found)
else
$1="$3/missing $2"
AC_MSG_RESULT(missing)
fi
AC_SUBST($1)])
# Like AC_CONFIG_HEADER, but automatically create stamp file.
AC_DEFUN(AM_CONFIG_HEADER,
[AC_PREREQ([2.12])
AC_CONFIG_HEADER([$1])
dnl When config.status generates a header, we must update the stamp-h file.
dnl This file resides in the same directory as the config header
dnl that is generated. We must strip everything past the first ":",
dnl and everything past the last "/".
AC_OUTPUT_COMMANDS(changequote(<<,>>)dnl
ifelse(patsubst(<<$1>>, <<[^ ]>>, <<>>), <<>>,
<<test -z "<<$>>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl>>,
<<am_indx=1
for am_file in <<$1>>; do
case " <<$>>CONFIG_HEADERS " in
*" <<$>>am_file "*<<)>>
echo timestamp > `echo <<$>>am_file | sed -e 's%:.*%%' -e 's%[^/]*$%%'`stamp-h$am_indx
;;
esac
am_indx=`expr "<<$>>am_indx" + 1`
done<<>>dnl>>)
changequote([,]))])
# serial 29 AM_PROG_LIBTOOL
AC_DEFUN(AM_PROG_LIBTOOL,
[AC_REQUIRE([AM_ENABLE_SHARED])dnl
AC_REQUIRE([AM_ENABLE_STATIC])dnl
AC_REQUIRE([AC_CANONICAL_HOST])dnl
AC_REQUIRE([AC_CANONICAL_BUILD])dnl
AC_REQUIRE([AC_PROG_RANLIB])dnl
AC_REQUIRE([AC_PROG_CC])dnl
AC_REQUIRE([AM_PROG_LD])dnl
AC_REQUIRE([AM_PROG_NM])dnl
AC_REQUIRE([AM_SYS_NM_PARSE])dnl
AC_REQUIRE([AM_SYS_SYMBOL_UNDERSCORE])dnl
AC_REQUIRE([AC_PROG_LN_S])dnl
dnl
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
AC_SUBST(LIBTOOL)dnl
# Check for any special flags to pass to ltconfig.
libtool_flags=
test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
test "$silent" = yes && libtool_flags="$libtool_flags --silent"
test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
# Some flags need to be propagated to the compiler or linker for good
# libtool support.
case "$host" in
*-*-irix6*)
# Find out which ABI we are using.
echo '[#]line __oline__ "configure"' > conftest.$ac_ext
if AC_TRY_EVAL(ac_compile); then
case "`/usr/bin/file conftest.o`" in
*32-bit*)
LD="${LD-ld} -32"
;;
*N32*)
LD="${LD-ld} -n32"
;;
*64-bit*)
LD="${LD-ld} -64"
;;
esac
fi
rm -rf conftest*
;;
*-*-sco3.2v5*)
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
SAVE_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -belf"
AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
[AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])])
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
CFLAGS="$SAVE_CFLAGS"
fi
;;
*-*-cygwin32*)
AM_SYS_LIBTOOL_CYGWIN32
;;
esac
# enable the --disable-libtool-lock switch
AC_ARG_ENABLE(libtool-lock,
[ --disable-libtool-lock force libtool not to do file locking],
need_locks=$enableval,
need_locks=yes)
if test x"$need_locks" = xno; then
libtool_flags="$libtool_flags --disable-lock"
fi
# Actually configure libtool. ac_aux_dir is where install-sh is found.
CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
LD="$LD" NM="$NM" RANLIB="$RANLIB" LN_S="$LN_S" \
DLLTOOL="$DLLTOOL" AS="$AS" \
${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
|| AC_MSG_ERROR([libtool configure failed])
# Redirect the config.log output again, so that the ltconfig log is not
# clobbered by the next message.
exec 5>>./config.log
])
# AM_ENABLE_SHARED - implement the --enable-shared flag
# Usage: AM_ENABLE_SHARED[(DEFAULT)]
# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
# `yes'.
AC_DEFUN(AM_ENABLE_SHARED,
[define([AM_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
AC_ARG_ENABLE(shared,
changequote(<<, >>)dnl
<< --enable-shared[=PKGS] build shared libraries [default=>>AM_ENABLE_SHARED_DEFAULT],
changequote([, ])dnl
[p=${PACKAGE-default}
case "$enableval" in
yes) enable_shared=yes ;;
no) enable_shared=no ;;
*)
enable_shared=no
# Look at the argument we got. We use all the common list separators.
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
for pkg in $enableval; do
if test "X$pkg" = "X$p"; then
enable_shared=yes
fi
done
IFS="$ac_save_ifs"
;;
esac],
enable_shared=AM_ENABLE_SHARED_DEFAULT)dnl
])
# AM_DISABLE_SHARED - set the default shared flag to --disable-shared
AC_DEFUN(AM_DISABLE_SHARED,
[AM_ENABLE_SHARED(no)])
# AM_DISABLE_STATIC - set the default static flag to --disable-static
AC_DEFUN(AM_DISABLE_STATIC,
[AM_ENABLE_STATIC(no)])
# AM_ENABLE_STATIC - implement the --enable-static flag
# Usage: AM_ENABLE_STATIC[(DEFAULT)]
# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
# `yes'.
AC_DEFUN(AM_ENABLE_STATIC,
[define([AM_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
AC_ARG_ENABLE(static,
changequote(<<, >>)dnl
<< --enable-static[=PKGS] build static libraries [default=>>AM_ENABLE_STATIC_DEFAULT],
changequote([, ])dnl
[p=${PACKAGE-default}
case "$enableval" in
yes) enable_static=yes ;;
no) enable_static=no ;;
*)
enable_static=no
# Look at the argument we got. We use all the common list separators.
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
for pkg in $enableval; do
if test "X$pkg" = "X$p"; then
enable_static=yes
fi
done
IFS="$ac_save_ifs"
;;
esac],
enable_static=AM_ENABLE_STATIC_DEFAULT)dnl
])
# AM_PROG_LD - find the path to the GNU or non-GNU linker
AC_DEFUN(AM_PROG_LD,
[AC_ARG_WITH(gnu-ld,
[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
AC_REQUIRE([AC_PROG_CC])dnl
AC_REQUIRE([AC_CANONICAL_HOST])dnl
AC_REQUIRE([AC_CANONICAL_BUILD])dnl
ac_prog=ld
if test "$ac_cv_prog_gcc" = yes; then
# Check if gcc -print-prog-name=ld gives a path.
AC_MSG_CHECKING([for ld used by GCC])
ac_prog=`($CC -print-prog-name=ld) 2>&5`
case "$ac_prog" in
# Accept absolute paths.
changequote(,)dnl
/* | [A-Za-z]:/*)
# Canonicalize the path of ld
re_direlt='/[^/][^/]*/\.\./'
sub_uncdrive='s%^\([A-Za-z]\):/%//\1/%'
changequote([,])dnl
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
done
case "$host_os" in
cygwin*)
# Convert to a UNC path for cygwin
test -z "$LD" && LD=`echo X$ac_prog | $Xsed -e "$sub_uncdrive"`
;;
*)
test -z "$LD" && LD="$ac_prog"
;;
esac
;;
##
## FIXME: The code fails later on if we try to use an $LD with
## '\\' path separators.
##
changequote(,)dnl
[A-Za-z]:[\\]*)
# Canonicalize the path of ld
re_direlt='\\[^\\][^\\]*\\\.\.\(\\\)'
sub_uncdrive='s%^\([A-Za-z]\):\\%//\1/%'
changequote([,])dnl
sub_uncdir='s%\\%/%g'
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
ac_prog=`echo $ac_prog| sed "s%$re_direlt%\1%"`
done
case "$host_os" in
cygwin*)
# Convert to a UNC path for cygwin
test -z "$LD" && LD=`echo X$ac_prog | sed -e 's%^X%%' -e "$sub_uncdrive" -e "$sub_uncdir"`
;;
*)
test -z "$LD" && LD="$ac_prog"
;;
esac
;;
"")
# If it fails, then pretend we aren't using GCC.
ac_prog=ld
;;
*)
# If it is relative, then search for the first ld in PATH.
with_gnu_ld=unknown
;;
esac
elif test "$with_gnu_ld" = yes; then
AC_MSG_CHECKING([for GNU ld])
else
AC_MSG_CHECKING([for non-GNU ld])
fi
AC_CACHE_VAL(ac_cv_path_LD,
[if test -z "$LD"; then
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
for ac_dir in $PATH; do
test -z "$ac_dir" && ac_dir=.
if test -f "$ac_dir/$ac_prog"; then
ac_cv_path_LD="$ac_dir/$ac_prog"
# Check to see if the program is GNU ld. I'd rather use --version,
# but apparently some GNU ld's only accept -v.
# Break only if it was the GNU/non-GNU ld that we prefer.
if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
test "$with_gnu_ld" != no && break
else
test "$with_gnu_ld" != yes && break
fi
fi
done
IFS="$ac_save_ifs"
else
ac_cv_path_LD="$LD" # Let the user override the test with a path.
fi])
LD="$ac_cv_path_LD"
if test -n "$LD"; then
AC_MSG_RESULT($LD)
else
AC_MSG_RESULT(no)
fi
test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
AC_SUBST(LD)
AM_PROG_LD_GNU
])
AC_DEFUN(AM_PROG_LD_GNU,
[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], ac_cv_prog_gnu_ld,
[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
ac_cv_prog_gnu_ld=yes
else
ac_cv_prog_gnu_ld=no
fi])
])
# AM_PROG_NM - find the path to a BSD-compatible name lister
AC_DEFUN(AM_PROG_NM,
[AC_MSG_CHECKING([for BSD-compatible nm])
AC_CACHE_VAL(ac_cv_path_NM,
[if test -n "$NM"; then
# Let the user override the test.
ac_cv_path_NM="$NM"
else
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
for ac_dir in /usr/ucb /usr/ccs/bin $PATH /bin; do
test -z "$ac_dir" && ac_dir=.
if test -f $ac_dir/nm; then
# Check to see if the nm accepts a BSD-compat flag.
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
# nm: unknown option "B" ignored
if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
ac_cv_path_NM="$ac_dir/nm -B"
elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
ac_cv_path_NM="$ac_dir/nm -p"
else
ac_cv_path_NM="$ac_dir/nm"
fi
break
fi
done
IFS="$ac_save_ifs"
test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
fi])
NM="$ac_cv_path_NM"
AC_MSG_RESULT([$NM])
AC_SUBST(NM)
])
# AM_SYS_NM_PARSE - Check for command ro grab the raw symbol name followed
# by C symbol name from nm.
AC_DEFUN(AM_SYS_NM_PARSE,
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
AC_REQUIRE([AM_PROG_NM])dnl
# Check for command to grab the raw symbol name followed by C symbol from nm.
AC_MSG_CHECKING([command to parse $NM output])
AC_CACHE_VAL(ac_cv_sys_global_symbol_pipe,
[# These are sane defaults that work on at least a few old systems.
# {They come from Ultrix. What could be older than Ultrix?!! ;)}
changequote(,)dnl
# Character class describing NM global symbol codes.
ac_symcode='[BCDEGRSTU]'
# Regexp to match symbols that can be accessed directly from C.
ac_sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
# Transform the above into a raw symbol and a C symbol.
ac_symxfrm='\1 \1'
# Define system-specific variables.
case "$host_os" in
aix*)
ac_symcode='[BCDTU]'
;;
sunos* | cygwin32* | mingw32*)
ac_sympat='_\([_A-Za-z][_A-Za-z0-9]*\)'
ac_symxfrm='_\1 \1'
;;
irix*)
# Cannot use undefined symbols on IRIX because inlined functions mess us up.
ac_symcode='[BCDEGRST]'
;;
solaris*)
ac_symcode='[BDTU]'
;;
esac
# If we're using GNU nm, then use its standard symbol codes.
if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
ac_symcode='[ABCDGISTUW]'
fi
case "$host_os" in
cygwin32* | mingw32*)
# We do not want undefined symbols on cygwin32. The user must
# arrange to define them via -l arguments.
ac_symcode='[ABCDGISTW]'
;;
esac
changequote([,])dnl
# Write the raw and C identifiers.
ac_cv_sys_global_symbol_pipe="sed -n -e 's/^.* $ac_symcode $ac_sympat$/$ac_symxfrm/p'"
# Check to see that the pipe works correctly.
ac_pipe_works=no
cat > conftest.$ac_ext <<EOF
#ifdef __cplusplus
extern "C" {
#endif
char nm_test_var;
void nm_test_func(){}
#ifdef __cplusplus
}
#endif
int main(){nm_test_var='a';nm_test_func;return 0;}
EOF
if AC_TRY_EVAL(ac_compile); then
# Now try to grab the symbols.
ac_nlist=conftest.nm
if AC_TRY_EVAL(NM conftest.$ac_objext \| $ac_cv_sys_global_symbol_pipe \> $ac_nlist) && test -s "$ac_nlist"; then
# Try sorting and uniquifying the output.
if sort "$ac_nlist" | uniq > "$ac_nlist"T; then
mv -f "$ac_nlist"T "$ac_nlist"
ac_wcout=`wc "$ac_nlist" 2>/dev/null`
changequote(,)dnl
ac_count=`echo "X$ac_wcout" | sed -e 's,^X,,' -e 's/^[ ]*\([0-9][0-9]*\).*$/\1/'`
changequote([,])dnl
(test "$ac_count" -ge 0) 2>/dev/null || ac_count=-1
else
rm -f "$ac_nlist"T
ac_count=-1
fi
# Make sure that we snagged all the symbols we need.
if egrep ' nm_test_var$' "$ac_nlist" >/dev/null; then
if egrep ' nm_test_func$' "$ac_nlist" >/dev/null; then
cat <<EOF > conftest.c
#ifdef __cplusplus
extern "C" {
#endif
EOF
# Now generate the symbol file.
sed 's/^.* \(.*\)$/extern char \1;/' < "$ac_nlist" >> conftest.c
cat <<EOF >> conftest.c
#if defined (__STDC__) && __STDC__
# define __ptr_t void *
#else
# define __ptr_t char *
#endif
/* The number of symbols in dld_preloaded_symbols, -1 if unsorted. */
int dld_preloaded_symbol_count = $ac_count;
/* The mapping between symbol names and symbols. */
struct {
char *name;
__ptr_t address;
}
changequote(,)dnl
dld_preloaded_symbols[] =
changequote([,])dnl
{
EOF
sed 's/^\(.*\) \(.*\)$/ {"\1", (__ptr_t) \&\2},/' < "$ac_nlist" >> conftest.c
cat <<\EOF >> conftest.c
{0, (__ptr_t) 0}
};
#ifdef __cplusplus
}
#endif
EOF
# Now try linking the two files.
mv conftest.$ac_objext conftestm.$ac_objext
ac_save_LIBS="$LIBS"
ac_save_CFLAGS="$CFLAGS"
LIBS="conftestm.$ac_objext"
CFLAGS="$CFLAGS$no_builtin_flag"
if AC_TRY_EVAL(ac_link) && test -s conftest; then
ac_pipe_works=yes
else
echo "configure: failed program was:" >&AC_FD_CC
cat conftest.c >&AC_FD_CC
fi
LIBS="$ac_save_LIBS"
CFLAGS="$ac_save_CFLAGS"
else
echo "cannot find nm_test_func in $ac_nlist" >&AC_FD_CC
fi
else
echo "cannot find nm_test_var in $ac_nlist" >&AC_FD_CC
fi
else
echo "cannot run $ac_cv_sys_global_symbol_pipe" >&AC_FD_CC
fi
else
echo "$progname: failed program was:" >&AC_FD_CC
cat conftest.c >&AC_FD_CC
fi
rm -rf conftest*
# Do not use the global_symbol_pipe unless it works.
test "$ac_pipe_works" = yes || ac_cv_sys_global_symbol_pipe=
])
ac_result=yes
if test -z "$ac_cv_sys_global_symbol_pipe"; then
ac_result=no
fi
AC_MSG_RESULT($ac_result)
])
# AM_SYS_LIBTOOL_CYGWIN32 - find tools needed on cygwin32
AC_DEFUN(AM_SYS_LIBTOOL_CYGWIN32,
[AC_CHECK_TOOL(DLLTOOL, dlltool, false)
AC_CHECK_TOOL(AS, as, false)
])
# AM_SYS_SYMBOL_UNDERSCORE - does the compiler prefix global symbols
# with an underscore?
AC_DEFUN(AM_SYS_SYMBOL_UNDERSCORE,
[AC_REQUIRE([AM_PROG_NM])dnl
AC_REQUIRE([AM_SYS_NM_PARSE])dnl
AC_MSG_CHECKING([for _ prefix in compiled symbols])
AC_CACHE_VAL(ac_cv_sys_symbol_underscore,
[ac_cv_sys_symbol_underscore=no
cat > conftest.$ac_ext <<EOF
void nm_test_func(){}
int main(){nm_test_func;return 0;}
EOF
if AC_TRY_EVAL(ac_compile); then
# Now try to grab the symbols.
ac_nlist=conftest.nm
if AC_TRY_EVAL(NM conftest.$ac_objext \| $ac_cv_sys_global_symbol_pipe \> $ac_nlist) && test -s "$ac_nlist"; then
# See whether the symbols have a leading underscore.
if egrep '^_nm_test_func' "$ac_nlist" >/dev/null; then
ac_cv_sys_symbol_underscore=yes
else
if egrep '^nm_test_func ' "$ac_nlist" >/dev/null; then
:
else
echo "configure: cannot find nm_test_func in $ac_nlist" >&AC_FD_CC
fi
fi
else
echo "configure: cannot run $ac_cv_sys_global_symbol_pipe" >&AC_FD_CC
fi
else
echo "configure: failed program was:" >&AC_FD_CC
cat conftest.c >&AC_FD_CC
fi
rm -rf conftest*
])
AC_MSG_RESULT($ac_cv_sys_symbol_underscore)
if test x$ac_cv_sys_symbol_underscore = xyes; then
AC_DEFINE(WITH_SYMBOL_UNDERSCORE,1,
[define if compiled symbols have a leading underscore])
fi
])
# Configure paths for GLIB
# Owen Taylor 97-11-3
dnl AM_PATH_GLIB([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if "gmodule" or
dnl gthread is specified in MODULES, pass to glib-config
dnl
AC_DEFUN(AM_PATH_GLIB,
[dnl
dnl Get the cflags and libraries from the glib-config script
dnl
AC_ARG_WITH(glib-prefix,[ --with-glib-prefix=PFX Prefix where GLIB is installed (optional)],
glib_config_prefix="$withval", glib_config_prefix="")
AC_ARG_WITH(glib-exec-prefix,[ --with-glib-exec-prefix=PFX Exec prefix where GLIB is installed (optional)],
glib_config_exec_prefix="$withval", glib_config_exec_prefix="")
AC_ARG_ENABLE(glibtest, [ --disable-glibtest Do not try to compile and run a test GLIB program],
, enable_glibtest=yes)
if test x$glib_config_exec_prefix != x ; then
glib_config_args="$glib_config_args --exec-prefix=$glib_config_exec_prefix"
if test x${GLIB_CONFIG+set} != xset ; then
GLIB_CONFIG=$glib_config_exec_prefix/bin/glib-config
fi
fi
if test x$glib_config_prefix != x ; then
glib_config_args="$glib_config_args --prefix=$glib_config_prefix"
if test x${GLIB_CONFIG+set} != xset ; then
GLIB_CONFIG=$glib_config_prefix/bin/glib-config
fi
fi
for module in . $4
do
case "$module" in
gmodule)
glib_config_args="$glib_config_args gmodule"
;;
gthread)
glib_config_args="$glib_config_args gthread"
;;
esac
done
AC_PATH_PROG(GLIB_CONFIG, glib-config, no)
min_glib_version=ifelse([$1], ,0.99.7,$1)
AC_MSG_CHECKING(for GLIB - version >= $min_glib_version)
no_glib=""
if test "$GLIB_CONFIG" = "no" ; then
no_glib=yes
else
GLIB_CFLAGS=`$GLIB_CONFIG $glib_config_args --cflags`
GLIB_LIBS=`$GLIB_CONFIG $glib_config_args --libs`
glib_config_major_version=`$GLIB_CONFIG $glib_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
glib_config_minor_version=`$GLIB_CONFIG $glib_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
glib_config_micro_version=`$GLIB_CONFIG $glib_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
if test "x$enable_glibtest" = "xyes" ; then
ac_save_CFLAGS="$CFLAGS"
ac_save_LIBS="$LIBS"
CFLAGS="$CFLAGS $GLIB_CFLAGS"
LIBS="$GLIB_LIBS $LIBS"
dnl
dnl Now check if the installed GLIB is sufficiently new. (Also sanity
dnl checks the results of glib-config to some extent
dnl
rm -f conf.glibtest
AC_TRY_RUN([
#include <glib.h>
#include <stdio.h>
#include <stdlib.h>
int
main ()
{
int major, minor, micro;
char *tmp_version;
system ("touch conf.glibtest");
/* HP/UX 9 (%@#!) writes to sscanf strings */
tmp_version = g_strdup("$min_glib_version");
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
printf("%s, bad version string\n", "$min_glib_version");
exit(1);
}
if ((glib_major_version != $glib_config_major_version) ||
(glib_minor_version != $glib_config_minor_version) ||
(glib_micro_version != $glib_config_micro_version))
{
printf("\n*** 'glib-config --version' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
$glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
glib_major_version, glib_minor_version, glib_micro_version);
printf ("*** was found! If glib-config was correct, then it is best\n");
printf ("*** to remove the old version of GLIB. You may also be able to fix the error\n");
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
printf("*** required on your system.\n");
printf("*** If glib-config was wrong, set the environment variable GLIB_CONFIG\n");
printf("*** to point to the correct copy of glib-config, and remove the file config.cache\n");
printf("*** before re-running configure\n");
}
else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
(glib_minor_version != GLIB_MINOR_VERSION) ||
(glib_micro_version != GLIB_MICRO_VERSION))
{
printf("*** GLIB header files (version %d.%d.%d) do not match\