[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#744823: RFS: gnuais/0.3.0-1 [ITP]



Hi Eriberto,

I've now uploaded a new package to mentors.debian.net with nearly all
the issues fixed.

1. Changelog now contains one entry only
2. Fixed line break before column 80.
    Added VCS-control pointing to branch on github where debian/
folder is kept. Vcs-Browser points to the correct branch (debian) on
github, but I didn't get Vcs-Git to point to a specific branch, but
    it points to the correct git-repository.
3. I've gone through all Copyright-lines in all the files and I hope I
have included all. However, after I put the licenses separately below,
a few lintian information warnings appeared. I'm not sure what is best
to do here.
4. NEWS removed. gnuais.conf-example installed by gnuais.examples.
Patch added so that the program knows where to find the example
configuration file since it is used as a template the first
    time gnuais runs. (01_conf_location.patch)
5. NEWS removed. OpenStreetMap is provided by libosmgpsmap which is in
d/control. I haven't written a README.Debian file since I don't think
there is anything special that applies for Debian users
    compared to other users.
6. I've added an icon for gnuaisgui. I have not added for gnuais since
it is a command line utility only.
7. Because I had to add two patches, the patches-directory is still there
8. Removed useless comments from d/rules
9. Changed to recommended watch-url-style for github
10. I've gotten rid of the hardening-no-fortify-functions with 02_cflags.patch.
     The "debian-watch-may-check-gpg-
signature" is still there. I hope
I don't have to fix that one. I may look into that later.
11. Added LDFLAGS to avoid useless dependency
12. I've removed the -dbg packages.

Let me know if I also have to fix
"debian-watch-may-check-gpg-signature" or if there are other things
left to do.

Thanks a lot!

Regards
Ruben

2014-08-25 19:57 GMT+02:00 Eriberto <eriberto@eriberto.pro.br>:
> Ok Ruben. I am glad to help you.
>
> Cheers,
>
> Eriberto
>
>
> 2014-08-25 14:52 GMT-03:00 Ruben Undheim <ruben.undheim@gmail.com>:
>> Thanks a lot Eriberto for taking your time!
>>
>> I will try to sort out these issues shortly.
>>
>> Regards, Ruben
>>
>> 2014-08-25 5:01 GMT+02:00 Eriberto Mota <eriberto@debian.org>:
>>> tags 744823 moreinfo
>>> thanks
>>>
>>>
>>> Hi Ruben, I will try help you.
>>>
>>> Ross, thanks for your comments. Feel free to continue helping.
>>>
>>> Ruben, please:
>>>
>>> 1. d/changelog: you must have an entry only. This entry must have your
>>> ITP number. You can see an explanation here[1]. An example:
>>>
>>>
>>> yowsup (0.0~git20140314.938cf1-1) unstable; urgency=low
>>>
>>>   * Initial release (Closes: #752201)
>>>
>>>  -- Joao Eriberto Mota Filho <eriberto@debian.org>  Fri, 20 Jun 2014
>>> 16:51:58 -0300
>>>
>>>
>>> [1] https://www.debian.org/doc/manuals/maint-guide/dreq.en.html#changelog
>>>
>>>
>>> 2. d/control:
>>>   - In Build-Depends, break the line before the column 80. You can see
>>> two different examples here[2][3].
>>>   - Create a VCS to control your debian/ versions. You can use github
>>> or other. So, add the Vcs-Browser and Vcs-{Git|Svn|Cvs} to d/control.
>>>
>>> [2] http://sources.debian.net/src/core-network/4.7-1/debian/control/
>>> [3] http://sources.debian.net/src/ext4magic/0.3.1-4/debian/control/
>>>
>>> 3. d/copyright:
>>>   - There are several improperties here. First, the correct general
>>> copyright are: Tomi 2001-2004, Heikki 2008 and Ruben 2008-2013.
>>>   - The file src/splay.c has references to David Brower, not listed in
>>> d/copyright.
>>>   - In src/ directory there are several files with copyright notices
>>> not listed in d/copyright. Three examples: src/filter-i386.h,
>>> src/gui/osm-gps-map-ais.c and src/gui/private.h. You must put all
>>> copyright notices in d/copyright.
>>>   - The copyright year for debian/* must be 2014.
>>>   - I suggest you to put all licenses separately. You can see two
>>> examples here[4][5].
>>>
>>> [4] http://metadata.ftp-master.debian.org/changelogs/main/s/sentinella/unstable_copyright
>>> [5] http://metadata.ftp-master.debian.org/changelogs/main/v/volatility/unstable_copyright
>>>
>>> 4. d/gnuais.docs:
>>>   - The NEWS file is useless to final user. I suggest remove it.
>>>   - The gnuais.conf-example is an example and must be installed by
>>> d/gnuais.examples file.
>>>
>>> 5. d/gnuaisgui.docs:
>>>   - Idem to NEWS.
>>>   - In src/gui/README there is a reference to OpenStreetMap. However,
>>> I didn't see this software in any Depends field in d/control.
>>>
>>> PS: I suggest you write a d/README.Debian to guide the final user how
>>> to use the software. So, you can remove some files from d/*.docs.
>>>
>>> 6. d/*.menu: I suggest add an icon to these menus.
>>>
>>> 7. d/patches: empty. Remove.
>>>
>>> 8. d/rules: there are lots of useless comments. Please, remove from
>>> second line to '# Uncomment this to...' line. You can remove the
>>> '.PHONY' line too.
>>>
>>> 9. d/watch: the githubredir.debian.net is deprecated and the most
>>> usual d/watch for your case is:
>>>
>>> version=3
>>> https://github.com/rubund/gnuais/releases
>>> /rubund/gnuais/archive/(\d\S+)\.tar\.(?:bz2|gz|xz)
>>>
>>> To understand the last line, you can read it[6].
>>>
>>> [6] http://eriberto.pro.br/blog/?p=1459
>>>
>>> 10. After the build, there are three lintian notices:
>>>
>>> (1) P: gnuais source: debian-watch-may-check-gpg-signature
>>> (2) I: gnuais: hardening-no-fortify-functions usr/bin/gnuais
>>> (3) I: gnuaisgui: hardening-no-fortify-functions usr/bin/gnuaisgui
>>>
>>> To solve (1) you can read the uscan manpage.
>>> To solve (2) and (3) you can read it[7].
>>>
>>> [7] https://wiki.debian.org/Hardening#Notes_for_packages_using_CMake
>>>
>>> 11. There are several dpkg-shlibdeps messages:
>>>
>>> dpkg-shlibdeps: warning: package could avoid a useless dependency if
>>> debian/gnuaisgui/usr/bin/gnuaisgui was not linked against
>>> libpango-1.0.so.0 (it uses none of the library's symbols)
>>> dpkg-shlibdeps: warning: package could avoid a useless dependency if
>>> debian/gnuaisgui/usr/bin/gnuaisgui was not linked against
>>> libcairo-gobject.so.2 (it uses none of the library's symbols)
>>> dpkg-shlibdeps: warning: package could avoid a useless dependency if
>>> debian/gnuaisgui/usr/bin/gnuaisgui was not linked against
>>> libpangocairo-1.0.so.0 (it uses none of the library's symbols)
>>> dpkg-shlibdeps: warning: package could avoid a useless dependency if
>>> debian/gnuaisgui/usr/bin/gnuaisgui was not linked against
>>> libgio-2.0.so.0 (it uses none of the library's symbols)
>>> dpkg-shlibdeps: warning: package could avoid a useless dependency if
>>> debian/gnuaisgui/usr/bin/gnuaisgui was not linked against
>>> libsoup-2.4.so.1 (it uses none of the library's symbols)
>>> dpkg-shlibdeps: warning: package could avoid a useless dependency if
>>> debian/gnuaisgui/usr/bin/gnuaisgui was not linked against
>>> libgthread-2.0.so.0 (it uses none of the library's symbols)
>>> dpkg-shlibdeps: warning: package could avoid a useless dependency if
>>> debian/gnuaisgui/usr/bin/gnuaisgui was not linked against
>>> libatk-1.0.so.0 (it uses none of the library's symbols)
>>>
>>> To fix, add to d/rules:
>>>
>>> export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
>>>
>>> 12. After the build, I didn't see any library. So, why you have the
>>> gnuais-dbg and gnuaisgui-dbg?
>>>
>>> Thanks for your work.
>>>
>>> Regards,
>>>
>>> Eriberto


Reply to: