diff options
author | David Robillard <d@drobilla.net> | 2008-07-06 22:56:26 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-07-06 22:56:26 +0000 |
commit | 79ca63beab84ead4afb6315e957c8631abff668a (patch) | |
tree | f8f6766ed38bbebfe5e504a24b37ad82718c9b30 | |
parent | afb46e5bfeae9a458f40e37dc1d22beab466f841 (diff) | |
download | raul-79ca63beab84ead4afb6315e957c8631abff668a.tar.gz raul-79ca63beab84ead4afb6315e957c8631abff668a.tar.bz2 raul-79ca63beab84ead4afb6315e957c8631abff668a.zip |
Debian packaging.
FlowCanvas 0.5.0.
Raul 0.5.0.
Patchage 0.4.1.
git-svn-id: http://svn.drobilla.net/lad/raul@1283 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | Makefile.am | 7 | ||||
-rw-r--r-- | README | 12 | ||||
-rw-r--r-- | configure.ac | 18 | ||||
-rw-r--r-- | debian/Makefile.am | 8 | ||||
l--------- | debian/README | 1 | ||||
l--------- | debian/changelog | 1 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 39 | ||||
-rw-r--r-- | debian/copyright | 34 | ||||
-rw-r--r-- | debian/docs | 1 | ||||
-rwxr-xr-x | debian/rules | 106 | ||||
-rw-r--r-- | doc/Makefile.am | 1 | ||||
-rw-r--r-- | raul.pc.in | 2 |
13 files changed, 215 insertions, 16 deletions
diff --git a/Makefile.am b/Makefile.am index 33a850c..a5eabea 100644 --- a/Makefile.am +++ b/Makefile.am @@ -10,8 +10,8 @@ dist-check-doxygen: @false endif -SUBDIRS = raul src $(DOC_DIR) -DIST_SUBDIRS = raul src tests doc +SUBDIRS = raul src $(DOC_DIR) debian +DIST_SUBDIRS = raul src tests doc debian if BUILD_UNIT_TESTS SUBDIRS += tests @@ -24,3 +24,6 @@ dist-hook: dist-check-doxygen docs: cd doc && make docs + +deb: + dpkg-buildpackage -sn @@ -1,6 +1,10 @@ -RAUL - Realtime Audio Utility Library +RAUL +---- -Raul is a lightweight C++ convenience library for realtime -programming, with a bias towards audio applications -on GNU/Linux machines. +Raul (Realtime Audio Utility Library) is a lightweight C++ convenience +library for realtime programming, with a bias towards audio applications on +GNU/Linux machines. +For more information, see <http://drobilla.net/software/raul>. + + -- Dave Robillard <dave@drobilla.net> diff --git a/configure.ac b/configure.ac index 8e250db..ba7250e 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_PREREQ(2.59) -AC_INIT([raul],[0.4.0],[dave@drobilla.net]) +AC_INIT([raul],[0.5.0],[dave@drobilla.net]) AC_CONFIG_AUX_DIR([config]) @@ -25,9 +25,10 @@ AM_INIT_AUTOMAKE # # Version history: # 0.4.0 = 0,0,0 +# 0.5.0 = 1,0,0 (SVN r1283) -RAUL_VERSION="0.4.0" -RAUL_API_CURRENT="0" +RAUL_VERSION="0.5.0" +RAUL_API_CURRENT="1" RAUL_API_REVISION="0" RAUL_API_AGE="0" @@ -99,8 +100,8 @@ if test "$debug_assertions" = "yes"; then CFLAGS="$CFLAGS -DDEBUG -DLIBRDF_DEBUG" CXXFLAGS="$CXXFLAGS -DDEBUG -DLIBRDF_DEBUG" else - CFLAGS="$CFLAGS -DNDEBUG -DLIBRDF_DEBUG" - CXXFLAGS="$CXXFLAGS -DNDEBUG -DLIBRDF_DEBUG" + CFLAGS="$CFLAGS -DNDEBUG" + CXXFLAGS="$CXXFLAGS -DNDEBUG" fi # Boost shared_ptr debugging @@ -191,12 +192,13 @@ AM_CONDITIONAL(BUILD_UNIT_TESTS, [test "$build_unit_tests" = "yes"]) # RAUL AC_CONFIG_FILES([Makefile]) -AC_CONFIG_FILES([src/Makefile]) -AC_CONFIG_FILES([raul/Makefile]) -AC_CONFIG_FILES([tests/Makefile]) +AC_CONFIG_FILES([debian/Makefile]) AC_CONFIG_FILES([doc/Makefile]) AC_CONFIG_FILES([doc/reference.doxygen]) AC_CONFIG_FILES([raul.pc]) +AC_CONFIG_FILES([raul/Makefile]) +AC_CONFIG_FILES([src/Makefile]) +AC_CONFIG_FILES([tests/Makefile]) AC_OUTPUT diff --git a/debian/Makefile.am b/debian/Makefile.am new file mode 100644 index 0000000..757249d --- /dev/null +++ b/debian/Makefile.am @@ -0,0 +1,8 @@ +EXTRA_DIST = \ + README \ + changelog \ + compat \ + control \ + copyright \ + docs \ + rules diff --git a/debian/README b/debian/README new file mode 120000 index 0000000..59a23c4 --- /dev/null +++ b/debian/README @@ -0,0 +1 @@ +../README
\ No newline at end of file diff --git a/debian/changelog b/debian/changelog new file mode 120000 index 0000000..22ec9b8 --- /dev/null +++ b/debian/changelog @@ -0,0 +1 @@ +../ChangeLog
\ No newline at end of file diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..65f3b7d --- /dev/null +++ b/debian/control @@ -0,0 +1,39 @@ +Source: raul +Priority: extra +Maintainer: Dave Robillard <dave@drobilla.net> +Build-Depends: debhelper (>= 5), autotools-dev +Standards-Version: 3.7.3 +Section: libs + +Package: raul +Depends: raul-0 +Architecture: any +Description: A C++ library for realtime audio applications + Raul (Realtime Audio Utility Library) is a lightweight C++ convenience + library for realtime programming, with a bias towards audio applications + on GNU/Linux machines. + +Package: raul-dev +Depends: raul-0-dev +Architecture: any +Description: Development files (headers) for Raul + Files required for compiling programs which use Raul. + +Package: raul-0 +Section: libs +Architecture: any +Pre-Depends: make +Depends: ${shlibs:Depends}, librdf0, libjack0, liblash2 +Description: A C++ library for realtime audio applications + Raul (Realtime Audio Utility Library) is a lightweight C++ convenience + library for realtime programming, with a bias towards audio applications + on GNU/Linux machines. + +Package: raul-0-dev +Section: libdevel +Architecture: any +Pre-Depends: make +Depends: raul (= ${binary:Version}), libjack-dev, liblash-dev +Description: Development files (headers) for Raul + Files required for compiling programs which use Raul. + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..97ef279 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,34 @@ +This package was debianized by Dave Robillard <dave@drobilla.net> on +Wed, 14 Nov 2007 22:29:49 -0500. + +It was downloaded from <http://drobilla.net/software/slv2> + +Upstream Author: + + Dave Robillard <dave@drobilla.net> + +Copyright: + + Copyright (C) 2007 Dave Robillard + +License: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +The Debian packaging is (C) 2007, Dave Robillard <dave@drobilla.net> and +is licensed under the GPL, see above. diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..e845566 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +README diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..3b0d93a --- /dev/null +++ b/debian/rules @@ -0,0 +1,106 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +# 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) + + +# 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 --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" + + +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. + $(MAKE) distclean + rm -f config.sub config.guess + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) DESTDIR=$(CURDIR)/debian/raul-0 install-exec + $(MAKE) DESTDIR=$(CURDIR)/debian/raul-0-dev install-data + + +# Build architecture-independent files here. +binary-indep: build install + dh_installman + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo +# dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install diff --git a/doc/Makefile.am b/doc/Makefile.am index a14175c..2378db2 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -13,4 +13,3 @@ distclean-local: docs: reference.doxygen @RAUL_SRCDIR@/raul/*.hpp doxygen reference.doxygen - @@ -4,7 +4,7 @@ libdir=@libdir@ includedir=@includedir@ Name: raul -Version: @VERSION@ +Version: @RAUL_VERSION@ Description: A C++ convenience library for realtime audio applications Libs: -L${libdir} -lraul @GLIBMM_LIBS@ @GTHREAD_LIBS@ @JACK_LIBS@ @LASH_LIBS@ Cflags: -I${includedir} @GLIBMM_CFLAGS@ @GTHREAD_CFLAGS@ @JACK_CFLAGS@ @LASH_CFLAGS@ |