Re: Advice on packaging SWIG generated python bindings and more
Hi Anton, mentors, On Mon, May 13, 2013 at 8:16 PM, Anton Gladky gl...@debian.org wrote: 1) Please, add --parallel to dh to get a faster building. Done. 2) Is it difficult to add some kind of auto-test? Better to add one more target into makefile (you patch it anyway), so it can be picked up by dh_autotest. I've skimmed the tests and most of them need a robot (microcontroller) connected to the computer (running libaria, over serial connection). There are some tests of library functionality, but it seems I'd have to patch them also, before creating test target. E.g. angleTest.cpp reports the test result on stdout, and has the zero exit status regardless of the test result. 3) Do you plan to add some more binaries (java-libaria or something like that)? After adding a binary to an existing package, it should go to new queue. So if you are planning to add something else, please do it now not to bother ftp-master to look at your package after each upload. Python and Java bindings were made with SWIG 1.3. Python bindings build with SWIG 2.0, but Java bindings do not. :( When you are ready, no need to upload a package to mentors. I can take it from VCS. I've pushed the latest version on github (https://github.com/jksrecko/libaria), together with some other branches (squeeze-backport and libaria2-java). I might have a look at tests next week, so there is no hurry to upload the package. PS About the backported version, I had to use some backported packages for building (debhelper, lintian, hardening-includes, dpkg-dev, libdpkg-perl). As I understand, I'm to provide the resulting debs so this is not a problem? Best, JKS -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAACrLC2o8vyyMPa=y0ajdp8kfur7beqeqn0-wq9pnmhw3v1...@mail.gmail.com
Advice on packaging SWIG generated python bindings and more
Dear mentors, Anton, I've recently updated my package libaria * Package name: libaria Version : 2.7.5.2-3 Upstream Maintainer : Reed Hedges reed.hed...@adept.com * URL : http://robots.mobilerobots.com/wiki/ARIA * License : GPL-2 Section : libs It builds those binary packages: libaria-demo - C++ library for MobileRobots/ActivMedia robots (demo example) libaria-dev - C++ library for MobileRobots/ActivMedia robots (devel) libaria-dev-doc - C++ library for MobileRobots/ActivMedia robots (devel docs) libaria2 - C++ library for MobileRobots/ActivMedia robots python-libaria - C++ library for MobileRobots/ActivMedia robots (Python bindings) To access further information about this package, please visit the following URL: http://mentors.debian.net/package/libaria Alternatively, one can download the package with dget using this command: dget -x http://mentors.debian.net/debian/pool/main/liba/libaria/libaria_2.7.5.2-3.dsc Changes since the last upload: * Removed statically linked library. * Corrected Multi-Arch config for the doc package. * Building python-libaria package (SWIG generated bindings) * Building libaria-demo package I've named the python package python-libaria, but the packaged module is named AriaPy. Debian Python Policy states that the package name should be the module name prefixed by python-, but on the other hand, package names should be lower case (Debian Policy). Compromise would be python-ariapy, but it seems redundant. Also, I've added only the default python version to Build-Depends. Hope this is OK. Furthermore, I've packaged an example binary using the library in a separate package (because of the Multi-Arch support). I've renamed it from demo to aria-demo. And last, libaria-dev-doc packages CPP examples for using the library. I've also provided a Makefile there, that builds those examples in /tmp (default). PS I've tried to build the package in squeeze environment (for backporting), and while it did succeed after adding backports repository (for debhelper, lintian, ...), python package wasn't correctly generated (uses dh_python2). Also, lintian complained about Hardening, which should be handled by the backported debhelper 9, right? Anyway, even if I do succeed in generating the package for squeeze, would it be of any good (since I've locally added backports to my squeeze environment). Best regards, Srećko Jurić-Kavelj, dipl.ing. (Ms.E.E) Research and Teaching Assistant at University of Zagreb (Faculty of Electrical Engineering and Computing, Department of Control and Computer Engineering) Phone: +385 (0)1 6129 529 Fax: +385 (0)1 6129 809 E-mail: srecko.juric-kav...@fer.hr URL: http://www.fer.hr/srecko.juric-kavelj Sanctus Hieronymus: Parce mihi, Domine, quia dalmata sum! -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/caacrlc0bqanfghc0gp+-e6az_wf_75cwwuugejd-frtbu_t...@mail.gmail.com
Bug#703630: RFS: libaria/2.7.5.2-1 [ITP] -- C++ library for MobileRobots/ActivMedia robots
Hi Anton, I've adressed all the issues you raised and uploaded the package to mentors (https://mentors.debian.net/package/libaria). As for the licenses, all the C++ source files contain the header with licensing information (GPL-2), but there are also some figures used in documentation (I consider those covered by the LICENSE.txt). Best regards, Srećko Jurić-Kavelj, dipl.ing. (Ms.E.E) Research and Teaching Assistant at University of Zagreb (Faculty of Electrical Engineering and Computing, Department of Control and Computer Engineering) Phone: +385 (0)1 6129 529 Fax: +385 (0)1 6129 809 E-mail: srecko.juric-kav...@fer.hr URL: http://www.fer.hr/srecko.juric-kavelj Sanctus Hieronymus: Parce mihi, Domine, quia dalmata sum! PS Happy Easter! On Fri, Mar 29, 2013 at 11:14 AM, Anton Gladky gl...@debian.org wrote: Hi, there are some comments on your package. It looks ok now, but: 1. Use DEP-3 for patches 2. 2.7.5.2-1 version was not in Debian. Remove from changelog. 3. Use VCS for packaging (preferable on alioth). 4. Remove libaria-dev.dirs (it seems, it is useless). 5. Copyright-file should not contain the information about deleted files. Move it into the README.source. Please, check also licenses of all files, which are included into the tarball (I did not that). Cheers, Anton On 03/27/2013 12:10 PM, Srećko Jurić-Kavelj wrote: Dear mentors, Anton, I've just wanted to let you know that I've uploaded a new version of libaria package. I've repackaged the upstream tarball to remove the binaries and other non-source files. Reed (upstream maintainer) sad that he will consider providing source only tarball from the next major release (2.8). To access further information about this package, please visit the following URL: http://mentors.debian.net/package/libaria Alternatively, one can download the package with dget using this command: dget -x http://mentors.debian.net/debian/pool/main/liba/libaria/libaria_2.7.5.2+repack-1.dsc Changes since the last upload: * Repack the original tarball to remove unnecesary non-source files. Best, Srećko Jurić-Kavelj, dipl.ing. (Ms.E.E) Research and Teaching Assistant at University of Zagreb (Faculty of Electrical Engineering and Computing, Department of Control and Computer Engineering) Phone: +385 (0)1 6129 529 Fax: +385 (0)1 6129 809 E-mail: srecko.juric-kav...@fer.hr URL: http://www.fer.hr/srecko.juric-kavelj Sanctus Hieronymus: Parce mihi, Domine, quia dalmata sum! -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/caacrlc0u4vr-4wtmqvqy45ysdk48bx24ffbz5b6bwo+ftkt...@mail.gmail.com
Bug#703630: RFS: libaria/2.7.5.2-1 [ITP] -- C++ library for MobileRobots/ActivMedia robots
Dear mentors, Anton, I've just wanted to let you know that I've uploaded a new version of libaria package. I've repackaged the upstream tarball to remove the binaries and other non-source files. Reed (upstream maintainer) sad that he will consider providing source only tarball from the next major release (2.8). To access further information about this package, please visit the following URL: http://mentors.debian.net/package/libaria Alternatively, one can download the package with dget using this command: dget -x http://mentors.debian.net/debian/pool/main/liba/libaria/libaria_2.7.5.2+repack-1.dsc Changes since the last upload: * Repack the original tarball to remove unnecesary non-source files. Best, Srećko Jurić-Kavelj, dipl.ing. (Ms.E.E) Research and Teaching Assistant at University of Zagreb (Faculty of Electrical Engineering and Computing, Department of Control and Computer Engineering) Phone: +385 (0)1 6129 529 Fax: +385 (0)1 6129 809 E-mail: srecko.juric-kav...@fer.hr URL: http://www.fer.hr/srecko.juric-kavelj Sanctus Hieronymus: Parce mihi, Domine, quia dalmata sum! -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAACrLC0hYU07OwNMCviUT4+XxmPJbdYa6�0hkevk2hhbt...@mail.gmail.com
Bug#703630: RFS: libaria/2.7.5.2-1 [ITP] -- C++ library for MobileRobots/ActivMedia robots
Package: sponsorship-requests Severity: wishlist Dear mentors, I am looking for a sponsor for my package libaria * Package name: libaria Version : 2.7.5.2-1 Upstream Maintainer : Reed Hedges reed.hed...@adept.com * URL : http://robots.mobilerobots.com/wiki/ARIA * License : GPL-2 Section : libs It builds those binary packages: libaria-dev - C++ library for MobileRobots/ActivMedia robots (devel) libaria-dev-doc - C++ library for MobileRobots/ActivMedia robots (devel docs) libaria2- C++ library for MobileRobots/ActivMedia robots I'd like to see those packages in the archive so that every roboticist out there using Debian (or a derivative) can simply: $ sudo apt-get install libaria2 (libaria-dev) and start using (or developing) for his (hers) MobileRobots/ActivMedia/Adept robot. To access further information about this package, please visit the following URL: http://mentors.debian.net/package/libaria Alternatively, one can download the package with dget using this command: dget -x http://mentors.debian.net/debian/pool/main/liba/libaria/libaria_2.7.5.2-1.dsc Changes since the last upload: * Initial release (Closes: #703357) Regards, Srećko Jurić-Kavelj -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130321153458.4221.33884.reportbug@sjkavelj
Bug#703630: RFS: libaria/2.7.5.2-1 [ITP] -- C++ library for MobileRobots/ActivMedia robots
Hi Anton, Thanks for the tip. I already handled a lot of warnings before the first upload, and I'd like some advice about handling the rest of them. Starting from the source package: - source-contains-prebuilt-binary: I've read somewhere that this is not a reason for repackaging. What's the procedure if I decide to repackage? Because there would be significant space savings after all. But what I'd really like is to get the upstream maintainer to release source only tarballs. - debhelper-but-no-misc-depends for libaria-dev-doc: As this is a documentation only package, I don't see the need for this. libaria2 would liked to be hardened. This would be taken care of if I added this lines at the top of the makefile: DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk ? - no-symbols-control-file: Could I use shlibs system for my first package? - spelling-error-in-binary: Send a patch upstream? Finally, the libaria-dev-doc package: - duplicate-files: I use the docs file to package the libaria-dev-doc. Html is doxygen generated, in a directory containing some source pngs in a subdir, hence the duplicate files. Can I somehow exclude the subdir containing source pngs in the docs file? - embedded-javascript-library: The jquery library is introduced by doxygen. Best regards, Srećko Jurić-Kavelj, dipl.ing. (Ms.E.E) Research and Teaching Assistant at University of Zagreb (Faculty of Electrical Engineering and Computing, Department of Control and Computer Engineering) Phone: +385 (0)1 6129 529 Fax: +385 (0)1 6129 809 E-mail: srecko.juric-kav...@fer.hr URL: http://www.fer.hr/srecko.juric-kavelj Sanctus Hieronymus: Parce mihi, Domine, quia dalmata sum! On Thu, Mar 21, 2013 at 8:23 PM, Anton Gladky gl...@debian.org wrote: Hi, please, have a look at the page of your package [1]. There are a log of warnings, which need to be fixed. The lintian-checker produces those warnings, if you start it over your .changes-file. Cheers, Anton [1] http://mentors.debian.net/package/libaria On 03/21/2013 04:34 PM, Srećko Jurić-Kavelj wrote: Package: sponsorship-requests Severity: wishlist Dear mentors, I am looking for a sponsor for my package libaria * Package name: libaria Version : 2.7.5.2-1 Upstream Maintainer : Reed Hedges reed.hed...@adept.com * URL : http://robots.mobilerobots.com/wiki/ARIA * License : GPL-2 Section : libs It builds those binary packages: libaria-dev - C++ library for MobileRobots/ActivMedia robots (devel) libaria-dev-doc - C++ library for MobileRobots/ActivMedia robots (devel docs) libaria2- C++ library for MobileRobots/ActivMedia robots I'd like to see those packages in the archive so that every roboticist out there using Debian (or a derivative) can simply: $ sudo apt-get install libaria2 (libaria-dev) and start using (or developing) for his (hers) MobileRobots/ActivMedia/Adept robot. To access further information about this package, please visit the following URL: http://mentors.debian.net/package/libaria Alternatively, one can download the package with dget using this command: dget -x http://mentors.debian.net/debian/pool/main/liba/libaria/libaria_2.7.5.2-1.dsc Changes since the last upload: * Initial release (Closes: #703357) Regards, Srećko Jurić-Kavelj Srećko Jurić-Kavelj +385913444837 Sanctus Hieronymus: Parce mihi, Domine, quia dalmata sum! On Thu, Mar 21, 2013 at 8:23 PM, Anton Gladky gl...@debian.org wrote: Hi, please, have a look at the page of your package [1]. There are a log of warnings, which need to be fixed. The lintian-checker produces those warnings, if you start it over your .changes-file. Cheers, Anton [1] http://mentors.debian.net/package/libaria On 03/21/2013 04:34 PM, Srećko Jurić-Kavelj wrote: Package: sponsorship-requests Severity: wishlist Dear mentors, I am looking for a sponsor for my package libaria * Package name: libaria Version : 2.7.5.2-1 Upstream Maintainer : Reed Hedges reed.hed...@adept.com * URL : http://robots.mobilerobots.com/wiki/ARIA * License : GPL-2 Section : libs It builds those binary packages: libaria-dev - C++ library for MobileRobots/ActivMedia robots (devel) libaria-dev-doc - C++ library for MobileRobots/ActivMedia robots (devel docs) libaria2- C++ library for MobileRobots/ActivMedia robots I'd like to see those packages in the archive so that every roboticist out there using Debian (or a derivative) can simply: $ sudo apt-get install libaria2 (libaria-dev) and start using (or developing) for his (hers) MobileRobots/ActivMedia/Adept robot. To access further information about this package, please visit the following URL: http://mentors.debian.net/package/libaria Alternatively, one can