Skip to content

Commit

Permalink
prepare release 0.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
albanm committed Sep 9, 2014
1 parent bf474e0 commit c0b2d78
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 16 deletions.
5 changes: 1 addition & 4 deletions README.md
Expand Up @@ -35,9 +35,6 @@ stylesheet.apply(documentString, params, function(err, result){
Libxmljs integration
--------------------

:warning: right now node-libxslt is only compatible with the temporary fork [albanm/libxmljs](https://github.com/albanm/libxmljs).
This situation will end if the [related pull request](https://github.com/polotek/libxmljs/pull/247) is accepted.

Node-libxslt depends on [libxmljs](https://github.com/polotek/libxmljs/issues/226) in the same way that [libxslt](http://xmlsoft.org/libxslt/) depends on [libxml](http://xmlsoft.org/). This dependancy makes possible to bundle and to load in memory libxml only once for users of both libraries.

It is possible to work with libxmljs documents instead of strings:
Expand Down Expand Up @@ -108,4 +105,4 @@ Environment compatibility

For now 64bits linux and 32bits windows are confirmed. Other environments are probably ok, but not checked. Please report an issue if you encounter some difficulties.

Node-libxslt depends on [node-gyp](https://github.com/TooTallNate/node-gyp), you will have to go through its installation. This can be a bit painful mostly for windows users. There is no system dependancy otherwise, libxslt is bundled in the project.
Node-libxslt depends on [node-gyp](https://github.com/TooTallNate/node-gyp), you will need to meet its requirements. This can be a bit painful mostly for windows users. The node-gyp version bundled in your npm will have to be greater than 0.13.0, so you might have to follow [these instructions to upgrade](https://github.com/TooTallNate/node-gyp/wiki/Updating-npm's-bundled-node-gyp). There is no system dependancy otherwise, libxslt is bundled in the project.
22 changes: 11 additions & 11 deletions deps/libxslt/libxslt.gyp
Expand Up @@ -5,7 +5,7 @@
'xmljs_libraries%': [],
},
'target_defaults': {
'default_configuration': 'Debug',
'default_configuration': 'Release',
'configurations': {
'Debug': {
'defines': [ 'DEBUG', '_DEBUG' ],
Expand All @@ -25,8 +25,8 @@
}
},
'defines': ['HAVE_CONFIG_H','LIBXSLT_STATIC'],
'include_dirs': [
'.',
'include_dirs': [
'.',
# platform and arch-specific headers
'config/<(OS)/<(target_arch)',
'<@(xmljs_include_dirs)'
Expand Down Expand Up @@ -60,10 +60,10 @@
'libxslt/xsltutils.c'
],
'link_settings': {
'libraries': [
'<@(xmljs_libraries)',
]
},
'libraries': [
'<@(xmljs_libraries)',
]
},
'direct_dependent_settings': {
'defines': ['LIBXSLT_STATIC'],
'include_dirs': ['.', '<@(xmljs_include_dirs)', 'config/<(OS)/<(target_arch)'],
Expand All @@ -88,10 +88,10 @@
'libxslt'
],
'link_settings': {
'libraries': [
'<@(xmljs_libraries)'
]
}
'libraries': [
'<@(xmljs_libraries)'
]
}
}
]
}
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "libxslt",
"version": "0.1.4",
"version": "0.1.5",
"description": "Node.js bindings for libxslt compatible with libxmljs",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit c0b2d78

Please sign in to comment.