Coder Social home page Coder Social logo

nackerley / antelope_contrib Goto Github PK

View Code? Open in Web Editor NEW

This project forked from antelopeusersgroup/antelope_contrib

0.0 2.0 0.0 102.5 MB

Contributed code for the Antelope Environmental Monitoring System from BRTT, Inc. (http://www.brtt.com)

Home Page: http://www.antelopeusersgroup.org

Makefile 0.60% C 64.85% Shell 0.10% XProc 4.86% C++ 14.45% Fortran 5.84% Python 2.48% HTML 4.47% CSS 0.13% JavaScript 0.20% Perl 1.14% MATLAB 0.03% Objective-C 0.01% GAP 0.12% Awk 0.01% PHP 0.22% CMake 0.02% XSLT 0.04% Java 0.44% Lex 0.02%

antelope_contrib's Introduction

antelope_contrib

Contributed software for use with the Antelope Environmental Monitoring System from BRTT, Inc.

Maintained by members of the Antelope Users Group.

The Antelope Contrib source code is available on GitHub

Inclusion in Antelope

BRTT includes compiled versions of the software in this repository with every release of Antelope, subject to some basic quality control guidelines. The Contributing section below contains some guidelines.

Layout of the antelope_contrib Git repository

Each directory containing Antelope code is expected to contain a Makefile written in the antelopemakefile(5) format. The Antelope build process will not build any directory that does not contain a Makefile.

Code in this repository is laid out in a few top-level dirctories.

  • first - Code that is necessary for antelope_contrib to compile properly. Built before anything else. Use sparingly.
  • lib - C shared libraries, Perl modules, and Python modules
  • bin - The bin directory contains executables.
    • bin/rt - Code that talks to instruments typically lives under bin/rt.
    • bin/export - Code that allows other software packages to use Antelope data lives in bin/export.
  • data - Third-party language bindings for PHP, and Java, plus data-only files like travel time databases and instrument response curves.
  • nobuild - Older code that is abandonned by the author or no longer works with the current version of Antelope, but may be interesting to others

Usage

All code in this repository requires a working Antelope installation. Additionally, the Antelope environment must be configured in your shell environment.

Historically, this repository was checked out in $ANTELOPE/src, but can be checked out to any location that the user desires.

Compilation is handled by the UNIX make command. Most of the Makefiles in this repository make use of the antelopemake(5) mechanism, which is a bit of Antelope-specific syntacic sugar and macros.

Initial setup

In the instructions below, make sure to substitute the correct version of Antelope.

You may also choose to check out the contributed code to another location than $ANTELOPE/src.

For Bourne shells:

. /opt/antelope/5.5/setup.sh
cd $ANTELOPE
git clone https://github.com/antelopeusersgroup/antelope_contrib.git src

For C shells:

source /opt/antelope/5.5/setup.csh
cd $ANTELOPE
git clone https://github.com/antelopeusersgroup/antelope_contrib.git src

localmake

Some of the code in this repository needs to link against third party software applications and libraries that may not be present on all systems. In order for this code to compile, the Makefiles for some code use the localmake mechanism to read a set of pre-defined paths to libraries and other applications. No defaults are provided - you must run the localmake_config command to set up these macros. Basic boot-strapping for localmake looks like this:

# Install the localmake_config command from source
cd $ANTELOPE/src/first/localmake_config
make Include

# Install the localmake command
cd ../localmake
make Include; make; make install
cd ../../


# Run localmake_config to define the paths to various third-party software
localmake_config

Compilation

cd $ANTELOPE/src # or where ever you checked out the repository
make Include
make
make install

Contributing

Code Contribution Rules

As a rule, all code in this repository MUST at a minimum:

  1. Compile cleanly on the supported Antelope platforms (RHEL 6+ and Mac OSX 10.8+)
  2. Contain a Makefile set up to use the antelopemake(5) rules, and with the SUBDIR macro set to /contrib (See the Example Makefile below)
  3. Contain a man page describing how to use the program or library. This can be formatted by hand or created with a documentation package like Doxygen, sphinx, pod2man, or javadoc.
  4. Contain a file called LICENSE that clearly states the license that program is released with. See the Licensing section below for acceptable licenses.

Development Process

  1. Fork it (https://github.com/antelopeusersgroup/antelope_contrib/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Example Makefile

BIN = myprog
MAN1 = $(BIN).1

SUBDIR=/contrib
include $(ANTELOPEMAKE)

Licensing

All code in this repository is expected to be readily distributed. In order for pre-compiled versions of your code to be included with the Antelope distribution, it must be accompanied by a LICENSE file, and be of a type that lends itself to inclusion in commercial packages. Generally speaking, BSD and MIT style licenses are ok, but GNU GPL and LGPL are not.

For more information on BRTT's rules for code contribution with Antelope, please see BRTT's contrib licensing page.

antelope_contrib's People

Contributors

kentlindquist avatar pavlis avatar danq avatar flvernon avatar geoffdavis avatar jreyes1108 avatar jeakins avatar eldodanny avatar kentatbrtt avatar nikolaus avatar robnewman avatar markcwill avatar tmulder avatar brtteakins avatar decibelhertz avatar sfoley avatar vonseg1 avatar robinsonmitch avatar

Watchers

James Cloos avatar Nick Ackerley 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.