| 5 |
<!ENTITY % default SYSTEM "default.ent"> %default; |
<!ENTITY % default SYSTEM "default.ent"> %default; |
| 6 |
|
|
| 7 |
]> |
]> |
| 8 |
<!-- CVS revision of this document "$Revision: 1.54 $" --> |
<!-- CVS revision of this document "$Revision: 1.55 $" --> |
| 9 |
<!-- CVS revision of original english document "*.**" --> |
<!-- CVS revision of original english document "*.**" --> |
| 10 |
|
|
| 11 |
<debiandoc> |
<debiandoc> |
| 1676 |
<prgn/lintian/ , and <prgn/linda/ all in one command with |
<prgn/lintian/ , and <prgn/linda/ all in one command with |
| 1677 |
<manref name="debuild" section="1">. |
<manref name="debuild" section="1">. |
| 1678 |
|
|
| 1679 |
<p>Look inside the package using a file manager like <manref name="mc" section="1"> |
<sect id="dpkg-dev">The <prgn>dpkg-deb</prgn> andf <prgn>mc</prgn> commands |
| 1680 |
<footnote> |
|
| 1681 |
You can browse not only <file>*.deb</file> package files but also |
<p>You can unpack contents of <file>*.deb</file> package with <manref |
| 1682 |
<file>*.diff.gz</file> and <file>*.tar.gz</file> files |
name="dpkg-deb" section="1"> command. This can be automated using |
| 1683 |
with <prgn>mc</prgn>. |
using a file manager like <manref name="mc" section="1"> which will |
| 1684 |
</footnote>, |
let you browse not only the contents of <file>*.deb</file> package |
| 1685 |
or unpack it in a temporary place using <manref name="dpkg-deb" section="1">. |
files but also <file>*.diff.gz</file> and <file>*.tar.gz</file> files. |
| 1686 |
|
<p> |
| 1687 |
Be on the lookout for extra unneeded files, both in the binary and source |
Be on the lookout for extra unneeded files, both in the binary and source |
| 1688 |
package. Often cruft doesn't get cleaned up properly; adjust your rules |
package. Often cruft doesn't get cleaned up properly; adjust your rules |
| 1689 |
file to compensate for that. Tips: `zgrep ^+++ ../gentoo_0.9.12-1.diff.gz` will give you a list of |
file to compensate for that. Tips: `zgrep ^+++ ../gentoo_0.9.12-1.diff.gz` will give you a list of |
| 1690 |
your changes/additions to the source files, and `dpkg-deb -c gentoo_0.9.12-1_i386.deb` |
your changes/additions to the source files, and `dpkg-deb -c gentoo_0.9.12-1_i386.deb` |
| 1691 |
will list the files in the binary package. |
will list the files in the binary package. |
| 1692 |
|
|
| 1693 |
|
<sect id="debi">The <prgn>debi</prgn> command |
| 1694 |
|
|
| 1695 |
<p>Install the package to test it yourself, e.g. using the |
<p>Install the package to test it yourself, e.g. using the |
| 1696 |
<manref name="debi" section="1"> command as root. Try to install and run |
<manref name="debi" section="1"> command as root. Try to install and run |
| 1697 |
it on machines other than your own and watch closely for any warnings |
it on machines other than your own and watch closely for any warnings |