Bug#702112: RFS: tpb/0.6.4-9 -- program to use the IBM ThinkPad(tm) special keys

2013-03-03 Thread Paul Wise
I'm not planning to sponsor this but here is a review:

I wonder if the low-level nvram reading code should be replaced with a
Linux driver?

Please run tagpending from devscripts before uploading to mentors.

Please mention why debian/tpb.devfs is being dropped in the changelog.

fix-spelling-error-in-manpage.patch contains an invalid Bug URL.

Please send the patches upstream or mark them as forwarded using DEP-3:

http://dep.debian.net/deps/dep3/

The watch file doesn't account for the possibility of upstream
changing tarball formats. There is at least one other mistake in the
watch file:

https://wiki.debian.org/debian/watch#Common_mistakes

You may want to switch to debhelper compat 9 and dh instead of manual
dh_* sequencing for debian/rules.

You may want to use dh-autoreconf instead of autotools-dev.

The package fails to build twice in a row.

Various files have the incorrect FSF address, please to ask upstream
to fix them.

intl/plural.c is a generated file, please ensure that it is
regenerated at build time.

You might want to help review other packages:

http://mentors.debian.net/intro-reviewers

If you contact upstream, please mention our upstream guide:

http://wiki.debian.org/UpstreamGuide

Automatic checks:

https://wiki.debian.org/HowToPackageForDebian#Check_points_for_any_package

gcc:

cfg.c: In function 'override_cfg':
cfg.c:965:21: warning: comparison between 'xosd_pos' and 'enum state'
[-Wenum-compare]
cfg.c:971:23: warning: comparison between 'xosd_align' and 'enum
state' [-Wenum-compare]
cfg.c: At top level:
cfg.c:45:29: warning: 'RCSid' defined but not used [-Wunused-variable]
tpb.c:55:29: warning: 'RCSid' defined but not used [-Wunused-variable]
tpb.c: In function 'fork_app':
tpb.c:1260:12: warning: ignoring return value of 'chdir', declared
with attribute warn_unused_result [-Wunused-result]
tpb.c: In function 'daemonize':
tpb.c:779:8: warning: ignoring return value of 'chdir', declared with
attribute warn_unused_result [-Wunused-result]
tpb.c:790:6: warning: ignoring return value of 'dup', declared with
attribute warn_unused_result [-Wunused-result]
tpb.c:793:6: warning: ignoring return value of 'dup', declared with
attribute warn_unused_result [-Wunused-result]

dpkg-shlibdeps:

