extensions = os.listdir ('extensions')
+if 'bsd' in sys.platform:
+ if 'devpet.vala' in extensions:
+ extensions.remove('devpet.vala')
for extension in extensions:
# FIXME In the absense of a proper mechanism, transfers is a stock extension
if not bld.env['addons'] and extension != 'transfers.vala':
> cmake didn't work for me - i changes some things, but i'm not a cmake expert
> :/
I tested your latest revision (r6397), but I get same behaviour "Undefined symbol"
If I add CFLAGS -lexecinfo, Midori crashes (at start time), when devpet is enabled (without error, or warning message).
Unfortunately I not able to analize coredump.
Here patches which prevent building this extension.
--- ./extensions/ CMakeLists. txt.orig 2013-09-17 10:59:53.000000000 +0000 CMakeLists. txt 2013-09-17 14:46:05.000000000 +0000
"nsplugin- manager. vala" SYSTEM_ NAME} "BSD" BEGIN) SYSTEM_ NAME} ${BEGIN} 3 BSD)
+++ ./extensions/
@@ -24,6 +24,13 @@
)
endif ()
+string(FIND ${CMAKE_
+string(SUBSTRING ${CMAKE_
+if (BSD)
+ list(REMOVE_ITEM EXTENSIONS
+ "devpet.vala"
+ )
+endif ()
foreach(UNIT_SRC ${EXTENSIONS})
string(FIND ${UNIT_SRC} ".c" UNIT_EXTENSION)
--- ./extensions/ wscript_ build.orig 2013-08-14 18:32:02.000000000 +0000 wscript_ build 2013-09-17 17:55:12.000000000 +0000
+++ ./extensions/
@@ -4,8 +4,12 @@
import Options
import os
+import sys
extensions = os.listdir ('extensions') remove( 'devpet. vala')
+if 'bsd' in sys.platform:
+ if 'devpet.vala' in extensions:
+ extensions.
for extension in extensions:
# FIXME In the absense of a proper mechanism, transfers is a stock extension
if not bld.env['addons'] and extension != 'transfers.vala':