Skip to content

Commit

Permalink
Merge pull request #806 from nomis52/debian
Browse files Browse the repository at this point in the history
Debian Updates
  • Loading branch information
nomis52 committed Jul 1, 2015
2 parents ec02183 + 16cd43f commit e9ece05
Show file tree
Hide file tree
Showing 16 changed files with 99 additions and 136 deletions.
10 changes: 5 additions & 5 deletions debian/Makefile.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,24 @@ EXTRA_DIST += \
debian/compat \
debian/control \
debian/copyright \
debian/dirs \
debian/ola-dev.dirs \
debian/ola-dev.install \
debian/libola-dev.dirs \
debian/libola-dev.install \
debian/libola1.install \
debian/ola-python.dirs \
debian/ola-python.install \
debian/ola-rdm-tests.bash-completion \
debian/ola-rdm-tests.config \
debian/ola-rdm-tests.dirs \
debian/ola-rdm-tests.rdm_test_server.init \
debian/ola-rdm-tests.install \
debian/ola-rdm-tests.postinst \
debian/ola-rdm-tests.rdm_test_server.init \
debian/ola-rdm-tests.templates \
debian/ola.bash-completion \
debian/ola.config \
debian/ola.dirs \
debian/ola.docs \
debian/ola.olad.init \
debian/ola.install \
debian/ola.olad.init \
debian/ola.postinst \
debian/ola.templates \
debian/ola.udev \
Expand Down
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
ola (0.9.6-1) unstable; urgency=medium

* New upstream release

-- Simon Newton <[email protected]> Tue, 30 Jun 2015 15:08:57 -0700

ola (0.9.5-1) unstable; urgency=low

* New upstream release
Expand Down
2 changes: 1 addition & 1 deletion debian/compat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7
9
67 changes: 54 additions & 13 deletions debian/control
Original file line number Diff line number Diff line change
@@ -1,51 +1,92 @@
Source: ola
Priority: extra
Maintainer: RenZO <[email protected]>
Build-Depends: debhelper (>= 7), autotools-dev, bash-completion, automake, libftdi-dev, libusb-dev, libprotobuf-dev, python-dev, libmicrohttpd-dev, protobuf-compiler, uuid-dev, bison, flex, libcppunit-dev, python-protobuf, libprotoc-dev
Standards-Version: 3.9.1
Maintainer: Wouter Verhelst <[email protected]>
Uploaders: RenZO <[email protected]>
Build-Depends: debhelper (>= 9), autotools-dev, dh-autoreconf, bash-completion, libcppunit-dev, bison, flex, pkg-config, uuid-dev, python, python-protobuf, libprotobuf-dev, protobuf-compiler, libprotoc-dev, libusb-1.0-0-dev, libftdi-dev, liblo-dev, libmicrohttpd-dev
Standards-Version: 3.9.5
Section: libs
Vcs-Git: https://github.com/OpenLightingProject/ola.git
Vcs-browser: https://github.com/OpenLightingProject/ola
Homepage: https://www.openlighting.org/

Package: ola-dev
Package: libola-dev
Section: libdevel
Architecture: any
Depends: ola (= ${binary:Version}), ${misc:Depends}
Description: Open Lighting Architecture
Description: Open Lighting Architecture - development libraries
The DMX512 standard for Digital MultipleX is used for digital
communication networks commonly used to control stage lighting and
effects.
.
The Open Lighting Architecture (OLA) provides a plugin framework for
distributing DMX512 control signals on Mac and Linux.
.
OLA is written and maintained by Simon Newton <[email protected]>
This package contains the development files for libola and various related
libraries, used to write plugins or control the OLA daemon.

Package: ola-python
Section: libs
Architecture: all
Depends: ola (= ${binary:Version}), ${python:Depends}, ${misc:Depends}, python-protobuf
Description: OLA Python Classes
Depends: ola (>= ${source:Version}), ola (<< ${source:Version}.~), ${python:Depends}, ${misc:Depends}, python-protobuf
Description: Open Lighting Architecture - Python Classes
The DMX512 standard for Digital MultipleX is used for digital
communication networks commonly used to control stage lighting and
effects.
.
The Open Lighting Architecture (OLA) provides a plugin framework for
distributing DMX512 control signals on Mac and Linux.
.
OLA is written and maintained by Simon Newton <[email protected]>
This package contains the files required for plugins or to control the OLA
daemon from python.

Package: ola-rdm-tests
Section: libs
Architecture: all
Depends: ola (= ${binary:Version}), ola-python (= ${binary:Version}), ${python:Depends}, ${misc:Depends}
Depends: ola (>= ${source:Version}), ola (<< ${source:Version}.~), ola-python (= ${binary:Version}), ${python:Depends}, ${misc:Depends}, libjs-jquery, libjs-jquery-ui
Suggests: bash-completion
Description: OLA RDM Responder Tests
Description: Open Lighting Architecture - RDM Responder Tests
The DMX512 standard for Digital MultipleX is used for digital
communication networks commonly used to control stage lighting and
effects.
.
The Remote Device Management protocol is an extension to DMX512,
allowing bi-directional communication between RDM-compliant devices
without disturbing other devices on the same connection.
.
The Open Lighting Architecture (OLA) provides a plugin framework for
distributing DMX512 control signals on Mac and Linux.
.
OLA is written and maintained by Simon Newton <[email protected]>
This package provides an automated way to check protocol compliance in
RDM devices.

