Skip to content

Commit

Permalink
Improved DESCRIPTION generation for octave-api
Browse files Browse the repository at this point in the history
* Use version number from C++ api
* Use current date for release date
* Shortened package description
  • Loading branch information
oheim committed Nov 13, 2015
1 parent 8fc3f95 commit 3809000
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
15 changes: 5 additions & 10 deletions client-api/Octave/DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,23 +1,18 @@
Name: vibes
Version: 0.2.0
Date: 2015-11-12
Version: %VERSION%
Date: %DATE%
Author: Oliver Heimlich <[email protected]>
Maintainer: ENSTA Bretagne Robotics
Title: Interface to VIBes, Visualizer for Intervals and Boxes
Description: VIBes is a visualization system that aims at providing people
working with interval methods a way to display results (boxes, pavings),
without worrying with GUI programming. It provides drawing functions
accessible from a lot of programming languages, without complex installation
and library dependencies. The main design goal of VIBes is to be
cross-platform, available from different programming languages, simple to
set-up, easy to port to a new language.
Description: The VIBes API allows one to easily display results (boxes, pavings)
from interval methods.

VIBes consists in two parts: (1) the VIBes application that features viewing,
annotating and exporting figures, and (2) the VIBes API that enables your
program to communicate with the viewer in order to draw figures.

This package integrates the VIBes API into Octave. The VIBes application
is required for operation and must be installed seperately. Data types from
third-party interval arithmetic libraries for Octave are also supportd.
third-party interval arithmetic libraries for Octave are also supported.
Depends: octave (>= 4.0.0)
License: GPLv3+
6 changes: 4 additions & 2 deletions client-api/Octave/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ SHELL = /bin/sh

CUT ?= cut
PACKAGE = $(shell grep "^Name: " DESCRIPTION | $(CUT) -f2 -d" ")
VERSION = $(shell grep "^Version: " DESCRIPTION | $(CUT) -f2 -d" ")
DATE = $(shell grep "^Date: " DESCRIPTION | $(CUT) -f2 -d" ")
VERSION = $(shell grep "^/// \\\\version " ../C++/src/vibes.h | $(CUT) -f3 -d" " | sed -e "s/[^0-9.]//g")
DATE = $(shell date "+%Y-%m-%d")

##
## Release Process
Expand All @@ -44,6 +44,8 @@ $(RELEASE_TARBALL): ../../.git/index
(cd "$(PACKAGE)-bundle" && tar xf -)
@(cd ../C++/; git archive --format=tar --prefix="$(PACKAGE)-$(VERSION)/" HEAD src) | \
(cd "$(PACKAGE)-bundle" && tar xf -)
@sed -i -e "s/%VERSION%/$(VERSION)/" "$(PACKAGE)-bundle/$(PACKAGE)-$(VERSION)/DESCRIPTION"
@sed -i -e "s/%DATE%/$(DATE)/" "$(PACKAGE)-bundle/$(PACKAGE)-$(VERSION)/DESCRIPTION"
@(cd "$(PACKAGE)-bundle" && tar czf "../$@" "$(PACKAGE)-$(VERSION)")

##
Expand Down

0 comments on commit 3809000

Please sign in to comment.