From MAILER-DAEMON Wed Apr 25 10:32:06 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
id 1SN3GI-0007xw-AW
for mharc-gap-dev-discuss@gnu.org; Wed, 25 Apr 2012 10:32:06 -0400
Received: from eggs.gnu.org ([208.118.235.92]:57302)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from
) id 1SMcjD-0004cw-Pc
for gap-dev-discuss@nongnu.org; Tue, 24 Apr 2012 06:12:12 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1SMcjC-0004aR-2c
for gap-dev-discuss@nongnu.org; Tue, 24 Apr 2012 06:12:11 -0400
Received: from smtp6-g21.free.fr ([212.27.42.6]:36465)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1SMcjB-0004aA-FL
for gap-dev-discuss@nongnu.org; Tue, 24 Apr 2012 06:12:10 -0400
Received: from bipbip.octets.fr (unknown [88.125.8.102])
by smtp6-g21.free.fr (Postfix) with ESMTP id A4A5F82267
for ; Tue, 24 Apr 2012 12:12:03 +0200 (CEST)
Received: from [192.168.185.10] (unknown [192.168.185.10])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(No client certificate requested) (Authenticated sender: philou)
by bipbip.octets.fr (Postfix) with ESMTPSA id 947271520078
for ; Tue, 24 Apr 2012 12:16:29 +0200 (CEST)
Message-ID: <4F967C71.5030506@free.fr>
Date: Tue, 24 Apr 2012 12:12:01 +0200
From: Philippe Roussel
User-Agent: Mozilla/5.0 (X11; Linux i686;
rv:11.0) Gecko/20120329 Thunderbird/11.0.1
MIME-Version: 1.0
To: gap-dev-discuss@nongnu.org
X-Enigmail-Version: 1.4
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 212.27.42.6
X-Mailman-Approved-At: Wed, 25 Apr 2012 10:32:04 -0400
Subject: [Gap-dev-discuss] Cynthiune build failure
X-BeenThere: gap-dev-discuss@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Tue, 24 Apr 2012 10:12:13 -0000
Hi,
I just tried building Cynthiune from GAP cvs and got this :
> Making all for bundle WindowsMedia...
> Compiling file CWMFile.cpp ...
> CWMFile.cpp: In function =E2=80=98void WMStreamGetInfos(void***, unsign=
ed int*, long unsigned int*, unsigned int*)=E2=80=99:
> CWMFile.cpp:130:3: erreur: =E2=80=98StreamInfo=E2=80=99 was not declare=
d in this scope
> CWMFile.cpp:130:3: note: suggested alternative:
> /usr/include/avifile-0.7/avifile.h:14:7: note: =E2=80=98avm::StreamIn=
fo=E2=80=99
> CWMFile.cpp:130:15: erreur: =E2=80=98streamInfo=E2=80=99 was not declar=
ed in this scope
This is with avifile 0.7.48 (avifile-config --version) and gcc 4.6.1.
Philippe
From MAILER-DAEMON Wed Apr 25 14:03:12 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
id 1SN6Ya-0001Ze-SN
for mharc-gap-dev-discuss@gnu.org; Wed, 25 Apr 2012 14:03:12 -0400
Received: from eggs.gnu.org ([208.118.235.92]:54622)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1SN6YR-0001MH-8i
for gap-dev-discuss@nongnu.org; Wed, 25 Apr 2012 14:03:09 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1SN6YO-0002Cv-6H
for gap-dev-discuss@nongnu.org; Wed, 25 Apr 2012 14:03:02 -0400
Received: from smtp6-g21.free.fr ([212.27.42.6]:45033)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1SN6YN-0002CM-Cf
for gap-dev-discuss@nongnu.org; Wed, 25 Apr 2012 14:03:00 -0400
Received: from bipbip.octets.fr (unknown [88.125.8.102])
by smtp6-g21.free.fr (Postfix) with ESMTP id 27F7B8225D;
Wed, 25 Apr 2012 20:02:51 +0200 (CEST)
Received: from [192.168.185.10] (unknown [192.168.185.10])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(No client certificate requested) (Authenticated sender: philou)
by bipbip.octets.fr (Postfix) with ESMTPSA id 7FD691520078;
Wed, 25 Apr 2012 20:07:21 +0200 (CEST)
Message-ID: <4F983C4A.5090508@free.fr>
Date: Wed, 25 Apr 2012 20:02:50 +0200
From: Philippe Roussel
User-Agent: Mozilla/5.0 (X11; Linux i686;
rv:11.0) Gecko/20120329 Thunderbird/11.0.1
MIME-Version: 1.0
To: Sebastian Reitenbach
References:
In-Reply-To:
X-Enigmail-Version: 1.4
Content-Type: multipart/mixed; boundary="------------050307070501060103040401"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 212.27.42.6
Cc: gap-dev-discuss@nongnu.org
Subject: Re: [Gap-dev-discuss] Cynthiune build failure
X-BeenThere: gap-dev-discuss@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Wed, 25 Apr 2012 18:03:09 -0000
This is a multi-part message in MIME format.
--------------050307070501060103040401
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Le 25/04/2012 19:27, Sebastian Reitenbach a =C3=A9crit :
> =20
> On Tuesday, April 24, 2012 12:12 CEST, Philippe Roussel wrote:=20
> =20
>> Hi,
>>
>> I just tried building Cynthiune from GAP cvs and got this :
>>
>>> Making all for bundle WindowsMedia...
>>> Compiling file CWMFile.cpp ...
>>> CWMFile.cpp: In function =E2=80=98void WMStreamGetInfos(void***, unsi=
gned int*, long unsigned int*, unsigned int*)=E2=80=99:
>>> CWMFile.cpp:130:3: erreur: =E2=80=98StreamInfo=E2=80=99 was not decla=
red in this scope
>>> CWMFile.cpp:130:3: note: suggested alternative:
>>> /usr/include/avifile-0.7/avifile.h:14:7: note: =E2=80=98avm::Stream=
Info=E2=80=99
>>> CWMFile.cpp:130:15: erreur: =E2=80=98streamInfo=E2=80=99 was not decl=
ared in this scope
>>
>> This is with avifile 0.7.48 (avifile-config --version) and gcc 4.6.1.
>=20
> I don't have avifile in the OpenBSD ports tree. And on the page listed =
in the README,
> there is only avifile 0.7.45. This doesn't build for me.
>=20
> I found a avifile 0.7.48 here:
> https://launchpad.net/ubuntu/+source/avifile/1:0.7.48~20090503.ds-9.1
>=20
> but this doesn't have a ready to be run configure script. I tried a bit=
with autoconf and automake
> but gave up in the end.
>=20
> Do you maybe know whether it has a new homepage?
> Where I can download one with a working configure script?
I tried with 'apt-get source' and the archive it gives me won't build,
even if it's supposed to be the base of the ubuntu package....
> Actually, this avifile seems to use old ffmpeg, and other libraries. Si=
nce the tarball of .48 is from 2009,
> I guess the version will probably full of security related bugs. Even i=
f I get it to run, I may not want to
> link against it ;) Therefore this avifile is one of the lowest prioriti=
es for me right now.
> Maybe its more clever/better/whatever to directly link against ffmpeg? =
Don't know.
You're probably right, going for ffmpeg seems like the best move as it's
actively maintained and supporting a lot of codecs. But that probably
means more work that I'm able to do now and I don't even know if I could
do it, I know nothing about those librairies.
> Further, it seems to be c++, where I'm a total noob :(
Welcome to the club :o)
> I still did not had time to look into all the patches you sent me some =
time ago, from the Debian=20
> package of Cynthiune. IIRC, there was a patch also with regard to avif=
ile.
> Maybe can you check to get that patch applied and whether Cynthiune the=
n builds the Bundle for you?
Yeah, sorry I didn't try that first. With the attached WindowMedia patch
the bundle builds. It then fails in the MusePack bundle but is fixed
with the Musepack-new-API patch.
And now compilation stops in the OSS bundle with :
> In file included from OSSPreference.m:35:0:
> OSS.h:33:1: attention : definition of protocol =E2=80=98CynthiuneBundle=
=E2=80=99 not found [enabled by default]
> OSS.h:33:1: attention : definition of protocol =E2=80=98Output=E2=80=99=
not found [enabled by default]
> Linking bundle OSS ...
> /usr/bin/ld: cannot find -lossaudio
This one should probably be disabled by default.
Thanks,
Philippe
--------------050307070501060103040401
Content-Type: text/x-patch;
name="Musepack-new-API.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="Musepack-new-API.patch"
2009-05-19 Yavor Doganov
* Bundsles/Musepack/CNSFileHandle.h: Import .
(CNSFileHandleRetain, CNSFileHandleRelease): Remove prototypes.
(CNSFileHandleRead, CNSFileHandleTell, CNSFileHandleCanSeek)
(CNSFileHandleSeek, CNSFileHandleGetSize): Accept mpc_reader
type as first argument.
* Bundles/Musepack/CNSFileHandle.m (CNSFileHandleRetain)
(CNSFileHandleRelease): Delete; unused.
(CNSFileHandleRead, CNSFileHandleTell, CNSFileHandleCanSeek)
(CNSFileHandleSeek, CNSFileHandleGetSize): Adjust for the new
mpc_reader type.
* Bundles/Musepack/Musepack.h : Declare of
mpc_demux type.
* Bundles/Musepack/Musepack.m: Import .
(MPCReaderDelete): Use `mpc_reader_exit_stdio' instead of
`free'.
(MPCStreamInfoNew): Don't call `mpc_streaminfo_init'.
(MPCDecoderNew): Remove function.
([Musepack -streamOpen]): Initialize the decoder with the new
API function `mpc_demux_init'.
([Musepack +streamTestOpen]): Likewise.
([Musepack -readNextChunk:withSize:]): Adjust to use
`mpc_demux_decode'.
: New local variables.
: Remove.
([Musepack -readDuration]): Use `mpc_streaminfo_get_length' to
obtain the duration and return its result casted to unsigned int.
([Musepack -streamClose]): Use `mpc_demux_exit' as appropriate.
([Musepack +acceptedFileExtensions]): Recognize `.mpp'.
([Musepack -seek]): Use `mpc_demux_seek_second'.
--- cynthiune.app-0.9.5.orig/Bundles/Musepack/CNSFileHandle.h
+++ cynthiune.app-0.9.5/Bundles/Musepack/CNSFileHandle.h
@@ -23,20 +23,17 @@
#ifndef CNSFILEHANDLE_H
#define CNSFILEHANDLE_H
-#include
+#import
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
-void CNSFileHandleRetain (void *fileHandle);
-void CNSFileHandleRelease (void *fileHandle);
-
-int CNSFileHandleRead (void *fileHandle, void *ptr, int size);
-int CNSFileHandleTell (void *fileHandle);
-mpc_bool_t CNSFileHandleCanSeek (void *fileHandle);
-mpc_bool_t CNSFileHandleSeek (void *fileHandle, int offset);
-int CNSFileHandleGetSize (void *fileHandle);
+int CNSFileHandleRead (mpc_reader *fileHandle, void *ptr, int size);
+int CNSFileHandleTell (mpc_reader *fileHandle);
+mpc_bool_t CNSFileHandleCanSeek (mpc_reader *fileHandle);
+mpc_bool_t CNSFileHandleSeek (mpc_reader *fileHandle, int offset);
+int CNSFileHandleGetSize (mpc_reader *fileHandle);
#ifdef __cplusplus
}
--- cynthiune.app-0.9.5.orig/Bundles/Musepack/CNSFileHandle.m
+++ cynthiune.app-0.9.5/Bundles/Musepack/CNSFileHandle.m
@@ -26,57 +26,45 @@
#import "CNSFileHandle.h"
-void
-CNSFileHandleRetain (void *fileHandle)
-{
- [(NSFileHandle *) fileHandle retain];
-}
-
-void
-CNSFileHandleRelease (void *fileHandle)
-{
- [(NSFileHandle *) fileHandle release];
-}
-
int
-CNSFileHandleRead (void *fileHandle, void *ptr, int size)
+CNSFileHandleRead (mpc_reader *fileHandle, void *ptr, int size)
{
NSData *data;
- data = [(NSFileHandle *) fileHandle readDataOfLength: size];
+ data = [(NSFileHandle *) fileHandle->data readDataOfLength: size];
[data getBytes: ptr];
return [data length];
}
int
-CNSFileHandleTell (void *fileHandle)
+CNSFileHandleTell (mpc_reader *fileHandle)
{
- return [(NSFileHandle *) fileHandle offsetInFile];
+ return [(NSFileHandle *) fileHandle->data offsetInFile];
}
mpc_bool_t
-CNSFileHandleCanSeek (void *fileHandle)
+CNSFileHandleCanSeek (mpc_reader *fileHandle)
{
return YES;
}
mpc_bool_t
-CNSFileHandleSeek (void *fileHandle, int offset)
+CNSFileHandleSeek (mpc_reader *fileHandle, int offset)
{
- [(NSFileHandle *) fileHandle seekToFileOffset: (long long) offset];
+ [(NSFileHandle *) fileHandle->data seekToFileOffset: (long long) offset];
return YES;
}
int
-CNSFileHandleGetSize (void *fileHandle)
+CNSFileHandleGetSize (mpc_reader *fileHandle)
{
int size, where;
- where = [(NSFileHandle *) fileHandle offsetInFile];
- size = [(NSFileHandle *) fileHandle seekToEndOfFile];
- [(NSFileHandle *) fileHandle seekToFileOffset: (long long) where];
+ where = [(NSFileHandle *) fileHandle->data offsetInFile];
+ size = [(NSFileHandle *) fileHandle->data seekToEndOfFile];
+ [(NSFileHandle *) fileHandle->data seekToFileOffset: (long long) where];
return size;
}
--- cynthiune.app-0.9.5.orig/Bundles/Musepack/Musepack.h
+++ cynthiune.app-0.9.5/Bundles/Musepack/Musepack.h
@@ -31,7 +31,7 @@
mpc_reader *mpcReader;
mpc_streaminfo *mpcStreamInfo;
- mpc_decoder *mpcDecoder;
+ mpc_demux *mpcDecoder;
MPC_SAMPLE_FORMAT sampleBuffer[maxSamples];
unsigned char frameBuffer[maxSamples * 4];
--- cynthiune.app-0.9.5.orig/Bundles/Musepack/Musepack.m
+++ cynthiune.app-0.9.5/Bundles/Musepack/Musepack.m
@@ -30,7 +30,7 @@
#import
#import
-#import
+#import
#import "Musepack.h"
#import "CNSFileHandle.h"
@@ -75,7 +75,7 @@
MPCReaderDelete (mpc_reader *reader)
{
[(NSFileHandle *) reader->data release];
- free (reader);
+ mpc_reader_exit_stdio (reader);
}
static mpc_streaminfo *
@@ -84,23 +84,10 @@
mpc_streaminfo *streamInfo;
streamInfo = malloc (sizeof (mpc_streaminfo));
- mpc_streaminfo_init (streamInfo);
return streamInfo;
}
-static mpc_decoder *
-MPCDecoderNew (mpc_reader *reader, mpc_streaminfo *streamInfo)
-{
- mpc_decoder *decoder;
-
- decoder = malloc (sizeof (mpc_decoder));
- mpc_decoder_setup (decoder, reader);
- mpc_decoder_initialize (decoder, streamInfo);
-
- return decoder;
-}
-
static inline void
CopyBuffer (const MPC_SAMPLE_FORMAT *buffer, unsigned char *destBuffer,
unsigned int length)
@@ -173,10 +160,13 @@
{
[fileHandle retain];
mpcReader = MPCReaderNew (fileHandle);
+ if (!mpcReader)
+ return MPC_FALSE;
mpcStreamInfo = MPCStreamInfoNew ();
- mpc_streaminfo_read (mpcStreamInfo, mpcReader);
-
- mpcDecoder = MPCDecoderNew (mpcReader, mpcStreamInfo);
+ mpcDecoder = mpc_demux_init (mpcReader);
+ if (!mpcDecoder)
+ return MPC_FALSE;
+ mpc_demux_get_info (mpcDecoder, mpcStreamInfo);
result = YES;
}
@@ -196,6 +186,7 @@
NSFileHandle *testFileHandle;
mpc_reader *testReader;
mpc_streaminfo *testStreamInfo;
+ mpc_demux *testDecoder;
BOOL result;
testFileHandle = [NSFileHandle fileHandleForReadingAtPath: fileName];
@@ -203,9 +194,14 @@
{
testReader = MPCReaderNew (testFileHandle);
testStreamInfo = MPCStreamInfoNew ();
- result = !mpc_streaminfo_read (testStreamInfo, testReader);
- free (testStreamInfo);
- MPCReaderDelete (testReader);
+ testDecoder = mpc_demux_init (testReader);
+ if (testDecoder)
+ {
+ result = YES;
+ mpc_demux_exit (testDecoder);
+ }
+ if (testReader)
+ MPCReaderDelete (testReader);
}
else
result = NO;
@@ -222,21 +218,29 @@
withSize: (unsigned int) bufferSize
{
int bytes, status;
- unsigned int vbrAcc, vbrBits;
+ mpc_frame_info frame;
+ mpc_status err;
unsigned long frames, samples;
status = 1;
+ frame.buffer = sampleBuffer;
- if (!remaining)
+ while (!remaining)
{
- samples = mpc_decoder_decode (mpcDecoder, sampleBuffer,
- &vbrAcc, &vbrBits);
- if (!samples)
- status = 0;
- else if (samples == (unsigned long) -1)
- status = -1;
+ err = mpc_demux_decode (mpcDecoder, &frame);
+ if (err != MPC_STATUS_OK)
+ {
+ status = -1;
+ break;
+ }
+ else if (frame.bits == -1)
+ {
+ status = 0;
+ break;
+ }
else
{
+ samples = frame.samples;
frames = samples * mpcStreamInfo->channels;
CopyBuffer (sampleBuffer, frameBuffer, frames);
remaining = frames * 2;
@@ -277,7 +281,7 @@
- (unsigned int) readDuration
{
- return mpcStreamInfo->pcm_samples / mpcStreamInfo->sample_freq;
+ return (unsigned int) mpc_streaminfo_get_length (mpcStreamInfo);
}
- (void) streamClose
@@ -287,12 +291,10 @@
[fileHandle closeFile];
[fileHandle release];
}
+ if (mpcDecoder)
+ mpc_demux_exit (mpcDecoder);
if (mpcReader)
MPCReaderDelete (mpcReader);
- if (mpcStreamInfo)
- free (mpcStreamInfo);
- if (mpcDecoder)
- free (mpcDecoder);
[self _resetIVars];
}
@@ -300,7 +302,7 @@
// Player Protocol
+ (NSArray *) acceptedFileExtensions
{
- return [NSArray arrayWithObjects: @"mpc", @"mp+", nil];
+ return [NSArray arrayWithObjects: @"mpc", @"mp+", @"mpp", nil];
}
- (BOOL) isSeekable
@@ -310,7 +312,7 @@
- (void) seek: (unsigned int) aPos
{
- mpc_decoder_seek_seconds (mpcDecoder, (double) aPos);
+ mpc_demux_seek_second (mpcDecoder, (double) aPos);
}
@end
--------------050307070501060103040401
Content-Type: text/x-patch;
name="WindowsMedia.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="WindowsMedia.patch"
2009-12-14 Yavor Doganov
Fix FTBFS and adopt to the slightly changed avifile API.
* Bundles/WindowsMedia.CWMFile.h (WMStreamReadFrames): Typo fix.
* Bundles/WindowsMedia/CWMFile.cpp: Include .
(WMFileAudioStreamCount, WMStreamGetFrameSize): Cast the
result to unsigned int.
(WMStreamReadFrames) <_samplesRead, _bytesRead>: Declare of
type size_t. Amend the call to readStream->ReadFrames
accordingly.
--- cynthiune.app-0.9.5.orig/Bundles/WindowsMedia/CWMFile.cpp
+++ cynthiune.app-0.9.5/Bundles/WindowsMedia/CWMFile.cpp
@@ -26,6 +26,7 @@
#include
#include
+#include
#include "CWMFile.h"
@@ -74,7 +75,7 @@
readFile = (avm::IReadFile *) file;
- return readFile->AudioStreamCount ();
+ return (unsigned int) readFile->AudioStreamCount ();
}
WMStream *
@@ -117,7 +118,7 @@
readStream = (avm::IReadStream *) stream;
- return readStream->GetFrameSize ();
+ return (unsigned int) readStream->GetFrameSize ();
}
void
@@ -127,7 +128,7 @@
unsigned int *duration)
{
avm::IReadStream *readStream;
- StreamInfo *streamInfo;
+ avm::StreamInfo *streamInfo;
readStream = (avm::IReadStream *) stream;
streamInfo = readStream->GetStreamInfo ();
@@ -145,7 +146,7 @@
unsigned int samples, unsigned int *samplesRead,
unsigned int *bytesRead)
{
- unsigned int _samplesRead, _bytesRead;
+ size_t _samplesRead, _bytesRead;
avm::IReadStream *readStream;
int result, eof;
@@ -157,10 +158,13 @@
readStream = (avm::IReadStream *) stream;
while (!result && !_bytesRead)
- result = ((readStream->Eof ())
+ {
+ size_t tmp_bufferSize = (size_t) bufferSize;
+ result = ((readStream->Eof ())
? -1
- : readStream->ReadFrames (buffer, bufferSize, bufferSize,
- _samplesRead, _bytesRead));
+ : readStream->ReadFrames (buffer, tmp_bufferSize, tmp_bufferSize,
+ _samplesRead, _bytesRead));
+ }
*samplesRead = _samplesRead;
*bytesRead = _bytesRead;
--- cynthiune.app-0.9.5.orig/Bundles/WindowsMedia/CWMFile.h
+++ cynthiune.app-0.9.5/Bundles/WindowsMedia/CWMFile.h
@@ -47,7 +47,7 @@
unsigned int *duration);
int WMStreamReadFrames (WMStream *stream,
void *buffer, unsigned int bufferSize,
- unsigned int samples, unsigned *samplesRead,
+ unsigned int samples, unsigned int *samplesRead,
unsigned int *bytesRead);
void WMStreamSeekTime (WMStream *stream, unsigned int position);
--------------050307070501060103040401--
From MAILER-DAEMON Wed Apr 25 14:03:42 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
id 1SN6Z4-0001a5-0X
for mharc-gap-dev-discuss@gnu.org; Wed, 25 Apr 2012 14:03:42 -0400
Received: from eggs.gnu.org ([208.118.235.92]:54905)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1SN6Z1-0001Zz-Ie
for gap-dev-discuss@nongnu.org; Wed, 25 Apr 2012 14:03:41 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1SN6Yz-0002O9-Jf
for gap-dev-discuss@nongnu.org; Wed, 25 Apr 2012 14:03:39 -0400
Received: from static.19.105.40.188.clients.your-server.de
([188.40.105.19]:23756 helo=smtp.l00-bugdead-prods.de)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1SN6Yz-0002Nn-C0
for gap-dev-discuss@nongnu.org; Wed, 25 Apr 2012 14:03:37 -0400
Received: by smtp.l00-bugdead-prods.de (Postfix, from userid 659)
id 0A1186D973B; Wed, 25 Apr 2012 19:27:48 +0200 (CEST)
User-Agent: SOGoMail 1.3.14
X-Forward: 127.0.0.1
MIME-Version: 1.0
from: "Sebastian Reitenbach"
message-id:
to: "Philippe Roussel"
content-type: text/plain; charset="utf-8"
date: Wed, 25 Apr 2012 19:27:47 +0200
in-reply-to: <4F967C71.5030506@free.fr>
content-transfer-encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
recognized.
X-Received-From: 188.40.105.19
Cc: gap-dev-discuss@nongnu.org
Subject: Re: [Gap-dev-discuss] Cynthiune build failure
X-BeenThere: gap-dev-discuss@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Wed, 25 Apr 2012 18:03:41 -0000
On Tuesday, April 24, 2012 12:12 CEST, Philippe Roussel wrote:
> Hi,
>
> I just tried building Cynthiune from GAP cvs and got this :
>
> > Making all for bundle WindowsMedia...
> > Compiling file CWMFile.cpp ...
> > CWMFile.cpp: In function =E2=80=98void WMStreamGetInfos(void***, un=
signed int*, long unsigned int*, unsigned int*)=E2=80=99:
> > CWMFile.cpp:130:3: erreur: =E2=80=98StreamInfo=E2=80=99 was not dec=
lared in this scope
> > CWMFile.cpp:130:3: note: suggested alternative:
> > /usr/include/avifile-0.7/avifile.h:14:7: note: =E2=80=98avm::Stre=
amInfo=E2=80=99
> > CWMFile.cpp:130:15: erreur: =E2=80=98streamInfo=E2=80=99 was not de=
clared in this scope
>
> This is with avifile 0.7.48 (avifile-config --version) and gcc 4.6.1.=
I don't have avifile in the OpenBSD ports tree. And on the page listed =
in the README,
there is only avifile 0.7.45. This doesn't build for me.
I found a avifile 0.7.48 here:
https://launchpad.net/ubuntu/+source/avifile/1:0.7.48~20090503.ds-9.1
but this doesn't have a ready to be run configure script. I tried a bit=
with autoconf and automake
but gave up in the end.
Do you maybe know whether it has a new homepage?
Where I can download one with a working configure script?
Actually, this avifile seems to use old ffmpeg, and other libraries. Si=
nce the tarball of .48 is from 2009,
I guess the version will probably full of security related bugs. Even i=
f I get it to run, I may not want to
link against it ;) Therefore this avifile is one of the lowest prioriti=
es for me right now.
Maybe its more clever/better/whatever to directly link against ffmpeg? =
Don't know.
Further, it seems to be c++, where I'm a total noob :(
I still did not had time to look into all the patches you sent me some =
time ago, from the Debian
package of Cynthiune. IIRC, there was a patch also with regard to avif=
ile.
Maybe can you check to get that patch applied and whether Cynthiune the=
n builds the Bundle for you?
thanks,
Sebastian
>
> Philippe
>
From MAILER-DAEMON Thu Apr 26 10:13:40 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
id 1SNPS0-0007s6-TI
for mharc-gap-dev-discuss@gnu.org; Thu, 26 Apr 2012 10:13:40 -0400
Received: from eggs.gnu.org ([208.118.235.92]:57246)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1SNPRt-0007ry-Tj
for gap-dev-discuss@nongnu.org; Thu, 26 Apr 2012 10:13:39 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1SNPRl-0005FF-3C
for gap-dev-discuss@nongnu.org; Thu, 26 Apr 2012 10:13:33 -0400
Received: from static.19.105.40.188.clients.your-server.de
([188.40.105.19]:33376 helo=smtp.l00-bugdead-prods.de)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1SNPRk-0005F5-OA
for gap-dev-discuss@nongnu.org; Thu, 26 Apr 2012 10:13:24 -0400
Received: by smtp.l00-bugdead-prods.de (Postfix, from userid 659)
id E8AFB6D97C6; Thu, 26 Apr 2012 16:13:22 +0200 (CEST)
User-Agent: SOGoMail 1.3.14
X-Forward: 127.0.0.1
MIME-Version: 1.0
from: "Sebastian Reitenbach"
message-id:
to: "Philippe Roussel"
content-type: text/plain; charset="utf-8"
date: Thu, 26 Apr 2012 16:13:21 +0200
in-reply-to: <4F983C4A.5090508@free.fr>
content-transfer-encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
recognized.
X-Received-From: 188.40.105.19
Cc: gap-dev-discuss@nongnu.org
Subject: Re: [Gap-dev-discuss] Cynthiune build failure
X-BeenThere: gap-dev-discuss@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Thu, 26 Apr 2012 14:13:40 -0000
On Wednesday, April 25, 2012 20:02 CEST, Philippe Roussel wrote:
> Le 25/04/2012 19:27, Sebastian Reitenbach a =C3=A9crit :
> >
> > On Tuesday, April 24, 2012 12:12 CEST, Philippe Roussel wrote:
> >
> >> Hi,
> >>
> >> I just tried building Cynthiune from GAP cvs and got this :
> >>
> >>> Making all for bundle WindowsMedia...
> >>> Compiling file CWMFile.cpp ...
> >>> CWMFile.cpp: In function =E2=80=98void WMStreamGetInfos(void***, =
unsigned int*, long unsigned int*, unsigned int*)=E2=80=99:
> >>> CWMFile.cpp:130:3: erreur: =E2=80=98StreamInfo=E2=80=99 was not d=
eclared in this scope
> >>> CWMFile.cpp:130:3: note: suggested alternative:
> >>> /usr/include/avifile-0.7/avifile.h:14:7: note: =E2=80=98avm::St=
reamInfo=E2=80=99
> >>> CWMFile.cpp:130:15: erreur: =E2=80=98streamInfo=E2=80=99 was not =
declared in this scope
> >>
> >> This is with avifile 0.7.48 (avifile-config --version) and gcc 4.6=
.1.
> >
> > I don't have avifile in the OpenBSD ports tree. And on the page lis=
ted in the README,
> > there is only avifile 0.7.45. This doesn't build for me.
> >
> > I found a avifile 0.7.48 here:
> > https://launchpad.net/ubuntu/+source/avifile/1:0.7.48~20090503.ds-9=
.1
> >
> > but this doesn't have a ready to be run configure script. I tried a=
bit with autoconf and automake
> > but gave up in the end.
> >
> > Do you maybe know whether it has a new homepage?
> > Where I can download one with a working configure script?
>
> I tried with 'apt-get source' and the archive it gives me won't build=
,
> even if it's supposed to be the base of the ubuntu package....
>
> > Actually, this avifile seems to use old ffmpeg, and other libraries=
. Since the tarball of .48 is from 2009,
> > I guess the version will probably full of security related bugs. Ev=
en if I get it to run, I may not want to
> > link against it ;) Therefore this avifile is one of the lowest prio=
rities for me right now.
> > Maybe its more clever/better/whatever to directly link against ffmp=
eg? Don't know.
>
> You're probably right, going for ffmpeg seems like the best move as i=
t's
> actively maintained and supporting a lot of codecs. But that probably=
> means more work that I'm able to do now and I don't even know if I co=
uld
> do it, I know nothing about those librairies.
>
> > Further, it seems to be c++, where I'm a total noob :(
>
> Welcome to the club :o)
>
> > I still did not had time to look into all the patches you sent me s=
ome time ago, from the Debian
> > package of Cynthiune. IIRC, there was a patch also with regard to =
avifile.
> > Maybe can you check to get that patch applied and whether Cynthiune=
then builds the Bundle for you?
>
> Yeah, sorry I didn't try that first. With the attached WindowMedia pa=
tch
> the bundle builds. It then fails in the MusePack bundle but is fixed
=
> with the Musepack-new-API patch.
Which version of libmpcdec do you have installed. The Musepack Bundle w=
orks for me.
I guess we have something different here. I have: libmpcdec-1.2.6 insta=
lled.
So, I'll add the WindowsMedia patch, with the Musepack patch, I'll prob=
ably need to get
it to work with some #ifdefs to support both versions.
>
> And now compilation stops in the OSS bundle with :
>
> > In file included from OSSPreference.m:35:0:
> > OSS.h:33:1: attention : definition of protocol =E2=80=98CynthiuneBu=
ndle=E2=80=99 not found [enabled by default]
> > OSS.h:33:1: attention : definition of protocol =E2=80=98Output=E2=80=
=99 not found [enabled by default]
> > Linking bundle OSS ...
> > /usr/bin/ld: cannot find -lossaudio
>
> This one should probably be disabled by default.
I added it for me to testing on OpenBSD, there I need to link against i=
t, when I want to use OSS.
I'll make that optional.
thanks,
Sebastian
>
> Thanks,
> Philippe
From MAILER-DAEMON Thu Apr 26 10:32:50 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
id 1SNPkY-0002qP-DY
for mharc-gap-dev-discuss@gnu.org; Thu, 26 Apr 2012 10:32:50 -0400
Received: from eggs.gnu.org ([208.118.235.92]:53054)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1SNPkR-0002qJ-6Z
for gap-dev-discuss@nongnu.org; Thu, 26 Apr 2012 10:32:48 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1SNPkL-0005iu-T6
for gap-dev-discuss@nongnu.org; Thu, 26 Apr 2012 10:32:42 -0400
Received: from smtp6-g21.free.fr ([212.27.42.6]:47429)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1SNPkL-0005iQ-9X
for gap-dev-discuss@nongnu.org; Thu, 26 Apr 2012 10:32:37 -0400
Received: from bipbip.octets.fr (unknown [88.125.8.102])
by smtp6-g21.free.fr (Postfix) with ESMTP id 93A4682329;
Thu, 26 Apr 2012 16:32:30 +0200 (CEST)
Received: from [192.168.185.10] (unknown [192.168.185.10])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(No client certificate requested) (Authenticated sender: philou)
by bipbip.octets.fr (Postfix) with ESMTPSA id 6F4661520078;
Thu, 26 Apr 2012 16:37:02 +0200 (CEST)
Message-ID: <4F995C7C.5080809@free.fr>
Date: Thu, 26 Apr 2012 16:32:28 +0200
From: Philippe Roussel
User-Agent: Mozilla/5.0 (X11; Linux i686;
rv:11.0) Gecko/20120329 Thunderbird/11.0.1
MIME-Version: 1.0
To: Sebastian Reitenbach
References:
In-Reply-To:
X-Enigmail-Version: 1.4
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 212.27.42.6
Cc: gap-dev-discuss@nongnu.org
Subject: Re: [Gap-dev-discuss] Cynthiune build failure
X-BeenThere: gap-dev-discuss@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Thu, 26 Apr 2012 14:32:49 -0000
Le 26/04/2012 16:13, Sebastian Reitenbach a =C3=A9crit :
>> Yeah, sorry I didn't try that first. With the attached WindowMedia pat=
ch
>> the bundle builds. It then fails in the MusePack bundle but is fixed
>=20
>> with the Musepack-new-API patch.
>=20
> Which version of libmpcdec do you have installed. The Musepack Bundle w=
orks for me.
> I guess we have something different here. I have: libmpcdec-1.2.6 insta=
lled.
The library is called libmpcdec6 and comes from a bigger package
containing multiple librairies called libmpcs. libmpcdec version seems
to be 1.3.0, from its changelog :
1.3.0
* first sv8 release
* major changes in the API (decoder and demuxer are split)
1.2.3
* Reduced memory usage and code size. Patch by Peter Pawlowski
1.2.2
* Fixed compilation under OpenBSD
* Unix EOF again
Thanks,
Philippe
From MAILER-DAEMON Sun Apr 29 11:29:56 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
id 1SOW4S-0005y9-VI
for mharc-gap-dev-discuss@gnu.org; Sun, 29 Apr 2012 11:29:56 -0400
Received: from eggs.gnu.org ([208.118.235.92]:52811)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1SOW4Q-0005wv-F4
for gap-dev-discuss@nongnu.org; Sun, 29 Apr 2012 11:29:55 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1SOW4O-00078X-3a
for gap-dev-discuss@nongnu.org; Sun, 29 Apr 2012 11:29:54 -0400
Received: from static.19.105.40.188.clients.your-server.de
([188.40.105.19]:29981 helo=smtp.l00-bugdead-prods.de)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1SOW4N-00077n-Sk
for gap-dev-discuss@nongnu.org; Sun, 29 Apr 2012 11:29:52 -0400
Received: by smtp.l00-bugdead-prods.de (Postfix, from userid 659)
id 840E06D99BC; Sun, 29 Apr 2012 17:29:49 +0200 (CEST)
User-Agent: SOGoMail 1.3.14
X-Forward: 127.0.0.1
MIME-Version: 1.0
from: "Sebastian Reitenbach"
message-id: <2085-4f9d5e80-37-6b8b4580@206343236>
to: "Philippe Roussel"
content-type: text/plain; charset="utf-8"
date: Sun, 29 Apr 2012 17:29:49 +0200
in-reply-to: <4F995C7C.5080809@free.fr>
content-transfer-encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
recognized.
X-Received-From: 188.40.105.19
Cc: gap-dev-discuss@nongnu.org
Subject: Re: [Gap-dev-discuss] Cynthiune build failure
X-BeenThere: gap-dev-discuss@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 29 Apr 2012 15:29:55 -0000
Hi Philippe,
On Thursday, April 26, 2012 16:32 CEST, Philippe Roussel wrote:
> Le 26/04/2012 16:13, Sebastian Reitenbach a =C3=A9crit :
> >> Yeah, sorry I didn't try that first. With the attached WindowMedia=
patch
> >> the bundle builds. It then fails in the MusePack bundle but is fix=
ed
> >
> >> with the Musepack-new-API patch.
> >
> > Which version of libmpcdec do you have installed. The Musepack Bund=
le works for me.
> > I guess we have something different here. I have: libmpcdec-1.2.6 i=
nstalled.
>
> The library is called libmpcdec6 and comes from a bigger package
> containing multiple librairies called libmpcs. libmpcdec version seem=
s
> to be 1.3.0, from its changelog :
I applied the WindowsMedia patch as is, and made linking the OSS output=
bundle against libossaudio only on OpenBSD. I took the Musepack patch, =
and
massaged it with a couple of #ifdefs to be able to build against "old" =
Musepack
API and the new one. The new API is the default. To build against the o=
ld
one, you have to put ADDITIONAL=5FOBJCFLAGS=3D-DMUSEPACK=5FAPI=5F126 in=
the make environment like this:
ADDITIONAL=5FOBJCFLAGS=3D-DMUSEPACK=5FAPI=5F126 gmake install
Further I removed this old GNUSTEP=5FiNSTALLATION=5FDIR thingie from th=
e
main GNUmakefile.
can you check how Cynthiune from CVS now works for you?
Sebastian
>
> 1.3.0
> * first sv8 release
> * major changes in the API (decoder and demuxer are split)
>
> 1.2.3
> * Reduced memory usage and code size. Patch by Peter Pawlowski
>
> 1.2.2
> * Fixed compilation under OpenBSD
> * Unix EOF again
>
>
> Thanks,
> Philippe
From MAILER-DAEMON Mon Apr 30 02:57:20 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
id 1SOkXw-0004Jn-JW
for mharc-gap-dev-discuss@gnu.org; Mon, 30 Apr 2012 02:57:20 -0400
Received: from eggs.gnu.org ([208.118.235.92]:44062)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1SOkXs-0004Jg-V5
for gap-dev-discuss@nongnu.org; Mon, 30 Apr 2012 02:57:19 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1SOkXq-0008H7-W2
for gap-dev-discuss@nongnu.org; Mon, 30 Apr 2012 02:57:16 -0400
Received: from smtp6-g21.free.fr ([212.27.42.6]:57694)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1SOkXq-0008Gv-Cg
for gap-dev-discuss@nongnu.org; Mon, 30 Apr 2012 02:57:14 -0400
Received: from bipbip.octets.fr (unknown [88.125.8.102])
by smtp6-g21.free.fr (Postfix) with ESMTP id A85E7822FE;
Mon, 30 Apr 2012 08:57:06 +0200 (CEST)
Received: from [192.168.185.10] (unknown [192.168.185.10])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(No client certificate requested) (Authenticated sender: philou)
by bipbip.octets.fr (Postfix) with ESMTPSA id 75E721520068;
Mon, 30 Apr 2012 09:01:47 +0200 (CEST)
Message-ID: <4F9E37C0.7000001@free.fr>
Date: Mon, 30 Apr 2012 08:57:04 +0200
From: Philippe Roussel
User-Agent: Mozilla/5.0 (X11; Linux i686;
rv:11.0) Gecko/20120329 Thunderbird/11.0.1
MIME-Version: 1.0
To: Sebastian Reitenbach
References: <2085-4f9d5e80-37-6b8b4580@206343236>
In-Reply-To: <2085-4f9d5e80-37-6b8b4580@206343236>
X-Enigmail-Version: 1.4
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 212.27.42.6
Cc: gap-dev-discuss@nongnu.org
Subject: Re: [Gap-dev-discuss] Cynthiune build failure
X-BeenThere: gap-dev-discuss@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Mon, 30 Apr 2012 06:57:19 -0000
Hi,
Le 29/04/2012 17:29, Sebastian Reitenbach a =C3=A9crit :
> Hi Philippe,
>=20
> On Thursday, April 26, 2012 16:32 CEST, Philippe Roussel wrote:=20
> =20
>> Le 26/04/2012 16:13, Sebastian Reitenbach a =C3=A9crit :
>>>> Yeah, sorry I didn't try that first. With the attached WindowMedia p=
atch
>>>> the bundle builds. It then fails in the MusePack bundle but is fixed
>>>
>>>> with the Musepack-new-API patch.
>>>
>>> Which version of libmpcdec do you have installed. The Musepack Bundle=
works for me.
>>> I guess we have something different here. I have: libmpcdec-1.2.6 ins=
talled.
>>
>> The library is called libmpcdec6 and comes from a bigger package
>> containing multiple librairies called libmpcs. libmpcdec version seems
>> to be 1.3.0, from its changelog :
>=20
> I applied the WindowsMedia patch as is, and made linking the OSS output
> bundle against libossaudio only on OpenBSD. I took the Musepack patch, =
and
> massaged it with a couple of #ifdefs to be able to build against "old" =
Musepack
> API and the new one. The new API is the default. To build against the o=
ld
> one, you have to put ADDITIONAL_OBJCFLAGS=3D-DMUSEPACK_API_126 in
> the make environment like this:
>=20
> ADDITIONAL_OBJCFLAGS=3D-DMUSEPACK_API_126 gmake install
>=20
> Further I removed this old GNUSTEP_iNSTALLATION_DIR thingie from the=20
> main GNUmakefile.
>=20
> can you check how Cynthiune from CVS now works for you?
Well, it gets further :o)
With the following patch (maybe a configure script will be needed ?), I
can run 'make disable-arts=3Dyes' but linking fails with :
> Linking app Cynthiune ...
> ./obj/Cynthiune.obj/CynthiuneController.m.o:(.data.rel+0x4): undefined =
reference to `__objc_class_name_MailService'
> ./obj/Cynthiune.obj/PlaylistController.m.o: In function `-[PlaylistCont=
roller _feedPlaylistWithTreeOfFilenames:]':
> /home/philou/sources/gap/user-apps/Cynthiune/PlaylistController.m:490: =
undefined reference to `fileIsAReadableDirectory'
> /home/philou/sources/gap/user-apps/Cynthiune/PlaylistController.m:495: =
undefined reference to `fileIsAcceptable'
> ./obj/Cynthiune.obj/PlaylistViewController.m.o: In function `-[Playlist=
ViewController _acceptFilesInPasteboard:]':
> /home/philou/sources/gap/user-apps/Cynthiune/PlaylistViewController.m:4=
62: undefined reference to `fileIsAReadableDirectory'
> ./obj/Cynthiune.obj/Song.m.o: In function `-[Song _refreshSongInfos]':
> /home/philou/sources/gap/user-apps/Cynthiune/Song.m:221: undefined refe=
rence to `makeTitleFromFilename'
> ./obj/Cynthiune.obj/Song.m.o: In function `-[Song _readInfos]':
> /home/philou/sources/gap/user-apps/Cynthiune/Song.m:236: undefined refe=
rence to `fileIsAcceptable'
> ./obj/Cynthiune.obj/Song.m.o: In function `-[Song setFilename:]':
> /home/philou/sources/gap/user-apps/Cynthiune/Song.m:259: undefined refe=
rence to `fileIsAcceptable'
> ./obj/Cynthiune.obj/Song.m.o: In function `-[Song reverseCompareByPlayl=
istRepresentation:]':
> /home/philou/sources/gap/user-apps/Cynthiune/Song.m:460: undefined refe=
rence to `reverseComparisonResult'
> ./obj/Cynthiune.obj/Song.m.o: In function `-[Song reverseCompareByDurat=
ion:]':
> /home/philou/sources/gap/user-apps/Cynthiune/Song.m:471: undefined refe=
rence to `reverseComparisonResult'
> collect2: ld a retourn=C3=A9 1 code d'=C3=A9tat d'ex=C3=A9cution
> make[3]: *** [Cynthiune.app/./Cynthiune] Erreur 1
> make[2]: *** [internal-app-run-compile-submake] Erreur 2
> make[1]: *** [Cynthiune.all.app.variables] Erreur 2
> make: *** [internal-all] Erreur 2
diff -u -r1.2 SongInspectorController.m
--- SongInspectorController.m 25 Mar 2012 09:20:43 -0000 1.2
+++ SongInspectorController.m 30 Apr 2012 06:47:13 -0000
@@ -34,11 +34,7 @@
#import
#import
-#ifdef __OpenBSD__
#import
-#else
-#import
-#endif
#import
#import
Philippe
From MAILER-DAEMON Mon Apr 30 08:30:35 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
id 1SOpkR-0007Yt-Ud
for mharc-gap-dev-discuss@gnu.org; Mon, 30 Apr 2012 08:30:35 -0400
Received: from eggs.gnu.org ([208.118.235.92]:40982)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1SOpkP-0007Yh-F8
for gap-dev-discuss@nongnu.org; Mon, 30 Apr 2012 08:30:34 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1SOpkN-0002XJ-NY
for gap-dev-discuss@nongnu.org; Mon, 30 Apr 2012 08:30:33 -0400
Received: from outrelay06.libero.it ([212.52.84.110]:51127)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1SOpkN-0002Wv-Dj
for gap-dev-discuss@nongnu.org; Mon, 30 Apr 2012 08:30:31 -0400
X-CTCH-Spam: Unknown
X-CTCH-RefID: str=0001.0A0B020D.4F9E85E5.0037,ss=1,re=0.000,fgs=0
X-libjamoibt: 1823
Received: from ithil.westernesse.arda (78.152.126.2) by outrelay06.libero.it
(8.6.033) (authenticated as riccardo.mottola@libero.it)
id 4F5A0F48085E868D for gap-dev-discuss@nongnu.org;
Mon, 30 Apr 2012 14:30:29 +0200
Message-ID: <4F9E85DF.7060306@libero.it>
Date: Mon, 30 Apr 2012 14:30:23 +0200
From: Riccardo Mottola
User-Agent: Mozilla/5.0 (X11; OpenBSD i386;
rv:5.0) Gecko/20110815 Firefox/5.0 SeaMonkey/2.2
MIME-Version: 1.0
To: gap-dev-discuss@nongnu.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 212.52.84.110
Subject: [Gap-dev-discuss] Cynthiune on OpenBSD
X-BeenThere: gap-dev-discuss@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Mon, 30 Apr 2012 12:30:34 -0000
Hi,
I compiled Cynthiune on OpenBSD! It is the first time I haev a
successful compilation of it on many platforms I tried. I disabled osme
modules by editing them in the GNUMakefile.
I loaded some MP3's, attempt to play one, the CPU goes to a high
percentage and the application seems frozen, the user interface is not
reactive.I compiled the OSS and sndio module and I am using sndio.
I have to kill Cynthiune with -9!
On the log I see this:
2012-04-30 14:21:43.455 Cynthiune[28489] prepareDevice got called
2012-04-30 14:21:43.514 Cynthiune[28489] successfully set parameters
2012-04-30 14:21:43.517 Cynthiune[28489] OpenDevice got called
2012-04-30 14:21:43.519 Cynthiune[28489] OpenDevice got called, hdl was set
2012-04-30 14:21:43.564 Cynthiune[28489] WARNING your program is
becoming multi-threaded, but you are using an ObjectiveC runtime library
which does not have a
thread-safe implementation of the +initialize method. Please see
README.initialize for more information.
What's your take on this Sebastian? For the libraries I used those of
the current ports, binaries.
Riccardo
From MAILER-DAEMON Mon Apr 30 09:05:43 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
id 1SOqIR-0007g1-AD
for mharc-gap-dev-discuss@gnu.org; Mon, 30 Apr 2012 09:05:43 -0400
Received: from eggs.gnu.org ([208.118.235.92]:55493)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1SOqIK-0007fm-Bz
for gap-dev-discuss@nongnu.org; Mon, 30 Apr 2012 09:05:42 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1SOqIA-0006V9-3V
for gap-dev-discuss@nongnu.org; Mon, 30 Apr 2012 09:05:35 -0400
Received: from static.19.105.40.188.clients.your-server.de
([188.40.105.19]:22904 helo=smtp.l00-bugdead-prods.de)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1SOqI9-0006UD-SZ
for gap-dev-discuss@nongnu.org; Mon, 30 Apr 2012 09:05:26 -0400
Received: by smtp.l00-bugdead-prods.de (Postfix, from userid 659)
id C29E96D9A7B; Mon, 30 Apr 2012 15:05:22 +0200 (CEST)
User-Agent: SOGoMail 1.3.14
X-Forward: 127.0.0.1
MIME-Version: 1.0
from: "Sebastian Reitenbach"
message-id: <2085-4f9e8e00-4b-6b8b4580@206343224>
to: "Riccardo Mottola"
content-type: text/plain; charset="utf-8"
date: Mon, 30 Apr 2012 15:05:22 +0200
in-reply-to: <4F9E85DF.7060306@libero.it>
content-transfer-encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
recognized.
X-Received-From: 188.40.105.19
Cc: gap-dev-discuss@nongnu.org
Subject: Re: [Gap-dev-discuss] Cynthiune on OpenBSD
X-BeenThere: gap-dev-discuss@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Mon, 30 Apr 2012 13:05:42 -0000
On Monday, April 30, 2012 14:30 CEST, Riccardo Mottola wrote:
> Hi,
>
> I compiled Cynthiune on OpenBSD! It is the first time I haev a
> successful compilation of it on many platforms I tried. I disabled osme
> modules by editing them in the GNUMakefile.
>
> I loaded some MP3's, attempt to play one, the CPU goes to a high
> percentage and the application seems frozen, the user interface is not
> reactive.I compiled the OSS and sndio module and I am using sndio.
The sndio output bundle still has some issues unfortunately. When you
shutdown sndiod, OSS output bundle should just work. Or when you install
esound or arts, should also work, I tested with both.
All bundles but the WindowsMedia one, because the dependencies are
not in the ports tree, should compile and work.
ADDITIONAL_OBJCFLAGS=-DMUSEPACK_API_126 gmake disable-windowsmedia=yes install
Since sndiod is the preferred way to go on OpenBSD, I still need to look at it.
First trying to get the issues fixed that Philippe is reporting ;)
>
> I have to kill Cynthiune with -9!
For me, Cynthiune doesn't freeze, I don't need to kill it with -9.
Usually for me what I see is, that I hear no sound,
and it goes very fast through the mp3. Then it has the wrong bit rate and channels.
>
> On the log I see this:
>
> 2012-04-30 14:21:43.455 Cynthiune[28489] prepareDevice got called
> 2012-04-30 14:21:43.514 Cynthiune[28489] successfully set parameters
> 2012-04-30 14:21:43.517 Cynthiune[28489] OpenDevice got called
> 2012-04-30 14:21:43.519 Cynthiune[28489] OpenDevice got called, hdl was set
This debug output will hopefully go away soon, when I figured out, how
to make the sndio Bundle work correctly.
> 2012-04-30 14:21:43.564 Cynthiune[28489] WARNING your program is
> becoming multi-threaded, but you are using an ObjectiveC runtime library
> which does not have a
> thread-safe implementation of the +initialize method. Please see
> README.initialize for more information.
>
> What's your take on this Sebastian? For the libraries I used those of
> the current ports, binaries.
I also took them all from the ports tree, should be fine. What platform are you on?
I386 or maybe macppc?
Sebastian
>
>
> Riccardo
>
From MAILER-DAEMON Mon Apr 30 09:34:25 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
id 1SOqkD-00047a-Ir
for mharc-gap-dev-discuss@gnu.org; Mon, 30 Apr 2012 09:34:25 -0400
Received: from eggs.gnu.org ([208.118.235.92]:55302)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1SOqk9-00047J-W5
for gap-dev-discuss@nongnu.org; Mon, 30 Apr 2012 09:34:23 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1SOqk7-0000Rh-EF
for gap-dev-discuss@nongnu.org; Mon, 30 Apr 2012 09:34:21 -0400
Received: from static.19.105.40.188.clients.your-server.de
([188.40.105.19]:47230 helo=smtp.l00-bugdead-prods.de)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1SOqk7-0000OD-1g
for gap-dev-discuss@nongnu.org; Mon, 30 Apr 2012 09:34:19 -0400
Received: by smtp.l00-bugdead-prods.de (Postfix, from userid 659)
id 2D45E6D9A88; Mon, 30 Apr 2012 15:34:17 +0200 (CEST)
User-Agent: SOGoMail 1.3.14
X-Forward: 127.0.0.1
MIME-Version: 1.0
from: "Sebastian Reitenbach"
message-id: <2085-4f9e9500-51-6b8b4580@206343227>
to: "Philippe Roussel" ,
content-type: text/plain; charset="utf-8"
date: Mon, 30 Apr 2012 15:34:16 +0200
in-reply-to: <4F9E8175.2090500@free.fr>
content-transfer-encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
recognized.
X-Received-From: 188.40.105.19
Subject: Re: [Gap-dev-discuss] Cynthiune build failure
X-BeenThere: gap-dev-discuss@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Mon, 30 Apr 2012 13:34:24 -0000
Hi Philippe,
On Monday, April 30, 2012 14:11 CEST, Philippe Roussel wrote:
> Le 30/04/2012 13:48, Sebastian Reitenbach a =C3=A9crit :
> >
> > I'll just remove the musicbrainz header inclusion for now.
> >
> >
> > For me, linking works when I do:
> > ADDITIONAL=5FOBJCFLAGS=3D-DMUSEPACK=5FAPI=5F126 gmake disable-arts=
=3Dyes disable-windowsmedia=3Dyes messages=3Dyes
> >
> > Do you can run it again with make messages=3Dyes to see what really=
happens?
> >
> > For me it looks like this, and just works:
> > gcc -Wl,-E -LFrameworks/Cynthiune/Cynthiune.framework/Versions/Cu=
rrent -lCynthiune -pthread -fgnu-runtime -o Cynthiune.app/./Cynthi=
une \
> > ./obj/Cynthiune.obj/main.m.o ./obj/Cynthiune.obj/BundleManager.m.o =
./obj/Cynthiune.obj/CynthiuneAnimatedImageView.m.o ./obj/Cynthiune.obj/=
CynthiuneController.m.o ./obj/Cynthiune.obj/CynthiuneFadingTextField.m.=
o ./obj/Cynthiune.obj/CynthiuneHeaderCell.m.o ./obj/Cynthiune.obj/Cynth=
iunePauseButton.m.o ./obj/Cynthiune.obj/CynthiunePopUpButton.m.o ./obj/=
Cynthiune.obj/CynthiuneSliderCell.m.o ./obj/Cynthiune.obj/CynthiuneSong=
TitleCell.m.o ./obj/Cynthiune.obj/CynthiuneTextCell.m.o ./obj/Cynthiune=
.obj/CynthiuneWindow.m.o ./obj/Cynthiune.obj/DictionaryCoder.m.o ./obj/=
Cynthiune.obj/FormatTester.m.o ./obj/Cynthiune.obj/GeneralPreference.m.=
o ./obj/Cynthiune.obj/InfoDisplayController.m.o ./obj/Cynthiune.obj/M3U=
Archiver.m.o ./obj/Cynthiune.obj/MBResultsPanel.m.o ./obj/Cynthiune.obj=
/Player.m.o ./obj/Cynthiune.obj/PlayerController.m.o ./obj/Cynthiune.ob=
j/PlayerPreference.m.o ./obj/Cynthiune.obj/Playlist.m.o ./obj/Cynthiune=
.obj/PlaylistArchiver.m.o ./obj/Cynthiune.obj/PlaylistController.m.o
> ./obj/Cyn
> thiune.obj/PlaylistView.m.o ./obj/Cynthiune.obj/PlaylistViewControlle=
r.m.o ./obj/Cynthiune.obj/PLSArchiver.m.o ./obj/Cynthiune.obj/Preferenc=
esController.m.o ./obj/Cynthiune.obj/Song.m.o ./obj/Cynthiune.obj/SongI=
nspectorController.m.o -L/home/sebastia/GNUstep/Library/Libraries =
-L/usr/local/GS/lib -L/usr/local/lib -L/MingW/bin -lgnustep-gui =
-lgnustep-base -pthread -lobjc -lm
>
> Here it goes :
>
> > Making all for app Cynthiune...
> > gcc -rdynamic -LFrameworks/Cynthiune/Cynthiune.framework/Versions=
/Current -lCynthiune -pthread -shared-libgcc -fexceptions -fgnu-ru=
ntime -o Cynthiune.app/./Cynthiune \
> > ./obj/Cynthiune.obj/main.m.o ./obj/Cynthiune.obj/BundleManager.m.o=
./obj/Cynthiune.obj/CynthiuneAnimatedImageView.m.o ./obj/Cynthiune.obj=
/CynthiuneController.m.o ./obj/Cynthiune.obj/CynthiuneFadingTextField.m=
.o ./obj/Cynthiune.obj/CynthiuneHeaderCell.m.o ./obj/Cynthiune.obj/Cynt=
hiunePauseButton.m.o ./obj/Cynthiune.obj/CynthiunePopUpButton.m.o ./obj=
/Cynthiune.obj/CynthiuneSliderCell.m.o ./obj/Cynthiune.obj/CynthiuneSon=
gTitleCell.m.o ./obj/Cynthiune.obj/CynthiuneTextCell.m.o ./obj/Cynthiun=
e.obj/CynthiuneWindow.m.o ./obj/Cynthiune.obj/DictionaryCoder.m.o ./obj=
/Cynthiune.obj/FormatTester.m.o ./obj/Cynthiune.obj/GeneralPreference.m=
.o ./obj/Cynthiune.obj/InfoDisplayController.m.o ./obj/Cynthiune.obj/M3=
UArchiver.m.o ./obj/Cynthiune.obj/MBResultsPanel.m.o ./obj/Cynthiune.ob=
j/Player.m.o ./obj/Cynthiune.obj/PlayerController.m.o ./obj/Cynthiune.o=
bj/PlayerPreference.m.o ./obj/Cynthiune.obj/Playlist.m.o ./obj/Cynthiun=
e.obj/PlaylistArchiver.m.o ./obj/Cynthiune.obj/PlaylistController.m.o
> ./obj/Cy
> nthiune.obj/PlaylistView.m.o ./obj/Cynthiune.obj/PlaylistViewControll=
er.m.o ./obj/Cynthiune.obj/PLSArchiver.m.o ./obj/Cynthiune.obj/Preferen=
cesController.m.o ./obj/Cynthiune.obj/Song.m.o ./obj/Cynthiune.obj/Song=
InspectorController.m.o -L/home/philou/GNUstep/Library/Libraries -=
L/opt/GNUstep-trunk/lib -L/MingW/bin -lgnustep-gui -lgnustep-ba=
se -lpthread -lobjc -lm
> > ./obj/Cynthiune.obj/CynthiuneController.m.o:(.data.rel+0x4): undefi=
ned reference to `=5F=5Fobjc=5Fclass=5Fname=5FMailService'
> > ./obj/Cynthiune.obj/PlaylistController.m.o: In function `-[Playlist=
Controller =5FfeedPlaylistWithTreeOfFilenames:]':
> > /home/philou/sources/gap/user-apps/Cynthiune/PlaylistController.m:4=
90: undefined reference to `fileIsAReadableDirectory'
> > /home/philou/sources/gap/user-apps/Cynthiune/PlaylistController.m:4=
95: undefined reference to `fileIsAcceptable'
> > ./obj/Cynthiune.obj/PlaylistViewController.m.o: In function `-[Play=
listViewController =5FacceptFilesInPasteboard:]':
> > /home/philou/sources/gap/user-apps/Cynthiune/PlaylistViewController=
.m:462: undefined reference to `fileIsAReadableDirectory'
> > ./obj/Cynthiune.obj/Song.m.o: In function `-[Song =5FrefreshSongInf=
os]':
> > /home/philou/sources/gap/user-apps/Cynthiune/Song.m:221: undefined =
reference to `makeTitleFromFilename'
> > ./obj/Cynthiune.obj/Song.m.o: In function `-[Song =5FreadInfos]':
> > /home/philou/sources/gap/user-apps/Cynthiune/Song.m:236: undefined =
reference to `fileIsAcceptable'
> > ./obj/Cynthiune.obj/Song.m.o: In function `-[Song setFilename:]':
> > /home/philou/sources/gap/user-apps/Cynthiune/Song.m:259: undefined =
reference to `fileIsAcceptable'
> > ./obj/Cynthiune.obj/Song.m.o: In function `-[Song reverseCompareByP=
laylistRepresentation:]':
> > /home/philou/sources/gap/user-apps/Cynthiune/Song.m:460: undefined =
reference to `reverseComparisonResult'
> > ./obj/Cynthiune.obj/Song.m.o: In function `-[Song reverseCompareByD=
uration:]':
> > /home/philou/sources/gap/user-apps/Cynthiune/Song.m:471: undefined =
reference to `reverseComparisonResult'
> > collect2: ld a retourn=C3=A9 1 code d'=C3=A9tat d'ex=C3=A9cution
all those undefined references are supposed to come from libCynthiune.s=
o. As I can see, the path to it is given, and it should link against it=
:
-LFrameworks/Cynthiune/Cynthiune.framework/Versions/Current -lCynthiune=
It seems to find your libCynthiune.so, otherwise I'd expected to have a=
error/warning like unable to find -lCynthiune.
Do you can check that you do not have any other older libCynthiune.so.X=
XX around somewhere, which might accidently get picked up?
Further, do you can check with nm, if the symbols are in the libCynthiu=
ne?
for example:
$ nm libCynthiune.so.0.0.1 | grep MailService =
00000000 F MailService.m
200019a8 d =5FOBJC=5FCLASS=5FMETHODS=5FMailService
20001a20 d =5FOBJC=5FCLASS=5FMailService
200019bc d =5FOBJC=5FINSTANCE=5FMETHODS=5FMailService
200019e0 d =5FOBJC=5FMETACLASS=5FMailService
2000003c R =5F=5Fobjc=5Fclass=5Fname=5FMailService
20001aa4 d =5F=5Fobjc=5Fclass=5Fref=5FMailService
00002200 t =5Fc=5FMailService=5F=5Finstance
00002150 t =5Fi=5FMailService=5F=5FcomposeBugReport
$ nm libCynthiune.so.0.0.1 | grep fileIsAReadableDirectory
00004110 T fileIsAReadableDirectory
How is libCynthiune linked? Can you also check that, with make messages=
=3Dyes?
Sebastian
>
> gcc 4.6.1
>
> Philippe
>
From MAILER-DAEMON Mon Apr 30 09:40:47 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
id 1SOqqN-0007qh-QZ
for mharc-gap-dev-discuss@gnu.org; Mon, 30 Apr 2012 09:40:47 -0400
Received: from eggs.gnu.org ([208.118.235.92]:43596)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1SOqqK-0007qN-L1
for gap-dev-discuss@nongnu.org; Mon, 30 Apr 2012 09:40:45 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1SOqqD-0003SG-6c
for gap-dev-discuss@nongnu.org; Mon, 30 Apr 2012 09:40:44 -0400
Received: from outrelay07.libero.it ([212.52.84.111]:48445)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1SOqqC-0003Rh-OB
for gap-dev-discuss@nongnu.org; Mon, 30 Apr 2012 09:40:37 -0400
X-CTCH-Spam: Unknown
X-CTCH-RefID: str=0001.0A0B0209.4F9E9652.015F,ss=1,re=0.000,fgs=0
X-libjamoibt: 1823
Received: from ithil.westernesse.arda (78.152.126.2) by outrelay07.libero.it
(8.6.033) (authenticated as riccardo.mottola@libero.it)
id 4F5A0F9D0866251B for gap-dev-discuss@nongnu.org;
Mon, 30 Apr 2012 15:40:34 +0200
Message-ID: <4F9E964D.3060908@libero.it>
Date: Mon, 30 Apr 2012 15:40:29 +0200
From: Riccardo Mottola
User-Agent: Mozilla/5.0 (X11; OpenBSD i386;
rv:5.0) Gecko/20110815 Firefox/5.0 SeaMonkey/2.2
MIME-Version: 1.0
To: gap-dev-discuss@nongnu.org
References: <2085-4f9e8e00-4b-6b8b4580@206343224>
In-Reply-To: <2085-4f9e8e00-4b-6b8b4580@206343224>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 212.52.84.111
Subject: Re: [Gap-dev-discuss] Cynthiune on OpenBSD
X-BeenThere: gap-dev-discuss@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Mon, 30 Apr 2012 13:40:46 -0000
Hi,
Sebastian Reitenbach wrote:
>
> The sndio output bundle still has some issues unfortunately. When you
> shutdown sndiod, OSS output bundle should just work. Or when you install
> esound or arts, should also work, I tested with both.
Ok, so the sndio output doesn't work for you either?
>
> All bundles but the WindowsMedia one, because the dependencies are
> not in the ports tree, should compile and work.
>
> ADDITIONAL_OBJCFLAGS=-DMUSEPACK_API_126 gmake disable-windowsmedia=yes install
>
> Since sndiod is the preferred way to go on OpenBSD, I still need to look at it.
> First trying to get the issues fixed that Philippe is reporting ;)
>
>> I have to kill Cynthiune with -9!
> For me, Cynthiune doesn't freeze, I don't need to kill it with -9.
> Usually for me what I see is, that I hear no sound,
> and it goes very fast through the mp3. Then it has the wrong bit rate and channels.
For OSS, which audio device do you have? I don't have /dev/dsp, perhaps
/dev/audio?
With /dev/audio I can playback MP3's! They sound fine, although I get an
initial clicking/dropping for a couple of seconds and occasional
dropping. But that's progress...
Song information shows... although there are small refresh issues.
>
>
>> On the log I see this:
>>
>> 2012-04-30 14:21:43.455 Cynthiune[28489] prepareDevice got called
>> 2012-04-30 14:21:43.514 Cynthiune[28489] successfully set parameters
>> 2012-04-30 14:21:43.517 Cynthiune[28489] OpenDevice got called
>> 2012-04-30 14:21:43.519 Cynthiune[28489] OpenDevice got called, hdl was set
> This debug output will hopefully go away soon, when I figured out, how
> to make the sndio Bundle work correctly.
>
>> 2012-04-30 14:21:43.564 Cynthiune[28489] WARNING your program is
>> becoming multi-threaded, but you are using an ObjectiveC runtime library
>> which does not have a
>> thread-safe implementation of the +initialize method. Please see
>> README.initialize for more information.
>>
>> What's your take on this Sebastian? For the libraries I used those of
>> the current ports, binaries.
> I also took them all from the ports tree, should be fine. What platform are you on?
> I386 or maybe macppc?
>
> Sebastian
I am on i386. I also have a patch to test, but before I want to have it
running "as you have". I thought you had a working version.
Debian used to have a working one...
Riccardo
From MAILER-DAEMON Mon Apr 30 10:41:47 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
id 1SOrnP-0008CD-NP
for mharc-gap-dev-discuss@gnu.org; Mon, 30 Apr 2012 10:41:47 -0400
Received: from eggs.gnu.org ([208.118.235.92]:50965)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1SOrnI-0008BK-7Z
for gap-dev-discuss@nongnu.org; Mon, 30 Apr 2012 10:41:45 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1SOrnG-0001pI-Kz
for gap-dev-discuss@nongnu.org; Mon, 30 Apr 2012 10:41:39 -0400
Received: from outrelay06.libero.it ([212.52.84.110]:47015)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1SOrnG-0001p9-BP
for gap-dev-discuss@nongnu.org; Mon, 30 Apr 2012 10:41:38 -0400
X-CTCH-Spam: Unknown
X-CTCH-RefID: str=0001.0A0B0207.4F9EA4A0.0125,ss=1,re=0.000,fgs=0
X-libjamoibt: 1823
Received: from ithil.westernesse.arda (78.152.126.2) by outrelay06.libero.it
(8.6.033) (authenticated as riccardo.mottola@libero.it)
id 4F5A0F480863740D for gap-dev-discuss@nongnu.org;
Mon, 30 Apr 2012 16:41:36 +0200
Message-ID: <4F9EA498.90209@libero.it>
Date: Mon, 30 Apr 2012 16:41:28 +0200
From: Riccardo Mottola
User-Agent: Mozilla/5.0 (X11; OpenBSD i386;
rv:5.0) Gecko/20110815 Firefox/5.0 SeaMonkey/2.2
MIME-Version: 1.0
To: gap-dev-discuss@nongnu.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 212.52.84.110
Subject: [Gap-dev-discuss] Cynnthiune -> Clang and non fragile ABI
X-BeenThere: gap-dev-discuss@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Mon, 30 Apr 2012 14:41:45 -0000
Hi,
I commited a patch to allow Cynthiune to compile with non-fragile ABI
and clang.
It should affect only MP3 and it works here on OpenBSD.. at least things
work "as bad as before"... How do you guys fare?
Riccardo
From MAILER-DAEMON Mon Apr 30 12:17:06 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
id 1SOtHd-0001rq-WB
for mharc-gap-dev-discuss@gnu.org; Mon, 30 Apr 2012 12:17:05 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41864)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1SOtHb-0001rK-G0
for gap-dev-discuss@nongnu.org; Mon, 30 Apr 2012 12:17:04 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1SOtHZ-0005qs-I1
for gap-dev-discuss@nongnu.org; Mon, 30 Apr 2012 12:17:03 -0400
Received: from static.19.105.40.188.clients.your-server.de
([188.40.105.19]:47723 helo=smtp.l00-bugdead-prods.de)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1SOtHZ-0005qD-Bp
for gap-dev-discuss@nongnu.org; Mon, 30 Apr 2012 12:17:01 -0400
Received: by smtp.l00-bugdead-prods.de (Postfix, from userid 659)
id AA3F36D9AC5; Mon, 30 Apr 2012 18:16:58 +0200 (CEST)
User-Agent: SOGoMail 1.3.14
X-Forward: 127.0.0.1
MIME-Version: 1.0
from: "Sebastian Reitenbach"
message-id: <2085-4f9ebb00-55-6b8b4580@206343268>
to: "Riccardo Mottola"
content-type: text/plain; charset="utf-8"
date: Mon, 30 Apr 2012 18:16:58 +0200
in-reply-to: <4F9EA498.90209@libero.it>
content-transfer-encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
recognized.
X-Received-From: 188.40.105.19
Cc: gap-dev-discuss@nongnu.org
Subject: Re: [Gap-dev-discuss] Cynnthiune -> Clang and non fragile ABI
X-BeenThere: gap-dev-discuss@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Mon, 30 Apr 2012 16:17:04 -0000
On Monday, April 30, 2012 16:41 CEST, Riccardo Mottola wrote:
> Hi,
>
> I commited a patch to allow Cynthiune to compile with non-fragile ABI
> and clang.
> It should affect only MP3 and it works here on OpenBSD.. at least things
> work "as bad as before"... How do you guys fare?
Great, works well for me. I already noticed that some weeks ago, but since I did not really
know at that time, how to fix the problem, I only put it on my TODO list. Thanks for taking
care. I checked the cvs diff, now I know for next time how to fix such things.
I also noticed you fixed some warnings that show up with clang/libobjc2.
I don't have clang/libobjc2 running somewhere right now, if you find more warnings that
should be fixed. Plaease do yo ;)
thanks,
Sebastian
>
> Riccardo
>
From MAILER-DAEMON Mon Apr 30 12:29:30 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
id 1SOtTe-0005JL-2L
for mharc-gap-dev-discuss@gnu.org; Mon, 30 Apr 2012 12:29:30 -0400
Received: from eggs.gnu.org ([208.118.235.92]:47351)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1SOtTb-0005HJ-Hy
for gap-dev-discuss@nongnu.org; Mon, 30 Apr 2012 12:29:29 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1SOtTZ-0002pg-D7
for gap-dev-discuss@nongnu.org; Mon, 30 Apr 2012 12:29:27 -0400
Received: from static.19.105.40.188.clients.your-server.de
([188.40.105.19]:13766 helo=smtp.l00-bugdead-prods.de)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1SOtTZ-0002ma-3c
for gap-dev-discuss@nongnu.org; Mon, 30 Apr 2012 12:29:25 -0400
Received: by smtp.l00-bugdead-prods.de (Postfix, from userid 659)
id 32F1D6D9AC7; Mon, 30 Apr 2012 18:29:23 +0200 (CEST)
User-Agent: SOGoMail 1.3.14
X-Forward: 127.0.0.1
MIME-Version: 1.0
from: "Sebastian Reitenbach"
message-id: <2085-4f9ebe00-59-6b8b4580@206343270>
to: "Riccardo Mottola"
content-type: text/plain; charset="utf-8"
date: Mon, 30 Apr 2012 18:29:22 +0200
in-reply-to: <4F9E964D.3060908@libero.it>
content-transfer-encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
recognized.
X-Received-From: 188.40.105.19
Cc: gap-dev-discuss@nongnu.org
Subject: Re: [Gap-dev-discuss] Cynthiune on OpenBSD
X-BeenThere: gap-dev-discuss@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Mon, 30 Apr 2012 16:29:29 -0000
On Monday, April 30, 2012 15:40 CEST, Riccardo Mottola wrote:
> Hi,
>
> Sebastian Reitenbach wrote:
> >
> > The sndio output bundle still has some issues unfortunately. When you
> > shutdown sndiod, OSS output bundle should just work. Or when you install
> > esound or arts, should also work, I tested with both.
> Ok, so the sndio output doesn't work for you either?
> >
> > All bundles but the WindowsMedia one, because the dependencies are
> > not in the ports tree, should compile and work.
> >
> > ADDITIONAL_OBJCFLAGS=-DMUSEPACK_API_126 gmake disable-windowsmedia=yes install
> >
> > Since sndiod is the preferred way to go on OpenBSD, I still need to look at it.
> > First trying to get the issues fixed that Philippe is reporting ;)
> >
> >> I have to kill Cynthiune with -9!
> > For me, Cynthiune doesn't freeze, I don't need to kill it with -9.
> > Usually for me what I see is, that I hear no sound,
> > and it goes very fast through the mp3. Then it has the wrong bit rate and channels.
> For OSS, which audio device do you have? I don't have /dev/dsp, perhaps
> /dev/audio?
>
> With /dev/audio I can playback MP3's! They sound fine, although I get an
> initial clicking/dropping for a couple of seconds and occasional
> dropping. But that's progress...
I think I made the Sndio Output Bundle a bit better working. Could you give it a try again.
Yout should have sndiod running, or wait, it should actually not matter, since it will
then fallback to take /dev/audio directly.
For me now, Sndio Output Bundle mostly works. I can start playing, stop restart. Also jumping
to the next song works.
There is only one problem left I think, and I also guess what the problem is, but I don't know really,
how to fix it. The problem is, when I have MP3s or other files, with different bitRate, then its unable
to change the bit rate, when it automatically skips to the next song, without stopping playing.
I can play one song, with 44100Hz, stop it, click another song with i.e. 16000Hz, and it will
successfully play the song. When doing that, Cynthiune is actually stopping the play thread,
and then later restarting it. When it automatically jumps from one song to another, with different
bit rates, then it doesn't stop the play thread.
To reproduce it, I have a bunch of "normal" MP3s, and this FLAC file in my playlist:
http://code.google.com/p/cs-4244-mkl/source/browse/trunk/project-4/GSTT/mike-test.flac?r=202
I committed the the stuff so far to CVS, including all my debug output...
Do I can wait in one thread, until another one is stopped, before going on?
I need to do that in prepareDeviceWithChannels: andRate:
I guess there must be something like this in objective-c, but I don't know (yet) what?
Riccardo, do you maybe have a cluestick for me?
Sebastian
>
> Song information shows... although there are small refresh issues.
> >
> >
> >> On the log I see this:
> >>
> >> 2012-04-30 14:21:43.455 Cynthiune[28489] prepareDevice got called
> >> 2012-04-30 14:21:43.514 Cynthiune[28489] successfully set parameters
> >> 2012-04-30 14:21:43.517 Cynthiune[28489] OpenDevice got called
> >> 2012-04-30 14:21:43.519 Cynthiune[28489] OpenDevice got called, hdl was set
> > This debug output will hopefully go away soon, when I figured out, how
> > to make the sndio Bundle work correctly.
> >
> >> 2012-04-30 14:21:43.564 Cynthiune[28489] WARNING your program is
> >> becoming multi-threaded, but you are using an ObjectiveC runtime library
> >> which does not have a
> >> thread-safe implementation of the +initialize method. Please see
> >> README.initialize for more information.
> >>
> >> What's your take on this Sebastian? For the libraries I used those of
> >> the current ports, binaries.
> > I also took them all from the ports tree, should be fine. What platform are you on?
> > I386 or maybe macppc?
> >
> > Sebastian
> I am on i386. I also have a patch to test, but before I want to have it
> running "as you have". I thought you had a working version.
>
> Debian used to have a working one...
>
> Riccardo
>
>
>
From MAILER-DAEMON Mon Apr 30 12:34:09 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
id 1SOtY9-0006WV-Lk
for mharc-gap-dev-discuss@gnu.org; Mon, 30 Apr 2012 12:34:09 -0400
Received: from eggs.gnu.org ([208.118.235.92]:59923)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1SOtY7-0006WN-Am
for gap-dev-discuss@nongnu.org; Mon, 30 Apr 2012 12:34:08 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1SOtY2-00045f-Oh
for gap-dev-discuss@nongnu.org; Mon, 30 Apr 2012 12:34:06 -0400
Received: from outrelay06.libero.it ([212.52.84.110]:51055)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1SOtY2-00043E-ET
for gap-dev-discuss@nongnu.org; Mon, 30 Apr 2012 12:34:02 -0400
X-CTCH-Spam: Unknown
X-CTCH-RefID: str=0001.0A0B020C.4F9EBEF8.0107,ss=1,re=0.000,fgs=0
X-libjamoibt: 1823
Received: from ithil.westernesse.arda (78.152.126.2) by outrelay06.libero.it
(8.6.033) (authenticated as riccardo.mottola@libero.it)
id 4F5A0F480867B668 for gap-dev-discuss@nongnu.org;
Mon, 30 Apr 2012 18:34:00 +0200
Message-ID: <4F9EBEF3.6010201@libero.it>
Date: Mon, 30 Apr 2012 18:33:55 +0200
From: Riccardo Mottola
User-Agent: Mozilla/5.0 (X11; OpenBSD i386;
rv:5.0) Gecko/20110815 Firefox/5.0 SeaMonkey/2.2
MIME-Version: 1.0
To: gap-dev-discuss@nongnu.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 212.52.84.110
Subject: [Gap-dev-discuss] Cynthinune -> NetBSD
X-BeenThere: gap-dev-discuss@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Mon, 30 Apr 2012 16:34:09 -0000
Hi,
does somebody have a clue on how to get Cynthiune on NetBSD? It has it's
own "OSS compatible" implementation but apparently it lacks some headers
or I don't know how to us it (that could help me with Mixer too perhaps).
From MAILER-DAEMON Mon Apr 30 13:38:18 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
id 1SOuYE-0001tj-23
for mharc-gap-dev-discuss@gnu.org; Mon, 30 Apr 2012 13:38:18 -0400
Received: from eggs.gnu.org ([208.118.235.92]:47829)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1SOuYB-0001tX-2y
for gap-dev-discuss@nongnu.org; Mon, 30 Apr 2012 13:38:16 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1SOuY9-0003eI-3s
for gap-dev-discuss@nongnu.org; Mon, 30 Apr 2012 13:38:14 -0400
Received: from static.19.105.40.188.clients.your-server.de
([188.40.105.19]:17006 helo=smtp.l00-bugdead-prods.de)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1SOuY8-0003e9-TO
for gap-dev-discuss@nongnu.org; Mon, 30 Apr 2012 13:38:13 -0400
Received: by smtp.l00-bugdead-prods.de (Postfix, from userid 659)
id 1EA7A6D9AD5; Mon, 30 Apr 2012 19:38:09 +0200 (CEST)
User-Agent: SOGoMail 1.3.14
X-Forward: 127.0.0.1
MIME-Version: 1.0
from: "Sebastian Reitenbach"
message-id: <2085-4f9ece00-5d-6b8b4580@206343272>
to: "Riccardo Mottola"
content-type: text/plain; charset="utf-8"
date: Mon, 30 Apr 2012 19:38:08 +0200
in-reply-to: <4F9EBEF3.6010201@libero.it>
content-transfer-encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
recognized.
X-Received-From: 188.40.105.19
Cc: gap-dev-discuss@nongnu.org
Subject: Re: [Gap-dev-discuss] Cynthinune -> NetBSD
X-BeenThere: gap-dev-discuss@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Mon, 30 Apr 2012 17:38:16 -0000
On Monday, April 30, 2012 18:33 CEST, Riccardo Mottola wrote:
> Hi,
>
> does somebody have a clue on how to get Cynthiune on NetBSD? It has it's
> own "OSS compatible" implementation but apparently it lacks some headers
> or I don't know how to us it (that could help me with Mixer too perhaps).
>
>
>
In OSS.m I added this #ifdef for OpenBSD:
#ifdef __OpenBSD__
#import
#else
#import
#endif
maybe it should be changed to
#if defined(__OpenBSD__) || defined(__NetBSD__)
Then in the linking stage, it needs to link against -lossaudio.
Take a look at the GNUmakefile.preamble of the OSS Bundle.
hth,
Sebastian
From MAILER-DAEMON Mon Apr 30 17:30:48 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
id 1SOyBE-0008Tq-Fq
for mharc-gap-dev-discuss@gnu.org; Mon, 30 Apr 2012 17:30:48 -0400
Received: from eggs.gnu.org ([208.118.235.92]:37045)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1SOyBA-0008TZ-WA
for gap-dev-discuss@nongnu.org; Mon, 30 Apr 2012 17:30:46 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1SOyB8-0002rI-Q8
for gap-dev-discuss@nongnu.org; Mon, 30 Apr 2012 17:30:44 -0400
Received: from smtp6-g21.free.fr ([212.27.42.6]:57254)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1SOyB7-0002q9-VF
for gap-dev-discuss@nongnu.org; Mon, 30 Apr 2012 17:30:42 -0400
Received: from bipbip.octets.fr (unknown [88.125.8.102])
by smtp6-g21.free.fr (Postfix) with ESMTP id A8DF982211;
Mon, 30 Apr 2012 23:30:34 +0200 (CEST)
Received: from [192.168.185.10] (unknown [192.168.185.10])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(No client certificate requested) (Authenticated sender: philou)
by bipbip.octets.fr (Postfix) with ESMTPSA id B327F1520068;
Mon, 30 Apr 2012 23:35:15 +0200 (CEST)
Message-ID: <4F9F0477.1070109@free.fr>
Date: Mon, 30 Apr 2012 23:30:31 +0200
From: Philippe Roussel
User-Agent: Mozilla/5.0 (X11; Linux i686;
rv:11.0) Gecko/20120329 Thunderbird/11.0.1
MIME-Version: 1.0
To: Sebastian Reitenbach
References: <2085-4f9e9500-51-6b8b4580@206343227>
In-Reply-To: <2085-4f9e9500-51-6b8b4580@206343227>
X-Enigmail-Version: 1.4
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 212.27.42.6
Cc: gap-dev-discuss@nongnu.org
Subject: Re: [Gap-dev-discuss] Cynthiune build failure
X-BeenThere: gap-dev-discuss@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id:
List-Unsubscribe: