Skip to content

Commit

Permalink
Use gtk2hs-buildtools the library instead of the executables
Browse files Browse the repository at this point in the history
  • Loading branch information
Mitsutoshi Aoe committed Jul 15, 2017
1 parent c12d650 commit 5afc5ff
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
8 changes: 2 additions & 6 deletions Setup.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
-- all Gtk2Hs-specific boilerplate is kept in
-- gtk2hs-buildtools:Gtk2HsSetup
--
import Gtk2HsSetup ( gtk2hsUserHooks, checkGtk2hsBuildtools,
typeGenProgram, signalGenProgram, c2hsLocal)
import Gtk2HsSetup ( gtk2hsUserHooks )
import Distribution.Simple ( defaultMainWithHooks )

main = do
checkGtk2hsBuildtools [typeGenProgram, signalGenProgram, c2hsLocal]
defaultMainWithHooks gtk2hsUserHooks

main = defaultMainWithHooks gtk2hsUserHooks
3 changes: 0 additions & 3 deletions gtk-mac-integration.cabal-renamed
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ Library
glib >=0.13.0.0 && <0.14,
gtk >=0.13.0.0 && <0.15

build-tools: gtk2hsC2hs >= 0.13.11,
gtk2hsHookGenerator, gtk2hsTypeGen

exposed-modules:
Graphics.UI.Gtk.OSX
Graphics.UI.Gtk.OSX.Application
Expand Down
3 changes: 0 additions & 3 deletions gtk3-mac-integration.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ Library
glib >=0.13.0.0 && <0.14,
gtk3 >=0.13.0.0 && <0.15

build-tools: gtk2hsC2hs >= 0.13.11,
gtk2hsHookGenerator, gtk2hsTypeGen

exposed-modules:
Graphics.UI.Gtk.OSX
Graphics.UI.Gtk.OSX.Application
Expand Down

0 comments on commit 5afc5ff

Please sign in to comment.