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

Bug#463002: Doomsday Engine



On Mon, Jan 31, 2011 at 03:27:20PM +0100, Kees Meijs wrote:
> Good afternoon Jon (and Dave),
>
> As promised I checked in the current sources in Subversion and applied  
> your suggested patches. I tested just removing stuff from the external  
> directory using just:
>
>> rm -rf zlib/ libpng/ libcurl/

Cool. Do you do that in debian/rules?  I'd suggest removing them from
the orig.tar.gz and then repacking it, perhaps with a +dfsg1 version on
the upstream version number. e.g.

1.9.0-beta6.9+dfsg1-1
^^^^^^^^^^^^^^^^^^^ ^
 upstream version    \___ debian package version
             ^^^^^^
               repacked upstream suffix

And add an explanation in debian/README.source as to what +dfsg1 means:
in this case, removing  bundled copies of zlib/ libpng/ libcurl/

(why +dfsg?  It is highly desirable to have the upstream tarball be 'pristine',
that is, identical to that distributed by upstream.  Sometimes this is not
possible, and the tarball needs to be repacked, so that the source tarball in
the debian repos differs.  Most often this is due to non-free stuff in the
source tarball, in terms of the Debian Free Software Guidelines, so +dfsgN is
used as a suffix. N, so that if any more tweaking is needed in future, you can
increment N.)

> It seems the sources still build fine so we're good!

Excellent.

> What's next?

Point me at the latest version and I'll upload it.

> P.S. It seems dpkg-build keeps including .svn directories? Any pointers  
> on how to exclude them?

Use debuild, or dpkg-buildpackage, and pass -I.git -i.git.  Or take a look at
svn-buildpackage.

I've been planning to mail you to suggest we use svn.debian.org and the
pkg-games repository: There is some detail about how the packaging works at
<http://wiki.debian.org/Games/VCS> and <http://wiki.debian.org/Games/VCS/svn>.
Unfortunately I haven't written that mail yet :(


-- 
Jon Dowland



Reply to: