Permalink
Browse files

[linux] Fix for issue #GPII-48

* Unable to run linux solution (due to gsettings handler)

  Node.js removed node-waf building support in favour of node-gyp.
  see http://github.com/joyent/node/issues/3475
  • Loading branch information...
1 parent f1a0ad0 commit 9cd78bea1cad14be55aee44ad1b3e4d8fe5d5383 @javihernandez javihernandez committed Oct 23, 2012
View
11 node_modules/gsettingsBridge/nodegsettings/binding.gyp
@@ -0,0 +1,11 @@
+{
+ "targets": [
+ {
+ "target_name": "nodegsettings",
+ "sources": ["nodegsettings.cc"],
+ "libraries": ["<!@(pkg-config --libs gio-2.0)"],
+ "cflags": ["<!@(pkg-config --cflags gio-2.0)"],
+ "ldflags": ["<!@(pkg-config --libs gio-2.0)"]
+ }
+ ]
+}
View
19 node_modules/gsettingsBridge/nodegsettings/wscript
@@ -1,19 +0,0 @@
-srcdir = '.'
-blddir = 'build'
-VERSION = '0.0.1'
-
-def set_options(opt):
- opt.tool_options('compiler_cxx')
-
-def configure(conf):
- conf.check_tool('compiler_cxx')
- conf.check_tool('node_addon')
- conf.check_cfg(package='gtk+-3.0', uselib_store='GTK', args='--cflags --libs')
- conf.check_cfg(package='gio-2.0', uselib_store='GIO', args='--cflags --libs')
- conf.check_cfg(package='glib-2.0', uselib_store='GLIB', args='--cflags --libs')
-
-def build(bld):
- obj = bld.new_task_gen('cxx', 'shlib', 'node_addon')
- obj.target = 'nodegsettings'
- obj.source = 'nodegsettings.cc'
- obj.uselib = "GLIB GTK GIO"

0 comments on commit 9cd78be

Please sign in to comment.