forked from Wavyzz/dolibarr
58 lines
2.3 KiB
Plaintext
58 lines
2.3 KiB
Plaintext
README (English)
|
|
##################################################
|
|
DEB Package tools
|
|
##################################################
|
|
|
|
This directory contains files used by makepack-dolibarr.pl
|
|
script to build a package, ready to be distributed,
|
|
with format .DEB (for Debian, Ubuntu, ...).
|
|
|
|
# To build a debian package, you need first
|
|
# apt-get -i debhelper dpkg-source gpg lintian
|
|
|
|
|
|
# This is standard command to work on Debian packaging:
|
|
#
|
|
# gpg --gen-key Generate a GPG key (-> pubring.gpg + secring.gpg)
|
|
#
|
|
# debconf-updatepo To run into po dir to regenate templates.pot
|
|
# podebconf-report-po --from email@email.com To send email to ask translations
|
|
# Edit manually file XX.po and remove all lines "#, fuzzy" when translation is complete
|
|
# msgfmt -v -c -o /dev/null XX.po To have status of translation for language XX
|
|
#
|
|
# lintian --pedantic -E -I package.deb To test a package
|
|
#
|
|
# dpkg -l List all packages
|
|
# dpkg -b To build binary only package
|
|
# dpkg -c package.deb List content of package
|
|
# dpkg -I package.deb Give informations on package
|
|
# dpkg -i package.deb Install a package
|
|
# dpkg-reconfigure -plow package Reconfigure package
|
|
# dpkg -L packagename List content of installed package
|
|
# dpkg -r packagename Remove config files and interactive saved answers
|
|
# dpkg --purge Remove config files and interactive saved answers
|
|
#
|
|
# dpkg-buildpackage -us -uc Build a source and binary package
|
|
#
|
|
# gdebi package.deb Install a package + dependencies
|
|
|
|
To submit a package to Debian:
|
|
|
|
- Post an ITP with reportbugs :
|
|
> reportbug -B debian --email username@domain.tld wnpp
|
|
See page http://www.debian.org/devel/wnpp/#l1 for example of ITP requests contents.
|
|
|
|
- Wait until you received bug number.
|
|
For first ITP submission of Dolibarr, bug id was 634783.
|
|
|
|
- Check bug is into database by searching with id on
|
|
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=634783
|
|
|
|
- Add a line for upstream into file changelog with bug number
|
|
|
|
- Call for a mentor on ML debian-mentors to upload packages
|
|
|
|
- Once package is uploaded, following URL are available:
|
|
http://packages.qa.debian.org/package.html
|
|
http://bugs.debian.org/package
|