From c3774716ef3ecdd31392f132de17ab0b35433756 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 7 Sep 2008 17:06:59 +0000 Subject: Move debian -> debian-sid. git-svn-id: http://svn.drobilla.net/lad/slv2@1473 a436a847-0d15-0410-975c-d299462d15a1 --- Makefile.am | 12 ++++-- configure.ac | 2 +- debian-sid/Makefile.am | 8 ++++ debian-sid/README | 1 + debian-sid/changelog | 1 + debian-sid/compat | 1 + debian-sid/control | 45 +++++++++++++++++++++ debian-sid/copyright | 34 ++++++++++++++++ debian-sid/docs | 1 + debian-sid/rules | 107 +++++++++++++++++++++++++++++++++++++++++++++++++ debian/Makefile.am | 8 ---- debian/README | 1 - debian/changelog | 1 - debian/compat | 1 - debian/control | 45 --------------------- debian/copyright | 34 ---------------- debian/docs | 1 - debian/rules | 107 ------------------------------------------------- 18 files changed, 208 insertions(+), 202 deletions(-) create mode 100644 debian-sid/Makefile.am create mode 120000 debian-sid/README create mode 120000 debian-sid/changelog create mode 100644 debian-sid/compat create mode 100644 debian-sid/control create mode 100644 debian-sid/copyright create mode 100644 debian-sid/docs create mode 100755 debian-sid/rules delete mode 100644 debian/Makefile.am delete mode 120000 debian/README delete mode 120000 debian/changelog delete mode 100644 debian/compat delete mode 100644 debian/control delete mode 100644 debian/copyright delete mode 100644 debian/docs delete mode 100755 debian/rules diff --git a/Makefile.am b/Makefile.am index c891f0b..a93ba3c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -13,8 +13,8 @@ dist-check-doxygen: @false endif -SUBDIRS = src slv2 utils hosts $(DOC_DIR) swig debian -DIST_SUBDIRS = src slv2 utils hosts doc swig debian +SUBDIRS = src slv2 utils hosts $(DOC_DIR) swig debian-sid +DIST_SUBDIRS = src slv2 utils hosts doc swig debian-sid pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = slv2.pc @@ -28,5 +28,11 @@ install-man: cd doc && make install-man deb: - dpkg-buildpackage -sn + if [ -e debian ]; then \ + echo "ERROR: ./debian exists, you must move it out of the way."; \ + else \ + ln -s debian-sid debian; \ + dpkg-buildpackage -sn; \ + rm debian; \ + fi diff --git a/configure.ac b/configure.ac index 1756ea5..6aafb5c 100644 --- a/configure.ac +++ b/configure.ac @@ -194,7 +194,7 @@ CFLAGS="$CFLAGS -std=c99 -pipe -fmessage-length=999 -DCONFIG_H_PATH=\\\"$CONFIG_ # Write output files AC_CONFIG_FILES([Makefile]) -AC_CONFIG_FILES([debian/Makefile]) +AC_CONFIG_FILES([debian-sid/Makefile]) AC_CONFIG_FILES([doc/Makefile]) AC_CONFIG_FILES([doc/reference.doxygen]) AC_CONFIG_FILES([hosts/Makefile]) diff --git a/debian-sid/Makefile.am b/debian-sid/Makefile.am new file mode 100644 index 0000000..757249d --- /dev/null +++ b/debian-sid/Makefile.am @@ -0,0 +1,8 @@ +EXTRA_DIST = \ + README \ + changelog \ + compat \ + control \ + copyright \ + docs \ + rules diff --git a/debian-sid/README b/debian-sid/README new file mode 120000 index 0000000..59a23c4 --- /dev/null +++ b/debian-sid/README @@ -0,0 +1 @@ +../README \ No newline at end of file diff --git a/debian-sid/changelog b/debian-sid/changelog new file mode 120000 index 0000000..22ec9b8 --- /dev/null +++ b/debian-sid/changelog @@ -0,0 +1 @@ +../ChangeLog \ No newline at end of file diff --git a/debian-sid/compat b/debian-sid/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian-sid/compat @@ -0,0 +1 @@ +5 diff --git a/debian-sid/control b/debian-sid/control new file mode 100644 index 0000000..61c506d --- /dev/null +++ b/debian-sid/control @@ -0,0 +1,45 @@ +Source: slv2 +Priority: extra +Maintainer: Dave Robillard +Build-Depends: debhelper (>= 5), autotools-dev +Standards-Version: 3.7.3 +Section: libs + +Package: slv2 +Depends: slv2-9 +Recommends: lv2core +Architecture: any +Description: A library for simple use of LV2 plugins + SLV2 is a library geared towards music and audio applications which makes + the use of LV2 plugins as simple as possible. + +Package: slv2-dev +Depends: slv2-9-dev +Architecture: any +Description: Development files (headers) for SLV2 + Files required for compiling programs which use SLV2, and developer + documentation. + +Package: slv2-doc +Architecture: any +Description: Documentation for SLV2 + Man pages documenting the SLV2 API. + +Package: slv2-9 +Section: libs +Architecture: any +Pre-Depends: make +Depends: ${shlibs:Depends}, librdf0 +Description: A library for simple use of LV2 plugins + SLV2 is a library geared towards music and audio applications which makes + the use of LV2 plugins as simple as possible. + +Package: slv2-9-dev +Section: libdevel +Architecture: any +Pre-Depends: make +Depends: slv2 (= ${binary:Version}), librdf0-dev +Description: Development files (headers) for SLV2 + Files required for compiling programs which use SLV2, and developer + documentation. + diff --git a/debian-sid/copyright b/debian-sid/copyright new file mode 100644 index 0000000..97ef279 --- /dev/null +++ b/debian-sid/copyright @@ -0,0 +1,34 @@ +This package was debianized by Dave Robillard on +Wed, 14 Nov 2007 22:29:49 -0500. + +It was downloaded from + +Upstream Author: + + Dave Robillard + +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 and +is licensed under the GPL, see above. diff --git a/debian-sid/docs b/debian-sid/docs new file mode 100644 index 0000000..e845566 --- /dev/null +++ b/debian-sid/docs @@ -0,0 +1 @@ +README diff --git a/debian-sid/rules b/debian-sid/rules new file mode 100755 index 0000000..582cdf2 --- /dev/null +++ b/debian-sid/rules @@ -0,0 +1,107 @@ +#!/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/slv2-9 install-exec + $(MAKE) DESTDIR=$(CURDIR)/debian/slv2-9-dev install-data + $(MAKE) DESTDIR=$(CURDIR)/debian/slv2-doc install-man + + +# 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/debian/Makefile.am b/debian/Makefile.am deleted file mode 100644 index 757249d..0000000 --- a/debian/Makefile.am +++ /dev/null @@ -1,8 +0,0 @@ -EXTRA_DIST = \ - README \ - changelog \ - compat \ - control \ - copyright \ - docs \ - rules diff --git a/debian/README b/debian/README deleted file mode 120000 index 59a23c4..0000000 --- a/debian/README +++ /dev/null @@ -1 +0,0 @@ -../README \ No newline at end of file diff --git a/debian/changelog b/debian/changelog deleted file mode 120000 index 22ec9b8..0000000 --- a/debian/changelog +++ /dev/null @@ -1 +0,0 @@ -../ChangeLog \ No newline at end of file diff --git a/debian/compat b/debian/compat deleted file mode 100644 index 7ed6ff8..0000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -5 diff --git a/debian/control b/debian/control deleted file mode 100644 index 61c506d..0000000 --- a/debian/control +++ /dev/null @@ -1,45 +0,0 @@ -Source: slv2 -Priority: extra -Maintainer: Dave Robillard -Build-Depends: debhelper (>= 5), autotools-dev -Standards-Version: 3.7.3 -Section: libs - -Package: slv2 -Depends: slv2-9 -Recommends: lv2core -Architecture: any -Description: A library for simple use of LV2 plugins - SLV2 is a library geared towards music and audio applications which makes - the use of LV2 plugins as simple as possible. - -Package: slv2-dev -Depends: slv2-9-dev -Architecture: any -Description: Development files (headers) for SLV2 - Files required for compiling programs which use SLV2, and developer - documentation. - -Package: slv2-doc -Architecture: any -Description: Documentation for SLV2 - Man pages documenting the SLV2 API. - -Package: slv2-9 -Section: libs -Architecture: any -Pre-Depends: make -Depends: ${shlibs:Depends}, librdf0 -Description: A library for simple use of LV2 plugins - SLV2 is a library geared towards music and audio applications which makes - the use of LV2 plugins as simple as possible. - -Package: slv2-9-dev -Section: libdevel -Architecture: any -Pre-Depends: make -Depends: slv2 (= ${binary:Version}), librdf0-dev -Description: Development files (headers) for SLV2 - Files required for compiling programs which use SLV2, and developer - documentation. - diff --git a/debian/copyright b/debian/copyright deleted file mode 100644 index 97ef279..0000000 --- a/debian/copyright +++ /dev/null @@ -1,34 +0,0 @@ -This package was debianized by Dave Robillard on -Wed, 14 Nov 2007 22:29:49 -0500. - -It was downloaded from - -Upstream Author: - - Dave Robillard - -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 and -is licensed under the GPL, see above. diff --git a/debian/docs b/debian/docs deleted file mode 100644 index e845566..0000000 --- a/debian/docs +++ /dev/null @@ -1 +0,0 @@ -README diff --git a/debian/rules b/debian/rules deleted file mode 100755 index 582cdf2..0000000 --- a/debian/rules +++ /dev/null @@ -1,107 +0,0 @@ -#!/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/slv2-9 install-exec - $(MAKE) DESTDIR=$(CURDIR)/debian/slv2-9-dev install-data - $(MAKE) DESTDIR=$(CURDIR)/debian/slv2-doc install-man - - -# 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 -- cgit v1.2.1