packages feed

keera-posture-0.2.2: keera-posture.cabal

-- auto-generated by cabal init. For additional options, see
-- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#pkg-descr.
-- The name of the package.
Name:                keera-posture

-- The package version. See the Haskell package versioning policy
-- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for
-- standards guiding when and how versions should be incremented.
Version:             0.2.2

-- A short (one-line) description of the package.
Synopsis:            Get notifications when your sitting posture is inappropriate.

-- A longer description of the package.
Description:         A program that notifies when you sit in a straining position.

-- URL for the project homepage or repository.
Homepage:            http://keera.co.uk/projects/keera-posture

-- The license under which the package is released.
License:             OtherLicense

-- The file containing the license text.
License-file:        LICENSE

-- The package author(s).
Author:              Ivan Perez

-- An email address to which users can send suggestions, bug reports,
-- and patches.
Maintainer:          support@keera.co.uk

-- A copyright notice.
-- Copyright:

-- Stability of the package (experimental, provisional, stable...)
-- Stability:           Experimental

Tested-With:         GHC == 7.6.3

Category:            AI

Build-type:          Simple

Data-files: data/Interface.glade data/warning.wav data/*.png data/haarcascade_frontalface_alt.xml

-- Extra files to be distributed with the package, such as examples or
-- a README.
Extra-source-files:  README
                     CHANGELOG

-- Constraint on the version of Cabal needed to build this package.
Cabal-version:       >=1.6

Executable keera-posture
  -- .hs or .lhs file containing the Main module.
  Main-is: Main.hs
  hs-source-dirs: src/

  if os(windows)
   ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O2
   -- ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O2 -optl-mwindows
   -- ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O2 -rtsopts=all
   extra-libraries: SDL_mixer
  else
   ghc-options: -threaded -Wall -fno-warn-unused-do-bind
   -- ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O2 obj/OpenCVGtkPixbuf.o

  -- Packages needed in order to build this package.
  -- Build-depends:
  if os(windows)
    Build-depends: base >= 4.0 && < 5,
                   containers,
                   cv-combinators,
                   cmdargs,
                   HOpenCV,
                   mtl,
                   IfElse,
                   filepath,
                   directory,
                   glib,
                   allocated-processor,
                   time,
                   SDL-mixer,
                   SDL,
                   -- glade,
                   gtk >= 0.12.1,
                   gio >= 0.12.1,
                   hgettext,
                   setlocale,
                   utf8-string,
                   bytestring,
                   network,
                   HTTP,
                   process,
                   Win32,

                   -- Keera Studios libraries
                   gtk-helpers,
                   MissingK,
                   keera-hails-mvc-solutions-gtk,
                   keera-hails-mvc-model-protectedmodel,
                   keera-hails-mvc-view-gtk,
                   keera-hails-i18n,
                   keera-hails-mvc-environment-gtk,
                   keera-hails-reactive-gtk,
                   keera-hails-mvc-controller,
                   keera-hails-mvc-solutions-config,
                   keera-hails-reactivevalues                > 0.2
  else
    Build-depends: base                                      >= 4.0 && < 5,
                   containers,
                   cv-combinators,
                   cmdargs,
                   HOpenCV,
                   mtl,
                   IfElse,
                   filepath,
                   directory,
                   glib,
                   allocated-processor,
                   time,
                   SDL-mixer,
                   SDL,
                   -- glade,
                   gtk,
                   gio,
                   hgettext,
                   setlocale,
                   utf8-string,
                   bytestring,
                   network,
                   HTTP,
                   process,

                   -- Keera Studios libraries
                   gtk-helpers,
                   MissingK,
                   keera-hails-mvc-solutions-gtk,
                   keera-hails-mvc-model-protectedmodel,
                   keera-hails-mvc-view-gtk,
                   keera-hails-i18n,
                   keera-hails-mvc-environment-gtk,
                   keera-hails-reactive-gtk,
                   keera-hails-mvc-controller,
                   keera-hails-mvc-solutions-config,
                   keera-hails-reactivevalues                > 0.2

  -- Modules not exported by this package.
  Other-modules: Audio,
                 AI.CV.PostureProcessors,
                 CombinedEnvironment,
                 Controller,
                 Controller.Conditions,
                 Controller.Conditions.Calibrate,
                 Controller.Conditions.Calibration,
                 Controller.Conditions.Config,
                 Controller.Conditions.Detector,
                 Controller.Conditions.Help,
                 Controller.Conditions.LanguageConfig,
                 Controller.Conditions.MenuEnabled,
                 Controller.Conditions.MenuEnabledClick,
                 Controller.Conditions.NotificationMenu,
                 Controller.Conditions.NotifySound,
                 Controller.Conditions.NotifyWindow,
                 Controller.Conditions.PopupMenu,
                 Controller.Conditions.Postcalibration,
                 Controller.Conditions.Precalibration,
                 Controller.Conditions.PreferencesDetectionCamera,
                 Controller.Conditions.PreferencesDetectionCorrection,
                 Controller.Conditions.PreferencesDetectionDelay,
                 Controller.Conditions.PreferencesDetectionMethods,
                 Controller.Conditions.PreferencesDialog,
                 Controller.Conditions.PreferencesDialogDestroy,
                 Controller.Conditions.PreferencesLanguageCombo,
                 Controller.Conditions.PreferencesSoundCustomise,
                 Controller.Conditions.PreferencesUplink,
                 Controller.Conditions.Quit,
                 Controller.Conditions.Status,
                 Controller.Conditions.UpdateCheck,
                 Controller.Conditions.Website,
                 Controller.Conditions.Welcome,
                 Data.Extra.Ord,
                 I18N.Strings,
                 Model.Model,
                 Model.ProtectedModel
                 Model.ProtectedModel,
                 Model.ProtectedModel.Detector,
                 Model.ProtectedModel.Preferences,
                 Model.ProtectedModel.ProtectedFields,
                 Model.ProtectedModel.ProtectedModelInternals,
                 Model.ProtectedModel.Sound,
                 Model.ProtectedModel.Status,
                 Model.ReactiveModel,
                 Model.ReactiveModel.Detector,
                 Model.ReactiveModel.ModelEvents,
                 Model.ReactiveModel.Preferences,
                 Model.ReactiveModel.ReactiveFields,
                 Model.ReactiveModel.ReactiveModelInternals,
                 Model.ReactiveModel.Sound,
                 Model.ReactiveModel.Status,
                 MyIO,
                 Paths,
                 Paths.CustomPaths,
                 View,
                 View.InitLanguagesCombo,
                 View.Objects

  -- Extra tools (e.g. alex, hsc2hs, ...) needed to build the source.
  -- Build-tools: hails

source-repository head
  type:     git
  location: https://github.com/keera-studios/keera-posture.git