warning: package could avoid a useless dependency if
debian/tpb/usr/bin/tpb was not linked against libXinerama.so.1 (it
uses none of the library's symbols)
warning: package could avoid a useless dependency if
debian/tpb/usr/bin/tpb was not linked against libSM.so.6 (it uses none
of the library's symbols)
warning: package could avoid a useless dependency if
debian/tpb/usr/bin/tpb was not linked against libICE.so.6 (it uses
none of the library's symbols)
warning: package could avoid a useless dependency if
debian/tpb/usr/bin/tpb was not linked against libXext.so.6 (it uses
none of the library's symbols)

cppcheck:

[intl/localcharset.c:153]: (error) Common realloc mistake: 'res_ptr'
nulled but not freed upon failure

msgfmt:

lots of fuzzy/empty things ignored.

POFileChecker:

po-file-checker
  file name=./debian/po/id.po allow=0
error line=46 message=5missing ./error
  /file
  file name=./debian/po/de.po allow=0
error line=53 message=5missing ./error
  /file
  file name=./debian/po/nl.po allow=0
error line=46 message=5missing ./error
  /file
  file name=./debian/po/ja.po allow=0
error line=54 message=5missing ./error
  /file
  file name=./po/fr.po allow=0
error line=577 message=122extra amp; acelerator/error
error line=582 message=123extra amp; acelerator/error
error line=587 message=124extra amp; acelerator/error
error line=592 message=125extra amp; acelerator/error
  /file
  file name=./po/da.po allow=0
error line=18 message=2missing :/error
  /file
  file name=./po/de.po allow=0
error line=216 message=49missing :/error
  /file
/po-file-checker

isutf8:

./debian/po/fr.po: line 38, char 1, byte offset 18: invalid UTF-8 code
./debian/po/de.po: line 31, char 1, byte offset 46: invalid UTF-8 code
./debian/po/sv.po: line 30, char 1, byte offset 18: invalid UTF-8 code
./debian/po/ja.po: line 32, char 1, byte offset 13: invalid UTF-8 code
./debian/po/cs.po: line 31, char 1, byte offset 22: invalid UTF-8 code
./debian/patches/add-french-traslation.patch: line 35, char 1, byte
offset 6: invalid UTF-8 code
./debian/patches/fix-spelling-error-in-binary.patch: line 18, char 1,
byte offset 44: invalid UTF-8 code
./po/fr.po: line 3, char 1, byte offset 5: invalid UTF-8 code
./po/da.po: line 19, char 1, byte offset 48: invalid UTF-8 code
./po/de.po: line 19, char 1, byte offset 10: invalid UTF-8 code
./po/ru.po: line 18, char 1, byte offset 9: invalid UTF-8 code
./intl/locale.alias: line 33, char 1, byte offset 5: invalid UTF-8 code


-- 
bye,
pabs

http://wiki.debian.org/PaulWise


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#702112: RFS: tpb/0.6.4-9 -- program to use the IBM ThinkPad(tm) special keys

2013-03-03 Thread Paul Wise
On Sun, Mar 3, 2013 at 4:31 PM, Paul Wise wrote:

 I'm not planning to sponsor this but here is a review:

More review:

You might want to try merging and or forwarding the Ubuntu patch and
the patches in Ubuntu bugs:

http://patches.ubuntu.com/t/tpb/tpb_0.6.4-2.3ubuntu3.patch
http://dex.alioth.debian.org/census/Ubuntu/patches/t/tpb/tpb_0.6.4-2.3_tpb_0.6.4-2.3ubuntu3.patch
https://bugs.launchpad.net/ubuntu/+source/tpb/+patches

Likewise for the Gentoo, NetBSD and FreeBSD patches:

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-laptop/tpb/files/
http://svnweb.freebsd.org/ports/head/deskutils/tpb/files/
http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/sysutils/tpb/patches/

None of the bugs in Debian/Ubuntu are marked as forwarded upstream, it
would be a good idea to forward them upstream and then mark them as
forwarded:

http://bugs.debian.org/src:tpb
https://bugs.launchpad.net/ubuntu/+source/tpb
http://www.debian.org/Bugs/server-control#forwarded

The package has a user interface, but there is no screenshot here:

http://screenshots.debian.net/package/tpb

You may want to review the debtags, there are some missing tags:

http://debtags.debian.net/rep/todo/maint/prach...@gmail.com#tpb

Does the code work on kFreeBSD? FreeBSD appears to have /dev/nvram and
the patches above probably make it work.

There is one duplicate file in the package, I would suggest dropping
the copy in /u/s/d:

http://dedup.debian.net/compare/tpb/tpb

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#702112: RFS: tpb/0.6.4-9 -- program to use the IBM ThinkPad(tm) special keys

2013-03-03 Thread Prach Pongpanich
Hi Paul,

 Paul Wise wrote:
 I'm not planning to sponsor this but here is a review:

Thank you so much, It's great reviews and  more resources for me. :-)

I see news from upstream it moved from nvram to xevents in version
0.7.0 (svn), I'll consult with upstream and
fix all issues.


Regrads,

-- 
 ปรัชญ์ พงษ์พานิช
 Prach Pongpanich

 http://prach-public.blogspot.com


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#702112: RFS: tpb/0.6.4-9 -- program to use the IBM ThinkPad(tm) special keys

2013-03-02 Thread Prach Pongpanich
Package: sponsorship-requests
Severity: normal

Dear mentors,

 I am looking for a sponsor for my package tpbh

* Package name: tpb
  Version : 0.6.4-9
  Upstream Author : Markus Braun
* URL : http://savannah.gnu.org/projects/tpb
* License : GPL
  Section : utils

It builds those binary packages:

tpb   - program to use the IBM ThinkPad(tm) special keys

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

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

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

dget -x http://mentors.debian.net/debian/pool/main/t/tpb/tpb_0.6.4-9.dsc

  Changes since the last upload:

tpb (0.6.4-9) experimental; urgency=low

  * Fix FTBFS with clang (Closes: #689751)
  * Replace manual update config.{sub,guess} with autotools-dev:
- Add Build-Depends autotools-dev (= 20100122.1)
- Drop fix-outdated-autotools-helper-file.patch
  * Drop debian/tpb.devfs
  * Remove Suggests: xfonts-base-transcoded, this is removed from the archive
  * Use wrap-and-sort debian/control file
  * Bump to Standards-Version 3.9.4, no changes needed
  * Update copyright file to version 1.0 format

Regrads,

Prach


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org