Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
f71b47b2
Commit
f71b47b2
authored
11 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Plain Diff
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
parents
5b3ba856
277fc1a2
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
build/debian/README.howto
+25
-10
25 additions, 10 deletions
build/debian/README.howto
with
25 additions
and
10 deletions
build/debian/README.howto
+
25
−
10
View file @
f71b47b2
...
...
@@ -8,6 +8,9 @@ script to build a package, ready to be distributed,
with format .DEB (for Debian, Ubuntu, ...).
##### Prepare linux env to work
# To build a debian package, you need first
# With Ubuntu 12.04
# apt-get install debhelper dpkg-source gpg lintian git-buildpackage pkg-php-tools schroot sbuild dh-linktree dh-make-php
...
...
@@ -41,6 +44,9 @@ END
* Ask to be included into project collab-maint: http://alioth.debian.org/projects/collab-maint/
##### Some interesting command to know
# To translate .po files
# debconf-updatepo To run into po dir to regenate templates.pot
# podebconf-report-po --from email@email.com To send email to ask translations
...
...
@@ -66,9 +72,8 @@ END
# gdebi package.deb Install a package + dependencies
##########################################################
To
submit
a
package to Debian:
##### Global view of
submit
new
package to Debian:
- Post an ITP with reportbugs :
> reportbug -B debian --email username@domain.tld wnpp
...
...
@@ -90,19 +95,28 @@ http://bugs.debian.org/package
##########################################################
To generate a package
##### Testing a package into unstable env
Create a chroot called "unstable-amd64-sbuild"
> sudo sbuild-createchroot --keyring= unstable /srv/chroot/unstable http://ftp.uk.debian.org/debian
Pour lister les env chroot
> schroot -l
Puis pour se connecter
> schroot
> schroot -c name_of_chroot
Pour tester un package
> cp *.deb /srv/chroot/unstable/tmp
> schroot -c name_of_chroot
> dpkg -i dolibarr*.deb
> sudo apt-get install -f
##########################################################
##### Create/Maintain TCPDF package
To update tcpdf package:
...
...
@@ -128,7 +142,7 @@ from origin/upstream and origin/pristine.
Note: If there was errors solved manually, you may need to make a git commit
* Add an entry into debian/changelog
> d
h
"My comment" will add entry.
> d
ch -v x.y.z-1
"My comment" will add entry.
For example: dch -v x.y.z-1 "New upstream release." for a new version
Warning: Date must have format reported by "date -R"
...
...
@@ -157,7 +171,8 @@ http://packages.qa.debian.org/t/tcpdf.html
* Package will be into release when test will be moved as stable.
##########################################################
##### Create/Maintain dolibarr package
To update dolibarr debian package
...
...
@@ -183,7 +198,7 @@ from origin/upstream and origin/pristine.
Note: If there was errors solved manually after get-orig-sources.sh, you may need to make a git commit
* Add an entry into debian/changelog
> d
h
"My comment" will add entry.
> d
ch -v x.y.z-1
"My comment" will add entry.
For example: dch -v x.y.z-1 "New upstream release." for a new version
Then modify changelog to replace "unstable" with "UNRELEASED".
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment