libxslt-ruby 0.6.0-x86-mswin32-60
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +21 -0
- data/README +153 -0
- data/ext/libxslt/extconf.rb +104 -0
- data/ext/libxslt/libxslt.c +251 -0
- data/ext/libxslt/libxslt.h +51 -0
- data/ext/libxslt/ruby_xslt_stylesheet.c +298 -0
- data/ext/libxslt/ruby_xslt_stylesheet.h +21 -0
- data/ext/libxslt/ruby_xslt_transform_context.c +61 -0
- data/ext/libxslt/ruby_xslt_transform_context.h +22 -0
- data/ext/libxslt/version.h +5 -0
- data/lib/libxslt.rb +2 -0
- data/lib/libxslt_ruby.so +0 -0
- data/mingw/libxslt-1.dll +0 -0
- data/mingw/libxslt_ruby.so +0 -0
- data/mingw/mingw.rake +36 -0
- data/vc/libxslt_ruby.sln +26 -0
- data/vc/libxslt_ruby.vcproj +233 -0
- metadata +81 -0
data/lib/libxslt.rb
ADDED
data/lib/libxslt_ruby.so
ADDED
Binary file
|
data/mingw/libxslt-1.dll
ADDED
Binary file
|
Binary file
|
data/mingw/mingw.rake
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
# We can't use Ruby's standard build procedures
|
2
|
+
# on Windows because the Ruby executable is
|
3
|
+
# built with VC++ while here we want to build
|
4
|
+
# with MingW. So just roll our own...
|
5
|
+
|
6
|
+
require 'rake/clean'
|
7
|
+
require 'rbconfig'
|
8
|
+
|
9
|
+
RUBY_INCLUDE_DIR = Config::CONFIG["archdir"]
|
10
|
+
RUBY_BIN_DIR = Config::CONFIG["bindir"]
|
11
|
+
RUBY_LIB_DIR = Config::CONFIG["libdir"]
|
12
|
+
RUBY_SHARED_LIB = Config::CONFIG["LIBRUBY"]
|
13
|
+
RUBY_SHARED_DLL = RUBY_SHARED_LIB.gsub(/lib$/, 'dll')
|
14
|
+
|
15
|
+
CLEAN.include('*.o')
|
16
|
+
CLOBBER.include('libxslt.so')
|
17
|
+
|
18
|
+
task :default => "libxslt"
|
19
|
+
|
20
|
+
SRC = FileList['../ext/libxslt/*.c']
|
21
|
+
OBJ = SRC.collect do |file_name|
|
22
|
+
File.basename(file_name).ext('o')
|
23
|
+
end
|
24
|
+
|
25
|
+
SRC.each do |srcfile|
|
26
|
+
objfile = File.basename(srcfile).ext('o')
|
27
|
+
file objfile => srcfile do
|
28
|
+
command = "gcc -c -fPIC -O2 -Wall -o #{objfile} -I/usr/local/include -I../../rlibxml/ext #{srcfile} -I#{RUBY_INCLUDE_DIR}"
|
29
|
+
sh "sh -c '#{command}'"
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
file "libxslt" => OBJ do
|
34
|
+
command = "libtool --mode=link gcc -shared -o libxslt_ruby.so -L/usr/local/lib -lxml2 -lxslt ../../rlibxml/mingw/libxml_ruby.so #{OBJ} #{RUBY_BIN_DIR}/#{RUBY_SHARED_DLL}"
|
35
|
+
sh "sh -c '#{command}'"
|
36
|
+
end
|
data/vc/libxslt_ruby.sln
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
|
2
|
+
Microsoft Visual Studio Solution File, Format Version 9.00
|
3
|
+
# Visual Studio 2005
|
4
|
+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libxslt_ruby", "libxslt_ruby.vcproj", "{6DCFD1E6-224E-479C-BBD9-B6931DFCD02C}"
|
5
|
+
EndProject
|
6
|
+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libxml_ruby", "..\..\rlibxml\vc\libxml_ruby.vcproj", "{0B65CD1D-EEB9-41AE-93BB-75496E504152}"
|
7
|
+
EndProject
|
8
|
+
Global
|
9
|
+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
10
|
+
Debug|Win32 = Debug|Win32
|
11
|
+
Release|Win32 = Release|Win32
|
12
|
+
EndGlobalSection
|
13
|
+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
14
|
+
{6DCFD1E6-224E-479C-BBD9-B6931DFCD02C}.Debug|Win32.ActiveCfg = Debug|Win32
|
15
|
+
{6DCFD1E6-224E-479C-BBD9-B6931DFCD02C}.Debug|Win32.Build.0 = Debug|Win32
|
16
|
+
{6DCFD1E6-224E-479C-BBD9-B6931DFCD02C}.Release|Win32.ActiveCfg = Release|Win32
|
17
|
+
{6DCFD1E6-224E-479C-BBD9-B6931DFCD02C}.Release|Win32.Build.0 = Release|Win32
|
18
|
+
{0B65CD1D-EEB9-41AE-93BB-75496E504152}.Debug|Win32.ActiveCfg = Debug|Win32
|
19
|
+
{0B65CD1D-EEB9-41AE-93BB-75496E504152}.Debug|Win32.Build.0 = Debug|Win32
|
20
|
+
{0B65CD1D-EEB9-41AE-93BB-75496E504152}.Release|Win32.ActiveCfg = Release|Win32
|
21
|
+
{0B65CD1D-EEB9-41AE-93BB-75496E504152}.Release|Win32.Build.0 = Release|Win32
|
22
|
+
EndGlobalSection
|
23
|
+
GlobalSection(SolutionProperties) = preSolution
|
24
|
+
HideSolutionNode = FALSE
|
25
|
+
EndGlobalSection
|
26
|
+
EndGlobal
|
@@ -0,0 +1,233 @@
|
|
1
|
+
<?xml version="1.0" encoding="Windows-1252"?>
|
2
|
+
<VisualStudioProject
|
3
|
+
ProjectType="Visual C++"
|
4
|
+
Version="8.00"
|
5
|
+
Name="libxslt_ruby"
|
6
|
+
ProjectGUID="{6DCFD1E6-224E-479C-BBD9-B6931DFCD02C}"
|
7
|
+
RootNamespace="libxsl"
|
8
|
+
Keyword="Win32Proj"
|
9
|
+
>
|
10
|
+
<Platforms>
|
11
|
+
<Platform
|
12
|
+
Name="Win32"
|
13
|
+
/>
|
14
|
+
</Platforms>
|
15
|
+
<ToolFiles>
|
16
|
+
</ToolFiles>
|
17
|
+
<Configurations>
|
18
|
+
<Configuration
|
19
|
+
Name="Debug|Win32"
|
20
|
+
OutputDirectory="C:\Development\ruby\lib\ruby\gems\1.8\gems\libxsl-ruby-0.6.1-x86-mswin32-60\lib"
|
21
|
+
IntermediateDirectory="$(ConfigurationName)"
|
22
|
+
ConfigurationType="2"
|
23
|
+
CharacterSet="1"
|
24
|
+
>
|
25
|
+
<Tool
|
26
|
+
Name="VCPreBuildEventTool"
|
27
|
+
/>
|
28
|
+
<Tool
|
29
|
+
Name="VCCustomBuildTool"
|
30
|
+
/>
|
31
|
+
<Tool
|
32
|
+
Name="VCXMLDataGeneratorTool"
|
33
|
+
/>
|
34
|
+
<Tool
|
35
|
+
Name="VCWebServiceProxyGeneratorTool"
|
36
|
+
/>
|
37
|
+
<Tool
|
38
|
+
Name="VCMIDLTool"
|
39
|
+
/>
|
40
|
+
<Tool
|
41
|
+
Name="VCCLCompilerTool"
|
42
|
+
Optimization="0"
|
43
|
+
AdditionalIncludeDirectories=""C:\Development\msys\src\libiconv-1.12\include";"C:\Development\ruby\lib\ruby\1.8\i386-mswin32";"C:\Development\msys\src\libxml2-2.6.32\include";"C:\Development\msys\src\libxslt-1.1.24";C:\Development\msys\src\rlibxml\ext"
|
44
|
+
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;libxsl_EXPORTS"
|
45
|
+
MinimalRebuild="true"
|
46
|
+
BasicRuntimeChecks="3"
|
47
|
+
RuntimeLibrary="3"
|
48
|
+
UsePrecompiledHeader="0"
|
49
|
+
WarningLevel="3"
|
50
|
+
Detect64BitPortabilityProblems="true"
|
51
|
+
DebugInformationFormat="4"
|
52
|
+
/>
|
53
|
+
<Tool
|
54
|
+
Name="VCManagedResourceCompilerTool"
|
55
|
+
/>
|
56
|
+
<Tool
|
57
|
+
Name="VCResourceCompilerTool"
|
58
|
+
/>
|
59
|
+
<Tool
|
60
|
+
Name="VCPreLinkEventTool"
|
61
|
+
/>
|
62
|
+
<Tool
|
63
|
+
Name="VCLinkerTool"
|
64
|
+
AdditionalDependencies="msvcrt-ruby18.lib libxml2.lib libxslt.lib libexslt.lib"
|
65
|
+
OutputFile="C:\Development\ruby\lib\ruby\gems\1.8\gems\libxslt-ruby-0.6.0-x86-mswin32-60\lib\$(ProjectName).so"
|
66
|
+
LinkIncremental="2"
|
67
|
+
AdditionalLibraryDirectories="C:\Development\ruby\lib;"C:\Development\msys\src\libxslt-1.1.24\win32\bin.msvc";"C:\Development\msys\src\libxml2-2.6.32\win32\bin.msvc""
|
68
|
+
GenerateDebugInformation="true"
|
69
|
+
SubSystem="2"
|
70
|
+
TargetMachine="1"
|
71
|
+
/>
|
72
|
+
<Tool
|
73
|
+
Name="VCALinkTool"
|
74
|
+
/>
|
75
|
+
<Tool
|
76
|
+
Name="VCManifestTool"
|
77
|
+
/>
|
78
|
+
<Tool
|
79
|
+
Name="VCXDCMakeTool"
|
80
|
+
/>
|
81
|
+
<Tool
|
82
|
+
Name="VCBscMakeTool"
|
83
|
+
/>
|
84
|
+
<Tool
|
85
|
+
Name="VCFxCopTool"
|
86
|
+
/>
|
87
|
+
<Tool
|
88
|
+
Name="VCAppVerifierTool"
|
89
|
+
/>
|
90
|
+
<Tool
|
91
|
+
Name="VCWebDeploymentTool"
|
92
|
+
/>
|
93
|
+
<Tool
|
94
|
+
Name="VCPostBuildEventTool"
|
95
|
+
/>
|
96
|
+
</Configuration>
|
97
|
+
<Configuration
|
98
|
+
Name="Release|Win32"
|
99
|
+
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
|
100
|
+
IntermediateDirectory="$(ConfigurationName)"
|
101
|
+
ConfigurationType="2"
|
102
|
+
CharacterSet="1"
|
103
|
+
WholeProgramOptimization="1"
|
104
|
+
>
|
105
|
+
<Tool
|
106
|
+
Name="VCPreBuildEventTool"
|
107
|
+
/>
|
108
|
+
<Tool
|
109
|
+
Name="VCCustomBuildTool"
|
110
|
+
/>
|
111
|
+
<Tool
|
112
|
+
Name="VCXMLDataGeneratorTool"
|
113
|
+
/>
|
114
|
+
<Tool
|
115
|
+
Name="VCWebServiceProxyGeneratorTool"
|
116
|
+
/>
|
117
|
+
<Tool
|
118
|
+
Name="VCMIDLTool"
|
119
|
+
/>
|
120
|
+
<Tool
|
121
|
+
Name="VCCLCompilerTool"
|
122
|
+
AdditionalIncludeDirectories=""C:\Development\msys\src\libiconv-1.12\include";"C:\Development\ruby\lib\ruby\1.8\i386-mswin32";"C:\Development\msys\src\libxml2-2.6.32\include";"C:\Development\msys\src\libxslt-1.1.24";C:\Development\msys\src\rlibxml\ext"
|
123
|
+
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;LIBXML_EXPORTS"
|
124
|
+
RuntimeLibrary="2"
|
125
|
+
UsePrecompiledHeader="0"
|
126
|
+
WarningLevel="3"
|
127
|
+
Detect64BitPortabilityProblems="true"
|
128
|
+
DebugInformationFormat="3"
|
129
|
+
/>
|
130
|
+
<Tool
|
131
|
+
Name="VCManagedResourceCompilerTool"
|
132
|
+
/>
|
133
|
+
<Tool
|
134
|
+
Name="VCResourceCompilerTool"
|
135
|
+
/>
|
136
|
+
<Tool
|
137
|
+
Name="VCPreLinkEventTool"
|
138
|
+
/>
|
139
|
+
<Tool
|
140
|
+
Name="VCLinkerTool"
|
141
|
+
AdditionalDependencies="msvcrt-ruby18.lib libxml2.lib libxslt.lib libexslt.lib"
|
142
|
+
OutputFile="$(OutDir)\$(ProjectName).so"
|
143
|
+
LinkIncremental="1"
|
144
|
+
AdditionalLibraryDirectories="C:\Development\ruby\lib;"C:\Development\msys\src\libxslt-1.1.24\win32\bin.msvc""
|
145
|
+
GenerateDebugInformation="true"
|
146
|
+
SubSystem="2"
|
147
|
+
OptimizeReferences="2"
|
148
|
+
EnableCOMDATFolding="2"
|
149
|
+
TargetMachine="1"
|
150
|
+
/>
|
151
|
+
<Tool
|
152
|
+
Name="VCALinkTool"
|
153
|
+
/>
|
154
|
+
<Tool
|
155
|
+
Name="VCManifestTool"
|
156
|
+
/>
|
157
|
+
<Tool
|
158
|
+
Name="VCXDCMakeTool"
|
159
|
+
/>
|
160
|
+
<Tool
|
161
|
+
Name="VCBscMakeTool"
|
162
|
+
/>
|
163
|
+
<Tool
|
164
|
+
Name="VCFxCopTool"
|
165
|
+
/>
|
166
|
+
<Tool
|
167
|
+
Name="VCAppVerifierTool"
|
168
|
+
/>
|
169
|
+
<Tool
|
170
|
+
Name="VCWebDeploymentTool"
|
171
|
+
/>
|
172
|
+
<Tool
|
173
|
+
Name="VCPostBuildEventTool"
|
174
|
+
/>
|
175
|
+
</Configuration>
|
176
|
+
</Configurations>
|
177
|
+
<References>
|
178
|
+
<ProjectReference
|
179
|
+
ReferencedProjectIdentifier="{0B65CD1D-EEB9-41AE-93BB-75496E504152}"
|
180
|
+
RelativePathToProject="..\..\rlibxml\vc\libxml.vcproj"
|
181
|
+
/>
|
182
|
+
</References>
|
183
|
+
<Files>
|
184
|
+
<Filter
|
185
|
+
Name="Source Files"
|
186
|
+
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
|
187
|
+
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
|
188
|
+
>
|
189
|
+
<File
|
190
|
+
RelativePath="..\ext\libxslt\libxslt.c"
|
191
|
+
>
|
192
|
+
</File>
|
193
|
+
<File
|
194
|
+
RelativePath="..\ext\libxslt\ruby_xslt_stylesheet.c"
|
195
|
+
>
|
196
|
+
</File>
|
197
|
+
<File
|
198
|
+
RelativePath="..\ext\libxslt\ruby_xslt_transform_context.c"
|
199
|
+
>
|
200
|
+
</File>
|
201
|
+
</Filter>
|
202
|
+
<Filter
|
203
|
+
Name="Header Files"
|
204
|
+
Filter="h;hpp;hxx;hm;inl;inc;xsd"
|
205
|
+
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
|
206
|
+
>
|
207
|
+
<File
|
208
|
+
RelativePath="..\ext\libxslt\libxslt.h"
|
209
|
+
>
|
210
|
+
</File>
|
211
|
+
<File
|
212
|
+
RelativePath="..\ext\libxslt\ruby_xslt_stylesheet.h"
|
213
|
+
>
|
214
|
+
</File>
|
215
|
+
<File
|
216
|
+
RelativePath="..\ext\libxslt\ruby_xslt_transform_context.h"
|
217
|
+
>
|
218
|
+
</File>
|
219
|
+
<File
|
220
|
+
RelativePath="..\ext\libxslt\version.h"
|
221
|
+
>
|
222
|
+
</File>
|
223
|
+
</Filter>
|
224
|
+
<Filter
|
225
|
+
Name="Resource Files"
|
226
|
+
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
|
227
|
+
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
|
228
|
+
>
|
229
|
+
</Filter>
|
230
|
+
</Files>
|
231
|
+
<Globals>
|
232
|
+
</Globals>
|
233
|
+
</VisualStudioProject>
|
metadata
ADDED
@@ -0,0 +1,81 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: libxslt-ruby
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.6.0
|
5
|
+
platform: x86-mswin32-60
|
6
|
+
authors:
|
7
|
+
- Charlie Savage
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2008-07-06 00:00:00 -06:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: libxml-ruby
|
17
|
+
version_requirement:
|
18
|
+
version_requirements: !ruby/object:Gem::Requirement
|
19
|
+
requirements:
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: "0"
|
23
|
+
version:
|
24
|
+
description: The Libxslt-Ruby project provides Ruby language bindings for the GNOME XSLT C library. It is free software, released under the MIT License.
|
25
|
+
email:
|
26
|
+
executables: []
|
27
|
+
|
28
|
+
extensions: []
|
29
|
+
|
30
|
+
extra_rdoc_files: []
|
31
|
+
|
32
|
+
files:
|
33
|
+
- README
|
34
|
+
- LICENSE
|
35
|
+
- lib/libxslt.rb
|
36
|
+
- ext/libxslt
|
37
|
+
- ext/libxslt/extconf.rb
|
38
|
+
- ext/libxslt/libxslt.c
|
39
|
+
- ext/libxslt/libxslt.h
|
40
|
+
- ext/libxslt/ruby_xslt_stylesheet.c
|
41
|
+
- ext/libxslt/ruby_xslt_stylesheet.h
|
42
|
+
- ext/libxslt/ruby_xslt_transform_context.c
|
43
|
+
- ext/libxslt/ruby_xslt_transform_context.h
|
44
|
+
- ext/libxslt/version.h
|
45
|
+
- mingw/mingw.rake
|
46
|
+
- mingw/libxslt-1.dll
|
47
|
+
- mingw/libxslt_ruby.so
|
48
|
+
- vc/libxslt_ruby.sln
|
49
|
+
- vc/libxslt_ruby.vcproj
|
50
|
+
- lib/libxslt_ruby.so
|
51
|
+
has_rdoc: true
|
52
|
+
homepage: http://libxslt.rubyforge.org/
|
53
|
+
post_install_message:
|
54
|
+
rdoc_options:
|
55
|
+
- --title
|
56
|
+
- libxslt-ruby
|
57
|
+
- --inline-source
|
58
|
+
- --line-numbers
|
59
|
+
require_paths:
|
60
|
+
- lib
|
61
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
62
|
+
requirements:
|
63
|
+
- - ">="
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: 1.8.4
|
66
|
+
version:
|
67
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
68
|
+
requirements:
|
69
|
+
- - ">="
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: "0"
|
72
|
+
version:
|
73
|
+
requirements: []
|
74
|
+
|
75
|
+
rubyforge_project: libxslt-ruby
|
76
|
+
rubygems_version: 1.0.1
|
77
|
+
signing_key:
|
78
|
+
specification_version: 2
|
79
|
+
summary: Ruby libxslt bindings
|
80
|
+
test_files: []
|
81
|
+
|