Package: ola
Section: electronics
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, adduser
Suggests: bash-completion
Description: Open Lighting Architecture
The DMX512 standard for Digital MultipleX is used for digital
communication networks commonly used to control stage lighting and
effects.
.
The Open Lighting Architecture (OLA) provides a plugin framework for
distributing DMX512 control signals on Mac and Linux.
.
This package contains olad, the OLA daemon used to control lighting,
and a number of command-line tools to control and manipulate olad.

Package: libola1
Section: libs
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Pre-Depends: ${misc:Pre-Depends}
Description: Open Lighting Architecture - shared libraries
The DMX512 standard for Digital MultipleX is used for digital
communication networks commonly used to control stage lighting and
effects.
.
The Open Lighting Architecture (OLA) provides a plugin framework for
distributing DMX512 control signals on Mac and Linux.
.
OLA is written and maintained by Simon Newton <[email protected]>
This package contains the shared libraries required to communicate with
olad.
2 changes: 0 additions & 2 deletions debian/dirs

This file was deleted.

File renamed without changes.
6 changes: 6 additions & 0 deletions debian/libola-dev.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
usr/include/*
usr/lib/*/pkgconfig/*
usr/lib/*/libola*.so
usr/lib/*/libola*.a
usr/lib/*/libola*.so
usr/lib/*/libola*.a
5 changes: 5 additions & 0 deletions debian/libola1.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
usr/lib/*/libola*.so.?
usr/lib/*/libola*.so.?.?.*
usr/lib/*/libola*.so.?
usr/lib/*/libola*.so.?.?.*

5 changes: 0 additions & 5 deletions debian/ola-dev.install

This file was deleted.

4 changes: 2 additions & 2 deletions debian/ola-python.install
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
usr/lib/python*/{dist,site}-packages/ola/*.py
usr/lib/python*/{dist,site}-packages/ola/rpc/*.py
usr/lib/python*/dist-packages/ola/*.py
usr/lib/python*/dist-packages/ola/rpc/*.py
4 changes: 2 additions & 2 deletions debian/ola-rdm-tests.install
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
usr/bin/*.py
usr/lib/python*/{dist,site}-packages/ola/testing/*.py
usr/lib/python*/{dist,site}-packages/ola/testing/rdm/*.py
usr/lib/python*/dist-packages/ola/testing/*.py
usr/lib/python*/dist-packages/ola/testing/rdm/*.py
usr/share/ola/rdm-server/*
usr/share/ola/rdm-server/images/*
2 changes: 0 additions & 2 deletions debian/ola.install
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
usr/bin/ola*
usr/bin/rdmpro_sniffer
usr/bin/usbpro_firmware
usr/lib/libola*.so.?
usr/lib/libola*.so.?.?.*
usr/share/olad/*
usr/share/ola/pids/*
usr/share/man/man1/*
113 changes: 9 additions & 104 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -8,112 +8,17 @@

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export VERBOSE=1

%:
dh $@ --parallel --with autotools_dev,autoreconf,bash_completion,python2

# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
else
CROSS= --build $(DEB_BUILD_GNU_TYPE)
endif
override_dh_auto_configure:
dh_auto_configure -- --enable-python-libs --enable-rdm-tests

override_dh_installinit:
dh_installinit -p ola --name=olad
dh_installinit -p ola-rdm-tests --name=rdm_test_server



# shared library versions, option 1
version=2.0.5
major=2
# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
#version=`ls src/.libs/lib*.so.* | \
# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
#major=`ls src/.libs/lib*.so.* | \
# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`

config.status: configure
dh_testdir
# Add here commands to configure the package.
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
cp -f /usr/share/misc/config.sub config.sub
endif
ifneq "$(wildcard /usr/share/misc/config.guess)" ""
cp -f /usr/share/misc/config.guess config.guess
endif
./configure $(CROSS) --enable-python-libs --enable-rdm-tests --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)"


build: build-stamp
build-stamp: config.status
dh_testdir

# Add here commands to compile the package.
$(MAKE)

touch $@

clean:
dh_testdir
dh_testroot
rm -f build-stamp

# Add here commands to clean up after the build process.
[ ! -f Makefile ] || $(MAKE) distclean
rm -f config.sub config.guess

dh_clean

install: build
dh_testdir
dh_testroot
dh_prep
dh_installdirs

# Add here commands to install the package into debian/tmp
$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install


# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.

# Build architecture-dependent files here.
binary-arch: build install
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs
dh_install --list-missing
# dh_installmenu
dh_installdebconf
# dh_installlogrotate
# dh_installemacsen
# dh_installpam
# dh_installmime
dh_installinit --name=olad
dh_installinit --name=rdm_test_server
dh_installudev --noscripts
# dh_installcron
# dh_installman
# Work around http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=680852
# By running it on each package one at a time. Would otherwise need a file
# containing one line, saying to install another file, but could then just use
# dh_bash-completion
dh_bash-completion -p ola
dh_bash-completion -p ola-rdm-tests
dh_link
dh_strip
dh_compress
dh_fixperms
# dh_perl
dh_python2
override_dh_makeshlibs:
dh_makeshlibs -V
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb

binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
1 change: 1 addition & 0 deletions debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (quilt)
7 changes: 7 additions & 0 deletions debian/source/lintian-overrides
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Source for these files is all under /javascript
ola source: source-is-missing olad/www/mobile.js
ola source: source-is-missing olad/www/ola.js
# We don't use these
ola source: source-is-missing tools/rdm/static/jquery-1.7.2.min.js
ola source: source-is-missing tools/rdm/static/jquery-ui-1.8.21.custom.min.js

1 change: 1 addition & 0 deletions debian/source/local-options
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
single-debian-patch

0 comments on commit e9ece05

Please sign in to comment.