2020-08-04 06:15:06 +00:00
|
|
|
cabal-version: 3.0
|
|
|
|
name: MetaBrush
|
|
|
|
version: 0.1.0.0
|
|
|
|
synopsis: GUI for brush calligraphy.
|
|
|
|
category: Calligraphy, Font, Geometry, Graphics, GUI
|
2020-08-05 20:23:16 +00:00
|
|
|
license: NONE
|
2020-08-04 06:15:06 +00:00
|
|
|
homepage: https://gitlab.com/sheaf/MetaBrush
|
|
|
|
build-type: Simple
|
2020-08-05 20:23:16 +00:00
|
|
|
data-dir:
|
|
|
|
assets
|
2020-08-04 06:15:06 +00:00
|
|
|
data-files:
|
2020-08-05 20:23:16 +00:00
|
|
|
theme.css
|
2020-08-07 19:39:24 +00:00
|
|
|
icon.png
|
2020-08-04 06:15:06 +00:00
|
|
|
description:
|
|
|
|
|
|
|
|
MetaBrush is a GUI for brush calligraphy based on Bézier curves.
|
|
|
|
|
|
|
|
A brush stroke is defined by two components:
|
|
|
|
|
|
|
|
* the path of the brush, specified using quadratic Bézier curves,
|
|
|
|
|
|
|
|
* the shape of the brush, also specified with quadratic Bézier curves.
|
|
|
|
|
|
|
|
The shape of the brush is allowed to vary along the path.
|
|
|
|
|
|
|
|
common common
|
|
|
|
|
|
|
|
build-depends:
|
|
|
|
base
|
|
|
|
>= 4.13 && < 4.16
|
|
|
|
|
|
|
|
default-language:
|
|
|
|
Haskell2010
|
|
|
|
|
|
|
|
ghc-options:
|
|
|
|
-O1
|
|
|
|
-fexpose-all-unfoldings
|
|
|
|
-fspecialise-aggressively
|
|
|
|
-Wall
|
|
|
|
-Wcompat
|
|
|
|
-fwarn-missing-local-signatures
|
|
|
|
-fwarn-incomplete-patterns
|
|
|
|
-fwarn-incomplete-uni-patterns
|
|
|
|
-fwarn-missing-deriving-strategies
|
2020-08-05 20:23:16 +00:00
|
|
|
-fno-warn-unticked-promoted-constructors
|
2020-08-04 06:15:06 +00:00
|
|
|
|
|
|
|
library
|
|
|
|
|
|
|
|
import:
|
|
|
|
common
|
|
|
|
|
|
|
|
hs-source-dirs:
|
|
|
|
src/lib
|
|
|
|
|
|
|
|
exposed-modules:
|
|
|
|
Math.Bezier.Cubic
|
|
|
|
, Math.Bezier.Quadratic
|
|
|
|
, Math.Bezier.Stroke
|
|
|
|
, Math.Bezier.Subdivision
|
|
|
|
, Math.Module
|
|
|
|
, Math.Vector2D
|
|
|
|
|
|
|
|
build-depends:
|
|
|
|
acts
|
|
|
|
^>= 0.3.1.0
|
|
|
|
, generic-data
|
|
|
|
>= 0.8.0.0 && < 0.8.4.0
|
|
|
|
, groups
|
|
|
|
^>= 0.4.1.0
|
|
|
|
, groups-generic
|
|
|
|
^>= 0.1.0.0
|
|
|
|
|
|
|
|
executable MetaBrush
|
|
|
|
|
2020-08-05 20:23:16 +00:00
|
|
|
import:
|
|
|
|
common
|
|
|
|
|
2020-08-04 06:15:06 +00:00
|
|
|
hs-source-dirs:
|
|
|
|
src/app
|
|
|
|
, app
|
|
|
|
|
|
|
|
main-is:
|
|
|
|
Main.hs
|
|
|
|
|
|
|
|
other-modules:
|
|
|
|
MetaBrush.Asset.Brush
|
2020-08-05 20:23:16 +00:00
|
|
|
, MetaBrush.Asset.Colours
|
2020-08-07 19:39:24 +00:00
|
|
|
, MetaBrush.Asset.Cursor
|
2020-08-04 06:15:06 +00:00
|
|
|
, MetaBrush.Asset.Logo
|
|
|
|
, MetaBrush.Asset.Magnifier
|
|
|
|
, MetaBrush.Asset.Meta
|
|
|
|
, MetaBrush.Asset.TickBox
|
|
|
|
, MetaBrush.Asset.WindowIcons
|
|
|
|
, MetaBrush.Document
|
2020-08-05 20:23:16 +00:00
|
|
|
, MetaBrush.Event
|
2020-08-04 06:15:06 +00:00
|
|
|
, MetaBrush.Render.Util
|
|
|
|
, MetaBrush.Stroke
|
2020-08-05 20:23:16 +00:00
|
|
|
, MetaBrush.UI.Menu
|
2020-08-04 06:15:06 +00:00
|
|
|
, Paths_MetaBrush
|
|
|
|
|
|
|
|
autogen-modules:
|
|
|
|
Paths_MetaBrush
|
|
|
|
|
|
|
|
ghc-options:
|
|
|
|
-threaded -rtsopts
|
|
|
|
|
|
|
|
build-depends:
|
|
|
|
MetaBrush
|
2020-08-05 20:23:16 +00:00
|
|
|
, directory
|
|
|
|
>= 1.3.4.0 && < 1.4
|
|
|
|
, generic-lens
|
|
|
|
>= 1.2.0.1 && < 2.0
|
2020-08-04 06:15:06 +00:00
|
|
|
, gi-gdk
|
|
|
|
>= 3.0.22 && < 3.1
|
2020-08-05 20:23:16 +00:00
|
|
|
, gi-gio
|
|
|
|
>= 2.0.27 && < 2.1
|
2020-08-04 06:15:06 +00:00
|
|
|
, gi-glib
|
|
|
|
>= 2.0.23 && < 2.1
|
|
|
|
, gi-gtk
|
|
|
|
>= 3.0.35 && < 3.1
|
|
|
|
, gi-cairo-render
|
|
|
|
^>= 0.0.1
|
|
|
|
, gi-cairo-connector
|
|
|
|
^>= 0.0.1
|
2020-08-06 03:06:18 +00:00
|
|
|
, haskell-gi-base
|
|
|
|
^>= 0.24
|
2020-08-04 06:15:06 +00:00
|
|
|
, text
|
|
|
|
^>= 1.2.3.1 && < 1.2.5
|