r2435 - in packages/trunk: . seal seal/debian seal/debian/patches
Samuel Hocevar
sho at alioth.debian.org
Thu Feb 22 00:30:33 CET 2007
Author: sho
Date: 2007-02-22 00:30:31 +0100 (Thu, 22 Feb 2007)
New Revision: 2435
Added:
packages/trunk/seal/
packages/trunk/seal/debian/
packages/trunk/seal/debian/changelog
packages/trunk/seal/debian/compat
packages/trunk/seal/debian/control
packages/trunk/seal/debian/copyright
packages/trunk/seal/debian/libseal-dev.dirs
packages/trunk/seal/debian/libseal1.dirs
packages/trunk/seal/debian/libseal1.files
packages/trunk/seal/debian/libseal1.shlibs
packages/trunk/seal/debian/patches/
packages/trunk/seal/debian/patches/100_examples_makefile.diff
packages/trunk/seal/debian/patches/101_makefile_fixes.diff
packages/trunk/seal/debian/patches/200_linux_linkage.diff
packages/trunk/seal/debian/patches/201_wait_for_sound_device.diff
packages/trunk/seal/debian/patches/202_executable_stack.diff
packages/trunk/seal/debian/patches/203_rename_bool_bool2.diff
packages/trunk/seal/debian/patches/204_rename_audio.h_seal.h.diff
packages/trunk/seal/debian/patches/205_kfreebsd.diff
packages/trunk/seal/debian/patches/300_test_path.diff
packages/trunk/seal/debian/patches/series
packages/trunk/seal/debian/rules
packages/trunk/seal/debian/seal-examples.1
Log:
seal (1.07-13) unstable; urgency=low
* Use quilt for patch management. Imported old patches.
* Move packaging to the Games team.
* debian/patches/205_kfreebsd.diff:
+ Patch from Petr Salinger to fix kFreeBSD FTBFS (Closes: #379854).
-- Sam Hocevar (Debian packages) <sam+deb at zoy.org> Thu, 22 Feb 2007 00:03:48 +0100
Property changes on: packages/trunk/seal/debian
___________________________________________________________________
Name: mergeWithUpstream
+ 1
Added: packages/trunk/seal/debian/changelog
===================================================================
--- packages/trunk/seal/debian/changelog 2007-02-20 22:14:19 UTC (rev 2434)
+++ packages/trunk/seal/debian/changelog 2007-02-21 23:30:31 UTC (rev 2435)
@@ -0,0 +1,109 @@
+seal (1.07-13) unstable; urgency=low
+
+ * Use quilt for patch management. Imported old patches.
+ * Move packaging to the Games team.
+
+ * debian/patches/205_kfreebsd.diff:
+ + Patch from Petr Salinger to fix kFreeBSD FTBFS (Closes: #379854).
+
+ -- Sam Hocevar (Debian packages) <sam+deb at zoy.org> Thu, 22 Feb 2007 00:03:48 +0100
+
+seal (1.07-12) unstable; urgency=low
+
+ * debian/control:
+ + Set policy to 3.7.2.
+ + Build-depend on debhelper (>= 4.0).
+ * debian/rules:
+ + Removed the useless configure rule.
+ + Use dh_installman instead of dh_installmanpages.
+ * src/_mixdrv.S:
+ + Add the right blurb to remove executable stack mark.
+
+ -- Sam Hocevar (Debian packages) <sam+deb at zoy.org> Sun, 21 May 2006 02:23:23 -0500
+
+seal (1.07-11) unstable; urgency=low
+
+ * debian/control:
+ + Set policy to 3.6.1.1.
+ + Slightly modified the short description.
+
+ -- Sam Hocevar (Debian packages) <sam+deb at zoy.org> Fri, 23 Jul 2004 13:16:29 +0200
+
+seal (1.07-10) unstable; urgency=low
+
+ * debian/control:
+ + Set policy to 3.6.1.0.
+ * src/linkage.h:
+ + Imported linux/linkage.h from the 2.4.22 kernel to fix FTBFS errors in
+ src/_mixdrv.S (Closes: #223204).
+
+ -- Sam Hocevar (Debian packages) <sam+deb at zoy.org> Mon, 8 Dec 2003 09:34:46 +0100
+
+seal (1.07-9) unstable; urgency=low
+
+ * Set policy to 3.5.10.
+ * Removed the libc6-dev dependency.
+ * Updated debhelper build-dependency to >=3.0.
+
+ -- Sam Hocevar (Debian packages) <sam+deb at zoy.org> Wed, 28 May 2003 01:10:32 +0200
+
+seal (1.07-8) unstable; urgency=low
+
+ * Updated standards-version.
+
+ -- Samuel Hocevar <sam at zoy.org> Sat, 15 Mar 2003 15:25:21 +0100
+
+seal (1.07-7) unstable; urgency=low
+
+ * Fixed override disparity.
+
+ -- Samuel Hocevar <sam at zoy.org> Mon, 10 Feb 2003 00:28:24 +0100
+
+seal (1.07-6) unstable; urgency=low
+
+ * Changed description strings to make lintian happy.
+ * Acknowledged -5.1 NMU (Closes: #159550).
+
+ -- Samuel Hocevar <sam at zoy.org> Mon, 10 Feb 2003 23:55:24 +0100
+
+seal (1.07-5.1) unstable; urgency=low
+
+ * NMU
+ * Use gcc, not LD to link. Closes: #159550
+
+ -- LaMont Jones <lamont at debian.org> Sun, 24 Nov 2002 22:37:15 -0700
+
+seal (1.07-5) unstable; urgency=low
+
+ * Fixed screwed upload of a wrong version.
+ * Included example programs with libseal-dev.
+ * Applied patch from Torbjorn Andersson to make libseal wait for the audio
+ device to become available before writing to it (Closes: #133862).
+
+ -- Samuel Hocevar <sam at zoy.org> Sun, 18 Aug 2002 12:59:47 +0200
+
+seal (1.07-4) unstable; urgency=low
+
+ * Fixed non-x86 build thanks to Paul Slootman <paul at debian.org>
+ (Closes: #82840).
+
+ -- Samuel Hocevar <sam at zoy.org> Thu, 25 Jan 2001 13:20:50 +0100
+
+seal (1.07-3) unstable; urgency=low
+
+ * Rebuilt package using a fixed dpkg.
+ * Added versioned dependency for debhelper. (Closes: #81862).
+
+ -- Samuel Hocevar <sam at zoy.org> Tue, 16 Jan 2001 21:42:37 -0500
+
+seal (1.07-2) unstable; urgency=low
+
+ * Never released.
+
+ -- Samuel Hocevar <sam at zoy.org> Thu, 11 Jan 2001 00:08:05 +0100
+
+seal (1.07-1) unstable; urgency=low
+
+ * Initial Release (Closes: #78651).
+
+ -- Samuel Hocevar <sam at zoy.org> Sat, 9 Dec 2000 01:35:45 +0100
Added: packages/trunk/seal/debian/compat
===================================================================
--- packages/trunk/seal/debian/compat 2007-02-20 22:14:19 UTC (rev 2434)
+++ packages/trunk/seal/debian/compat 2007-02-21 23:30:31 UTC (rev 2435)
@@ -0,0 +1 @@
+4
Added: packages/trunk/seal/debian/control
===================================================================
--- packages/trunk/seal/debian/control 2007-02-20 22:14:19 UTC (rev 2434)
+++ packages/trunk/seal/debian/control 2007-02-21 23:30:31 UTC (rev 2435)
@@ -0,0 +1,27 @@
+Source: seal
+Section: libs
+Priority: optional
+Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
+Uploaders: Sam Hocevar (Debian packages) <sam+deb at zoy.org>
+Build-Depends: debhelper (>= 4.0), quilt
+Standards-Version: 3.7.2
+
+Package: libseal1
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: synthetic audio and digital effects library
+ Synthetic Audio Library Software Developers Kit (SEAL SDK) lets you write
+ applications that are able to play digital audio waveforms and music modules
+ on many platforms. It provides low-latency mixing, hardware acceleration and
+ dynamic digital filtering for improved sound quality.
+ .
+ This package contains the libseal1 runtime library.
+
+Package: libseal-dev
+Section: libdevel
+Architecture: any
+Depends: libseal1 (= ${Source-Version})
+Description: development files for libseal, the synthetic audio library
+ This package contains the libseal.a static library and the header files
+ required to build software that uses libseal.
Added: packages/trunk/seal/debian/copyright
===================================================================
--- packages/trunk/seal/debian/copyright 2007-02-20 22:14:19 UTC (rev 2434)
+++ packages/trunk/seal/debian/copyright 2007-02-21 23:30:31 UTC (rev 2435)
@@ -0,0 +1,14 @@
+This package was debianized by Sam Hocevar <sam at zoy.org> on
+Sat, 9 Dec 2000 01:35:45 +0100.
+
+It was downloaded from http://www.sonicspot.com/sealsdk/sealsdk.html
+
+Upstream Author: Carlos Hasan <chasan at dcc.uchile.cl>
+
+Copyright: (C) 1995, 1996, 1997, 1998, 1999 Carlos Hasan
+ OS/2 Sound Driver Copyright (C) 1998 Martin Amodeo
+
+License: LGPL
+
+On Debian GNU/Linux systems, the complete text of the GNU Lesser
+General Public License can be found in `/usr/share/common-licenses/LGPL'.
Added: packages/trunk/seal/debian/libseal-dev.dirs
===================================================================
--- packages/trunk/seal/debian/libseal-dev.dirs 2007-02-20 22:14:19 UTC (rev 2434)
+++ packages/trunk/seal/debian/libseal-dev.dirs 2007-02-21 23:30:31 UTC (rev 2435)
@@ -0,0 +1,6 @@
+usr/include
+usr/lib
+usr/share/doc
+usr/share/man/man1
+usr/share/seal
+usr/bin
Added: packages/trunk/seal/debian/libseal1.dirs
===================================================================
--- packages/trunk/seal/debian/libseal1.dirs 2007-02-20 22:14:19 UTC (rev 2434)
+++ packages/trunk/seal/debian/libseal1.dirs 2007-02-21 23:30:31 UTC (rev 2435)
@@ -0,0 +1 @@
+usr/lib
Added: packages/trunk/seal/debian/libseal1.files
===================================================================
--- packages/trunk/seal/debian/libseal1.files 2007-02-20 22:14:19 UTC (rev 2434)
+++ packages/trunk/seal/debian/libseal1.files 2007-02-21 23:30:31 UTC (rev 2435)
@@ -0,0 +1 @@
+usr/lib/*.so.*
Added: packages/trunk/seal/debian/libseal1.shlibs
===================================================================
--- packages/trunk/seal/debian/libseal1.shlibs 2007-02-20 22:14:19 UTC (rev 2434)
+++ packages/trunk/seal/debian/libseal1.shlibs 2007-02-21 23:30:31 UTC (rev 2435)
@@ -0,0 +1 @@
+libseal 1 libseal1 (>=1.07-1)
Added: packages/trunk/seal/debian/patches/100_examples_makefile.diff
===================================================================
--- packages/trunk/seal/debian/patches/100_examples_makefile.diff 2007-02-20 22:14:19 UTC (rev 2434)
+++ packages/trunk/seal/debian/patches/100_examples_makefile.diff 2007-02-21 23:30:31 UTC (rev 2435)
@@ -0,0 +1,21 @@
+--- seal-1.07.orig/examples/mk
++++ seal-1.07/examples/mk
+@@ -16,7 +16,7 @@
+ Linux*)
+ CC=gcc
+ STRIP=strip
+- LIBS="-L../lib/Linux -laudio -lm" ;;
++ LIBS="-DBOOL=BOOL2 -I../src -L../lib/Linux -lseal -lm" ;;
+ FreeBSD*)
+ CC=gcc
+ STRIP=strip
+--- seal-1.07.orig/examples/Makefile
++++ seal-1.07/examples/Makefile
+@@ -0,0 +1,7 @@
++
++all:
++ ./mk
++
++clean:
++ for f in 1 2 3 4 5 6; do rm -f example$$f ; done
++
Added: packages/trunk/seal/debian/patches/101_makefile_fixes.diff
===================================================================
--- packages/trunk/seal/debian/patches/101_makefile_fixes.diff 2007-02-20 22:14:19 UTC (rev 2434)
+++ packages/trunk/seal/debian/patches/101_makefile_fixes.diff 2007-02-21 23:30:31 UTC (rev 2435)
@@ -0,0 +1,100 @@
+--- seal-1.07.orig/src/Linux/Makefile
++++ seal-1.07/src/Linux/Makefile
+@@ -4,30 +4,33 @@
+ AR = ar
+ RANLIB = ranlib
+ STRIP = strip
+-CFLAGS = -c -Wall -mpentium -O3 -D__LINUX__ -D__ASM__
+-LFLAGS = -L../lib/Linux -laudio
++CFLAGS += -Wall -O3 -D__LINUX__ -D__ASM__
++LFLAGS += -L../lib/Linux -lseal
+
+ OBJS = audio.o wavfile.o xmfile.o s3mfile.o modfile.o mtmfile.o \
+ iofile.o modeng.o nondrv.o mixdrv.o lnxdrv.o _mixdrv.o
+
+-LIB = ../lib/Linux/libaudio.a
++LIBA = ../lib/Linux/libseal.a
++LIBSO = ../lib/Linux/libseal.so.1
+
+-all : mp clean
++all : mp
+ @echo done.
+
+-mp : mp.o $(LIB)
++mp : mp.o $(LIBA) $(LIBSO)
+ $(CC) -o mp mp.o $(LFLAGS)
+ $(STRIP) mp
+
+-$(LIB) : $(OBJS)
+- $(AR) rc $(LIB) $(OBJS)
+- $(RANLIB) $(LIB)
++$(LIBA) : $(OBJS)
++ $(AR) rc $(LIBA) $(OBJS)
++ $(RANLIB) $(LIBA)
++
++$(LIBSO) : $(OBJS)
++ $(CC) -lc -Wl,-soname,libseal.so.1 -shared -o $(LIBSO) $(OBJS)
++ $(STRIP) $(LIBSO)
+
+ .c.o:
+- $(CC) $(CFLAGS) $<
++ $(CC) $(CFLAGS) -c $<
+
+ .s.o .S.o :
+- $(CC) $(CFLAGS) $<
++ $(CC) $(CFLAGS) -c $<
+
+-clean :
+- @rm -rf *.o
+--- seal-1.07.orig/src/Linux/Makefile.noasm
++++ seal-1.07/src/Linux/Makefile.noasm
+@@ -0,0 +1,36 @@
++# Makefile for Linux/386 and Voxware 2.90 operating system
++
++CC = gcc
++AR = ar
++RANLIB = ranlib
++STRIP = strip
++CFLAGS += -Wall -O2 -D__LINUX__
++LFLAGS += -L../lib/Linux -lseal
++
++OBJS = audio.o wavfile.o xmfile.o s3mfile.o modfile.o mtmfile.o \
++ iofile.o modeng.o nondrv.o mixdrv.o lnxdrv.o
++
++LIBA = ../lib/Linux/libseal.a
++LIBSO = ../lib/Linux/libseal.so.1
++
++all : mp
++ @echo done.
++
++mp : mp.o $(LIBA) $(LIBSO)
++ $(CC) -o mp mp.o $(LFLAGS)
++ $(STRIP) mp
++
++$(LIBA) : $(OBJS)
++ $(AR) rc $(LIBA) $(OBJS)
++ $(RANLIB) $(LIBA)
++
++$(LIBSO) : $(OBJS)
++ $(CC) -lc -Wl,-soname,libseal.so.1 -shared -o $(LIBSO) $(OBJS)
++ $(STRIP) $(LIBSO)
++
++.c.o:
++ $(CC) $(CFLAGS) -c $<
++
++.s.o .S.o :
++ $(CC) $(CFLAGS) -c $<
++
+--- seal-1.07.orig/src/Makefile
++++ seal-1.07/src/Makefile
+@@ -97,3 +97,10 @@
+
+ os2emx:
+ make -f OS2/Makefile
++
++clean:
++ rm -f *.o
++
++distclean: clean
++ rm -f mp
++ rm -f ../lib/*/*
Added: packages/trunk/seal/debian/patches/200_linux_linkage.diff
===================================================================
--- packages/trunk/seal/debian/patches/200_linux_linkage.diff 2007-02-20 22:14:19 UTC (rev 2434)
+++ packages/trunk/seal/debian/patches/200_linux_linkage.diff 2007-02-21 23:30:31 UTC (rev 2435)
@@ -0,0 +1,77 @@
+--- seal-1.07.orig/src/_mixdrv.S
++++ seal-1.07/src/_mixdrv.S
+@@ -18,7 +18,7 @@
+ /* assembly linkage macros */
+ #ifdef __LINUX__
+ #define __ASSEMBLY__
+-#include <linux/linkage.h>
++#include "linkage.h"
+ #else
+ #ifdef __BEOS__
+ #define ALIGN .align 4,0x90
+--- seal-1.07.orig/src/linkage.h
++++ seal-1.07/src/linkage.h
+@@ -0,0 +1,63 @@
++#ifndef _LINUX_LINKAGE_H
++#define _LINUX_LINKAGE_H
++
++#include <linux/config.h>
++
++#ifdef __cplusplus
++#define CPP_ASMLINKAGE extern "C"
++#else
++#define CPP_ASMLINKAGE
++#endif
++
++#if defined __i386__
++#define asmlinkage CPP_ASMLINKAGE __attribute__((regparm(0)))
++#elif defined __ia64__
++#define asmlinkage CPP_ASMLINKAGE __attribute__((syscall_linkage))
++#else
++#define asmlinkage CPP_ASMLINKAGE
++#endif
++
++#define SYMBOL_NAME_STR(X) #X
++#define SYMBOL_NAME(X) X
++#ifdef __STDC__
++#define SYMBOL_NAME_LABEL(X) X##:
++#else
++#define SYMBOL_NAME_LABEL(X) X/**/:
++#endif
++
++#ifdef __arm__
++#define __ALIGN .align 0
++#define __ALIGN_STR ".align 0"
++#else
++#ifdef __mc68000__
++#define __ALIGN .align 4
++#define __ALIGN_STR ".align 4"
++#else
++#ifdef __sh__
++#define __ALIGN .balign 4
++#define __ALIGN_STR ".balign 4"
++#else
++#if defined(__i386__) && defined(CONFIG_X86_ALIGNMENT_16)
++#define __ALIGN .align 16,0x90
++#define __ALIGN_STR ".align 16,0x90"
++#else
++#define __ALIGN .align 4,0x90
++#define __ALIGN_STR ".align 4,0x90"
++#endif
++#endif /* __sh__ */
++#endif /* __mc68000__ */
++#endif /* __arm__ */
++
++#ifdef __ASSEMBLY__
++
++#define ALIGN __ALIGN
++#define ALIGN_STR __ALIGN_STR
++
++#define ENTRY(name) \
++ .globl SYMBOL_NAME(name); \
++ ALIGN; \
++ SYMBOL_NAME_LABEL(name)
++
++#endif
++
++#endif
Added: packages/trunk/seal/debian/patches/201_wait_for_sound_device.diff
===================================================================
--- packages/trunk/seal/debian/patches/201_wait_for_sound_device.diff 2007-02-20 22:14:19 UTC (rev 2434)
+++ packages/trunk/seal/debian/patches/201_wait_for_sound_device.diff 2007-02-21 23:30:31 UTC (rev 2435)
@@ -0,0 +1,37 @@
+--- seal-1.07.orig/src/lnxdrv.c
++++ seal-1.07/src/lnxdrv.c
+@@ -16,6 +16,7 @@
+ #include <unistd.h>
+ #include <fcntl.h>
+ #include <sys/ioctl.h>
++#include <sys/select.h>
+ #ifdef __LINUX__
+ #include <linux/soundcard.h>
+ #endif
+@@ -25,6 +26,7 @@
+ #include "audio.h"
+ #include "drivers.h"
+
++#define DEBUG(code)
+
+ /*
+ * Linux driver buffer fragments defines
+@@ -115,6 +117,18 @@
+
+ /* send PCM samples to the DSP audio device */
+ if (Audio.lpfnAudioWave != NULL) {
++ fd_set fdset;
++ struct timeval timeout;
++
++ FD_ZERO(&fdset);
++ FD_SET(Audio.nHandle, &fdset);
++ timeout.tv_sec = 10;
++ timeout.tv_usec = 0;
++ if (select(Audio.nHandle + 1, NULL, &fdset, NULL, &timeout) <= 0) {
++ DEBUG(fprintf(stderr, "UpdateAudio: Timeout while waiting for audio device to become available\n"));
++ return AUDIO_ERROR_DEVICEBUSY;
++ }
++
+ Audio.lpfnAudioWave(Audio.aBuffer, nFrames);
+ write(Audio.nHandle, Audio.aBuffer, nFrames);
+ }
Added: packages/trunk/seal/debian/patches/202_executable_stack.diff
===================================================================
--- packages/trunk/seal/debian/patches/202_executable_stack.diff 2007-02-20 22:14:19 UTC (rev 2434)
+++ packages/trunk/seal/debian/patches/202_executable_stack.diff 2007-02-21 23:30:31 UTC (rev 2435)
@@ -0,0 +1,21 @@
+--- seal-1.07.orig/src/_mixdrv.S
++++ seal-1.07/src/_mixdrv.S
+@@ -57,7 +57,7 @@
+ nStepLo: .long 0
+ nStepHi: .long 0
+
+- .text
++ /*.text*/
+
+ /*
+ * VOID QuantAudioData08(LPVOID lpBuffer, LPLONG lpData, UINT nCount)
+@@ -2200,3 +2200,9 @@
+ .long 3b
+ .long 2b
+
++/* This is needed for ELF, otherwise the GNU linker assumes the stack is
++ * executable by default. */
++#ifdef __ELF__
++.section .note.GNU-stack,"",%progbits
++#endif
++
Added: packages/trunk/seal/debian/patches/203_rename_bool_bool2.diff
===================================================================
--- packages/trunk/seal/debian/patches/203_rename_bool_bool2.diff 2007-02-20 22:14:19 UTC (rev 2434)
+++ packages/trunk/seal/debian/patches/203_rename_bool_bool2.diff 2007-02-21 23:30:31 UTC (rev 2435)
@@ -0,0 +1,38 @@
+--- seal-1.07.orig/include/audio.h
++++ seal-1.07/include/audio.h
+@@ -34,7 +34,7 @@
+ typedef char CHAR;
+ typedef int INT;
+ typedef long LONG;
+- typedef int BOOL;
++ typedef int BOOL2;
+
+ typedef unsigned char BYTE;
+ typedef unsigned short WORD;
+@@ -45,7 +45,7 @@
+ typedef CHAR* LPCHAR;
+ typedef INT* LPINT;
+ typedef LONG* LPLONG;
+- typedef BOOL* LPBOOL;
++ typedef BOOL2* LPBOOL2;
+ typedef BYTE* LPBYTE;
+ typedef WORD* LPWORD;
+ typedef UINT* LPUINT;
+@@ -347,7 +347,7 @@
+ UINT AIAPI AGetVoiceFrequency(HAC hVoice, LPLONG lpdwFrequency);
+ UINT AIAPI AGetVoiceVolume(HAC hVoice, LPUINT lpnVolume);
+ UINT AIAPI AGetVoicePanning(HAC hVoice, LPUINT lpnPanning);
+- UINT AIAPI AGetVoiceStatus(HAC hVoice, LPBOOL lpnStatus);
++ UINT AIAPI AGetVoiceStatus(HAC hVoice, LPBOOL2 lpnStatus);
+
+ UINT AIAPI APlayModule(LPAUDIOMODULE lpModule);
+ UINT AIAPI AStopModule(VOID);
+@@ -357,7 +357,7 @@
+ UINT AIAPI ASetModulePosition(UINT nOrder, UINT nRow);
+ UINT AIAPI AGetModuleVolume(LPUINT lpnVolume);
+ UINT AIAPI AGetModulePosition(LPUINT pnOrder, LPUINT lpnRow);
+- UINT AIAPI AGetModuleStatus(LPBOOL lpnStatus);
++ UINT AIAPI AGetModuleStatus(LPBOOL2 lpnStatus);
+ UINT AIAPI ASetModuleCallback(LPFNAUDIOCALLBACK lpfnAudioCallback);
+
+ UINT AIAPI ALoadModuleFile(LPSTR lpszFileName,
Added: packages/trunk/seal/debian/patches/204_rename_audio.h_seal.h.diff
===================================================================
--- packages/trunk/seal/debian/patches/204_rename_audio.h_seal.h.diff 2007-02-20 22:14:19 UTC (rev 2434)
+++ packages/trunk/seal/debian/patches/204_rename_audio.h_seal.h.diff 2007-02-21 23:30:31 UTC (rev 2435)
@@ -0,0 +1,11 @@
+--- seal-1.07.orig/examples/check.c
++++ seal-1.07/examples/check.c
+@@ -7,7 +7,7 @@
+ #ifndef linux
+ #include <conio.h>
+ #endif
+-#include <audio.h>
++#include <seal.h>
+
+
+ /* enable filtering */
Added: packages/trunk/seal/debian/patches/205_kfreebsd.diff
===================================================================
--- packages/trunk/seal/debian/patches/205_kfreebsd.diff 2007-02-20 22:14:19 UTC (rev 2434)
+++ packages/trunk/seal/debian/patches/205_kfreebsd.diff 2007-02-21 23:30:31 UTC (rev 2435)
@@ -0,0 +1,13 @@
+Index: seal-1.07/src/lnxdrv.c
+===================================================================
+--- seal-1.07.orig/src/lnxdrv.c 2007-02-22 00:27:12.000000000 +0100
++++ seal-1.07/src/lnxdrv.c 2007-02-22 00:27:49.000000000 +0100
+@@ -18,7 +18,7 @@
+ #include <sys/ioctl.h>
+ #include <sys/select.h>
+ #ifdef __LINUX__
+-#include <linux/soundcard.h>
++#include <sys/soundcard.h>
+ #endif
+ #ifdef __FREEBSD__
+ #include <machine/soundcard.h>
Added: packages/trunk/seal/debian/patches/300_test_path.diff
===================================================================
--- packages/trunk/seal/debian/patches/300_test_path.diff 2007-02-20 22:14:19 UTC (rev 2434)
+++ packages/trunk/seal/debian/patches/300_test_path.diff 2007-02-21 23:30:31 UTC (rev 2435)
@@ -0,0 +1,72 @@
+--- seal-1.07.orig/examples/example2.c
++++ seal-1.07/examples/example2.c
+@@ -32,14 +32,14 @@
+ AOpenAudio(&info);
+
+ /* load module file */
+- ALoadModuleFile("test.s3m", &lpModule, 0);
++ ALoadModuleFile("/usr/share/seal/test.s3m", &lpModule, 0);
+
+ /* open voices and play module */
+ AOpenVoices(lpModule->nTracks);
+ APlayModule(lpModule);
+
+ /* program main execution loop */
+- printf("Playing module file, press any key to stop.\n");
++ printf("Playing module file, Ctrl-C to stop.\n");
+ while (!kbhit()) {
+ BOOL stopped;
+
+--- seal-1.07.orig/examples/example3.c
++++ seal-1.07/examples/example3.c
+@@ -41,7 +41,7 @@
+ AOpenAudio(&info);
+
+ /* load waveform file */
+- ALoadWaveFile("test.wav", &lpWave, 0);
++ ALoadWaveFile("/usr/share/seal/test.wav", &lpWave, 0);
+
+ /* open and allocate voices */
+ AOpenVoices(NUMVOICES);
+@@ -52,7 +52,7 @@
+ }
+
+ /* program main execution loop */
+- printf("Playing waveform, press any key to stop.\n");
++ printf("Playing waveform, Ctrl-C to stop.\n");
+ for (n = m = 0; !kbhit() && n < 48 - 7; n++) {
+ /* play chord C-E-G */
+ APlayVoice(hVoice[m+0], lpWave);
+--- seal-1.07.orig/examples/example4.c
++++ seal-1.07/examples/example4.c
+@@ -29,8 +29,8 @@
+ AOpenAudio(&info);
+
+ /* load module and waveform file */
+- ALoadModuleFile("test.s3m", &lpModule, 0);
+- ALoadWaveFile("test.wav", &lpWave, 0);
++ ALoadModuleFile("/usr/share/seal/test.s3m", &lpModule, 0);
++ ALoadWaveFile("/usr/share/seal/test.wav", &lpWave, 0);
+
+ /* open voices for module and waveform */
+ AOpenVoices(lpModule->nTracks + 1);
+@@ -46,7 +46,7 @@
+ ASetVoicePanning(hVoice, 128);
+
+ /* program main execution loop */
+- printf("Playing module and waveform, press any key to stop.\n");
++ printf("Playing module and waveform, Ctrl-C to stop.\n");
+ while (!kbhit()) {
+ /* update audio system */
+ AUpdateAudio();
+--- seal-1.07.orig/examples/example6.c
++++ seal-1.07/examples/example6.c
+@@ -33,7 +33,7 @@
+
+ /* show device name */
+ AGetAudioDevCaps(info.nDeviceId, &caps);
+- printf("%s detected. Press any key to exit.\n", caps.szProductName);
++ printf("%s detected. Ctrl-C to exit.\n", caps.szProductName);
+
+ /* open audio voice */
+ AOpenVoices(1);
Added: packages/trunk/seal/debian/patches/series
===================================================================
--- packages/trunk/seal/debian/patches/series 2007-02-20 22:14:19 UTC (rev 2434)
+++ packages/trunk/seal/debian/patches/series 2007-02-21 23:30:31 UTC (rev 2435)
@@ -0,0 +1,9 @@
+100_examples_makefile.diff
+101_makefile_fixes.diff
+200_linux_linkage.diff
+201_wait_for_sound_device.diff
+202_executable_stack.diff
+203_rename_bool_bool2.diff
+204_rename_audio.h_seal.h.diff
+205_kfreebsd.diff
+300_test_path.diff
Added: packages/trunk/seal/debian/rules
===================================================================
--- packages/trunk/seal/debian/rules 2007-02-20 22:14:19 UTC (rev 2434)
+++ packages/trunk/seal/debian/rules 2007-02-21 23:30:31 UTC (rev 2435)
@@ -0,0 +1,96 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# shared library versions, option 1
+version=1.0.7
+major=1
+# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
+#version=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+#major=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+build: build-stamp
+build-stamp:
+ dh_testdir
+ QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2
+ if [ $(DEB_BUILD_ARCH) = i386 ]; then \
+ cd src && $(MAKE) -f Linux/Makefile ../lib/Linux/libseal.a; \
+ else \
+ cd src && $(MAKE) -f Linux/Makefile.noasm ../lib/Linux/libseal.a; \
+ fi
+ cd src && $(MAKE) clean && cd ..
+ if [ $(DEB_BUILD_ARCH) = i386 ]; then \
+ cd src && CFLAGS=-fPIC $(MAKE) -f Linux/Makefile ../lib/Linux/libseal.so.$(major); \
+ else \
+ cd src && CFLAGS=-fPIC $(MAKE) -f Linux/Makefile.noasm ../lib/Linux/libseal.so.$(major); \
+ fi
+ ln -s libseal.so.$(major) lib/Linux/libseal.so
+ cd examples && $(MAKE) && cd ..
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+ -cd src && $(MAKE) distclean && cd ..
+ -cd examples && $(MAKE) clean && cd ..
+ QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ # Installing - ugly, yes
+ ln -s libseal.so.$(version) debian/libseal$(major)/usr/lib/libseal.so.$(major)
+ cp lib/Linux/libseal.so.$(major) debian/libseal$(major)/usr/lib/libseal.so.$(version)
+ cp lib/Linux/libseal.a debian/libseal-dev/usr/lib/libseal.a
+ ln -s libseal.so.$(major) debian/libseal-dev/usr/lib/libseal.so
+ cp src/audio.h debian/libseal-dev/usr/include/seal.h
+ # do the /usr/share/doc symlink
+ ln -s libseal$(major) debian/libseal-dev/usr/share/doc/libseal-dev
+ # install examples (not #5)
+ for f in 1 2 3 4 6 ; do cp examples/example$$f debian/libseal-dev/usr/bin/seal-example$$f ; ln -s seal-examples.1.gz debian/libseal-dev/usr/share/man/man1/seal-example$$f.1.gz ; done
+ cp examples/test.s3m examples/test.wav debian/libseal-dev/usr/share/seal/
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+# dh_installdebconf
+ dh_installdocs -plibseal$(major) README.TXT
+ dh_installdocs -plibseal-dev
+ dh_installexamples
+ dh_installmenu
+# dh_installemacsen
+# dh_installpam
+# dh_installinit
+ dh_installcron
+ dh_installman -plibseal-dev debian/seal-examples.1
+ dh_installinfo
+# dh_undocumented
+ dh_installchangelogs ChangeLog
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_makeshlibs
+ dh_installdeb
+# dh_perl
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
Property changes on: packages/trunk/seal/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Added: packages/trunk/seal/debian/seal-examples.1
===================================================================
--- packages/trunk/seal/debian/seal-examples.1 2007-02-20 22:14:19 UTC (rev 2434)
+++ packages/trunk/seal/debian/seal-examples.1 2007-02-21 23:30:31 UTC (rev 2435)
@@ -0,0 +1,38 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH SEAL-EXAMPLES 1 "August 18, 2002"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+seal-example1 \- list registered audio devices
+.P
+seal-example2 \- play a sample module file
+.P
+seal-example3 \- play a sample waveform
+.P
+seal-example4 \- play both the sample module file and the sample waveform
+.P
+seal-example6 \- play a streamed sample using triple buffering
+.SH SYNOPSIS
+.B seal-example*
+.SH DESCRIPTION
+This manual page documents briefly the
+.B seal-example*
+test programs. They do not require any arguments, you just need to launch
+them from the command line.
+.br
+.SH AUTHOR
+This manual page was written by Sam Hocevar <sam at zoy.org>, for the Debian
+GNU/Linux system (but may be used by others).
More information about the Pkg-games-commits
mailing list