Re: [Wengophone-devel] Wengophone does not build on many linux arch

2007-06-05 Thread Marco Nenciarini
On Tue, Jun 05, 2007 at 03:34:54PM +0200, Aurélien Gâteau wrote:
> 
> I cooked together a crude hack for this, see attached patch. You might 
> find it handy. If it's ok, all it's remaining is to move the CMake 
> option from the wengophone to the owutil dir.
> 
> Aurélien

[PATCH REMOVED]

The corebumper library fails if c preprocessor evaluate the following
expression to false

 (defined(__i386__) || defined(__x86_64__)) && defined(__linux)

I think the build system should rely on it for discriminating on
inclusion of crashdump.

The attached patch make ENABLE_CRASHREPORT=off working. 

Could someone with MSVC test it?

Ciao

-- 
-
|Marco Nenciarini| Debian/GNU Linux Developer - Plug Member |
| [EMAIL PROTECTED] | http://www.prato.linux.it/~mnencia   |
-
Key fingerprint = FED9 69C7 9E67 21F5 7D95  5270 6864 730D F095 E5E4

Index: wengophone-2.1.0.dfsg/wengophone/src/presentation/qt/CMakeLists.txt
===
--- wengophone-2.1.0.dfsg.orig/wengophone/src/presentation/qt/CMakeLists.txt	2007-06-05 15:34:09.0 +0200
+++ wengophone-2.1.0.dfsg/wengophone/src/presentation/qt/CMakeLists.txt	2007-06-05 15:39:17.0 +0200
@@ -23,12 +23,6 @@
 	owsoftupdater
 )
 
-if (MSVC OR LINUX)
-	ow_use_private_libraries(
-		owmemorydump
-		)
-endif (MSVC OR LINUX)
-
 if (SIPWRAPPER_BACKEND_SIPX)
 	ow_add_private_definitions(
 		-DSIPXWRAPPER


signature.asc
Description: Digital signature
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Re: [Wengophone-devel] Wengophone does not build on many linux arch

2007-06-05 Thread Aurélien Gâteau

Marco Nenciarini a écrit :

On Tue, Jun 05, 2007 at 12:38:19PM +0200, Dave Neary wrote:

Hi,

Aurélien Gâteau wrote:

Marco Nenciarini a écrit :

I don't known if it is usevull, but the provided workarround does not
works[1] :-/

Argh... it seems coredumper is unconditionally linked in owutil. Will
try to have a look at it, but I am particularly squeezed these days.

Marco or Andreas, do you have any spare cycles to help remove this
dependency?



I'm actually working on it.


I cooked together a crude hack for this, see attached patch. You might 
find it handy. If it's ok, all it's remaining is to move the CMake 
option from the wengophone to the owutil dir.


Aurélien
Index: libs/owutil/memorydump/src/unix/UNIXMemoryDump.cpp
===
--- libs/owutil/memorydump/src/unix/UNIXMemoryDump.cpp	(révision 11334)
+++ libs/owutil/memorydump/src/unix/UNIXMemoryDump.cpp	(copie de travail)
@@ -19,6 +19,7 @@
 
 #include 
 
+#ifdef ENABLE_CRASHREPORT
 #include 
 
 #include 
@@ -61,4 +62,16 @@
 		);
 	}
 }
+#else
+UNIXMemoryDump::UNIXMemoryDump(const std::string & applicationName, const std::string & revision)
+	: MemoryDump(applicationName, revision) {
+}
 
+UNIXMemoryDump::~UNIXMemoryDump() {
+}
+
+void UNIXMemoryDump::doJob() {
+}
+
+#endif /* ENABLE_CRASHREPORT */
+
Index: libs/owutil/memorydump/CMakeLists.txt
===
--- libs/owutil/memorydump/CMakeLists.txt	(révision 11334)
+++ libs/owutil/memorydump/CMakeLists.txt	(copie de travail)
@@ -23,9 +23,11 @@
 			src/mac/MACMemoryDump.cpp
 		)
 	else (APPLE)
-		ow_use_public_libraries(
-			coredumper
-		)
+		if (ENABLE_CRASHREPORT)
+			ow_use_public_libraries(
+coredumper
+			)
+		endif (ENABLE_CRASHREPORT)
 		ow_add_sources(
 			src/unix/UNIXMemoryDump.cpp
 		)
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Re: [Wengophone-devel] Wengophone does not build on many linux arch

2007-06-05 Thread Marco Nenciarini
On Tue, Jun 05, 2007 at 12:38:19PM +0200, Dave Neary wrote:
> 
> Hi,
> 
> Aurélien Gâteau wrote:
> > Marco Nenciarini a écrit :
> >> I don't known if it is usevull, but the provided workarround does not
> >> works[1] :-/
> > 
> > Argh... it seems coredumper is unconditionally linked in owutil. Will
> > try to have a look at it, but I am particularly squeezed these days.
> 
> Marco or Andreas, do you have any spare cycles to help remove this
> dependency?
> 

