RFS: nvidia-cg-toolkit (updated package)

Andreas Beckmann debian at abeckmann.de
Tue Feb 21 14:49:29 UTC 2012


Hi Miguel,

On 2012-02-18 17:49, Miguel Colon wrote:
> There is the original maintainers git repository
> http://git.debian.org/?p=collab-maint/nvidia-cg-toolkit.git
> 
> but I doubt that is useful.

It is the history of this package. We shouldn#t discard this.

Do you have experience with git? If not, you should learn how to use it :-)

I started updating the alioth repository, importing missing history and
doing the team update.

For integrating the new 3.1 upstream I cloned this repository to github:
git://github.com/anbe42/nvidia-cg-toolkit.git
and I plan to use this as a work-in-progress scratch area while we
prepare 3.1. There is currently one branch prepare-3.1v1 where I
"cleaned out" the old installer stuff.

I don't plan to import the orig tarballs into git (unless someone shows me
how pristine-tar can be used with multiple tarballs).

I'd like to see your 3.1 changes split into a series of smaller
patches/commits based on this, so that it's easier to review.

Next parts should probably be
* update debian/copyright
* swicth to debhelper v9
* switch rules to dh
* split into 4 binary packages
* rebuild 2 binaries
* add manpages
* add/update readme

Some comments on the current packaging from mentors.d.n:

nvidia-cg-dev needs a
  Conflicts: nvidia-cg-toolkit (<< 3)
as there is a file conflict that cannot be resolved by a Replaces (as
the old file is not under dpkg's control), I just managed to test an
upgrade path which resulted in
  debsums: missing file /usr/include/Cg/cg.h (from nvidia-cg-dev package)
  debsums: missing file /usr/include/Cg/cgGL.h (from nvidia-cg-dev package)
Also it should be 
  Arch: i386 amd64  (is it useful anywhere else ?)
  Multi-Arch: same
and then the library deps can be simplified.
Currently we have an Arch:all package that is uninstallable except
on i386/amd64

You changed packaging license from GPL-2+ to GPL-3. Why? Why not 3+?

The README still mentions "installer"

The installer also installed Cg-2.1_February2009_LanguageSpecification.pdf
- is this now included?

In which version did they change the license so that it allows
redistribution?

unclean upgrade path on amd64, distupgrade squeeze->wheezy and running 
nvidia-cg-toolkit-installer -u leaves around
-rw-r--r-- 1 root root 11296784 Feb 21 11:08 /usr/lib/libCg.so
-rw-r--r-- 1 root root   389000 Feb 21 11:08 /usr/lib/libCgGL.so
(because /usr/lib64 no longer exists)

nvidia-cg-toolkit: spelling-error-in-manpage
=> fix, don't override. these are not blobs.
make this 2 commits: 1) import, 2) fix typos

Andreas



More information about the pkg-nvidia-devel mailing list