summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjcorgan2007-10-10 11:46:53 +0000
committerjcorgan2007-10-10 11:46:53 +0000
commitc3afdef49407739ab106cae31b0899eaaf32aacc (patch)
tree3509dc3e5ccf5a8d0576a9aacd5d0ba79d152a70
parent577d40edc52e303a2594b3b51bd22a4927878273 (diff)
downloadgnuradio-c3afdef49407739ab106cae31b0899eaaf32aacc.tar.gz
gnuradio-c3afdef49407739ab106cae31b0899eaaf32aacc.tar.bz2
gnuradio-c3afdef49407739ab106cae31b0899eaaf32aacc.zip
Tweaks to Debian packaging.
Added .so versioning where needed (libpmt, libmblock, libgromnithread) to allow automated dependency checking. Reverted (perhaps temporarily) to '3.0.svn' version numbering as the '~' trick wasn't working with Ubuntu Note: the -dev packages don't seem to be sufficient to compile the gr-howto-write-a-block module, so still debugging. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@6610 221aa14e-8319-0410-a670-987f0aec2ac5
-rw-r--r--debian/changelog2
-rw-r--r--debian/control10
-rwxr-xr-xdebian/gen-install-files.sh4
-rwxr-xr-xdebian/install-build-deps.sh2
-rw-r--r--debian/libgnuradio-omnithread0c2a.install2
-rw-r--r--debian/libmblock0c2a.install2
-rw-r--r--debian/libpmt0c2a.install3
-rw-r--r--gr-audio-alsa/src/Makefile.am2
-rw-r--r--mblock/src/lib/Makefile.am2
-rw-r--r--omnithread/Makefile.am2
-rw-r--r--pmt/src/lib/Makefile.am4
11 files changed, 17 insertions, 18 deletions
diff --git a/debian/changelog b/debian/changelog
index a2e46ce51..acccb6136 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-gnuradio (3.0~svn) unstable; urgency=low
+gnuradio (3.0.svn) unstable; urgency=low
* add/split packages to cover entire GNU Radio distribution
* fix build failure with gcc-4.3 by adding a #include, closes: #420896
diff --git a/debian/control b/debian/control
index 25a4ad760..14456dab0 100644
--- a/debian/control
+++ b/debian/control
@@ -28,7 +28,7 @@ Description: GNU Radio Omnithreads Abstraction Library
Package: libpmt0c2a
Section: libs
Architecture: any
-Depends: ${shlibs:Depends}, libgnuradio-omnithread0c2a
+Depends: ${shlibs:Depends}
Description: GNU Radio Polymorphic Type Library
This package implements polymorphic types. These are similar
to lisp or Python data objects, and implement transparent
@@ -48,7 +48,7 @@ Description: GNU Radio Polymorphic Type Library
Package: libmblock0c2a
Section: libs
Architecture: any
-Depends: ${shlibs:Depends}, libgnuradio-omnithread0c2a, libpmt0c2a
+Depends: ${shlibs:Depends}
Description: GNU Radio Message Block Library
This package provides the GNU Radio message block library.
@@ -64,7 +64,7 @@ Description: GNU Radio Message Block Library
Package: libgnuradio-core0c2a
Section: libs
Architecture: any
-Depends: ${shlibs:Depends}, libgnuradio-omnithread0c2a
+Depends: ${shlibs:Depends}
Conflicts: libgnuradio-core0, libgnuradio-core0c2
Replaces: libgnuradio-core0, libgnuradio-core0c2
Suggests: gnuradio-doc
@@ -228,7 +228,7 @@ Description: GNU Radio Example Programs
Package: gnuradio
Section: comm
Architecture: all
-Depends: gnuradio-doc, python-gnuradio, gnuradio-examples
+Depends: gnuradio-doc, python-gnuradio, gnuradio-examples, gnuradio-utils
Suggests: usrp
Description: GNU Software Defined Radio
This is a virtual package that depends the entire GNU Radio collection of
@@ -349,7 +349,7 @@ Description: GNU Radio Utilities
Package: usrp
Section: contrib/comm
Architecture: all
-Depends: usrp-doc, usrp-firmware
+Depends: usrp-doc, usrp-firmware, libusrp0c2a
Description: The Universal Software Radio Peripheral
This is a virtual package that depends on the entire USRP software collection.
diff --git a/debian/gen-install-files.sh b/debian/gen-install-files.sh
index 4fcccadc7..e7a63b1a3 100755
--- a/debian/gen-install-files.sh
+++ b/debian/gen-install-files.sh
@@ -106,11 +106,11 @@ $EXTRACT gr-audio-alsa/src/Makefile ourpython_PYTHON >>$NAME
# They are only separate in this package for C++ only experimentation
$EXTRACT gr-audio-alsa/src/Makefile lib_LTLIBRARIES >>$NAME
$EXTRACT gr-audio-alsa/src/Makefile lib_LTLIBRARIES | \
- sed -e 's/\.la$/.so/' >>$NAME
+ sed -e 's/\.la$/.so*/' >>$NAME
#
$EXTRACT gr-audio-alsa/src/Makefile ourlib_LTLIBRARIES >>$NAME
$EXTRACT gr-audio-alsa/src/Makefile ourlib_LTLIBRARIES | \
- sed -e 's/\.la$/.so/' >>$NAME
+ sed -e 's/\.la$/.so*/' >>$NAME
# python-gnuradio-audio-jack
NAME=debian/python-gnuradio-audio-jack.install
diff --git a/debian/install-build-deps.sh b/debian/install-build-deps.sh
index 3dbbf8b8b..d223b24be 100755
--- a/debian/install-build-deps.sh
+++ b/debian/install-build-deps.sh
@@ -9,7 +9,7 @@ else
fi
sudo apt-get install \
- autotools-dev doxygen $FFTW3DEV libasound2-dev \
+ build-essential autotools-dev doxygen $FFTW3DEV libasound2-dev \
libboost-dev libcppunit-dev libjack0.100.0-dev libsdl1.2-dev \
portaudio19-dev libtool libusb-dev pkg-config python python-all-dev \
python-central python-numpy python-wxgtk2.6 sdcc swig xmlto
diff --git a/debian/libgnuradio-omnithread0c2a.install b/debian/libgnuradio-omnithread0c2a.install
index 65ecd351e..128b39895 100644
--- a/debian/libgnuradio-omnithread0c2a.install
+++ b/debian/libgnuradio-omnithread0c2a.install
@@ -1,3 +1,3 @@
usr/lib/libgromnithread.la
-usr/lib/libgromnithread.so
+usr/lib/libgromnithread*.so*
usr/lib/pkgconfig/gnuradio-omnithread.pc
diff --git a/debian/libmblock0c2a.install b/debian/libmblock0c2a.install
index ea29c8f73..8e96520fb 100644
--- a/debian/libmblock0c2a.install
+++ b/debian/libmblock0c2a.install
@@ -1,4 +1,4 @@
usr/lib/pkgconfig/mblock.pc
usr/lib/libmblock.la
-usr/lib/libmblock.so
+usr/lib/libmblock*.so*
diff --git a/debian/libpmt0c2a.install b/debian/libpmt0c2a.install
index d27f75a68..1f50f0532 100644
--- a/debian/libpmt0c2a.install
+++ b/debian/libpmt0c2a.install
@@ -1,4 +1,3 @@
usr/lib/libpmt.la
-usr/lib/libpmt.so
+usr/lib/libpmt*.so*
usr/lib/pkgconfig/pmt.pc
-usr/share/gnuradio/pmt*
diff --git a/gr-audio-alsa/src/Makefile.am b/gr-audio-alsa/src/Makefile.am
index 0b4b93947..d6c5c9edb 100644
--- a/gr-audio-alsa/src/Makefile.am
+++ b/gr-audio-alsa/src/Makefile.am
@@ -88,7 +88,7 @@ libgr_audio_alsa_la_LIBADD = \
_audio_alsa_la_LDFLAGS = $(NO_UNDEFINED) -module -avoid-version
-libgr_audio_alsa_la_LDFLAGS = $(NO_UNDEFINED) -avoid-version
+libgr_audio_alsa_la_LDFLAGS = $(NO_UNDEFINED)
audio_alsa.cc audio_alsa.py: $(LOCAL_IFILES) $(NON_LOCAL_IFILES)
$(SWIG) $(SWIGPYTHONARGS) -module audio_alsa -o audio_alsa.cc $(LOCAL_IFILES)
diff --git a/mblock/src/lib/Makefile.am b/mblock/src/lib/Makefile.am
index 45fd8279b..9a653759d 100644
--- a/mblock/src/lib/Makefile.am
+++ b/mblock/src/lib/Makefile.am
@@ -66,7 +66,7 @@ libmblock_la_SOURCES = \
# magic flags
-libmblock_la_LDFLAGS = $(NO_UNDEFINED) -avoid-version
+libmblock_la_LDFLAGS = $(NO_UNDEFINED)
# link the library against the c++ standard library
libmblock_la_LIBADD = \
diff --git a/omnithread/Makefile.am b/omnithread/Makefile.am
index 526cae0e9..dfbb3b3d3 100644
--- a/omnithread/Makefile.am
+++ b/omnithread/Makefile.am
@@ -44,7 +44,7 @@ libgromnithread_la_SOURCES = \
nt.cc
endif
-libgromnithread_la_LDFLAGS = $(NO_UNDEFINED) -avoid-version
+libgromnithread_la_LDFLAGS = $(NO_UNDEFINED)
libgromnithread_la_LIBADD = \
$(PTHREAD_LIBS)
diff --git a/pmt/src/lib/Makefile.am b/pmt/src/lib/Makefile.am
index ab23586c1..692860408 100644
--- a/pmt/src/lib/Makefile.am
+++ b/pmt/src/lib/Makefile.am
@@ -67,7 +67,7 @@ libpmt_la_SOURCES = \
pmt_unv.cc
# magic flags
-libpmt_la_LDFLAGS = $(NO_UNDEFINED) -avoid-version
+libpmt_la_LDFLAGS = $(NO_UNDEFINED)
# link the library against the c++ standard library
libpmt_la_LIBADD = \
@@ -94,7 +94,7 @@ libpmt_qa_la_SOURCES = \
qa_pmt_unv.cc
# magic flags
-libpmt_qa_la_LDFLAGS = $(NO_UNDEFINED) -avoid-version
+libpmt_qa_la_LDFLAGS = $(NO_UNDEFINED) -avoid version
libpmt_qa_la_LIBADD = \
libpmt.la \