I'm actually working on it.

Ciao

-- 
-
|Marco Nenciarini| Debian/GNU Linux Developer - Plug Member |
| [EMAIL PROTECTED] | http://www.prato.linux.it/~mnencia   |
-
Key fingerprint = FED9 69C7 9E67 21F5 7D95  5270 6864 730D F095 E5E4



signature.asc
Description: Digital signature
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

[Wengophone-devel] Presentations from OpenWengo summit in December

2007-06-05 Thread Dave Neary

Hi all,

Cleaning out some ancient TODO items, I noticed that I have not yet
gathered the presentations people gave during the summit in December.

Olivier, Lukas, Livio, Florian, Jérôme, Tanguy, Philippe, can you send
me the presentations that you gave in January please, so that I can put
them on the wiki?

And if anyone else gave a presentation which I've forgotten, can you
remond me and send me your slides too, please? Thanks :)

Cheers,
Dave.

-- 
Dave Neary
OpenWengo Community Development Manager
Email: [EMAIL PROTECTED]
Tel: +33 9 51 13 46 45
Mob: +33 6 28 09 73 11
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel


Re: [Wengophone-devel] Wengophone does not build on many linux arch

2007-06-05 Thread Dave Neary

Hi,

Aurélien Gâteau wrote:
> Marco Nenciarini a écrit :
>> I don't known if it is usevull, but the provided workarround does not
>> works[1] :-/
> 
> Argh... it seems coredumper is unconditionally linked in owutil. Will
> try to have a look at it, but I am particularly squeezed these days.

Marco or Andreas, do you have any spare cycles to help remove this
dependency?

Cheers,
Dave.

-- 
Dave Neary
OpenWengo Community Development Manager
Email: [EMAIL PROTECTED]
Tel: +33 9 51 13 46 45
Mob: +33 6 28 09 73 11
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel


Re: [Wengophone-devel] Wengophone does not build on many linux arch

2007-06-05 Thread Aurélien Gâteau

Marco Nenciarini a écrit :

On Mon, Jun 04, 2007 at 03:45:25PM +0200, Gianluca Sforna wrote:

On 6/4/07, Aurélien Gâteau <[EMAIL PROTECTED]> wrote:

Aurélien Gâteau a écrit :

Marco Nenciarini a écrit :

http://dev.openwengo.org/trac/openwengo/trac.cgi/ticket/1673

owutils/memorydump under linux make use of crashdumper
unconditionally, but it compile only on i386 and amd64.
Linux (and Debian) supports many other architectures, like alpha, arm,
hppa, ia64, m68k, mips, mipsel, powerpc, s390 and sparc.

Please make build system aware of this crashdumper's limitation.

Hello Marco,

Thanks for the report, you are right. As I said in the ticket, for now
you can disable compilation of crashdumper using the
ENABLE_CRASHDUMPER=OFF CMake option.

Hum, it's ENABLE_CRASHREPORT, not ENABLE_CRASHDUMPER.


BTW. is the crashreport useful/working in Linux?


I don't known if it is usevull, but the provided workarround does not
works[1] :-/


Argh... it seems coredumper is unconditionally linked in owutil. Will 
try to have a look at it, but I am particularly squeezed these days.


Aurélien
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel


Re: [Wengophone-devel] Wengophone does not build on many linux arch

2007-06-05 Thread Aurélien Gâteau

Gianluca Sforna a écrit :

On 6/4/07, Aurélien Gâteau <[EMAIL PROTECTED]> wrote:

Aurélien Gâteau a écrit :
> Marco Nenciarini a écrit :
>> http://dev.openwengo.org/trac/openwengo/trac.cgi/ticket/1673
>>
>> owutils/memorydump under linux make use of crashdumper
>> unconditionally, but it compile only on i386 and amd64.
>> Linux (and Debian) supports many other architectures, like alpha, arm,
>> hppa, ia64, m68k, mips, mipsel, powerpc, s390 and sparc.
>>
>> Please make build system aware of this crashdumper's limitation.
>
> Hello Marco,
>
> Thanks for the report, you are right. As I said in the ticket, for now
> you can disable compilation of crashdumper using the
> ENABLE_CRASHDUMPER=OFF CMake option.

Hum, it's ENABLE_CRASHREPORT, not ENABLE_CRASHDUMPER.



BTW. is the crashreport useful/working in Linux?


Yes, it allows us to analyse core dumps.

Aurélien
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel


Re: [Wengophone-devel] Announcing Cobranding OpenWengo Enhancement Proposal

2007-06-05 Thread Aurélien Gâteau

Maxime Alexandre a écrit :

Nice :)

About the file format, why don't you use a standard format to store the 
data ?


The thing is: we try to make the WengoPhone 2.1 easier to cobrand 
without making too many invasive changes. If it was up to me, I wouldn't 
be using XML to store config, or I would use something like this:



  sound/ringing.wav
  5060


But as I said, it's not the goal of the "cobranding" branch.

Aurélien
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel