Giter Site home page Giter Site logo

otdb's Introduction

OTDB

otdb is a program that utilizes libotfs to represent a database of OpenTag Filesystems.

otdb has a command-line style interface that can work interactively or over a socket. The protocol is described in the OTDB API & Socket Protocol document that should be in the same directory as this ReadMe.

Building OTDB

Dependencies

OTDB has two kinds of dependencies

  • Local Dependencies: You only need to worry about these with source distributions of OTDB
  • External Dependencies: If you receive a binary distribution, you still need to install talloc.

External Dependencies

External Dependencies are packages of commony distributed libraries. For licensing or practical reasons, they need to be installed separately from OTDB.

  1. talloc

Mac, via Homebrew:

brew install talloc

Ubuntu, via apt-get:

sudo apt-get install libtalloc-dev

Source Download (use 2.1.14 or later)

https://www.samba.org/ftp/talloc/

Local Dependencies

Local Dependencies are libraries that are curated and distributed together with OTDB. These libraries may be downloaded from the Git Repository system (e.g. Bitbucket Project Directory) that OTDB also exists inside. Here is a list of these repositories you'll need to download. They should be stored in the same parent directory as OTDB (just like the way they are arranged as repositories).

  • argtable
  • bintex
  • cJSON
  • cmdtab
  • _hbsys
  • hbutils
  • libjudy
  • libotfs
  • OTEAX

Build Commands

The build process uses GNU build tools, namely make. OTDB implements the HB package management model. The method for building and install OTDB into the HB package manager is:

$ make pkg

If you are doing lots of building, pkg does the same thing as the snippet below. You can make the dependencies, and then build OTDB independently (using all) if you are looking to optimize seconds.

$ make deps
$ make all
$ make install

Build Results

make deps will build all the requisite dependencies, make all will build OTDB, and make install will package OTDB into the _hbpkg and _hbsys directories.

_hbpkg is where all headers, libraries, and binaries are copied, on a per-project organization model.

_hbsys is what you should use during linking, including, and to put in your $PATH. _hbsys/${MACHINE_TYPE}/bin can be put in your $PATH to simplify running OTDB (and other tools) from the command line.

Running OTDB

TODO

TODO

otdb's People

Contributors

jpnorair avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.