sync with latest debian package and add tcl, c++, python and perl bindings

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1733 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.2.1
Joop Stakenborg, PG4I 2004-05-11 15:48:21 +00:00
rodzic da816bb6ca
commit 63cc377d90
8 zmienionych plików z 155 dodań i 20 usunięć

15
debian/changelog vendored
Wyświetl plik

@ -1,11 +1,22 @@
hamlib (1.1.5-1) unstable; urgency=low
hamlib (1.2.0-2) unstable; urgency=low
* Correct references to the hamlib1 package in the control file.
* Removed *.files in the debian directory.
* Build hamlib++-dev and hamlib2++ packages for C++.
* Added swig, libperl-dev, python-dev, tcl8.4-dev to build-depends.
* Added perl, python and tcl bindings.
* Update standards version to 3.6.1.
-- Joop Stakenborg <pa3aba@debian.org> Wed, 24 Mar 2004 18:19:26 +0100
hamlib (1.2.0-1) unstable; urgency=low
* New upstream.
* New package: hamlib2 because of API changes.
* 1 new program in hamlib-utils called rigmem.
* Upstream changelog is old, so not included anymore.
-- Joop Stakenborg <pa3aba@debian.org> Fri, 30 Jan 2004 20:37:06 +0100
-- Joop Stakenborg <pa3aba@debian.org> Sat, 28 Feb 2004 08:23:34 +0100
hamlib (1.1.4-6) unstable; urgency=low

98
debian/control vendored
Wyświetl plik

@ -2,13 +2,31 @@ Source: hamlib
Section: hamradio
Priority: optional
Maintainer: Joop Stakenborg <pa3aba@debian.org>
Build-Depends: debhelper (>> 3.0.0), doxygen
Standards-Version: 3.5.9
Build-Depends: debhelper (>> 3.0.0), doxygen, swig, libperl-dev, python2.3-dev, tcl8.4-dev
Standards-Version: 3.6.1
Package: hamlib2
Architecture: any
Section: libs
Depends: ${shlibs:Depends}
Conflicts: hamlib1
Description: Run-time library to control radio transcievers and receivers
Most recent amateur radio transceivers allow external control of their
functions through a computer interface. Unfortunately, control commands are
not always consistent across a manufacturer's product line and each
manufacturer's product line differs greatly from its competitors.
.
This library addresses that issue by providing a standardised programming
interface that applications can talk to and translating that into the
appropriate commands required by the radio in use.
.
This package provides the C run-time form of the library. If you wish to
develop software using this library you need the 'hamlib-dev' package.
Package: hamlib2++
Architecture: any
Section: libs
Depends: ${shlibs:Depends}
Description: Run-time library to control radio transcievers and receivers
Most recent amateur radio transceivers allow external control of their
functions through a computer interface. Unfortunately, control commands are
@ -19,13 +37,13 @@ Description: Run-time library to control radio transcievers and receivers
interface that applications can talk to and translating that into the
appropriate commands required by the radio in use.
.
This package provides the run-time form of the library. If you wish to
develop software using this library you need the 'hamlib-dev' package.
This package provides the C++ run-time form of the library. If you wish to
develop software using this library you need the 'hamlib++-dev' package.
Package: hamlib-dev
Architecture: any
Section: libdevel
Depends: hamlib1 (= ${Source-Version}), libc6-dev
Depends: hamlib2 (= ${Source-Version}), libc6-dev
Description: Development library to control radio transcievers and receivers
Most recent amateur radio transceivers allow external control of their
functions through a computer interface. Unfortunately, control commands are
@ -36,9 +54,75 @@ Description: Development library to control radio transcievers and receivers
interface that applications can talk to and translating that into the
appropriate commands required by the radio in use.
.
This package provides the development library with both C and C++ bindings.
This package provides the development library with both C bindings.
If you wish to run applications developed using this library you'll need the
'hamlib1' package.
'hamlib2' package.
Package: hamlib++-dev
Architecture: any
Section: libdevel
Depends: hamlib2 (= ${Source-Version}), hamlib-dev (= ${Source-Version}), libc6-dev
Description: Development library to control radio transcievers and receivers
Most recent amateur radio transceivers allow external control of their
functions through a computer interface. Unfortunately, control commands are
not always consistent across a manufacturer's product line and each
manufacturer's product line differs greatly from its competitors.
.
This library addresses that issue by providing a standardised programming
interface that applications can talk to and translating that into the
appropriate commands required by the radio in use.
.
This package provides the development library with C++ bindings.
If you wish to run applications developed using this library you'll need the
'hamlib2' package.
Package: hamlib2-perl
Architecture: any
Section: perl
Depends: ${shlibs:Depends}
Description: Run-time library to control radio transcievers and receivers
Most recent amateur radio transceivers allow external control of their
functions through a computer interface. Unfortunately, control commands are
not always consistent across a manufacturer's product line and each
manufacturer's product line differs greatly from its competitors.
.
This library addresses that issue by providing a standardised programming
interface that applications can talk to and translating that into the
appropriate commands required by the radio in use.
.
This package provides the perl bindings of the library.
Package: hamlib2-tcl
Architecture: any
Section: interpreters
Depends: ${shlibs:Depends}
Description: Run-time library to control radio transcievers and receivers
Most recent amateur radio transceivers allow external control of their
functions through a computer interface. Unfortunately, control commands are
not always consistent across a manufacturer's product line and each
manufacturer's product line differs greatly from its competitors.
.
This library addresses that issue by providing a standardised programming
interface that applications can talk to and translating that into the
appropriate commands required by the radio in use.
.
This package provides the tcl bindings of the library.
Package: python2.3-hamlib2
Architecture: any
Section: python
Depends: ${shlibs:Depends}
Description: Run-time library to control radio transcievers and receivers
Most recent amateur radio transceivers allow external control of their
functions through a computer interface. Unfortunately, control commands are
not always consistent across a manufacturer's product line and each
manufacturer's product line differs greatly from its competitors.
.
This library addresses that issue by providing a standardised programming
interface that applications can talk to and translating that into the
appropriate commands required by the radio in use.
.
This package provides the python bindings of the library.
Package: hamlib-utils
Architecture: any

