package gammu

Not available on OCaml 5.5
  1. Overview
  2. Docs

Description

Gammu is a binding to libGammu which allows to manage data in your cell phone such as contacts, calendar or messages.

Tags

SMS phone clib:gammu

Added to opam-repository:

README

Gammu

This is a binding from OCaml to libGammu, which provides an abstraction layer to work with different cell phones from different vendors.

Install

First, you need to install the gammu development files; see gammu.opam to get the right package for your system. The build script will use pkg-config to determine the right flags for your system. If pkg-config does not work (e.g. you are on Windows), set the environment variable OCAML_GAMMU_CFLAGS to the compiler flags to find the header files (e.g. -I/usr/include/gammu) and OCAML_GAMMU_LIBS to the linking flags (e.g. -lgammu -lm). Beware that, if these variables are set, they take precedence over the pkg-config discovery.

The easier way to install this library is to use opam:

opam install gammu

If you prefer to compile by hand, issue jbuilder build @install in the directory in which you downloaded this code.

To compile the library with debugging output turned on for the C stubs, define the environment variable OCAML_GAMMU_DEBUG.

Documentation

The documentation is available in gammu.mli or online.

Dependencies (6)

  1. conf-pkg-config build
  2. configurator build
  3. stdio build
  4. base build
  5. jbuilder >= "1.0+beta9"
  6. ocaml >= "4.02.3"

Dev Dependencies (1)

  1. base-unix build & with-test

Optional Dependencies

None

Used by

None

Conflicts

None

Build status

Results of building gammu with each compiler on check.ci.ocaml.org, run of against opam-repository 7cdc698. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.9.4 (this version) good n/a n/a n/a n/a
0.9.3 good good n/a n/a n/a
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure