Hello all! I love WMaker and I was sad when I have found, that gentoo doesn't have any soundserver for it. So - I made some ebuilds, that I want to share with You. wmsound-data - sounds needed by the sound servers wmsound - first sound server wsoundserver - second (newer as I unterstand) sound server Also I attacheted patches that I have found on PLD linux distribution cvs repository. Hope You will find it useful. Regards, Przemek
Created attachment 31418 [details] wmsound-data-1.0.0.ebuild Sound packs ('standard' and Worms2)
Created attachment 31419 [details] WMSound preferencies file
Created attachment 31420 [details] wmsound-soundset soundset file for 'standard' sounds
Created attachment 31421 [details] wmsound-0.9.5.ebuild wmsound ebuild file
Created attachment 31422 [details, diff] wmsound-ComplexProgramTargetNoMan.patch patch for wmsound (1/3) found on cvs.pld-linux.org
Created attachment 31423 [details, diff] wmsound-config.patch patch for wmsound (2/3) found on cvs.pld-linux.org
Created attachment 31424 [details, diff] wmsound-esd.patch patch for wmsound (3/3) found on cvs.pld-linux.org
Created attachment 31425 [details] wsoundserver-0.4.0.ebuild wsoundserver ebuild file
Created attachment 31426 [details, diff] WSoundServer-WINGs.patch patch for wsoundserver (1/2) found on cvs.pld-linux.org
Created attachment 31428 [details, diff] WSoundServer-rm_unknown_audiofile_compression.patch patch for wsoundserver (2/2) found on cvs.pld-linux.org
Created attachment 31429 [details] WSoundServer-config basic config file for WSoundServer
Created attachment 31430 [details] WSoundServer.xpm icon for WSoundServer
I tried to compile wsoundserver-0.4.1 but with no effect. There is some problem with libtool ( ;-) ). If You wanna try - just rename wsoundserver-0.4.0.ebuild to wsoundserver-0.4.1.ebuild If anybody knows why and what todo to aviud this particular problem - fill free to email me. Regards, Przemek PS. Sorry for my English ;-)
Created attachment 33629 [details] wsoundserver-0.4.1.ebuild (old srcs version) Great thx to John Baxter. He told me what to do whit compilation of this version of WSoundServer! This ebuild works :)
Created attachment 33630 [details] wsoundserver-0.4.1.ebuild (new srcs version) Sources for this version of WSoundServer I've found on Largo's web page. They seems to be slightly newer. I added ebuild for old version but I suggest to you using this.
Created attachment 33631 [details] wsoundserver-0.4.0.ebuild (cleanup) Small fixes. Nothing new.
Created attachment 35661 [details] wsoundserver-0.4.1.ebuild Some ebuild cleanups. I'm also moving older versions of this ebuild into obsolets of this one. Regards, Przemek
Created attachment 35662 [details] wmsound-data-1.0.0.ebuild Some ebuild cleanups. Nothing new.
Created attachment 35663 [details] wmsound-0.9.5.ebuild Again - ebuild cleanups.
wmsound and wmsound-data are now in Portage. I'm not adding wsoundserver for now because I'm not getting anything other than segfaults from its binaries... Thank you for the submission!
Hi! I'm using only wsoundserver, because wmsound is prehistory... Please tell me: - which version of libdockapp are you using? (perhaps 0.5?) - which version of wmaker are you using? I'll try to find a solution for this problem. Regards, Przemek
I'm using the (gentoo) stable versions: windowmaker-0.80.2-r2 and libdockapp-0.4.0-r1. My CFLAGS are "-march=pentium3 -Os -fomit-frame-pointer" I'll test it myself further when I have a little more time...
Regarding wsoundserver-0.4.1.ebuild: libdockapp-0.5.0-r1 is installed, but the configure phase of the emerge reports: ERROR!!! libdockapp is not installed, or could not be found. WSoundServer requires libdockapp to build. Please read INSTALL to find where you can find libdockapp, and install it first. If you already have it installed, try using the --with-libs-from flag to tell configure where the library is installed and --with-incs-from flag to tell configure where the header files are installed
It looks like wsoundserver needs some patching for libdockapp: configure:5398: checking for DAInitialize in -ldockapp configure:5431: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe -fomit-frame-pointer -L/usr/lib64 -L/usr/local/lib conftest.c -ldockapp -lX11 -lXext -lXpm >&5 /var/tmp/portage/wsoundserver-0.4.1/temp/ccgUuleS.o(.text+0x7): In function `main': : undefined reference to `DAInitialize' collect2: ld returned 1 exit status configure:5434: $? = 1 configure: failed program was: #line 5405 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char DAInitialize (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { DAInitialize (); ; return 0; } configure:5451: result: no DAInitialize is a macro defined in dockapp.h and not in the library now... The 0.4.0 patch from debian has interesting lines about it: http://ftp.debian.org/debian/pool/main/w/wsoundserver/wsoundserver_0.4.0-19.diff.gz
DAInitialize is return with newest libdockapp-0.6.0rc2 - when it will rich full number of 0.6.0, it should appers in portage, so I'm not about patch creating.... it will be useless. Just my 2 cents... Regards, Przemek
... so I'm not sure about patch creating ... it's late... sorry :) Regards, Przemek
That sounds like a good strategy to me ;)
libdockapp 0.6.0 is out, check bug #95040 With it, wsoundserver works great here
Sounds interesting... I just added libdockapp 0.6.0 to Portage, so I assume this is a good time to give wmsoundserver another try :-)
I added wsoundserver to Portage, arch masked. It compiled and merges OK, but keeps giving me segfaults... please tell me wether it works OK for you.
I've just re-emerged it from the portage tree ebuild to be sure, it works OK here. Here's my emerge info: Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.11-gentoo-r11 x86_64) ================================================================= System uname: 2.6.11-gentoo-r11 x86_64 AMD Athlon(tm) 64 Processor 3700+ Gentoo Base System version 1.6.12 ccache version 2.4 [disabled] dev-lang/python: 2.4.1 sys-apps/sandbox: 1.2.9 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18 virtual/os-headers: 2.6.11-r1 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="fr_FR@euro" LC_ALL="fr_FR" LINGUAS="fr fr_FR" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="amd64 X aalib acpi aim alsa apache2 avi bash-completion berkdb bitmap-fonts bonobo bzlib cdb cdr crypt cups curl curlwrappers dga dio dvb dvd dvdr dvdread eds encode exif fam fastcgi ffmpeg fftw flac font-server foomaticdb fortran ftp gb gcj gd gdbm gif glut gnome gnustep gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile iconv imagemagick imap imlib ipv6 jabber java joystick jp2 jpeg junit kde libcaca libwww lirc live lzw lzw-tiff mad matroska mbox mikmod mime mng motif mozilla mp3 mpeg msn nas ncurses nls nptl nptlonly nvidia objc offensive ogg oggvorbis openal opengl oscar oss pam pcmcia pcre pda pdflib perl php pic png posix ppds python qt quicktime readline real recode samba scanner sdl shared sharedmem simplexml slang snmp sockets socks5 speex spell ssl svg tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l vcd vorbis wifi wxwindows xface xine xinerama xml xml2 xmlrpc xmms xosd xpm xrandr xv xvid yahoo zlib linguas_fr linguas_fr_FR userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS
good enough for me, then :-)