Changes between Version 3 and Version 4 of HowtoCDBS


Ignore:
Timestamp:
Jun 12, 2009, 5:07:45 AM (15 years ago)
Author:
Thanatermesis
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowtoCDBS

    v3 v4  
    5454You need the '''changelog''' file, since we are lazy, we use the tool '''debchange''' to create/update it, see that there's a warning saying that there's no any changelog found and so on we need to use the option '''---create''' for create a new one, so, from the directory of the source code (out of the ''debian'' dir), run: '''debchange --create'''
    5555
     56'''WARNING''': It is very important that the changelog will have the CORRECT information or you can have problems by compiling the package, for example your PACKAGENAME needs to NOT be uppercase, etc, you can see examples in ''ls /usr/share/doc/*/changelog.Debian.gz''
     57
    5658Also, you need the ''real'' control file, control.in is a kind of base, for generate the ''real'' control file we just run '''fakeroot debian/rules clean''' and we have it :)
    5759
     
    6769When you have installed all the needed dependencies, run the command '''fakeroot dpkg-buildpackage'''
    6870
     71'''Note:''' A good combo of command to do tests trying to build the package between you edit the control.in file is: ''fakeroot debian/rules clean ; dpkg-checkbuilddeps && fakeroot dpkg-buildpackage -b''
     72
    6973You have it !
    7074