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

Re: RFS: ed2k-hash

* David Paleino <d.paleino@gmail.com> [2007-04-20 19:05:05 +0200]:

> > Some notes on your package:
> I didn't put any Makefile.* there. Maybe I just made some mistaken "cp". :-P

Also, there is a "debian" dir in the upstream package on sf.net. Even if you
were the upstream it would still a bad idea to ship "debian" in the original
tarball, but since you are not upstream then repackaging the orig.tar.gz to
remove that debian dir makes sense in this case.

> > Why do you ship /usr/share/doc/ed2k-hash/Makefile.in.gz in your package?
> Uh?!

See the output of $dpkg -L ed2k-hash:




> On my current build, I don't have any Makefile.in.gz in docs. I'm gonna
> check it.
> > Remove the commented lines from your debian/rules to reduce clutter.
> Sure, I just forgot to do it. (that's why mentors exist :-P)
> > You should have Build-Depends on libfltk1.1-dev in order to have the GUI part
> > built and remove the text about it from debian/control i.e. "
> > "
> >  .
> >  By installing the fltk1.1 library, you'll have a GUI too.
> > "
> >
> > This should get you started.
> Thank you for your help.
> .../me looks for what could've gone wrong...
> dpkg-source: building ed2k-hash in ed2k-hash_0.4.0-1.diff.gz
> ...
> dpkg-source: warning: ignoring deletion of file
> ed2k_hash/docs/en/Makefile.am
> dpkg-source: warning: ignoring deletion of file
> ed2k_hash/docs/en/Makefile.in
> dpkg-source: warning: ignoring deletion of file ed2k_hash/docs/Makefile.am
> dpkg-source: warning: ignoring deletion of file ed2k_hash/docs/Makefile.in
> ...
> Any idea on how to get rid of this?
> dpkg-source doesn't consider the deleted files. That implies that the
> diff won't have the "delete patch", so the files I deleted will be in
> the extracted source. But, since I deleted them, it will compile fine on
> my box. Any idea on how to fix this? TIA.

Oh, darn. I started figuring it out and before long had to rework the
packaging a lot mainly due to a seriously screwed up build system from the
upstream. I'm not sure I would bother if I knew what was in store. Anyway,
hours later here is the result:

dget http://debian.tagancha.org/download/ed2k-hash_0.4.0-1.dsc

Take a look. If you agree with my changes and promise to take care of the
beast from now on I can upload your package.



Reply to: