Changes between Version 3 and Version 4 of HowtoCDBS
- Timestamp:
- Jun 12, 2009, 5:07:45 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowtoCDBS
v3 v4 54 54 You 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''' 55 55 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 56 58 Also, 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 :) 57 59 … … 67 69 When you have installed all the needed dependencies, run the command '''fakeroot dpkg-buildpackage''' 68 70 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 69 73 You have it ! 70 74