2
debian/hamlib++-dev.dirs vendored 100644
Wyświetl plik

@ -0,0 +1,2 @@
usr/lib
usr/include

1
debian/hamlib2++.dirs vendored 100644
Wyświetl plik

@ -0,0 +1 @@
usr/lib

2
debian/hamlib2-perl.dirs vendored 100644
Wyświetl plik

@ -0,0 +1,2 @@
/usr/lib/perl5
/usr/share/doc/hamlib2-perl

2
debian/hamlib2-tcl.dirs vendored 100644
Wyświetl plik

@ -0,0 +1,2 @@
/usr/lib/hamlib
/usr/share/doc/hamlib2-tcl

2
debian/python2.3-hamlib2.dirs vendored 100644
Wyświetl plik

@ -0,0 +1,2 @@
/usr/lib/python2.3/site-packages
/usr/share/doc/python2.3-hamlib2

53
debian/rules vendored
Wyświetl plik

@ -8,17 +8,15 @@
# This is the debhelper compatability version to use.
export DH_COMPAT=3
version=1.1.5
#change this when the so name has changed
version=1.2.0
perlversion=`perl -V:version|cut -d\' -f2`
configure: configure-stamp
configure-stamp:
dh_testdir
./configure --prefix=/usr --mandir=\$${prefix}/share/man \
--without-cxx-binding \
--without-perl-binding \
--without-kylix-binding \
--without-tcl-binding \
--without-python-binding
touch configure-stamp
@ -36,30 +34,63 @@ clean:
# Add here commands to clean up after the build process.
-$(MAKE) clean
dh_clean
rm -f build-stamp configure-stamp config.log config.status libltdl/config.log libltdl/config.status
rm -f build-stamp configure-stamp
rm -f config.log config.status libltdl/config.log libltdl/config.status
rm -rf doc/html
rm -rf libltdl/.libs lib/.libs
rm -f lib/termios.o libltdl/ltdl.o
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Add here commands to install the package into debian/tmp
$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
# Move the appropriate files into the development package..
# Move C++ files out of the way
# Move the appropriate files into the C++ development package..
mv $(CURDIR)/debian/tmp/usr/include/hamlib/rigclass.h $(CURDIR)/debian/hamlib++-dev/usr/include/
mv $(CURDIR)/debian/tmp/usr/include/hamlib/rotclass.h $(CURDIR)/debian/hamlib++-dev/usr/include/
mv $(CURDIR)/debian/tmp/usr/lib/libhamlib++.a $(CURDIR)/debian/hamlib++-dev/usr/lib/
mv $(CURDIR)/debian/tmp/usr/lib/libhamlib++.la $(CURDIR)/debian/hamlib++-dev/usr/lib/
mv $(CURDIR)/debian/tmp/usr/lib/libhamlib++.so $(CURDIR)/debian/hamlib++-dev/usr/lib/
# Move the appropriate files into the C++ runtime package..
mv $(CURDIR)/debian/tmp/usr/lib/libhamlib++-$(version).so.2 $(CURDIR)/debian/hamlib2++/usr/lib/
mv $(CURDIR)/debian/tmp/usr/lib/libhamlib++-$(version).so.2.0.0 $(CURDIR)/debian/hamlib2++/usr/lib/
# Move the appropriate files into the C development package..
mv $(CURDIR)/debian/tmp/usr/lib/libhamlib.so $(CURDIR)/debian/hamlib-dev/usr/lib/
mv $(CURDIR)/debian/tmp/usr/lib/*.a $(CURDIR)/debian/hamlib-dev/usr/lib/
mv $(CURDIR)/debian/tmp/usr/lib/*.la $(CURDIR)/debian/hamlib-dev/usr/lib/
rm -f $(CURDIR)/debian/tmp/usr/include/hamlib/rigclass.h
rm -f $(CURDIR)/debian/tmp/usr/include/hamlib/rotclass.h
mv $(CURDIR)/debian/tmp/usr/include/hamlib $(CURDIR)/debian/hamlib-dev/usr/include/
mv $(CURDIR)/debian/tmp/usr/lib/pkgconfig/hamlib.pc $(CURDIR)/debian/hamlib-dev/usr/lib/pkgconfig/
mv $(CURDIR)/debian/tmp/usr/share/aclocal/hamlib.m4 $(CURDIR)/debian/hamlib-dev/usr/share/aclocal/
# Move the appropriate files into the runtime package..
# Move the appropriate files into the C runtime package..
mv $(CURDIR)/debian/tmp/usr/lib/libhamlib-$(version).so.2 $(CURDIR)/debian/hamlib2/usr/lib/
mv $(CURDIR)/debian/tmp/usr/lib/libhamlib-$(version).so.2.0.0 $(CURDIR)/debian/hamlib2/usr/lib/
mv $(CURDIR)/debian/tmp/usr/lib/hamlib-*so $(CURDIR)/debian/hamlib2/usr/lib/
# Move the appropriate files into the perl package and do some cleanups
mv $(CURDIR)/debian/tmp/usr/lib/perl/5.8.4/* $(CURDIR)/debian/hamlib2-perl/usr/lib/perl5
rm -f $(CURDIR)/debian/hamlib2-perl/usr/lib/perl5/auto/Hamlib/.packlist
rm -f $(CURDIR)/debian/hamlib2-perl/usr/lib/perl5/auto/Hamlib/Hamlib.bs
rm -f $(CURDIR)/debian/hamlib2-perl/usr/lib/perl5/perllocal.pod
mv $(CURDIR)/debian/hamlib2-perl/usr/lib/perl5/perltest.pl $(CURDIR)/debian/hamlib2-perl/usr/share/doc/hamlib2-perl
# Move the appropriate files into the python package
mv $(CURDIR)/debian/tmp/usr/lib/python/* $(CURDIR)/debian/python2.3-hamlib2/usr/lib/python2.3/site-packages
mv $(CURDIR)/debian/tmp/usr/lib/_Hamlib.so $(CURDIR)/debian/python2.3-hamlib2/usr/lib/python2.3/site-packages
mv $(CURDIR)/bindings/pytest.py $(CURDIR)/debian/python2.3-hamlib2/usr/share/doc/python2.3-hamlib2/
# Move the appropriate files into the tcl package
mv $(CURDIR)/debian/tmp/usr/lib/hamlibtcl* $(CURDIR)/debian/hamlib2-tcl/usr/lib/hamlib/
mv $(CURDIR)/debian/tmp/usr/lib/tcl/* $(CURDIR)/debian/hamlib2-tcl/usr/lib/hamlib/
mv $(CURDIR)/bindings/tcltest.tcl $(CURDIR)/debian/hamlib2-tcl/usr/share/doc/hamlib2-tcl/
# Move the appropriate files into the documentation package..
mv $(CURDIR)/doc/html/* $(CURDIR)/debian/hamlib-doc/usr/share/doc/hamlib-doc/html
@ -103,7 +134,7 @@ binary-arch: build install
dh_strip
dh_compress
dh_fixperms
dh_makeshlibs -V -Xalinco -Xaor -Xdrake -Xdummy -Xeasycomm -Xflexradio -Xfodtrack -Xicom -Xjrc -Xkachina -Xkenwood -Xlowe -Xmicrotune -Xpcr -Xrft -Xrotorez -Xrpc -Xsartek -Xtapr -Xtentec -Xuniden -Xwinradio -Xyaesu
dh_makeshlibs -V -Xalinco -Xaor -Xdrake -Xdummy -Xeasycomm -Xflexradio -Xfodtrack -Xicom -Xjrc -Xkachina -Xkenwood -Xlowe -Xmicrotune -Xpcr -Xrft -Xrotorez -Xrpc -Xsartek -Xtapr -Xtentec -Xuniden -Xwinradio -Xyaesu -Xtcl
dh_installdeb
# dh_perl
dh_shlibdeps -Xalinco -Xaor -Xdrake -Xdummy -Xeasycomm -Xflexradio -Xfodtrack -Xicom -Xjrc -Xkachina -Xkenwood -Xlowe -Xmicrotune -Xpcr -Xrft -Xrotorez -Xrpc -Xsartek -Xtapr -Xtentec -Xuniden -Xwinradio -Xyaesu