Skip to content

Commit 31086f8

Browse files
authored
Merge pull request #2001 from GenericMappingTools/add-ghost
First cut of a ghostscript wrapper. We can now call the ghoscript dll directly.
2 parents 6d324b5 + 2882144 commit 31086f8

5 files changed

Lines changed: 907 additions & 1 deletion

File tree

deps/build.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ end
8989

9090
if (!errou) # Save shared names in file so that GMT.jl can read them at pre-compile time
9191
depfile = joinpath(dirname(@__FILE__), "deps.jl")
92+
#libgs = "C:\\programs\\gs\\bin\\gsdll64.dll"
93+
#libgs = "C:\\Users\\j\\.julia\\artifacts\\bf8f14a072d574839afd40d235e4ce6cd9e91a78\\bin\\libgs-9-55.dll"
9294
open(depfile, "w") do f
9395
println(f, "_libgmt = \"", escape_string(joinpath(GMT_bindir, libgmt)), '"')
9496
println(f, "_libpostscriptlight = \"", escape_string(joinpath(GMT_bindir, libpostscriptlight)), '"')

src/GMT.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,8 @@ include("extras/wave_travel_time.jl")
348348
include("extras/weather.jl")
349349
include("extras/webmapserver.jl")
350350
include("extras/whittaker.jl")
351+
include("ghost/libghostscript.jl")
352+
include("ghost/ghost_funs.jl")
351353
include("laszip/Laszip.jl")
352354
include("seis/psmeca.jl")
353355
include("segy/segy.jl")

0 commit comments

Comments
 (0)