[FOSS-GPS] rtklib: a very preliminary unofficial Debian package

Timo Juhani Lindfors timo.lindfors at iki.fi
Sun Aug 15 17:16:37 EDT 2010


cristian paul peñaranda rojas <paul at kristianpaul.org> writes:
> Is it package public or planing to be? will great help for non-windows users trying to get run
> rtklib in their debian systems

A very preliminary and unofficial Debian source package is now at

http://lindi.iki.fi/lindi/debian/pool/main/r/rtklib/rtklib_2.4.0+dfsg1-0lindi2.dsc

I do not like distributing binary packages (I would need to build them
separately for many distributions and architectures and it is a lot
easier to accidentally break copyright). If you are not familiar with
building Debian source packages here's how you can do it:

dget http://lindi.iki.fi/lindi/debian/pool/main/r/rtklib/rtklib_2.4.0+dfsg1-0lindi2.dsc
dpkg-source -x rtklib_2.4.0+dfsg1-0lindi2.dsc
cd rtklib-2.4.0+dfsg1
sudo aptitude install devscripts
sudo mk-build-deps -i
debuild
sudo debi

The source package does not include the following files since I feel
they do not meet the DFSG (Debian Free Software Guidelines):

bin/wget.exe
bin/gzip.exe
bin/crx2rnx.exe
bin/mkl_lapack.dll
bin/rtkpost.exe
bin/convbin.exe
bin/pos2kml.exe
bin/rtkpost_mkl.exe
bin/libguide40.dll
bin/MSVCR71.DLL
bin/teqc.exe
bin/mkl_def.dll
bin/mkl_p4p.dll
bin/rtkconv.exe
bin/rnx2rtkp.exe
bin/strsvr.exe
bin/srctblbrows.exe
bin/rtknavi.exe
bin/rtkplot.exe
mkl/mklib.bat
mkl/include/mkl_blas.h
mkl/include/mkl_types.h
mkl/include/mkl_lapack32.h
mkl/include/mkl_lapack.h
mkl/include/mkl_lapack64.h
mkl/mkl_lapack.lib
mkl/mkl_p4p.lib

If you can spot anything else that is suspicious in the source
package, please let me know!

The binary package includes the following files:

/.
/usr
/usr/share
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/rtklib-convbin.1.gz
/usr/share/man/man1/rtklib-rtkrcv.1.gz
/usr/share/man/man1/rtklib-rnx2rtkp.1.gz
/usr/share/man/man1/rtklib-str2str.1.gz
/usr/share/man/man1/rtklib-pos2kml.1.gz
/usr/share/doc
/usr/share/doc/rtklib
/usr/share/doc/rtklib/changelog.Debian.gz
/usr/share/doc/rtklib/copyright
/usr/share/doc/rtklib/manual_2.4.0.pdf
/usr/share/doc/rtklib/readme.txt.gz
/usr/bin
/usr/bin/rtklib-str2str
/usr/bin/rtklib-pos2kml
/usr/bin/rtklib-convbin
/usr/bin/rtklib-rtkrcv
/usr/bin/rtklib-rnx2rtkp


Here's a list of things that I still need to do:

1) Carefuly license review. The source package mentions "GPLv3" only
in one place and does not contain a copy of the license itself. I need
to make sure that this license really applies to all the files.

2) Support DEB_BUILD_OPTIONS="nostrip debug noopt" properly so that it
is possible to build the package with debugging symbols. This probably
requires changes to the Makefiles so that I can instruct them to add
"-g" when needed.

3) Enable testsuite. I found commands to run tests but I did not find
the expected output to compare against.

4) Write better manual pages. They are currently autogenerated using
help2man and are bit odd.

5) Get rid of rtklib- prefix for binaries? Currently the binaries are
called

rtklib-convbin   rtklib-pos2kml   rtklib-rnx2rtkp  rtklib-rtkrcv    rtklib-str2str

since I was initially afraid names like "convbin" could be too generic.



More information about the FOSS-GPS mailing list