Bug#804801: RFS: libjdns/2.0.3-1 [ITP]

2015-11-18 Thread Gianfranco Costamagna
Control: owner -1 !
Control: tags -1 moreinfo

Hi Stefan,
>Thank you for your hint. I tried to adjust the debian/rules. I've
>uploaded the package. Could you please review this package again?

sure, here we go:

first: congrats for the packaging skills, it wasn't an easy package, but seems 
that you did
it correctly.

lets review:

1) changelog: urgency=low would be preferred for a new package

2) control:
libqjdns-qt5-2, can't it be called libqjdns2-qt5 maybe?
(I'm not asking to change it, but to investigate, probably lintian will 
complain if the naming is wrong, that means that
it is currently fine)

Package: libqjdns-qt5-2

Depends: libjdns2, ${misc:Depends}, ${shlibs:Depends}

I did an ldd of the qt5 library, and I see it depende from libjdns2 already.
So I guess you can remove the "libjdns2" dependency because it should be taken 
care of in shlibs:Depends(please check the built package, inside DEBIAN/control 
file)


3) debian/rules: it looks really nice, maybe I would override the clean target 
to remove the build directories.
4) debian/copyright: I would avoid licensing the debian packaging under GPL-3+ 
and upstream as MIT.
this makes impossible to e.g. forward patches upstream (withour relicensing 
them)

if possible I would ask you to use MIT, the same as upstream (that way 
everybody might be able to forward patches from you
without asking to relicense them)


5) you ship usr/bin/jdns as part of libqjdns-qt4 package, but ldd shows that 
links qt5 stuff.
ldd jdns  |grep Qt5 -i
libqjdns-qt5.so.2 => not found
libQt5Network.so.5 => not found
libQt5Core.so.5 => /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 (0xf723)


so please choose: move in the qt5 package, move in the base package (maybe 
dropping the qt stuff), or fix it somewhat else.

this "problem" makes the qt4 package drag all the qt5 dependencies.

the other stuff looks good to me.

(I did a test build on a clean machine with some of the above fixes)


oh and please convert your package to multiarch (needs investigation and a 
probable trivial change)
https://wiki.debian.org/Multiarch/Implementation
(be careful about usr/bin)

lintian:
X: libqjdns-qt5-2: application-in-library-section libs usr/bin/jdns
W: libqjdns-qt5-2: binary-without-manpage usr/bin/jdns (help2man is a good 
starting point)

check-all-the-things output:

$ codespell --quiet-level=3
./CMakeLists.txt:91: prefered  ==> preferred

(maybe report it upstream, no need to patch of course)


cheers,

G.



Bug#804801: RFS: libjdns/2.0.3-1 [ITP]

2015-11-18 Thread Stefan Ahlers
Hi,

thank you again for your review!

> 1) changelog: urgency=low would be preferred for a new package

Done.

> 2) control:
> libqjdns-qt5-2, can't it be called libqjdns2-qt5 maybe?

I know the name is not so nice, but I used the named lintian claimed out.

> So I guess you can remove the "libjdns2" dependency because it should be 
> taken care of in shlibs:Depends(please check the built package, inside 
> DEBIAN/control file)

Oh sorry, this is a relict of the divided package. Fixed.

> 3) debian/rules: it looks really nice, maybe I would override the clean 
> target to remove the build directories.

Done.

> 4) if possible I would ask you to use MIT, the same as upstream (that way 
> everybody might be able to forward patches from you
> without asking to relicense them)

Yes, of course! I forgot the incompatibility between MIT and GPL-3+. 

> 5) you ship usr/bin/jdns as part of libqjdns-qt4 package, but ldd shows that 
> links qt5 stuff.
> ldd jdns  |grep Qt5 -i
> libqjdns-qt5.so.2 => not found
> libQt5Network.so.5 => not found
> libQt5Core.so.5 => /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5 (0xf723)
>
>
> so please choose: move in the qt5 package, move in the base package (maybe 
> dropping the qt stuff), or fix it somewhat else.
>
> this "problem" makes the qt4 package drag all the qt5 dependencies.

I've fixed it by using the cmake option "-DBUILD_JDNS_TOOL=OFF" for the
Qt5 build. And so only the Qt4 version will be build in a separate
package called "jdns".

> oh and please convert your package to multiarch (needs investigation and a 
> probable trivial change)
> https://wiki.debian.org/Multiarch/Implementation
> (be careful about usr/bin)

Converted and tested. Only usr/bin/jdns is a problem and so I decided to
separate the test program into another package.

> lintian:
> X: libqjdns-qt5-2: application-in-library-section libs usr/bin/jdns
> W: libqjdns-qt5-2: binary-without-manpage usr/bin/jdns (help2man is a good 
> starting point)

I've created and added a manpage based on the /usr/bin/jdns output. It's
not the best, but I hope it's ok.

> $ codespell --quiet-level=3
> ./CMakeLists.txt:91: prefered  ==> preferred

The codespell error only occurrs in the CMakeList and so it is not
important for a normal users.

Kindly Regards,
 Stefan



Bug#804801: RFS: libjdns/2.0.3-1 [ITP]

2015-11-17 Thread Stefan Ahlers
Hi!

> according to dsc file:
> d0da8d9af9e94f2e4de2943abb49ef7a72fb4fed 67767 libjdns-qt5_2.0.3.orig.tar.bz2
> d0da8d9af9e94f2e4de2943abb49ef7a72fb4fed 67767 libjdns_2.0.3.orig.tar.bz2
> 
> please don't create two src:libjdns* packages, but use only one to build the 
> two qt flavours.
> (not sure if I already answered somewhere in another mail, but this should 
> make easier to work
> on the package)

Thank you for your hint. I tried to adjust the debian/rules. I've
uploaded the package. Could you please review this package again?

Regards,
Stefan Ahlers



Bug#804801: RFS: libjdns/2.0.3-1 [ITP]

2015-11-11 Thread Stefan Ahlers
Package: sponsorship-requests
Severity: wishlist
 
Dear mentors,

I am looking for a sponsor for my package "libjdns"

* Package name: libjdns
  Version : 2.0.3-1 
  Upstream Author : Justin Karneges 
* URL : http://delta.affinix.com/jdns/
* License : MIT
  Section : libs

It builds those binary packages:

 libjdns-dbg - Simple DNS queries library - debugging symbols
 libjdns-dev - Simple DNS queries library - development files
 libjdns2   - Simple DNS queries library
 libqjdns-qt4-2 - Simple DNS queries library  - QT4 wrapper
 libqjdns-qt4-dev - Simple DNS queries library QT4 wrapper - development files

To access further information about this package, please visit the following 
URL:

  http://mentors.debian.net/package/libjdns

Alternatively, one can download the package with dget using this command:

dget -x 
http://mentors.debian.net/debian/pool/main/libj/libjdns/libjdns_2.0.3-1.dsc

This package is necessary to build libjreen.

 Regards,
   Stefan Ahlers